/* ==========================================================================
   Campus ZILT — design system (warm editorial · "Claude Design"-merge)
   Fraunces-serif koppen + Hanken Grotesk + zilt-zeebodem-palet.
   Alle class-namen behouden; alleen de look gewijzigd.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,400..600&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Kleur — zilte zeebodem, warm */
  --ink:        #15202b;   /* diep navy */
  --ink-2:      #273543;
  --sea:        #0f3a30;   /* deep green section */
  --paper:      #f5efe5;   /* warm papier */
  --paper-2:    #fbf7f0;   /* card / wit */
  --mist:       #ece3d4;
  --zilt:       #1aa98a;   /* zout-groen */
  --zilt-bright:#3fd0b0;   /* glow */
  --zilt-deep:  #0f7a63;
  --zand:       #c69a6d;   /* klei/zand accent */
  --zand-deep:  #9c6f44;
  --sky-1:      #f7d9b0;   /* zon-gradient */
  --sky-2:      #e9c7c0;
  --sky-3:      #bcd6cf;
  --line:       rgba(245,239,229,.16);
  --line-dark:  rgba(21,32,43,.12);
  --txt-dark:   #15202b;
  --txt-mut:    #5a6b78;
  --txt-light:  rgba(245,239,229,.94);
  --txt-light-mut: #b9c4cd;

  /* Type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tracking-tight: -0.015em;
  --tracking-tighter: -0.025em;

  /* Ruimte */
  --pad-x: clamp(20px, 6vw, 120px);
  --section-y: clamp(72px, 12vh, 150px);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;

  --ease: cubic-bezier(.16, .84, .44, 1);
  --shadow: 0 30px 70px -34px rgba(21,32,43,.42);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--txt-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video, canvas, svg { max-width: 100%; }
img, video, canvas { display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--zilt); color: #fff; }

/* ---------- Typografie (Fraunces serif koppen) ---------- */
.display {
  font-family: var(--serif); font-weight: 380; font-optical-sizing: auto;
  letter-spacing: var(--tracking-tighter); line-height: 1.0;
  font-size: clamp(2.8rem, 7vw, 5.4rem); margin: 0;
}
.h1 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: var(--tracking-tight); line-height: 1.04; font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 0; }
.h2 { font-family: var(--serif); font-weight: 430; font-optical-sizing: auto; letter-spacing: var(--tracking-tight); line-height: 1.08; font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin: 0; }
.h3 { font-family: var(--serif); font-weight: 500; letter-spacing: var(--tracking-tight); font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 430; color: var(--zilt-deep); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--zilt-deep); margin: 0 0 18px; font-family: var(--sans); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--zilt); flex: 0 0 auto; }
.eyebrow.no-rule::before { display: none; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--txt-mut); max-width: 56ch; font-family: var(--sans); }
.fine { font-size: .86rem; color: var(--txt-mut); line-height: 1.55; font-family: var(--sans); }
.balance { text-wrap: balance; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(48px, 8vh, 90px); position: relative; }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } .cols-3.keep-2, .cols-4.keep-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Thema's ---------- */
.dark  { background: var(--ink);  color: var(--txt-light); }
.dark .lead, .dark .fine { color: var(--txt-light-mut); }
.dark .eyebrow { color: var(--zilt-bright); }
.dark .serif-i { color: var(--zilt-bright); }
.sea   { background: var(--sea);  color: var(--txt-light); }
.sea .lead, .sea .fine { color: rgba(245,239,229,.78); }
.sea .eyebrow { color: var(--zilt-bright); }
.light { background: var(--paper); color: var(--txt-dark); }
.white { background: var(--paper-2); color: var(--txt-dark); }

/* warme zon-gradient als optionele sectie-achtergrond */
.sky-bg { position: relative; overflow: hidden; }
.sky-bg::before { content:""; position:absolute; inset:0 0 auto 0; height: 62%; z-index:0;
  background: linear-gradient(170deg, var(--sky-1) 0%, var(--sky-2) 38%, var(--sky-3) 70%, var(--paper) 100%); }
