/* Interactie- en animatie-CSS. Bewust buiten Tailwind gehouden. */

:root { --blue: #1B5CFF; }

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s }
[data-reveal-delay="2"] { transition-delay: .16s }
[data-reveal-delay="3"] { transition-delay: .24s }
[data-reveal-delay="4"] { transition-delay: .32s }

/* ---------- Callouts en donkere vlakken ----------
   Radial flame-gloed rechtsonder — geeft de zwarte blokken optische
   diepte in plaats van dat ze plat op de kaart plakken. */
.callout-ink {
  background:
    radial-gradient(140% 110% at 100% 100%, rgba(255,138,77,.28) 0%, rgba(11,13,16,0) 55%),
    #0B0D10;
}
.callout-ink-soft {
  background:
    radial-gradient(120% 100% at 100% 100%, rgba(255,138,77,.18) 0%, rgba(11,13,16,0) 55%),
    #0B0D10;
}

/* ---------- Rekensom-tabel ---------- */
.calc-row td { transition: background-color .4s ease; }
.calc-after {
  opacity: 0; transform: translateX(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.is-in .calc-after { opacity: 1; transform: none; }
.calc-after-1 { transition-delay: .10s }
.calc-after-2 { transition-delay: .20s }
.calc-after-3 { transition-delay: .30s }
.calc-after-4 { transition-delay: .40s }
.calc-after-5 { transition-delay: .52s }

/* ---------- Tijdlijn ---------- */
.tl-track { position: relative; }
.tl-track::before {
  content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 2px;
  background: currentColor; opacity: .18;
}
.tl-fill {
  position: absolute; left: 0; top: 13px; height: 2px; width: 0;
  background: var(--blue); transition: width 1.4s cubic-bezier(.3,.8,.3,1);
}
.is-in .tl-fill { width: 100%; }
.tl-dot { transition: transform .4s ease, background-color .4s ease; }
.is-in .tl-dot { transform: scale(1); }

/* ---------- Stap-accenten ---------- */
.step-num {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, rgba(27,92,255,.22), rgba(27,92,255,0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Zwevende objecten ---------- */
.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: float 11s ease-in-out infinite; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-14px) rotate(-1.5deg); }
}

/* ---------- Accordeon ---------- */
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-body > div { overflow: hidden; }
details[open] .acc-body { grid-template-rows: 1fr; }
details summary::-webkit-details-marker { display: none; }
.acc-icon { transition: transform .3s ease; }
details[open] > summary .acc-icon { transform: rotate(45deg); }

/* ---------- Sticky balk ---------- */
#stickybar {
  transform: translateY(140%); opacity: 0;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), opacity .3s ease;
}
#stickybar.is-shown { transform: none; opacity: 1; }
/* De balk zweeft over de pagina; zonder deze ruimte valt de laatste regel eronder. */
body { padding-bottom: 5.5rem; }
@media (min-width: 768px) { body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .calc-after { opacity: 1; transform: none; }
  .tl-fill { width: 100%; }
}

/* ================= Mascotte =================
   LET OP: de groepen in de SVG dragen al een transform-attribuut dat ze positioneert.
   Een CSS `transform` VERVANGT dat attribuut, waardoor het figuur uit beeld springt.
   Daarom animeren we hier uitsluitend de losse eigenschappen `translate` / `scale`;
   die worden bovenop het bestaande attribuut toegepast. Niet terugzetten naar transform. */

.mascotte svg { display: block; width: 100%; height: auto; }

/* Op smalle schermen nemen de scenes te veel hoogte; ze zijn illustratief,
   niet dragend. Iets kleiner scheelt ruim een schermhoogte over de pagina. */
@media (max-width: 640px) {
  .mascotte { max-width: 20rem; margin-left: auto; margin-right: auto; }
}


