/* ============================================================
   Evolza v2 — één design-systeem. Mobile-first.
   Prikkelprofielen via data-attributen op <body>:
     data-anim="off"  → geen animaties/transities
     data-bg="creme"  → warme achtergrond (dyslexie-vriendelijk)
     data-font="l|xl" → grotere tekst
     data-spacing="on"→ ruimere letter/regelafstand
   Moodie-kleur via CSS-variabelen op <body> (—mp/—ml/—md).
   ============================================================ */

:root {
  --mp: #42A5F5;            /* moodie primary (per kind overschreven) */
  --ml: #BBDEFB;            /* moodie light */
  --md: #1565C0;            /* moodie dark  */
  --bg: #F5F8FB;
  --card: #FFFFFF;
  --text: #2D3436;
  --text-2: #5A6570;        /* AA-contrast op wit */
  --line: #E4E9EE;
  --ok: #2E7D32;
  --ok-bg: #E8F5E9;
  --nok: #C62828;
  --nok-bg: #FDECEA;
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 2px 10px rgba(45, 52, 54, .08);
  --space: 16px;
  --fs: 16px;
  --lh: 1.55;
  --ls: normal;
  --font: 'Nunito', ui-rounded, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body[data-bg="creme"] { --bg: #FBF5E9; --card: #FFFDF7; }
body[data-font="l"]  { --fs: 18px; }
body[data-font="xl"] { --fs: 21px; }
body[data-spacing="on"] { --lh: 1.9; --ls: 0.03em; }
body[data-spacing="on"] .word, body[data-spacing="on"] input { letter-spacing: 0.08em; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs);
  line-height: var(--lh);
  letter-spacing: var(--ls);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
}
img, svg { max-width: 100%; }
a { color: var(--md); }

body[data-anim="off"] *, body[data-anim="off"] *::before, body[data-anim="off"] *::after {
  animation: none !important; transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- layout ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: var(--space); }
.wrap--wide { max-width: 1080px; }
.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--space);
  background: var(--card); box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 20;
}
.topbar .grow { flex: 1; }
.brand { font-weight: 800; font-size: 1.15em; color: var(--md); text-decoration: none; display: flex; align-items: center; gap: 8px; }

/* ---------- componenten ---------- */
.card {
  background: var(--card); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 20px; margin-bottom: var(--space);
}
.card h2 { font-size: 1.15em; margin-bottom: 10px; }
.muted { color: var(--text-2); }
.small { font-size: .85em; }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border: none; border-radius: 14px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 1em;
  background: var(--mp); color: #fff; text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
  touch-action: manipulation;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--md); outline-offset: 2px; }
.btn--dark { background: var(--md); }
.btn--ghost { background: transparent; color: var(--md); border: 2px solid var(--md); }
.btn--soft { background: var(--ml); color: var(--md); }
.btn--danger { background: var(--nok); }
.btn--big { min-height: 60px; font-size: 1.15em; width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--icon { min-width: 48px; padding: 10px; border-radius: 12px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 2px solid var(--line); border-radius: var(--r-s);
  font: inherit; background: var(--card); color: var(--text);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--mp); box-shadow: 0 0 0 3px var(--ml);
}

.flash { padding: 12px 16px; border-radius: var(--r-s); margin-bottom: var(--space); font-weight: 700; }
.flash--ok { background: var(--ok-bg); color: var(--ok); }
.flash--err { background: var(--nok-bg); color: var(--nok); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8em; font-weight: 800; background: var(--ml); color: var(--md); }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--warn { background: #FFF3E0; color: #E65100; }

.progress { height: 14px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--mp); border-radius: 999px; transition: width .3s ease; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--ml); color: var(--md); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .85em; }

/* ---------- gezin: profielkeuze ---------- */
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--space); }
.profile-card {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 18px 12px; text-align: center; cursor: pointer;
  border: 3px solid transparent; font: inherit; width: 100%;
  transition: transform .15s ease, border-color .15s ease;
}
.profile-card:hover, .profile-card:focus-visible { transform: translateY(-3px); border-color: var(--mp); outline: none; }
.profile-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--ml); }
.profile-card .name { font-weight: 800; margin-top: 8px; font-size: 1.05em; }

