/* gekauft-getestet.de · öffentlicher Blog (Katalog-Design)
   Idee: Jeder Kurs ist ein Objekt mit festem Etikett. Oben wählst du deine Sorge,
   jeder Kurs zeigt seine Antwort darauf. Regeln: magic-page-ki design-quality.md.
   Ein Akzent (Signal-Orange), kühles Grau, Clash Display + Satoshi, selbst gehostet.
   Der Adminbereich nutzt weiter styles.css. */

@font-face { font-family: "Clash Display"; font-weight: 500; font-display: swap; src: url(/assets/fonts/clash-500.woff2) format("woff2"); }
@font-face { font-family: "Clash Display"; font-weight: 600; font-display: swap; src: url(/assets/fonts/clash-600.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 400; font-display: swap; src: url(/assets/fonts/satoshi-400.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-display: swap; src: url(/assets/fonts/satoshi-500.woff2) format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 700; font-display: swap; src: url(/assets/fonts/satoshi-700.woff2) format("woff2"); }

:root {
  --bg: #f4f5f6;
  --bg-2: #eaecef;
  --surface: #fbfbfc;
  --ink: #16181c;
  --ink-2: #4f5560;
  --ink-3: #636974;
  --line: #dcdfe4;
  --accent: #d9692a;
  --accent-ink: #a6460f;       /* gleicher Farbton, dunkler, für kleine Schrift auf hellem Grund */
  --accent-soft: #f6e3d6;
  --on-accent: #1a0c03;
  --anchor: #16181c;           /* dunkler Abschnitt als Gegengewicht */
  --on-anchor: #eceef1;
  --shadow: 0 1px 0 rgb(22 24 28 / 0.04), 0 18px 40px -22px rgb(40 48 62 / 0.35);
  --display: "Clash Display", "Segoe UI", system-ui, sans-serif;
  --text: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 18px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111317;
  --bg-2: #171a1f;
  --surface: #1b1e24;
  --ink: #eceef1;
  --ink-2: #b4bac4;
  --ink-3: #959ca8;
  --line: #2b2f37;
  --accent: #ec8240;
  --accent-ink: #f29a60;
  --accent-soft: #3a2518;
  --on-accent: #1a0c03;
  --anchor: #070809;
  --on-anchor: #eceef1;
  --shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 18px 40px -22px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:root[data-theme="dark"] body { line-height: 1.65; letter-spacing: 0.005em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--ink-3) var(--bg); caret-color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }
p { margin: 0; text-wrap: pretty; }
.num, .facts, .tile-fact { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1240px, 100% - 2 * clamp(20px, 4vw, 48px)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }
.label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }

/* ---------- Kopfleiste ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .tld { color: var(--ink-3); font-weight: 500; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.98rem; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.theme-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; transition: transform 140ms var(--ease), border-color 160ms; }
.js .theme-toggle { display: inline-flex; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle:active { transform: scale(0.96); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.brand span, .nav nav a { white-space: nowrap; }
@media (max-width: 720px) {
  .nav { gap: 12px; height: 60px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .brand .tld { display: none; }
  .nav nav { gap: 16px; }
  .nav nav a { font-size: 0.95rem; }
  .nav nav a.hide-sm { display: none; }
}
@media (max-width: 440px) { .nav nav a.hide-xs { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px 6px 24px; border-radius: var(--r-pill); font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease), background-color 180ms, box-shadow 180ms; }
.btn .ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(0 0 0 / 0.1); transition: transform 180ms var(--ease); }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--on-accent); box-shadow: 0 10px 24px -12px color-mix(in oklab, var(--accent) 80%, transparent); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); padding: 6px 24px; }
.btn-outline:hover { color: var(--ink); border-color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .ico { transform: translateX(3px); }
}
/* Mosaik-Lauf über den Hauptbuttons (magic-page mosaic-sweep) */
.mosaic { position: relative; overflow: hidden; isolation: isolate; }
.mosaic::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.3; pointer-events: none;
  background-image: linear-gradient(rgb(0 0 0 / 0.22) 1px, transparent 1px), linear-gradient(90deg, rgb(0 0 0 / 0.22) 1px, transparent 1px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(115deg, transparent 32%, #000 48%, #000 56%, transparent 72%);
  mask-image: linear-gradient(115deg, transparent 32%, #000 48%, #000 56%, transparent 72%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  animation: mosaic-run 4.4s ease-in-out infinite;
}
@keyframes mosaic-run { 0%, 58% { -webkit-mask-position: 120% 0; mask-position: 120% 0; } 100% { -webkit-mask-position: -40% 0; mask-position: -40% 0; } }

/* ---------- Flächen mit Struktur (magic-page surface-texture) ---------- */
.surface { position: relative; isolation: isolate; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.surface::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in oklab, var(--ink) 9%, transparent) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 0%, #000, transparent 75%);
}
.surface::after {
  content: ""; position: absolute; inset: -45%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 12%, transparent), transparent 62%);
  animation: drift 11s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translate(-26%, -16%); } 50% { transform: translate(26%, 16%); } }

