/* =========================================================
   Dr. Markus Gotwald — Medical Consulting
   Design-Tokens 1:1 abgemessen von niniaazzopardi.com
   ========================================================= */

:root {
  /* Petrol ist die Hauptfarbe. Mint kommt nur noch punktuell vor
     (Rotator-Balken, Pulspunkt, Listenstriche) — als Flächenfarbe
     wirkte das helle Türkis zu wenig seriös. */
  --petrol:      #193C48;   /* Text & Primärfarbe */
  --petrol-deep: #112C35;   /* dunkle Flächen: Hero, CTA, Footer-Kante */
  --petrol-60:   #5c777f;   /* gedämpfter Fließtext auf Hell — 4,8:1 auf Weiß */
  --mint:        #74E8AE;   /* sparsamer Akzent */
  --mint-bright: #17F3C7;   /* nur auf dunklem Grund */
  --white:       #ffffff;
  --hairline:    rgba(25, 60, 72, .14);

  /* Tokens für dunkle Sektionen */
  --on-dark:       #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .70);
  --hairline-dark: rgba(255, 255, 255, .18);

  --surface:     #F2F7F7;   /* getönte Sektionsfläche */
  --container:   75rem;     /* 1200px */
  --hero-width:  52rem;     /* 832px  */
  /* Abstand über padding statt margin, damit getönte Sektionen
     randlos aneinanderstoßen. Das Vorbild hatte 24rem — deutlich zu
     leer, sobald die Sektionen eigene Flächen bekommen. */
  --section-pad: 7rem;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--petrol);
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

h1 { font-size: 72px; font-weight: 700; line-height: 1em; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.4em; }

.section-heading {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

/* h4-Label — im Vorbild: uppercase, letter-spacing .05em */
.label {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--petrol-60);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--petrol);
  color: var(--white);
  padding: 1rem;
  font-size: 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--mint-bright);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section { padding-block: var(--section-pad); }
.section--tint { background: var(--surface); }

/* Helle Flächen bekommen drei Ebenen: leichter Farbverlauf statt Reinweiß,
   ein sichtbares Punktraster und ein Mint-Schein in der Ecke. Einzeln war
   jedes davon zu blass — erst zusammen tragen sie die Fläche. */
.section--texture {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F4F9F9 0%, var(--white) 62%);
}
.section--texture::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(25, 60, 72, .20) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, #000 22%, transparent 88%);
}
/* Mint-Schein oben rechts — bringt Farbe auf die Fläche, ohne sie zu füllen */
.section--texture::after {
  content: '';
  position: absolute;
  top: -14%;
  right: -6%;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(116, 232, 174, .30) 0%, rgba(116, 232, 174, .09) 45%, transparent 70%);
}
.section--texture > .container,
.section--texture > .pin__inner { position: relative; z-index: 1; }


.intro {
  max-width: 54rem;
  margin-bottom: 4rem;
}
.intro p { margin-top: 1.5rem; }

/* Kleines Label über den Sektionstiteln — gibt Struktur ohne Ballast */
.section-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--petrol-60);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--mint);
  flex: none;
}
.section-head { margin-bottom: 3.5rem; }

/* Einheitliche Karte — steckt nach dem Umbau nur noch im Kontaktbereich. */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 2.5rem;
}
.card--dark {
  background: var(--petrol-deep);
  border-color: var(--petrol-deep);
  color: var(--on-dark);
}

/* ---------- Navigation ---------- */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  padding-block: 2.5rem;
  z-index: 20;
}
.nav__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
}
.nav__links {
  display: flex;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 18px;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.nav__links a:hover { border-bottom-color: currentColor; }

/* Die Navigation liegt über dem dunklen Hero */
.nav { color: var(--on-dark); }

/* ---------- Buttons ----------
   Basis MUSS vor den Modifiern stehen: gleiche Spezifität, sonst
   überschreibt .btn die .btn--*-Varianten. */
.btn {
  font-family: inherit;
  font-size: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--petrol);
  background: transparent;
  border: 1px solid var(--petrol);
  border-radius: 999px;
  padding: 1.1rem 2.75rem;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--petrol); color: var(--white); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 10.5rem 3rem;   /* unten knapper, das Zahlen-Band trägt jetzt */
  color: var(--on-dark);
  background:
    radial-gradient(120% 90% at 78% 18%, #1d4655 0%, transparent 58%),
    linear-gradient(165deg, #1a3f4d 0%, var(--petrol-deep) 55%, #0d242c 100%);
}

/* --- Dekorativer Hintergrund (Hero und CTA teilen sich das) --- */
.deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Technisches Punktraster, zum Rand hin ausgeblendet */
.deco__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
/* Sehr zurückhaltender Schein — nur Tiefe, keine Türkisfläche */
.deco__glow {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 62rem;
  height: 62rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 232, 174, .13) 0%, rgba(116, 232, 174, .04) 42%, transparent 68%);
}

