/* Gedeelde stijl voor stapb.nl en stellingwijzer.nl */
:root {
  --ink: #14213D;
  --ink-2: #2B3956;
  --muted: #3A4A6B;
  --ground: #F7F7F4;
  --paper: #FFFFFF;
  --line: #E3E3DC;
  --yellow: #F2C230;
  --cream: #FFF7CC;
  --cream-line: #E8DFA8;
  --tag: #FFF3C7;
  --tag-ink: #5E4800;
  --red: #D7262E;
  --green: #1F9D45;
  --pencil: #C81E25;
  --radius: 10px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: Archivo, 'Public Sans', sans-serif; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }
.eyebrow { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #8A6A00; margin-bottom: 12px; }
.lead { font-size: 21px; }
.muted { color: var(--muted); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.cream { background: var(--cream); border-bottom-color: var(--cream-line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nav a { padding: 10px 14px; text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 6px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); }
.btn:hover { color: var(--ink); background: #F0F0EA; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #24345A; color: #FFFFFF; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #E5B520; }
.btn-ghost-light { border-color: #FFFFFF; color: #FFFFFF; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #FFFFFF; }

/* Sections */
.section { padding: 88px 0; }
.dark { background: var(--ink); color: #FFFFFF; }
.dark .muted { color: #D5DAE5; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > .narrow { flex: 1 1 320px; }
.split > .wide { flex: 999 1 560px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.steps .num { font-family: Archivo, sans-serif; font-weight: 800; font-size: 44px; color: var(--yellow); line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form .row { display: flex; flex-wrap: wrap; gap: 14px; }
.form .row > label { flex: 1 1 220px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form input[type=text], .form input[type=email], .form textarea, .form select {
  font: inherit; font-weight: 400; font-size: 17px; color: var(--ink); background: #FFFFFF;
  border: 1px solid var(--ink); border-radius: 6px; padding: 12px; min-height: 48px; width: 100%;
}
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 8px; padding: 14px 18px; font-weight: 600; margin-bottom: 16px; }
.notice.ok { background: #E6F4EA; border: 1px solid #1F9D45; }
.notice.err { background: #FDECEC; border: 1px solid #D7262E; }

/* Footer */
.site-footer { background: var(--ink); color: #D5DAE5; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; }
.site-footer a { color: var(--yellow); }

/* Stellingwijzer: chips, cards, labels */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--ink); background: #FFFFFF; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--tag); color: var(--tag-ink); padding: 4px 10px; border-radius: 4px; }
.nr { font-family: Archivo, sans-serif; font-weight: 700; font-size: 15px; color: var(--muted); }
.sq { display: inline-flex; gap: 3px; }
.sq i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.sq .r { background: var(--red); }
.sq .g { background: var(--green); }
.lab { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.scard { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.scard .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.scard h3 { font-size: 20px; line-height: 1.35; }
.scard a.more { margin-top: auto; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.scard a.more::after { content: " →"; white-space: pre; }
.empty { padding: 32px; background: #FFFFFF; border: 1px dashed #B9B9AE; border-radius: var(--radius); color: var(--muted); }

/* Potloden */
.pencils { display: flex; flex-direction: column; gap: 22px; }
.pencil { display: flex; align-items: stretch; min-height: 96px; max-width: 820px; text-decoration: none; filter: drop-shadow(0 6px 10px rgba(20,33,61,.18)); transition: transform .15s ease; }
.pencil:hover { transform: translateX(8px); }
.pencil .tip, .pencil .end { position: relative; }
.pencil .tip { flex: 0 0 80px; }
.pencil .end { flex: 0 0 64px; }
.pencil .tip svg, .pencil .end svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pencil .body { flex: 1 1 auto; min-width: 0; background: var(--pencil); color: #FFFFFF; padding: 14px 24px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.pencil .body strong { font-family: Archivo, sans-serif; font-size: 22px; line-height: 1.2; }
.pencil .body span { font-size: 16px; line-height: 1.4; color: #FFF1F1; }
@media (prefers-reduced-motion: reduce) { .pencil { transition: none; } html { scroll-behavior: auto; } }

/* Stelling-detail */
.statement { background: var(--ink); color: #FFFFFF; border-radius: var(--radius); padding: 36px; margin-bottom: 40px; }
.statement h1 { font-weight: 700; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.3; }
.toel p { margin-bottom: 14px; color: var(--ink-2); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0 0 6px; }
.choices legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 6px; font-weight: 700; border: 2px solid var(--ink); background: #FFFFFF; cursor: pointer; }
.choice input:checked + span { background: var(--ink); color: #FFFFFF; }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.sib { display: block; width: 100%; text-align: left; border-radius: var(--radius); padding: 16px 18px; font-size: 16px; line-height: 1.45; text-decoration: none; background: #FFFFFF; border: 1px solid var(--line); }
.sib[aria-current="page"] { background: var(--tag); border: 2px solid var(--ink); }
.sib b { display: block; font-size: 13px; color: var(--tag-ink); letter-spacing: .06em; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .pencil .tip { flex-basis: 56px; }
  .pencil .end { flex-basis: 44px; }
  .pencil .body strong { font-size: 19px; }
}
