@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/source-sans-3-latin-wght-normal.woff2) format("woff2"); }
/* =====================================================================
   CoreImpuls Webseite : Stylesheet
   CI Basis: Logo "COREIMPULS" (Gotham Black / Gotham Book)
   Core Teal #08A2B2 | Impuls Graphit #5C6063 | Claim Grau #999999
   Schriften: Montserrat (Display, Gotham-DNA) + Source Sans 3 (Text)
   Beide OFL-lizenziert und lokal eingebunden, keine externen Requests.
   ===================================================================== */

/* ---------- 1. Design-Tokens (hell) ---------- */
:root {
  color-scheme: light;

  /* Markenfarben aus dem Logo */
  --core: #08A2B2;          /* Core Teal: Akzente, Grafik, große Headlines */
  --core-ink: #06737E;      /* Textsicheres Teal (AA): Links, Buttons */
  --core-50: #EAF6F8;
  --core-100: #D2EEF1;
  --core-200: #A7DDE3;
  --on-core-ink: #FFFFFF;

  /* Neutrale Flächen und Text */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F7FAFB;
  --mist: #F0F6F7;
  --mist-2: #E3EEF0;
  --line: #DAE5E7;
  --line-strong: #BFD0D3;
  --text: #1E2A2E;
  --text-2: #45525A;
  --muted: #5C6063;         /* Impuls Graphit aus dem Logo */
  --ink: #10262B;           /* Tiefsee: Headlines, dunkle Kapitel */

  /* Dunkle Kapitel innerhalb des hellen Themes */
  --deep: #0D2126;
  --deep-2: #133038;
  --on-deep: #E4EEF0;
  --on-deep-2: #A9BCC0;

  /* Logo-Farben (über CSS-Variablen in <use>-Instanzen steuerbar) */
  --logo-core: #08A2B2;
  --logo-impuls: #5C6063;
  --logo-claim: #999999;

  /* Bildplatzhalter und Skeleton */
  --ph-a: #EEF6F7;
  --ph-b: #D9ECEF;
  --ph-hi: rgba(255, 255, 255, .92);
  --ph-ring: rgba(8, 162, 178, .20);
  --shimmer: rgba(255, 255, 255, .7);

  --glass: rgba(255, 255, 255, .78);
  --focus: #06737E;

  --shadow-1: 0 1px 2px rgba(16, 38, 43, .06), 0 10px 28px -14px rgba(16, 38, 43, .22);
  --shadow-2: 0 2px 6px rgba(16, 38, 43, .05), 0 28px 60px -28px rgba(16, 38, 43, .38);
  --shadow-3: 0 40px 100px -30px rgba(6, 22, 26, .55);

  /* Typografie */
  --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-text: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Radien nach Hierarchie: klein für Chips, groß für Bildflächen */
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-xl: 44px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --header-h: 76px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1320px;

  /* Safe Areas (Notch, Home-Indicator) */
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2. Dunkles Theme: nur bei aktiver Wahl, Standard ist hell ---------- */
:root[data-scheme="dark"] {
  color-scheme: dark;
    --bg: #0B1B1F; --surface: #10252A; --surface-2: #132B31;
    --mist: #0E2227; --mist-2: #153139;
    --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .18);
    --text: #E3EDEF; --text-2: #BFCDD1; --muted: #9DB2B7; --ink: #F2F8F9;
    --core: #19B5C5; --core-ink: #5ED3DE; --on-core-ink: #06181C;
    --core-50: rgba(25, 181, 197, .12); --core-100: rgba(25, 181, 197, .20); --core-200: rgba(25, 181, 197, .35);
    --deep: #06151A; --deep-2: #0C2329; --focus: #5ED3DE;
    --logo-core: #19B5C5; --logo-impuls: #E6EEF0; --logo-claim: #9AAAAE;
    --ph-a: #10262B; --ph-b: #0C1F24; --ph-hi: rgba(94, 211, 222, .10); --ph-ring: rgba(94, 211, 222, .16);
    --shimmer: rgba(255, 255, 255, .08); --glass: rgba(11, 27, 31, .72);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .25), 0 28px 60px -28px rgba(0, 0, 0, .7);
    --shadow-3: 0 40px 100px -30px rgba(0, 0, 0, .8);
    --err: #FF8B7E; --warn-bg: rgba(242, 200, 90, .12); --warn-fg: #F2D48A; --warn-bd: rgba(242, 200, 90, .3);
}

/* ---------- 3. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 12px);
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.62 var(--font-text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;               /* clip statt hidden: sticky bleibt intakt */
}

img, svg, video { display: block; max-width: 100%; }
a { color: var(--core-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); }

::selection { background: var(--core-200); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 200;
  padding: .75em 1.1em; border-radius: 999px; background: var(--ink); color: #fff;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* Icons aus dem SVG-Sprite */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 4. Typografie-System "Kern und Impuls" ----------
   Abgeleitet aus dem Logo: Jede Schlüssel-Headline besteht aus einer
   schweren Kernzeile (wie CORE) und einer leichten Impulszeile (wie IMPULS). */
.kx { font-family: var(--font-display); margin: 0; }
.kx-a, .kx-b { display: block; overflow: hidden; padding-block: .08em .14em; margin-block: -.08em -.14em; }
.kx-a > span, .kx-b > span { display: block; }
.kx-a {
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.04;
  color: var(--ink);
  font-size: clamp(2.05rem, 1.15rem + 3.1vw, 3.9rem);
  text-wrap: balance;
}
.kx-b {
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.18;
  color: var(--muted);
  font-size: clamp(1.3rem, .98rem + 1.25vw, 2.05rem);
  margin-top: .32em;
  text-wrap: balance;
}
.kx--hero .kx-a {
  color: var(--core);
  font-size: clamp(2.75rem, 1.2rem + 5.4vw, 6.1rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.kx--hero .kx-b {
  font-weight: 300;
  color: var(--muted);
  font-size: clamp(1.45rem, 1rem + 1.8vw, 2.55rem);
  margin-top: .4em;
}
.on-deep .kx-a { color: #fff; }
.on-deep .kx-b { color: var(--on-deep-2); }

/* Maskierte Zeilen-Enthüllung: nur für Kapitel-Headlines */
.js .reveal .kx-a > span,
.js .reveal .kx-b > span { transform: translateY(104%); transition: transform 1s var(--ease-out); }
.js .reveal .kx-b > span { transition-delay: .12s; }
.js .reveal.is-in .kx-a > span,
.js .reveal.is-in .kx-b > span { transform: none; }

.lead {
  font-size: clamp(1.125rem, 1.02rem + .42vw, 1.3rem);
  line-height: 1.58;
  color: var(--text-2);
  max-width: 60ch;
}
.body-text { max-width: 66ch; color: var(--text-2); }

.section { padding-block: clamp(96px, 12vw, 176px); position: relative; }
.section-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .lead { margin: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.55em;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1.0125rem/1 var(--font-text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .i { width: 1.15em; height: 1.15em; }
.btn-primary { --btn-bg: var(--core-ink); --btn-fg: var(--on-core-ink); }
.btn-primary:hover { --btn-bg: var(--ink); color: var(--on-core-ink); }
:root[data-scheme="dark"] .btn-primary:hover { --btn-bg: #fff; --btn-fg: #06181C; }
/* Impuls-Ring beim Hover: die einzige Hover-Animation mit Markenbezug */
.btn-primary::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(8, 162, 178, .45); opacity: 0;
}
@media (hover: hover) {
  .btn-primary:hover::after { animation: btnPulse 1.1s var(--ease-out); }
}
@keyframes btnPulse { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(8, 162, 178, .5); } 100% { opacity: 0; box-shadow: 0 0 0 14px rgba(8, 162, 178, 0); } }

.btn-ghost { --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--mist); color: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: #0D2126; }
.btn-light:hover { --btn-bg: var(--core-100); color: #0D2126; }
.btn-outline-light { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 1.2em; font-size: .95rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Chips: Abrechnungsart, Rezeptpflicht */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .42em .85em; border-radius: 999px;
  font: 600 .8125rem/1.2 var(--font-text); letter-spacing: .01em;
  background: var(--core-50); color: var(--core-ink);
}
.chip .i { width: 1.05em; height: 1.05em; }
.chip--neutral { background: var(--mist); color: var(--text-2); }

/* ---------- 6. Header (App-artig: blendet beim Runterscrollen aus) ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .45s var(--ease-out), background-color .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.hd.is-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: var(--line);
}
.hd.is-hidden { transform: translateY(-110%); }
.hd-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.hd-logo { display: block; flex: none; line-height: 0; border-radius: 6px; }
.hd-logo svg { height: 25px; width: auto; aspect-ratio: 1331.79 / 154.83; }
.hd-nav { margin-left: auto; }
.hd-nav ul { display: flex; gap: 4px; list-style: none; }
.hd-nav a {
  position: relative; display: block; padding: .6em .8em; border-radius: 999px;
  color: var(--text); text-decoration: none; font: 600 .96rem/1 var(--font-text);
  transition: color .2s, background-color .2s;
}
.hd-nav a:hover { background: var(--mist); color: var(--ink); }
.hd-nav a[aria-current="true"] { color: var(--core-ink); }
.hd-nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--core);
}
.hd-actions { display: flex; align-items: center; gap: 10px; }
.hd-phone {
  display: inline-flex; align-items: center; gap: .5em; padding: .55em .8em; border-radius: 999px;
  color: var(--ink); text-decoration: none; font: 600 .96rem/1 var(--font-text);
}
.hd-phone:hover { background: var(--mist); color: var(--ink); }
.hd-phone .i { color: var(--core-ink); }
.hd-menu {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface); cursor: pointer; place-items: center;
}
.hd-menu span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out); }
.hd-menu span + span { margin-top: 5px; }
.hd-menu-lines { display: grid; }

/* Lesefortschritt: dünne Linie am oberen Rand */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px;
  padding-top: env(safe-area-inset-top, 0px);
  pointer-events: none;
}
.progress span {
  display: block; height: 3px; background: var(--core);
  transform-origin: 0 50%; transform: scaleX(var(--page-p, 0));
}

@media (max-width: 1279px) {
  .hd-nav { display: none; }
  .hd-menu { display: grid; }
  .hd-actions { margin-left: auto; }
}
@media (max-width: 1499px) {
  .hd-phone span { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .hd-logo svg { height: 20px; }
  .hd-actions .btn { display: none; }
  .hd-phone { display: none; }
}

/* ---------- 7. Intro: orchestrierter Markenmoment beim ersten Laden ---------- */
.intro {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: var(--bg);
  padding: env(safe-area-inset-top, 0px) 24px env(safe-area-inset-bottom, 0px);
  animation: introFailsafe 0s 4.5s forwards;   /* Sicherheitsnetz, falls JS ausfällt */
}
html:not(.js) .intro, html.no-intro .intro { display: none; }
.intro-logo { width: min(80vw, 540px); height: auto; overflow: visible; }
.intro-logo path { transform-box: fill-box; transform-origin: 50% 100%; }
.intro-logo .lg-core path { fill: var(--logo-core); opacity: 0; transform: translateY(40%) scaleY(.85); animation: lgRise .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.intro-logo .lg-impuls path { fill: var(--logo-impuls); opacity: 0; transform: translateX(-24%); animation: lgSlide .8s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 380ms); }
.intro-logo .lg-lines path { fill: var(--logo-claim); transform: scaleX(0); animation: lgLine .7s var(--ease-io) forwards .82s; }
.intro-logo .lg-lines path:first-child { transform-origin: 100% 50%; }
.intro-logo .lg-lines path:last-child { transform-origin: 0% 50%; }
.intro-logo .lg-claim path { fill: var(--logo-claim); opacity: 0; animation: lgFade .5s ease forwards; animation-delay: calc(var(--i) * 14ms + 900ms); }
.intro-bar { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 48px); width: 120px; height: 2px; margin-left: -60px; background: var(--line); overflow: hidden; border-radius: 2px; }
.intro-bar::after { content: ""; position: absolute; inset: 0; background: var(--core); transform-origin: 0 50%; transform: scaleX(0); animation: lgLine 1.3s var(--ease-io) forwards .1s; }
.intro.is-done { animation: introOut .75s var(--ease-io) forwards; }
.intro.is-done .intro-logo { animation: introLogoOut .6s var(--ease-io) forwards; }

@keyframes lgRise { to { opacity: 1; transform: none; } }
@keyframes lgSlide { to { opacity: 1; transform: none; } }
@keyframes lgLine { to { transform: scaleX(1); } }
@keyframes lgFade { to { opacity: 1; } }
@keyframes introOut { 0% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes introLogoOut { to { transform: translateY(-24px) scale(.96); opacity: 0; } }
@keyframes introFailsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- 8. Kapitel-Spine (Desktop): die "Wirbelsäule" der Seite ---------- */
.spine {
  position: fixed; z-index: 50;
  left: calc(env(safe-area-inset-left, 0px) + 18px); top: 50%;
  transform: translateY(-50%);
  padding: 14px 8px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease-out);
}
.spine.is-visible { opacity: 1; pointer-events: auto; }
.spine ol { list-style: none; display: grid; gap: 6px; position: relative; }
.spine-track { position: absolute; left: 50%; top: 22px; bottom: 22px; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; overflow: hidden; }
.spine-track span { position: absolute; inset: 0; background: var(--core); transform-origin: 50% 0; transform: scaleY(var(--page-p, 0)); }
.spine a {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; text-decoration: none;
}
.spine-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong);
  transition: transform .4s var(--ease-out), background-color .3s, border-color .3s, box-shadow .4s;
}
.spine a:hover .spine-dot { border-color: var(--core); }
.spine a[aria-current="true"] .spine-dot {
  background: var(--core); border-color: var(--core); transform: scale(1.35);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--core) 22%, transparent);
}
.spine-label {
  position: absolute; left: 40px; top: 50%; white-space: nowrap;
  padding: .45em .8em; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font: 600 .82rem/1 var(--font-text);
  opacity: 0; transform: translate(-6px, -50%); pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease-out);
}
.spine a:hover .spine-label, .spine a:focus-visible .spine-label { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 1279px) { .spine { display: none; } }

