/* App-laag: het gemak van een app met de rust van een partituur (Stemvast-stijl "Stemvork": bosgroen, mosterd en linnen; koppen in Bricolage Grotesque, tekst in Figtree).
   Komt ná style.css en overschrijft alleen het uiterlijk; alle id's en functies blijven gelijk. */

:root {
  /* partituur-palet: Bärenreiter-blauw en marine, warm goud, ivoor papier; Novello-oranje als accent */
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-2: #e4eae4;
  --fg: #17302a;
  --fg-soft: #34483f;
  --muted: #56685f;   /* was #6a7a71 (3,7:1 op ivoor); nu ≥ 4,5:1 op ivoor, wit en lichtblauw (WCAG 1.4.3) */
  --line: #d8ded6;
  --accent: #1f4a3d;
  --accent-strong: #17302a;
  --accent-soft: #e1ebe4;
  --on-accent: #ffffff;
  --pink: #c58a12;
  --gold: #a8730c;
  --ok: #2f855a;
  --grad: linear-gradient(140deg, #17302a 0%, #1f4a3d 55%, #2e6a57 100%);
  --grad-1: linear-gradient(140deg, #1f4a3d, #2e6a57);
  --grad-2: linear-gradient(140deg, #17302a, #1f4a3d);
  --grad-3: linear-gradient(140deg, #2e6a57, #5e8e7c);
  --roll-bg: #fbfcfa; --roll-bar: #d3ded6; --roll-other: rgba(90, 110, 130, .26); --roll-loop: rgba(183, 121, 31, .12);
  --shadow: 0 1px 3px rgba(20, 40, 60, .06), 0 10px 28px rgba(20, 40, 60, .08);
  --radius: 22px;
  --sans: 'Figtree', 'Figtree reserve', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Bricolage Grotesque', 'Bricolage Grotesque reserve', system-ui, sans-serif;
  --tabbar: 0px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1a16; --surface: #16241f; --surface-2: #1e302a; --fg: #eef3ef; --fg-soft: #c9d6ce; --muted: #8fa398;
    --line: #2a3d35; --accent: #8cc9ae; --accent-strong: #bfe3d2; --accent-soft: #1a2f27; --on-accent: #0b1a14;
    --pink: #f0a05f; --gold: #f2c069; --ok: #6fd3a0; --roll-bg: #121e1a; --roll-bar: #2b3f37;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 12px 30px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1a16; --surface: #16241f; --surface-2: #1e302a; --fg: #eef3ef; --fg-soft: #c9d6ce; --muted: #8fa398;
  --line: #2a3d35; --accent: #8cc9ae; --accent-strong: #bfe3d2; --accent-soft: #1a2f27; --on-accent: #0b1a14;
  --pink: #f0a05f; --gold: #f2c069; --ok: #6fd3a0; --roll-bg: #121e1a; --roll-bar: #2b3f37;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 12px 30px rgba(0, 0, 0, .4);
}

body { font-family: var(--sans); font-size: 16px; letter-spacing: -.005em; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.05; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.12rem; }
section { margin: 26px 0; }
.card { border: 0; border-radius: var(--radius); padding: 20px; }
.hint { color: var(--muted); }

/* ---------- kop: glazen balk ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { min-height: 58px; }
.brand { font: 800 1.15rem var(--display); letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 8px; }
.brand::before { content: ''; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); box-shadow: 0 4px 12px rgba(30, 58, 90, .35); -webkit-mask: none; }
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* menu: een label breekt nooit middenin; is het venster te smal, dan gaat een heel item naar de volgende regel (audit W-08) */
.top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; min-width: 0; row-gap: 2px; }
/* boven 1100 px past alles op één regel (gemeten op 1101-1440), maar flexbox liet het menu toch krimpen naast "Meld iets" */
@media (min-width: 1101px) { .top nav, .top .meld-knop { flex-shrink: 0; } .top .meld-knop { white-space: nowrap; } }
.top nav a { font-weight: 600; font-size: .9rem; padding: 6px 8px; border-radius: 999px; margin-left: 0; white-space: nowrap; }
.top nav a:hover { background: var(--surface-2); color: var(--fg); }

/* ---------- onderste tabbalk (telefoon) ---------- */
.tabbar { display: none; }
@media (max-width: 800px) {
  :root { --tabbar: 68px; }
  .top nav { display: none; }
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 62px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); box-shadow: 0 10px 30px rgba(20, 10, 40, .25), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font: 700 .68rem var(--sans); border-radius: 18px; margin: 5px 3px; transition: color .15s, background .15s, transform .12s; }
  .tabbar a span { font-size: 1.3rem; line-height: 1; }
  .tabbar a.on { color: var(--accent); background: var(--accent-soft); }
  .tabbar a:active { transform: scale(.92); }
  body { padding-bottom: calc(var(--tabbar) + 22px + env(safe-area-inset-bottom)); }
  footer { margin-bottom: 0; }
}

/* ---------- knoppen: rond en veerkrachtig ---------- */
.btn { border-radius: 999px; border: 0; background: var(--surface-2); font: 700 .95rem var(--sans); padding: 10px 18px; transition: transform .12s, background .15s, box-shadow .15s; }
.btn:hover { background: color-mix(in srgb, var(--surface-2) 70%, var(--accent) 12%); }
.btn:active, .seg button:active, .chips button:active, .list a:active, .qa button:active, .zeg:active { transform: scale(.96); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(30, 58, 90, .3); }
.btn.primary:hover { background: var(--grad); filter: brightness(1.08); }
.seg { background: var(--surface-2); padding: 4px; }
.seg button { font-weight: 700; transition: background .15s, color .15s, transform .12s; }
.seg button[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(30, 58, 90, .28); }
.chips button { border: 0; background: var(--surface-2); font-weight: 700; transition: transform .12s; }
.chips .primary-chip { background: var(--grad); color: #fff; }
input[type="number"], select, .share-form input, .share-form select { border-radius: 14px; border: 2px solid var(--line); background: var(--surface); }
input:focus, select:focus { outline: none; border-color: var(--accent); }
/* met het toetsenbord dezelfde gouden rand als op knoppen; schuifjes en vinkjes hebben geen rand die van kleur kan wisselen */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- home: held-kaart ---------- */
.hero { padding: 18px 0 6px; }
.hero-card { position: relative; overflow: hidden; border-radius: 28px; padding: 24px 22px 22px; color: #fff; background: var(--grad); box-shadow: 0 18px 40px rgba(30, 58, 90, .32); }
.hero-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.hero-card::before { content: ''; position: absolute; left: -40px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.hero-card > * { position: relative; z-index: 1; }
.hero-card .eyebrow { color: rgba(255, 255, 255, .8); }
.hero-card h1 { color: #fff; margin: 4px 0 12px; }
.hero-card .event { background: rgba(255, 255, 255, .16); color: #fff; border-radius: 14px; font-weight: 700; font-size: .92rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stat { background: rgba(255, 255, 255, .16); border-radius: 16px; padding: 10px 12px; min-width: 0; }
.stat b { display: block; font: 800 clamp(1.25rem, 5vw, 1.7rem)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.stat small { display: block; font-weight: 600; opacity: .85; margin-top: 3px; font-size: .78rem; }
.countdown { display: none; }
.lede { font-size: 1rem; margin-top: 16px; }

/* ---------- stukken: kaarten met ring ---------- */
.progress { font-weight: 600; }
.bar { height: 10px; }
.bar i { background: var(--ok); }
.part h3 { font-size: 1.05rem; }
.list { gap: 10px; }
.list a { border: 0; border-radius: 20px; padding: 12px 14px; background: var(--surface); box-shadow: var(--shadow); gap: 14px; transition: transform .12s, box-shadow .15s; }
.list a:hover { transform: translateY(-2px); }
.list .tile { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; font: 800 .95rem var(--display); background: var(--grad-1); }
.list .deel2 .tile { background: var(--grad-2); }
.list .deel3 .tile { background: var(--grad-3); }
.list .t { font-weight: 700; }
.list .chk { width: 34px; height: 34px; border: 0 !important; color: var(--fg) !important; font-weight: 800; font-size: .72rem; background: conic-gradient(var(--ring, var(--ok)) calc(var(--p, 0) * 1%), var(--surface-2) 0) !important; position: relative; }
.list .chk::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); }
.list .chk > i { position: relative; font-style: normal; }
.list .st3 .chk { --ring: var(--ok); }
.list .st1 .chk, .list .st2 .chk { --ring: var(--gold); }

/* deze week */
.deze-week { border: 0; background: var(--surface); position: relative; overflow: hidden; }
.deze-week::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grad); }
.dw-list { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.dw-list a { display: inline-block; background: var(--accent-soft); color: var(--accent-strong); padding: 8px 14px; border-radius: 14px; margin: 2px 0; }

/* planning */
.planning li { border-bottom-color: var(--line); }
.planning li.now { background: var(--accent-soft); border-radius: 12px; }

/* zo oefen je: veegkaarten */
.steps { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.steps li { scroll-snap-align: start; border: 0; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.steps li::before { background: var(--grad); }
@media (min-width: 1000px) { .steps { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; } }
.app-box { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.glossary div { border-bottom-color: var(--line); }

/* ---------- stukpagina ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--fg); font-weight: 700; margin-top: 14px; }
.stuk-hero { border-radius: 28px; padding: 22px 20px; margin-top: 12px; color: #fff; background: var(--grad-1); box-shadow: 0 16px 36px rgba(30, 58, 90, .3); position: relative; overflow: hidden; }
.stuk-hero.deel2 { background: var(--grad-2); box-shadow: 0 16px 36px rgba(30, 58, 90, .3); }
.stuk-hero.deel3 { background: var(--grad-3); box-shadow: 0 16px 36px rgba(30, 58, 90, .3); }
.stuk-hero::after { content: ''; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.stuk-hero > * { position: relative; z-index: 1; }
.stuk-hero .eyebrow { color: rgba(255, 255, 255, .8); }
.stuk-hero h1 { color: #fff; }
.stuk-hero .meta { color: #fff; }
.stuk-hero .meta span { background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.stuk-hero .status { color: rgba(255, 255, 255, .95); font-weight: 600; }
.status-melding { margin: 4px 0 0; font-size: .85rem; font-weight: 600; color: #fff; }
.status-melding:empty { margin: 0; }   /* niet verbergen: een verborgen live-regio wordt soms niet voorgelezen */
.status-melding a { color: #fff; text-decoration: underline; }
.stuk-hero .seg { background: rgba(0, 0, 0, .18); }
.stuk-hero .seg button { color: rgba(255, 255, 255, .85); }
.stuk-hero .seg button[aria-pressed="true"] { background: #fff; color: var(--accent-strong); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; margin: 14px 0 0; }
.toc::-webkit-scrollbar { display: none; }
.toc li { flex: none; }
.toc a { background: var(--surface); box-shadow: var(--shadow); font-weight: 700; color: var(--fg); padding: 8px 14px; }
/* er staat meer: de rand aan die kant vervaagt (klassen uit ui.js: chiprijen) */
.toc.meer-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.toc.meer-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px); mask-image: linear-gradient(to right, transparent, #000 40px); }
.toc.meer-l.meer-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
.toc-rand { position: relative; }
.toc-rand.meer-r::after { content: '›'; position: absolute; right: 0; top: calc(50% - 2px); transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; padding-bottom: 3px; box-sizing: border-box;
  background: #fff; color: var(--bar-blauw-2, #17302a); font: 700 1.3rem/1 var(--sans); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); pointer-events: none; }
@media (min-width: 900px) { .toc { flex-wrap: wrap; overflow: visible; } }
.player { padding: 18px; }
.btn.primary#play { min-width: 140px; min-height: 52px; font-size: 1.1rem; }
.score-scroll, .roll { border-radius: 16px; border: 0; }
.handel article { border: 0; border-radius: 18px; box-shadow: var(--shadow); border-left: 0; position: relative; padding-left: 20px; }
.handel article::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 4px; background: var(--grad); }
.edition, .tool-panel, .vd-opdracht, .qres { border-radius: 18px; }
details.verdieping { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.pager a { border: 0; border-radius: 20px; box-shadow: var(--shadow); font-weight: 700; }
.qa button { border-radius: 14px; border: 2px solid var(--line); font-weight: 600; transition: transform .12s; }
.qa button.goed { animation: pop .35s; }
.qa button.fout { animation: shake .35s; }
.lyrics p, .lyric, .cue-text, .woorden .zeg { font-family: var(--serif); }
dfn { border-bottom-color: var(--pink); }
#term-pop { border-radius: 16px; }
footer { border-top: 0; }

/* ---------- toasts, confetti, animaties ---------- */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar) + 26px + env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; background: var(--fg); color: var(--bg); border-radius: 18px; padding: 12px 16px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); display: flex; gap: 10px; align-items: center; animation: toast-in .35s cubic-bezier(.2, 1.4, .4, 1); }
.toast .em { font-size: 1.4rem; }
.toast small { display: block; font-weight: 500; opacity: .8; margin-top: 2px; }
.toast.weg { animation: toast-out .3s forwards; }
@keyframes toast-in { from { transform: translateY(20px) scale(.9); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(10px); opacity: 0; } }
@keyframes pop { 50% { transform: scale(1.06); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.streak { display: inline-flex; align-items: center; gap: 6px; }
.confetti { position: fixed; top: -12px; z-index: 70; width: 9px; height: 14px; border-radius: 3px; pointer-events: none; animation: val linear forwards; }
@keyframes val { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- easter eggs ---------- */
.handel-kop { position: relative; width: 44px; height: 44px; padding: 0; border: 2px solid var(--accent); background: #e4ece6; box-shadow: 0 0 0 2px var(--surface), 0 3px 10px rgba(30, 58, 90, .22); border-radius: 50%; cursor: pointer; flex: none; margin-left: 8px; overflow: visible; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.handel-kop img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: filter .3s; -webkit-user-drag: none; }
.handel-kop:active { transform: scale(.9); }
.handel-kop.boos { border-color: #e0412f; box-shadow: 0 0 0 3px rgba(224, 65, 47, .35), 0 0 18px rgba(224, 65, 47, .55); }
.handel-kop.boos img { filter: sepia(.35) saturate(2.4) hue-rotate(-18deg) brightness(1.05) contrast(1.05); }
.handel-kop.scheef { transform: rotate(-28deg) translateY(3px); }
.handel-kop .stoom i { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; opacity: 0; pointer-events: none; }
.handel-kop .stoom i:nth-child(1) { left: -6px; } .handel-kop .stoom i:nth-child(2) { left: 2px; top: -12px; width: 7px; height: 7px; }
.handel-kop .stoom i:nth-child(3) { right: -6px; } .handel-kop .stoom i:nth-child(4) { right: 2px; top: -12px; width: 7px; height: 7px; }
.handel-kop.boos .stoom i { animation: stoom .9s ease-out infinite; }
.handel-kop.boos .stoom i:nth-child(2n) { animation-delay: .35s; }
@keyframes stoom { 0% { opacity: .95; transform: translateY(0) scale(.8); } 100% { opacity: 0; transform: translateY(-14px) scale(1.4); } }
.handel-kop.schud { animation: woest .5s; }
@keyframes woest { 10%, 50%, 90% { transform: translateX(-4px) rotate(-8deg); } 30%, 70% { transform: translateX(4px) rotate(8deg); } }
.bubbel { position: fixed; z-index: 65; max-width: min(78vw, 320px); background: var(--surface); color: var(--fg); border-radius: 18px 4px 18px 18px; padding: 12px 14px; font-weight: 600; font-size: .95rem; line-height: 1.4; box-shadow: 0 14px 34px rgba(20, 10, 40, .3); animation: toast-in .3s cubic-bezier(.2, 1.4, .4, 1); }
.bubbel small { display: block; margin-top: 6px; color: var(--muted); font-weight: 500; font-size: .8rem; }
.bubbel.weg { animation: toast-out .3s forwards; }
.vlieg { position: fixed; z-index: 80; left: -180px; top: 30vh; width: 150px; pointer-events: none; animation: vlieg 3s ease-in-out forwards; text-align: center; }
.vlieg img { width: 140px; height: 140px; border-radius: 50%; border: 3px solid #f2c069; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); display: block; margin: 0 auto 6px; }
.vlieg span { display: inline-block; font: 900 1.4rem var(--display); color: #fff; background: var(--grad); padding: 4px 12px; border-radius: 999px; transform: rotate(-6deg); }
@keyframes vlieg { 0% { transform: translate(0, 0) rotate(-20deg); } 50% { transform: translate(60vw, -18vh) rotate(15deg) scale(1.2); } 100% { transform: translate(calc(100vw + 360px), 5vh) rotate(380deg); } }
.schaap { position: fixed; left: 50%; bottom: 30%; z-index: 70; font-size: 2.2rem; pointer-events: none; animation: dwaal 3.8s ease-in forwards; }
@keyframes dwaal { 0% { transform: translate(-50%, 0) scale(.4); opacity: 0; } 10% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { transform: translate(var(--x), var(--y)) rotate(30deg); opacity: 1; } }
.eieren-teller { font-weight: 600; color: var(--fg-soft); }


/* =================== tussenvorm: hip met een klassieke ziel =================== */
/* koppen in Bricolage Grotesque, tekst in Figtree (Stemvast, stijl B) */
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-variation-settings: 'opsz' 96; }
h1 { font-size: clamp(2.2rem, 8vw, 3.3rem); line-height: 1.02; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
.eyebrow { font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-tekst); }

/* logo: stemvork + Stemvast */
.brand { font: 650 1.25rem var(--display); letter-spacing: -.02em; }
.brand::before { content: '𝄞'; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(#2e6a57 0 24%, #fff 24% 76%, #2e6a57 76%); color: #17302a; font: 1.15rem/1 'Noto Music', 'Segoe UI Symbol', serif; box-shadow: 0 0 0 1px rgba(30, 58, 90, .25), 0 4px 12px rgba(30, 58, 90, .25); }
.brand span { background: none; color: var(--gold-tekst); font-style: italic; font-weight: 500; -webkit-background-clip: initial; background-clip: initial; }
/* smalle telefoons en 400% zoom (WCAG 1.4.10, 320 px): de koprij past dan niet; iets kleiner en dichter op elkaar */
@media (max-width: 359px) {
  .top .wrap { gap: 6px; }
  .brand { font-size: 1.05rem; gap: 6px; }
  .meld-knop { margin-right: 0; }
}

/* knoppen: rond, één kleur, licht verend */
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(30, 58, 90, .25); }
.btn.primary:hover { filter: brightness(1.08); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: 0 3px 10px rgba(30, 58, 90, .22); }
.chips .primary-chip { background: var(--accent); color: var(--on-accent); }

/* held-kaart: diep verloop, zachte gloed, een gouden accent */
.hero-card { background: var(--grad); border-radius: 26px; box-shadow: 0 16px 38px rgba(30, 58, 90, .32); }
.hero-card::after { content: ''; right: -70px; top: -70px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 120, .28), transparent 70%); }
.hero-card::before { content: ''; left: -50px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.hero-card .eyebrow { color: #ffd98a; }
.hero-card h1 em, .stuk-hero h1 em { font-style: italic; font-weight: 500; color: #ffd98a; }
.hero-card .event { background: rgba(0, 0, 0, .18); border-radius: 14px; font-weight: 600; }
.stat { background: rgba(0, 0, 0, .18); border-radius: 16px; border: 0; }
.stat b { font-family: var(--display); font-weight: 650; color: #fff; }

/* stukken: zachte kaarten met afgeronde nummertegels */
.list a { border-radius: 18px; border: 0; box-shadow: var(--shadow); }
.list a:hover { transform: translateY(-2px); }
.list .tile { border-radius: 14px; background: var(--grad-1); color: #fff; font: 650 1.05rem var(--display); box-shadow: none; }
.list .deel2 .tile { background: var(--grad-2); }
.list .deel3 .tile { background: var(--grad-3); }
.list .t { font-family: var(--sans); font-weight: 700; font-size: 1rem; }
.part h3 { font-style: normal; }
.deze-week::before { background: var(--grad); width: 5px; }
.dw-list { font-family: var(--display); font-weight: 650; font-size: 1.2rem; }
.dw-list a { background: var(--accent-soft); color: var(--accent-strong); border-radius: 14px; }
.steps li { border: 0; box-shadow: var(--shadow); border-radius: 18px; }
.steps li::before { background: var(--grad); color: #fff; font-family: var(--display); }
.app-box, .pager a, details.verdieping, .handel article, .toc a { border: 0; box-shadow: var(--shadow); }
.handel article::before { background: var(--grad); }

/* stukpagina */
.stuk-hero { border-radius: 26px; }
.stuk-hero::after { content: ''; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 120, .25), transparent 70%); }
.stuk-hero .eyebrow { color: #ffd98a; }
.stuk-hero .meta span { background: rgba(0, 0, 0, .18); border: 0; }
.stuk-hero .seg { background: rgba(0, 0, 0, .2); }
.stuk-hero .seg button[aria-pressed="true"] { background: #fff; color: var(--accent-strong); }
.stuk-hero .toc a, .hero-card .toc a { background: rgba(0, 0, 0, .18); color: #fff; border: 0; box-shadow: none; }   /* wit op wit-transparant haalde op het blauw maar 3,5–4,1:1 (A3) */
.back { background: var(--surface-2); border: 0; }

/* tabbalk: lijn-iconen, actieve tab als zacht pilletje */
@media (max-width: 800px) {
  .tabbar { border-radius: 22px; }
  .tabbar a { font: 700 .66rem var(--sans); }
  .tabbar a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { color: var(--accent); background: var(--accent-soft); }
}

/* meldingen */
.toast { background: #14202c; color: #f1f5f1; border: 0; }
.toast .em { color: #ffd98a; }
.bubbel { font-family: var(--sans); font-size: .98rem; font-weight: 600; border: 0; }
.vlieg span { background: var(--grad); color: #fff; font-family: var(--display); font-style: italic; }
.vlieg .stoom { display: none; }
.handel-kop::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 52%, rgba(235, 40, 20, .55), rgba(235, 40, 20, .15) 45%, transparent 68%); mix-blend-mode: multiply; opacity: 0; transition: opacity .3s; pointer-events: none; }
.handel-kop.boos::after { opacity: 1; }

/* opstaan bij het Hallelujah: een rij publiek */
.publiek { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; justify-content: space-around; align-items: flex-end; height: 46vh; pointer-events: none; padding: 0 4px; gap: 2px; background: linear-gradient(to top, rgba(17, 12, 20, .35), transparent); animation: publiek-weg 6s forwards; }
.publiek .mens { flex: 1; max-width: 90px; height: calc(78% * var(--h)); margin: 0 -6px; transform-origin: bottom center; transform: translateY(55%); animation: opstaan-mens 5.4s cubic-bezier(.3, 1.3, .5, 1) var(--d) both; }
@keyframes opstaan-mens { 0% { transform: translateY(100%); } 12% { transform: translateY(55%); } 28%, 72% { transform: translateY(0); } 88% { transform: translateY(55%); } 100% { transform: translateY(105%); } }
@keyframes publiek-weg { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
body.opstaan main { animation: pagina-op 4s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes pagina-op { 20%, 70% { transform: translateY(-18px); } }

/* knoppenbalken die over meer regels lopen: afgeronde rechthoek in plaats van een ovaal */
.seg { border-radius: 20px; }
/* oefenhulp: drie tegels naast elkaar, icoon boven de tekst */
.seg.tool-tegels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; padding: 6px; border-radius: 18px; }
.seg.tool-tegels button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; padding: 8px 6px; border-radius: 14px; background: var(--surface); line-height: 1.2; text-align: center; font-size: .82rem; }
.seg.tool-tegels button .ti { font-size: 1.35rem; line-height: 1; }
.seg.tool-tegels button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* ---------- overzichtspagina ---------- */
.legenda { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.lg { font: 700 .75rem var(--sans); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--fg-soft); }
.lg-ons { background: var(--grad); color: #fff; }
.lg-k { background: var(--accent-soft); color: var(--accent-strong); }
.nummers { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.nummers li > a, .nummers li > div { display: grid; grid-template-columns: 2.6em 1fr auto; gap: 10px; align-items: baseline; padding: 7px 12px; border-radius: 12px; text-decoration: none; color: var(--fg-soft); font-size: .92rem; }
.nummers .nnr { font: 650 .95rem var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.nummers .nsoort { font: 600 .72rem var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.nummers .n-r > a, .nummers .n-o > a, .nummers .n-a > a, .nummers .n-k > a { color: var(--fg-soft); }
/* recitatieven iets op de achtergrond: lichtere tekstkleur in plaats van opacity .8 (dat gaf grijs op ivoor 3,4:1) */
.nummers .n-r > a { color: var(--muted); }
.nummers li > a:hover { background: var(--surface); }
.nummers .n-k > a { background: var(--accent-soft); color: var(--fg); }
.nummers .n-ons > a { background: var(--surface); box-shadow: var(--shadow); color: var(--fg); font-weight: 700; }
.nummers .n-ons .nnr { color: var(--accent); }
.nummers .huidig > a { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(30, 58, 90, .3); }
.nummers .huidig .nnr, .nummers .huidig .nsoort { color: #ffd98a; }
.ov-groepen { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 12px; }
.ov-groep { background: var(--surface); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.ov-groep h3 { font-size: 1.15rem; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
.ov-groep h3 small { font: 700 .75rem var(--sans); color: var(--muted); }
.ov-groep.huidig { outline: 2px solid var(--accent); }
.ov-stuk { display: block; padding: 5px 0; text-decoration: none; color: var(--fg-soft); font-weight: 600; font-size: .92rem; border-top: 1px solid var(--line); }
.ov-stuk:first-of-type { border-top: 0; }
.ov-stuk b { display: inline-block; min-width: 2em; color: var(--muted); font: 650 .9rem var(--display); }
.ov-stuk.huidig { color: var(--accent); }
/* klikbare gegevens bovenaan een stuk */
.stuk-hero .meta a { color: #fff; text-decoration: none; background: rgba(0, 0, 0, .18); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 4px; transition: background .15s, transform .12s; }
.stuk-hero .meta a::after { content: '›'; opacity: .7; }
.stuk-hero .meta a:hover { background: rgba(0, 0, 0, .3); }
.stuk-hero .meta a:active { transform: scale(.95); }

/* legenda als filter */
button.lg { border: 0; cursor: pointer; font-family: var(--sans); min-height: 24px; }
button.lg[aria-pressed="true"] { outline: 2px solid var(--fg); outline-offset: 2px; }
.lg-tel { align-self: center; font-size: .8rem; color: var(--muted); }
.nummers[hidden], .part[hidden] { display: none; }

/* register van toonsoorten: kleur van het vak op de kwintencirkel */
.ov-groep.reg { border-top: 8px solid var(--vak); padding-top: 12px; }
.ov-groep.reg .reg-naam { color: var(--vak-tekst); }
:root[data-theme="dark"] .ov-groep.reg .reg-naam { color: var(--fg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ov-groep.reg .reg-naam { color: var(--fg); } }
.ov-stuk.ons { color: var(--fg); }
.ov-stuk small { font: 700 .68rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-left: 4px; }
.reg-k { margin: 10px 0 6px; font-size: .88rem; color: var(--fg-soft); }
.reg-k small { color: var(--muted); }
.reg-h { font-size: .88rem; color: var(--fg-soft); margin-bottom: 8px; }
.reg-h summary { cursor: pointer; font-weight: 700; color: var(--accent-strong); }
.reg-h p { margin: 6px 0 0; }
.reg-cirkel { min-height: 34px; padding: 5px 12px; font-size: .84rem; }
/* legenda: oplichten in plaats van filteren */
.nummers li { transition: opacity .2s; }
.nummers li.dim { opacity: .35; }
.nummers li.licht > a { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--accent-soft); }
.glossary .g-in { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }
.glossary .g-in a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#retoriek { scroll-margin-top: 80px; }

/* ---------- rondleiding bij het eerste gebruik (js/rondleiding.js) ---------- */
.rl { position: fixed; inset: 0; z-index: 90; pointer-events: none; animation: rl-in .2s ease-out; }
@keyframes rl-in { from { opacity: 0; } }
.rl-d { position: fixed; background: rgba(10, 20, 32, .62); pointer-events: auto; }
.rl-ring { position: fixed; border-radius: 18px; box-shadow: 0 0 0 3px var(--gold), 0 0 0 9px color-mix(in srgb, var(--gold) 28%, transparent); pointer-events: none; }
.rl-kaart { position: fixed; pointer-events: auto; width: min(380px, calc(100vw - 32px)); background: var(--surface); color: var(--fg); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: 0 18px 50px rgba(20, 8, 30, .45); animation: toast-in .3s cubic-bezier(.2, 1.3, .4, 1); outline: none; }
.rl-kaart.midden { left: 50%; top: 50%; transform: translate(-50%, -50%); animation: none; text-align: center; }
.rl-kaart h2 { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; margin: 2px 0 6px; }
.rl-tekst { color: var(--fg-soft); font-size: .95rem; line-height: 1.5; }
.rl-tekst p { margin: 0 0 6px; }
.rl-stap { font: 800 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-tekst); }
.rl-kop { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 8px; box-shadow: 0 0 0 3px var(--gold); }
.rl-knoppen { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.rl-kaart.midden .rl-knoppen { justify-content: center; flex-wrap: wrap; }
.rl-nav { display: flex; gap: 8px; }
.rl-over { background: none; border: 0; padding: 8px 4px; color: var(--muted); font: 700 .88rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rl-punten { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.rl-punten i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s, background .2s; }
.rl-punten i.on { width: 18px; background: var(--accent); }
@media (max-width: 800px) {
  .rl-kaart:not(.midden) { left: 12px !important; right: 12px; top: auto !important; width: auto; bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); }
  .rl-kaart.boven:not(.midden) { top: 72px !important; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .rl, .rl-kaart { animation: none; } }

/* wie spelen er? */
.bz { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.bz-chip { font: 700 .8rem var(--sans); padding: 5px 11px; border-radius: 999px; background: var(--surface-2); color: var(--fg-soft); cursor: default; }
.bz-chip.zang { background: var(--accent-soft); color: var(--accent-strong); }
.bz-chip.feest { background: var(--gold); color: var(--on-gold); }

/* barokinstrumenten: platen in partituurstijl (ivoor papier, dubbel kader), ingeklapt per familie */
a.bz-chip { text-decoration: none; }
a.bz-chip:hover { outline: 2px solid var(--accent); }
.ins-blok > summary small { font-weight: 500; }
.ins-fam { margin: 18px 0 6px; font: 700 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
details.ins { border-radius: 14px; background: var(--surface); margin: 6px 0; scroll-margin-top: 90px; box-shadow: 0 0 0 1px var(--line); }
details.ins[open] { box-shadow: 0 0 0 2px var(--accent); }
details.ins > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 8px 12px; cursor: pointer; }
details.ins > summary::-webkit-details-marker { display: none; }
details.ins > summary::after { content: '▸'; margin-left: auto; color: var(--accent); }
details.ins[open] > summary::after { content: '▾'; }
details.ins > summary img { width: 56px; height: 56px; border-radius: 8px; box-shadow: 0 0 0 1px #e5dcc5; flex: none; }
details.ins > summary b { display: block; font: 600 1.08rem var(--display); }
details.ins > summary small { color: var(--fg-soft); font-size: .86rem; }
.ins-open { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 16px; padding: 4px 14px 14px; align-items: start; }
.ins-open p { margin: 0 0 8px; color: var(--fg-soft); }
@media (max-width: 640px) { .ins-open { grid-template-columns: 1fr; } }
.ins-bron { display: block; font-size: .74rem; color: var(--muted); }
.ins-bron a { color: inherit; }
/* de plaat: zoals een bladzijde in de uitgave */
.plaat { margin: 0; background: var(--ivoor); padding: 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px #d8cdb0, inset 0 0 0 5px var(--ivoor), inset 0 0 0 6px #e5dcc5; }
.plaat img { display: block; width: 100%; height: auto; }
.plaat figcaption { padding: 6px 4px 2px; font: .86rem var(--serif); color: var(--op-papier); text-align: center; }
.plaat .ins-bron { color: var(--op-papier-zacht); }
.plaat .pl { font-variant: small-caps; letter-spacing: .06em; color: #17302a; font-weight: 600; }
.plaat.prent { max-width: 560px; margin: 6px 0 14px; }
.plaat.prent figcaption { text-align: left; }
/* kaartje bij een instrumentchip */
.ins-pop { position: fixed; z-index: 60; display: flex; gap: 12px; background: var(--surface); color: var(--fg); border-radius: 14px; padding: 12px; box-shadow: 0 10px 30px rgba(20, 40, 60, .25), 0 0 0 1px var(--line); }
.ins-pop img { border-radius: 8px; box-shadow: 0 0 0 1px #e5dcc5; flex: none; }
.ins-pop b { display: block; font: 600 1.05rem var(--display); }
.ins-pop span { display: block; font-size: .9rem; color: var(--fg-soft); }
.ins-pop small { display: block; color: var(--muted); margin: 2px 0 4px; }
.ins-pop a { font-weight: 700; font-size: .9rem; }

/* ===== partituur-look: mix van Bärenreiter (blauw, gespatieerde hoofdletters, dunne lijnen)
   en Novello (witte banden over een gekleurd vlak). Het plum blijft voor knoppen. ===== */
:root { --bar-blauw: #2e6a57; --bar-blauw-2: #1f4a3d; --bar-blauw-3: #46709b; --ivoor: #fffdf6; }
.stuk-hero, .stuk-hero.deel2, .stuk-hero.deel3 { background: var(--bar-blauw); box-shadow: 0 16px 36px rgba(31, 66, 104, .32); padding-top: 18px; }
.stuk-hero.deel2 { background: var(--bar-blauw-2); }
.stuk-hero.deel3 { background: var(--bar-blauw-3); }
.stuk-hero::after { display: none; }
.kop-merk { font: 500 clamp(1.5rem, 6vw, 2.1rem)/1 var(--serif); letter-spacing: .14em; color: #fff; text-align: center; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .75); }
.kop-merk span { display: block; margin-top: 6px; font: 600 .7rem var(--sans); letter-spacing: .32em; text-transform: uppercase; opacity: .9; }
.stuk-hero .band { background: #fff; color: #17302a; margin: 14px -20px 12px; padding: 10px 20px 12px; text-align: center; }
.stuk-hero .band h1 { color: #17302a; margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.band-sub { display: block; font: italic 500 .95rem var(--serif); color: #4b6a8a; margin-bottom: 2px; }
.stuk-hero .eyebrow { text-align: center; color: rgba(255, 255, 255, .92); }
.stuk-hero .meta { justify-content: center; }
.stuk-hero .seg button[aria-pressed="true"] { color: var(--bar-blauw-2); }
/* het notenbeeld als een bladzijde: ivoor papier met een dun kader */
.score-scroll { background: var(--ivoor); box-shadow: inset 0 0 0 1px #e5dcc5, inset 0 0 0 5px var(--ivoor), inset 0 0 0 6px #efe7d2; }
/* home en overzicht: dezelfde blauwe titelkaart */
.hero-card { background: var(--bar-blauw); box-shadow: 0 18px 40px rgba(31, 66, 104, .32); }
.hero-card::after, .hero-card::before { background: rgba(255, 255, 255, .07); }
.bronnen { padding-left: 18px; font-size: .9rem; color: var(--fg-soft); }
.bronnen li { margin-bottom: 6px; }
.bron-soort { display: inline-block; font: 700 .68rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; margin-right: 4px; }

/* ===== eenheid: dezelfde titelkop, navigatie en bladeren op alle pagina's ===== */
.hero-card { padding-top: 18px; text-align: center; }
.hero-card::after, .hero-card::before { display: none; }
.hero-card .band { background: #fff; color: #17302a; margin: 14px -22px 14px; padding: 10px 22px 12px; text-align: center; }
.hero-card .band h1 { color: #17302a; margin: 0; font-family: var(--serif); font-weight: 600; }
.hero-card .band h1 em { color: #8a6a1c; }
.hero-card p, .hero-card .event { text-align: center; }
.hero-card .hero-stats { text-align: left; }
/* menu bovenaan: huidige pagina gemarkeerd */
.top nav a[aria-current="page"] { background: var(--surface-2); color: var(--fg); }
/* kruimelpad */
.kruimel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 0 0; font: 600 .86rem var(--sans); color: var(--muted); }
.kruimel a { color: var(--fg-soft); text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); }
.kruimel a:hover { color: var(--fg); }
.kruimel [aria-current] { color: var(--fg); }
.kruimel .sep { color: var(--muted); }
/* bladeren: daaronder de koren die wij zingen */
.pager-koren { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 8px 0 24px; font-size: .86rem; }
.pager-koren a { color: var(--accent-strong); font-weight: 700; text-decoration: none; }
.pager-koren a:nth-child(2) { color: var(--muted); font-weight: 600; }
@media (max-width: 560px) { .pager-koren { justify-content: center; text-align: center; } .pager-koren a:nth-child(2) { order: 3; width: 100%; } }
.ins-open.een { grid-template-columns: 1fr; }
.ins-links { font-size: .88rem; }
.ins-links a { font-weight: 700; }
.ins-pop[hidden] { display: none; }
.ins-pop { padding-right: 34px; }
.ins-sluit { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--fg); font: 700 1.1rem/1 var(--sans); cursor: pointer; }

/* ingeklapte standaarduitleg */
.uitleg-knop { display: inline-block; margin: 6px 0 0; padding: 2px 9px; font: inherit; font-size: .78rem; color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.uitleg-knop:hover, .uitleg-knop[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
.uitleg-knop + [data-eenmaal][hidden] { display: none; }

/* startpagina op de telefoon: compactere hero, zodat de gouden knop zonder scrollen in beeld staat (audit W-06).
   Dezelfde gegevens, minder hoogte: titel · datum · plaats op één regel waar het past, tellers met kortere opvulling. */
@media (max-width: 480px) {
  .hero:has(.start-hero) { padding-top: 10px; }
  .start-hero { padding: 14px 16px 14px; border-radius: 22px; }
  .start-hero .kop-merk { font-size: 1.35rem; padding-bottom: 6px; }
  .start-hero .kop-merk span { margin-top: 4px; font-size: .62rem; }
  .start-hero .band { margin: 10px -16px 10px; padding: 6px 16px 8px; }
  .start-hero .band-sub { font-size: .85rem; }
  .start-hero .event { display: block; padding: 7px 10px; font-size: .84rem; line-height: 1.35; }
  .start-hero .event span { display: inline; white-space: nowrap; }
  .start-hero .event span + span::before { content: ' · '; opacity: .7; white-space: normal; }
  .start-hero .hero-stats { gap: 6px; margin-top: 8px; }
  .start-hero .stat { padding: 7px 8px; border-radius: 12px; }
  .start-hero .stat b { font-size: 1.2rem; }
  .start-hero .stat small { font-size: .7rem; line-height: 1.2; margin-top: 2px; }
  .hero:has(.start-hero) .ga-verder { margin-top: 10px; }
  /* ruimte vasthouden tot het script ze vult (zie style.css; gemeten op 375 en 320 px) */
  .start-hero .event:empty { min-height: 50px; }
  .start-hero .hero-stats:empty { min-height: 62px; }
}
@media (max-width: 370px) { .start-hero .event:empty { min-height: 68px; } }

/* =================== Stemvast (stijl B, 11-11-2026) =================== */
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.brand .stemvork { width: 20px; height: 26px; flex: none; }
.brand span { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: .8em; opacity: .85; }
