/* ============ Design tokens ============ */
:root {
  /* Palette: Merk (default — Advice/Rekentool huisstijl) */
  --bg: #FFFFFF;
  --bg-elev: #F6F7F9;
  --bg-card: #FFFFFF;
  --bg-slate: #B8C2CE;
  --bg-deep: #5C6470;
  --ink: #2F3540;
  --ink-2: #4A525F;
  --ink-3: #7A8493;
  --ink-4: #A8AFBA;
  --line: #E5E8EC;
  --line-strong: #C9CFD8;
  --accent: oklch(0.68 0.16 22);
  --accent-fg: #FFFFFF;
  --accent-soft: oklch(0.96 0.03 22);
  --accent-ink: oklch(0.55 0.17 22);
  --good: oklch(0.62 0.13 155);
  --warn: oklch(0.72 0.16 65);

  /* Type stack — humanist, friendly, B2B-accessible */
  --serif: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --display-weight: 600;
  --display-letter: -0.025em;

  /* Rhythm */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(14,17,22,0.04), 0 1px 1px rgba(14,17,22,0.03);
  --shadow: 0 2px 4px rgba(14,17,22,0.04), 0 8px 20px rgba(14,17,22,0.06);
  --shadow-lg: 0 4px 12px rgba(14,17,22,0.06), 0 24px 48px rgba(14,17,22,0.10);

  --container: 1440px;
  --pad: 32px;
}

/* Palette: Inkt (editoriaal — vorige hoofdrichting) */
[data-palette="inkt"] {
  --bg: #F6F4EE;
  --bg-elev: #FBFAF6;
  --bg-card: #FFFFFF;
  --bg-slate: #E8E3D6;
  --bg-deep: #2A2E36;
  --ink: #0E1116;
  --ink-2: #2A2E36;
  --ink-3: #5B6068;
  --ink-4: #8B8F97;
  --line: #E4E0D6;
  --line-strong: #C9C3B5;
  --accent: oklch(0.42 0.13 255);
  --accent-fg: #FBFAF6;
  --accent-soft: oklch(0.92 0.04 255);
  --accent-ink: oklch(0.32 0.13 255);
}

/* Palette: Klassiek wit */
[data-palette="wit"] {
  --bg: #FFFFFF;
  --bg-elev: #F7F7F8;
  --bg-card: #FFFFFF;
  --bg-slate: #E7EAEE;
  --bg-deep: #2A2E36;
  --ink: #0A0A0A;
  --ink-2: #1F2128;
  --ink-3: #565A63;
  --ink-4: #8A8F97;
  --line: #ECECEE;
  --line-strong: #D6D6DA;
  --accent: oklch(0.38 0.18 265);
  --accent-soft: oklch(0.94 0.03 265);
  --accent-ink: oklch(0.28 0.18 265);
}

/* Palette: Warm klei */
[data-palette="klei"] {
  --bg: #F1E9DF;
  --bg-elev: #F8F2E9;
  --bg-card: #FFFCF6;
  --bg-slate: #DCD0BD;
  --bg-deep: #3A312A;
  --ink: #1A1410;
  --ink-2: #3A312A;
  --ink-3: #6A5F54;
  --ink-4: #9B8F82;
  --line: #DDD0BD;
  --line-strong: #BFB098;
  --accent: oklch(0.48 0.14 35);
  --accent-soft: oklch(0.92 0.05 60);
  --accent-ink: oklch(0.36 0.14 35);
}

/* Palette: Donker */
[data-palette="donker"] {
  --bg: #1A1F28;
  --bg-elev: #232934;
  --bg-card: #2A313D;
  --bg-slate: #3A4350;
  --bg-deep: #0E1116;
  --ink: #F4F5F7;
  --ink-2: #D8DAE0;
  --ink-3: #9CA3AF;
  --ink-4: #6B7280;
  --line: #353C48;
  --line-strong: #4A525F;
  --accent: oklch(0.72 0.16 22);
  --accent-fg: #1A1F28;
  --accent-soft: oklch(0.30 0.08 22);
  --accent-ink: oklch(0.78 0.16 22);
}

/* Type pair: Redactioneel (editoriale variant) */
[data-typepair="redactioneel"] {
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --display-weight: 400;
  --display-letter: -0.02em;
}

/* Type pair: Modern (geometrisch) */
[data-typepair="modern"] {
  --serif: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --display-weight: 500;
  --display-letter: -0.03em;
}