/* Lijf zweeft, schaduw blijft liggen en krimpt licht mee. */
.mascotte #mascotte   { animation: m-zweef 6s ease-in-out infinite; }
.mascotte #mascotte-b { animation: m-zweef 6s ease-in-out infinite .8s; }
.mascotte #schaduw,
.mascotte #schaduw-b {
  animation: m-schaduw 6s ease-in-out infinite;
  transform-box: fill-box; transform-origin: center;
}
@keyframes m-zweef   { 0%,100% { translate: 0 0 }  50% { translate: 0 -14px } }
@keyframes m-schaduw { 0%,100% { scale: 1;   opacity: 1 }
                       50%     { scale: .93; opacity: .82 } }

/* Knipperen, links en rechts net uit de pas. */
.mascotte #oog-links, .mascotte #oog-rechts,
.mascotte #oog-links-b, .mascotte #oog-rechts-b {
  transform-box: fill-box; transform-origin: center;
  animation: m-knipper 7s infinite;
}
.mascotte #oog-rechts   { animation-delay: .06s }
.mascotte #oog-links-b  { animation-delay: 3.1s }
.mascotte #oog-rechts-b { animation-delay: 3.16s }
@keyframes m-knipper { 0%, 92%, 100% { scale: 1 1 }  95% { scale: 1 .08 } }

/* Scène 1: trager knipperen, hij is moe. */
.mascotte-1 #oog-links, .mascotte-1 #oog-rechts { animation-duration: 11s }

/* Scène 2: de gloed ademt. */
.mascotte-2 #gloed {
  transform-box: fill-box; transform-origin: center;
  animation: m-gloed 4.5s ease-in-out infinite;
}
@keyframes m-gloed { 0%,100% { opacity: .55; scale: .95 } 50% { opacity: 1; scale: 1.06 } }

/* Scène 3: de regels op het bord verschijnen één voor één. */
.mascotte-3 [id^="regel-"] { opacity: 0; translate: -8px 0; }
.is-in .mascotte-3 [id^="regel-"] { animation: m-regel .5s cubic-bezier(.2,.7,.3,1) forwards; }
.is-in .mascotte-3 #regel-1 { animation-delay: .25s }
.is-in .mascotte-3 #regel-2 { animation-delay: .45s }
.is-in .mascotte-3 #regel-3 { animation-delay: .65s }
.is-in .mascotte-3 #regel-4 { animation-delay: .85s }
@keyframes m-regel { to { opacity: 1; translate: 0 0 } }

/* Scène 4: de geluidsboogjes gaan om de beurt naar buiten. */
.mascotte-4 [id^="geluid-"] {
  transform-box: fill-box; transform-origin: bottom right;
  animation: m-geluid 1.8s ease-out infinite;
}
.mascotte-4 #geluid-1 { animation-delay: 0s }
.mascotte-4 #geluid-2 { animation-delay: .18s }
.mascotte-4 #geluid-3 { animation-delay: .36s }
@keyframes m-geluid {
  0%   { opacity: 0; scale: .82 }
  35%  { opacity: 1; scale: 1 }
  100% { opacity: 0; scale: 1.12 }
}

/* Scène 8: telefoons komen na elkaar, daarna pulseert de rand om de winnaar. */
.mascotte-8 [id^="telefoon-"] { opacity: 0 }
.is-in .mascotte-8 [id^="telefoon-"] { animation: m-fadein .5s ease forwards }
.is-in .mascotte-8 #telefoon-1 { animation-delay: .2s }
.is-in .mascotte-8 #telefoon-3 { animation-delay: .35s }
.is-in .mascotte-8 #telefoon-2 { animation-delay: .5s }
@keyframes m-fadein { to { opacity: 1 } }
.mascotte-8 #winnaar-rand { animation: m-winnaar 2.6s ease-in-out infinite 1s }
@keyframes m-winnaar { 0%,100% { opacity: .5 } 50% { opacity: 1 } }


