:root{
    --primary:#0f766e;
    --primary-dark:#115e59;
    --bg:#f3f4f6;
    --text:#111827;
    --muted:#6b7280;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    max-width:1040px;
    margin:0 auto;
    padding:0 1.25rem;
}

/* HEADER */

.site-header{
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(243,244,246,.96);
    border-bottom:1px solid #e5e7eb;
    backdrop-filter:blur(10px);
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:center; /* header-tekst in het midden */
    padding:.6rem 0;
}

.brand{
    display:flex;
    align-items:center;
    gap:.45rem;
}

.brand-dot{
    width:22px;
    height:22px;
    border-radius:999px;
    background:radial-gradient(circle at 30% 30%,#a7f3d0,var(--primary));
}

.brand-name{
    font-weight:600;
    font-size:.95rem;
}

/* LAYOUT */

.page-main{
    padding:2.2rem 0 3rem;
}

/* kolom-layout: calculator boven, tekst eronder */
.hero-layout{
    display:flex;
    flex-direction:column;
    gap:2rem;
}

/* zowel calculator als tekst gecentreerd met dezelfde breedte */
.calc-column,
.text-column{
    width:100%;
    max-width:640px;
    margin:0 auto;
}

/* CARD / CALC */

.card{
    background:var(--white);
    border-radius:1.1rem;
    padding:1.4rem 1.5rem 1.3rem;
    border:1px solid #e5e7eb;
    box-shadow:0 18px 40px rgba(15,23,42,.08);
}

.calc-card h1{
    font-size:1.4rem;
    margin-bottom:.4rem;
}

.calc-intro{
    font-size:.9rem;
    color:var(--muted);
    margin-bottom:.9rem;
}

.rate-switch{
    display:flex;
    gap:.5rem;
    margin-bottom:.6rem;
    flex-wrap:wrap;
}

.rate-btn{
    flex:1 1 0;
    min-width:130px;
    border-radius:999px;
    border:1px solid #d1d5db;
    padding:.45rem .8rem;
    font-size:.85rem;
    background:#f9fafb;
    color:#111827;
    cursor:pointer;
}

.rate-btn.active{
    background:var(--primary);
    border-color:var(--primary-dark);
    color:#fff;
}

.rate-hint{
    font-size:.78rem;
    color:var(--muted);
    margin-bottom:.8rem;
}

.field-row{
    display:flex;
    flex-direction:column;
    gap:.25rem;
    margin-bottom:.7rem;
}

.field-row label{
    font-size:.8rem;
    color:var(--muted);
}

.field-row input{
    border-radius:.55rem;
    border:1px solid #d1d5db;
    padding:.5rem .7rem;
    font-size:.9rem;
    font-family:inherit;
}

.field-row input:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 1px rgba(15,118,110,.18);
}

.field-row input[readonly]{
    background:#f9fafb;
    cursor:not-allowed;
}

.calc-actions{
    text-align:center;
    margin:.9rem 0 .4rem;
}

.btn-clear{
    border:none;
    border-radius:999px;
    padding:.55rem 1.4rem;
    font-size:.9rem;
    background:var(--primary);
    color:#fff;
    cursor:pointer;
}

.btn-clear:hover{
    background:var(--primary-dark);
}

.calc-hint{
    font-size:.78rem;
    color:var(--muted);
    text-align:center;
}

/* TEKSTKOLOM */

.text-column h2{
    font-size:1.25rem;
    margin-bottom:.4rem;
}

.text-column h3{
    font-size:1.05rem;
    margin-top:1.1rem;
    margin-bottom:.2rem;
}

.text-column p{
    font-size:.9rem;
    color:#374151;
    margin-bottom:.55rem;
}

/* FOOTER */

.site-footer{
    border-top:1px solid #e5e7eb;
    background:#f9fafb;
    padding:1.2rem 0 1.5rem;
    font-size:.8rem;
    color:var(--muted);
}

.footer-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:.75rem;
    flex-wrap:wrap;
}

.footer-link{
    color:var(--primary-dark);
    font-weight:500;
}

.footer-link:hover{
    text-decoration:underline;
}

/* RESPONSIVE – MOBILE */

@media(max-width:768px){
    .page-main{
        padding-top:1.6rem;
    }
    .card{
        padding:1.2rem 1.1rem 1.1rem;
    }
}

/* DESKTOP UPGRADE – BREEDER & GROTER */

@media(min-width:1024px){

    .hero-layout{
        gap:2.5rem; /* meer ruimte tussen calculator en tekst */
    }

    .calc-column,
    .text-column{
        max-width:720px; /* breder blok op desktop */
    }

    .calc-card{
        padding:2.2rem 2.6rem;
    }

    .calc-card h1{
        font-size:2rem;
        font-weight:700;
        margin-bottom:.9rem;
    }

    .calc-intro{
        font-size:1rem;
    }

    .rate-btn{
        padding:.9rem 1.4rem;
        font-size:1.05rem;
        font-weight:600;
    }

    .field-row label{
        font-size:1.05rem;
        font-weight:600;
    }

    .field-row input{
        padding:1rem 1.5rem;   /* extra ruimte links/rechts */
        font-size:1.3rem;
        font-weight:600;
    }

    .field-row input::placeholder{
        font-weight:600;
        color:#9ca3af;
    }

    .btn-clear{
        font-size:1.05rem;
        padding:.9rem 2.1rem;
        font-weight:700;
    }

    .calc-hint{
        font-size:1rem;
        font-weight:600;
    }

    .text-column h2{
        font-size:1.5rem;
    }

    .text-column p{
        font-size:.95rem;
    }
}
.calc-card h1,
.calc-card .calc-intro{
    text-align: center;
}
