:root {
    --zeeblauw: #1A91A8;
    --diepblauw: #0F4C5C;
    --zonnegeel: #FFC93C;
    --koraal: #FF6B6B;
    --duinzand: #F4E9D8;
    --wit: #FFFFFF;

    --maxw: 720px;
    --gap-section: 64px;
    --gap-section-lg: 96px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--wit);
    color: var(--diepblauw);
    font-family: 'Trebuchet MS', Verdana, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 720px) {
    body { font-size: 18px; line-height: 1.65; }
}

h1, h2, h3 {
    margin: 0 0 0.5em;
    line-height: 1.2;
    font-weight: bold;
}

h1 {
    color: var(--zeeblauw);
    font-size: 36px;
    letter-spacing: -0.5px;
}
.hero-sub-title {
    display: inline-block;
    color: var(--diepblauw);
    font-size: 0.7em;
    font-weight: bold;
}
h2 {
    color: var(--diepblauw);
    font-size: 24px;
}
h3 {
    color: var(--diepblauw);
    font-size: 19px;
}

@media (min-width: 720px) {
    h1 { font-size: 52px; }
    h2 { font-size: 32px; }
    h3 { font-size: 22px; }
}

p { margin: 0 0 1em; }
a {
    color: var(--zeeblauw);
    text-decoration: underline;
    text-underline-offset: 3px;
}
a:hover { color: var(--diepblauw); }
a:focus-visible {
    outline: 3px solid var(--zonnegeel);
    outline-offset: 2px;
    border-radius: 3px;
}

ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 20px;
}

main > section {
    padding: var(--gap-section) 0;
}
main > section:first-child { padding-top: 32px; }

@media (min-width: 720px) {
    main > section { padding: var(--gap-section-lg) 0; }
}

/* Sectie met geaccentueerde achtergrond — breekt visueel uit de max-width
   van main door een box-shadow-bleed, terwijl de content binnen blijft.
   Geen margins zodat opeenvolgende secties als kleurbanden doorlopen. */
.section-accent {
    position: relative;
    background: var(--duinzand);
    box-shadow: 0 0 0 100vmax var(--duinzand);
    clip-path: inset(0 -100vmax);
}
/* Callout binnen duinzand-sectie wordt wit zodat het visueel pop't */
.section-accent .callout {
    background: var(--wit);
}

/* Sectie-iconen naast h2-titels */
.section-icon {
    width: 26px;
    height: 26px;
    color: var(--zeeblauw);
    margin-right: 10px;
    vertical-align: -5px;
    flex-shrink: 0;
}
@media (min-width: 720px) {
    .section-icon { width: 30px; height: 30px; vertical-align: -6px; }
}
h2 { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--zeeblauw);
    color: var(--wit);
    padding: 10px 16px;
    font-weight: bold;
    border-radius: 0 0 8px 0;
    z-index: 100;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
    color: var(--wit);
}

.hero {
    text-align: center;
    padding-top: 32px !important;
}
.hero h1 { display: block; }   /* override flex die op alle h2/h1 zou kunnen vallen */

.hero-badge {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 107, 0.12);
    color: var(--koraal);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 0.02em;
    margin: 0 auto 20px;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--koraal);
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6);
    animation: hero-pulse 2s infinite;
}
@keyframes hero-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.hero-logo {
    display: block;
    width: auto;
    height: 180px;
    max-width: 100%;
    margin: 0 auto 16px;
}
@media (min-width: 720px) {
    .hero-logo { height: 220px; }
}
.lead {
    font-size: 1.1em;
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--diepblauw);
}

.cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
}
@media (min-width: 480px) {
    .cta-row {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
    }
    .cta-row .btn { width: auto; }
}

.hero-scroll-hint {
    display: inline-block;
    margin-top: 28px;
    color: var(--diepblauw);
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.95em;
    border-bottom: 2px solid var(--zonnegeel);
    padding-bottom: 2px;
}
.hero-scroll-hint:hover {
    opacity: 1;
    color: var(--zeeblauw);
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 100px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.2;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
    text-align: center;
}
.btn-primary {
    background: var(--zeeblauw);
    color: var(--wit);
    box-shadow: 0 4px 14px rgba(26, 145, 168, 0.3);
}
.btn-primary:hover {
    background: var(--diepblauw);
    color: var(--wit);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--wit);
    color: var(--diepblauw);
    border: 2px solid var(--diepblauw);
    padding: 12px 22px;  /* compenseer voor border */
}
.btn-secondary:hover {
    background: var(--diepblauw);
    color: var(--wit);
    transform: translateY(-1px);
}
.btn-big {
    padding: 18px 32px;
    font-size: 1.1em;
}

