/* ═══════════════════════════════════════════════════════════════
   MorphiToys — "Collectible studio" (logo-echt)
   Merk-navy als basis, logo-cyaan als frisse accent en logo-goud
   voor badges/sterren. Quicksand (display) + DM Sans (body) — de
   pairing van het oorspronkelijke merk. Token-namen zijn bewust
   ongewijzigd (--grape = nu navy) zodat alle componenten meegaan.
   FUNDAMENT: tokens, basis, gedeelde componenten. Pagina-specifieke
   stijl staat in /css/paginas/*.  Niet pagina-uniek? Hier. Anders daar.
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* — Canvas & oppervlak — */
    --canvas:        #F6F8FD;   /* koel papier — laat navy/cyaan zingen */
    --canvas-2:      #ECF1FA;   /* iets dieper koel voor afwisselende banden */
    --surface:       #FFFFFF;
    --surface-2:     #FBFCFF;

    /* — Inkt / tekst — */
    --ink:           #14204A;   /* merk-navy inkt */
    --ink-soft:      #4A5578;   /* gedempte body */
    --ink-faint:     #8A93AD;   /* bijschriften (alleen decoratief/groot) */

    /* — Merk & accenten (uit het logo gesampled) — */
    --grape:         #182352;   /* PRIMAIR — merk-navy, knoppen (wit ≈ 13:1) */
    --grape-700:     #101A40;   /* hover */
    --grape-100:     #E3E9F8;   /* tint-vlak */
    --coral:         #F5901E;   /* verpakking-oranje — warme energie/CTA-accent */
    --coral-ink:     #C2410C;   /* oranje als TEKST op licht (≈4.9:1) */
    --coral-100:     #FFE7D0;
    --sun:           #FFC020;   /* verpakking-goudgeel (badges, sterren, knipoog) */
    --sun-100:       #FFF1CC;
    --teal:          #12AEE0;   /* logo-cyaan (tweede, koele accent) */
    --teal-100:      #D4F1FA;
    --berry:         #4A7BD8;   /* vriendelijk middenblauw (categorie-variatie) */
    --berry-100:     #E1EAFB;

    /* — Semantisch — */
    --primary:       var(--grape);
    --on-primary:    #FFFFFF;
    --ring:          var(--grape);
    --border:        #E3E8F4;   /* koele haarlijn */
    --border-sterk:  #CFD8EC;
    --ok:            #1E9E5A;
    --ok-bg:         #E6F7EE;
    --bad:           #C8341F;
    --bad-bg:        #FDEBE7;

    /* — Ronding (chunky, tactiel) — */
    --r-sm: 12px;  --r-md: 18px;  --r-lg: 26px;  --r-xl: 36px;  --r-pill: 999px;

    /* — Schaduw (koel getint, zacht) — */
    --sh-sm:  0 4px 14px rgba(20,32,74,.07);
    --sh-md:  0 16px 36px rgba(20,32,74,.10);
    --sh-lg:  0 30px 64px rgba(20,32,74,.16);
    --sh-grape: 0 18px 40px rgba(24,35,82,.28);
    --sh-coral: 0 16px 34px rgba(245,144,30,.34);

    /* — Beweging — */
    --veer:  cubic-bezier(.34, 1.56, .64, 1);   /* springerig */
    --vloei: cubic-bezier(.22, .9, .36, 1);      /* soepel */

    /* — Fonts — */
    --font-display: 'Quicksand', 'Trebuchet MS', system-ui, sans-serif;
    --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* — Vloeiende type-schaal — */
    --t-xs:   clamp(.75rem,  .72rem + .12vw, .81rem);
    --t-sm:   clamp(.875rem, .84rem + .15vw, .94rem);
    --t-base: clamp(1rem,    .97rem + .2vw,  1.09rem);
    --t-lg:   clamp(1.13rem, 1.06rem + .35vw, 1.31rem);
    --t-xl:   clamp(1.4rem,  1.25rem + .7vw,  1.85rem);
    --t-2xl:  clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
    --t-3xl:  clamp(2.1rem,  1.55rem + 2.6vw, 3.6rem);
    --t-4xl:  clamp(2.6rem,  1.7rem + 4vw,    5rem);

    /* — Layout — */
    --wrap: 1240px;
    --pad-x: clamp(1.1rem, 5vw, 4rem);
}