/* EKG-Linie: links zackig, nach rechts flacher — das Versprechen als Bild */
.deco__pulse {
  position: absolute;
  left: 0;
  bottom: 3rem;
  width: 100%;
  height: 80px;
  opacity: .55;
}
.deco__pulse path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 380 1400;
  animation: pulse-draw 7s linear infinite;
}
@keyframes pulse-draw {
  from { stroke-dashoffset: 1780; }
  to   { stroke-dashoffset: 0; }
}

/* --- Aufteilung --- */
.hero__inner {
  position: relative;   /* über .deco */
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 25rem;
  gap: 5rem;
  align-items: center;
}
.hero__content { max-width: 40rem; }

/* --- Eyebrow mit Punkt --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  padding: .5rem 1.1rem .5rem .9rem;
  margin-bottom: 2.5rem;
}
.eyebrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 0 0 rgba(23, 243, 199, .7);
  animation: dot-pulse 2.4s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23, 243, 199, .7); }
  70%  { box-shadow: 0 0 0 10px rgba(23, 243, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 243, 199, 0); }
}

/* --- Headline --- */
.hero__headline {
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 2.5rem;
}

/* Rotierende Zeile: eigener Block, damit der Mint-Balken nur so breit
   ist wie der Text. Höhe hängt an der font-size (1.35em deckt Ä-Oberlängen). */
.rotator {
  position: relative;
  display: block;
  height: 1.35em;
  margin-top: .15em;
}
.rotator__item {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  padding: .06em 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(26px);
  animation: rotate-line 12s infinite;
}
/* Mint-Unterstrich, der von links einwischt.
   Bewusst Unterstrich statt Vollfläche: bei einem Balken hinter dem Text
   wäre der noch nicht überdeckte Teil dunkel auf dunkel — also unsichtbar,
   solange der Balken einwischt. So bleibt die Schrift durchgehend weiß. */
.rotator__item::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .06em;
  height: .1em;
  border-radius: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  animation: rotate-bar 12s infinite;
}
.rotator__text {
  position: relative;
  color: var(--on-dark);
}

.rotator__item:nth-child(1), .rotator__item:nth-child(1)::before { animation-delay: 0s; }
.rotator__item:nth-child(2), .rotator__item:nth-child(2)::before { animation-delay: 4s; }
.rotator__item:nth-child(3), .rotator__item:nth-child(3)::before { animation-delay: 8s; }

/* 3 Zeilen × 4s Versatz in 12s. Die Sichtbarkeit läuft bis 35% (=4,2s),
   die nächste blendet ab 4,0s ein — dadurch kurze Überblendung statt
   einer Lücke, in der die Zeile leer stünde. */
@keyframes rotate-line {
  0%        { opacity: 0; transform: translateY(26px); }
  2%, 32%   { opacity: 1; transform: translateY(0); }
  35%, 100% { opacity: 0; transform: translateY(-26px); }
}
@keyframes rotate-bar {
  0%, 1%    { transform: scaleX(0); }
  10%, 31%  { transform: scaleX(1); }
  35%, 100% { transform: scaleX(0); }
}

/* --- Lead, Buttons, Fakten --- */
.hero__lead {
  font-size: 21px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}
/* Primär auf dem dunklen Hero: weiß gefüllt */
.btn--primary {
  background: var(--white);
  color: var(--petrol-deep);
  border-color: var(--white);
  text-decoration: none;
  font-size: 17px;
  padding: 1rem 2.25rem;
}
.btn--primary:hover { background: var(--mint); color: var(--petrol-deep); border-color: var(--mint); }

/* --- Portrait --- */
.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 25rem;
}
/* Versetzter Rahmen statt Mint-Fläche — ruhiger und seriöser */
.hero__shape {
  position: absolute;
  left: -1.5rem;
  bottom: -1.5rem;
  width: 72%;
  height: 62%;
  border: 1px solid rgba(116, 232, 174, .45);
  border-radius: 20px;
  z-index: 0;
}
.hero__frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #0d242c;
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .65);
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 14%;
  filter: contrast(1.03) saturate(1.02);
}

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

/* ---------- Zahlen-Band am Hero-Fuß ----------
   Hängt am dunklen Hero statt in einer eigenen Sektion — die stand
   vorher beziehungslos zwischen Hero und Schwerpunkten. */