/* =====================================================================
   Teil 2: Utilities, Medien, Hilfe-Boxen, Hero, Kapitel "Ihr Weg",
   Leistungs-Explorer Physiotherapie
   ===================================================================== */

/* ---------- 9. Utilities und Einblend-Animationen ---------- */
html { scrollbar-gutter: stable; }

/* Sanftes Einblenden beim Scrollen (IntersectionObserver setzt .is-in) */
.js .fx {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .fx.is-in { opacity: 1; transform: none; }

/* Hero-Elemente: starten erst nach dem Intro (html.is-ready) */
.js .enter {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.is-ready .enter { opacity: 1; transform: none; }

/* Kicker: kleine Satzzeile über Inhalten, bewusst ohne Versalien */
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .98rem/1.2 var(--font-text); color: var(--core-ink);
}
.kicker::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid currentColor; box-sizing: border-box;
}
.on-deep .kicker { color: #5ED3DE; }

.section-head--split { align-items: end; }
@media (min-width: 1000px) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 64px; }
}

.note {
  display: flex; gap: .7em; align-items: flex-start;
  font-size: .95rem; color: var(--muted); max-width: 72ch;
}
.note .i { color: var(--core-ink); margin-top: .2em; }

/* ---------- 10. Medien: gestaltete Bildplatzhalter mit Skeleton ----------
   Jeder Platzhalter ist ein Bildbriefing (Motiv, Format, Mindestauflösung).
   Später wird .ph durch <img> ersetzt; der Skeleton bleibt bis zum Laden. */
.media {
  --ar: 3 / 2;
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  border-radius: var(--r-l); aspect-ratio: var(--ar);
  background: var(--ph-a);
}
.media > img, .media > picture > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ph {
  position: absolute; inset: 0; display: grid; align-content: end;
  padding: clamp(16px, 2.2vw, 28px);
  background:
    radial-gradient(120% 90% at 82% 8%, var(--ph-hi), transparent 58%),
    linear-gradient(158deg, var(--ph-a), var(--ph-b));
}
.ph-rings {
  position: absolute; left: 76%; top: 32%; width: 170%; aspect-ratio: 1;
  transform: translate(-50%, -50%); color: var(--ph-ring); pointer-events: none;
}
.ph-rings circle { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ph-rings circle:first-child { fill: currentColor; stroke: none; opacity: .5; }
.ph-brief { position: relative; display: grid; gap: 3px; justify-items: start; max-width: 36ch; }
.ph-tag {
  display: inline-flex; align-items: center; gap: .45em; margin-bottom: 10px;
  padding: .42em .8em; border-radius: 999px;
  background: var(--surface); color: var(--core-ink); box-shadow: var(--shadow-1);
  font: 600 .76rem/1 var(--font-text); letter-spacing: .01em;
}
.ph-tag .i { width: 1.1em; height: 1.1em; }
.ph-title { font: 700 1.04rem/1.28 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.ph-meta { font-size: .86rem; line-height: 1.4; color: var(--muted); }

/* Skeleton: Grundfläche mit Balken (::before) und Schimmer (::after) */
.media::before, .media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease-out), visibility 0s .6s;
}
.media::before {
  z-index: 3;
  background:
    linear-gradient(var(--ph-b), var(--ph-b)) 26px calc(100% - 70px) / 44% 14px no-repeat,
    linear-gradient(var(--ph-b), var(--ph-b)) 26px calc(100% - 46px) / 30% 10px no-repeat,
    linear-gradient(var(--ph-b), var(--ph-b)) 26px 26px / 84px 22px no-repeat,
    var(--ph-a);
}
.media::after {
  z-index: 4;
  background: linear-gradient(105deg, transparent 32%, var(--shimmer) 50%, transparent 68%) 0 0 / 260% 100% no-repeat;
}
.js .media:not(.is-loaded)::before,
.js .media:not(.is-loaded)::after { opacity: 1; visibility: visible; transition: none; }
.js .media:not(.is-loaded)::after { animation: shimmer 1.5s linear infinite; }
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }

.js .media .ph-brief { opacity: 0; transform: translateY(10px); transition: opacity .6s .12s, transform .8s .12s var(--ease-out); }
.js .media.is-loaded .ph-brief { opacity: 1; transform: none; }

/* ---------- 11. Hilfe-Boxen: kurze Erklärungen auf Abruf ---------- */
.help { margin-top: 14px; }
.help-btn {
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  min-height: 40px; padding: .3em .9em .3em .5em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--core-ink);
  font: 600 .9rem/1 var(--font-text); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.help-btn::before { content: ""; position: absolute; inset: -4px; }   /* größere Trefferfläche */
.help-btn:hover { background: var(--core-50); border-color: var(--core-200); }
.help-btn > .i:first-child { width: 1.35em; height: 1.35em; }
.help-chev { width: 1em; height: 1em; transition: transform .35s var(--ease-out); }
.help.is-open .help-chev { transform: rotate(180deg); }
.help-box {
  display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .45s var(--ease-out), opacity .3s, visibility 0s .45s;
}
.help.is-open .help-box {
  grid-template-rows: 1fr; opacity: 1; visibility: visible;
  transition: grid-template-rows .5s var(--ease-out), opacity .4s .05s, visibility 0s;
}
.help-inner { min-height: 0; overflow: hidden; }
.help-card {
  margin-top: 12px; padding: 16px 18px; border-radius: var(--r-m);
  background: var(--core-50); color: var(--text);
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  font-size: .96rem; line-height: 1.55;
}
.help-card > .i { color: var(--core-ink); margin-top: .18em; }
.help-card p { margin: 0 0 .5em; }
.help-card p:last-child { margin: 0; }
.help-card ul { padding-left: 1.1em; margin: .2em 0 .5em; }
.on-deep .help-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #5ED3DE; }
.on-deep .help-btn:hover { background: rgba(255, 255, 255, .1); }
.on-deep .help-card { background: rgba(94, 211, 222, .1); color: var(--on-deep); }
.on-deep .help-card > .i { color: #5ED3DE; }
html:not(.js) .help-box { grid-template-rows: 1fr; opacity: 1; visibility: visible; }

/* ---------- 12. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: clip;
  display: grid; align-items: center;
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 72px));
  padding-bottom: clamp(56px, 9vh, 104px);
}
.hero::before {                    /* weiches Licht hinter der Bildfläche */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -12vw; top: 8vh; width: 70vw; height: 90vh;
  background: radial-gradient(closest-side, var(--core-50), transparent);
}
.hero-grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 5.5vw, 104px);
}
.hero-copy { position: relative; z-index: 2; }
.hero .lead { margin: 30px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 14px 36px; margin-top: 44px; padding-top: 28px;
  border-top: 1px solid var(--line); list-style: none;
}
.hero-facts li { display: flex; align-items: center; gap: .65em; font-weight: 600; font-size: .98rem; color: var(--text); }
.hero-facts .i { color: var(--core-ink); }

.hero-visual {
  position: relative; width: 100%; max-width: 560px; justify-self: end;
  aspect-ratio: 4 / 5; max-height: min(76svh, 720px);
}
.hero-media {
  position: absolute; inset: 0; z-index: 1; border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  transform: translate3d(0, calc(var(--p, 0) * -56px), 0);
}
.hero-media .media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.hero-chip {
  position: absolute; z-index: 5; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em .95em; border-radius: 999px;
  background: var(--glass); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  font: 600 .84rem/1 var(--font-text); box-shadow: var(--shadow-1);
}
.hero-chip .i { color: var(--core-ink); }

