/* ============================================================
   CGR-CORE.CSS  —  Gedeelde basisstijlen voor alle CGR Kennisquiz modules
   iDoctor
   Versie: 2026-09-09  —  iDoctor huisstijl
   ============================================================ */

/* ── Google Fonts: Domine (koppen) + Barlow (tekst) ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Domine:wght@400;700&display=swap');

/* ── CSS-variabelen (iDoctor palet) ─────────────────────────── */
:root {
  /* Primaire kleuren */
  --navy:   #3F4E55;   /* iDoctor Grijsblauw  – professioneel & betrouwbaar */
  --navy2:  #2D393D;   /* Donker grijsblauw   – hover/dieper */
  --turq:   #3FB498;   /* iDoctor Zeegroen    – medisch & betrokken */
  --turq2:  #2E9980;   /* Donker zeegroen     – hover/dieper */
  --orange: #EC6608;   /* iDoctor Oranje      – energie & CTA */
  --orange2:#C8560A;   /* Donker oranje       – hover */

  /* Button/accent aliassen (eerder --warm) */
  --warm:   #EC6608;   /* Oranje CTA buttons */
  --warm2:  #C8560A;   /* Oranje hover */

  /* Achtergronden */
  --mint:   #EEF7F4;   /* Licht zeegroen tint */
  --sand:   #F5F7F7;   /* Licht grijs-blauw tint */
  --bg:     #3FB498;

  /* Basis */
  --white:  #ffffff;
  --text:   #2D393D;   /* Donker grijsblauw als tekstkleur */
  --text2:  #6b7c85;   /* Medium grijs-blauw */
  --green:  #2E9980;
  --red:    #d94f4f;
  --gray:   #e2e9eb;
}

/* ── Reset & basis ─────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Barlow', 'Segoe UI', sans-serif;
  background: #EDF1F3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78' viewBox='0 0 90 78'%3E%3Cpolygon points='45,2 88,24 88,54 45,76 2,54 2,24' fill='none' stroke='%233F4E55' stroke-width='1.5' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 90px 78px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 16px;
  color: var(--text);
}

.card {
  width: 100%;
  max-width: 500px;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 90vh;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

/* ── Schermen ──────────────────────────────────────────────── */
.screen { display: none; }
.screen.active { display: block; }

/* ── Animaties ─────────────────────────────────────────────── */
.option {
  opacity: 0;
  animation: optionIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.option:nth-child(1) { animation-delay: 0.08s; }
.option:nth-child(2) { animation-delay: 0.16s; }
.option:nth-child(3) { animation-delay: 0.24s; }
.option:nth-child(4) { animation-delay: 0.32s; }
@keyframes optionIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feedback.show {
  display: block;
  animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scherm 1: Intro ───────────────────────────────────────── */
.inner { padding: 52px 32px 44px; text-align: center; }

.avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--sand);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 3px solid rgba(63,180,152,0.25);
}
.avatar-inner { font-size: 48px; line-height: 1; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--turq2); margin-bottom: 12px;
}

.intro-title {
  font-family: 'Domine', Georgia, serif;
  font-size: 32px; color: var(--navy); margin-bottom: 8px;
}

.intro-sub {
  font-size: 16px; color: var(--text2); line-height: 1.5; margin-bottom: 28px;
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.pill {
  background: var(--mint); color: var(--navy);
  padding: 8px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(63,180,152,0.2);
}

.btn-start {
  background: var(--orange); color: var(--white);
  border: none; border-radius: 14px;
  padding: 16px 64px; font-size: 16px; font-weight: 700;
  letter-spacing: 2px; cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: background 0.2s, transform 0.15s;
}
.btn-start:hover { background: var(--orange2); transform: translateY(-1px); }

/* ── Scherm 2: Tussenscherm (Story) ───────────────────────── */
.story-image {
  width: 100%; aspect-ratio: 16/9;
  background: var(--navy2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.story-emoji { font-size: 72px; }
.story-image--img { background: var(--navy2); }
.story-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.story-image--video { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--navy2); }
.story-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Lottie animatie ────────────────────────────────────── */
.story-image--lottie { background: var(--mint); }
.lottie-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lottie-wrap svg { width: 100% !important; height: 100% !important; }
.lottie-fallback { font-size: 72px; transition: opacity 0.3s; }

.video-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); cursor: pointer; z-index: 2;
  transition: opacity 0.3s;
}
.video-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 28px; height: 28px; fill: var(--white); margin-left: 3px; }