.hero__stats {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 4rem auto 0;
  padding-inline: 1rem;
}
.hero__stats-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hairline-dark);
}
.hero__stats-track b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.hero__stats-track span {
  display: block;
  margin-top: .4rem;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}


/* =========================================================
   Leistungen: gepinnter Scroll-Abschnitt
   Basis (ohne JS): alles läuft schlicht untereinander.
   Die Pin-Mechanik hängt komplett an .js — siehe unten.
   ========================================================= */
.pinned { padding-block: var(--section-pad); }

.pin__inner { position: relative; }

.pin__label { margin-bottom: 3rem; }

.pin__item { position: relative; }
.pin__item + .pin__item { margin-top: 4rem; }

/* Große Konturziffer als Wasserzeichen — füllt die weite weiße Fläche,
   dieselbe Sprache wie .reason__number. Kein z-index: -1, sonst kann sie
   je nach Stapelkontext hinter der Sektionsfläche verschwinden. */
.pin__ghost {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-54%);
  z-index: 0;
  font-size: clamp(150px, 21vw, 300px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(25, 60, 72, .17);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.pin__title, .pin__text { position: relative; z-index: 1; }
.pin__title {
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.pin__text {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
  color: var(--petrol-60);
  max-width: 46ch;
}

/* Fortschrittsleiste rechts — nur mit aktivem Pin sichtbar */
.pin__rail { display: none; }

/* --- Pin-Mechanik, nur mit JS --- */
.js .pinned {
  position: relative;
  padding-block: 0;
  /* Scrollweg = Anzahl Schwerpunkte × Schrittlänge, plus eine Bildschirmhöhe
     zum Stehenbleiben. Bei Änderung der Anzahl nur --pin-count anpassen. */
  --pin-count: 6;
  --pin-step: 72vh;
  height: calc(100vh + var(--pin-count) * var(--pin-step));
}
.js .pin__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
/* Label liegt im normalen Fluss über den Aussagen; der Container zentriert
   sich selbst. Vorher hing das Label an top:-22vh und rutschte auf niedrigen
   Fenstern aus dem Bild. */
.js .pin__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 6vh;
}
.js .pin__label { margin-bottom: 2.5rem; }
/* Alle Elemente in dieselbe Rasterzelle — Höhe richtet sich nach dem größten */
.js .pin__items { display: grid; }
.js .pin__item {
  grid-area: 1 / 1;
  margin-top: 0;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.js .pin__item.is-current {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* Solange die Steuerung nicht übernommen hat, ist der erste Eintrag sichtbar.
   JS setzt data-pin-ready — ohne dieses Fallback bliebe der Abschnitt leer,
   wenn main.js fehlt, veraltet aus dem Cache kommt oder vorher abbricht. */
.js .pin__items:not([data-pin-ready]) .pin__item:first-child {
  opacity: 1;
  transform: none;
}

.js .pin__rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.js .pin__rail li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--petrol-25);
  font-variant-numeric: tabular-nums;
  transition: color .35s var(--ease);
}
.js .pin__rail li::after {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: width .35s var(--ease);
}
.js .pin__rail li.is-current {
  color: var(--petrol);
}
.js .pin__rail li.is-current::after { width: 52px; background: var(--mint); }

/* Solange die Leiste rechts sichtbar ist, rückt das Wasserzeichen davor weg */
.js .pin__ghost { right: 7rem; }

/* Bei reduzierter Bewegung setzt JS .is-static — dann alles untereinander */
.js .pinned.is-static { height: auto; padding-block: var(--section-pad); }
.js .pinned.is-static .pin__stage { position: static; height: auto; display: block; overflow: visible; }
.js .pinned.is-static .pin__label { position: static; margin-bottom: 3rem; }
.js .pinned.is-static .pin__items { display: block; }
.js .pinned.is-static .pin__item {
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: auto;
}
.js .pinned.is-static .pin__item + .pin__item { margin-top: 4rem; }
.js .pinned.is-static .pin__rail { display: none; }

/* ---------- CTA-Divider (dunkel) ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--petrol-deep);   /* gleiche Fläche wie der Hero */
  color: var(--on-dark);
  padding-block: 8rem 9rem;         /* unten mehr Platz für die EKG-Linie */
}
.cta__inner {
  position: relative;   /* über .deco */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}
.cta__text { flex: 1 1 auto; max-width: 42rem; }
.cta__statement {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
}

/* Kreisförmiger Button — gefüllt statt nur umrandet.
   Der ursprüngliche -45°-Dreher war zwar hübsch, aber schlecht lesbar
   und ging auf der dunklen Fläche unter. Die Drehung sitzt jetzt im
   umlaufenden Ring, die Schrift bleibt waagrecht. */