/* Scène 5: gereedschap zweeft aan, klokwijzer draait, agendavakje licht op. */
.mascotte-5 #prop-klok, .mascotte-5 #prop-script,
.mascotte-5 #prop-agenda, .mascotte-5 #prop-envelop { opacity: 0 }
.is-in .mascotte-5 #prop-klok,
.is-in .mascotte-5 #prop-script,
.is-in .mascotte-5 #prop-agenda,
.is-in .mascotte-5 #prop-envelop { animation: m-zweefin .6s cubic-bezier(.2,.8,.3,1) forwards }
.is-in .mascotte-5 #prop-klok    { animation-delay: .25s }
.is-in .mascotte-5 #prop-script  { animation-delay: .40s }
.is-in .mascotte-5 #prop-agenda  { animation-delay: .55s }
.is-in .mascotte-5 #prop-envelop { animation-delay: .70s }
@keyframes m-zweefin { from { opacity: 0; translate: 26px 12px } to { opacity: 1; translate: 0 0 } }

.mascotte-5 #klok-wijzer {
  transform-box: fill-box; transform-origin: center;
  animation: m-wijzer 9s linear infinite 1.4s;
}
@keyframes m-wijzer { to { rotate: 360deg } }

.mascotte-5 #agenda-slot { animation: m-slot 3.4s ease-in-out infinite 1.6s }
@keyframes m-slot { 0%,100% { opacity: 1 } 50% { opacity: .45 } }

.mascotte-5 #prop-bubbel {
  transform-box: fill-box; transform-origin: bottom center;
  animation: m-bubbel 4.5s ease-in-out infinite 1s;
}
@keyframes m-bubbel { 0%,100% { opacity: .85; scale: .97 } 50% { opacity: 1; scale: 1.03 } }

/* Scène 6: drie vinkjes komen na elkaar, het vierde vak blijft bewust leeg. */
.mascotte-6 [id^="vink-"] { opacity: 0 }
.is-in .mascotte-6 [id^="vink-"] {
  transform-box: fill-box; transform-origin: center;
  animation: m-vink .45s cubic-bezier(.2,1.5,.4,1) forwards;
}
.is-in .mascotte-6 #vink-1 { animation-delay: .35s }
.is-in .mascotte-6 #vink-2 { animation-delay: .60s }
.is-in .mascotte-6 #vink-3 { animation-delay: .85s }
@keyframes m-vink { from { opacity: 0; scale: .4 } to { opacity: 1; scale: 1 } }

/* Scène 7: blokjes vliegen het paneel in, dan licht de gloed op. */
.mascotte-7 [id^="blok-"], .mascotte-7 #prijsregel { opacity: 0 }
.is-in .mascotte-7 [id^="blok-"],
.is-in .mascotte-7 #prijsregel { animation: m-blokin .5s cubic-bezier(.2,.8,.3,1) forwards }
.is-in .mascotte-7 #blok-1 { animation-delay: .30s }
.is-in .mascotte-7 #blok-2 { animation-delay: .42s }
.is-in .mascotte-7 #blok-3 { animation-delay: .54s }
.is-in .mascotte-7 #blok-4 { animation-delay: .66s }
.is-in .mascotte-7 #prijsregel { animation-delay: .84s }
@keyframes m-blokin { from { opacity: 0; translate: 34px 0 } to { opacity: 1; translate: 0 0 } }

.mascotte-7 #paneel-gloed { opacity: 0 }
.is-in .mascotte-7 #paneel-gloed { animation: m-gloedop 1.6s ease-out 1s forwards }
@keyframes m-gloedop { 0% { opacity: 0 } 40% { opacity: .9 } 100% { opacity: .35 } }

.mascotte-7 #prop-paneel, .mascotte-7 [id^="blok-"], .mascotte-7 #prijsregel,
.mascotte-7 #paneel-gloed { /* paneel zweeft als geheel via de props-groep */ }
.mascotte-7 #props { animation: m-zweef 7s ease-in-out infinite .5s }
.mascotte-7 #paneel-schaduw { animation: m-schaduw 7s ease-in-out infinite .5s;
  transform-box: fill-box; transform-origin: center; }

