/* ============================================================
   TOWERLY, website versie 2
   Eén stylesheet, geen build-stap, geen framework.
   Tokens op :root. Donker herdefinieert alleen kleuren, zowel
   via prefers-color-scheme als via [data-theme="dark"].
   ============================================================ */

:root {
  /* merk */
  --merk-licht: #35bcd8;
  --merk-mid: #398aca;
  --merk-navy: #113f71;

  /* vlakken en inkt (licht) */
  --ground: #f7fbfd;
  --surface: #ffffff;
  --sunken: #ecf4f8;
  --line: #d6e4ec;
  --line-zacht: #e6eff4;
  --ink: #08192a;
  --ink-2: #3d5568;
  --ink-3: #5a7183;
  --kopkleur: #113f71;
  --link: #0f7595;
  --link-hover: #113f71;

  /* console-donker, blijft in beide thema's donker */
  --console: #081827;
  --console-diep: #040e19;
  --console-hoog: #0e2438;
  --console-lijn: rgba(53, 188, 216, .18);
  --console-ink: #eaf4f9;
  --console-ink-2: #9fbacc;
  --console-accent: #3fc8e4;

  /* verlopen */
  --grad-merk: linear-gradient(135deg, #35bcd8, #398aca 55%, #113f71);
  /* donkerder dan het merkverloop: witte knoptekst haalt zo 4,5:1 */
  --grad-knop: linear-gradient(135deg, #2a76ae, #1f66a0 45%, #113f71);
  --grad-cta: linear-gradient(135deg, #0f6a88, #2a6099 52%, #0c2f57);
  --grad-donker: linear-gradient(135deg, #35bcd8, #398aca 60%, #5a9bd8);

  /* status */
  --ok: #00734e;      --ok-bg: rgba(0, 214, 143, .12);
  --info: #0f7595;    --info-bg: rgba(53, 188, 216, .14);
  --warn: #8a5a00;    --warn-bg: rgba(255, 176, 32, .14);
  --uit: #566e80;     --uit-bg: #ecf4f8;

  /* vorm */
  --r-klein: 12px;
  --r-tegel: 16px;
  --r-kaart: 24px;
  --schaduw: 0 1px 2px rgba(8, 25, 42, .05), 0 8px 24px -12px rgba(8, 25, 42, .18);
  --schaduw-hoog: 0 4px 12px rgba(8, 25, 42, .09), 0 16px 40px -16px rgba(8, 25, 42, .22);
  --schaduw-console: 0 50px 90px -44px rgba(0, 0, 0, .55);

  /* type */
  --kop: Archivo, "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* ritme */
  --breedte: 1180px;
  --gutter: 16px;
  --sectie: clamp(64px, 8vw, 116px);
}

@media (min-width: 600px) { :root { --gutter: 24px; } }

/* donker via systeemvoorkeur */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-thema="licht"]) {
    --ground: #040e19;
    --surface: #081827;
    --sunken: #0e2438;
    --line: rgba(53, 188, 216, .2);
    --line-zacht: rgba(53, 188, 216, .12);
    --ink: #eaf4f9;
    --ink-2: #b6cddb;
    --ink-3: #9fbacc;
    --kopkleur: #dbeefa;
    --link: #3fc8e4;
    --link-hover: #7bd9ee;
    --grad-knop: linear-gradient(135deg, #35bcd8, #398aca 60%, #5a9bd8);
    --grad-merk: linear-gradient(135deg, #35bcd8, #398aca 60%, #5a9bd8);
    --ok: #5ec899;     --ok-bg: rgba(0, 214, 143, .14);
    --info: #3fc8e4;   --info-bg: rgba(53, 188, 216, .16);
    --warn: #e6b168;   --warn-bg: rgba(255, 176, 32, .14);
    --uit: #9fbacc;    --uit-bg: rgba(159, 186, 204, .14);
    --schaduw: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --schaduw-hoog: 0 4px 14px rgba(0, 0, 0, .5), 0 18px 44px -16px rgba(0, 0, 0, .75);
    --schaduw-console: 0 40px 80px -44px rgba(0, 0, 0, .9);
  }
}

/* donker afgedwongen met een attribuut */
:root[data-theme="dark"], :root[data-thema="donker"] {
  --ground: #040e19;
  --surface: #081827;
  --sunken: #0e2438;
  --line: rgba(53, 188, 216, .2);
  --line-zacht: rgba(53, 188, 216, .12);
  --ink: #eaf4f9;
  --ink-2: #b6cddb;
  --ink-3: #9fbacc;
  --kopkleur: #dbeefa;
  --link: #3fc8e4;
  --link-hover: #7bd9ee;
  --grad-knop: linear-gradient(135deg, #35bcd8, #398aca 60%, #5a9bd8);
  --grad-merk: linear-gradient(135deg, #35bcd8, #398aca 60%, #5a9bd8);
  --ok: #5ec899;     --ok-bg: rgba(0, 214, 143, .14);
  --info: #3fc8e4;   --info-bg: rgba(53, 188, 216, .16);
  --warn: #e6b168;   --warn-bg: rgba(255, 176, 32, .14);
  --uit: #9fbacc;    --uit-bg: rgba(159, 186, 204, .14);
  --schaduw: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --schaduw-hoog: 0 4px 14px rgba(0, 0, 0, .5), 0 18px 44px -16px rgba(0, 0, 0, .75);
  --schaduw-console: 0 40px 80px -44px rgba(0, 0, 0, .9);
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
svg { display: block; }
img { height: auto; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, h4 {
  font-family: var(--kop); color: var(--kopkleur); margin: 0;
  text-wrap: balance; letter-spacing: -.02em;
}
h1 { font-weight: 700; font-size: clamp(2.4rem, 5.4vw, 4.5rem); line-height: 1.02; }
h2 { font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; }
h3 { font-weight: 600; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.25; }
h4 { font-weight: 600; font-size: 1rem; }
p { margin: 0 0 1em; max-width: 65ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { font-weight: 600; color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.overslaan {
  position: absolute; left: 12px; top: -90px; z-index: 100;
  background: var(--surface); color: var(--kopkleur);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; font-weight: 600; text-decoration: none;
  transition: top .18s ease;
}
.overslaan:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--breedte); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-smal { max-width: 860px; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3);
  margin: 0;
}
.merkering { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.merkering::before {
  content: ""; flex: 0 0 auto; width: 13px; height: 15px;
  background: var(--grad-merk);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.lood { font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.klein { font-size: .86rem; color: var(--ink-2); }
.mono { font-family: var(--mono); }
.cijfer { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.midden { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- iconen (één sprite met <symbol>, elk eigen viewBox) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 24px; height: 24px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-klein { width: 18px; height: 18px; }
.ic-groot { width: 30px; height: 30px; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 11px 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .97rem; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primair { background: var(--grad-knop); color: #fff; box-shadow: var(--schaduw); }
.btn-primair:hover { color: #fff; box-shadow: var(--schaduw-hoog); }
.btn-secundair { background: var(--surface); color: var(--kopkleur); border-color: var(--line); }
.btn-secundair:hover { color: var(--kopkleur); border-color: var(--merk-mid); }
.btn-klein { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-thema="licht"]) .btn-primair,
  :root:not([data-theme="light"]):not([data-thema="licht"]) .btn-primair:hover { color: #04121d; }
}
:root[data-theme="dark"] .btn-primair, :root[data-theme="dark"] .btn-primair:hover { color: #04121d; }

/* knoppen op een altijd donker vlak */
.op-donker .btn-primair { background: var(--grad-donker); color: #04121d; }
.op-donker .btn-primair:hover { color: #04121d; }
.op-donker .btn-secundair { background: transparent; color: var(--console-accent); border-color: rgba(53, 188, 216, .42); }
.op-donker .btn-secundair:hover { color: #fff; border-color: var(--console-accent); }
.op-donker :focus-visible { outline-color: var(--console-accent); }

/* ---------- statuspillen ---------- */
.pill {
  display: inline-flex; align-items: center; width: max-content;
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-uit { background: var(--uit-bg); color: var(--uit); }
.op-donker .pill-ok { background: rgba(0, 214, 143, .14); color: #5ec899; }
.op-donker .pill-info { background: rgba(53, 188, 216, .16); color: var(--console-accent); }
.op-donker .pill-warn { background: rgba(255, 176, 32, .16); color: #e6b168; }
.op-donker .pill-uit { background: rgba(159, 186, 204, .14); color: var(--console-ink-2); }

/* ---------- hexagon-lijnenpatroon achter donkere panelen ---------- */
.hexpatroon { position: relative; isolation: isolate; }
.hexpatroon::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27.71' height='48' viewBox='0 0 27.71 48'%3E%3Cg fill='none' stroke='%2335bcd8' stroke-opacity='.5' stroke-width='.9'%3E%3Cpath d='M0 -16 13.86 -8 13.86 8 0 16 -13.86 8 -13.86 -8Z'/%3E%3Cpath d='M27.71 -16 41.57 -8 41.57 8 27.71 16 13.86 8 13.86 -8Z'/%3E%3Cpath d='M13.86 8 27.72 16 27.72 32 13.86 40 0 32 0 16Z'/%3E%3Cpath d='M0 32 13.86 40 13.86 56 0 64 -13.86 56 -13.86 40Z'/%3E%3Cpath d='M27.71 32 41.57 40 41.57 56 27.71 64 13.86 56 13.86 40Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 83px 144px;
  opacity: .28;
  -webkit-mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 100% 0%, #000 0%, transparent 72%);
}

/* ---------- navigatie ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-zacht);
}
.site-nav .wrap { display: flex; align-items: center; gap: 16px; min-height: 70px; padding-top: 10px; padding-bottom: 10px; }
.merk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.merk-naam { font-family: var(--kop); font-weight: 700; font-size: 1.4rem; letter-spacing: -.035em; color: var(--kopkleur); }
.merk svg { width: 32px; height: 32px; }

.nav-lijst { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-lijst li { margin: 0; flex: 0 0 auto; }
.nav-lijst a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 11px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap;
}
.nav-lijst a:not(.btn):hover { color: var(--kopkleur); background: var(--sunken); }
.nav-lijst a:not(.btn)[aria-current="page"] { color: var(--kopkleur); font-weight: 600; }
.nav-lijst .nav-knop { margin-left: 8px; }

.nav-schakel {
  display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: var(--surface); color: var(--kopkleur);
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-schakel { display: inline-flex; }
  .nav-lijst {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--ground); border-bottom: 1px solid var(--line);
    box-shadow: var(--schaduw-hoog);
  }
  .nav-lijst.open { display: flex; }
  .nav-lijst a:not(.btn) { min-height: 48px; padding: 0 14px; font-size: 1rem; }
  .nav-lijst .nav-knop { margin: 10px 0 0; }
  .nav-lijst .nav-knop .btn { width: 100%; }
}

/* ---------- apparaatlijsten om de schermafbeeldingen ---------- */
.apparaat {
  position: relative; border-radius: 20px; padding: 7px;
  background: linear-gradient(160deg, #1b3b55, #08192a 70%);
  border: 1px solid rgba(53, 188, 216, .22);
  box-shadow: 0 30px 60px -30px rgba(4, 18, 29, .6), 0 2px 8px rgba(4, 18, 29, .22);
}
.apparaat img { display: block; width: 100%; border-radius: 14px; background: var(--console-hoog); }
.apparaat::after {
  content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .05) 16%, rgba(255, 255, 255, 0) 38%);
}
.apparaat-telefoon { border-radius: 30px; padding: 6px; }
.apparaat-telefoon img { border-radius: 25px; }
.apparaat-telefoon::after { border-radius: 30px; }

/* zachte zweefbeweging */
@keyframes tw-zweef { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.zweeft { animation: tw-zweef 6s ease-in-out infinite; }

/* gekanteld in de hero, met lichte parallax op muisbeweging */
.kantel {
  transform:
    perspective(1400px)
    rotateY(calc(-9deg + var(--px, 0) * 4deg))
    rotateX(calc(3deg + var(--py, 0) * -3deg))
    translateZ(0);
  transition: transform .5s cubic-bezier(.22, .8, .24, 1);
  transform-style: preserve-3d;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--console); color: var(--console-ink);
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: -280px; width: 900px; height: 620px;
  transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(53, 188, 216, .34), rgba(53, 188, 216, .08) 55%, transparent 78%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lood { color: var(--console-ink-2); max-width: 54ch; }
.hero .eyebrow { color: var(--console-accent); }
.hero .merkering::before { background: var(--grad-donker); }
.hero-raster { display: grid; gap: clamp(36px, 5vw, 60px); align-items: center; }
@media (min-width: 1000px) { .hero-raster { grid-template-columns: 1.02fr 1fr; } }
.hero-intro { display: flex; flex-direction: column; gap: 24px; }
.hero-feiten { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.hero-feiten li { margin: 0; font-size: .85rem; color: var(--console-ink-2); display: flex; align-items: center; gap: 9px; }
.hero-feiten li::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 10px; background: var(--merk-licht);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hero-beeld { position: relative; }
.hero-beeld .bijschrift { margin-top: 14px; color: var(--console-ink-2); font-size: .8rem; }

/* ---------- cijferband onder de hero ---------- */
.cijferband { background: var(--console-diep); color: var(--console-ink); padding: clamp(28px, 4vw, 44px) 0; }
.cijferband-raster { display: grid; gap: 18px; }
@media (min-width: 760px) { .cijferband-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cijfertegel {
  border: 1px solid var(--console-lijn); border-radius: var(--r-tegel);
  background: rgba(53, 188, 216, .05); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.cijfertegel .groot {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.05; color: #fff;
}
.cijfertegel .groot .eenheid { font-size: .42em; color: var(--console-accent); margin-left: .4em; letter-spacing: .04em; }
.cijfertegel .label { font-size: .88rem; color: var(--console-ink-2); }
.cijfertegel .eyebrow { color: var(--console-accent); }
.cijferband .voetnoot { margin-top: 18px; font-size: .78rem; color: var(--console-ink-2); max-width: none; }

/* ---------- secties ---------- */
.sectie { padding: var(--sectie) 0; }
.sectie-zacht { background: var(--sunken); }
.sectie-kop { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 48px); }
.sectie-kop p { margin-top: 16px; }

.raster { display: grid; gap: 20px; }
.raster-2 { grid-template-columns: 1fr; }
.raster-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .raster-2, .raster-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.kaart {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-kaart); padding: clamp(20px, 3vw, 28px);
  display: flex; flex-direction: column; gap: 12px;
}
.kaart h3 { color: var(--ink); }
.kaart p { color: var(--ink-2); font-size: .95rem; }
.kaart .ic { color: var(--link); }

/* ---------- vandaag tegenover Towerly ---------- */
.vergelijk { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .vergelijk { grid-template-columns: 1fr 1fr; gap: 24px; } }
.vergelijk-kolom { border-radius: var(--r-kaart); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); background: var(--surface); }
.vergelijk-kolom.nu { background: var(--sunken); }
.vergelijk-kolom.straks { background: var(--console); border-color: var(--console-lijn); color: var(--console-ink); box-shadow: var(--schaduw-console); }
.vergelijk-kolom.straks h3, .vergelijk-kolom.straks h2 { color: #fff; }
.vergelijk-kolom.straks .eyebrow { color: var(--console-accent); }
.vergelijk-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.vergelijk-kop .tijd { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--ink-3); }
.vergelijk-kolom.straks .vergelijk-kop .tijd { color: var(--console-ink-2); }
.vergelijk-lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.vergelijk-lijst li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start;
  margin: 0; padding: 14px 0; border-top: 1px solid var(--line-zacht);
}
.vergelijk-kolom.straks .vergelijk-lijst li { border-top-color: var(--console-lijn); }
.vergelijk-lijst li:first-child { border-top: 0; padding-top: 0; }
.vergelijk-lijst .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--ink-3); }
.vergelijk-kolom.straks .vergelijk-lijst .ic { color: var(--console-accent); }
.vergelijk-lijst strong { display: block; color: var(--ink); font-size: .98rem; }
.vergelijk-kolom.straks .vergelijk-lijst strong { color: #fff; }
.vergelijk-lijst p { margin: 2px 0 0; font-size: .9rem; color: var(--ink-2); }
.vergelijk-kolom.straks .vergelijk-lijst p { color: var(--console-ink-2); }

/* ============================================================
   DE SCHERMEN
   Eén stuk HTML, twee verschijningsvormen:
   tot 900 px een scroll-snap carrousel met de duim,
   vanaf 900 px (en met JavaScript) een coverflow met diepte.
   ============================================================ */
.schermen { position: relative; }
.sch-scene { position: relative; }
.sch-spoor {
  list-style: none; margin: 0; padding: 4px 0 20px;
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.sch-spoor::-webkit-scrollbar { display: none; }
.sch-spoor > li { margin: 0; flex: 0 0 86%; scroll-snap-align: center; }
.sch-spoor > li:first-child { margin-left: 2px; }
.sch-spoor > li:last-child { margin-right: 2px; }
.sch-dia { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.sch-dia figcaption { display: flex; flex-direction: column; gap: 4px; }
.sch-dia .sch-dienst {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--link);
}
.sch-dia .sch-regel { font-size: .95rem; color: var(--ink-2); margin: 0; }

.sch-bediening { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.sch-pijl {
  width: 48px; height: 48px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--kopkleur);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.sch-pijl:hover { border-color: var(--merk-mid); }
.sch-pijl[disabled] { opacity: .35; cursor: default; }
.sch-punten { display: flex; gap: 9px; align-items: center; }
/* de knop is 44 px hoog voor de duim, de zeshoek erin is klein */
.sch-punt {
  width: 30px; height: 44px; padding: 0; border: 0; cursor: pointer; background: none;
  display: flex; align-items: center; justify-content: center;
}
.sch-punt-vorm {
  width: 13px; height: 15px; background: var(--line);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: background-color .2s ease;
}
.sch-punt[aria-current="true"] .sch-punt-vorm { background: var(--grad-merk); }
.sch-punt:hover .sch-punt-vorm { background: var(--merk-mid); }
.sch-punten { gap: 2px; }
.sch-hint { margin-top: 14px; text-align: center; }

/* op een telefoon moeten pijlen en puntjes op één regel passen */
@media (max-width: 620px) {
  .sch-bediening { gap: 6px; }
  .sch-punt { width: 22px; }
  .sch-punten { gap: 0; }
}

/* zonder JavaScript zijn de pijlen zinloos */
html:not(.js) .sch-bediening { display: none; }

@media (min-width: 900px) {
  .js .schermen.is-3d .sch-scene { perspective: 1400px; overflow: hidden; padding: 10px 0 0; }
  .js .schermen.is-3d .sch-spoor {
    display: block; position: relative; overflow: visible; padding: 0;
    transform-style: preserve-3d; scroll-snap-type: none; touch-action: pan-y;
  }
  .js .schermen.is-3d .sch-spoor > li {
    position: absolute; top: 0; left: 50%; width: 62%; margin: 0 0 0 -31%;
    transform: translate3d(var(--x, 0px), 0, var(--z, 0px)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
    opacity: var(--o, 1); z-index: var(--laag, 1);
    transition: transform .56s cubic-bezier(.16, .84, .28, 1), opacity .45s ease, filter .45s ease;
    filter: brightness(var(--helder, 1));
  }
  .js .schermen.is-3d .sch-spoor > li:not([data-actief]) { cursor: pointer; }
  .js .schermen.is-3d .sch-spoor > li[data-ver] { pointer-events: none; }
  .js .schermen.is-3d .sch-dia figcaption { opacity: 0; transition: opacity .4s ease; }
  .js .schermen.is-3d .sch-spoor > li[data-actief] .sch-dia figcaption { opacity: 1; }
  .js .schermen.is-3d .sch-spoor > li[data-actief] .apparaat {
    -webkit-box-reflect: below 10px linear-gradient(to bottom, transparent 62%, rgba(255, 255, 255, .16));
  }
  .js .schermen.is-3d .sch-vloer {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: 4px;
    width: 68%; height: 46px; pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(8, 25, 42, .22), transparent 72%);
  }
}
.sch-vloer { display: none; }
@media (min-width: 900px) { .js .schermen.is-3d .sch-vloer { display: block; } }

/* ---------- telefoonstrook ---------- */
.telefoonstrook { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 820px) { .telefoonstrook { grid-template-columns: 260px minmax(0, 1fr); } }

/* ============================================================
   SCROLL-OPBOUW VAN HET LOGO
   Een sticky scherm waarin de toren zich laag voor laag vult.
   CSS scroll-driven animations, met een IntersectionObserver
   als terugval. Gewoon scrollen blijft gewoon scrollen.
   ============================================================ */
.toren-bouw { position: relative; background: var(--sunken); }
.tb-sticky { display: flex; align-items: center; padding: var(--sectie) 0; }
.tb-raster { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.tb-lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tb-item {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px;
  margin: 0; padding: 15px 0; border-top: 1px solid var(--line);
}
.tb-item:last-child { border-bottom: 1px solid var(--line); }
.tb-item h3 { color: var(--ink); margin-bottom: 3px; font-size: 1.02rem; }
.tb-item p { margin: 0 0 8px; font-size: .9rem; color: var(--ink-2); }
.tb-diensten { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tb-diensten li { margin: 0; }
.tb-nr {
  width: 32px; height: 37px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .7rem; color: var(--link); background: var(--info-bg);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.tb-beeld {
  background: var(--console); border: 1px solid var(--console-lijn);
  border-radius: var(--r-kaart); padding: clamp(24px, 4vw, 44px);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  box-shadow: var(--schaduw-console);
}
.tb-beeld svg.tb-logo { width: min(240px, 62vw); height: auto; }
.tb-beeld .eyebrow { color: var(--console-ink-2); text-align: center; }
.tb-voortgang { width: 100%; height: 3px; border-radius: 2px; background: rgba(53, 188, 216, .16); overflow: hidden; }
.tb-voortgang span { display: block; height: 100%; width: 0; background: var(--grad-donker); }

@media (min-width: 900px) {
  /* alleen met JavaScript is de sectie hoog en plakkend: zonder JS staat de
     toren meteen af en zou die hoogte alleen maar leegte opleveren */
  .js .toren-bouw { min-height: 320vh; }
  .js .tb-sticky { position: sticky; top: 0; min-height: 100vh; }
  .tb-raster { grid-template-columns: minmax(0, 1fr) minmax(0, .74fr); }

  .js .tb-hex { stroke-dasharray: 90; stroke-dashoffset: 90; opacity: .25; }
  .js .tb-laag { transform-box: fill-box; transform-origin: center bottom; opacity: 0; transform: translateY(6px) scaleY(.6); }
  .js .tb-baken { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.4); }
  .js .tb-item { opacity: .3; transition: opacity .4s ease; }
  .js .tb-item .tb-nr { background: var(--sunken); color: var(--ink-3); transition: background-color .4s ease, color .4s ease; }
  .js .tb-hex, .js .tb-laag, .js .tb-baken { transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1), stroke-dashoffset .9s ease; }
  .js .tb-voortgang span { transition: width .5s ease; }

  .toren-bouw.stap-1 .tb-hex, .toren-bouw.stap-2 .tb-hex, .toren-bouw.stap-3 .tb-hex,
  .toren-bouw.stap-4 .tb-hex, .toren-bouw.stap-5 .tb-hex { stroke-dashoffset: 0; opacity: 1; }
  .toren-bouw.stap-2 .tb-laag.l1,
  .toren-bouw.stap-3 .tb-laag.l1, .toren-bouw.stap-3 .tb-laag.l2,
  .toren-bouw.stap-4 .tb-laag.l1, .toren-bouw.stap-4 .tb-laag.l2, .toren-bouw.stap-4 .tb-laag.l3,
  .toren-bouw.stap-5 .tb-laag { opacity: 1; transform: none; }
  .toren-bouw.stap-5 .tb-baken { opacity: 1; transform: scale(1); }
  .toren-bouw.stap-1 .tb-item.i1,
  .toren-bouw.stap-2 .tb-item.i1, .toren-bouw.stap-2 .tb-item.i2,
  .toren-bouw.stap-3 .tb-item.i1, .toren-bouw.stap-3 .tb-item.i2, .toren-bouw.stap-3 .tb-item.i3,
  .toren-bouw.stap-4 .tb-item.i1, .toren-bouw.stap-4 .tb-item.i2, .toren-bouw.stap-4 .tb-item.i3, .toren-bouw.stap-4 .tb-item.i4,
  .toren-bouw.stap-5 .tb-item { opacity: 1; }
  .toren-bouw.stap-1 .tb-item.i1 .tb-nr,
  .toren-bouw.stap-2 .tb-item.i1 .tb-nr, .toren-bouw.stap-2 .tb-item.i2 .tb-nr,
  .toren-bouw.stap-3 .tb-item.i1 .tb-nr, .toren-bouw.stap-3 .tb-item.i2 .tb-nr, .toren-bouw.stap-3 .tb-item.i3 .tb-nr,
  .toren-bouw.stap-4 .tb-item.i1 .tb-nr, .toren-bouw.stap-4 .tb-item.i2 .tb-nr, .toren-bouw.stap-4 .tb-item.i3 .tb-nr, .toren-bouw.stap-4 .tb-item.i4 .tb-nr,
  .toren-bouw.stap-5 .tb-item .tb-nr { background: var(--info-bg); color: var(--link); }
}

.tb-markers { position: absolute; inset: 0; pointer-events: none; }
.tb-markers span { position: absolute; left: 0; width: 1px; height: 1px; }
.tb-markers span.m1 { top: 14%; }
.tb-markers span.m2 { top: 32%; }
.tb-markers span.m3 { top: 46%; }
.tb-markers span.m4 { top: 60%; }
.tb-markers span.m5 { top: 74%; }

@supports (animation-timeline: view()) {
  @media (min-width: 900px) {
    .js .toren-bouw { view-timeline-name: --toren; view-timeline-axis: block; }
    .js .toren-bouw .tb-hex,
    .js .toren-bouw .tb-laag,
    .js .toren-bouw .tb-baken,
    .js .toren-bouw .tb-item,
    .js .toren-bouw .tb-voortgang span {
      animation-timeline: --toren; animation-fill-mode: both;
      animation-timing-function: linear; animation-duration: auto; transition: none;
    }
    .js .toren-bouw .tb-hex { animation-name: tb-trek; animation-range: 10% 28%; }
    .js .toren-bouw .tb-laag.l1 { animation-name: tb-laag; animation-range: 30% 41%; }
    .js .toren-bouw .tb-laag.l2 { animation-name: tb-laag; animation-range: 42% 53%; }
    .js .toren-bouw .tb-laag.l3 { animation-name: tb-laag; animation-range: 54% 65%; }
    .js .toren-bouw .tb-baken { animation-name: tb-baken; animation-range: 66% 78%; }
    .js .toren-bouw .tb-voortgang span { animation-name: tb-balk; animation-range: 10% 80%; }
    .js .toren-bouw .tb-item.i1 { animation-name: tb-aan; animation-range: 12% 22%; }
    .js .toren-bouw .tb-item.i2 { animation-name: tb-aan; animation-range: 30% 38%; }
    .js .toren-bouw .tb-item.i3 { animation-name: tb-aan; animation-range: 42% 50%; }
    .js .toren-bouw .tb-item.i4 { animation-name: tb-aan; animation-range: 54% 62%; }
    .js .toren-bouw .tb-item.i5 { animation-name: tb-aan; animation-range: 66% 74%; }
  }
}
@keyframes tb-trek { from { stroke-dashoffset: 90; opacity: .25 } to { stroke-dashoffset: 0; opacity: 1 } }
@keyframes tb-laag { from { opacity: 0; transform: translateY(6px) scaleY(.6) } to { opacity: 1; transform: none } }
@keyframes tb-baken { 0% { opacity: 0; transform: scale(.4) } 70% { opacity: 1; transform: scale(1.22) } 100% { opacity: 1; transform: scale(1) } }
@keyframes tb-balk { from { width: 0 } to { width: 100% } }
@keyframes tb-aan { from { opacity: .3 } to { opacity: 1 } }

/* ============================================================
   BESPARINGSCALCULATOR
   ============================================================ */
.calc-sectie { background: var(--sunken); }
.calc { display: grid; gap: clamp(24px, 3vw, 36px); align-items: start; }
@media (min-width: 980px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }

.calc-paneel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-kaart); padding: clamp(20px, 3vw, 30px);
}
.calc-velden { display: flex; flex-direction: column; gap: 20px; }
.calc-veld { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 6px 14px; align-items: center; }
.calc-veld > label { grid-column: 1 / -1; font-size: .94rem; font-weight: 600; color: var(--ink); }
.calc-veld .hint { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-3); margin-top: -4px; }
.calc-veld input[type="range"] { width: 100%; accent-color: var(--merk-mid); height: 44px; }
.calc-veld input[type="number"] {
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1rem; color: var(--ink);
  background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r-klein);
  padding: 9px 10px; width: 100%; text-align: right; min-height: 44px;
}
.calc-vast {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line-zacht); padding-top: 16px; font-size: .9rem; color: var(--ink-2);
}
.calc-vast .waarde { font-family: var(--mono); color: var(--ink); }

.calc-diensten { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; border: 0; }
.calc-diensten legend { font-size: .94rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 12px; }
.dienstvink {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px;
  font-size: .88rem; background: var(--surface); color: var(--ink-2); min-height: 44px;
}
.dienstvink input { accent-color: var(--merk-mid); width: 17px; height: 17px; margin: 0; }
.dienstvink:hover { border-color: var(--merk-mid); }
.dienstvink:has(input:checked) { border-color: var(--merk-mid); background: var(--info-bg); color: var(--ink); font-weight: 500; }

.calc-uit {
  background: var(--console); color: var(--console-ink); border: 1px solid var(--console-lijn);
  border-radius: var(--r-kaart); padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--schaduw-console); position: sticky; top: 92px;
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 979px) { .calc-uit { position: static; } }
.calc-uit .eyebrow { color: var(--console-accent); }
.calc-getallen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-getal { border: 1px solid var(--console-lijn); border-radius: var(--r-tegel); padding: 14px 16px; background: rgba(53, 188, 216, .05); }
.calc-getal .label { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--console-ink-2); margin-bottom: 4px; }
.calc-getal .waarde {
  display: block; font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: clamp(1.35rem, 3.2vw, 1.8rem); line-height: 1.1; color: #fff;
}
.calc-getal.groot { grid-column: 1 / -1; }
.calc-getal.groot .waarde { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.calc-getal.groot { background: rgba(53, 188, 216, .1); border-color: rgba(53, 188, 216, .32); }
.calc-terug {
  border-radius: var(--r-tegel); padding: 14px 16px;
  background: var(--grad-donker); color: #04121d; font-weight: 600;
}
.calc-terug .klein-donker { display: block; font-weight: 400; font-size: .82rem; color: rgba(4, 18, 29, .78); margin-top: 3px; }

.staven { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.staven li { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr) 62px; gap: 10px; align-items: center; font-size: .8rem; }
.staaf-naam { color: var(--console-ink-2); }
.staaf-svg { width: 100%; height: 11px; border-radius: 999px; overflow: hidden; background: rgba(53, 188, 216, .12); }
.staaf-uur { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; color: var(--console-ink); }

.calc-kosten { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.calc-kosten li { margin: 0; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--console-lijn); color: var(--console-ink-2); }
.calc-kosten li:first-child { border-top: 0; }
.calc-kosten li span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--console-ink); }
.calc-kosten li.korting span:last-child { color: var(--console-accent); }

details.uitklap {
  border: 1px solid var(--line); border-radius: var(--r-tegel);
  background: var(--surface); margin-top: 20px;
}
details.uitklap > summary {
  cursor: pointer; list-style: none; padding: 16px 20px; min-height: 48px;
  font-weight: 600; color: var(--kopkleur); display: flex; gap: 12px; align-items: center;
}
details.uitklap > summary::-webkit-details-marker { display: none; }
details.uitklap > summary::after { content: "+"; margin-left: auto; font-family: var(--mono); color: var(--link); font-size: 1.15rem; }
details.uitklap[open] > summary::after { content: "\2013"; }
.uitklap-inhoud { padding: 0 20px 20px; }
.aanname-raster { display: grid; gap: 16px; }
@media (min-width: 620px) { .aanname-raster { grid-template-columns: 1fr 1fr; } }
.aanname { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 4px 12px; align-items: center; }
.aanname label { grid-column: 1 / -1; font-size: .88rem; color: var(--ink-2); }
.aanname input {
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--ink);
  background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r-klein);
  padding: 8px 10px; width: 100%; text-align: right; min-height: 44px; grid-column: 2;
}
.aanname .eenheid { font-size: .8rem; color: var(--ink-3); grid-column: 1; }

/* ============================================================
   TECHNIEK (donker) EN HET SCHEMA
   ============================================================ */
.donkerband {
  background: var(--console); color: var(--console-ink);
  padding: var(--sectie) 0; position: relative; overflow: hidden;
}
.donkerband h2, .donkerband h3 { color: #fff; }
.donkerband .lood, .donkerband p { color: var(--console-ink-2); }
.donkerband .eyebrow { color: var(--console-accent); }
.donkerband .merkering::before { background: var(--grad-donker); }
.donkerband .kaart {
  background: var(--console-hoog); border-color: var(--console-lijn);
  border-radius: var(--r-tegel);
}
.donkerband .kaart h3 { color: #fff; }
.donkerband .kaart p { color: var(--console-ink-2); }
.donkerband .kaart .ic { color: var(--console-accent); }
.donkerband a { color: var(--console-accent); }

.schema-bak {
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid var(--console-lijn); border-radius: var(--r-kaart);
  background: rgba(53, 188, 216, .04); padding: clamp(16px, 2.5vw, 28px);
  overflow-x: auto;
}
.schema { width: 100%; min-width: 660px; height: auto; color: var(--console-ink); }
.schema .vlak { fill: rgba(53, 188, 216, .06); stroke: rgba(53, 188, 216, .38); stroke-width: 1.5; }
.schema .vlak-sterk { fill: rgba(53, 188, 216, .12); stroke: #3fc8e4; stroke-width: 1.75; }
.schema .lijn { fill: none; stroke: rgba(53, 188, 216, .55); stroke-width: 1.75; stroke-linecap: round; }
.schema .lijn-stip { stroke-dasharray: 4 5; }
.schema .tt { fill: #eaf4f9; font-family: "IBM Plex Sans", sans-serif; font-size: 14px; }
.schema .tt-klein { fill: #9fbacc; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .1em; }
.schema .tt-accent { fill: #3fc8e4; }
.schema-hint { margin-top: 12px; font-size: .78rem; color: var(--console-ink-2); }
@media (min-width: 760px) { .schema-hint { display: none; } }

/* ---------- wetgeving ---------- */
.wet-lijst { display: grid; gap: 16px; }
@media (min-width: 760px) { .wet-lijst { grid-template-columns: 1fr 1fr; } }
.wet {
  border: 1px solid var(--line); border-radius: var(--r-tegel);
  background: var(--surface); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.wet-kop { display: flex; align-items: center; gap: 12px; }
.wet-kop .ic { color: var(--link); }
.wet h3 { color: var(--kopkleur); font-size: 1.05rem; }
.wet p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.wet .wet-merk { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- team-placeholder ---------- */
.team-raster { display: grid; gap: clamp(24px, 4vw, 44px); align-items: center; }
@media (min-width: 880px) { .team-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.team-plek {
  border-radius: var(--r-kaart); border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(53, 188, 216, .16), rgba(57, 138, 202, .1) 55%, rgba(17, 63, 113, .14));
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 32px;
}
.team-plek .ic { width: 46px; height: 46px; color: var(--merk-mid); stroke-width: 1.4; }
.team-plek p { font-size: .88rem; color: var(--ink-2); max-width: 34ch; margin: 0; }

/* ---------- drie stappen ---------- */
.stappen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.stappen li {
  margin: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-zacht);
}
.stappen li:last-child { border-bottom: 1px solid var(--line-zacht); }
.stappen .stap-nr {
  width: 36px; height: 41px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .85rem; color: var(--link); background: var(--info-bg);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.stappen h3 { margin-bottom: 4px; color: var(--ink); }
.stappen p { font-size: .94rem; color: var(--ink-2); margin: 0; }

/* ---------- dienstentegels ---------- */
.tegels { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tegel {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-tegel); padding: 22px;
  box-shadow: var(--schaduw); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tegel:hover { transform: translateY(-3px); box-shadow: var(--schaduw-hoog); border-color: var(--merk-mid); color: inherit; }
.tegel h3 { color: var(--kopkleur); }
.tegel p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.tegel .lees { margin-top: auto; padding-top: 8px; font-size: .9rem; font-weight: 600; color: var(--link); display: inline-flex; align-items: center; gap: 7px; }
.tegel-kop { display: flex; align-items: center; gap: 14px; }
.hexbadge {
  width: 44px; height: 50px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--info-bg); color: var(--link);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hexbadge .ic { width: 22px; height: 22px; }
.hexbadge-groot { width: 64px; height: 73px; }
.hexbadge-groot .ic { width: 30px; height: 30px; }
.donkerband .hexbadge, .op-donker .hexbadge { background: rgba(53, 188, 216, .14); color: var(--console-accent); }

/* ---------- CTA-band ---------- */
.cta {
  background: var(--grad-cta); border-radius: var(--r-kaart);
  padding: clamp(32px, 5vw, 60px); color: #fff;
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .93); max-width: 56ch; }
.cta .btn-primair { background: #fff; color: var(--merk-navy); }
.cta .btn-primair:hover { color: var(--merk-navy); }
.cta .btn-secundair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.cta .btn-secundair:hover { color: #fff; border-color: #fff; }
.cta :focus-visible { outline-color: #fff; }

/* ---------- inhoudspagina's ---------- */
.paginakop { padding: clamp(40px, 5vw, 72px) 0 0; }
.paginakop .lood { margin-top: 18px; }
.paginakop .knoppen { margin-top: 26px; }
.paginakop-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.paginakop-donker {
  background: var(--console); color: var(--console-ink); position: relative; overflow: hidden;
  padding: clamp(40px, 5vw, 76px) 0 clamp(40px, 5vw, 68px);
}
.paginakop-donker h1 { color: #fff; }
.paginakop-donker .lood { color: var(--console-ink-2); }
.paginakop-donker .eyebrow { color: var(--console-accent); }
.paginakop-donker .merkering::before { background: var(--grad-donker); }

.inhoud { max-width: 65ch; }
.inhoud h2 { margin-top: 2em; margin-bottom: .5em; }
.inhoud h2:first-child { margin-top: 0; }
.inhoud h3 { margin-top: 1.6em; margin-bottom: .4em; color: var(--ink); }
.inhoud ul li::marker { color: var(--merk-mid); }

.dienst-raster { display: grid; gap: clamp(28px, 4vw, 44px); align-items: start; }
@media (min-width: 980px) { .dienst-raster { grid-template-columns: minmax(0, 1fr) 330px; } }
.zijbalk { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
@media (max-width: 979px) { .zijbalk { position: static; } }

.grens {
  background: var(--sunken); border: 1px solid var(--line);
  border-radius: var(--r-tegel); padding: 20px 22px;
}
.grens h3 { margin: 0 0 6px; color: var(--kopkleur); }
.grens p { margin: 0; color: var(--ink-2); }

.genummerd { list-style: none; counter-reset: stap; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.genummerd li {
  counter-increment: stap; margin: 0; padding: 14px 0 14px 52px; position: relative;
  border-top: 1px solid var(--line-zacht); color: var(--ink-2);
}
.genummerd li:last-child { border-bottom: 1px solid var(--line-zacht); }
.genummerd li::before {
  content: counter(stap); position: absolute; left: 0; top: 12px;
  width: 30px; height: 34px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .76rem; color: var(--link); background: var(--info-bg);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

details.faq { border: 1px solid var(--line); border-radius: var(--r-tegel); background: var(--surface); margin-bottom: 10px; }
details.faq > summary {
  cursor: pointer; list-style: none; padding: 16px 20px; min-height: 48px;
  font-weight: 600; color: var(--kopkleur); display: flex; gap: 12px; align-items: center;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: "+"; margin-left: auto; font-family: var(--mono); color: var(--link); font-size: 1.15rem; }
details.faq[open] > summary::after { content: "\2013"; }
details.faq .faq-tekst { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- tabellen ---------- */
.tabel-omhulsel { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-tegel); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .95rem; }
caption { text-align: left; padding: 14px 18px 0; color: var(--ink-3); font-size: .82rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-zacht); vertical-align: top; }
thead th { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }
td.bedrag, th.bedrag { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prijs { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }

/* ---------- formulier ---------- */
.formulier { display: grid; gap: 18px; max-width: 640px; }
.veld { display: flex; flex-direction: column; gap: 6px; }
.veld label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.veld .hint { font-size: .82rem; color: var(--ink-3); }
.veld input, .veld textarea, .veld select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-klein); padding: 13px 14px; width: 100%; min-height: 48px;
}
.veld input:hover, .veld textarea:hover, .veld select:hover { border-color: var(--merk-mid); }
.veld textarea { min-height: 140px; resize: vertical; }
.vinkjes { display: flex; flex-wrap: wrap; gap: 9px; border: 0; padding: 0; margin: 0; }
.vinkjes legend { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 10px; }
.melding {
  border: 1px solid var(--line); border-radius: var(--r-tegel);
  background: var(--sunken); padding: 16px 18px; font-size: .9rem; color: var(--ink-2);
}
.melding strong { display: block; margin-bottom: 4px; color: var(--ink); }

/* ---------- gegevenslijst ---------- */
.gegevens { display: grid; gap: 0; margin: 0; }
.gegevens > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-zacht); }
.gegevens dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.gegevens dd { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--console); color: var(--console-ink-2); padding: clamp(48px, 6vw, 76px) 0 32px; }
.footer-raster { display: grid; gap: 36px; }
@media (min-width: 820px) { .footer-raster { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-merk { display: flex; flex-direction: column; gap: 14px; max-width: 34ch; }
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo svg { width: 46px; height: 46px; flex: 0 0 auto; }
.footer-logo .woord { font-family: var(--kop); font-weight: 700; font-size: 1.85rem; letter-spacing: -.035em; color: var(--console-ink); line-height: .92; }
.footer-logo .sub { font-family: var(--mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--console-accent); margin-top: 6px; }
.site-footer h2 { font-size: .74rem; font-family: var(--mono); font-weight: 500; letter-spacing: .17em; text-transform: uppercase; color: var(--console-ink-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--console-ink); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--console-accent); text-decoration: underline; }
.site-footer p { color: var(--console-ink-2); font-size: .9rem; }
.footer-onder {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--console-lijn);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .82rem; color: var(--console-ink-2);
}
.footer-onder p { font-size: .82rem; }

/* ---------- scroll-reveal ---------- */
.js .stapel-item { opacity: 0; transform: translateY(14px); }
.js .stapel.zichtbaar .stapel-item { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.js .stapel.zichtbaar .stapel-item:nth-child(2) { transition-delay: .08s; }
.js .stapel.zichtbaar .stapel-item:nth-child(3) { transition-delay: .16s; }
.js .stapel.zichtbaar .stapel-item:nth-child(4) { transition-delay: .24s; }
.js .stapel.zichtbaar .stapel-item:nth-child(5) { transition-delay: .32s; }
.js .stapel.zichtbaar .stapel-item:nth-child(6) { transition-delay: .4s; }

/* ---------- rust voor wie dat wil ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .zweeft { animation: none !important; }
  .kantel { transform: none !important; }
  .toren-bouw { min-height: 0; }
  .tb-sticky { position: static; min-height: 0; }
  .js .tb-hex, .js .tb-laag, .js .tb-baken, .js .tb-item {
    opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; animation: none !important;
  }
  .tb-voortgang span { width: 100% !important; }
  .js .tb-item .tb-nr { background: var(--info-bg) !important; color: var(--link) !important; }
  .js .stapel-item { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-nav, .sch-bediening, .cta, .overslaan { display: none !important; }
  body { background: #fff; color: #000; }
}
