/* ============================================================================
   MVH Consultancy - design system
   Richting "Machinekamer" (goedgekeurd 2026-09-22).
   Laadt NA base.css uit het Vernova-kernel en overschrijft daar de tokens van.

   Vormregel: vlakken en beeld zijn recht (radius 0), alles wat klikbaar is
   volledig afgerond. Kleur: het merkblauw is het enige licht op een diep
   marine grond, en komt één keer per pagina terug als vol kleurvlak.
   ========================================================================== */

/* --- font ----------------------------------------------------------------- */
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin.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;
}
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- tokens --------------------------------------------------------------- */
:root {
  --mo-ease: cubic-bezier(.16, 1, .3, 1);
  --bg: #051726;
  --bg-2: #08203A;
  --fg: #EDF4FA;
  --ink-2: #A9C3D8;
  --muted-fg: #7E9BB4;
  --surface: #08203A;
  --line: rgba(160, 200, 230, .16);
  --border: rgba(160, 200, 230, .34);
  --accent: #0071BC;
  --accent-deep: #005A96;
  --accent-fg: #ffffff;
  --tint: #6FBEF3;

  --font-body: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-body);

  --radius: 0;
  --radius-pill: 999px;
  --container: 1400px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

body { font-size: 17px; line-height: 1.62; }

/* Het kernel tekent de focusring in --accent; op deze donkere grond leest de
   lichtere tint beter zonder de merkkleur te verwateren. */
:focus-visible { outline-color: var(--tint); }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
  font-variation-settings: "wdth" 112, "wght" 700;
}

.label {
  display: block;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--muted-fg);
  font-variation-settings: "wdth" 92, "wght" 500;
}

.nb { white-space: nowrap; }

/* De navigatie is sticky, dus ankerlinks moeten daaronder uitkomen. */
[id] { scroll-margin-top: 92px; }

/* --- knoppen -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: .95rem 1.75rem;
  text-decoration: none;
  font-size: .97rem;
  font-variation-settings: "wdth" 100, "wght" 600;
  background: var(--accent);
  color: var(--accent-fg);
  border: 1px solid var(--accent);
  transition: background .2s var(--mo-ease), border-color .2s var(--mo-ease), transform .1s var(--mo-ease);
}
.btn:hover { background: #0F86D6; border-color: #0F86D6; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn-line { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-line:hover { background: rgba(255, 255, 255, .07); border-color: #fff; color: #fff; }

.btn-white { background: #fff; color: var(--accent-deep); border-color: #fff; }
.btn-white:hover { background: #E9F3FB; border-color: #E9F3FB; }

.textlink {
  text-decoration: none;
  font-variation-settings: "wdth" 100, "wght" 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color .2s var(--mo-ease), border-color .2s var(--mo-ease);
}
.textlink:hover { color: var(--tint); border-bottom-color: var(--tint); }

:root { --gutter: clamp(24px, 6vw, 48px); }

/* --- navigatie ------------------------------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 23, 38, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 2.25rem; height: 76px; position: relative; }

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
  font-variation-settings: "wdth" 112, "wght" 700;
}
.brand img { width: 32px; height: 32px; }
.brand span { color: var(--muted-fg); font-variation-settings: "wdth" 100, "wght" 400; }

.nav-list {
  display: flex;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  font-size: .95rem;
  color: var(--ink-2);
  transition: color .2s var(--mo-ease);
}
.nav-list a:hover { color: #fff; }
.nav-list a[aria-current="page"] { color: var(--fg); font-variation-settings: "wdth" 100, "wght" 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  padding: .5rem 1rem;
  font-size: .9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* Staat buiten het menupaneel, zodat de andere taal ook op mobiel in één tik bereikbaar is. */
