/* Sentomus resultatenpagina: stijl afgeleid van sentomus.eu (teal, Playfair Display + DM Sans, kaarten met teal bovenrand). */
:root {
  --bg: #f6fafa;
  --card: #ffffff;
  --card-alt: #eef5f5;
  --ink: #1a2e2e;
  --ink-head: #27403f;
  --muted: rgba(26, 46, 46, 0.72);
  --soft: rgba(26, 46, 46, 0.5);
  --line: rgba(45, 122, 122, 0.16);
  --teal: #2d7a7a;
  --teal-dark: #235f5f;
  --teal-light: #3a9292;
  --teal-pale: rgba(45, 122, 122, 0.07);
  --haven: #d4809e;
  --perspective: #486dbf;
  --creativity: #e6b84e;
  --community: #4f9a8f;
  --good: #1f9d55;
  --bad: #c2410c;
  --warn: #d4a134;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --r: 18px;
  --font-d: "Playfair Display", Georgia, serif;
  --font-b: "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1717; --card: #152222; --card-alt: #1a2b2b; --ink: #e6f0f0; --ink-head: #f1f8f8; --muted: rgba(230, 240, 240, 0.74); --soft: rgba(230, 240, 240, 0.5);
    --line: rgba(110, 200, 200, 0.2); --teal: #5cc0c0; --teal-dark: #8ad6d6; --teal-light: #6fd0d0; --teal-pale: rgba(92, 192, 192, 0.1);
    --haven: #e598b4; --perspective: #7c9ae0; --creativity: #efc866; --community: #6fbcb0; --good: #4ade80; --bad: #fb923c; --warn: #eab308; --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1717; --card: #152222; --card-alt: #1a2b2b; --ink: #e6f0f0; --ink-head: #f1f8f8; --muted: rgba(230, 240, 240, 0.74); --soft: rgba(230, 240, 240, 0.5);
  --line: rgba(110, 200, 200, 0.2); --teal: #5cc0c0; --teal-dark: #8ad6d6; --teal-light: #6fd0d0; --teal-pale: rgba(92, 192, 192, 0.1);
  --haven: #e598b4; --perspective: #7c9ae0; --creativity: #efc866; --community: #6fbcb0; --good: #4ade80; --bad: #fb923c; --warn: #eab308; --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-b); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-d); color: var(--ink-head); line-height: 1.2; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 0.8em; }
a { color: var(--teal); }
button { font: inherit; color: inherit; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }

/* kop */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 93%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-d); font-weight: 700; font-size: 1.25rem; color: var(--teal); }
.logo svg { width: 34px; height: 28px; }
.sprong { margin-left: auto; max-width: 52vw; }
.inhoud-lijst { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.inhoud-lijst a { text-decoration: none; font-size: 0.85rem; color: var(--teal-dark); background: var(--teal-pale); padding: 5px 12px; border-radius: 999px; }
.inhoud-lijst a:hover { background: var(--teal); color: #fff; }
.taalkeuze { display: flex; gap: 2px; }
.taalkeuze button { border: 1px solid transparent; background: transparent; padding: 4px 8px; border-radius: 8px; cursor: pointer; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.taalkeuze button[aria-pressed="true"] { background: var(--teal); color: #fff; }
@media (max-width: 600px) { .sprong { max-width: 34vw; } .logo span { display: none; } .top .wrap { gap: 8px; } }
@media (max-width: 360px) { .taalkeuze button { padding: 3px 3px; } .sprong { max-width: 24vw; } .logo svg { width: 28px; } }
@media (max-width: 520px) { .sprong { max-width: 30vw; font-size: 0.8rem; padding-right: 22px; } .taalkeuze button { padding: 4px 5px; font-size: 0.72rem; } .hero { padding-top: 36px; } }

/* hero */
.hero { padding: 56px 0 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
.hero h1 { max-width: 20ch; }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin-top: 16px; }
.cijfers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 30px; }
.cijfer { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.cijfer b { display: block; font-family: var(--font-d); font-size: 2rem; color: var(--teal-dark); line-height: 1.1; }
.cijfer span { font-size: 0.85rem; color: var(--muted); }
.partners { margin-top: 34px; }
.partners p { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); margin-bottom: 10px; }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logos a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; display: flex; align-items: center; height: 58px; }
.logos img { max-height: 40px; max-width: 150px; object-fit: contain; display: block; }

/* secties */
section.verhaal { padding: 44px 0 8px; }
.kop { display: flex; gap: 14px; align-items: baseline; margin-bottom: 10px; }
.nr { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: #fff; background: var(--teal); width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; transform: translateY(-3px); }
.lead { font-size: 1.08rem; max-width: 72ch; color: var(--ink); }
.kaart { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; margin-top: 18px; }
.kaart h3 { margin-bottom: 8px; }
.voetnoot { font-size: 0.8rem; color: var(--soft); margin-top: 12px; }
.takeaway { margin-top: 14px; padding: 12px 16px; background: var(--teal-pale); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; font-size: 0.98rem; }
.raster { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.twee { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .twee { grid-template-columns: 1fr; } }

/* bedieningselementen */
.regel { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 14px; }
.regel label { font-size: 0.8rem; color: var(--soft); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
select { font: inherit; font-size: 0.9rem; padding: 7px 28px 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 13px; font-size: 0.88rem; cursor: pointer; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"], .chip.aan { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip:disabled { opacity: 0.45; cursor: not-allowed; }
.segment { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.segment button { border: 0; background: var(--card); padding: 6px 12px; cursor: pointer; font-size: 0.85rem; }
.segment button + button { border-left: 1px solid var(--line); }
.segment button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.knop { border: 1px solid var(--teal); background: transparent; color: var(--teal-dark); border-radius: 10px; padding: 7px 14px; font-size: 0.88rem; cursor: pointer; font-weight: 600; }
.knop:hover { background: var(--teal-pale); }

/* staafgrafieken (HTML) */
.staven { display: grid; gap: 7px; }
.staaf { display: grid; grid-template-columns: minmax(110px, 42%) 1fr 46px; gap: 10px; align-items: center; font-size: 0.88rem; }
.staaf .naam { line-height: 1.25; }
.staaf .spoor { position: relative; height: 22px; background: var(--card-alt); border-radius: 6px; }
.staaf .vul { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--teal); min-width: 2px; transition: width .3s; }
.staaf .waarde { text-align: right; font-weight: 700; font-size: 0.85rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.staaf .ref { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: 0.55; border-radius: 1px; }
.staaf .ref::after { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: 0.0; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8rem; color: var(--muted); margin: 8px 0 0; }
.legenda i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legenda .tik { width: 2px; height: 14px; border-radius: 1px; background: var(--ink); opacity: .55; vertical-align: -3px; }
.gestapeld { display: flex; height: 26px; border-radius: 8px; overflow: hidden; background: var(--card-alt); }
.gestapeld span { display: flex; align-items: center; justify-content: center; font-size: 0.74rem; font-weight: 700; color: #fff; min-width: 0; overflow: hidden; }
.rij3 { display: grid; grid-template-columns: minmax(80px, 22%) 1fr; gap: 10px; align-items: center; margin: 7px 0; font-size: 0.9rem; }

/* kompas */
.kompas-wrap { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .kompas-wrap { grid-template-columns: 1fr; } }
svg.kompas { width: 100%; height: auto; display: block; }
svg text { font-family: var(--font-b); fill: var(--ink); }
.dimkop { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.dimkop:first-child { margin-top: 0; }
.dimkop i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.dimkop small { font-weight: 400; color: var(--soft); margin-left: auto; }
.stelling { display: grid; grid-template-columns: minmax(120px, 50%) 1fr 46px; gap: 8px; align-items: center; font-size: 0.82rem; margin: 5px 0; }
.stelling .spoor { position: relative; height: 14px; background: var(--card-alt); border-radius: 5px; }
.stelling .vul { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; transition: width .3s; }
.stelling .ref { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: 0.6; }
.stelling .w { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.extrakop { margin: 10px 0 2px; font-size: 0.74rem; color: var(--soft); text-transform: uppercase; letter-spacing: .04em; }
.stelling.extra .spoor { background: repeating-linear-gradient(135deg, var(--card-alt) 0 6px, transparent 6px 9px); }
.stelling.extra .vul { opacity: 0.75; }
.paneel { margin-top: 14px; padding: 14px; background: var(--card-alt); border-radius: 12px; }
.schuif { display: grid; grid-template-columns: minmax(130px, 55%) 1fr 26px; gap: 8px; align-items: center; font-size: 0.8rem; margin: 6px 0; }
.schuif input[type="range"] { width: 100%; accent-color: var(--teal); }

/* punten- en lijndiagram */
svg.diagram { width: 100%; height: auto; display: block; overflow: visible; }
svg.diagram .as { stroke: var(--line); stroke-width: 1; }
svg.diagram .raster-lijn { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
svg.diagram text { font-size: 11px; fill: var(--muted); }
.tip { position: fixed; z-index: 50; pointer-events: none; background: var(--ink); color: var(--bg); padding: 7px 10px; border-radius: 8px; font-size: 0.8rem; max-width: 260px; box-shadow: 0 6px 20px rgba(0,0,0,.3); display: none; }

/* citaten */
.citaten { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); margin-top: 12px; }
.citaat { background: var(--card-alt); border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; position: relative; }
.citaat::before { content: "“"; font-family: var(--font-d); font-size: 2.4rem; color: var(--teal); position: absolute; left: 10px; top: -4px; opacity: .6; }
.citaat p { margin: 0 0 6px; padding-left: 14px; }
.citaat .orig { color: var(--soft); font-size: 0.8rem; padding-left: 14px; font-style: italic; }
.citaat .bron { font-size: 0.75rem; color: var(--soft); padding-left: 14px; margin-top: 6px; }

/* diversen */
.grote-getallen { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 4px; }
.gg { background: var(--teal-pale); border-radius: 14px; padding: 14px 16px; }
.gg b { display: block; font-family: var(--font-d); font-size: 2.1rem; color: var(--teal-dark); line-height: 1.1; }
.gg span { font-size: 0.85rem; color: var(--muted); }
.gg.neg b { color: var(--bad); }
table.tab { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.tab th, table.tab td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.tab th { color: var(--soft); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .05em; }
.lijst { margin: 0; padding-left: 1.2em; }
.lijst li { margin: 0 0 0.45em; }
.methode h3 { margin: 18px 0 6px; font-size: 1.05rem; }
footer { margin: 56px 0 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.leeg { color: var(--soft); font-style: italic; font-size: 0.88rem; padding: 10px 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .regel, .taalkeuze { display: none; } .kaart { box-shadow: none; break-inside: avoid; } }
