/* ════════════════════════════════════════════════════════════
   FIDEL — v2 shared styles
   Design tokens + base components. Exact uit brand-guide-v2.html.
   Geladen op elke pagina (Home, Web, Automations, Content).
   ════════════════════════════════════════════════════════════ */

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

/* ── FOCUS (WCAG 2.4.7 — zichtbare toetsenbord-focus; geen border-radius) ── */
:focus-visible { outline: 2.5px solid var(--b500); outline-offset: 3px; }

/* ── DESIGN TOKENS (v2 rebrand — vervangt oude Syne/DM Sans/#f5f5f7) ── */
:root {
  --bg:#EDEAE3; --bg-alt:#E6E3DB; --ink:#111111; --ink-2:#524F49; --ink-3:#9A9790;
  --b900:#19293A; --b700:#234055; --b500:#345D7B; --b400:#4A7B9A; --b200:#7EA3BB; --b100:#B0C9D8;
  --max:1260px; --pad:clamp(1.5rem,5vw,5rem); --gap:clamp(5rem,9vw,10rem); --gap-sm:clamp(3rem,5vw,5rem);

  --font-display:'Cormorant Garamond', serif;
  --font-body:'Inter', sans-serif;
}

html { scroll-behavior: auto; }

body {
  background: var(--bg);            /* altijd #EDEAE3, nooit puur wit */
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;                 /* body: Inter 300 */
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAFIE-HELPERS ── */
.display { font-family: var(--font-display); font-weight: 300; letter-spacing: -.025em; }
.display em, .accent-word { font-style: italic; color: var(--b500); }   /* italic accent: max 1 woord */

/* ── CUSTOM CURSOR (#cursor-dot — gestuurd via gsap.quickTo in main.js) ── */
#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 7px; height: 7px;
  background: var(--b700);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, opacity .2s ease, background .2s ease, border .2s ease;
  will-change: transform;
  mix-blend-mode: multiply;
}
#cursor-dot.large {
  width: 30px; height: 30px;
  opacity: .14;
  border: 1px solid var(--b700);
}
@media (hover: none) { #cursor-dot { display: none; } }

/* ── NAVIGATIE (vaste achtergrond, scherpe knoppen) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 1.1rem var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.nav-mark {
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-link {
  font-size: .72rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; transition: color .2s;
}
.nav-link:hover { color: var(--b700); }

/* ── MOBILE MENU (toggle + overlay geïnjecteerd door main.js) ── */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 26px; height: 18px; position: relative; z-index: 300; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); position: absolute; left: 0; right: 0; transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 250; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.25rem;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  color: var(--ink); text-decoration: none; letter-spacing: .01em; transition: color .25s;
}
.mobile-menu a:hover { color: var(--b500); }

/* ── KNOPPEN — GEEN border-radius, ooit ── */
.btn {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; padding: 1rem 2rem; border: none;
  transition: background .3s, color .3s;
}
.btn-fill  { background: var(--b700); color: var(--bg); }
.btn-fill:hover  { background: var(--b900); }
.btn-out   { border: 1px solid var(--b700); color: var(--b700); background: transparent; }
.btn-out:hover   { background: var(--b700); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1px solid rgba(17,17,17,.14); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }

/* ── MAGNETIC WRAP (gestuurd in main.js) ── */
.magnetic-wrap { display: inline-block; position: relative; }