.lang-switch {
  font-size: .8rem;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .3rem .7rem;
  transition: color .2s var(--mo-ease), border-color .2s var(--mo-ease);
}
.lang-switch:hover { color: #fff; border-color: var(--border); }

@media (max-width: 860px) {
  .nav-in { height: 66px; gap: 1rem; }
  .lang-switch { min-height: 44px; display: inline-flex; align-items: center; padding-inline: .9rem; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: .25rem var(--gutter) 1.25rem;
  }
  .nav-list a { display: block; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
  /* display:flex hierboven wint het van het hidden-attribuut dat het kernel
     zet, dus het paneel moet hier expliciet dicht. */
  .nav-list[hidden] { display: none; }
}
@media (max-width: 400px) {
  .nav-in { gap: .5rem; }
  .brand { gap: .5rem; font-size: .92rem; }
  .brand img { width: 28px; height: 28px; }
  .lang-switch { padding-inline: .7rem; }
  .nav-toggle { padding-inline: .9rem; }
}
/* Het kernel zet hidden op het paneel zodra de pagina laadt, ook op desktop;
   daar moet de lijst zichtbaar blijven. */
@media (min-width: 861px) {
  .nav-list[hidden] { display: flex; }
}

/* --- duotoonbehandeling --------------------------------------------------- */
.duo { position: relative; overflow: hidden; background: var(--bg); }
.duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.5);
}
.duo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  mix-blend-mode: screen;
  opacity: .44;
}
.duo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 23, 38, .1) 0%, rgba(5, 23, 38, .45) 48%, rgba(5, 23, 38, .92) 100%);
}

/* --- hero (home) ---------------------------------------------------------- */
.hero { position: relative; min-height: min(86dvh, 820px); display: flex; align-items: flex-end; }
.hero .duo { position: absolute; inset: 0; }
.hero .container {
  position: relative;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.hero-in { max-width: min(100%, 54rem); }
.hero h1 { font-size: clamp(2.15rem, 4vw, 3.5rem); max-width: 27ch; margin-bottom: 1.5rem; }
.hero p {
  margin: 0 0 2.5rem;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  color: var(--ink-2);
  max-width: 48ch;
}
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* --- paginakop (binnenpagina's) ------------------------------------------- */
.page-head { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4.5rem); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 20ch; margin-bottom: 1.4rem; }
.page-head p { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 54ch; }
.page-head .sec-link { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- referentielogo's ----------------------------------------------------- */
.proof { padding-block: clamp(3rem, 5vw, 4.5rem); border-block: 1px solid var(--line); }
.proof .label { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vw, 3.25rem) clamp(1.75rem, 4vw, 3.75rem);
  flex-wrap: wrap;
}
.proof-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: .25rem;
}
/* Per logo een eigen hoogte: de bronbestanden hebben sterk verschillende
   witmarges, dus optisch gelijk is niet mechanisch gelijk. Via een custom
   property zodat de mobiele verkleining één regel blijft. */
/* De PNG-logo's zijn voorbewerkt tot wit-op-transparant, dus hier is geen
   invert-filter meer nodig. De SVG houdt zijn eigen kleuren en wordt hier
   monochroom gemaakt. */
.proof-logos img {
  height: var(--logo-h, 25px);
  width: auto;
  opacity: .58;
  transition: opacity .25s var(--mo-ease);
}
.proof-logos img[src$=".svg"] { filter: brightness(0) invert(1); }
.proof-logo:hover img { opacity: 1; }
.proof-logo:focus-visible img { opacity: 1; }
.logo-xs { --logo-h: 19px; }
.logo-sm { --logo-h: 22px; }
.logo-md { --logo-h: 25px; }
.logo-lg { --logo-h: 30px; }

/* --- secties -------------------------------------------------------------- */
.section { padding-block: clamp(5rem, 9vw, 9rem); }
.section-continued { padding-top: 0; }
.sec-link { margin-top: clamp(2rem, 3vw, 2.75rem); }

/* In de preview stond de max-width op de wrapper; in ch gerekend op de
   body-maat gaf dat ook de lopende tekst een kolom van ~5 woorden breed.
   De smalle koptekst is de bedoelde vorm, de smalle broodtekst niet, dus
   beide krijgen hun eigen maat op hun eigen font-size. */
.sec-head { margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin-bottom: 1.1rem; max-width: 18ch; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 52ch; font-size: 1.06rem; }

/* --- disciplinekaarten in een horizontale rail ----------------------------
   Basis is een gewone horizontale scrollgalerij: die werkt overal, ook zonder
   JavaScript en zonder scroll-driven CSS. Op brede schermen wordt dat verderop
   opgewaardeerd tot een rail die vastzet terwijl de kaarten voorbijschuiven. */