/* Impuls-Ringe: einziges Ambient-Motiv der Seite */
.hero-rings {
  position: absolute; z-index: 0; left: 0; bottom: 16%;
  width: 170%; aspect-ratio: 1; pointer-events: none; overflow: visible;
  transform: translate(-50%, 50%) scale(calc(1 + var(--p, 0) * .35));
  opacity: calc(1 - var(--p, 0) * 1.15);
}
.hero-rings circle { fill: none; stroke: var(--core-200); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hero-rings .rs circle:nth-child(1) { opacity: .95; }
.hero-rings .rs circle:nth-child(2) { opacity: .75; }
.hero-rings .rs circle:nth-child(3) { opacity: .55; }
.hero-rings .rs circle:nth-child(4) { opacity: .38; }
.hero-rings .rs circle:nth-child(5) { opacity: .22; }
.hero-rings .rp circle {
  stroke: var(--core); stroke-width: 1.6; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: ringPulse 6.6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.hero-rings .rp circle:nth-child(2) { animation-delay: 2.2s; }
.hero-rings .rp circle:nth-child(3) { animation-delay: 4.4s; }
.hero.is-off .hero-rings .rp circle { animation-play-state: paused; }
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0; }
  10% { opacity: .6; }
  100% { transform: scale(4.8); opacity: 0; }
}
/* Kernpunkt am Bildrand: Verbindung von Motiv und Logo-Idee "Kern" */
.hero-core {
  position: absolute; z-index: 3; left: 0; bottom: 16%;
  width: 22px; height: 22px; margin: 0 0 -11px -11px; border-radius: 50%;
  background: var(--core); border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--core-200), 0 8px 24px -6px rgba(8, 162, 178, .6);
  transform: translate3d(0, calc(var(--p, 0) * -56px), 0);
}

/* Öffnungsstatus als Glas-Karte */
.status-card {
  position: absolute; z-index: 4; left: 34px; bottom: calc(16% + 30px);
  display: grid; gap: 4px; padding: 16px 20px 16px 18px; min-width: 230px;
  border-radius: var(--r-m); background: var(--glass); color: var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--line); box-shadow: var(--shadow-2);
  transform: translate3d(0, calc(var(--p, 0) * -90px), 0);
}
.status-card small { font-size: .84rem; color: var(--muted); }
.status {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 .98rem/1.2 var(--font-text); color: var(--ink);
}
.status::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--muted); box-shadow: 0 0 0 4px color-mix(in srgb, var(--muted) 18%, transparent);
}
.status[data-state="open"]::before { background: var(--core); box-shadow: 0 0 0 4px color-mix(in srgb, var(--core) 24%, transparent); }
.status.is-pending { color: transparent; border-radius: 6px; background: linear-gradient(90deg, var(--mist), var(--mist-2), var(--mist)) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.status.is-pending::before { opacity: 0; }

/* Scroll-Hinweis: verschwindet mit dem Scrollfortschritt */
.hero-cue {
  position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  transform: translateX(-50%); display: grid; justify-items: center; gap: 10px;
  font: 600 .8rem/1 var(--font-text); color: var(--muted); text-decoration: none;
  opacity: calc(1 - var(--p, 0) * 6);
}
.hero-cue span:last-child { width: 1.5px; height: 38px; background: linear-gradient(var(--core), transparent); border-radius: 2px; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { justify-self: stretch; max-width: none; aspect-ratio: 5 / 4; max-height: none; }
  .hero-rings { width: 150%; bottom: 20%; }
  .hero-core { bottom: 20%; }
  .status-card { left: 22px; bottom: calc(20% + 26px); min-width: 0; }
  .hero-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .hero-facts li { font-size: .9rem; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-visual { aspect-ratio: 4 / 4.2; }
  .status-card { left: 16px; right: 16px; bottom: 16px; }
  .hero-core, .hero-rings { bottom: 30%; }
}

/* ---------- 13. Kapitel "Ihr Weg": Sticky-Szene mit Wirbelsäulen-Grafik ---------- */
.journey { position: relative; }
.journey-head { padding-top: clamp(96px, 12vw, 176px); }
.journey-head .section-head { margin-bottom: 0; }
.journey-scene { position: relative; height: 440vh; }
.journey-sticky {
  position: sticky; top: env(safe-area-inset-top, 0px);
  height: calc(100svh - env(safe-area-inset-top, 0px));
  display: grid; align-items: center; overflow: clip;
}
.journey-grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px);
}
.jsteps { display: grid; list-style: none; }
.jstep {
  grid-area: 1 / 1; align-self: center;
  opacity: 0; transform: translateY(34px); pointer-events: none;
  transition: opacity .45s var(--ease-out), transform .8s var(--ease-out);
}
.jstep.is-past { transform: translateY(-34px); }
.jstep.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .1s; }
.jstep-num {
  display: block; margin-bottom: 18px;
  font: 800 clamp(3.6rem, 2.6rem + 3.6vw, 6.6rem)/.86 var(--font-display);
  letter-spacing: -.05em; color: var(--core-100);
}
.jstep h3 {
  margin: 12px 0 16px;
  font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.1;
  font-weight: 800; letter-spacing: -.025em;
}
.jstep p { font-size: 1.12rem; color: var(--text-2); max-width: 46ch; }
.jstep .chips { margin-top: 22px; }
.chip-link { text-decoration: none; transition: background-color .2s, color .2s; }
.chip-link:hover { background: var(--core-100); color: var(--ink); }

/* Fortschrittsleiste mit vier Etappen */
.jrail {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 6vh, 64px); max-width: 540px; list-style: none;
}
.jrail::before, .jrail::after {
  content: ""; position: absolute; left: 7px; right: 12%; top: 7px; height: 2px; border-radius: 2px;
  background: var(--line);
}
.jrail::after { background: var(--core); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.jrail button {
  position: relative; z-index: 1; display: block; width: 100%;
  padding: 26px 8px 4px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 600 .92rem/1.2 var(--font-text); color: var(--muted);
  -webkit-tap-highlight-color: transparent;
}
.jrail button::before {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-strong); box-sizing: border-box;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.jrail button:hover { color: var(--ink); }
.jrail button.is-done::before { background: var(--core); border-color: var(--core); }
.jrail button[aria-current="step"] { color: var(--ink); }
.jrail button[aria-current="step"]::before {
  background: var(--core); border-color: var(--core); transform: scale(1.2);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--core) 20%, transparent);
}

/* Bühne mit der Säulen-Grafik */
.jstage {
  position: relative; height: min(76svh, 720px); border-radius: var(--r-xl);
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(64% 50% at 50% 66%, var(--core-50), transparent 72%),
    var(--surface-2);
  border: 1px solid var(--line);
}
.jstage-meta {
  position: absolute; left: 24px; top: 22px; right: 24px;
  display: flex; justify-content: space-between; gap: 12px;
  font: 600 .84rem/1.2 var(--font-text); color: var(--muted);
}
.jstage-meta b { color: var(--ink); font-weight: 700; }
.col-svg { height: 88%; width: auto; max-width: 92%; overflow: visible; }
.col-svg text { font-family: var(--font-text); font-weight: 600; font-size: 15px; fill: var(--text-2); }

/* Wirbel: setzen sich aus der "Explosionsdarstellung" zusammen (--mis 1 bis 0) */
.col-vb {
  transform-box: fill-box; transform-origin: center;
  transform:
    translate(calc(var(--dx) * var(--mis, 1)), calc(var(--dy) * var(--mis, 1)))
    rotate(calc(var(--rot) * var(--mis, 1)));
}
.col-body {
  fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.6;
  transition: fill .7s var(--ease-out), stroke .7s var(--ease-out);
  transition-delay: calc(var(--k) * 60ms);
}
.col-wing { fill: var(--mist-2); stroke: var(--line); stroke-width: 1; }
.col-disc { fill: var(--core-100); opacity: calc(1 - var(--mis, 1)); }
.col-sacrum { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.6; transition: fill .7s, stroke .7s; }
.col-plumb { stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 2 7; fill: none; opacity: calc(.35 + var(--mis, 1) * .65); }

.journey.st-2 .col-body { fill: var(--core-100); stroke: var(--core); }
.journey.st-3 .col-vb.is-core .col-body,
.journey.st-4 .col-body { fill: var(--core); stroke: var(--core); }
.journey.st-4 .col-sacrum { fill: var(--core-100); stroke: var(--core); }

/* Schritt 1: Befund-Scan und Messpunkte */
.col-brackets path { fill: none; stroke: var(--core-ink); stroke-width: 2.4; stroke-linecap: round; transition: opacity .6s; }
.journey:not([data-step="1"]) .col-brackets path { opacity: .22; }
.col-scan { transform: translateY(calc(34px + var(--s1, 0) * 580px)); transition: opacity .5s; }
.journey:not([data-step="1"]) .col-scan { opacity: 0; }
.col-call { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.col-call line { stroke: var(--core-ink); stroke-width: 1.4; }
.col-call circle { fill: var(--core); }
.col-call text { fill: var(--ink); }
.col-call--l { transform: translateX(8px); }
.journey[data-step="1"] .col-call { opacity: 1; transform: none; transition-delay: calc(.25s + var(--k) * .18s); }

/* Schritt 2: Impulse an einzelnen Segmenten */
.col-ripple { fill: none; stroke: var(--core); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.journey[data-step="2"] .col-ripple { animation: colRipple 1.9s var(--ease-out) calc(var(--k) * .28s) 2 both; }
@keyframes colRipple { 0% { transform: scale(.35); opacity: .95; } 100% { transform: scale(1.7); opacity: 0; } }

/* Schritt 3: Rumpfmuskulatur zeichnet sich scroll-gesteuert ein */
.col-band { fill: none; stroke: var(--core); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--s3, 0)); }
.col-band.b1 { stroke-width: 3.2; }
.col-band.b2 { stroke-width: 2.4; opacity: .7; }
.col-band.b3 { stroke-width: 1.8; opacity: .45; }