/* ── SECTIES ── */
.section { padding: var(--gap) var(--pad); max-width: var(--max); margin: 0 auto; }
.sec-eye {                                   /* eyebrow / label */
  font-size: .75rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: var(--b500); margin-bottom: 1.25rem;
}
.sec-h {                                     /* section heading */
  font-family: var(--font-display); font-size: clamp(2.2rem,4.5vw,4.8rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -.02em; margin-bottom: var(--gap-sm);
}
.sec-h em { font-style: italic; color: var(--b500); }

/* ── ACCENTLIJN + DIVIDER ── */
.accent-line { width: 56px; height: 1px; background: var(--b500); border: 0; }
.divider     { width: 100%; height: 1px; background: rgba(17,17,17,.1); border: 0; }

/* ── REVEAL (scroll-in basis; ook bruikbaar zonder JS) ── */
.r { opacity: 0; transform: translateY(32px);
     transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.r.on { opacity: 1; transform: translateY(0); }
[data-d="1"]{transition-delay:.1s}[data-d="2"]{transition-delay:.2s}
[data-d="3"]{transition-delay:.3s}[data-d="4"]{transition-delay:.4s}

/* ── SPLIT-REVEAL (SplitType woord-reveal in main.js) ── */
.split-reveal .word { display: inline-block; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(17,17,17,.1);
  padding: 2.5rem var(--pad);
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.footer-mark {
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--ink);
}
.footer-copy { font-size: .72rem; letter-spacing: .04em; color: var(--ink-2); }
.site-footer a { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--b700); }

/* ── HERO (gedeeld — Home + dienst-pagina's) ── */
.hero {
  min-height: 88vh; padding: clamp(7rem,12vh,9rem) var(--pad) clamp(3rem,6vh,5rem);
  display: flex; flex-direction: column; justify-content: center;
  max-width: var(--max); margin: 0 auto; position: relative;
}
.hero--home { min-height: 92vh; }
.hero-eye {
  font-size: .78rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: var(--b500); margin-bottom: 2.5rem;
}
.hero-h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.4rem,9vw,9.5rem); line-height: .96; letter-spacing: -.025em;
}
.hero-h1 em { font-style: italic; color: var(--b500); }
.hero-lower {
  margin-top: 3.5rem; display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: end;
}
.hero-body { font-size: 1rem; color: var(--ink-2); max-width: 380px; line-height: 1.9; }
.hero-btns { display: flex; justify-content: flex-end; gap: 1rem; flex-wrap: wrap; }

/* ── DIENSTEN-KAARTEN (Home: 3 diensten · ook "Voor wie") ── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
/* 4 diensten → 2×2 op desktop (≤1024 al 2-koloms, ≤820 al 1 kolom) */
@media (min-width: 1025px) { .svc-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2,1fr); } }
.svc-card {
  background: var(--bg-alt); border: 1px solid rgba(17,17,17,.07);
  padding: 2rem; display: flex; flex-direction: column; gap: 1rem;
  text-decoration: none; color: inherit; transition: border-color .3s, transform .3s;
}
.svc-num { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--b500); }
.svc-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 300; line-height: 1.1; }
.svc-title em { font-style: italic; color: var(--b500); }
.svc-desc { font-size: .88rem; color: var(--ink-2); line-height: 1.8; flex: 1; }
.svc-link { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--b700); }

/* ── GENUMMERDE STAPPEN (Manifesto · Hoe werken we · Hoe het werkt) ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; }
.steps--4 { grid-template-columns: repeat(4,1fr); gap: 2rem; }
.step-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 300;
  color: rgba(35,64,85,.22); line-height: 1; margin-bottom: 1rem; transition: color .3s ease;
}
.step:hover .step-num { color: var(--b400); }
.step-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; margin-bottom: .75rem; }
.step-title em { font-style: italic; color: var(--b500); }
.step-desc { font-size: .88rem; color: var(--ink-2); line-height: 1.85; }

/* ── RESULTAAT-STATS (per-pagina · counters) ── */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.stat { border-top: 1px solid rgba(17,17,17,.12); padding-top: 1.5rem; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2.4rem,5vw,4rem);
  font-weight: 300; color: var(--b700); line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--ink-2); margin-top: .6rem; line-height: 1.6; }

/* ── PRIJZEN-KAARTEN ── */
.prijs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
/* 4 kaarten → 2×2 (mooier dan 3 + wees-onder); 3 kaarten → 3 op een rij */
.prijs-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2,1fr); }
@media (max-width: 980px) { .prijs-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .prijs-grid { grid-template-columns: 1fr; } }

/* ── Wees-kaart centreren: 3 items in 2 kolommen → de oneven laatste (3e) gecentreerd
   i.p.v. alleen linksonder. Vuurt alleen als het laatste item op een oneven positie staat. ── */
