/* =====================================================================
   Het Nationale Sinterklaaslied — stylesheet
   Palet: rood, goud, paars, nachtblauw, wit
   ===================================================================== */

:root {
    --rood: #D71920;
    --rood-donker: #A81017;
    --rood-diep: #8E1116;
    --rood-licht: #FDF0F0;
    --goud: #FFC400;
    --paars: #5B177D;
    --paars-donker: #3D0F55;
    --nacht: #071A43;
    --wit: #FFFFFF;
    --inkt: #1A1A1A;
    --grijs: #6B7280;
    --licht: #FDF0F0;

    --radius: 18px;
    --radius-groot: 32px;
    --schaduw: 0 12px 32px rgba(7, 26, 67, .14);
    --kopbalk: 7.2rem;
    --breedte: 1180px;
    --tekstbreedte: 44rem;

    --font-kop: "Roboto Slab", Georgia, "Times New Roman", serif;
    --font-tekst: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

h1, h2, h3, .site-logo__text { font-family: var(--font-kop); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

a { color: var(--rood-donker); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--rood); }
img { max-width: 100%; height: auto; display: block; }

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

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--rood-diep); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.container { width: min(100% - 2.5rem, var(--breedte)); margin-inline: auto; }
.container--tekst { width: min(100% - 2.5rem, var(--tekstbreedte)); margin-inline: auto; }

/* ------------------------------------------------------------ header */
/* De kopbalk zweeft over de pagina heen: de foto loopt eronder door. */
.site-header {
    position: sticky; top: 0; z-index: 100; isolation: isolate;
    padding-top: .35rem;
    margin-bottom: calc(var(--kopbalk) * -1);
    transition: transform .25s ease;
}