/* ── Reset & basis ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--t-base);
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(120% 55% at 50% 0%, #ECF2FC 0%, transparent 42%),
        #DFE8F6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--grape); text-decoration: none; }
a, button, input, select, textarea, summary { font-family: inherit; }
a, button, input, select, textarea, summary, [role=button] { touch-action: manipulation; }
button { cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--ink);
    text-wrap: balance;
}
h1 { font-weight: 700; }
p { text-wrap: pretty; }

/* ── Toegankelijkheid ────────────────────────────────────────── */
:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 6px; }
.op-donker :focus-visible { outline-color: var(--sun); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--sun); color: var(--ink);
    font-family: var(--font-display); font-weight: 600; font-size: .9rem;
    padding: 12px 22px; border-radius: 0 0 14px 0;
}
.skip-link:focus { left: 0; }

/* ── Layout-helpers ──────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.icoon { flex: none; vertical-align: -.18em; }

/* Decoratieve "sticker"-eyebrow boven secties */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 600;
    font-size: var(--t-sm); letter-spacing: .02em;
    color: var(--coral-ink);
    background: var(--coral-100);
    padding: 7px 15px; border-radius: var(--r-pill);
}
.eyebrow.is-teal  { color: #0A6f7c; background: var(--teal-100); }
.eyebrow.is-grape { color: var(--grape-700); background: var(--grape-100); }
.eyebrow.is-sun   { color: #8A5A00; background: var(--sun-100); }

/* Pills / chips / badges */
.pill {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm);
    padding: 8px 16px; border-radius: var(--r-pill);
    background: var(--surface); border: 1.5px solid var(--border-sterk); color: var(--ink);
}
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display); font-weight: 600; font-size: var(--t-xs);
    padding: 5px 12px; border-radius: var(--r-pill);
    background: var(--sun); color: var(--ink);
}
.badge.is-coral { background: var(--coral); color: #fff; }
.badge.is-grape { background: var(--grape); color: #fff; }

/* Zachte "blob"-decorvorm */
.blob { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    filter: blur(2px); opacity: .9; pointer-events: none; z-index: 0; }

/* ── Knoppen ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
    line-height: 1; border-radius: var(--r-pill);
    padding: 15px 30px; min-height: 52px; border: 2px solid transparent;
    color: var(--ink); white-space: nowrap;
    transition: transform .25s var(--veer), box-shadow .25s var(--vloei),
                background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn .icoon { transition: transform .25s var(--veer); }
.btn:hover .icoon { transform: translateX(3px); }

.btn-primair { background: linear-gradient(180deg, #F9A527, #EE6A12); color: #fff;
    text-shadow: 0 1px 1px rgba(120,48,0,.35); box-shadow: var(--sh-coral); }
.btn-primair:hover { background: linear-gradient(180deg, #FBB03B, #E2650F); box-shadow: 0 20px 44px rgba(238,106,18,.42); }
.btn-coral { background: var(--coral); color: #fff; text-shadow: 0 1px 1px rgba(120,48,0,.3); box-shadow: var(--sh-coral); }
.btn-coral:hover { background: #E2650F; }
.btn-zon { background: var(--sun); color: var(--ink); box-shadow: 0 14px 30px rgba(255,194,74,.4); }
.btn-zon:hover { background: #FFB52A; }
.btn-secundair { background: var(--ink); color: #fff; }
.btn-secundair:hover { background: #3A2F58; box-shadow: var(--sh-md); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-groot { padding: 17px 38px; min-height: 58px; font-size: 1.13rem; }
.btn-klein { padding: 11px 20px; min-height: 44px; font-size: .95rem; }
.btn-blok { width: 100%; }
/* Knoppen op donkere secties */
.op-donker .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.op-donker .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ── Verpakking-motieven ─ navy zonnestraal · swoosh-golf · bubbelkop ─ */
/* Navy sectie met stralende zonnestraal (verpakking-hero look) */
.op-navy { position: relative; color: #fff; isolation: isolate; overflow: hidden;
    background: radial-gradient(135% 105% at 50% 2%, #3E82E6 0%, #2A6AD6 28%, #1C55BE 58%, #1544A0 100%); }
.op-navy::before { content: ''; position: absolute; inset: -30% -20% 0; z-index: -1; pointer-events: none;
    background: repeating-conic-gradient(from 0deg at 50% 14%, rgba(255,255,255,.07) 0deg 5deg, rgba(255,255,255,0) 5deg 11deg);
    -webkit-mask: radial-gradient(80% 80% at 50% 14%, #000 0%, transparent 70%);
            mask: radial-gradient(80% 80% at 50% 14%, #000 0%, transparent 70%); }
.op-navy h1, .op-navy h2, .op-navy h3, .op-navy h4 { color: #fff; }
.op-navy p, .op-navy .sectie-kop p { color: #E7EEFB; }
.op-navy .sier { color: var(--sun); }
.op-navy .eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.op-navy .eyebrow .icoon { color: var(--sun); }

/* Bubbelkop met dikke omlijning (verpakking-woordmerk-gevoel) */
.kop-pop { -webkit-text-stroke: 2.5px #fff; paint-order: stroke fill; color: var(--coral);
    text-shadow: 0 5px 0 rgba(16,26,64,.28), 0 9px 20px rgba(16,26,64,.30); }
.kop-pop.geel { color: var(--sun); }

/* Oranje/navy swoosh-golf tussen secties (SVG in de view) */
.swoosh { display: block; width: 100%; height: clamp(38px, 6vw, 84px); line-height: 0; }
.swoosh svg { display: block; width: 100%; height: 100%; }
.swoosh--navy svg { fill: #102E5F; }
.swoosh--oranje svg { fill: var(--coral); }
.swoosh--canvas svg { fill: var(--canvas); }

/* ── Topbar ──────────────────────────────────────────────────── */
.topbar {
    background: var(--ink); color: #EBE6F5; font-family: var(--font-display);
    font-weight: 500; font-size: .82rem; display: flex; gap: 30px;
    justify-content: center; align-items: center; padding: 9px 16px;
}
.topbar span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .icoon { flex: none; color: var(--sun); }
.topbar.aankondiging { background: var(--sun); color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .topbar span.topbar-extra { display: none; } .topbar { gap: 0; } }
/* Reseller-balk (alleen zichtbaar als een reseller is ingelogd) */
.reseller-balk {
    background: linear-gradient(90deg, var(--coral), #E4720C); color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: .82rem;
    display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 8px 16px;
}
.reseller-balk span { display: inline-flex; align-items: center; gap: 7px; }
.reseller-balk .icoon { flex: none; color: #fff; }
.reseller-balk a { color: #fff; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.reseller-balk a:hover { color: var(--ink); transform: none; }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 16px var(--pad-x);
    background: rgba(246,248,253,.82); backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: padding .3s var(--vloei), background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
    padding: 9px var(--pad-x); background: rgba(246,248,253,.94);
    border-bottom-color: var(--border); box-shadow: 0 6px 26px rgba(20, 32, 74,.08);
}
.logo { display: inline-flex; align-items: center; gap: 11px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink); }
.logo em { color: var(--grape); font-style: normal; }
.logo-img { height: 48px; width: auto; display: block; transition: transform .35s var(--veer); }
.site-header.scrolled .logo-img { height: 40px; }
.logo:hover .logo-img, .logo:focus-visible .logo-img { transform: rotate(-2deg) scale(1.04); }
@keyframes wiggle { 25% { transform: rotate(-11deg) scale(1.06); } 75% { transform: rotate(11deg) scale(1.06); } }

.hoofdnav { display: flex; gap: 4px; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.hoofdnav a { color: var(--ink); position: relative; padding: 10px 14px; border-radius: var(--r-pill);
    transition: background .2s, color .2s; }
.hoofdnav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px;
    background: var(--coral); border-radius: 3px; transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--veer); }
.hoofdnav a:hover { color: var(--grape); }
.hoofdnav a:hover::after, .hoofdnav a.actief::after { transform: scaleX(1); }

.header-acties { display: flex; align-items: center; gap: 6px; }
.cart-knop { position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; color: var(--ink);
    transition: background .2s, transform .2s var(--veer); }
.cart-knop:hover { background: var(--grape-100); color: var(--grape); transform: translateY(-2px); }
.cart-teller { position: absolute; top: 2px; right: -1px; background: var(--coral); color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: .72rem; border-radius: 50%;
    min-width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 5px; border: 2px solid var(--canvas); }
.menu-knop { display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
    color: var(--ink); border-radius: 50%; }
.menu-knop:hover { background: var(--grape-100); }

@media (max-width: 880px) {
    .menu-knop { display: inline-flex; }
    .hoofdnav { display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--surface); flex-direction: column; padding: 14px var(--pad-x) 24px;
        gap: 2px; font-size: 1.1rem; border-bottom: 1px solid var(--border); box-shadow: var(--sh-md); }
    .hoofdnav.open { display: flex; animation: nav-in .3s var(--vloei); }
    @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
    .hoofdnav a { padding: 14px; border-radius: var(--r-md); }
    .hoofdnav a::after { display: none; }
    .hoofdnav a.actief, .hoofdnav a:hover { background: var(--grape-100); }
}

/* ── Sectie-systeem ──────────────────────────────────────────── */
.sectie { max-width: var(--wrap); margin-inline: auto; padding: clamp(48px, 7vw, 92px) var(--pad-x); }
.sectie.smal { max-width: 780px; }
.sectie.strak-boven { padding-top: 0; }
.sectie h2 { font-size: var(--t-2xl); margin-bottom: .5em; }
.sectie-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px;
    flex-wrap: wrap; margin-bottom: clamp(26px, 4vw, 44px); }
.sectie-kop > div { max-width: 60ch; }
.sectie-kop h2 { margin-bottom: 10px; }
.sectie-kop p { color: var(--ink-soft); font-size: var(--t-lg); }
.sier { color: var(--coral-ink); font-style: normal; }
.alles-link { display: inline-flex; align-items: center; gap: 7px; flex: none;
    font-family: var(--font-display); font-weight: 600; font-size: var(--t-base); color: var(--grape);
    padding-bottom: 3px; border-bottom: 2.5px solid var(--sun); transition: gap .2s, color .2s; }
.alles-link:hover { gap: 12px; color: var(--grape-700); }
.centreer { text-align: center; }
.centreer .sectie-kop { flex-direction: column; align-items: center; text-align: center; }

/* ── Kruimelpad ──────────────────────────────────────────────── */
.kruimels { font-family: var(--font-display); font-weight: 500; font-size: var(--t-sm);
    color: var(--ink-faint); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.kruimels a { color: var(--ink-soft); }
.kruimels a:hover { color: var(--grape); }

/* ── Productkaart (GEDEELD: home, shop, gerelateerd) ─────────── */
.product-grid { display: grid; gap: clamp(16px, 2.2vw, 28px);
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.product-kaart { position: relative; display: flex; flex-direction: column;
    color: var(--ink); border-radius: var(--r-lg); }
.product-foto { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
    background:
        radial-gradient(120% 120% at 30% 18%, #fff 0%, transparent 55%),
        linear-gradient(160deg, var(--canvas-2), #E4ECF8);
    box-shadow: var(--sh-sm); transition: box-shadow .35s var(--vloei), transform .35s var(--veer); }
.product-kaart:hover .product-foto, .product-kaart:focus-visible .product-foto {
    box-shadow: var(--sh-md); transform: translateY(-4px); }
.product-foto img { width: 86%; height: 86%; object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(20, 32, 74,.16));
    transition: transform .5s var(--veer); }
.product-kaart:hover .product-foto img, .product-kaart:focus-visible .product-foto img {
    transform: scale(1.08) rotate(-3deg); }
.foto-placeholder { color: var(--grape); opacity: .35; }
.kaart-cta { position: absolute; left: 12px; right: 12px; bottom: 12px;
    background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600;
    font-size: .92rem; text-align: center; padding: 12px; border-radius: var(--r-md);
    opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--veer); }
.product-kaart:hover .kaart-cta, .product-kaart:focus-visible .kaart-cta { opacity: 1; transform: translateY(0); }
.sale-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--coral); color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: .78rem; padding: 6px 13px;
    border-radius: var(--r-pill); transform: rotate(-4deg); box-shadow: var(--sh-sm); }
.product-kaart h3 { font-size: 1.13rem; font-weight: 600; margin-bottom: 3px; }
.prijs { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--grape); }
.prijs s { color: var(--ink-faint); font-weight: 500; margin-right: 7px; }
.prijs.groot { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ink); margin: 6px 0 2px; }

/* ── Formulieren (GEDEELD: checkout, contact) ────────────────── */
.veld label, .form-label { display: block; font-family: var(--font-display); font-weight: 600;
    font-size: var(--t-sm); margin-bottom: 14px; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=search], input[type=password], textarea, select {
    display: block; width: 100%; margin-top: 7px; padding: 13px 15px;
    font-family: var(--font-body); font-size: var(--t-base); color: var(--ink);
    background: var(--surface); border: 2px solid var(--border-sterk); border-radius: var(--r-md);
    min-height: 50px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
select { cursor: pointer; }
input:focus, textarea:focus, select:focus {
    outline: none; border-color: var(--grape); box-shadow: 0 0 0 4px var(--grape-100); }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
.veld-rij { display: flex; gap: 16px; flex-wrap: wrap; }
.veld-rij > label, .veld-rij > .veld { flex: 1; min-width: 140px; }
.veld-fout input, .veld-fout textarea, .veld-fout select { border-color: var(--bad); background: var(--bad-bg); }
.veld-melding { display: block; color: var(--bad); font-family: var(--font-display); font-weight: 600;
    font-size: .8rem; margin-top: 5px; }
.verplicht { color: var(--coral-ink); }

/* Meldingen */
.melding { border-radius: var(--r-md); padding: 15px 19px; margin-bottom: 20px;
    font-family: var(--font-display); font-weight: 500; font-size: var(--t-sm);
    display: flex; gap: 10px; align-items: flex-start; }
.melding.ok  { background: var(--ok-bg); color: #15623a; }
.melding.fout { background: var(--bad-bg); color: #8e2114; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Lege staat ──────────────────────────────────────────────── */
.lege-staat { text-align: center; padding: clamp(48px, 9vw, 90px) 0; }
.lege-staat .lege-icoon { display: inline-flex; align-items: center; justify-content: center;
    width: 96px; height: 96px; border-radius: 50%; background: var(--grape-100); color: var(--grape);
    margin-bottom: 18px; }
.lege-staat p { color: var(--ink-soft); font-size: var(--t-lg); margin-bottom: 22px; }

/* ── Marquee-band (gedeeld hulpmiddel) ───────────────────────── */
.marquee { overflow: hidden; padding: 14px 0; position: relative; z-index: 3;
    margin-bottom: clamp(30px, 4.5vw, 54px);
    background: var(--sun); color: var(--ink);
    font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.marquee-baan { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-baan { animation-play-state: paused; }
.marquee span { padding: 0 6px; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span::after { content: '✶'; margin: 0 26px; color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #C9C2DC; margin-top: clamp(60px, 9vw, 110px);
    position: relative; overflow: hidden; }
.footer-kolommen { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 38px;
    max-width: var(--wrap); margin-inline: auto; padding: clamp(48px, 7vw, 76px) var(--pad-x) 40px; }
@media (max-width: 820px) { .footer-kolommen { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-kolommen { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.site-footer h3 em { color: var(--sun); font-style: normal; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-display); font-weight: 600;
    font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer p { color: #C9C2DC; }
.site-footer a { color: #C9C2DC; display: inline-block; margin-bottom: 9px; transition: color .2s, transform .2s; }
.site-footer a:hover { color: var(--sun); transform: translateX(4px); }
.site-footer .socials a { display: inline; margin: 0; }
.kvk { font-size: .78rem; opacity: .65; }
.footer-onder { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    max-width: var(--wrap); margin-inline: auto; padding: 18px var(--pad-x);
    border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-credit { color: #9A93AE; }
.footer-credit a { color: #C9C2DC; margin: 0; font-weight: 600; }
.footer-credit a:hover { color: var(--sun); transform: none; }

/* ── Cookiebanner ────────────────────────────────────────────── */
#cookie-banner { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200;
    background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 24px 28px;
    max-width: 640px; width: calc(100% - 28px); box-shadow: 0 22px 64px rgba(20, 32, 74, .5);
    display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap;
    animation: cookie-in .55s cubic-bezier(.2, .9, .3, 1) both; }
#cookie-banner[hidden] { display: none !important; }   /* anders overrulet display:flex het hidden-attribuut */
@keyframes cookie-in { from { opacity: 0; transform: translate(-50%, 28px); } to { opacity: 1; transform: translate(-50%, 0); } }
#cookie-banner .cookie-tekst { flex: 1 1 300px; }
#cookie-banner .cookie-tekst strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin-bottom: 5px; }
#cookie-banner .cookie-tekst p { margin: 0; font-family: var(--font-body); font-size: .95rem; line-height: 1.55; opacity: .9; }
#cookie-banner .cookie-tekst a { color: #fff; text-decoration: underline; }
#cookie-banner .cookie-knoppen { display: flex; gap: 12px; flex: 0 0 auto; }
#cookie-banner .btn { padding: 14px 28px; min-height: 50px; font-size: 1rem; font-weight: 700; }
#cookie-banner .btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, .55); color: #fff; }
#cookie-banner .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
@media (max-width: 560px) {
    #cookie-banner { padding: 20px 20px; }
    #cookie-banner .cookie-knoppen { flex: 1 1 100%; flex-direction: column-reverse; align-items: stretch; gap: 10px; }
    #cookie-banner .cookie-knoppen .btn { width: 100%; flex: none; }
    #cookie-banner .cookie-link { align-self: center; padding-top: 4px; }
}

/* Cookie: beheer-link, weiger-knop + voorkeuren-modal */
#cookie-banner .cookie-link { background: none; border: none; color: #fff; text-decoration: underline;
    font-family: var(--font-display); font-weight: 600; font-size: .9rem; cursor: pointer; padding: 8px 4px; align-self: center; }
#cookie-banner .cookie-link:hover { opacity: .8; }
#cookie-banner .cookie-accept { background: #F5B324; color: #14204A; border: none; box-shadow: 0 6px 18px rgba(245, 179, 36, .5); }
#cookie-banner .cookie-accept:hover { background: #ffc23d; }
#cookie-banner .cookie-weiger { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); font-weight: 600; }
#cookie-banner .cookie-weiger:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
#cookie-modal { position: fixed; inset: 0; z-index: 300; }
#cookie-modal[hidden] { display: none !important; }
.cookie-overlay { position: absolute; inset: 0; background: rgba(20, 32, 74, .55); }
.cookie-paneel { position: relative; max-width: 520px; margin: 7vh auto 0; background: #fff; color: var(--ink);
    border-radius: var(--r-lg); padding: 30px 32px; box-shadow: 0 30px 80px rgba(20, 32, 74, .4); max-height: 86vh; overflow-y: auto;
    animation: cookie-in .4s cubic-bezier(.2, .9, .3, 1) both; }
@media (prefers-reduced-motion: reduce) { .cookie-paneel { animation: none; } }
.cookie-x { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1;
    color: var(--ink-faint); cursor: pointer; padding: 4px 8px; }
.cookie-x:hover { color: var(--ink); }
.cookie-paneel h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0 0 8px; color: var(--ink); }
.cookie-paneel #cm-intro { margin: 0 0 6px; font-size: .9rem; color: var(--ink-soft); }
.cookie-rij { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 18px 0; border-top: 1px solid var(--border); }
.cookie-rij-tekst { flex: 1; }
.cookie-rij-tekst strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: .98rem; margin-bottom: 3px; }
.cookie-rij-tekst p { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }
.cookie-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 46px; height: 26px; margin: 0; cursor: pointer; }
.cookie-toggle input:disabled { cursor: default; }
.cookie-schuif { width: 46px; height: 26px; background: #c4cde0; border-radius: 999px; position: relative; transition: background .2s; flex: none; }
.cookie-schuif::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.cookie-toggle input:checked + .cookie-schuif { background: #182352; }
.cookie-toggle input:checked + .cookie-schuif::after { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-schuif { opacity: .5; }
.cookie-toggle input:focus-visible + .cookie-schuif { outline: 3px solid #182352; outline-offset: 2px; }
.cookie-toggle-tekst { font-size: .72rem; color: var(--ink-faint); font-weight: 600; }
.cookie-modal-knoppen { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.cookie-modal-knoppen .btn { min-height: 46px; }

/* ── Reveal-animaties (gelaagd via --vertraging) ─────────────── */
.reveal { opacity: 0; transform: translateY(28px);
    transition: opacity .7s var(--vloei), transform .7s var(--vloei);
    transition-delay: var(--vertraging, 0s); }
.reveal.zichtbaar { opacity: 1; transform: none; }

/* ── Reduced motion: alles tot rust ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Uitlegtekst onder het productraster op categoriepagina's */
.categorie-tekst { max-width: 68ch; margin: 56px auto 0; padding-top: 32px;
    border-top: 1px solid var(--border); color: var(--ink-soft); }
.categorie-tekst h2 { font-family: var(--font-display); font-size: clamp(19px, 2.3vw, 25px);
    line-height: 1.25; color: var(--ink); margin: 28px 0 10px; }
.categorie-tekst h2:first-child { margin-top: 0; }
.categorie-tekst p { margin: 0 0 14px; line-height: 1.75; }
.categorie-tekst ul { margin: 0 0 16px; padding-left: 20px; }
.categorie-tekst li { margin-bottom: 7px; line-height: 1.65; }
.categorie-tekst strong { color: var(--ink); font-weight: 600; }