/* Merkteken in de sticky balk. */
.merkteken svg { display: block; width: 100%; height: auto }
.merkteken #oog-links, .merkteken #oog-rechts {
  transform-box: fill-box; transform-origin: center;
}
#stickybar:hover .merkteken #oog-links,
#stickybar:hover .merkteken #oog-rechts { animation: m-knipper-kort .5s }
@keyframes m-knipper-kort { 50% { scale: 1 .08 } }

@media (prefers-reduced-motion: reduce) {
  .mascotte *, .merkteken * { animation: none !important }
  .mascotte-3 [id^="regel-"], .mascotte-8 [id^="telefoon-"],
  .mascotte-5 #prop-klok, .mascotte-5 #prop-script,
  .mascotte-5 #prop-agenda, .mascotte-5 #prop-envelop,
  .mascotte-6 [id^="vink-"], .mascotte-7 [id^="blok-"],
  .mascotte-7 #prijsregel, .mascotte-7 #paneel-gloed { opacity: 1 !important; translate: none !important }
}

/* ========== Ronde 4: nieuwe scènes ==========
   Zelfde regel als hierboven: uitsluitend `translate` / `scale` / `rotate`,
   nooit `transform` — de groepen dragen al een transform-attribuut. */

/* --- Hero-weegschaal: zwaait uit en komt in evenwicht ---
   Het argument is "netto nul", dus hij mag niet scheef blijven hangen.
   Hij slaat door, wiegt terug en eindigt waterpas. */
.is-in .mascotte-weegschaal #schaal-links  { animation: m-weeg-l 2.8s cubic-bezier(.36,.9,.4,1) .45s both; }
.is-in .mascotte-weegschaal #schaal-rechts { animation: m-weeg-r 2.8s cubic-bezier(.36,.9,.4,1) .45s both; }
@keyframes m-weeg-l { 0% { translate: 0 0 } 28% { translate: 0 -42px } 60% { translate: 0 24px } 82% { translate: 0 -9px } 100% { translate: 0 0 } }
@keyframes m-weeg-r { 0% { translate: 0 0 } 28% { translate: 0 42px }  60% { translate: 0 -24px } 82% { translate: 0 9px }  100% { translate: 0 0 } }

/* --- Opnamedag: lampje knippert, clips zweven weg --- */
.mascotte-opnamedag #opnamelampje { animation: m-lampje 1.6s steps(1) infinite; }
@keyframes m-lampje { 0%,55% { opacity: 1 } 56%,100% { opacity: .15 } }

.mascotte-opnamedag [id^="clip-"] { opacity: 0; }
.is-in .mascotte-opnamedag [id^="clip-"] { animation: m-clip 3.6s ease-out infinite; }
.is-in .mascotte-opnamedag #clip-1 { animation-delay: .2s }
.is-in .mascotte-opnamedag #clip-2 { animation-delay: 1.4s }
.is-in .mascotte-opnamedag #clip-3 { animation-delay: 2.6s }
@keyframes m-clip {
  0%   { opacity: 0; translate: -30px 26px; scale: .8 }
  25%  { opacity: 1; translate: 0 0; scale: 1 }
  70%  { opacity: 1; translate: 14px -12px; scale: 1 }
  100% { opacity: 0; translate: 34px -30px; scale: .94 }
}

/* --- Rekensom: regels verschijnen, resultaat klapt op --- */
.mascotte-rekensom #regel-1, .mascotte-rekensom #regel-2,
.mascotte-rekensom #regel-3, .mascotte-rekensom #resultaat { opacity: 0; }
.is-in .mascotte-rekensom #regel-1,
.is-in .mascotte-rekensom #regel-2,
.is-in .mascotte-rekensom #regel-3 { animation: m-regelin .45s ease forwards; }
.is-in .mascotte-rekensom #regel-1 { animation-delay: .30s }
.is-in .mascotte-rekensom #regel-2 { animation-delay: .48s }
.is-in .mascotte-rekensom #regel-3 { animation-delay: .66s }
@keyframes m-regelin { from { opacity: 0; translate: 18px 0 } to { opacity: 1; translate: 0 0 } }

