/* Flowsafe Evenementen. Kleuren en vorm uit het Flowsafe-ontwerp (zie apps/dashboard/frontend/src/styles.css).
   Geen inline stijlen (CSP style-src 'self'), geen lettertypen van buiten: Inter als die op het apparaat staat. */
:root {
  --brand: #2563eb;
  --brand-deep: #1e3a8a;
  --ink: #0f172a;
  --muted: #475569;
  --surface: #ffffff;
  --page: #f7f9fc;
  --tint: #eff4ff;
  --hairline: #e2e8f0;
  --accent: #ea580c;
  --accent-text: #c2410c;
  --accent-tint: #fff4ea;
  --rest: #cbd5e1;
  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skiplink { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--brand-deep); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skiplink:focus { top: 12px; color: #fff; }
.num { font-variant-numeric: tabular-nums; }
.klein { font-size: 13px; color: var(--muted); }
.toelichting { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

/* Balk en voet */
.balk { background: var(--surface); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 20; }
.balk-in, .voet-in, main { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.balk-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.merk { font-size: 20px; font-weight: 700; font-style: italic; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.merk span { color: var(--brand); }
.menu { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.menu a { color: var(--muted); text-decoration: none; font-weight: 500; }
.menu a:hover { color: var(--brand-deep); }
.menu a.menu-knop { color: #fff; background: var(--accent); padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.menu a.menu-knop:hover { background: var(--accent-text); color: #fff; }
.voet { margin-top: 56px; background: var(--surface); border-top: 1px solid var(--hairline); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.voet-in { display: grid; gap: 16px; }
.voet-merk { margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.voet p { margin: 0; }
.voet nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.voet nav a { color: var(--ink); }

main { padding-top: 24px; display: flex; flex-direction: column; gap: 28px; }

/* Kop van een pagina */
.held { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 4px; }
.held.klein-held { padding-top: 4px; }
.bovenregel { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
h1 { margin: 0; font-size: 42px; line-height: 1.1; font-weight: 750; letter-spacing: -.025em; max-width: 22ch; }
.klein-held h1 { font-size: 34px; max-width: none; }
h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 650; }
h3 { margin: 0 0 8px; font-size: 16px; font-weight: 650; }
.lead { margin: 0; font-size: 18px; color: var(--muted); max-width: 68ch; }
.lead a { color: var(--brand); }

/* Zoeken */
.zoek { display: flex; gap: 8px; max-width: 560px; margin-top: 8px; }
.zoek input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; font: inherit; color: inherit; border: 1px solid #94a3b8; border-radius: var(--radius); background: var(--surface); }
.zoek input:focus { outline: 3px solid var(--tint); border-color: var(--brand); }

/* Knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--radius); border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.knop:hover { background: var(--brand-deep); color: #fff; }
.trechter .knop, .uitgelicht .knop, .betaald .knop, .held .knoppen .knop { background: var(--accent); }
.trechter .knop:hover, .uitgelicht .knop:hover, .betaald .knop:hover, .held .knoppen .knop:hover { background: var(--accent-text); }
.knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 12px 0 0; }
.link { font-weight: 600; }

/* Blokken */
.blok { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px 24px; min-width: 0; }
details.blok summary { cursor: pointer; font-weight: 650; }
details.blok[open] summary { margin-bottom: 12px; }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.twee.breed-links { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.zij { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.leeg { margin: 0; color: var(--muted); }
.tekst { max-width: 80ch; }
.tekst h2 { margin-top: 22px; }
.tekst h2:first-child { margin-top: 0; }

/* De trechter: wat nog in aanvraag is */
.trechter { background: var(--accent-tint); border: 1px solid #fed7aa; border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; }
.trechter p { margin: 0 0 6px; max-width: 75ch; }
.trechter-kop { font-size: 18px; }
.trechter-kop strong { color: var(--accent-text); }
.trechter .knoppen { margin-top: 10px; }
p.aanmeld-regel { margin: 8px 0 0; }
p.officieel { margin: 0; }

/* Lijst van evenementen */
.maandkop { margin: 18px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.maandkop:first-child { margin-top: 0; }
.tussenkop { margin: 26px 0 6px; padding-top: 14px; border-top: 2px solid var(--hairline); font-size: 18px; }
.meer + .chips { margin-top: 6px; }
.voorbij-melding { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: var(--radius); background: var(--hairline); font-weight: 650; }
.lijst { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--hairline); }
.lijst .ev:first-child { border-top: 0; }
.ev-datum { color: var(--muted); font-size: 14px; padding-top: 1px; white-space: nowrap; }
.ev-tekst { display: flex; flex-direction: column; min-width: 0; }
.ev-naam { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ev-naam:hover { text-decoration: underline; }
.ev-meta { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }

/* Tegels en chips */
.tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tegels a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; text-decoration: none; background: var(--surface); height: 100%; }
.tegels a:hover { border-color: var(--brand); background: var(--tint); }
.tegel-naam { font-weight: 600; color: var(--ink); }
.tegel-sub { font-size: 13px; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink); background: var(--surface); }
.chips a:hover { border-color: var(--brand); background: var(--tint); }
.chips .num { color: var(--muted); font-size: 13px; }

/* Kruimelpad, bladeren */
.kruimels ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--muted); }
.kruimels li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--rest); }
.kruimels a { color: var(--muted); }
.bladeren { display: flex; gap: 20px; margin: 0; }

/* Kaart (SVG van de site zelf) */
.kaartblok { margin: 0; }
.kaart { width: 100%; height: auto; display: block; max-height: 640px; }
.kaart .land { fill: #e8eef8; stroke: #ffffff; stroke-width: .8; vector-effect: non-scaling-stroke; }
.kaart .land.gekozen { fill: #c7d7f5; stroke: var(--brand); stroke-width: 1.5; }
.kaart .stip { fill: var(--brand); fill-opacity: .72; stroke: #fff; stroke-width: .8; vector-effect: non-scaling-stroke; }
.kaart a:hover .stip, .kaart a:focus .stip { fill: var(--accent); fill-opacity: 1; }
.kaart .kaartlabel { fill: var(--ink); font-family: var(--font); font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 3px; vector-effect: non-scaling-stroke; }
figcaption { margin-top: 8px; }

/* Staven (HTML; breedte via .wNN) */
.staven { display: flex; flex-direction: column; gap: 6px; }
.staaf { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.staaf-naam { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spoor { display: flex; height: 14px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.deel { display: block; height: 100%; }
.deel.open { background: var(--brand); }
.deel.aanvraag { background: repeating-linear-gradient(135deg, #fdba74 0 4px, #fed7aa 4px 8px); }
.getal { white-space: nowrap; font-size: 13px; color: var(--muted); }
.getal .aangevraagd { color: var(--accent-text); }
.legenda { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-left: 4px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.sw.open { background: var(--brand); }
.sw.aanvraag { background: #fdba74; }

/* Vergelijking gratis / vroege toegang */
.kaartje { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 18px 20px; height: 100%; }
.kaartje.uitgelicht { border: 2px solid var(--accent); background: var(--accent-tint); }
.vinkjes { list-style: none; margin: 0; padding: 0; }
.vinkjes li { position: relative; padding: 4px 0 4px 26px; }
.vinkjes li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.uitgelicht .vinkjes li::before, .betaald .vinkjes li::before { border-color: var(--accent); }
.prijs { margin: 14px 0 0; }
.stappen { margin: 0; padding-left: 22px; }
.stappen li { padding: 4px 0; }
.betaald { margin-top: 18px; padding: 16px 18px; background: var(--accent-tint); border-radius: var(--radius); border: 1px solid #fed7aa; }

/* Gegevens van een evenement */
.feiten { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 6px 14px; margin: 0 0 12px; }
.feiten dt { color: var(--muted); }
.feiten dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .twee, .twee.breed-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .balk-in, .voet-in, main { padding-left: 16px; padding-right: 16px; }
  .balk { position: static; }
  .balk-in { padding-top: 10px; padding-bottom: 10px; }
  .menu { gap: 12px; font-size: 14px; }
  .menu a:not(.menu-knop):nth-child(1), .menu a:not(.menu-knop):nth-child(2) { display: none; }
  h1 { font-size: 30px; }
  .klein-held h1 { font-size: 26px; }
  .lead { font-size: 16px; }
  .blok { padding: 16px; }
  .ev { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .staaf { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .staaf .staaf-naam { grid-column: 1; grid-row: 1; }
  .staaf .getal { grid-column: 2; grid-row: 1; }
  .staaf .spoor { grid-column: 1 / -1; grid-row: 2; }
  .trechter { padding: 14px 16px; }
  .trechter-kop { font-size: 16px; }
  .zoek { flex-direction: column; }
  .zoek .knop { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.w0{width:0%}.w1{width:1%}.w2{width:2%}.w3{width:3%}.w4{width:4%}.w5{width:5%}.w6{width:6%}.w7{width:7%}.w8{width:8%}.w9{width:9%}.w10{width:10%}.w11{width:11%}.w12{width:12%}.w13{width:13%}.w14{width:14%}.w15{width:15%}.w16{width:16%}.w17{width:17%}.w18{width:18%}.w19{width:19%}.w20{width:20%}.w21{width:21%}.w22{width:22%}.w23{width:23%}.w24{width:24%}.w25{width:25%}.w26{width:26%}.w27{width:27%}.w28{width:28%}.w29{width:29%}.w30{width:30%}.w31{width:31%}.w32{width:32%}.w33{width:33%}.w34{width:34%}.w35{width:35%}.w36{width:36%}.w37{width:37%}.w38{width:38%}.w39{width:39%}.w40{width:40%}.w41{width:41%}.w42{width:42%}.w43{width:43%}.w44{width:44%}.w45{width:45%}.w46{width:46%}.w47{width:47%}.w48{width:48%}.w49{width:49%}.w50{width:50%}.w51{width:51%}.w52{width:52%}.w53{width:53%}.w54{width:54%}.w55{width:55%}.w56{width:56%}.w57{width:57%}.w58{width:58%}.w59{width:59%}.w60{width:60%}.w61{width:61%}.w62{width:62%}.w63{width:63%}.w64{width:64%}.w65{width:65%}.w66{width:66%}.w67{width:67%}.w68{width:68%}.w69{width:69%}.w70{width:70%}.w71{width:71%}.w72{width:72%}.w73{width:73%}.w74{width:74%}.w75{width:75%}.w76{width:76%}.w77{width:77%}.w78{width:78%}.w79{width:79%}.w80{width:80%}.w81{width:81%}.w82{width:82%}.w83{width:83%}.w84{width:84%}.w85{width:85%}.w86{width:86%}.w87{width:87%}.w88{width:88%}.w89{width:89%}.w90{width:90%}.w91{width:91%}.w92{width:92%}.w93{width:93%}.w94{width:94%}.w95{width:95%}.w96{width:96%}.w97{width:97%}.w98{width:98%}.w99{width:99%}.w100{width:100%}
