/* =============================================================================
   Praxis Thiele-Groß & Langer – gemeinsames Stylesheet
   Eine CSS-Datei für alle drei Seiten.
   Aufbau:
     1. Design-Tokens (Custom Properties)   6. Header / Navigation
     2. Reset & Grundlagen                  7. Footer
     3. Typografie                          8. Sektions-Bausteine (Hero, Cards …)
     4. Layout-Helfer (Grid, Container)     9. Bild-Slots & Deko
     5. Buttons & Badges                   10. Motion / Reveal & Media-Queries
   Themes: body.theme-physio / body.theme-ergo schalten die --accent-Tokens um.
   ========================================================================== */

/* -----------------------------------------------------------------------------
   0. SCHRIFTEN – selbst gehostet (kein Google-CDN, DSGVO-freundlich)
   Variable Fonts (Fraunces 400–600, Inter 400–700), Subsets latin + latin-ext.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -----------------------------------------------------------------------------
   1. DESIGN-TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Neutralbasis – auf allen Seiten identisch (Light) */
  --ink:        #1c2733;
  --ink-soft:   #45566a;
  --paper:      #fbfaf7;
  --paper-2:    #f2efe8;
  --line:       #e2ded4;

  /* Eigene Tokens für dunkle Flächen (Footer/CTA), damit sie im Dark Mode
     nicht über --ink „umklappen". */
  --footer-bg:  #1c2733;
  --footer-fg:  #d7dee6;

  /* Default-Akzent (Landing/Neutral) – wird von den Themes überschrieben.
     Als neutralen Fallback nehmen wir das Teal, damit ungethemter Content
     nie ungestylt wirkt. --accent-deep = satte Bandfläche (weiße Schrift). */
  --accent:      #1f7a8c;
  --accent-dk:   #135562;
  --accent-lt:   #e4f1f3;
  --accent-ink:  #0e3b45;
  --accent-deep: var(--physio-deep);

  /* Farbwelten als benannte Tokens – für die Landing, die beide zeigt.
     -deep bleibt in beiden Modi dunkel genug für weißen Text (CTA-Band). */
  --physio:      #1f7a8c;
  --physio-dk:   #135562;
  --physio-lt:   #e4f1f3;
  --physio-ink:  #0e3b45;
  --physio-deep: #124e5b;

  --ergo:        #c26a3d;
  --ergo-dk:     #9c4e28;
  --ergo-lt:     #f7ece2;
  --ergo-ink:    #5e2f18;
  --ergo-deep:   #7d3e1f;

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero:   clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);
  --fs-h2:     clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  --fs-h3:     clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --fs-body:   clamp(1rem, .97rem + .15vw, 1.125rem);
  --fs-small:  .875rem;
  --fs-kicker: .8rem;

  /* Abstände & Form */
  --space-section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --radius:      14px;
  --radius-lg:   22px;
  --maxw:        1180px;
  --measure:     68ch;

  --shadow-sm: 0 1px 2px rgba(28,39,51,.06), 0 2px 6px rgba(28,39,51,.05);
  --shadow-md: 0 6px 18px rgba(28,39,51,.08), 0 12px 32px rgba(28,39,51,.07);
  --shadow-lg: 0 14px 40px rgba(28,39,51,.12), 0 24px 60px rgba(28,39,51,.10);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Theme-Umschaltung – ein Stylesheet, zwei Identitäten */
body.theme-physio {
  --accent: var(--physio);   --accent-dk: var(--physio-dk);
  --accent-lt: var(--physio-lt); --accent-ink: var(--physio-ink);
  --accent-deep: var(--physio-deep);
}
body.theme-ergo {
  --accent: var(--ergo);     --accent-dk: var(--ergo-dk);
  --accent-lt: var(--ergo-lt); --accent-ink: var(--ergo-ink);
  --accent-deep: var(--ergo-deep);
}

/* Lokale Farbwelt-Scopes für die Landing (beide Welten gleichzeitig) */
.world-physio {
  --accent: var(--physio);   --accent-dk: var(--physio-dk);
  --accent-lt: var(--physio-lt); --accent-ink: var(--physio-ink);
  --accent-deep: var(--physio-deep);
}
.world-ergo {
  --accent: var(--ergo);     --accent-dk: var(--ergo-dk);
  --accent-lt: var(--ergo-lt); --accent-ink: var(--ergo-ink);
  --accent-deep: var(--ergo-deep);
}