.story-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(45,57,61,0.7));
  color: white; padding: 32px 24px 16px;
  font-size: 16px; font-weight: 500; line-height: 1.45; text-align: center;
}

.story-body {
  padding: 28px 24px 32px; text-align: center;
  background: var(--sand);
}
.story-text {
  font-size: 16px; color: var(--text); line-height: 1.6; margin-bottom: 24px;
}
.btn-story-next {
  background: var(--orange); color: var(--white);
  border: none; border-radius: 14px;
  padding: 14px 48px; font-size: 15px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: background 0.2s, transform 0.15s;
}
.btn-story-next:hover { background: var(--orange2); transform: translateY(-1px); }

/* ── Scherm 3: Vraag ───────────────────────────────────────── */
.q-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 24px 22px; border-bottom: 1px solid var(--gray);
}
.q-eyebrow { font-size: 13px; font-weight: 700; color: var(--turq2); text-transform: uppercase; letter-spacing: 1.2px; }
.q-topic { font-family: 'Domine', Georgia, serif; font-size: 22px; color: var(--navy); margin-top: 4px; }

.timer-wrap {
  position: relative; display: flex; align-items: center; justify-content: flex-end;
  margin: -4px -8px -4px 0;
}
.timer-box {
  position: relative; width: 56px; height: 56px;
  transition: opacity 0.3s;
}
.timer-box.hidden { opacity: 0; pointer-events: none; }
.timer-num {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 22px; font-weight: 700; color: var(--turq);
  z-index: 2; transition: color 0.3s;
}
.timer-num.warn { color: #e8a320; }
.timer-num.danger { color: var(--red); }
.timer-progress {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px;
  transform: rotate(-90deg);
}
.t-track { fill: none; stroke: var(--gray); stroke-width: 4; opacity: 0.2; }
.t-arc {
  fill: none; stroke: var(--turq); stroke-width: 4;
  stroke-dasharray: 163; stroke-dashoffset: 0;
  stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke 0.3s;
}
.t-arc.warn { stroke: #e8a320; }
.t-arc.danger { stroke: var(--red); }

.q-header-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.header-score { text-align: center; min-width: 36px; }
.hs-label { font-size: 10px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; }
.hs-num { font-size: 22px; font-weight: 700; color: var(--text2); line-height: 1.2; }
.hs-num.high { color: var(--green); }

.q-body { padding: 20px 24px 28px; }

.q-sit {
  background: var(--mint); border-radius: 12px;
  padding: 14px 18px; font-style: italic;
  font-size: 14px; color: var(--navy); line-height: 1.55;
  margin-bottom: 16px;
  border-left: 3px solid var(--turq);
}
.q-sit:empty { display: none; }

.q-text {
  font-family: 'Domine', Georgia, serif;
  font-size: 20px; color: var(--navy); line-height: 1.4; margin-bottom: 16px;
}

.colleague-hint {
  font-size: 12px; color: var(--text2); margin-bottom: 8px;
  opacity: 0; transition: opacity 0.3s;
}
.colleague-hint.show { opacity: 1; }

.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.option {
  position: relative; display: flex; align-items: center;
  padding: 14px 16px; border-radius: 12px;
  border: 2px solid var(--gray); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.option:hover { border-color: var(--navy); }
.option.selected { border-color: var(--navy); background: rgba(63,78,85,0.04); }
.option.correct { border-color: var(--green); background: rgba(63,180,152,0.08); }
.option.wrong   { border-color: var(--red); background: rgba(217,79,79,0.08); }
.option.disabled { pointer-events: none; }

.opt-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--gray); opacity: 0.25;
  transition: width 0.6s ease;
  border-radius: 10px 0 0 10px;
}

.opt-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gray); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--navy);
  margin-right: 12px; flex-shrink: 0;
  position: relative; z-index: 1;
  transition: background 0.3s, color 0.3s;
}
.option.correct .opt-dot { background: var(--green); color: var(--white); }
.option.wrong .opt-dot   { background: var(--red); color: var(--white); }

.opt-text { flex: 1; font-size: 15px; color: var(--text); line-height: 1.4; position: relative; z-index: 1; }

.opt-pct {
  font-size: 13px; font-weight: 700; color: var(--text2);
  margin-left: 10px; opacity: 0; transition: opacity 0.3s;
  position: relative; z-index: 1;
}
.opt-pct.show { opacity: 1; }

/* ── Feedback ──────────────────────────────────────────────── */
.feedback { display: none; margin-bottom: 16px; }
.feedback.show { display: block; }

.fb-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--turq2); margin-bottom: 6px;
}
.fb-text { font-size: 15px; color: var(--text); line-height: 1.55; margin-bottom: 16px; }