/* ============ Reset & base ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-fg); }

/* Global em-in-heading treatment: coral by default, italic only in editorial */
h1 em, h2 em, h3 em, h4 em {
  font-style: normal;
  color: var(--accent);
}
[data-typepair="redactioneel"] h1 em,
[data-typepair="redactioneel"] h2 em,
[data-typepair="redactioneel"] h3 em,
[data-typepair="redactioneel"] h4 em {
  font-style: italic;
  color: var(--accent-ink);
}

/* ============ Layout helpers ============ */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 6px 14px color-mix(in oklch, var(--accent) 22%, transparent);
}
.btn-primary:hover { filter: brightness(0.95); }

.btn-ink {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.btn-accent:hover { filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-elev); border-color: var(--ink-4); }

.btn-link {
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 0;
  height: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
}
.btn-link:hover { text-decoration-color: var(--ink); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
}
.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
  min-width: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
}
.brand em { font-style: normal; color: var(--accent); font-weight: 500; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--pad));
    right: calc(-1 * var(--pad));
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.is-nav-open .nav-menu { display: flex; }
  .nav-menu nav { width: 100%; }
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }
  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 16px;
    gap: 10px;
  }
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

/* ============ Hero ============ */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.hero-grid--with-calc {
  grid-template-columns: 1fr 1.04fr;
}
.hero-grid--text-only {
  grid-template-columns: 1fr;
  max-width: 920px;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 28px;
  white-space: nowrap;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--good) 25%, transparent);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: var(--display-letter);
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
[data-typepair="redactioneel"] .hero h1 em {
  font-style: italic;
  color: var(--accent-ink);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 52ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  max-width: 520px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-2);
}
.hero-bullets svg { flex: 0 0 18px; margin-top: 2px; color: var(--accent); }

@media (max-width: 980px) {
  .hero-grid,
  .hero-grid--with-calc,
  .hero-grid--text-only {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 48px;
  }
  .hero { padding: 48px 0 64px; }
}

/* ============ Calculator widget ============ */
.calc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.calc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.calc-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.calc-dots { display: flex; gap: 6px; }
.calc-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }

.calc-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.calc-body--embed { padding: 0; gap: 0; }
.calc-iframe {
  width: 100%;
  height: clamp(360px, 58vw, 620px);
  min-height: 320px;
  border: 0;
  display: block;
  background: #fff;
}

.calc-row { display: flex; flex-direction: column; gap: 9px; }
.calc-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
  color: var(--ink-2);
}
.calc-label b { font-weight: 500; color: var(--ink); }
.calc-label .val {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}

.seg {
  display: flex;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 2px;
}
.seg button {
  flex: 1;
  border: 0;
  background: transparent;
  height: 34px;
  font-size: 13px;
  border-radius: 7px;
  cursor: pointer;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 140ms ease, color 140ms ease;
}
.seg button.on {
  background: var(--ink);
  color: var(--bg);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
}
.slider::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(to right, var(--accent) var(--p,50%), var(--line) var(--p,50%));
  border-radius: 999px;
}
.slider::-moz-range-track { height: 4px; background: var(--line); border-radius: 999px; }
.slider::-moz-range-progress { height: 4px; background: var(--accent); border-radius: 999px; }
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--ink);
}

.calc-output {
  margin-top: 4px;
  padding: 18px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.calc-output-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-size: 13px;
}
.calc-output-row > span:first-child { color: var(--ink-3); }
.calc-output-row > span:last-child {
  font-family: var(--mono); font-size: 14px;
  color: var(--ink-2);
}
.calc-output-row.total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.calc-output-row.total > span:first-child { color: var(--ink); font-weight: 500; font-size: 14px; }
.calc-output-row.total > span:last-child {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}
[data-typepair="redactioneel"] .calc-output-row.total > span:last-child {
  font-weight: 400;
  letter-spacing: -0.01em;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  margin-top: 12px;
  overflow: hidden;
  display: flex;
}
.bar > div:first-child { background: var(--accent); }
.bar > div:last-child { background: var(--line-strong); }

.bar-legend {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bar-legend .swatch {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 2px; margin-right: 6px; vertical-align: middle;
}

.calc-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
  background: var(--bg-elev);
  display: flex; align-items: center; gap: 8px;
  transition: color 140ms ease, background 140ms ease;
}
a.calc-foot:hover { color: var(--accent-ink); background: var(--accent-soft); }
a.calc-foot svg { flex: 0 0 18px; }