/* =============================================================================
   DARK MODE
   Aktiv über html[data-theme="dark"] (manuelle Wahl) ODER Systemeinstellung,
   solange der Nutzer nicht explizit „light" gewählt hat. Es werden nur die
   Farb-Tokens neu belegt – alle Komponenten erben automatisch.
   Bright-Varianten der Akzente für Text/Icons auf dunklem Grund; -deep bleibt
   dunkel für Bandflächen mit weißem Text.
   ========================================================================== */
:root[data-theme="dark"] {
  --ink:        #e9eef3;
  --ink-soft:   #a6b4c2;
  --paper:      #12161b;
  --paper-2:    #191f26;
  --line:       #2c333c;
  --footer-bg:  #0d1013;
  --footer-fg:  #c4cdd8;

  --accent:      #2f97ab;
  --accent-dk:   #62bfd1;
  --accent-lt:   #12303a;
  --accent-ink:  #bfe6ee;
  --accent-deep: var(--physio-deep);

  --physio:      #2f97ab;
  --physio-dk:   #62bfd1;
  --physio-lt:   #12303a;
  --physio-ink:  #bfe6ee;
  --physio-deep: #0f3540;

  --ergo:        #d3814f;
  --ergo-dk:     #e6a071;
  --ergo-lt:     #33221a;
  --ergo-ink:    #f0ceb4;
  --ergo-deep:   #723a1c;

  /* Schatten auf dunklem Grund kräftiger/neutraler */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
  --shadow-md: 0 6px 18px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg: 0 14px 40px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.4);
}
/* Systemeinstellung übernehmen, wenn keine ausdrückliche Wahl getroffen wurde */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:        #e9eef3;
    --ink-soft:   #a6b4c2;
    --paper:      #12161b;
    --paper-2:    #191f26;
    --line:       #2c333c;
    --footer-bg:  #0d1013;
    --footer-fg:  #c4cdd8;

    --accent:      #2f97ab;
    --accent-dk:   #62bfd1;
    --accent-lt:   #12303a;
    --accent-ink:  #bfe6ee;
    --accent-deep: var(--physio-deep);

    --physio:      #2f97ab;
    --physio-dk:   #62bfd1;
    --physio-lt:   #12303a;
    --physio-ink:  #bfe6ee;
    --physio-deep: #0f3540;

    --ergo:        #d3814f;
    --ergo-dk:     #e6a071;
    --ergo-lt:     #33221a;
    --ergo-ink:    #f0ceb4;
    --ergo-deep:   #723a1c;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
    --shadow-md: 0 6px 18px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.35);
    --shadow-lg: 0 14px 40px rgba(0,0,0,.5), 0 24px 60px rgba(0,0,0,.4);
  }
}
/* sanfter Übergang beim Umschalten (nicht bei reduced-motion) */
html.theme-anim, html.theme-anim * {
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease) !important;
}

/* -----------------------------------------------------------------------------
   2. RESET & GRUNDLAGEN
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
svg { height: auto; }

a { color: var(--accent-dk); text-underline-offset: .18em; }
a:hover { color: var(--accent); }

ul, ol { padding-left: 1.2em; }

/* Sichtbarer, konsistenter Fokus für Tastaturbedienung (Qualitätsboden) */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Maus-Klick soll keinen Fokusring hinterlassen, Tastatur schon */
:focus:not(:focus-visible) { outline: none; }

/* Skip-Link */
.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--ink); color: #fff;
  padding: .6em 1em; border-radius: 8px; z-index: 100;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; color: #fff; }

/* -----------------------------------------------------------------------------
   3. TYPOGRAFIE
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); font-weight: 600; }

h1, .display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 560;
  letter-spacing: -.01em;
}
h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 540;
  font-size: var(--fs-h2);
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-hero); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { max-width: var(--measure); }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink-soft); }

/* Kicker – kleine Auszeichnungszeile über Headlines */
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-sans);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dk);
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}

.muted { color: var(--ink-soft); }
.section-title { max-width: 24ch; }
.section-intro { max-width: 56ch; color: var(--ink-soft); margin-top: .8rem; }

/* -----------------------------------------------------------------------------
   4. LAYOUT-HELFER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, .5rem + 3vw, 2.5rem);
}
.section { padding-block: var(--space-section); }
.section--tint { background: var(--paper-2); }
.section--accent-tint { background: var(--accent-lt); }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.6rem; }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.5vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-split { grid-template-columns: 1.15fr .85fr; }  /* asymmetrisch, bricht mobil um */

