:root {
    --teal: #127d77;
    --teal-dark: #0d625d;
    --teal-soft: #dff1ee;
    --yellow: #ffcc4d;
    --yellow-soft: #fff4d1;
    --coral: #ff795e;
    --coral-dark: #d9492c;
    --coral-soft: #ffe6e0;
    --dark: #172d38;
    --muted: #526671;
    --light: #f5f9f7;
    --white: #fff;
    --line: #dbe6e2;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(23, 45, 56, .08);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 0 0 .6em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--dark); color: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--light { background: var(--light); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal a:not(.btn) { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Knoppen */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: var(--dark); box-shadow: 0 6px 0 rgba(217, 73, 44, .35); }
.btn--primary:hover { background: #ff8a72; color: var(--dark); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); color: var(--white); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal-soft); }
.btn--white { background: var(--white); color: var(--dark); }
.btn--small { padding: .55rem 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--dark); font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.logo svg { width: 44px; height: 44px; }
.logo span span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: var(--dark); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--teal); }
.nav__cta { display: flex; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .45rem .7rem; font: inherit; font-weight: 700; color: var(--dark); cursor: pointer; }

@media (max-width: 1020px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none;
        position: absolute;
        inset: 72px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .nav a:not(.btn) { padding: .6rem 0; }
    .nav__cta { flex-direction: column; margin-top: .6rem; }
}

/* Hero */
.hero { background: linear-gradient(160deg, var(--light) 0%, var(--teal-soft) 100%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.hero--plain .hero__inner { grid-template-columns: 1fr; max-width: 820px; }
.hero--school { background: var(--light); }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art svg { width: min(380px, 80%); filter: drop-shadow(0 18px 24px rgba(23, 45, 56, .15)); }
.hero__blob { position: absolute; inset: 8% 6%; background: var(--yellow); border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; opacity: .55; }
.hero__chip {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: .5rem .9rem;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: var(--shadow);
}
.hero__chip--1 { top: 8%; left: 0; color: var(--teal); }
.hero__chip--2 { bottom: 14%; right: 0; color: var(--coral-dark); }
.hero__chip--3 { bottom: 2%; left: 8%; }
.slogan { font-family: var(--font-display); font-weight: 800; color: var(--teal); }

@media (max-width: 820px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { order: -1; max-width: 300px; margin-inline: auto; }
}

/* Rasters en kaarten */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }
.card--teal { background: var(--teal); color: var(--white); border-color: transparent; }
.card--yellow { background: var(--yellow-soft); border-color: #f4dc95; }
.card--dark { background: var(--dark); color: var(--white); border-color: transparent; }
.card--teal a:not(.btn), .card--dark a:not(.btn) { color: var(--white); }
.card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.7rem;
    margin-bottom: 1rem;
    background: var(--teal-soft);
}
.card__icon--yellow { background: var(--yellow-soft); }
.card__icon--coral { background: var(--coral-soft); }

.badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    background: var(--teal-soft);
    color: var(--teal-dark);
}
.badge--yellow { background: var(--yellow); color: var(--dark); }
.badge--coral { background: var(--coral-soft); color: var(--coral-dark); }
.badge--muted { background: #e8edf0; color: var(--muted); }

.checklist { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: .45rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--teal); }
.card--teal .checklist li::before { color: var(--yellow); }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.6rem; }
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--yellow);
    font-family: var(--font-display);
    font-weight: 800;
}
.steps h3 { margin-bottom: .2rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }
.steps--grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.75rem; }

/* Prijzen */
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.price small { display: block; margin-top: .4rem; font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--muted); }
.card--teal .price small { color: rgba(255, 255, 255, .85); }
.plan { display: flex; flex-direction: column; }
.plan .checklist { flex: 1; }
.plan__meta { font-weight: 700; color: var(--teal); margin-bottom: .8rem; }
.plan--featured { border: 2px solid var(--teal); }

.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.facts li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .95rem; }

/* Groepen */
.groups { display: grid; gap: 1rem; }
.group {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}
.group__title { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .25rem; }
.group__title h3 { margin: 0; }
.group p { margin: 0; }
@media (max-width: 640px) { .group { grid-template-columns: 1fr; } }

/* Formulieren */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field textarea, .field select {
    width: 100%;
    padding: .75rem .9rem;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--dark);
    background: var(--white);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field-help { margin: 0; font-size: .88rem; color: var(--muted); }
.field-errors { margin: 0; padding: 0; list-style: none; color: #b3261e; font-size: .9rem; font-weight: 600; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 2px solid var(--line); border-radius: 999px; font-weight: 600 !important; cursor: pointer; background: var(--white); }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--teal); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset > legend { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: .8rem; padding: 0; }

.alert { border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-weight: 600; border: 1px solid transparent; }
.alert--success { background: var(--teal-soft); border-color: #a9d8d2; color: var(--teal-dark); }
.alert--error { background: var(--coral-soft); border-color: #ffb8a8; color: #8c2a15; }
.alert--notice { background: var(--yellow-soft); border-color: #f4dc95; }

/* Inschrijfstappen */
.progress { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 2rem; padding: 0; font-size: .9rem; font-weight: 700; }
.progress li { padding: .35rem .9rem; border-radius: 999px; background: #e8edf0; color: var(--muted); }
.progress li.is-active { background: var(--teal); color: var(--white); }
.progress li.is-done { background: var(--teal-soft); color: var(--teal-dark); }

.summary { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; }
.summary dt { font-weight: 700; color: var(--muted); }
.summary dd { margin: 0; }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; gap: .1rem; } .summary dd { margin-bottom: .6rem; } }
.date-list { margin: 0; padding-left: 1.2rem; columns: 2; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--line); margin-top: 1.2rem; padding-top: 1rem; font-weight: 800; font-size: 1.2rem; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin-bottom: .7rem; }
.faq summary { padding: 1rem 1.25rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--muted); }

/* Tekstpagina's */
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.placeholder { background: var(--yellow-soft); border-radius: 4px; padding: 0 .3rem; }

.cta { text-align: center; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--dark); color: #c9d6dc; padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #c9d6dc; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h2 { font-size: 1rem; color: var(--white); margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer .logo { color: var(--white); }
.site-footer .logo span span { color: var(--yellow); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* Cookiemelding */
.cookie-banner {
    position: fixed;
    z-index: 60;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: 460px;
    margin-left: auto;
    padding: 1.25rem 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(23, 45, 56, .2);
    font-size: .95rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: .6rem; }
.cookie-banner__buttons { display: flex; gap: .6rem; margin-top: .9rem; }
.cookie-banner__buttons .btn { flex: 1; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
    .btn:hover { transform: none; }
}