/* ---------- Etikett, Siegel ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 700; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); }
.tag[data-status="in_test"] { background: var(--accent-soft); color: var(--accent-ink); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.tag[data-status="abgeschlossen"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seal {
  position: absolute; z-index: 3; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 14px;
  background: var(--ink); color: var(--bg); box-shadow: 0 12px 28px -12px rgb(22 24 28 / 0.6);
  font-family: var(--display); font-weight: 600; font-size: 0.95rem; line-height: 1.05; letter-spacing: -0.01em;
  transform: rotate(-9deg);
}
.seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed color-mix(in oklab, var(--bg) 55%, transparent); }
.seal small { display: block; margin-top: 4px; font-family: var(--text); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* ---------- Kurs-Cover (Foto oder gezeichnet) ---------- */
.cover { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-drawn { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(16px, 2.4vw, 26px); background: linear-gradient(150deg, color-mix(in oklab, var(--accent) 16%, var(--surface)), var(--bg-2) 70%); overflow: hidden; }
.cover-drawn[data-variant="mint"] { background: linear-gradient(150deg, color-mix(in oklab, var(--ink) 12%, var(--surface)), var(--bg-2) 70%); }
/* großer Ring mit Haken aus dem Logo als Hintergrundmotiv, damit das Cover kein leeres Feld ist */
.cover-drawn::before { content: ""; position: absolute; right: -14%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 14px solid color-mix(in oklab, var(--ink) 7%, transparent); }
.cover-drawn::after { content: ""; position: absolute; right: 8%; top: 4%; width: 26%; aspect-ratio: 1.6; border-left: 12px solid color-mix(in oklab, var(--accent) 45%, transparent); border-bottom: 12px solid color-mix(in oklab, var(--accent) 45%, transparent); transform: rotate(-45deg); border-radius: 3px; }
.cover-drawn > * { position: relative; }
.cover-drawn b { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; letter-spacing: -0.02em; max-width: 12ch; }
.cover-drawn span { font-size: 0.86rem; color: var(--ink-2); font-weight: 500; }
.cover-drawn .flow { font-weight: 700; color: var(--ink); }

/* ---------- Röntgen-Hero ----------
   Ein Kurs in der Mitte, Linien zeigen auf die Fakten zu jeder Sorge.
   Bühne im festen Seitenverhältnis 1000 x 560, damit Linien (SVG) und Etiketten (Prozent) übereinander passen. */
.xray { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); text-align: center; overflow: hidden; }
.xray-q { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1; max-width: 20ch; margin-inline: auto; min-height: 2em; transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.xray-q.is-swapping { opacity: 0; transform: translateY(10px); }
.xray-lead { margin: 18px auto 0; max-width: 52ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.xray-worries { margin-top: 26px; }
.xray-worries > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.xray-worries .worry-list { justify-content: center; }
.worry { min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.98rem/1 var(--text); cursor: pointer; transition: transform 140ms var(--ease), background-color 180ms, border-color 180ms, color 180ms; }
.worry-list { display: flex; flex-wrap: wrap; gap: 10px; }
.worry:hover { border-color: var(--ink-3); }
.worry:active { transform: scale(0.97); }
.worry[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.worries[hidden] { display: none; }
.worries > p { font-weight: 700; font-size: 0.92rem; margin-bottom: 12px; }

.xray-stage { position: relative; aspect-ratio: 1000 / 560; margin: clamp(20px, 3vw, 40px) auto 0; max-width: 1180px; text-align: left; }
/* feines Raster wie auf einem Leuchtkasten, zur Mitte hin sichtbar */
.xray-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 46% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 46% 60% at 50% 50%, #000, transparent 75%); }
.xray-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.xray-lines path { fill: none; stroke: var(--ink-3); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke 220ms, stroke-width 220ms, opacity 220ms; }
.xray-lines path.is-active { stroke: var(--accent); stroke-width: 2.5; }
.xray-stage.has-focus .xray-lines path:not(.is-active) { opacity: 0.35; }

.xray-product { position: absolute; left: 36.5%; width: 27%; top: 50%; transform: translateY(-50%); margin: 0; z-index: 2; }
.xray-product .seal { top: -30px; right: -34px; }
.xray-tile { padding: 12px; }
.xray-tile .cover { aspect-ratio: 4 / 3; }
.xray-tile figcaption { display: grid; justify-items: start; gap: 6px; padding: 12px 4px 4px; }
.xray-name { font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -0.01em; line-height: 1.1; text-decoration: none; color: var(--ink); }
.xray-tile .more { font-size: 0.92rem; }
/* Scan-Licht: fährt einmal über das Cover (beim Laden und bei jedem Kurswechsel) */
.xray-scan { position: absolute; left: 12px; right: 12px; top: 12px; height: 0; z-index: 2; pointer-events: none; }
.xray-scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 18px 4px color-mix(in oklab, var(--accent) 45%, transparent); opacity: 0; }

.xray-label { position: absolute; z-index: 3; width: 27%; display: grid; gap: 3px; padding: 11px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color 220ms, background-color 220ms, opacity 220ms, transform 220ms var(--ease); }
.xray-label[data-label="zeit"] { left: 2%; top: 26.8%; transform: translateY(-50%); }
.xray-label[data-label="kosten"] { left: 2%; top: 70%; transform: translateY(-50%); }
.xray-label[data-label="abo"] { right: 2%; top: 26.8%; transform: translateY(-50%); }
.xray-label[data-label="technik"] { right: 2%; top: 70%; transform: translateY(-50%); }
.xray-label[data-label="kamera"] { left: 50%; top: 83.6%; transform: translateX(-50%); width: 24%; text-align: center; }
.xray-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.xray-v { font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.3rem); letter-spacing: -0.01em; line-height: 1.15; color: var(--ink); }
.xray-label.is-open .xray-v { color: var(--ink-3); }
.xray-label.is-active { border-color: var(--accent); }
.xray-label.is-active .xray-k { color: var(--accent-ink); }
.xray-stage.has-focus .xray-label:not(.is-active) { opacity: 0.55; }
.xray-label .xray-v.is-swapping { opacity: 0; }
.xray-v { transition: opacity 200ms; }

.xray-switch { margin-top: clamp(18px, 2.4vw, 30px); display: grid; gap: 10px; justify-items: center; }
.xray-switch[hidden] { display: none; }
.xray-switch p { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.xray-switch [role="group"] { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.xray-switch button { min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px dashed var(--line); background: transparent; color: var(--ink-2); font: 600 0.9rem/1 var(--text); cursor: pointer; transition: border-color 160ms, color 160ms, background-color 160ms; }
.xray-switch button:hover { color: var(--ink); border-color: var(--ink-3); }
.xray-switch button[aria-pressed="true"] { border-style: solid; border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

.xray-product.is-leaving { opacity: 0; translate: -48px 0; }
.xray-product { transition: opacity 300ms var(--ease), translate 300ms var(--ease); }
.xray-product.is-entering { animation: enter 560ms var(--ease) both; }
@keyframes enter { from { opacity: 0; translate: 48px 0; } to { opacity: 1; translate: 0 0; } }

/* Leichte Motion Graphics: Produkt schwebt ein und dann ganz leicht, Linien zeichnen sich, Etiketten folgen, Siegel stempelt. */
@media (prefers-reduced-motion: no-preference) {
  .xray-q, .xray-lead, .xray-worries { animation: rise 700ms var(--ease) both; }
  .xray-lead { animation-delay: 80ms; }
  .xray-worries { animation-delay: 160ms; }
  .xray-product { animation: product-in 900ms var(--ease) 200ms both; }
  .xray-tile { animation: float 7s ease-in-out 1.4s infinite; }
  .xray-lines path { stroke-dashoffset: 1; animation: draw 700ms var(--ease) both; animation-delay: calc(900ms + var(--d, 0) * 110ms); }
  .xray-label { animation: label-in 520ms var(--ease) both; animation-delay: calc(1250ms + var(--i) * 110ms); }
  .xray-product .seal { animation: stamp 520ms cubic-bezier(0.34, 1.4, 0.64, 1) 2000ms both; }
  .xray-scan::after { animation: scan 1300ms var(--ease) 700ms both; }
  .xray-stage.is-redraw .xray-lines path { animation: draw 600ms var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
  .xray-stage.is-redraw .xray-scan::after { animation: scan 1100ms var(--ease) both; }
  .xray-lines path.is-active { animation: draw 600ms var(--ease) both, pulse-line 2.4s ease-in-out 700ms infinite; }
}
.xray-lines path[data-line="zeit"] { --d: 0; } .xray-lines path[data-line="kosten"] { --d: 1; } .xray-lines path[data-line="abo"] { --d: 2; } .xray-lines path[data-line="technik"] { --d: 3; } .xray-lines path[data-line="kamera"] { --d: 4; }
@keyframes product-in { from { opacity: 0; transform: translateY(-44%) scale(0.92); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes label-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scan { 0% { opacity: 0; top: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; top: var(--scan-h, 260px); } }
@keyframes pulse-line { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-24deg) scale(1.6); } 70% { opacity: 1; transform: rotate(-7deg) scale(0.94); } 100% { opacity: 1; transform: rotate(-9deg) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Schmale Bildschirme: Produkt oben, Fakten als Liste darunter, kurze Linien links an jeder Zeile */
@media (max-width: 860px) {
  .xray-stage { aspect-ratio: auto; display: grid; gap: 10px; }
  .xray-stage::before { -webkit-mask-image: radial-gradient(ellipse 70% 30% at 50% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 30% at 50% 20%, #000, transparent 75%); }
  .xray-lines { display: none; }
  .xray-product { position: relative; left: auto; top: auto; width: min(380px, 86%); margin: 0 auto 14px; transform: none; }
  .xray-label, .xray-label[data-label] { position: relative; left: auto; right: auto; top: auto; width: 100%; transform: none; text-align: left; grid-template-columns: 1fr; padding-left: 30px; }
  .xray-label::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transform: translateY(-50%); }
  .xray-label.is-active::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
  @media (prefers-reduced-motion: no-preference) {
    @keyframes product-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
  }
}
@media (max-width: 700px) {
  .xray-q { font-size: clamp(2rem, 8.6vw, 2.6rem); min-height: 3em; }
  .xray-product .seal { right: -10px; top: -22px; }
  .seal { width: 92px; height: 92px; font-size: 0.8rem; }
}

/* ---------- Katalog (Höhepunkt) ---------- */
.catalog { padding: clamp(72px, 10vw, 150px) 0 clamp(64px, 9vw, 130px); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.catalog-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.catalog-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 18ch; }
.catalog-head .now { font-weight: 600; color: var(--ink-2); }
.catalog-head .now b { color: var(--ink); }
.shelf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
/* Breiten kommen aus dem Build (--span), damit jede Zeile voll ist: N Kurse = N Felder, keine Lücke. */
.tile { grid-column: span var(--span, 4); display: flex; flex-direction: column; padding: 14px; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.tile .cover { aspect-ratio: 16 / 9; }
.tile.is-wide .cover { aspect-ratio: 21 / 9; }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-4px); } }
.tile .cover { display: block; text-decoration: none; color: var(--ink); }
.tile-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 6px 6px; flex: 1; }
.tile-body h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.tile-body h3 a { text-decoration: none; }
.tile-fact { font-size: 0.92rem; color: var(--ink-2); }
.answer { margin-top: auto; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); min-height: 112px; }
.answer-q { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 6px; }
.answer-a { font-size: 0.98rem; color: var(--ink); }
.answer-a.is-open { color: var(--ink-3); }
.answer [hidden] { display: none; }
.answer.is-turning { animation: turn 420ms var(--ease); }
@keyframes turn { 0% { opacity: 0.2; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.tile.is-turning { animation: nudge 420ms var(--ease) both; }
@keyframes nudge { 0% { transform: translateY(0); } 40% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
.catalog-foot { margin-top: 28px; color: var(--ink-3); font-size: 0.92rem; max-width: 70ch; }
@media (max-width: 1000px) {
  .tile { grid-column: span 6; }
  .tile.is-wide { grid-column: span 12; }
}
@media (max-width: 680px) {
  .tile, .tile.is-wide { grid-column: span 12; }
  .tile.is-wide .cover { aspect-ratio: 16 / 9; }
}

/* ---------- Ruhiger Abschnitt: Methode, der echte Beleg hängt schräg in der Reihe und ragt nach oben ---------- */
.method { padding: clamp(56px, 8vw, 120px) 0 clamp(72px, 10vw, 140px); }
.method h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; max-width: 12ch; }
.method-steps { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.9fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.method-steps > div { padding-top: 18px; border-top: 2px solid var(--ink); display: grid; gap: 10px; }
.method-steps b { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; }
.method-steps p { color: var(--ink-2); }
.proof { margin: clamp(-220px, -16vw, -120px) 0 0; transform: rotate(4deg); }
.proof .surface { padding: 10px; }
.proof img { border-radius: 8px; width: 100%; }
.proof figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--ink-2); padding: 0 4px; }
.proof .pin { position: absolute; top: -10px; left: 50%; width: 76px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: color-mix(in oklab, var(--accent) 55%, var(--surface)); opacity: 0.85; z-index: 4; border-radius: 2px; }
@media (max-width: 1000px) {
  .method-steps { grid-template-columns: 1fr 1fr; }
  .proof { margin: 0; grid-row: span 2; }
}
@media (max-width: 640px) {
  .method-steps { grid-template-columns: 1fr; }
  .proof { width: min(300px, 82%); justify-self: center; transform: rotate(2deg); margin-top: 16px; }
}

/* ---------- Abschluss (dunkler Anker) ---------- */
.closing { background: var(--anchor); color: var(--on-anchor); padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.closing * { color: var(--on-anchor); }
.closing::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.2px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 80% 100%, #000, transparent 70%); pointer-events: none; }
.closing .wrap { position: relative; display: grid; gap: 26px; }
.closing h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; max-width: 14ch; letter-spacing: -0.015em; }
.closing h2 em { color: var(--accent); }
.closing p { max-width: 54ch; color: #b9bfc9; font-size: 1.08rem; line-height: 1.7; }
.closing .btn-accent, .closing .btn-accent * { color: var(--on-accent); }
.closing .fine { font-size: 0.86rem; color: #a3aab5; }

/* ---------- Seitenköpfe, Filter ---------- */
.page-head { padding: clamp(44px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 28px; }
.filter[hidden] { display: none; }
.filter button { min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 0.95rem/1 var(--text); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-n { opacity: 0.7; margin-left: 4px; }
.filter-empty { color: var(--ink-2); }
.page-worries { margin: 6px 0 30px; }
.kurse-shelf { padding-bottom: clamp(64px, 9vw, 120px); }

/* ---------- Kursseite ---------- */
.course-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 80px); align-items: start; }
.course-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); margin-top: 16px; }
.course-hero .lead { margin-top: 18px; }
.disclosure { font-size: 0.88rem; color: var(--ink-2); padding: 10px 14px; border-radius: 10px; background: var(--bg-2); display: inline-block; }
.verdict { margin-top: 28px; padding: 22px 24px; }
.verdict p { font-size: 1.08rem; }
.meta { margin-top: 14px; font-size: 0.9rem; color: var(--ink-3); }
.course-aside { position: relative; display: grid; gap: 18px; }
.course-aside .seal { top: -20px; right: -12px; }
.sheet { padding: 20px 22px; }
.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 0; }
.track { height: 6px; border-radius: 99px; background: var(--bg-2); margin-top: 8px; overflow: hidden; }
.track span { display: block; height: 100%; width: var(--p); background: var(--accent); border-radius: inherit; }
.buybox { display: grid; gap: 10px; justify-items: start; }
.buybox p { font-size: 0.86rem; color: var(--ink-2); }
.ad-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 80px); }
.qa-grid div { padding: 18px 20px 20px 0; border-bottom: 1px solid var(--line); }
.qa-grid h3 { font-family: var(--text); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; line-height: 1.3; }
.qa-grid p { font-size: 0.98rem; }
.qa-grid p.is-open { color: var(--ink-3); }
.block-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: clamp(48px, 7vw, 88px) 0 24px; }
@media (max-width: 900px) { .course-hero { grid-template-columns: 1fr; } .course-aside { max-width: 560px; } .course-aside .seal { right: 8px; top: -14px; } }

.article-body { max-width: 720px; }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-radius: 12px; background: var(--bg-2); }
.prose a { color: var(--ink); text-decoration-color: var(--accent); }
.prose .btn { text-decoration: none; }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-col { padding: 24px; }
.pc-col h3 { font-size: 1.3rem; margin-bottom: 14px; }
.pc-col ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.pc-pro h3 em { color: var(--ink); }
@media (max-width: 700px) { .pc { grid-template-columns: 1fr; } }
.evidence { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.evidence figure { margin: 0; padding: 10px; }
.evidence img { border-radius: 8px; }
.evidence figcaption { font-size: 0.88rem; color: var(--ink-2); margin-top: 10px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--accent-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--ink-2); max-width: 68ch; }
.end-cta { margin: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); padding: clamp(24px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.end-cta h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.end-cta p { color: var(--ink-2); margin-top: 8px; }

/* ---------- Einfache Seiten ---------- */
.page { padding: clamp(44px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.page h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 14px 0 22px; }
.page .lead { margin-bottom: 30px; }
.portrait { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 26px; }

/* ---------- Fußleiste ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--ink-2); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.footer-grid p { margin-top: 12px; max-width: 44ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.84rem; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } .footer-links { justify-content: flex-start; } }

/* ---------- Wartungsseite: Logo zeichnet sich, Umbau-Balken läuft ---------- */
.maintenance { position: relative; min-height: calc(100svh - 76px); display: grid; place-items: center; padding: clamp(56px, 7vh, 96px) 20px clamp(20px, 3vh, 40px); }
.maintenance-toggle { position: absolute; top: 18px; right: clamp(16px, 3vw, 36px); }
.maintenance-card { width: min(680px, 100%); display: grid; justify-items: center; gap: clamp(16px, 2.4vh, 30px); padding: clamp(28px, 4vh, 52px) clamp(24px, 5vw, 56px); text-align: center; }
.logo-hero { flex-direction: column; gap: 16px; }
.logo-hero .logo-mark { width: clamp(76px, 10vh, 116px); height: clamp(76px, 10vh, 116px); }
.logo-hero .logo-copy { justify-items: center; }
.logo-hero .logo-wordmark { font-size: clamp(26px, 4.4vw, 38px); }
.logo-hero .logo-tagline { display: block; margin-top: 8px; font-size: clamp(11px, 1.3vw, 13px); }
.maintenance-copy { display: grid; justify-items: center; gap: 12px; }
.maintenance h1 { font-size: clamp(2.2rem, min(5.4vw, 6vh), 3.6rem); }
.maintenance .lead { max-width: 46ch; }
.maintenance-progress { width: min(320px, 80%); height: 4px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.maintenance-progress span { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 14px 2px color-mix(in oklab, var(--accent) 40%, transparent); transform: translateX(0); }
@media (prefers-reduced-motion: no-preference) {
  .maintenance-copy { animation: rise 700ms var(--ease) 1500ms both; }
  .maintenance-progress { animation: label-in 500ms var(--ease) 1900ms both; }
  .maintenance-progress span { animation: rebuild 2.6s cubic-bezier(0.65, 0, 0.35, 1) 2100ms infinite; }
}
@keyframes rebuild { 0% { transform: translateX(-105%); } 100% { transform: translateX(270%); } }
.site-footer.is-bare { padding: 20px 0 28px; }
.maintenance-card { position: relative; z-index: 1; }
.maintenance-teaser { display: grid; justify-items: center; gap: 6px; min-height: 4.6em; }
.m-question { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.2; letter-spacing: -0.01em; max-width: 26ch; transition: opacity 300ms var(--ease), transform 300ms var(--ease), filter 300ms var(--ease); }
.m-question em { font-style: normal; color: var(--accent-ink); }
.m-question.is-swapping { opacity: 0; transform: translateY(8px); filter: blur(4px); }
/* Themen schweben um die Karte, verbunden durch eine kurze Linie zur Mitte */
.maintenance-chips { position: absolute; inset: 0; pointer-events: none; }
.m-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: 0.92rem; color: var(--ink-2); transition: color 300ms, border-color 300ms, background-color 300ms, scale 400ms var(--ease); }
.m-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transition: background-color 300ms, box-shadow 300ms; }
.m-chip.is-active { color: var(--ink); border-color: var(--accent); scale: 1.06; }
.m-chip.is-active::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.m-chip[data-chip="zeit"] { left: 9%; top: 20%; }
.m-chip[data-chip="kosten"] { left: 4%; top: 52%; }
.m-chip[data-chip="kamera"] { left: 12%; top: 80%; }
.m-chip[data-chip="abo"] { right: 8%; top: 28%; }
.m-chip[data-chip="technik"] { right: 10%; top: 66%; }
@media (max-width: 1180px) { .maintenance-chips { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .m-chip { animation: chip-in 700ms var(--ease) calc(2200ms + var(--i) * 160ms) both, chip-float 6s ease-in-out calc(3000ms + var(--i) * 700ms) infinite; }
  .maintenance-teaser { animation: rise 700ms var(--ease) 1800ms both; }
}
@keyframes chip-in { from { opacity: 0; translate: 0 18px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.site-footer.is-bare .footer-links { justify-content: center; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }

/* ---------- Bewegung reduzieren: weniger und sanfter, Einblenden bleibt ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .surface::after, .mosaic::before { animation: none; }
  .tile.is-turning { animation: none; }
  .answer.is-turning { animation: fade 300ms ease-out; }
  .hero h1 { transition: opacity 200ms ease-out; transform: none !important; }
  @keyframes fade { from { opacity: 0.3; } to { opacity: 1; } }
}
.tile[hidden] { display: none; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.more svg { width: 18px; height: 18px; flex: none; transition: transform 180ms var(--ease); }
.more:hover svg { transform: translateX(3px); }
.xray-tile .cover { aspect-ratio: 16 / 10; }
.xray-label[data-label="kamera"] { top: 89%; }
.cover { text-decoration: none; color: var(--ink); }

/* ---------- Preis-Laufband: klein, ruhig, die einzige Preisstelle der Startseite ---------- */
.ticker { display: flex; align-items: center; gap: 18px; border-block: 1px solid var(--line); padding: 12px 0 12px clamp(20px, 4vw, 48px); background: var(--surface); }
.ticker-label { flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ticker-window { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 44px; padding-right: 44px; }
.ticker-track li { display: inline-flex; gap: 10px; align-items: baseline; white-space: nowrap; font-size: 0.92rem; }
.ticker-track a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.ticker-track a:hover { color: var(--ink); }
.ticker-track .num { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 38s linear infinite; }
  .ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track[aria-hidden="true"] { display: none; } .ticker-window { flex-wrap: wrap; } }
@media (max-width: 640px) { .ticker { flex-direction: column; align-items: flex-start; gap: 8px; } .ticker-window { width: 100%; } }

/* ---------- Automatische Rotation im Röntgenbild: Fortschritt am aktiven Kurs ---------- */
.xray-switch button { position: relative; overflow: hidden; }
.xray-switch button .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.xray-switch.is-running button[aria-pressed="true"] .bar { animation: progress var(--rot, 6500ms) linear both; }
.xray-switch.is-paused button[aria-pressed="true"] .bar { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Original-Logo (aus dem Lovable-Projekt übernommen) ---------- */
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/assets/fonts/figtree-600.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url(/assets/fonts/figtree-800.woff2) format("woff2"); }
:root { --logo-ring: var(--ink); --logo-check: #1fa874; }
:root[data-theme="dark"] { --logo-ring: #e4e4e7; --logo-check: #34d399; }
.nav { height: 78px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; color: var(--ink); text-decoration: none; font-family: "Figtree", var(--text); }
.site-logo:hover { color: var(--ink); }
.logo-mark { width: 52px; height: 52px; flex-shrink: 0; overflow: visible; }
.logo-ring, .logo-inner { stroke: var(--logo-ring); }
.logo-check { stroke: var(--logo-check); }
.logo-copy { display: grid; min-width: 0; }
.logo-wordmark { white-space: nowrap; font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: 0; }
.logo-domain { color: var(--ink); }
.logo-tagline { margin-top: 4px; color: var(--ink-2); font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: 0.3em; white-space: nowrap; }
.logo-letter { display: inline-block; }
.logo-dot { color: var(--logo-check); }
.site-footer .logo-mark { width: 44px; height: 44px; }
.site-footer .logo-wordmark { font-size: 20px; }
@media (max-width: 720px) {
  .nav { height: 64px; }
  .site-logo { gap: 8px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-wordmark { font-size: 19px; }
  .logo-tagline { display: none; }
}
@media (max-width: 400px) { .logo-wordmark { font-size: 17px; } }

/* Animation wie im Original: Ring zeichnet sich, Innenring folgt, Haken federt, Wortmarke gleitet rein,
   die Buchstaben der Unterzeile laufen von außen zur Mitte zusammen. Danach beim Überfahren ein kurzes Nachfedern des Hakens. */
@media (prefers-reduced-motion: no-preference) {
  :is(.logo-intro, .logo-first .js-logo-intro) .logo-ring, :is(.logo-intro, .logo-first .js-logo-intro) .logo-inner, :is(.logo-intro, .logo-first .js-logo-intro) .logo-check { stroke-dasharray: 1; }
  :is(.logo-intro, .logo-first .js-logo-intro) .logo-ring { animation: logo-draw 900ms var(--ease) both; }
  :is(.logo-intro, .logo-first .js-logo-intro) .logo-inner { animation: logo-draw 320ms var(--ease) 650ms both; }
  :is(.logo-intro, .logo-first .js-logo-intro) .logo-check { transform-box: fill-box; transform-origin: center; animation: logo-check 420ms cubic-bezier(0.34, 1.56, 0.64, 1) 900ms both; }
  :is(.logo-intro, .logo-first .js-logo-intro) .logo-wordmark { animation: logo-slide 360ms var(--ease) 1100ms both; }
  :is(.logo-intro, .logo-first .js-logo-intro) .logo-letter { animation: logo-letter 420ms var(--ease) 1250ms both; }
  .site-logo:hover .logo-check { transform-box: fill-box; transform-origin: center; stroke-dasharray: 1; animation: logo-check 420ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .site-logo:hover .logo-ring { stroke-dasharray: 1; animation: logo-draw 600ms var(--ease) both; }
}
@keyframes logo-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-check { 0% { stroke-dashoffset: 1; transform: scale(0.94); } 72% { stroke-dashoffset: 0; transform: scale(1.08); } 100% { stroke-dashoffset: 0; transform: scale(1); } }
@keyframes logo-slide { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes logo-letter { from { opacity: 0; transform: translateX(var(--s)); } to { opacity: 1; transform: none; } }

/* ---------- Anbieter: Profil wie eine Akte, Monogramm im Ring des Logos ---------- */
.monogram { --size: 44px; position: relative; flex: none; display: inline-grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%; border: 3px solid var(--ink); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 5px var(--line); font: 600 calc(var(--size) * 0.34)/1 var(--display); letter-spacing: 0.02em; color: var(--ink); background: var(--surface); }
.monogram::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--accent); rotate: -40deg; transition: rotate 600ms var(--ease); }
.monogram.is-big { --size: clamp(72px, 9vw, 104px); border-width: 5px; }
.monogram.is-big::after { inset: -5px; border-width: 5px; }
a:hover > .monogram::after, .provider:target .monogram::after { rotate: 140deg; }

.provider-index { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(36px, 5vw, 64px); }
.provider-index a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 16px 5px 5px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.provider-index .monogram { --size: 34px; border-width: 2px; box-shadow: none; }
.provider-index .monogram::after { inset: -2px; border-width: 2px; }

.providers { display: grid; gap: clamp(56px, 8vw, 104px); }
.provider { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "head head" "body facts"; gap: 28px clamp(28px, 4vw, 56px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.provider:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "head head" "facts body"; }
.provider-head { grid-area: head; display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); }
.provider-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.provider-head .eyebrow { margin-bottom: 4px; }
.provider-courses { margin-top: 8px; color: var(--ink-2); }
.provider-courses a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); }
.provider-body { grid-area: body; display: grid; gap: 24px; align-content: start; }
.provider-voice { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); }
.provider-voice p { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; }
.provider-voice cite { display: block; margin-top: 10px; font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.provider-facts { grid-area: facts; align-self: start; padding: 22px 24px; display: grid; gap: 12px; }
.provider-facts .facts div { grid-template-columns: 1fr; gap: 2px; }
.provider-sources { font-size: 0.84rem; line-height: 1.6; color: var(--ink-3); }
.provider-sources a { color: var(--ink-2); }
.providers-note { margin: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); max-width: 62ch; color: var(--ink-3); font-size: 0.95rem; }
@media (max-width: 860px) {
  .provider, .provider:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "head" "body" "facts"; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .provider { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}

/* Kursseite: Kasten „Wer steckt dahinter?“ */
.who { padding: clamp(22px, 3vw, 32px); margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.who-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.who-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; }
.who-item { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); text-decoration: none; }
.who-item > span:last-child { display: grid; gap: 4px; }
.who-item b { font-size: 1.08rem; }
.who-item > span > span:not(.more) { color: var(--ink-2); font-size: 0.95rem; }
.who-item .more { margin-top: 4px; font-size: 0.9rem; }
.who-item:hover .more svg { transform: translateX(3px); }

/* Röntgen-Hero passt auf den ersten Bildschirm: Frage, Sorgen, Bühne und Kurswahl ohne Scrollen.
   Die Bühne bleibt breit, ihre Höhe folgt dem Bildschirm. Das Produkt richtet seine Größe nach der Höhe,
   die Linien rechnet site.js aus den echten Positionen. */
@media (min-width: 861px) {
  .xray { --q: clamp(2.3rem, min(5vw, 6.4vh), 4.5rem); padding: clamp(16px, 3vh, 48px) 0 clamp(20px, 3vh, 40px); }
  .xray-q { font-size: var(--q); }
  .xray-lead { margin-top: clamp(8px, 1.4vh, 18px); }
  .xray-worries { margin-top: clamp(12px, 2vh, 26px); }
  .xray-stage { --h: clamp(380px, calc(100svh - 280px - 6vh - 2 * var(--q)), 620px); aspect-ratio: auto; height: var(--h); margin-top: clamp(10px, 2vh, 28px); }
  .xray-product { --pw: min(26%, calc((var(--h) - 250px) / 0.625)); width: var(--pw); left: calc(50% - var(--pw) / 2); top: calc((var(--h) - 76px) / 2); }
  .xray-tile .cover { display: block; aspect-ratio: 16 / 10; }
  /* gezeichnetes Cover (Kurs ohne Bild) bleibt im Format, der Name steht ohnehin darunter */
  .xray-tile .cover-drawn { padding: 14px 16px; }
  .xray-tile .cover-drawn b { font-size: clamp(1.15rem, 1.7vw, 1.6rem); }
  .xray-tile .cover-drawn > span { display: none; }
  .xray-label { width: min(27%, 320px); }
  .xray-label[data-label="zeit"], .xray-label[data-label="abo"] { top: 22%; }
  .xray-label[data-label="kosten"], .xray-label[data-label="technik"] { top: 60%; }
  .xray-label[data-label="kamera"] { top: auto; bottom: 0; width: min(24%, 260px); }
  .xray-switch { margin-top: clamp(10px, 1.8vh, 24px); }
}
/* flache Laptops: Unterzeile weg, damit die Bühne Platz behält */
@media (min-width: 861px) and (max-height: 800px) {
  .xray-lead { display: none; }
  .xray-switch p { display: none; }
}
