/* ONproduction: licht, zakelijk. Geen externe fonts of scripts (privacy + strakke CSP). */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --ink: #0e1726;
  --ink-soft: #4a5568;
  --line: #e2e8f0;
  --brand: #0b3d91;       /* diepblauw */
  --brand-dark: #082c69;
  --accent: #e5322d;      /* live-rood */
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14, 23, 38, .06), 0 8px 24px rgba(14, 23, 38, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 99; }
.muted { color: var(--ink-soft); }
.muted-light { color: #aab4c5; }
.small { font-size: .875rem; }
.accent { color: var(--accent); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .8rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { background: var(--accent); color: #fff; padding: .05em .4em; border-radius: 6px; margin-right: .3em; }
.brand-light { color: #fff; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand); color: #fff; border: 2px solid var(--brand);
  padding: .8rem 1.5rem; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost, .btn-secondary, .btn-link, .btn-info { background: transparent; color: var(--brand); }
.btn-ghost:hover, .btn-secondary:hover, .btn-link:hover, .btn-info:hover { background: var(--brand); color: #fff; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-danger { background: var(--accent); border-color: var(--accent); }
.btn-small { padding: .45rem 1rem; font-size: .9rem; }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: var(--bg-alt); color: var(--brand-dark); border-color: var(--bg-alt); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .5; cursor: default; }
.float-right { float: right; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.4rem; }
form.inline { display: inline; margin: 0; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-panel { position: relative; }
.live-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--accent); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .12em; padding: .3rem .7rem; border-radius: 6px; display: flex; gap: .4rem; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.screen { aspect-ratio: 16/10; border-radius: 14px; background: linear-gradient(135deg, var(--brand) 0%, #1a56c4 60%, #3b82f6 100%); box-shadow: var(--shadow); padding: 14px; }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 100%; }
.screen-grid span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; }

/* Stats */
.stats { border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 1.6rem 1rem; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.stat span { color: var(--ink-soft); font-size: .92rem; }

/* Sections + cards */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card-num { font-weight: 800; color: var(--accent); font-size: .9rem; letter-spacing: .1em; display: block; margin-bottom: .8rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.work { padding: 0; overflow: hidden; }
.work .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #dbe4f3, #eef2f9); }
.work .tag, .work h3 { margin-inline: 1.3rem; }
.work .tag { margin-top: 1rem; }
.work h3 { margin-bottom: 1.3rem; margin-top: .4rem; }
.tag { display: inline-block; background: #e8eefb; color: var(--brand); font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.more { margin-top: 1.6rem; font-weight: 600; }
.notice { margin-top: 2.5rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.prose { max-width: 70ch; font-size: 1.1rem; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; padding: 4rem 0; text-align: center; }
.cta-band p { color: #cdd8ee; margin-bottom: 1.6rem; }

/* Footer */
.site-footer { background: #0b1220; color: #cbd5e1; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #1f2a3d; font-size: .85rem; color: #8a96ab; }

/* Formulieren */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: start; }
.form .field, .field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], textarea, select {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid #cbd5e1; border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--brand); outline: 3px solid rgba(11, 61, 145, .18); }
.error { color: #b42318; font-size: .9rem; margin: .3rem 0 0; }
.errorlist { color: #b42318; list-style: none; padding: 0; margin: 0 0 .8rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.flash { padding: .9rem 1.2rem; border-radius: 8px; margin: 1rem 0 0; background: #e6f4ea; color: #14532d; border: 1px solid #b7e1c1; }
.flash-error { background: #fdecea; color: #7a1b14; border-color: #f5c2bd; }
.actions { display: flex; gap: .8rem; margin-top: 1.4rem; }

/* Inlog / 2FA */
.auth { padding: clamp(2rem, 6vw, 4.5rem) 0; background: var(--bg-alt); min-height: 70vh; }
.auth-card { max-width: 480px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.4rem); }
.auth-card h1 { font-size: 1.8rem; }
.auth-card h2 { font-size: 1.2rem; margin-top: 1.4rem; }
.auth-card img { background: #fff; margin: .6rem auto; max-width: 220px; }
.auth-card ul { padding-left: 1.2rem; font-family: ui-monospace, Menlo, Consolas, monospace; }
.alert { padding: .8rem 1rem; border-radius: 8px; background: #fff6e0; border: 1px solid #f3dc9b; }

/* Boekhouding */
.bh-bar { background: #0b1220; }
.bh-tabs { display: flex; gap: .2rem; overflow-x: auto; }
.bh-tabs a { color: #cbd5e1; text-decoration: none; padding: .9rem 1rem; font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.bh-tabs a:hover { color: #fff; border-bottom-color: var(--accent); }
.bh-tabs .push { margin-left: auto; }
.bh { padding-block: 2rem 4rem; }
.h-page { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.h-sub { font-size: 1.15rem; margin: 2rem 0 .7rem; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 1rem 0 1.5rem; }
.form-narrow { max-width: 560px; }
.field-check label { display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.field-check input { width: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.span-2 { grid-column: 1 / -1; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1rem 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.tile span { display: block; color: var(--ink-soft); font-size: .85rem; }
.tile strong { display: block; font-size: 1.6rem; letter-spacing: -.02em; margin: .2rem 0; }
.tile small { color: var(--ink-soft); }
.tile-warn { border-color: #f3b4b0; background: #fff6f5; }
.tile-warn strong { color: #b42318; }
.big { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: .3rem 0 .6rem; }
.big.pay { color: var(--brand); }
.tbl { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .95rem; }
.tbl th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); border-bottom: 2px solid var(--line); padding: .6rem .6rem; }
.tbl td { padding: .65rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl .r, .tbl th.r { text-align: right; white-space: nowrap; }
.tbl .neg { color: #b42318; }
.tbl.tot { width: auto; margin-left: auto; min-width: 340px; }
.tbl tr.sum td { font-weight: 700; border-top: 2px solid var(--ink); }
.tbl tr.big-row td { font-size: 1.1rem; background: #eef2f9; }
.rubrieken td:first-child { width: 4.5rem; }
.badge { display: inline-block; background: #eef2f7; color: var(--ink-soft); font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; vertical-align: middle; }
.badge-open, .badge-verzonden { background: #e8eefb; color: var(--brand); }
.badge-betaald, .badge-geaccepteerd { background: #e6f4ea; color: #14532d; }
.badge-te-laat, .badge-red, .badge-afgewezen { background: #fdecea; color: #b42318; }
.badge-concept { background: #fff3d6; color: #8a5a00; }
.filters { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filters a { padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-soft); font-size: .9rem; }
.filters a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters-form { display: flex; gap: .6rem; align-items: center; margin: .6rem 0 1.2rem; }
.filters-form input, .filters-form select { width: auto; }
.deadline { border-left: 5px solid var(--brand); }
.deadline-red { border-left-color: var(--accent); }
.det { margin: 1rem 0; }
.det summary { cursor: pointer; font-weight: 700; padding: .4rem 0; }
.regels input[type=text], .regels input[type=number], .regels select { padding: .5rem .6rem; }
.regels td { padding: .4rem .3rem; border-bottom: 0; }
.regels td.num input { text-align: right; max-width: 110px; }
.regels td.eenh input { max-width: 90px; }
.regels tr.weg { opacity: .35; }
.regels .del { white-space: nowrap; font-size: .85rem; }
.regels .del input { width: auto; margin-right: .3rem; }
.sr-label { display: flex; align-items: center; font-weight: 500; margin: 0; }
.totalen-live { display: flex; gap: 2rem; justify-content: flex-end; margin: 1rem 0; padding: 1rem; background: var(--bg-alt); border-radius: var(--radius); flex-wrap: wrap; }
.totalen-live span { display: block; font-size: .8rem; color: var(--ink-soft); }
.totalen-live strong { font-size: 1.15rem; }
.inline-form { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; margin: 0; }
.inline-form select { width: auto; max-width: 260px; padding: .4rem; }
.btn-danger-text { color: #b42318; border-color: #f5c2bd; }
.btn-danger-text:hover { background: #b42318; color: #fff; border-color: #b42318; }
.flash-warning { background: #fff6e0; color: #6b4b00; border-color: #f3dc9b; }

/* Test-signaal: kleurenbalken (7 stuks, zoals een testbeeld) */
.bars { display: grid; grid-template-columns: repeat(7, 1fr); }
.bars span:nth-child(1) { background: #bfbfbf; }
.bars span:nth-child(2) { background: #bfbf00; }
.bars span:nth-child(3) { background: #00bfbf; }
.bars span:nth-child(4) { background: #00bf00; }
.bars span:nth-child(5) { background: #bf00bf; }
.bars span:nth-child(6) { background: #bf0000; }
.bars span:nth-child(7) { background: #0000bf; }
.bars-strip { height: 10px; }

/* Voorbeeldmodus-balk voor ingelogde medewerkers */
.preview-bar { background: #fff6e0; color: #6b4b00; border-bottom: 1px solid #f3dc9b; font-size: .9rem; padding: .5rem 0; }
.preview-bar a { color: #6b4b00; font-weight: 700; }

/* 404 / 403: "Geen signaal" */
.signal { padding: clamp(2.5rem, 7vw, 5.5rem) 0; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.signal-path { color: var(--ink-soft); font-size: .95rem; overflow-wrap: anywhere; }
.signal-path code { background: #e8eefb; color: var(--brand-dark); padding: .1rem .45rem; border-radius: 5px; }
.monitor { position: relative; aspect-ratio: 16/10; border: 7px solid #0b1220; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #0b1220; }
.monitor .bars { height: 100%; animation: signaal-weg 1.1s steps(1, end) 1; }
.monitor-low { position: absolute; left: 0; right: 14%; bottom: 14%; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; background: rgba(11, 18, 32, .94); color: #fff; padding: .7rem 1.2rem; border-left: 8px solid var(--accent); }
.monitor-low b { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.monitor-low span { font-weight: 600; }
@keyframes signaal-weg { 0% { opacity: 0; } 18% { opacity: 1; } 26% { opacity: .15; } 40% { opacity: 1; } 52% { opacity: .5; } 62%, 100% { opacity: 1; } }

/* Bouwpagina "Binnenkort live" */
.bouw { min-height: 100vh; display: grid; grid-template-rows: auto auto 1fr auto; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; }
.bouw .bars-strip { grid-row: 1; }
.bouw-top { padding-block: 1.6rem 0; }
.bouw-main { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; padding-block: 2rem; }
.bouw-enkel { grid-template-columns: 1fr; padding-block: clamp(3rem, 10vw, 7rem); }
.bouw h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-wrap: balance; }
.bouw .lead { color: #cdd8ee; }
.bouw-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; color: #aebbd6; }
.bouw-foot a { color: #fff; }
:where(.bouw) :focus-visible { outline-color: #fff; }

/* Aftelleader: cirkel met kruis en een langzame zwaaiarm */
.leader { position: relative; width: min(380px, 78vw); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; border: 4px solid rgba(255,255,255,.9); background: rgba(255,255,255,.05); display: grid; place-items: center; overflow: hidden; }
.leader::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: linear-gradient(#fff, #fff) center / 2px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 2px no-repeat; }
.leader-ring { position: absolute; inset: 14%; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); }
.leader-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,255,255,.34), rgba(255,255,255,0) 28%); animation: zwaai 4s linear infinite; }
.leader-label { position: relative; z-index: 1; display: flex; align-items: center; gap: .55rem; background: var(--brand-dark); padding: .55rem 1.1rem; border-radius: 8px; font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.leader-label .dot { background: var(--accent); }
@keyframes zwaai { to { transform: rotate(360deg); } }

/* Beheer-knop website in het portaal */
.site-status { margin-bottom: 0; }

/* Responsive */
@media (max-width: 860px) {
  .grid-2, .cols { grid-template-columns: 1fr; }
  .tbl { display: block; overflow-x: auto; }
  .hero-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 1rem; gap: 1rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .signal-grid, .bouw-main { grid-template-columns: 1fr; }
  .monitor { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .dot, .leader-sweep, .monitor .bars { animation: none; } html { scroll-behavior: auto; } }

/* Uitzendingen: kijkpagina en beheer */
.kijk .player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 1.2rem 0; }
.kijk .player iframe, .kijk .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.btn-link-text { background: none; border: 0; padding: 0; margin: 0 .4rem; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
.uz-concept { background: #eef2f9; color: #4a5568; }
.uz-gepland { background: #fff6e0; color: #7a5b00; }
.uz-open { background: #e6f4ea; color: #14532d; }
.uz-afgelopen { background: #fdecea; color: #7a1b14; }

/* Sport-AV */
.checks { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--brand); }
.checks li::after { content: ""; position: absolute; left: .36rem; top: .52em; width: .28rem; height: .5rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.plans { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; }
.plan .price { margin: .2rem 0 1rem; color: var(--ink-soft); }
.plan .price strong { font-size: 2rem; letter-spacing: -.03em; color: var(--ink); }
.plan-top { border: 2px solid var(--brand); }
.pilot-band { background: var(--brand); color: #fff; padding: 3rem 0; }
.pilot-band .wrap { display: flex; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pilot-band h2 { margin-bottom: .3em; }
.pilot-band p { color: #cdd8ee; margin: 0; max-width: 60ch; }
fieldset.keuze { border: 0; padding: 0; margin: 0 0 1.1rem; }
fieldset.keuze legend { font-weight: 600; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
label.radio { display: flex; gap: .6rem; align-items: center; font-weight: 500; margin-bottom: .3rem; }
label.radio input { width: auto; }

/* 19-inch rack-illustratie */
.rack { background: #0b1220; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: grid; gap: 10px; border: 3px solid #1f2a3d; }
.rack-unit { display: flex; align-items: center; gap: .8rem; min-height: 54px; padding: .5rem .9rem; border-radius: 6px; background: linear-gradient(180deg, #2a3650, #1b2438); border: 1px solid #3a4866; color: #dbe4f3; }
.rack-unit i { width: 10px; height: 10px; border-radius: 50%; background: #5b6b8c; flex: none; }
.rack-unit b { font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
.leds, .pads { margin-left: auto; display: flex; gap: 6px; }
.leds em { width: 8px; height: 8px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 6px #34d27b; }
.leds em:nth-child(2n) { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.rack-pad { min-height: 96px; background: linear-gradient(135deg, var(--brand) 0%, #1a56c4 100%); }
.pads { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pads em { width: 34px; height: 24px; border-radius: 5px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); }
.pads em:first-child { background: var(--accent); border-color: var(--accent); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Foto's die in de bewerkmodus zijn gekozen */
.heeft-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.heeft-foto { background: none; }
.hero-panel.heeft-foto img { aspect-ratio: 16 / 10; border-radius: 14px; box-shadow: var(--shadow); }

/* Video's (zonder geluid, in een lus) */
.heeft-video { position: relative; }
.heeft-foto video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0b1220; }
.hero-panel.heeft-video video { aspect-ratio: 16 / 10; border-radius: 14px; box-shadow: var(--shadow); }
.video-knop { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(11,18,32,.62); cursor: pointer; padding: 0; backdrop-filter: blur(4px); }
.video-knop::before { content: ""; position: absolute; left: 14px; top: 12px; width: 4px; height: 14px; background: #fff; box-shadow: 8px 0 0 #fff; border-radius: 1px; }
.video-knop.is-pauze::before { left: 15px; top: 11px; width: 0; height: 0; background: none; box-shadow: none; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; border-radius: 0; }
.video-knop:hover { background: rgba(11,18,32,.85); }
.video-knop:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
