/* Front Campus — rood, antraciet en petrol. Originele schildgeometrie behouden. */
:root { color-scheme: light;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --mist: #EEF4F5;
  --ice: #E3EEF0;
  --petrol: #171A19;
  --petrol-deep: #171A19;
  --on-petrol: #D9E8EB;
  --coral: #AF1830;
  --coral-text: #8E1427;
  --coral-light: #FFD3D7;
  --blush: #F7EEEF;
  --fg: #1C1A1B;
  --muted: #5B5658;
  --line: #DCE3E5;
  --brand: #AF1830;
  --brand-solid: #AF1830;
  --brand-deep: #3F1118;
  --brand-hover: #8E1427;
  --on-brand: #FFFFFF;
  --signal: #AF1830;
  --exit: #1E6B47;
  --exit-soft: #E4F2EA;
  --warn: #8A5A00;
  --warn-soft: #FCF3DC;
  --good: #1E6B47;
  --good-soft: #E4F2EA;
  --accent: var(--brand);
  --accent-soft: var(--blush);
  --on-accent: var(--on-brand);
  --accent-hover: var(--brand-hover);
  --surface-2: var(--mist);
  --shadow: 0 1px 2px rgba(28, 26, 27, .06), 0 10px 28px -12px rgba(28, 26, 27, .18);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);
  --r-s: 4px; --r-m: 8px; --r-l: 8px;
  --wrap: 1180px;
  --read: 66ch;
}



*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.65; hyphens: manual; -webkit-hyphens: manual; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
img { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; line-height: 1.08; overflow-wrap: break-word; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 0.95rem; font-weight: 600; color: var(--coral-text); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: var(--read); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Knoppen ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: 6px; border: 1.5px solid var(--brand-solid);
  background: var(--brand-solid); color: #fff; font: 600 1rem/1.2 var(--font);
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-signal { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); border-color: var(--muted); color: var(--fg); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.93rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── Kop ── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; font-size: 0.97rem; font-weight: 500; }
.nav a { color: var(--fg); text-decoration: none; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--signal); }
.nav a.btn { color: #fff; box-shadow: none; }
.menu-knop { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.menu-knop .streep, .menu-knop .streep::before, .menu-knop .streep::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s ease; }
.menu-knop .streep::before { position: absolute; top: -6px; } .menu-knop .streep::after { position: absolute; top: 6px; }
.menu-knop[aria-expanded="true"] .streep { background: transparent; }
.menu-knop[aria-expanded="true"] .streep::before { top: 0; transform: rotate(45deg); }
.menu-knop[aria-expanded="true"] .streep::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .menu-knop { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 2px; border-top: 1px solid var(--line); font-size: 1.08rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); padding-left: 12px; }
  .nav a.btn { margin-top: 12px; border-top: 0; }
}

