/* ==========================================================================
   stampfl.at – Variante 2 „Kinetic“
   Hell, freundlich, CI-Farben (Weiß, Aqua #59b0bb, Grau #a0aaac) – mit 3D,
   Scroll-Storytelling und interaktivem Körper.
   ========================================================================== */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #1a6973; }

:root {
  --ink: #0e2a31;
  --aqua: #59b0bb;
  --aqua-deep: #3d98a4;
  --aqua-soft: #dff0f2;
  --petrol: #1a6973;
  --grey: #a0aaac;
  --mist: #eef5f6;
  --stone: #536a70;
  --line: rgb(14 42 49 / .12);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --wrap: 90rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --space: clamp(5.5rem, 12vw, 10.5rem);
}

/* Themes: der Seitenhintergrund wechselt weich zwischen Weiß, Nebel und Aqua */
body, html:not(.js) [data-theme] { --bg: #ffffff; --accent: #1a6973; }
body[data-theme="mist"], html:not(.js) [data-theme="mist"] { --bg: #eef5f6; }
body[data-theme="aqua"], html:not(.js) [data-theme="aqua"] { --bg: #59b0bb; --accent: #0e2a31; }
html:not(.js) [data-theme] { background: var(--bg); }

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: --bg 1s var(--ease), --accent 1s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
::selection { background: var(--aqua); color: #fff; }
:focus-visible { outline: 2px solid var(--aqua-deep); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 400; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.mono { font: 500 .74rem/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.section-no { color: var(--accent); margin-bottom: 1.5rem; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 {
  font: 700 clamp(2.6rem, 6.4vw, 6rem)/.9 var(--display); font-stretch: 76%;
  text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance;
  margin-bottom: .45em;
}
h2 em, h1 em { font-style: normal; color: var(--aqua-deep); }
.live { position: relative; display: inline-block; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--aqua); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(89 176 187 / .6); } 70%, 100% { box-shadow: 0 0 0 .55rem rgb(89 176 187 / 0); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .9rem;
  min-height: 3.25rem; padding: .35rem .4rem .35rem 1.35rem;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease), color .4s, box-shadow .5s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover); border-radius: inherit; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-icon { position: relative; display: grid; place-items: center; flex: none; overflow: hidden; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--btn-icon-bg); color: var(--btn-icon-fg); transition: background-color .4s, color .4s; }
.btn-icon svg { grid-area: 1 / 1; width: 1.1rem; height: 1.1rem; transition: transform .6s var(--ease); }
.btn-icon svg:last-child { transform: translateX(-200%); }
.btn:hover .btn-icon svg:first-child { transform: translateX(200%); }
.btn:hover .btn-icon svg:last-child { transform: none; }
.btn-aqua { background: var(--aqua); color: var(--ink); --btn-hover: var(--ink); --btn-icon-bg: #fff; --btn-icon-fg: var(--ink); box-shadow: 0 14px 30px -14px rgb(61 152 164 / .7); }
.btn-aqua:hover { color: #fff; }
.btn-ink { background: var(--ink); color: #fff; --btn-hover: var(--aqua); --btn-icon-bg: var(--aqua); --btn-icon-fg: var(--ink); box-shadow: 0 16px 34px -16px rgb(14 42 49 / .6); }
.btn-ink:hover { color: var(--ink); }
.btn-ink:hover .btn-icon { background: #fff; }
.btn-white { background: #fff; color: var(--ink); --btn-hover: var(--ink); --btn-icon-bg: var(--aqua); --btn-icon-fg: var(--ink); }
.btn-white:hover { color: #fff; }
.btn-xl { min-height: 3.9rem; padding-left: 1.7rem; font-size: 1.02rem; }
.btn-xl .btn-icon { width: 3.1rem; height: 3.1rem; }

/* ==========================================================================
   Intro-Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 1.25rem;
  background: #fff; color: var(--stone);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io);
}
.loader-logo { width: 4.5rem; height: 4.5rem; overflow: visible; }
.loader-ring { fill: none; stroke: var(--aqua); stroke-width: 3; stroke-dasharray: 136; stroke-dashoffset: 136; transform-origin: center; rotate: -90deg; animation: ring-draw 1s var(--ease-io) forwards; }
.loader-cross { fill: var(--aqua); transform-origin: 24px 24px; scale: 0; animation: cross-pop .7s var(--ease) .6s forwards; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes cross-pop { to { scale: 1; } }
.is-ready .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
html:not(.js) .loader { display: none; }

/* ==========================================================================
   Navigation + Menü
   ========================================================================== */
/* Menüzeile wie in Variante 1: schwebende Leiste, bleibt beim Scrollen in beide Richtungen stehen,
   Balken unten zeigt die Position auf der Seite, Markierung gleitet zum aktiven Bereich */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: .85rem var(--gutter) 0; pointer-events: none; }
.nav-bar {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 1rem;
  max-width: calc(var(--wrap) + 2.5rem); height: 4.25rem; margin-inline: auto;
  padding: 0 .45rem 0 1.15rem; border-radius: 999px;
  transition: max-width .8s var(--ease), background-color .5s, box-shadow .5s;
}
.nav.is-scrolled .nav-bar {
  max-width: 76rem;
  background: rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 14px 40px -18px rgb(14 42 49 / .28), 0 0 0 1px rgb(14 42 49 / .06), inset 0 1px 0 rgb(255 255 255 / .8);
}
.nav-progress {
  position: absolute; left: 2rem; right: 2rem; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--petrol));
  transform-origin: left; transform: scaleX(var(--progress, 0));
  opacity: 0; transition: opacity .4s;
}
.nav.is-scrolled .nav-progress { opacity: 1; }
.logo { display: flex; flex: none; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.logo-mark { flex: none; width: 2.1rem; height: 2.1rem; color: var(--aqua); transition: transform .8s var(--ease), color .6s; }
.logo:hover .logo-mark { transform: rotate(180deg); }
.logo-word { font: 400 1.55rem/1 var(--sans); letter-spacing: -.01em; }
.logo-word span { color: var(--grey); transition: color .6s; }
.nav-links { position: relative; display: flex; margin-inline: auto; padding: .3rem; }
.nav-links a {
  position: relative; z-index: 1; padding: .6rem clamp(.55rem, .9vw, 1rem); border-radius: 999px;
  font: 600 .94rem var(--sans); color: var(--stone); text-decoration: none; white-space: nowrap;
  transition: color .3s;
}
.nav-links a:hover, .nav-links a.is-active, .nav-links a[aria-current] { color: var(--ink); }
.nav-pill {
  position: absolute; z-index: 0; top: .3rem; bottom: .3rem; left: 0; width: 0;
  border-radius: 999px; background: var(--aqua-soft); opacity: 0;
  transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s;
}
.nav-lang { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: 999px; font: 600 .82rem/1 var(--display); letter-spacing: .06em; color: var(--stone); text-decoration: none; transition: color .3s, background-color .3s; }
.nav-lang:hover { color: var(--ink); background: var(--aqua-soft); }
/* Kontakt speichern (vCard) – im Menü als Symbol, im Handy-Menü mit Text; öffnet am Handy „Kontakt hinzufügen“ */
.nav-vcard { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background-color .3s, box-shadow .3s; }
.nav-vcard:hover, .nav-vcard:focus-visible { background: var(--aqua-soft); box-shadow: inset 0 0 0 1px var(--aqua); }
.nav-vcard svg, .menu-vcard svg, .call-save svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.menu-vcard { display: inline-flex; align-items: center; gap: .6rem; }
.menu-open .nav-vcard { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .nav-vcard { display: none; } }
.btn-nav { flex: none; min-height: 3.2rem; font-size: .94rem; }
.btn-nav .btn-icon { width: 2.4rem; height: 2.4rem; }
.menu-btn { display: none; position: relative; flex: none; width: 3.05rem; height: 3.05rem; border: 0; border-radius: 50%; cursor: pointer; background: var(--ink); transition: background-color .4s, transform .5s var(--ease); }
.menu-btn:hover { transform: scale(1.06); }
.menu-btn-lines span { position: absolute; left: .95rem; right: .95rem; top: 50%; height: 1.5px; background: #fff; transition: transform .6s var(--ease), background-color .4s; }
.menu-btn-lines span:first-child { transform: translateY(-3.5px); }
.menu-btn-lines span:last-child { transform: translateY(3.5px); }
.menu-btn[aria-expanded="true"] { background: #fff; }
.menu-btn[aria-expanded="true"] span { background: var(--ink); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.menu-open .nav-bar { background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.menu-open .nav .logo-mark { color: #fff; }
.menu-open .nav-progress, .menu-open .btn-nav, .menu-open .nav-lang { opacity: 0; pointer-events: none; }
@media (max-width: 1180px) {
  .nav-links, .nav-lang { display: none; }
  .menu-btn { display: block; }
  .btn-nav { margin-left: auto; }
  .nav.is-scrolled .nav-bar { max-width: 46rem; }
}
@media (max-width: 640px) {
  .nav { padding-top: .6rem; }
  .nav-bar { height: 3.9rem; padding-left: 1rem; gap: .5rem; }
  .btn-nav { min-height: 2.9rem; padding-left: 1rem; }
  .btn-nav .btn-icon { width: 2.1rem; height: 2.1rem; }
}

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--aqua); color: var(--ink);
  clip-path: circle(0 at calc(100% - var(--gutter) - 1.5rem) 2.5rem); visibility: hidden;
  transition: clip-path 1s var(--ease-io), visibility 0s 1s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 1.5rem) 2.5rem); visibility: visible; transition: clip-path 1s var(--ease-io); }
.menu-inner { height: 100%; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 3rem; padding: 7rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom)); }
.menu-links { display: grid; }
.menu-links a {
  display: flex; align-items: baseline; gap: 1.25rem;
  font: 700 clamp(2.6rem, 7.4vw, 6.5rem)/.98 var(--display); font-stretch: 74%; text-transform: uppercase;
  color: inherit; text-decoration: none;
  opacity: 0; translate: 0 2rem;
  transition: opacity .6s, translate .9s var(--ease), color .3s;
}
.menu-links a span { font: 500 .78rem var(--mono); letter-spacing: .06em; }
.menu-links a:hover { color: #fff; }
.menu.is-open .menu-links a { opacity: 1; translate: none; transition-delay: calc(.3s + var(--i, 0) * .05s); }
.menu-aside { display: grid; gap: .2rem; opacity: 0; transition: opacity .6s .6s; }
.menu.is-open .menu-aside { opacity: 1; }
.menu-aside .mono { margin: 1rem 0 .2rem; opacity: .7; }
.menu-aside .mono:first-child { margin-top: 0; }
.menu-aside p { margin: 0; }
.menu-aside a { display: inline-block; padding-block: .5rem; margin-block: -.5rem; font-weight: 600; text-decoration: none; }
.menu-aside a:hover { color: #fff; }

/* ==========================================================================
   Story: Hero + 3D-Knie (gepinnt)
   ========================================================================== */
.story { position: relative; height: 460vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 7.5rem 7.5rem; background-position: center;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at var(--ring-x, 68%) 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at var(--ring-x, 68%) 50%, #000, transparent 75%);
}
.stage-ring { display: none; }
.knee-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-webgl .stage-ring {
  display: block; position: absolute; left: var(--ring-x, 68%); top: 50%; width: min(60vh, 34rem); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 1.5px solid var(--aqua);
  background: radial-gradient(circle, var(--aqua-soft), transparent 70%);
}
.no-webgl .stage-ring::after { content: ""; position: absolute; inset: 38%; background: var(--aqua); clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%); }

.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .55rem; font: 500 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); white-space: nowrap; opacity: 0; will-change: transform; }
.callout i { position: relative; width: 2.75rem; height: 1px; background: var(--aqua); }
.callout i::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--aqua); }
.readout { position: absolute; right: var(--gutter); bottom: 1.5rem; display: flex; gap: 1.5rem; margin: 0; color: var(--stone); }
.readout b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.story-hero { position: absolute; left: var(--gutter); top: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: min(58rem, 62vw); padding-top: 5rem; will-change: transform, opacity; }
/* Neuigkeiten-Hinweis unter dem Einleitungstext (profil-Artikel KI-Knieprothese) */
.news-pill { grid-column: 1; display: inline-flex; align-items: center; gap: .7rem; width: fit-content; justify-self: start; max-width: 100%; padding: .4rem 1.1rem .4rem .4rem; border-radius: 1.6rem; background: rgb(255 255 255 / .75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line), 0 12px 28px -20px rgb(14 42 49 / .45); color: var(--ink); font: 600 .92rem/1.25 var(--sans); text-decoration: none; transition: box-shadow .3s; }
.news-pill .ai-chip { flex: none; height: 1.9rem; border-radius: 999px; padding: 0 .8rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.np-src { color: var(--petrol); }
.news-pill > svg { flex: none; width: 1rem; height: 1rem; color: var(--aqua-deep); transition: transform .5s var(--ease); }
.news-pill:hover { box-shadow: inset 0 0 0 1.5px var(--aqua), 0 14px 30px -18px rgb(14 42 49 / .5); }
.news-pill:hover > svg { transform: translate(3px, -3px); }
.hero-h1 { display: contents; font-weight: inherit; }   /* H1 = Themenzeile + große Überschrift (für Google), optisch unverändert */
.hero-title { display: block; }
.hero-kicker { display: flex; align-items: center; gap: .7rem; color: var(--stone); margin-bottom: clamp(1.75rem, 2.8vw, 3.25rem); } /* Abstand mit der Titelgröße, damit die Ü-Striche Luft haben */
.hero-title { font: 700 clamp(3.2rem, 10.4vw, 11.5rem)/.86 var(--display); font-stretch: 74%; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: clamp(1.75rem, 4vh, 3rem); }
.hl { display: block; overflow: clip; padding: .14em 0 .05em; margin: -.14em 0 -.05em; }
.hl-in { display: inline-block; }
/* Wechselndes Wort aus Variante 1: Instrument Serif kursiv, im Aqua-Verlauf */
.hl-rot { padding-bottom: .3em; margin-bottom: -.3em; }
.rotator { display: inline-grid; }
.rot-word {
  grid-area: 1 / 1; justify-self: start;
  font: italic 400 .9em/.9 "Instrument Serif", Georgia, serif; text-transform: none; letter-spacing: -.015em; padding: 0 .08em .25em 0; margin-bottom: -.25em; /* Platz für Unterlängen (g), sonst schneidet der Text-Verlauf sie ab */
  background: linear-gradient(100deg, var(--petrol) 10%, var(--aqua-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(125%);
  transition: transform 1s var(--ease);
}
.rot-word.is-active { transform: none; transition-delay: .2s; }
.rot-word.is-leaving { transform: translateY(-125%); }
/* Portrait im Hero: Desktop groß rechts, das Knie übernimmt beim Scrollen */
.hero-portrait { position: absolute; left: calc(72vw - var(--gutter)); top: calc(50% + 2.5rem); z-index: 1; width: min(60vh, 31vw, 34rem); aspect-ratio: 1; margin: 0; translate: -50% -50%; }
.hero-portrait::before { content: ""; position: absolute; inset: -4.5%; border-radius: 50%; border: 1.5px solid var(--aqua); opacity: .55; }
.hp-photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #e6e7e7; box-shadow: 0 50px 90px -50px rgb(14 42 49 / .55); }
.hp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.4s var(--ease); }
.hero-portrait:hover .hp-photo img { transform: scale(1.04); }
.hp-card { position: absolute; right: -10%; bottom: 7%; display: grid; gap: .3rem; padding: .95rem 1.3rem 1rem; border-radius: 1.25rem; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -26px rgb(14 42 49 / .5), inset 0 0 0 1px var(--line); }
.hp-card strong { font: 700 1.15rem/1.1 var(--display); color: var(--ink); }
.hp-card .mono { font-size: .64rem; color: var(--stone); }
/* Breite endet vor dem Porträt (dessen Größe hängt von Fensterbreite und -höhe ab); wird es zu eng, rutscht der Button unter den Text */
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 2.5rem; max-width: min(52rem, calc(72vw - 2 * var(--gutter) - min(60vh, 31vw, 34rem) * .4)); }
.hero-bottom .hero-lead { flex: 1 1 24rem; }
.hero-bottom .hero-cta { margin-left: auto; }
.hero-lead { max-width: 30em; margin: 0; color: var(--stone); font-size: 1.05rem; }
.hero-cta { display: grid; justify-items: start; gap: 1rem; }
/* Besonderheit KI-Knieprothese: Hinweis im Knie-Abschnitt 03 + profil-Karte */
.step .ai-tag { display: inline-flex; align-items: center; gap: .7rem; margin: -.25rem 0 1.1rem; color: var(--ink); font: 600 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.ai-chip {
  position: relative; display: grid; place-items: center; overflow: hidden; height: 2rem; padding: 0 .6rem; border-radius: .55rem;
  background: var(--ink); color: var(--aqua); font: 700 1rem/1 var(--display); letter-spacing: .04em;
  box-shadow: 0 0 0 1px rgb(89 177 187 / .5), 0 8px 22px -10px rgb(89 177 187 / .9);
}
.ai-chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); translate: -120% 0; animation: ai-shine 3.8s var(--ease) infinite 1s; }
@keyframes ai-shine { 0%, 55% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
.step .press-card { display: grid; gap: .4rem; max-width: 30rem; margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: 1.25rem; background: rgb(255 255 255 / .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -28px rgb(14 42 49 / .45); color: var(--ink); text-decoration: none; transition: box-shadow .3s, translate .5s var(--ease); }
.press-card .mono { width: fit-content; padding: .3rem .55rem; border-radius: 999px; background: var(--aqua-soft); color: var(--petrol); }
.press-card strong { font: 700 clamp(1.2rem, 1.7vw, 1.5rem)/1.15 var(--display); font-stretch: 82%; }
.press-more { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--petrol); }
.press-more svg { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.press-card:hover { translate: 0 -2px; box-shadow: inset 0 0 0 1.5px var(--aqua), 0 22px 44px -28px rgb(14 42 49 / .5); }
.press-card:hover .press-more svg { transform: translate(3px, -3px); }

.step { position: absolute; top: 50%; z-index: 2; width: min(33rem, 40vw); opacity: 0; visibility: hidden; will-change: transform, opacity; }
.step[data-side="left"] { left: var(--gutter); }
.step[data-side="right"] { right: var(--gutter); }
.step-no { color: var(--accent); margin-bottom: 1.25rem; }
.step h2 { font-size: clamp(2.6rem, 5.4vw, 5.25rem); }
.step p { color: var(--stone); font-size: 1.08rem; max-width: 30em; }
.step-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.chip-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1rem .75rem 1.2rem; border: 0; border-radius: 999px; cursor: pointer; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -16px rgb(14 42 49 / .4); font-weight: 600; font-size: .95rem; transition: background-color .3s, color .3s, box-shadow .3s; }
.chip-btn svg { width: 1rem; height: 1rem; color: var(--aqua-deep); transition: transform .5s var(--ease), color .3s; }
.chip-btn:hover { background: var(--aqua); box-shadow: none; }
.chip-btn:hover svg { transform: rotate(90deg); color: var(--ink); }
.chip-btn-solid { background: var(--ink); color: #fff; box-shadow: none; }
.chip-btn-solid svg { color: var(--aqua); }
.chip-btn-solid:hover { color: var(--ink); }

.story-dots { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: grid; gap: .6rem; opacity: 0; transition: opacity .5s; }
.story-dots span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--line); transition: background-color .4s, scale .4s; }
.story-dots span.is-on { background: var(--aqua); scale: 1.4; }
.story.show-dots .story-dots { opacity: 1; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0; display: flex; align-items: center; gap: .75rem; margin: 0; color: var(--stone); }
.scroll-hint span { position: relative; width: 1px; height: 2.25rem; overflow: hidden; background: var(--line); }
.scroll-hint span::after { content: ""; position: absolute; inset: 0; background: var(--aqua); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { from { translate: 0 -100%; } to { translate: 0 100%; } }

/* Statische Story (ohne JS oder bei reduzierter Bewegung) */
html:not(.js) .story, .story.is-static { height: auto; }
html:not(.js) .stage, .story.is-static .stage { position: relative; height: auto; overflow: visible; padding: 7rem var(--gutter) 3rem; display: grid; gap: 4rem; }
html:not(.js) .story-hero, .story.is-static .story-hero,
html:not(.js) .step, .story.is-static .step { position: relative; inset: auto; width: auto; max-width: 52rem; padding: 0; opacity: 1; visibility: visible; transform: none; }
html:not(.js) .hero-portrait, .story.is-static .hero-portrait { position: relative; left: auto; top: auto; translate: none; width: min(100%, 22rem); margin-bottom: 2.5rem; }
html:not(.js) .knee-canvas, .story.is-static .knee-canvas, html:not(.js) .callouts, .story.is-static .callouts,
html:not(.js) .readout, .story.is-static .readout, html:not(.js) .story-dots, .story.is-static .story-dots,
html:not(.js) .scroll-hint, .story.is-static .scroll-hint { display: none; }

/* ==========================================================================
   Kennzahlen – laufen mit dem Scrollen
   ========================================================================== */
.numbers { overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem); }
.num-row { display: flex; align-items: center; width: max-content; will-change: transform; }
.num-row + .num-row { margin-top: clamp(.5rem, 1.5vw, 1.25rem); }
.num-row > * { margin-right: clamp(1.25rem, 2.6vw, 2.5rem); }
.num-row span { font: 700 clamp(3.4rem, 10vw, 10rem)/1 var(--display); font-stretch: 72%; text-transform: uppercase; white-space: nowrap; }
.num-row b { color: var(--aqua-deep); }
.num-row-outline span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.num-row-outline b { color: var(--aqua); -webkit-text-stroke: 0; }
.num-row svg { flex: none; width: clamp(2rem, 5vw, 4.5rem); height: clamp(2rem, 5vw, 4.5rem); color: var(--aqua); }

/* ==========================================================================
   Interaktiver Körper
   ========================================================================== */
.bodymap {
  position: relative; padding-block: var(--space);
  background: var(--mist);
  clip-path: circle(var(--reveal, 150%) at 50% 40%);
}
.bm-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 1rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.bm-head .section-no { grid-column: 1 / -1; margin-bottom: 0; }
.bm-head h2 { margin-bottom: 0; font-size: clamp(3rem, 8vw, 8rem); }
.bm-intro { max-width: 28em; margin: 0 0 .6em; font-size: 1.12rem; color: var(--stone); }
.bm-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.bm-figure { perspective: 1200px; }
.bm-tilt { position: relative; width: min(100%, 25rem); aspect-ratio: 300 / 620; margin-inline: auto; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.body-svg { width: 100%; height: 100%; overflow: visible; }
.body-halo { fill: url(#glow); opacity: .35; transition: opacity .6s; animation: breathe 5s ease-in-out infinite; transform-origin: 150px 300px; }
@keyframes breathe { 50% { scale: 1.06; } }
.limb line { stroke: #d3e7ea; stroke-width: 26; stroke-linecap: round; transition: stroke .6s; }
.torso, .head { fill: #e2eff1; transition: fill .6s; }
.pelvis, .neck, .hand-shape, .foot { fill: #d6e9ec; transition: fill .6s; }
.spine rect { fill: #fff; stroke: #bcdade; stroke-width: 1; transition: fill .6s, stroke .6s; }
.joints circle { fill: #fff; stroke: var(--grey); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.body-svg[data-active="knie"] .limb[data-part~="knie"] line,
.body-svg[data-active="schulter"] .limb[data-part~="schulter"] line:first-child,
.body-svg[data-active="hand"] .limb[data-part~="hand"] line:last-child { stroke: #9ed2d9; }
.body-svg[data-active="wirbelsaeule"] .torso { fill: #cfe8eb; }
.body-svg[data-active="wirbelsaeule"] .spine rect { fill: var(--aqua); stroke: var(--aqua); }
.body-svg[data-active="huefte"] .pelvis, .body-svg[data-active="hand"] .hand-shape { fill: #9ed2d9; }
.body-svg[data-active="knie"] .joints [data-part~="knie"],
.body-svg[data-active="schulter"] .joints [data-part~="schulter"],
.body-svg[data-active="huefte"] .joints [data-part~="huefte"],
.body-svg[data-active="hand"] .joints [data-part~="hand"] { fill: var(--aqua); stroke: var(--aqua); }
.body-svg[data-active="regeneration"] .limb line { stroke: #b9dfe4; }
.body-svg[data-active="regeneration"] .joints circle { fill: var(--aqua); stroke: var(--aqua); }
.body-svg[data-active="regeneration"] .body-halo { opacity: .8; }

.hotspot {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  width: 2.4rem; height: 2.4rem; translate: -50% -50%;
  border: 0; border-radius: 50%; cursor: pointer; padding: 0;
  background: rgb(89 176 187 / .18);
  transform: translateZ(40px);
  transition: background-color .4s, scale .4s var(--ease);
}
.hotspot::before { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--aqua); transition: background-color .4s; }
.hotspot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--aqua); animation: hs-pulse 2.4s var(--ease) infinite; }
@keyframes hs-pulse { 0% { scale: .8; opacity: 1; } 100% { scale: 1.9; opacity: 0; } }
.hotspot span {
  position: absolute; left: calc(100% + .6rem); top: 50%; translate: 0 -50%;
  padding: .4rem .7rem; border-radius: 999px; background: var(--ink); color: #fff;
  font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.hotspot[data-region="hand"] span { left: auto; right: calc(100% + .6rem); }
.hotspot:hover, .hotspot.is-active { background: var(--aqua); scale: 1.12; }
.hotspot:hover::before, .hotspot.is-active::before { background: #fff; }
.hotspot:hover span, .hotspot.is-active span, .hotspot:focus-visible span { opacity: 1; }

.bm-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.bm-tabs button { padding: .6rem 1rem; border: 0; border-radius: 999px; cursor: pointer; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .9rem; transition: background-color .3s, color .3s, box-shadow .3s; }
.bm-tabs button:hover { background: var(--aqua-soft); }
.bm-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.bm-content { min-height: 26rem; }
.bm-content > * { transition: opacity .45s var(--ease), translate .6s var(--ease); }
.bm-content.is-swapping > * { opacity: 0; translate: 0 1rem; }
.bm-count { color: var(--accent); margin-bottom: .75rem; }
.bm-title { font: 700 clamp(2.6rem, 5.4vw, 5rem)/.9 var(--display); font-stretch: 74%; text-transform: uppercase; margin-bottom: 1rem; }
.bm-text { max-width: 32em; color: var(--stone); font-size: 1.08rem; margin-bottom: 1.75rem; }
.bm-services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bm-services button {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; width: 100%;
  padding: 1.05rem .5rem; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left;
  font-size: 1.08rem; font-weight: 600;
}
.bm-services button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.bm-services button:hover::before { transform: none; }
.bm-services .mono { color: var(--stone); }
.bm-services svg { width: 1.1rem; height: 1.1rem; color: var(--aqua-deep); transition: transform .6s var(--ease); }
.bm-services button:hover svg { transform: rotate(90deg); }

/* Detailtexte: ohne JS als Liste, mit JS nur im Seitendialog */
.js .svc-data { display: none; }
.svc-data { padding-block: var(--space); }
.svc-data article { max-width: 46rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.svc-data h3 { font: 700 1.8rem/1 var(--display); font-stretch: 78%; text-transform: uppercase; margin-bottom: .75rem; }

/* Seitendialog */
.drawer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.drawer::backdrop { background: rgb(14 42 49 / 0); transition: background-color .5s; }
.drawer.is-open::backdrop { background: rgb(14 42 49 / .35); }
.drawer-panel {
  position: absolute; top: .75rem; right: .75rem; bottom: .75rem; width: min(38rem, calc(100% - 1.5rem));
  display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem) calc(2rem + env(safe-area-inset-bottom));
  border-radius: 1.75rem; background: #fff;
  box-shadow: 0 40px 80px -30px rgb(14 42 49 / .45);
  translate: calc(100% + 1rem) 0; transition: translate .7s var(--ease);
}
.drawer.is-open .drawer-panel { translate: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; position: sticky; top: -1.25rem; z-index: 2; margin: -1.25rem 0 0; padding: 1.25rem 0 .75rem; background: #fff; }   /* Schließen-Knopf bleibt beim Scrollen sichtbar */
.drawer-region { padding: .35rem .7rem; border-radius: 999px; background: var(--aqua-soft); color: var(--petrol); }
.drawer-close { display: grid; place-items: center; width: 3.05rem; height: 3.05rem; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; transition: transform .6s var(--ease), background-color .3s; }
.drawer-close svg { width: 1.2rem; height: 1.2rem; }
.drawer-close:hover { transform: rotate(90deg); background: var(--aqua-deep); }
.drawer-content h3 { margin-bottom: 1.25rem; font: 700 clamp(2.1rem, 4vw, 3.1rem)/.92 var(--display); font-stretch: 76%; text-transform: uppercase; hyphens: auto; overflow-wrap: break-word; }
.drawer-content p, .drawer-content li { color: var(--stone); font-size: 1.08rem; }
.drawer-content ul { padding-left: 1.1rem; margin: 0 0 1em; }
.drawer-content li::marker { color: var(--aqua); }
.drawer-content .svc-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.drawer-content .svc-links a { color: var(--petrol); font-weight: 600; text-underline-offset: .25em; }
.drawer.is-open .drawer-content > * { animation: rise .8s var(--ease) both; }
.drawer.is-open .drawer-content > :nth-child(2) { animation-delay: .06s; }
.drawer.is-open .drawer-content > :nth-child(3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; translate: 0 1rem; } }
.drawer-cta { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Über mich
   ========================================================================== */
.about { padding-block: var(--space); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3rem, 6vw, 6rem) clamp(3rem, 7vw, 7rem); align-items: center; }
.about-lead { max-width: 24em; margin: 0 0 2rem; font: 400 clamp(1.35rem, 2.3vw, 2rem)/1.3 var(--display); letter-spacing: -.015em; }
.about-sign { display: grid; gap: .2rem; margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--aqua); }
.about-sign span { color: var(--stone); }
.about-portrait { position: relative; width: min(100%, 32rem); aspect-ratio: 1; margin-inline: auto; }
.portrait-mask { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; background: #e6e7e7; clip-path: circle(var(--pr, 50%) at 50% 50%); }
.portrait-mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--ps, 1)); }
.about-badge { position: absolute; right: 8%; bottom: 10%; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--aqua); color: #fff; box-shadow: 0 16px 30px -12px rgb(14 42 49 / .35); animation: bob 6s ease-in-out infinite; }
.about-badge svg { width: 2.3rem; height: 2.3rem; }
@keyframes bob { 50% { translate: 0 -10px; } }
/* Team – zugeklappt eine kompakte Leiste unter der Signatur, aufgeklappt über die volle Breite
   (Platzhalter bis Fotos/Namen da sind) */
.team { grid-column: 1 / -1; margin-top: calc(-1 * clamp(1.5rem, 4vw, 4rem)); border-radius: 1.75rem; scroll-margin-top: 6rem; transition: background-color .4s; }
.team[open] { background: var(--mist); }
.team summary { display: flex; align-items: center; gap: 1rem; width: min(100%, 34rem); padding: .9rem 1rem .9rem .9rem; border-radius: 1.25rem; background: var(--mist); cursor: pointer; list-style: none; }
.team[open] summary { width: 100%; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) .5rem; }
.team summary::-webkit-details-marker { display: none; }
.team summary:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.team-avas { display: flex; flex: none; }
.team-ava { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; color: var(--aqua); box-shadow: 0 0 0 2px var(--mist), inset 0 0 0 1px var(--line); }
.team-ava + .team-ava { margin-left: -.7rem; }
.team-ava svg { width: 1.1rem; height: 1.1rem; }
.team-label { display: grid; gap: .1rem; flex: 1; min-width: 0; }
.team-label span { font-size: .9rem; color: var(--stone); }
.team[open] .team-label strong { font: 700 clamp(1.8rem, 3.2vw, 2.8rem)/1 var(--display); font-stretch: 76%; text-transform: uppercase; }
.team-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.team-icon svg { width: 1rem; height: 1rem; }
.team summary:hover .team-icon { background: var(--aqua); color: #fff; }
.team[open] .team-icon { transform: rotate(45deg); }
.team-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem); }
.team-card { display: grid; gap: .35rem; padding: 0 0 1.4rem; border-radius: 1.5rem; overflow: hidden; background: #fff; font-size: 1rem; }
.team-card > strong, .team-card > span:last-child { padding-inline: 1.4rem; }
.team-card > strong { font: 700 clamp(1.35rem, 2vw, 1.75rem)/1.1 var(--display); font-stretch: 80%; }
.team-card > span:last-child { color: var(--stone); }
.team-photo { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 1rem; background: linear-gradient(160deg, var(--aqua-soft), #eef5f6); color: var(--aqua); }
.team-photo svg { width: 34%; height: auto; aspect-ratio: 1; opacity: .5; }
@media (max-width: 900px) { .team { margin-top: 0; } }
@media (max-width: 700px) {
  .team-list { grid-template-columns: minmax(0, 1fr); }
  .team[open] .team-avas { display: none; }
  .team-card { grid-template-columns: 6rem minmax(0, 1fr); align-content: center; column-gap: 1rem; padding: 0; }
  .team-photo { grid-row: span 2; aspect-ratio: 1; margin: 0; }
  .team-card > strong { align-self: end; padding: 1rem 1rem 0 0; }
  .team-card > span:last-child { align-self: start; padding: 0 1rem 1rem 0; }
}
.cv { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: clamp(1rem, 3vw, 2rem) 0 0; padding: 0; }
.cv li { position: relative; padding-top: 1.75rem; border-top: 1.5px solid var(--line); }
.cv li::before { content: ""; position: absolute; left: 0; top: -.45rem; width: .8rem; height: .8rem; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--aqua); transition: background-color .4s; }
.cv li:hover { border-color: var(--aqua); }
.cv li:hover::before { background: var(--aqua); }
.cv-year { display: block; margin-bottom: .5rem; font: 700 clamp(1.8rem, 2.6vw, 2.4rem)/1 var(--display); font-stretch: 76%; text-transform: uppercase; color: var(--aqua-deep); }
.cv p { margin: 0; font-size: .95rem; color: var(--stone); }

/* ==========================================================================
   Logo-Wasserzeichen – originales Bildzeichen (Ring + Kreuz), transparent,
   diagonal ausgeblendet; driftet beim Scrollen leicht (scroll-driven, ohne JS)
   ========================================================================== */
.about, .why, .voices, .partners, .contact { position: relative; isolation: isolate; overflow-x: clip; }
.wm, .page-mark {
  -webkit-mask-image: linear-gradient(135deg, #000 15%, rgba(0,0,0,.35) 60%, transparent 95%);
  mask-image: linear-gradient(135deg, #000 15%, rgba(0,0,0,.35) 60%, transparent 95%);
}
.wm {
  position: absolute; z-index: -1; pointer-events: none;
  width: var(--wm-size, clamp(22rem, 48vw, 44rem)); height: auto; aspect-ratio: 1; max-width: none;
  color: var(--aqua); opacity: var(--wm-o, .1);
}
@supports (animation-timeline: view()) {
  .wm { animation: wm-drift linear both; animation-timeline: view(); }
  .page-mark { animation: mark-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
}
@keyframes wm-drift {
  from { transform: translateY(8%) rotate(-6deg) scale(.94); }
  to   { transform: translateY(-8%) rotate(6deg) scale(1.04); }
}
@keyframes mark-drift {
  from { transform: none; }
  to   { transform: translateY(14%) rotate(8deg) scale(1.08); }
}
.wm-about { top: 4%; left: calc(-.22 * var(--wm-size, 44rem)); --wm-size: clamp(24rem, 46vw, 42rem); }
.wm-why { top: -6rem; right: calc(-.3 * var(--wm-size, 44rem)); --wm-size: clamp(26rem, 58vw, 54rem); }
.wm-voices { top: 50%; right: 4%; margin-top: calc(-.5 * var(--wm-size, 44rem)); --wm-size: clamp(20rem, 36vw, 34rem); --wm-o: .08; }
.wm-partners { bottom: -4rem; left: calc(-.28 * var(--wm-size, 44rem)); --wm-size: clamp(22rem, 40vw, 38rem); }
.wm-contact { top: -8%; right: calc(-.18 * var(--wm-size, 44rem)); --wm-size: clamp(28rem, 62vw, 60rem); --wm-o: .12; }
@media (max-width: 900px) {
  .wm { --wm-o: .08; }
  .wm-voices { right: -30%; }
  .wm-contact { top: 12%; }
}

/* ==========================================================================
   Warum zu mir – Stapelkarten
   ========================================================================== */
.why { padding-block: var(--space); }
.why-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.stack-card {
  position: sticky; top: calc(6.5rem + var(--i) * 1.1rem);
  display: grid; grid-template-columns: 3.5rem minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 3vw, 3rem);
  min-height: clamp(18rem, 40vh, 25rem); padding: clamp(1.75rem, 3.5vw, 3rem); border-radius: 2rem;
  transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
  box-shadow: 0 30px 60px -40px rgb(14 42 49 / .35);
}
.sc-no { align-self: start; padding-top: .6rem; color: var(--petrol); }
.sc-body h3 { margin-bottom: 1rem; font: 700 clamp(2rem, 3.6vw, 3.3rem)/.92 var(--display); font-stretch: 76%; text-transform: uppercase; }
.sc-body p { max-width: 36em; margin: 0; font-size: 1.05rem; color: var(--stone); }
.sc-visual { justify-self: end; display: grid; justify-items: end; gap: .6rem; text-align: right; }
.sc-figure { font: 700 clamp(3.6rem, 8vw, 7.25rem)/.84 var(--display); font-stretch: 70%; font-variant-numeric: tabular-nums; color: var(--aqua-deep); }
.sc-white { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgb(14 42 49 / .35); }
.sc-mist { background: var(--mist); }
.sc-soft { background: var(--aqua-soft); }
.sc-aqua { background: var(--aqua); }
.sc-aqua p { color: var(--ink); }
.sc-aqua .sc-no { color: var(--ink); }
.sc-phone { color: inherit; text-decoration: none; }
.sc-phone .mono { display: flex; align-items: center; gap: .55rem; }
.sc-phone .live { background: #fff; }
.sc-phone strong { font: 700 clamp(1.9rem, 3.3vw, 2.9rem)/1 var(--display); font-stretch: 80%; }
.sc-call { display: grid; place-items: center; width: 4rem; height: 4rem; margin-top: .5rem; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .6s var(--ease), background-color .3s, color .3s; }
.sc-call svg { width: 1.5rem; height: 1.5rem; }
.sc-phone:hover .sc-call { transform: rotate(-15deg) scale(1.1); background: var(--ink); color: #fff; }
/* Schlagworte in Karte 02/06: wie die Kennzahlen (Display, fett, Aqua), nur kleiner, untereinander rechtsbündig */
.tags { display: grid; justify-items: end; gap: .35rem; list-style: none; margin: 0; padding: 0; text-align: right; }
.tags li { font: 700 clamp(1.5rem, 2.5vw, 2.25rem)/.95 var(--display); font-stretch: 72%; text-transform: uppercase; color: var(--aqua-deep); }

/* ==========================================================================
   Zweitmeinung
   ========================================================================== */
.opinion { overflow: hidden; padding-bottom: var(--space); }
.opinion-marquee { overflow: hidden; padding-block: clamp(2rem, 5vw, 4rem); }
.opinion-track { display: flex; align-items: center; width: max-content; animation: marquee 32s linear infinite; }
.opinion-track > * { margin-right: clamp(1.5rem, 3vw, 3rem); }
.opinion-track span { font: 800 clamp(4rem, 13vw, 12rem)/.9 var(--display); font-stretch: 70%; text-transform: uppercase; white-space: nowrap; color: #fff; }
.opinion-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.opinion-track svg { flex: none; width: clamp(2.5rem, 6vw, 5rem); height: clamp(2.5rem, 6vw, 5rem); color: #fff; }
.opinion-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 2rem 4rem; }
.opinion-inner h2 { margin-bottom: 0; }
.opinion-inner p { max-width: 30em; margin-bottom: 1.75rem; font-size: 1.15rem; }

/* ==========================================================================
   Stimmen
   ========================================================================== */
.voices { padding-block: var(--space); }
.voices-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.voices-top .section-no { margin: 0; }
.voices-controls { display: flex; align-items: center; gap: .6rem; }
.voices-count { margin-right: .6rem; color: var(--stone); }
.vc-current { color: var(--ink); }
.vbtn { position: relative; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 0; border-radius: 50%; cursor: pointer; background: var(--mist); color: var(--ink); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.vbtn svg { width: 1.2rem; height: 1.2rem; }
.vbtn:hover { background: var(--aqua); }
.vbtn:active { transform: scale(.92); }
.vbtn .vring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.vring circle { fill: none; stroke: var(--aqua); stroke-width: 2; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--vp, 0))); }
.vpause span { width: .7rem; height: .8rem; border-inline: 3px solid currentColor; }
.vpause[aria-pressed="true"] span { width: 0; height: 0; margin-left: .2rem; border: 0; border-left: .7rem solid currentColor; border-block: .45rem solid transparent; }
.voices-stage { display: grid; }
.voice { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; translate: 0 1.5rem; transition: opacity .6s var(--ease), translate .6s var(--ease), visibility 0s .6s; }
.voice.is-active { opacity: 1; visibility: visible; translate: none; transition: opacity 1s var(--ease) .25s, translate 1.2s var(--ease) .25s; }
.voice blockquote { margin: 0 0 2.5rem; }
.voice blockquote p { max-width: 25em; margin: 0; font: 400 clamp(1.55rem, 3.2vw, 2.9rem)/1.22 var(--display); letter-spacing: -.02em; text-wrap: pretty; }
.voice blockquote p::before { content: "„"; color: var(--aqua-deep); }
.voice blockquote p::after { content: "“"; color: var(--aqua-deep); }
.voice figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.voice figcaption::before { content: ""; align-self: center; width: 2.5rem; height: 1.5px; background: var(--aqua); }
.voice figcaption strong { font-weight: 600; }
.voice figcaption span { color: var(--stone); }

/* Bewertungen auf DocFinder / Google – nur Links, keine eingebetteten Widgets */
.rating { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.rating p { margin: 0; }
.rating-score { display: flex; align-items: center; gap: .9rem; }
.rating-score strong { font: 700 clamp(2.8rem, 5vw, 4rem)/.9 var(--display); font-stretch: 76%; }
.stars { font-size: 1.35rem; letter-spacing: .12em; background: linear-gradient(90deg, var(--aqua-deep) calc(var(--r) / 5 * 100%), rgb(14 42 49 / .15) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-meta { display: grid; gap: .3rem; color: var(--stone); }
.rating-meta .mono { font-size: .75rem; color: var(--stone); }
.rating-links { display: grid; justify-items: end; gap: .7rem; }
.rating-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.2rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .3s; }
.rating-btn:hover { background: var(--petrol); }
.rating-btn svg { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.rating-btn:hover svg { transform: translate(2px, -2px); }
.rating-write { font-size: .92rem; color: var(--stone); }
.rating-write a { margin-left: .5rem; color: var(--ink); font-weight: 600; text-decoration-color: var(--aqua); text-underline-offset: .22em; }
@media (max-width: 900px) {
  .rating { grid-template-columns: 1fr; }
  .rating-links { justify-items: start; }
}

/* ==========================================================================
   Partner
   ========================================================================== */
.partners { padding-block: var(--space); }
.partners-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 1rem 4rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.partners-head .section-no { grid-column: 1 / -1; margin-bottom: 0; }
.partners-head h2 { margin-bottom: 0; }
.partners-head p { max-width: 28em; margin: 0 0 .5em; font-size: 1.1rem; color: var(--stone); }
.partner-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.partner-rows a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2.5rem; align-items: center; gap: 1.5rem;
  padding: 1.5rem .75rem; border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none;
}
.partner-rows a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--aqua); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.partner-rows a:hover::before { transform: scaleY(1); }
.partner-rows strong { font: 700 clamp(1.5rem, 2.8vw, 2.4rem)/1 var(--display); font-stretch: 76%; text-transform: uppercase; transition: translate .6s var(--ease); }
.partner-rows a:hover strong { translate: .5rem 0; }
.partner-rows span { color: var(--stone); transition: color .4s; }
.partner-rows a:hover span { color: var(--ink); }
.partner-rows svg { justify-self: end; width: 1.5rem; height: 1.5rem; transition: transform .6s var(--ease); }
.partner-rows a:hover svg { transform: translate(3px, -3px) scale(1.1); }

/* ==========================================================================
   Häufige Fragen – natives <details>, funktioniert auch ohne JS
   ========================================================================== */
/* FAQ: Link zur FAQ-Seite (Startseite) und eigene FAQ-Seite */
.faq-all { margin: 1.75rem 0 0; }
.faqp { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.faqp-cats { position: sticky; top: 5.75rem; z-index: 5; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: .6rem 0; background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.faqp-cats ul { display: flex; gap: .5rem; overflow-x: auto; list-style: none; margin: 0; padding: 0 0 .25rem; scrollbar-width: thin; }
.faqp-cats a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .45rem 1rem; border-radius: 999px; background: var(--mist); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background-color .3s; }
.faqp-cats a:hover, .faqp-cats a:focus-visible { background: var(--aqua-soft); }
.faqp-group { max-width: 58rem; scroll-margin-top: 10rem; }
.faqp-group + .faqp-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.faqp-kick { margin: 0 0 .35rem; color: var(--accent); }
.faqp-title { margin: 0 0 1rem; font: 700 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--display); font-stretch: 72%; text-transform: uppercase; color: var(--aqua-deep); }
.faqp-more { margin: 1rem 0 0; }
.faqp-more a { display: inline-flex; align-items: center; gap: .5rem; color: var(--petrol); font-weight: 600; text-decoration: none; }
.faqp-more svg { width: 1rem; height: 1rem; }
.faqp-knie { max-width: 58rem; margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 2px solid var(--ink); scroll-margin-top: 10rem; }
.faqp-knie .faqp-title { color: var(--ink); }
.faqp-idx { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 0; }
.faqp-idx a { display: inline-flex; min-height: 2.5rem; align-items: center; padding: .45rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.faqp-idx a:hover, .faqp-idx a:focus-visible { box-shadow: inset 0 0 0 1px var(--aqua); background: var(--aqua-soft); }
.faqp-fees { padding-top: clamp(3rem, 6vw, 5rem); background: var(--mist); scroll-margin-top: 6rem; }
.faqp-fees .fee { background: #fff; }

/* Tarife */
.fees { padding-block: 0 var(--space); }
.fees-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(3rem, 7vw, 7rem); align-items: start; }
/* Überschrift passt sich der schmalen Spalte an (EN „Consultations“ lief bei 1024 px unter die Karte) */
.fees-head, .faq-head { container-type: inline-size; }
.fees-head h2, .faq-head h2 { font-size: min(clamp(2.6rem, 6.4vw, 6rem), 12.5cqi); }
.fees-head p:last-child { max-width: 26em; margin: 0; font-size: 1.1rem; color: var(--stone); }
.fees-list { display: grid; gap: 1rem; }
.fee { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.5rem; background: var(--mist); }
.fee-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 1rem; }
.fee-top:last-child { margin-bottom: 0; }
.fee h3 { margin: 0; font: 700 clamp(1.5rem, 2.4vw, 2.1rem)/1 var(--display); font-stretch: 72%; text-transform: uppercase; hyphens: auto; }
.fee-price { margin: 0; color: var(--aqua-deep); font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); font-stretch: 72%; white-space: nowrap; }
.fee p:not(.fee-price) { margin: 0; color: var(--stone); }
.fee p:not(.fee-price) + p { margin-top: .7rem; }
.fee .fee-sub { color: var(--ink); font-weight: 600; }
.fee-special { margin: 0; padding: 1.15rem 1.5rem; border-radius: 1.5rem; background: var(--ink); color: #fff; }
.fee-special strong { color: var(--aqua); }
.fee-pay { margin: 0; padding-inline: 1.5rem; font-size: .95rem; color: var(--stone); }
@media (max-width: 900px) { .fees-grid { grid-template-columns: 1fr; } }

.faq { padding-block: var(--space); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(3rem, 7vw, 7rem); align-items: start; }
.faq-head { position: sticky; top: 7rem; }
.faq-head p:last-child { max-width: 26em; margin: 0; font-size: 1.1rem; color: var(--stone); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 2.75rem; align-items: center; gap: 1.5rem;
  padding: 1.45rem .25rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font: 600 clamp(1.15rem, 1.6vw, 1.4rem)/1.25 var(--display); letter-spacing: -.01em; transition: color .3s; }
.faq-item summary:hover h3 { color: var(--petrol); }
.faq-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background-color .4s, color .4s, box-shadow .4s; }
.faq-icon svg { width: 1.1rem; height: 1.1rem; transition: rotate .5s var(--ease); }
.faq-item summary:hover .faq-icon { box-shadow: inset 0 0 0 1px var(--aqua); }
.faq-item[open] .faq-icon { background: var(--aqua); color: #fff; box-shadow: none; }
.faq-item[open] .faq-icon svg { rotate: 45deg; }
.faq-a { padding: 0 4.25rem 1.6rem .25rem; }
.faq-a p { max-width: 38em; margin: 0; color: var(--stone); }
.faq-a a { color: var(--ink); text-decoration-color: var(--aqua); text-underline-offset: .22em; }
.faq-item[open] .faq-a { animation: faq-in .6s var(--ease); }
@keyframes faq-in { from { opacity: 0; translate: 0 -.5rem; } }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-a { padding-right: .25rem; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { padding-block: calc(var(--space) * .6) calc(var(--space) * .6); }
/* Wartezimmer der Ordination (Foto der bisherigen Website, aufbereitet) – statisch, weich eingeblendet */
.contact-photo { position: absolute; z-index: -1; inset: 0 0 auto; height: min(100%, 62rem); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 48%, transparent 88%);
          mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 48%, transparent 88%); }
.contact-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; opacity: .42; mix-blend-mode: multiply; }
@media (max-width: 900px) { .contact-photo { height: 38rem; } .contact-photo img { opacity: .4; } }
.mega-cta { display: block; width: fit-content; max-width: 100%; margin: .25rem 0 clamp(1.25rem, 2.5vw, 2rem); color: var(--ink); text-decoration: none; }
.mega-line { display: flex; align-items: center; gap: .12em; overflow: clip; padding-bottom: .04em; font: 800 clamp(2.9rem, 9vw, 8.5rem)/.84 var(--display); font-stretch: 70%; text-transform: uppercase; }
.mega-line > span:first-child {
  display: inline-block;
  background: linear-gradient(90deg, var(--aqua-deep) 50%, var(--ink) 50%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position .9s var(--ease), translate 1.2s var(--ease);
}
.mega-cta:hover .mega-line > span:first-child { background-position: 0 0; }
.mega-cta:hover .mega-line:last-child > span:first-child { transition-delay: .08s; }
.mega-arrow { display: grid; place-items: center; flex: none; width: .72em; height: .72em; border-radius: 50%; background: var(--aqua); color: var(--ink); transition: transform .8s var(--ease), translate 1.2s var(--ease); }
.mega-arrow svg { width: 45%; height: 45%; }
.mega-cta:hover .mega-arrow { transform: rotate(45deg) scale(1.05); }
.contact-lead { max-width: 34em; margin: 0 0 clamp(1rem, 2.5vw, 1.75rem); font-size: 1.15rem; color: var(--stone); }
.contact-lead a { color: var(--ink); text-decoration-color: var(--aqua); text-underline-offset: .25em; }
/* Termin-Assistent – bereitet eine E-Mail vor, speichert und sendet nichts selbst */
.ta:not(.is-ready) { display: none; }
.ta [hidden] { display: none !important; }
.ta { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); margin-bottom: 1rem; padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: 2rem; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgb(14 42 49 / .45); }
.ta h3 { margin: 0 0 .9rem; font: 700 clamp(1.9rem, 3vw, 2.7rem)/.95 var(--display); font-stretch: 76%; text-transform: uppercase; }
.ta-kicker { margin: 0 0 1rem; color: var(--accent); }
.ta-count { color: var(--ink); }
.ta-intro { margin: 0 0 1.5rem; color: var(--stone); }
.ta-progress { height: 4px; margin-bottom: 1.5rem; border-radius: 4px; background: var(--mist); overflow: hidden; }
.ta-progress span { display: block; height: 100%; width: calc(var(--ta-p, .25) * 100%); border-radius: inherit; background: var(--aqua); transition: width .6s var(--ease); }
.ta-privacy { display: flex; gap: .65rem; margin: 0; font-size: .88rem; color: var(--stone); }
.ta-privacy svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; color: var(--aqua-deep); }
.ta-form, .ta-done { min-width: 0; }
.ta-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.ta-step.is-active { animation: ta-in .5s var(--ease); }
@keyframes ta-in { from { opacity: 0; translate: 1rem 0; } }
.ta-step legend { margin-bottom: 1.1rem; padding: 0; font: 600 clamp(1.2rem, 1.8vw, 1.5rem)/1.25 var(--display); letter-spacing: -.01em; outline: none; }
.ta-label { margin: 1.3rem 0 .6rem; font-weight: 600; font-size: .95rem; }
.ta-step .ta-label:first-of-type { margin-top: 0; }
.ta-label span { font-weight: 400; color: var(--stone); }
.ta-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 600px) { .ta-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ta-opt span { min-height: 3.2rem; padding: .75rem .9rem; } }
.ta-opt { position: relative; cursor: pointer; }
.ta-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ta-opt span { display: flex; align-items: center; min-height: 3.6rem; padding: .9rem 1.15rem; border-radius: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .95rem; transition: background-color .3s, color .3s, box-shadow .3s; }
.ta-opt:hover span { background: var(--aqua-soft); }
.ta-opt input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.ta-opt input:focus-visible + span { outline: 2px solid var(--aqua-deep); outline-offset: 3px; }
.ta-alert { margin: 1.25rem 0 0; padding: 1rem 1.2rem; border-left: 3px solid var(--petrol); border-radius: 0 .9rem .9rem 0; background: var(--aqua-soft); }
.ta-alert a { font-weight: 600; white-space: nowrap; }
.ta-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ta-field { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.ta-field em { font-style: normal; font-weight: 400; color: var(--stone); }
.ta-field-wide { grid-column: 1 / -1; }
.ta-field input, .ta-field textarea { width: 100%; padding: .85rem 1rem; border: 0; border-radius: 1rem; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font: 400 1rem/1.4 var(--sans); color: var(--ink); resize: vertical; transition: box-shadow .3s, background-color .3s; }
.ta-field input:focus, .ta-field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--aqua-deep); }
.ta-field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b4553f; }
/* Termin-Assistent: Versand über anfrage.php – Prüfung, Einwilligung, unsichtbare Falle */
.ta-human input { max-width: 9rem; }
.ta-human strong { color: var(--petrol); }
.ta-check { display: flex; gap: .75rem; align-items: flex-start; margin: 1.25rem 0 0; font-size: .95rem; line-height: 1.5; color: var(--ink); cursor: pointer; }
.ta-check input { flex: none; width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; accent-color: var(--petrol); }
.ta-check a { color: var(--petrol); font-weight: 600; }
.ta-check[aria-invalid="true"] span { color: #b4553f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ta-send[disabled] { opacity: .6; cursor: progress; }
.ta-hint { margin: 1rem 0 0; font-size: .88rem; color: var(--stone); }
.ta-error { margin: 1rem 0 0; font-weight: 600; color: #9c4332; }
.ta-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.ta-nav .btn { margin-left: auto; }
.ta-back, .ta-restart { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .2rem; border: 0; background: none; cursor: pointer; font-weight: 600; color: var(--stone); transition: color .3s; }
.ta-back:hover, .ta-restart:hover { color: var(--ink); }
.ta-back svg { width: 1rem; height: 1rem; }
.ta-done h3 { outline: none; }
.ta-done p { color: var(--stone); }
.ta-preview { max-height: 15rem; overflow: auto; margin: 0; padding: 1rem 1.2rem; border-radius: 1rem; background: var(--mist); font: 400 .88rem/1.5 var(--mono); white-space: pre-wrap; }
@media (max-width: 900px) {
  .ta { grid-template-columns: 1fr; }
  .ta-fields { grid-template-columns: 1fr; }
}
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.loc { display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; border-radius: 1.5rem; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.loc:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgb(89 176 187 / .5), 0 30px 50px -30px rgb(14 42 49 / .3); }
.loc .mono { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--accent); }
.loc h3 { margin: .2rem 0; font: 700 clamp(1.7rem, 2.4vw, 2.1rem)/1 var(--display); font-stretch: 76%; text-transform: uppercase; }
.loc address { font-style: normal; color: var(--stone); }
.loc-way { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--stone); }
.loc .ok { color: var(--petrol); font-weight: 600; }
.loc-links { display: flex; flex-direction: column; gap: .4rem; margin: auto 0 0; padding-top: .75rem; }
.loc-links a { width: fit-content; padding-block: .55rem; margin-block: -.55rem; font-weight: 600; text-decoration: none; background: linear-gradient(var(--aqua), var(--aqua)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); }
.loc-links a:hover { background-size: 100% 2px; }
.loc-urgent { background: var(--aqua); box-shadow: none; }
.loc-urgent .mono { color: var(--ink); }
.loc-urgent .live { background: #fff; }
.loc-urgent address { color: var(--ink); }
.loc-urgent .loc-links a { background-image: linear-gradient(#fff, #fff); }

.footer { padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.footer .mono { margin: 0; color: var(--stone); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.footer-links a { color: var(--stone); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--ink); }

/* ==========================================================================
   Cursor (nur Maus)
   ========================================================================== */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.is-visible { opacity: 1; }
.cursor-ring { position: absolute; left: 0; top: 0; }
.cursor-ring::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; translate: -50% -50%;
  border-radius: 50%; border: 1.5px solid var(--aqua);
  transition: width .5s var(--ease), height .5s var(--ease), background-color .3s, border-color .3s;
}
.cursor.is-link .cursor-ring::before { width: 3.4rem; height: 3.4rem; background: rgb(89 176 187 / .15); }
.cursor.has-label .cursor-ring::before { width: 5.4rem; height: 5.4rem; background: var(--ink); border-color: var(--ink); }
.cursor-label { position: absolute; left: 0; top: 0; translate: -50% -50%; font: 500 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .25s; }
.cursor.has-label .cursor-label { opacity: 1; transition-delay: .1s; }

/* ==========================================================================
   Animationen (nur mit JS)
   ========================================================================== */
.js [data-reveal] { opacity: 0; translate: 0 2.5rem; transition: opacity 1s var(--ease) var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s), scale 1.4s var(--ease) var(--d, 0s), border-color .4s; }
.js [data-reveal="scale"] { translate: none; scale: .88; }
.js [data-reveal].is-in { opacity: 1; translate: none; scale: none; }
.js [data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding: .12em 0 .06em; margin: -.12em 0 -.06em; }
.js [data-split] .w > span { display: inline-block; translate: 0 105%; transition: translate 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 45ms); }
.js [data-split].is-in .w > span { translate: none; }
.js .mega-line > * { translate: 0 105%; }
.js .mega-line:last-child > * { transition-delay: .1s; }
.js .mega-cta.is-in .mega-line > * { translate: none; }

.js [data-intro] { opacity: 0; translate: 0 1.5rem; transition: opacity 1s var(--ease) var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
.is-loaded [data-intro] { opacity: 1; translate: none; }
.js .hl-in { translate: 0 105%; transition: translate 1.3s var(--ease); }
.js .hl:nth-child(2) .hl-in { transition-delay: .1s; }
.js .hl:nth-child(3) .hl-in { transition-delay: .2s; }
.is-loaded .hl-in { translate: none; }
.js .hp-photo { transition: clip-path 1.5s var(--ease) .25s; }
.js:not(.is-loaded) .hp-photo { clip-path: circle(0% at 50% 50%); }
.js .hero-portrait::before, .js .hp-card { transition: opacity 1s var(--ease) .9s, translate 1.2s var(--ease) .9s; }
.js:not(.is-loaded) .hero-portrait::before, .js:not(.is-loaded) .hp-card { opacity: 0; translate: 0 1rem; }
.js .callouts, .js .readout { transition: opacity 1s .9s; }
.js:not(.is-loaded) .callouts, .js:not(.is-loaded) .readout { opacity: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cv { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2.5rem; }
}
@media (max-width: 900px) {
  .story { height: 420vh; }
  .story-hero { width: auto; right: var(--gutter); justify-content: flex-start; padding-top: 5.5rem; }
  .hero-title { font-size: clamp(3.2rem, 15vw, 7rem); }
  .hero-bottom { display: grid; grid-template-columns: 1fr; max-width: none; }
  .hero-portrait { position: relative; left: auto; top: auto; translate: none; width: auto; aspect-ratio: auto; display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1rem, 3vh, 1.5rem); }
  .hero-portrait::before { display: none; }
  .hp-photo { position: relative; flex: none; width: clamp(5.5rem, 26vw, 8rem); aspect-ratio: 1; box-shadow: 0 24px 40px -24px rgb(14 42 49 / .55), 0 0 0 1.5px #fff, 0 0 0 3px var(--aqua); }
  .hp-card { position: static; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .callouts, .story-dots { display: none; }
  .readout { left: var(--gutter); right: auto; bottom: 1rem; font-size: .66rem; }
  .scroll-hint { display: none; }
  .step { top: auto; bottom: 1rem; left: var(--gutter) !important; right: var(--gutter) !important; width: auto; padding: 1.25rem 1.25rem 1.4rem; border-radius: 1.5rem; background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -30px rgb(14 42 49 / .5); }
  .step h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .step p { font-size: .98rem; margin-bottom: 0; }
  .step-links { margin-top: 1rem; }
  .bm-head, .bm-grid, .about-grid, .opinion-inner, .partners-head { grid-template-columns: minmax(0, 1fr); }
  .bm-tilt { width: min(64%, 17rem); }
  .bm-content { min-height: 0; }
  .about-visual { order: -1; }
  .about-portrait { width: min(82%, 22rem); }
  .cv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-card { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; min-height: 0; top: calc(5.5rem + var(--i) * .8rem); }
  .sc-no { padding-top: 0; }
  .sc-visual { justify-self: start; justify-items: start; text-align: left; }
  .tags { justify-items: start; text-align: left; }
  .partner-rows a { grid-template-columns: minmax(0, 1fr) 2rem; gap: .4rem 1rem; }
  .partner-rows span { grid-row: 2; grid-column: 1; }
  .partner-rows svg { grid-row: 1 / span 2; grid-column: 2; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-inner { grid-template-columns: 1fr; align-content: space-between; }
}
@media (max-width: 640px) {
  .hide-s { display: none; }
  .btn-nav { padding-left: 1.05rem; gap: .6rem; }
  .sc-phone strong { font-size: 1.7rem; }
  .logo-word { font-size: 1.4rem; }
  .logo-mark { width: 1.9rem; height: 1.9rem; }
  .hero-lead { font-size: .98rem; }
  .hero-cta { width: 100%; }
  .hero-cta .btn-xl { width: 100%; justify-content: space-between; }
  .voices-count { display: none; }
  .voice blockquote p { font-size: 1.45rem; }
  .cv { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .opinion-track { animation: none; }
  .js [data-reveal], .js [data-intro] { opacity: 1; translate: none; scale: none; }
  .js [data-split] .w > span, .js .hl-in, .js .mega-line > * { translate: none; }
  .js:not(.is-loaded) .hp-photo { clip-path: none; }
  .js:not(.is-loaded) .hero-portrait::before, .js:not(.is-loaded) .hp-card { opacity: .55; translate: none; }
  .loader { display: none; }
  .wm, .page-mark { animation: none !important; }
}

/* Standortkarte (Google Maps erst nach Klick) */
.map { position: relative; overflow: hidden; aspect-ratio: 16 / 10; min-height: 12.5rem; margin: .25rem 0 0; border-radius: 1rem; }
html:not(.js) .map { display: none; }
.map iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.map.is-loaded iframe { opacity: 1; }
.map.is-loaded .map-consent { visibility: hidden; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.25rem; text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgb(89 176 187 / .2), transparent 55%),
    linear-gradient(62deg, transparent 47%, #fff 47% 49.5%, transparent 49.5%),
    linear-gradient(-28deg, transparent 58%, #fff 58% 60%, transparent 60%),
    linear-gradient(12deg, transparent 30%, rgb(14 42 49 / .06) 30% 31%, transparent 31%),
    repeating-linear-gradient(0deg, rgb(14 42 49 / .05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgb(14 42 49 / .05) 0 1px, transparent 1px 26px),
    var(--aqua-soft);
}
.map-pin { position: relative; width: 1.6rem; height: 1.6rem; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--aqua); box-shadow: 0 8px 18px -6px rgb(12 37 44 / .45); }
.map-pin::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: #fff; }
.map-consent p { max-width: 40ch; margin: 0 !important; font-size: .8rem; line-height: 1.4; color: var(--stone); }
.map-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.map-load {
  padding: .55rem 1.1rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .85rem/1 var(--display); color: var(--ink); background: var(--aqua); min-height: 44px;
  transition: background .3s, transform .3s;
}
.map-load:disabled { cursor: progress; opacity: .8; transform: none; }
.map-load:not(:disabled):hover { background: var(--petrol); transform: translateY(-1px); }

/* ==========================================================================
   Leistungsseiten (Knie) – erzeugt von tools/build_v2_knie.py
   Gleiche Tokens wie die Startseite, ruhigeres Layout für lange Fachtexte:
   Inhaltsverzeichnis links (sticky), Lesebreite ~46rem, klare H2/H3-Hierarchie.
   ========================================================================== */
mark.ph { background: #fff1a8; color: #5a4700; padding: 0 .3em; border-radius: .3em; }

.page-hero { position: relative; overflow: hidden; padding: clamp(8rem, 13vw, 10.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: linear-gradient(180deg, var(--mist), #fff); }
.page-mark { position: absolute; right: -8vw; top: 52%; width: min(52vw, 36rem); aspect-ratio: 1; translate: 0 -50%; color: var(--aqua); opacity: .16; pointer-events: none; }
.page-hero-inner { position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; font: 500 .74rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.crumbs li { display: flex; align-items: center; }   /* Trenner bleibt beim Umbruch beim folgenden Eintrag */
.crumbs li + li::before { content: "/"; flex: none; margin-right: .5rem; color: var(--grey); }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.page-kicker { display: flex; align-items: center; gap: .6rem; margin: clamp(1.5rem, 3vw, 2.5rem) 0 1rem; color: var(--accent); }
.page-title { max-width: 16ch; font: 700 clamp(2.5rem, 8vw, 7.25rem)/.88 var(--display); font-stretch: 74%; text-transform: uppercase; letter-spacing: -.005em; hyphens: manual; overflow-wrap: break-word; text-wrap: balance; }
.page-sub { max-width: 34em; margin: 1.25rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--stone); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }
.page-phone { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; font: 600 1.1rem/1.2 var(--sans); }
.page-phone svg { width: 1.3rem; height: 1.3rem; color: var(--aqua-deep); }
.page-phone small { display: block; font: 500 .7rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--stone); }
.page-phone:hover { color: var(--petrol); }

.page-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-toc { position: sticky; top: 7rem; align-self: start; }
.page-toc > .mono { margin-bottom: 1rem; color: var(--accent); }
.page-toc ol { list-style: none; margin: 0; padding: 0; }
.page-toc ol a { display: block; padding: .45rem .9rem; border-left: 2px solid var(--line); color: var(--stone); font-size: .95rem; line-height: 1.35; text-decoration: none; transition: color .3s, border-color .3s; }
.page-toc ol a:hover { color: var(--ink); }
.page-toc ol a.is-active { border-color: var(--aqua); color: var(--ink); font-weight: 600; }
.toc-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; padding: .7rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .3s; }
.toc-cta svg { width: 1rem; height: 1rem; }
.toc-cta:hover { background: var(--petrol); }

.page-article { max-width: 46rem; font-size: 1.08rem; line-height: 1.7; color: #2c434a; }
.pa-section { scroll-margin-top: 6.5rem; }
.pa-section + .pa-section { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.pa-intro > p:first-child { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--ink); }
.page-article h2 { margin: 0 0 1.25rem; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: .95; }
.page-article h3 { margin: 2.25rem 0 .75rem; font: 600 clamp(1.2rem, 2vw, 1.45rem)/1.25 var(--display); color: var(--ink); scroll-margin-top: 6.5rem; }
.page-article h4 { margin: 1.5rem 0 .5rem; font: 600 1.08rem/1.3 var(--display); color: var(--ink); }
.page-article strong { color: var(--ink); font-weight: 600; }
.page-article a { color: var(--petrol); font-weight: 600; text-decoration-color: var(--aqua); text-underline-offset: .2em; }
.page-article a:hover { color: var(--ink); }
.pa-list { margin: 0 0 1.25em; padding-left: 1.2rem; }
.pa-list li { margin: .6rem 0; padding-left: .25rem; }
.pa-list li::marker { color: var(--aqua-deep); }
.pa-callout { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 1rem; margin: 1.75rem 0; padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: var(--aqua-soft); color: var(--ink); }
.pa-callout svg { width: 1.6rem; height: 1.6rem; color: var(--aqua-deep); margin-top: .1rem; }
.pa-callout p { margin: 0; }
.pa-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: .9rem; list-style: none; margin: 1.5rem 0; padding: 0; }
.pa-steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .75rem; padding: 1.25rem; border-radius: 1.25rem; background: var(--mist); }
.pa-step-no { font: 700 1.7rem/1 var(--display); font-stretch: 74%; color: var(--aqua-deep); }
.page-article .pa-step-title { margin: 0 0 .35rem; font: 600 1.08rem/1.3 var(--display); color: var(--ink); }
.pa-steps p { margin: 0; font-size: 1rem; line-height: 1.55; }
.pa-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; list-style: none; margin: 1.5rem 0; padding: 0; }
.page-article .pa-compare-card { position: relative; display: grid; gap: .35rem; height: 100%; padding: 1.4rem 3.5rem 1.4rem 1.4rem; border-radius: 1.25rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 400; text-decoration: none; transition: background-color .3s, box-shadow .3s; }
.pa-compare-card strong { font: 700 1.45rem/1 var(--display); font-stretch: 76%; text-transform: uppercase; }
.pa-compare-card span { color: var(--stone); font-size: .98rem; line-height: 1.45; }
.pa-compare-card svg { position: absolute; right: 1.25rem; top: 50%; width: 1.2rem; height: 1.2rem; translate: 0 -50%; color: var(--aqua-deep); rotate: 90deg; transition: translate .4s var(--ease); }
.page-article .pa-compare-card:hover { background: var(--aqua-soft); box-shadow: none; color: var(--ink); }
.pa-compare-card:hover svg { translate: 0 -30%; }
.pa-timeline { list-style: none; margin: 1rem 0 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--aqua-soft); }
.pa-timeline > li { position: relative; padding: 0 0 1.25rem 1.25rem; }
.pa-timeline > li::before { content: ""; position: absolute; left: calc(-1.25rem - 7px); top: .4rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--aqua); }
.pa-timeline h5 { margin: 0 0 .4rem; font: 600 1.02rem/1.35 var(--display); color: var(--ink); }
.pa-timeline ul { margin: 0; padding-left: 1.1rem; }
.pa-timeline ul li { margin: .4rem 0; }
.pa-links { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.pa-links li { margin: .55rem 0; }
.pa-links a { display: inline-flex; align-items: baseline; gap: .5rem; }
.pa-links svg { flex: none; width: .95rem; height: .95rem; translate: 0 .12em; }
.pa-faq .faq-a { font-size: 1.02rem; }
.pa-faq .faq-a p { margin: 0 0 .9em; color: #2c434a; }
.pa-faq .faq-a h4 { margin-top: 1.25rem; }
.pa-faq .faq-a > :last-child { margin-bottom: 0; }

.page-cta { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--aqua); color: var(--ink); }
.page-cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 2rem 5rem; }
.page-cta h2 { margin-bottom: .4em; font-size: clamp(2.2rem, 4.6vw, 4rem); }
.page-cta p { max-width: 30em; font-size: 1.1rem; }
.page-cta .mono { margin-bottom: 1rem; }
.page-cta h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); hyphens: auto; }
.page-cta p + p { margin-top: .8em; }
.page-cta-aufruf { font-weight: 600; }
.page-cta-zusatz { padding-left: .9rem; border-left: 3px solid var(--ink); }
.page-cta-list { display: grid; gap: .9rem; list-style: none; margin: 0; padding: 0; }
.page-cta-list a:not(.btn) { display: flex; align-items: center; gap: .9rem; color: var(--ink); font: 600 1.15rem/1.25 var(--sans); text-decoration: none; }
.page-cta-list a:not(.btn):hover { text-decoration: underline; text-underline-offset: .2em; }
.page-cta-list svg { flex: none; width: 1.3rem; height: 1.3rem; }
.page-cta-list small { display: block; font: 500 .7rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: rgb(14 42 49 / .7); }

.page-related { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.rel-title { margin-bottom: 1.5rem; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.rel-card { position: relative; display: flex; flex-direction: column; gap: .55rem; height: 100%; padding: 1.5rem 1.5rem 3.75rem; border-radius: 1.5rem; background: var(--mist); color: var(--ink); text-decoration: none; transition: background-color .35s, translate .5s var(--ease); }
.rel-card strong { font: 700 clamp(1.45rem, 2vw, 1.75rem)/1 var(--display); font-stretch: 76%; text-transform: uppercase; hyphens: auto; }
.rel-card > span:not(.mono) { color: var(--stone); font-size: .98rem; line-height: 1.5; }
.rel-card .mono { color: var(--accent); }
.rel-card svg { position: absolute; left: 1.5rem; bottom: 1.4rem; width: 1.3rem; height: 1.3rem; color: var(--aqua-deep); transition: translate .5s var(--ease); }
.rel-card:hover { background: var(--aqua-soft); translate: 0 -3px; }
.rel-card:hover svg { translate: .35rem 0; }
.rel-all { margin: 1.75rem 0 0; }
.rel-all a { display: inline-flex; align-items: center; gap: .5rem; color: var(--petrol); font-weight: 600; text-decoration: none; }
.rel-all svg { width: 1rem; height: 1rem; }
.hub { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem); }
.hub-lead { max-width: 38em; margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; }
/* Kontakt: Telefonnummer groß unter dem Einleitungstext */
.contact-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; margin: 0 0 clamp(1.25rem, 2.5vw, 2rem); }
.contact-top .mega-cta { margin: .25rem 0 0; }
.contact-intro { display: grid; justify-items: start; gap: 1rem; max-width: 24rem; padding-bottom: .4rem; }
.contact-intro .contact-lead { margin: 0; }
/* Kontaktleiste: Telefon groß, daneben Zeiten, Notfall, E-Mail – gleiche Breite wie der Termin-Assistent darunter */
.call-bar { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 1rem; padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem); border-radius: 1.5rem; background: rgb(255 255 255 / .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 50px -32px rgb(14 42 49 / .45), inset 0 0 0 1px var(--line); }
.call-bar > div { display: grid; align-content: start; gap: .45rem; min-width: 0; }
.call-bar > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.call-bar dt { color: var(--accent); }
.call-bar dd { display: grid; gap: .2rem; margin: 0; color: var(--ink); font-weight: 600; line-height: 1.45; }
.call-bar dd a { width: fit-content; display: inline-block; padding-block: .5rem; margin-block: -.5rem; color: var(--ink); text-decoration-color: var(--aqua); text-underline-offset: .22em; }
.call-bar small { color: var(--stone); font-weight: 400; font-size: .9rem; }
.call-bar .nw { white-space: nowrap; }
.call-num { display: inline-block; color: var(--ink); font: 700 clamp(2.1rem, 3.6vw, 3.4rem)/1 var(--display); font-stretch: 72%; letter-spacing: -.01em; text-decoration: none !important; white-space: nowrap; transition: color .3s; }
.call-num:hover { color: var(--aqua-deep); }
.call-save { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .7rem 1.3rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transition: background-color .3s; }
.call-save:hover, .call-save:focus-visible { background: var(--petrol); }
@media (max-width: 1100px) { .call-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .call-bar > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 600px) { .call-bar { grid-template-columns: 1fr; gap: 1rem; } .call-bar > div + div { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); } }
.hub-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hub-col { overflow: hidden; border-radius: 1.5rem; background: var(--mist); }
.hub-title { margin: 0; padding: 1.25rem 1.25rem 1.1rem; background: var(--ink); color: #fff; font: 700 clamp(1.5rem, 2vw, 1.9rem)/1 var(--display); font-stretch: 72%; text-transform: uppercase; hyphens: auto; overflow-wrap: break-word; }
.hub-list { list-style: none; margin: 0; padding: .35rem 1.25rem .6rem; }
.hub-list li + li { border-top: 1px solid var(--line); }
.hub-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .75rem; padding: .85rem 0; color: var(--ink); text-decoration: none; }
.hl-name { font: 600 clamp(1rem, 1.2vw, 1.1rem)/1.3 var(--sans); hyphens: auto; overflow-wrap: break-word; transition: color .3s; }
.hub-link > svg { width: 1.1rem; height: 1.1rem; color: var(--aqua-deep); transition: translate .5s var(--ease); }
.hl-teaser { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.hl-teaser > span { overflow: hidden; color: var(--stone); font-size: .92rem; line-height: 1.45; }
.hub-link:hover .hl-name, .hub-link:focus-visible .hl-name { color: var(--petrol); }
.hub-link:hover > svg, .hub-link:focus-visible > svg { translate: .3rem 0; }
@media (hover: hover) {
  .hub-link:hover .hl-teaser, .hub-link:focus-visible .hl-teaser { grid-template-rows: 1fr; }
  .hub-link:hover .hl-teaser > span, .hub-link:focus-visible .hl-teaser > span { padding-top: .45rem; }
}
@media (min-width: 1101px) { .hub-title { display: flex; align-items: flex-end; min-height: calc(2em + 2.35rem); } }
@media (max-width: 1100px) { .hub-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-cols { grid-template-columns: minmax(0, 1fr); } .hub-title { padding: 1.1rem 1.1rem 1rem; } .hub-list { padding-inline: 1.1rem; } }

/* Knie-Themen in der Fußzeile (Startseite und Unterseiten): seitenweite interne Links */
.footer-topics { padding: 2rem 0 1.5rem; }
.footer-topics .mono { margin: 0 0 .75rem; }
.footer-topics .mono a { color: var(--accent); text-decoration: none; }
.footer-topics ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-topics ul a { display: inline-block; padding-block: .35rem; color: var(--stone); text-decoration: none; }
.footer-topics a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 960px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .page-toc { position: static; }
  .page-toc ol { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
  .page-toc ol a { display: flex; align-items: center; min-height: 2.5rem; padding: .5rem .9rem; border: 0; border-radius: 999px; background: var(--mist); white-space: nowrap; }
  .page-toc ol a.is-active { background: var(--aqua-soft); }
  .toc-cta { display: none; }
  .page-cta-inner { grid-template-columns: minmax(0, 1fr); }
  .page-mark { width: 70vw; right: -25vw; top: 30%; opacity: .12; }
}
@media (max-width: 560px) {
  .pa-compare { grid-template-columns: minmax(0, 1fr); }
  .page-actions .btn-xl { width: 100%; justify-content: space-between; }
  .pa-callout { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
}

/* Startseite: Verknüpfung zu den Knie-Leistungsseiten */
.bm-pages { margin-top: 1.75rem; padding: 1.25rem 1.4rem; border-radius: 1.25rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bm-pages .mono { margin-bottom: .75rem; color: var(--accent); }
.bm-pages ul { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.bm-pages ul a { display: inline-block; padding: .45rem .85rem; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; transition: background-color .3s; }
.bm-pages ul a:hover { background: var(--aqua-soft); }
.bm-pages-all { display: inline-flex; align-items: center; gap: .5rem; color: var(--petrol); font-weight: 600; text-decoration: none; }
.bm-pages-all svg { width: 1rem; height: 1rem; }
.svc-more { margin-top: 1.25rem; }
.svc-more a { color: var(--petrol); font-weight: 600; text-decoration-color: var(--aqua); text-underline-offset: .2em; }
/* Hinweis Stoßwellenzentrum (stosswelle-wpk.at) im Abschnitt Stoßwelle */
.svc-center { margin-top: 1.5rem; padding: 1.25rem clamp(1rem, 3vw, 1.5rem); border-left: 4px solid var(--aqua); border-radius: 0 1.25rem 1.25rem 0; background: var(--aqua-soft); }
.svc-center p { margin: 0 0 .6rem; }
.svc-center .svc-center-title { color: var(--ink); font: 700 1.2rem/1.2 var(--display); font-stretch: 85%; }
.drawer-content .svc-center p { color: var(--ink); }
.svc-center-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0 1.25rem; list-style: none; margin: 0 0 .5rem !important; padding: 0 !important; }
.svc-center-links li { margin: 0; }
.svc-center-links a, .svc-center-cta a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--petrol); font-weight: 600; text-decoration-color: var(--aqua-deep); text-underline-offset: .2em; }
.svc-center-cta { margin: .25rem 0 0 !important; }
.svc-center-cta a { padding: .55rem 1.1rem; border-radius: 999px; background: var(--petrol); color: #fff; text-decoration: none; }
.svc-center-cta a:hover { background: var(--ink); }
.pa-author { margin-top: clamp(3rem, 6vw, 4rem); padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: var(--mist); font-size: .95rem; line-height: 1.55; color: var(--stone); }
.pa-author p { margin: 0; }
.pa-author p + p { margin-top: .6rem; }

/* QA-Korrekturen 28.10.2026 */
/* (1/8) Lange deutsche Wörter in Überschriften trennen statt seitlich überlaufen (375 px) */
.page-article h2, .page-article h3, .page-cta h2, .rel-title, .rel-card strong, .bm-title, .sc-body h3, .opinion h2, .faq-item h3 { hyphens: auto; overflow-wrap: break-word; }
/* (2) Fokusrahmen auf Aqua-Flächen in Tinte (6:1 statt 1,3:1) */
.page-cta :focus-visible, .menu :focus-visible, .sc-aqua :focus-visible, .loc-urgent :focus-visible { outline-color: var(--ink); }
/* (4) Fokusrahmen im mobilen Inhaltsverzeichnis nicht abschneiden */
@media (max-width: 960px) { .page-toc ol { padding: 4px 4px .6rem; } }
/* (5) Kleintexte auf Aqua mit voller Deckkraft (6:1) */
.page-cta-list small, .page-cta .mono { color: var(--ink); }
.menu-aside .mono { opacity: 1; }
/* (7) Klickflächen ≥ 40 px (Breadcrumb ≥ 24 px) */
.crumbs a, .crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 2.5rem; }
.page-cta-list a:not(.btn), .nav .logo, .footer .logo, .bm-pages-all { min-height: 2.5rem; }
.footer-links a, .footer-topics a, .rel-all a, .page-phone, .bm-pages ul a, .svc-more a { display: inline-flex; align-items: center; min-height: 2.5rem; }
.footer-topics .mono a { min-height: 2.5rem; }
.footer-topics a[aria-current] { color: var(--ink); font-weight: 600; }

/* Kleine Handys: Messwerte überdeckten den „Artikel im profil“-Kasten */
@media (max-width: 430px) { .readout { display: none; } }

/* Endkontrolle 28.11.: sehr schmale Handys (< 360 px, z. B. iPhone SE 1. Gen.) */
@media (max-width: 359px) {
  .nav-bar { padding-left: .8rem; gap: .35rem; }
  .logo-word { font-size: 1.2rem; }
  .logo-mark { width: 1.65rem; height: 1.65rem; }
  .btn-nav { padding-left: .8rem; gap: .4rem; font-size: .86rem; }
  .opinion-inner h2, .about-copy h2 { font-size: clamp(1.9rem, 10.5vw, 2.6rem); overflow-wrap: anywhere; }
  .news-pill .ai-chip { padding: 0 .55rem; letter-spacing: .06em; }
  .opinion-inner .btn { max-width: 100%; white-space: normal; text-align: left; }
}
html { overflow-x: clip; }
.news-pill .ai-chip { white-space: nowrap; }

/* Entwurfsseiten (tools/build_v2_bereiche.py, entwurf=True) */
.page-draft { display: inline-block; margin: 1rem 0 0; padding: .45rem .8rem; border-radius: .6rem; background: #fff4d6; color: #6b4e00; font-size: .9rem; }