.link-arrow {
    color: var(--diepblauw);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--zonnegeel);
    padding-bottom: 2px;
}
.link-arrow:hover { color: var(--zeeblauw); }

.planning-list {
    columns: 1;
    column-gap: 32px;
    list-style: none;
    padding: 0;
}
.planning-list li {
    break-inside: avoid;
    margin-bottom: 0.7em;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.planning-list li::before {
    content: "•";
    color: var(--koraal);
    font-weight: bold;
    font-size: 1.4em;
    line-height: 1;
    flex-shrink: 0;
}
@media (min-width: 600px) {
    .planning-list { columns: 2; }
}

.callout {
    background: var(--duinzand);
    border-left: 4px solid var(--koraal);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
}
.callout p:last-child { margin-bottom: 0; }

.muted { color: var(--diepblauw); opacity: 0.8; }
.small { font-size: 0.92em; }
.meta-link { font-size: 0.95em; opacity: 0.85; }

footer {
    border-top: 1px solid var(--zeeblauw);
    margin-top: 48px;
    padding: 24px 20px;
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    font-size: 0.9em;
    color: var(--diepblauw);
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-logo {
    height: 38px;
    width: auto;
}
.tagline {
    font-weight: bold;
    color: var(--zeeblauw);
}

@media (min-width: 600px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 380px) {
    main { padding: 20px 16px; }
    .hero-logo { height: 150px; }
    h1 { font-size: 30px; }
    .btn-big { padding: 16px 24px; font-size: 1em; }
}

/* ---------- Datum-aankondiging ---------- */
.datum-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--zeeblauw);
    color: var(--wit);
    border-radius: 16px;
    padding: 16px 32px;
    margin: 4px 0 24px;
    line-height: 1.1;
    box-shadow: 0 6px 20px rgba(26, 145, 168, 0.3);
}
.datum-badge-dag {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.9;
}
.datum-badge-getal {
    font-size: 3.4em;
    font-weight: bold;
    margin: 2px 0;
}
.datum-badge-maand {
    font-size: 1.1em;
    font-weight: bold;
}

/* ---------- Activiteiten ---------- */
.activiteiten-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1em;
}
.activiteiten-list li {
    break-inside: avoid;
    margin-bottom: 0.7em;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.activiteiten-list li::before {
    content: "•";
    color: var(--koraal);
    font-weight: bold;
    font-size: 1.4em;
    line-height: 1;
    flex-shrink: 0;
}
.voorbehoud {
    font-size: 0.85em;
    opacity: 0.7;
    font-style: italic;
}

/* ---------- Openbare teller / thermometer ---------- */
.teller-blok {
    background: var(--duinzand);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 8px 0 28px;
    border-left: 4px solid var(--zonnegeel);
}
.teller-tekst {
    font-weight: bold;
    color: var(--diepblauw);
    margin: 0 0 10px;
}
.teller-tekst #teller-aantal {
    color: var(--zeeblauw);
    font-size: 1.25em;
}
.teller-balk {
    background: rgba(15, 76, 92, 0.12);
    border-radius: 100px;
    height: 16px;
    overflow: hidden;
}
.teller-vulling {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--zeeblauw), var(--zonnegeel));
    border-radius: 100px;
    transition: width 0.6s ease;
}
.teller-mijlpaal {
    font-size: 0.88em;
    color: var(--diepblauw);
    opacity: 0.8;
    margin: 10px 0 0;
}

/* ---------- Aanmeldformulier ---------- */
.aanmeld-let-op { margin: 8px 0 24px; }
.aanmeld-form { margin-top: 8px; }

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.form-field label {
    font-weight: bold;
    color: var(--diepblauw);
}
.form-field-optional {
    font-weight: normal;
    opacity: 0.7;
    font-size: 0.92em;
}
.form-field input {
    font-family: inherit;
    font-size: 1em;
    padding: 12px 14px;
    border: 2px solid rgba(15, 76, 92, 0.2);
    border-radius: 8px;
    background: var(--wit);
    color: var(--diepblauw);
    width: 100%;
    transition: border-color 0.15s ease;
}
.form-field input:focus {
    outline: none;
    border-color: var(--zeeblauw);
    box-shadow: 0 0 0 3px rgba(26, 145, 168, 0.2);
}
.form-field input:focus-visible {
    outline: 3px solid var(--zonnegeel);
    outline-offset: 2px;
}
.form-field input[aria-invalid="true"] {
    border-color: var(--koraal);
}
.form-field-help {
    font-size: 0.88em;
    color: var(--diepblauw);
    opacity: 0.75;
    margin: 0;
}

