/* IA-KI – ruhige, gut lesbare Kurs-Website für Pensionierte.
   Layout: eine Spalte mit breiten Bändern, grosse Schrift (21 px), grosse Knöpfe, eine Hauptaktion pro Bereich.
   Bewusst nur ein helles Erscheinungsbild: hoher Kontrast, vertraut für ältere Augen. */

@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/fraunces-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  /* Farbe */
  --bg: #FAF7F2;          /* warmes Papierweiss */
  --surface: #FFFFFF;
  --ink: #1F2A2E;         /* Text, fast schwarz mit Petrol-Stich */
  --ink-soft: #46524F;    /* Nebentext, Kontrast > 7:1 */
  --line: #E3DCD0;
  --teal: #0F5E63;        /* Hauptfarbe */
  --teal-dark: #0A4245;
  --teal-soft: #E6F0EF;
  --orange: #9A4613;      /* Geschenk, Modul 4 – auf Weiss lesbar */
  --orange-line: #B4541A;
  --orange-soft: #FCEBDB;
  --orange-ink: #3D1E08;
  --danger: #A12C1C;
  --success-soft: #E5F2E4;
  --night: #1F2A2E;
  /* Schrift */
  --font-body: "Atkinson Hyperlegible", Verdana, "DejaVu Sans", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --fs-body: 1.3125rem;   /* 21 px */
  --fs-small: 1.1875rem;  /* 19 px – kleinste Schrift auf der Seite */
  --fs-lead: 1.5rem;
  --fs-h3: 1.625rem;
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.2vw, 3.625rem);
  --radius: 18px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 4px solid #E8955A; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.18; overflow-wrap: break-word; hyphens: auto; }