/* Schritt 4: stabiler Kern, Halo und Umlaufpunkt */
.col-core circle:first-child { fill: #fff; stroke: var(--core); stroke-width: 3; }
.col-core circle:last-child { fill: none; stroke: var(--core); stroke-width: 1.4; opacity: .5; }
.col-core { opacity: 0; transition: opacity .6s; }
.journey.st-2 .col-core { opacity: 1; }
.col-halo { fill: none; stroke: var(--core); stroke-width: 1.6; opacity: calc(var(--s4, 0) * .9); transform-box: fill-box; transform-origin: center; transform: scale(calc(.82 + var(--s4, 0) * .18)); }
.col-halo2 { fill: none; stroke: var(--core-200); stroke-width: 1.2; stroke-dasharray: 3 9; opacity: calc(var(--s4, 0) * .9); }
.col-orbit { transform-box: view-box; transform-origin: 200px 434px; opacity: 0; transition: opacity .5s; }
.col-orbit circle { fill: var(--core); stroke: var(--bg); stroke-width: 3; }
.journey[data-step="4"] .col-orbit { opacity: 1; animation: orbit 7s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .journey-scene { height: 460vh; }
  .journey-grid { grid-template-columns: 1fr; gap: 18px; align-content: center; height: 100%; padding-block: 16px; }
  .jstage { order: -1; height: 40svh; border-radius: var(--r-l); }
  .jstage-meta { left: 16px; top: 14px; right: 16px; font-size: .78rem; }
  .col-svg { height: 86%; margin-top: 14px; }
  .col-svg text { font-size: 25px; }
  .jstep-num { font-size: 2.6rem; margin-bottom: 6px; }
  .jstep h3 { font-size: 1.45rem; margin: 6px 0 10px; }
  .jstep p { font-size: 1rem; }
  .jstep .chips { margin-top: 14px; }
  .jrail { margin-top: 18px; }
  .jrail button { font-size: .8rem; padding-top: 24px; }
}
@media (max-width: 380px), (max-height: 700px) and (max-width: 900px) {
  .jstep-num { display: none; }
  .jstage { height: 36svh; }
}

/* ---------- 14. Leistungs-Explorer Physiotherapie ----------
   Desktop: Master-Detail (Liste links, Detail rechts, gleich hohe Karten)
   Mobil: Akkordeon. Gleiches Markup, alle Inhalte im DOM (SEO). */
.explorer { --col1: 38%; --gap: clamp(40px, 5.5vw, 96px); position: relative; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc-head {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%;
  min-height: 72px; padding: 18px 8px 18px 22px; border: 0; background: none; cursor: pointer; text-align: left;
  font: 700 clamp(1.08rem, 1rem + .35vw, 1.28rem)/1.25 var(--font-display); letter-spacing: -.01em; color: var(--ink);
  -webkit-tap-highlight-color: transparent; transition: color .25s;
}
.svc-head::before {        /* aktiver Marker links */
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px;
  background: var(--core); transform: scaleY(0); transition: transform .45s var(--ease-out);
}
.svc-head:hover { color: var(--core-ink); }
.svc.is-open .svc-head { color: var(--core-ink); }
.svc.is-open .svc-head::before { transform: scaleY(1); }
.svc-abbr {
  margin-left: auto; flex: none; min-width: 44px; padding: .38em .6em; border-radius: 999px; text-align: center;
  font: 700 .74rem/1 var(--font-text); letter-spacing: .04em; color: var(--muted); background: var(--mist);
  transition: background-color .25s, color .25s;
}
.svc.is-open .svc-abbr { background: var(--core-50); color: var(--core-ink); }
.svc-ind { flex: none; width: 22px; height: 22px; color: var(--muted); transition: transform .4s var(--ease-out), color .25s; }
.svc.is-open .svc-ind { color: var(--core-ink); }

.svc-card {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3.4vw, 52px);
  border-radius: var(--r-l); background: var(--surface-2); border: 1px solid var(--line);
}
.svc-emblem {
  position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; pointer-events: none;
  color: var(--core);
}
.svc-emblem svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--core-200); }
.svc-emblem svg.rings circle { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.svc-emblem svg.rings circle:nth-child(2) { opacity: .7; }
.svc-emblem svg.rings circle:nth-child(3) { opacity: .45; }
.svc-emblem .i { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -22px 0 0 -52px; stroke-width: 1.4; color: var(--core-ink); }
.svc-card h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; max-width: 16ch; }
.svc-card .svc-lead { margin: 18px 0 0; font-size: 1.1rem; color: var(--text-2); max-width: 54ch; }
.svc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.svc-facts h4 { font: 700 .95rem/1.3 var(--font-text); color: var(--ink); margin-bottom: 8px; }
.svc-facts p { margin: 0; font-size: .98rem; color: var(--text-2); }
.svc-card .chips { margin-top: 10px; }
.svc-cta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 32px; }

@media (min-width: 1000px) {
  .explorer { min-height: var(--detail-h, 560px); }
  .svc-list { width: var(--col1); }
  .svc-ind { transform: rotate(-90deg); opacity: 0; }
  .svc.is-open .svc-ind, .svc-head:hover .svc-ind { opacity: 1; transform: none; }
  .svc-body {
    position: absolute; top: 0; right: 0; left: calc(var(--col1) + var(--gap));
    opacity: 0; visibility: hidden; transform: translateY(18px) scale(.985); transform-origin: 50% 0;
    transition: opacity .35s var(--ease-out), transform .6s var(--ease-out), visibility 0s .35s;
  }
  .svc.is-open .svc-body {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .5s var(--ease-out) .08s, transform .7s var(--ease-out) .08s, visibility 0s;
  }
  .svc-card { min-height: var(--detail-h, 0px); }
}
@media (max-width: 999px) {
  .svc-head { padding-left: 16px; }
  .svc-ind { transform: rotate(0deg); }
  .svc.is-open .svc-ind { transform: rotate(180deg); }
  .svc-body {
    display: grid; grid-template-rows: 0fr; visibility: hidden;
    transition: grid-template-rows .5s var(--ease-out), visibility 0s .5s;
  }
  .svc.is-open .svc-body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease-out), visibility 0s; }
  .svc-body > .svc-inner { min-height: 0; overflow: hidden; }
  .svc-card { margin: 4px 0 20px; }
  .svc-emblem { width: 220px; height: 220px; right: -60px; top: -60px; }
  .svc-emblem .i { width: 48px; height: 48px; margin: -12px 0 0 -44px; }
}
@media (max-width: 560px) {
  .svc-facts { grid-template-columns: 1fr; gap: 18px; }
  .svc-card h3 { max-width: 13ch; }
}
html:not(.js) .svc-body { position: static; opacity: 1; visibility: visible; transform: none; grid-template-rows: 1fr; }
html:not(.js) .svc-list { width: auto; }
.explorer-foot { margin-top: clamp(32px, 4vw, 56px); }

/* =====================================================================
   Teil 3: Training (Merge-Szene, Formate), Praxis-Galerie, Team,
   Patienteninfo, Kontakt und Formular, Footer, App-Leiste, Dialoge,
   Reduced Motion und Fallbacks ohne JavaScript
   ===================================================================== */