.section-head { margin-bottom: clamp(2rem, 1rem + 3vw, 3.2rem); }

/* -----------------------------------------------------------------------------
   5. BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 600; line-height: 1;
  padding: .95em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dk); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--accent-dk); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dk); transform: translateY(-2px); background: var(--accent-lt); }

.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding-inline: .4em; }
.btn-ghost:hover { color: var(--accent-dk); }

.btn-block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* Trust-Badges */
.badges { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.badge {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: .5em .9em; border-radius: 999px;
}
.badge svg { width: 1.05em; height: 1.05em; color: var(--accent); flex: none; }

/* -----------------------------------------------------------------------------
   6. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 560; font-size: 1.15rem;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__sub { display: block; font-family: var(--font-sans); font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* Navigation */
.nav { display: flex; align-items: center; gap: .3rem; }
.nav__list {
  display: flex; align-items: center; gap: .2rem; list-style: none; padding: 0; margin: 0;
}
.nav__link {
  display: inline-block; padding: .55em .85em; border-radius: 8px;
  font-size: .96rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__link:hover { background: var(--paper-2); color: var(--accent-dk); }
.nav__link[aria-current="page"] { color: var(--accent-dk); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px;
  background: var(--accent);
}
.nav__cta { margin-left: .5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

/* Rechte Header-Gruppe: Nav + Theme-Umschalter + Hamburger */
.header-right { display: flex; align-items: center; gap: .4rem; }

/* Dark-Mode-Umschalter */
.theme-toggle {
  width: 46px; height: 46px; flex: none; padding: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-dk); background: var(--accent-lt); }
.theme-toggle svg { width: 20px; height: 20px; }
/* Icon-Wechsel: Light zeigt Mond (→ Dark), Dark zeigt Sonne (→ Light) */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* -----------------------------------------------------------------------------
   7. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg); color: var(--footer-fg);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
  margin-top: var(--space-section);
}
.site-footer a { color: #e7ecf1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: 2.2rem;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  align-items: start;
}
.site-footer h3 {
  color: #fff; font-family: var(--font-sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff;
  font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1rem; text-decoration: none; }
.footer-brand .brand__mark { width: 32px; height: 32px; }
.footer-desc { color: #aeb9c6; font-size: var(--fs-small); max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact { font-size: var(--fs-small); color: #c4cdd8; line-height: 1.7; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between;
  font-size: var(--fs-small); color: #9aa6b4;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; padding: 0; margin: 0; }

/* -----------------------------------------------------------------------------
   8. SEKTIONS-BAUSTEINE
   -------------------------------------------------------------------------- */
/* Hero – Grundgerüst (Seiten-spezifische Deko im HTML) */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: center; }
.hero--split .hero__grid { grid-template-columns: 1.05fr .95fr; }
.hero__eyebrow { margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero__lead { margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
/* width:100% nötig, weil das Grid-Item sonst auf die SVG-Default-Breite
   (300px) schrumpft statt die Spalte zu füllen – v. a. einspaltig/mobil. */
.hero__art { position: relative; width: 100%; }
.hero__art > svg { width: 100%; height: auto; }

/* Cards – generisch */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--accent-lt); color: var(--accent-dk);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }

/* Große Bereichs-Wahl-Karten (Landing-Herzstück) */
.choice { display: grid; gap: clamp(1.2rem, .6rem + 2vw, 2rem); grid-template-columns: 1fr 1fr; }
.choice-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--accent-lt);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  padding: clamp(1.6rem, 1rem + 2.5vw, 2.8rem);
  text-decoration: none; color: var(--ink);
  min-height: 320px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.choice-card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: box-shadow .3s var(--ease);
}
.choice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.choice-card:hover::after { box-shadow: inset 0 0 0 2px var(--accent); }
.choice-card__tag {
  font-family: var(--font-sans); font-size: var(--fs-kicker); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dk);
}
.choice-card h3 {
  font-family: var(--font-display); font-weight: 540;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  margin: .6rem 0 .8rem;
}
.choice-card p { color: var(--accent-ink); opacity: .92; margin-bottom: 1.6rem; }
.choice-card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--accent-dk);
}
.choice-card__more svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.choice-card:hover .choice-card__more svg { transform: translateX(4px); }
.choice-card__art { position: absolute; right: -10px; bottom: -10px; width: 46%; max-width: 220px; opacity: .9; pointer-events: none; }

