/* Wervora Cybersecurity — mobiel eerst. Geen aangeleverd logo: tekstmerk. */
:root {
  /* Wervora-huisstijl: kleuren overgenomen uit het aangeleverde logo. */
  --ink: #171f27; --muted: #55616d; --bg: #fdfcfa; --card: #ffffff; --line: #e1ddd5;
  --brand: #171f27; --brand-dark: #0b1117; --accent: #fd613f; --accent-dark: #c23a1b; --accent-soft: #fff0eb;
  --good: #1c7c3c; --good-bg: #e8f6ed; --bad: #b3261e; --bad-bg: #fdecea;
  --warn-bg: #fff6e0; --warn: #7a5200; --note-bg: #f3f1ec; --focus: #1d5fd1;
  --radius: 12px; --tap: 48px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1rem; }
main.wrap { padding-top: 1.25rem; padding-bottom: 3rem; min-height: 60vh; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: .6rem 0 .8rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 1.8rem 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.2rem 0 .4rem; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .6rem; z-index: 10; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.lead { font-size: 1.15rem; max-width: 46rem; }

.top { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; padding-top: .6rem; padding-bottom: .6rem; }
.brand { color: var(--ink); font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: .6rem; min-height: var(--tap); }
.brand img { display: block; height: 32px; width: auto; }
.brand-sub { font-size: .95rem; letter-spacing: .04em; padding-left: .6rem; border-left: 2px solid var(--accent); }
.brand-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 800; }
.top nav { display: flex; flex-wrap: wrap; gap: .1rem .3rem; align-items: center; }
.top nav a { color: var(--ink); font-weight: 600; padding: .6rem .55rem; min-height: var(--tap); display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; }
.top nav a:hover { background: var(--note-bg); }
.testbar { background: var(--accent-soft); color: var(--accent-dark); border-bottom: 1px solid #f7c9bc; text-align: center; padding: .3rem; font-size: .9rem; font-weight: 600; }
.foot { background: var(--ink); color: #e9e6df; padding: 1.5rem 0; font-size: .95rem; margin-top: 2rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: .65rem 1.1rem; border-radius: 10px; border: 2px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: #fff; color: var(--brand-dark); }
.btn.ghost:hover { background: var(--note-bg); }
.btn.small { min-height: 40px; padding: .35rem .8rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.top .btn.small { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.actions, .ex-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1rem 0; }

.hero { padding: 1.5rem 0 1rem; }
.hero h1 { font-size: 2rem; max-width: 40rem; }
.eyebrow { color: var(--accent-dark); font-weight: 700; margin: 0; letter-spacing: .02em; }
.cards { list-style: none; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card, .panel, .path, .exercise { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.card h3 { margin-top: 0; }
.panel { margin: 1rem 0; } .panel > :first-child { margin-top: 0; } .panel > :last-child { margin-bottom: 0; }
.panel.good { background: var(--good-bg); border-color: var(--good); }
.panel.warn { background: var(--warn-bg); border-color: #d9a400; color: #3d2a00; }
.panel.note { background: var(--note-bg); border-color: #cfc9bd; }
.steps li { margin: .5rem 0; }
.path { margin: 1rem 0; } .path h3 { margin-top: 0; font-size: 1.2rem; }
.course-list { list-style: none; padding: 0; margin: 0; } .course-list li { padding: .55rem 0; border-top: 1px solid var(--line); }
.level { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .55rem; border-radius: 99px; border: 1.5px solid; white-space: nowrap; }
.l1 { color: #1c6b3a; } .l2 { color: #0b5fa5; } .l3 { color: #7a3fa0; } .l4 { color: #a3341b; }
.soon { display: inline-block; font-size: .85rem; color: var(--muted); font-style: italic; }
.crumb { margin: 0; font-size: .95rem; color: var(--muted); }
.cols { display: grid; gap: 1.5rem; } @media (min-width: 52rem) { .cols { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
dl { margin: 0; } dt { font-weight: 700; margin-top: .7rem; } dd { margin: 0; }
.lesson-list li { margin: .5rem 0; } .done { color: var(--good); font-weight: 700; margin-left: .4rem; }
progress { width: 100%; height: 14px; accent-color: var(--accent); }

.messages .msg, .msg { padding: .7rem .9rem; border-radius: 10px; background: var(--note-bg); border: 1px solid #cfc9bd; margin: .6rem 0; }
.msg.success { background: var(--good-bg); border-color: var(--good); } .msg.error { background: var(--bad-bg); border-color: var(--bad); }
.msg.warning { background: var(--warn-bg); border-color: #d9a400; }

form p, .stack > * { margin: .7rem 0; } .stack { display: block; max-width: 40rem; }
label { font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea { display: block; width: 100%; max-width: 32rem; font: inherit; padding: .7rem; min-height: var(--tap); border: 2px solid #8a9aab; border-radius: 10px; background: #fff; color: var(--ink); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; margin: 1rem 0; background: var(--card); min-width: 0; }
/* De vraag staat ín het kader in plaats van op de rand: bij een vraag van meerdere regels liep de rand
   anders dwars door de tekst. */
legend { font-weight: 700; padding: 0; float: left; width: 100%; margin: 0 0 .5rem; }
legend + * { clear: both; }
.choice { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .5rem; min-height: var(--tap); border-radius: 8px; font-weight: 400; cursor: pointer; }
.choice:hover { background: var(--note-bg); }
.choice input { width: 1.35rem; height: 1.35rem; margin-top: .15rem; flex: none; accent-color: var(--brand); }
.helptext, .errorlist { font-size: .92rem; } .errorlist { color: var(--bad); padding-left: 1.1rem; }

.objective { background: var(--accent-soft); border-left: 5px solid var(--accent); padding: .7rem .9rem; border-radius: 6px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; position: sticky; top: 0; background: var(--bg); padding: .5rem 0; z-index: 5; }
.tabs button { min-height: var(--tap); font: inherit; font-weight: 700; border: 2px solid var(--brand); border-radius: 10px; background: #fff; color: var(--brand-dark); cursor: pointer; }
.tabs button[aria-selected=true] { background: var(--brand); color: #fff; }
.pane { padding-top: .5rem; }
.prose { max-width: 44rem; } .prose img { max-width: 100%; }
.prose pre { background: #17222e; color: #e8eef4; padding: .9rem; border-radius: 10px; overflow-x: auto; font-size: .95rem; line-height: 1.5; margin-top: 0; }
.prose code { font-family: ui-monospace, "SF Mono", Consolas, monospace; background: #e6ebf0; padding: .1rem .3rem; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; } .prose th, .prose td, .table th, .table td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.table { border-collapse: collapse; width: 100%; background: #fff; }
.copy { font: inherit; font-size: .85rem; min-height: 36px; padding: .2rem .7rem; margin: .6rem 0 .2rem; border: 1.5px solid var(--brand); border-radius: 8px; background: #fff; color: var(--brand-dark); cursor: pointer; }
.example { background: #fffdf5; border: 1px solid #ead9a8; border-radius: var(--radius); padding: .2rem 1rem 1rem; margin: 1.2rem 0; }
.exercise { margin: 1rem 0; } .exercise h2 { margin-top: 0; }
.kind { font-size: .78rem; font-weight: 700; padding: .1rem .5rem; border-radius: 6px; vertical-align: middle; white-space: nowrap; }
.kind.sim { background: #e6ebf0; color: #34485c; } .kind.real { background: #1a2b3c; color: #fff; }
.status { color: var(--good); font-size: 1rem; white-space: nowrap; }
.fb { margin: .4rem 0 0; padding: .5rem .7rem; border-radius: 8px; } .fb:empty { display: none; }
.fb.ok { background: var(--good-bg); color: #0f4d24; border-left: 5px solid var(--good); }
.fb.bad { background: var(--bad-bg); color: #6d1612; border-left: 5px solid var(--bad); }
.score { font-size: 1.15rem; font-weight: 700; }
.hints { padding-left: 1.3rem; } .hints li { background: var(--warn-bg); margin: .4rem 0; padding: .5rem .7rem; border-radius: 8px; } .hints:empty { display: none; }
.result:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: var(--tap); padding: .4rem .9rem; border: 2px solid #8a9aab; border-radius: 99px; cursor: pointer; font-weight: 600; background: #fff; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.sortable { list-style: decimal; padding-left: 1.6rem; } .sortable li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .6rem; margin: .45rem 0; }
.sortable li { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; } .sortable .fb { grid-column: 1 / -1; }
.sort-btns { display: flex; gap: .3rem; } .sort-btns button { width: var(--tap); height: var(--tap); font-size: 1rem; border: 2px solid var(--brand); border-radius: 10px; background: #fff; color: var(--brand-dark); cursor: pointer; }
.sort-btns button[disabled] { opacity: .35; }
.inbox { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.mail { border-bottom: 1px solid var(--line); padding: 0 .8rem; } .mail[open] { padding-bottom: .8rem; background: #fbfcfd; }
.mail summary { min-height: 56px; padding: .5rem 0; cursor: pointer; display: grid; gap: .1rem; }
.mail-from { font-weight: 700; } .mail-subject { color: var(--muted); }
.mail-meta { font-size: .95rem; overflow-wrap: anywhere; } .mail-body { white-space: pre-line; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .8rem; }
.mail-link code { overflow-wrap: anywhere; background: #e6ebf0; padding: .1rem .3rem; border-radius: 4px; }
.fake-link { color: #1a55b5; text-decoration: underline; font-weight: 600; }
.lab-frame iframe { width: 100%; height: 34rem; border: 3px solid #1a2b3c; border-radius: var(--radius); background: #fff; margin-top: .8rem; }
.pager { display: flex; justify-content: space-between; gap: .6rem; margin: 2rem 0 1rem; flex-wrap: wrap; }
.sources { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1rem; margin: .6rem 0; } .sources summary { min-height: 40px; cursor: pointer; font-weight: 700; display: flex; align-items: center; }
.review { background: #fff; border: 1px solid var(--line); border-left-width: 6px; border-radius: 10px; padding: .4rem 1rem; margin: .7rem 0; } .review.ok { border-left-color: var(--good); } .review.bad { border-left-color: var(--bad); }
.exam-q legend { font-weight: 600; }
.inline { display: block; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.foot a { color: #fff; } .foot .muted { color: #b9b4aa; }
.hero h1 { letter-spacing: -.01em; } .hero { border-bottom: 3px solid var(--accent); margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
h2 { letter-spacing: -.005em; }
.card { border-top: 4px solid var(--accent); }
.path h3::before { content: ""; display: inline-block; width: .7rem; height: .7rem; background: var(--accent); transform: skewX(-25deg); margin-right: .55rem; }
.brand-mark { display: none; }

/* ================= Scanbare opbouw: tegels, tabel, uitklapblokken ================= */
html { scroll-padding-top: 4.5rem; }
.btn { transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px #171f2722; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent:hover { background: #ff7a5c; border-color: #ff7a5c; }
.hero h1 { font-size: 2.2rem; margin-top: 0; } .hero .lead { margin-top: 0; }
@media (min-width: 52rem) { .hero h1 { font-size: 3rem; } h1 { font-size: 2rem; } }
.facts-row, .tiles, .flow, .facts-grid, ul.plain, ul.checks { list-style: none; padding: 0; margin: 1rem 0; }
.facts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 40rem) { .facts-row { grid-template-columns: repeat(4, 1fr); } }
.facts-row li { background: var(--ink); color: #fff; border-radius: var(--radius); padding: .7rem .8rem; display: grid; gap: .1rem; }
.facts-row span { font-size: .85rem; color: #cfd4d9; }
.tiles { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tiles li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; display: grid; gap: .25rem; align-content: start; font-size: .95rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tiles li:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #171f2718; border-color: var(--accent); }
.tiles strong { font-size: 1.02rem; line-height: 1.25; } .tiles li > span:last-child { color: var(--muted); }
.tile-n { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-weight: 800; border-radius: 6px; transform: skewX(-12deg); }
.flow { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); counter-reset: f; }
@media (min-width: 48rem) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { counter-increment: f; position: relative; background: var(--note-bg); border-radius: var(--radius); padding: .8rem .8rem .8rem 2.6rem; display: grid; gap: .1rem; font-size: .95rem; }
.flow li::before { content: counter(f); position: absolute; left: .8rem; top: .75rem; font-weight: 800; font-size: 1.3rem; color: var(--accent-dark); }
.flow span { color: var(--muted); }
details.more, details.acc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: .5rem 0; padding: 0 1rem; }
details.more > summary, details.acc > summary, .matrix-more > summary { min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; gap: .6rem; cursor: pointer; font-weight: 700; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details.more > summary::after, details.acc > summary::after, .matrix-more > summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent-dark); transition: transform .2s ease; flex: none; }
details[open].more > summary::after, details[open].acc > summary::after, .matrix-more[open] > summary::after { transform: rotate(45deg); }
details.acc[open], details.more[open] { padding-bottom: .8rem; border-color: #cfc9bd; }
.count { font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: auto; white-space: nowrap; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 36rem) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 60rem) { .facts-grid { grid-template-columns: repeat(6, 1fr); } }
.facts-grid li { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: .6rem .7rem; display: grid; gap: .15rem; }
.facts-grid li > span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
ul.checks li { position: relative; padding: .35rem 0 .35rem 1.8rem; border-bottom: 1px solid var(--line); }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: .3rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; background: var(--good-bg); color: var(--good); border-radius: 50%; font-size: .8rem; font-weight: 800; }
ul.plain li { padding: .6rem 0; border-top: 1px solid var(--line); }
.cols { grid-template-columns: 1fr; } @media (min-width: 52rem) { .cols { grid-template-columns: 1fr 1fr; } }
.table th { background: var(--note-bg); width: 34%; }

.matrix { margin: 1rem 0; }
.matrix-head { display: none; }
.matrix-row { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: .8rem 1rem .2rem; margin: .6rem 0; }
.matrix-path strong { display: block; font-size: 1.08rem; line-height: 1.25; } .matrix-path small, .matrix-head small { display: block; color: var(--muted); font-size: .85rem; }
.matrix-cell { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .5rem 0; }
.matrix-cell.empty { display: none; }
.pill { display: inline-flex; flex-direction: column; gap: .1rem; padding: .5rem .7rem; min-height: var(--tap); justify-content: center; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); font-weight: 700; font-size: .95rem; line-height: 1.25; text-decoration: none; color: var(--ink); flex: 1 1 12rem; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
a.pill:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #171f2718; }
.pill.ready { border-color: var(--ink); background: #fff; } .pill.soon { border-style: dashed; color: #3a4651; }
.pill-state { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pill.ready .pill-state { color: var(--good); } .pill.soon .pill-state { color: var(--muted); }
.matrix-more { border-top: 1px solid var(--line); margin-top: .4rem; } .matrix-more > summary { font-weight: 600; font-size: .95rem; color: var(--accent-dark); }
@media (min-width: 60rem) {
  .matrix-head, .matrix-row { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: .6rem; align-items: start; }
  .matrix-head { padding: 0 1rem .2rem calc(1rem + 5px); font-weight: 700; }
  .matrix-cell, .matrix-cell.empty { display: flex; margin: 0; } .matrix-cell .only-small { display: none; }
  .dash { color: #c9c3b8; padding: .6rem; } .pill { flex-basis: 100%; }
  .matrix-more { grid-column: 1 / -1; }
}
.toc { background: var(--note-bg); border-radius: var(--radius); padding: .7rem .9rem; margin: .6rem 0 1rem; }
.toc ul { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: .2rem .8rem; background: #fff; border: 1.5px solid var(--line); border-radius: 99px; text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--ink); }
.toc a:hover { border-color: var(--accent); }

/* ---------- rustig in beeld komen ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease var(--d, 0ms), transform .5s ease var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ================= Wes: getekend, meelopend figuurtje ================= */
main.wrap { padding-bottom: 8rem; }
.guide { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.guide.off { display: none; }
.guide-walker { position: absolute; bottom: 4px; left: 0; width: 80px; height: 100px; pointer-events: none; will-change: transform; }
.guide-fig { display: block; overflow: visible; transform: rotate(var(--lean, 0deg)); transform-origin: 50% 95%; }
.guide-toggle { font: inherit; font-size: .9rem; font-weight: 700; padding: .4rem .9rem; min-height: 44px; border-radius: 99px; border: 1.5px solid #ffffff66; background: transparent; color: #fff; cursor: pointer; }
.guide-fig g, .guide-fig path, .guide-fig ellipse { transform-box: fill-box; }
.g-leg { transform-origin: 50% 0; } .g-arm-l { transform-origin: 100% 0; } .g-arm-r { transform-origin: 0 50%; transform: rotate(62deg); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.g-top { transform-origin: 50% 100%; animation: wes-breathe 3s ease-in-out infinite; }
.g-eyes { transform-origin: 50% 50%; animation: wes-blink 4.2s infinite; } .g-pupils { transition: transform .12s ease-out; }
.g-shackle { transform-origin: 100% 100%; transition: transform .3s cubic-bezier(.3,1.8,.5,1); }
.g-oh, .g-flat, .g-spark, .g-q, .g-dust { opacity: 0; }
.g-brow { transition: transform .2s ease; }
/* lopen: tempo en helling volgen de snelheid */
.guide.walking .g-leg-l { animation: wes-step var(--pace, .36s) linear infinite; }
.guide.walking .g-leg-r { animation: wes-step var(--pace, .36s) linear infinite reverse; }
.guide.walking .g-arm-l { animation: wes-swing var(--pace, .36s) linear infinite; }
.guide.walking .g-top { animation: wes-bounce var(--pace, .36s) linear infinite; }
.guide.walking:not(.pointing) .g-arm-r { animation: wes-swing-r var(--pace, .36s) linear infinite; }
.guide.fast .g-smile { opacity: 0; } .guide.fast .g-oh { opacity: 1; } .guide.fast .g-brow { transform: translateY(-2px); }
.guide.puff .g-dust { animation: wes-dust .5s ease-out; }
/* aanwijzen */
.guide.pointing .g-brow { transform: translateY(-1.5px); }
.guide-arrow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.guide-arrow path { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: url(#wes-boil); }
.guide.arrow #guide-arrow-line { animation: wes-draw 1.7s ease-out; }
.guide.arrow #guide-arrow-head { animation: wes-draw-head 1.7s ease-out; }
/* reacties */
.guide.cheer .guide-walker, .guide.trick1 .guide-walker { animation: wes-jump .7s cubic-bezier(.3,.7,.4,1) 2; }
.guide.cheer .g-shackle { transform: rotate(38deg) translateY(-3px); } .guide.cheer .g-spark { animation: wes-spark .8s ease-out 2; }
.guide.cheer .g-smile { opacity: 0; } .guide.cheer .g-oh { opacity: 1; } .guide.cheer .g-arm-l { transform: rotate(120deg); } .guide.cheer .g-arm-r { transform: rotate(-70deg); }
.guide.oops .g-top { animation: wes-shake .5s linear 2; } .guide.oops .g-smile { opacity: 0; } .guide.oops .g-flat { opacity: 1; } .guide.oops .g-brow { transform: translateY(2px) rotate(-4deg); }
.guide.think .g-q { animation: wes-q 1.8s ease-out; } .guide.think .g-top { transform: rotate(-7deg); animation: none; } .guide.think .g-pupils { transform: translate(1.5px, -2.5px) !important; }
.guide.think .g-arm-r { transform: rotate(-120deg); }
.guide.trick2 .guide-fig { animation: wes-spin .9s cubic-bezier(.4,0,.2,1); }
.guide.trick3 .g-shackle { transform: rotate(38deg) translateY(-3px); } .guide.trick3 .g-top { animation: wes-squash .5s ease-in-out 2; }
@keyframes wes-step { 0%, 100% { transform: rotate(30deg); } 50% { transform: rotate(-30deg); } }
@keyframes wes-swing { 0%, 100% { transform: rotate(-26deg); } 50% { transform: rotate(26deg); } }
@keyframes wes-swing-r { 0%, 100% { transform: rotate(84deg); } 50% { transform: rotate(40deg); } }
@keyframes wes-bounce { 0%, 50%, 100% { transform: translateY(0); } 25%, 75% { transform: translateY(-3px); } }
@keyframes wes-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .975); } }
@keyframes wes-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes wes-jump { 0%, 100% { translate: 0 0; } 15% { translate: 0 4px; } 50% { translate: 0 -34px; } 85% { translate: 0 2px; } }
@keyframes wes-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes wes-squash { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12, .84); } }
@keyframes wes-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
@keyframes wes-spark { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes wes-q { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 20%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes wes-dust { 0% { opacity: .9; transform: translateX(0) scale(.6); } 100% { opacity: 0; transform: translateX(-10px) scale(1.3); } }
@keyframes wes-draw { 0% { stroke-dashoffset: 1; opacity: 1; } 35%, 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wes-draw-head { 0%, 30% { stroke-dashoffset: 1; opacity: 0; } 45%, 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .g-all { filter: none; } }
@media print { .guide { display: none; } }

/* ================= Rustiger en lichter: minder gewicht, zachte overgangen en licht ================= */
:root { --ink: #1b2530; --muted: #5d6975; --line: #ebe7e0; --shadow: 0 1px 2px #1b25300a, 0 8px 24px #1b253010; }
body { color: #2b3540; font-size: 1.03rem; line-height: 1.65; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.015em; }
h2 { font-size: 1.25rem; margin-top: 2.4rem; }
strong { font-weight: 600; }
.lead { color: var(--muted); font-size: 1.12rem; }
.top { position: sticky; top: 0; z-index: 15; background: #fdfcfad9; -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: #ebe7e0aa; }
.top nav a { font-weight: 500; }
.tabs { top: 3.6rem; }
.btn { font-weight: 600; border-width: 1.5px; border-radius: 12px; }
.btn.ghost { border-color: #cfc9bd; color: var(--ink); }
.card, .panel, .path, .exercise, .facts, .tiles li, .facts-grid li, .matrix-row, details.acc, details.more, .inbox, fieldset { border-color: var(--line); box-shadow: var(--shadow); }
.card, .facts-grid li { border-top-width: 1px; border-top-color: var(--line); }
.matrix-row { border-left-width: 1px; border-left-color: var(--line); position: relative; overflow: hidden; }
.matrix-row::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent), #fd613f33); }
.pill { border-width: 1px; font-weight: 600; } .pill.ready { border-color: #1b253055; }
.tile-n { background: var(--accent-soft); color: var(--accent-dark); transform: none; border-radius: 8px; font-weight: 700; }
.tiles strong, .matrix-path strong { font-weight: 600; }
.flow li { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); } .flow li::before { font-weight: 600; color: var(--accent); }
.objective { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); box-shadow: var(--shadow); }
.tabs button { border-width: 1.5px; font-weight: 600; }
.testbar { font-weight: 500; font-size: .82rem; }
.level { font-weight: 600; border-width: 1px; }
.foot { background: #1b2530; }

/* opening: veel lucht, weinig tekst, zacht bewegend licht */
.hero { position: relative; border-bottom: 0; padding: 3.2rem 0 2.2rem; margin-bottom: .5rem; text-align: left; isolation: isolate; }
.hero h1 { font-size: 2.3rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; max-width: 14ch; margin-bottom: .8rem; }
@media (min-width: 52rem) { .hero { padding: 5.5rem 0 3.5rem; } .hero h1 { font-size: 3.8rem; } }
.hero .actions { margin: 1.6rem 0 1.8rem; }
.facts-row { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; }
.facts-row li { background: none; color: var(--muted); padding: 0; border-radius: 0; display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; box-shadow: none; }
.facts-row li::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); }
.hero-light { position: absolute; inset: -3rem 0 -2rem; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 62% 42%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 70% 70% at 62% 42%, #000 25%, transparent 78%); }
.hero-light span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: glow-drift 18s ease-in-out infinite alternate; }
.hero-light span:nth-child(1) { width: 26rem; height: 26rem; left: 52%; top: -6rem; background: #fd613f40; }
.hero-light span:nth-child(2) { width: 22rem; height: 22rem; left: 38%; top: 6rem; background: #ffd9a855; animation-duration: 24s; animation-direction: alternate-reverse; }
.hero-light span:nth-child(3) { width: 20rem; height: 20rem; left: 62%; top: 8rem; background: #9fb8d640; animation-duration: 30s; }
@keyframes glow-drift { from { transform: translate3d(-6%, -4%, 0) scale(1); } to { transform: translate3d(8%, 6%, 0) scale(1.15); } }
.js .hero > :not(.hero-light) { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.js .hero > :nth-child(3) { animation-delay: .12s; } .js .hero > :nth-child(4) { animation-delay: .24s; } .js .hero > :nth-child(5) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* zachte in-fade en licht dat de aanwijzer volgt */
.js .reveal { transform: translateY(18px); filter: blur(4px); transition: opacity .8s ease var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), filter .8s ease var(--d, 0ms); }
.js .reveal.in { filter: none; }
.tiles li, .flow li, .facts-grid li, .matrix-row, .panel, .exercise, details.acc { background-image: radial-gradient(14rem circle at var(--mx, -20rem) var(--my, -20rem), #fd613f14, transparent 70%); }
.tiles li:hover { border-color: #fd613f66; box-shadow: 0 2px 4px #1b25300a, 0 14px 34px #1b253018; }
a.pill { position: relative; overflow: hidden; }
a.pill::after, .btn.accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, #ffffffb0 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s ease; pointer-events: none; }
a.pill:hover::after, .btn.accent:hover::after { transform: translateX(120%); }
.btn.accent { position: relative; overflow: hidden; }
@media (max-width: 52rem) { .top { position: static; } .tabs { top: 0; } }

/* ---------- logboek en hersteloefening ---------- */
.log { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; font-size: .93rem; }
.log-head { display: none; }
.log-row { border-top: 1px solid var(--line); } .log-row:first-of-type { border-top: 0; }
.log-line { display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem; padding: .6rem .7rem; min-height: var(--tap); cursor: pointer; font-weight: 400; align-items: start; }
.log-line:hover { background: var(--note-bg); }
.log-line input { grid-row: 1 / span 4; width: 1.35rem; height: 1.35rem; margin-top: .15rem; accent-color: var(--accent); }
.log-cell { grid-column: 2; overflow-wrap: anywhere; } .log-cell.c0 { font-family: ui-monospace, Consolas, monospace; color: var(--muted); font-size: .86rem; }
.log-cell.c1 { font-weight: 600; }
.log-row:has(input:checked) { background: var(--accent-soft); }
.log .fb { margin: 0 .7rem .6rem; }
@media (min-width: 52rem) {
  .log-head, .log-line { display: grid; grid-template-columns: 5.5rem 9rem 10rem 1fr; gap: .7rem; }
  .log-head { padding: .5rem .7rem; background: var(--note-bg); font-weight: 600; font-size: .85rem; }
  .log-line input { grid-row: auto; justify-self: center; } .log-cell { grid-column: auto; }
}
.timeline { list-style: none; padding: 0 0 0 1.1rem; margin: .6rem 0 1rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: .3rem 0 .3rem .6rem; }
.timeline li::before { content: ""; position: absolute; left: -1.5rem; top: .8rem; width: .6rem; height: .6rem; border-radius: 50%; background: #fff; border: 2px solid #b9b2a5; }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); }
.timeline strong { font-family: ui-monospace, Consolas, monospace; font-size: .88rem; font-weight: 600; }

/* ---------- optioneel: zachte tint per niveau (websitetekst level_tints = aan) ---------- */
.tints { --t1: #e6f4ea; --t2: #e6f0fa; --t3: #f0eaf8; --t4: #fdebe4; }
.tints .level { border-color: transparent; }
.tints .level.l1, .tints .pill.lv1, .tints .tiles li.lv1 { background-color: var(--t1); }
.tints .level.l2, .tints .pill.lv2, .tints .tiles li.lv2 { background-color: var(--t2); }
.tints .level.l3, .tints .pill.lv3, .tints .tiles li.lv3 { background-color: var(--t3); }
.tints .level.l4, .tints .pill.lv4, .tints .tiles li.lv4 { background-color: var(--t4); }
.tints .pill { border-color: transparent; } .tints .pill.soon { border: 1px dashed #1b253033; background-image: linear-gradient(#ffffff99, #ffffff99); }
.tints .pill .level, .tints .tiles li .level { background: #ffffffb0; }
.tints .level.l1 { color: #17603a; } .tints .level.l2 { color: #0b4f8c; } .tints .level.l3 { color: #6a3391; } .tints .level.l4 { color: #9a2f17; }

/* ---------- de weg van een verzoek ---------- */
.route { display: grid; gap: 1rem; } @media (min-width: 52rem) { .route { grid-template-columns: 1fr 1fr; align-items: start; } }
.route h3 { margin-top: 0; font-size: 1rem; }
.route-map { position: relative; display: grid; gap: .5rem; padding-left: 2rem; }
.route-map::before { content: ""; position: absolute; left: .7rem; top: .6rem; bottom: .6rem; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.route-dot { position: absolute; left: calc(.7rem - 8px); top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #fd613f2e, 0 0 18px #fd613f88; opacity: 0; transition: transform .5s cubic-bezier(.5,0,.2,1), opacity .2s ease; }
.route-dot.on { opacity: 1; } .route-dot.jump { transition: none; }
.route-node { display: grid; gap: .1rem; text-align: left; font: inherit; min-height: var(--tap); padding: .55rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); transition: border-color .2s ease, transform .15s ease, background-color .2s ease; }
.route-node span { color: var(--muted); font-size: .88rem; }
.route-node:hover { border-color: #fd613f88; } .route-node:active { transform: scale(.98); }
.route-node.here { border-color: var(--accent); background: var(--accent-soft); }
.route-steps { padding-left: 1.4rem; margin: .4rem 0; } .route-steps li { padding: .3rem 0; color: var(--muted); } .route-steps li.set { color: var(--ink); font-weight: 600; }

/* ---- animaties in lessen (anim.js) ---- */
.anim { margin: 1rem 0 1.6rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #fff, #faf8f4); box-shadow: 0 6px 24px -18px #171f2766; }
.anim figcaption { margin-bottom: .8rem; line-height: 1.4; }
.anim-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft); border-radius: 99px; padding: .1rem .55rem; margin-right: .3rem; }
.anim-fallback { margin: 0; padding-left: 1.2rem; }
.anim-heads { display: flex; }
.anim-actor { flex: 1 1 0; min-width: 0; text-align: center; padding: 0 .15rem; }
.anim-actor strong { display: inline-block; max-width: 100%; background: var(--ink); color: #fff; border-radius: 8px; padding: .3rem .4rem; font-size: .76rem; font-weight: 600; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.anim-actor span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.2; margin-top: .2rem; }
.anim-lanes { position: relative; padding: .6rem 0 .4rem; min-height: 4rem; }
.anim-lane { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed #d5cfc4; }
.anim-rows { position: relative; }
.anim-row { position: relative; height: 2.9rem; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.anim-row.on { opacity: .5; transform: none; }
.anim-row.now { opacity: 1; }
.anim-arrow { position: absolute; top: 0; height: 100%; }
.anim-label { position: absolute; top: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; font: 600 .78rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .05rem .4rem; z-index: 1; }
.anim-line { position: absolute; left: 0; right: 0; bottom: .7rem; height: 2px; background: var(--ink); transform-origin: left center; }
.anim-arrow.rtl .anim-line { transform-origin: right center; }
.anim-line::after { content: ""; position: absolute; top: -4px; border: 5px solid transparent; }
.anim-arrow.ltr .anim-line::after { right: -1px; border-left-color: var(--ink); border-right-width: 0; }
.anim-arrow.rtl .anim-line::after { left: -1px; border-right-color: var(--ink); border-left-width: 0; }
.anim-dot { position: absolute; bottom: calc(.7rem - 5px); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fd613f33, 0 0 14px #fd613f99; opacity: 0; }
.anim-arrow.ltr .anim-dot { left: 0; } .anim-arrow.rtl .anim-dot { left: 100%; }
.anim-row.go .anim-line { animation: anim-draw .9s ease both; }
.anim-row.go .anim-arrow.ltr .anim-dot { animation: anim-ltr 1.1s ease-in-out both; }
.anim-row.go .anim-arrow.rtl .anim-dot { animation: anim-rtl 1.1s ease-in-out both; }
@keyframes anim-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes anim-ltr { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes anim-rtl { 0% { left: 100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.anim-self.first { left: 0; transform: none; } .anim-self.last { right: 0; transform: none; }
.anim-row.go .anim-self.first, .anim-row.go .anim-self.last { animation: anim-fade .45s ease both; }
@keyframes anim-fade { from { opacity: .2; } to { opacity: 1; } }
.anim-self { position: absolute; top: .35rem; transform: translateX(-50%); max-width: 70%; text-align: center; font-size: .78rem; font-weight: 600; line-height: 1.25; background: var(--note-bg); border: 1px solid var(--line); border-radius: 8px; padding: .25rem .5rem; }
.anim-row.go .anim-self { animation: anim-pop .45s ease both; }
@keyframes anim-pop { from { transform: translateX(-50%) scale(.85); } to { transform: translateX(-50%) scale(1); } }
.anim-row.bad .anim-line { background: var(--bad); } .anim-row.bad .anim-arrow.ltr .anim-line::after { border-left-color: var(--bad); } .anim-row.bad .anim-arrow.rtl .anim-line::after { border-right-color: var(--bad); }
.anim-row.bad .anim-label, .anim-row.bad .anim-self { border-color: var(--bad); color: var(--bad); background: #fdecea; }
.anim-row.ok .anim-line { background: var(--good); } .anim-row.ok .anim-arrow.ltr .anim-line::after { border-left-color: var(--good); } .anim-row.ok .anim-arrow.rtl .anim-line::after { border-right-color: var(--good); }
.anim-row.ok .anim-label, .anim-row.ok .anim-self { border-color: var(--good); color: var(--good); background: #e9f7ee; }
.anim-caption { min-height: 3.2em; margin: .6rem 0; padding: .6rem .8rem; border-radius: 8px; background: var(--note-bg); border-left: 4px solid var(--ink); font-size: .98rem; line-height: 1.45; }
.anim-caption.bad { border-left-color: var(--bad); } .anim-caption.ok { border-left-color: var(--good); }
.anim-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.anim-bar .btn { margin: 0; } .anim-bar .btn[disabled] { opacity: .45; }
.anim-count { margin-left: auto; }

/* ---- open opdrachten en beoordelen ---- */
.table-wrap { overflow-x: auto; }
.table { border-collapse: collapse; width: 100%; }
.table.rubric thead { display: none; }
.table.rubric tr, .table.rubric th, .table.rubric td { display: block; border: 0; padding: 0; }
.table.rubric tr { padding: .6rem 0; border-top: 1px solid var(--line); }
.table.rubric th { font-weight: 700; margin-bottom: .25rem; }
.table.rubric td p { margin: 0 0 .3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rubric-crit { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; margin: 0; }
.rubric-crit /* De vraag staat ín het kader in plaats van op de rand: bij een vraag van meerdere regels liep de rand
   anders dwars door de tekst. */
legend { font-weight: 700; padding: 0; float: left; width: 100%; margin: 0 0 .5rem; }
legend + * { clear: both; }
.exercise textarea { width: 100%; font: inherit; line-height: 1.5; }

/* Voorstel van het AI-model in het beoordelingsscherm: duidelijk te onderscheiden van de eigen keuze. */
.ai-reden { border-left: 3px solid var(--accent); padding: .1rem 0 .1rem .6rem; margin: .4rem 0; }
.rubric-hint { margin: .3rem 0; }
