/* GR Educatie & Coaching leerplatform. Huisstijl: diep petrol, cyaan gloed, wit, Aptos */
:root { color-scheme: dark;
  --bg1: #0B2A33; --bg2: #1E4A55; --kaart: #13394300; --vlak: rgba(255,255,255,.055); --vlak2: rgba(255,255,255,.09);
  --lijn: rgba(255,255,255,.14); --tekst: #FFFFFF; --zacht: rgba(255,255,255,.72); --stil: rgba(255,255,255,.5);
  --cyaan: #5FD4E0; --cyaan-d: #2FB3C2; --gloed: 0 0 0 1px rgba(95,212,224,.35), 0 0 24px rgba(95,212,224,.25);
  --goed: #5EE08A; --goed-bg: rgba(94,224,138,.14); --fout: #FF7A7A; --fout-bg: rgba(255,122,122,.14); --geel: #F2C14E;
  --r: 16px; --r-s: 10px;
  --font: Aptos, "Aptos Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--font); color: var(--tekst); background: linear-gradient(160deg, var(--bg1) 0%, #0F3540 45%, var(--bg2) 100%) fixed; background-color: var(--bg1); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--cyaan); }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--tekst); }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); } h2 { font-size: 1.5rem; } h3 { font-size: 1.2rem; } h4 { font-size: 1.1rem; color: var(--cyaan); }
.klein { font-size: .85rem; color: var(--zacht); }
.verborgen { display: none !important; }
.rij { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.rij.midden { justify-content: center; }
.laden { min-height: 60vh; display: grid; place-items: center; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--lijn); border-top-color: var(--cyaan); animation: draai 1s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }

/* Knoppen */
.knop { background: var(--cyaan); color: #06212A; border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 700; transition: .15s; box-shadow: 0 0 18px rgba(95,212,224,.25); }
.knop:hover { background: #7FE3EC; transform: translateY(-1px); }
.knop:disabled { opacity: .5; cursor: default; transform: none; }
.knop.licht { background: var(--vlak2); color: var(--tekst); box-shadow: none; border: 1px solid var(--lijn); }
.knop.licht:hover { background: rgba(255,255,255,.16); }
.knop.groot { padding: 13px 24px; font-size: 1.05rem; }
.knop.rood { background: var(--fout); color: #2a0b0b; }
.link-knop { background: none; border: 0; color: var(--cyaan); text-decoration: underline; padding: 6px 0; }
.icoon-knop { background: var(--vlak2); border: 1px solid var(--lijn); border-radius: 10px; width: 38px; height: 38px; display: inline-grid; place-items: center; }
.mini-knop { background: var(--vlak2); border: 1px solid var(--lijn); border-radius: 999px; padding: 5px 12px; font-size: .9rem; }
.mini-knop.rood { border-color: rgba(255,122,122,.5); }
.mini-knop.bezig { background: var(--fout); color: #200; animation: puls 1s infinite; }
@keyframes puls { 50% { opacity: .6; } }
.luister { display: inline-flex; align-items: center; gap: 6px; background: rgba(95,212,224,.14); color: var(--cyaan); border: 1px solid rgba(95,212,224,.45); border-radius: 999px; padding: 6px 12px; font-weight: 600; flex: none; }
.luister:hover { background: rgba(95,212,224,.26); }
.luister-i { display: inline-flex; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.seg button { background: none; border: 0; border-radius: 999px; padding: 6px 14px; color: var(--zacht); }
.seg button.aan { background: var(--cyaan); color: #06212A; font-weight: 700; }

/* Kopbalk */
.kopbalk { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(11,42,51,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lijn); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tekst); font-weight: 800; letter-spacing: .2px; }
.logo-blok { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--bg1), var(--bg2)); border: 1px solid rgba(95,212,224,.5); display: grid; place-items: center; color: var(--cyaan); font-weight: 800; box-shadow: 0 0 16px rgba(95,212,224,.3); }
.logo small { display: block; font-weight: 500; color: var(--zacht); font-size: .72rem; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--zacht); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; position: relative; }
.nav a:hover, .nav a.aan { color: var(--tekst); background: var(--vlak2); }
.nav .telbol { position: absolute; top: 0; right: 0; background: var(--fout); color: #fff; font-size: .7rem; border-radius: 999px; padding: 0 6px; }
.demo-balk { background: var(--geel); color: #2b2000; text-align: center; font-size: .85rem; padding: 4px 10px; font-weight: 600; }
.pagina { max-width: 1180px; margin: 0 auto; padding: clamp(18px, 4vw, 40px) clamp(16px, 4vw, 40px) 80px; }

/* Login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px 16px; }
.login-kaart { width: min(440px, 100%); background: rgba(255,255,255,.06); border: 1px solid var(--lijn); border-radius: 24px; padding: 34px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.35), var(--gloed); }
.login-kaart .logo { margin-bottom: 22px; font-size: 1.1rem; }
.veld { display: block; margin: 12px 0; }
.veld span { display: block; font-size: .85rem; color: var(--zacht); margin-bottom: 4px; }
.veld input, .veld select, .veld textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lijn); background: rgba(0,0,0,.18); outline: none; }
.veld input:focus, .veld textarea:focus { border-color: var(--cyaan); box-shadow: 0 0 0 3px rgba(95,212,224,.2); }
.fout-tekst { color: var(--fout); min-height: 1.4em; font-size: .9rem; }

/* Kaarten en grids */
.kaart { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--r); padding: 20px; }
.welkom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: end; margin-bottom: 26px; }
.welkom p { color: var(--zacht); margin: 0; }
.thema-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.thema-kaart { text-decoration: none; color: var(--tekst); background: var(--vlak); border: 1px solid var(--lijn); border-radius: 20px; overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.thema-kaart:hover { transform: translateY(-3px); box-shadow: var(--gloed); border-color: rgba(95,212,224,.5); }
.thema-kaart .tk-foto { aspect-ratio: 16/9; background: linear-gradient(135deg, #16414C, #0B2A33); position: relative; }
.thema-kaart .tk-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thema-kaart .tk-nr { position: absolute; left: 12px; top: 12px; background: rgba(11,42,51,.85); border: 1px solid var(--cyaan); color: var(--cyaan); font-weight: 800; border-radius: 10px; padding: 2px 10px; }
.thema-kaart .tk-body { padding: 14px 16px 16px; flex: 1; }
.thema-kaart.dicht { opacity: .45; pointer-events: none; }
.balk { height: 8px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.balk > i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyaan-d), var(--cyaan)); border-radius: 99px; box-shadow: 0 0 10px var(--cyaan); }

.thema-held { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--lijn); margin-bottom: 26px; min-height: 220px; display: flex; align-items: end; }
.thema-held img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thema-held::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,42,51,.97) 10%, rgba(11,42,51,.4) 70%, rgba(11,42,51,.15)); }
.thema-held .th-in { position: relative; z-index: 1; padding: 26px; }
.thema-held .th-nr { color: var(--cyaan); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: .85rem; }
.doelen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.doelen span { background: rgba(95,212,224,.13); border: 1px solid rgba(95,212,224,.35); border-radius: 999px; padding: 4px 12px; font-size: .88rem; }
.les-lijst { display: grid; gap: 12px; }
.les-kaart { display: flex; gap: 16px; align-items: center; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 18px; padding: 14px 16px; text-decoration: none; color: var(--tekst); transition: .15s; }
.les-kaart:hover { border-color: rgba(95,212,224,.55); box-shadow: var(--gloed); }
.les-kaart img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; background: #16414C; }
.les-kaart .lk-nr { font-weight: 800; color: var(--cyaan); font-size: 1.3rem; min-width: 46px; }
.les-kaart .lk-t { flex: 1; min-width: 0; }
.les-kaart .lk-t b { display: block; font-size: 1.08rem; }
.les-kaart .lk-t span { color: var(--zacht); font-size: .9rem; }
.ring { --p: 0; width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(var(--cyaan) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); display: grid; place-items: center; flex: none; }
.ring::before { content: attr(data-t); width: 42px; height: 42px; border-radius: 50%; background: #0F3540; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.kruimel { color: var(--zacht); font-size: .9rem; margin-bottom: 10px; }
.kruimel a { color: var(--zacht); }

/* Lespagina */
.les-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.les-tabs { position: sticky; top: 84px; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 18px; padding: 10px; display: grid; gap: 4px; }
.les-tabs a { display: flex; gap: 10px; align-items: center; color: var(--zacht); text-decoration: none; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.les-tabs a:hover { background: var(--vlak2); color: var(--tekst); }
.les-tabs a.aan { background: rgba(95,212,224,.16); color: var(--tekst); box-shadow: inset 3px 0 0 var(--cyaan); }
.les-tabs .tnr2 { width: 28px; height: 28px; border-radius: 9px; background: var(--vlak2); display: grid; place-items: center; font-size: .85rem; flex: none; }
.les-tabs a.klaar .tnr2 { background: var(--goed); color: #062312; }
.les-tabs .sep { height: 1px; background: var(--lijn); margin: 6px 4px; }
.les-tabs .samen { font-size: .7rem; color: var(--geel); margin-left: auto; }
.les-kop h1 { margin-bottom: 4px; }
.les-kop p { color: var(--zacht); margin: 0 0 18px; }
.onderdeel-nav { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; }

/* Oefening */
.oef { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }
.oef-kop { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.oef-nr { width: 32px; height: 32px; border-radius: 10px; background: var(--cyaan); color: #06212A; font-weight: 800; display: grid; place-items: center; flex: none; }
.oef-instr { flex: 1; }
.oef-instr p { margin: 0; }
.instr-nl { font-weight: 700; }
.instr-en { color: var(--stil); font-size: .85rem; font-style: italic; }
.badge-vorig { background: var(--goed-bg); color: var(--goed); border: 1px solid rgba(94,224,138,.4); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.oef-voet { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--lijn); }
.score { font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.score.top { background: var(--goed); color: #062312; }
.score.ok { background: rgba(242,193,78,.2); color: var(--geel); }
.score.laag { background: var(--fout-bg); color: var(--fout); }
.compliment { color: var(--goed); font-weight: 700; }
.goed { border-color: var(--goed) !important; background: var(--goed-bg) !important; }
.fout { border-color: var(--fout) !important; background: var(--fout-bg) !important; }
.verbetering { color: var(--goed); font-weight: 700; font-size: .92em; }
.tnr { color: var(--cyaan); font-weight: 700; margin-right: 4px; }

.woordgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.woordkaart { text-align: left; background: rgba(0,0,0,.14); border: 1px solid var(--lijn); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; transition: .15s; }
.woordkaart:hover { border-color: var(--cyaan); box-shadow: var(--gloed); }
.woordkaart img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.wk-nl { font-weight: 700; font-size: 1.05rem; }
.lid { color: var(--cyaan); font-weight: 600; }
.mv { color: var(--stil); font-weight: 400; font-size: .85rem; }
.wk-en { color: var(--zacht); font-size: .88rem; }
.wk-vb { color: var(--stil); font-size: .8rem; font-style: italic; }
.flitskaart { max-width: 420px; margin: 0 auto 10px; min-height: 230px; border-radius: 22px; background: linear-gradient(135deg, #16434F, #0E3039); border: 1px solid rgba(95,212,224,.5); box-shadow: var(--gloed); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; cursor: pointer; text-align: center; user-select: none; }
.flitskaart.om { background: linear-gradient(135deg, #20505C, #163F49); }
.flitskaart img { max-height: 150px; border-radius: 12px; }
.fk-woord { font-size: 2rem; font-weight: 800; }

.tekstblok .tekst-foto { width: 100%; max-height: 300px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; }
.tekst-intro { color: var(--zacht); font-style: italic; }
.tekst { background: rgba(0,0,0,.16); border: 1px solid var(--lijn); border-radius: 14px; padding: 16px 18px; margin-top: 10px; }
.regel { margin: 4px 0; padding: 3px 6px; border-radius: 8px; transition: background .2s; }
.regel.nu { background: rgba(95,212,224,.2); }
.spreker { color: var(--cyaan); }
.mini-luister { background: none; border: 0; color: var(--stil); padding: 0 4px; font-size: .8rem; }
.mini-luister:hover { color: var(--cyaan); }
.vertaling { color: var(--zacht); font-size: .92rem; background: rgba(0,0,0,.12); border-radius: 12px; padding: 8px 14px; }

.mc-lijst { display: grid; gap: 10px; }
.mc-item { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; background: rgba(0,0,0,.1); }
.mc-zin { flex: 1 1 260px; }
.gat-mc { display: inline-block; min-width: 60px; border-bottom: 2px solid var(--cyaan); text-align: center; color: var(--cyaan); font-weight: 700; padding: 0 6px; }
.mc-opties { display: flex; gap: 8px; flex-wrap: wrap; }
.mc-foto { width: 90px; border-radius: 10px; }
.optie { background: var(--vlak2); border: 1px solid var(--lijn); border-radius: 12px; padding: 7px 14px; }
.optie:hover:not(:disabled) { border-color: var(--cyaan); }
.optie.gekozen { background: var(--cyaan); color: #06212A; font-weight: 700; }
.optie.juist { outline: 2px solid var(--goed); }

.woordbank { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-radius: 14px; border: 1px dashed rgba(95,212,224,.45); background: rgba(95,212,224,.06); margin-bottom: 14px; min-height: 54px; }
.chip { background: #F5FBFC; color: #0B2A33; border: 0; border-radius: 10px; padding: 7px 13px; font-weight: 700; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.chip.sel { outline: 3px solid var(--cyaan); transform: translateY(-2px); }
.chip.goed { background: var(--goed) !important; } .chip.fout { background: var(--fout) !important; color: #2a0b0b; }
.gatentekst { line-height: 2.5; margin: 8px 0; }
.gat { display: inline-block; min-width: 90px; min-height: 34px; vertical-align: middle; border-bottom: 2px solid var(--cyaan); border-radius: 8px 8px 0 0; background: rgba(95,212,224,.08); text-align: center; cursor: pointer; line-height: 1.8; padding: 0 3px; }
.gat .chip { box-shadow: none; }
.gat-in, .dictee-in, .getal-in, .vrij-in { background: rgba(0,0,0,.2); border: 1px solid var(--lijn); border-bottom: 2px solid var(--cyaan); border-radius: 8px; padding: 5px 9px; outline: none; }
.gat-in:focus, .dictee-in:focus, .getal-in:focus, .vrij-in:focus { border-color: var(--cyaan); }
.hint { color: var(--stil); font-size: .9rem; }
.koppel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.koppel-kol { display: grid; gap: 8px; align-content: start; }
.koppel-el { text-align: left; background: rgba(0,0,0,.14); border: 2px solid var(--lijn); border-radius: 12px; padding: 9px 12px; }
.koppel-el.sel { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.fotogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.fotovak { border: 2px solid var(--lijn); border-radius: 14px; overflow: hidden; cursor: pointer; background: rgba(0,0,0,.14); }
.fotovak img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.foto-label { min-height: 48px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; padding: 6px; }
.volg-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid transparent; border-radius: 14px; margin-bottom: 8px; background: rgba(0,0,0,.1); }
.volg-kol { flex: 1; display: grid; gap: 8px; }
.volg-doel { min-height: 44px; border-bottom: 2px solid var(--cyaan); display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; }
.volg-bron { display: flex; flex-wrap: wrap; gap: 6px; }
.dictee-item, .nazeg-item { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.dictee-in { flex: 1 1 240px; }
.nazeg-zin { flex: 1 1 220px; font-weight: 600; }
.getal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.getal-item { display: flex; gap: 8px; align-items: center; }
.getal-in { width: 100%; font-size: 1.1rem; }
.bakken { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.bak { border: 2px dashed rgba(95,212,224,.45); border-radius: 16px; min-height: 120px; cursor: pointer; background: rgba(0,0,0,.1); }
.bak-kop { text-align: center; font-weight: 800; color: var(--cyaan); padding: 8px; border-bottom: 1px solid var(--lijn); font-size: 1.1rem; }
.bak-in { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
.vrij-regel { margin: 8px 0; }
.vrij-in { min-width: 220px; }
.voorbeeld, .situatie, .hulpzinnen, .checklist { background: rgba(0,0,0,.14); border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
.situatie { border-left: 4px solid var(--geel); }
.hulpzinnen ul { margin: 6px 0 0; padding-left: 20px; }
.checklist label { display: block; margin: 4px 0; }
.schrijf-in { width: 100%; background: rgba(0,0,0,.2); border: 1px solid var(--lijn); border-radius: 12px; padding: 12px 14px; line-height: 1.6; resize: vertical; outline: none; }
.schrijf-in:focus { border-color: var(--cyaan); box-shadow: 0 0 0 3px rgba(95,212,224,.2); }
.inzend-status .status-regel { margin-top: 10px; font-weight: 700; }
.feedback { background: rgba(242,193,78,.12); border: 1px solid rgba(242,193,78,.45); border-radius: 12px; padding: 10px 14px; margin-top: 10px; }
.feedback p { margin: 4px 0 0; white-space: pre-wrap; }
.info-blok table.gram, table.gram { border-collapse: collapse; margin: 8px 0 14px; }
table.gram td, table.gram th { border: 1px solid var(--lijn); padding: 6px 14px; text-align: left; }
table.gram th { color: var(--cyaan); }
table.gram b, .t { color: var(--cyaan); }
.regel-kader { border-left: 4px solid var(--cyaan); background: rgba(95,212,224,.1); padding: 8px 12px; border-radius: 0 10px 10px 0; }
.taak-doel { font-size: 1.1rem; }

/* Tabellen en docent */
.tabel-wrap { overflow-x: auto; border: 1px solid var(--lijn); border-radius: 14px; }
table.tabel { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.tabel th, table.tabel td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; white-space: nowrap; }
table.tabel th { background: rgba(0,0,0,.2); color: var(--zacht); font-weight: 600; position: sticky; top: 0; }
table.tabel tr:hover td { background: rgba(255,255,255,.03); }
.cel { display: inline-block; min-width: 46px; text-align: center; border-radius: 8px; padding: 2px 6px; font-weight: 700; font-size: .82rem; cursor: pointer; }
.cel.c0 { background: rgba(255,255,255,.06); color: var(--stil); }
.cel.c1 { background: rgba(255,122,122,.2); color: var(--fout); }
.cel.c2 { background: rgba(242,193,78,.2); color: var(--geel); }
.cel.c3 { background: rgba(94,224,138,.2); color: var(--goed); }
.tabs-docent { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.status-pil { border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.status-pil.nieuw { background: var(--geel); color: #2b2000; }
.status-pil.klaar { background: var(--goed-bg); color: var(--goed); }
.inzend-lijst { display: grid; gap: 10px; }
.inzend-kaart { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.inzend-kaart:hover { border-color: var(--cyaan); }
.inzend-tekst { white-space: pre-wrap; background: rgba(0,0,0,.2); border-radius: 12px; padding: 12px 14px; }
.stat-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 16px; padding: 16px; }
.stat b { font-size: 2rem; display: block; color: var(--cyaan); }
.klas-keuze { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }

/* Modal en toasts */
.modal-bg { position: fixed; inset: 0; background: rgba(3,14,18,.72); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { width: min(620px, 100%); max-height: 90vh; overflow: auto; background: linear-gradient(160deg, #10343E, #173F49); border: 1px solid rgba(95,212,224,.4); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.modal-kop { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--lijn); }
.modal-kop h3 { margin: 0; }
.modal-body { padding: 18px 20px; }
.modal-acties { display: flex; gap: 10px; justify-content: flex-end; padding: 0 20px 18px; flex-wrap: wrap; }
#toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; }
.toast { background: #F5FBFC; color: #0B2A33; font-weight: 700; padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: .4s; }
.toast.fout { background: var(--fout); color: #2a0b0b; }
.toast.weg { opacity: 0; transform: translateY(10px); }

@media (max-width: 860px) {
  .les-layout { grid-template-columns: 1fr; }
  .les-tabs { position: static; display: flex; overflow-x: auto; padding: 6px; }
  .les-tabs a { white-space: nowrap; }
  .les-tabs .sep, .les-tabs .samen { display: none; }
  .koppel { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kopbalk { gap: 8px; }
  .logo small { display: none; }
}
@media (max-width: 520px) { body { font-size: 16px; } .oef { padding: 14px; } .les-kaart img { display: none; } }
img.geen-foto { visibility: hidden; }
.thema-kaart img.geen-foto, .les-kaart img.geen-foto, .thema-held img.geen-foto, .tekst-foto.geen-foto { display: none; }

/* ================= KLASSIKAAL (Zoom-scherm) ================= */
body.klas-modus { overflow: hidden; }
.k-start { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 70% 20%, rgba(95,212,224,.18), transparent 50%); }
.k-start-kaart { width: min(820px, 100%); background: rgba(255,255,255,.05); border: 1px solid rgba(95,212,224,.4); border-radius: 28px; padding: 34px; box-shadow: var(--gloed); }
.k-merk { display: flex; align-items: center; gap: 10px; color: var(--zacht); font-weight: 700; margin-bottom: 14px; }
.k-sub { color: var(--cyaan); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; font-size: .9rem; }
.k-titel { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 6px 0 10px; text-shadow: 0 0 30px rgba(95,212,224,.35); }
.k-titel.klein-t { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.k-doel { color: var(--zacht); font-size: 1.15rem; }
.k-aanw { background: rgba(0,0,0,.15); border-radius: 16px; padding: 14px 16px; margin: 18px 0; }
.aanw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 10px 0; }
.aanw-naam { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 10px; padding: 6px 10px; cursor: pointer; }
.k-select, .k-input { background: rgba(0,0,0,.25); border: 1px solid var(--lijn); border-radius: 10px; padding: 8px 12px; color: #fff; }
.k-select option { background: #0F3540; }
.k-input.groot { font-size: 1.5rem; padding: 10px 16px; text-transform: uppercase; letter-spacing: 3px; width: min(420px, 100%); text-align: center; }
.k-frame { height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.k-top { display: flex; align-items: center; gap: 14px; padding: 10px 18px; background: rgba(6,26,32,.85); border-bottom: 1px solid rgba(95,212,224,.3); }
.k-top-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.k-top-l small { display: block; color: var(--zacht); font-size: .75rem; }
.k-top-l b { white-space: nowrap; }
.k-cirkels { display: flex; gap: 6px; margin: 0 auto; }
.k-cirkel { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--stil); padding: 0 4px; }
.k-cirkel span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lijn); display: grid; place-items: center; font-weight: 800; }
.k-cirkel small { font-size: .65rem; }
.k-cirkel.gedaan span { border-color: var(--cyaan); color: var(--cyaan); }
.k-cirkel.aan span { background: var(--cyaan); color: #06212A; border-color: var(--cyaan); box-shadow: 0 0 16px var(--cyaan); }
.k-cirkel.aan { color: #fff; }
.k-top-r { display: flex; align-items: center; gap: 8px; }
.k-timers { display: flex; gap: 4px; align-items: center; }
.k-chip { background: var(--vlak2); border: 1px solid var(--lijn); border-radius: 999px; padding: 4px 10px; font-size: .8rem; color: #fff; }
.k-chip.aan { background: var(--cyaan); color: #06212A; font-weight: 800; }
.k-chip.groot { font-size: 1rem; padding: 8px 16px; }
.k-tijd { border: 2px solid var(--fout); color: #fff; border-radius: 10px; padding: 2px 10px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; }
.k-tijd.op { background: var(--fout); animation: puls .6s infinite; }
.k-badge { background: rgba(95,212,224,.15); border: 1px solid var(--cyaan); color: var(--cyaan); border-radius: 999px; padding: 6px 12px; font-weight: 700; white-space: nowrap; }
.k-podium { overflow: auto; padding: 22px clamp(16px, 3vw, 40px) 30px; }
.k-voet { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px; background: rgba(6,26,32,.6); border-top: 1px solid var(--lijn); }
.k-sectie { max-width: 1280px; margin: 0 auto; }
.k-held { position: relative; border-radius: 24px; overflow: hidden; min-height: 260px; display: flex; align-items: end; border: 1px solid var(--lijn); margin-bottom: 18px; }
.k-held img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-held::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,51,.97) 45%, rgba(11,42,51,.6)); }
.k-held-in { position: relative; z-index: 1; padding: 28px; }
.k-punten { font-size: 1.3rem; line-height: 1.8; }
.k-blok { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 20px; padding: 18px 20px; margin: 14px 0; }
.k-blok-kop { color: var(--cyaan); }
.k-zinnen { display: flex; flex-wrap: wrap; gap: 10px; }
.k-zinnen span { background: rgba(95,212,224,.12); border: 1px solid rgba(95,212,224,.4); padding: 8px 16px; border-radius: 12px; font-size: 1.25rem; font-weight: 600; }
.k-twee { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.k-center { text-align: center; }
.k-rad-wrap { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.k-rad-kol { display: grid; justify-items: center; }
.k-rad { width: min(340px, 70vw); height: auto; cursor: pointer; filter: drop-shadow(0 0 20px rgba(95,212,224,.35)); }
.k-uitslag { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--cyaan); text-shadow: 0 0 24px rgba(95,212,224,.5); min-height: 1.3em; }
.k-uitslag.klein-u { font-size: 1.8rem; }
.k-uitslag.knal { animation: knal .5s; }
@keyframes knal { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.k-vragenlijst { margin-top: 14px; }
.k-vraag { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; background: rgba(0,0,0,.2); border-left: 5px solid var(--geel); border-radius: 0 16px 16px 0; padding: 16px 20px; margin-bottom: 8px; }
.k-duo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.k-duo { background: rgba(0,0,0,.18); border: 1px solid var(--lijn); border-radius: 14px; padding: 10px 14px; font-size: 1.15rem; position: relative; }
.k-duo-nr { position: absolute; right: 10px; top: 6px; color: var(--stil); font-size: .8rem; }
.rol { color: var(--cyaan); }
.k-rollen { display: flex; gap: 8px; flex-wrap: wrap; }
.k-rollen span { background: rgba(242,193,78,.14); border: 1px solid rgba(242,193,78,.5); color: var(--geel); border-radius: 999px; padding: 4px 12px; font-weight: 700; }
.k-groepjes p { font-size: 1.2rem; }
.k-tekst { background: rgba(0,0,0,.2); border-radius: 16px; padding: 16px 20px; font-size: 1.3rem; transition: .3s; }
.k-tekst.dicht { filter: blur(9px); user-select: none; }
.k-regel { margin: 4px 0; padding: 2px 8px; border-radius: 8px; }
.k-regel.nu { background: rgba(95,212,224,.22); }
.k-regel b { color: var(--cyaan); }
.k-slide { background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(95,212,224,.35); border-radius: 24px; padding: 26px 32px; min-height: 52vh; box-shadow: var(--gloed); }
.k-slide-kop { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.k-slide-kop h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.k-slide-nr { background: var(--cyaan); color: #06212A; font-weight: 800; border-radius: 10px; padding: 2px 10px; font-size: .9rem; }
.k-slide-body { font-size: 1.35rem; }
.k-slide-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.k-dots { display: flex; gap: 6px; }
.k-dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--lijn); padding: 0; }
.k-dot.aan { background: var(--cyaan); box-shadow: 0 0 10px var(--cyaan); }
table.gram.groot td, table.gram.groot th { font-size: 1.6rem; padding: 10px 22px; }
.vw { color: var(--geel); font-weight: 800; } .ww { color: var(--cyaan); font-weight: 800; }
.kol-sep { border: 0 !important; width: 30px; }
.vn-rij { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.vn-rij > div { background: rgba(95,212,224,.1); border: 1px solid rgba(95,212,224,.4); border-radius: 20px; padding: 20px 34px; text-align: center; }
.vn-rij .groot { font-size: 3rem; font-weight: 800; display: block; color: var(--cyaan); }
.groot-zin { font-size: 1.8rem; margin: 14px 0; }
.pijl { color: var(--geel); margin: 0 10px; }
.groot-lijst li { margin: 10px 0; }
.twee-kol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.twee-kol > div { background: rgba(0,0,0,.18); border-radius: 18px; padding: 18px 22px; }
.twee-kol h3 { color: var(--cyaan); font-size: 1.8rem; }
.scene { background: rgba(0,0,0,.2); border-radius: 18px; padding: 18px 24px; }
.k-oef { display: grid; gap: 10px; }
.k-oef-item { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: rgba(0,0,0,.18); border-radius: 14px; padding: 10px 14px; font-size: 1.3rem; }
.k-oef-nr { color: var(--cyaan); font-weight: 800; }
.k-oef-v { flex: 1 1 300px; }
.k-antw { color: var(--goed); font-weight: 800; transition: .2s; }
.k-antw.dicht { visibility: hidden; }
.k-antw.groot { font-size: 1.5rem; text-align: center; margin: 10px 0; }
.k-details { margin-top: 14px; } .k-details summary { cursor: pointer; color: var(--cyaan); }
.k-taak-kop .k-doel { margin-top: 0; }
.k-taak { display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start; }
.k-stappen { display: grid; gap: 6px; position: sticky; top: 0; }
.k-stap-knop { text-align: left; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 12px; padding: 8px 12px; color: var(--zacht); }
.k-stap-knop b { display: block; color: var(--cyaan); font-size: .8rem; }
.k-stap-knop.aan { background: rgba(95,212,224,.16); border-color: var(--cyaan); color: #fff; }
.k-stap { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 20px; padding: 20px 24px; min-height: 60vh; }
.k-stap-kop { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.k-stap-kop h2 { margin: 0; font-size: 1.9rem; }
.k-opdr { background: var(--cyaan); color: #06212A; font-weight: 800; border-radius: 10px; padding: 4px 12px; }
.k-werkvorm { margin-left: auto; background: rgba(242,193,78,.15); color: var(--geel); border: 1px solid rgba(242,193,78,.5); border-radius: 999px; padding: 4px 14px; font-weight: 700; }
.k-instr { font-size: 1.35rem; margin: 12px 0; }
.k-huiswerk { font-size: 1.4rem; background: rgba(242,193,78,.12); border: 1px solid rgba(242,193,78,.5); border-radius: 16px; padding: 18px 22px; margin-top: 12px; }
.k-groot-getal { font-size: clamp(5rem, 12vw, 9rem); font-weight: 800; color: var(--cyaan); text-shadow: 0 0 40px rgba(95,212,224,.6); text-align: center; line-height: 1.1; cursor: pointer; }
.k-bingo { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; }
.k-bal { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--lijn); color: var(--stil); font-weight: 800; }
.k-bal.aan { background: var(--cyaan); color: #06212A; box-shadow: 0 0 12px var(--cyaan); }
.k-alfabet { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.k-letter { background: var(--vlak2); border: 1px solid rgba(95,212,224,.35); border-radius: 16px; padding: 10px; font-size: 2.2rem; font-weight: 800; display: grid; }
.k-letter small { font-size: .9rem; color: var(--zacht); font-weight: 500; }
.k-letter:hover { background: rgba(95,212,224,.22); }
.k-spel { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }
.k-scores { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 18px; padding: 14px; position: sticky; top: 0; }
.k-beurt { font-size: 1.2rem; margin-bottom: 10px; } .k-beurt b { color: var(--cyaan); font-size: 1.5rem; display: block; }
.k-score-lijst { display: flex; flex-wrap: wrap; gap: 6px; }
.k-scores .k-score-lijst { display: grid; }
.k-score { display: flex; justify-content: space-between; gap: 10px; background: rgba(0,0,0,.18); border: 1px solid var(--lijn); border-radius: 10px; padding: 6px 12px; color: #fff; }
.k-score b { color: var(--cyaan); }
.k-score.aan { border-color: var(--cyaan); background: rgba(95,212,224,.2); box-shadow: 0 0 12px rgba(95,212,224,.4); }
.k-score.gehad { opacity: .5; text-decoration: line-through; }
.k-galg { text-align: center; }
.k-hartjes { font-size: 1.8rem; letter-spacing: 4px; color: var(--fout); }
.k-woord { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.k-lp { width: 52px; height: 64px; border-bottom: 4px solid var(--cyaan); font-size: 2.6rem; font-weight: 800; display: grid; place-items: center; }
.k-lp.spatie { border: 0; width: 20px; }
.k-toetsen { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 780px; margin: 0 auto 14px; }
.k-toets { width: 50px; height: 50px; border-radius: 12px; background: var(--vlak2); border: 1px solid var(--lijn); font-weight: 800; font-size: 1.2rem; }
.k-toets.goed { background: var(--goed); color: #062312; } .k-toets.fout { background: rgba(255,122,122,.3); }
.k-memory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.k-mkaart { min-height: 110px; border-radius: 16px; border: 1px solid rgba(95,212,224,.4); background: linear-gradient(135deg, #1E4A55, #0B2A33); font-size: 1.2rem; font-weight: 700; padding: 10px; }
.k-mkaart .k-mnr { font-size: 2rem; color: var(--cyaan); }
.k-mkaart.open { background: #F5FBFC; color: #0B2A33; }
.k-mkaart.open.antw { background: #FFF6DC; }
.k-mkaart.gevonden { background: var(--goed); color: #062312; opacity: .8; }
.k-mkaart img { max-width: 100%; max-height: 110px; border-radius: 10px; }
.k-lingo { background: radial-gradient(circle at 50% 0%, #1E4A55, #06212A 70%); border-radius: 24px; padding: 20px; border: 1px solid rgba(95,212,224,.35); }
.k-lingo-logo { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; }
.k-lingo-logo span { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 1.6rem; box-shadow: inset 0 -4px 0 rgba(0,0,0,.25), 0 4px 12px rgba(0,0,0,.4); }
.k-lingo-logo .groen { background: #2FA84F; } .k-lingo-logo .geel { background: #F2C14E; color: #2b2000; } .k-lingo-logo .rood { background: #D94040; }
.k-lbord { display: grid; gap: 8px; justify-items: center; margin-bottom: 14px; }
.k-lrij { display: flex; gap: 6px; }
.k-lgap { width: 16px; }
.k-ltegel { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; background: #123C47; border: 1px solid rgba(255,255,255,.15); box-shadow: inset 0 -4px 0 rgba(0,0,0,.3), inset 0 2px 0 rgba(255,255,255,.12); }
.k-ltegel.groen { background: #2FA84F; } .k-ltegel.geel { background: #F2C14E; color: #2b2000; border-radius: 50%; } .k-ltegel.grijs { background: #3A5560; }
.k-ltegel.hint { background: #D4A72C; color: #1c1400; } .k-ltegel.leeg { background: #123C47; }
.k-quizvraag { text-align: center; background: var(--vlak); border: 1px solid rgba(95,212,224,.35); border-radius: 24px; padding: 24px; }
.k-quizvraag h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 14px 0; }
.k-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 16px 0; }
.k-team { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 18px; padding: 12px; text-align: center; }
.k-teamnaam { background: none; border: 0; color: var(--cyaan); font-weight: 800; font-size: 1.2rem; text-align: center; width: 100%; }
.k-teamscore { font-size: 3rem; font-weight: 900; }
.k-plaats { padding: 10px 14px; border-radius: 12px; margin: 6px 0; background: rgba(0,0,0,.2); font-size: 1.2rem; }
.k-plaats.p1 { background: rgba(242,193,78,.25); border: 1px solid var(--geel); font-size: 1.5rem; }
.k-kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.k-persoon { background: #F5FBFC; color: #0B2A33; border-radius: 16px; padding: 12px 14px; position: relative; font-size: 1.05rem; }
.k-persoon .klein { color: #3a5a63; }
.k-persoon-nr { position: absolute; right: 10px; top: 8px; background: var(--bg2); color: #fff; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; font-size: .85rem; }
.k-formulier { margin-top: 14px; background: rgba(0,0,0,.2); border-radius: 14px; padding: 12px 16px; }
.k-form-regel { border-bottom: 1px dashed var(--lijn); padding: 6px 0; }
@media (max-width: 1000px) { .k-twee, .k-rad-wrap, .k-taak, .k-spel { grid-template-columns: 1fr; } .k-cirkel small { display: none; } .k-timers .k-chip:not(.aan) { display: none; } }
a.knop { text-decoration: none; display: inline-block; }
.woordgrid { align-items: start; } .oef.info { border-left: 4px solid var(--cyaan); }
.regel.nieuw, .k-regel.nieuw { margin-top: 14px; }
.k-chip { white-space: nowrap; }
.k-top-l b { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 1400px) { .k-cirkel small { display: none; } }
