/* Babelfish design system: bijna kleurloos, type doet het werk, één marigold-accent. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #faf8f4;
  --surface: #ffffff;
  --cream: #fbf3e9;
  --ink: #161310;
  --ink-soft: #4a423b;
  --muted: #6e655b;
  --line: #e7e0d5;
  --marigold: #efa92b;
  --marigold-wash: rgba(239, 169, 43, 0.16);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: 32px;
  --section: 120px;
  --radius-sm: 2px;
  --radius-md: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15120f;
    --surface: #1e1a15;
    --cream: #241e16;
    --ink: #f3ece1;
    --ink-soft: #cdc2b2;
    --muted: #a99e8d;
    --line: #352e25;
    --marigold: #f0b43a;
    --marigold-wash: rgba(240, 180, 58, 0.18);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font: 400 17px/28px var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.smal { max-width: calc(720px + 2 * var(--gutter)); }

/* Secties: drie thema's, nooit meer */
.section { padding: var(--section) 0; }
.theme-paper { background: var(--paper); }
.theme-cream { background: var(--cream); }
.theme-ink { background: var(--ink); color: var(--paper); }
.theme-ink h2, .theme-ink h3, .theme-ink strong, .theme-ink a { color: var(--paper); }

/* Typografie */
h2, h3 { color: var(--ink); font-weight: 700; margin: 0 0 32px; }
h2 { font-size: 64px; line-height: 68px; letter-spacing: -0.02em; }
h3 { font-size: 46px; line-height: 50px; letter-spacing: -0.015em; }
p { margin: 0 0 20px; max-width: 65ch; }
strong { color: var(--ink); font-weight: 600; }

.kicker {
  font-size: 12.5px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}

/* Het ene accent: een markeerstreep onder één woord */
mark {
  color: inherit;
  background: linear-gradient(transparent 64%, var(--marigold) 64%, var(--marigold) 90%, transparent 90%);
  padding: 0 0.04em;
}

/* Knoppen */
.btn {
  font: 600 16px/1 var(--font-sans);
  padding: 15px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.theme-ink .btn--primary { background: var(--paper); color: var(--ink); }
.btn--secondary {
  background: transparent; color: var(--ink);
  padding-left: 4px; padding-right: 4px;
  border-bottom: 2px solid transparent;
}
.btn--secondary:hover { border-bottom-color: var(--marigold); }
.theme-ink .btn--secondary { color: var(--paper); }
.acties { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 40px; }

/* Kopregel */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.merk { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }

/* Hero */
.hero { padding-top: 96px; }
.hero__tekst p:not(.kicker) { font-size: 21px; line-height: 32px; }
.hero__tekst .btn { margin-top: 16px; }
.portret { float: right; width: 240px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius-md); margin: 6px 0 16px 40px; }

/* Lijsten */
.section ul { list-style: disc; margin: 0 0 32px; padding: 0 0 0 1.25em; }
.section li { padding: 0 0 8px; max-width: 65ch; }
.section li::marker { color: var(--marigold); }
.section li em { display: block; margin-top: 8px; color: var(--muted); }

/* Voetregel */
.voet { background: var(--paper); border-top: 1px solid var(--line); padding: 32px 0; font-size: 15px; color: var(--muted); }
.voet__inner { display: flex; gap: 24px; flex-wrap: wrap; }
.voet a { color: var(--muted); }

@media (max-width: 860px) {
  :root { --gutter: 16px; --section: 72px; }
  h2 { font-size: 38px; line-height: 42px; }
  h3 { font-size: 30px; line-height: 35px; }
  .hero { padding-top: 48px; }
  .portret { width: 132px; margin-left: 20px; }
  .hero__tekst p:not(.kicker) { font-size: 18px; line-height: 28px; }
}
.telefoon { font-weight: 600; }

