/* CoWorkboard Verkaufsseite (dunkel) – Aufbau und Maße wie die PraxisBox-Landingpage (Vorbild: flowty.co-Vermessung, eigener Nachbau).
   Hintergrund: seitenweiter WebGL-Shader (js/hintergrund.js), alle Abschnitte transparent, Karten halbtransparent dunkel.
   Maßeinheit d = Design-Pixel im 1920-Raster: 1 d = 1/16 rem, rem = clamp(1024px,100vw,2560px)/120.
   Unter 1024 px: Handy-Raster (393 ideal), Werte in eigenen Tokens.
   Grundfassung = ruhig/statisch (ohne JS, "weniger Bewegung"); html.bewegt schaltet Pins und Animationen frei. */

html { font-size: calc(clamp(1024px, 100vw, 2560px) / 120); }
@media (max-width: 1023px) { html { font-size: min(calc(100vw / 393 * 16), 19px); } }

:root {
  color-scheme: dark;
  --d: 0.0625rem;
  /* Farben (dunkel). --weiss heißt „Gegenfarbe zu --text“: hier fast schwarz (#141414, wie der Shader). Echtes Weiß: #fff. */
  --weiss: #141414;
  --flaeche: #232326;
  --flaeche-hover: #2d2d31;
  --text: #f2f2f2;
  --grau: #a3a3ab;
  --blass: #5b5b62;
  --linie: rgba(255, 255, 255, 0.14);
  --akzent: #e50c7e;               /* CoWorkboard-Magenta (wie die App) */
  --akzent-dunkel: #ff5cae;        /* Fokus, Marken: hellere Fassung, damit es auf Dunkel trägt */
  --verlauf-pink: linear-gradient(259deg, #ff5cae 3%, #e50c7e 50%, #a30a5b);
  --verlauf-hell: linear-gradient(259deg, rgba(229, 12, 126, 0.32), rgba(107, 92, 255, 0.22));
  --verlauf-knopf: linear-gradient(259deg, #d90b75 0%, #bf0a68 55%, #a30a5b 100%); /* weißer Text ≥ 4,5:1 */
  --haarlinie: linear-gradient(227deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.30) 50%, rgba(255, 255, 255, 0.10));
  --karte: rgba(20, 20, 20, 0.7);  /* Karten und Boxen über dem Shader */
  --glas: rgba(20, 20, 20, 0.7);
  --glas-filter: blur(6px);
  --nav-grund: rgba(44, 46, 52, 0.92);
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.625, 0.05, 0, 1);
  /* Typo-Tokens (d) */
  --h0: 250; --h1: 170; --h2: 96; --h3: 48; --h4: 38; --h5: 28; --p1: 22; --p2: 17; --p3: 15;
  --lh-h0: 0.96; --lh-h1: 0.88; --lh-h2: 0.94; --lh-h3: 1.17; --lh-h4: 1.26; --lh-h5: 1.21; --lh-p1: 1.32; --lh-p2: 1.35;
  /* Raster */
  --rand: calc(50 * var(--d));
  --abschnitt-oben: calc(300 * var(--d));
  --mt-reihe: calc(160 * var(--d));
  --knopf-h: calc(58 * var(--d));
  --knopf-r: calc(22 * var(--d));
  --karte-r: calc(60 * var(--d));
}
@media (max-width: 1023px) {
  :root {
    --h0: 64; --h1: 48; --h2: 36; --h3: 26; --h4: 22; --h5: 20; --p1: 16; --p2: 14; --p3: 12;
    --lh-h0: 1; --lh-h1: 1; --lh-h2: 1.06; --lh-h3: 1.15; --lh-h4: 1.2; --lh-h5: 1.2; --lh-p1: 1.31; --lh-p2: 1.35;
    --rand: calc(16 * var(--d));
    --abschnitt-oben: calc(120 * var(--d));
    --mt-reihe: calc(48 * var(--d));
    --knopf-h: calc(48 * var(--d));
    --knopf-r: calc(18 * var(--d));
    --karte-r: calc(30 * var(--d));
  }
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background-color: #141414; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: transparent;
  color: var(--text);
  font-family: var(--schrift);
  font-size: calc(var(--p1) * var(--d));
  line-height: var(--lh-p1);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
[hidden] { display: none !important; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

:focus-visible { outline: 2px solid var(--akzent-dunkel); outline-offset: 3px; border-radius: 6px; }
main:focus, main:focus-visible { outline: none; }

.nur-sr {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.sprunglink {
  position: fixed; top: 12px; left: 12px; z-index: 400;
  padding: 10px 18px; border-radius: 999px;
  background: var(--text); color: var(--weiss); text-decoration: none;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.sprunglink:focus-visible { transform: none; }

.rand { padding-inline: var(--rand); }
.grau { color: var(--grau); }
@media (max-width: 991px) { .umbruch { display: none; } }

.seite { position: relative; z-index: 2; background: transparent; }
/* Deko-Ebenen (Leuchten, Laufband-Drift, 120-%-Geräte-Ebene) nie in die Seitenbreite rechnen; clip lässt sticky/Pins intakt */
.erzaehlung, main > section, .fuss { overflow-x: clip; }

/* Typo */
.titel-gross {
  font-size: calc(var(--h1) * var(--d));
  line-height: var(--lh-h1);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.statement {
  font-size: calc(var(--h2) * var(--d));
  line-height: var(--lh-h2);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.kopf-absatz, .hero-absatz, .faq-intro, .story-text { font-size: calc(var(--p1) * var(--d)); line-height: var(--lh-p1); }
.zeile { display: block; padding-bottom: 0.04em; }   /* SplitText mit tag:'span' (gültig in h1/h2/p), verhält sich wie der frühere div */
/* SplitText-Masken (linesClass "zeile" → ".zeile-mask"): Luft für Unterlängen (g, p, y, j) und Umlaut-Punkte.
   Die Zeilen starten dafür bei yPercent 130 (js: ZEILE_AUS), damit im Versteck nichts vorblitzt. */
.zeile-mask { display: block; padding: 0.1em 0 0.2em; margin: -0.1em 0 -0.2em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Markenflächen per Klasse statt style="" (CSP ohne 'unsafe-inline'); Farben über die Variablen am <use>-Träger */
.w-oben  { fill: none; stroke: var(--marke-b, #e50c7e); }   /* CoWorkboard-Marke: zwei ineinandergreifende Klammern */
.w-links { fill: none; stroke: var(--marke-a, #ffffff); }
.wuerfel-svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* Haarlinie mit Verlauf */
.haarlinie { display: block; height: 1px; background: var(--haarlinie); transform-origin: 0 50%; }

/* Glasrand: Verlauf als 1-px-Rahmen */
.glas-karte, .glas-pille, .qr-pop, .anleitung-karte, .knopf-glas {
  position: relative;
  background: var(--glas);
  -webkit-backdrop-filter: var(--glas-filter);
  backdrop-filter: var(--glas-filter);
}
.glas-karte::before, .glas-pille::before, .qr-pop::before, .anleitung-karte::before, .knopf-glas::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--haarlinie);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Knöpfe ---------- */

.knopf-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: calc(8 * var(--d)); }
.knopf {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--knopf-h);
  padding: 0 calc(40 * var(--d));
  border: 0;
  border-radius: var(--knopf-r);
  font-size: calc(var(--p2) * var(--d));
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
}
.knopf-primaer { background: var(--verlauf-knopf); color: #fff; }
.knopf-sekundaer { background: var(--flaeche); color: var(--text); }
.knopf-glas { color: var(--text); border-radius: 999px; }
.knopf-voll { width: 100%; }
/* Buchstaben-Roll beim Hover */
.roll { display: inline-flex; overflow: hidden; line-height: 1.3; }
.roll > span {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.3em currentColor;
  transition: transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 10ms);
}
@media (hover: hover) {
  .knopf:hover .roll > span, .mini-knopf:hover .roll > span { transform: translateY(-1.3em); }
}

.icon-knopf {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--knopf-h);
  height: var(--knopf-h);
  border: 0;
  border-radius: var(--knopf-r);
  background: var(--flaeche);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
}
/* Kreis wächst vom Eintrittspunkt */
.icon-knopf::after {
  content: "";
  position: absolute;
  left: var(--x, 50%); top: var(--y, 50%);
  width: 250%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--text);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}
@media (hover: hover) {
  .icon-knopf:hover { color: var(--weiss); }
  .icon-knopf:hover::after { transform: translate(-50%, -50%) scale(1); }
  .icon-knopf:hover .play-zeichen { background: var(--weiss); }
  .icon-knopf:hover .play-zeichen::after { border-left-color: var(--text); }
}
.icon-knopf svg { width: calc(26 * var(--d)); height: calc(26 * var(--d)); min-width: 16px; min-height: 16px; }

.play-zeichen {
  position: relative;
  flex: none;
  width: calc(38 * var(--d)); height: calc(38 * var(--d));
  min-width: 24px; min-height: 24px;
  border-radius: 50%;
  background: var(--text);
  transition: background-color 0.5s var(--ease);
}
.play-zeichen::after {
  content: "";
  position: absolute;
  left: 54%; top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.34em 0 0.34em 0.52em;
  border-color: transparent transparent transparent var(--weiss);
  font-size: calc(var(--p2) * var(--d));
  transition: border-color 0.5s var(--ease);
}

/* Unterstrich-Links */
.linie-link, .linie-alt { position: relative; text-decoration: none; }
.linie-link::before, .linie-alt::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.08em;
  height: max(0.0425em, 1px);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.735s var(--ease);
}
.linie-alt::before { transform: scaleX(1); }
@media (hover: hover) {
  .linie-link:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
  .linie-alt:hover::before { animation: linie-neu 1.2s var(--ease); }
}
@keyframes linie-neu {
  0% { transform: scaleX(1); transform-origin: 100% 50%; }
  40% { transform: scaleX(0); transform-origin: 100% 50%; }
  41% { transform: scaleX(0); transform-origin: 0 50%; }
  100% { transform: scaleX(1); transform-origin: 0 50%; }
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 0 14px 0 10px;
  border: 0; border-radius: 999px;
  background: var(--weiss);
  box-shadow: inset 0 0 0 1px var(--linie);
  font-size: calc(var(--p2) * var(--d)); font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease);
}
@media (min-width: 1024px) { .chip { font-size: max(13px, calc(var(--p2) * var(--d))); } }
.chip::before { content: ""; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--text); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--text); }

/* QR-Popover */
.qr-halter { position: relative; }
.qr-pop {
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%);
  z-index: 30;
  display: grid; justify-items: center; gap: 8px;
  width: calc(220 * var(--d)); min-width: 160px;
  padding: 14px;
  border-radius: calc(30 * var(--d));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  text-align: center;
  font-size: calc(var(--p2) * var(--d));
}
.qr-pop img { width: 100%; height: auto; padding: 8px; border-radius: 12px; background: var(--weiss); }

/* ---------- 1 Lader ---------- */

.lader { display: none; }
.laedt { overflow: hidden; }
.laedt .lader {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  padding: calc(50 * var(--d));
  background: var(--weiss);
}
.laedt .seite { transform: translateY(100vh); visibility: hidden; } /* sichtbar erst beim Hochfahren (js/gemeinsam.js) */
.frueh .nav { visibility: hidden; } /* bis gemeinsam.js die Navigation übernimmt (js/kopf.js) */
.lader-zahl {
  position: absolute;
  left: 2.6%; top: calc(50 * var(--d));
  display: flex;
  font-size: calc(299 * var(--d));
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
/* Fenster eine volle Zeile hoch, damit Ziffern nicht oben/unten angeschnitten werden (Mike 29.09.) */
.lz-spalte { display: block; width: 0.58em; height: 1em; overflow: hidden; }
.lz-band { display: flex; flex-direction: column; line-height: 1em; }
.lz-band > span { display: block; height: 1em; line-height: 1em; text-align: center; }
.lader-logo { position: absolute; right: calc(50 * var(--d)); top: calc(50 * var(--d)); width: calc(118 * var(--d)); height: auto; }
.lader-bilder {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(250 * var(--d)); height: calc(311 * var(--d));
  transform: translate(-50%, -50%);
}
.lader-bild {
  position: absolute; inset: 0;
  overflow: hidden;
  border-radius: calc(20 * var(--d));
  clip-path: inset(50% 50% 50% 50%);
}
.lader-bild img { width: 100%; height: 100%; object-fit: cover; }
.lader-claim {
  position: absolute;
  left: 2.6%; bottom: calc(50 * var(--d));
  font-size: calc(var(--h3) * var(--d));
  line-height: var(--lh-h3);
  font-weight: 500;
  letter-spacing: -0.02em;
}
@media (max-width: 1023px) {
  .lader-zahl { font-size: calc(110 * var(--d)); left: var(--rand); top: calc(24 * var(--d)); }
  .lader-logo { width: calc(88 * var(--d)); right: var(--rand); top: calc(28 * var(--d)); }
  .lader-bilder { width: calc(160 * var(--d)); height: calc(200 * var(--d)); }
  .lader-claim { left: var(--rand); bottom: calc(28 * var(--d)); }
}

/* ---------- 2 Navigation ---------- */
/* Einfach gebaut (Mike, 26.09.2026): EINE Leiste mit border-radius 999px, Schatten auf demselben Element, kein clip-path.
   Zustände nur über Klassen an .nav: .zu (beim Runterscrollen eingeklappt), .offen (Menükarte), .versteckt (vor dem Lader-Ende),
   .weg (über der Fußzeile). Maße fest in px, auf allen Breiten gleich. */

.nav {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 200;
  width: 232px;
  transform: translateX(-50%);
  pointer-events: none;
}
.nav-leiste {
  position: relative;
  width: 232px;
  height: 40px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--nav-grund);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  color: #fff;
  overflow: hidden;                /* beim Einklappen verschwinden Burger und Knopf hinter der Rundung */
  pointer-events: auto;
  transition: width 0.5s var(--ease), transform 0.8s var(--ease), opacity 0.4s var(--ease), visibility 0s;
}
.nav.zu .nav-leiste { width: 56px; }
.nav.versteckt .nav-leiste, .nav.weg .nav-leiste {
  transform: scale(0); opacity: 0; visibility: hidden;   /* hidden: Burger/Knopf nicht mehr per Tab erreichbar */
  transition: width 0.5s var(--ease), transform 0.8s var(--ease), opacity 0.4s var(--ease), visibility 0s 0.8s;
}
.nav.weg .nav-leiste { pointer-events: none; }

.nav-burger {
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), opacity 0.2s var(--ease), visibility 0s;
}
.nav-burger:hover { background: rgba(255, 255, 255, 0.08); }
.nav-burger span {
  position: absolute;
  left: 50%;
  width: 16px; height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-burger span:first-child { top: calc(50% - 4px); }       /* zwei Linien, 5 px Abstand */
.nav-burger span:last-child { top: calc(50% + 2.5px); }
.nav-burger[aria-expanded="true"] span { top: calc(50% - 0.75px); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateX(-50%) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateX(-50%) rotate(-45deg); }

.nav-marke {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 20.8px;
  transform: translate(-50%, -50%);
  outline: none;
  border-radius: 4px;
}
.nav-marke .wuerfel-svg { display: block; width: 100%; height: 100%; }
.nav-marke::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); }   /* Trefferfläche 40×40 */