h1, h2.display { font-family: var(--font-display); font-weight: 600; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h2.display { font-size: var(--fs-h2); }
h2.plain, h3 { font-size: var(--fs-h3); font-family: var(--font-body); font-weight: 700; }
p { margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: #2E3A3E; max-width: 40ch; }
.muted { color: var(--ink-soft); font-size: var(--fs-small); }
.eyebrow { font-weight: 700; color: var(--teal); font-size: 1.25rem; }
.prose { overflow-wrap: break-word; hyphens: auto; max-width: 66ch; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: 1.75rem; font-family: var(--font-body); margin-top: 1.25rem; }
.prose h3 { font-size: 1.375rem; margin-top: 0.5rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 0.4rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 50; }
.skip:focus { left: var(--gutter-l); }

/* Breite und Bänder */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap.narrow { max-width: 960px; }
.band { padding-block: clamp(56px, 7vw, 96px); }
.band.white { background: var(--surface); border-block: 2px solid var(--line); }
.band.gift { background: var(--orange-soft); }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.5rem; }
.row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* Kopfzeile */
.site-header { background: var(--surface); border-bottom: 2px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 16px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; color: var(--teal); letter-spacing: 0.02em; }
.brand-sub { font-size: 1.125rem; color: var(--ink-soft); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 1.25rem; }
.main-nav a { color: var(--ink); padding: 8px 2px; min-height: 48px; display: inline-flex; align-items: center; }
.main-nav a[aria-current="page"] { color: var(--teal); font-weight: 700; text-decoration-thickness: 3px; }
.header-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.lang { display: flex; align-items: center; gap: 0; font-weight: 700; font-size: 1.1875rem; }
.lang button { background: none; border: 0; font: inherit; color: var(--ink-soft); padding: 8px 7px; min-height: 48px; min-width: 40px; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.lang .sep { color: #8A9295; }
.help-pill { text-decoration: none; display: flex; align-items: center; gap: 10px; background: var(--teal-soft); color: var(--teal-dark); padding: 8px 16px; border-radius: 14px; min-height: 48px; line-height: 1.3; }
.help-pill strong { font-size: 1.1875rem; }
.help-pill .hours { font-size: 1.0625rem; }
.help-pill svg { flex: none; }
.account-link { font-weight: 700; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: inherit; font-size: 1.375rem; font-weight: 700; line-height: 1.25; text-align: center;
  padding: 16px 30px; min-height: 64px; border-radius: 16px; cursor: pointer;
  background: var(--teal); color: #fff; border: 3px solid var(--teal); text-decoration: none;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.secondary { background: var(--surface); color: var(--teal); }
.btn.secondary:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn.gift { background: var(--orange); border-color: var(--orange); }
.btn.gift:hover { background: #7D380E; border-color: #7D380E; }
.btn.small { font-size: 1.25rem; padding: 10px 22px; min-height: 56px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn svg { flex: none; }

/* Karten nur dort, wo ein Ding für sich steht */
.card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.card.selected, .card.teal { border: 3px solid var(--teal); }
.card.warm { background: var(--orange-soft); border-color: var(--orange-line); }
.note { background: var(--teal-soft); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; }
.note.warm { background: var(--orange-soft); color: var(--orange-ink); }
.note.ok { background: var(--success-soft); }
.note.error { background: #FBE4E0; color: #5C1309; }
.note svg { flex: none; margin-top: 4px; }
.demo-bar { background: #FFF6D6; border-bottom: 2px solid #E9D48A; font-size: 1.0625rem; }
.demo-bar .wrap { padding-block: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.demo-bar button { font: inherit; font-weight: 700; background: none; border: 0; color: var(--teal-dark); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
.lang-note { background: var(--teal-soft); }
.lang-note .wrap { padding-block: 12px; font-size: var(--fs-small); }

/* Startseite */
.hero { padding-block: clamp(48px, 7vw, 88px); }
.hero .stack { gap: 1.6rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--night); border-radius: 22px; overflow: hidden; }
.video-frame video, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-btn { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: #fff; color: var(--teal-dark); font: inherit; font-size: 1.1875rem; font-weight: 700; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.video-replay { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(15, 25, 27, 0.45); color: #fff; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; font: inherit; font-size: 1.375rem; font-weight: 700; cursor: pointer; }
.video-replay .disc { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.video-replay .label { background: #fff; color: var(--ink); padding: 8px 18px; border-radius: 12px; }
.ai-label { position: absolute; right: 14px; top: 14px; background: rgba(15, 23, 25, .85); color: #fff; font-size: 1rem; padding: 5px 12px; border-radius: 8px; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.trust > div { display: flex; flex-direction: column; gap: 10px; }
.module-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.module-grid li { display: flex; flex-direction: column; gap: 6px; }
.module-grid .tag { font-weight: 700; font-size: 1.125rem; color: var(--ink-soft); }
.module-grid .open .tag { color: var(--teal); }
.module-grid .warm .tag { color: var(--orange); }
.module-grid strong { font-size: 1.5rem; }
.voucher-visual { aspect-ratio: 4 / 3; max-width: 100%; background: var(--surface); border: 3px dashed var(--orange-line); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.voucher-visual b { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--orange); }
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
details.q { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 4px 24px; }
details.q summary { font-size: 1.375rem; font-weight: 700; min-height: 64px; display: flex; align-items: center; cursor: pointer; list-style: none; gap: 14px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::before { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1; }
details.q[open] summary::before { content: "–"; }
details.q > p { padding: 0 0 18px 48px; }

/* Kursübersicht */
.course-list { display: flex; flex-direction: column; gap: 18px; }
.course-item { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.course-item .num { flex: none; width: 68px; height: 68px; border-radius: 50%; background: #F1ECE4; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; font-size: 1.875rem; font-weight: 700; }
.course-item.is-open .num { background: var(--teal); color: #fff; }
.course-item .body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.course-item .status { font-size: 1.1875rem; font-weight: 700; color: var(--ink-soft); }
.course-item.is-open .status { color: var(--teal); }
.course-item.card.warm .status { color: var(--orange); }
.course-item .act { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.course-item .price { font-size: 1.75rem; font-weight: 700; }
.pkg { background: var(--teal); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.pkg .btn { background: #fff; color: var(--teal-dark); border-color: #fff; }
.pkg .btn:hover { background: var(--teal-soft); }
.pkg p { color: #E1EFEE; }
.sheet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); gap: 18px; }
.sheet { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.sheet .paper { aspect-ratio: 210 / 297; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 2px 6px rgba(31, 42, 46, .08); }
.sheet .paper i { display: block; height: 7px; background: #E9E4DB; border-radius: 4px; }
.sheet .paper i.h { height: 14px; width: 70%; background: var(--teal); opacity: .85; }
.sheet .paper i.s { width: 60%; }
.sheet.locked .paper { filter: grayscale(1); opacity: .6; }

/* Modulseite */
.player-layout { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.player-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lesson-aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.player { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--night); border-radius: 22px; overflow: hidden; color: #fff; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .pending { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: linear-gradient(160deg, #24363A, #1F2A2E); }
.player .pending .disc { width: 88px; height: 88px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.player .pending p { max-width: 30ch; font-size: 1.25rem; }
.progress { height: 12px; background: var(--line); border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--teal); width: 0; transition: width .3s; }
.lessons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lessons button { width: 100%; text-align: left; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 14px; border: 2px solid transparent; background: var(--surface); font: inherit; font-size: 1.25rem; color: var(--ink); cursor: pointer; }
.lessons button[aria-current="step"] { background: var(--teal-soft); border-color: var(--teal); }
.lessons .tick { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #8A9295; display: flex; align-items: center; justify-content: center; font-size: 1.0625rem; font-weight: 700; color: var(--ink-soft); }
.lessons .done .tick { background: var(--teal); border-color: var(--teal); color: #fff; }
.lessons small { display: block; font-size: 1.0625rem; color: var(--ink-soft); }
.locked-panel { text-align: left; }

/* Formulare */
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
legend { font-size: 1.75rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.choice { display: flex; align-items: center; gap: 20px; cursor: pointer; min-height: 72px; }
.choice input { flex: none; width: 30px; height: 30px; accent-color: var(--teal); margin: 0; }
.choice .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice .txt strong { font-size: 1.5rem; }
.choice .amt { font-size: 1.625rem; font-weight: 700; white-space: nowrap; }
.choice:has(input:checked) { border: 3px solid var(--teal); background: var(--teal-soft); }
.choice.gift-choice:has(input:checked) { border-color: var(--orange-line); background: var(--orange-soft); }
.choice.gift-choice input { accent-color: var(--orange); }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.field label { font-weight: 700; }
input[type="email"], input[type="text"], select, textarea {
  font: inherit; font-size: 1.375rem; min-height: 60px; padding: 10px 16px; width: 100%;
  border: 2px solid #5B6764; border-radius: 12px; background: #fff; color: var(--ink);
}
input.code { text-transform: uppercase; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.field .hint { font-size: var(--fs-small); color: var(--ink-soft); }
.field .err { color: var(--danger); font-weight: 700; }
.checkline { display: flex; gap: 14px; align-items: flex-start; font-size: 1.1875rem; }
.checkline input { width: 28px; height: 28px; flex: none; margin-top: 2px; accent-color: var(--teal); }
.total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.total strong { font-size: 2.5rem; font-variant-numeric: tabular-nums; }

/* Hilfe */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.contact-grid .phone { background: var(--teal); color: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-grid .phone .big { font-size: 2.25rem; font-weight: 700; letter-spacing: 0.02em; }
.contact-grid .phone .btn { background: #fff; color: var(--teal-dark); border-color: #fff; align-self: flex-start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(s); width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.625rem; font-weight: 700; }

/* Gutschein zum Drucken */
.voucher-print { overflow-wrap: anywhere; background: #fff; border: 3px solid var(--orange-line); border-radius: 22px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.voucher-print .code { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem); font-weight: 700; letter-spacing: 0.08em; max-width: 100%; overflow-wrap: anywhere; background: var(--orange-soft); border-radius: 12px; padding: 12px 18px; align-self: flex-start; font-variant-numeric: tabular-nums; color: var(--orange-ink); }
.voucher-print h1 { color: var(--orange); }

/* Fusszeile */
.site-footer { background: var(--night); color: #F2EEE7; font-size: 1.1875rem; }
.site-footer .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer a { color: #F2EEE7; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer .brand-mark { color: #F2EEE7; font-size: 1.875rem; }

@media (max-width: 720px) {
  .brand-sub { display: none; }
  .site-header .wrap { gap: 6px 16px; padding-block: 10px; }
  .main-nav { gap: 0 18px; font-size: 1.1875rem; width: 100%; }
  .main-nav a { min-height: 44px; }
  .header-tools { width: 100%; justify-content: space-between; gap: 6px 10px; }
  .lang button { padding: 6px 5px; min-width: 34px; min-height: 44px; }
  .help-pill { padding: 6px 12px; min-height: 44px; }
  .help-pill br, .help-pill .hours { display: none; }
  .demo-bar { font-size: 1rem; }
  .demo-bar .wrap { padding-block: 6px; }
  .hero { padding-block: 32px 48px; }
  .choice { flex-wrap: wrap; gap: 6px 16px; }
  .choice .txt { flex: 1 1 calc(100% - 50px); }
  .choice .amt { margin-left: 46px; }
  .course-item .act { align-items: flex-start; }
  details.q > p { padding-left: 0; }
  .btn { width: 100%; }
  .row .btn { width: auto; flex: 1 1 260px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .demo-bar, .lang-note, .no-print { display: none !important; }
  body { background: #fff; }
  .voucher-print { border-width: 2px; }
}

/* Untertitel im Kursvideo: gross und kontrastreich */
video::cue { font-family: var(--font-body); font-size: 1.35em; line-height: 1.35; background: rgba(15, 23, 25, 0.82); color: #fff; }

/* Merkblatt-Ansicht */
.sheet-tools{gap:.75rem;flex-wrap:wrap}
#sheet-pages{display:flex;flex-direction:column;gap:1.5rem;align-items:center}
.sheet-page{width:100%;max-width:820px;height:auto;background:#fff;border-radius:10px;box-shadow:0 2px 14px rgba(31,42,46,.14)}
@media print{
  .site-header,.site-footer,.skip,.lang-note,.no-print{display:none!important}
  .band{padding:0!important} .sheet-page{max-width:none;box-shadow:none;border-radius:0;break-after:page}
}

/* Schrift grösser: ganze Seite und Untertitel */
html.gross { font-size: 118.75%; }
html.gross video::cue { font-size: 1.75em; }

/* Kursübersicht: Vorschau weiterer Module, Zertifikat */
.course-item.soon { background: var(--paper, #fff); opacity: .92; }
.course-item.soon .num { color: var(--ink-soft); }
.soon-list { margin: .4rem 0 0; padding-left: 1.2em; display: grid; gap: .25rem; }
.soon-line { margin-top: .5rem; }
.cert-card { flex-direction: column; align-items: flex-start; gap: .6rem; }
.lessons li.locked .tick { background: var(--teal-soft, #E6F0EF); color: var(--ink-soft); }
.lessons li.locked strong { color: var(--ink-soft); }

/* Zertifikat: Vorschau (HTML) und Druck */
.cert-preview-band { padding-top: 0; }
.cert-sheet { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 297 / 210; background: #FAF7F2; border: 3px solid #0F5E63;
  outline: 1px solid #0F5E63; outline-offset: -12px; padding: clamp(18px, 4.5%, 46px) clamp(20px, 6%, 60px); color: #1F2A2E;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(2px, .8vw, 8px); font-size: clamp(9px, 1.6vw, 16px); box-shadow: 0 2px 14px rgba(31,42,46,.12); }
.cert-sheet .cs-top { width: 100%; display: flex; justify-content: space-between; align-items: baseline; }
.cert-sheet .cs-brand { font-family: var(--font-display); color: #0F5E63; font-size: 1.7em; }
.cert-sheet .cs-mod { font-weight: 700; color: #0F5E63; }
.cert-sheet .cs-tag { align-self: flex-start; color: #46524F; font-size: .75em; margin-top: -.4em; }
.cert-sheet .cs-title { font-family: var(--font-display); color: #0F5E63; font-size: 3.2em; line-height: 1.05; margin: .2em 0 0; }
.cert-sheet .cs-name { font-family: var(--font-display); font-size: 2.4em; line-height: 1.15; border-bottom: 1.5px solid #0F5E63; padding: 0 1em .1em; margin: 0; overflow-wrap: anywhere; }
.cert-sheet p { margin: 0; max-width: 40em; }
.cert-sheet .cs-lh { font-weight: 700; color: #0F5E63; text-transform: uppercase; letter-spacing: .06em; font-size: .7em; margin-top: .4em; }
.cert-sheet .cs-lessons { columns: 2; column-gap: 2.5em; text-align: left; margin: 0; padding-left: 1.4em; font-size: .8em; }
.cert-sheet .cs-foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: .8em; color: #46524F; }
.cert-sheet .cs-foot strong { color: #0F5E63; }
.cert-sheet .cs-seal { width: 6.2em; height: 6.2em; border-radius: 50%; background: #0F5E63; color: #FAF7F2; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 .4em #0F5E63, inset 0 0 0 .5em #FAF7F2; }
.cert-sheet .cs-seal b { font-family: var(--font-display); font-size: 1.3em; font-weight: 600; }
.cert-sheet .cs-seal small { font-size: .7em; font-weight: 700; }
@media print {
  @page { size: A4 landscape; margin: 8mm; }
  body[data-page="zertifikat"] main > .band:not(.cert-preview-band) { display: none !important; }
  body[data-page="zertifikat"] .cert-preview-band { display: block !important; padding: 0 !important; }
  body[data-page="zertifikat"] .cert-sheet { box-shadow: none; max-width: none; width: 100%; font-size: 15px; }
}

/* Stimmen von Teilnehmenden */
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.voice { margin: 0; }
.voice blockquote { margin: 0; font-size: var(--fs-lead); line-height: 1.5; }
.voice figcaption { margin-top: 10px; color: var(--ink-soft); font-weight: 700; }
.voice .stars { color: #C77D1E; font-size: 1.5rem; letter-spacing: .1em; }
.voice .stars .off { color: #D9D2C5; }