/* Zusatz-Tokens (Fehler, Prüfhinweise); dunkle Werte kommen aus DARK_TOKENS */
:root {
  --err: #B42318;
  --warn-bg: #FFF4D6; --warn-fg: #6B4E00; --warn-bd: #F2DDA0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- 15. Dunkle Kapitel ---------- */
.on-deep { background: var(--deep); color: var(--on-deep); }
.on-deep h2, .on-deep h3, .on-deep h4 { color: #fff; }
.on-deep .lead, .on-deep .body-text { color: var(--on-deep-2); }
.on-deep a:not(.btn) { color: #5ED3DE; }
.on-deep a:not(.btn):hover { color: #fff; }
.on-deep .chip { background: rgba(94, 211, 222, .12); color: #8FE3EA; }
.on-deep .btn-primary { --btn-bg: #19B5C5; --btn-fg: #06181C; }
.on-deep .btn-primary:hover { --btn-bg: #fff; --btn-fg: #06181C; color: #06181C; }
.on-deep :focus-visible { outline-color: #5ED3DE; }
.on-deep .status { color: #fff; }
.on-deep .status.is-pending { color: transparent; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06)) 0 0 / 200% 100%; }

/* ---------- 16. Merge-Szene: Physiotherapie und Training verschmelzen ---------- */
.merge { position: relative; height: 290vh; }
.merge-sticky {
  position: sticky; top: env(safe-area-inset-top, 0px);
  height: calc(100svh - env(safe-area-inset-top, 0px));
  display: grid; align-items: center; overflow: clip;
}
.merge-sticky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 72% 52%, rgba(8, 162, 178, calc(.08 + var(--m, 0) * .14)), transparent 70%);
}
.merge-grid {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 96px);
}
.merge-copy .kx-a { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.6rem); }
.merge-proof { list-style: none; display: grid; gap: 22px; margin-top: clamp(28px, 5vh, 56px); }
.mp {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; align-items: start;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--k) * 120ms);
}
.merge.is-merged .mp { opacity: 1; transform: none; }
.mp-ico {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(94, 211, 222, .12); color: #5ED3DE;
}
.mp strong { font: 700 1.1rem/1.3 var(--font-display); color: #fff; }
.mp-desc { color: var(--on-deep-2); font-size: .98rem; }
.merge-stage { position: relative; display: grid; place-items: center; }
.merge-svg { width: 100%; height: auto; max-height: 70svh; overflow: visible; }
.merge-svg text { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-anchor: middle; letter-spacing: -.01em; }
.merge-svg .m-sub { font-family: var(--font-text); font-weight: 600; font-size: 16px; letter-spacing: 0; }
.m-c--l { transform: translateX(calc((1 - var(--m, 0)) * -190px)); }
.m-c--r { transform: translateX(calc((1 - var(--m, 0)) * 190px)); }
.m-c--l circle { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .62); stroke-width: 1.6; }
.m-c--r circle { fill: rgba(8, 162, 178, .2); stroke: #19B5C5; stroke-width: 1.6; }
.m-c--l text { fill: #fff; }
.m-c--r text { fill: #8FE3EA; }
.m-c text.m-sub { fill: var(--on-deep-2); }
.m-c text { opacity: clamp(0, calc((.7 - var(--m, 0)) / .4), 1); }
.m-glow { opacity: calc(.15 + var(--m, 0) * .85); }
.m-logo {
  --lc: #19B5C5; --li: #FFFFFF;
  opacity: clamp(0, calc((var(--m, 0) - .78) / .2), 1);
  transform-box: fill-box; transform-origin: center;
  transform: scale(calc(.88 + var(--m, 0) * .12));
}
.m-halo circle { fill: none; stroke: #19B5C5; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.merge.is-merged .m-halo circle { animation: mergeHalo 2.2s var(--ease-out) forwards; }
.merge.is-merged .m-halo circle:nth-child(2) { animation-delay: .35s; }
@keyframes mergeHalo { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.5); } }

@media (max-width: 900px) {
  .merge { height: 300vh; }
  .merge-grid { grid-template-columns: 1fr; gap: 6px; align-content: center; height: 100%; padding-block: 12px; }
  .merge-stage { order: -1; }
  .merge-svg { max-height: 32svh; }
  .merge-svg text { font-size: 32px; }
  .merge-svg .m-sub { display: none; }
  .merge-copy .kx-a { font-size: clamp(1.65rem, 1.2rem + 2.4vw, 2.3rem); }
  .merge-copy .kx-b { font-size: 1.12rem; }
  .merge-proof { gap: 10px; margin-top: 18px; }
  .mp { grid-template-columns: 36px minmax(0, 1fr); align-items: center; }
  .mp-ico { width: 36px; height: 36px; grid-row: auto; }
  .mp-ico .i { width: 1.1em; height: 1.1em; }
  .mp-desc { display: none; }
}

/* ---------- 17. Trainingsformate, Schwerpunkte, Firmensport ---------- */
.tformats { position: relative; padding-block: clamp(80px, 10vw, 150px) clamp(96px, 12vw, 176px); }
.formats-grid {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 110px);
}
.formats-media { position: sticky; top: calc(var(--header-h) + 24px); }
.formats-media .media { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.formats { list-style: none; border-top: 1px solid rgba(255, 255, 255, .12); }
.fmt {
  display: grid; grid-template-columns: clamp(84px, 9vw, 132px) minmax(0, 1fr);
  gap: 8px 28px; padding: clamp(28px, 3.2vw, 44px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.fmt-key { font: 800 clamp(2.1rem, 1.5rem + 2vw, 3.3rem)/1 var(--font-display); letter-spacing: -.045em; color: #19B5C5; }
.fmt h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.fmt p { margin: 12px 0 0; color: var(--on-deep-2); max-width: 56ch; }
.fmt .chips { margin-top: 16px; }
.fmt-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }

.focus { margin-top: clamp(80px, 10vw, 140px); }
.focus-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 32px; }
.focus-head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; max-width: 24ch; }
.focus-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .12); }
.focus-item { padding: 32px 28px 8px 0; }
.focus-item + .focus-item { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.focus-ico {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(94, 211, 222, .1); color: #5ED3DE; box-shadow: inset 0 0 0 1px rgba(94, 211, 222, .25);
}
.focus-item h4 { font: 700 1.14rem/1.3 var(--font-display); margin-bottom: 10px; }
.focus-item p { margin: 0; color: var(--on-deep-2); font-size: .98rem; }
@media (max-width: 1000px) {
  .focus-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .focus-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 560px) {
  .focus-list { grid-template-columns: 1fr; }
  .focus-item, .focus-item + .focus-item { padding: 24px 0; border-left: 0; }
  .focus-item + .focus-item { border-top: 1px solid rgba(255, 255, 255, .12); }
}

.corp {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(80px, 10vw, 140px); padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center;
  border-radius: var(--r-xl); color: #fff;
  background: linear-gradient(125deg, #04545C 0%, #06737E 58%, #087D89 100%);
}
.corp::before {
  content: ""; position: absolute; z-index: -1; right: -160px; top: 50%;
  width: 560px; height: 560px; transform: translateY(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 62px, rgba(255, 255, 255, .13) 62px 63.5px);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%); mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}
.corp .kicker { color: #C4F2F6; }
.corp h3 { margin-top: 14px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.corp p { margin: 14px 0 0; color: rgba(255, 255, 255, .88); max-width: 60ch; }
.corp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .corp { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .formats-grid { grid-template-columns: 1fr; }
  .formats-media { position: relative; top: 0; }
  .formats-media .media { --ar: 4 / 3 !important; }
}
@media (max-width: 560px) { .fmt { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 18. Praxis-Galerie: horizontal am Desktop, Swipe mobil ---------- */
.gallery { position: relative; background: var(--mist); }
.gallery-scene { position: relative; height: var(--gallery-h, 320vh); }
.gallery-sticky {
  position: sticky; top: env(safe-area-inset-top, 0px);
  height: calc(100svh - env(safe-area-inset-top, 0px)); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 44px);
  padding-top: calc(var(--header-h) * .6);
}
.gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; }
.gallery-head .section-head { margin: 0; gap: 18px; max-width: 780px; }
.gallery-head .kx-a { font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.2rem); }
.gallery-head .kx-b { font-size: clamp(1.15rem, .95rem + .8vw, 1.6rem); }
.gallery-ctrl { display: flex; align-items: center; gap: 12px; }
.gallery-count { min-width: 70px; font: 700 .98rem/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.gallery-count span { color: var(--muted); font-weight: 600; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out), opacity .2s;
}
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.gallery-viewport { position: relative; }
.gallery-track {
  list-style: none; display: flex; gap: clamp(16px, 2vw, 32px); width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  will-change: transform;
}
.slide { flex: none; display: grid; gap: 16px; align-content: start; }
.slide .media { height: min(54svh, 560px); width: auto; }
.slide-cap h3 { font: 700 1.08rem/1.3 var(--font-display); color: var(--ink); }
.slide-cap p { margin: 4px 0 0; font-size: .95rem; color: var(--muted); max-width: 40ch; }

.gallery.is-native .gallery-scene, html:not(.js) .gallery-scene { height: auto; }
.gallery.is-native .gallery-sticky, html:not(.js) .gallery-sticky { position: relative; top: 0; height: auto; overflow: visible; padding-top: clamp(88px, 11vw, 150px); }
.gallery.is-native .gallery-viewport, html:not(.js) .gallery-viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; scroll-padding-inline: var(--gutter);
}
.gallery.is-native .gallery-viewport::-webkit-scrollbar { display: none; }
.gallery.is-native .gallery-track, html:not(.js) .gallery-track { transform: none !important; padding-inline: var(--gutter); }
.gallery.is-native .slide, html:not(.js) .slide { scroll-snap-align: start; width: min(80vw, 440px); }
.gallery.is-native .slide .media, html:not(.js) .slide .media { height: auto; width: 100%; --ar: 4 / 5 !important; }

.access { padding-block: clamp(56px, 7vw, 96px) clamp(88px, 11vw, 150px); }
.access-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.access-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
.access-list .i { grid-row: span 2; width: 26px; height: 26px; margin-top: 2px; color: var(--core-ink); }
.access-list strong { font: 700 1.02rem/1.3 var(--font-display); color: var(--ink); }
.access-list span { font-size: .95rem; color: var(--text-2); }
@media (max-width: 1000px) { .access-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .access-list { grid-template-columns: 1fr; }
  .gallery-ctrl .icon-btn { width: 46px; height: 46px; }
}

/* ---------- 19. Team und Karriere ---------- */
.team-grid { display: grid; align-items: start; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 112px); }
.team-media { position: sticky; top: calc(var(--header-h) + 28px); }
.team-media .media { box-shadow: var(--shadow-2); }
.person { display: grid; gap: 4px; margin-top: 40px; }
.person-name { margin: 0; font: 800 1.6rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.person-role { margin: 0; color: var(--muted); }
.quote { margin: 40px 0 0; }
.quote-mark { width: 44px; height: 44px; margin-bottom: 14px; color: var(--core); }
.quote p { margin: 0; max-width: 34ch; font: 500 clamp(1.3rem, 1.05rem + .9vw, 1.8rem)/1.38 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.quote footer { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.quals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); }
.quals h3 { display: flex; align-items: center; gap: .6em; margin-bottom: 16px; font: 700 1.05rem/1.3 var(--font-display); }
.quals h3 .i { color: var(--core-ink); }
.qual-list { list-style: none; display: grid; gap: 10px; }
.qual-list li { position: relative; padding-left: 22px; color: var(--text-2); line-height: 1.45; }
.qual-list li::before { content: ""; position: absolute; left: 2px; top: .56em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--core); box-sizing: border-box; }
.network { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 40px; padding: 22px 24px; border-radius: var(--r-m); background: var(--mist); color: var(--text-2); }
.network .i { width: 28px; height: 28px; color: var(--core-ink); }
.network p { margin: 0; }

.career { margin-top: clamp(80px, 10vw, 140px); }
.career-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center;
  padding: clamp(32px, 4.5vw, 64px); border-radius: var(--r-xl);
  background: var(--surface-2); border: 1px solid var(--line);
}
.career-card::before {
  content: ""; position: absolute; z-index: -1; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, var(--core-100) 58px 59.5px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.career-card h3 { margin-top: 14px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.career-card p { margin: 14px 0 0; color: var(--text-2); max-width: 60ch; }
.career-card .chips { margin-top: 20px; }
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-media { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 800px) { .career-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .quals { grid-template-columns: 1fr; } }

/* ---------- 20. Patienteninfo: Tabs, Kennzahlen, Downloads, FAQ ---------- */
.info { background: var(--mist); }
.tablist {
  position: relative; display: inline-flex; gap: 2px; max-width: 100%; padding: 5px; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.tab {
  position: relative; z-index: 1; flex: none; min-height: 46px; padding: 0 1.35em; cursor: pointer;
  border: 0; border-radius: 999px; background: none; color: var(--text-2);
  font: 600 .98rem/1 var(--font-text); transition: color .35s; -webkit-tap-highlight-color: transparent;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--on-core-ink); }
.tab-ind {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--core-ink);
  width: var(--w, 0px); transform: translateX(var(--x, 0px));
  transition: transform .55s var(--ease-out), width .55s var(--ease-out);
}
html:not(.js) .tablist { display: none; }
.js [data-tabs]:not(.is-init) .tabpanel ~ .tabpanel { display: none; }
.tabpanel { margin-top: clamp(32px, 4vw, 52px); }
.tabpanel:focus-visible { outline-offset: 8px; border-radius: var(--r-m); }
.tabpanel.is-entering { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.facts { border-top: 1px solid var(--line-strong); }
.fact { display: grid; grid-template-columns: minmax(170px, .5fr) minmax(0, 1fr); gap: 12px 48px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.fact-key { font: 800 clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--core-ink); }
.fact h3 { margin-bottom: 8px; font: 700 1.2rem/1.3 var(--font-display); }
.fact p { margin: 0; color: var(--text-2); max-width: 64ch; }
.dl { margin-top: 36px; }
.dl > h3 { margin-bottom: 14px; font: 700 1.05rem/1.3 var(--font-display); }
.dl-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.dl-item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 16px 14px 14px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .3s, transform .3s var(--ease-out);
}
.dl-item:hover { color: var(--ink); border-color: var(--core-200); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.dl-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--core-50); color: var(--core-ink); }
.dl-text strong { display: block; line-height: 1.3; }
.dl-text span { display: block; font-size: .88rem; line-height: 1.35; color: var(--muted); }
.dl-badge { padding: .45em .6em; border-radius: 6px; background: var(--mist); color: var(--muted); font: 700 .72rem/1 var(--font-text); letter-spacing: .04em; }
@media (max-width: 700px) {
  .fact { grid-template-columns: 1fr; padding: 24px 0; }
  .tab { padding: 0 1em; font-size: .92rem; }
}

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; margin-top: clamp(80px, 10vw, 140px); }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.faq-intro p { margin: 16px 0 24px; color: var(--text-2); max-width: 40ch; }
.acc-list { border-top: 1px solid var(--line-strong); }
.acc { border-bottom: 1px solid var(--line); }
.acc-h { margin: 0; font: inherit; }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
  min-height: 68px; padding: 20px 4px; border: 0; background: none; cursor: pointer; text-align: left;
  font: 700 1.08rem/1.35 var(--font-display); letter-spacing: -.01em; color: var(--ink);
}
.acc-btn:hover { color: var(--core-ink); }
.acc-ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s, transform .45s var(--ease-out); }
.acc-ico::before, .acc-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease-out), background-color .3s;
}
.acc-ico::after { transform: rotate(90deg); }
.acc.is-open .acc-ico { background: var(--core-ink); border-color: var(--core-ink); transform: rotate(180deg); }
.acc.is-open .acc-ico::before, .acc.is-open .acc-ico::after { background: var(--on-core-ink); }
.acc.is-open .acc-ico::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease-out), visibility 0s .5s; }
.acc.is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease-out), visibility 0s; }
.acc-inner { min-height: 0; overflow: hidden; }
.acc-inner p { margin: 0 0 22px; padding-right: 48px; color: var(--text-2); max-width: 68ch; }
html:not(.js) .acc-panel { grid-template-rows: 1fr; visibility: visible; }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .acc-inner p { padding-right: 0; }
}

