/* roodkruis.nl - gedeelde opmaak */
:root {
  --bg: #0A0E13; --panel: #121821; --panel2: #0F141B; --line: #1E2733; --line2: #2A3442;
  --tekst: #E6EAF0; --zacht: #A3AEBD; --geel: #FCD34D; --groen: #86EFAC; --rood: #FF3B3B; --rood2: #F87171; --blauw: #7DA7D9;
  --kop: 'Space Grotesk', system-ui, sans-serif; --mono: 'Space Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--tekst); font-family: Inter, system-ui, sans-serif; }
a { color: var(--geel); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 26px 24px 56px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 520px) { .wrap { padding: 18px 14px 40px; gap: 18px; } }
header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.merk { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 25px var(--mono); letter-spacing: -.01em; color: var(--tekst); text-decoration: none; }
.merk .ico { width: 34px; height: 34px; border-radius: 7px; background: #050709; border: 2px solid #2B3441; display: flex; align-items: center; justify-content: center; }
.merk .ico svg { width: 20px; height: 20px; stroke: var(--rood); stroke-width: 3.2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,59,59,.7)); }
.merk .x { color: var(--rood); } .merk .nl { color: #6B7A8F; }
@media (max-width: 520px) { .merk { font-size: 21px; } }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--zacht); text-decoration: none; font-size: 14px; font-weight: 500; }
nav a:hover { color: var(--tekst); }
nav a.aan { color: var(--tekst); border-color: #4B1D1D; background: #1C1013; }

h1 { margin: 0; font: 700 30px var(--kop); }
h2 { margin: 0; font: 600 19px var(--kop); }
h2 .nr { font: 700 14px var(--mono); color: var(--rood2); margin-right: 8px; vertical-align: 2px; }
h3 { margin: 0; font: 600 15px var(--kop); }
.label { margin: 0; font-size: 14px; color: var(--zacht); }
.klein { font-size: 13px; color: var(--zacht); line-height: 1.55; margin: 0; }
.tegel { padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 520px) { .tegel { padding: 16px; } }
.kop-rij { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.leeg { padding: 18px; border-radius: 12px; background: var(--panel2); border: 1px dashed var(--line2); color: var(--zacht); font-size: 14px; line-height: 1.55; }
.knoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.knoppen button { font: 500 13px Inter, sans-serif; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--zacht); cursor: pointer; }
.knoppen button.aan { background: #1C1013; border-color: #5B1F22; color: var(--tekst); }

/* wegschild (rood, zoals de A-wegen) */
.schild { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 24px; padding: 0 6px; border-radius: 5px; background: #C8102E; color: #fff; font: 700 13px var(--mono); border: 1.5px solid #fff; box-shadow: 0 0 0 1.5px #C8102E; text-decoration: none; }

/* kleine matrixborden */
.borden { display: inline-flex; gap: 3px; flex-wrap: wrap; }
.b { width: 22px; height: 22px; border-radius: 3px; background: #050709; border: 1px solid #232B36; display: inline-flex; align-items: center; justify-content: center; }
.b svg { width: 14px; height: 14px; }
.b.x svg { stroke: var(--rood); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255,59,59,.7)); }
.b.p svg { stroke: #4ADE80; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.b.v svg { stroke: #4ADE80; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.b.e svg { stroke: #E6EAF0; stroke-width: 1.6; fill: none; }
.b.s { font: 700 9px var(--mono); color: #fff; }
.b.s span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rood); display: flex; align-items: center; justify-content: center; }
.b.weg { opacity: .25; }

/* kerncijfers */
.kern { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kern div { padding: 14px 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); }
.kern b { display: block; font: 700 26px var(--mono); margin-bottom: 4px; }
.kern span { font-size: 13px; color: var(--zacht); line-height: 1.45; }

/* grafiek */
.grafiek { position: relative; }
.grafiek svg { width: 100%; height: auto; display: block; overflow: visible; }
.grafiek .as text { fill: #6B7A8F; font: 11px var(--mono); }
.grafiek .rooster line { stroke: #1E2733; }
.legenda { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--zacht); }
.legenda span { display: inline-flex; align-items: center; gap: 7px; }
.legenda i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.tip { position: absolute; pointer-events: none; background: #050709; border: 1px solid var(--line2); border-radius: 8px; padding: 7px 10px; font-size: 12px; line-height: 1.5; display: none; white-space: nowrap; z-index: 2; }
.tip b { font-family: var(--mono); }
.twee { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .twee { grid-template-columns: 1fr; } }
.uitleg { padding: 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.uitleg ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--zacht); line-height: 1.6; }
.uitleg b { color: var(--tekst); font-weight: 600; }

.let-op { border-color: #3B2F12; background: #15120A; }
.let-op ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--zacht); line-height: 1.6; }
.let-op b { color: var(--tekst); font-weight: 600; }
footer { font-size: 13px; color: var(--zacht); line-height: 1.6; }
.verborgen { display: none !important; }