.sky-bg > * { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled { background: rgba(245,239,229,.82); backdrop-filter: saturate(150%) blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.nav.scrolled.on-dark { background: rgba(21,32,43,.62); box-shadow: 0 1px 0 var(--line); }
.nav__brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 500; letter-spacing: .02em; font-size: 1.3rem; }
.nav__brand .crest { width: 28px; height: 32px; flex: 0 0 auto; }
.nav__brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--zilt); } /* legacy fallback */
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__links a { font-size: .95rem; font-weight: 500; opacity: .9; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--zilt-deep); }
.on-dark .nav__links a:hover { color: var(--zilt-bright); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; font-size: 1.4rem; color: inherit; }
@media (max-width: 860px){
  /* width/height expliciet: backdrop-filter op .nav.scrolled maakt de nav het
     containing block voor dit fixed element, waardoor inset:0 anders tegen de
     navbalk (±61px) resolvet en de menu-links over de pagina bleeden. */
  .nav__links { position: fixed; inset: 0; width: 100vw; height: 100svh; flex-direction: column; justify-content: center; gap: 26px; background: var(--ink); color: #fff; transform: translateY(-100%); transition: transform .5s var(--ease); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { font-size: 1.4rem; opacity: 1; }
  .nav__burger { display: block; z-index: 101; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font-family: var(--sans); font-size: .98rem; font-weight: 600; padding: 13px 26px; border-radius: 999px; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s; letter-spacing: -0.005em; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--zilt); color: #fff; }
.btn--primary:hover { background: var(--zilt-deep); transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(15,122,99,.55); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--zilt); color: var(--zilt-deep); }
.on-dark .btn--ghost:hover, .dark .btn--ghost:hover, .sea .btn--ghost:hover { color: var(--zilt-bright); box-shadow: inset 0 0 0 1.5px var(--zilt-bright); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card { background: var(--paper-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: inset 0 0 0 1px var(--line-dark), var(--shadow); }
.card--flat { box-shadow: inset 0 0 0 1px var(--line-dark); }
.card.dark { background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.card .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(26,169,138,.14); color: var(--zilt-deep); margin-bottom: 18px; }

/* ---------- Media ---------- */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); border: 1px solid var(--line-dark); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 3/4; }
.media--wide { aspect-ratio: 16/9; }
.media--full { aspect-ratio: 21/9; }
.media__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; background: linear-gradient(to top, rgba(21,32,43,.8), transparent); color: #fff; font-family: var(--sans); }

/* Full-bleed hero met beeld */
.bleed { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.bleed__bg { position: absolute; inset: 0; z-index: 0; }
.bleed__bg img { width: 100%; height: 100%; object-fit: cover; }
.bleed__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(175deg, rgba(21,32,43,.30) 0%, rgba(21,32,43,.20) 38%, rgba(21,32,43,.72) 100%); }
.bleed__inner { position: relative; z-index: 1; color: #fff; }
.bleed .eyebrow { color: var(--zilt-bright); }

/* ---------- Pricing "deal" strip ---------- */
.deal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.deal > div { background: var(--ink-2); padding: 26px clamp(18px,2.4vw,30px); }
.deal .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--txt-light-mut); margin-bottom: 8px; }
.deal .amt { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: var(--tracking-tight); color: #fff; }
.deal .amt small { font-size: .9rem; font-weight: 500; color: var(--txt-light-mut); font-family: var(--sans); }
.deal .hl { background: var(--zilt); }
.deal .hl .lbl { color: rgba(255,255,255,.85); }
.deal .hl .amt, .deal .hl .amt small { color: #fff; }
.light .deal > div { background: var(--paper-2); }
.light .deal .lbl { color: var(--txt-mut); }
.light .deal .amt { color: var(--ink); }
.light .deal .amt small { color: var(--txt-mut); }
@media (max-width: 720px){ .deal { grid-template-columns: 1fr; } }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(26,169,138,.14); color: var(--zilt-deep); font-family: var(--sans); }
.dark .badge, .sea .badge { background: rgba(63,208,176,.16); color: var(--zilt-bright); }
.badge--solid { background: var(--zilt); color: #fff; }
.badge--zand { background: rgba(198,154,109,.22); color: var(--zand-deep); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Stat ---------- */
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 380; letter-spacing: var(--tracking-tighter); line-height: 1; }
.stat .cap { color: var(--txt-mut); margin-top: 8px; font-family: var(--sans); }
.dark .stat .cap, .sea .stat .cap { color: var(--txt-light-mut); }
.dark .stat .num, .sea .stat .num { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--txt-light-mut); padding: clamp(48px,8vh,88px) 0 40px; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .9rem; letter-spacing: .04em; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer__bar { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
.footer .nav__brand { color: #fff; }

/* ---------- Sticky inschrijf-CTA ---------- */
.sticky-cta { position: fixed; right: 20px; bottom: 20px; z-index: 90; box-shadow: 0 18px 40px -14px rgba(15,122,99,.55); }
@media (max-width: 600px){ .sticky-cta { left: 16px; right: 16px; justify-content: center; } }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 18px; }
.field label { display: block; font-family: var(--sans); font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line-dark); background: #fff; color: var(--txt-dark); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--zilt); box-shadow: 0 0 0 4px rgba(26,169,138,.16); }
.range { width: 100%; accent-color: var(--zilt); }

/* ---------- Accordion (FAQ) ---------- */
.acc { border-bottom: 1px solid var(--line-dark); }
.acc__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; color: inherit; padding: 22px 40px 22px 0; position: relative; }
.acc__q::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; transition: transform .3s var(--ease); color: var(--zilt); }
.acc.open .acc__q::after { transform: translateY(-50%) rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__a > div { padding-bottom: 22px; color: var(--txt-mut); max-width: 70ch; font-family: var(--sans); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-s{margin-top:12px}.mt-m{margin-top:24px}.mt-l{margin-top:40px}.mt-xl{margin-top:64px}
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.row--center { justify-content: center; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hide-mob { } @media (max-width:860px){ .hide-mob{ display:none } }
.divider { height: 1px; background: var(--line-dark); border: 0; margin: 0; }
.dark .divider, .sea .divider { background: var(--line); }
.tag { font-size:.78rem; font-weight:600; letter-spacing:.04em; color:var(--txt-mut); font-family: var(--sans); }

/* Skip-link a11y */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 10px; }

/* ==========================================================================
   PREMIUM-LAAG (v4) — typografie- & motion-polish
   Niets hierboven wijzigt; alleen toevoegen/verfijnen. Geen nieuwe kleuren.
   ========================================================================== */

/* ---------- Cijfer-typografie: rustige, uitgelijnde getallen ---------- */
/* tabular + lining nums op alles wat een bedrag/cijfer toont, zodat kolommen
   en tellers niet "dansen". */
.stat .num,
.deal .amt,
.figure,
.tabnum,
[data-count] .num,
[data-count] {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
/* losse helper voor inline-bedragen in lopende tekst */
.tabnum { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Micro-typografie op Fraunces-koppen ---------- */
/* optische tracking + ligaturen + contextuele alternates voor een echtere
   serif-textuur op de grote koppen. */
.display, .h1, .h2, .h3, .serif-i, .acc__q, .deal .amt, .stat .num {
  font-feature-settings: "liga" 1, "calt" 1, "kern" 1;
  font-kerning: normal;
}
.display, .h1 {
  text-wrap: balance;
  hanging-punctuation: first last;        /* hangende interpunctie waar de UA het steunt */
}
/* iets strakker optisch ritme op de allergrootste koppen */
.display { letter-spacing: -0.028em; word-spacing: -0.01em; }

/* subtielere lead-leading-variant voor intro's onder een grote kop */
.lead-leading { line-height: 1.7; letter-spacing: 0.002em; max-width: 60ch; }

/* ---------- Schaal-drama ---------- */
/* extra-grote display-variant voor een enkel hero-statement */
.display--xl {
  font-size: clamp(3.4rem, 10vw, 7.4rem);
  line-height: .96;
  letter-spacing: -0.032em;
}
/* hero-statistiek: één groot Fraunces-cijfer dat de sectie draagt */
.figure {
  font-family: var(--serif);
  font-weight: 360;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: .9;
  font-size: clamp(3.6rem, 11vw, 8rem);
  margin: 0;
  display: block;
}
.figure small,
.figure .figure__unit {
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: 0;
  color: var(--txt-mut);
  margin-left: .12em;
}
.dark .figure small, .dark .figure .figure__unit,
.sea .figure small,  .sea .figure .figure__unit { color: var(--txt-light-mut); }
.dark .figure, .sea .figure { color: #fff; }
.figure__cap { color: var(--txt-mut); margin-top: 10px; font-family: var(--sans); max-width: 30ch; }
.dark .figure__cap, .sea .figure__cap { color: var(--txt-light-mut); }

/* ---------- Editorial beeld-momenten ---------- */
/* groot beeld naast een serif-quote — asymmetrisch, redactioneel */
.editorial-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.editorial-split--flip { grid-template-columns: .85fr 1.15fr; }
.editorial-split--flip > .editorial-split__media { order: 2; }
@media (max-width: 860px){
  .editorial-split, .editorial-split--flip { grid-template-columns: 1fr; }
  .editorial-split--flip > .editorial-split__media { order: 0; }
}

/* serif-quote met groot aanhalingsteken dat in de marge "bloedt" */
.bleed-quote {
  font-family: var(--serif);
  font-weight: 360;
  font-optical-sizing: auto;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
  position: relative;
  margin: 0;
}
.bleed-quote::before {
  content: "\201C";
  position: absolute;
  left: -.62em; top: -.28em;
  font-size: 2.6em;
  line-height: 1;
  color: var(--zilt);
  opacity: .5;
  pointer-events: none;
}
.dark .bleed-quote::before, .sea .bleed-quote::before { color: var(--zilt-bright); }
.bleed-quote__cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--zilt-deep);
}
.dark .bleed-quote__cite, .sea .bleed-quote__cite { color: var(--zilt-bright); }
@media (max-width: 860px){ .bleed-quote::before { left: -.1em; } }

/* ---------- Marquee / lopende strip (CSS-only) ---------- */
/* horizontale woorden-/voorzieningen-strip die rustig schuift. Dupliceer de
   inhoud in de HTML (2× dezelfde .marquee__group) voor een naadloze loop. */
.marquee {
  display: flex;
  overflow: hidden;
  gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  user-select: none;
}
.marquee__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-right: clamp(28px, 5vw, 64px);
  white-space: nowrap;
  animation: zilt-marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__group { animation-play-state: paused; }
.marquee--rev .marquee__group { animation-direction: reverse; }
.marquee--slow .marquee__group { animation-duration: 60s; }
.marquee__item {
  font-family: var(--serif);
  font-weight: 380;
  font-optical-sizing: auto;
  letter-spacing: var(--tracking-tight);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  color: inherit;
}
/* scheidings-bolletje tussen marquee-woorden, in palet-groen */
.marquee__item::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--zilt);
  flex: 0 0 auto;
  opacity: .85;
}
.dark .marquee__item::after, .sea .marquee__item::after { background: var(--zilt-bright); }
@keyframes zilt-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Motion: rijkere reveal met stagger ---------- */
/* [data-d="1..6"] geeft een trapsgewijze vertraging; werkt CSS-only zodra
   .reveal de .in-class krijgt (bestaande IntersectionObserver). */
.reveal[data-d] { transition-delay: 0s; }
.reveal[data-d].in { }
.reveal[data-d="1"].in { transition-delay: .08s; }
.reveal[data-d="2"].in { transition-delay: .16s; }
.reveal[data-d="3"].in { transition-delay: .24s; }
.reveal[data-d="4"].in { transition-delay: .32s; }
.reveal[data-d="5"].in { transition-delay: .40s; }
.reveal[data-d="6"].in { transition-delay: .48s; }

/* reveal-varianten: richting van binnenkomst */
.reveal--left  { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--scale { transform: scale(.96); }
.reveal--blur  { filter: blur(8px); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }
.reveal--blur.in { filter: none; }

/* automatische stagger voor directe kinderen van een container */
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(1) { transition-delay: .04s; }
.reveal-group.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-group.in > *:nth-child(3) { transition-delay: .20s; }
.reveal-group.in > *:nth-child(4) { transition-delay: .28s; }
.reveal-group.in > *:nth-child(5) { transition-delay: .36s; }
.reveal-group.in > *:nth-child(6) { transition-delay: .44s; }

/* ---------- Parallax-hook (vereist géén JS; werkt met scroll-driven UA's,
   degradeert naar statisch elders) ---------- */
.parallax {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.parallax-img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  /* JS kan --py zetten (px-offset); zonder JS blijft het netjes statisch */
  transform: translate3d(0, calc(var(--py, 0) * 1px), 0);
  will-change: transform;
}

/* ---------- Sticky / scrub-vriendelijke sectie ---------- */
/* een sectie waarin een kolom blijft "plakken" terwijl de andere scrollt —
   ideaal voor een groot beeld naast een lijst die langs schuift. */
.scrub { position: relative; }
.scrub__sticky {
  position: sticky;
  top: clamp(70px, 12vh, 120px);
  align-self: start;
}
@media (max-width: 860px){
  .scrub__sticky { position: static; top: auto; }
}

/* ---------- prefers-reduced-motion: alles tot rust ---------- */
@media (prefers-reduced-motion: reduce){
  .marquee__group { animation: none; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .reveal[data-d].in,
  .reveal[data-d="1"].in, .reveal[data-d="2"].in, .reveal[data-d="3"].in,
  .reveal[data-d="4"].in, .reveal[data-d="5"].in, .reveal[data-d="6"].in { transition-delay: 0s; }
  .reveal--left, .reveal--right, .reveal--scale { transform: none; }
  .reveal--blur { filter: none; }
  .reveal-group > * { opacity: 1; transform: none; transition: none; }
  .reveal-group.in > * { transition-delay: 0s; }
  .parallax-img { transform: none; height: 100%; }
  .scrub__sticky { position: static; top: auto; }
}