.is-in .mascotte-rekensom #resultaat {
  transform-box: fill-box; transform-origin: center;
  animation: m-resultaat .55s cubic-bezier(.2,1.5,.4,1) .95s forwards;
}
@keyframes m-resultaat { from { opacity: 0; scale: .82 } to { opacity: 1; scale: 1 } }

.mascotte-rekensom #prop-blad, .mascotte-rekensom [id^="regel-"],
.mascotte-rekensom #resultaat { /* het blad zweeft als geheel via props */ }
.mascotte-rekensom #props { animation: m-zweef 7s ease-in-out infinite .4s; }
.mascotte-rekensom #blad-schaduw { animation: m-schaduw 7s ease-in-out infinite .4s;
  transform-box: fill-box; transform-origin: center; }

/* --- Agenda: vijf afspraken ploppen één voor één --- */
.mascotte-agenda [id^="slot-"] { opacity: 0; }
.is-in .mascotte-agenda [id^="slot-"] {
  transform-box: fill-box; transform-origin: center;
  animation: m-slotin .4s cubic-bezier(.2,1.5,.4,1) forwards;
}
.is-in .mascotte-agenda #slot-1 { animation-delay: .35s }
.is-in .mascotte-agenda #slot-2 { animation-delay: .60s }
.is-in .mascotte-agenda #slot-3 { animation-delay: .85s }
.is-in .mascotte-agenda #slot-4 { animation-delay: 1.10s }
.is-in .mascotte-agenda #slot-5 { animation-delay: 1.35s }
@keyframes m-slotin { from { opacity: 0; scale: .5 } to { opacity: 1; scale: 1 } }
.mascotte-agenda #props { animation: m-zweef 7.5s ease-in-out infinite .6s; }
.mascotte-agenda #agenda-schaduw { animation: m-schaduw 7.5s ease-in-out infinite .6s;
  transform-box: fill-box; transform-origin: center; }

/* --- De omslag: slap wordt sterk ---
   Het bestand komt in vol blauw binnen; we starten ontzadigd zodat hij
   begint als de tweeling van scène 1, en laden hem daarna op. */
.mascotte-omslag svg { filter: saturate(.42); }
.is-in .mascotte-omslag svg { animation: m-oplaad 1.2s ease .45s forwards; }
@keyframes m-oplaad { to { filter: saturate(1) } }

.mascotte-omslag #mascotte { rotate: 5deg; }
.is-in .mascotte-omslag #mascotte { animation: m-oprichten .9s cubic-bezier(.3,1.2,.4,1) .45s forwards,
                                                m-zweef 6s ease-in-out infinite; }
@keyframes m-oprichten { to { rotate: 0deg } }

.mascotte-omslag [id$="-sterk"], .mascotte-omslag #gloed, .mascotte-omslag #prop-geld { opacity: 0; }
.is-in .mascotte-omslag [id$="-sterk"] { animation: m-fadein .5s ease .55s forwards; }
.is-in .mascotte-omslag [id$="-slap"],
.is-in .mascotte-omslag #prop-munt      { animation: m-fadeout .5s ease .55s forwards; }
.is-in .mascotte-omslag #prop-geld      { animation: m-fadein .5s ease .70s forwards; }
.is-in .mascotte-omslag #gloed          { animation: m-fadein .9s ease .75s forwards; }
@keyframes m-fadeout { to { opacity: 0 } }