/* ============ Showcase (slate) ============ */
.showcase {
  padding: 96px 0;
  background: var(--bg-slate);
  color: var(--ink);
  position: relative;
}
[data-palette="donker"] .showcase { color: var(--ink); }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.showcase h2 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: var(--display-letter);
  margin: 14px 0 18px;
  text-wrap: balance;
}
.showcase h2 em { font-style: normal; color: var(--accent); }
[data-typepair="redactioneel"] .showcase h2 em { font-style: italic; }
.showcase p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 46ch;
  color: color-mix(in oklch, var(--ink) 80%, transparent);
}
.showcase .eyebrow { color: color-mix(in oklch, var(--ink) 65%, transparent); }
.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  background: color-mix(in oklch, white 50%, transparent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 14px;
}
.showcase-tag .swatch { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

.showcase-image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: color-mix(in oklch, var(--bg) 92%, var(--ink));
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.showcase-image image-slot {
  width: 100%;
  height: 100%;
}

@media (max-width: 980px) {
  .showcase { padding: 64px 0; }
  .showcase-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ Mid CTA strip ============ */
.cta-strip {
  padding: 56px 0;
  background: var(--accent);
  color: var(--accent-fg);
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h3 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: var(--display-letter);
  margin: 0;
  max-width: 22ch;
  color: var(--accent-fg);
  text-wrap: balance;
}
.cta-strip .btn-white {
  background: var(--accent-fg);
  color: var(--accent);
  border-color: var(--accent-fg);
  font-weight: 600;
}
.cta-strip .btn-white:hover { background: color-mix(in oklch, var(--accent-fg) 92%, var(--ink)); }
.cta-strip .btn-outline-white {
  background: transparent;
  color: var(--accent-fg);
  border-color: color-mix(in oklch, var(--accent-fg) 60%, transparent);
}
.cta-strip .btn-outline-white:hover { background: color-mix(in oklch, var(--accent-fg) 14%, transparent); }

.cta-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 720px) {
  .cta-strip { padding: 40px 0; }
  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .cta-strip h3 { max-width: none; }
  .cta-strip-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .cta-strip-actions .btn { width: 100%; justify-content: center; white-space: normal; }
}

/* ============ Trust strip ============ */
.trust {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px;
  gap: 24px;
}
.trust-header p {
  margin: 0; color: var(--ink-3); font-size: 14px;
  max-width: 32ch;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
.logo-row .lg {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
  opacity: 0.85;
}
.logo-row .lg span.dotmark {
  width: 10px; height: 10px; border-radius: 2px; background: var(--ink-4);
}
.logo-row .lg.style2 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; text-transform: lowercase; }
.logo-row .lg.style3 { font-family: var(--mono); font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 820px) {
  .logo-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .trust-header { flex-direction: column; align-items: flex-start; }
  .trust { padding: 36px 0; }
}
@media (max-width: 560px) {
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .logo-row .lg { font-size: 18px; justify-content: center; text-align: center; }
}

/* ============ How it works ============ */
.section {
  padding: 96px 0;
}
.section--aanvraag {
  padding-bottom: 120px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: var(--display-letter);
  margin: 16px 0 0;
  text-wrap: balance;
}
.section-head h2 em { font-style: normal; color: var(--accent); }
[data-typepair="redactioneel"] .section-head h2 em { font-style: italic; color: var(--accent-ink); }
.section-head p {
  font-size: 17px;
  color: var(--ink-3);
  margin: 0;
  max-width: 48ch;
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
[data-typepair="redactioneel"] .step h3 { font-weight: 400; font-size: 24px; }
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}
.step-icon {
  margin-top: auto;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  background: transparent; border: 0;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
  gap: 24px;
}
.faq-q:hover { color: var(--accent-ink); }
.faq-q-mark {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 14px;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}
.faq-item.open .faq-q-mark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}
.faq-a-inner {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 62ch;
  text-wrap: pretty;
}

@media (max-width: 820px) {
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ Form ============ */
.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 96px; }
.field .err {
  font-size: 12px;
  color: oklch(0.55 0.18 25);
  margin-top: 2px;
}
.checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
  font-size: 14px;
}
.checks label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
}
.checks input { accent-color: var(--accent); }