/* ---------- PIN ---------- */
.pin-row { display: flex; gap: 10px; justify-content: center; }
.pin-row input {
  width: 52px; min-height: 60px; text-align: center; font-size: 1.6em; font-weight: 800;
  -webkit-text-security: disc;
}
.pin-row input.plain { -webkit-text-security: none; }

/* ---------- kind-dashboard ---------- */
.hero {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(120deg, var(--ml), var(--card) 70%);
  border-radius: var(--r); padding: 18px; margin-bottom: var(--space);
}
.hero img.moodie { width: 84px; height: 84px; }
.hero .bubble {
  background: var(--card); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-weight: 700; position: relative;
}
.day-tasks { display: grid; gap: 10px; }
.task-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 14px; border: 3px solid transparent; text-decoration: none; color: inherit;
}
.task-row.done { opacity: .65; border-color: var(--ok); }
.task-row .nr {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--mp); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.1em;
}
.task-row.done .nr { background: var(--ok); }
.task-row .t { font-weight: 800; }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.skill-card {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 14px; text-align: center; text-decoration: none; color: inherit;
  border: 3px solid transparent; transition: transform .15s ease, border-color .15s ease;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.skill-card:hover, .skill-card:focus-visible { transform: translateY(-3px); border-color: var(--mp); outline: none; }
.skill-card .ico { font-size: 2em; line-height: 1; }
.skill-card .t { font-weight: 800; font-size: .95em; }
.skill-card .m { height: 6px; width: 100%; background: var(--line); border-radius: 999px; overflow: hidden; }
.skill-card .m > span { display: block; height: 100%; background: var(--mp); }
.disc-title { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 1.1em; }

/* ---------- speler ---------- */
.player { max-width: 640px; margin: 0 auto; padding: var(--space); }
.player-top { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space); }
.player-top .progress { flex: 1; }
.qcard {
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 24px 20px; text-align: center; min-height: 220px;
  display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center;
}
.qcard .prompt { font-size: 1.35em; font-weight: 800; }
.qcard .visual { width: 100%; display: flex; justify-content: center; }
.qcard .visual svg { max-height: 220px; }
.tts-btn {
  background: var(--ml); border: none; border-radius: 12px; min-width: 48px; min-height: 48px;
  font-size: 1.3em; cursor: pointer; color: var(--md);
}
.answer-area { margin-top: var(--space); }
.answer-input {
  width: 100%; min-height: 60px; font-size: 1.5em; font-weight: 800; text-align: center;
  border: 3px solid var(--line); border-radius: var(--r); padding: 8px 14px; font-family: inherit;
}
.answer-input:focus-visible { outline: none; border-color: var(--mp); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; max-width: 340px; margin-left: auto; margin-right: auto; }
.keypad button {
  min-height: 58px; font-size: 1.4em; font-weight: 800; font-family: inherit;
  border: none; border-radius: 14px; background: var(--card); box-shadow: var(--shadow);
  cursor: pointer; color: var(--text); touch-action: manipulation;
}
.keypad button:active { transform: scale(.95); background: var(--ml); }
.keypad button.wide { grid-column: span 2; }
.keypad button.go { background: var(--mp); color: #fff; }
.choices { display: grid; gap: 10px; margin-top: 12px; }
.choices button {
  min-height: 56px; font: inherit; font-weight: 800; font-size: 1.1em;
  border: 3px solid var(--line); border-radius: var(--r); background: var(--card);
  cursor: pointer; padding: 10px 16px; color: var(--text); touch-action: manipulation;
}
.choices button:active, .choices button.sel { border-color: var(--mp); background: var(--ml); }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tiles button {
  width: 52px; height: 56px; font-size: 1.4em; font-weight: 800; font-family: inherit;
  border: none; border-radius: 12px; background: var(--card); box-shadow: var(--shadow);
  cursor: pointer; color: var(--text);
}
.tiles button:disabled { opacity: .25; }
.tile-answer {
  min-height: 60px; display: flex; gap: 6px; justify-content: center; align-items: center;
  font-size: 1.6em; font-weight: 800; letter-spacing: .1em;
  background: var(--bg); border-radius: var(--r); padding: 8px; margin-bottom: 10px;
}
.feedback { border-radius: var(--r); padding: 18px; text-align: center; margin-top: var(--space); }
.feedback.ok { background: var(--ok-bg); }
.feedback.nok { background: var(--nok-bg); }
.feedback .big { font-size: 1.3em; font-weight: 800; }
.feedback .uitleg { margin-top: 8px; }
.feedback.ok .big { color: var(--ok); }
.feedback.nok .big { color: var(--nok); }
.moodie-corner { position: fixed; left: 12px; bottom: 12px; width: 76px; pointer-events: none; z-index: 10; }
.moodie-corner img { width: 76px; }
@keyframes bounce { 0%,100% { transform: translateY(0);} 40% { transform: translateY(-14px);} }
@keyframes shake { 0%,100% { transform: translateX(0);} 25% { transform: translateX(-6px);} 75% { transform: translateX(6px);} }
.anim-bounce { animation: bounce .5s ease 2; }
.anim-shake { animation: shake .35s ease 1; }
.done-screen { text-align: center; padding: 30px 16px; }
.done-screen .big-emoji { font-size: 4em; }

/* ---------- ouderdashboard ---------- */
.parent-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: var(--space); -webkit-overflow-scrolling: touch; }
.parent-nav a {
  white-space: nowrap; padding: 10px 16px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow); text-decoration: none;
  color: var(--text); font-weight: 700;
}
.parent-nav a.active { background: var(--md); color: #fff; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: var(--space); }
.kpi { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; text-align: center; }
.kpi .v { font-size: 1.6em; font-weight: 800; color: var(--md); }
.kpi .l { font-size: .8em; color: var(--text-2); font-weight: 700; }
.heat { display: grid; gap: 8px; }
.heat-row { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr auto; gap: 10px; align-items: center; }
.heat-row .bar { height: 16px; border-radius: 999px; background: var(--line); overflow: hidden; }
.heat-row .bar > span { display: block; height: 100%; }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.list th { font-size: .8em; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.switch:last-child { border-bottom: none; }
.switch .lbl { font-weight: 700; }
.switch .sub { font-size: .82em; color: var(--text-2); font-weight: 400; }
.toggle { position: relative; width: 54px; height: 30px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 100%; height: 100%; position: absolute; cursor: pointer; z-index: 2; }
.toggle .tr { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .15s; }
.toggle .tr::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: left .15s; }
.toggle input:checked + .tr { background: var(--ok); }
.toggle input:checked + .tr::after { left: 27px; }
.toggle input:focus-visible + .tr { outline: 3px solid var(--md); }

.seg { display: flex; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg label { flex: 1; text-align: center; padding: 10px 6px; cursor: pointer; font-weight: 700; font-size: .9em; }
.seg input { position: absolute; opacity: 0; }
.seg input:checked + span { color: #fff; }
.seg label:has(input:checked) { background: var(--md); color: #fff; }

/* ---------- auth / landing ---------- */
.auth-wrap { max-width: 440px; margin: 0 auto; padding: var(--space); }
.auth-logo { text-align: center; margin: 26px 0 20px; }
.auth-logo .t { font-size: 1.9em; font-weight: 800; color: var(--md); }
.moodie-strip { display: flex; justify-content: center; gap: 4px; margin: 12px 0; }
.moodie-strip img { width: 46px; height: 46px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-2); margin: 16px 0; font-size: .85em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.usp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.usp { background: var(--card); border-radius: var(--r-s); box-shadow: var(--shadow); padding: 12px; font-size: .85em; font-weight: 700; display: flex; gap: 8px; align-items: center; }

footer.site { text-align: center; padding: 26px 16px; color: var(--text-2); font-size: .82em; }
footer.site a { color: inherit; }

@media (min-width: 700px) {
  .choices { grid-template-columns: 1fr 1fr; }
  .day-tasks { grid-template-columns: repeat(3, 1fr); }
  .task-row { flex-direction: column; text-align: center; }
}

/* ============================================================
   Redesign v2.1 — professioneler ouderdashboard + oefeningen-overzicht
   ============================================================ */
.icon { vertical-align: -3px; flex-shrink: 0; }

/* ouder: rustiger canvas, duidelijke hiërarchie */
.parent-wrap { --p-accent: #1E5AA8; }
.parent-wrap h1.page-title { font-size: 1.35em; margin: 4px 0 14px; display: flex; align-items: center; gap: 10px; }
.card > h2, .card-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.02em; letter-spacing: .01em;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.card > h2 .icon, .card-title .icon { color: var(--md); background: var(--ml); border-radius: 8px; padding: 5px; width: 28px; height: 28px; }
.card .h2-sub { font-weight: 400; font-size: .78em; color: var(--text-2); margin-left: auto; text-align: right; }

/* kind-switcher (ouder) */
.kid-switch { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; }
.kid-switch a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px 7px 8px; border-radius: 999px; text-decoration: none;
  background: var(--card); color: var(--text); font-weight: 700; font-size: .92em;
  border: 2px solid var(--line);
}
.kid-switch a img { border-radius: 50%; }
.kid-switch a.active { border-color: var(--md); background: var(--md); color: #fff; }
.kid-switch a.add { border-style: dashed; color: var(--text-2); padding: 7px 14px; }

/* tab-navigatie (ouder) */
.parent-nav { gap: 4px; background: var(--card); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.parent-nav a {
  display: flex; align-items: center; gap: 7px; box-shadow: none;
  padding: 9px 14px; border-radius: 10px; font-size: .92em; color: var(--text-2);
}
.parent-nav a .icon { width: 17px; height: 17px; }
.parent-nav a.active { background: var(--md); color: #fff; }
.parent-nav a:not(.active):hover { background: var(--bg); color: var(--text); }

/* KPI's */
.kpi { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; }
.kpi .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--ml); color: var(--md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kpi .v { font-size: 1.35em; line-height: 1.15; }
.kpi .l { font-size: .74em; }

/* nettere tabellen + rijen */
table.list th { font-size: .72em; }
table.list tr:hover td { background: var(--bg); }
.heat-row { padding: 7px 0; border-bottom: 1px solid var(--line); }
.heat-row:last-child { border-bottom: none; }
.heat-row .bar { height: 10px; }
.card h3.disc-sub {
  margin: 16px 0 6px; font-size: .78em; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-2); display: flex; align-items: center; gap: 6px;
}

/* foutpatronen-lijst */
.err-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.err-row:last-child { border-bottom: none; }
.err-row .ic { width: 34px; height: 34px; border-radius: 9px; background: #FFF3E0; color: #E65100; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.err-row .lbl { font-weight: 700; }
.err-row .sub { font-size: .82em; color: var(--text-2); }
.err-row .badge { margin-left: auto; }

/* kind: oefeningen-overzicht v2 */
.disc-section { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-bottom: var(--space); }
.disc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.disc-head .ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35em; }
.disc-head .t { font-weight: 800; font-size: 1.08em; }
.disc-head .sub { font-size: .78em; color: var(--text-2); }
.skill-grid { gap: 10px; }
.skill-card { flex-direction: row; text-align: left; padding: 12px; gap: 12px; align-items: center; border: 2px solid var(--line); box-shadow: none; }
.skill-card:hover, .skill-card:focus-visible { transform: none; border-color: var(--mp); background: var(--ml); }
.skill-card .ico { font-size: 1.3em; width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.skill-card .body { flex: 1; min-width: 0; }
.skill-card .t { display: block; font-size: .95em; line-height: 1.25; }
.skill-card .d { display: block; font-size: .76em; color: var(--text-2); font-weight: 400; margin: 2px 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skill-card .m { height: 5px; }
@media (min-width: 700px) { .skill-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .skill-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   v2.2 — kinderoverzicht redesign + mobile-overflow fixes
   ============================================================ */

/* FIX: horizontale skill-kaarten passen alleen full-width op mobiel */
.skill-grid { grid-template-columns: 1fr; }
.skill-card .t { white-space: normal; overflow-wrap: anywhere; }
.skill-card .d {
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; text-overflow: clip;
}
.btn { max-width: 100%; }
.btn, .choices button, .task-row .t { overflow-wrap: anywhere; }

/* hero v2: begroeting + stat-chips */
.hero2 {
  display: flex; gap: 14px; align-items: center;
  background: linear-gradient(135deg, var(--ml), var(--card) 78%);
  border-radius: 20px; padding: 18px 16px; margin-bottom: var(--space);
  box-shadow: var(--shadow);
}
.hero2 .moodie { width: 92px; height: 92px; flex-shrink: 0; }
.hero2 .hi { min-width: 0; flex: 1; }
.hero2 .greet { font-size: 1.3em; font-weight: 800; color: var(--md); line-height: 1.2; }
.hero2 .msg { font-weight: 700; margin: 3px 0 10px; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip2 {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--card); border-radius: 999px; padding: 4px 11px;
  font-weight: 800; font-size: .8em; color: var(--md); box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip2.warn { color: #E65100; }
@media (max-width: 400px) { .hero2 .moodie { width: 72px; height: 72px; } }

/* vandaag: taken-pad */
.today-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-bottom: var(--space); }
.today-head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 1.05em; margin-bottom: 16px; }
.today-path { display: flex; align-items: flex-start; justify-content: center; margin: 0 4px 16px; }
.tp-step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 0 0 auto; min-width: 64px; }
.tp-step .c {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25em;
  background: var(--bg); border: 3px solid var(--line); color: var(--text-2);
}
.tp-step.done .c { background: var(--ok); border-color: var(--ok); color: #fff; }
.tp-step.next .c { background: var(--mp); border-color: var(--md); color: #fff; box-shadow: 0 0 0 5px var(--ml); }
.tp-step .l { font-size: .74em; font-weight: 800; color: var(--text-2); }
.tp-step.done .l { color: var(--ok); }
.tp-step.next .l { color: var(--md); }
.tp-line { flex: 1; max-width: 90px; height: 5px; border-radius: 3px; background: var(--line); margin-top: 25px; }
.tp-line.done { background: var(--ok); }

/* beloning */
.reward-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 14px 16px; margin-bottom: var(--space);
}
.reward-card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: #FFF3E0;
  display: flex; align-items: center; justify-content: center; font-size: 1.5em; flex-shrink: 0;
}
.reward-card .body { flex: 1; min-width: 0; }
.reward-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 7px; }
.reward-card .row b { overflow-wrap: anywhere; }

/* vak-secties met tint (—tb achtergrond / —tf tekst per vak) */
.disc-section { padding: 0; overflow: hidden; }
.disc-head {
  margin-bottom: 0; padding: 13px 16px;
  background: var(--tb, var(--ml));
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.disc-head .ic { background: var(--card); box-shadow: var(--shadow); }
.disc-head .t { color: var(--tf, var(--md)); }
.disc-head .sub { color: var(--tf, var(--md)); opacity: .75; }
.disc-head .grow { min-width: 0; flex: 1; }
.disc-section .skill-grid { padding: 12px; }

/* skill-kaart v3 */
.skill-card { border: 2px solid var(--line); box-shadow: none; padding: 12px 14px; min-width: 0; }
.skill-card .ico { background: var(--tb, var(--bg)); border-radius: 50%; width: 46px; height: 46px; font-size: 1.35em; }
.skill-card .d { margin: 2px 0 7px; }
.skill-card .mrow { display: flex; align-items: center; gap: 8px; }
.skill-card .m { flex: 1; height: 7px; }
.skill-card .m > span { background: var(--tf, var(--mp)); }
.skill-card .pct { font-size: .72em; font-weight: 800; color: var(--tf, var(--md)); flex-shrink: 0; }
.skill-card .new {
  display: inline-block; font-size: .72em; font-weight: 800;
  color: var(--tf, var(--md)); background: var(--tb, var(--ml));
  border-radius: 999px; padding: 2px 10px;
}
.skill-card .chev { color: var(--line); flex-shrink: 0; }
.skill-card:hover .chev, .skill-card:focus-visible .chev { color: var(--tf, var(--md)); }

/* leerjaar-kiezer */
.lj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 540px) { .lj-grid { grid-template-columns: repeat(3, 1fr); } }
.lj-btn {
  background: var(--card); border: 3px solid var(--line); border-radius: 18px;
  padding: 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 9px;
  cursor: pointer; font: inherit; box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.lj-btn:hover, .lj-btn:focus-visible { border-color: var(--mp); transform: translateY(-3px); outline: none; }
.lj-btn .n {
  width: 58px; height: 58px; border-radius: 50%; background: var(--ml); color: var(--md);
  font-size: 1.6em; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.lj-btn .t { font-weight: 800; }


/* =====================================================================
   LANDINGPAGINA (commercieel) — TF-2026-0020 · 2026-07-05
   Scoped op .lp-* ; gebruikt de bestaande tokens (--mp/--ml/--md brand-blauw)
   ===================================================================== */
.lp-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 5vw, 40px);
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.lp-brand { font-weight: 800; font-size: 1.3em; color: var(--md); text-decoration: none; }
.lp-nav-links { display: flex; gap: 22px; margin-left: 10px; }
.lp-nav-links a { color: var(--text-2); text-decoration: none; font-weight: 700; font-size: .95em; }
.lp-nav-links a:hover { color: var(--md); }
.lp-nav-cta { margin-left: auto; display: flex; gap: 8px; }
.lp-btn-sm { width: auto; min-height: 0; padding: 9px 16px; font-size: .92em; }

.lp-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: clamp(32px,6vw,72px) clamp(16px,5vw,40px);
}
.lp-eyebrow { display: inline-block; font-weight: 800; font-size: .8em; letter-spacing: .04em;
  text-transform: uppercase; color: var(--md); background: var(--ml); padding: 6px 12px; border-radius: 999px; }
.lp-hero h1 { font-size: clamp(2rem, 5vw, 3.15rem); line-height: 1.12; margin: 16px 0 14px; letter-spacing: -.01em; }
.lp-hl { color: var(--mp); }
.lp-lead { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: var(--text-2); max-width: 30em; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.lp-cta { width: auto; padding-left: 28px; padding-right: 28px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-2); font-weight: 700; font-size: .9em; }

.lp-hero-art { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.lp-blob { position: absolute; inset: 6% 8%; background: radial-gradient(circle at 35% 30%, var(--ml), transparent 62%),
  radial-gradient(circle at 75% 75%, #FFE0B2, transparent 60%); filter: blur(6px); border-radius: 46% 54% 60% 40%/50% 44% 56% 50%; z-index: 0; }
.lp-hero-card { position: relative; z-index: 2; width: min(320px, 78%); background: var(--card);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(45,52,54,.14); padding: 18px; }
.lp-hc-row { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95em; margin-top: 8px; }
.lp-hc-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.lp-hc-ok { margin-left: auto; color: var(--ok); }
.lp-hc-bar { height: 9px; background: var(--line); border-radius: 999px; margin: 6px 0 4px; overflow: hidden; }
.lp-hc-bar i { display: block; height: 100%; background: #4CAF50; border-radius: 999px; }
.lp-hc-streak { margin-top: 12px; background: var(--ml); color: var(--md); font-weight: 800; font-size: .86em;
  padding: 8px 12px; border-radius: 10px; text-align: center; }
.lp-moodie { position: absolute; width: 74px; height: 74px; z-index: 3; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.lp-m1 { left: 2%; bottom: 6%; width: 84px; height: 84px; }
.lp-m2 { right: 3%; top: 4%; }
.lp-m3 { right: 8%; bottom: 2%; width: 66px; height: 66px; }

.lp-badges { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
  max-width: 1000px; margin: 0 auto; padding: 4px clamp(16px,5vw,40px) 8px; }
.lp-badge { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 1.4em; }
.lp-badge b { font-size: .66em; margin-top: 4px; }
.lp-badge span { font-size: .5em; color: var(--text-2); font-weight: 600; }

.lp-section { max-width: 1040px; margin: 0 auto; padding: clamp(40px,7vw,76px) clamp(16px,5vw,40px); }
.lp-head { text-align: center; max-width: 40em; margin: 0 auto 34px; }
.lp-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.15rem); line-height: 1.18; }
.lp-head p { margin-top: 10px; font-size: 1.05em; }

.lp-feat { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; margin: 26px 0; }
.lp-feat--rev .lp-feat-txt { order: 2; }
.lp-chip { display: inline-block; font-weight: 800; font-size: .82em; color: var(--md);
  background: var(--ml); padding: 5px 12px; border-radius: 999px; }
.lp-feat-txt h3 { font-size: clamp(1.2rem,2.6vw,1.55rem); margin: 12px 0 8px; }
.lp-feat-txt p { color: var(--text-2); font-size: 1.03em; }
.lp-feat-art { background: linear-gradient(160deg, var(--ml), #fff); border: 1px solid var(--line);
  border-radius: 20px; min-height: 200px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; padding: 24px; box-shadow: var(--shadow); }
.lp-mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.lp-mini-bars i { width: 26px; background: var(--mp); border-radius: 8px 8px 4px 4px; align-self: flex-end; }
.lp-mini-bars i:last-child { background: #4CAF50; }
.lp-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 320px; }
.lp-tog { background: #fff; border: 2px solid var(--line); color: var(--text-2); border-radius: 999px;
  padding: 9px 14px; font-weight: 700; font-size: .9em; text-align: center; }
.lp-tog.on { background: var(--mp); border-color: var(--mp); color: #fff; }
.lp-insight { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 340px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: .95em; box-shadow: var(--shadow); }
.lp-insight b { color: var(--md); }
.lp-boxes { display: flex; gap: 10px; }
.lp-boxes span { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--line); border-radius: 12px; font-weight: 800; color: var(--text-2); }
.lp-boxes span.on { background: var(--mp); border-color: var(--mp); color: #fff; transform: translateY(-6px); }
.lp-art-moodies { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.lp-art-moodies img { width: 62px; height: 62px; }

.lp-vakken .lp-vak-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.lp-vak { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 20px; }
.lp-vak-ic { font-size: 1.8em; display: block; margin-bottom: 8px; }
.lp-vak b { display: block; margin-bottom: 3px; }
.lp-vak small { color: var(--text-2); }
.lp-vak--more { background: var(--ml); border-color: transparent; }

.lp-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.lp-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 24px; text-align: center; }
.lp-step-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--mp); color: #fff; font-weight: 800; font-size: 1.2em; margin-bottom: 12px; }
.lp-step b { display: block; font-size: 1.1em; margin-bottom: 6px; }
.lp-step p { color: var(--text-2); font-size: .96em; }

.lp-trust-sec { background: linear-gradient(180deg, #fff, var(--bg)); max-width: none; }
.lp-trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.lp-tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 20px; }
.lp-tcard span { font-size: 1.8em; }
.lp-tcard b { display: block; margin: 8px 0 5px; }
.lp-tcard p { color: var(--text-2); font-size: .93em; }

.lp-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); box-shadow: var(--shadow); }
.lp-faq summary { cursor: pointer; font-weight: 800; padding: 15px 18px; list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: 18px; color: var(--md); font-weight: 800; }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq p { padding: 0 18px 16px; color: var(--text-2); }

.lp-cta-band { text-align: center; background: linear-gradient(135deg, var(--mp), var(--md)); color: #fff;
  padding: clamp(44px,7vw,72px) 20px; }
.lp-cta-band h2 { font-size: clamp(1.5rem,3.5vw,2.2rem); }
.lp-cta-band p { margin: 10px 0 24px; opacity: .95; font-size: 1.08em; }
.lp-cta-band .btn { background: #fff; color: var(--md); }
.lp-cta-band .btn:hover { filter: brightness(.98); }
.lp-cta-sub { margin-top: 14px; font-size: .95em; }
.lp-cta-sub a { color: #fff; font-weight: 800; }

.lp-footer { background: #1b2733; color: #cbd5e1; padding: 30px clamp(16px,5vw,40px) 20px; }
.lp-footer-in { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lp-foot-brand b { color: #fff; }
.lp-foot-brand .muted { color: #93a1b1; }
.lp-foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.lp-foot-links a { color: #cbd5e1; text-decoration: none; font-weight: 700; }
.lp-foot-links a:hover { color: #fff; }
.lp-foot-copy { max-width: 1040px; margin: 16px auto 0; color: #7e8b99; font-size: .85em; }

@media (max-width: 860px) {
  .lp-nav-links { display: none; }
  .lp-hero { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .lp-hero-text { order: 1; }
  .lp-hero-art { order: 2; min-height: 260px; }
  .lp-lead { margin-left: auto; margin-right: auto; }
  .lp-hero-cta, .lp-trust { justify-content: center; }
  .lp-badges { grid-template-columns: repeat(2,1fr); }
  .lp-feat, .lp-vakken .lp-vak-grid, .lp-steps, .lp-trust-grid { grid-template-columns: 1fr; }
  .lp-feat--rev .lp-feat-txt { order: 0; }
  .lp-feat-txt { text-align: center; }
  .lp-feat-txt .lp-chip { margin: 0 auto; }
}
@media (max-width: 460px) {
  .lp-badges { grid-template-columns: 1fr; }
  .lp-nav-cta .lp-btn-sm { padding: 8px 12px; font-size: .86em; }
}
