/* ==========================================================================
   GAT – ICAO-Sprachprüfung · Design-System
   Ruhig, technisch, vertrauenswürdig. Eine Akzentfarbe (Türkis) für Aktionen.
   Keine Webfonts (Systemschriften) → schnell, kein Layout-Shift, DSGVO-freundlich.
   ========================================================================== */

:root {
  /* Farben */
  --ink: #0b1220;
  --ink-2: #334155;
  --ink-3: #56657a;
  --navy-950: #061426;
  --navy-900: #0a1d33;
  --navy-800: #0f2a47;
  --navy-700: #183a5f;
  --navy-600: #24507f;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-soft-2: #eef3f8;
  --accent: #1cc7b4;
  --accent-hover: #3ddcc9;
  --accent-ink: #062a2a;
  --accent-strong: #0b7f73;
  --accent-soft: #e5f8f5;
  --on-dark: #e8eef6;
  --on-dark-2: #a9b8cc;
  --gold: #f5b72e;
  --warn-bg: #fff8eb;
  --warn-line: #f3d9a4;
  --warn-ink: #7a4b00;
  --ok: #0f7a4f;
  --ok-bg: #e8f7ef;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --focus: #0b7f73;
  --focus-dark: #7ff0e2;

  /* Typografie */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-h1: clamp(2.05rem, 1.35rem + 3vw, 3.45rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem);
  --fs-h3: clamp(1.18rem, 1.08rem + 0.45vw, 1.4rem);
  --lh: 1.65;

  /* Maße */
  --container: 1180px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --section-y: clamp(4rem, 2.8rem + 5vw, 6.5rem);
  --header-h: 68px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 1px rgba(11, 18, 32, 0.04);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.18), 0 2px 6px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(6, 20, 38, 0.45);

  color-scheme: light;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga";
}
img, svg, video { max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 750; letter-spacing: -0.02em; color: inherit; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.07; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
a { color: var(--accent-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 700; }
small { font-size: var(--fs-small); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 0.2em; cursor: help; }
.num, .tnum { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-dark); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--accent-ink); padding: 0.75rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(3rem, 2.4rem + 3vw, 4.5rem); }
.section--dark { background: var(--navy-950); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--border { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lead { font-size: 1.125em; color: var(--ink-2); margin-bottom: 0; }
.section-lead + p { margin-top: 1rem; }
.section--dark .section-lead { color: var(--on-dark-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-strong); margin: 0 0 0.9rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--accent); }
.grid { display: grid; gap: clamp(1rem, 0.7rem + 1.2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse > :first-child { order: 2; }
  .split--center { align-items: center; }
}
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.nowrap { white-space: nowrap; }

/* ---------- Icons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 1em; height: 1em; }
.i--lg { width: 1.6em; height: 1.6em; }
.icon-tile {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-strong); flex: none;
}
.icon-tile .i { width: 24px; height: 24px; }
.section--dark .icon-tile { background: rgba(28, 199, 180, 0.12); color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.8rem 1.35rem;
  font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: 12px;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 1.15em; height: 1.15em; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); box-shadow: 0 8px 22px -10px rgba(28, 199, 180, 0.75); }
.btn--primary:hover { --btn-bg: var(--accent-hover); }
.btn--dark { --btn-bg: var(--navy-900); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--navy-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bd: var(--navy-900); --btn-bg: #fff; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, 0.06); }
.btn--lg { min-height: 58px; padding: 0.95rem 1.6rem; font-size: 1.125rem; border-radius: 14px; }
.btn--sm { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.975rem; border-radius: 10px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .i { width: 1em; height: 1em; transition: transform 0.15s ease; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 20, 38, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: #fff; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.2rem; letter-spacing: 0.02em; }
.brand-text span { font-size: 0.78rem; color: var(--on-dark-2); letter-spacing: 0.01em; margin-top: 3px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.main-nav li + li { margin-top: 0; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.8rem; border-radius: 8px;
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 0.975rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.07); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
}
.lang-switch:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.lang-hint { background: var(--accent-soft); color: var(--ink); font-size: var(--fs-small); border-bottom: 1px solid #bfeee7; }
.lang-hint .container { display: flex; align-items: center; justify-content: center; gap: 0.25rem 0.75rem; min-height: 40px; padding-block: 0.3rem; flex-wrap: wrap; text-align: center; }
@media (max-width: 520px) { .lang-hint { font-size: 0.85rem; } }
.lang-hint a { font-weight: 700; }
.lang-hint__close { border: 0; background: transparent; font-size: 1.4rem; line-height: 1; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; color: var(--ink-2); }
.lang-hint__close:hover { background: rgba(0, 0, 0, 0.06); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent; color: #fff; cursor: pointer; place-items: center; padding: 0;
}
.nav-toggle .i { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem var(--gutter) 1rem; display: none;
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.6);
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { width: 100%; min-height: 48px; font-size: 1.05rem; }
  .header-actions .btn { padding-inline: 0.85rem; }
}
.header-actions .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .brand-text span { display: none; }
  .header-actions .btn { font-size: 0.95rem; padding-inline: 0.85rem; }
}
@media (max-width: 340px) {
  .brand-text { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(28, 199, 180, 0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(36, 80, 127, 0.45), transparent 60%),
    var(--navy-950);
  color: var(--on-dark);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.55; pointer-events: none; }
.hero-bg svg { position: absolute; right: -10%; top: -20%; width: 900px; height: auto; max-width: none; }
.hero-grid { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.25rem + 2.7vw, 3.3rem); }
.hero h1 .h1-accent { color: var(--accent); }
.hero h1 .accent { color: var(--accent); }
.hero-lead { font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--on-dark); max-width: 38em; margin-bottom: 1.5rem; }
.hero-facts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-facts li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem; border-radius: 999px;
  font-size: 0.93rem; font-weight: 600; line-height: 1.3;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
}
.chip .i { width: 1.05em; height: 1.05em; color: var(--accent); }
.chip--light { background: #fff; border-color: var(--line); color: var(--ink); }
.chip--light .i { color: var(--accent-strong); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--on-dark-2); display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 0.35rem; }
.hero-note .i { color: var(--accent); width: 1em; height: 1em; }
.rating-inline {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--on-dark); text-decoration: none; font-size: var(--fs-small);
}
.rating-inline:hover { color: #fff; text-decoration: underline; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)); }
@media (max-width: 999px) { .hero-visual { max-width: 560px; margin-inline: auto; } }
@media (max-width: 560px) { .hero h1 { max-width: none; } .hero-cta .btn { width: 100%; } }

/* Unterseiten-Hero */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(28, 199, 180, 0.13), transparent 60%),
    var(--navy-950);
  color: var(--on-dark);
  padding-block: clamp(2.25rem, 1.6rem + 3vw, 4rem) clamp(2.5rem, 1.8rem + 3vw, 4rem);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); max-width: 22ch; }