.form-side h3 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: var(--display-letter);
  margin: 12px 0 16px;
  text-wrap: balance;
}
.form-side h3 em { font-style: normal; color: var(--accent); }
[data-typepair="redactioneel"] .form-side h3 em { font-style: italic; color: var(--accent-ink); }
.form-side p { margin: 0 0 24px; color: var(--ink-3); font-size: 17px; }

.form-promise { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.promise-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--ink-2);
}
.promise-item svg { color: var(--accent); flex: 0 0 18px; margin-top: 2px; }

.form-submitted {
  text-align: center;
  padding: 36px 16px;
}
.form-submitted .check {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid; place-items: center;
}
.form-submitted h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.form-submitted p { color: var(--ink-3); margin: 0; }

@media (max-width: 980px) {
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .section--aanvraag { padding-bottom: 80px; }
}

/* ============ Footer ============ */
.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
  font-size: 13px;
  color: var(--ink-3);
}
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .foot { padding: 32px 0 28px; }
  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .foot-inner .brand {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .foot-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

/* ============ Gravity Forms (landing — match .form-card / .form-grid) ============ */
.gform-landing-wrap .gform_wrapper {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  max-width: none;
}

/* Reset Orbital / theme framework when still present */
.gform-landing-wrap .gform_wrapper.gform-theme,
.gform-landing-wrap [data-form-theme] {
  --gf-color-primary: var(--accent);
  --gf-color-primary-contrast: var(--accent-fg);
  --gf-color-in-ctrl: var(--bg);
  --gf-color-in-ctrl-contrast: var(--ink);
  --gf-ctrl-border-color: var(--line);
  --gf-radius: var(--radius);
}

.gform-landing-wrap .gform_heading,
.gform-landing-wrap .gform_description,
.gform-landing-wrap .gform_required_legend,
.gform-landing-wrap .gfield_required_asterisk,
.gform-landing-wrap .gfield_description:not(.validation_message),
.gform-landing-wrap .charleft,
.gform-landing-wrap .gform_ajax_spinner {
  display: none !important;
}

.gform-landing-wrap form {
  margin: 0;
}

.gform-landing-wrap .gform_body {
  margin: 0;
}

.gform-landing-wrap .gform_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.gform-landing-wrap .gfield {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  background: transparent;
  min-width: 0;
}

.gform-landing-wrap .gfield--width-full,
.gform-landing-wrap .gfield.gfield--type-textarea,
.gform-landing-wrap .gfield.gfield--type-checkbox,
.gform-landing-wrap fieldset.gfield {
  grid-column: 1 / -1;
}

.gform-landing-wrap .gfield_label,
.gform-landing-wrap legend.gfield_label {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0;
  padding: 0;
  border: none;
  float: none;
  width: auto;
  line-height: 1.4;
}

.gform-landing-wrap .ginput_container {
  margin: 0;
}

.gform-landing-wrap .ginput_container input.large,
.gform-landing-wrap .ginput_container select.large,
.gform-landing-wrap .ginput_container textarea.large,
.gform-landing-wrap .ginput_container input,
.gform-landing-wrap .ginput_container select,
.gform-landing-wrap .ginput_container textarea {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  min-height: auto;
  height: auto;
  box-shadow: none;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  appearance: none;
}

.gform-landing-wrap .ginput_container select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.gform-landing-wrap .ginput_container textarea {
  resize: vertical;
  min-height: 96px;
}

.gform-landing-wrap .ginput_container input::placeholder,
.gform-landing-wrap .ginput_container textarea::placeholder {
  color: var(--ink-4);
  opacity: 1;
}

.gform-landing-wrap .ginput_container input:focus,
.gform-landing-wrap .ginput_container select:focus,
.gform-landing-wrap .ginput_container textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 18%, transparent);
  outline: none;
}

/* Checkbox group — .checks */
.gform-landing-wrap .gfield--type-checkbox fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.gform-landing-wrap .gfield_checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}

.gform-landing-wrap .gchoice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0;
}

.gform-landing-wrap .gchoice input.gfield-choice-input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
  accent-color: var(--accent);
  border-radius: 4px;
}

.gform-landing-wrap .gchoice label.gform-field-label--type-inline {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-2);
  cursor: pointer;
  margin: 0;
}