.fb-donut-wrap {
  background: var(--sand); border-radius: 16px; padding: 20px;
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
}
.donut-container { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.donut-container svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.donut-bg { fill: none; stroke: var(--gray); stroke-width: 6; }
.donut-arc {
  fill: none; stroke: var(--turq); stroke-width: 6;
  stroke-dasharray: 251.3; stroke-dashoffset: 251.3;
  stroke-linecap: round; transition: stroke-dashoffset 1s ease;
}
.donut-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center;
}
.donut-pct { font-size: 18px; font-weight: 700; color: var(--navy); }
.donut-sub { font-size: 10px; color: var(--text2); }
.donut-caption { font-size: 14px; color: var(--text2); line-height: 1.4; }

.fb-ref { font-size: 12px; color: var(--text2); font-style: italic; }

.btn-next {
  width: 100%; padding: 16px;
  background: var(--orange); color: var(--white);
  border: none; border-radius: 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; transition: background 0.2s, transform 0.15s, opacity 0.4s;
}
.btn-next:hover { background: var(--orange2); transform: translateY(-1px); }
.btn-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── Scherm 4: Resultaat ───────────────────────────────────── */
.result-top {
  display: flex; justify-content: center; gap: 24px;
  padding: 36px 24px 24px; background: var(--sand);
  position: relative;
}
/* Hexagon decoratie in result header */
.result-top::before {
  content: '';
  position: absolute;
  top: 8px; right: 12px;
  width: 60px; height: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpolygon points='30,1 59,17 59,35 30,51 1,35 1,17' fill='none' stroke='%233F4E55' stroke-width='1.5' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
}
.res-donut { position: relative; width: 120px; height: 120px; }
.res-donut svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.rd-bg { fill: none; stroke: var(--gray); stroke-width: 6; }
.rd-arc {
  fill: none; stroke-width: 7;
  stroke-dasharray: 282.7; stroke-dashoffset: 282.7;
  stroke-linecap: round; transition: stroke-dashoffset 1.2s ease;
}
.rd-mine { stroke: var(--turq); }
.rd-avg  { stroke: var(--navy); }
.rd-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  text-align: center;
}
.rd-label { font-size: 11px; color: var(--text2); font-weight: 500; }
.rd-num { font-size: 22px; font-weight: 700; color: var(--navy); }
.avg-c { color: var(--navy); }

.result-body { padding: 24px 24px 36px; text-align: center; }

.res-congrats {
  font-family: 'Domine', Georgia, serif;
  font-size: 26px; color: var(--navy); margin-bottom: 6px;
}
.res-msg { font-size: 15px; color: var(--text2); line-height: 1.5; margin-bottom: 24px; }

.res-score-strip {
  display: flex; justify-content: center; gap: 32px;
  margin-bottom: 28px; padding: 16px 0;
  border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray);
}
.rss-item { text-align: center; }
.rss-num { font-size: 24px; font-weight: 700; color: var(--navy); }
.rss-lbl { font-size: 12px; color: var(--text2); }

.share-block { margin-bottom: 28px; }
.share-title { font-family: 'Domine', Georgia, serif; font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.share-sub { font-size: 14px; color: var(--text2); margin-bottom: 14px; line-height: 1.5; }
.share-label { font-size: 14px; font-weight: 600; color: var(--turq2); margin-bottom: 10px; }
.share-row { display: flex; justify-content: center; gap: 16px; }
.share-btn {
  width: 56px; height: 56px; border-radius: 50%;
  border: none; background: var(--turq2);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.share-btn:hover { background: var(--navy); transform: scale(1.08); }
.share-btn svg { width: 24px; height: 24px; fill: var(--white); }

.lead-block {
  background: var(--mint); border-radius: 16px;
  padding: 24px 20px; text-align: left;
  border: 1px solid rgba(63,180,152,0.2);
}
.lead-icon { font-size: 28px; margin-bottom: 8px; }
.lead-title { font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.lead-sub { font-size: 14px; color: var(--text2); margin-bottom: 16px; }

.cb-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.4;
  margin-bottom: 10px; cursor: pointer;
}
.cb-row input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0; accent-color: var(--turq);
  width: 16px; height: 16px;
}
.cb-row a { color: var(--turq2); text-decoration: underline; font-weight: 600; }

.email-input {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray);
  border-radius: 10px; font-size: 15px; font-family: 'Barlow', sans-serif;
  margin-top: 6px; margin-bottom: 12px; outline: none;
  transition: border-color 0.2s;
}
.email-input:focus { border-color: var(--turq); }