.topbalk { font-size: .86rem; color: rgba(255,255,255,.9); }
.topbalk__inner { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; min-height: 2.4rem; }
.topbalk ul { display: flex; align-items: center; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.topbalk a { color: inherit; text-decoration: none; font-weight: 600; }
.topbalk a:hover { color: var(--goud); }
.topbalk__social a { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.topbalk__social svg { width: 1.05rem; height: 1.05rem; }
.topbalk__social a:hover { background: rgba(255,255,255,.18); color: #fff; }

/* De zwevende witte balk met het logo in het midden. */
.menubalk {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    border-radius: 999px;
    padding: .5rem 1.25rem; min-height: 4.5rem;
    /* matglas: doorschijnend wit met een lichte vervaging van wat erachter ligt */
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 10px 34px rgba(7, 26, 67, .16), inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: background-color .25s ease, box-shadow .25s ease, min-height .25s ease;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .menubalk {
        background: rgba(255, 255, 255, .42);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
                backdrop-filter: blur(20px) saturate(180%);
    }
}

.menu-helft { display: flex; align-items: center; gap: .5rem; flex: 1 1 0; }
.menu-helft--rechts { justify-content: flex-end; }

.site-logo { flex: none; display: block; margin-inline: 1rem; position: relative; z-index: 2; }
.site-logo img {
    width: auto; height: 7.2rem; margin-block: -2.6rem;   /* valt ruim over de balk heen */
    filter: drop-shadow(0 6px 16px rgba(7,26,67,.28));
    transition: height .25s ease, margin .25s ease;
}

.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a {
    display: block; padding: .55rem .8rem; border-radius: 999px;
    font-family: var(--font-kop); font-weight: 600; font-size: .95rem;
    color: var(--nacht); text-decoration: none; white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .65);
}
.nav-item > a:hover, .nav-item.is-active > a {
    background: rgba(255, 255, 255, .85); color: var(--rood-donker); text-shadow: none;
}

/* De knop rechts, zoals de ticketknop in het voorbeeld. */
.btn-cta {
    display: inline-flex; align-items: center; gap: .6rem; flex: none;
    background: var(--rood); color: #fff; text-decoration: none;
    font-family: var(--font-kop); font-weight: 700; font-size: .95rem;
    padding: .55rem .6rem .55rem 1.15rem; border-radius: 999px; margin-left: .5rem;
    transition: background-color .15s ease, transform .15s ease;
}
.btn-cta:hover { background: var(--rood-donker); color: #fff; transform: translateY(-1px); }
.btn-cta i { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: rgba(255,255,255,.22); }
.btn-cta svg { width: 1rem; height: 1rem; }

/* Bij scrollen verdwijnt de bovenste regel en wordt de balk compacter. */
.site-header.is-vast .topbalk { opacity: 0; visibility: hidden; height: 0; min-height: 0; overflow: hidden; }
.site-header.is-vast .menubalk {
    min-height: 3.8rem;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 8px 26px rgba(7, 26, 67, .2), inset 0 1px 0 rgba(255, 255, 255, .9);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .site-header.is-vast .menubalk { background: rgba(255, 255, 255, .62); }
}
.site-header.is-vast .site-logo img { height: 5.4rem; margin-block: -1.6rem; }

/* Het submenu sluit direct aan op de balk: geen gat waar de muis doorheen valt. */
.nav-sub {
    position: absolute; left: 50%; transform: translate(-50%, 6px); top: 100%; min-width: 17rem;
    list-style: none; margin: 0; padding: 1.1rem .5rem .6rem; border-radius: var(--radius);
    background: #fff; box-shadow: var(--schaduw); border: 1px solid rgba(7,26,67,.08);
    opacity: 0; visibility: hidden;
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .2s;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.nav-sub a { display: block; padding: .5rem .75rem; border-radius: 10px; font-size: .95rem; color: var(--nacht); text-decoration: none; }
.nav-sub a:hover { background: var(--rood-licht); color: var(--rood-donker); }
.sub-toggle { display: none; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; justify-content: center; flex: none;
    width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--rood); cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; width: 20px; margin-inline: auto; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* ------------------------------------------------------------ knoppen */
.btn-sint, .btn-lijn {
    display: inline-block; font-family: var(--font-kop); font-weight: 700; font-size: 1rem;
    padding: .7rem 1.5rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
    transition: transform .15s ease, background-color .15s ease;
}
.btn-sint { background: var(--rood); color: #fff; }
.btn-sint:hover { background: var(--rood-donker); color: #fff; transform: translateY(-2px); }
.btn-sint--groot { padding: .95rem 2.1rem; font-size: 1.1rem; }
.btn-lijn { border-color: currentColor; color: var(--rood-donker); background: transparent; }
.btn-lijn:hover { background: var(--rood-donker); color: #fff; border-color: var(--rood-donker); }
.sectie--nacht .btn-lijn, .hero .btn-lijn { color: #fff; }
.sectie--nacht .btn-lijn:hover, .hero .btn-lijn:hover { background: #fff; color: var(--nacht); border-color: #fff; }

/* --------------------------------------------------------------- hero */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: linear-gradient(155deg, var(--rood) 0%, var(--rood-diep) 75%);
    color: #fff;
    padding: calc(var(--kopbalk) + clamp(1.5rem, 4vw, 3.5rem)) 0 clamp(4rem, 9vw, 7rem);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__img--blur { filter: blur(26px) saturate(1.2); transform: scale(1.1); opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(142,17,22,.72), rgba(107,10,14,.92)); }
.hero--home { padding-block: calc(var(--kopbalk) + clamp(2.5rem, 7vw, 5rem)) clamp(5rem, 11vw, 9rem); }
.hero__inner { position: relative; }
.hero__inner--duo { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.hero__label { font-family: var(--font-kop); font-weight: 700; letter-spacing: .02em; color: var(--goud); margin: 0 0 .4rem; }
.hero__titel { color: #fff; text-shadow: 0 6px 24px rgba(0,0,0,.3); }
.hero__titel--xl { font-size: clamp(2.4rem, 7vw, 4.6rem); max-width: 16ch; }
.hero__intro { font-size: 1.15rem; max-width: 52ch; color: rgba(255,255,255,.92); }
.hero__acties { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.lied__cover { width: min(320px, 60vw); border-radius: var(--radius-groot); box-shadow: 0 24px 48px rgba(0,0,0,.35); }

.golf {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 72px; background: var(--wit);
    /* de kleur komt van een naar-* klasse zodra de sectie eronder gekleurd is */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V26c-140 28-300 40-480 26S260-4 120 8L0 26z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V26c-140 28-300 40-480 26S260-4 120 8L0 26z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}

/* ----------------------------------------------------------- kruimels */
.kruimels { background: var(--wit); padding: 1rem 0 0; font-size: .9rem; }
.kruimels ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; color: var(--grijs); }
.kruimels li + li::before { content: "›"; margin-right: .4rem; color: var(--grijs); }
.kruimels a { color: var(--grijs); text-decoration: none; }
.kruimels a:hover { color: var(--rood); }

/* ------------------------------------------------------------ secties */
.sectie { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.sectie--wit { background: var(--wit); }
.sectie--licht { background: var(--licht); }
.sectie--goud { background: var(--goud); }
.sectie--rood { background: var(--rood); color: #fff; }
.sectie--paars { background: var(--paars); color: #fff; }   /* paars blijft als accent beschikbaar */
.sectie--nacht { background: var(--nacht); color: #fff; }
.sectie--rood-diep { background: var(--rood-diep); color: #fff; }
.sectie--creme { background: #FBF7EF; }
.sectie--goud-zacht { background: #FFF3CC; }
.sectie--paars-diep { background: var(--paars-donker); color: #fff; }
.sectie--groen { background: #14532D; color: #fff; }
.sectie--verloop { background: linear-gradient(135deg, var(--rood) 0%, var(--paars) 100%); color: #fff; }
.sectie--rood-diep a, .sectie--paars-diep a, .sectie--groen a, .sectie--verloop a { color: var(--goud); }
.sectie--rood-diep .sectie__titel, .sectie--paars-diep .sectie__titel,
.sectie--groen .sectie__titel, .sectie--verloop .sectie__titel { color: #fff; }
.sectie--rood a, .sectie--paars a, .sectie--nacht a { color: var(--goud); }
.sectie--smal { max-width: 46rem; }
.sectie__titel { max-width: 22ch; }
.sectie--goud .sectie__titel, .sectie--goud h2 { color: var(--rood-diep); }
.sectie__subtitel { font-size: 1.1rem; max-width: 60ch; margin-top: -.35rem; color: inherit; opacity: .85; }
.sectie__meer { margin-top: 2rem; }

.prose > :first-child { margin-top: 0; }
.prose p { max-width: var(--tekstbreedte); }
.prose ul, .prose ol { max-width: var(--tekstbreedte); }

/* -------------------------------------------------------------- duo's */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.duo--omgekeerd .duo__tekst { order: 2; }
.duo__beeld img { border-radius: var(--radius-groot); box-shadow: var(--schaduw); }

/* ------------------------------------------------------------ kaarten */
.kaart-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }

/* een vast aantal naast elkaar: de kaartjes vullen samen altijd de volle breedte */
.kaart-raster--2 { grid-template-columns: repeat(2, 1fr); }
.kaart-raster--3 { grid-template-columns: repeat(3, 1fr); }
.kaart-raster--4 { grid-template-columns: repeat(4, 1fr); }
.kaart-raster--5 { grid-template-columns: repeat(5, 1fr); }
.kaart-raster--6 { grid-template-columns: repeat(6, 1fr); }

.kaart { background: #fff; border-radius: var(--radius-groot); overflow: hidden; box-shadow: var(--schaduw); }
.kaart__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.kaart__link:hover .kaart__titel { color: var(--rood); }
.kaart__beeld { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(140deg, var(--rood), var(--rood-diep)); display: grid; place-items: center; }
.kaart__beeld img { width: 100%; height: 100%; object-fit: cover; }
.kaart__beeld--vel { aspect-ratio: 3 / 4; background: var(--licht); }
.kaart__jaar { font-family: var(--font-kop); font-size: 2.5rem; color: var(--goud); }
.kaart__tekst { padding: 1.1rem 1.25rem 1.5rem; }
.kaart__label { font-size: .82rem; font-weight: 700; color: var(--rood); margin: 0 0 .25rem; }
.kaart__titel { margin: 0 0 .35rem; font-size: 1.2rem; transition: color .15s ease; }
.kaart__sub { margin: 0; font-size: .95rem; color: var(--grijs); }

.kaart--video .speel {
    position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
    background: var(--rood); box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.kaart--video .speel::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
    border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; transform: translateX(3px);
}

/* ------------------------------------------------------- video/audio */
.video-kader, .spotify-kader { border-radius: var(--radius-groot); overflow: hidden; box-shadow: var(--schaduw); background: #000; }
.video-kader { aspect-ratio: 16 / 9; }
.video-kader iframe { width: 100%; height: 100%; border: 0; display: block; }
.spotify-kader { background: transparent; box-shadow: none; }
.spotify-kader iframe { width: 100%; height: 152px; border: 0; border-radius: 14px; }

.cta-blok { text-align: center; display: grid; gap: 1.25rem; justify-items: center; }

/* --------------------------------------------------------- songtekst */
.songtekst {
    font-family: var(--font-kop); font-size: 1.1rem; line-height: 1.95; font-weight: 400;
    background: rgba(255,255,255,.1); border-radius: var(--radius-groot); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.sectie--wit .songtekst { background: var(--licht); }
.songtekst-blok { margin-bottom: 3rem; }
.songtekst-blok .jaartal { color: var(--rood); }

/* ----------------------------------------------------------------- faq */
.faq { display: grid; gap: .75rem; margin: 1.5rem 0 2rem; }
.faq__item { background: var(--licht); border-radius: var(--radius); padding: 1rem 1.25rem; }
.faq__item summary { font-family: var(--font-kop); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: right; color: var(--rood); font-size: 1.4rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__antwoord { padding-top: .5rem; }
.faq__groep { margin-top: 2.5rem; }

/* ----------------------------------------------------------- formulier */
.formulier { display: grid; gap: 1.1rem; max-width: 40rem; margin-top: 2rem; }
.veld { display: grid; gap: .35rem; }
.veld-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.veld label { font-weight: 700; font-size: .95rem; }
.optioneel { font-weight: 400; color: var(--grijs); }
.veld input, .veld textarea, .veld select {
    font: inherit; padding: .75rem .9rem; border: 2px solid #E2E0E8; border-radius: 14px; background: #fff; width: 100%;
}
.veld input:focus, .veld textarea:focus { border-color: var(--rood); outline: none; }
.formulier button { justify-self: start; }
.honeypot { position: absolute; left: -9999px; }

.melding { padding: 1rem 1.25rem; border-radius: var(--radius); margin: 1rem 0; font-weight: 600; }
.melding--goed { background: #E7F6EC; color: #1B6B3A; }
.melding--fout { background: #FDE8E9; color: var(--rood-donker); }
.leeg { color: var(--grijs); font-style: italic; }

/* --------------------------------------------------------- paginering */
.paginering { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.paginering a { padding: .5rem .9rem; border-radius: 12px; background: var(--licht); text-decoration: none; font-weight: 700; }
.paginering a.is-actief { background: var(--rood); color: #fff; }

/* -------------------------------------------------------------- zoeken */
.zoek__lijst { list-style: none; padding: 0; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.zoek__lijst li { border-bottom: 1px solid #E8E5EE; padding-bottom: 1.25rem; }
.zoek__lijst a { font-family: var(--font-kop); font-size: 1.15rem; font-weight: 700; }
.zoek__soort { font-size: .8rem; background: var(--licht); border-radius: 999px; padding: .15rem .6rem; margin-left: .5rem; color: var(--grijs); }
.zoek__aantal { color: var(--grijs); margin-top: 1.5rem; }

/* -------------------------------------------------------------- downloads */
.download__voorbeeld { border-radius: var(--radius-groot); box-shadow: var(--schaduw); margin-bottom: 2rem; }
.terug { margin-top: 2.5rem; }

/* ------------------------------------------------------------------ 404 */
.sectie--404 { min-height: 60vh; display: grid; align-items: center; }
.lijst-404 { list-style: none; padding: 0; display: grid; gap: .6rem; margin: 1.5rem 0 2.5rem; }
.lijst-404 a { font-family: var(--font-kop); font-size: 1.15rem; font-weight: 700; }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--rood-diep); color: rgba(255,255,255,.88); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--goud); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-title { font-size: 1.15rem; color: var(--goud); margin-bottom: .75rem; }
.footer-links, .platform-list, .footer-legal { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.platform-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.platform {
    display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem;
    border-radius: 999px; background: rgba(255,255,255,.1); font-size: .9rem; font-weight: 700;
}
.platform:hover { background: var(--rood); }
.platform--spotify:hover { background: #1DB954; color: #08160b; }
.platform--youtube:hover { background: #FF0000; }
.platform--instagram:hover { background: #C13584; }
.platform--facebook:hover { background: #1877F2; }
.platform--x:hover { background: #000; }
.platform--tiktok:hover { background: #000; }
.platform--apple:hover { background: #FA243C; }
.platform--deezer:hover { background: #A238FF; }
.footer-mail { margin-top: 1rem; }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.5rem; font-size: .9rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --------------------------------------------------------- onderhoud */
.onderhoud { display: grid; place-items: center; min-height: 100vh; background: var(--rood-diep); color: #fff; text-align: center; padding: 2rem; }

/* ------------------------------------------------------------ mobiel */
@media (max-width: 1100px) {
    .nav-item > a { padding: .5rem .6rem; font-size: .9rem; }
    .site-logo img { height: 6.2rem; margin-block: -2rem; }
    .btn-cta span { display: none; }
    .btn-cta { padding: .5rem; }
}

@media (max-width: 991px) {
    :root { --kopbalk: 6rem; }

    .nav-toggle { display: flex; }
    .topbalk__links { display: none; }
    .topbalk__inner { justify-content: center; }

    .menubalk { flex-wrap: wrap; justify-content: space-between; padding: .5rem .75rem .5rem 1rem; }
    .menubalk.is-open { border-radius: 28px; padding-bottom: 1rem; }

    .site-logo { order: 1; margin-inline: 0; }
    .site-logo img { height: 5.6rem; margin-block: -1.7rem; }
    .nav-toggle { order: 2; }

    /* Beide menuhelften klappen samen uit onder het logo. */
    .menu-helft { order: 3; flex: 1 0 100%; display: none; }
    .menu-helft--rechts { order: 4; flex-direction: column; align-items: stretch; }
    .menubalk.is-open .menu-helft { display: block; }
    .menubalk.is-open .menu-helft--rechts { display: flex; }

    .menu-helft--links { margin-top: .5rem; border-top: 1px solid #EFEDF3; padding-top: .5rem; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav-item { border-bottom: 1px solid #EFEDF3; }
    .nav-item > a { padding: .8rem .5rem; font-size: 1.05rem; border-radius: 12px; }

    .nav-sub {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        border: 0; padding: 0 0 .5rem .75rem; display: none; min-width: 0; transition: none;
    }
    .nav-item.is-open .nav-sub { display: block; }
    .sub-toggle {
        display: block; position: absolute; right: .25rem; top: .45rem;
        width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
    }
    .sub-toggle::after { content: "\2304"; font-size: 1.4rem; color: var(--rood); }
    .nav-item.is-open .sub-toggle { transform: rotate(180deg); }

    .btn-cta { margin: .85rem 0 0; justify-content: center; padding: .7rem 1.25rem; }
    .btn-cta span { display: inline; }

    .duo, .veld-duo { grid-template-columns: 1fr; }
    .duo--omgekeerd .duo__tekst { order: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .site-logo img { height: 4.6rem; margin-block: -1.2rem; }
}

/* ------------------------------------------------------------- iconen */
.btn-sint, .btn-lijn { display: inline-flex; align-items: center; gap: .5rem; }
.btn-sint svg, .btn-lijn svg { width: 1.1em; height: 1.1em; flex: none; }
.platform svg { width: 1.05rem; height: 1.05rem; flex: none; }
.kruimels svg { width: .9rem; height: .9rem; vertical-align: -.1em; }

/* ------------------------------------------------- overgenomen inhoud */
.prose img, .prose figure { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.5rem auto; }
.prose figure { display: block; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-groot); margin: 1.5rem 0; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.75rem; }
.sectie--rood .prose a, .sectie--nacht .prose a, .sectie--paars .prose a { color: var(--goud); }

/* --------------------------------------------------------- feitenblok */
.sectie--feiten { padding-block: 1.75rem; }
.feiten { display: flex; flex-wrap: wrap; gap: 1.25rem 2.75rem; margin: 0; }
.feiten__item dt { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grijs); margin: 0; }
.feiten__item dd { margin: 0; font-family: var(--font-kop); font-weight: 700; font-size: 1.05rem; color: var(--rood-diep); }

/* ----------------------------------------------------------- artikel */
.leesbalk { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200; pointer-events: none; }
.leesbalk span { display: block; height: 100%; width: 0; background: var(--goud); transition: width .1s linear; }

.artikel__raster { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.artikel__zijkant { position: sticky; top: 7rem; display: grid; gap: 1.75rem; }
.artikel__tekst { max-width: 44rem; }

.inhoudsopgave h2, .delen h2 { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--grijs); margin-bottom: .6rem; }
.inhoudsopgave ol { list-style: none; margin: 0; padding: 0; counter-reset: kop; display: grid; gap: .45rem; }
.inhoudsopgave li { counter-increment: kop; }
.inhoudsopgave a { display: block; padding-left: 1.5rem; position: relative; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--nacht); }
.inhoudsopgave a::before { content: counter(kop); position: absolute; left: 0; color: var(--rood); font-family: var(--font-kop); }
.inhoudsopgave a:hover { color: var(--rood); }

.artikel__meta { border-top: 1px solid #E8E5EE; border-bottom: 1px solid #E8E5EE; padding: 1.1rem 0; display: grid; gap: .6rem; }
.artikel__meta p { margin: 0; display: grid; }
.artikel__meta span { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--grijs); }
.artikel__meta strong { font-family: var(--font-kop); font-weight: 600; }

.delen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.delen a, .kopieer {
    display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--licht); color: var(--rood-diep); border: 0; cursor: pointer; text-decoration: none;
}
.delen a:hover, .kopieer:hover { background: var(--rood); color: #fff; }
.delen svg { width: 1.15rem; height: 1.15rem; }
.kopieer-melding { font-size: .85rem; color: #1B6B3A; margin: .6rem 0 0; font-weight: 700; }

.etiket {
    display: inline-block; background: var(--goud); color: var(--rood-diep);
    border-radius: 999px; padding: .12rem .7rem; font-size: .78rem; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; margin-right: .5rem;
}
.etiket--licht { background: var(--licht); color: var(--rood-diep); margin: 0 .4rem .4rem 0; }
.etiketten { margin-top: 2.5rem; }
.hero__punt { opacity: .6; margin: 0 .15rem; }

@media (max-width: 991px) {
    .artikel__raster { grid-template-columns: 1fr; }
    .artikel__zijkant { position: static; order: 2; }
    .artikel__tekst { order: 1; max-width: none; }
    .inhoudsopgave { background: var(--licht); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
}

/* ----------------------------------------------------------- kolommen */
.container--breed { width: min(100% - 2rem, 1500px); margin-inline: auto; }
.sectie--ruimte-compact { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.sectie--ruimte-ruim { padding-block: clamp(4rem, 9vw, 7rem); }

.kolommen { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.kolommen--midden { align-items: center; }
.kolommen--boven { align-items: start; }
.kolommen--1  { grid-template-columns: 1fr; }
.kolommen--2  { grid-template-columns: 1fr 1fr; }
.kolommen--2a { grid-template-columns: 1fr 2fr; }
.kolommen--2b { grid-template-columns: 2fr 1fr; }
.kolommen--3  { grid-template-columns: repeat(3, 1fr); }
.kolommen--3a { grid-template-columns: 1fr 2fr 1fr; }
.kolommen--4  { grid-template-columns: repeat(4, 1fr); }

.kolom > :first-child { margin-top: 0; }
.kolom__titel { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: .6rem; }
.kolom__beeld { margin: 0 0 1rem; }
.kolom__beeld img { width: 100%; }
.kolom__beeld--kader img { border-radius: var(--radius-groot); box-shadow: var(--schaduw); }
.kolom__beeld--vrij img { border-radius: 0; box-shadow: none; background: transparent; }
.kolom__beeld--rond img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--schaduw); }
.kolom__beeld--klein { max-width: 22rem; }
.kolom__beeld--klein img { border-radius: 0; box-shadow: none; }
.kolom__beeld figcaption { font-size: .85rem; color: var(--grijs); margin-top: .5rem; }
.kolom__knop { margin-top: 1.25rem; }
.kolom__knoppen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.kolom__knoppen--midden { justify-content: center; }
.kolom__knoppen--rechts { justify-content: flex-end; }
.kolom__knoppen--vullend .btn-sint, .kolom__knoppen--vullend .btn-lijn { flex: 1 1 14rem; justify-content: center; }

.btn-goud { background: var(--goud); color: var(--rood-diep); }
.btn-goud:hover { background: #E6B000; color: var(--rood-diep); }
.btn-wit { background: #fff; color: var(--rood-donker); }
.btn-wit:hover { background: var(--licht); color: var(--rood-diep); }
.btn-paars { background: var(--paars); color: #fff; }
.btn-paars:hover { background: var(--paars-donker); color: #fff; }
.kolom--knop { display: grid; align-content: center; }

/* tekst uit de editor */
.kolom h2, .kolom h3, .kolom h4, .kolom h5, .kolom h6 { margin-top: 1.5em; }
.kolom h2:first-child, .kolom h3:first-child { margin-top: 0; }
.kolom img { max-width: 100%; height: auto; border-radius: var(--radius); }
.kolom figure { margin: 1.5rem 0; }
.kolom iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-groot); }
.kolom blockquote {
    margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem;
    border-left: 4px solid var(--goud); font-size: 1.1rem;
}

@media (max-width: 860px) {
    .kolommen--2, .kolommen--2a, .kolommen--2b, .kolommen--3, .kolommen--3a, .kolommen--4 {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 861px) and (max-width: 1100px) {
    .kolommen--4 { grid-template-columns: repeat(2, 1fr); }
    .kolommen--3a { grid-template-columns: 1fr 1fr; }
}

/* ================================================== overgangen tussen secties
   De vorm hangt onderaan een sectie en heeft de kleur van de sectie eronder,
   zodat de twee gekleurde vlakken vloeiend in elkaar overlopen.
   ========================================================================= */
.sectie { position: relative; }
.scheiding {
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 72px; pointer-events: none;
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.scheiding--h-laag { height: 44px; }
.scheiding--h-normaal { height: 72px; }
.scheiding--h-hoog { height: 120px; }
.scheiding--spiegel { transform: scaleX(-1); }

/* --- vormen --- */
.scheiding--golf {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V26c-140 28-300 40-480 26S260-4 120 8L0 26z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V26c-140 28-300 40-480 26S260-4 120 8L0 26z'/%3E%3C/svg%3E");
}
.scheiding--dubbele-golf {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V18c-120 36-240 48-360 30S840 6 720 24 480 66 360 54 120 6 0 18z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V18c-120 36-240 48-360 30S840 6 720 24 480 66 360 54 120 6 0 18z'/%3E%3C/svg%3E");
}
.scheiding--schuin {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V0z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V0z'/%3E%3C/svg%3E");
}
.scheiding--punt {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V0L720 56 0 0z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V0L720 56 0 0z'/%3E%3C/svg%3E");
}
.scheiding--boog {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V24C1140 68 300 68 0 24z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V24C1140 68 300 68 0 24z'/%3E%3C/svg%3E");
}
.scheiding--bogen {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V36c-90 36-180 36-270 0s-180-36-270 0-180 36-270 0S450 0 360 36 180 72 90 36 0 0 0 36z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V36c-90 36-180 36-270 0s-180-36-270 0-180 36-270 0S450 0 360 36 180 72 90 36 0 0 0 36z'/%3E%3C/svg%3E");
}
.scheiding--zigzag {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V20l-180 32-180-32-180 32-180-32-180 32-180-32-180 32L0 20z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath d='M0 72h1440V20l-180 32-180-32-180 32-180-32-180 32-180-32-180 32L0 20z'/%3E%3C/svg%3E");
}

/* --- eigen strook, bijvoorbeeld de vlaggenband --- */
.scheiding--beeld {
    -webkit-mask-image: none; mask-image: none;
    height: auto; bottom: 0; display: block; line-height: 0;
}
.scheiding--beeld img { width: 100%; height: auto; display: block; }

/* --- naar welke kleur loopt de overgang? --- */
.naar-wit         { background: var(--wit); }
.naar-licht       { background: var(--licht); }
.naar-creme       { background: #FBF7EF; }
.naar-goud        { background: var(--goud); }
.naar-goud-zacht  { background: #FFF3CC; }
.naar-rood        { background: var(--rood); }
.naar-rood-diep   { background: var(--rood-diep); }
.naar-paars       { background: var(--paars); }
.naar-paars-diep  { background: var(--paars-donker); }
.naar-nacht       { background: var(--nacht); }
.naar-groen       { background: #14532D; }
.naar-verloop     { background: linear-gradient(135deg, var(--rood) 0%, var(--paars) 100%); }

/* ruimte onderaan de sectie zodat de vorm de tekst niet raakt */
.sectie:has(.scheiding) { padding-bottom: clamp(5rem, 9vw, 8rem); }
.sectie:has(.scheiding--h-laag) { padding-bottom: clamp(4rem, 7vw, 6rem); }
.sectie:has(.scheiding--h-hoog) { padding-bottom: clamp(7rem, 12vw, 10rem); }
.sectie:has(.scheiding--beeld) { padding-bottom: clamp(3rem, 6vw, 5rem); }

@media (max-width: 700px) {
    .scheiding--h-hoog { height: 70px; }
    .scheiding--h-normaal { height: 48px; }
}

/* ---------------------------------------------------------- carrousel */
.carrousel { position: relative; }
.carrousel__spoor {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
    gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: .25rem .25rem 1.25rem; scrollbar-width: thin;
}

/* hoeveel kaartjes zijn er tegelijk te zien? de rest schuift met de knoppen */
.carrousel--2 .carrousel__spoor { grid-auto-columns: calc((100% - 1 * 1.5rem) / 2); }
.carrousel--3 .carrousel__spoor { grid-auto-columns: calc((100% - 2 * 1.5rem) / 3); }
.carrousel--4 .carrousel__spoor { grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); }
.carrousel--5 .carrousel__spoor { grid-auto-columns: calc((100% - 4 * 1.5rem) / 5); }
.carrousel--6 .carrousel__spoor { grid-auto-columns: calc((100% - 5 * 1.5rem) / 6); }

@media (max-width: 1100px) {
    .carrousel--4 .carrousel__spoor,
    .carrousel--5 .carrousel__spoor,
    .carrousel--6 .carrousel__spoor { grid-auto-columns: calc((100% - 2 * 1.5rem) / 3); }
}
@media (max-width: 860px) {
    .carrousel--3 .carrousel__spoor,
    .carrousel--4 .carrousel__spoor,
    .carrousel--5 .carrousel__spoor,
    .carrousel--6 .carrousel__spoor { grid-auto-columns: calc((100% - 1.5rem) / 2); }
}
.carrousel__spoor > * { scroll-snap-align: start; }
.carrousel__spoor::-webkit-scrollbar { height: 6px; }
.carrousel__spoor::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 999px; }

.carrousel__knop {
    position: absolute; top: 40%; z-index: 3; display: grid; place-items: center;
    width: 3rem; height: 3rem; border: 0; border-radius: 50%; cursor: pointer;
    background: #fff; color: var(--rood-diep); box-shadow: var(--schaduw);
    transition: transform .15s ease, opacity .15s ease;
}
.carrousel__knop:hover { transform: scale(1.08); }
.carrousel__knop[disabled] { opacity: .25; cursor: default; transform: none; }
.carrousel__knop--terug { left: -1.2rem; }
.carrousel__knop--verder { right: -1.2rem; }
.carrousel__knop svg { width: 1.4rem; height: 1.4rem; }

@media (max-width: 1240px) {
    .carrousel__knop--terug { left: .25rem; }
    .carrousel__knop--verder { right: .25rem; }
}
@media (max-width: 700px) {
    .carrousel__spoor { grid-auto-columns: minmax(70vw, 1fr); }
    .carrousel__knop { display: none; }
}



/* rasters schalen mee met het scherm */
@media (max-width: 1100px) {
    .kaart-raster--4, .kaart-raster--5, .kaart-raster--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .kaart-raster--3, .kaart-raster--4, .kaart-raster--5, .kaart-raster--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .kaart-raster, .kaart-raster--2, .kaart-raster--3, .kaart-raster--4,
    .kaart-raster--5, .kaart-raster--6 { grid-template-columns: 1fr; }
}

/* ============================================ vormgeving van de knoppen
   Wordt centraal ingesteld in het CMS onder Instellingen.
   ===================================================================== */
.knop-vorm-zacht .btn-sint, .knop-vorm-zacht .btn-lijn, .knop-vorm-zacht .btn-cta { border-radius: 14px; }
.knop-vorm-recht .btn-sint, .knop-vorm-recht .btn-lijn, .knop-vorm-recht .btn-cta { border-radius: 4px; }

.knop-maat-klein .btn-sint, .knop-maat-klein .btn-lijn { padding: .5rem 1.15rem; font-size: .92rem; }
.knop-maat-groot .btn-sint, .knop-maat-groot .btn-lijn { padding: .95rem 2.1rem; font-size: 1.08rem; }

.knop-hoofdletters .btn-sint, .knop-hoofdletters .btn-lijn, .knop-hoofdletters .btn-cta {
    text-transform: uppercase; letter-spacing: .04em; font-size: .92em;
}

.knop-schaduw .btn-sint { box-shadow: 0 6px 16px rgba(7, 26, 67, .18); }
.knop-schaduw .btn-sint:hover { box-shadow: 0 10px 22px rgba(7, 26, 67, .24); }

.knop-zweef-geen .btn-sint:hover, .knop-zweef-geen .btn-lijn:hover, .knop-zweef-geen .btn-cta:hover { transform: none; }
.knop-zweef-groeien .btn-sint:hover, .knop-zweef-groeien .btn-lijn:hover { transform: scale(1.04); }
.knop-zweef-omhoog .btn-sint:hover, .knop-zweef-omhoog .btn-lijn:hover { transform: translateY(-2px); }