/* Leistungs-Cluster (Physio/Ergo) */
.cluster { }
.cluster h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.cluster h3 .cluster__ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-lt); color: var(--accent-dk); flex: none; }
.cluster h3 .cluster__ic svg { width: 22px; height: 22px; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.svc-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); opacity: .55;
}
.svc-list li strong { color: var(--ink); font-weight: 600; }
.svc-note { margin-top: .7rem; font-size: var(--fs-small); color: var(--ink-soft); }

/* Anker-Subnavigation (Sektionssprünge innerhalb einer Seite) */
.subnav {
  position: sticky; top: 68px; z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subnav__list { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: .6rem 0; }
.subnav__list a {
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  padding: .4em .8em; border-radius: 999px; text-decoration: none;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.subnav__list a:hover { background: var(--accent-lt); color: var(--accent-dk); }

/* Ablauf in Schritten */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.8rem); }
.step { position: relative; padding-left: 4.2rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.2rem;
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 560;
  color: var(--accent); line-height: 1;
}
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--ink-soft); }

/* Kontakt-Sektion */
.contact-grid { display: grid; gap: clamp(1rem, .6rem + 1.5vw, 1.8rem); grid-template-columns: repeat(3, 1fr); }
.contact-grid--2 { grid-template-columns: 1fr 1fr; }  /* zwei Karten; bricht mobil um */
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 1rem + 1vw, 1.8rem); box-shadow: var(--shadow-sm);
}
.contact-card__label {
  font-size: var(--fs-kicker); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dk); margin-bottom: .8rem;
}
.contact-card h3 { font-family: var(--font-sans); font-size: 1.05rem; margin-bottom: .6rem; }
.contact-card address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }
.contact-line { display: flex; align-items: center; gap: .55rem; margin-top: .35rem; }
.contact-line svg { width: 1.05em; height: 1.05em; color: var(--accent); flex: none; }
.contact-line a { color: var(--ink); text-decoration: none; font-weight: 500; }
/* Telefonnummern nie mitten in der Nummer umbrechen */
a[href^="tel:"] { white-space: nowrap; }
.contact-line a:hover { color: var(--accent-dk); text-decoration: underline; }

/* CTA-Band */
.cta-band {
  background: var(--accent-deep); color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  display: grid; gap: 1.5rem; align-items: center;
  grid-template-columns: 1.6fr auto;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: .5rem; }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); }
.cta-band .btn-primary:hover { background: #fff; color: var(--accent-deep); filter: brightness(.97); }
.cta-band__art { position: absolute; right: -30px; top: -30px; width: 200px; opacity: .16; pointer-events: none; }

/* Feature-Zeile mit Icon (Was uns ausmacht) */
.feature { }
.feature .card__icon { background: var(--accent-lt); color: var(--accent-dk); }

/* Rechtstexte / Fließtext-Seiten (Impressum, Datenschutz) */
.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-sans); font-size: 1.1rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-dk); }
.prose ul { display: grid; gap: .4rem; }
.prose .legal-block {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2); padding: 1.2rem 1.4rem; margin-top: 1.2rem;
}
.prose .legal-block p { color: var(--ink); }
.prose .todo {
  display: block; margin-top: .3rem; font-size: var(--fs-small);
  color: var(--accent-dk); font-style: italic;
}
.prose .updated { font-size: var(--fs-small); color: var(--ink-soft); }

/* Info-Box / Hinweis */
.notice {
  background: var(--accent-lt); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; color: var(--accent-ink);
}
.notice p { color: var(--accent-ink); max-width: none; }

/* -----------------------------------------------------------------------------
   INTERAKTIVE BAUSTEINE (Wegweiser, FAQ, Schnellkontakt)
   -------------------------------------------------------------------------- */