/* Footer row — legal hint + submit (prototype) */
.gform-landing-wrap .gform_footer {
  margin: 6px 0 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.gform-landing-wrap .gform_footer::before {
  content: 'Reactie binnen 1 werkdag';
  font-size: 12px;
  color: var(--ink-4);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: 1 1 auto;
}

.gform-landing-wrap .gform_footer .gform_button,
.gform-landing-wrap .gform_button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  background: var(--accent);
  color: var(--accent-fg);
  border: 1px solid var(--accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 14px color-mix(in oklch, var(--accent) 22%, transparent);
  cursor: pointer;
  margin: 0;
  flex: 0 0 auto;
}

.gform-landing-wrap .gform_button:hover {
  filter: brightness(0.95);
}

.gform-landing-wrap .gform_button svg {
  flex-shrink: 0;
}

/* Validation */
.gform-landing-wrap .gform_validation_errors {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklch, oklch(0.55 0.18 25) 35%, var(--line));
  background: color-mix(in oklch, oklch(0.55 0.18 25) 8%, var(--bg));
  font-size: 14px;
}

.gform-landing-wrap .gfield_error .ginput_container input,
.gform-landing-wrap .gfield_error .ginput_container select,
.gform-landing-wrap .gfield_error .ginput_container textarea {
  border-color: oklch(0.55 0.18 25);
}

.gform-landing-wrap .gfield_validation_message,
.gform-landing-wrap .validation_message {
  font-size: 12px;
  color: oklch(0.55 0.18 25);
  margin-top: 2px;
  font-weight: 400;
  border: none;
  background: transparent;
  padding: 0;
}

/* Confirmation */
.gform-landing-wrap .gform_confirmation_wrapper {
  margin: 0;
}

.gform-landing-wrap .gform-landing-confirmation,
.gform-landing-wrap .form-submitted {
  text-align: center;
  padding: 36px 16px;
}

.gform-landing-wrap .gform-landing-confirmation .check,
.gform-landing-wrap .form-submitted .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid;
  place-items: center;
}

.gform-landing-wrap .gform_confirmation_message {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

.gform-landing-wrap .gform_confirmation_message h4,
.gform-landing-wrap .gform_confirmation_message p:first-child {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

@media (max-width: 980px) {
  .gform-landing-wrap .gform_fields {
    grid-template-columns: 1fr;
  }
  .gform-landing-wrap .gfield_checkbox {
    grid-template-columns: 1fr;
  }
  .gform-landing-wrap .gform_footer {
    flex-direction: column;
    align-items: stretch;
  }
  .gform-landing-wrap .gform_footer::before {
    text-align: center;
  }
  .gform-landing-wrap .gform_footer .gform_button {
    width: 100%;
  }
}

/* ============ Responsive (landing blocks) ============ */
@media (max-width: 1024px) {
  :root { --pad: 24px; }
}

@media (max-width: 640px) {
  :root { --pad: 16px; }

  .hero { padding: 36px 0 48px; }
  .hero-grid,
  .hero-grid--with-calc,
  .hero-grid--text-only { gap: 32px; }
  .hero-status {
    white-space: normal;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .hero-sub { font-size: 17px; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 32px; }
  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .hero-bullets {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 12px;
  }
  .hero h1 em { white-space: normal; }

  .calc-iframe {
    height: clamp(300px, 72vw, 480px);
    min-height: 280px;
  }
  .calc-header { padding: 12px 14px; }
  .calc-tag { font-size: 10px; }

  .section { padding: 48px 0; }
  .section--aanvraag { padding-bottom: 64px; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16px; }

  .showcase { padding: 48px 0; }
  .showcase-image { aspect-ratio: 16/11; }

  .faq-q { font-size: 16px; padding: 18px 4px; }
  .form-side p { font-size: 16px; }
  .form-card { padding: 20px; }

  .btn { max-width: 100%; }
}

@media (max-width: 480px) {
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { width: 100%; }
}

/* ============ Inner pages (header/footer theme, default content) ============ */
.rekentool-page .site-content {
  padding: 48px 0 96px;
}

.rekentool-page .site-content > article {
  max-width: 800px;
}

.rekentool-page .site-content h1 {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: var(--display-letter);
  margin: 0 0 24px;
  color: var(--ink);
}

.rekentool-page .entry-content {
  font-size: 17px;
  color: var(--ink-2);
}

.rekentool-page .entry-content h2,
.rekentool-page .entry-content h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 2em 0 0.75em;
}

.rekentool-page .entry-content a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rekentool-page .entry-content a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .rekentool-page .site-content {
    padding: 32px 0 64px;
  }
}

/* ============ Misc ============ */
.kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--bg-elev);
  color: var(--ink-2);
}