/* ── Voet ── */
.site-footer { background: var(--petrol-deep); color: var(--on-petrol); }
.site-footer .wrap { padding-block: 56px 36px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; font-size: 0.95rem; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.95rem; margin: 0 0 12px; color: #fff; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-petrol); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-merk { font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.footer-onder { border-top: 1px solid rgba(255,255,255,.14); }
.footer-onder .wrap { padding-block: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.85rem; grid-template-columns: none; }
.placeholder { background: var(--warn-soft); color: var(--warn); padding: 0 5px; border-radius: 3px; font-size: 0.92em; }
.site-footer .placeholder { background: rgba(255,255,255,.1); color: var(--coral-light); }

/* ── Secties en vlakken ── */
section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.band-blush, .band-mist, .band-signal, .price-band { background: var(--ice); }
.band-brand { background: var(--petrol); color: #fff; }
.band-brand .lead, .band-brand .muted { color: var(--on-petrol); }
.band-brand .eyebrow { color: var(--coral-light); }

/* ── Hero ── */
.hero { padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.tag { font-size: 0.95rem; font-weight: 600; color: var(--coral-text); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; font-size: 0.95rem; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; background: var(--coral); border-radius: 50%; }

/* Beeldvlakken: tijdelijk in plaats van foto's, allemaal in dezelfde neutrale stijl */
.hero-visual { position: relative; min-width: 0; }
.hero-visual .case-card { position: absolute; left: -24px; bottom: 0; width: min(360px, 80%); }
@media (max-width: 920px) { .hero-visual { padding-bottom: 0; } .hero-visual .case-card { position: relative; left: auto; width: auto; margin: -56px 14px 0; } }

/* Foto's */
.foto { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--ice); max-width: 100%; }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-visual .foto { width: 100%; }
.tile .foto { margin-top: auto; }
.tile .foto img { aspect-ratio: 16 / 9; object-position: 50% 40%; }

/* Casuskaart */
#voorproef { max-width: 560px; width: 100%; justify-self: end; }
@media (max-width: 860px) { #voorproef { justify-self: stretch; max-width: none; } }
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.case-card .label { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.case-card h3 { font-size: 1.1rem; }
.case-card .opt { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 0.92rem; }
.case-card .opt.is-right { border-color: var(--exit); background: var(--exit-soft); }
.case-card .fb { font-size: 0.88rem; color: var(--exit); font-weight: 600; }

.vp-opties { display: grid; gap: 8px; }
.vp-opties button { text-align: left; font: inherit; font-size: 0.92rem; line-height: 1.45; color: var(--fg); background: var(--surface); border: 1px solid #C9C5C7; border-radius: 6px; padding: 10px 12px; cursor: pointer; display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.vp-opties button:hover:not([disabled]) { border-color: var(--brand); }
.vp-opties button[disabled] { cursor: default; }
.vp-opties .letter { font-weight: 700; color: var(--muted); }
.vp-opties button.is-right { border-color: var(--exit); background: var(--exit-soft); }
.vp-opties button.is-wrong { border-color: var(--warn); background: var(--warn-soft); }
#vp-uitleg:empty { display: none; }
#vp-uitleg { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }

/* Wetsartikel-label */
.art { display: inline-flex; align-items: baseline; gap: 6px; font-size: 0.85rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 4px 10px; background: var(--surface); }
.art::before { content: "§"; color: var(--coral-text); font-weight: 700; }

/* Wetsartikelen als rustige strook */

/* ── Herkenning ── */
.quote-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .quote-split { grid-template-columns: 1fr; } }
.pullquote { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; color: var(--petrol); border-left: 4px solid var(--coral); padding-left: 22px; }
.narrow { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }

/* ── Raster met tegels ── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: var(--r-m); padding: clamp(22px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; grid-column: span 2; }
.tile h3 { font-size: 1.15rem; }
.tile p { color: var(--muted); }
.tile .ico { width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; background: var(--ice); color: var(--petrol); }
.tile-wide { grid-column: span 4; }
.tile-brand { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
.tile-brand p { color: #F1DDE0; } .tile-brand .ico { background: rgba(255,255,255,.14); color: #fff; }
.tile-signal { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.tile-signal p { color: var(--on-petrol); }
.tile-signal .btn { background: #fff; border-color: #fff; color: var(--petrol); }
.tile-signal .btn:hover { background: var(--ice); border-color: var(--ice); color: var(--petrol); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile, .tile-wide { grid-column: span 2; } }

/* ── Modules ── */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .modules { grid-template-columns: 1fr; } }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
a.module { text-decoration: none; color: inherit; }
a.module:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.module h3 { font-size: 1.18rem; }
.module p { color: var(--muted); }
.module-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.module-nr { width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; background: var(--ice); color: var(--petrol); font-variant-numeric: tabular-nums; }
.module .meta { font-size: 0.88rem; color: var(--muted); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.pill { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 4px 9px; border-radius: 4px; background: var(--exit-soft); color: var(--exit); }
.pill-accent { background: var(--blush); color: var(--brand); }

/* ── Cijfers ── */
.cijfers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.cijfers div { padding: 22px 18px 0 0; }
.cijfers strong { display: block; font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: var(--coral-light); font-variant-numeric: tabular-nums; }
.cijfers span { font-size: 0.95rem; color: var(--on-petrol); }
@media (max-width: 760px) { .cijfers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cijfers div { padding-bottom: 8px; } }

/* ── Opbouw (een echte volgorde) ── */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); overflow: hidden; }
.steps li { counter-increment: step; padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; background: var(--petrol); color: #fff; }
.steps strong { font-size: 1.05rem; }
.steps span { font-size: 0.93rem; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; border-bottom: 1px solid var(--line); } .steps li:last-child { border-bottom: 0; } }

/* ── Split ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Startplan-voorbeeld */
.doc-sheet { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-top: 4px solid var(--petrol); border-radius: var(--r-m); padding: 26px 28px; font-size: 0.95rem; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); max-width: 520px; }
.doc-sheet h4 { font-size: 1.15rem; }
.doc-sheet dl { margin: 0; display: grid; gap: 12px; }
.doc-sheet dt { font-weight: 600; }
.doc-sheet dd { margin: 0; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; }

/* ── Prijs ── */
.price-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--r-m); padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 36px; align-items: center; box-shadow: var(--shadow); }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } }
.price { font-weight: 700; font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--fg); }
.price small { display: block; font-weight: 400; font-size: 0.98rem; letter-spacing: 0; color: var(--muted); margin-top: 10px; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price-card li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.price-card li::before { content: ""; width: 12px; height: 7px; margin-top: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* ── Oproep ── */
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ── Paginakop voor binnenpagina's ── */
/* Paginakop: zelfde opbouw als de hero op de voorpagina */
.page-head { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-head .wrap > .stack:only-child { grid-column: 1 / -1; max-width: 820px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head-kort { padding-block: clamp(32px, 5vw, 56px); background: var(--mist); }
@media (max-width: 920px) {
  .page-head { padding-top: 0; }
  .page-head-kort { padding-top: 32px; }
  .page-head .wrap { grid-template-columns: 1fr; gap: 28px; }
  .page-head .foto { order: -1; margin-inline: -20px; width: calc(100% + 40px); max-width: none; border-radius: 0; }
  .page-head .foto img { aspect-ratio: 16 / 9; object-position: center 40%; }
}

/* ── Veelgestelde vragen ── */
.faq { max-width: 860px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; padding: 20px 48px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: var(--read); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-layout aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout aside { position: static; } }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-tile { border-radius: var(--r-m); padding: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.contact-tile > span { font-size: 0.88rem; color: var(--muted); }

/* ── Formulieren ── */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.96rem; }
.field .hint { font-size: 0.88rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], input[type="password"], textarea, select {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--surface); border: 1px solid #C9C5C7; border-radius: 6px; padding: 11px 13px; min-height: 48px; width: 100%;
}
textarea { min-height: 104px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); border-color: var(--brand); }
input[disabled] { opacity: .7; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 0.97rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-solid); }
.notice { border-radius: 6px; padding: 14px 16px; background: var(--warn-soft); color: var(--fg); border: 1px solid var(--line); }
.notice-good { background: var(--good-soft); }

/* ── Bestellen ── */
.order { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.order aside.panel { position: sticky; top: 96px; border-top: 4px solid var(--brand); }
@media (max-width: 900px) { .order aside.panel { position: static; } }
.sum { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sum td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum td:last-child { text-align: right; }
.sum tr.total td { font-weight: 700; font-size: 1.3rem; border-bottom: 0; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 48px; height: 48px; border-radius: 6px; border: 1px solid #C9C5C7; background: var(--surface); color: var(--fg); font-size: 1.3rem; cursor: pointer; }
.qty button:hover { border-color: var(--brand); color: var(--brand); }
.qty input { width: 96px; text-align: center; font-weight: 600; }

/* ── Juridisch ── */
.legal { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.legal h2 { font-size: 1.35rem; margin-top: 22px; }
.legal ol, .legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

/* ── Tabellen ── */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.table-box table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
.table-box th, .table-box td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-box th { background: var(--ice); font-weight: 600; }
.table-box tr:last-child td { border-bottom: 0; }

/* ───────── Leeromgeving ───────── */
.app { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: calc(100vh - 72px); }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; } }
.side { background: var(--ice); border-right: 1px solid var(--line); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px max(16px, env(safe-area-inset-left, 0px)); } }
.side-title { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 4px 8px 10px; }
.side a { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 6px; text-decoration: none; color: var(--fg); font-size: 0.95rem; line-height: 1.3; }
.side a:hover { background: var(--surface); color: var(--fg); }
.side a[aria-current="page"] { background: var(--surface); box-shadow: inset 3px 0 0 var(--brand); }
.side .num { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; border: 1px solid #C9C5C7; background: var(--surface); font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.side a[aria-current="page"] .num { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
.side .done .num { background: var(--exit); border-color: var(--exit); color: #fff; }
.side .lock { color: var(--muted); font-size: 0.75rem; }
.side-links { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.side .side-links a { display: inline-flex; grid-template-columns: none; padding: 7px 10px; font-weight: 600; font-size: 0.88rem; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .side #module-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px; } }
.content { padding: 40px max(20px, env(safe-area-inset-right, 0px)) 96px max(20px, env(safe-area-inset-left, 0px)); min-width: 0; }
.content-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.stepbar { display: flex; flex-wrap: wrap; gap: 6px; }
.stepbar button { font: 500 0.86rem/1 var(--font); padding: 9px 12px; min-height: 38px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.stepbar button:hover { border-color: var(--brand); color: var(--brand); }
.stepbar button[aria-current="step"] { background: var(--brand-solid); border-color: var(--brand-solid); color: #fff; }
.stepbar button.is-done { border-color: var(--exit); color: var(--exit); }
.lesson { display: flex; flex-direction: column; gap: 16px; max-width: var(--read); }
.lesson ul, .lesson ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.note { background: var(--mist); border-left: 3px solid var(--brand); border-radius: 0 6px 6px 0; padding: 14px 16px; }
.goals { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: clamp(20px, 3vw, 26px); display: flex; flex-direction: column; gap: 14px; }
.choice { display: grid; gap: 8px; }
.choice button { text-align: left; font: inherit; font-size: 1rem; color: var(--fg); background: var(--surface); border: 1px solid #C9C5C7; border-radius: 6px; padding: 12px 14px; cursor: pointer; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.choice button:hover:not([disabled]) { border-color: var(--brand); }
.choice button[disabled] { cursor: default; }
.choice .letter { font-weight: 700; color: var(--muted); }
.choice button.is-right { border-color: var(--exit); background: var(--exit-soft); }
.choice button.is-wrong { border-color: var(--warn); background: var(--warn-soft); }
.feedback { border-radius: 6px; padding: 12px 14px; font-size: 0.97rem; }
.feedback.good { background: var(--good-soft); }
.feedback.bad { background: var(--warn-soft); }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.progress { height: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-inline: 8px; }
.progress span { display: block; height: 100%; background: var(--brand-solid); }
.overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cert { background: var(--surface); border-radius: 4px; padding: clamp(28px, 6vw, 60px); text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; position: relative; box-shadow: var(--shadow); border-top: 8px solid var(--brand-solid); }
.cert::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); pointer-events: none; }
.cert .who { font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.6rem); letter-spacing: -0.02em; }
.cert dl { display: grid; grid-template-columns: auto auto; gap: 4px 16px; margin: 8px 0 0; text-align: left; font-size: 0.95rem; }
.cert dt { color: var(--muted); }
.cert dd { margin: 0; }
.plan-out { white-space: pre-wrap; font-size: 0.95rem; }

@media print {
  .site-header, .side, .no-print, .stepbar, .pager, .site-footer { display: none !important; }
  .app { display: block; } .content { padding: 0; } body { background: #fff; } body::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Bronregel onder de cijfers */
.band-brand .bron { color: var(--on-petrol); max-width: 70ch; margin: 0; font-size: 0.95rem; }

/* Op telefoon en tablet staat de foto boven de tekst, in een lage uitsnede */
@media (max-width: 920px) {
  .hero { padding-top: 0; }
  .hero .wrap { gap: 28px; }
  .hero-visual { order: -1; margin-inline: -20px; }
  .hero-visual .foto { border-radius: 0; aspect-ratio: 16 / 9; margin: 0; }
  .hero-visual .foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
}

/* Contactpagina */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.veld-verborgen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Sfeerlaag: warme basis, schreefletter voor koppen, foto's als drager ===== */
:root { --bg: #FFFFFF; --zand: #F3FAFD; --serif: "Archivo", system-ui, sans-serif; }


.site-header { background: var(--bg); }
.band-mist, .band-blush { background: var(--zand); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { line-height: 1.06; }
.pullquote { font-family: var(--serif); font-weight: 600; }
.price { font-family: var(--serif); }
.cijfers strong { font-family: var(--serif); }

/* Openingsfoto. Computer: petrolvlak met de staande foto rechts. Telefoon: foto bovenaan, tekst eronder op petrol. */
.hero, .page-head:has(.foto) { position: relative; overflow: hidden; color: #fff; border-bottom: 0; background: var(--petrol-deep); min-height: 0; display: block; padding-block: clamp(48px, 6vw, 88px); }
.hero .wrap, .page-head:has(.foto) .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy, .page-head:has(.foto) .stack { max-width: 660px; position: relative; z-index: 1; }
.hero-visual { position: relative; }
.hero-visual .foto, .page-head .foto { position: relative; margin: 0 0 0 auto; width: 100%; max-width: 380px; border-radius: var(--r-m); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0,0,0,.65); }
.hero-visual .foto img, .page-head .foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.hero h1, .page-head:has(.foto) h1 { color: #fff; }
.hero .lead, .page-head:has(.foto) .lead, .hero .facts, .page-head:has(.foto) .facts { color: #E4EEF0; }
.hero .tag, .page-head:has(.foto) .eyebrow { color: var(--coral-light); }
.hero .btn-ghost, .page-head:has(.foto) .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.hero .btn-ghost:hover, .page-head:has(.foto) .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero .placeholder, .page-head:has(.foto) .placeholder { color: var(--fg); }
@media (max-width: 920px) {
  .hero, .page-head:has(.foto) { padding-block: 0 44px; }
  .hero .wrap, .page-head:has(.foto) .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; margin: 0 -20px; }
  .hero-visual .foto, .page-head .foto { order: -1; margin: 0 -20px; width: calc(100% + 40px); max-width: none; border-radius: 0; box-shadow: none; }
  .hero-visual .foto { margin: 0; width: 100%; aspect-ratio: auto; }
  .hero-visual .foto img { aspect-ratio: 1 / 1; }
  .page-head .foto img { aspect-ratio: 4 / 3; }
  .hero-visual .foto::after, .page-head .foto::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(0deg, var(--petrol-deep) 0%, rgba(10,54,64,0) 100%); }
  .hero-copy, .page-head:has(.foto) .stack { margin-top: -56px; }
}
@media (max-width: 380px) { .hero-visual { margin: 0 -14px; } }

/* Fotostrook tussen tekstblokken */
.fotostrook { margin: 0; height: clamp(220px, 34vw, 440px); overflow: hidden; }
.fotostrook img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.hero .tag, .page-head:has(.foto) .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.price small { font-family: var(--font); }
.faq-wrap { max-width: 860px; }
.price-band, .band-signal { background: var(--zand); }
.price small { line-height: 1.45; }
.tile-ijs { background: var(--ice); border-color: var(--ice); } .tile-ijs .ico { background: var(--surface); }
.tile-blush { background: var(--blush); border-color: var(--blush); } .tile-blush .ico { background: var(--surface); color: var(--brand); }
.tile-diep { background: var(--petrol-deep); border-color: var(--petrol-deep); color: #fff; } .tile-diep p { color: var(--on-petrol); } .tile-diep .ico { background: rgba(255,255,255,.12); color: #fff; }
/* Bestelknop naast het hamburgermenu, alleen op smalle schermen */
.kop-bestel { display: none; }
@media (max-width: 900px) { .kop-bestel { display: inline-flex; margin-left: auto; } .nav a.btn[href="bestellen.html"] { display: none; } }
@media (max-width: 380px) {
  .site-header .wrap { gap: 8px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .kop-bestel { padding: 8px 12px; font-size: 0.92rem; }
  .menu-knop { width: 42px; height: 42px; }
}
@media (max-width: 380px) { .site-header .wrap { padding-left: 14px; padding-right: 14px; } .kop-bestel { padding: 8px 10px; } }

/* Rij van drie staande foto's */
.fotorij-sectie { padding-block: clamp(28px, 4vw, 48px) 0; }
.fotorij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 16px); }
.fotorij .foto img { aspect-ratio: 3 / 4; object-position: center 30%; }
/* Brede tegel met tekst en staande foto */
.tile-foto { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.tile-foto .foto { margin: 0; }
.tile-foto .foto img { aspect-ratio: 4 / 5; height: 100%; object-position: center 30%; }
@media (max-width: 560px) { .tile-foto { grid-template-columns: 1fr; } .tile-foto .foto img { aspect-ratio: 4 / 3; height: auto; } }
@media (min-width: 600px) and (max-width: 920px) { .hero-visual .foto img { aspect-ratio: 4 / 3; } }

/* Officieel logo: schild met P-pijl, woordmerk Preventie (petrol) + Pro (bordeaux) */
:root { --logo-petrol: #171A19; --logo-bordeaux: #AF1830; }
.brand { gap: 10px; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.015em; }
.wm-a { color: var(--logo-petrol); } .wm-b { color: var(--logo-bordeaux); }

 
.footer-merk { display: flex; align-items: center; gap: 12px; }
.footer-merk .logo-front-campus { width: 40px; height: 48px; }
.footer-merk .woordmerk { display: flex; flex-wrap: wrap; line-height: 1.1; }
.site-footer .wm-a { color: #fff; } .site-footer .wm-b { color: var(--coral-light); }
.payoff { flex-basis: 100%; font-size: 0.9rem; font-weight: 500; color: var(--on-petrol); margin-top: 4px; letter-spacing: 0; }
.cert-logo { width: 48px; height: 58px; }
.cert-merk { font-weight: 700; font-size: 1.15rem; margin-top: -6px; }
@media (max-width: 380px) { .brand svg { width: 26px; height: 31px; } }
@media (max-width: 380px) { .brand { font-size: 1.02rem; gap: 7px; } }
/* Telefoon: openingsfoto iets uitgezoomd als kaart, zodat hij minder vergroot wordt */
@media (max-width: 920px) {
  .hero { padding-top: 28px; }
  .hero-visual { margin: 0 0 28px; }
  .hero-visual .foto { width: min(78%, 340px); margin: 0; border-radius: var(--r-m); box-shadow: 0 20px 50px -24px rgba(0,0,0,.7); }
  .hero-visual .foto img { aspect-ratio: 4 / 5; }
  .hero-visual .foto::after { display: none; }
  .hero-copy { margin-top: 0; }
}
@media (max-width: 380px) { .hero-visual { margin: 0 0 24px; } }

/* Liggende foto's in hoge resolutie (4:3) */
@media (min-width: 921px) { .hero .wrap, .page-head:has(.foto) .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero-visual .foto, .page-head .foto { max-width: 580px; }
.hero-visual .foto img, .page-head .foto img { aspect-ratio: 4 / 3; object-position: center 35%; }
.fotorij .foto img { aspect-ratio: 4 / 3; }
.tile-foto { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.tile-foto .foto img { aspect-ratio: 4 / 3; height: auto; }
.fotostrook img { object-position: center 40%; }
@media (max-width: 920px) {
  .hero { padding-top: 0; }
  .hero-visual { margin: 0 -20px 0; }
  .hero-visual .foto { width: 100%; margin: 0; border-radius: 0; box-shadow: none; }
  .hero-visual .foto img, .page-head .foto img { aspect-ratio: 4 / 3; }
  .hero-visual .foto::after { display: block; }
  .hero-copy { margin-top: -40px; }
}
@media (max-width: 380px) { .hero-visual { margin: 0 -14px 0; } }
@media (max-width: 760px) { .fotorij { grid-template-columns: 1fr 1fr; } .fotorij .foto:last-child { grid-column: 1 / -1; } }

/* Voortgangsregel in een module (vervangt de losse stapknoppen) */
.voortgang { margin: 4px 0 28px; scroll-margin-top: 90px; }
.vg-rij { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.vg-tekst { margin: 0; font-size: 0.95rem; color: var(--muted); }
.vg-tekst strong { color: var(--fg); font-weight: 600; }
.vg-inhoud { position: relative; }
.vg-inhoud summary { list-style: none; cursor: pointer; font: 500 0.9rem/1 var(--font); padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--fg); display: inline-flex; align-items: center; gap: 6px; }
.vg-inhoud summary::-webkit-details-marker { display: none; }
.vg-inhoud summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.vg-inhoud[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.vg-inhoud ol { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; width: min(320px, 86vw); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.vg-inhoud li button { display: flex; gap: 8px; align-items: baseline; width: 100%; text-align: left; font: 400 0.92rem/1.35 var(--font); padding: 9px 10px; border: 0; border-radius: 6px; background: none; color: var(--fg); cursor: pointer; }
.vg-inhoud li button:hover { background: var(--mist); }
.vg-inhoud li button[aria-current="step"] { background: var(--ice); font-weight: 600; }
.vg-teken { flex: none; width: 1em; color: var(--petrol); font-weight: 700; }
.vg-balk { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: 12px; }
.vg-balk span { height: 6px; border-radius: 3px; background: var(--line); }
.vg-balk span.klaar { background: var(--petrol); }
.vg-balk span.nu { background: var(--brand-solid); }
@media print { .voortgang { display: none !important; } }

/* ===== Leeromgeving: meer beeld en structuur ===== */
.module-kop { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.module-kop img { width: 72px; height: 72px; flex: none; border-radius: 10px; object-fit: cover; object-position: center 30%; }
.module-kop h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; }
.module-kop .eyebrow { margin: 0 0 4px; }
.module-beeld { margin: 0 0 24px; border-radius: var(--r-m); overflow: hidden; max-width: var(--read); }
.module-beeld img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; display: block; }
.module-cijfers { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.module-cijfers li { background: var(--ice); border-radius: 8px; padding: 12px; font-size: 0.85rem; color: var(--muted); line-height: 1.3; }
.module-cijfers strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--petrol); line-height: 1.1; }
@media (max-width: 520px) { .module-cijfers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doelen { list-style: none; counter-reset: doel; margin: 0; padding: 0; display: grid; gap: 10px; }
.doelen li { counter-increment: doel; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.doelen li::before { content: counter(doel); width: 30px; height: 30px; border-radius: 50%; background: var(--brand-solid); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }
.les-kop { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.les-kop h2 { font-size: clamp(1.5rem, 3.6vw, 1.9rem); margin: 0; }
.les-nr { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--coral-text); letter-spacing: .02em; }
.les-meta { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.88rem; color: var(--muted); align-items: center; }
.les-bron { display: inline-flex; align-items: center; gap: 6px; background: var(--ice); color: var(--petrol); border-radius: 999px; padding: 4px 12px; font-weight: 600; }
.les-bron::before { content: "§"; font-weight: 700; }
.les-intro { font-size: 1.12rem; line-height: 1.6; color: var(--fg); }
.les-beeld { margin: 4px 0; border-radius: var(--r-m); overflow: hidden; }
.les-beeld img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; display: block; }
.kader { border-radius: 10px; padding: 14px 16px 16px; display: grid; gap: 6px; }
.kader p { margin: 0; }
.kader-label { font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.kader-tip { background: var(--ice); } .kader-tip .kader-label { color: var(--petrol); }
.kader-letop { background: var(--blush); } .kader-letop .kader-label { color: var(--brand); }
.kader-praktijk { background: var(--zand); } .kader-praktijk .kader-label { color: var(--coral-text); }
.module-kaart { padding-top: 0; overflow: hidden; }
.module-kaart > img { width: calc(100% + 2 * clamp(20px, 3vw, 26px)); max-width: none; margin: 0 calc(-1 * clamp(20px, 3vw, 26px)) 4px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; display: block; }
/* Tabellen in lessen: op de telefoon als kaartjes onder elkaar */
@media (max-width: 640px) {
  .les-tabel { border: 0; background: none; overflow: visible; }
  .les-tabel table { min-width: 0; }
  .les-tabel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .les-tabel tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; }
  .les-tabel td { display: block; padding: 6px 0; border: 0; }
  .les-tabel td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .les-tabel td:first-child { font-weight: 600; font-size: 1.02rem; }
  .les-tabel td:first-child::before { display: none; }
}
.module-beeld img, .les-beeld img, .module-kaart > img { height: auto; }
.content-inner > .module-beeld { flex: none; }
.lesson .doelen { padding-left: 0; }

/* Gekozen antwoord vóór indienen, en het indienblok */
.choice button.is-chosen { border-color: var(--petrol); background: var(--ice); box-shadow: inset 0 0 0 1px var(--petrol); }
.choice button.is-chosen .letter { color: var(--petrol); }
.indien-blok { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.indien-blok p { margin: 0; }
.indien-blok .notice { margin: 0; }
.uitslag-kop { margin: 0; padding: 14px 16px; border-radius: var(--r-m); background: var(--ice); color: var(--fg); }
.uitslag-kop strong { color: var(--petrol); font-size: 1.1rem; }
.card .indien-blok { border: 0; padding: 8px 0 0; background: none; }

/* Zijbalk leeromgeving: op telefoon ingeklapt achter een knop */
.side-toggle { display: none; }
@media (max-width: 900px) {
  .side-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 6px; font: 600 0.92rem/1 var(--font); padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--fg); cursor: pointer; }
  .side-toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
  .side.open .side-toggle::after { transform: rotate(-135deg) translateY(-1px); }
  #side-inhoud { display: none; margin-top: 10px; }
  .side.open #side-inhoud { display: block; }
}
/* Brede fototegel: alleen naast elkaar als er ruimte is */
@media (max-width: 560px) { .tile-foto { grid-template-columns: 1fr !important; } }

/* ===== Leeromgeving in app-stijl ===== */
.ico { width: 18px; height: 18px; flex: none; }
.les-app { gap: 0; }
.les-hero { background: var(--petrol-deep); color: #fff; border-radius: 14px 14px 0 0; padding: clamp(18px, 3vw, 26px); display: grid; gap: 10px; }
.les-hero h2 { color: #fff; margin: 0; font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1.15; }
.les-hero .les-nr { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--coral-light); font-size: 0.85rem; font-weight: 600; }
.les-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; }
.les-chips .chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: var(--on-petrol); border-radius: 999px; padding: 5px 12px; font-size: 0.82rem; font-weight: 500; }
.les-chips .ico { width: 15px; height: 15px; }
.les-body { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; padding: clamp(18px, 3vw, 26px); display: flex; flex-direction: column; gap: 18px; }
.les-body > p { margin: 0; }
.les-body .les-intro { font-size: 1.12rem; font-weight: 500; }
.les-body .les-beeld { margin: 0 calc(-1 * clamp(18px, 3vw, 26px)); border-radius: 0; }
.punten { display: grid; gap: 10px; }
.punt { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; background: var(--mist); border-radius: 10px; padding: 14px; }
.punt p { margin: 0; }
.punt-kop { font-weight: 700; margin-bottom: 2px !important; }
.punt-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--petrol); color: #fff; display: grid; place-items: center; }
.punt-ico .ico { width: 16px; height: 16px; }
.lesson .vinklijst, .lesson .stappenlijst { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vinklijst li { display: flex; gap: 10px; align-items: flex-start; }
.vinklijst .ico { color: var(--petrol); margin-top: 3px; }
.stappenlijst li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.stap-nr { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-solid); color: #fff; font-weight: 700; font-size: 0.88rem; display: grid; place-items: center; }
.voorbeeld { border: 1px solid var(--line); border-radius: 10px; background: var(--zand); }
.voorbeeld summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; color: var(--fg); }
.voorbeeld summary::-webkit-details-marker { display: none; }
.voorbeeld summary .ico { color: var(--coral-text); }
.voorbeeld summary::after { content: "Openen"; margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--coral-text); }
.voorbeeld[open] summary::after { content: "Sluiten"; }
.voorbeeld p { margin: 0; padding: 0 16px 16px; }
.kader-label { display: flex; align-items: center; gap: 8px; }
.kader-label .ico { width: 16px; height: 16px; }
.vraag-kaart { gap: 12px; }
.vraag-pil { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 0; background: var(--ice); color: var(--petrol); border-radius: 999px; padding: 5px 12px; font-size: 0.82rem; font-weight: 600; }
.vraag-pil .ico { width: 15px; height: 15px; }
.vraag-kaart h3 { margin: 0; }
.situatie { margin: 0; background: var(--zand); border-radius: 10px; padding: 14px 16px; }
.vraag-zin { margin: 0; font-family: var(--font); font-weight: 700; font-size: 1.05rem; }
.btn-volgende { flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; line-height: 1.2; max-width: 100%; }
.btn-volgende .small { font-size: 0.75rem; font-weight: 500; opacity: .85; }
.vg-inhoud li button { align-items: center; }
.vg-ico { flex: none; color: var(--petrol); display: inline-flex; }
.vg-ico .ico { width: 16px; height: 16px; }
.vg-naam { flex: 1; }
.vg-klaar { flex: none; color: var(--exit); display: inline-flex; }
.vg-klaar .ico { width: 16px; height: 16px; }
.pager { flex-wrap: nowrap; align-items: stretch; }
.pager .btn-volgende, .pager #afronden { flex: 0 1 auto; min-width: 0; margin-left: auto; }
.pager .btn-volgende span:last-child { white-space: normal; }

#bestellen-start { scroll-margin-top: 96px; }

/* Startplan-overzicht */
.plan-lijst { display: grid; gap: 14px; }
.plan-kaart { gap: 12px; position: relative; overflow: hidden; }
.plan-kop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-kop h2 { font-size: 1.2rem; margin: 0; flex: 1; min-width: 12ch; }
.plan-regel { border-top: 1px solid var(--line); padding-top: 10px; }
.plan-regel p { margin: 0; }
.plan-label { font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.plan-antw { white-space: pre-wrap; }
.plan-antw.leeg { color: var(--muted); font-style: italic; }
.plan-vaag { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; display: grid; gap: 10px; }
.plan-slot { position: absolute; inset: 64px 16px 16px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.plan-slot p { margin: 0; background: var(--surface); padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); font-weight: 600; }
.mini-balk { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.mini-balk span { display: block; height: 100%; background: var(--petrol); }
/* Eindtoets: antwoorden als tikbare kaarten */
.toets-vraag legend { margin-bottom: 4px; }
.toets-vraag .check { border: 1px solid #C9C5C7; border-radius: 6px; padding: 12px 14px; cursor: pointer; }
.toets-vraag .check:has(input:checked) { border-color: var(--petrol); background: var(--ice); box-shadow: inset 0 0 0 1px var(--petrol); }

/* Eén vraag per scherm: nummers om te springen en bladerknoppen */
.vraag-nav { display: flex; flex-wrap: wrap; gap: 6px; scroll-margin-top: 96px; }
.vraag-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 600 0.9rem/1 var(--font); cursor: pointer; }
.vraag-nav button.ok { background: var(--ice); border-color: var(--ice); color: var(--petrol); }
.vraag-nav button[aria-current="step"] { border: 2px solid var(--brand-solid); color: var(--brand-solid); background: var(--surface); }
.vraag-nav button.ok[aria-current="step"] { background: var(--ice); }
.blader { display: flex; justify-content: space-between; gap: 12px; }

.controle-ok { margin-top: 16px; background: var(--good-soft); border-radius: 10px; padding: 16px; display: grid; gap: 6px; }
.controle-ok p { margin: 0; }
.controle-ok .kader-label { color: var(--good); }
#controle-uitslag .notice { margin-top: 16px; }
#cert-nummer { white-space: nowrap; font-variant-numeric: tabular-nums; }
.toets-vraag { scroll-margin-top: 96px; }
.kader-advies { background: var(--zand); } .kader-advies .kader-label { color: var(--coral-text); }

/* ── Bestelpagina met aanvulling (Veilig werken) ── */
.product-regel { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line, #E3DCD2); border-radius: 14px; background: #fff; }
.product-naam { font-weight: 700; margin: 0 0 4px; font-size: 1.05rem; }
.product-info p { margin: 0; }
.aanvulling { display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: #F3FAFD; border: 1px solid #E3D6C2; }
.aanvulling p { margin: 0; }
.aanvulling-label { justify-self: start; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--petrol); background: #fff; border-radius: 999px; padding: 4px 10px; }
.aanvulling-check { font-size: 1.05rem; }
.sum .sub td { font-size: .92rem; }
@media (min-width: 720px) { .product-regel { grid-template-columns: minmax(0,1fr) auto; align-items: start; } }
.voortgang-mini { height: 6px; border-radius: 99px; background: #E9E2D7; overflow: hidden; margin: 8px 0 4px; }
.voortgang-mini span { display: block; height: 100%; background: var(--petrol); border-radius: 99px; }
.deelnemers-cursus + .deelnemers-cursus { border-top: 1px solid #E9E2D7; margin-top: 18px; }

/* ── Bestelpagina: eigen kassa-uitstraling, duidelijk anders dan de voorpagina ── */
.kassa-kop { background: var(--petrol); color: #fff; padding: 22px 0 18px; }
.kassa-kop .wrap { display: grid; gap: 14px; }
.kassa-titel { display: flex; align-items: center; gap: 10px; }
.kassa-titel .ico { width: 26px; height: 26px; flex: none; }
.kassa-kop h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0; }
.kassa-stappen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: #BFD6DA; }
.kassa-stappen li { display: flex; align-items: center; gap: 7px; }
.kassa-stappen span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .75rem; font-weight: 700; }
.kassa-stappen li[aria-current] { color: #fff; font-weight: 600; }
.kassa-stappen li[aria-current] span { background: #fff; color: var(--petrol); border-color: #fff; }
.kassa { background: #F6F3EE; padding-top: 28px; }
.kassa .panel { background: #fff; }
@media (min-width: 880px) { .kassa .order { align-items: start; } .kassa .order > aside { position: sticky; top: 90px; } }

/* ── Cookiemelding (alleen als Google Ads is ingesteld) ── */
.cookie-melding { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin: 0 auto; background: #fff; color: #1F1B1C; border: 1px solid #E3DCD2; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 16px 18px; display: grid; gap: 12px; }
.cookie-melding p { margin: 0; font-size: .95rem; }
.cookie-melding .btn-row { gap: 10px; }
.cookie-melding .btn { flex: 1 1 0; justify-content: center; }
.cookie-melding [data-keuze="nee"] { background: #fff; color: var(--petrol); border: 2px solid var(--petrol); }

/* ── Landingspagina (Google Ads): geen menu, alleen merk en bestelknop ── */
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-header .brand { pointer-events: none; }
.lp-prijs { margin: 0; font-size: 1.05rem; }
.lp-prijs strong { font-size: 1.35rem; color: #AF1830; }
.lp-lijst { display: grid; gap: 14px; }
.lp-footer .footer-onder .wrap { flex-wrap: wrap; gap: 8px 18px; }
[hidden] { display: none !important; }
.lp-hero .lp-prijs, .lp-hero .lp-prijs strong { color: inherit; }
.lp-hero .lp-prijs .muted { color: inherit; opacity: .8; }
.lp-lijst { list-style: none; padding: 0; margin: 0; }
.lp-lijst li { position: relative; padding-left: 30px; }
.lp-lijst li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 16px; height: 9px; border-left: 2.5px solid var(--petrol); border-bottom: 2.5px solid var(--petrol); transform: rotate(-45deg); }
.les-tabel td:empty { display: none; }
.deelnemers .table-box { margin-top: 10px; }
.deelnemers .les-tabel tr:last-child { margin-bottom: 0; }
.deelnemers-cursus { display: grid; gap: 6px; }
.deelnemers-cursus .module-top h3 { line-height: 1.25; }
.bestelling .deelnemers { margin-top: 4px; }
.deelnemers-cursus + .deelnemers-cursus { padding-top: 14px; }
@media (min-width: 901px) and (max-width: 1180px) {
  .site-header .nav { gap: 16px; }
  .site-header .nav a:not(.btn) { font-size: .9rem; }
  .site-header .woordmerk { font-size: 1.15rem; }
}

/* ── Bestelpagina v2: één bestelkaart, volgens het voorbeeld ── */
.kassa { background: #F6F3EE; padding: 28px 0 56px; }
.kassa-wrap { max-width: 640px; display: grid; gap: 16px; }
.kassa-form { display: grid; gap: 16px; }
.bestelkaart { background: #fff; border: 1px solid #E6DFD4; border-radius: 18px; padding: 22px 20px; display: grid; gap: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bestelkaart h2 { font-size: 1.3rem; margin: 0; }
.bk-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-kop h1 { font-size: clamp(1.6rem, 5vw, 2rem); margin: 0; }
.bk-icoon { width: 28px; height: 28px; color: var(--petrol); flex: none; }
.bk-weergave { display: inline-flex; align-items: center; gap: 4px; justify-self: start; background: #F3FAFD; border-radius: 999px; padding: 4px; }
.bk-weergave .small { padding: 0 8px 0 10px; }
.bk-weergave button { border: 0; background: transparent; font: inherit; font-size: .88rem; font-weight: 600; color: #4A4446; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.bk-weergave button[aria-pressed="true"] { background: #fff; color: var(--petrol); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.bk-regel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 16px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid #E0E5E7; }
.bk-naam { font-weight: 700; font-size: 1.12rem; margin: 0 0 2px; line-height: 1.3; }
.bk-sub { margin: 0; color: #6B6466; font-size: .95rem; }
.bk-prijs { margin: 0; font-weight: 700; font-size: 1.12rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bk-aantal { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-aantal label { font-weight: 600; font-size: .95rem; }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #CFC6B8; background: #fff; font-size: 1.25rem; line-height: 1; color: #1F1B1C; cursor: pointer; }
.stepper button:hover { border-color: var(--petrol); color: var(--petrol); }
.stepper input { width: 56px; text-align: center; border: 0; background: transparent; font: inherit; font-size: 1.15rem; font-weight: 700; -moz-appearance: textfield; padding: 0; min-height: 0; box-shadow: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-extra { background: #F3FAFD; border-radius: 14px; padding: 18px; display: grid; gap: 12px; }
.bk-extra p { margin: 0; }
.bk-label { justify-self: start; font-size: .82rem; font-weight: 700; color: var(--petrol); background: #fff; border-radius: 999px; padding: 4px 12px; }
.bk-vink { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; align-items: start; font-weight: 700; font-size: 1.12rem; line-height: 1.35; cursor: pointer; }
.bk-vink input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-vinkje { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--petrol); background: #fff; display: grid; place-items: center; }
.bk-vink input:checked + .bk-vinkje { background: var(--petrol); }
.bk-vink input:checked + .bk-vinkje::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.bk-vink input:focus-visible + .bk-vinkje { outline: 3px solid rgba(2,69,81,.35); outline-offset: 2px; }
.bk-uitleg { color: #4A4446; font-size: .95rem; }
.bk-regel-extra { border-bottom: 0; padding-bottom: 0; align-items: end; grid-template-columns: minmax(0,1fr) auto; }
.bk-regel-extra .bk-aantal { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 6px; }
.bk-totaal { margin: 0; display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.bk-totaal div { display: flex; justify-content: space-between; color: #6B6466; }
.bk-totaal dt, .bk-totaal dd { margin: 0; }
.bk-totaal .bk-eind { color: #1F1B1C; font-weight: 700; font-size: 1.25rem; border-top: 1px solid #E0E5E7; padding-top: 12px; margin-top: 4px; }
.bk-betaal { width: 100%; justify-content: center; min-height: 52px; font-size: 1.05rem; }
.bk-mollie { margin: -8px 0 0; text-align: center; }
@media (min-width: 720px) { .bestelkaart { padding: 28px 30px; } }

/* ── Bestelkaart v3: in de stijl van de prijskaart ── */
.bk-prijskaart { border-top: 6px solid #AF1830; gap: 0; padding-top: 26px; }
.bk-blok { display: grid; gap: 14px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid #E0E5E7; }
.bk-titel { margin: 0; font-weight: 700; font-size: 1.1rem; }
.bk-prijskaart .price { margin: 0; }
.bk-aantal { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-extra { background: none; border-radius: 0; padding: 0 0 22px; }
.bk-vink { font-size: 1.1rem; }
.bk-punten { list-style: none; margin: 0; padding: 0 0 0 42px; display: grid; gap: 6px; }
.bk-punten li { position: relative; padding-left: 26px; }
.bk-punten li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 6px; border-left: 2.5px solid #AF1830; border-bottom: 2.5px solid #AF1830; transform: rotate(-45deg); }
.bk-los { margin: 0; padding-left: 42px; }
.bk-extra #vw-regel { padding-left: 42px; }
.bk-totaal { display: grid; gap: 4px; }
.bk-totaal p { margin: 0; }
.bk-eind { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.kassa-wrap { max-width: 560px; }
.bk-totaal .bk-eind { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 480px) {
  .bk-punten, .bk-los, .bk-extra #vw-regel { padding-left: 0; }
  .bk-aantal label { font-size: .92rem; }
}
.bk-aantal label { white-space: nowrap; }
.kassa-h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); margin: 0; }
.bk-titel .bk-sub { display: block; font-weight: 400; font-size: .95rem; color: #6B6466; margin-top: 2px; }
.bk-extra .bk-label { margin-bottom: -4px; }
.bk-extra .bk-los { font-size: .95rem; color: #4A4446; }
.bk-extra .bk-label { background: #E3EEF0; }

/* ── Bestelpagina v4: dichter bij de voorpagina ── */
.kassa-band { background: #F3FAFD; padding: 32px 0 26px; }
.kassa-band .kassa-h1 { font-size: clamp(2rem, 6vw, 2.6rem); margin: 0 0 6px; }
.kassa-intro { margin: 0; font-size: 1.05rem; color: #4A4446; }
.kassa { background: #fff; padding: 24px 0 64px; }
.kassa .bestelkaart { box-shadow: 0 12px 32px -18px rgba(0,0,0,.25); }
.kassa-stappen-blok { padding: 6px 4px; display: grid; gap: 10px; }
.kassa-stappen-blok h2 { font-size: 1.3rem; margin: 0; }
.kassa-stappen-blok p { margin: 0; }
.kassa-volgorde { list-style: none; counter-reset: k; margin: 0; padding: 0; display: grid; gap: 10px; }
.kassa-volgorde li { counter-increment: k; position: relative; padding-left: 38px; min-height: 26px; }
.kassa-volgorde li::before { content: counter(k); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--petrol); color: #fff; font-size: .82rem; font-weight: 700; display: grid; place-items: center; }
/* geen horizontale overloop op smalle schermen */
.kassa-wrap, .kassa-form, .bestelkaart, .bk-blok, .bk-extra { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.bk-aantal { flex-wrap: wrap; row-gap: 8px; }
.bk-aantal label { white-space: normal; }
@media (max-width: 380px) { .stepper { gap: 4px; } .stepper button { width: 36px; height: 36px; } .stepper input { width: 40px; } .bestelkaart { padding: 20px 16px; } }
.bk-staffel { margin: 0; font-size: .95rem; }
.bk-staffel strong { color: var(--petrol); }
.bk-methoden { margin: 0; }

/* ── Startplan als kernbelofte ── */
.startplan-voorbeeld { padding: 24px 0 48px; }
.startplan-voorbeeld .doc-sheet { max-width: 560px; margin: 0 auto; }
@media (min-width: 900px) { .startplan-voorbeeld { padding: 0 0 64px; } .startplan-voorbeeld .doc-sheet { margin: -24px auto 0; position: relative; } }
.plan-per-module { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.plan-per-module li { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #E0E5E7; }
.plan-per-module li strong { color: var(--petrol); }

/* Lettertype v2: Archivo, koppen extra vet en iets breed */
h1, h2, h3, .pullquote, .price, .cijfers strong, .module-cijfers strong { font-family: var(--serif); font-weight: 800; font-stretch: 112%; letter-spacing: -0.012em; }
h3 { font-weight: 700; font-stretch: 106%; }
h1 { line-height: 1.08; }
.btn { font-weight: 700; letter-spacing: 0.005em; }
.eyebrow, .tag { font-weight: 700; font-stretch: 110%; }

/* Kleur v2: wit als basis, afgewisseld met frisse kleurblokken (geen zandtint meer) */
:root { --blok: #DDF3FC; --blok-lijn: #CFE3E7; --zand: #F3FAFD; }


.band-mist, .band-blush, .price-band, .band-signal, .page-head-kort { background: var(--blok); }
.band-mist + .price-band, .price-band + .band-mist { background: var(--bg); }
.page-head:not(:has(.foto)) { border-bottom: 0; }
.kassa-band { background: var(--blok); }
.kassa { background: var(--bg); }
.bestelkaart { border-color: var(--line); background: var(--surface); }
.bk-extra, .bk-weergave { background: var(--blok); }
.aanvulling { background: var(--zand); border-color: #E0E5E7; }


.split > .steps { grid-template-columns: minmax(0, 1fr); }
.split > .steps li { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; }
.split > .steps li::before { grid-row: span 2; }
.split > .steps li:last-child { border-bottom: 0; }

/* Opmaakfixes 9 nov */
.site-footer h2.footer-kop { font-family: var(--font); font-size: 0.95rem; font-weight: 700; font-stretch: 100%; margin: 0 0 12px; color: #fff; letter-spacing: 0; line-height: 1.3; }
.bk-extra { padding: 18px; border-radius: 14px; margin-bottom: 4px; }
.bk-extra .bk-label { background: var(--surface); color: var(--petrol); }
@media (max-width: 380px) { .bk-extra { padding: 16px 14px; } }
.hero .tag, .page-head:has(.foto) .eyebrow { align-self: flex-start; justify-self: start; display: inline-block; width: fit-content; color: #fff; background: var(--petrol-deep); padding: 5px 11px; border-radius: 4px; text-shadow: none; line-height: 1.3; }
.tile-ijs, .tile-blush { background: var(--surface); border-color: var(--line); }
.tile-ijs .ico, .tile-blush .ico { background: var(--ice); color: var(--petrol); }
.tile-signal { background: var(--petrol-deep); border-color: var(--petrol-deep); }
.fotorij-sectie { padding-bottom: clamp(36px, 5vw, 64px); }
.stepbar[aria-label="Kies wat je wilt doen"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stepbar[aria-label="Kies wat je wilt doen"] button { line-height: 1.2; white-space: normal; }
.bk-extra { margin-bottom: 18px; }
.lp-keuze { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.lp-optie { box-shadow: var(--shadow); }
.lp-optie h3 { font-size: 1.3rem; }
.lp-optie .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .lp-keuze { grid-template-columns: minmax(0, 1fr); } .lp-optie .btn { align-self: stretch; } }
/* Startplan-gesprek als optie in het blok Preventiemedewerker */
.bk-optie { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.bk-vink-klein { font-size: 1rem; grid-template-columns: 26px minmax(0,1fr); }
.bk-vink-klein .bk-vinkje { width: 26px; height: 26px; }
.bk-optie-prijs { white-space: nowrap; color: var(--brand); }
.bk-optie .bk-los { margin: 8px 0 0 38px; }
@media (max-width: 380px) { .bk-optie .bk-los { margin-left: 0; } }

/* Kleur v3: minder blauw. Lichte vlakken neutraal grijs, één donkere petrol voor alle donkere blokken, één lichte petroltint alleen voor kleine accenten */
:root { --mist: #F3F4F4; --blok: #F3F4F4; --line: #E0E2E2; }
.band-brand { background: var(--petrol-deep); }
.side { background: var(--blok); }
.table-box th { background: var(--blok); }

/* Wachtwoord tonen/verbergen: ook met toetsenbord en aanraakscherm. */
.wachtwoord-veld { position: relative; }
.wachtwoord-veld input { width: 100%; padding-right: 56px; }
.wachtwoord-oog { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 10px; display: flex; align-items: center; justify-content: center; color: #171A19; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.wachtwoord-oog:hover { background: #E3EEF0; }
.wachtwoord-oog:focus-visible { outline: 3px solid #AF1830; outline-offset: 1px; }
.wachtwoord-oog .wachtwoord-streep { display: none; }
.wachtwoord-oog[aria-pressed="true"] .wachtwoord-streep { display: block; }

.wachtwoord-vergeten-link { align-self: flex-start; font-size: .95rem; text-underline-offset: 3px; }

/* Front Campus merkidentiteit — gedeeld door website, leeromgeving en certificaten. */
:root {
 --bg:#FFFFFF; --fg:#171A19; --muted:#59656F; --surface:#FFFFFF;
 --mist:#F3FAFD; --ice:#DDF3FC; --zand:#F3FAFD; --blok:#F3FAFD; --blok-lijn:#DCE5E7; --line:#E0E5E7;
 --brand:#AF1830; --brand-solid:#AF1830; --brand-hover:#8E1427; --brand-deep:#751320; --blush:#FCF0F1;
 --petrol:#171A19; --petrol-deep:#171A19; --on-petrol:#E4EBED;
 --coral:#AF1830; --coral-text:#8E1427; --coral-light:#FFD3D7; --signal:#171A19;
 --logo-petrol:#171A19; --logo-bordeaux:#AF1830;
 --font:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
 --font-display:"Montserrat",system-ui,sans-serif; --font-body:var(--font); --serif:var(--font-display);
}
h1,h2,h3,h4,.pullquote,.price,.cijfers strong,.module-cijfers strong {font-family:var(--font-display);font-stretch:normal; font-weight:700;}
.woordmerk,.cert-merk {font-family:var(--font-display);letter-spacing:-.035em;font-weight:800;}
.brand .woordmerk {display:block;line-height:1.12;white-space:nowrap;}
.brand .payoff {display:block;color:var(--muted);font:500 .58rem/1.4 var(--font);letter-spacing:.015em;margin-top:5px;}
.site-header .brand {gap:10px;}
.site-header .brand .logo-front-campus {width:32px;height:39px;}
.site-footer .wm-b {color:#fff;}
.site-footer {position:relative;border-top:4px solid var(--brand);}
.payoff {font-family:var(--font);letter-spacing:0;}
.hero,.page-head:has(.foto) {background:var(--petrol-deep);isolation:isolate;}
.hero::after,.page-head:has(.foto)::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(103,115,125,0) 30%,rgba(103,115,125,.16) 62%,rgba(103,115,125,.48) 100%);pointer-events:none;z-index:-1;}
.hero .wrap,.page-head:has(.foto) .wrap {position:relative;z-index:1;}
.hero .foto,.page-head .foto {border-radius:0;}
.hero .tag,.page-head:has(.foto) .eyebrow {background:var(--petrol-deep);border-left:3px solid var(--brand);border-radius:0;}
.cert {border-color:var(--line);border-top:6px solid var(--brand);background:linear-gradient(135deg,#fff 0 92%,#F3FAFD 92% 96%,#AF1830 96%);}
.cert-team-brand {display:flex;align-items:center;gap:12px;margin-bottom:28px;color:var(--fg);}
.cert-team-brand strong {font-family:var(--font-display);}
#team-certificaat {border-top:5px solid var(--brand);}
:focus-visible {outline-color:var(--petrol);}
.hero :focus-visible,.site-footer :focus-visible {outline-color:#fff;}
@media(max-width:900px){.site-header .brand {margin-right:auto;}.site-header .wrap{gap:10px;}}
@media(max-width:480px){.site-header .woordmerk{font-size:1rem;}.site-header .kop-bestel{display:none;}.site-header .nav a.btn[href="bestellen.html"]{display:flex;}.brand .payoff{font-size:.53rem;}}
@media print { .cert,.cert-team-brand {print-color-adjust:exact;-webkit-print-color-adjust:exact;} }

/* Spatie in het woordmerk blijft zichtbaar in zowel grid als flex. */
.woordmerk .wm-b {margin-left:.24em;}

/* Gekozen Front Campus-logo 1: vier organische vormen en antraciet woordmerk. */
.site-header .brand .logo-front-campus {width:40px;height:42px;flex:none;}
.footer-merk .logo-front-campus {width:44px;height:46px;flex:none;}
.cert-logo {width:56px;height:auto;}
.cert-team-brand img {width:44px;height:auto;}
.woordmerk,.cert-merk {font-family:var(--font);font-weight:600;letter-spacing:-.035em;}
.wm-a,.wm-b {color:var(--fg);}
.site-footer .wm-a,.site-footer .wm-b {color:#fff;}
@media(max-width:380px){.site-header .brand .logo-front-campus{width:34px;height:36px;}}

/* Compact woordmerk: naam vormt één regel, onafhankelijk van de payoff. */
.merknaam {display:block;white-space:nowrap;color:var(--fg);}
.footer-merk .woordmerk {display:block;}
.site-footer .merknaam {color:#fff;}
.footer-merk .payoff {display:block;}
.hero,.page-head:has(.foto) {--petrol-deep:#171A19;background:#171A19;}
.hero::after,.page-head:has(.foto)::after {content:none;}

/* Account blijft zichtbaar, ook wanneer het mobiele menu dicht is. */
.header-account {flex:0 0 36px;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #171A19;border-radius:50%;color:#171A19;background:#fff;text-decoration:none;position:relative;order:3;}
.header-account[data-state="in"] {background:#171A19;color:#fff;}
.header-account .account-initial {display:none;font-size:1rem;font-weight:700;line-height:1;}
.header-account[data-state="in"] svg {display:none;}
.header-account[data-state="in"] .account-initial {display:block;}
.header-account:hover {box-shadow:0 0 0 3px #171A191A;}
.header-account:focus-visible {outline:3px solid #AF1830;outline-offset:3px;}
.header-account[data-state="checking"],.header-account[data-state="unknown"] {border-style:dashed;}
@media(min-width:901px){.site-header .nav{margin-left:auto;gap:14px;}.site-header .nav [data-auth-link]{display:none;}}
@media(max-width:900px){.header-account{order:0;}.site-header .nav{order:4;}.site-header .brand{margin-right:auto;}}

/* Compact accounticoon met een tikvlak van 44 pixels. */
.header-account svg {width:19px;height:19px;}
.header-account::after {content:"";position:absolute;inset:-4px;border-radius:50%;}

/* Front Campus — zwart, rood, wit en ijsblauw. Definitieve richting 15 november. */
:root {--bg:#FFFFFF;--surface:#FFFFFF;--fg:#171A19;--muted:#52605F;--brand:#AF1830;--brand-solid:#AF1830;--brand-hover:#8E1427;--brand-deep:#731124;--coral:#EE4657;--coral-text:#AF1830;--coral-light:#FFD6DD;--on-brand:#FFFFFF;--petrol:#171A19;--petrol-deep:#171A19;--on-petrol:#EDF7FB;--signal:#AF1830;--mist:#F3FAFD;--ice:#DDF3FC;--zand:#F3FAFD;--blok:#DDF3FC;--blok-lijn:#BFDCEA;--line:#D8E1E5;--blush:#FFF1F3;--font:"Inter",system-ui,sans-serif;--font-body:var(--font);--font-display:"Manrope",system-ui,sans-serif;--serif:var(--font-display);--r-s:3px;--r-m:5px;--r-l:6px;}
h1,h2,h3,h4,.pullquote,.price,.cijfers strong,.module-cijfers strong {font-family:var(--font-display);font-weight:700;letter-spacing:-.012em;line-height:1.12;}
h1 {font-weight:800;}
.woordmerk,.cert-merk {font-family:var(--font-display);font-weight:700;letter-spacing:-.015em;}
.site-header .woordmerk {font-size:1.55rem;}
.brand .payoff {font-family:var(--font);font-size:.56rem;font-weight:500;letter-spacing:0;}
.hero,.page-head:has(.foto) {--petrol-deep:#171A19;background:#FFFFFF;color:var(--fg);border-bottom:1px solid var(--line);}
.hero h1,.page-head:has(.foto) h1 {color:var(--fg);font-weight:800;}
.hero h1 {border-left:8px solid var(--ice);padding-left:20px;}
.hero .lead,.page-head:has(.foto) .lead,.hero .facts,.page-head:has(.foto) .facts {color:var(--fg);}
.hero .tag,.page-head:has(.foto) .eyebrow {background:var(--ice);color:var(--fg);border-left:3px solid var(--brand);text-shadow:none;}
.hero .btn-ghost,.page-head:has(.foto) .btn-ghost {color:var(--fg);border-color:var(--fg);background:#fff;}
.hero .btn-ghost:hover,.page-head:has(.foto) .btn-ghost:hover {background:var(--ice);color:var(--fg);}
.hero-visual .foto,.page-head .foto {box-shadow:none;border-radius:3px;}
.btn {font-weight:700;border-radius:3px;}
.site-footer {background:#171A19;color:#EDF7FB;}
.site-footer .logo-front-campus path:not([fill="#AF1830"]) {fill:#FFFFFF;}
.header-account {border-color:var(--fg);color:var(--fg);}
.header-account[data-state="in"] {background:var(--fg);color:#fff;}
.cert {border-top-color:var(--brand);background:linear-gradient(135deg,#fff 0 94%,var(--ice) 94%);}
@media(max-width:480px){.site-header .woordmerk{font-size:1.25rem}.hero h1{padding-left:14px;border-left-width:6px}}

.hero-visual .foto::after,.page-head .foto::after{content:none;}
.hero :focus-visible{outline-color:var(--brand);}

.woordmerk,.cert-merk{font-weight:800;letter-spacing:-.035em}.site-header .woordmerk{font-size:1.25rem}.hero h1{font-size:clamp(2.1rem,4.3vw,3.4rem);line-height:1.12}@media(max-width:480px){.site-header .woordmerk{font-size:1.05rem}}

/* Ingelogd menu: persoonlijke routes en informatie bij elkaar. */
.nav-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px}
.nav-group-label{display:none}
.nav-signed-in{gap:12px 24px}
.nav-logout{font:inherit;color:var(--muted);background:none;border:0;padding:10px 0;cursor:pointer;min-height:44px}
.nav-logout:hover{color:var(--brand)}
.kop-bestel[hidden]{display:none!important}
@media(max-width:900px){
 .nav-signed-in{gap:0;padding:8px 0 16px;max-height:calc(100dvh - 110px);overflow-y:auto}
 .nav-signed-in .nav-group{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .nav-signed-in .nav-group-label{display:block;padding:16px 12px 6px;color:var(--muted);font-size:.76rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
 .nav-signed-in .nav-personal{background:var(--ice);border-radius:8px;margin-bottom:8px}
 .nav-signed-in .nav-group a{padding:11px 12px;border:0;font-size:1rem;min-height:44px}
 .nav-signed-in .nav-group a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--signal);font-weight:700}
 .nav-signed-in .nav-logout{text-align:left;margin-top:10px;padding:12px;border-top:1px solid var(--line)}
}
.course-help{margin:24px auto;padding:20px;max-width:900px;border-top:1px solid #ddd}.course-help h2{font-size:1.25rem}.course-help .btn{min-height:44px}
.message-summary{cursor:pointer;overflow-wrap:anywhere}.message-badge{display:inline-block;padding:2px 8px;border-radius:12px;background:#DDF3FC;font-size:.8rem}.message-reply textarea{width:100%;box-sizing:border-box}

.help-dialog{width:min(560px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:24px;color:var(--fg);background:white}.help-dialog::backdrop{background:#0008}.help-dialog h2{font-size:1.3rem}.help-dialog label{display:grid;gap:8px}.help-dialog textarea,.help-dialog select{width:100%;padding:12px;font:inherit;border:1px solid var(--line);border-radius:6px}.help-dialog .module-top{gap:12px;align-items:flex-start}
.header-notifications{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:var(--fg);text-decoration:none}.header-notifications span{position:absolute;right:0;top:0;min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:12px;background:#AF1830;color:#fff;font:700 11px/18px Arial}.header-notifications span[hidden]{display:none}.app-message-toast{position:fixed;top:100px;right:16px;z-index:80;max-width:calc(100% - 32px);padding:16px;background:#171A19;color:white;border-radius:8px;box-shadow:0 4px 16px #0003}.app-message-toast[hidden]{display:none}
@media print{.help-launch,.help-dialog,.header-notifications,.app-message-toast{display:none!important}}

@media(max-width:480px){.site-header .wrap:has(.header-notifications){gap:5px}.site-header .wrap:has(.header-notifications) .brand{gap:5px;min-width:0;flex:1}.site-header .wrap:has(.header-notifications) .merknaam{font-size:.95rem}.site-header .wrap:has(.header-notifications) .payoff{display:none}.site-header .wrap:has(.header-notifications) .logo-front-campus{width:30px;height:34px}.header-notifications{flex:0 0 40px;min-width:40px}}

/* One account control, with notification overlays and a short account menu. */
.account-control{position:relative;display:inline-flex;flex:none;order:3}
.account-control .header-account{width:44px;height:44px;flex-basis:44px;cursor:pointer}
.account-control .header-account::after{inset:0}
.account-bell{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:white;color:var(--fg);pointer-events:none}
.account-notification-count{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 3px;background:#AF1830;color:white;border:2px solid white;border-radius:12px;font:700 10px/15px Arial;text-align:center;pointer-events:none}
.account-notification-count[hidden],.account-menu[hidden]{display:none!important}
.account-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:110;width:210px;max-width:calc(100vw - 32px);padding:6px;border:1px solid var(--line);border-radius:10px;background:white;box-shadow:0 10px 30px #0002;display:grid;gap:2px}
.account-menu a,.account-menu button{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px;width:100%;padding:10px 12px;border:0;border-radius:5px;background:white;color:var(--fg);text-decoration:none;text-align:left;font:500 .95rem var(--font);cursor:pointer}
.account-menu a:hover,.account-menu button:hover{background:var(--ice)}
.account-menu a:focus-visible,.account-menu button:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.account-menu [data-notification-count]{border-radius:10px;padding:1px 7px;background:var(--brand);color:white;font-size:.75rem}
.account-menu [data-notification-count][hidden]{display:none}
@media(max-width:900px){.account-control{order:0}.site-header .wrap{gap:8px}}

.account-control .header-account[data-state="in"] .account-bell svg{display:block;width:11px;height:11px}

/* Denser public desktop pages: shorter hero and closer section rhythm. */
@media(min-width:921px){
 .site-header .wrap{padding-block:10px;gap:10px}
 .site-header .nav{gap:6px 18px;font-size:.9rem}
 body:not(.beheer-page) main>section{padding-block:40px}
 body:not(.beheer-page) .hero,body:not(.beheer-page) .page-head:has(.foto){padding-block:32px 36px}
 body:not(.beheer-page) .hero .wrap,body:not(.beheer-page) .page-head:has(.foto) .wrap{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:36px;align-items:center}
 body:not(.beheer-page) .hero-copy,body:not(.beheer-page) .page-head:has(.foto) .stack{gap:14px;max-width:660px}
 body:not(.beheer-page) .hero h1{font-size:clamp(2.1rem,3.1vw,2.85rem);line-height:1.12;max-width:23ch;padding-left:14px;border-left-width:6px}
 body:not(.beheer-page) .hero .lead{font-size:1rem;line-height:1.5;max-width:60ch}
 body:not(.beheer-page) .hero-visual .foto,body:not(.beheer-page) .page-head .foto{max-width:none;width:100%;margin:0}
 body:not(.beheer-page) .hero-visual .foto img,body:not(.beheer-page) .page-head .foto img{height:clamp(270px,24vw,330px);aspect-ratio:auto;object-fit:cover;object-position:center 40%}
 body:not(.beheer-page) .section-head{gap:10px;margin-bottom:24px}
 body:not(.beheer-page) .split,body:not(.beheer-page) .quote-split{gap:32px}
 body:not(.beheer-page) .site-footer>.wrap{padding-block:32px 24px;gap:24px}
}
@media(min-width:1440px){body:not(.beheer-page){--wrap:1280px}}

/* Keep people and faces in view at each photo's natural focal point. */
img[src*="/samen-lopen.jpg"]{--photo-focus:50% 18%}
img[src*="/werkplek.jpg"]{--photo-focus:50% 5%}
img[src*="/rondgang.jpg"]{--photo-focus:50% 8%}
img[src*="/gesprek.jpg"]{--photo-focus:50% 12%}
img[src*="/voorlichting.jpg"]{--photo-focus:50% 8%}
img[src*="/piramide.jpg"]{--photo-focus:50% 0%}
img[src*="/nekklachten.jpg"]{--photo-focus:50% 15%}
img[src*="/werkdruk.jpg"]{--photo-focus:50% 12%}
img[src*="/trap.jpg"]{--photo-focus:50% 12%}
img[src*="/strekken.jpg"]{--photo-focus:50% 0%}
img[src*="/brandblusser.jpg"]{--photo-focus:50% 8%}
img[src*="/rapport.jpg"]{--photo-focus:50% 10%}
/* Match the specificity of the desktop hero rules as well as course cards. */
body:not(.beheer-page) :is(.hero-visual .foto,.page-head .foto,.foto,.fotostrook,.module-kop,.module-beeld,.les-beeld,.module-kaart)>img[src$=".jpg"]{
 object-position:var(--photo-focus,50% 20%);
}
/* This wider group photo needs its full width to retain both participants. */
body:not(.beheer-page) .page-head .foto>img[src*="/voorlichting.jpg"]{
 height:auto;aspect-ratio:16 / 9;
}
.legal table{width:100%;border-collapse:collapse;table-layout:fixed;margin:20px 0}.legal th,.legal td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:10px;overflow-wrap:anywhere}.legal th:first-child{width:38%}.legal td{font-size:.94rem}@media(max-width:600px){.legal th,.legal td{padding:8px;font-size:.85rem}}

/* Compact account overview: keep course access and code entry close together. */
.account-page main>section{padding-block:20px}
.account-page #account{gap:12px!important}
.account-page #account>.eyebrow{margin:0}
.account-page #account h1{margin:0;font-size:clamp(1.5rem,4vw,2rem)!important}
.account-page #account .panel{padding:16px;gap:10px}
.account-page #account h2{margin:0;font-size:1.2rem!important}
.account-page #toegang-inhoud{display:flex;flex-direction:column;gap:8px}
.account-page #toegang-inhoud>.card{margin-top:0!important;padding:12px;gap:6px}
.account-page #toegang-inhoud p{margin:0;line-height:1.4}
.account-page #toegang-inhoud .module-top{margin:0;gap:8px;align-items:start}
.account-page #toegang-inhoud .btn-row{gap:6px}
.account-page #code-form{margin-top:4px!important;gap:8px!important}
.account-page #code-form .field{gap:4px}
.account-page #account .btn{min-height:44px;padding:8px 12px}
@media(max-width:600px){.account-page #account .panel{padding:12px}.account-page #toegang-inhoud .module-top{flex-wrap:wrap}.account-page #code-form input{width:100%;min-width:0;box-sizing:border-box}}

/* Calm course navigation: one hierarchy and an honest save status. */
.learning-page .side{background:#fff;padding:20px 18px;gap:0;align-self:start;position:sticky;top:76px;max-height:calc(100dvh - 76px);overflow:auto}
.learning-page .side .course-back{display:block;padding:5px 0 12px;font-size:.82rem;color:var(--muted);border-radius:0}
.learning-page .side-title{font-size:1.05rem;margin:0 0 16px;line-height:1.45}
.course-progress{background:var(--ice);border-radius:10px;padding:13px 14px;margin-bottom:18px}
.course-progress-heading{display:flex;justify-content:space-between;gap:12px;font-size:.82rem;font-weight:600}
.course-progress .progress{margin:9px 0 7px;height:6px;background:#fff}
.course-progress p{margin:0;font-size:.76rem;line-height:1.5}
.course-progress .save-status{margin-top:8px;color:var(--muted);font-size:.72rem}
.save-status[data-state=error]{color:#9c142a;font-weight:600}.save-status[data-state=saved]::before{content:'✓ ';color:#226849}
.save-retry{font:600 .76rem/1.5 var(--font);background:#fff;border:1px solid var(--brand);color:var(--brand);border-radius:5px;margin-top:8px;padding:6px 10px;cursor:pointer}
.learning-page .side .course-overview-link{display:block;padding:10px 12px;font-weight:600;font-size:.88rem;margin-bottom:14px}
.course-nav-label{margin:0 12px 6px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-size:.65rem;font-weight:700}
.learning-page #module-nav{display:grid;gap:3px}.learning-page #module-nav a{grid-template-columns:28px minmax(0,1fr);gap:10px;padding:9px 10px;font-size:.83rem;border-radius:7px}
.learning-page .side .num{height:27px;width:27px;font-size:.76rem;border-radius:50%;background:#f4f5f5;border-color:transparent}
.learning-page .side a[aria-current=page]{background:var(--ice);box-shadow:inset 3px 0 0 var(--brand)}
.learning-page .side a[aria-current=page] .num{background:var(--brand);color:#fff}
.learning-page .side .done .num{background:#e4f1e9;color:#226849}
.module-link-text{display:grid;gap:3px}.module-link-text small{font-size:.69rem;color:var(--muted);font-weight:400}
.learning-page .side-links{display:block;border-top:1px solid var(--line);margin:12px 0 0;padding:10px 0 0}
.learning-page .side .side-links a{display:block;background:transparent;border:0;font-size:.85rem;padding:10px 12px}
.course-resume{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--ice);border-radius:10px;padding:20px 24px;margin:24px 0}
.course-resume .eyebrow{margin:0 0 6px;font-size:.72rem}.course-resume h2{font-size:1.15rem;line-height:1.5;margin:0}.course-resume .btn{flex-shrink:0}.course-section-title{font-size:1.25rem;margin:26px 0 16px}
@media(max-width:900px){.learning-page .side{position:static;max-height:none;padding:14px 18px}.learning-page .side-title{margin-bottom:10px}.learning-page .side .course-back{padding-bottom:8px}.course-progress{margin-bottom:8px;padding:10px 12px}.learning-page .side-toggle{margin-top:3px;min-height:44px}.learning-page #module-nav{grid-template-columns:1fr}.course-resume{align-items:flex-start;flex-direction:column;gap:14px;padding:18px}.course-resume .btn{width:100%}}