.circle-btn {
  position: relative;
  flex: 0 0 auto;
  width: 208px;
  height: 208px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--petrol-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
  box-shadow: 0 20px 50px -20px rgba(116, 232, 174, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.circle-btn__ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px dashed rgba(116, 232, 174, .55);
  animation: ring-spin 20s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Zwei versetzt auslaufende Wellen — der Button soll auf der dunklen
   Fläche auffallen, nicht nur dastehen. z-index: -1 legt sie hinter die
   eigene Mint-Füllung, sichtbar wird also nur der Teil außerhalb. */
.circle-btn::before,
.circle-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--mint);
  animation: btn-wave 3s cubic-bezier(.2, .6, .35, 1) infinite;
}
.circle-btn::after { animation-delay: 1.5s; }

@keyframes btn-wave {
  0%        { transform: scale(1);    opacity: .45; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

.circle-btn__arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform .35s var(--ease);
}
.circle-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 26px 60px -18px rgba(116, 232, 174, .7);
}
.circle-btn:hover .circle-btn__arrow { transform: translateX(4px); }

/* ---------- Warum ein Arzt als Berater ---------- */
/* ---------- Warum ein Arzt ----------
   Bewusst ohne Kästchen, damit es sich vom Ablauf oben unterscheidet:
   große Geisterziffer, Haarlinie, kurzer Text. */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}
.reason {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid rgba(25, 60, 72, .18);
}
.reason__number {
  position: absolute;
  top: 1.25rem;
  right: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 60, 72, .18);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.reason h3 {
  margin-block: 0 .75rem;
  font-size: 22px;
  max-width: 18ch;
}
.reason p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--petrol-60);
  max-width: 34ch;
}

/* ---------- Über mich ---------- */
.about {
  display: grid;
  grid-template-columns: 22rem 1fr;
  gap: 4rem;
  align-items: start;
}
.about__media {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.about__body h3 { margin-bottom: 1.5rem; }
.about__body p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--petrol-60);
}
.about__body p + p { margin-top: 1.25rem; }
.about__body .label { margin-top: 2.5rem; margin-bottom: 1rem; }

/* Qualifikationen als Chips statt Liste — kompakter und weniger leer */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.chips li {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--petrol);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: .55rem 1.1rem;
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 21rem;
  gap: 1.5rem;
  align-items: start;
}
.form.card { padding: 3rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.field { display: flex; flex-direction: column; margin-bottom: 2rem; }
.field label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: .75rem;
}
.field label span[aria-hidden] { color: var(--petrol-60); }
.field__hint {
  font-weight: 400;
  color: var(--petrol-60);
  font-size: 16px;
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.5;
  color: var(--petrol);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: .75rem 0;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--petrol);
}
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #c0392b; }

.field__error {
  font-size: 16px;
  color: #c0392b;
  margin-top: .5rem;
  min-height: 0;
}

.form__status {
  font-size: 18px;
  margin-top: 1.5rem;
  color: var(--petrol-60);
}
.form__status.is-success { color: var(--petrol); font-weight: 600; }