.page-hero .lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--on-dark); max-width: 44em; margin-bottom: 1.25rem; }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero .hero-facts { margin-bottom: 0; }

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-small); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark-2); }
.breadcrumbs li + li::before { content: "/"; color: rgba(255, 255, 255, 0.3); }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Karten ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card--soft { background: var(--bg-soft); box-shadow: none; }
.card--dark { background: var(--navy-900); border-color: rgba(255, 255, 255, 0.08); color: var(--on-dark); box-shadow: none; }
.card--dark h3 { color: #fff; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature h3 { font-size: 1.125rem; margin-bottom: 0.3rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.section--dark .feature p { color: var(--on-dark-2); }

/* Faktenliste (Behörde, Prüfstelle …) */
.facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts > div { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 1rem; padding: 0.95rem 1.2rem; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { font-weight: 600; color: var(--ink-3); font-size: var(--fs-small); }
.facts dd { margin: 0; font-weight: 600; }
.facts dd small { display: block; font-weight: 400; color: var(--ink-3); margin-top: 0.15rem; }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 0.15rem; } }

/* Hinweis-Boxen */
.callout {
  display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid #bfeee7; color: var(--ink);
}
.callout .i { color: var(--accent-strong); margin-top: 0.2rem; }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.5rem; }
.callout--warn { background: var(--warn-bg); border-color: var(--warn-line); }
.callout--warn .i { color: #b26a00; }
.callout--plain { background: var(--bg-soft); border-color: var(--line); }

/* ---------- Anerkennung / Länderauswahl ---------- */
.country-picker { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.country-picker__head { padding: 1.25rem 1.5rem 0; }
.country-picker__label { font-weight: 700; margin: 0 0 0.75rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.tab {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink);
  font: inherit; font-size: 0.98rem; font-weight: 600; cursor: pointer;
}
.tab:hover { border-color: var(--navy-700); }
.tab[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tab .flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.tabpanel { padding: 1.5rem; }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: 1.2rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li + li { margin-top: 0.55rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.section--dark .checklist li::before, .card--dark .checklist li::before { background-color: rgba(28, 199, 180, 0.15); }
.checklist--x li::before {
  background: #f1f4f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356657a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* ---------- Angebot / Preiskarten ---------- */
.offers { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm);
}
.offer--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.offer__badge {
  position: absolute; top: -0.85rem; left: 1.5rem; padding: 0.3rem 0.75rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.offer__kicker { font-size: var(--fs-small); font-weight: 700; color: var(--accent-strong); margin: 0 0 0.25rem; }
.offer h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.offer__desc { color: var(--ink-2); font-size: 1rem; margin-bottom: 1.1rem; }
.price { display: flex; align-items: baseline; gap: 0.35rem; margin: 0 0 0.2rem; }
.price__amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__cur { font-size: 1.4rem; font-weight: 700; }
.price__old { color: var(--ink-3); text-decoration: line-through; font-size: 1.05rem; margin-left: 0.35rem; }
.price__note { font-size: var(--fs-xs); color: var(--ink-3); margin: 0 0 1.25rem; }
.offer .checklist { font-size: 0.98rem; margin-bottom: 1.5rem; }
.offer__cta { margin-top: auto; }
.offer__meta { font-size: var(--fs-xs); color: var(--ink-3); text-align: center; margin: 0.65rem 0 0; }

/* ---------- Level-Karten ---------- */
.levels { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.level {
  position: relative; border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
}
.level__num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1rem;
  font-size: 1.6rem; font-weight: 800; background: var(--bg-soft-2); color: var(--navy-900);
}
.level--5 .level__num { background: #dff3f6; color: #0a5f6b; }
.level--6 .level__num { background: var(--navy-900); color: var(--accent); }
.level__name { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.2rem; }
.level h3 { margin-bottom: 0.75rem; }
.level__validity {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border-radius: 12px; background: var(--bg-soft);
  font-weight: 700; margin-bottom: 1rem;
}
.level__validity .i { color: var(--accent-strong); }
.level p { color: var(--ink-2); font-size: 1rem; }
.level .link-arrow { margin-top: auto; }
.level-bars { display: flex; gap: 4px; align-items: flex-end; height: 22px; position: absolute; right: 1.5rem; top: 1.9rem; }
.level-bars span { width: 7px; border-radius: 2px; background: var(--line-2); }
.level-bars span:nth-child(1) { height: 30%; } .level-bars span:nth-child(2) { height: 45%; } .level-bars span:nth-child(3) { height: 60%; }
.level-bars span:nth-child(4) { height: 72%; } .level-bars span:nth-child(5) { height: 86%; } .level-bars span:nth-child(6) { height: 100%; }
.level-bars .on { background: var(--accent); }

/* Vergleich Level-4-only vs. 4–6 */
.compare { display: grid; gap: 1rem; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; background: #fff; border: 1px solid var(--line); }
.compare__col--hl { border: 2px solid var(--accent); }
.compare__col h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: 1.2rem; }
.compare__col h3 span { font-size: 1.05rem; color: var(--ink-3); font-weight: 700; white-space: nowrap; }

/* Kosten pro Jahr */
.per-year { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 1.25rem; }
.per-year div { border-radius: 14px; padding: 1rem 1.1rem; background: var(--bg-soft); }
.per-year strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.per-year span { font-size: var(--fs-small); color: var(--ink-3); }

/* ---------- Ablauf / Schritte ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps > li { margin: 0; position: relative; counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.25rem 1.3rem; }
.section--soft .steps > li { box-shadow: var(--shadow-sm); }
.steps > li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 0.9rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.steps p { margin: 0; font-size: 0.98rem; color: var(--ink-2); }
.steps .i { position: absolute; right: 1.25rem; top: 1.5rem; color: var(--accent-strong); width: 26px; height: 26px; }

/* Prüfungsteile (Timeline) */
.parts { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .parts { grid-template-columns: 1fr 1fr; } }
.part { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.part__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--navy-900); color: #fff; }
.part__head h3 { margin: 0; font-size: 1.15rem; color: #fff; }
.part__head .tag { font-size: var(--fs-xs); font-weight: 700; padding: 0.3rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--on-dark); white-space: nowrap; }
.part__body { padding: 1.25rem 1.4rem 1.4rem; }
.part__list { list-style: none; padding: 0; margin: 0; }
.part__list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.85rem; padding: 0.85rem 0; border-top: 1px dashed var(--line); }
.part__list li:first-child { border-top: 0; padding-top: 0.2rem; }
.part__list .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.part__list .icon-tile .i { width: 20px; height: 20px; }
.part__list strong { display: block; }
.part__list span { color: var(--ink-2); font-size: 0.98rem; }

/* Bewertungskriterien */
.criteria { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.criterion { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; background: #fff; }
.criterion b { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-strong); }
.criterion strong { display: block; font-size: 1.05rem; margin: 0.15rem 0 0.25rem; }
.criterion p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }

/* ---------- Beispiel-Teaser / Medien ---------- */
.media-card { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.media-card img { display: block; width: 100%; height: auto; }
.media-card figcaption { padding: 0.9rem 1.2rem; font-size: var(--fs-small); color: var(--ink-3); border-top: 1px solid var(--line); }
.media-card svg { width: 100%; height: auto; }

/* ---------- Erklärfilm (SVG-Animation) ---------- */
.explainer { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-lg); color: #fff; }
.explainer__stage { position: relative; aspect-ratio: 16 / 9; }
.explainer__stage > svg { width: 100%; height: 100%; }
.explainer .scene { opacity: 0; transition: opacity 0.6s ease; }
.explainer .scene.is-active { opacity: 1; }
.explainer__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(6, 20, 38, 0.92)); font-weight: 600; font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem); min-height: 4.5rem;
}
.explainer__controls { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.explainer__btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); flex: none;
}
.explainer__btn .i { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.explainer__btn .i-pause { display: none; }
.explainer.is-playing .explainer__btn .i-play { display: none; }
.explainer.is-playing .explainer__btn .i-pause { display: block; }
.explainer__progress { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.explainer__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.1s linear; }
.explainer__time { font-size: var(--fs-xs); color: var(--on-dark-2); font-variant-numeric: tabular-nums; min-width: 4.5em; text-align: right; }
.explainer__play-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 20, 38, 0.35); border: 0; cursor: pointer; color: #fff; font: inherit;
}
.explainer__play-overlay span { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.3rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
.explainer__play-overlay .i { fill: currentColor; stroke: none; }
.explainer.has-started .explainer__play-overlay { display: none; }
/* Animationen innerhalb der Szenen (laufen nur in der aktiven Szene) */
.explainer .ex-select { fill: #d6f5f0; transition: fill 0.35s ease; }
.explainer .ex-select--2 { fill: #f4f7fa; }
.explainer.has-started .scene.is-active .ex-select--1 { fill: #1cc7b4; transition-delay: 1.2s; }
.explainer.has-started .scene.is-active .ex-select--2 { fill: #1cc7b4; transition-delay: 3s; }
.explainer .ex-cursor { transform: translate(-510px, 42px); }
.explainer.has-started .scene.is-active .ex-cursor { animation: ex-cursor 3.4s ease-in-out both; }
@keyframes ex-cursor {
  0% { transform: translate(-560px, 110px); }
  30%, 45% { transform: translate(-510px, 42px); }
  85%, 100% { transform: translate(0, 0); }
}
.explainer .ex-slide { opacity: 0; transform: translateX(28px); transition: opacity 0.5s ease, transform 0.5s ease; }
.explainer .scene.is-active .ex-slide { opacity: 1; transform: none; }
.explainer .scene.is-active .ex-d1 { transition-delay: 0.3s; }
.explainer .scene.is-active .ex-d2 { transition-delay: 1.1s; }
.explainer .scene.is-active .ex-d3 { transition-delay: 1.9s; }
.explainer .ex-pop { opacity: 0; transform: scale(0.85); transform-box: fill-box; transform-origin: center; transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.explainer .scene.is-active .ex-pop { opacity: 1; transform: none; transition-delay: 0.8s; }
.explainer .ex-wave rect { transform-box: fill-box; transform-origin: center; transform: scaleY(0.45); }
.explainer.is-playing .scene.is-active .ex-wave rect { animation: ex-wave 0.9s ease-in-out infinite; }
.explainer .ex-wave rect:nth-child(2n) { animation-delay: -0.35s; }
.explainer .ex-wave rect:nth-child(3n) { animation-delay: -0.6s; }
.explainer .ex-wave rect:nth-child(5n) { animation-delay: -0.15s; }
@keyframes ex-wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.explainer.has-started:not(.is-playing) .scene * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .explainer *, .explainer .scene { transition: none !important; animation: none !important; }
  .explainer .ex-cursor { transform: none; }
}

/* ---------- Prüfer ---------- */
.people { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.person { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.person__photo { aspect-ratio: 5 / 4; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); position: relative; overflow: hidden; }
.person__photo img, .person__photo svg { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.person__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.person__role { font-size: var(--fs-small); font-weight: 700; color: var(--accent-strong); margin: 0 0 0.2rem; }
.person h3 { margin-bottom: 0.6rem; }
.person .checklist { font-size: 0.97rem; margin-bottom: 0; }
.person__quote { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.97rem; color: var(--ink-2); font-style: italic; }

/* ---------- Bewertungen ---------- */
.rating-summary { display: grid; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
@media (min-width: 820px) { .rating-summary { grid-template-columns: auto 1fr auto; } }
.rating-score { display: flex; align-items: center; gap: 1rem; }
.rating-score__num { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rating-score .stars svg { width: 22px; height: 22px; }
.rating-bars { display: grid; gap: 0.35rem; font-size: var(--fs-small); }
.rating-bars div { display: grid; grid-template-columns: 4.2em 1fr 3em; align-items: center; gap: 0.6rem; }
.rating-bars i { display: block; height: 8px; border-radius: 8px; background: var(--bg-soft-2); overflow: hidden; }
.rating-bars i b { display: block; height: 100%; background: var(--gold); border-radius: 8px; }
.rating-bars span:last-child { text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.awards { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.testimonials { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; margin: 0; }
.testimonial blockquote { margin: 0.75rem 0 1.25rem; font-size: 1.02rem; color: var(--ink); }
.testimonial blockquote p { margin: 0; }
.testimonial blockquote p + p { margin-top: 0.6rem; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 0.8rem; }
.avatar {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--navy-900); color: var(--accent); font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
}
.testimonial figcaption strong { display: block; line-height: 1.25; }
.testimonial figcaption span { font-size: var(--fs-xs); color: var(--ink-3); }
.testimonial .src { font-size: var(--fs-xs); color: var(--ink-3); }
.quotes-mini { display: grid; gap: 0.75rem; margin-top: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.quotes-mini figure { margin: 0; padding: 1rem 1.15rem; border-radius: 14px; background: var(--bg-soft); font-size: 0.97rem; }
.quotes-mini blockquote { margin: 0; }
.quotes-mini figcaption { margin-top: 0.4rem; font-size: var(--fs-xs); color: var(--ink-3); }

/* ---------- Preise (Details) ---------- */
.price-details { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .price-details { grid-template-columns: repeat(3, 1fr); } }
.surcharge { width: 100%; font-size: 0.97rem; }
.surcharge th, .surcharge td { text-align: left; padding: 0.55rem 0.4rem; border-top: 1px solid var(--line); vertical-align: top; }
.surcharge thead th { border-top: 0; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.surcharge td:not(:first-child), .surcharge th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.pay-methods li { margin: 0; padding: 0.35rem 0.7rem; border-radius: 8px; border: 1px solid var(--line); font-size: 0.93rem; font-weight: 600; background: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; cursor: pointer; font-weight: 700; font-size: 1.05rem; line-height: 1.4; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1d33' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--bg-soft); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--ink-2); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 1rem; }

/* ---------- Abschluss-CTA ---------- */
.final-cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(28, 199, 180, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-950));
  color: var(--on-dark); padding: clamp(2rem, 1.2rem + 3.5vw, 3.75rem);
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) { .final-cta { grid-template-columns: 1.2fr 0.8fr; } }
.final-cta h2 { color: #fff; margin-bottom: 0.75rem; }
.final-cta p { color: var(--on-dark-2); }
.final-cta__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.final-cta__facts li { margin: 0; display: flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 600; }
.final-cta__facts .i { color: var(--accent); }
.final-cta__box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 1.5rem; }
.final-cta__price { font-size: 0.95rem; color: var(--on-dark-2); margin: 0 0 1rem; }
.final-cta__price strong { display: block; color: #fff; font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding-block: 3.5rem 2rem; font-size: 0.97rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer address { font-style: normal; margin-top: 1rem; line-height: 1.7; }
.final-cta a:not(.btn), .page-hero a:not(.btn), .section--dark a:not(.btn), .summary__card a:not(.btn), .aside-card--dark a:not(.btn) { color: var(--accent); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: 0.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 30em; }
.footer-trust { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 1rem; }
@media (min-width: 760px) { .footer-trust { grid-template-columns: 1fr auto; align-items: center; } }
.footer-trust p { margin: 0; font-size: var(--fs-small); }
.footer-bottom { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: var(--fs-small); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom li + li { margin-top: 0; }

/* ---------- Sticky-CTA (mobil) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(11, 18, 32, 0.25);
  transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.sticky-cta.is-visible { transform: translateY(0); visibility: visible; transition: transform 0.25s ease, visibility 0s; }
.sticky-cta__info { font-size: 0.85rem; line-height: 1.3; color: var(--ink-3); }
.sticky-cta__info strong { display: block; color: var(--ink); font-size: 1rem; }
.sticky-cta .btn { margin-left: auto; min-height: 48px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- Artikel / Unterseiten ---------- */
.article-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.95rem); margin-top: 2.6rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose .callout, .prose .card, .prose .table-wrap, .prose figure { margin-block: 1.5rem; }
.prose > ul, .prose > ol { padding-left: 1.3em; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: var(--fs-small); color: var(--ink-3); margin-top: 0.6rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; font-size: 0.97rem; }
.table th, .table td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.table thead th { border-top: 0; background: var(--bg-soft); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.table td strong { color: var(--ink); }
@media (max-width: 640px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; border-top: 1px solid var(--line); padding: 0.6rem 0; }
  .table--stack tr:first-child { border-top: 0; }
  .table--stack td { display: grid; grid-template-columns: 42% 1fr; gap: 0.75rem; border: 0; padding: 0.35rem 1rem; }
  .table--stack td::before { content: attr(data-label); font-weight: 700; color: var(--ink-3); font-size: var(--fs-small); }
}
.aside { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: 1rem; }
@media (max-width: 1039px) { .aside { position: static; } }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; background: #fff; box-shadow: var(--shadow-sm); }
.aside-card h2, .aside-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.aside-card p { font-size: 0.97rem; color: var(--ink-2); }
.aside-card .btn { width: 100%; }
.aside-card--dark { background: var(--navy-900); color: var(--on-dark); border-color: transparent; }
.aside-card--dark h2, .aside-card--dark h3 { color: #fff; }
.aside-card--dark p { color: var(--on-dark-2); }
.toc ol { list-style: none; padding: 0; margin: 0; font-size: 0.97rem; }
.toc li + li { margin-top: 0.45rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent-strong); text-decoration: underline; }
.related { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700;
}
.related a:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
.related .i { color: var(--accent-strong); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; font-size: var(--fs-small); color: var(--on-dark-2); }
.byline strong { color: #fff; }
.byline span { display: inline; }
.byline .i { color: var(--accent); }
.byline__avatar { display: inline-block; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.25); vertical-align: middle; margin-right: 0.5rem; }
.byline .i { display: inline-block; vertical-align: -0.15em; margin-right: 0.35rem; }
.photo-wide { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft-2); }
.photo-wide img { display: block; width: 100%; height: auto; }
.photo-wide figcaption { padding: 0.8rem 1.2rem; font-size: var(--fs-small); color: var(--ink-3); background: #fff; border-top: 1px solid var(--line); }

/* Rechtstexte */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; }
.legal address { font-style: normal; }

/* ---------- Buchungsseite ---------- */
.booking { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (min-width: 1000px) { .booking { grid-template-columns: minmax(0, 1fr) 360px; } }
.progress { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1.75rem; flex-wrap: wrap; }
.progress li { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.93rem; font-weight: 600; color: var(--ink-3); }
.progress li + li::before { content: ""; width: 22px; height: 2px; background: var(--line-2); border-radius: 2px; }
.progress b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft-2); color: var(--ink-3); font-size: 0.85rem; }
.progress .is-current { color: var(--ink); }
.progress .is-current b { background: var(--navy-900); color: #fff; }
.progress .is-done b { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 560px) {
  .progress { gap: 0.35rem; }
  .progress li + li::before { width: 12px; }
  .progress li:not(.is-current) .progress__label { display: none; }
}
.choice-list { display: grid; gap: 0.75rem; border: 0; padding: 0; margin: 0; }
.choice-list legend { font-weight: 800; font-size: 1.2rem; margin-bottom: 0.9rem; padding: 0; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 0.9rem; align-items: start;
  padding: 1.1rem 1.2rem; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.choice__radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); margin-top: 0.15rem; display: grid; place-items: center; }
.choice__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.choice input:checked + .choice__box { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(28, 199, 180, 0.2); }
.choice input:checked + .choice__box .choice__radio { border-color: var(--accent-strong); }
.choice input:checked + .choice__box .choice__radio::after { background: var(--accent-strong); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice__title { font-weight: 800; font-size: 1.08rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.choice__title .badge { font-size: var(--fs-xs); font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.choice__desc { font-size: 0.95rem; color: var(--ink-2); margin: 0.2rem 0 0; }
.choice__price { font-weight: 800; font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.choice__price small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); text-align: right; }
.calendar-slot { margin-top: 1.75rem; }
.calendar-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.calendar-frame iframe { display: block; width: 100%; height: 1150px; border: 0; }
@media (max-width: 700px) { .calendar-frame iframe { height: 1350px; } }
.calendar-placeholder { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 1.5rem; text-align: center; background: var(--bg-soft); }
.calendar-placeholder p { max-width: 36em; margin-inline: auto; }
.summary { position: sticky; top: calc(var(--header-h) + 1rem); }
@media (max-width: 999px) { .summary { position: static; } }
.summary__card { border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark); padding: 1.5rem; box-shadow: var(--shadow); }
.summary__card h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 0.5rem; }
.summary__product { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0 0 0.25rem; }
.summary__price { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin: 0.5rem 0 0; font-variant-numeric: tabular-nums; }
.summary__price small { font-size: 0.85rem; font-weight: 500; color: var(--on-dark-2); letter-spacing: 0; }
.summary .checklist { font-size: 0.95rem; margin: 1.1rem 0 0; }
.summary .checklist li { color: var(--on-dark); }
.summary .checklist li::before { background-color: rgba(28, 199, 180, 0.15); }
.summary__help { margin-top: 1rem; font-size: 0.95rem; }

/* ---------- Beispielaufgaben / Tools ---------- */
.task { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.task + .task { margin-top: 1.5rem; }
.task__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; justify-content: space-between; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.task__head h2 { font-size: 1.25rem; margin: 0; }
.task__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.65rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.pill--accent { background: var(--accent-soft); border-color: #bfeee7; color: var(--accent-strong); }
.task__body { padding: 1.4rem; }
.task__body > :last-child { margin-bottom: 0; }
.task__prompt { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.task__prompt[lang="en"] { font-style: italic; }
.scene-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 0 0 1rem; }
.scene-img svg { width: 100%; height: auto; }
.scene-pair { display: grid; gap: 1rem; }
@media (min-width: 760px) { .scene-pair { grid-template-columns: 1fr 1fr; } }
.scene-pair figure { margin: 0; }
.scene-pair figcaption { font-size: var(--fs-small); color: var(--ink-3); margin-top: 0.4rem; }
.phrases { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 1rem; padding: 0; list-style: none; }
.phrases li { margin: 0; padding: 0.3rem 0.65rem; border-radius: 8px; background: var(--bg-soft); font-size: 0.93rem; border: 1px solid var(--line); }
.tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 1rem 0; }
.timer { display: inline-flex; align-items: center; gap: 0.5rem; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.25rem; padding: 0.4rem 0.8rem; border-radius: 10px; background: var(--navy-900); color: #fff; min-width: 5.2em; justify-content: center; }
.timer.is-done { background: var(--accent); color: var(--accent-ink); }
.radio-player { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--navy-900); color: var(--on-dark); margin: 0.5rem 0 1.25rem; }
.radio-player__btn { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.radio-player__btn .i { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.radio-player__btn .i-pause { display: none; }
.radio-player.is-playing .i-play { display: none; }
.radio-player.is-playing .i-pause { display: block; }
.radio-player__label { display: block; font-weight: 700; color: #fff; }
.radio-player__sub { display: block; font-size: var(--fs-xs); color: var(--on-dark-2); }
.radio-player__wave { display: flex; align-items: center; gap: 3px; height: 28px; margin-left: auto; }
.radio-player__wave i { display: block; width: 4px; height: 30%; border-radius: 3px; background: rgba(255, 255, 255, 0.28); }
.radio-player.is-playing .radio-player__wave i { background: var(--accent); animation: wave 0.9s ease-in-out infinite; }
.radio-player__wave i:nth-child(2n) { animation-delay: -0.3s; } .radio-player__wave i:nth-child(3n) { animation-delay: -0.55s; } .radio-player__wave i:nth-child(5n) { animation-delay: -0.15s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .radio-player.is-playing .radio-player__wave i { animation: none; height: 70%; } }
@media (max-width: 480px) { .radio-player__wave { display: none; } }
.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-weight: 700; font-size: 0.97rem; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: 0.7rem 0.85rem; min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(28, 199, 180, 0.35); border-color: var(--accent-strong); outline-offset: 0; }
.field.is-ok input { border-color: var(--ok); background: var(--ok-bg); }
.field.is-bad input { border-color: var(--bad); background: var(--bad-bg); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.field__result { font-size: 0.93rem; font-weight: 600; }
.field.is-ok .field__result { color: var(--ok); }
.field.is-bad .field__result { color: var(--bad); }
.fields-2 { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.result-box { margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.result-box[hidden] { display: none; }
.solution { margin-top: 1rem; }
.solution summary { cursor: pointer; font-weight: 700; color: var(--accent-strong); display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.solution[open] summary { margin-bottom: 0.5rem; }
.solution .model { padding: 1rem 1.15rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; }
.solution .model p:last-child { margin-bottom: 0; }
.recorder { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; border-radius: 12px; border: 1px dashed var(--line-2); background: #fff; margin-top: 1rem; }
.recorder audio { height: 40px; max-width: 100%; }
.recorder__status { font-size: var(--fs-small); color: var(--ink-3); }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); display: inline-block; margin-right: 0.35rem; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.q-list { counter-reset: q; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.q-list li { counter-increment: q; margin: 0; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.5rem; align-items: start; padding: 0.8rem 1rem; border-radius: 12px; background: var(--bg-soft); }
.q-list li::before { content: counter(q); display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 0.85rem; color: var(--ink-2); }
.q-list [lang="en"] { font-weight: 600; color: var(--ink); }

/* Technik-Check */
.check-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 1.35rem; }
.check h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; }
.check__status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-small); font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--bg-soft); color: var(--ink-3); margin-bottom: 0.9rem; align-self: flex-start; }
.check__status.is-ok { background: var(--ok-bg); color: var(--ok); }
.check__status.is-bad { background: var(--bad-bg); color: var(--bad); }
.check__view { aspect-ratio: 16 / 10; border-radius: 12px; background: var(--navy-950); overflow: hidden; display: grid; place-items: center; color: var(--on-dark-2); font-size: var(--fs-small); margin-bottom: 1rem; text-align: center; padding: 0.5rem; }
.check__view video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.meter { height: 14px; border-radius: 14px; background: var(--bg-soft-2); overflow: hidden; margin-bottom: 1rem; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #7be495); border-radius: 14px; transition: width 0.08s linear; }
.check .btn { margin-top: auto; }

/* Zertifikat-Muster */
.cert-figure { margin: 0; }
.cert-figure svg { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); }

/* ---------- Druck ---------- */
@media print {
  .site-header, .sticky-cta, .site-footer, .hero-visual, .explainer, .btn { display: none !important; }
  body { font-size: 11pt; }
  .hero, .page-hero, .section--dark { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