@media (prefers-reduced-motion: reduce) {
  .mascotte-weegschaal #schaal-links, .mascotte-weegschaal #schaal-rechts { animation: none !important; translate: none !important }
  .mascotte-opnamedag [id^="clip-"], .mascotte-rekensom #regel-1, .mascotte-rekensom #regel-2,
  .mascotte-rekensom #regel-3, .mascotte-rekensom #resultaat, .mascotte-agenda [id^="slot-"],
  .mascotte-omslag [id$="-sterk"], .mascotte-omslag #gloed, .mascotte-omslag #prop-geld { opacity: 1 !important }
  .mascotte-omslag [id$="-slap"], .mascotte-omslag #prop-munt { opacity: 0 !important }
  .mascotte-omslag svg { filter: none !important }
  .mascotte-omslag #mascotte { rotate: 0deg !important }
}

/* Monochrome icoonvariant voor het rustige 'waarom wij'-blok.
   De iconen dragen hun kleuren in de custom properties --blauw en --donker,
   inline op het svg-element. Alleen die twee omzetten, zodat de witte details
   blijven staan — anders wordt het icoon één dicht blok. */
.icoon-mono svg { --blauw: #1D232B !important; --donker: #0B0D10 !important; }

/* ========== Kit (src/components/kit) ========== */

/* De stippen op blauw: de enige textuur (brandingmap hoofdstuk 4). */
.stippen {
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.55) 1.3px, transparent 1.6px),
    radial-gradient(circle at 28% 74%, rgba(255,255,255,.4) 1px, transparent 1.2px),
    radial-gradient(circle at 46% 38%, rgba(255,255,255,.35) 1px, transparent 1.2px),
    radial-gradient(circle at 62% 80%, rgba(255,255,255,.5) 1.1px, transparent 1.3px),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.4) 1px, transparent 1.2px),
    radial-gradient(circle at 88% 62%, rgba(255,255,255,.55) 1.2px, transparent 1.4px);
  background-size: 200px 180px, 220px 200px, 260px 230px, 240px 210px, 190px 200px, 220px 190px;
}

/* Strakke koppen: de letterspatiëring haalt ook van de spatie af, dus die krijgt iets terug. */
.tracking-tightest { word-spacing: .08em; }