/* ---------- 21. Kontakt, Karte und Formular ---------- */
.contact-grid { display: grid; align-items: start; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 104px); }
.contact-info .lead { margin: 26px 0 0; }
.cl { display: grid; gap: 12px; margin-top: 40px; }
.cl-item {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 16px; align-items: center;
  padding: 14px 18px 14px 14px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .3s, transform .3s var(--ease-out);
}
.cl-item:hover { color: var(--ink); border-color: var(--core-200); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.cl-ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--core-50); color: var(--core-ink); }
.cl-item small { font-size: .85rem; color: var(--muted); }
.cl-item strong { font: 700 1.12rem/1.3 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.hours { margin-top: 24px; padding: 22px 24px; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); }
.hours .status { margin-bottom: 10px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.hours-row:last-of-type { border-bottom: 0; }
.hours-row span:first-child { color: var(--text-2); }
.hours-row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.hours small { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); }
.map-card { margin-top: 24px; overflow: hidden; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); }
.map-art { display: block; width: 100%; height: auto; }
.map-art text { font-family: var(--font-text); font-weight: 600; font-size: 14px; fill: var(--muted); }
.mpa-bg { fill: var(--mist); }
.mpa-blocks rect { fill: var(--surface); stroke: var(--line); }
.mpa-main { fill: var(--surface-2); stroke: var(--line-strong); }
.mpa-tram { fill: none; stroke: var(--core); stroke-width: 3; stroke-dasharray: 10 8; opacity: .75; }
.mpa-stop circle { fill: var(--surface); stroke: var(--core-ink); stroke-width: 3; }
.mpa-park rect { fill: var(--core-50); stroke: var(--core-200); }
.map-art .mpa-park text { font-family: var(--font-display); font-weight: 800; font-size: 30px; fill: var(--core-ink); }
.mpa-pin path { fill: var(--core-ink); }
.mpa-pin .dot { fill: var(--surface); }
.mpa-pin .halo { fill: var(--core); opacity: .16; }
.mpa-tag rect { fill: var(--ink); }
.map-art .mpa-tag text { fill: var(--bg); font-weight: 700; }
.map-art .mpa-note { font-size: 12px; font-weight: 500; }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 20px; border-top: 1px solid var(--line); }
.map-foot address { font-style: normal; line-height: 1.45; color: var(--text-2); }
.map-foot address strong { color: var(--ink); }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }

.form-card {
  position: relative; display: grid; padding: clamp(24px, 3.4vw, 48px);
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2);
}
.form-view, .form-success { grid-area: 1 / 1; transition: opacity .45s var(--ease-out), transform .6s var(--ease-out), visibility 0s; }
.form-success {
  align-self: center; justify-self: center; display: grid; justify-items: center; gap: 14px; max-width: 42ch; text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.98); transition-delay: 0s, 0s, .45s;
}
.form-success:focus { outline: none; }
.form-card.is-success .form-view { opacity: 0; visibility: hidden; transform: translateY(-14px); transition-delay: 0s, 0s, .45s; }
.form-card.is-success .form-success { opacity: 1; visibility: visible; transform: none; transition-delay: .2s, .2s, 0s; }
.form-success h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.form-success p { margin: 0; color: var(--text-2); }
.success-mark { width: 84px; height: 84px; }
.success-mark circle { fill: var(--core-50); stroke: var(--core); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; }
.success-mark path { fill: none; stroke: var(--core-ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; }
.form-card.is-success .success-mark circle { animation: draw .7s var(--ease-out) .25s forwards; }
.form-card.is-success .success-mark path { animation: draw .45s var(--ease-out) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-view h3 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.form-intro { margin: 10px 0 28px; color: var(--text-2); }
.fs { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.fs legend, .field > label { display: block; margin-bottom: 10px; padding: 0; font: 700 .95rem/1.3 var(--font-text); color: var(--ink); }
.fs legend small, .field > label small { font-weight: 500; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 1.05em; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: 600 .95rem/1 var(--font-text); pointer-events: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
}
.choice input:hover + span { border-color: var(--core); }
.choice input:checked + span { background: var(--core-ink); border-color: var(--core-ink); color: var(--on-core-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:active + span { transform: scale(.97); }
.choice .i-check { display: none; width: 1.05em; height: 1.05em; }
.choice input:checked + span .i-check { display: block; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--mist); }
.seg .choice { display: flex; }
.seg .choice span { width: 100%; justify-content: center; min-height: 42px; border: 0; border-radius: 10px; background: transparent; }
.seg .choice input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.fs-cond { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .45s var(--ease-out), opacity .3s, visibility 0s .45s; }
.fs-cond.is-on { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .5s var(--ease-out), opacity .4s .05s, visibility 0s; }
.fs-inner { min-height: 0; overflow: hidden; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.field { margin-bottom: 20px; }
.input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: 400 1.02rem/1.4 var(--font-text); -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--core-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--core) 22%, transparent); }
textarea.input { min-height: 116px; resize: vertical; }
.field.is-invalid .input { border-color: var(--err); box-shadow: 0 0 0 4px color-mix(in srgb, var(--err) 14%, transparent); }
.field-hint { margin: 8px 0 0; font-size: .86rem; color: var(--muted); }
.field-err { display: none; align-items: center; gap: .4em; margin: 8px 0 0; font: 600 .88rem/1.35 var(--font-text); color: var(--err); }
.field-err .i { width: 1.1em; height: 1.1em; }
.is-invalid > .field-err { display: flex; animation: errIn .35s var(--ease-out); }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fs.is-invalid .choice span { border-color: var(--err); }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; align-items: start; margin: 18px 0 22px; font-size: .92rem; line-height: 1.5; color: var(--text-2); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--core-ink); cursor: pointer; }
.consent.is-invalid input { outline: 2px solid var(--err); outline-offset: 2px; }
.consent .field-err { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 14px; }
.form-status { margin: 0; min-height: 1.3em; font: 600 .92rem/1.35 var(--font-text); color: var(--err); }
.form-status:empty { display: none; }
.btn-submit .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, currentColor 30%, transparent); border-top-color: currentColor; animation: spin .8s linear infinite; }
.btn-submit.is-loading .spinner { display: block; }
.btn-submit.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-demo { display: flex; gap: .6em; align-items: flex-start; margin: 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.form-demo .i { flex: none; margin-top: .1em; color: var(--core-ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .map-foot .btn { flex: 1 1 auto; } }

/* ---------- 22. Footer ---------- */
.ft { --lc: #19B5C5; --li: #FFFFFF; --lcl: rgba(255, 255, 255, .62); position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0 calc(env(safe-area-inset-bottom, 0px) + 40px); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft-logo-link { display: inline-block; line-height: 0; border-radius: 8px; }
.ft-logo { width: min(100%, 420px); height: auto; }
.ft-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: clamp(40px, 6vw, 64px); }
.ft-h { margin-bottom: 14px; font: 700 .95rem/1.3 var(--font-text); color: #fff; }
.ft-col p, .ft-col li, .ft-col address { margin: 0; font-style: normal; line-height: 1.75; color: var(--on-deep-2); }
.ft-col ul { list-style: none; }
.ft .ft-col a { color: var(--on-deep); text-decoration: none; }
.ft .ft-col a:hover { color: #fff; text-decoration: underline; }
.ft-col .status { margin-top: 12px; font-size: .92rem; }
.ft-social { display: flex; gap: 10px; margin-top: 16px; }
.ft .ft-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.ft .ft-social a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.ft-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-bottom: 28px; }
.ft-prefs-label { font: 600 .9rem/1.2 var(--font-text); color: var(--on-deep); }
.ft-prefs .help { margin: 0; flex-basis: 100%; }
.ft-prefs .help-btn { min-height: 36px; }
.theme-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.theme-seg label { position: relative; display: inline-flex; }
.theme-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.theme-seg span { display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: 0 .95em; border-radius: 999px; color: var(--on-deep-2); font: 600 .86rem/1 var(--font-text); pointer-events: none; transition: background-color .25s, color .25s; }
.theme-seg input:checked + span { background: #fff; color: #06181C; }
.theme-seg input:focus-visible + span { outline: 2px solid #5ED3DE; outline-offset: 2px; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: var(--on-deep-2); }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; }
.ft .ft-legal a { color: var(--on-deep); }
.ft-copy { margin: 0; }
@media (max-width: 1000px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; gap: 28px; } .ft-top { grid-template-columns: 1fr; } }

/* ---------- 23. Mobile App-Leiste ---------- */
.appbar { display: none; }
@media (max-width: 820px) {
  .appbar {
    position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
    padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 8px);
    background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    border-top: 1px solid var(--line); transition: transform .45s var(--ease-out);
  }
  .appbar.is-hidden, .appbar.is-away, html.is-locked .appbar { transform: translateY(110%); }
  .ab-item {
    display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 54px; padding: 6px 4px; border-radius: 14px;
    color: var(--ink); text-decoration: none; font: 600 .76rem/1 var(--font-text); -webkit-tap-highlight-color: transparent;
    transition: background-color .2s, transform .2s var(--ease-out);
  }
  .ab-item:hover { color: var(--ink); }
  .ab-item:active { background: var(--mist); transform: scale(.96); }
  .ab-item .i { width: 22px; height: 22px; color: var(--core-ink); }
  .ab-item--primary, .ab-item--primary:hover { background: var(--core-ink); color: var(--on-core-ink); }
  .ab-item--primary .i { color: var(--on-core-ink); }
  .ft { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); }
}

/* ---------- 24. Dialoge als Sheets (Menü, Impressum, Datenschutz) ---------- */
dialog.sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden; }
dialog.sheet[open] { display: grid; place-items: center; padding: calc(env(safe-area-inset-top, 0px) + 24px) 24px calc(env(safe-area-inset-bottom, 0px) + 24px); }
dialog.sheet::backdrop { background: rgba(6, 21, 26, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: bdIn .35s ease; }
dialog.sheet.is-closing::backdrop { animation: bdOut .3s ease forwards; }
.sheet-panel {
  position: relative; display: flex; flex-direction: column; width: min(100%, 780px); max-height: min(86svh, 920px);
  overflow: hidden; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-3);
  animation: sheetIn .5s var(--ease-out);
}
dialog.sheet.is-closing .sheet-panel { animation: sheetOut .3s var(--ease-io) forwards; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 18px 32px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.sheet-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .2s; }
.sheet-close:hover { background: var(--mist); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 28px 32px 36px; }
.legal h3 { margin: 28px 0 8px; font-size: 1.08rem; font-weight: 700; }
.legal h3:first-of-type { margin-top: 8px; }
.legal p, .legal li { color: var(--text-2); font-size: .98rem; }
.legal p { margin: 0 0 .8em; }
.check-note {
  display: block; padding: 10px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.45;
  background: var(--warn-bg); color: var(--warn-fg) !important; border: 1px solid var(--warn-bd);
}
.legal-date { margin-top: 24px !important; font-size: .88rem !important; color: var(--muted) !important; }
.menu-nav ul { list-style: none; }
.menu-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 4px;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font: 800 1.45rem/1.2 var(--font-display); letter-spacing: -.02em;
}
.menu-nav a .i { color: var(--muted); transition: transform .3s var(--ease-out), color .2s; }
.menu-nav a:hover .i { transform: translateX(4px); color: var(--core-ink); }
.menu-nav a[aria-current="true"] { color: var(--core-ink); }
dialog.sheet--menu[open] .menu-nav li { animation: menuItem .55s var(--ease-out) both; animation-delay: calc(var(--k) * 40ms + 90ms); }
@keyframes menuItem { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.menu-actions { display: grid; gap: 10px; margin-top: 24px; }
.menu-meta { margin: 20px 0 0; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes bdIn { from { opacity: 0; } }
@keyframes bdOut { to { opacity: 0; } }
@media (max-width: 700px) {
  dialog.sheet[open] { place-items: end stretch; padding: calc(env(safe-area-inset-top, 0px) + 12px) 0 0; }
  .sheet-panel {
    width: 100%; max-height: calc(100svh - env(safe-area-inset-top, 0px) - 12px);
    border-radius: var(--r-l) var(--r-l) 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); animation-name: sheetUp;
  }
  .sheet-panel::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 5px; margin-left: -20px; border-radius: 5px; background: var(--line-strong); }
  dialog.sheet.is-closing .sheet-panel { animation-name: sheetDown; }
  .sheet-head { padding: 26px 18px 14px 22px; }
  .sheet-body { padding: 22px 22px 32px; }
}
/* Ohne JavaScript: Impressum und Datenschutz über Sprungmarke sichtbar */
html:not(.js) dialog.sheet:target { display: block; position: static; width: auto; height: auto; padding: 24px; background: var(--bg); }