.btn-send {
  width: 100%; padding: 14px; background: var(--navy);
  color: var(--white); border: none; border-radius: 12px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; transition: background 0.2s;
}
.btn-send:hover { background: var(--navy2); }

.lead-confirm {
  display: none; margin-top: 12px; padding: 12px;
  background: rgba(63,180,152,0.12); border-radius: 10px;
  color: var(--green); font-weight: 500; font-size: 14px; text-align: center;
}
.lead-confirm.show { display: block; animation: fadeIn 0.3s ease; }

/* ── Score popup ───────────────────────────────────────────── */
#score-popup {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 200px; height: 200px;
  background: var(--white); border-radius: 50%;
  border: 6px solid var(--turq);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; z-index: 1000; opacity: 0; pointer-events: none;
  box-shadow: 0 12px 60px rgba(0,0,0,0.35);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}
#score-popup.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }
#score-popup.wrong { background: var(--white); border-color: var(--red); }
#score-popup.wrong .popup-pts { color: var(--red); }
.popup-plus { font-size: 11px; font-weight: 700; color: var(--turq2); text-transform: uppercase; letter-spacing: 2px; }
#score-popup.wrong .popup-plus { color: var(--red); }
.popup-pts  { font-size: 56px; font-weight: 700; color: var(--navy); margin: -2px 0 -4px; line-height: 1; }
#score-popup.wrong .popup-pts { color: var(--red); }
.popup-label { font-size: 16px; color: var(--text2); font-weight: 500; }
#score-popup.wrong .popup-label { color: var(--red); }
.popup-total { display: none; }

/* ── Wave footer ───────────────────────────────────────────── */
.card-wave { width: 100%; height: 90px; display: block; margin-top: auto; }
.card { display: flex; flex-direction: column; }
.screen.active { flex: 1; display: flex; flex-direction: column; }
.screen.active > .inner,
.screen.active > .result-body { flex: 1; }
#s-question.active { display: flex; flex-direction: column; }
#s-question .q-body { flex: 1; }

/* ── Navigatieknoppen ──────────────────────────────────────── */
.btn-leerpad {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: transparent; color: var(--navy2);
  border: 2px solid var(--gray); border-radius: 14px;
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 16px;
}
.btn-leerpad:hover { background: var(--mint); border-color: var(--turq); }