/* Tussenkopjes, citaten en cijfers */
h4 { color: var(--ink); font-size: 21px; line-height: 28px; font-weight: 700; margin: 48px 0 16px; }
h3 + h4, p + h4:first-of-type { margin-top: 32px; }
blockquote { margin: 32px 0 16px; padding: 0 0 0 24px; border-left: 2px solid var(--line); }
blockquote p { font-size: 23px; line-height: 34px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
cite { font-style: normal; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.cijfer { font-weight: 600; color: var(--ink); font-size: 15px; letter-spacing: 0.01em; }
.hero__tekst em { color: var(--muted); }
@media (max-width: 860px) {
  blockquote p { font-size: 19px; line-height: 29px; }
}

/* Menu */
.menu { display: flex; gap: 24px; flex-wrap: wrap; }
.menu a { font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.menu a:hover { border-bottom-color: var(--marigold); }

/* Cases, principes en blog */
.artikel h1 { color: var(--ink); font-size: 46px; line-height: 50px; letter-spacing: -0.015em; font-weight: 700; margin: 0 0 32px; }
.artikel h2, .artikel h3 { font-size: 28px; line-height: 34px; letter-spacing: -0.01em; margin: 56px 0 16px; }
.artikel hr { border: 0; margin: 0; }
.artikel table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }
.artikel thead { display: none; }
.artikel td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.artikel__beeld { border-radius: var(--radius-md); margin: 0 0 32px; }
.inleiding { font-size: 21px; line-height: 32px; }
.terug { margin-top: 48px; }

.kader { background: var(--cream); border-radius: var(--radius-md); padding: 24px; margin: 0 0 40px; display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; }
.kader dt { color: var(--ink); font-weight: 600; }
.kader dd { margin: 0; }

.section .overzicht { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.section .overzicht li { padding: 0; border-bottom: 1px solid var(--line); }
.overzicht a { display: block; padding: 24px 0; text-decoration: none; }
.overzicht .kicker { display: block; margin-bottom: 8px; }
.overzicht strong { display: block; margin-bottom: 4px; font-size: 21px; line-height: 28px; font-weight: 700; }
.overzicht a:hover strong { text-decoration: underline; text-decoration-color: var(--marigold); text-underline-offset: 4px; }
.overzicht span:last-child:not(.kicker) { color: var(--ink-soft); }

@media (max-width: 860px) {
  .top__inner { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 6px 24px; }
  .menu { gap: 18px; }
  .artikel h1 { font-size: 34px; line-height: 38px; }
  .artikel h2, .artikel h3 { font-size: 24px; line-height: 30px; margin-top: 44px; }
  .kader { grid-template-columns: 1fr; gap: 2px; }
  .kader dd { margin-bottom: 12px; }
  .kader dd:last-child { margin-bottom: 0; }
}
.section .overzicht li { max-width: none; }

/* Archief */
.archiefnoot { background: var(--cream); border-radius: var(--radius-md); padding: 14px 18px; font-size: 15px; line-height: 23px; max-width: none; }
.section .archieflijst { list-style: none; padding: 0; }
.section .archieflijst li { padding: 6px 0; }

/* Portretten (3 dec 2026): hero naast de kop, breed beeld boven het slotblok */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; }
.hero__foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
.slot__foto { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); margin: 0 0 56px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__foto { max-width: 280px; order: -1; }
  .slot__foto { margin-bottom: 40px; }
}

/* Stappen op de homepage (3 dec 2026): de genummerde lijst als drie kaarten met een plaatje */
.section ol.stappen { list-style: none; padding: 0; margin: 48px 0 40px; counter-reset: stap;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  width: min(1096px, calc(100vw - 2 * var(--gutter))); position: relative; left: 50%; transform: translateX(-50%); }
.stappen li { counter-increment: stap; max-width: none; padding: 0; font-size: 16px; line-height: 26px; }
.stappen li::before { content: ""; display: block; aspect-ratio: 380 / 240; margin-bottom: 20px;
  background: var(--cream) center / cover no-repeat; border: 1px solid var(--line); border-radius: var(--radius-md); }
.stappen li:nth-child(1)::before { background-image: url("../img/stap-1.png"); }
.stappen li:nth-child(2)::before { background-image: url("../img/stap-2.png"); }
.stappen li:nth-child(3)::before { background-image: url("../img/stap-3.png"); }
.stappen li strong::before { content: counter(stap, decimal-leading-zero) "  "; color: var(--muted); font-weight: 600; white-space: pre; }
.stappen li strong { display: block; font-size: 21px; line-height: 28px; margin-bottom: 6px; }
@media (max-width: 860px) {
  .section ol.stappen { grid-template-columns: 1fr; width: auto; left: auto; transform: none; gap: 40px; }
}

/* Aanbod (3 dec 2026): per aanbod tekst links, waaier rechts */
.aanbod { max-width: 1096px; }
.aanbod h1, .aanbod__intro { max-width: 720px; }
.aanbod__item { padding: 56px 0; border-top: 1px solid var(--line); }
.aanbod__item:first-of-type { margin-top: 24px; }
.aanbod__item--beeld { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; }
.aanbod__item h3 { margin-top: 0; }
.aanbod__waaier { width: 100%; height: auto; }
@media (max-width: 860px) {
  .aanbod__item { padding: 40px 0; }
  .aanbod__item--beeld { grid-template-columns: 1fr; gap: 16px; }
  .aanbod__waaier { order: -1; max-width: 360px; margin: 0 auto; }
}

/* 3 dec, bijgesteld: aanbod-beeld LINKS naast de tekst, kleiner */
.aanbod__item--beeld { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.aanbod__waaier { order: -1; }
@media (max-width: 860px) {
  .aanbod__item--beeld { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
  .aanbod__waaier { max-width: none; margin: 0; }
}
@media (max-width: 520px) {
  .aanbod__item--beeld { grid-template-columns: 1fr; }
  .aanbod__waaier { max-width: 240px; }
}

/* 3 dec: één typografische schaal. Kop 64 · sectiekop 46 · lead 21 · tekst 17 · klein 14. Niets daartussen. */
blockquote p { font-size: 21px; line-height: 32px; }
cite { font-size: 14px; }
.cijfer { font-size: 17px; letter-spacing: 0; }
.stappen li { font-size: 17px; line-height: 28px; }
@media (max-width: 860px) {
  blockquote p { font-size: 18px; line-height: 28px; }
}
.hero__tekst p.cijfer { font-size: 17px; line-height: 28px; }
.hero__tekst blockquote em { color: var(--ink); }

/* 3 dec: zijbeeld op productpagina's, links naast de kop */
.zijbeeld { float: left; width: 280px; height: auto; margin: 40px 36px 16px -20px; }
.zijbeeld + h3 { margin-top: 56px; }
.artikel table { clear: both; }
@media (max-width: 860px) {
  .zijbeeld { float: none; width: 100%; max-width: 280px; margin: 32px 0 0; }
}
.artikel ul, .artikel ol { overflow: hidden; }