/* ---------- 25. Reduced Motion und statische Szenen ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
}
html.rm .journey-scene, html:not(.js) .journey-scene,
html.rm .merge, html:not(.js) .merge { height: auto; }
html.rm .journey-sticky, html:not(.js) .journey-sticky,
html.rm .merge-sticky, html:not(.js) .merge-sticky { position: relative; top: 0; height: auto; overflow: visible; padding-block: 48px 104px; }
html.rm .journey-grid, html:not(.js) .journey-grid { align-items: start; }
html.rm .jstage, html:not(.js) .jstage { position: sticky; top: calc(var(--header-h) + 24px); }
html.rm .jsteps, html:not(.js) .jsteps { gap: 48px; }
html.rm .jstep, html:not(.js) .jstep { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }
html.rm .jrail, html:not(.js) .jrail, html.rm .jstage-meta, html:not(.js) .jstage-meta { display: none; }
html.rm .journey, html:not(.js) .journey { --mis: 0; --s1: 1; --s2: 1; --s3: 1; --s4: 1; }
html.rm .col-body, html:not(.js) .col-body { fill: var(--core); stroke: var(--core); }
html.rm .col-core, html:not(.js) .col-core { opacity: 1; }
html.rm .merge, html:not(.js) .merge { --m: 1; }
html.rm .mp, html:not(.js) .mp { opacity: 1; transform: none; }
@media (max-width: 900px) {
  html.rm .jstage, html:not(.js) .jstage { position: relative; top: 0; height: 52svh; }
}

/* ---------- 26. Druck ---------- */
@media print {
  .hd, .progress, .spine, .intro, .appbar, .hero-cue, .gallery-ctrl, .form-card, .map-links { display: none !important; }
  .journey-scene, .merge, .gallery-scene { height: auto !important; }
  .journey-sticky, .merge-sticky, .gallery-sticky { position: static !important; height: auto !important; }
  .jstep { opacity: 1 !important; transform: none !important; grid-area: auto !important; }
  .on-deep { background: #fff !important; color: #000 !important; }
}

/* =====================================================================
   Teil 4: Feinschliff nach Review
   ===================================================================== */
/* Menü-Button: zwei Linien exakt mittig */
.hd-menu { align-content: center; justify-content: center; }
/* Galerie: Breite aus Höhe und Seitenverhältnis (robust in allen Browsern) */
.slide { --slide-h: min(54svh, 560px); }
.slide .media { height: var(--slide-h); width: calc(var(--slide-h) * var(--arw, 1.5)); }
/* Explorer mobil: Headline nicht unter das Emblem laufen lassen */
@media (max-width: 999px) { .svc-card h3 { padding-right: 88px; } }

/* Inhalt hält Abstand zur Kapitel-Spine (ab 1280 px sichtbar) */
@media (min-width: 1280px) { :root { --gutter: max(92px, 4.2vw); } }

/* Spine über dem dunklen Trainings-Kapitel */
.spine { transition: opacity .5s var(--ease-out), background-color .4s, border-color .4s; }
.spine.is-dark { background: rgba(6, 21, 26, .5); border-color: rgba(255, 255, 255, .12); }
.spine.is-dark .spine-dot { background: transparent; border-color: rgba(255, 255, 255, .4); }
.spine.is-dark .spine-track { background: rgba(255, 255, 255, .14); }
.spine.is-dark a[aria-current="true"] .spine-dot { background: #19B5C5; border-color: #19B5C5; }
.spine.is-dark .spine-label { background: #fff; color: #06181C; }

/* Bildplatzhalter in dunklen Kapiteln: dunkle Variante statt heller Fläche */
.on-deep .media { --ph-a: #13323A; --ph-b: #0B2227; --ph-hi: rgba(94, 211, 222, .14); --ph-ring: rgba(94, 211, 222, .2); --shimmer: rgba(255, 255, 255, .07); }
.on-deep .ph-title { color: #fff; }
.on-deep .ph-meta { color: var(--on-deep-2); }
.on-deep .ph-tag { background: rgba(255, 255, 255, .1); color: #8FE3EA; box-shadow: none; }

/* Galerie: Platzhalter heben sich vom Nebel-Hintergrund ab */
.gallery .media { --ph-a: var(--surface); --ph-b: var(--mist-2); box-shadow: var(--shadow-1); }

/* Explorer mobil: kompakteres Emblem */
@media (max-width: 999px) {
  .svc-emblem { width: 170px; height: 170px; right: -48px; top: -48px; }
  .svc-emblem .i { width: 40px; height: 40px; margin: -14px 0 0 -34px; }
  .svc-card h3 { padding-right: 70px; }
}
/* Tabs mobil: kurze Labels */
@media (max-width: 560px) { .tab-x { display: none; } }

/* =====================================================================
   Teil 5: Helle Edition und sofort sichtbare Navigation
   Standard ist hell, alle Kapitel hell. Menü ab dem ersten Blick:
   Service-Leiste, Hauptnavigation (Desktop), Kapitelleiste und
   beschrifteter Menü-Button (Tablet, Smartphone).
   ===================================================================== */

/* ---------- Header-Maße ---------- */
:root { --topbar-h: 38px; --subnav-h: 0px; --hd-top: calc(var(--topbar-h) + var(--header-h) + var(--subnav-h)); }
@media (max-width: 1279px) { :root { --header-h: 70px; --subnav-h: 47px; } }
@media (max-width: 760px) { :root { --header-h: 62px; --topbar-h: 0px; } }

/* ---------- Header: immer sichtbar, eindeutig als Website-Navigation ---------- */
.hd { background: var(--surface); border-bottom: 1px solid var(--line); }
.hd.is-scrolled { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line); box-shadow: 0 12px 30px -24px rgba(16, 38, 43, .5); }
.hd.is-hidden { transform: none; }

/* Service-Leiste */
.topbar { display: grid; grid-template-rows: 1fr; background: var(--mist); transition: grid-template-rows .35s var(--ease-out); }
.hd.is-scrolled .topbar { grid-template-rows: 0fr; }
.topbar-clip { min-height: 0; overflow: hidden; }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: var(--topbar-h); white-space: nowrap; font: 500 .85rem/1 var(--font-text); color: var(--text-2); }
.topbar .status { font: 600 .85rem/1 var(--font-text); }
.topbar .status::before { width: 7px; height: 7px; }
.tb-item { display: inline-flex; align-items: center; gap: .45em; color: var(--text-2); text-decoration: none; }
.tb-item .i { width: 1.05em; height: 1.05em; color: var(--core-ink); }
a.tb-item:hover { color: var(--ink); }
.tb-meta { display: flex; gap: 20px; margin-left: auto; }
.tb-meta a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.tb-meta a:hover { color: var(--core-ink); }
@media (max-width: 1000px) { .tb-mail { display: none; } }
@media (max-width: 760px) { .topbar { display: none; } }

/* Menü-Button mit Beschriftung */
.hd .hd-menu {
  width: auto; height: 44px; padding: 0 1.05em 0 .9em; gap: .6em; align-items: center; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: 600 .95rem/1 var(--font-text); transition: background-color .2s, border-color .2s;
}
.hd .hd-menu:hover { background: var(--mist); }
@media (max-width: 1279px) { .hd .hd-menu { display: inline-flex; } }
.hd .hd-menu > span { width: auto; height: auto; margin: 0; background: none; border-radius: 0; }
.hd .hd-menu-ico { display: grid; gap: 3.5px; }
.hd .hd-menu-ico > span { display: block; width: 16px; height: 2px; margin: 0; border-radius: 2px; background: var(--ink); }
@media (max-width: 820px) { .hd-actions .btn { display: none; } }

/* Kapitelleiste (Tablet, Smartphone) */
.subnav { display: none; }
@media (max-width: 1279px) {
  .subnav { display: grid; grid-template-rows: 1fr; border-top: 1px solid var(--line); transition: grid-template-rows .35s var(--ease-out), border-color .35s; }
  .hd.is-scrolled .subnav { grid-template-rows: 0fr; border-top-color: transparent; }
  .subnav-clip { min-height: 0; overflow: hidden; }
  .subnav-inner { position: relative; display: flex; align-items: center; gap: 2px; height: calc(var(--subnav-h) - 1px); overflow-x: auto; scrollbar-width: none; }
  .subnav-inner::-webkit-scrollbar { display: none; }
  .subnav a { flex: none; padding: .6em .85em; border-radius: 999px; color: var(--text-2); text-decoration: none; white-space: nowrap; font: 600 .92rem/1 var(--font-text); transition: background-color .2s, color .2s; }
  .subnav a:first-child { margin-left: -.85em; }
  .subnav a:hover { background: var(--mist); color: var(--ink); }
  .subnav a[aria-current="true"] { background: var(--core-50); color: var(--core-ink); }
}

/* ---------- Hero: kompakter, Schnellzugriff im ersten Bildschirm ---------- */
.hero { min-height: 0; padding-top: calc(var(--hd-top) + clamp(28px, 5vh, 64px)); padding-bottom: clamp(40px, 6vh, 72px); }
.kx--hero .kx-a { font-size: clamp(2.5rem, 1.2rem + 4vw, 4.9rem); }
.kx--hero .kx-b { font-size: clamp(1.35rem, 1rem + 1.4vw, 2.2rem); }
.hero .lead { margin-top: 24px; }
.hero-facts { margin-top: 32px; padding-top: 22px; }
.hero-visual { max-height: min(60svh, 580px); }
.quick {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 5vh, 56px); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-1);
}
.quick-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 22px; color: var(--ink); text-decoration: none; transition: background-color .25s; }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item:hover { background: var(--mist); color: var(--ink); }
.quick-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--core-50); color: var(--core-ink); }
.quick-item strong { display: block; font: 700 1.02rem/1.25 var(--font-display); }
.quick-item small { display: block; margin-top: 3px; font-size: .86rem; color: var(--muted); }
.quick-item > .i { color: var(--muted); transition: transform .3s var(--ease-out), color .2s; }
.quick-item:hover > .i { transform: translateX(3px); color: var(--core-ink); }
@media (max-width: 1000px) {
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-item:nth-child(3) { border-left: 0; }
  .quick-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .quick-item { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 16px 14px; }
  .quick-item > .i { display: none; }
  .quick-ico { width: 40px; height: 40px; border-radius: 12px; }
  .quick-item strong { font-size: .95rem; }
  .quick-item small { font-size: .8rem; }
  .hero-visual { aspect-ratio: 4 / 3; }
}