@media (min-width: 821px) and (max-width: 1024px) {
  .svc-grid > :nth-child(odd):last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - 1.5rem) / 2); }
  .steps > :nth-child(odd):last-child   { grid-column: 1 / -1; justify-self: center; width: calc((100% - 2.5rem) / 2); }
}
@media (min-width: 521px) and (max-width: 980px) {
  .prijs-grid > :nth-child(odd):last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - 1.5rem) / 2); }
}
.prijs-card {
  background: var(--bg-alt); border: 1px solid rgba(17,17,17,.07);
  padding: 2rem; display: flex; flex-direction: column; gap: .85rem;
  position: relative; transition: border-color .3s, transform .3s;
}
.prijs-card::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--b500); transition: width .45s cubic-bezier(.16,1,.3,1); }
.prijs-card:hover { border-color: var(--b400); transform: translateY(-6px); }
.prijs-card:hover::after { width: 100%; }
.prijs-card:hover .prijs-price { color: var(--b900); }
.prijs-tier { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--b500); }
.prijs-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; line-height: 1.1; }
.prijs-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 300; color: var(--b700); }
.prijs-desc { font-size: .82rem; color: var(--ink-2); line-height: 1.75; flex: 1; }
.prijs-per { font-family: var(--font-body); font-size: .72rem; color: var(--ink-2); letter-spacing: .02em; margin-left: .15rem; }
.prijs-note { margin-top: 1.5rem; font-size: .75rem; color: var(--ink-2); letter-spacing: .04em; }

/* ── UITGELICHTE PRIJS-KAART (middelste tier — donkerblauw, valt op) ── */
.prijs-card--featured { background: var(--b900); border-color: var(--b900); }
.prijs-card--featured .prijs-tier  { color: var(--b200); }
.prijs-card--featured .prijs-name  { color: var(--bg); }
.prijs-card--featured .prijs-price { color: var(--bg); }
.prijs-card--featured .prijs-desc  { color: rgba(237,234,227,.74); }
.prijs-card--featured .prijs-per   { color: rgba(237,234,227,.6); }
.prijs-card--featured::after { background: var(--b200); }
.prijs-card--featured:hover { border-color: var(--b400); }
.prijs-card--featured:hover .prijs-price { color: var(--b100); }
.prijs-badge {
  position: absolute; top: 0; right: 0;
  background: var(--b500); color: var(--bg);
  font-family: var(--font-body); font-size: .58rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; padding: .4rem .7rem;
}

/* ── UITGELICHT WERK ── */
.work-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  background: var(--bg-alt); border: 1px solid rgba(17,17,17,.07); padding: clamp(2rem,4vw,3.5rem);
}
.work-media {
  aspect-ratio: 16/10; background: var(--b100); border: 1px solid rgba(17,17,17,.08);
  overflow: hidden;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-eye { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--b500); margin-bottom: 1rem; }
.work-title { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 300; line-height: 1.05; margin-bottom: 1.25rem; }
.work-title em { font-style: italic; color: var(--b500); }
.work-quote { font-size: .92rem; color: var(--ink-2); line-height: 1.9; font-style: italic; }
.work-by { font-size: .72rem; letter-spacing: .08em; color: var(--ink-2); margin-top: 1rem; }

/* ── LOS BLOK (bijv. AVG / Onderhoud — krijgt later eigen plek) ── */
.aside-block {
  border: 1px solid rgba(17,17,17,.12); padding: clamp(1.75rem,3vw,2.5rem);
  display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
}
.aside-eye { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--b500); }
.aside-h { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; line-height: 1.15; }
.aside-body { font-size: .88rem; color: var(--ink-2); line-height: 1.85; }

/* ── FINAL / CTA (gedeeld component — elke pagina) ── */
.final {
  padding: var(--gap) var(--pad) calc(var(--gap)*1.4); max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.5rem;
}
.final-t {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.4rem,8.5vw,9rem); line-height: .95; letter-spacing: -.03em;
}
.final-t em { font-style: italic; color: var(--b500); }
.final-sub { font-size: 1rem; color: var(--ink-2); max-width: 440px; line-height: 2; }

/* ── HERO ARCS (home — SVG stroke-draw) ── */
.hero { overflow: hidden; }
.hero > *:not(.hero-bg-svg) { position: relative; z-index: 1; }
.hero-bg-svg { position: absolute; right: 0; top: 0; width: 55%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.hero-arc { fill: none; stroke: var(--b400); stroke-width: .7; stroke-linecap: round; opacity: .35; }

/* ── DIENSTEN-KAART HOVER (accentlijn boven + lift) ── */
.svc-card { position: relative; }
.svc-card::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--b500); transition: width .45s cubic-bezier(.16,1,.3,1); }
.svc-card:hover { border-color: var(--b400); transform: translateY(-6px); }
.svc-card:hover::after { width: 100%; }
.svc-card:hover .svc-link { color: var(--b900); }

