/* House of Sports dashboardhuisstijl (HoS-huisstijl overzicht.html, oktober 2026).
   Tokens zoals hos-tokens.css; componenten gebruiken alleen deze tokens. */
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; src: url(assets/fonts/HankenGrotesk-400.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; src: url(assets/fonts/HankenGrotesk-500.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; src: url(assets/fonts/HankenGrotesk-600.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; src: url(assets/fonts/HankenGrotesk-700.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 800; src: url(assets/fonts/HankenGrotesk-800.ttf) format("truetype"); font-display: swap; }

:root {
  --brand-flame: 21 100% 50%; --brand-ember: 40 100% 50%; --brand-amber: 39 94% 53%; --brand-deep: 19 84% 52%;
  --background: 0 0% 96%; --foreground: 30 15% 5%; --card: 0 0% 100%; --muted: 30 17% 98%; --muted-foreground: 0 0% 42%;
  --border: 0 0% 90%; --primary: 21 100% 50%; --primary-hover: 19 84% 52%; --primary-foreground: 0 0% 100%;
  --accent: 24 100% 96%; --accent-foreground: 22 100% 32%; --destructive: 3 65% 47%; --success: 150 59% 30%;
  --chart-1: 21 100% 50%; --chart-2: 224 76% 48%; --chart-3: 175 84% 32%; --chart-4: 262 83% 58%;
  --radius: 14px;
  --kop: #0F0D0B;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-theme=dark] {
  --foreground: 30 8% 96%; --background: 30 8% 9%; --card: 30 9% 14%; --muted: 30 7% 19%; --muted-foreground: 30 5% 68%;
  --border: 30 6% 24%; --primary-hover: 30 100% 56%; --accent: 0 0% 24%; --accent-foreground: 40 100% 62%;
  --destructive: 0 70% 58%; --success: 147 46% 56%;
  --chart-1: 24 98% 47%; --chart-2: 217 91% 60%; --chart-3: 175 84% 32%; --chart-4: 258 90% 66%;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: hsl(var(--background)); color: hsl(var(--foreground)); font: 400 1rem/1.55 var(--font); }
body * { transition: background-color .3s, color .3s, border-color .3s; }
@media (prefers-reduced-motion: reduce) { body * { transition: none !important; } }
:focus-visible { outline: 2px solid hsl(var(--brand-ember)); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
svg.ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Kop + vlamstreep ---------- */
.hd { height: 56px; background: var(--kop); color: #F4F2EF; display: flex; align-items: center; gap: 12px; padding-inline: 16px; position: sticky; top: 0; z-index: 20; }
.hd .brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.hd .brand img { width: 32px; height: 32px; border-radius: 50%; display: block; }
.hd .brand b { display: block; font-size: .9375rem; line-height: 1.15; font-weight: 700; }
.hd .brand small { display: block; font-size: .75rem; color: #A8A29B; line-height: 1.15; }
.hd .r { margin-left: auto; display: flex; gap: 12px; align-items: center; font-size: .8125rem; }
.hd .av { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; font-weight: 600; font-size: .75rem; }
.hd .menu { display: none; font: inherit; font-size: .8125rem; font-weight: 600; color: #F4F2EF; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.flame { height: 4px; background: linear-gradient(90deg, hsl(var(--brand-amber)) 0%, hsl(var(--brand-flame)) 55%, hsl(var(--brand-deep)) 100%); position: sticky; top: 56px; z-index: 20; }

/* ---------- Navigatie links ---------- */
.app { display: flex; min-height: calc(100vh - 60px); }
.x-nav { width: 232px; flex-shrink: 0; background: hsl(var(--card)); border-right: 1px solid hsl(var(--border)); padding: 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; transition: width .3s ease; }
/* Niets in het menu mag krimpen: anders drukt een vol menu de groepskopjes plat. Te lang = scrollen. */
.x-nav > * { flex-shrink: 0; }
.x-nav .grp { line-height: 1.4; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--muted-foreground)); padding: 14px 12px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-nav a, .x-nav button.nb { display: flex; align-items: center; gap: 12px; font: inherit; font-size: .875rem; font-weight: 500; padding: 9px 12px; border-radius: 10px; color: hsl(var(--muted-foreground)); text-decoration: none; background: transparent; border: 0; cursor: pointer; text-align: left; width: 100%; white-space: nowrap; }
.x-nav a:hover, .x-nav button.nb:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.x-nav a.on { background: hsl(var(--primary)); color: #0F0D0B; font-weight: 700; }
.x-nav a.klaar .nr { background: hsl(var(--foreground)); color: hsl(var(--card)); }
.x-nav a[aria-disabled=true] { opacity: .45; pointer-events: none; }
.x-nav .nr { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: .6875rem; font-weight: 700; flex-shrink: 0; }
.x-nav a.on .nr { border-color: #0F0D0B; }
.x-nav .sp { flex: 1; }
.x-nav .bot { border-top: 1px solid hsl(var(--border)); margin-top: 8px; padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.app.col .x-nav { width: 64px; padding-inline: 10px; }
.app.col .x-nav .x-t, .app.col .x-nav .grp { display: none; }
.app.col .x-nav a, .app.col .x-nav button.nb { justify-content: center; padding-inline: 0; }
.app.col #collapse svg { transform: rotate(180deg); }
.ov { display: none; }

@media (max-width: 1023px) {
  .hd .menu { display: inline-block; }
  .hd .r .naam, .hd .brand > div { display: none; }
  .x-nav { position: fixed; left: 0; top: 0; height: 100%; width: 78% !important; max-width: 320px; z-index: 40; transform: translateX(-100%); transition: transform .3s ease-in-out; padding-inline: 12px !important; }
  .app.col .x-nav .x-t, .app.col .x-nav .grp { display: block; }
  .app.col .x-nav a, .app.col .x-nav button.nb { justify-content: flex-start; padding-inline: 12px; }
  #collapse { display: none !important; }
  .x-nav .sluit { display: flex !important; }
  .app.open .x-nav { transform: none; }
  .ov { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 30; opacity: 0; visibility: hidden; transition: opacity .3s; }
  .app.open .ov { opacity: 1; visibility: visible; }
}
.x-nav .sluit { display: none; align-self: flex-end; font: inherit; font-size: .8125rem; font-weight: 600; border: 1px solid hsl(var(--border)); background: transparent; color: hsl(var(--foreground)); border-radius: 999px; padding: 5px 14px; cursor: pointer; margin-bottom: 6px; }

/* ---------- Hoofdvlak ---------- */
.main { flex: 1; min-width: 0; padding: 24px 32px 64px; display: flex; flex-direction: column; gap: 20px; max-width: 1200px; }
@media (max-width: 760px) { .main { padding: 16px 16px 48px; } }
.crumb { font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.head { display: flex; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; align-items: flex-end; }
.main h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.sub { color: hsl(var(--muted-foreground)); font-size: 1rem; margin-top: 4px; max-width: 70ch; }
.main h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.main h3 { font-size: 1.0625rem; font-weight: 700; }
.klein { font-size: .8125rem; color: hsl(var(--muted-foreground)); }

.panel { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.panel > .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sectie { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 80px; padding-top: 12px; }
.sectie > .ph p { color: hsl(var(--muted-foreground)); font-size: .875rem; margin-top: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- Knoppen ---------- */
.x-b { font: inherit; font-size: .875rem; font-weight: 600; height: 40px; padding-inline: 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; }
.x-b.x-p { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.x-b.x-p:hover { background: hsl(var(--primary-hover)); }
.x-b.x-o { background: hsl(var(--card)); border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.x-b.x-o:hover { border-color: hsl(var(--brand-flame)); }
.x-b.x-l { background: transparent; padding-inline: 0; height: auto; font-size: .8125rem; color: hsl(var(--foreground)); }
.x-b.x-l:hover { text-decoration: underline; }
.x-b[disabled] { opacity: .45; cursor: not-allowed; }

/* Toggle (ja/nee, keuzes) */
.tog { display: flex; gap: 6px; flex-wrap: wrap; }
.tog button { font: inherit; font-size: .875rem; font-weight: 600; height: 36px; padding-inline: 16px; border-radius: 10px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--foreground)); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tog button:hover { border-color: hsl(var(--brand-flame)); }
.tog button[aria-pressed=true] { border-color: hsl(var(--brand-flame)); background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: .75rem; font-weight: 600; padding: 3px 10px; background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--muted-foreground)); }
.chip.ok i { background: hsl(var(--chart-3)); } .chip.warn i { background: hsl(var(--brand-ember)); } .chip.bad i { background: hsl(var(--destructive)); }
.chip.on { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
button.chip { font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Velden ---------- */
label.veld { display: block; font-size: .75rem; font-weight: 600; color: hsl(var(--muted-foreground)); margin: 4px 0 6px; }
input[type=text], input[type=date], input[type=number], select, textarea {
  width: 100%; font: 500 .9375rem/1.4 var(--font); color: hsl(var(--foreground)); background: hsl(var(--card));
  border: 1px solid hsl(var(--border)); border-radius: 10px; padding: 9px 12px; height: 40px;
}
textarea { height: auto; min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: hsl(var(--brand-flame)); outline: none; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: hsl(var(--primary)); cursor: pointer; }
.velden { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 760px) { .velden { grid-template-columns: 1fr; } }

.upload { border: 1.5px dashed hsl(var(--border)); border-radius: 12px; padding: 22px; display: flex; align-items: center; gap: 14px; cursor: pointer; color: hsl(var(--muted-foreground)); font-size: .9375rem; }
.upload:hover, .upload.over { border-color: hsl(var(--brand-flame)); background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.upload .ki { width: 44px; height: 44px; border-radius: 12px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); display: grid; place-items: center; flex-shrink: 0; }
.upload b { color: hsl(var(--foreground)); display: block; }
.upload.gevuld { border-style: solid; }

.melding { border: 1px solid hsl(var(--border)); border-left: 4px solid hsl(var(--brand-ember)); background: hsl(var(--card)); border-radius: 10px; padding: 12px 16px; font-size: .875rem; }
.melding.stop { border-left-color: hsl(var(--destructive)); }
.fout { color: hsl(var(--destructive)); font-size: .875rem; font-weight: 600; min-height: 1.2em; }

/* ---------- Keuzetegels ---------- */
.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.tegel { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 16px; cursor: pointer; position: relative; text-align: left; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 4px; }
.tegel:hover { border-color: hsl(var(--brand-flame)); }
.tegel b { font-size: 1rem; font-weight: 700; padding-right: 26px; }
.tegel small { color: hsl(var(--muted-foreground)); font-size: .8125rem; }
.tegel[aria-pressed=true] { border-color: hsl(var(--brand-flame)); box-shadow: 0 0 0 1px hsl(var(--brand-flame)); background: hsl(var(--accent)); }
.tegel[aria-pressed=true]::after { content: ""; position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; background: hsl(var(--primary)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
/* Projectkaarten: vier gelijke kolommen; chip bovenaan en titel altijd twee regels hoog, zodat alles op één lijn staat. */
.tegels.groot { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tegels.groot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tegels.groot { grid-template-columns: 1fr; } }
.tegels.groot .tegel { padding: 20px; gap: 10px; justify-content: flex-start; }
.tegels.groot .tegel b { font-size: 1.125rem; line-height: 1.25; min-height: 2.5em; }
@media (max-width: 560px) { .tegels.groot .tegel b { min-height: 0; } }
.tegels.groot .tegel p { color: hsl(var(--muted-foreground)); font-size: .875rem; }

.naamblok { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; align-items: start; padding-block: 12px; border-top: 1px solid hsl(var(--border)); }
.naamblok:first-child { border-top: 0; padding-top: 0; }
.naamblok h4 { font-size: .875rem; font-weight: 700; padding-top: 9px; }
.naamrij { display: flex; gap: 8px; margin-bottom: 8px; }
@media (max-width: 640px) { .naamblok { grid-template-columns: 1fr; } .naamblok h4 { padding-top: 0; } }

/* Samenvatting */
.dl { display: grid; grid-template-columns: 170px 1fr auto; }
.dl > * { padding: 12px 0; border-bottom: 1px solid hsl(var(--border)); }
.dl dt { font-size: .75rem; font-weight: 600; color: hsl(var(--muted-foreground)); padding-top: 14px; }
.dl dd { margin: 0; font-weight: 500; }
.dl > :nth-last-child(-n+3) { border-bottom: 0; }

/* Stappenbalk wizard */
.stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; }
.stappen li { border-right: 1px solid hsl(var(--border)); }
.stappen li:last-child { border-right: 0; }
.stappen button { all: unset; box-sizing: border-box; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; cursor: pointer; position: relative; color: hsl(var(--muted-foreground)); }
.stappen button:focus-visible { outline: 2px solid hsl(var(--brand-ember)); outline-offset: -2px; }
.stappen button:hover:not(:disabled) { background: hsl(var(--muted)); }
.stappen button:disabled { cursor: default; opacity: .55; }
.stappen .n { font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: hsl(var(--border)); font-variant-numeric: tabular-nums; }
.stappen .t { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stappen .klaar .n { color: hsl(var(--foreground)); }
.stappen .klaar .t { color: hsl(var(--foreground)); }
.stappen .on { background: hsl(var(--accent)); }
.stappen .on .n { color: hsl(var(--primary)); }
.stappen .on .t { color: hsl(var(--accent-foreground)); }
.stappen .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, hsl(var(--brand-amber)), hsl(var(--brand-flame))); }
@media (max-width: 760px) { .stappen button { padding: 10px; align-items: center; } .stappen .t { display: none; } }

.nav-knoppen { display: flex; justify-content: space-between; gap: 12px; }

/* ---------- Kengetalkaarten ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.kpi { position: relative; overflow: hidden; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 24px; padding: 24px 22px 24px 30px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, hsl(var(--brand-flame)), hsl(var(--brand-deep))); }
.kpi .kt { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.kpi .k { font-size: 1.0625rem; font-weight: 600; color: hsl(var(--muted-foreground)); line-height: 1.25; }
.kpi .ki { width: 50px; height: 50px; flex-shrink: 0; border-radius: 16px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); display: grid; place-items: center; }
.kpi .ki svg { width: 22px; height: 22px; }
.kpi .kb { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.kpi .v { white-space: nowrap; font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kchip { display: inline-block; font-size: .875rem; font-weight: 700; padding: 5px 12px; border-radius: 10px; background: hsl(var(--border)); color: hsl(var(--muted-foreground)); }
.kbar { width: 100%; height: 8px; border-radius: 999px; background: hsl(var(--border)); overflow: hidden; }
.kbar i { display: block; height: 100%; border-radius: 999px; background: hsl(var(--primary)); transition: width .3s; }

/* ---------- Tabellen ---------- */
.tabel { overflow-x: auto; }
table.d { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; }
table.d th { text-align: left; font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; color: hsl(var(--muted-foreground)); padding: 6px 10px; border-bottom: 1px solid hsl(var(--border)); white-space: nowrap; }
table.d td { padding: 9px 10px; border-bottom: 1px solid hsl(var(--border)); vertical-align: middle; }
table.d .r { text-align: right; }
table.d tbody tr:last-child td { border-bottom: 0; }
table.d tfoot td { font-weight: 700; border-top: 1px solid hsl(var(--foreground)); border-bottom: 0; }
table.d td input, table.d td select { height: 34px; padding: 5px 8px; font-size: .875rem; }
table.d td input[type=number] { width: 90px; text-align: right; }
table.d td textarea { min-height: 36px; padding: 6px 8px; font-size: .875rem; }
tr.uit td { color: hsl(var(--muted-foreground)); }

/* Verdeelbalk */
.balk { display: flex; height: 12px; gap: 2px; border-radius: 999px; overflow: hidden; background: hsl(var(--border)); }
.balk div { height: 100%; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.persoon { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.persoon .foto { width: 56px; height: 56px; border-radius: 50%; background: #0F0D0B; color: #F4F2EF; display: grid; place-items: center; font-weight: 700; font-size: .875rem; flex-shrink: 0; object-fit: cover; object-position: center 20%; }

/* Foto's van houseofsports.nl: klein rondje (knoppen, naamvelden, suggesties) */
.mini-foto { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; object-fit: cover; object-position: center 20%; background: #0F0D0B; color: #F4F2EF; display: inline-grid; place-items: center; font-size: .625rem; font-weight: 700; }
/* Client lead-knoppen: grotere foto, rustige selectie (één oranje rand, geen extra ring bij klikken). */
.tog button.met-foto { padding: 4px 18px 4px 4px; height: 52px; border-radius: 999px; gap: 10px; font-size: .9375rem; }
.tog button.met-foto .mini-foto { width: 42px; height: 42px; font-size: .75rem; }
.tog button.met-foto[aria-pressed=true] { background: hsl(var(--accent)); border-color: hsl(var(--brand-flame)); color: hsl(var(--foreground)); }
.tog button.met-foto:focus:not(:focus-visible) { outline: none; }

/* Naamveld met suggesties */
.kiezer { position: relative; flex: 1; }
.kiezer-foto { position: absolute; left: 8px; top: 7px; display: flex; pointer-events: none; }
.kiezer input { padding-left: 42px; }
.kiezer-info { margin: -4px 0 8px 42px; min-height: 0; }
.kiezer-info:empty { display: none; }
.suggesties { list-style: none; margin: 4px 0 0; padding: 6px; position: absolute; left: 0; right: 0; top: 100%; z-index: 10; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 12px; box-shadow: 0 8px 24px rgba(15,13,11,.12); max-height: 320px; overflow-y: auto; }
.suggesties li { display: flex; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.suggesties li .mini-foto { width: 34px; height: 34px; }
.suggesties li b { display: block; font-size: .875rem; }
.suggesties li small { display: block; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.suggesties li:hover, .suggesties li.actief { background: hsl(var(--accent)); }
.persoon b { display: block; font-size: .9375rem; }
.persoon small { display: block; color: hsl(var(--muted-foreground)); font-size: .8125rem; }
.persoon .rol { color: hsl(var(--accent-foreground)); font-size: .75rem; font-weight: 600; }

/* Nog te vullen door Claude */
.straks { border: 1px dashed hsl(var(--border)); border-radius: 12px; padding: 14px 16px; font-size: .875rem; color: hsl(var(--muted-foreground)); display: flex; flex-direction: column; gap: 4px; }
.straks b { color: hsl(var(--foreground)); font-size: .9375rem; }
.straks .bron { font-size: .75rem; color: hsl(var(--accent-foreground)); font-weight: 600; }
.opdracht { background: #0F0D0B; color: #F4F2EF; border-radius: var(--radius); padding: 20px 24px; position: relative; overflow: hidden; }
.opdracht::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, hsl(var(--brand-amber)), hsl(var(--brand-flame))); }
.opdracht small { display: block; font-size: .75rem; font-weight: 600; color: #A8A29B; margin-bottom: 6px; }
.opdracht p { font-size: 1.25rem; font-weight: 600; line-height: 1.35; }

/* =====================================================================
   Kick-off pagina: de "wow"-laag bovenop de dashboardhuisstijl.
   Alleen huisstijlkleuren; donker vlak = #0F0D0B, accent = vlamverloop.
   ===================================================================== */
.ko { gap: 28px; }
.vlam-tekst { background: linear-gradient(90deg, hsl(var(--brand-amber)), hsl(var(--brand-flame)) 60%, hsl(var(--brand-deep))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.ko-hero { position: relative; overflow: hidden; background: #0F0D0B; color: #F4F2EF; border-radius: 28px; padding: 36px 40px 0; isolation: isolate; }
.ko-hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, hsl(var(--brand-flame) / .38), transparent 62%); z-index: -1; animation: gloed 9s ease-in-out infinite alternate; }
.ko-hero::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 380px; aspect-ratio: 1; background: url(assets/beeldmerk-wit.png) center/contain no-repeat; opacity: .05; z-index: -1; transform: rotate(-12deg); }
@keyframes gloed { to { transform: translate(-8%, 12%) scale(1.1); } }
.ko-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ko-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #A8A29B; }
.ko-eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--brand-flame)); box-shadow: 0 0 0 0 hsl(var(--brand-flame) / .6); animation: puls 2s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 10px hsl(var(--brand-flame) / 0); } 100% { box-shadow: 0 0 0 0 hsl(var(--brand-flame) / 0); } }
.glas { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #F4F2EF; backdrop-filter: blur(6px); }
.glas.vol { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #fff; }
.glas i { width: 7px; height: 7px; border-radius: 50%; background: #5BC38A; }
.glas.let-op i { background: hsl(var(--brand-ember)); }
.ko-titel { margin: 28px 0 0; font-size: clamp(3rem, 8.5vw, 6.5rem); font-weight: 800; line-height: .9; letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: anywhere; }
.ko-project { display: block; margin-top: 12px; font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.01em; text-transform: none; line-height: 1.15; }
.ko-mid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-top: 28px; }
@media (max-width: 860px) { .ko-mid { grid-template-columns: 1fr; } .ko-hero { padding: 26px 22px 0; } }
.ko-opdracht { border-left: 4px solid hsl(var(--brand-flame)); padding: 4px 0 4px 18px; max-width: 62ch; }
.ko-opdracht small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--brand-ember)); margin-bottom: 6px; }
.ko-opdracht p { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; line-height: 1.35; }
.gezichten { display: flex; align-items: center; gap: 12px; }
.gezichten .stapel { display: flex; }
.gezichten .stapel > * { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #0F0D0B; margin-left: -12px; object-fit: cover; object-position: center 20%; background: #3A3836; color: #F4F2EF; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.gezichten .stapel > :first-child { margin-left: 0; }
.gezichten b { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; }
.gezichten small { color: #A8A29B; font-size: .8125rem; }
.ko-agenda { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 32px -40px 0; background: rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 860px) { .ko-agenda { margin-inline: -22px; } }
.ko-agenda a { background: #0F0D0B; color: #F4F2EF; text-decoration: none; padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: .875rem; position: relative; }
.ko-agenda a span { font-size: .75rem; color: hsl(var(--brand-flame)); font-weight: 800; letter-spacing: .06em; }
.ko-agenda a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, hsl(var(--brand-amber)), hsl(var(--brand-flame))); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.ko-agenda a:hover::after, .ko-agenda a:focus-visible::after { transform: scaleX(1); }
.ko-agenda a:hover { background: #1A1714; }
.ko-proto { font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.ko-proto b { color: hsl(var(--foreground)); }

/* Sectiekop met groot nummer */
.ko-sectie { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 80px; padding-top: 20px; }
.ko-kop { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 12px; }
.ko-kop .nr { font-size: 2.75rem; font-weight: 800; line-height: .9; letter-spacing: -.03em; }
.ko-kop h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.ko-kop p { color: hsl(var(--muted-foreground)); font-size: .9375rem; flex-basis: 100%; margin-top: -6px; }

/* Team als spelerskaarten */
.ko-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.speler { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #0F0D0B; color: #F4F2EF; isolation: isolate; transition: transform .3s, box-shadow .3s; }
.speler:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15,13,11,.22); }
.speler img, .speler .leeg-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; z-index: -2; transition: transform .5s; }
.speler:hover img { transform: scale(1.05); }
.speler .leeg-foto { display: grid; place-items: center; font-size: 3.5rem; font-weight: 800; letter-spacing: -.04em; background: radial-gradient(circle at 70% 20%, hsl(var(--brand-flame) / .55), transparent 60%), #0F0D0B; }
.speler::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(15,13,11,.92)); z-index: -1; }
.speler .info { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.speler .rol { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: hsl(var(--primary)); color: #fff; padding: 3px 8px; border-radius: 6px; margin-bottom: 6px; }
.speler b { display: block; font-size: 1.0625rem; font-weight: 800; line-height: 1.15; }
.speler small { display: block; font-size: .75rem; color: #CFCAC4; margin-top: 2px; }
.ko-bank { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.ko-bank .chips { margin-top: 8px; }
.ko-bank .chip { text-decoration: line-through; opacity: .7; }

/* Donkere kaarten */
.donker { background: #0F0D0B; color: #F4F2EF; border-radius: 20px; padding: 24px 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.donker h3 { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--brand-ember)); }
.donker .straks { border-color: rgba(255,255,255,.18); color: #A8A29B; }
.donker .straks b { color: #F4F2EF; }
.donker .straks .bron { color: hsl(var(--brand-ember)); }
.oplevering::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, hsl(var(--brand-amber)), hsl(var(--brand-flame)), hsl(var(--brand-deep))); }
.oplevering .groot { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.op-stappen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.op-stap { background: #1F1C1A; border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; font-weight: 700; color: #A8A29B; font-size: .9375rem; }
.op-stap b { font-size: 2.25rem; font-weight: 800; line-height: 1; }
.db-kaarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.db-kaart { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.db-kaart .nr { font-size: .75rem; font-weight: 800; color: hsl(var(--primary)); letter-spacing: .06em; }
.db-kaart h3 { font-size: 1.0625rem; font-weight: 700; }
.db-kaart .straks, .vraag-kaart .straks { border: 0; padding: 0; }

/* Tijdlijn */
.tijdlijn { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; padding: 8px 2px 4px; }
.tl-stap { position: relative; padding-top: 32px; padding-right: 16px; }
.tl-stap::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: hsl(var(--border)); }
.tl-stap:first-child::before { background: linear-gradient(90deg, hsl(var(--brand-flame)), hsl(var(--border))); }
.tl-stip { position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: hsl(var(--card)); border: 3px solid hsl(var(--border)); }
.tl-stap.nu .tl-stip { background: hsl(var(--primary)); border-color: hsl(var(--primary)); box-shadow: 0 0 0 6px hsl(var(--primary) / .2); }
.tl-stap.ntb .tl-stip { border-style: dashed; border-color: hsl(var(--muted-foreground)); }
.tl-stap b { display: block; font-size: 1rem; font-weight: 800; }
.tl-stap small { display: block; color: hsl(var(--muted-foreground)); font-size: .8125rem; }

/* Budget met taart */
.ko-budget { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .ko-budget { grid-template-columns: 1fr; } }
.taart { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.taart svg { width: 200px; height: 200px; display: block; }
.taart .legenda { flex-direction: column; gap: 6px; align-self: stretch; }

/* Checklist */
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(hsl(var(--primary)) calc(var(--p) * 1%), hsl(var(--border)) 0); display: grid; place-items: center; flex-shrink: 0; }
.ring span { width: 48px; height: 48px; border-radius: 50%; background: hsl(var(--card)); display: grid; place-items: center; font-size: .8125rem; font-weight: 800; }
.cl-kop { display: flex; align-items: center; gap: 16px; }
tr.gedaan td:nth-child(2) { color: hsl(var(--muted-foreground)); text-decoration: line-through; }

/* Open vragen */
.vragen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.vraag-kaart { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 18px; padding: 18px 20px 18px 74px; position: relative; min-height: 96px; }
.vraag-kaart::before { content: attr(data-nr); position: absolute; left: 20px; top: 14px; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, hsl(var(--brand-amber)), hsl(var(--brand-flame))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Ingevulde inhoud */
.bron-tag { font-size: .75rem; font-weight: 600; color: hsl(var(--accent-foreground)); }
.donker .bron-tag { color: hsl(var(--brand-ember)); }
.feiten { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feiten li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 3px solid hsl(var(--brand-flame)); }
.feiten li span { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.feiten li small { font-size: .75rem; color: hsl(var(--brand-ember)); font-weight: 600; }
.punten { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; color: hsl(var(--muted-foreground)); }
.punten li::marker { color: hsl(var(--primary)); }
.db-kaart h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.op-onder { display: flex; flex-direction: column; gap: 8px; }
.op-onder small { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #A8A29B; }
.tl-stap.klaar .tl-stip { background: hsl(var(--foreground)); border-color: hsl(var(--foreground)); }
.tl-stap.gepland .tl-stip { border-color: hsl(var(--primary)); }
.tl-stap.klaar::before, .tl-stap.nu::before { background: hsl(var(--primary)); }
.tl-stap.nu b { color: hsl(var(--primary)); }
.vraag-kaart .vraag { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }

/* =====================================================================
   Versie 2: Wie doet wat. Podium met gezichten + spotlight per persoon.
   ===================================================================== */
a.glas.wissel { text-decoration: none; cursor: pointer; border-color: hsl(var(--brand-ember) / .6); }
a.glas.wissel:hover { background: rgba(255,255,255,.16); }

.podium { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 10px; scroll-snap-type: x mandatory; }
.podium-mens { all: unset; box-sizing: border-box; cursor: pointer; scroll-snap-align: start; flex: 0 0 116px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 18px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s; }
.podium-mens:hover { transform: translateY(-3px); border-color: hsl(var(--brand-flame)); }
.podium-mens:focus-visible { outline: 2px solid hsl(var(--brand-ember)); outline-offset: 2px; }
.podium-foto { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: #0F0D0B; color: #F4F2EF; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; box-shadow: 0 0 0 3px hsl(var(--card)), 0 0 0 5px transparent; transition: box-shadow .25s, filter .25s; filter: grayscale(.6); }
.podium-mens b { font-size: .9375rem; font-weight: 800; }
.podium-mens small { font-size: .6875rem; color: hsl(var(--muted-foreground)); line-height: 1.2; }
.podium-mens[aria-selected=true] { background: #0F0D0B; border-color: #0F0D0B; color: #F4F2EF; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(15,13,11,.25); }
.podium-mens[aria-selected=true] small { color: hsl(var(--brand-ember)); }
.podium-mens[aria-selected=true] .podium-foto { filter: none; box-shadow: 0 0 0 3px #0F0D0B, 0 0 0 5px hsl(var(--brand-flame)); }

.spot { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: #0F0D0B; color: #F4F2EF; border-radius: 28px; overflow: hidden; position: relative; isolation: isolate; min-height: 460px; }
.spot::before { content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; background: radial-gradient(circle, hsl(var(--brand-flame) / .28), transparent 62%); z-index: -1; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } .spot-foto { aspect-ratio: 16 / 10; } }
.spot.wissel .spot-foto img, .spot.wissel .spot-tekst > * { animation: spotIn .45s ease both; }
.spot.wissel .spot-tekst > :nth-child(2) { animation-delay: .04s; } .spot.wissel .spot-tekst > :nth-child(4) { animation-delay: .08s; }
.spot.wissel .spot-tekst > :nth-child(5) { animation-delay: .12s; } .spot.wissel .spot-tekst > :nth-child(6) { animation-delay: .16s; }
@keyframes spotIn { from { opacity: 0; transform: translateY(10px); } }
.spot-foto { position: relative; min-height: 100%; background: #1F1C1A; }
/* Uitsnede iets naar rechts in de foto, zodat het gezicht links in het vlak staat en niet in de overgang naar zwart valt. */
.spot-foto img, .spot-foto .leeg-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 18%; }
.spot-foto .leeg-foto { display: grid; place-items: center; font-size: 5rem; font-weight: 800; background: radial-gradient(circle at 70% 20%, hsl(var(--brand-flame) / .55), transparent 60%), #1F1C1A; }
.spot-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 78%, #0F0D0B); }
@media (max-width: 900px) { .spot-foto::after { background: linear-gradient(transparent 55%, #0F0D0B); } }
.spot-foto .rol { position: absolute; left: 16px; bottom: 16px; z-index: 1; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: hsl(var(--primary)); color: #fff; padding: 4px 10px; border-radius: 8px; }
.spot-tekst { padding: 28px 32px 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 600px) { .spot-tekst { padding: 22px 20px 24px; } }
.spot-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.spot-nav { display: flex; gap: 6px; }
.pijl { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #F4F2EF; font-size: 1.25rem; cursor: pointer; display: grid; place-items: center; }
.pijl:hover { background: rgba(255,255,255,.1); border-color: hsl(var(--brand-flame)); }
.spot-tekst h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: -8px; }
.spot-tekst .functie { color: #A8A29B; font-size: .875rem; }
.spot-opdracht { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; border-left: 4px solid hsl(var(--brand-flame)); padding-left: 16px; }
.leeg-tekst { color: #8C8984; font-weight: 500; }
.spot-tegels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1100px) { .spot-tegels { grid-template-columns: 1fr 1fr; } }
.spot-tegels > div { background: #1F1C1A; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.spot small, .spot-lever small, .spot-pb small { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A8A29B; }
.spot-tegels b { font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.wies { display: flex; flex-wrap: wrap; gap: 4px; }
.wie { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; background: rgba(255,255,255,.08); border-radius: 999px; padding: 2px 8px 2px 2px; }
.wie .mini-foto { width: 20px; height: 20px; font-size: .5rem; }
.wie.leeg { padding-left: 8px; opacity: .6; }
.spot-lever ol { list-style: none; counter-reset: d; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.spot-lever li { counter-increment: d; display: flex; gap: 12px; align-items: baseline; font-weight: 600; }
.spot-lever li::before { content: counter(d, decimal-leading-zero); font-size: .8125rem; font-weight: 800; color: hsl(var(--brand-flame)); min-width: 1.6em; }
.spot-pb { background: #1F1C1A; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pb { display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; font-size: .8125rem; align-items: start; }
.pb i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .75rem; }
.pb.ok i { background: #5BC38A; color: #0F0D0B; }
.pb.deels i { background: hsl(var(--brand-ember)); color: #0F0D0B; }
.pb.open i { background: hsl(var(--primary)); color: #fff; }
.pb b { font-size: .8125rem; }
.pb span { color: #A8A29B; line-height: 1.35; }
.spot-acties { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.spot-acties .klein { color: #A8A29B; }
.niet-tafel { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.niet-tafel > div { border: 1px dashed hsl(var(--border)); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.niet-tafel b { color: hsl(var(--foreground)); }

/* Keuzepagina: versie 1 of 2 */
.keuze { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .keuze { grid-template-columns: 1fr; } }
.versie { position: relative; overflow: hidden; border-radius: 28px; padding: 28px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; min-height: 380px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); transition: transform .3s, box-shadow .3s; isolation: isolate; }
.versie:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(15,13,11,.18); }
.versie.donker-v { background: #0F0D0B; color: #F4F2EF; border-color: #0F0D0B; }
.versie.donker-v::before { content: ""; position: absolute; right: -25%; top: -35%; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, hsl(var(--brand-flame) / .4), transparent 62%); z-index: -1; }
.versie .vnr { font-size: 4.5rem; font-weight: 800; line-height: .85; letter-spacing: -.05em; }
.versie h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.versie p { color: hsl(var(--muted-foreground)); max-width: 40ch; }
.versie.donker-v p { color: #A8A29B; }
.versie .mock { margin-top: auto; display: flex; gap: 6px; align-items: flex-end; height: 70px; }
.versie .mock i { flex: 1; border-radius: 8px; background: hsl(var(--border)); }
.versie.donker-v .mock i { background: #1F1C1A; }
.versie .mock i.f { background: linear-gradient(180deg, hsl(var(--brand-amber)), hsl(var(--brand-flame))); }
.versie .ga { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.versie .ga::after { content: "→"; transition: transform .3s; }
.versie:hover .ga::after { transform: translateX(4px); }

/* Tijdlijn: donkere baan met mijlpaalkaartjes */
.tl2 { background: #0F0D0B; color: #F4F2EF; border-radius: 24px; padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; isolation: isolate; }
.tl2::before { content: ""; position: absolute; left: -10%; bottom: -60%; width: 50%; aspect-ratio: 1; background: radial-gradient(circle, hsl(var(--brand-flame) / .22), transparent 62%); z-index: -1; }
.tl2-kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.tl2-kop h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.tl2-kop p { color: #A8A29B; font-size: .875rem; margin-top: 2px; }
.aftel { display: flex; align-items: center; gap: 12px; background: #1F1C1A; border-radius: 16px; padding: 10px 16px 10px 14px; }
.aftel b { font-size: 3rem; font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.aftel span { font-size: .8125rem; color: #A8A29B; line-height: 1.3; }
.aftel strong { color: #F4F2EF; font-weight: 700; }
.tl2-baan { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; position: relative; }
.tl2-rail { position: absolute; top: 15px; height: 6px; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); background: #2E2A27; border-radius: 999px; overflow: hidden; }
.tl2-rail i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, hsl(var(--brand-amber)), hsl(var(--brand-flame))); }
.tl2-stap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.tl2-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .875rem; background: #0F0D0B; border: 3px solid #2E2A27; color: #8C8984; z-index: 1; }
.tl2-stap.klaar .tl2-dot { background: hsl(var(--brand-flame)); border-color: hsl(var(--brand-flame)); color: #fff; }
.tl2-stap.nu .tl2-dot { background: #fff; border: 8px solid hsl(var(--brand-flame)); box-shadow: 0 0 0 0 hsl(var(--brand-flame) / .6); animation: puls 2s infinite; }
.tl2-stap.gepland .tl2-dot { border-color: hsl(var(--brand-flame)); }
.tl2-stap.ntb .tl2-dot { border-style: dashed; border-color: #5A5754; }
.tl2-kaart { width: 100%; background: #1F1C1A; border: 1px solid #2E2A27; border-radius: 16px; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 118px; transition: transform .25s, border-color .25s; }
.tl2-kaart:hover { transform: translateY(-3px); border-color: #4A4643; }
.tl2-kaart small { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; color: #8C8984; }
.tl2-kaart b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.tl2-kaart > span:last-child { font-size: .8125rem; color: #A8A29B; line-height: 1.35; }
.tl2-stap.klaar .tl2-kaart { opacity: .6; }
.tl2-stap.nu .tl2-kaart { background: linear-gradient(160deg, hsl(var(--brand-flame)), hsl(var(--brand-deep))); border-color: transparent; box-shadow: 0 14px 32px hsl(var(--brand-flame) / .35); }
.tl2-stap.nu .tl2-kaart > span:last-child { color: #FFE6D6; }
.tl2-nu { align-self: flex-start; font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: #0F0D0B; color: #fff; padding: 2px 8px; border-radius: 6px; }
.tl2-stap.gepland .tl2-kaart { border-color: hsl(var(--brand-flame) / .6); }
.tl2-stap.ntb .tl2-kaart { background: transparent; border-style: dashed; border-color: #3A3633; }
.tl2-stap.ntb .tl2-kaart b { color: #8C8984; }
.tl2 .bron-tag { color: hsl(var(--brand-ember)); }
@media (max-width: 860px) {
  .tl2-baan { grid-template-columns: 1fr; gap: 10px; }
  .tl2-rail { display: none; }
  .tl2-stap { flex-direction: row; align-items: stretch; }
  .tl2-dot { flex-shrink: 0; margin-top: 14px; }
  .tl2-kaart { min-height: 0; }
}

/* Taart: gegroepeerde legenda met bedrag, aandeel en balkje */
.ko-budget { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 1000px) { .ko-budget { grid-template-columns: 1fr; } }
.taart .legenda { display: flex; flex-direction: column; gap: 14px; align-self: stretch; }
.lg-rij { display: flex; flex-direction: column; gap: 6px; }
.lg-top { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 10px; align-items: center; font-size: .875rem; }
.lg-top i { width: 10px; height: 10px; border-radius: 3px; }
.lg-top b { font-weight: 700; color: hsl(var(--foreground)); }
.lg-top span { color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.lg-top strong { font-weight: 800; min-width: 3ch; text-align: right; color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; }
.lg-balk { height: 4px; border-radius: 999px; background: hsl(var(--border)); overflow: hidden; margin-left: 20px; }
.lg-balk i { display: block; height: 100%; border-radius: 999px; }
.lg-rij small { margin-left: 20px; font-size: .75rem; color: hsl(var(--muted-foreground)); line-height: 1.4; }

/* =====================================================================
   Bewerkstand: teksten met stippellijn, plusknoppen, opslagbalk onderin.
   ===================================================================== */
.bw:empty::before { content: attr(data-leeg); color: hsl(var(--muted-foreground)); opacity: .75; font-weight: 500; }
.donker .bw:empty::before, .ko-hero .bw:empty::before, .spot .bw:empty::before, .tl2 .bw:empty::before { color: #8C8984; opacity: 1; }
body.bewerken .bw { outline: 1.5px dashed hsl(var(--brand-flame) / .55); outline-offset: 3px; border-radius: 4px; cursor: text; min-width: 2ch; display: inline-block; }
body.bewerken p.bw, body.bewerken h3.bw, body.bewerken b.bw, body.bewerken small.bw { display: block; }
body.bewerken .bw:hover { outline-color: hsl(var(--brand-flame)); }
body.bewerken .bw:focus { outline: 2px solid hsl(var(--brand-flame)); background: hsl(var(--brand-flame) / .08); }
.plus { display: none; align-self: flex-start; font: inherit; font-size: .8125rem; font-weight: 700; color: hsl(var(--primary)); background: transparent; border: 1.5px dashed hsl(var(--brand-flame) / .6); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.plus:hover { background: hsl(var(--brand-flame) / .1); }
body.bewerken .plus { display: inline-flex; }
.donker .plus, .spot .plus, .tl2 .plus { color: hsl(var(--brand-ember)); }
.tl2-onder { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tl2-dot { font: inherit; padding: 0; cursor: default; }
body.bewerken .tl2-dot { cursor: pointer; }
body.bewerken .tl2-dot:hover { transform: scale(1.12); }
.bewerk-knop { cursor: pointer; font: inherit; font-size: .75rem; font-weight: 700; background: hsl(var(--primary)) !important; border-color: hsl(var(--primary)) !important; color: #fff !important; }
.bewerk-knop:hover { background: hsl(var(--primary-hover)) !important; }
.bewerkbalk { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; background: #0F0D0B; color: #F4F2EF; padding: 8px 8px 8px 18px; border-radius: 999px; box-shadow: 0 16px 40px rgba(15,13,11,.35); font-size: .875rem; animation: balkIn .3s ease; max-width: calc(100vw - 32px); }
.bewerkbalk .dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--brand-flame)); animation: puls 2s infinite; flex-shrink: 0; }
.bewerkbalk .x-b { border-radius: 999px; height: 36px; }
.bewerkbalk .x-o { background: transparent; color: #F4F2EF; border-color: rgba(255,255,255,.25); }
@keyframes balkIn { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 640px) { .bewerkbalk #opslag-status { display: none; } }
body.bewerken .main { padding-bottom: 110px; }

/* Binnenkomen bij scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .ko-hero::before, .ko-eyebrow .live { animation: none; }
}

/* Venster "Opmerking" onderaan het menu */
dialog.opmerking { width: min(480px, calc(100vw - 32px)); padding: 20px; border: 1px solid hsl(var(--border)); border-radius: 14px; background: hsl(var(--card)); color: hsl(var(--foreground)); }
dialog.opmerking::backdrop { background: rgb(0 0 0 / .45); }
dialog.opmerking h3 { margin: 0 0 4px; }
dialog.opmerking textarea { width: 100%; margin-top: 12px; }
dialog.opmerking .melding:empty { display: none; }
dialog.opmerking .acties { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
