/* Exit in SaaS. Label van The Exit Company.
   Zelfde skelet als exitcompany.nl: Inter, koppen in hoofdletters, dunne lijnen, rechte hoeken, geen JavaScript.
   De huid is die van software: donker, een fijn raster, violet als accent, mono voor alles wat op een scherm staat.
   Alle interactie is CSS: keuzerondjes met :has(), details, scroll-animaties met een stille terugval. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0A0C14;        /* basis */
  --deck: #11152A;         /* vlak */
  --wire: #252B48;         /* lijn op donker */
  --paper: #F3F3F1;
  --ink: #0B0C0F;
  --steel: #A9AFC4;        /* stille tekst op donker */
  --grey: #5C616B;         /* stille tekst op papier */
  --violet: #8B7BFF;       /* accent op donker */
  --violet-deep: #5B45E0;  /* accent op papier */
  --live: #3DDC97;         /* lampje: draait */
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 68px;
  --space-section: clamp(72px, 11vw, 160px);

  /* per vlak overschreven */
  --fg: var(--paper);
  --quiet: var(--steel);
  --rule: var(--wire);
  --accent: var(--violet);
  --surface: var(--night);
}

body { margin: 0; background: var(--night); }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.page {
  background: var(--night);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Vlakken */
.on-night, .on-deck, .on-paper, .on-violet { background: var(--surface); color: var(--fg); }
.on-deck { --surface: var(--deck); }
.on-paper { --surface: var(--paper); --fg: var(--ink); --quiet: var(--grey); --rule: var(--ink); --accent: var(--violet-deep); }
.on-violet { --surface: var(--violet); --fg: var(--night); --quiet: var(--night); --rule: var(--night); --accent: var(--night); }
.on-night { --surface: var(--night); --fg: var(--paper); --quiet: var(--steel); --rule: var(--wire); --accent: var(--violet); }
.dot { color: var(--accent); }
.rule-top { border-top: 1px solid var(--rule); }
.quiet { color: var(--quiet); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }

/* Kleine letters: Inter in hoofdletters, mono voor statusregels. */
.caps { font-size: 15px; font-weight: 800; letter-spacing: 0.22em; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--quiet); }
.num { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); }

/* Koppen */
.display { margin: 0; font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; }
.display--hero { font-size: clamp(60px, 11vw, 176px); line-height: 0.88; }
.display--page { font-size: clamp(60px, 10vw, 160px); line-height: 0.88; }
.display--section { font-size: clamp(42px, 7vw, 112px); }
.display--big { font-size: clamp(48px, 8.4vw, 136px); }
.display--contact { font-size: clamp(52px, 9vw, 150px); line-height: 0.88; }
.display .w { display: inline-block; white-space: nowrap; }
.after-eyebrow { margin-top: 20px; }
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }

/* Tekst */
.body-20 { font-size: 20px; }
.measure { max-width: 600px; }
.section-intro { margin: 28px 0 0; }
.lead { margin: 0; font-size: 22px; line-height: 1.45; }
.lead + .lead { margin-top: 24px; }

/* Knoppen. Op donker violet met donkere tekst; bij hover schuift papier erin. Op papier inkt, op violet nacht. */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--violet);
  background: var(--violet);
  color: var(--night);
  font: 800 15px/1.2 'Inter', system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-decoration: none;
  cursor: pointer;
  transition: color 220ms ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: var(--steel); color: var(--paper); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--night); }
.on-paper .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.on-paper .btn::before { background: var(--violet-deep); }
.on-paper .btn:focus-visible { outline-color: var(--ink); }
.on-violet .btn { background: var(--night); border-color: var(--night); color: var(--paper); }
.on-violet .btn:hover, .on-violet .btn:focus-visible { color: var(--night); }
.on-violet .btn:focus-visible { outline-color: var(--night); }
.on-night .btn { background: var(--violet); border-color: var(--violet); color: var(--night); }
.on-night .btn::before { background: var(--paper); }
button.btn { border-radius: 0; }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.actions .more-link { margin-top: 0; }

.more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 200ms ease;
}
.more-link:hover { text-decoration-thickness: 3px; }
.links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 4px 32px; }

/* Kop. Blijft bovenaan. Woordmerk met een knipperende cursor. Breed: alle pagina's; smal: MENU. */
.site-header { position: sticky; top: 0; z-index: 30; padding: 0 var(--gutter); background: var(--night); color: var(--paper); }
.site-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-header-inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wire); z-index: 2; }
/* Woordmerk, taal en MENU liggen boven het open menu, zodat SLUIT altijd te raken is. */
.site-header-inner > .wordmark, .menu summary, .navlink--lang { position: relative; z-index: 2; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 900; letter-spacing: 0.22em; text-decoration: none; white-space: nowrap; }
.wm-cursor { display: inline-block; width: 0.62em; height: 1.08em; margin-left: 0.18em; background: var(--violet); }
.header-right { display: flex; align-items: center; gap: 24px; }
.nav-inline { display: none; }
.navlink { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; letter-spacing: 0.2em; text-decoration: none; }
.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.navlink:hover::after, .navlink[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }
.navlink--lang { font-family: var(--mono); font-weight: 600; letter-spacing: 0.14em; color: var(--steel); min-width: 44px; justify-content: center; }
.navlink--lang::after { display: none; }
@media (min-width: 1100px) {
  .nav-inline { display: flex; align-items: center; gap: 28px; }
  .menu { display: none; }
}