.contact__direct .label {
  margin-bottom: 1.5rem;
  color: var(--on-dark-muted);
}
.contact__list li + li { margin-top: .75rem; }
.contact__list a {
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-dark);
  transition: border-color .25s var(--ease);
}
.contact__list a:hover { border-bottom-color: var(--mint); }
.contact__note {
  font-size: 16px;
  color: var(--on-dark-muted);
  margin-top: 2rem;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 4rem 3rem;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__col .label { margin-bottom: 1.25rem; }
.footer__col a {
  font-size: 18px;
  text-decoration: none;
  padding-block: .25rem;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.footer__col a:hover { border-bottom-color: var(--petrol); }
.footer__fine {
  font-size: 16px;
  color: var(--petrol-60);
  margin-top: 4rem;
}

/* ---------- Rechtliches-Overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 60, 72, .6);
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding-block: 4rem;
}
.overlay[hidden] { display: none; }
.overlay__panel {
  position: relative;
  background: var(--white);
  width: min(60rem, 92vw);
  padding-block: 4rem;
}
.overlay__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: 0;
  font-size: 40px;
  line-height: 1;
  color: var(--petrol);
  cursor: pointer;
}
.overlay__content h3 { margin-block: 2.5rem 1rem; }
.overlay__content p,
.overlay__content li {
  font-size: 18px;
  line-height: 1.6;
  color: var(--petrol-60);
}
.overlay__content p + p { margin-top: 1rem; }
.overlay__content .section-heading { margin-bottom: 2rem; }

/* ---------- Scroll-Reveal ----------
   Nur aktiv, wenn JS läuft (html.js) — ohne JS bleibt alles sichtbar. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Breakpoints — wie im Vorbild: 991 / 767 / 479
   ========================================================= */

@media (max-width: 991px) {
  :root { --section-pad: 4.5rem; }

  body { font-size: 20px; }
  .section-heading { font-size: 36px; }
  .cta__statement { font-size: 30px; }

  /* Hero einspaltig: Text oben, Portrait darunter */
  .hero { padding-block: 10rem 2.5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 4rem; }
  .hero__content { max-width: none; }
  .hero__media { justify-self: start; max-width: 22rem; margin-left: 2rem; }

  .hero__stats-track { grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1.25rem; }
  .hero__stats-track b { font-size: 30px; }

  .section-head { margin-bottom: 2.5rem; }
  .intro { margin-bottom: 3rem; }

  .card { padding: 2rem; }
  .form.card { padding: 2rem; }

  .cta { padding-block: 6rem 7rem; }
  .cta__inner { flex-direction: column; align-items: flex-start; gap: 3rem; }
  .deco__pulse { bottom: 2rem; opacity: .4; }

  /* Pin bleibt, aber die Leiste rechts hat keinen Platz mehr */
  .js .pin__rail { display: none; }
  .js .pin__ghost { right: 0; }   /* ohne Leiste braucht es keinen Freiraum */
  /* kürzere Schritte, damit der Abschnitt am Handy nicht klebt */
  .js .pinned { --pin-step: 60vh; }

  .reasons { grid-template-columns: 1fr; gap: 2rem; }
  .reason { padding-top: 1.5rem; }
  .reason__number { font-size: 52px; top: .9rem; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__media { max-width: 20rem; }
  .contact { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 767px) {
  :root { --section-pad: 3.5rem; }

  .nav { padding-block: 1.5rem; }
  .nav__inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .nav__links { gap: 1.5rem; }
  .nav__brand, .nav__links a { font-size: 16px; }

  /* Zahlen-Band wird zum Wisch-Slider. Es bricht dafür aus dem Container
     aus, sonst wird rechts abgeschnitten statt gescrollt. */
  .hero__stats { padding-inline: 0; max-width: none; margin-top: 3rem; }
  .hero__stats-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 1rem;
    /* ohne scroll-padding rastet Snap auf die Scrollport-Kante statt auf
       das Padding — die erste Zahl klebte dann am Bildschirmrand */
    scroll-padding-inline: 1rem;
    padding-top: 2rem;
  }
  .hero__stats-track::-webkit-scrollbar { display: none; }
  .hero__stats-track li {
    flex: 0 0 58%;
    scroll-snap-align: start;
  }
  .hero__stats-track b { font-size: 28px; }
  .hero__stats-track span { font-size: 12px; }

  .hero { padding-block: 9rem 2rem; }
  .hero__actions { gap: 1rem 1.5rem; }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .overlay { padding-block: 0; }
  .overlay__panel { width: 100%; min-height: 100%; }
}

@media (max-width: 479px) {
  body { font-size: 18px; }
  h1 { font-size: 34px; }
  .section-heading { font-size: 28px; }
  .eyebrow { font-size: 14px; padding: .45rem .9rem .45rem .75rem; margin-bottom: 2rem; }
  .cta__statement { font-size: 24px; }
  .card, .form.card { padding: 1.5rem; }
  .section-label { font-size: 13px; }

  /* 36px: längstes Element ist "Praxismanagement:" und passt damit
     einzeilig in die 343px Innenbreite */
  .hero__headline { font-size: 36px; }
  .hero__lead { font-size: 18px; }
  .hero__media { margin-left: 1.25rem; max-width: 17rem; }
  .hero__actions .btn--primary { padding: .9rem 1.75rem; font-size: 16px; }
  .reason p, .about__body p { font-size: 16px; line-height: 26px; }

  .circle-btn { width: 172px; height: 172px; font-size: 13px; }
  .label { font-size: 16px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .circle-btn { transition: none; }

  /* Statt zu rotieren: alle drei Zeilen untereinander, Mint-Balken steht fix */
  .rotator { height: auto; }
  .rotator__item {
    position: static;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .rotator__item::before { transform: scaleX(1); animation: none; }
  .rotator__item + .rotator__item { margin-top: .2em; }

  .eyebrow__dot { animation: none; }
  .deco__pulse path { animation: none; stroke-dasharray: none; }
  .circle-btn__ring { animation: none; }
  .circle-btn::before, .circle-btn::after { animation: none; opacity: 0; }
}
