/*
Theme Name: BAMM
Theme URI: https://bamm.nl/
Author: BAMM
Description: BAMM — Beter Advies, Minder Betalen.
Version: 1.3
Requires at least: 6.0
*/

:root {
    --green:#176b4d;
    --green-dark:#10231b;
    --lime:#c9f36a;
    --paper:#f6f8f4;
    --white:#fff;
    --ink:#10231b;
    --muted:#63736b;
    --line:#dce5df;
    --soft:#edf7f1;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:var(--paper);
    color:var(--ink);
    line-height:1.5;
}

a {
    color:inherit;
}


/* HEADER */

header {
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(246,248,244,.94);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
}

nav {
    max-width:1160px;
    margin:auto;
    padding:15px 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.logo {
    font-weight:900;
    font-size:28px;
    letter-spacing:-1.5px;
    color:var(--green);
    line-height:1;
}

.logo span {
    display:block;
    font-size:10px;
    letter-spacing:1px;
    color:var(--muted);
    margin-top:5px;
}

.links {
    display:flex;
    gap:22px;
    align-items:center;
    font-weight:700;
    font-size:14px;
}

.links a {
    text-decoration:none;
}

.links a:hover {
    color:var(--green);
}


/* HERO */

.hero {
    max-width:1160px;
    margin:auto;
    padding:105px 28px 85px;
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:75px;
    align-items:center;
}

.eyebrow {
    display:inline-flex;
    background:var(--lime);
    color:var(--green-dark);
    padding:8px 14px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.8px;
}

.hero h1 {
    font-size:clamp(54px,7vw,86px);
    line-height:.91;
    letter-spacing:-5px;
    margin:22px 0 25px;
    max-width:720px;
}

.hero p {
    font-size:19px;
    line-height:1.65;
    color:var(--muted);
    max-width:650px;
    margin:0;
}

.actions {
    display:flex;
    gap:12px;
    margin-top:32px;
    flex-wrap:wrap;
}

.btn {
    border:0;
    border-radius:14px;
    padding:15px 21px;
    font-weight:900;
    cursor:pointer;
    text-decoration:none;
    display:inline-block;
}

.primary {
    background:var(--green);
    color:var(--white);
}

.secondary {
    background:var(--white);
    color:var(--green);
    border:1px solid var(--line);
}

.hero-card {
    background:var(--green);
    color:var(--white);
    border-radius:32px;
    padding:36px;
    box-shadow:0 28px 75px rgba(23,107,77,.22);
}

.hero-card .big {
    font-size:72px;
    line-height:1;
    font-weight:900;
    letter-spacing:-5px;
    margin:14px 0;
}

.hero-card h3 {
    font-size:27px;
    margin:0 0 9px;
}

.hero-card p {
    color:#dbece4;
    font-size:15px;
}

.mini {
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.18);
    padding:18px;
    border-radius:17px;
    margin-top:24px;
}


/* SECTIONS */

.section {
    max-width:1160px;
    margin:auto;
    padding:75px 28px;
}

.section + .section {
    padding-top:35px;
}

.section h2 {
    font-size:clamp(33px,4vw,44px);
    line-height:1.05;
    letter-spacing:-2px;
    margin:0 0 13px;
}

.section h3 {
    letter-spacing:-.6px;
}

.lead {
    color:var(--muted);
    max-width:720px;
    line-height:1.65;
    font-size:17px;
}


/* CARDS */

.grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:32px;
}

.card {
    background:var(--white);
    border:1px solid var(--line);
    border-radius:24px;
    padding:29px;
    min-height:215px;
}

.icon {
    font-size:34px;
    margin-bottom:9px;
}

.card h3 {
    margin:14px 0 8px;
    font-size:23px;
}

.card p {
    color:var(--muted);
    line-height:1.58;
    margin-bottom:0;
}

.tag {
    display:inline-block;
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.8px;
    color:var(--green);
}


/* FEATURED */

.featured {
    margin-top:24px;
    background:var(--green-dark);
    color:var(--white);
    border-radius:28px;
    padding:34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.featured h3 {
    font-size:26px;
    margin:10px 0 7px;
}

.featured p {
    color:#c8d5cf;
    margin:0;
}


/* CALCULATOR */

.calc {
    margin-top:32px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:25px;
    padding:30px;
    box-shadow:0 14px 35px rgba(16,35,27,.045);
}

.row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.field label {
    display:block;
    font-size:13px;
    font-weight:800;
    margin-bottom:8px;
}

.field input {
    width:100%;
    padding:13px;
    border:1px solid var(--line);
    border-radius:11px;
    font-size:16px;
    background:#fbfcfb;
}

.result {
    margin-top:20px;
    background:var(--soft);
    border-radius:16px;
    padding:20px;
    font-weight:800;
}

.disclaimer {
    font-size:12px;
    color:var(--muted);
    margin-top:12px;
}


/* NOTICE */

.notice {
    margin-top:25px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:19px;
    padding:23px;
    line-height:1.65;
}

.notice a {
    color:var(--green);
    font-weight:800;
}


/* PILLS */

.pillrow {
    display:flex;
    gap:11px;
    flex-wrap:wrap;
    margin-top:26px;
}

.pill {
    background:var(--white);
    border:1px solid var(--line);
    border-radius:999px;
    padding:12px 17px;
    font-weight:800;
}


/* FOOTER */

footer {
    border-top:1px solid var(--line);
    margin-top:45px;
}

.foot {
    max-width:1160px;
    margin:auto;
    padding:34px 28px;
    color:var(--muted);
    font-size:13px;
    display:flex;
    justify-content:space-between;
    gap:20px;
}


/* ENERGIECHECK */

.bamm-check {
    max-width:900px;
    margin:40px auto 30px;
    padding:30px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:0 14px 35px rgba(16,35,27,.05);
}

.bamm-check h2 {
    margin:0 0 12px;
    font-size:clamp(32px,5vw,48px);
    line-height:1;
    letter-spacing:-2px;
}

.bamm-check > p {
    margin:0 0 28px;
    max-width:720px;
    color:var(--muted);
    line-height:1.7;
}

.bamm-check-field {
    background:var(--paper);
    border:1px solid var(--line);
}

.bamm-check-field label {
    color:var(--ink);
}

.bamm-check-field input[type="number"] {
    width:100%;
    margin-top:10px;
    padding:13px;
    background:var(--white);
    color:var(--ink);
    border:1px solid var(--line);
    border-radius:10px;
    font-size:16px;
}

.bamm-check-field input[type="number"]:focus {
    outline:none;
    border-color:var(--green);
}

.bamm-check-field small {
    display:block;
    margin-top:6px;
    color:var(--muted);
    font-size:12px;
}

.bamm-check-field input[type="radio"] {
    width:auto;
    margin-right:7px;
    accent-color:var(--green);
}

.bamm-check-field div label {
    display:flex;
    align-items:flex-start;
    gap:3px;
    padding:4px 0;
    font-weight:500;
    cursor:pointer;
}

.bamm-check-button {
    background:var(--green);
    color:var(--white);
    border:0;
    border-radius:14px;
    padding:15px 22px;
    font-family:inherit;
    font-weight:900;
    cursor:pointer;
}

.bamm-check-result {
    margin-top:25px;
    padding:25px;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:20px;
    line-height:1.65;
}

.bamm-result-card {
    margin-top:15px;
    padding:18px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:15px;
    line-height:1.65;
}

.bamm-result-card a {
    color:var(--green);
    font-weight:800;
    text-decoration:none;
}


/* PAGINA TEKST */

.page-content p {
    margin-top:0;
    margin-bottom:18px;
    line-height:1.7;
}

.page-content h1 {
    margin-top:0;
    margin-bottom:22px;
}

.page-content h2 {
    margin-top:45px;
    margin-bottom:16px;
}

.page-content h3 {
    margin-top:28px;
    margin-bottom:10px;
}

.page-content ul,
.page-content ol {
    margin-top:10px;
    margin-bottom:20px;
}

.page-content hr {
    margin:35px 0;
}


/* MOBIEL MENU */

.menu-toggle {
    display:none;
    background:var(--green);
    color:var(--white);
    border:0;
    border-radius:10px;
    padding:9px 12px;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}


/* MOBIEL */

@media (max-width:800px) {

    nav {
        padding:14px 18px;
        position:relative;
    }

    .menu-toggle {
        display:block;
    }

    .links {
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:var(--white);
        border-bottom:1px solid var(--line);
        box-shadow:0 12px 25px rgba(16,35,27,.08);
        padding:12px 20px 18px;
    }

    body.menu-open .links {
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:0;
    }

    body.menu-open .links a {
        padding:13px 4px;
        border-bottom:1px solid var(--line);
    }

    body.menu-open .links a:last-child {
        border-bottom:0;
    }

    .hero {
        grid-template-columns:1fr;
        padding:58px 20px 48px;
        gap:38px;
    }

    .hero h1 {
        font-size:clamp(48px,14vw,68px);
        letter-spacing:-3.5px;
    }

    .hero p {
        font-size:17px;
    }

    .hero-card {
        padding:28px;
    }

    .hero-card .big {
        font-size:58px;
    }

    .section {
        padding:58px 20px;
    }

    .section + .section {
        padding-top:28px;
    }

    .grid {
        grid-template-columns:1fr;
    }

    .row {
        grid-template-columns:1fr;
    }

    .featured {
        display:block;
        padding:28px;
    }

    .featured .btn {
        margin-top:20px;
    }

    .calc {
        padding:23px;
    }

    .foot {
        display:block;
    }

    .bamm-check {
        margin:25px auto 20px;
        padding:20px;
        border-radius:20px;
    }

    .bamm-check h2 {
        font-size:34px;
        letter-spacing:-1.5px;
    }

    .bamm-check-button {
        width:100%;
        text-align:center;
    }

    .bamm-check-result {
        padding:20px;
    }

    .bamm-result-card {
        padding:17px;
    }
}