/* Volledig menu achter MENU, zonder JavaScript. Het raster loopt door. */
.menu summary { list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu summary::-webkit-details-marker { display: none; }
.menu-close { display: none; }
.menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: inline; }
html:has(.menu[open]) { overflow: hidden; }
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background-color: var(--night);
  background-image: linear-gradient(var(--wire) 1px, transparent 1px), linear-gradient(90deg, var(--wire) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--paper);
}
.menu-list { display: flex; flex-direction: column; }
.menu-link { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--wire); color: inherit; text-decoration: none; background: var(--night); }
.menu-link:first-child { border-top: 0; }
.menu-link:last-child { border-bottom: 1px solid var(--wire); }
.menu-num { flex: 0 0 28px; font-family: var(--mono); font-size: 13px; color: var(--violet); }
.menu-label { font-size: clamp(34px, 9.5vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.menu-link[aria-current="page"] .menu-label::after { content: "."; color: var(--violet); }
.menu-link:hover .menu-label { text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; background: var(--night); }
.menu-mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--steel); text-underline-offset: 4px; }

/* Overslaan naar de inhoud */
.skip {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--violet);
  color: var(--night);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-decoration: none;
}
.skip:focus { top: 12px; outline-color: var(--paper); }

/* Opening van de homepage: het label start op. Regels typen zich, dan gaat het doek omhoog. Klikken kan meteen. */
.boot { display: none; }

/* Hero op een raster, met een paar cellen in violet. */
.hero { position: relative; isolation: isolate; padding: 0 var(--gutter); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--wire) 1px, transparent 1px), linear-gradient(90deg, var(--wire) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.cells { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cell { position: absolute; width: 55px; height: 55px; background: var(--violet); opacity: 0.14; }
.cell:nth-child(2), .cell:nth-child(5) { opacity: 0.08; }
.cell:nth-child(4) { opacity: 0.2; }
.cell:nth-child(1) { left: 1px; top: 113px; }
.cell:nth-child(2) { left: 225px; top: 57px; }
.cell:nth-child(3) { left: calc(56px * 9 + 1px); top: 169px; }
.cell:nth-child(4) { left: calc(56px * 14 + 1px); top: 57px; }
.cell:nth-child(5) { left: calc(56px * 19 + 1px); top: 225px; }
.cell:nth-child(6) { left: calc(56px * 23 + 1px); top: 113px; }
.hero-body {
  padding: clamp(56px, 8vw, 128px) 0 clamp(64px, 9vw, 136px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (min-width: 1100px) {
  .hero-body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .hero-body--page { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
.tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 12px; border: 1px solid var(--wire); background: var(--night); }
.hero-line { margin: 32px 0 0; max-width: 560px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; line-height: 1.4; }
.hero-body--page .hero-line { margin-top: 0; }

/* Statuspaneel */
.panel { border: 1px solid var(--wire); background: var(--deck); font-family: var(--mono); font-size: 14px; line-height: 1.5; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--wire); color: var(--steel); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.panel-rows { margin: 0; }
.prow { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--wire); }
.prow dt { color: var(--steel); font-size: 12px; letter-spacing: 0.14em; padding-top: 2px; }
.prow dd { margin: 0; color: var(--paper); }
.panel-prompt { margin: 0; padding: 16px 18px 18px; color: var(--violet); }
.caret { display: inline-block; width: 0.6em; height: 1.1em; margin-left: 4px; vertical-align: -0.2em; background: var(--violet); }

/* Lampjes */
.lamp { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; margin-right: 10px; vertical-align: 0.05em; border: 1.5px solid var(--steel); box-sizing: border-box; }
.lamp--on { background: var(--live); border-color: var(--live); }
.lamp--open { border-color: var(--violet); }
.on-paper .lamp--on, .on-violet .lamp--on { background: #13784B; border-color: #13784B; }

/* Secties */
.section { padding: var(--space-section) var(--gutter); }
.section--flush { padding-top: 0; }
.section-head { max-width: 1200px; }
.split {
  margin-top: clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px);
}
.split > :only-child { max-width: 760px; }
.split .eyebrow { padding-bottom: 16px; }
.row { margin: 0; padding: 16px 0; border-top: 1px solid var(--rule); font-size: 19px; }
.row-close { margin: 0; padding: 20px 0 0; border-top: 1px solid var(--fg); font-size: 20px; font-weight: 800; }
.cta-note { margin: 24px 0 0; max-width: 600px; font-size: 18px; color: var(--quiet); }
.statement { margin: 0; font-size: clamp(36px, 5vw, 72px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }

/* Markten: M&A VOOR, en het woord wisselt (vier markten, elk 2,5 seconde). Zonder beweging staat er B2B-SAAS. */
.label-cycle { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 0.28em; margin: 20px 0 0; font-size: clamp(30px, 6vw, 96px); font-weight: 900; line-height: 1; letter-spacing: -0.035em; }
.cycle { display: grid; overflow: hidden; color: var(--violet); }
.cycle > span { grid-area: 1 / 1; white-space: nowrap; }
.cycle > span + span { visibility: hidden; }
.markets { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.market { padding-top: 16px; border-top: 1px solid var(--rule); }
.market-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.market-name { font-size: 20px; font-weight: 800; }
.status { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--quiet); white-space: nowrap; }
.market p { margin: 10px 0 0; font-size: 17px; color: var(--quiet); }

/* Drie lagen. Het back office is altijd het grootste. Zonder scroll-animatie: drie blokken onder elkaar. */
.layers { padding: var(--space-section) var(--gutter); }
.layers-stage > .eyebrow { padding-bottom: 20px; }
.layers-mark { display: none; }
.layer { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; }
.layer .num { flex: 0 0 56px; }
.layer h2 { flex: 1 1 300px; margin: 0; font-weight: 900; }
.layer > p { flex: 1 1 340px; margin: 0; font-size: 20px; }
.layer--front { padding: 24px 0 28px; }
.layer--front h2 { font-size: 28px; letter-spacing: -0.01em; }
.layer--mid { padding: 40px 0 44px; }
.layer--mid h2 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.02em; }
.layer--back { padding: clamp(36px, 6vw, 88px) clamp(20px, 3vw, 48px); gap: 24px 48px; }
.layer--back h2 { flex-basis: 420px; font-size: clamp(54px, 8.4vw, 136px); line-height: 0.9; letter-spacing: -0.04em; }
.layer-text { flex: 1 1 320px; }
.layer-lead { margin: 0; font-size: 22px; line-height: 1.4; }
.layer-tag { margin: 20px 0 0; }
@media (max-width: 599px) {
  .layer { column-gap: 16px; }
  .layer .num { flex-basis: 28px; }
  .layer h2 { flex-basis: calc(100% - 44px); }
}

/* M&A 1.0 tegen M&A 2.0. Op papier staat de kolom van 2.0 in nacht. Smal: per rij onder elkaar. */
.compare { width: 100%; margin-top: clamp(40px, 6vw, 72px); border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 20px 24px 24px 0; vertical-align: top; }
.compare thead th { padding-top: 0; padding-bottom: 16px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--quiet); }
.compare tbody th, .compare tbody td { border-top: 1px solid var(--rule); }
.compare tbody th { width: 20%; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--quiet); }
.compare tbody td { width: 40%; font-size: 19px; line-height: 1.45; color: var(--quiet); }
.compare thead th:last-child, .compare tbody td:last-child { padding-left: 24px; background: var(--night); color: var(--paper); }
.compare thead th:last-child { padding-top: 20px; color: var(--violet); }
.compare tbody td:last-child { border-top-color: var(--wire); font-weight: 500; }
.compare tbody tr:last-child td:last-child { padding-bottom: 32px; }
.compare td::before { content: attr(data-v); display: none; }
@media (max-width: 699px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody tr { padding: 20px 0 8px; border-top: 1px solid var(--rule); }
  .compare tbody th, .compare tbody td { width: auto; padding: 0; border-top: 0; }
  .compare tbody td { margin-top: 12px; }
  .compare tbody td:last-child { padding: 16px 20px 20px; }
  .compare tbody tr:last-child td:last-child { padding-bottom: 20px; }
  .compare td::before { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--quiet); }
  .compare td:last-child::before { color: var(--violet); }
}

/* Tabs met keuzerondjes: rondjes bovenaan, labels als tabs, :has() kiest het paneel. */
.tabs { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.tabs .ti { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; clip-path: inset(50%); }
.tab-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); border-top: 1px solid var(--rule); }
.tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 16px 0 0;
  border-bottom: 3px solid transparent;
  color: var(--quiet);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.tab:hover { color: var(--fg); }
