/* HV Administraties: lettertype uit de app zelf (geen externe bronnen). Speler overgenomen uit Brover Connect. */
@font-face { font-family: 'Source Sans 3'; src: url('/uitleg/fonts/SourceSans3-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/uitleg/fonts/SourceSans3-600.woff') format('woff'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/uitleg/fonts/SourceSans3-700.woff') format('woff'); font-weight: 700; font-display: swap; }
/* Video-uitleg: gedeelde speler (zie uitleg/speler.js). */
:root { --oranje: #1F74BA; --oranje-d: #185F9A; --oranje-l: #E8F0F9; --t1: #111827; --t2: #6B7280; --t3: #9CA3AF; --bd: #E5E7EB; --bg: #F5F6F8; --kaart: #fff; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif; font-size: 17px; background: var(--bg); color: var(--t1); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 24px 16px 40px; }
.kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.kop__l small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--oranje-d); }
.kop h1 { margin: 4px 0 4px; font-size: 26px; letter-spacing: -.01em; }
.kop p { margin: 0; color: var(--t2); font-size: 14px; }
.terug { color: var(--oranje-d); font-weight: 600; font-size: 14px; text-decoration: none; }
.terug:hover { text-decoration: underline; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; align-items: start; }
/* Speler */
.speler { background: #0F172A; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(15,23,42,.18); }
.speler:fullscreen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; }
.speler:-webkit-full-screen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; }
.speler.pseudo-vol { position: fixed; inset: 0; z-index: 9999; border-radius: 0; display: flex; flex-direction: column; justify-content: center; }
.podium { position: relative; aspect-ratio: 1440 / 860; overflow: hidden; background: #F7F8FA; cursor: pointer; }
.speler:fullscreen .podium, .speler:-webkit-full-screen .podium, .speler.pseudo-vol .podium { width: min(100vw, calc((100vh - 76px) * 1440 / 860)); max-height: none; margin: 0 auto; }
.speler:fullscreen .balk, .speler:fullscreen .bed, .speler.pseudo-vol .balk, .speler.pseudo-vol .bed, .speler:-webkit-full-screen .balk, .speler:-webkit-full-screen .bed { width: min(100vw, calc((100vh - 76px) * 1440 / 860)); margin-left: auto; margin-right: auto; box-sizing: border-box; }
.cam { position: absolute; inset: 0; }
.cam img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .35s; user-select: none; -webkit-user-drag: none; }
.cam img.aan { opacity: 1; }
.hl { position: absolute; border-radius: 10px; box-shadow: 0 0 0 3px var(--oranje), 0 0 0 9999px rgba(15,23,42,.38); opacity: 0; transition: left .6s cubic-bezier(.4,0,.2,1), top .6s cubic-bezier(.4,0,.2,1), width .6s cubic-bezier(.4,0,.2,1), height .6s cubic-bezier(.4,0,.2,1), opacity .4s; pointer-events: none; }
.hl.aan { opacity: 1; }
.hl::after { content: ''; position: absolute; inset: -3px; border-radius: 12px; box-shadow: 0 0 0 0 rgba(31,116,186,.6); animation: puls 1.6s ease-out infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(31,116,186,.55); } 100% { box-shadow: 0 0 0 14px rgba(31,116,186,0); } }
.cursor { position: absolute; width: 2.1%; min-width: 18px; transform: translate(-12%, -6%); transition: left .7s cubic-bezier(.4,0,.2,1), top .7s cubic-bezier(.4,0,.2,1); pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); z-index: 3; }
.cursor svg { width: 100%; height: auto; display: block; }
.rimpel { position: absolute; width: 4.4%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--oranje); transform: translate(-50%, -50%) scale(.2); opacity: 0; pointer-events: none; z-index: 2; }
.rimpel.aan { animation: rimpel .6s ease-out; }
@keyframes rimpel { 0% { opacity: .95; transform: translate(-50%, -50%) scale(.2); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
.geen-anim .hl, .geen-anim .cursor, .geen-anim .cam img { transition: none !important; }
.ondertitel { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: min(88%, 860px); background: rgba(15,23,42,.52); color: #F9FAFB; text-shadow: 0 1px 2px rgba(0,0,0,.45); font-size: clamp(13px, 1.45vw, 18px); line-height: 1.45; padding: .6em 1em; border-radius: 12px; text-align: center; z-index: 4; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(4px); }
.ondertitel:empty { display: none; }
.ondertitel { transition: opacity .3s, bottom .45s cubic-bezier(.4,0,.2,1), top .45s cubic-bezier(.4,0,.2,1); }
.ondertitel.boven { bottom: auto; top: 4%; }
.bed button.cc { width: auto; padding: 0 9px; gap: 6px; display: inline-flex; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.bed button.cc.aan { color: #9FCBF2; } .bed button.cc.aan::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--oranje); }
.ingebed .terug, .ingebed .deel { display: none; }
.kop__r { display: inline-flex; align-items: center; gap: 16px; }
.deel { border: 1px solid var(--bd); background: #fff; border-radius: 9px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--t1); cursor: pointer; } .deel:hover { border-color: var(--oranje); color: var(--oranje-d); }
.ondertitel b { color: #9FCBF2; font-weight: 600; }
.ondertitel .later { color: #9CA3AF; }
.verberg-cc .ondertitel { opacity: 0; }
.start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(180deg, rgba(15,23,42,.25), rgba(15,23,42,.6)); z-index: 6; color: #fff; text-align: center; padding: 16px; }
.start__knop { width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--oranje); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .15s, background .15s; }
.start__knop:hover { transform: scale(1.06); background: var(--oranje-d); }
.start__knop svg { width: 34px; height: 34px; margin-left: 5px; }
.start b { font-size: clamp(18px, 2.4vw, 28px); } .start span { font-size: 14px; opacity: .9; }
.start__st { font-size: 12.5px !important; opacity: .75 !important; min-height: 1em; }
.einde { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(15,23,42,.72); color: #fff; z-index: 6; text-align: center; padding: 16px; }
.einde.aan { display: flex; }
.einde b { font-size: clamp(18px, 2.2vw, 26px); }
.einde__k { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.knopje { border: 0; border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.knopje--o { background: var(--oranje); color: #fff; } .knopje--o:hover { background: var(--oranje-d); }
.knopje--w { background: rgba(255,255,255,.14); color: #fff; } .knopje--w:hover { background: rgba(255,255,255,.24); }
/* Bediening */
.bed { display: flex; align-items: center; gap: 4px; padding: 8px 10px 10px; background: #0F172A; color: #E5E7EB; }
.bed button { all: unset; box-sizing: border-box; cursor: pointer; width: 38px; height: 38px; border-radius: 9px; display: inline-grid; place-items: center; color: #E5E7EB; position: relative; }
.bed button:hover { background: rgba(255,255,255,.1); color: #fff; } .bed button:focus-visible { outline: 2px solid var(--oranje); }
.bed button svg { width: 20px; height: 20px; }
.bed button .n { position: absolute; font-size: 8.5px; font-weight: 700; top: 13px; left: 0; right: 0; text-align: center; }
.bed .tijd { font-size: 12.5px; font-variant-numeric: tabular-nums; color: #CBD5E1; margin: 0 8px; white-space: nowrap; }
.bed .r { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.bed .snel { width: auto; padding: 0 9px; font-size: 13px; font-weight: 600; }
.bed button.uit { color: #64748B; }
.balk { position: relative; height: 22px; margin: 0 12px; padding-top: 9px; cursor: pointer; touch-action: none; background: #0F172A; }
.balk__baan { position: relative; height: 5px; border-radius: 3px; background: #334155; transition: height .15s; }
.balk:hover .balk__baan { height: 7px; margin-top: -1px; }
.balk__vol { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--oranje); }
.balk__knop { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.balk__tick { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1.5px; background: #0F172A; }
.balk__tip { position: absolute; bottom: 20px; transform: translateX(-50%); background: #fff; color: var(--t1); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.balk:hover .balk__tip { opacity: 1; }
/* Hoofdstukken */
.hst { background: var(--kaart); border: 1px solid var(--bd); border-radius: 14px; padding: 8px; position: sticky; top: 16px; }
.hst h2 { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); margin: 6px 8px 8px; }
.hst ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hst button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; padding: 8px; border-radius: 9px; font-size: 13.5px; color: #374151; }
.hst button:hover { background: #F7F8FA; } .hst button:focus-visible { outline: 2px solid var(--oranje); }
.hst button i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #F1F2F4; color: var(--t2); }
.hst button em { font-style: normal; font-size: 11.5px; color: var(--t3); font-variant-numeric: tabular-nums; }
.hst li.gedaan i { background: #D6E4F3; color: #185F9A; }
.hst li.nu button { background: var(--oranje-l); color: #185F9A; font-weight: 600; } .hst li.nu i { background: var(--oranje); color: #fff; }
.tips { margin-top: 14px; font-size: 12.5px; color: var(--t2); line-height: 1.6; padding: 0 8px 6px; }
.tips kbd { font: 600 11px/1 'Source Sans 3', sans-serif; background: #F1F2F4; border: 1px solid var(--bd); border-bottom-width: 2px; border-radius: 5px; padding: 2px 5px; color: #374151; }
.tekst { margin-top: 18px; background: var(--kaart); border: 1px solid var(--bd); border-radius: 14px; padding: 18px 20px; }
.tekst h2 { font-size: 16px; margin: 0 0 8px; } .tekst ol { margin: 0; padding-left: 20px; color: #374151; font-size: 14px; line-height: 1.65; }
@media (max-width: 980px) { .grid { grid-template-columns: minmax(0, 1fr); } .hst { position: static; } }
@media (max-width: 560px) { .bed .tijd { display: none; } .bed button { width: 34px; height: 34px; } .wrap { padding-top: 16px; } .kop h1 { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .hl::after { animation: none; } }
