/* voicebot.be — redactionele naslag-look. Eén accentkleur, geen verlopen. */
@font-face { font-family: "Newsreader"; src: url(/assets/fonts/newsreader.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/assets/fonts/newsreader-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/assets/fonts/publicsans.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #fbfaf7;
  --paper-2: #f3f0e9;
  --ink: #17191e;
  --ink-2: #3a3e48;
  --muted: #646a78;
  --rule: #e2ded5;
  --accent: #0b6b5d;
  --accent-ink: #ffffff;
  --accent-soft: #e3f0ec;
  --mark: #f6e7b8;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --read: 680px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14161a;
    --paper-2: #1c1f25;
    --ink: #ecebe6;
    --ink-2: #c9c8c1;
    --muted: #9a9ea8;
    --rule: #2c3038;
    --accent: #5cc3ad;
    --accent-ink: #0d1412;
    --accent-soft: #17302b;
    --mark: #4a4126;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Kop */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.brand b { font: 700 21px/1 var(--serif); letter-spacing: -0.01em; }
.brand span { font-size: 13px; color: var(--muted); border-left: 1px solid var(--rule); padding-left: 10px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); text-decoration: underline; }

/* Typografie */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 50px); margin: 0 0 18px; }
h2 { font-size: 28px; margin: 52px 0 14px; }
h3 { font-size: 21px; margin: 32px 0 8px; }
p, ul, ol, table, blockquote { margin: 0 0 18px; }
li { margin-bottom: 6px; }
strong { font-weight: 650; }
.lede { font: 400 22px/1.5 var(--serif); color: var(--ink-2); margin-bottom: 22px; }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }

/* Kruimelpad + meta */
.crumbs { font-size: 14px; color: var(--muted); margin: 28px 0 22px; }
.crumbs a { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; margin-bottom: 36px; }

/* Artikel */
.article { display: grid; grid-template-columns: minmax(0, var(--read)) 260px; gap: 64px; justify-content: space-between; padding-bottom: 72px; }
.prose { min-width: 0; }
.prose h2 { padding-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.prose th { font-weight: 650; background: var(--paper-2); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; color: var(--ink-2); font-family: var(--serif); font-size: 19px; }
.prose code { font-size: 0.9em; background: var(--paper-2); padding: 1px 5px; border-radius: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose sup a { text-decoration: none; font-size: 12px; padding: 0 1px; }
.kort { background: var(--accent-soft); border-radius: 6px; padding: 18px 22px; margin: 0 0 30px; }
.kort > p:first-child > strong:first-child { display: block; font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }
.kort p:last-child, .kort ul:last-child { margin-bottom: 0; }
.let-op { border: 1px solid var(--rule); border-left: 4px solid #c58a12; border-radius: 4px; padding: 14px 18px; margin: 0 0 22px; background: var(--paper); }
.let-op p:last-child { margin: 0; }

.aside { position: sticky; top: 24px; align-self: start; font-size: 14px; }
.toc { border-left: 1px solid var(--rule); padding-left: 18px; }
.toc b { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0 0 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* Bronnen */
.bronnen { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.bronnen h2 { font-size: 20px; margin: 0 0 10px; }
.bronnen ol { padding-left: 20px; }
.bronnen a { word-break: break-word; }

/* Oproep naar AI-Studio */
.cta { border: 1px solid var(--ink); border-radius: 8px; padding: 26px 28px; margin: 48px 0 0; background: var(--paper); box-shadow: 5px 5px 0 var(--accent); }
.cta .eyebrow { margin-bottom: 6px; }
.cta h2 { margin: 0 0 8px; font-size: 25px; }
.cta p { color: var(--ink-2); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 11px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn-line { display: inline-block; margin-left: 14px; font-size: 15px; font-weight: 600; }

/* Verwant */
.related { margin-top: 48px; }
.related h2 { font-size: 20px; margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { display: block; border: 1px solid var(--rule); border-radius: 8px; padding: 18px 20px; text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .15s; }
.card:hover { border-color: var(--accent); }
.card b { display: block; font: 600 19px/1.3 var(--serif); margin-bottom: 6px; }
.card span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Home */
.hero { padding: 64px 0 40px; border-bottom: 1px solid var(--rule); }
.hero h1 { max-width: 15em; font-size: clamp(38px, 6vw, 62px); }
.hero .lede { max-width: 36em; }
.hero-meta { font-size: 14px; color: var(--muted); }
.section { padding: 48px 0 8px; }
.section > h2 { margin: 0 0 6px; }
.section > p { color: var(--muted); max-width: 44em; }
.definitie { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--rule); }
.definitie dfn { font-style: normal; font-weight: 650; }
.definitie .groot { font: 400 24px/1.5 var(--serif); }
.home-cta { margin: 56px 0 72px; }

/* Woordenlijst */
.glossary dt { font: 600 20px/1.3 var(--serif); margin-top: 26px; scroll-margin-top: 24px; }
.glossary dd { margin: 6px 0 0; }

/* Calculator */
.calc { border: 1px solid var(--rule); border-radius: 8px; padding: 22px; background: var(--paper-2); margin: 0 0 26px; }
.calc label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.calc .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 16px; }
.calc input { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--rule); border-radius: 5px; background: var(--paper); color: var(--ink); }
.calc output { display: block; font: 600 28px/1.2 var(--serif); }
.calc .uit { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; border-top: 1px solid var(--rule); padding-top: 16px; }
.calc small { color: var(--muted); }

/* Voet */
.site-foot { border-top: 1px solid var(--rule); background: var(--paper-2); font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.site-foot b { display: block; color: var(--ink); margin-bottom: 8px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { color: var(--ink-2); }
.initiatief { color: var(--ink-2); }

@media (max-width: 900px) {
  .article { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .aside { display: none; }
  .definitie { grid-template-columns: 1fr; gap: 16px; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .nav { gap: 14px; }
  h2 { font-size: 24px; }
  .lede { font-size: 19px; }
  .cta { padding: 20px; }
  .btn-line { display: block; margin: 12px 0 0; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}
@media print { .site-head, .aside, .cta, .site-foot { display: none; } }