/* Bereichs-Wegweiser (Landing) */
.chooser {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem);
}
.chooser__q { font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.chooser__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chooser__chip {
  font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer;
  padding: .6em 1.05em; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.chooser__chip:hover { border-color: var(--accent); color: var(--accent-dk); transform: translateY(-1px); }
.chooser__chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chooser__result {
  display: none; margin-top: 1.3rem;
  padding: 1.15rem 1.35rem; border-radius: var(--radius);
  background: var(--accent-lt); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  gap: 1rem 1.4rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.chooser__result.is-active { display: flex; }
.chooser__result p { color: var(--accent-ink); max-width: 46ch; margin: 0; }
.chooser__result strong { color: var(--accent-dk); }
@media (prefers-reduced-motion: reduce) { .chooser__chip:hover { transform: none; } }

/* FAQ – natives <details>/<summary> (barrierefrei, ohne JS) */
.faq { display: grid; gap: .7rem; max-width: 82ch; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 1.2rem;
  font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color .15s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-dk); }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 1.2rem 1.15rem; }
.faq__a p { color: var(--ink-soft); max-width: none; }

/* Schnellkontakt (WhatsApp-Anfrage + vCard-Download) */
.quickcontact { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.btn svg.ic-brand { width: 1.2em; height: 1.2em; }
.vcard-btn svg, .wa-btn svg { flex: none; }

/* -----------------------------------------------------------------------------
   9. BILD-SLOTS & DEKO
   -------------------------------------------------------------------------- */
/* Klar markierte Platzhalter für echte Fotos (kein Hotlink!) */
.img-slot {
  border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px,
      color-mix(in srgb, var(--accent) 6%, transparent) 12px,
      color-mix(in srgb, var(--accent) 6%, transparent) 24px),
    var(--accent-lt);
  display: grid; place-items: center; text-align: center;
  padding: 1.5rem; min-height: 220px; color: var(--accent-ink);
}
.img-slot__inner { max-width: 34ch; }
.img-slot svg { width: 34px; height: 34px; margin: 0 auto .6rem; color: var(--accent); }
.img-slot b { display: block; font-weight: 600; margin-bottom: .3rem; }
.img-slot span { font-size: var(--fs-small); color: var(--ink-soft); }
.img-slot code {
  display: inline-block; margin-top: .5rem; font-size: .8rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: .15em .5em; color: var(--accent-dk);
}

/* Dekorative Hero-Formen abgesichert gegen Overflow */
.deco { position: absolute; z-index: -1; pointer-events: none; }

/* -----------------------------------------------------------------------------
   9b. FOTO-BAUSTEINE (echte Bilder in Bild-Slots/Sektionen)
   Alle mit object-fit:cover + aspect-ratio → kein Layout-Springen; loading=lazy
   im HTML. Funktioniert in Light & Dark (neutraler Rahmen/Fläche).
   -------------------------------------------------------------------------- */
.figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}
.figure > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure--wide { aspect-ratio: 16 / 7; }
.figure--photo { aspect-ratio: 4 / 3; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure figcaption {
  font-size: var(--fs-small); color: var(--ink-soft);
  padding: .6rem .9rem; background: var(--paper);
}

/* Bild als randabfallende Kopfzeile innerhalb einer .card */
.card__media {
  margin: calc(-1 * clamp(1.4rem, 1rem + 1vw, 2rem)) calc(-1 * clamp(1.4rem, 1rem + 1vw, 2rem)) 1.3rem;
  aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.card--hover:hover .card__media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card--hover:hover .card__media img { transform: none; } }

/* Bild-Kopf in den großen Bereichs-Wahl-Karten (Landing) */
.choice-card--media { padding: 0; }
.choice-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.choice-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.choice-card--media:hover .choice-card__media img { transform: scale(1.05); }
.choice-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.6rem, 1rem + 2.5vw, 2.6rem); }
@media (prefers-reduced-motion: reduce) { .choice-card--media:hover .choice-card__media img { transform: none; } }

/* -----------------------------------------------------------------------------
   10. MOTION / REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* gestaffelte Kinder */
.reveal-stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* -----------------------------------------------------------------------------
   11. MEDIA-QUERIES (Responsive)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin-inline: auto; }
  .cta-band { grid-template-columns: 1fr; }

  /* Mobile-Navigation: schon ab 900px auf Hamburger umstellen, damit die
     Desktop-Nav (Marke + Links + CTA) nicht gequetscht umbricht. */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem clamp(1.1rem, .5rem + 3vw, 2.5rem) 1.4rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; width: 100%; }
  .nav__link { padding: .8em .6em; font-size: 1.05rem; border-radius: 8px; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: .8rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-split, .choice, .contact-grid { grid-template-columns: 1fr; }
  .subnav__list { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .badges { gap: .45rem; }
}

/* Print – schlicht */
@media print {
  .site-header, .subnav, .nav-toggle, .cta-band, .img-slot { display: none !important; }
  body { color: #000; background: #fff; }
}