/* De ruimte onder aan de pagina is er alleen voor de vaste knop op de telefoon. */
body:not(:has(#stickybar)) { padding-bottom: 0; }

/* Vragen: het plusje wordt een min. */
.vraag-streep { transition: opacity .25s ease; }
details[open] .vraag-streep { opacity: 0; }

/* Rooster: plekken in een les. */
.plek { display: block; width: 18px; height: 18px; border-radius: 50%; }
.plek-bezet { background: #0B0D10; }
.plek-leeg { border: 1.5px dashed rgba(11,13,16,.42); }
.plek-nieuw, .plek-stil-nieuw { background: #1B5CFF; }
[data-reveal]:not(.is-in) .plek-nieuw { opacity: 0; }
.is-in .plek-nieuw { animation: plek-erbij .45s cubic-bezier(.2,1.5,.4,1) both; animation-delay: calc(.3s + var(--i) * .09s); }
@keyframes plek-erbij { from { opacity: 0; scale: .4 } to { opacity: 1; scale: 1 } }

/* Telefoon: berichten komen na elkaar, de ruimte staat vanaf het begin vast. */
[data-reveal]:not(.is-in) .tel-rij { opacity: 0; }
.is-in .tel-rij { animation: tel-rij .4s ease both; animation-delay: calc(.05s + var(--i) * .08s); }
@keyframes tel-rij { from { opacity: 0; translate: 0 6px } to { opacity: 1; translate: 0 0 } }

/* Scène groep: de lege plek wordt gevuld. Alleen translate en scale, zie de waarschuwing hierboven. */
.mascotte-groep #nieuw-lid { opacity: 0; }
.is-in .mascotte-groep #nieuw-lid { transform-box: fill-box; transform-origin: center; animation: m-vink .55s cubic-bezier(.2,1.5,.4,1) .7s forwards; }
.is-in .mascotte-groep #leeg-plek { animation: m-fadeout .3s ease .7s forwards; }

@media (prefers-reduced-motion: reduce) {
  .plek-nieuw, .tel-rij { opacity: 1 !important; }
  .mascotte-groep #nieuw-lid { opacity: 1 !important; }
  .mascotte-groep #leeg-plek { opacity: 0 !important; }
}

/* Gids: lopende tekst in één kolom (brandingmap hoofdstuk 14). */
.gids h2 { font-family: Archivo, Inter, sans-serif; font-weight: 800; letter-spacing: -.035em; word-spacing: .08em; line-height: 1.08; font-size: clamp(1.6rem, 3vw, 2rem); margin-top: 3.25rem; scroll-margin-top: 5rem; color: #0B0D10; }
.gids > p, .gids > ul > li, .gids > ol > li { font-size: 16.5px; line-height: 1.65; color: #565F6B; }
.gids > p { margin-top: 1rem; }
.gids > ul, .gids > ol { margin-top: 1rem; padding-left: 1.25rem; }
.gids > ul { list-style: disc; } .gids > ol { list-style: decimal; }
.gids > ul > li, .gids > ol > li { margin-top: .5rem; }
.gids strong { color: #0B0D10; font-weight: 600; }
.gids a { color: #1B5CFF; text-decoration: underline; text-underline-offset: 3px; }

/* ================= Illustraties (kit/Illustratie.astro) =================
   Het beeld ademt, de ogen knipperen, de kaartjes komen binnen en zweven. De oogleden zijn vlakjes in de kleur van de
   schijf; ze zitten in dezelfde laag als het beeld, zodat ze bij het ademen op hun plek blijven. */
.ill-beeld { animation: ill-adem 16s ease-in-out infinite alternate; transform-origin: 50% 62%; }
@keyframes ill-adem { from { scale: 1 } to { scale: 1.045 } }
.ill-oog {
  position: absolute; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  scale: 1 0; transform-origin: 50% 0; animation: ill-knipper 6.4s infinite; animation-delay: calc(var(--i) * .05s);
}
@keyframes ill-knipper { 0%, 90%, 100% { scale: 1 0 } 93%, 95.5% { scale: 1 1 } }
.ill-kaartje {
  position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: #fff; border: 1px solid rgba(11,13,16,.11); border-radius: 999px; padding: 7px 14px 7px 8px;
  font: 600 13px/1.2 Inter, system-ui, sans-serif; color: #0B0D10; box-shadow: 0 10px 26px -12px rgba(11,13,16,.35);
  opacity: 0;
}
.ill-teken { width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 11px; display: grid; place-items: center; flex: none; }
.ill.is-in .ill-kaartje, .is-in .ill .ill-kaartje {
  animation: ill-kaartje-in .55s cubic-bezier(.2,1.5,.4,1) both, ill-zweef 5.5s ease-in-out infinite;
  animation-delay: calc(.6s + var(--i) * .45s), calc(1.2s + var(--i) * .7s);
}
@keyframes ill-kaartje-in { from { opacity: 0; scale: .6 } to { opacity: 1; scale: 1 } }
@keyframes ill-zweef { 0%, 100% { margin-top: 0 } 50% { margin-top: -7px } }
@media (max-width: 640px) { .ill-kaartje { font-size: 11.5px; padding: 5px 11px 5px 6px; gap: 6px } .ill-teken { width: 17px; height: 17px; font-size: 10px } }

/* Agenda (kit/AgendaWeek.astro): de intakes komen een voor een in de week te staan. */
[data-reveal]:not(.is-in) .agenda-intake { opacity: 0; }
.is-in .agenda-intake { animation: plek-erbij .5s cubic-bezier(.2,1.5,.4,1) both; animation-delay: calc(.35s + var(--i) * .22s); }

/* Jaarstrook (kit/Jaarstrook.astro): de maanden lopen vol. */
[data-reveal]:not(.is-in) .jaar-vak-aan { opacity: 0; }
.is-in .jaar-vak-aan { animation: plek-erbij .4s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(.3s + var(--i) * .07s); }

@media (prefers-reduced-motion: reduce) {
  .ill-kaartje, .agenda-intake, .jaar-vak-aan { opacity: 1 !important; }
}

/* Schermen die zichzelf opbouwen (Trechter, Factuur, Bijsturen, Gegevens): .balk groeit van links, .pop springt erin. */
.balk { transform-origin: 0 50%; }
[data-reveal]:not(.is-in) .balk { scale: 0 1; }
.is-in .balk { animation: balk-in .7s cubic-bezier(.2,.8,.3,1) both; animation-delay: calc(.25s + var(--i, 0) * .18s); }
@keyframes balk-in { from { scale: 0 1 } to { scale: 1 1 } }
[data-reveal]:not(.is-in) .pop { opacity: 0; }
.is-in .pop { animation: plek-erbij .5s cubic-bezier(.2,1.5,.4,1) both; animation-delay: calc(.5s + var(--i, 0) * .22s); }
@media (prefers-reduced-motion: reduce) { .balk { scale: 1 1 !important } .pop { opacity: 1 !important } }

/* Gids: beelden en hulpmiddelen tussen de lopende tekst, en alleen het A4 afdrukken (kit/Invulvel.astro). */
.gids > figure, .gids > .gids-beeld { margin-top: 2rem; }
@media print {
  .druk-invulvel body * { visibility: hidden !important; }
  .druk-invulvel .invulvel, .druk-invulvel .invulvel * { visibility: visible !important; }
  .druk-invulvel .invulvel { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; }
  .druk-invulvel .invulvel-niet-drukken { display: none !important; }
}
.gids h3 { font-family: Archivo, Inter, sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin-top: 2rem; color: #0B0D10; }

/* Tweede stand van een illustratie: het figuur zwaait drie keer en staat dan even stil. Harde wissel, geen overvloeier:
   bij een overvloeier zie je twee armen tegelijk. */
.ill-stand { opacity: 0; animation: ill-zwaai 5.2s steps(1, end) infinite; }
.ill-stand-rustig { animation-name: ill-rustig; animation-duration: 6.5s; }
@keyframes ill-rustig { 0%, 72%, 100% { opacity: 0 } 40% { opacity: 1 } }
@keyframes ill-zwaai { 0%, 14%, 28% { opacity: 1 } 7%, 21%, 35%, 100% { opacity: 0 } }

/* Terugverdienen (kit/Terugverdienen.astro): de staven groeien van onder op. */
.staaf { transform-origin: 50% 100%; }
[data-reveal]:not(.is-in) .staaf { scale: 1 0; }
.is-in .staaf { animation: staaf-op .6s cubic-bezier(.2,.8,.3,1) both; animation-delay: calc(.2s + var(--i, 0) * .12s); }
@keyframes staaf-op { from { scale: 1 0 } to { scale: 1 1 } }

/* Opbrengst (kit/Opbrengst.astro): 25 stippen, de gekozen intakes blauw. */
.opbrengst-stip { background: transparent; border: 1.5px dashed rgba(11,13,16,.3); transition: background-color .2s ease, border-color .2s ease, scale .35s cubic-bezier(.2,1.5,.4,1), opacity .3s ease; transition-delay: 0s, 0s, calc(var(--i, 0) * 40ms), calc(var(--i, 0) * 40ms); }
.opbrengst-stip.is-aan { background: #1B5CFF; border-color: #1B5CFF; }
[data-reveal]:not(.is-in) .opbrengst-stip.is-aan { scale: .4; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .staaf { scale: 1 1 !important } .opbrengst-stip { scale: 1 !important; opacity: 1 !important } }