/* ---------- Sticky-Szenen beginnen unter dem Header ---------- */
.journey-sticky, .merge-sticky, .gallery-sticky {
  top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
  height: calc(100svh - env(safe-area-inset-top, 0px) - var(--header-h));
}
.gallery-sticky { padding-top: 12px; }
@media (max-width: 900px) { .jstage { height: 35svh; } .merge-svg { max-height: 28svh; } }

/* ---------- Training: helles Kapitel in zartem Markentürkis ---------- */
.training { background: var(--core-50); color: var(--text); }
.merge-sticky::before { background: radial-gradient(55% 60% at 72% 52%, rgba(8, 162, 178, calc(.04 + var(--m, 0) * .1)), transparent 70%); }
.mp-ico { background: var(--surface); color: var(--core-ink); box-shadow: var(--shadow-1); }
.mp strong { color: var(--ink); }
.mp-desc { color: var(--text-2); }
.m-c--l circle { fill: var(--surface); stroke: var(--line-strong); }
.m-c--r circle { fill: rgba(8, 162, 178, .14); stroke: var(--core); }
.m-c--l text { fill: var(--ink); }
.m-c--r text { fill: var(--core-ink); }
.m-c text.m-sub { fill: var(--muted); }
.m-glow { opacity: calc(.1 + var(--m, 0) * .45); }
.m-logo { --lc: var(--logo-core); --li: var(--logo-impuls); }
.m-halo circle { stroke: var(--core); }
.training .media { --ph-a: var(--surface); --ph-b: var(--mist-2); }
.formats-media .media { box-shadow: var(--shadow-2); }
.formats { border-top-color: var(--line-strong); }
.fmt { border-bottom-color: var(--line-strong); }
.fmt-key { color: var(--core-ink); }
.fmt p { color: var(--text-2); }
.training .chip { background: var(--surface); box-shadow: inset 0 0 0 1px var(--core-100); }
.focus-list { border-top-color: var(--line-strong); }
.focus-item + .focus-item { border-left-color: var(--line-strong); }
@media (max-width: 1000px) { .focus-item:nth-child(n+3) { border-top-color: var(--line-strong); } }
@media (max-width: 560px) { .focus-item + .focus-item { border-top-color: var(--line-strong); } }
.focus-ico { background: var(--surface); color: var(--core-ink); box-shadow: var(--shadow-1); }
.focus-item p { color: var(--text-2); }
.corp { background: var(--surface); color: var(--text); border: 1px solid var(--core-100); box-shadow: var(--shadow-2); }
.corp::before { background: repeating-radial-gradient(circle, transparent 0 62px, var(--core-100) 62px 63.5px); }
.corp .kicker { color: var(--core-ink); }
.corp p { color: var(--text-2); }

/* ---------- Footer hell ---------- */
.ft { --lc: var(--logo-core); --li: var(--logo-impuls); --lcl: var(--logo-claim); background: var(--mist); color: var(--text-2); border-top: 1px solid var(--line); }
.ft-top { border-bottom-color: var(--line-strong); }
.ft-h { color: var(--ink); }
.ft-col p, .ft-col li, .ft-col address { color: var(--text-2); }
.ft .ft-col a { color: var(--text); }
.ft .ft-col a:hover { color: var(--core-ink); }
.ft .ft-social a { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.ft .ft-social a:hover { background: var(--core-50); }
.ft-prefs-label { color: var(--ink); }
.theme-seg { background: var(--surface); border-color: var(--line); }
.theme-seg span { color: var(--text-2); }
.theme-seg input:checked + span { background: var(--core-ink); color: var(--on-core-ink); }
.theme-seg input:focus-visible + span { outline-color: var(--focus); }
.ft-bottom { border-top-color: var(--line-strong); color: var(--muted); }
.ft .ft-legal a { color: var(--text); }

/* ---------- Header-Logo mit Subclaim "Physiotherapie & Training" ----------
   Offizielle Logo-Version mit Claim. Header dafür etwas höher, damit der Claim lesbar bleibt. */
:root { --header-h: 84px; }
@media (max-width: 1279px) { :root { --header-h: 76px; } }
@media (max-width: 760px) { :root { --header-h: 66px; } }
.hd .hd-inner { height: var(--header-h); padding-block: 0; }
.hd .hd-logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.hd .hd-logo svg { display: block; height: 58px; width: auto; aspect-ratio: 1336.62 / 233.96; }
@media (max-width: 1439px) { .hd .hd-logo svg { height: 52px; } }
@media (max-width: 760px) { .hd .hd-logo svg { height: auto; width: min(248px, calc(100vw - 150px)); } }
/* Smartphone: Logo und Menü-Button ohne Überlauf nebeneinander */
@media (max-width: 760px) {
  .hd .hd-inner { gap: 14px; }
  .hd .hd-logo svg { width: min(248px, calc(100vw - 156px)); }
}

/* ---------- Hinweis auf die neue Adresse (Hero) und Anfahrt ---------- */
.announce {
  display: inline-flex; align-items: center; gap: .6em; max-width: 100%; margin-bottom: 22px;
  padding: .35em .9em .35em .35em; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--core-100); box-shadow: var(--shadow-1); color: var(--ink);
  font: 600 .92rem/1.25 var(--font-text); text-decoration: none; transition: border-color .2s, transform .3s var(--ease-out);
}
.announce:hover { color: var(--ink); border-color: var(--core-200); transform: translateY(-1px); }
.announce-tag { flex: none; padding: .38em .75em; border-radius: 999px; background: var(--core-ink); color: var(--on-core-ink); font-size: .8rem; font-weight: 700; }
.announce .i { flex: none; width: 1em; height: 1em; color: var(--core-ink); }
@media (max-width: 560px) { .announce { font-size: .84rem; } .announce-x { display: none; } }
.access-intro { max-width: 70ch; margin: 0 0 24px; color: var(--text-2); font-size: 1.05rem; }

/* ---------- Anfahrt und Verkehrsanbindung ---------- */
.access-head { display: grid; gap: 12px; max-width: 780px; margin-bottom: 28px; }
.access-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.access-head .access-intro { margin: 0; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.access-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.access-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.access-card-head h4 { font: 700 1.22rem/1.25 var(--font-display); color: var(--ink); }
.access-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--core-50); color: var(--core-ink); }
.transit, .drive { list-style: none; }
.transit li, .drive li { display: grid; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.transit li { grid-template-columns: 104px minmax(0, 1fr); }
.drive li { gap: 2px; }
.transit strong, .drive strong { display: block; font: 700 1rem/1.3 var(--font-display); color: var(--ink); }
.transit .meta, .drive span { display: block; font-size: .92rem; line-height: 1.45; color: var(--text-2); }
.lines { display: flex; flex-wrap: wrap; gap: 4px; }
.line { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 5px; color: #fff; font: 800 .78rem/1 var(--font-display); }
.line--u { background: #0065AE; }
.line--s { background: #408335; border-radius: 12px; }
.line--bus { background: #00586A; }
.access-note { display: flex; gap: .6em; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-m); background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-bd); font-size: .9rem; line-height: 1.45; }
.access-note .i { flex: none; margin-top: .15em; }
.access-note a { color: inherit; font-weight: 700; }
.access-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
@media (max-width: 800px) { .access-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .access-list--2 { grid-template-columns: 1fr; } .transit li { grid-template-columns: 86px minmax(0, 1fr); } }
/* Kartenskizze: Fußweg, Haltestellen */
.mpa-walk { fill: none; stroke: var(--core-ink); stroke-width: 2.6; stroke-dasharray: 1 7; stroke-linecap: round; }
.mpa-square circle { fill: var(--surface); stroke: var(--line-strong); stroke-width: 2; }
.mpa-u rect { fill: #0065AE; }
.map-art .mpa-u text { fill: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.mpa-bus circle { fill: #F5D000; stroke: #00883A; stroke-width: 2; }
.map-art .mpa-bus text { fill: #00883A; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.map-art .mpa-walklbl { fill: var(--core-ink); font-weight: 700; font-size: 13px; }
/* Kartenskizze: S-Bahn Siemenswerke mit Busanschluss */
.mpa-s circle { fill: #408335; }
.map-art .mpa-s text { fill: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.mpa-busline { fill: none; stroke: #00586A; stroke-width: 2.4; stroke-dasharray: 6 6; stroke-linecap: round; opacity: .75; }