.rail {
  /* De kaart schaalt mee met het venster. Blijft hij te smal, dan passen de
     vier kaarten op een breed scherm samen binnen beeld en komt de beweging
     alleen nog uit de marges: de rail eindigt dan met een gat aan de rechterkant. */
  --rail-card: clamp(280px, 30vw, 720px);
  --rail-gap: clamp(.75rem, 1.2vw, 1.15rem);
  --rail-edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-block: clamp(5rem, 9vw, 9rem);
}
.rail-head { margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.rail-head h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin-bottom: 1.1rem; max-width: 18ch; }
.rail-head p { margin: 0; color: var(--ink-2); max-width: 52ch; font-size: 1.06rem; }
.rail-track {
  display: flex;
  gap: var(--rail-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--rail-edge);
  scrollbar-width: thin;
}
.rail-track > .card { flex: 0 0 min(74vw, 320px); scroll-snap-align: start; }
.rail-foot { margin-top: clamp(2rem, 3vw, 2.75rem); }

/* Opwaardering: alleen breed genoeg, alleen als beweging gewenst is, en alleen
   als de browser scroll-driven animaties kent. Anders blijft de galerij staan. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (container-type: inline-size) {
    /* --rail-span bepaalt alleen hoeveel scrollafstand de rail krijgt; een paar
       pixels afwijking verandert enkel het tempo. De verschuiving zelf wordt
       exact berekend in de keyframe, want 100vw telt de scrollbar mee en dan
       komt de laatste kaart net niet volledig in beeld. */
    .rail {
      --rail-span: max(0px, calc(4 * var(--rail-card) + 3 * var(--rail-gap) + 2 * var(--rail-edge) - 100vw));
      /* Factor 1.35: er hoort meer gescrold te worden dan er opzij geschoven
         wordt, anders raast de rail voorbij. */
      --rail-track-w: calc(4 * var(--rail-card) + 3 * var(--rail-gap) + 2 * var(--rail-edge));
      --rail-f: 1.35;
      height: calc(100dvh + var(--rail-span) * var(--rail-f));
      padding-block: 0;
      view-timeline-name: --rail;
    }
    .rail-stage {
      position: sticky;
      top: 0;
      height: 100dvh;
      container-type: inline-size;
      /* De navigatie is sticky en ligt erboven; zonder deze ruimte valt de
         kop van de sectie erachter. Onder 861px is die balk 66px hoog. */
      padding-top: 76px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: clamp(2rem, 4vw, 3.5rem);
    }
    .rail-head { margin-bottom: 0; }
    .rail-track {
      position: relative;
      left: 0;
      width: max-content;
      overflow: visible;
      scroll-snap-type: none;
      animation: rail-slide linear both;
      animation-timeline: --rail;
      /* Klaar op 100%: zodra de laatste kaart volledig in beeld staat, scrolt
         de pagina door; geen scrollafstand meer in een leeg scherm. */
      animation-range: contain 0% contain 100%;
    }
    /* In de rail bepaalt de schermhoogte de kaarthoogte, niet de verhouding:
       anders valt de onderste rij kaarten weg op een laag scherm. */
    .rail-track > .card {
      flex: 0 0 var(--rail-card);
      aspect-ratio: auto;
      height: min(58dvh, 700px);
      min-height: 0;
    }
    .rail-foot { display: none; }
    /* Op een telefoon moeten kop en kaarten samen in één schermhoogte passen. */
    @media (max-width: 719px) {
      /* Een vingerveeg of flick scrolt snel: veel meer scrollafstand per kaart,
         anders raast de rail voorbij. */
      .rail { --rail-f: 2.8; }
      .rail-stage { gap: 1.25rem; padding-bottom: 1.5rem; }
      /* De kaarten vullen de ruimte onder de kop, zodat er in het vastgezette
         scherm geen donkere strook onder blijft staan. */
      .rail-track { flex: 1 1 0; min-height: 0; max-height: 480px; }
      .rail-track > .card { height: auto; align-self: stretch; }
    }
  }
}