.result-nav {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px;
}
.result-nav .btn-leerpad { flex: 1 1 120px; margin-top: 0; min-width: 0; }
.btn-next-module {
  flex: 1.5 1 160px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; min-width: 0;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 14px;
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.btn-next-module:hover { background: var(--navy2); }

/* ── Review-sectie ─────────────────────────────────────────── */
.review-toggle-wrap {
  flex: 0 0 100%; width: 100%;
  padding: 6px 0 0;
}
.btn-review-toggle {
  width: 100%; padding: 13px 20px;
  background: var(--mint); color: var(--navy);
  border: 2px solid var(--turq); border-radius: 12px;
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-review-toggle:hover { background: #d5ede8; }
#review-list { padding: 12px 0 8px; }
.rev-item {
  background: var(--white); border: 1px solid var(--gray);
  border-radius: 14px; padding: 18px 16px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rev-item.rev-ok  { border-left: 4px solid var(--green); }
.rev-item.rev-err { border-left: 4px solid #d94f4f; }
.rev-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; margin-bottom: 8px;
}
.rev-badge.ok  { background: #d4f5ec; color: var(--green); }
.rev-badge.err { background: #fde8e8; color: #d94f4f; }
.rev-q   { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.45; }
.rev-sit { font-size: 12px; color: var(--text2); font-style: italic; margin-bottom: 8px; line-height: 1.4; }
.rev-opt {
  font-size: 12px; padding: 7px 12px; border-radius: 8px;
  margin-bottom: 5px; line-height: 1.4;
}
.rev-opt.opt-correct  { background: #d4f5ec; color: #1a6b55; font-weight: 600; }
.rev-opt.opt-wrong    { background: #fde8e8; color: #8b2020; text-decoration: line-through; }
.rev-opt.opt-neutral  { background: var(--mint); color: var(--text); }
.rev-fb {
  font-size: 12px; color: var(--text2); line-height: 1.55;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gray);
}
.rev-ref { font-size: 12px; color: var(--turq2); margin-top: 4px; }

/* ── Module 7: Uiting-preview kader ───────────────────────── */
.uiting-preview {
  border: 2px solid var(--gray);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.uiting-header {
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.uiting-header::before { content: '📄'; font-size: 14px; }
.uiting-body {
  padding: 16px 18px;
  font-size: 14px; line-height: 1.6;
  color: var(--text); background: #fafbfc;
  white-space: pre-line;
}
.uiting-tag {
  display: inline-block;
  background: #fff3cd; color: #856404;
  border: 1px solid #ffc107; border-radius: 6px;
  padding: 2px 8px; font-size: 11px; font-weight: 700;
  margin-bottom: 8px;
}
.q-label {
  font-size: 13px; font-weight: 700;
  color: var(--turq2); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 6px;
}

/* ── Responsive: kleine telefoons (< 380px) ───────────────── */
@media (max-width: 380px) {
  body { padding: 8px 0; }
  .card { border-radius: 16px; }
  .inner { padding: 36px 18px 30px; }
  .avatar { width: 80px; height: 80px; }
  .avatar-inner { font-size: 36px; }
  .intro-title { font-size: 26px; }
  .intro-sub { font-size: 14px; margin-bottom: 22px; }
  .btn-start { padding: 14px 36px; font-size: 15px; }
  .story-emoji { font-size: 56px; }
  .story-body { padding: 18px 16px 22px; }
  .story-text { font-size: 15px; }
  .btn-story-next { padding: 12px 28px; font-size: 14px; }
  .q-header { padding: 18px 16px 14px; }
  .q-body { padding: 14px 16px 20px; }
  .q-text { font-size: 18px; }
  .q-sit { font-size: 13px; padding: 12px 14px; }
  .opt-text { font-size: 14px; }
  .option { padding: 12px 12px; }
  .opt-dot { width: 26px; height: 26px; font-size: 12px; margin-right: 10px; }
  .btn-next { padding: 14px; font-size: 14px; }
  .tf-mode .option { padding: 16px 8px; }
  .tf-mode .opt-dot { width: 32px; height: 32px; font-size: 17px; }
  .tf-mode .opt-text { font-size: 15px; }
  .result-top { gap: 12px; padding: 20px 12px 16px; }
  .res-donut { width: 100px; height: 100px; }
  .res-donut svg { width: 100px; height: 100px; }
  .rd-num { font-size: 18px; }
  .result-body { padding: 16px 16px 24px; }
  .res-congrats { font-size: 21px; }
  .res-score-strip { gap: 16px; }
  .rss-num { font-size: 20px; }
  .lead-block { padding: 16px 14px; }
  .share-btn { width: 48px; height: 48px; }
  .result-nav { flex-direction: column; }
  .result-nav .btn-leerpad,
  .btn-next-module { flex: none; width: 100%; }
  .review-toggle-wrap { padding: 4px 0 0; }
}

/* ── Responsive: tablet en desktop (≥ 768px) ──────────────── */
@media (min-width: 768px) {
  body { padding: 32px 24px 60px; }
  .card { max-width: 620px; border-radius: 28px; }
  .inner { padding: 64px 48px 56px; }
  .avatar { width: 116px; height: 116px; }
  .avatar-inner { font-size: 54px; }
  .intro-title { font-size: 36px; }
  .intro-sub { font-size: 17px; }
  .btn-start { padding: 18px 72px; font-size: 17px; }
  .story-emoji { font-size: 88px; }
  .story-body { padding: 36px 36px 44px; }
  .story-text { font-size: 17px; }
  .btn-story-next { padding: 16px 56px; font-size: 16px; }
  .q-header { padding: 32px 32px 26px; }
  .q-body { padding: 24px 32px 36px; }
  .q-text { font-size: 22px; }
  .q-sit { font-size: 15px; }
  .opt-text { font-size: 16px; }
  .option { padding: 16px 20px; }
  .opt-dot { width: 34px; height: 34px; font-size: 14px; margin-right: 14px; }
  .btn-next { padding: 18px; font-size: 16px; }
  .tf-mode .option { padding: 26px 16px; }
  .tf-mode .opt-dot { width: 42px; height: 42px; font-size: 22px; }
  .tf-mode .opt-text { font-size: 19px; }
  .result-top { padding: 48px 36px 36px; gap: 40px; }
  .res-donut { width: 140px; height: 140px; }
  .res-donut svg { width: 140px; height: 140px; }
  .rd-num { font-size: 26px; }
  .rd-label { font-size: 12px; }
  .result-body { padding: 28px 36px 48px; }
  .res-congrats { font-size: 30px; }
  .rss-num { font-size: 28px; }
  .lead-block { padding: 28px 24px; }
}