/* ── MANIFESTO — verticale stack, reveal-and-stay (tekst verschijnt op scroll en BLIJFT staan).
   Subtiele lijnen-canvas als achtergrond (alleen desktop). ── */
.manifesto-pin { position: relative; padding: clamp(4rem,9vw,8rem) 0; overflow: hidden; }
.manifesto-sticky {
  position: relative; z-index: 1; padding: 0 var(--pad);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.manifesto-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.m-eye {
  position: relative; z-index: 2; color: var(--b500);
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: clamp(2rem,6vw,4rem);
}
.m-chapter {
  position: relative; z-index: 1; max-width: 24ch;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem; text-align: center; padding: clamp(3rem,8vh,6rem) 0;
}
.m-num { font-family: var(--font-display); font-size: 1.6rem; color: rgba(35,64,85,.3); }
.m-statement {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.6rem,6.5vw,7rem); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch;
}
.m-statement em { font-style: italic; color: var(--b500); }
.m-sub { font-size: 1rem; color: var(--ink-2); max-width: 480px; line-height: 1.95; }

/* ── WEB · HOE HET WERKT (sticky 340vh build — signature) ── */
.build-pin { position: relative; height: 340vh; }
.build-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
/* GESTAPELD op ELKE breedte: tekst boven, animatie onder, gecentreerd */
.build-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(2rem,5vw,4rem);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%;
}
.build-steps { position: relative; display: grid; align-content: center; width: 100%; max-width: 680px; text-align: center; min-height: auto; }
.build-step { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.build-kicker { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--b500); margin-bottom: 1.5rem; }
.build-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem,4vw,3.6rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.build-title em { font-style: italic; color: var(--b500); }
.build-desc { font-size: .95rem; color: var(--ink-2); line-height: 1.9; max-width: 420px; }
.build-viz { width: 100%; max-width: 560px; margin: 0 auto; }
.build-svg { width: 100%; height: auto; display: block; overflow: visible; }
.build-progress { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.build-dot { width: 26px; height: 2px; background: rgba(17,17,17,.14); transition: background .3s; }
.build-dot.on { background: var(--b500); }

/* ── FX-HOST (canvas-achtergrond achter een sectie) ── */
.fx-host { position: relative; overflow: hidden; }
.fx-host > * { position: relative; z-index: 1; }
.fx-host > canvas { z-index: 0; }

/* Full-bleed: de fx-host-sectie breekt uit de gecentreerde max-width-box
   zodat het canvas de VOLLE sectiebreedte vult. De content-kinderen
   (eyebrow, kop, grid) blijven netjes gecentreerd op --max. */
.section.fx-host { max-width: none; }
.section.fx-host > :not(canvas) {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* ── FX-FADE (sectie-vullend canvas — zachte, symmetrische uitvloei
   boven + onder zodat secties in elkaar overlopen, geen harde grens) ── */
.fx-fade {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  will-change: transform; /* perf #4: eigen GPU-laag voor de fx-canvassen */
}

/* ── v5 — BELOFTE-STRIP (3 kernclaims onder de hero: maatwerk · one-stop · transparant) ── */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 4rem); }
.promise-k {
  display: block; font-size: .7rem; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; color: var(--b500); margin-bottom: .9rem;
}
.promise-t {
  display: block; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: .8rem;
}
.promise-t em { font-style: italic; color: var(--b500); }
.promise-d { font-size: .95rem; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 820px) { .promise-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ── FIDEL CYCLE (roterend hero-woord — /web) ── */
.h1-line { display: inline-block; vertical-align: bottom; }
.cycle-word { font-style: italic; color: var(--b500); display: inline-block; }
.cycle-word-inner { display: inline-block; opacity: 0; transition: opacity .45s ease; }
.cycle-word.visible .cycle-word-inner { opacity: 1; }
.cycle-word.leaving .cycle-word-inner { opacity: 0; transition: opacity .3s ease; }
.caret { display: inline-block; width: clamp(3px,.5vw,6px); height: .88em; background: var(--b400); margin-left: .12em; vertical-align: -.05em; animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cycle-pips { margin-top: 2rem; display: flex; gap: .6rem; align-items: center; }
.pip { width: 32px; height: 3px; background: rgba(35,64,85,.18); transition: background .4s, width .4s; }
.pip.active { background: var(--b700); width: 52px; }

/* ── RESPONSIVE ── */
/* Tablet: meerkoloms grids verkleinen netjes (geen overflow) */
@media (max-width: 1024px) {
  .steps--4 { grid-template-columns: repeat(2,1fr); }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
}
/* Tablet + mobiel (≤1024): subtiele lijnen-canvas uit (perf + rust); manifesto is sowieso al
   een verticale reveal-stack op elke breedte. */
@media (max-width: 1024px) {
  .manifesto-lines { display: none; }
  .m-chapter { padding: clamp(2.5rem,7vh,4rem) 0; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-footer { flex-direction: column; text-align: center; }
  .hero-lower { grid-template-columns: 1fr; }
  .hero-btns { justify-content: flex-start; }
  .svc-grid, .steps, .stat-row { grid-template-columns: 1fr; }
  .work-feature { grid-template-columns: 1fr; gap: 2rem; }
  .aside-block { grid-template-columns: 1fr; gap: 1rem; }
  .hero-bg-svg { width: 80%; opacity: .65; }
  /* F4: leesbare knoppen + body op mobiel (≥.92rem knoppen, ≥.875rem body) */
  .btn { font-size: .92rem; padding: 1.05rem 2rem; }
  .prijs-desc { font-size: .9rem; }
  .build-desc, .svc-desc, .step-desc, .aside-body, .work-quote { font-size: .95rem; }
  /* .build-inner blijft gestapeld (flex column) — animatie ONDER tekst */
  .build-viz { max-width: 420px; }
  .build-pin { height: 300vh; }
}

/* ── JURIDISCHE / TEKSTPAGINA'S (privacy, voorwaarden, over-ons) ── */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(8rem,15vh,11rem) var(--pad) clamp(5rem,9vw,8rem); }
.legal h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem,6vw,4.5rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.legal-lead { font-size: 1.05rem; color: var(--ink-2); line-height: 1.85; margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem,3vw,2rem); letter-spacing: -.01em; margin: 2.75rem 0 .85rem; }
.legal p, .legal li { font-size: .95rem; color: var(--ink-2); line-height: 1.85; }
.legal p { margin-bottom: 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.legal li { margin-bottom: .45rem; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--b700); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.legal a:hover { color: var(--b900); }
.legal-meta { margin-top: 3rem; font-size: .8rem; color: var(--ink-2); letter-spacing: .02em; }
.legal-todo { background: rgba(74,123,154,.14); color: var(--b700); padding: 0 .35em; font-size: .9em; }

/* ── COOKIEBANNER (functioneel; geïnjecteerd door main.js) ── */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  background: var(--b900); color: var(--bg);
  padding: 1.15rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  transform: translateY(110%); transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-text { font-size: .82rem; line-height: 1.65; color: rgba(237,234,227,.82); max-width: 64ch; margin: 0; }
.cookie-text a { color: var(--b100); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: .7rem; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-body); font-size: .74rem; font-weight: 400; letter-spacing: .06em;
  padding: .7rem 1.45rem; cursor: pointer; border: 1px solid var(--b400); background: none; color: var(--bg);
  transition: background .3s, color .3s, border-color .3s;
}
.cookie-btn:hover { background: var(--b400); color: var(--bg); }
.cookie-btn--accept { background: var(--bg); color: var(--b900); border-color: var(--bg); }
.cookie-btn--accept:hover { background: var(--b100); color: var(--b900); border-color: var(--b100); }
@media (max-width: 820px) {
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; padding: .85rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }

/* ── REDUCED MOTION — nette statische eindtoestand, geen beweging ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  /* reveals altijd zichtbaar */
  .r { opacity: 1; transform: none; }
  /* roterend hero-woord in rust-positie, geen knipperende caret */
  .cycle-word-inner { opacity: 1 !important; }
  .caret { animation: none; }
}