/* De rail schuift met `left` i.p.v. met transform + cqw: Safari (iOS) rekent 100cqw
   in een keyframe niet goed uit, waardoor de kaarten na de laatste kaart gewoon
   doorschoven tot ze uit beeld waren terwijl de pagina nog vastzat (MVH 2026-10-21).
   100% in `left` is de breedte van de stage; --rail-track-w is de breedte van de
   hele rij, dus de laatste kaart stopt precies aan de rechterrand van de stage. */
@keyframes rail-slide {
  to { left: min(0px, calc(100% - var(--rail-track-w))); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4.1;
  min-height: 340px;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  z-index: 2;
}
.card:hover::before { transform: scaleX(1); }
.card-body { position: relative; padding: clamp(1.25rem, 1.8vw, 1.75rem); }
.card h3 { font-size: 1.3rem; margin-bottom: .55rem; font-variation-settings: "wdth" 108, "wght" 700; }
/* Drie regels gereserveerd voor elke omschrijving, zodat de titels van alle
   kaarten op dezelfde hoogte staan, ook als de ene tekst korter is. */
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; min-height: 4.86em; }

/* Kaart met een schema. Het schema vult de ruimte boven de tekst en krimpt mee
   met de kaart, zodat de titels van alle kaarten op dezelfde hoogte blijven.
   Het raster verwijst naar de blauwdruk-oorsprong van de richting. */