.tab-num { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); }
.tp { display: none; gap: 24px; margin-top: clamp(32px, 5vw, 64px); }
.tp-metric { margin: 0; font-size: clamp(88px, 16vw, 248px); font-weight: 900; line-height: 0.8; letter-spacing: -0.05em; color: var(--accent); }
.tp h3 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.tp-text { margin: 16px 0 0; max-width: 560px; font-size: 20px; }
.tp-todo { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); max-width: 560px; }
.tp-todo p { margin: 8px 0 0; font-size: 18px; }
.tp-todo .eyebrow { margin: 0; font-size: 13px; }
@media (min-width: 900px) {
  .tp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
}
.tabs:has(.t1:checked) .k1, .tabs:has(.t2:checked) .k2, .tabs:has(.t3:checked) .k3,
.tabs:has(.t4:checked) .k4, .tabs:has(.t5:checked) .k5 { color: var(--fg); border-bottom-color: var(--accent); }
.tabs:has(.t1:focus-visible) .k1, .tabs:has(.t2:focus-visible) .k2, .tabs:has(.t3:focus-visible) .k3,
.tabs:has(.t4:focus-visible) .k4, .tabs:has(.t5:focus-visible) .k5 { outline: 2px solid var(--fg); outline-offset: 4px; }
.tabs:has(.t1:checked) .tp1, .tabs:has(.t2:checked) .tp2, .tabs:has(.t3:checked) .tp3,
.tabs:has(.t4:checked) .tp4, .tabs:has(.t5:checked) .tp5 { display: grid; animation: copy-in 460ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tp-metric { animation: metric-in 620ms cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: left bottom; }

/* Kunnen we je helpen: kies je markt, het antwoord staat er meteen. Ja op violet, de rest met een lijn. */
.pick { position: relative; margin-top: clamp(32px, 5vw, 56px); }
.pick .pi { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; clip-path: inset(50%); }
.pick-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pick-hint { margin: 20px 0 0; font-size: 17px; color: var(--quiet); }
.pick:has(.pi:checked) .pick-hint { display: none; }
.pick-answer { display: none; margin-top: 24px; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); }
.pick-answer.ans-no { border: 1px solid var(--rule); }
.pick-answer h3 { margin: 0; font-size: clamp(48px, 7vw, 112px); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; }
.pick-answer p { margin: 20px 0 0; max-width: 640px; font-size: 20px; }
.pick-answer .actions { margin-top: 28px; }
.pick:has(.p1:checked) .l1, .pick:has(.p2:checked) .l2, .pick:has(.p3:checked) .l3, .pick:has(.p4:checked) .l4, .pick:has(.p5:checked) .l5 { background: var(--fg); color: var(--surface); }
.pick:has(.p1:focus-visible) .l1, .pick:has(.p2:focus-visible) .l2, .pick:has(.p3:focus-visible) .l3, .pick:has(.p4:focus-visible) .l4, .pick:has(.p5:focus-visible) .l5 { outline: 2px solid var(--fg); outline-offset: 3px; }
.pick:has(.p1:checked) .pa1, .pick:has(.p2:checked) .pa2, .pick:has(.p3:checked) .pa3, .pick:has(.p4:checked) .pa4, .pick:has(.p5:checked) .pa5 { display: block; animation: copy-in 460ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Knoppen om te kiezen: zelfde vorm overal. */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 48px;
  padding: 0 18px;
  box-sizing: border-box;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.pick .chip:hover, .check .chip:hover { background: var(--fg); color: var(--surface); }

/* Zes vragen, ja of nee. Een teller telt de ja's, :has() kiest de uitslag. Er gaat niets naar een server. */
.check { position: relative; margin-top: clamp(32px, 5vw, 56px); counter-reset: ready; }
.check .ci { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; clip-path: inset(50%); }
.check .yes:checked { counter-increment: ready; }
.cq { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px 0 24px; border-top: 1px solid var(--rule); }
.cq .num { padding-top: 6px; }
.cq-text { margin: 0; font-size: clamp(20px, 2vw, 25px); font-weight: 500; line-height: 1.3; }
.cq-answer { grid-column: 2; display: flex; gap: 10px; margin-top: 16px; }
.cq-tip { grid-column: 2; display: none; margin: 14px 0 0; max-width: 560px; font-size: 17px; color: var(--quiet); }
@media (min-width: 900px) {
  .cq { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: start; }
  .cq-answer { grid-column: 3; grid-row: 1; margin-top: 0; }
}
.check:has(.c1.yes:checked) .q1 .chip-yes, .check:has(.c1.no:checked) .q1 .chip-no,
.check:has(.c2.yes:checked) .q2 .chip-yes, .check:has(.c2.no:checked) .q2 .chip-no,
.check:has(.c3.yes:checked) .q3 .chip-yes, .check:has(.c3.no:checked) .q3 .chip-no,
.check:has(.c4.yes:checked) .q4 .chip-yes, .check:has(.c4.no:checked) .q4 .chip-no,
.check:has(.c5.yes:checked) .q5 .chip-yes, .check:has(.c5.no:checked) .q5 .chip-no,
.check:has(.c6.yes:checked) .q6 .chip-yes, .check:has(.c6.no:checked) .q6 .chip-no { background: var(--fg); color: var(--surface); }
.check:has(.c1.yes:checked) .q1 .chip-yes, .check:has(.c2.yes:checked) .q2 .chip-yes, .check:has(.c3.yes:checked) .q3 .chip-yes,
.check:has(.c4.yes:checked) .q4 .chip-yes, .check:has(.c5.yes:checked) .q5 .chip-yes, .check:has(.c6.yes:checked) .q6 .chip-yes { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.check:has(.c1.yes:focus-visible) .q1 .chip-yes, .check:has(.c1.no:focus-visible) .q1 .chip-no,
.check:has(.c2.yes:focus-visible) .q2 .chip-yes, .check:has(.c2.no:focus-visible) .q2 .chip-no,
.check:has(.c3.yes:focus-visible) .q3 .chip-yes, .check:has(.c3.no:focus-visible) .q3 .chip-no,
.check:has(.c4.yes:focus-visible) .q4 .chip-yes, .check:has(.c4.no:focus-visible) .q4 .chip-no,
.check:has(.c5.yes:focus-visible) .q5 .chip-yes, .check:has(.c5.no:focus-visible) .q5 .chip-no,
.check:has(.c6.yes:focus-visible) .q6 .chip-yes, .check:has(.c6.no:focus-visible) .q6 .chip-no { outline: 2px solid var(--fg); outline-offset: 3px; }
.check:has(.c1.no:checked) .q1 .cq-tip, .check:has(.c2.no:checked) .q2 .cq-tip, .check:has(.c3.no:checked) .q3 .cq-tip,
.check:has(.c4.no:checked) .q4 .cq-tip, .check:has(.c5.no:checked) .q5 .cq-tip, .check:has(.c6.no:checked) .q6 .cq-tip { display: block; }
.check-hint { margin: 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 17px; color: var(--quiet); }
.check-result { display: none; margin-top: 8px; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px); }
.check-score { margin: 16px 0 0; font-size: clamp(64px, 9vw, 136px); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; color: var(--violet); }
.check-of { color: var(--steel); }
.check-n::before { content: counter(ready); }
.tier { display: none; margin-top: 28px; }
.tier h3, .tier h4 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.tier p { margin: 12px 0 0; max-width: 560px; font-size: 20px; }
.check-result .btn { margin-top: 32px; }
.check:has(.ci:checked ~ .ci:checked ~ .ci:checked ~ .ci:checked ~ .ci:checked ~ .ci:checked) .check-hint { display: none; }
.check:has(.ci:checked ~ .ci:checked ~ .ci:checked ~ .ci:checked ~ .ci:checked ~ .ci:checked) .check-result { display: block; animation: copy-in 460ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tier-early { display: block; }
.check:has(.yes:checked ~ .yes:checked ~ .yes:checked) .tier-early { display: none; }
.check:has(.yes:checked ~ .yes:checked ~ .yes:checked) .tier-almost { display: block; }
.check:has(.yes:checked ~ .yes:checked ~ .yes:checked ~ .yes:checked ~ .yes:checked) .tier-almost { display: none; }
.check:has(.yes:checked ~ .yes:checked ~ .yes:checked ~ .yes:checked ~ .yes:checked) .tier-ready { display: block; }

/* Kaarten en regels */
.clauses { margin-top: clamp(48px, 7vw, 96px); }
.clause { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 28px 0 32px; align-items: baseline; border-top: 1px solid var(--rule); }
.clause h2, .clause h3 { flex: 1 1 320px; margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; }
.clause-text { flex: 1 1 420px; }
.clause-text p { margin: 0; font-size: 18px; }
.clause-text p + p { margin-top: 12px; }
.clause-text a { text-underline-offset: 3px; }
.plate-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; }
.plate { padding-top: 24px; border-top: 1px solid var(--rule); }
.plate h3 { margin: 24px 0 0; font-size: clamp(26px, 2.4vw, 32px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.plate p { margin: 12px 0 0; font-size: 18px; }
.ledger-row { padding: 18px 0 22px; display: flex; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.ledger-row .eyebrow { flex: 0 0 150px; padding-top: 4px; }
.ledger-row span + span { flex: 1 1 220px; font-size: 19px; }

/* Deuren: de hele kaart is de link. */
.doors { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.door { display: flex; flex-direction: column; padding-top: 24px; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; transition: border-color 200ms ease; }
.door h3 { margin: 16px 0 0; font-size: clamp(28px, 2.6vw, 36px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.door p { margin: 12px 0 0; font-size: 18px; color: var(--quiet); }
.door-cue { margin-top: 20px; font-size: 14px; font-weight: 800; letter-spacing: 0.2em; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.door:hover, .door:focus-visible { border-top-color: var(--accent); }
.door:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.door:hover .door-cue { text-decoration-thickness: 3px; }

/* Route in vijf stappen (Eigenaren). */
.steps { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--rule); }
.step::before { content: ""; position: absolute; left: 0; top: -8px; width: 15px; height: 15px; box-sizing: border-box; border: 3px solid var(--accent); background: var(--surface); }
.step h3 { margin: 10px 0 0; font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.step p { margin: 10px 0 0; font-size: 16px; color: var(--quiet); }

/* Het spoor (Aanpak). Zonder scroll-animatie: een lijst. Met: het podium blijft staan, de lijn trekt door. */
.rail-line { display: none; }
.rail-panels { margin-top: clamp(40px, 6vw, 72px); }
.rail-panel { padding: 24px 0 28px; border-top: 1px solid var(--rule); }
.rail-panel h3 { margin: 10px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.rail-panel p { margin: 14px 0 0; max-width: 640px; font-size: 20px; }

/* Datakamer als mappenboom. details opent een map, zonder JavaScript. */
.tree { margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--wire); background: var(--night); font-family: var(--mono); font-size: 15px; }
.tree-head { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--wire); color: var(--steel); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.tree-dir { border-bottom: 1px solid var(--wire); }
.tree-dir:last-child { border-bottom: 0; }
.tree-dir summary { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 18px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.tree-dir summary::-webkit-details-marker { display: none; }
.tree-dir summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(-45deg); transition: transform 200ms ease; }
.tree-dir[open] summary::before { transform: rotate(45deg); }
.tree-dir summary:hover .tree-name { color: var(--violet); }
.tree-name { color: var(--paper); }
.tree-n { margin-left: auto; color: var(--steel); font-size: 12px; letter-spacing: 0.1em; }
.tree-dir ul { margin: 0; padding: 0 18px 18px 40px; list-style: none; animation: copy-in 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tree-dir li { position: relative; padding: 8px 0 8px 22px; color: var(--steel); overflow-wrap: anywhere; }
.tree-dir li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 19px; border-left: 1px solid var(--wire); border-bottom: 1px solid var(--wire); }
.tree-dir li b { font-weight: 400; color: var(--paper); }

/* Het model (Specialisten): hol is van jou, vol is van ons. */
.model { position: relative; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; border: 0; min-width: 0; }
.model-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; clip-path: inset(50%); }
.model-tabs { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.model-tabs label { flex: 1 1 220px; display: flex; align-items: center; gap: 14px; min-height: 64px; border-bottom: 3px solid transparent; color: var(--quiet); font-size: 14px; font-weight: 800; letter-spacing: 0.2em; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color 160ms ease, border-color 160ms ease; }
.model-tabs label:hover { color: var(--fg); }
.model-input:nth-of-type(1):checked ~ .model-tabs label:nth-child(1),
.model-input:nth-of-type(2):checked ~ .model-tabs label:nth-child(2),
.model-input:nth-of-type(3):checked ~ .model-tabs label:nth-child(3) { color: var(--fg); border-bottom-color: var(--accent); }
.model-input:nth-of-type(1):focus-visible ~ .model-tabs label:nth-child(1),
.model-input:nth-of-type(2):focus-visible ~ .model-tabs label:nth-child(2),
.model-input:nth-of-type(3):focus-visible ~ .model-tabs label:nth-child(3) { outline: 2px solid var(--fg); outline-offset: 4px; }
.model-stage { margin-top: clamp(32px, 5vw, 64px); display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .model-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); } }
.model-mark { display: block; width: 100%; max-width: 420px; height: auto; }
.model-mark rect { transform-box: fill-box; transition: transform 360ms ease, opacity 200ms ease; }
.m-mid-solid, .m-top-solid { transform-origin: left center; transform: scaleX(0); fill: var(--accent); }
.model-input:nth-of-type(2):checked ~ .model-stage .m-mid-solid,
.model-input:nth-of-type(3):checked ~ .model-stage .m-mid-solid,
.model-input:nth-of-type(3):checked ~ .model-stage .m-top-solid { transform: scaleX(1); }
.model-input:nth-of-type(2):checked ~ .model-stage .m-mid-hollow,
.model-input:nth-of-type(3):checked ~ .model-stage .m-mid-hollow,
.model-input:nth-of-type(3):checked ~ .model-stage .m-top-hollow { opacity: 0; }
.model-copy { display: none; animation: copy-in 460ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.model-input:nth-of-type(1):checked ~ .model-stage .model-copy--1,
.model-input:nth-of-type(2):checked ~ .model-stage .model-copy--2,
.model-input:nth-of-type(3):checked ~ .model-stage .model-copy--3 { display: block; }
.model-copy h3 { margin: 0; font-size: clamp(32px, 4vw, 56px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.model-copy p { margin: 16px 0 0; font-size: 20px; }
.model-copy .split-line { margin-top: 24px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--quiet); }
.legend { margin: 32px 0 0; }

/* Vragen: open en dicht met details. */
.faq { margin-top: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 16px 0; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; }
.faq summary::after { content: ""; flex: 0 0 18px; height: 18px; background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat; transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.faq-a { margin: 0; padding: 0 48px 28px 0; max-width: 760px; font-size: 19px; color: var(--quiet); animation: copy-in 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.faq-a a { color: var(--fg); text-underline-offset: 3px; }

/* Familie van labels (Over ons). */
.family { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.family-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 180px; padding: 24px; border: 1px solid var(--rule); }
.family-card--self { border-color: var(--accent); }
.family-name { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.family-card a { text-underline-offset: 4px; }

/* Het gezicht: foto, het getal, de feiten. */
.face { display: grid; gap: clamp(40px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .face { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); align-items: start; } }
.face-photo { margin: 0; max-width: 540px; border: 1px solid var(--wire); background: var(--night); }
.face-frame { overflow: hidden; }
.face-photo img { display: block; width: 100%; height: auto; }
.face-photo figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--wire); font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.face-name { margin: 16px 0 0; font-size: clamp(44px, 6vw, 96px); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; }
.face-role { margin: 16px 0 0; font-size: 20px; color: var(--quiet); }
.stat { margin: clamp(32px, 5vw, 56px) 0 0; white-space: nowrap; font-size: clamp(52px, 7.6vw, 124px); font-weight: 900; line-height: 0.85; letter-spacing: -0.05em; color: var(--violet); }
.stat-label { margin: 14px 0 0; }
.face .ledger { margin-top: 40px; }
.face .lead { margin-top: 28px; }

/* Contact */
.contact-form { margin-top: 48px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) { .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label { display: block; }
.field input[type="text"], .field input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--steel);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: 500 20px/1.4 'Inter', system-ui, sans-serif;
  appearance: none;
}
.field input:focus-visible { outline-offset: 2px; border-bottom-color: var(--violet); }
.chips { position: relative; margin: 0; padding: 0; border: 0; min-width: 0; }
.chips legend { padding: 0; }
.chip-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; clip-path: inset(50%); }
.chips .chip { border-color: var(--steel); }
.chips .chip:hover { border-color: var(--violet); }
.chip-input:checked + .chip { background: var(--violet); border-color: var(--violet); color: var(--night); }
.chip-input:focus-visible + .chip { outline: 2px solid var(--paper); outline-offset: 3px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-actions { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.contact-mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; color: var(--steel); text-underline-offset: 4px; }
.form-note { margin: 24px 0 0; font-size: 15px; color: var(--steel); }
.form-note a { display: inline-block; padding: 11px 0; margin: -11px 0; }

/* Slotregel */
.closing { padding: var(--space-section) var(--gutter); }
.closing .btn { margin-top: 48px; }

/* Voet: het label, en daaronder de motor. */
.site-footer { padding: 56px var(--gutter) 40px; border-top: 1px solid var(--wire); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 56px; }
.site-footer .wordmark { margin: 0; }
.footer-claim { margin: 14px 0 0; max-width: 340px; font-size: 15px; color: var(--steel); }
.footer-address { font-size: 15px; line-height: 1.6; color: var(--steel); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 56px; }
.footer-links { display: flex; flex-direction: column; }
.footer-link { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--steel); text-underline-offset: 4px; }
.footer-address .footer-link { display: inline-flex; min-height: 0; padding: 11px 0; margin: -11px 0; }
.footer-link[aria-current="page"] { color: var(--paper); }
.powered { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--wire); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.powered-mark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--paper); text-decoration: none; }
.powered-mark .caps { font-size: 13px; }
.powered-by { display: inline-flex; align-items: center; gap: 16px; }

/* Vervolgpagina's: privacy, ontvangen, niet gevonden. */
.doc { padding: clamp(56px, 9vw, 140px) var(--gutter) var(--space-section); }
.doc-intro { margin: 28px 0 0; }
.doc .btn { margin-top: 40px; }

/* Beweging. Alleen verschuiven en knippen, nooit doorzichtig: tekst houdt zijn contrast en niets verspringt.
   Wie om minder beweging vraagt, krijgt een stille site. */
@keyframes copy-in { from { transform: translateY(16px); } }
@keyframes metric-in { from { transform: translateY(24px) scale(0.96); } }
@media (prefers-reduced-motion: no-preference) {
  .wm-cursor, .caret { animation: blink 1.1s steps(1, end) infinite; }

  /* Woorden van de grote kop zakken op hun plek, een voor een; de punt valt als laatste. */
  .display--hero .w, .display--page .w { animation: word-in 900ms cubic-bezier(0.2, 0.75, 0.15, 1) var(--intro, 0ms) both; }
  .display--hero .w:nth-child(2), .display--page .w:nth-child(2) { animation-delay: calc(var(--intro, 0ms) + 70ms); }
  .display--hero .w:nth-child(3), .display--page .w:nth-child(3) { animation-delay: calc(var(--intro, 0ms) + 140ms); }
  .display--hero .w:nth-child(4), .display--page .w:nth-child(4) { animation-delay: calc(var(--intro, 0ms) + 210ms); }
  h1.display .dot { display: inline-block; transform-origin: 50% 80%; animation: dot-in 700ms cubic-bezier(0.3, 1.9, 0.5, 1) calc(var(--intro, 0ms) + 520ms) both; }
  .panel { animation: panel-in 700ms calc(var(--intro, 0ms) + 200ms) cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .prow, .panel-prompt { animation: type-in 520ms steps(14, end) both; }
  .prow:nth-child(1) { animation-delay: calc(var(--intro, 0ms) + 500ms); }
  .prow:nth-child(2) { animation-delay: calc(var(--intro, 0ms) + 680ms); }
  .prow:nth-child(3) { animation-delay: calc(var(--intro, 0ms) + 860ms); }
  .prow:nth-child(4) { animation-delay: calc(var(--intro, 0ms) + 1040ms); }
  .prow:nth-child(5) { animation-delay: calc(var(--intro, 0ms) + 1220ms); }
  .panel-prompt { animation-delay: calc(var(--intro, 0ms) + 1400ms); }

  /* Opening: het label start op. */
  .page:has(.boot) { --intro: 1100ms; }
  .boot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 25;
    padding: 0 var(--gutter);
    background: var(--night);
    color: var(--steel);
    font-family: var(--mono);
    font-size: clamp(15px, 1.6vw, 20px);
    pointer-events: none;
    animation: curtain 560ms cubic-bezier(0.7, 0, 0.2, 1) 1000ms both;
  }
  .boot p { margin: 0; animation: type-in 260ms steps(16, end) both; }
  .boot p:nth-child(2) { animation-delay: 180ms; }
  .boot p:nth-child(3) { animation-delay: 360ms; }
  .boot p:nth-child(4) { animation-delay: 540ms; }
  .boot b { font-weight: 400; color: var(--paper); }
  .boot .ok { color: var(--live); }
  .boot .go { color: var(--violet); }

  /* Kunnen we je helpen en de check: het antwoord komt binnen. De markten wisselen. */
  .cycle > span + span { visibility: visible; }
  .cycle > span { animation: cycle 10s cubic-bezier(0.7, 0, 0.2, 1) infinite both; }
  .cycle > span:nth-child(2) { animation-delay: -7.5s; }
  .cycle > span:nth-child(3) { animation-delay: -5s; }
  .cycle > span:nth-child(4) { animation-delay: -2.5s; }

  /* Naar een andere pagina: de kop blijft staan, de inhoud komt in drie banen binnen, het back office voorop. */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: kop; }
  ::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
  ::view-transition-old(root) { animation: none; }
  ::view-transition-new(root) { animation: bands 640ms cubic-bezier(0.7, 0, 0.2, 1) both; }
}
@keyframes blink { 50% { visibility: hidden; } }
@keyframes word-in { from { transform: translateY(0.32em); } }
@keyframes dot-in { from { transform: scale(0); } }
@keyframes panel-in { from { transform: translateY(24px); } }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); } }
@keyframes cycle {
  0% { transform: translateY(105%); }
  5%, 22% { transform: none; }
  27%, 100% { transform: translateY(-105%); }
}
@keyframes bands {
  0% { clip-path: polygon(0 0, 0 0, 0 34%, 0 34%, 0 68%, 0 68%, 0 100%, 0 100%); }
  55% { clip-path: polygon(0 0, 35% 0, 35% 34%, 70% 34%, 70% 68%, 100% 68%, 100% 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 34%, 100% 34%, 100% 68%, 100% 68%, 100% 100%, 0 100%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn::before, .navlink::after, .tab, .chip, .model-tabs label, .model-mark rect, .tree-dir summary::before, .faq summary::after { transition: none; }
  .tp, .tp-metric, .check-result, .pick-answer, .model-copy, .tree-dir ul, .faq-a { animation: none !important; }
}

/* Beweging bij het scrollen: lijnen tekenen zich, koppen komen omhoog, de lagen en het spoor worden scènes.
   Alleen waar de browser het kan, en alleen als niemand om minder beweging vraagt. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rule-top { position: relative; border-top-color: transparent; }
    .rule-top::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--rule); transform-origin: left center; animation: draw linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .display:not(.display--hero):not(.display--page):not(.display--contact), .statement, .label-cycle { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .display:not(h1) .dot { display: inline-block; transform-origin: 50% 80%; animation: land linear both; animation-timeline: view(); animation-range: entry 50% cover 45%; }

    /* De lijn onder de kop is ook de voortgang. */
    .site-header-inner::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left center; animation: draw linear both; animation-timeline: scroll(root); }
    .site-header:has(.menu[open]) .site-header-inner::before { display: none; }

    /* Drie lagen als scène. Het teken bouwt zich op, dan schuift het back office in violet over het hele beeld. */
    .layers-track { height: 420svh; view-timeline-name: --engine; view-timeline-inset: var(--header-h) 0px; }
    .layers-stage {
      position: sticky;
      top: var(--header-h);
      height: calc(100svh - var(--header-h));
      margin: 0 calc(-1 * var(--gutter));
      padding: clamp(24px, 4vw, 48px) var(--gutter);
      box-sizing: border-box;
      overflow: hidden;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 24px;
    }
    .layers-mark { display: block; width: min(100%, 80vw, 34svh * 1.2); height: auto; justify-self: start; color: var(--paper); }
    .layers-mark rect { transform-box: fill-box; transform-origin: left center; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --engine; }
    .layers-mark .lm-spine { transform-origin: center bottom; animation-name: grow-y; animation-range: entry 60% contain 10%; }
    .layers-mark .lm-front { stroke-dasharray: 140; animation-name: trace; animation-range: contain 6% contain 22%; }
    .layers-mark .lm-mid { animation-name: bar; animation-range: contain 34% contain 48%; }
    .layers-mark .lm-back { fill: var(--violet); animation-name: bar; animation-range: contain 60% contain 72%; }
    .layers-panels { display: grid; align-self: start; }
    .layers-panels > .layer { grid-area: 1 / 1; }
    .layers-track .layer--front, .layers-track .layer--mid { animation: panel linear both; animation-timeline: --engine; }
    .layers-track .layer--front { animation-range: contain 4% contain 36%; }
    .layers-track .layer--mid { animation-range: contain 32% contain 62%; }
    .layers-track .layer--front h2 { font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -0.02em; }
    .layers-track .layer--mid h2 { font-size: clamp(40px, 6vw, 96px); letter-spacing: -0.03em; line-height: 1; }
    .layers-track .rule-top::before { animation: none; transform: none; }
    .layers-track .display { animation: none; }
    .layers-track .layer--back {
      grid-area: auto;
      position: absolute;
      inset: 0;
      z-index: 2;
      align-content: center;
      padding: clamp(24px, 5vw, 64px) var(--gutter);
      animation: takeover linear both;
      animation-timeline: --engine;
      animation-range: contain 72% contain 88%;
    }
    @media (min-width: 900px) {
      .layers-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); }
      .layers-stage > .eyebrow { grid-column: 1 / -1; }
      .layers-mark { width: min(100%, 560px, 56svh * 1.2); }
      .layers-panels { align-self: center; }
    }

    /* Het spoor als scène: de lijn trekt van fase 1 naar 5, elke halte wordt vol, de fase staat groot in beeld. */
    .rail-track { height: 520svh; view-timeline-name: --rail; view-timeline-inset: var(--header-h) 0px; }
    .rail-stage {
      position: sticky;
      top: var(--header-h);
      height: calc(100svh - var(--header-h));
      box-sizing: border-box;
      padding: clamp(24px, 4vw, 48px) 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: clamp(20px, 3vw, 40px);
    }
    .rail-stage .display { animation: none; }
    .rail-stage .section-intro { margin: 0; }
    .rail-line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; margin-top: 12px; border-top: 1px solid var(--wire); }
    .rail-line::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--violet); transform: scaleX(0); transform-origin: left center; animation: draw linear both; animation-timeline: --rail; animation-range: contain 0% contain 100%; }
    .rail-stop { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 22px; }
    .rail-stop::before { content: ""; position: absolute; left: 0; top: -9px; width: 16px; height: 16px; box-sizing: border-box; border: 3px solid var(--violet); background: var(--night); animation: stop linear both; animation-timeline: --rail; }
    .rail-stop:nth-child(1)::before { animation-range: contain 0% contain 1%; }
    .rail-stop:nth-child(2)::before { animation-range: contain 19% contain 20%; }
    .rail-stop:nth-child(3)::before { animation-range: contain 39% contain 40%; }
    .rail-stop:nth-child(4)::before { animation-range: contain 59% contain 60%; }
    .rail-stop:nth-child(5)::before { animation-range: contain 79% contain 80%; }
    .rail-num { font-family: var(--mono); font-size: 13px; color: var(--violet); }
    .rail-name { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
    .rail-panels { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; margin: 0; }
    .rail-panels > .rail-panel { grid-area: 1 / 1; padding: 0; border-top: 0; animation: panel linear both; animation-timeline: --rail; }
    .rail-panels > .rail-panel::before { display: none; }
    .rail-panels > :nth-child(1) { animation-range: entry 70% contain 22%; }
    .rail-panels > :nth-child(2) { animation-range: contain 18% contain 42%; }
    .rail-panels > :nth-child(3) { animation-range: contain 38% contain 62%; }
    .rail-panels > :nth-child(4) { animation-range: contain 58% contain 82%; }
    .rail-panels > :nth-child(5) { animation-name: panel-in; animation-range: contain 78% contain 100%; }
    .rail-panel h3 { font-size: min(clamp(32px, 5.6vw, 88px), 10svh); letter-spacing: -0.03em; }
    .rail-panel p { font-size: clamp(20px, 1.8vw, 24px); }
    @media (max-width: 699px) { .rail-name { display: none; } }

    /* Slotregel: de woorden komen een voor een omhoog, de punt als laatste. */
    .display--contact { view-timeline-name: --slot; }
    .display--contact .w { animation: rise-word linear both; animation-timeline: --slot; }
    .display--contact .w:nth-child(1) { animation-range: entry 10% entry 70%; }
    .display--contact .w:nth-child(2) { animation-range: entry 30% entry 90%; }
    .display--contact .w:nth-child(3) { animation-range: entry 50% cover 45%; }
    .display--contact .w:nth-child(4) { animation-range: entry 60% cover 50%; }
    .face-photo img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .display--contact .dot { animation-timeline: --slot; animation-range: cover 35% cover 55%; }
    .step::before { animation: stop linear both; animation-timeline: view(); animation-range: entry 60% cover 40%; }
  }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
@keyframes rise-word { from { transform: translateY(0.5em); } to { transform: none; } }
@keyframes land { 0% { transform: scale(0); } 70% { transform: scale(1.4); } 100% { transform: none; } }
@keyframes panel {
  0% { transform: translateY(48px); clip-path: inset(0 0 100% 0); }
  22%, 78% { transform: none; clip-path: inset(0); }
  100% { transform: translateY(-48px); clip-path: inset(100% 0 0 0); }
}
@keyframes panel-in {
  0% { transform: translateY(48px); clip-path: inset(0 0 100% 0); }
  30%, 100% { transform: none; clip-path: inset(0); }
}
@keyframes stop { to { background: var(--violet); } }
@keyframes takeover { from { transform: translateY(100%); } to { transform: none; } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes trace { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }
