/* ============================================================
   PaintIQ — publieke website (preview: website/nieuw/)
   ------------------------------------------------------------
   Huisstijl gelijk aan de ingelogde omgeving (docs/huisstijl-app.md
   + frontend/src/app/globals.css @theme). Tokens hieronder zijn
   letterlijk overgenomen: night-*, aurora-*, slate-*, --radius-kaart,
   --radius-knop, --schaduw-kaart, --snede-hoek (35°).

   Rolverdeling (huisstijl §3):
     night  = structuur (nav, donkere banden, koppen, footer)
     aurora = waar je bent en wat er nu telt: de hoofdknop, de snede,
              de actieve tab. Hoogstens één aurora-vlak per sectie.
     slate  = al het andere.
   VERBODEN: witte tekst op aurora-500 (2,1:1). Daarom heeft élke
   aurora-knop night-900-tekst (~7,4:1).

   Geen externe fonts of scripts (CSP: alleen 'self').
   ============================================================ */

/* Chakra Petch: familielid van het logo-lettertype (geometrisch, afgesneden
   hoeken) maar met gewone letterbouw, dus leesbaar in een hele kop. Alleen
   voor koppen; lopende tekst blijft Inter. Zelf gehost: de CSP van de
   statische site staat geen externe fonts toe. */
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/chakra-petch-400.woff2") format("woff2");
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/chakra-petch-600.woff2") format("woff2");
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/chakra-petch-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  /* --- night (identiek aan @theme) --- */
  --night-50:  #f2f6fa;
  --night-100: #e2eaf2;
  --night-200: #c4d3e4;
  --night-300: #93aecb;
  --night-400: #5c82ab;
  --night-500: #34608f;
  --night-600: #1f4a76;
  --night-700: #163a5e;
  --night-800: #0f3460;
  --night-900: #0a2540;
  --night-950: #061a2e;

  /* --- aurora (identiek aan @theme) --- */
  --aurora-50:  #eafaf7;
  --aurora-100: #cdf3ec;
  --aurora-200: #b3f0e8;
  --aurora-300: #80e6d9;
  --aurora-400: #4ddcca;
  --aurora-500: #00c8b4;
  --aurora-600: #00a898;
  --aurora-700: #009988;
  --aurora-800: #007a6d;
  --aurora-900: #065f56;

  /* --- slate (identiek aan @theme) --- */
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* --- vorm (identiek aan @theme) --- */
  --radius-kaart: 14px;
  --radius-knop: 10px;
  --schaduw-kaart: 0 1px 2px rgb(10 37 64 / 0.06), 0 8px 24px -12px rgb(10 37 64 / 0.18);
  --snede-hoek: 35deg;

  /* Snede als verhouding: tan(35°) ≈ 0,7002 — de N-snede uit het merk
     (19/27 = 0,7037). Gebruikt in clip-path's, waar geen graden kunnen. */
  --snede: 0.7002;
  /* Achtergrondverlopen onder dezelfde hoek: 90° + 35° = 125°, dalend
     naar rechts, precies de snede van het N-merk. */
  --snede-grad: 125deg;

  /* --- afgeleide site-rollen --- */
  --ink: var(--slate-900);
  --ink-2: var(--slate-800);
  --muted: var(--slate-600);
  --muted-2: var(--slate-500);
  --line: var(--slate-200);
  --line-2: var(--slate-300);
  --paper: #ffffff;
  --paper-2: var(--slate-50);
  --paper-warm: #f7f4ee;          /* de ene warme tint (§11.2) */
  --on-night: #e6eef7;
  --on-night-muted: #a9bbd1;

  --schaduw-md: 0 10px 30px -12px rgb(10 37 64 / 0.25);
  --schaduw-lg: 0 30px 60px -24px rgb(10 37 64 / 0.45);

  --font-head: "Chakra Petch", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-0: 0.875rem;
  --fs-1: 1rem;
  --fs-2: 1.2rem;
  --fs-3: 1.375rem;
  --fs-4: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-5: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem);

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 76px;
}

* { box-sizing: border-box; }
/* Panelen krijgen een display-waarde (grid/flex); die zou de UA-regel
   [hidden]{display:none} verslaan. Daarom hier expliciet. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 720px) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--aurora-800); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--night-900);
  text-wrap: balance;
}
h1 { font-size: var(--fs-5); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
p { margin: 0 0 1em; }
.lede { font-size: var(--fs-2); color: var(--muted); max-width: 40rem; }
.small { font-size: var(--fs-0); }
strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--aurora-700);
  outline-offset: 2px;
  border-radius: 4px;
}
.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;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--night-900); color: #fff; padding: 10px 14px; border-radius: var(--radius-knop);
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(30px, 5vw, 54px); }
.section-head .lede { margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-0);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aurora-800);
  margin-bottom: 14px;
}
.on-night { color: var(--on-night); }
.on-night h2, .on-night h3 { color: #fff; }
.on-night .lede { color: var(--on-night); }
.on-night .eyebrow { color: var(--aurora-500); }

/* ---------- Nexorah-motief: snede en rib ---------- */
.badge {
  --cut-w: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px;
  background: rgb(0 200 180 / 0.16);
  color: var(--aurora-500);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-0);
  letter-spacing: 0.02em;
  border-radius: 6px 6px 0 6px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-w) * var(--snede)), calc(100% - var(--cut-w)) 100%, 0 100%);
}
.badge.light { background: var(--aurora-100); color: var(--aurora-800); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Rib: dunne aurora-lijn onder de hoek van de N-rib */
.rib {
  position: absolute;
  width: 2px;
  height: clamp(160px, 28vw, 420px);
  background: linear-gradient(to bottom, transparent, var(--aurora-500) 35%, var(--aurora-500) 65%, transparent);
  transform: rotate(-36deg);
  transform-origin: center;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- Knoppen ----------
   .btn-accent  aurora-500 met night-900-tekst  → de hoofdactie
   .btn-outline transparant met witte rand      → op night
   .btn-outline-dark                            → op licht
   .btn-night   night-900 met witte tekst       → in witte kaarten
   Minimale hoogte 44px, net als in het portaal.               */
.btn {
  --cut-w: 12px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 13px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.15;
  border-radius: var(--radius-knop);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  /* snede-accent dat bij hover rechtsonder binnenschuift */
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 22px; height: calc(22px * var(--snede));
  background: var(--night-900);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transform: translate(100%, 100%);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}
.btn:hover::after, .btn:focus-visible::after { transform: translate(0, 0); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 1.125rem; }
.btn-sm { padding: 10px 16px; font-size: 0.95rem; min-height: 40px; }
.btn-block { width: 100%; }

.btn-accent { background: var(--aurora-500); color: var(--night-900); box-shadow: 0 8px 22px -12px rgb(0 200 180 / 0.9); }
.btn-accent:hover { background: var(--aurora-400); }
.btn-accent::after { background: var(--night-900); }

.btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.55); }
.btn-outline:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); }
.btn-outline::after { background: rgb(255 255 255 / 0.9); }

.btn-outline-dark { background: transparent; color: var(--night-900); border-color: var(--night-900); }
.btn-outline-dark:hover { background: rgb(10 37 64 / 0.06); }
.btn-outline-dark::after { background: var(--aurora-500); }

.btn-night { background: var(--night-900); color: #fff; }
.btn-night:hover { background: var(--night-800); }
.btn-night::after { background: var(--aurora-500); }

.btn[disabled] { opacity: 0.55; cursor: wait; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: var(--fs-0); color: var(--muted-2); margin: 12px 0 0; }
.on-night .cta-note { color: var(--on-night-muted); }
.cta-note b { font-weight: 600; color: inherit; }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-solid {
  background: rgb(10 37 64 / 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: #fff; font-weight: 500; font-size: 0.95rem; padding: 8px 11px; border-radius: 8px; }
.nav-links a:hover { background: rgb(255 255 255 / 0.1); text-decoration: none; }
.nav-links .btn { margin-left: 6px; }
.nav-links a.btn-accent { color: var(--night-900); }  /* wint van .nav-links a */
.nav-links .btn-outline { padding: 9px 14px; }
.nav-toggle {
  display: none; background: transparent; border: 0; color: #fff;
  padding: 8px; cursor: pointer; border-radius: 8px; min-height: 44px;
}
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: var(--night-900);
    box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.6);
  }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--night-900); }
  .nav-links a { padding: 12px 10px; font-size: 1.05rem; }
  .nav-links .btn { margin: 6px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 780px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 92px;
  background: var(--night-900);
  color: var(--on-night);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg .shot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 18%;
  opacity: 0.9;
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.09) translate(-1.5%, -1.5%); }
}
/* Scrim 1: night → aurora-tint onder de snede-hoek (35° t.o.v. horizontaal) */
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(var(--snede-grad),
    var(--night-900) 0%,
    var(--night-900) 34%,
    rgb(10 37 64 / 0.86) 52%,
    rgb(10 37 64 / 0.42) 74%,
    rgb(0 200 180 / 0.20) 100%);
}
/* Scrim 2: harde snede achter de tekst, met een dunne aurora-lijn op de snede */
.hero-snede { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--snede-grad), rgb(10 37 64 / 0.55) 0 46%, transparent calc(46% + 1px));
}
.hero-snede::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(var(--snede-grad), transparent 0 calc(46% - 1px), var(--aurora-500) 46%, transparent calc(46% + 2px));
  opacity: 0.55;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--aurora-400); }
.hero .lede { color: var(--on-night); max-width: 36rem; margin-bottom: 28px; }
.hero-phone { position: relative; justify-self: end; }
.hero-phone .caption {
  position: absolute; left: -26px; bottom: 34px;
  background: #fff; color: var(--night-900);
  padding: 10px 14px; border-radius: var(--radius-knop);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--schaduw-md);
  --cut-w: 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-w) * var(--snede)), calc(100% - var(--cut-w)) 100%, 0 100%);
}
.hero-phone .caption b { color: var(--aurora-800); font-weight: 700; }
@media (max-width: 980px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 68px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  /* Mobiel: het scherm blijft achtergrond, maar de tekst moet overal
     leesbaar zijn — dus een extra egale night-wash over de diagonaal heen. */
  .hero-scrim {
    background:
      linear-gradient(180deg, rgb(10 37 64 / 0.90) 0%, rgb(10 37 64 / 0.86) 60%, rgb(10 37 64 / 0.94) 100%),
      linear-gradient(160deg, var(--night-900) 0 40%, rgb(10 37 64 / 0.7) 74%, rgb(0 200 180 / 0.22) 100%);
  }
  .hero-snede { display: none; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.7rem); }
  .hero-bg img { object-position: 62% 0; }
}

/* ---------- Vertrouwensstrook ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust ul {
  list-style: none; margin: 0; padding: 20px 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 22px;
}
.trust li {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 500; font-size: 0.92rem; line-height: 1.35; color: var(--ink-2);
}
.trust svg { width: 22px; height: 22px; flex: none; color: var(--aurora-800); margin-top: 1px; }
@media (max-width: 1100px) { .trust ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .trust ul { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Browserbalk en beeldvlak ---------- */
.frame-bar {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px;
  background: var(--night-700);
  color: rgb(255 255 255 / 0.6);
  font-size: 0.75rem;
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.28); }
.frame-bar span { margin-left: 8px; font-family: var(--font-body); }
.shot { position: relative; overflow: hidden; background: var(--night-100); }
.shot-tall { aspect-ratio: 1170 / 2532; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ---------- Voor wie / prijzen ---------- */
.pricing { background: var(--paper); }
.pricing-note { margin-top: 18px; color: var(--muted-2); font-size: var(--fs-0); }
.belofte {
  background: var(--night-50); border: 1px solid var(--night-100);
  border-radius: var(--radius-kaart); padding: 24px;
  box-shadow: var(--schaduw-kaart);
}
.belofte h3 { font-size: var(--fs-3); margin-bottom: 10px; }
.belofte ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.belofte li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-2); }
.belofte li svg { width: 19px; height: 19px; flex: none; color: var(--aurora-800); margin-top: 4px; }
.belofte p { margin: 0; font-size: var(--fs-0); color: var(--muted-2); }
/* ---------- Vergelijking ---------- */
.compare { background: var(--night-50); }
.cmp-block + .cmp-block { margin-top: clamp(36px, 6vw, 64px); }
.cmp-block h3 { font-size: var(--fs-3); margin-bottom: 6px; }
.cmp-block .cmp-lede { color: var(--muted); max-width: 46rem; margin-bottom: 18px; }
.cmp {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-kaart); overflow: hidden;
  box-shadow: var(--schaduw-kaart);
  font-size: 0.96rem;
}
.cmp th, .cmp td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th {
  background: var(--night-900); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  border-bottom: 0;
}
.cmp thead th.is-pq { color: var(--aurora-500); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { font-weight: 600; color: var(--night-900); width: 24%; background: var(--night-50); }
.cmp td.other { color: var(--muted); width: 38%; }
.cmp td.pq { color: var(--ink-2); width: 38%; background: var(--aurora-50); }
.cmp td.pq strong { color: var(--night-900); }
.cmp-note {
  margin-top: 14px; font-size: 0.95rem; color: var(--muted);
  border-left: 3px solid var(--aurora-500); padding: 6px 0 6px 14px;
}
@media (max-width: 760px) {
  .cmp, .cmp tbody, .cmp tr, .cmp td, .cmp th { display: block; }
  .cmp thead { display: none; }
  .cmp { box-shadow: none; border: 0; background: transparent; }
  .cmp tbody tr {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-kaart);
    margin-bottom: 12px; overflow: hidden; box-shadow: var(--schaduw-kaart);
  }
  /* Kolombreedtes uit de tabelweergave expliciet uitzetten (hogere
     specificiteit dan .cmp td), anders blijven de kaarten smal. */
  .cmp tbody th, .cmp td, .cmp td.other, .cmp td.pq { width: auto; }
  .cmp tbody th { font-size: 1rem; padding-bottom: 10px; }
  .cmp td { border-bottom: 1px solid var(--line); }
  .cmp td::before {
    content: attr(data-label);
    display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
    font-weight: 700; color: var(--muted-2); margin-bottom: 3px;
  }
  .cmp td.pq::before { color: var(--aurora-800); }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; box-shadow: var(--schaduw-kaart); }
.faq details[open] { border-color: var(--aurora-500); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 32px 16px 0; position: relative; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3;
  color: var(--night-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 20px;
  width: 12px; height: 12px;
  border-right: 2px solid var(--aurora-800); border-bottom: 2px solid var(--aurora-800);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq details p { color: var(--muted); margin: 0 0 18px; font-size: 0.98rem; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Kaarten in een donkere band (demo-pagina) ---------- */
.band-head { margin-bottom: clamp(28px, 4vw, 46px); max-width: 44rem; }
.kaart {
  background: #fff; color: var(--ink);
  border-radius: 16px; padding: 28px;
  box-shadow: var(--schaduw-lg);
}
/* De kaarten staan ín de night-band; .on-night h3 zou ze wit maken op wit. */
.kaart h3 { font-size: var(--fs-3); margin-bottom: 4px; color: var(--night-900); }
.kaart .sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.kaart label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin: 12px 0 5px; }
.kaart input, .kaart textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 1rem;
  border: 1px solid var(--line-2); border-radius: 8px; outline: none;
  background: #fff; color: var(--ink);
}
.kaart input:focus, .kaart textarea:focus { border-color: var(--aurora-700); box-shadow: 0 0 0 3px var(--aurora-100); }
.kaart-logo { height: 30px; width: auto; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-actions { margin-top: 18px; }
.form-msg { margin: 12px 0 0; font-size: 0.95rem; min-height: 1.4em; }
.form-msg.ok { color: #15803d; font-weight: 600; }
.form-msg.err { color: #b91c1c; }
.try-card { display: flex; flex-direction: column; gap: 14px; }
.try-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.try-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.97rem; }
.try-card li svg { width: 19px; height: 19px; flex: none; color: var(--aurora-800); margin-top: 4px; }
.try-card .login { font-size: 0.95rem; color: var(--muted); margin: 0; }
/* ---------- Footer ---------- */
.footer { background: var(--night-950); color: var(--on-night-muted); padding: 56px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--on-night); }
.footer a:hover { color: var(--aurora-400); }
.footer-logo { height: 34px; width: auto; }
.footer .tag { color: var(--on-night); margin: 16px 0 0; max-width: 24rem; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; align-items: center;
}
.footer-bottom p { margin: 0; }
.nexorah { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); }
.nexorah img { height: 20px; width: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky CTA-balk (mobiel) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(10 37 64 / 0.96); backdrop-filter: blur(8px);
  box-shadow: 0 -8px 30px rgb(0 0 0 / 0.35);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.sticky-cta .btn { flex: 1; padding: 12px 10px; font-size: 1rem; }
.sticky-cta .note { font-size: 0.78rem; color: var(--on-night-muted); flex: 0 1 auto; line-height: 1.25; }
.sticky-cta.is-visible { transform: translateY(0); }
@media (max-width: 980px) {
  .sticky-cta { display: flex; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (max-width: 420px) { .sticky-cta .note { display: none; } }

/* ---------- Reveal ---------- */
/* Alleen verbergen als JS aanstaat; zonder JS blijft alles zichtbaar. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  /* Zelfde specificiteit als .js .reveal, anders wint het verbergen. */
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .hero-bg img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   MULTIPAGER — gedeelde onderdelen (nav-markering, paginakop,
   schermframes, sectiepatronen). Toegevoegd bij de omzetting van
   een lange pagina naar losse pagina's.
   ============================================================ */

/* ---------- Actieve pagina in de navigatie (aurora-snede) ---------- */
.nav-links a[aria-current="page"] { position: relative; color: #fff; }
.nav-links .btn[aria-current="page"] { border-color: #fff; background: rgb(255 255 255 / 0.12); }
.nav-links a[aria-current="page"]:not(.btn)::after {
  content: "";
  position: absolute; left: 11px; right: 11px; bottom: 3px;
  height: 3px; background: var(--aurora-500);
  --cut-w: 7px;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut-w)) 100%, 0 100%);
}
@media (max-width: 980px) {
  .nav-links a[aria-current="page"]:not(.btn)::after { left: 10px; right: auto; width: 28px; bottom: 6px; }
}

/* ---------- Paginakop (alle pagina's behalve de home) ---------- */
.phero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night-900); color: var(--on-night);
  padding: calc(var(--nav-h) + clamp(44px, 6vw, 74px)) 0 clamp(46px, 6vw, 78px);
}
.phero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--snede-grad),
    var(--night-900) 0 52%,
    rgb(10 37 64 / 0.9) 68%,
    rgb(0 200 180 / 0.18) 100%);
}
.phero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(var(--snede-grad), transparent 0 calc(58% - 1px), var(--aurora-500) 58%, transparent calc(58% + 2px));
  opacity: 0.5;
}
.phero .rib { right: 8%; top: -30px; height: clamp(180px, 22vw, 320px); }
.phero-inner { max-width: 48rem; }
.phero h1 { color: #fff; font-size: clamp(2.05rem, 1.3rem + 2.4vw, 3.3rem); margin-bottom: 16px; }
.phero .lede { color: var(--on-night); margin-bottom: 0; max-width: 42rem; }
.phero .cta-row { margin-top: 26px; }

/* ---------- Schermframes: recht, begrensd, volledig in beeld ----------
   Elk frame krijgt een expliciete maximale breedte; de hoogte volgt uit
   de verhouding van het beeld (aspect-ratio op .shot). Geen kanteling,
   geen frame dat half buiten de sectie valt.                          */
.shotbox { margin: 0; width: 100%; }
.frame { margin: 0; position: relative; width: 100%; }
.frame-center { margin-inline: auto; }
.frame-w-xl { max-width: 1040px; }
.frame-w-lg { max-width: 860px; }
.frame-w-md { max-width: 620px; }
.frame-w-sm { max-width: 440px; }
.frame-w-step { max-width: 480px; }
.frame-w-phone { max-width: 248px; }

.frame-browser {
  background: var(--night-800);
  border: 1px solid var(--night-600);
  border-radius: var(--radius-kaart);
  box-shadow: var(--schaduw-md);
  overflow: hidden;
}
.frame-phone {
  background: var(--night-800);
  border: 1px solid var(--night-600);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--schaduw-md);
}
.frame-phone .shot { border-radius: 21px; }
.on-night .frame-browser, .on-night .frame-phone { border-color: rgb(255 255 255 / 0.16); box-shadow: var(--schaduw-lg); }

/* Onderschrift: zegt wat je ziet, en of het de bovenkant van het scherm is */
.frame-cap {
  margin: 10px 0 0; font-size: var(--fs-0); color: var(--muted-2);
  max-width: 34rem;
}
.on-night .frame-cap { color: var(--on-night-muted); }

/* Beeldvlak. shot-full = het hele scherm (2880x1800).
   crop-* = uitsnede van de bovenkant, afgesneden in witruimte.        */
.shot-full { aspect-ratio: 2880 / 1800; }
.crop-dashboard        { aspect-ratio: 2880 / 1515; }  /* t/m de pijplijn-kaart */
.crop-wizard-start     { aspect-ratio: 2880 / 1258; }  /* t/m de vraag over de houtkwaliteit */
.crop-bibliotheek      { aspect-ratio: 2880 / 880;  }  /* t/m de sjablonen-kaart */
.crop-klanten          { aspect-ratio: 2880 / 1190; }  /* t/m de laatste klantregel */
.crop-offertes         { aspect-ratio: 2880 / 1300; }  /* t/m de laatste offerteregel */
.crop-wizard-ruimtes   { aspect-ratio: 2880 / 900;  }  /* t/m de ruimte-kaart */
.crop-wizard-werkwijze { aspect-ratio: 2880 / 1205; }  /* t/m de kortingregel */
.crop-wizard-controle  { aspect-ratio: 2880 / 1465; }  /* t/m de laatste controleregel */
.crop-editor           { aspect-ratio: 2880 / 1109; }  /* t/m de kaart 'Wat voor klus is dit?' */

/* ---------- Aanvinklijst (algemeen) ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.98rem; }
.checks li svg { width: 19px; height: 19px; flex: none; color: var(--aurora-800); margin-top: 4px; }
.on-night .checks li { color: var(--on-night); }
.on-night .checks li svg { color: var(--aurora-500); }

/* ---------- Home: drie stappen, compact ---------- */
.hsteps { background: var(--paper-2); position: relative; overflow: clip; }
.hsteps .rib { right: 6%; top: -30px; }
.hstep {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(24px, 3.5vw, 48px); align-items: center;
  padding: clamp(18px, 1.8vw, 22px) 0;
}
.hstep + .hstep { border-top: 1px solid var(--line); }
.hstep-tekst { display: flex; flex-direction: column; align-items: flex-start; }
.hstep-num {
  width: 42px; height: 42px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  background: var(--night-900); color: var(--aurora-500);
  border-radius: 11px; margin-bottom: 14px;
  --cut-w: 11px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-w) * var(--snede)), calc(100% - var(--cut-w)) 100%, 0 100%);
}
.hstep h3 { font-size: var(--fs-3); margin-bottom: 8px; }
.hstep p { color: var(--muted); margin-bottom: 0; }
.hsteps-cta { margin-top: clamp(26px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hsteps-cta .cta-note { margin: 0; }
@media (max-width: 900px) {
  .hstep { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Home: drie functieblokken ---------- */
.fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.fcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-kaart);
  padding: 26px 24px 22px; box-shadow: var(--schaduw-kaart);
  display: flex; flex-direction: column;
}
.fcard-ic {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--aurora-50); color: var(--aurora-800);
  border: 1px solid var(--aurora-200); border-radius: 11px;
}
.fcard-ic svg { width: 23px; height: 23px; }
.fcard h3 { font-size: 1.2rem; margin-bottom: 6px; }
.fcard p { color: var(--muted); font-size: 0.98rem; margin-bottom: 16px; }
.fcard .meer { margin-top: auto; font-weight: 600; color: var(--aurora-800); }
.fcard .meer::after { content: " \2192"; }
@media (max-width: 900px) { .fcards { grid-template-columns: 1fr; } }

/* ---------- Prijskaarten naast elkaar ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); align-items: stretch; }
.plan-card {
  --cut-w: 26px;
  background: var(--night-900); color: var(--on-night);
  border-radius: 16px; padding: 26px 24px;
  clip-path: polygon(var(--cut-w) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut-w) * var(--snede)));
  display: flex; flex-direction: column;
}
.plan-card .plan { font-family: var(--font-head); font-weight: 600; color: var(--aurora-500); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; }
.plan-card .amount { font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; line-height: 1; color: #fff; margin: 6px 0 2px; }
.plan-card .amount small { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--on-night-muted); margin-left: 6px; }
.plan-card .users { font-size: 0.95rem; color: var(--on-night-muted); margin-bottom: 16px; }
.plan-card .wie { color: var(--on-night-muted); font-size: 0.95rem; margin-bottom: 16px; }
.plan-card .checks { margin-bottom: 20px; font-size: 0.95rem; }
.plan-card .checks li { color: var(--on-night); }
.plan-card .checks li svg { color: var(--aurora-500); }
.plan-card .btn { width: 100%; margin-top: auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Functiepagina: sectiepatroon ---------- */
.feat + .feat { border-top: 1px solid var(--line); }
.feat-main {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4vw, 56px); align-items: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.feat-main h3 { font-size: var(--fs-3); margin-bottom: 10px; }
.feat-main p { color: var(--muted); }
.feat-wide { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feat-wide .frame-cap { text-align: center; max-width: 44rem; }
.feat-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.feat-mini h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feat-mini p { color: var(--muted); font-size: 0.96rem; margin-bottom: 0; }
.feat-mini .shotbox { margin-bottom: 14px; }
@media (max-width: 900px) {
  .feat-main { grid-template-columns: 1fr; }
  .feat-mini { grid-template-columns: 1fr; }
}
/* Laptop en telefoon naast elkaar: twee kolommen, geen overlap. */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(18px, 2.5vw, 30px); align-items: end; }
@media (max-width: 620px) { .duo { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Afsluitband (alle pagina's) ---------- */
.slot { background: var(--paper-2); }
.slot-band {
  background: var(--night-900); color: var(--on-night);
  position: relative; overflow: hidden;
  --cut-w: clamp(80px, 14vw, 200px);
  clip-path: polygon(0 calc(var(--cut-w) * var(--snede)), var(--cut-w) 0, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(clamp(52px, 6vw, 82px) + var(--cut-w) * var(--snede) * 0.6);
  padding-bottom: clamp(52px, 6vw, 82px);
}
.slot-band::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--snede-grad), transparent 0 58%, rgb(0 200 180 / 0.16) 58.1%, rgb(0 200 180 / 0.02) 100%);
}
.slot-band .rib { left: 44%; top: 10%; height: 58%; opacity: 0.3; }
.slot-inner { position: relative; max-width: 46rem; }
.slot-band h2 { color: #fff; }

/* ---------- Demo-pagina ---------- */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 54px); align-items: start; }
.demo-verwacht h3 { font-size: var(--fs-3); }
.demo-verwacht p { color: var(--muted); }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

/* ---------- Smalle vragenkolom (prijspagina) ---------- */
.faq-smal { max-width: 52rem; }
.faq-smal .faq-grid { grid-template-columns: 1fr; }

/* ---------- Sectievlakken ---------- */
.bg-2 { background: var(--paper-2); }

/* ---------- Wat er in de prijs zit: breed blok i.p.v. zijkolom ---------- */
.belofte-breed { position: static; max-width: 60rem; margin-inline: auto; }
.belofte-breed ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 760px) { .belofte-breed ul { grid-template-columns: 1fr; } }

.slot-inner .cta-row { margin-top: 24px; }

/* ---------- Home: compactere secties (vier schermen als richtlijn) ---------- */
.sec-tight { padding: clamp(48px, 5.2vw, 72px) 0; }

/* ---------- Correcties op donkere vlakken ----------
   Witte kaarten staan ín een night-band: daar geldt de lichte tekstkleur
   niet. En een link op night krijgt aurora-400 (ruim contrast), nooit
   aurora-800 (te donker op night). */
.kaart .checks li { color: var(--ink-2); }
.kaart .checks li svg { color: var(--aurora-800); }
.on-night a:not(.btn), .phero a:not(.btn) { color: var(--aurora-400); text-decoration: underline; }
.on-night a:not(.btn):hover, .phero a:not(.btn):hover { color: var(--aurora-300); }
.kaart a:not(.btn) { color: var(--aurora-800); text-decoration: none; }
.kaart a:not(.btn):hover { color: var(--aurora-900); text-decoration: underline; }