/* "Kom je?" keuze */
.keuze-groep {
    border: none;
    padding: 0;
    margin: 0 0 18px;
}
.keuze-groep legend {
    font-weight: bold;
    color: var(--diepblauw);
    padding: 0;
    margin-bottom: 8px;
}
.keuze-opties {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 480px) {
    .keuze-opties { flex-direction: row; }
    .keuze-optie { flex: 1; }
}
.keuze-optie {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--duinzand);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.keuze-optie:hover {
    border-color: var(--zeeblauw);
    transform: translateY(-1px);
}
.keuze-optie:has(input:checked) {
    background: var(--wit);
    border-color: var(--zeeblauw);
    box-shadow: 0 4px 14px rgba(26, 145, 168, 0.18);
}
.keuze-optie input[type="radio"] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--zeeblauw);
    cursor: pointer;
}
.keuze-optie input[type="radio"]:focus-visible {
    outline: 3px solid var(--zonnegeel);
    outline-offset: 3px;
    border-radius: 50%;
}
.keuze-optie-body {
    font-weight: bold;
    color: var(--diepblauw);
}

/* Aantallen + steppers */
.aantallen-groep {
    background: var(--duinzand);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 18px;
}
.aantallen-intro {
    font-weight: bold;
    color: var(--diepblauw);
    margin: 0 0 12px;
}
.teller-rij {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.teller-rij:last-child { margin-bottom: 0; }
.teller-rij label {
    font-weight: normal;
    color: var(--diepblauw);
    flex: 1;
}
.stepper {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: var(--wit);
    border: 2px solid rgba(15, 76, 92, 0.2);
    border-radius: 8px;
    overflow: hidden;
}
.stepper-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--wit);
    color: var(--zeeblauw);
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}
.stepper-btn:hover { background: rgba(26, 145, 168, 0.1); }
.stepper-btn:focus-visible {
    outline: 3px solid var(--zonnegeel);
    outline-offset: -3px;
}
.stepper input[type="number"] {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid rgba(15, 76, 92, 0.15);
    border-right: 1px solid rgba(15, 76, 92, 0.15);
    font-family: inherit;
    font-size: 1.05em;
    font-weight: bold;
    color: var(--diepblauw);
    background: var(--wit);
    -moz-appearance: textfield;
}
.stepper input[type="number"]::-webkit-outer-spin-button,
.stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.stepper input[type="number"]:focus-visible {
    outline: 3px solid var(--zonnegeel);
    outline-offset: -3px;
}

/* Foutmelding, knop, privacy */
.form-error {
    background: rgba(255, 107, 107, 0.12);
    border-left: 4px solid var(--koraal);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    color: var(--diepblauw);
    margin-bottom: 16px;
    font-size: 0.95em;
}
.form-error a { color: var(--koraal); }
.form-error p { margin: 0 0 0.5em; }
.form-error p:last-child { margin-bottom: 0; }

.form-submit {
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
@media (min-width: 480px) {
    .form-submit { width: auto; }
}
.form-submit:disabled {
    opacity: 0.7;
    cursor: progress;
    transform: none;
}
.form-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: var(--wit);
    border-radius: 50%;
    animation: form-spin 0.7s linear infinite;
}
.form-submit.is-loading .form-spinner { display: inline-block; }
@keyframes form-spin { to { transform: rotate(360deg); } }

.form-privacy {
    margin-top: 16px;
    font-size: 0.85em;
    color: var(--diepblauw);
    opacity: 0.7;
}

/* Bevestiging na verzenden */
.aanmeld-feedback {
    background: var(--duinzand);
    border-left: 4px solid #2d7a2d;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
}
.aanmeld-feedback .feedback-msg::before {
    content: "✓";
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #2d7a2d;
    color: var(--wit);
    border-radius: 50%;
    font-weight: bold;
    margin-right: 10px;
    vertical-align: middle;
}
.aanmeld-feedback .feedback-msg { margin: 0; }
.aanmeld-feedback .feedback-msg strong { display: inline; }
.feedback-cta {
    margin: 14px 0 0;
}
.feedback-cta a {
    font-weight: bold;
}