.card-diagram {
  justify-content: space-between;
  background:
    linear-gradient(rgba(160, 200, 230, .06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(160, 200, 230, .06) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--surface);
}
/* Het kader volgt de inhoud: geen vaste kaartverhouding, dus geen leeg vlak
   tussen het schema en de titel. Alle schema's delen één viewBox, zodat de
   titels van de vier kaarten op dezelfde hoogte blijven. */
.card.card-diagram,
.rail-track > .card.card-diagram { aspect-ratio: auto; min-height: 0; height: auto; }
/* Op een laag scherm krimpt het schema mee, zodat de kaart in de rail past. */
.card-diagram .schema { height: auto; max-width: min(300px, 32dvh); }
.card-visual {
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(1.25rem, 1.8vw, 1.75rem) clamp(1.25rem, 1.8vw, 1.75rem) 0;
}
.schema {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 300px;
  font-family: var(--font-body);
}
.schema-title {
  fill: var(--fg);
  font-size: 32px;
  letter-spacing: -.02em;
  font-variation-settings: "wdth" 112, "wght" 700;
}
.schema-label {
  fill: var(--ink-2);
  font-size: 12.5px;
  letter-spacing: .08em;
  font-variation-settings: "wdth" 100, "wght" 600;
}
.schema-icon {
  fill: none;
  stroke: var(--tint);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* dasharray 0 + ronde uiteinden tekent een stippellijn van echte punten */
.schema-dots {
  fill: none;
  stroke: var(--muted-fg);
  stroke-width: 1.6;
  stroke-dasharray: 0 5;
  stroke-linecap: round;
}
.schema-node { fill: var(--surface); stroke: var(--tint); stroke-width: 1.6; }

/* --- kleurvlak: het enige kleurmoment per pagina -------------------------- */
.plate { background: var(--accent); color: #fff; padding-block: clamp(5rem, 9vw, 9rem); }
.plate h2 { font-size: clamp(2.1rem, 5vw, 4rem); max-width: 15ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.plate-body { max-width: 56ch; margin-left: auto; margin-right: clamp(0rem, 6vw, 6rem); }
.plate .lede { margin: 0 0 1.4rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
/* 96% i.p.v. 90%: op #0071BC haalt 90% wit 4,47:1, net onder AA voor lopende tekst. */
.plate p { margin: 0 0 1.4rem; color: rgba(255, 255, 255, .96); }
.plate .textlink { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.plate .textlink:hover { color: #fff; border-bottom-color: #fff; }
.plate a:focus-visible { outline-color: #fff; }

/* --- introblok met portret (home) ----------------------------------------- */
.portrait-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.portrait-split h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin-bottom: 1.1rem; max-width: 18ch; }
.portrait-split p { margin: 0; color: var(--ink-2); max-width: 52ch; font-size: 1.06rem; }
.portrait-split p + p { margin-top: 1rem; }
/* Slotzin van een tekstblok: de klant formuleert hem als conclusie, dus hij
   krijgt het gewicht van een conclusie. */
p.statement {
  color: var(--fg);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-variation-settings: "wdth" 104, "wght" 600;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}
.portrait-split p.statement { margin-top: 1.75rem; }
.portrait-split figure { margin: 0; aspect-ratio: 4 / 5; }
/* Over Carlos: het volledige verhaal staat als één blok naast het portret,
   verticaal gecentreerd, met de kerncijfers als afsluitende rij eronder. */
.portrait-bio p + p { margin-top: .9rem; }
.portrait-bio p:not(.lede) { font-size: 1rem; }
.facts.facts-bio { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.portrait-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(1) contrast(1.06) brightness(.94);
}

/* Eerste alinea van een tekstblok: iets groter en lichter dan de rest. */
.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--fg); }

/* --- kernwaarden ---------------------------------------------------------- */
/* Als losse items met een haarlijn erboven, zodat ze niet in de lopende tekst
   verdwijnen zoals in een opsomming op één regel. */
.values {
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: clamp(.9rem, 1.6vw, 1.4rem) clamp(1.5rem, 3vw, 2.5rem);
}
.values li {
  border-top: 1px solid var(--border);
  padding-top: .7rem;
  color: var(--fg);
  font-size: 1.02rem;
  font-variation-settings: "wdth" 104, "wght" 600;
}

/* --- tekstblokken op binnenpagina's --------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.split p { margin: 0 0 1.2rem; color: var(--ink-2); }
.split p:last-child { margin-bottom: 0; }

.stack { display: grid; gap: clamp(3.5rem, 7vw, 6.5rem); }

.entry { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.entry + .entry { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
.entry h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.entry .entry-lede { color: var(--fg); font-size: 1.1rem; margin: 0 0 1.75rem; }
.entry dl { margin: 0; display: grid; gap: 1.5rem; }
.entry dt {
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--muted-fg);
  font-variation-settings: "wdth" 92, "wght" 500;
  margin-bottom: .4rem;
}
.entry dd { margin: 0; color: var(--ink-2); }

.figure-band { position: relative; height: clamp(18rem, 34vw, 30rem); }
.figure-band .duo { position: absolute; inset: 0; }
.figure-band figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--ink-2);
  font-size: .95rem;
  max-width: 44ch;
}

/* --- lijsten -------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.tags li { color: var(--ink-2); }
.tags li + li { position: relative; padding-left: 1.4rem; }
.tags li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; background: var(--muted-fg); transform: translateY(-50%); }

.facts { display: flex; gap: clamp(1.5rem, 3vw, 3rem); flex-wrap: wrap; margin: 2rem 0 0; padding: 0; list-style: none; }
.facts li { margin: 0; }
.facts b { display: block; font-size: 1.6rem; font-variation-settings: "wdth" 108, "wght" 700; letter-spacing: -.03em; }
.facts span { display: block; margin-top: .2rem; font-size: .85rem; color: var(--muted-fg); }

/* --- contactblok (onderaan elke pagina) ----------------------------------- */
.contact-block { background: var(--surface); border-top: 1px solid var(--line); }
.contact-block h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 1.1rem; max-width: 14ch; }
.contact-block p { margin: 0 0 2.25rem; color: var(--ink-2); max-width: 46ch; font-size: 1.06rem; }
.contact-lines { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; margin-top: 2.5rem; }
.contact-lines a {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  text-decoration: none;
  font-variation-settings: "wdth" 104, "wght" 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color .2s var(--mo-ease), border-color .2s var(--mo-ease);
}
.contact-lines a:hover { color: var(--tint); border-bottom-color: var(--tint); }

/* --- contactgegevens (contactpagina) -------------------------------------- */
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.details h2 { font-size: .82rem; letter-spacing: .02em; color: var(--muted-fg); font-variation-settings: "wdth" 92, "wght" 500; margin-bottom: .8rem; }
.details p, .details address { margin: 0; font-style: normal; color: var(--ink-2); }
.details a { color: var(--fg); }

/* --- lopende tekst (juridische pagina's) ---------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: clamp(2.5rem, 5vw, 3.5rem) 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 .6rem; font-variation-settings: "wdth" 104, "wght" 700; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.1rem; display: grid; gap: .4rem; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--tint); }

/* --- formulier ------------------------------------------------------------ */
/* De veldbasis (label, input, foutstate) komt uit base.css; hier alleen wat
   die basis niet kan weten: hoe een invoerveld eruitziet op donkere grond. */
.form { max-width: 34rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form .field label { color: var(--muted-fg); font-variation-settings: "wdth" 92, "wght" 500; }
.form .field input,
.form .field textarea {
  background: rgba(255, 255, 255, .04);
  border-color: var(--border);
  color: var(--fg);
  border-radius: 0;
  transition: border-color .2s var(--mo-ease), background .2s var(--mo-ease);
}
.form .field input:hover,
.form .field textarea:hover { background: rgba(255, 255, 255, .07); }
.form .field input::placeholder,
.form .field textarea::placeholder { color: var(--muted-fg); opacity: .7; }
/* Native validatie, geen JS: het veld kleurt pas nadat de bezoeker het
   verlaten heeft, niet tijdens het typen. */
.form .field input:user-invalid,
.form .field textarea:user-invalid { border-color: #FF8A80; }
.form .hint { font-size: .85rem; color: var(--muted-fg); margin: 0 0 1.75rem; }

/* --- contactpagina: gegevens naast formulier ------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

/* --- footer --------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  font-size: .92rem;
  color: var(--ink-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.foot-brand .brand { margin-bottom: 1.1rem; }
.foot-brand p { margin: 0; color: var(--muted-fg); max-width: 32ch; }
.foot-col h2 {
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--muted-fg);
  font-variation-settings: "wdth" 92, "wght" 500;
  margin-bottom: 1rem;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-col a { text-decoration: none; transition: color .2s var(--mo-ease); }
.foot-col a:hover { color: var(--tint); }
.foot-col address { font-style: normal; color: var(--ink-2); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.75rem;
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--muted-fg);
}
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--tint); }
.site-footer .credit { font-size: inherit; margin: 0; }

@media (max-width: 860px) {
  .portrait-split { grid-template-columns: 1fr; }
  /* Op mobiel staat het portret volledig in beeld, niet bijgesneden tot een landschapsstrook. */
  .portrait-split figure { aspect-ratio: auto; max-width: 440px; }
  .portrait-split img { height: auto; }
  .rail-stage { padding-top: 66px; }
}

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* Footer: navigatie en contact naast elkaar, adres eronder over de volle breedte. */
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .foot-grid > :nth-child(4) { grid-column: 1 / -1; padding-top: 1.75rem; border-top: 1px solid var(--line); }
  .foot-col a { overflow-wrap: anywhere; }
  .foot-bottom { justify-content: flex-start; gap: .6rem 1.75rem; padding-block: 1.5rem; }
  .foot-bottom > :first-child, .foot-bottom .credit { flex-basis: 100%; }
  .form-row { grid-template-columns: 1fr; }
  /* Contactpagina: telefoon naast e-mail, adres naast onderneming. */
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .details .textlink { overflow-wrap: anywhere; }
}

/* --- beweging ------------------------------------------------------------- */
/* base.css zet duur en vertraging al globaal uit; hier gaan de transformaties
   eruit die anders alsnog verspringen zodra ze in één stap worden toegepast. */
@media (prefers-reduced-motion: reduce) {
  .card::before { transform: scaleX(1); }
  .btn:active { transform: none; }
}

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .plate-body { margin-right: 0; }
  .split, .entry { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  /* Minder lege ruimte tussen blokken op een telefoon. */
  .section { padding-block: 2.5rem; }
  .hero { min-height: min(78dvh, 640px); }
  .hero-in { max-width: none; }
  .proof-logos img { height: calc(var(--logo-h, 25px) * .82); }
  .contact-lines { flex-direction: column; gap: .75rem; align-items: flex-start; }
}

/* --- formulier: honeypot en foutmelding (contact.php, zonder JavaScript) --- */
/* Honeypot: onzichtbaar voor mensen, niet display:none, want sommige bots
   slaan verborgen velden over. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* contact.php stuurt bij een fout terug naar #fout; enkel dan is de melding zichtbaar. */
.form-error { display: none; margin: 0 0 1.25rem; padding: .9rem 1rem; border-left: 2px solid var(--accent); color: var(--fg); }
.form-error:target { display: block; }