/* „Testen“ sitzt ganz in der Leiste: 4 px Rand oben/rechts/unten, Rundung konzentrisch (20 px außen, 16 px innen) */
.nav .knopf-nav {
  position: absolute;
  right: 4px; top: 4px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition: opacity 0.2s var(--ease), visibility 0s;
}
.nav.zu .nav-burger, .nav.zu .knopf-nav { opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), visibility 0s 0.2s; }

/* Fokus: nur per Tastatur, weiß, nie über die Leiste hinaus */
.nav-leiste :focus { outline: none; }
.nav-marke:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav-burger:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.nav .knopf-nav:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* Menü: eigene Karte über der Leiste */
.nav-menue {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  width: 320px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 16px;
  border-radius: 24px;
  background: var(--nav-grund);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  transform-origin: 50% 100%;
  transform: translate(-50%, 8px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
}
.nav.offen .nav-menue { transform: translate(-50%, 0) scale(1); opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-links a {
  display: block;
  padding: 3px 0;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #ff8cc6; }
.nav-spalten { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.nav-spalten > div { display: grid; gap: 4px; align-content: start; font-size: 12px; }
.nav-spalten a { color: rgba(255, 255, 255, 0.78); text-decoration: none; overflow-wrap: anywhere; }
.nav-spalten a:hover { color: #fff; }
.nav-spalte-kopf { color: rgba(255, 255, 255, 0.5); margin-bottom: 4px; }
.nav-menue .knopf-voll { height: 40px; margin-top: 4px; padding: 0 12px; border-radius: 999px; font-size: 14px; }
.nav-sprache { align-self: center; margin-top: -6px; font-size: 12px; color: rgba(255, 255, 255, 0.6); text-decoration: underline; text-underline-offset: 2px; }
.nav-sprache:hover { color: #fff; }
.nav-menue :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.nav-abdunkler { position: fixed; inset: 0; z-index: 190; background: rgba(0, 0, 0, 0.32); opacity: 0; transition: opacity 0.4s var(--ease); }
.nav-abdunkler.sichtbar { opacity: 1; }
@media (max-width: 1023px) {
  .nav-menue { width: min(320px, calc(100vw - 32px)); padding: 20px 20px 14px; gap: 12px; }
  .nav-links a { font-size: 20px; }
  .nav-spalten { grid-template-columns: 1fr; gap: 10px; }
}

/* „Ziehen“-Cursor */
.zieh-cursor {
  position: fixed; left: 0; top: 0; z-index: 250;
  display: grid; place-items: center;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--nav-grund);
  color: #fff;
  font-size: 13px; font-weight: 500;
  pointer-events: none;
  transform: scale(0);
  opacity: 0;
}

/* ---------- 3–5 Hero, Problem, Story ---------- */

.erzaehlung { position: relative; }
.leuchten {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(229, 12, 126, 0.13), rgba(229, 12, 126, 0) 70%),
    radial-gradient(35% 45% at 70% 35%, rgba(107, 92, 255, 0.10), rgba(107, 92, 255, 0) 70%),
    radial-gradient(30% 40% at 55% 70%, rgba(0, 174, 185, 0.07), rgba(0, 174, 185, 0) 70%);
  animation: leuchten-wandern 18s ease-in-out infinite alternate;
}
@keyframes leuchten-wandern {
  0% { background-position: 0 0, 0 0, 0 0; transform: scale(1); }
  100% { background-position: 6% 4%, -5% 3%, 4% -5%; transform: scale(1.05); }
}
.leuchten-hero { left: -18.5vw; top: calc(-228 * var(--d)); width: 137vw; height: calc(100vh + 228 * var(--d)); }

.geraet { display: none; }
.bewegt .geraet {
  display: block;
  position: relative;
  z-index: 10;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  pointer-events: none;
  overflow: clip;
}

.hero, .problem, .story { position: relative; z-index: 20; }
.hero { min-height: 100vh; min-height: 100svh; padding: calc(35 * var(--d)) var(--rand) calc(60 * var(--d)); }
.hero-oben { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-titel {
  width: 54.4%;
  padding-left: calc(0 * var(--d));
  font-size: calc(var(--h1) * var(--d));
  line-height: var(--lh-h1);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.glyphe {
  display: inline-block;
  width: 0.8em; height: 0.757em;
  margin: 0 0.1em -0.02em 0.157em;
  vertical-align: baseline;
  will-change: transform;
}
.hero-titel .glyphe { margin-left: 0; }
.ohne-umbruch { white-space: nowrap; }
.hero-logo { width: calc(118 * var(--d)); height: auto; margin-top: calc(6 * var(--d)); }
.hero-unten {
  position: absolute;
  left: var(--rand); right: var(--rand); bottom: calc(60 * var(--d));
  display: flex; justify-content: space-between; align-items: flex-end;
}
.hero-links { width: calc(460 * var(--d)); }
.hero-knoepfe { margin-top: calc(40 * var(--d)); }
.hero-notiz { margin-top: calc(20 * var(--d)); font-size: calc(var(--p3) * var(--d)); color: var(--grau); }
.hero-rechts { display: flex; gap: calc(8 * var(--d)); align-items: stretch; }
.hero-karte {
  display: flex; flex-direction: column; justify-content: space-between;
  width: calc(278 * var(--d)); height: calc(213 * var(--d));
  padding: calc(30 * var(--d));
  border-radius: calc(30 * var(--d));
  font-size: calc(var(--p2) * var(--d));
  line-height: var(--lh-p2);
}
.mini-knoepfe { display: flex; gap: 6px; }
.mini-knopf {
  display: inline-flex; align-items: center;
  height: calc(40 * var(--d)); min-height: 26px;
  padding: 0 calc(16 * var(--d));
  border: 0; border-radius: calc(14 * var(--d));
  background: var(--text); color: var(--weiss);
  font-size: calc(var(--p3) * var(--d)); font-weight: 500;
  text-decoration: none; cursor: pointer; overflow: hidden;
}
.mini-knopf + .mini-knopf { background: var(--weiss); color: var(--text); }
.video-karte-klein {
  position: relative;
  width: calc(149 * var(--d)); height: calc(213 * var(--d));
  border-radius: calc(30 * var(--d));
  overflow: hidden;
  background: var(--karte);
  perspective: 1500px;
}
.video-karte-klein video, .video-karte-klein img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.rund-klein {
  position: absolute; right: calc(12 * var(--d)); bottom: calc(12 * var(--d));
  display: grid; place-items: center;
  width: calc(42 * var(--d)); height: calc(42 * var(--d)); min-width: 26px; min-height: 26px;
  border: 0; border-radius: 50%;
  background: var(--weiss); color: var(--text);
  cursor: pointer;
}
.standbild { width: 100%; margin-top: 32px; }   /* freigestelltes Bild ohne Fläche dahinter */
.bewegt .standbild { display: none !important; }

.problem { min-height: 100vh; min-height: 100svh; margin-top: calc(425 * var(--d)); padding: calc(44 * var(--d)); }
.story { min-height: 100vh; min-height: 100svh; margin-top: calc(350 * var(--d)); padding: calc(44 * var(--d)); }
.spalte { display: flex; flex-direction: column; gap: calc(70 * var(--d)); }
.problem .titel-gross { width: 60%; }
.problem-zeilen { display: grid; gap: calc(14 * var(--d)); max-width: calc(620 * var(--d)); }
.problem-zeilen p { font-size: calc(var(--h5) * var(--d)); line-height: var(--lh-h5); font-weight: 500; }
.story-spalte { min-height: calc(100vh - 88 * var(--d)); min-height: calc(100svh - 88 * var(--d)); justify-content: space-between; }
.story .titel-gross { width: 53%; }
.story-unten { display: grid; gap: calc(20 * var(--d)); max-width: calc(560 * var(--d)); }
.signatur { font-size: calc(var(--p1) * var(--d)); font-weight: 600; }
.signatur-firma { display: block; margin-top: 2px; font-size: max(13px, calc(var(--p2) * var(--d))); font-weight: 400; color: var(--grau); }

/* Handy: Text läuft über das gepinnte Gerät – weißer Hof für Lesbarkeit */
@media (max-width: 1023px) {
  .bewegt .hero, .bewegt .problem, .bewegt .story { text-shadow: 0 0 14px rgba(20, 20, 20, 0.95), 0 0 6px rgba(20, 20, 20, 0.95), 0 0 2px rgba(20, 20, 20, 0.95); }
  .bewegt .knopf, .bewegt .icon-knopf { text-shadow: none; }
}
@media (max-width: 1023px) {
  .hero { display: flex; flex-direction: column; padding-top: calc(20 * var(--d)); }
  .hero-oben { flex-direction: column-reverse; gap: calc(28 * var(--d)); }
  .hero-logo { width: calc(96 * var(--d)); }
  .hero-titel { width: auto; }
  .hero-unten { position: static; display: block; margin-top: calc(20 * var(--d)); }
  .hero-links { width: auto; max-width: 30em; }
  .hero-knoepfe { margin-top: calc(20 * var(--d)); }
  .hero-knoepfe .qr-halter, .hero-rechts { display: none; }
  .problem { margin-top: 0; padding: calc(40 * var(--d)) var(--rand); }
  .story { margin-top: 0; padding: calc(40 * var(--d)) var(--rand) calc(100 * var(--d)); }
  .problem .titel-gross, .story .titel-gross { width: auto; }
  .spalte { gap: calc(28 * var(--d)); }
  .story-spalte { min-height: calc(100svh - 140 * var(--d)); }
  .story-unten { gap: calc(12 * var(--d)); }
  .story-text { font-size: calc(15 * var(--d)); }
}

/* ---------- 6 iMac-Karte ---------- */

.beweis { position: relative; padding-top: var(--abschnitt-oben); }
.beweis-buehne { position: relative; padding-inline: var(--rand); }
.beweis-titel {
  position: relative;
  font-size: calc(var(--h0) * var(--d));
  line-height: var(--lh-h0);
  letter-spacing: -0.02em;
  font-weight: 600;
  text-align: center;
}
.bz { display: block; white-space: nowrap; }
.wort { display: inline-block; will-change: transform, filter, opacity; }
.wort-a { margin-right: 0.25em; } /* Lücke, wenn der Karten-Slot ausgeblendet ist */
@media (min-width: 1024px) { .bewegt .wort-a { margin-right: 0; } }
.bz-2 { display: block; will-change: transform, filter, opacity; }
.karte-slot {
  display: none;
  width: 0.896em; height: 0.744em;
  margin: 0 0.14em 0 0.2em;
  vertical-align: -0.06em;
}
.beweis-karte {
  position: relative;
  margin-top: calc(40 * var(--d));
  height: min(70vh, calc(1100 * var(--d)));
  border-radius: var(--karte-r);
  overflow: hidden;   /* keine Fläche hinter dem freigestellten iMac-Bild: der Hintergrund-Shader scheint durch */
}
.beweis-tilt, .beweis-skala { position: absolute; inset: 0; will-change: transform; }
.beweis-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.beweis-video { position: absolute; left: 0; top: 0; width: 10px; height: 10px; object-fit: cover; opacity: 0; transition: opacity 0.4s var(--ease); }
.beweis-video.an { opacity: 1; }
.beweis-text {
  position: absolute;
  left: calc(50 * var(--d)); bottom: calc(50 * var(--d));
  z-index: 2;
  display: grid; gap: calc(20 * var(--d)); justify-items: start;
  max-width: calc(600 * var(--d));
  font-size: calc(var(--h5) * var(--d));
  line-height: var(--lh-h5);
  font-weight: 500;
}
.beweis-text p { text-shadow: 0 0 24px rgba(20, 20, 20, 0.95); }
.beweis-play { height: var(--knopf-h); padding: 0 calc(28 * var(--d)) 0 calc(10 * var(--d)); font-size: calc(var(--p2) * var(--d)); }

@media (min-width: 1024px) { .bewegt .karte-slot { display: inline-block; } }
.bewegt .beweis { padding-top: 0; }
.bewegt .beweis-buehne { height: 100vh; height: 100svh; display: grid; place-items: center; overflow: clip; }
.bewegt .beweis-karte {
  position: absolute;
  left: 0; top: 0; width: 0; height: 0;
  margin: 0;
  will-change: left, top, width, height;
}
.bewegt .beweis-bild { object-fit: cover; }
@media (min-width: 1024px) {
  .bewegt .beweis-text {
    bottom: calc(11.5% + 50 * var(--d));
    padding: calc(34 * var(--d)) calc(40 * var(--d));
    border-radius: calc(40 * var(--d));
    background: var(--glas);
    -webkit-backdrop-filter: var(--glas-filter);
    backdrop-filter: var(--glas-filter);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 20px 60px rgba(0, 0, 0, 0.08);
  }
  .bewegt .beweis-text p { text-shadow: none; }
}

@media (max-width: 1023px) {
  .beweis-titel { font-size: calc(var(--h0) * var(--d)); }
  .beweis-karte, .bewegt .beweis-karte {
    position: relative; left: auto; top: auto;
    width: calc(342 * var(--d)); height: calc(551 * var(--d));
    max-width: 100%;
    margin: calc(28 * var(--d)) auto 0;
  }
  .bewegt .beweis-buehne { height: auto; display: block; overflow: visible; }
  .beweis-bild, .bewegt .beweis-bild { object-fit: contain; object-position: 50% 38%; }
  .karte-slot { width: 0.5em; }
  .beweis-text { left: calc(20 * var(--d)); right: calc(20 * var(--d)); bottom: calc(20 * var(--d)); font-size: calc(17 * var(--d)); }
}

/* ---------- 7 Zahl ---------- */

.stats {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  margin-top: calc(200 * var(--d));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: calc(40 * var(--d));
  padding: 0 var(--rand);
  text-align: center;
}
.leuchten-stats { inset: -10% -20%; transform: scaleY(-1); }
.stats > :not(.leuchten) { position: relative; max-width: 64%; }
.stats-zeile {
  font-size: calc(var(--h0) * var(--d));
  line-height: var(--lh-h0);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats-absatz { font-size: calc(var(--h3) * var(--d)); line-height: var(--lh-h3); font-weight: 500; letter-spacing: -0.02em; }
.stats-klein { font-size: calc(var(--p1) * var(--d)); color: var(--grau); }
.odometer { display: inline-flex; }
.ziffer { display: inline-block; height: 1em; line-height: 1; overflow: hidden; }
.ziffer-band { display: flex; flex-direction: column; }
.ziffer-band > span { display: block; height: 1em; line-height: 1; }
.zeichen { display: inline-block; line-height: 1; white-space: pre; }
@media (max-width: 1023px) {
  .stats { min-height: 80svh; margin-top: calc(60 * var(--d)); }
  .stats > :not(.leuchten) { max-width: 100%; }
}

/* ---------- 8 Fachrichtungen ---------- */

.fach { padding-top: var(--abschnitt-oben); }
.fach .haarlinie { margin-bottom: calc(60 * var(--d)); }
.fach .statement { width: 94.8%; }
.spur-rahmen { margin-top: var(--mt-reihe); padding-inline: var(--rand); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.spur-rahmen::-webkit-scrollbar { display: none; }
.spur-rahmen.zieh-aktiv { overflow: hidden; cursor: none; }
.spur { display: flex; gap: calc(30 * var(--d)); width: max-content; padding-right: var(--rand); }
.zieh-aktiv .spur { touch-action: pan-y; }
.fach-karte {
  position: relative;
  display: block;
  flex: none;
  color: inherit;
  text-decoration: none;
  -webkit-user-drag: none;
  width: calc(586.7 * var(--d)); height: calc(630.7 * var(--d));
  border-radius: calc(40 * var(--d));
  overflow: hidden;
  background: var(--karte);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  user-select: none;
}
.fach-bild { position: absolute; inset: 0; overflow: hidden; }
.fach-karte:focus-visible { outline: 3px solid var(--akzent-dunkel); outline-offset: -3px; }   /* innen, der Rahmen schneidet außen ab */
.fach-bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); will-change: transform, filter; pointer-events: none; }
.kreise { position: absolute; left: calc(30 * var(--d)); top: calc(30 * var(--d)); display: flex; }
.kreise span {
  display: grid; place-items: center;
  width: calc(70 * var(--d)); height: calc(70 * var(--d)); min-width: 30px; min-height: 30px;
  margin-right: calc(-18 * var(--d));
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--text); color: var(--weiss);
  font-size: calc(var(--p3) * var(--d)); font-weight: 600;
}
.kreise span:nth-child(2) { background: var(--akzent-dunkel); }
.kreise span:nth-child(3) { background: var(--weiss); color: var(--text); }
.glas-pille {
  position: absolute; left: calc(30 * var(--d)); bottom: calc(30 * var(--d));
  display: inline-flex; align-items: center; gap: calc(14 * var(--d));
  height: calc(74 * var(--d));
  padding: 0 calc(28 * var(--d)) 0 calc(24 * var(--d));
  border-radius: 999px;
  font-size: calc(var(--h5) * var(--d)); font-weight: 500;
}
.punkt { width: calc(14 * var(--d)); height: calc(14 * var(--d)); min-width: 8px; min-height: 8px; border-radius: 50%; }
.punkt-gruen { background: #03c567; }
.punkt-blau { background: #00aeb9; }
.punkt-senf { background: #b7b700; }
.punkt-orange { background: #ff7701; }
@media (max-width: 1023px) {
  .fach .statement { width: auto; }
  .spur-rahmen { scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); }
  .spur { gap: calc(10 * var(--d)); padding-right: var(--rand); }
  .spur > * { scroll-snap-align: start; }
  .fach-karte { width: calc(284 * var(--d)); height: calc(360 * var(--d)); border-radius: calc(22 * var(--d)); }
}

/* ---------- 9 Funktionen ---------- */

.features { padding-top: var(--abschnitt-oben); }
.features-zeile { display: flex; justify-content: space-between; align-items: flex-start; margin-top: var(--mt-reihe); gap: 32px; }
.tab-liste { width: 30.5%; }
.feature-eintrag { position: relative; padding: calc(50 * var(--d)) 0; }
.f-linie { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--haarlinie); }
.f-balken { display: block; height: 2px; margin-top: -0.5px; background: var(--akzent); transform: scaleX(0); transform-origin: 0 50%; }
.f-titel {
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  text-align: left;
  font-size: calc(var(--h3) * var(--d));
  line-height: var(--lh-h3);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--grau);               /* nicht --blass: 2,2:1 reicht nicht (WCAG), --grau 5,1:1 */
  cursor: pointer;
  transition: color 0.5s var(--ease);
}
.feature-eintrag.aktiv .f-titel, .f-titel:hover { color: var(--text); }
.f-inhalt { display: grid; gap: calc(20 * var(--d)); margin-top: calc(20 * var(--d)); }
.f-text { color: var(--grau); max-width: calc(441 * var(--d) / 0.305); max-width: 100%; }
.feature-karte {
  position: relative;
  width: 46.6%;
  aspect-ratio: 671 / 405;
  border-radius: var(--karte-r);
  overflow: hidden;
  isolation: isolate;
  perspective: 1200px;
  background: var(--karte);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.fk-stapel { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; will-change: transform; }   /* nur das Video, kein rosa Rahmen */
.fk-medium { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; background: var(--weiss); }
.fk-medium.an { opacity: 1; }
.f-pfeil { position: absolute; right: calc(30 * var(--d)); bottom: calc(30 * var(--d)); z-index: 2; background: var(--weiss); }
@media (max-width: 1023px) {
  .features-zeile { flex-direction: column-reverse; gap: 20px; }
  .tab-liste, .feature-karte { width: 100%; }
  .feature-eintrag { padding: calc(20 * var(--d)) 0; }
}

/* ---------- Videothek ---------- */

/* Praxis: Zeilen mit Trennlinie (Titel links, Kurztext rechts). Beim Hover dimmt die Zeile, der Text rückt 10 px, und dem Zeiger folgt ein
   Bildfenster, das aufzoomt (Bild wechselt senkrecht je Zeile), dazu Kreis und Etikett. Logik: js/seite.js (baueListe). */
.praxis { padding-top: var(--abschnitt-oben); }
.praxis-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: calc(60 * var(--d)); }
.praxis-intro { max-width: 26em; margin: 0; font-size: calc(var(--p1) * var(--d)); line-height: var(--lh-p1); font-weight: 500; color: var(--grau); }
.praxis-liste { list-style: none; margin: 0; padding: 0; }
.praxis-zeile {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 24px;
  padding: clamp(18px, 3.6vh, 44px) clamp(8px, 4vw, 90px);
  border-top: 1px solid rgba(255, 255, 255, 0.15); cursor: pointer;
  transition: opacity 0.2s;
}
.praxis-zeile:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.praxis-titel { margin: 0; font-size: clamp(1.9rem, min(5.2vw, 8vh), 4.4rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; transition: transform 0.3s; }
.praxis-knopf { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.praxis-knopf:focus-visible { outline: 2px solid var(--akzent); outline-offset: 6px; }
/* Aufklapptext (Klick): Höhe per Grid 0fr → 1fr, zu = unsichtbar und nicht fokussierbar */
.praxis-auf { flex-basis: 100%; display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s; }
.praxis-auf-innen { min-height: 0; overflow: hidden; }
.praxis-auf p { margin: 0; padding-top: 14px; max-width: 42em; font-size: calc(var(--p1) * var(--d)); line-height: var(--lh-p1); color: var(--grau); }
.praxis-auf img { display: none; }
.praxis-zeile.offen .praxis-auf { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.praxis-text { margin: 0; font-size: max(14px, calc(var(--p2) * var(--d))); font-weight: 300; color: var(--grau); text-align: right; transition: transform 0.3s; }
.praxis-modal {
  position: fixed; left: 0; top: 0; z-index: 44; width: clamp(300px, min(40vw, 80vh), 700px); aspect-ratio: 8 / 7;
  overflow: hidden; pointer-events: none; background: #141414; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  /* rechts vom Zeiger (Kreis sitzt auf dem Zeiger); wächst aus dem Zeigerpunkt heraus. Reicht rechts der Platz nicht, links (.links) oder mittig (.mitte) */
  translate: 70px -50%; transform-origin: -70px 50%;
  transform: scale(0); transition: transform 0.4s cubic-bezier(0.32, 0, 0.67, 0);
}
.praxis-modal.links { translate: calc(-100% - 70px) -50%; transform-origin: calc(100% + 70px) 50%; }
.praxis-modal.mitte { translate: -50% -50%; transform-origin: 50% 50%; }
.praxis-spur { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: top 0.5s cubic-bezier(0.76, 0, 0.24, 1); }
.praxis-bild { width: 100%; height: 100%; }
.praxis-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.praxis-kreis, .praxis-etikett {
  position: fixed; left: 0; top: 0; z-index: 45; width: 80px; height: 80px; border-radius: 50%; pointer-events: none;
  display: grid; place-items: center; transform: translate(-50%, -50%) scale(0); transition: transform 0.4s cubic-bezier(0.32, 0, 0.67, 0);
}
.praxis-kreis { background: var(--akzent); }
.praxis-etikett { color: #fff; font-size: 14px; font-weight: 300; }
.praxis-modal.an { transform: scale(1); transition-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
.praxis-kreis.an, .praxis-etikett.an { transform: translate(-50%, -50%) scale(1); transition-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
@media (hover: hover) {
  .praxis-zeile:hover .praxis-titel, .praxis-zeile:hover .praxis-text { transform: translateX(10px); }
}
@media (hover: none) {
  .praxis-kreis, .praxis-etikett, .praxis-modal { display: none; }
  .praxis-auf img { display: block; width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 14px; border-radius: 8px; }
}
@media (max-width: 1023px) {
  .praxis-kopf { flex-direction: column; align-items: flex-start; gap: 16px; }
  .praxis-zeile { gap: 4px 16px; }
  .praxis-text { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .praxis-modal, .praxis-kreis, .praxis-etikett, .praxis-spur, .praxis-auf { transition: none; }
}

/* Einsatzbeispiele: flaches Text-Raster, Trennlinie über jedem Eintrag */
.beispiele { padding-top: var(--abschnitt-oben); }
.bsp-raster { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: calc(50 * var(--d)); margin-top: var(--mt-reihe); }
.bsp { position: relative; padding: calc(34 * var(--d)) 0 calc(56 * var(--d)); }
.bsp .haarlinie { position: absolute; left: 0; right: 0; top: 0; }
.bsp-icon { display: block; width: max(30px, calc(48 * var(--d))); height: max(30px, calc(48 * var(--d))); margin-bottom: calc(24 * var(--d)); fill: none; stroke: var(--akzent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bsp h3 { margin: 0 0 calc(14 * var(--d)); font-size: calc(var(--h4) * var(--d)); line-height: var(--lh-h4); font-weight: 500; letter-spacing: -0.02em; }
.bsp p { margin: 0; max-width: 30em; font-size: calc(var(--p1) * var(--d)); line-height: var(--lh-p1); color: var(--grau); }
@media (max-width: 1023px) { .bsp-raster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bsp-raster { grid-template-columns: 1fr; } .bsp { padding-bottom: calc(36 * var(--d)); } }

.videothek { padding-top: var(--abschnitt-oben); }
.videothek-kopf, .mehr-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: calc(60 * var(--d)); }
.kopf-absatz { width: 22%; min-width: 16em; color: var(--grau); }
.video-gesamt-platz { margin-top: var(--mt-reihe); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: calc(80 * var(--d)); padding: 4px; border-radius: calc(26 * var(--d)); background: var(--flaeche); max-width: 100%; }
.tab {
  min-height: calc(54 * var(--d)); min-width: 44px;
  padding: 0 calc(26 * var(--d));
  border: 0; border-radius: calc(22 * var(--d));
  background: transparent;
  font-size: calc(var(--p2) * var(--d)); font-weight: 500;
  color: var(--grau); cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
@media (min-width: 1024px) { .tab { font-size: max(13px, calc(var(--p2) * var(--d))); min-height: max(40px, calc(54 * var(--d))); } }
.tab[aria-selected="true"] { background: var(--weiss); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
.video-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(60 * var(--d)) calc(30 * var(--d)); margin-top: calc(50 * var(--d)); }
.video-raster:focus-visible { outline-offset: 8px; }
.video-karte {
  display: flex; flex-direction: column; gap: calc(14 * var(--d));
  width: 100%; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer; border-radius: calc(30 * var(--d));
}
.video-poster { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: calc(30 * var(--d)); overflow: hidden; background: var(--flaeche); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); pointer-events: none; }
.video-karte:hover .video-poster img { transform: scale(1.04); }
.video-dauer {
  position: absolute; right: calc(14 * var(--d)); bottom: calc(14 * var(--d));
  padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.62); color: var(--weiss);
  font-size: max(12px, calc(var(--p3) * var(--d))); font-weight: 600; font-variant-numeric: tabular-nums;
}
.video-poster .play-zeichen { position: absolute; left: calc(14 * var(--d)); bottom: calc(14 * var(--d)); background: rgba(255, 255, 255, 0.94); }
.video-poster .play-zeichen::after { border-left-color: var(--text); }
.video-titel { font-size: calc(var(--h5) * var(--d)); line-height: var(--lh-h5); font-weight: 500; }
.video-text { font-size: calc(var(--p2) * var(--d)); line-height: var(--lh-p2); color: var(--grau); }
@media (min-width: 1024px) { .video-text { font-size: max(13px, calc(var(--p2) * var(--d))); } }
.video-gesamt { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 16px calc(80 * var(--d)); }
.video-gesamt .video-poster { border-radius: var(--karte-r); }
.video-gesamt .video-titel { font-size: calc(var(--h3) * var(--d)); line-height: var(--lh-h3); letter-spacing: -0.02em; }
.video-gesamt .video-text { font-size: calc(var(--p1) * var(--d)); }
.video-gesamt-text { display: grid; gap: calc(16 * var(--d)); }
.video-marke { font-size: calc(var(--p2) * var(--d)); font-weight: 500; color: var(--grau); }
@media (max-width: 1023px) {
  .videothek-kopf, .mehr-kopf { flex-direction: column; align-items: flex-start; }
  .kopf-absatz { width: auto; min-width: 0; }
  .video-raster { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px 16px; }
  .video-gesamt { grid-template-columns: minmax(0, 1fr); }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tab { padding: 6px 10px; line-height: 1.2; }
  .tab:first-child { grid-column: 1 / -1; }
}

/* ---------- 10 Noch mehr drin ---------- */

.mehr { padding-top: var(--abschnitt-oben); }
.mehr-kopf .titel-gross { width: 56%; }
.bento {
  display: grid;
  grid-template-columns: 37fr 15fr 37fr;
  grid-template-rows: calc(674 * var(--d)) calc(674 * var(--d));
  gap: calc(20 * var(--d));
  margin-top: var(--mt-reihe);
}
.bento + .bento { margin-top: calc(20 * var(--d)); }
.bento-text {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: calc(24 * var(--d));
  padding: calc(100 * var(--d));
  border-radius: var(--karte-r);
  background: var(--flaeche);
}
.bento-text h3 { font-size: calc(var(--h3) * var(--d)); line-height: var(--lh-h3); font-weight: 500; letter-spacing: -0.02em; }
.bento-text p { font-size: calc(var(--h5) * var(--d)); line-height: var(--lh-h5); font-weight: 300; color: var(--grau); }
.bento-text .icon-knopf { margin-top: auto; background: var(--weiss); }
.bento-rosa { background: linear-gradient(160deg, #fff4f8, #ffe3ee); }
.bento-marke {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--weiss);
  font-size: calc(var(--p2) * var(--d)) !important;
  font-weight: 500 !important;
  color: var(--akzent-dunkel) !important;
}
.bento-bild {
  position: relative;
  padding: 0; border: 0;
  border-radius: var(--karte-r);
  overflow: hidden;
  background: var(--flaeche);
  cursor: pointer;
}
.bento-bild video { width: 100%; height: 100%; object-fit: cover; will-change: transform, filter; }
.bento > :nth-child(1) { grid-column: 1; grid-row: 1; }
.bento-breit-oben { grid-column: 2 / 4; grid-row: 1; }
.bento-breit-unten { grid-column: 1 / 3; grid-row: 2; }
.bento > :nth-child(4) { grid-column: 3; grid-row: 2; }
@media (max-width: 1023px) {
  .mehr-kopf .titel-gross { width: auto; }
  .bento { display: flex; flex-direction: column; gap: 0; }
  .bento-bild { aspect-ratio: 16 / 10; }
  .bento-text { padding: calc(28 * var(--d)); margin-top: calc(-60 * var(--d)); padding-top: calc(28 * var(--d) + 60 * var(--d)); z-index: -1; }
  .bento-text + .bento-bild { margin-top: calc(16 * var(--d)); }
  .bento > :nth-child(1) { order: 2; }
  .bento-breit-oben { order: 1; }
  .bento-breit-unten { order: 3; margin-top: calc(16 * var(--d)); }
  .bento > :nth-child(4) { order: 4; }
  .bento-bild { position: relative; z-index: 1; }
  .bento-text .icon-knopf { margin-top: 8px; }
}

/* ---------- 11 Praxis-Anleitung ---------- */

.anleitung { padding-top: var(--abschnitt-oben); }
.anleitung .statement { width: 94.8%; }
.anleitung-karte {
  flex: none;
  display: flex; flex-direction: column; gap: calc(24 * var(--d));
  width: calc(586.7 * var(--d));
  padding: calc(80 * var(--d)) calc(60 * var(--d));
  border: 0;
  border-radius: var(--karte-r);
  background: var(--flaeche);
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.ak-kopf { display: flex; justify-content: space-between; gap: 12px; font-size: calc(var(--p2) * var(--d)); color: var(--grau); }
.ak-nr { font-variant-numeric: tabular-nums; }
.ak-titel { font-size: calc(var(--h5) * var(--d)); line-height: var(--lh-h5); font-weight: 500; }
.ak-text { color: var(--grau); }
.ak-poster { position: relative; margin-top: auto; aspect-ratio: 16 / 9; border-radius: calc(30 * var(--d)); overflow: hidden; background: var(--weiss); }
.ak-poster img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ak-poster .play-zeichen { position: absolute; left: calc(14 * var(--d)); bottom: calc(14 * var(--d)); background: rgba(255, 255, 255, 0.94); }
.ak-poster .play-zeichen::after { border-left-color: var(--text); }
.anleitung-karte.ak-gesamt { background: var(--verlauf-hell); }
@media (max-width: 1023px) {
  .anleitung .statement { width: auto; }
  .anleitung-karte { width: calc(284 * var(--d)); padding: calc(24 * var(--d)) calc(20 * var(--d)); border-radius: calc(22 * var(--d)); }
}

/* ---------- 12 Fragen ---------- */

.fragen { position: relative; padding-top: var(--abschnitt-oben); }
.laufband { height: calc(240 * var(--d)); overflow: hidden; display: flex; align-items: center; }
.laufband-spur { display: flex; width: max-content; will-change: transform; }
.lb-teil {
  display: inline-flex; align-items: center; gap: 0.12em;
  padding-right: 0.3em;
  font-size: calc(var(--h0) * var(--d)); line-height: 1;
  font-weight: 600; letter-spacing: -0.02em;
  white-space: nowrap;
}
.lb-teil .glyphe { width: 0.74em; height: 0.7em; margin: 0 0 0 0.12em; }
.geraete-karte {
  position: relative;
  width: 94.8%;
  height: calc(960 * var(--d));
  margin: calc(140 * var(--d)) auto 0;
  border-radius: calc(160 * var(--d));
  overflow: hidden;
  isolation: isolate;   /* keine Fläche hinter dem freigestellten Handy-Bild */
}
.gk-innen { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }
.gk-bild { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.gk-video { position: absolute; left: 0; top: 0; width: 10px; height: 10px; object-fit: cover; opacity: 0; transition: opacity 0.4s var(--ease); }
.gk-video.an { opacity: 1; }
.faq-zeile { display: flex; align-items: flex-start; margin-top: var(--mt-reihe); }
.faq-links { width: 22.5%; display: grid; gap: calc(40 * var(--d)); position: sticky; top: 15vh; }
.faq-rechts { width: 39%; margin-left: calc(333 * var(--d)); margin-left: auto; margin-right: 18%; }
.faq-eintrag { position: relative; padding: calc(50 * var(--d)) 0; }
.faq-eintrag .haarlinie { position: absolute; left: 0; right: 0; top: 0; }
.faq-eintrag h3 { font-size: calc(var(--h4) * var(--d)); line-height: var(--lh-h4); font-weight: 500; letter-spacing: -0.02em; }
.faq-eintrag p { margin-top: calc(16 * var(--d)); font-size: calc(var(--h5) * var(--d)); line-height: var(--lh-h5); font-weight: 300; color: var(--grau); }
/* Kundenbewertungen (teile/bewertungen.php): gleiche Zeile wie die Fragen, Sterne in Magenta */
.bewertungen { padding-top: var(--mt-reihe); }
.bw-titel { font-size: calc(var(--h3) * var(--d)); line-height: var(--lh-h3); font-weight: 600; letter-spacing: -0.02em; }
.bw-schnitt { font-size: calc(var(--p1) * var(--d)); color: var(--text); }
.bw-sterne { color: var(--akzent-dunkel); letter-spacing: 0.12em; }
.bw-schnitt .bw-sterne { display: block; font-size: calc(var(--h4) * var(--d)); margin-bottom: calc(8 * var(--d)); }
.bw-hinweis { font-size: calc(var(--p2) * var(--d)); color: var(--grau); }
.faq-eintrag .bw-sterne { margin-top: 0; font-size: calc(var(--h5) * var(--d)); color: var(--akzent-dunkel); }
.faq-eintrag .bw-text { color: var(--text); }
.faq-eintrag .bw-von { font-size: calc(var(--p2) * var(--d)); }
/* Viele Bewertungen: kompakte Karten, 4 nebeneinander (Laptop 3, Tablet 2, Handy 1), weitere seitlich blättern */
.bewertungen .faq-zeile { align-items: flex-start; }
.bw-rechts { min-width: 0; width: auto; flex: 1 1 0; margin-left: calc(80 * var(--d)); margin-right: 0; }
.bw-leiste { display: flex; gap: calc(40 * var(--d)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.bw-leiste::-webkit-scrollbar { display: none; }
.bw-leiste .bw-eintrag { flex: 0 0 calc((100% - 3 * 40 * var(--d)) / 4); scroll-snap-align: start; padding: calc(28 * var(--d)) 0; }
.bw-leiste .bw-sterne { font-size: calc(var(--p1) * var(--d)); }
.bw-leiste .bw-text { font-size: calc(var(--p1) * var(--d)); line-height: var(--lh-p1); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.bw-leiste .bw-von { font-size: calc(var(--p3) * var(--d)); }
.bw-leiste .offen .bw-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.bw-mehr { background: none; border: 0; padding: 0; margin: calc(-8 * var(--d)) 0 calc(16 * var(--d)); color: var(--text); font: inherit; font-size: calc(var(--p2) * var(--d)); cursor: pointer; }
.bw-pfeile { display: flex; gap: 12px; margin-top: calc(16 * var(--d)); }
@media (max-width: 1439px) { .bw-leiste .bw-eintrag { flex-basis: calc((100% - 2 * 40 * var(--d)) / 3); } }
@media (max-width: 1023px) { .bw-rechts { margin-left: 0; width: 100%; } .bw-leiste .bw-eintrag { flex-basis: 46%; } }
@media (max-width: 640px) { .bw-leiste .bw-eintrag { flex-basis: 85%; } }
@media (max-width: 1023px) {
  .laufband { height: calc(80 * var(--d)); }
  .lb-teil { font-size: calc(64 * var(--d)); }
  .geraete-karte { width: 100%; height: calc(420 * var(--d)); border-radius: calc(30 * var(--d)); margin-top: calc(28 * var(--d)); }
  .faq-zeile { flex-direction: column; gap: 28px; }
  .faq-links, .faq-rechts { width: 100%; margin: 0; position: static; }
  .faq-eintrag { padding: calc(24 * var(--d)) 0; }
}

/* ---------- 13 Fußzeile ---------- */

.fuss { position: relative; overflow: hidden; padding-top: calc(200 * var(--d)); }
.leuchten-fuss { inset: 0 -20% 30%; }
.fuss > :not(.leuchten) { position: relative; }
.fuss-cta { display: flex; flex-direction: column; align-items: center; gap: calc(40 * var(--d)); padding-inline: var(--rand); text-align: center; }
.fuss-unterzeile { max-width: 26em; font-size: calc(var(--h3) * var(--d)); line-height: var(--lh-h3); font-weight: 500; letter-spacing: -0.02em; }
.fuss-knoepfe { justify-content: center; }
.preise { font-size: calc(var(--p1) * var(--d)); font-weight: 500; }
.telefon { font-size: calc(var(--p1) * var(--d)); color: var(--grau); }
.telefon a { color: var(--text); font-weight: 500; }
.fuss-mitte { position: relative; display: flex; align-items: flex-start; margin-top: calc(260 * var(--d)); min-height: calc(200 * var(--d)); }
.qr-karte {
  display: flex; align-items: center; gap: calc(30 * var(--d));
  width: 34%;
  text-decoration: none;
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.qr-karte::before { display: none; }
.qr-karte img {
  flex: none;
  width: calc(200 * var(--d)); height: calc(200 * var(--d));
  padding: calc(63 * var(--d));
  border-radius: calc(60 * var(--d));
  background: var(--glas);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.marke-bild { padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 22% !important; }
.qr-karte-text { display: grid; gap: 8px; font-size: calc(var(--p1) * var(--d)); }
.qr-karte-text .linie-link { justify-self: start; font-weight: 500; }
.fuss-spalte { width: 15%; }
.fuss-spalte:nth-of-type(2) { width: 24%; }
.fuss-spalte ul { display: grid; gap: calc(8 * var(--d)); }
.fuss-spalte a { display: inline-block; font-size: calc(var(--h5) * var(--d)); line-height: var(--lh-h5); font-weight: 300; }
.fuss-kopf { font-size: calc(var(--p2) * var(--d)); color: var(--grau); margin-bottom: calc(16 * var(--d)); }
.nach-oben { margin-left: auto; }
.fuss-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: calc(200 * var(--d)); padding-top: calc(30 * var(--d)); font-size: calc(var(--p2) * var(--d)); color: var(--grau); position: relative; }
.fuss-credit .haarlinie { position: absolute; left: var(--rand); right: var(--rand); top: 0; }
.wortmarke {
  display: flex;
  justify-content: space-between;
  height: 12vw;
  margin-top: calc(40 * var(--d));
  overflow: hidden;
  font-size: 16.4vw;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.045em;
  white-space: nowrap;
  padding-inline: 0.5vw;
}
.wm-teil { display: inline-flex; overflow: hidden; padding-bottom: 0.2em; }
.wm-teil > span { display: inline-block; }
.wm-teil:first-child > span { color: var(--text); }
.wm-teil:last-child > span:nth-child(1) { color: #ff3d82; }
.wm-teil:last-child > span:nth-child(2) { color: var(--akzent); }
.wm-teil:last-child > span:nth-child(3) { color: #c8004f; }
@media (max-width: 1023px) {
  .fuss { padding-top: calc(80 * var(--d)); }
  .fuss-mitte { flex-wrap: wrap; gap: 24px 16px; margin-top: calc(60 * var(--d)); }
  .qr-karte { display: none; }
  .fuss-spalte { width: calc(50% - 8px); }
  .fuss-spalte:nth-of-type(2) { width: 100%; order: 3; }
  .fuss-spalte:nth-of-type(3) { order: 2; }
  .fuss-spalte a { overflow-wrap: anywhere; }
  .nach-oben { order: 4; margin-left: 0; }
  .fuss-credit { margin-top: calc(48 * var(--d)); padding-bottom: calc(8 * var(--d)); }
  .fuss-cta .knopf-reihe { flex-direction: column; width: 100%; max-width: 360px; }
  .fuss-cta .knopf { width: 100%; }
  .wortmarke { height: 12vw; margin-bottom: calc(80 * var(--d)); }
}
.fuss { padding-bottom: 0; }

/* ---------- Kontakt-Schublade (Vorlage „Support“-Drawer, quellen/flowty-unterseiten.md) ---------- */

.schublade {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(calc(637 * var(--d)), 100vw);
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: calc(60 * var(--d));
  border: 0;
  background: rgba(20, 20, 20, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: -1px 0 0 rgba(255, 255, 255, 0.08);
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
  outline: none;
}
.schublade::backdrop { background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.4s var(--ease); }
.schublade.sichtbar::backdrop { opacity: 1; }
html.schublade-offen { overflow: hidden; }
.schublade-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.schublade-titel { font-size: calc(var(--h2) * var(--d)); line-height: 0.94; letter-spacing: -0.02em; font-weight: 600; }
.schublade-zu { flex: none; }
.schublade-intro { margin-top: calc(24 * var(--d)); font-size: max(14px, calc(var(--p2) * var(--d))); font-weight: 500; color: var(--grau); max-width: 34em; }
.kontakt-form { display: grid; gap: calc(10 * var(--d)); margin-top: calc(36 * var(--d)); }

/* Felder: nur eine Unterlinie, Platzhalter = Beschriftung */
.linie-feld input, .linie-feld textarea, .auswahl {
  width: 100%;
  padding: calc(20 * var(--d)) calc(8 * var(--d)) calc(20 * var(--d)) calc(2 * var(--d));
  padding-block: max(12px, calc(20 * var(--d)));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: max(16px, calc(var(--p2) * var(--d)));
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
  transition: border-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.linie-feld textarea { min-height: 96px; resize: vertical; line-height: 1.4; }
.linie-feld input::placeholder, .linie-feld textarea::placeholder { color: var(--grau); opacity: 1; }
.linie-feld input:focus, .linie-feld textarea:focus, .auswahl:focus, .auswahl-feld.offen .auswahl { border-bottom-color: var(--text); }
.linie-feld input:focus-visible, .linie-feld textarea:focus-visible, .auswahl:focus-visible { box-shadow: 0 2px 0 0 var(--text); border-radius: 0; }
.falsch input, .falsch textarea, .falsch .auswahl { border-bottom-color: #ff2f43; }

/* Auswahlfeld (Combobox) */
.auswahl-feld { position: relative; }
.auswahl { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; text-align: left; }
.auswahl-wert { color: var(--grau); }
.auswahl-feld.gewaehlt .auswahl-wert { color: var(--text); }
.auswahl-pfeil {
  flex: none;
  display: grid; place-items: center;
  width: calc(36 * var(--d)); height: calc(36 * var(--d)); min-width: 26px; min-height: 26px;
  border-radius: 50%;
  background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--linie);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.auswahl-pfeil svg { transition: transform 0.3s var(--ease); }
.auswahl-feld.offen .auswahl-pfeil { background: var(--text); color: var(--weiss); box-shadow: none; }
.auswahl-feld.offen .auswahl-pfeil svg { transform: rotate(180deg); }
.auswahl-liste {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 6px);
  z-index: 5;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  border-radius: 22px;
  background: #1c1c1f;
  box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  list-style: none;
}
.auswahl-liste [role="option"] {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  color: var(--grau);
  cursor: pointer;
}
.auswahl-liste [role="option"].aktiv { background: var(--flaeche); color: var(--text); }
.auswahl-liste [role="option"][aria-selected="true"] { color: var(--text); font-weight: 600; }

.feld-check { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; margin-top: calc(20 * var(--d)); }
.feld-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--text); cursor: pointer; }
.feld-check label { font-size: max(14px, calc(var(--p2) * var(--d))); line-height: 1.45; cursor: pointer; }
.feld-check.falsch input { outline: 2px solid #ff2f43; outline-offset: 2px; }
.feld-honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-fehler { margin-top: calc(10 * var(--d)); font-size: 15px; font-weight: 500; color: #ff6b7a; }

/* Regler = Absende-Knopf: volle Breite, dunkel, Beschriftung hell */
.regler {
  --x: 0px; --fuell: 0px;
  position: relative;
  height: max(52px, calc(58 * var(--d)));
  margin-top: calc(16 * var(--d));
  border-radius: max(16px, calc(22 * var(--d)));
  background: #2d2d31;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  transition: opacity 0.3s var(--ease);
}
.regler:focus-visible { outline: 2px solid var(--akzent-dunkel); outline-offset: 3px; }
.regler.zieht { cursor: grabbing; }
.regler-fuellung { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fuell); border-radius: inherit; background: var(--verlauf-knopf); }
.regler-text {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 0 16px 0 max(58px, calc(66 * var(--d)));
  font-size: max(15px, calc(var(--p2) * var(--d)));
  font-weight: 500;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
  transition: opacity 0.2s linear;
}
.regler-knauf {
  position: absolute; left: 4px; top: 4px; bottom: 4px;
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: max(12px, calc(18 * var(--d)));
  background: #fff;
  color: #141414;
  transform: translateX(var(--x));
}
.regler.zurueck .regler-knauf { transition: transform 0.55s var(--ease); }
.regler.zurueck .regler-fuellung { transition: width 0.55s var(--ease); }
.regler.fertig { cursor: default; }
.regler.fertig .regler-text { padding-left: 16px; }
.regler.sendet { opacity: 0.6; }
.kontakt-form[aria-busy="true"] .linie-feld, .kontakt-form[aria-busy="true"] .auswahl-feld, .kontakt-form[aria-busy="true"] .feld-check { opacity: 0.6; pointer-events: none; }
.form-hinweis { margin-top: calc(14 * var(--d)); font-size: 15px; line-height: 1.45; color: var(--grau); }
.form-hinweis a, .schublade-direkt a { color: var(--text); }
.schublade-direkt { margin-top: calc(40 * var(--d)); padding-top: calc(24 * var(--d)); border-top: 1px solid var(--linie); font-size: 15px; color: var(--grau); }

.kontakt-danke { display: grid; gap: calc(24 * var(--d)); justify-items: start; margin-top: calc(60 * var(--d)); }
.kontakt-danke:focus { outline: none; }
.danke-titel { font-size: calc(var(--h2) * var(--d)); line-height: 0.94; letter-spacing: -0.02em; font-weight: 600; }
.kontakt-danke p { font-size: max(16px, calc(var(--p1) * var(--d))); color: var(--grau); }

.faq-mehr { font-size: max(15px, calc(var(--p1) * var(--d))); }
.faq-mehr a { color: var(--text); }

@media (max-width: 1023px) { .schublade { width: min(553px, 100vw); } }
@media (max-width: 767px) {
  .schublade { width: 100vw; padding: 50px 24px 40px; }
  .schublade-titel, .danke-titel { font-size: 40px; }
}

/* ---------- Seitenwechsel: Kartenstapel (Cross-Document View Transitions) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.nav { view-transition-name: navpille; }
::view-transition-group(navpille) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.625, 0.05, 0, 1); }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-old(root) { transform-origin: 50% 50%; animation: 1.2s cubic-bezier(0.625, 0.05, 0, 1) both seitenwechsel-alt; }
::view-transition-new(root) { animation: 1.2s cubic-bezier(0.625, 0.05, 0, 1) both seitenwechsel-neu; }
@keyframes seitenwechsel-alt { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(-40vh) scale(1.3); opacity: 0; } }
@keyframes seitenwechsel-neu { from { transform: translateY(100vh); } to { transform: translateY(0); } }
/* Ankunft per Seitenwechsel: Titel erst zeigen, wenn der Einstieg sie aufgeteilt hat */
html.uebergang .hero-titel, html.uebergang .unter-titel, html.uebergang .unter-absatz { visibility: hidden; }

/* ---------- Player ---------- */

.player {
  width: min(1100px, calc(100vw - 32px));
  max-width: none; max-height: calc(100svh - 32px);
  padding: 0; border: 0;
  border-radius: 28px;
  background: var(--weiss); color: var(--text);
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  font-size: 17px; line-height: 1.4;
}
.player::backdrop { background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.player.hoch { width: min(440px, calc(100vw - 32px)); }
.player-rahmen { display: grid; gap: 14px; padding: 16px 16px 20px; }
.player-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-left: 6px; }
.player-titel { font-size: 19px; font-weight: 600; line-height: 1.25; }
.player-zu { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--flaeche); cursor: pointer; }
.player-zu:hover { background: var(--flaeche-hover); }
.player-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; }
.player.hoch .player-video { aspect-ratio: 9 / 16; width: auto; height: min(calc(100svh - 190px), calc((100vw - 64px) * 16 / 9)); max-width: 100%; margin-inline: auto; }
.player-text { padding: 0 6px; color: var(--grau); font-size: 15px; }
.player-text:empty { display: none; }
html.player-offen { overflow: hidden; }

/* ---------- ruhige Fassung ---------- */

.ruhig .leuchten { animation: none; }
.ruhig .beweis-video, .ruhig .gk-video { display: none; }
.ruhig .fach-bild img { transform: none; }
.ruhig .laufband-spur { transform: none; }
.ruhig .lader-bild { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Hintergrund (js/hintergrund.js) ---------- */

/* Der Shader-Canvas liegt hinter allem; die Abschnitte sind transparent, damit er überall durchscheint. */
.hintergrund { position: fixed; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; pointer-events: none; }
.erzaehlung, main, main > section, .fuss, .fragen { background: transparent; }
/* Ohne WebGL (oder solange der Shader noch nicht steht): dunkler Body mit CSS-Hexmuster (pointy-top, 190 px breit) */
html:not(.shader) {
  background-color: #141414;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='329.09' viewBox='0 0 190 329.09'%3E%3Cpath d='M0.00,-109.70 L95.00,-54.85 L95.00,54.85 L0.00,109.70 L-95.00,54.85 L-95.00,-54.85Z M190.00,-109.70 L285.00,-54.85 L285.00,54.85 L190.00,109.70 L95.00,54.85 L95.00,-54.85Z M0.00,219.39 L95.00,274.24 L95.00,383.94 L0.00,438.79 L-95.00,383.94 L-95.00,274.24Z M190.00,219.39 L285.00,274.24 L285.00,383.94 L190.00,438.79 L95.00,383.94 L95.00,274.24Z M95.00,54.85 L190.00,109.70 L190.00,219.39 L95.00,274.24 L0.00,219.39 L0.00,109.70Z' fill='none' stroke='%230b0b0b' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 190px 329.09px;
  background-attachment: fixed;
}

/* ---------- CoWorkboard: Textkarten im Zieh-Karussell (#drin), Logo-Größen ---------- */

.drin-karte { display: block; }
.drin-inhalt { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(50 * var(--d)); }
.drin-karte::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 85% 0%, rgba(229, 12, 126, 0.22), rgba(229, 12, 126, 0) 70%);
}
.drin-karte:nth-child(3n+2)::before { background: radial-gradient(70% 55% at 85% 0%, rgba(107, 92, 255, 0.24), rgba(107, 92, 255, 0) 70%); }
.drin-karte:nth-child(3n)::before { background: radial-gradient(70% 55% at 85% 0%, rgba(0, 174, 185, 0.2), rgba(0, 174, 185, 0) 70%); }
.drin-bild { position: relative; aspect-ratio: 16 / 9; border-radius: calc(16 * var(--d)); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); background: #1b1e24; }
.drin-bild img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.drin-nr { position: relative; font-size: calc(var(--p2) * var(--d)); color: var(--grau); font-variant-numeric: tabular-nums; }
.drin-inhalt > div { position: relative; display: grid; gap: calc(20 * var(--d)); }
.drin-inhalt h3 { font-size: calc(var(--h3) * var(--d)); line-height: var(--lh-h3); font-weight: 500; letter-spacing: -0.02em; }
.drin-inhalt p:not(.drin-nr) { font-size: calc(var(--p1) * var(--d)); line-height: var(--lh-p1); color: var(--grau); }
@media (max-width: 1023px) { .drin-inhalt { padding: calc(24 * var(--d)); } .drin-inhalt h3 { font-size: calc(24 * var(--d)); } .drin-inhalt p:not(.drin-nr) { font-size: calc(15 * var(--d)); } }
.hero-logo { width: calc(190 * var(--d)); }
.lader-logo { width: calc(190 * var(--d)); }
@media (max-width: 1023px) { .hero-logo { width: calc(150 * var(--d)); } .lader-logo { width: calc(140 * var(--d)); } }

/* 7-Tage-Test unter den Preiskarten */
.testen-reihe { justify-content: center; align-items: center; gap: 16px; margin-top: 40px; }
.testen-reihe .preise-hinweis { margin: 0; text-align: left; }

/* Empfehlungslink (preise.php ?ref=) */
.ref-hinweis { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(233,30,140,.45); background: rgba(233,30,140,.12); }
