/* physio-wielandwinter.de – lokale Version nach design_astrid.pen */

:root {
  --lime: #b0c947;
  --lime-bright: #d1ea39;
  --grey: #757771;
  --text: #7a7a7a;
  --red: #aa5555;
  --line-light: rgba(255, 255, 255, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1140px;
  --vline-w: 1.5px;            /* senkrechte Linien vor Textblöcken: überall gleich stark ... */
  --vline-gap: 24px;           /* ... und überall gleicher Abstand zwischen Linie und Text */
  --vline-c: #b3b5af;          /* ... in einem helleren Ton des Therapie-Grau (#757771) */
  --head-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 68px; -webkit-text-size-adjust: 100%; } /* Ankersprünge animiert script.js (Ease-in-out) */
body {
  margin: 0;
  font-family: Roboto, system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
strong { font-weight: 700; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--head-h);
  background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.site-header.is-solid {
  background: var(--grey);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .08);
  --head-h: 68px; height: 68px;
}
.site-header__inner {
  height: 100%; width: min(1340px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo img { width: clamp(224px, 20.4vw, 291px); transition: width .5s var(--ease); }
.site-header.is-scrolled .site-header__logo img { width: calc(clamp(224px, 20.4vw, 291px) * .8); }
.nav ul { display: flex; gap: clamp(22px, 3.1vw, 44px); }
.nav a {
  position: relative; display: block; padding: 6px 0;
  font-size: clamp(15px, 1.26vw, 18px); letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
  transition: color .3s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--lime-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--lime-bright); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: clamp(520px, 59.65vw, 850px);
  background: #3d3d3a;
}
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: rgba(20, 20, 18, .42); }
.hero__logo {
  position: absolute; left: 50%; top: 25%;
  width: min(855px, 86vw); height: auto;
  transform: translate(-50%, -50%);
}
.hero__curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(26px, 5.7vw, 81px); display: block; }

/* ---------- Krankenkassen-Siegel (überlappt den Hero-Rand) ---------- */
.hero-badge { --b: clamp(116px, 17.1vw, 244px); position: relative; z-index: 5; height: 0; }
.hero-badge__img {
  position: absolute; right: calc(var(--b) * .05); top: calc(var(--b) * -.62);
  width: var(--b); height: var(--b); rotate: -6deg;
}

/* ---------- Intro ---------- */
.intro { padding: clamp(32px, 12.5vw, 178px) 0 0; text-align: center; }
.headline {
  font-family: Montserrat, sans-serif; font-weight: 100; text-transform: uppercase;
  font-size: clamp(26px, 3.5vw, 50px); line-height: 1; letter-spacing: 1px; color: #000;
}
.headline__line { display: block; }
/* Optischer Ausgleich: der Gedankenstrich „hängt“ rechts neben der Zeile (Breite 0), damit „Behandeln ist gut“ selbst mittig steht */
.headline__dash { display: inline-block; width: 0; white-space: nowrap; }
.headline strong { color: var(--lime); font-weight: 700; }
.intro { --em-h: clamp(67px, 9.96vw, 86px); --em-g: clamp(20px, 3.9vw, 56px); }
/* Logo-Emblem (Vektor) genau mittig zwischen Headline und Einleitungstext: oben und unten derselbe Abstand (--em-g) */
.intro__emblem { display: block; height: var(--em-h); width: auto; margin: var(--em-g) auto 0; }
.intro__text {
  max-width: 988px; margin: var(--em-g) auto 0;
  font-size: clamp(17px, 1.75vw, 25px); line-height: 1.6; letter-spacing: .5px;
}
.intro__text strong { color: var(--lime); }

/* ---------- Jedes Kind ---------- */
.individuell {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4.2vw, 60px);
  align-items: stretch; margin-top: clamp(56px, 14.6vw, 208px);
  padding-inline: clamp(0px, 6vw, 86px) clamp(0px, 4.9vw, 70px);
}
/* Überschrift bündig links; die Linie sitzt nur am Absatz, der um --indent eingerückt ist (wie im Handy-Design) */
.individuell__text { --indent: var(--vline-gap); position: relative; max-width: 420px; padding: 0 0 4px; }
.individuell .topline { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.individuell h2 {
  font-family: Montserrat, sans-serif; font-weight: 200; text-transform: uppercase;
  font-size: clamp(26px, 2.45vw, 35px); line-height: 1; letter-spacing: .5px; color: #000; max-width: 383px;
}
.individuell h2 strong { color: var(--lime); }
.individuell p { position: relative; margin-top: 20px; padding: 0 0 0 var(--indent); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; letter-spacing: .5px; max-width: calc(371px + var(--indent)); }
.individuell p::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--vline-w); background: var(--vline-c);
  transform: scaleY(0); transform-origin: top; transition: transform 1.3s var(--ease) .2s;
}
.individuell__text.is-in p::before { transform: scaleY(1); }

.collage { display: flex; gap: clamp(10px, 1.4vw, 20px); justify-content: center; align-self: start; padding-left: clamp(0px, 2.8vw, 40px); }
.collage__col { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 20px); flex: 0 1 182px; min-width: 0; }
.collage__img { overflow: hidden; background: #e8e8e4; }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--tall { aspect-ratio: 182 / 320; }
.collage__img--short { aspect-ratio: 182 / 180; }

/* ---------- Kindesentwicklung („Schritt für Schritt“) ---------- */
.accent { display: block; width: 48px; height: 3px; background: var(--lime); }
.label { display: block; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 1px; text-transform: uppercase; color: var(--lime); }
.schritt { background: #F7F9EE; margin-top: clamp(56px, 9.1vw, 130px); padding: clamp(56px, 6.7vw, 96px) 0; }
.schritt__inner { width: min(933px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 36px; align-items: start; }
.schritt__head { display: flex; flex-direction: column; gap: 20px; }
.schritt h2 { display: flex; flex-direction: column; gap: 4px; margin: 0; font-family: Montserrat, sans-serif; font-size: clamp(26px, 2.45vw, 35px); line-height: 1.1; letter-spacing: .5px; text-transform: uppercase; color: #000; font-weight: 200; }
.schritt h2 strong { color: var(--lime); font-weight: 700; }
.schritt__text { padding-top: 58px; }
.schritt__body { position: relative; display: flex; flex-direction: column; gap: 28px; padding-left: var(--vline-gap); max-width: calc(561px + var(--vline-gap)); }
.schritt__body::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--vline-w); background: var(--vline-c);
  transform: scaleY(0); transform-origin: top; transition: transform 1.3s var(--ease) .2s;
}
.schritt.is-in .schritt__body::before { transform: scaleY(1); }
.schritt__lead { font-size: clamp(19px, 1.68vw, 24px); line-height: 1.5; letter-spacing: .3px; color: #3a3a3a; }
.schritt__body p:not(.schritt__lead) { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; letter-spacing: .5px; }

/* ---------- Portrait ---------- */
.portrait {
  display: grid; grid-template-columns: minmax(0, 466px) minmax(0, 605px); gap: clamp(48px, 8.4vw, 120px);
  width: min(1191px, 100% - 48px); margin-left: max(24px, calc(50% - 570px)); margin-right: 0;
  align-items: start; margin-top: clamp(72px, 12.2vw, 174px); padding-bottom: clamp(64px, 9.8vw, 140px);
}
.portrait__photo { overflow: hidden; }
.portrait__photo img { width: 100%; aspect-ratio: 466 / 414; object-fit: cover; }
/* Parallax: Rahmen hat feste Proportion; das Bild ist darin um 35 % höher (je 17,5 % oben und unten mehr Bildfläche)
   und gleitet per --py (script.js) um bis zu ±15 % der Rahmenhöhe – ohne Zoom, ohne Lücken. */
.portrait__photo.has-parallax { position: relative; aspect-ratio: 466 / 414; }
.portrait__photo.has-parallax img {
  position: absolute; left: 0; top: -17.5%; width: 100%; height: 135%; aspect-ratio: auto;
  translate: 0 var(--py, 0px); will-change: translate;
}
/* Rolle und Name bündig links; die Linie sitzt nur am Zitat, das um --indent eingerückt ist (wie im Handy-Design) */
.portrait__text { --indent: var(--vline-gap); position: relative; padding: 18px 0 0; }
.portrait__role {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px; line-height: 15px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--lime);
}
.portrait__name {
  margin-top: 12px; font-family: Montserrat, sans-serif; font-weight: 100;
  font-size: clamp(26px, 2.35vw, 33px); line-height: 30px; letter-spacing: .5px; text-transform: uppercase; color: #000;
}
.portrait__name strong { color: var(--lime); }
.portrait blockquote {
  position: relative; margin-top: 12px; padding: 0 0 0 var(--indent); max-width: calc(554px + var(--indent)); font-family: Siemreap, Roboto, sans-serif; font-style: italic; font-weight: 400; color: #757771; font-size: clamp(20px, 1.68vw, 24px); line-height: 36px; letter-spacing: .5px;
}
.portrait blockquote::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--vline-w); background: var(--vline-c);
  transform: scaleY(0); transform-origin: top; transition: transform 1.3s var(--ease) .2s;
}
.portrait__text.is-in blockquote::before { transform: scaleY(1); }
.portrait .num { color: #87bc1c; font-style: italic; font-weight: 400; }

/* ---------- Therapien ---------- */
.therapien { background: var(--grey); color: #fff; padding: clamp(56px, 6.3vw, 90px) 0 clamp(64px, 9.6vw, 137px); }
.section-title {
  text-align: center; font-family: Montserrat, sans-serif; font-weight: 200;
  font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: 1px; text-transform: uppercase;
}
.section-title strong { color: var(--lime); }
.therapien__intro {
  margin: 0; padding: clamp(22px, 2.1vw, 30px) max(24px, calc((100% - 818px) / 2));
  text-align: center; font-size: clamp(18px, 1.75vw, 25px); line-height: 1.6; letter-spacing: 1px;
}
.therapien__list { width: min(1141px, 100% - 48px); margin: clamp(20px, 1.9vw, 27px) auto 0; }

.therapie {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 3.9vw, 56px);
  padding: clamp(32px, 3.37vw, 48px) 0 clamp(31px, 3.3vw, 47px); border-top: 1px solid var(--line-light); align-items: start;
}
.therapie:last-child { padding-bottom: 20px; }
.therapie__media { overflow: hidden; background: #6b6c67; aspect-ratio: 4 / 3; border-radius: 6px; isolation: isolate; }
.therapie__media img { width: 100%; height: 100%; object-fit: cover; }
.therapie__nr { display: block; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 17px; line-height: 21px; letter-spacing: 2px; color: var(--lime-bright); }
.therapie h3 {
  margin-top: 18px; font-family: Montserrat, sans-serif; font-weight: 200;
  font-size: clamp(26px, 2.1vw, 30px); line-height: 33px; letter-spacing: 1px;
}
.dots {
  display: block; width: 120px; height: 6px; margin: 18px 0;
  max-width: 100%;
  background: radial-gradient(circle at 1.5px 3px, var(--lime) 1.5px, transparent 1.7px) 0 0 / var(--pitch, 7.8px) 6px repeat-x;
}
.therapie__lead { font-weight: 500; font-size: clamp(16px, 1.26vw, 18px); line-height: 27px; letter-spacing: .4px; }
.therapie__details { padding-top: 34px; }
.therapie__details p { font-size: clamp(15px, 1.19vw, 17px); line-height: 29px; letter-spacing: .4px; }
.therapie__details p + p { margin-top: 16px; }

/* ---------- Partner ---------- */
.partner { padding: clamp(48px, 4.35vw, 62px) 0 clamp(64px, 8.35vw, 119px); text-align: center; }
.section-title--dark strong { color: #87bc1c; font-weight: 200; }
.partner__intro { max-width: 738px; margin: clamp(28px, 2.8vw, 40px) auto 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; letter-spacing: .5px; }
.partner__grid { display: flex; justify-content: center; gap: clamp(32px, 4.3vw, 61px); margin-top: clamp(40px, 5.3vw, 76px); padding-right: clamp(0px, 2.8vw, 40px); flex-wrap: wrap; }
.partner__card {
  display: grid; grid-template-columns: auto minmax(0, 303px); grid-template-rows: auto auto 1fr;
  column-gap: clamp(20px, 2.25vw, 32px); text-align: left; align-items: start; max-width: 100%;
}
.partner__card picture { grid-row: 1 / span 3; grid-column: 1; }
.partner__card h3, .partner__card p, .partner__link { grid-column: 2; }
.partner__card picture img { display: block; width: clamp(130px, 12.2vw, 174px); height: clamp(130px, 12.2vw, 174px); border-radius: 50%; object-fit: cover; transition: transform .8s var(--ease); }
.partner__card:hover picture img { transform: scale(1.04); }
.partner__card h3 { margin-top: 15px; font-family: Montserrat, sans-serif; font-weight: 300; font-size: 25px; line-height: 25px; letter-spacing: 1px; color: var(--lime); }
.partner__card p { margin-top: 15px; font-style: italic; font-size: 20px; line-height: 32px; letter-spacing: 1px; }
.partner__link { align-self: end; justify-self: start; display: block; padding: 0; line-height: 0; }
.partner__link img { width: 44px; height: auto; transition: transform .5s var(--ease); }
.partner__link:hover img, .partner__link:focus-visible img { transform: translateX(8px); }
.partner__link:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); color: #fff; padding: 31px 30px 19px; text-align: center; }
.site-footer__inner { max-width: 640px; margin-inline: auto; }
.site-footer__logo { width: min(384px, 100%); margin: 0 auto; }
.site-footer__block { margin-top: 34px; }
.site-footer__block + .site-footer__block { margin-top: 51px; }
.site-footer h2 { font-family: Montserrat, sans-serif; font-weight: 200; font-size: 26px; line-height: 39px; letter-spacing: 1.5px; text-transform: uppercase; }
.site-footer ul { margin-top: 4px; }
.site-footer li { height: 44px; display: flex; justify-content: center; align-items: center; }
.site-footer li a { display: inline-flex; align-items: center; gap: 13px; font-size: 20px; letter-spacing: 1px; transition: color .3s ease; }
.site-footer li a:hover { color: var(--lime-bright); }
.site-footer li img { height: 18px; width: auto; }
.site-footer__note { margin-top: 3px; font-size: 20px; line-height: 26px; letter-spacing: 1px; }
.site-footer__legal { display: flex; justify-content: center; gap: 38px; margin-top: 74px; font-size: 18px; line-height: 29px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lime-bright); }
.site-footer__legal a { position: relative; }
.site-footer__legal a::after { content: ""; position: absolute; inset: auto 0 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-footer__legal a:hover::after { transform: scaleX(1); }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.subpage .site-header { animation: none; }
.page { max-width: 820px; padding: calc(68px + 72px) 0 96px; }
.page__title {
  font-family: Montserrat, sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 2.5vw, 36px); line-height: 1.1; letter-spacing: 1px; color: var(--lime);
}
.legal { margin-top: 44px; font-size: 18px; line-height: 1.75; letter-spacing: .3px; }
.legal h2 { margin: 40px 0 8px; font-family: Roboto, sans-serif; font-weight: 500; font-size: 21px; line-height: 1.4; letter-spacing: .3px; color: #757772; }
.legal > h2:first-child { margin-top: 0; }
.legal__sub { margin: 28px 0 6px; font-family: Roboto, sans-serif; font-weight: 700; font-size: 18px; color: #757772; }
.legal__lead { font-size: 19px; }
/* Karte „Kurz zusammengefasst“ (wie im Design: hellgrüner Grund, grüner Strich links, 4 px Rundung) */
.legal__card { margin-top: 40px; padding: 24px; background: #f4f5ef; border-left: 3px solid var(--lime); border-radius: 4px; }
.legal__card h3 { margin: 0 0 8px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: .3px; color: #757772; }
.legal__card p { margin: 0; font-size: 17px; line-height: 1.65; letter-spacing: .4px; }
.legal__card + h2 { margin-top: 40px; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 14px; }
.legal ul { list-style: none; margin: 10px 0 0; padding: 0; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.legal a { color: #757772; border-bottom: 1px solid rgba(176, 201, 71, .8); transition: color .3s ease, border-color .3s ease; }
.legal a:hover { color: #000; border-color: #000; }
.legal__todo { font-weight: 500; font-size: 16px; color: #c2410c; }
.site-footer__legal a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 860px) { .page { padding-top: calc(64px + 48px); padding-bottom: 64px; } .legal { font-size: 17px; } }
@media (max-width: 860px) { .legal__card { padding: 18px; } .legal__card h3 { font-size: 16px; color: #5f605b; } .legal__card p { font-size: 15px; letter-spacing: .3px; } }

/* ---------- Animation (sparsam) ---------- */
/* Hero-Parallax: Das Foto behält beim Scrollen zu ~65 % seine Position (wandert mit 0,65 × Scroll nach unten),
   das Logo zu ~30 %. Oben entsteht kein Spalt, weil der Hero-Rand dann schon außerhalb des Fensters liegt.
   --hp (0 … Hero-Höhe) setzt script.js; `translate`/`scale` kombinieren sich mit den Einblend-Animationen. */
.hero__photo { translate: 0 calc(var(--hp, 0) * .65px); will-change: translate; }
.hero__logo { translate: 0 calc(var(--hp, 0) * .3px); will-change: translate; }

/* Hero: Foto beruhigt sich, Logo blendet ein */
.js .hero__photo img { animation: hero-settle 2.8s var(--ease) both; }
.js .hero__logo { animation: hero-logo 1.9s cubic-bezier(.16, 1, .3, 1) .5s both; }
.js .hero__scrim { animation: hero-scrim 1.6s ease both; }
.js .site-header { animation: fade-in 1s ease .2s both; }
@keyframes hero-settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes hero-logo { 0% { opacity: 0; transform: translate(-50%, calc(-50% + 72px)) scale(.94); } 55% { opacity: 1; } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes hero-scrim { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Sanftes Einblenden beim Scrollen */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Collage: Bilder entfalten sich nacheinander */
.js .collage__img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .collage.is-in .collage__img { clip-path: inset(0); }
.js .collage__col:nth-child(1) .collage__img:nth-child(1) { --d: 0s; }
.js .collage__col:nth-child(2) .collage__img:nth-child(1) { --d: .12s; }
.js .collage__col:nth-child(1) .collage__img:nth-child(2) { --d: .24s; }
.js .collage__col:nth-child(2) .collage__img:nth-child(2) { --d: .36s; }

/* Therapie-Zeilen (Prinzip wie code/lazy-reveal.css) */
.js .reveal-row { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-row .therapie__media img { opacity: 0; filter: blur(12px); transform: scale(1.05); transition: opacity .8s ease .12s, filter .8s ease .12s, transform 1.1s ease .12s, scale .9s var(--ease); }
.js .reveal-row .reveal-text { opacity: 0; transform: translateY(12px); transition: opacity .7s ease .25s, transform .7s ease .25s; }
.js .reveal-row .therapie__details { transition-delay: .38s; }
.js .reveal-row.is-in, .js .reveal-row.is-in .reveal-text { opacity: 1; transform: none; }
.js .reveal-row.is-in .therapie__media img.is-loaded { opacity: 1; filter: none; transform: none; }
.js .reveal-row .dots { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease) .5s; }
.js .reveal-row.is-in .dots { clip-path: inset(0); }

/* ---------- Ergänzende, leise Animationen (alle Größen) ---------- */
/* Überschrift: Zeilen gleiten nacheinander ein */
.js .reveal-lines .headline__line { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-lines.is-in .headline__line { opacity: 1; transform: none; }
.js .reveal-lines.is-in .headline__line:nth-child(2) { transition-delay: .14s; }

/* Menü: Einträge erscheinen nacheinander (Desktop beim Laden) */
.nav li:nth-child(1) { --i: 0; } .nav li:nth-child(2) { --i: 1; } .nav li:nth-child(3) { --i: 2; } .nav li:nth-child(4) { --i: 3; }
.js .nav li { animation: nav-in .8s var(--ease) calc(.9s + var(--i, 0) * .08s) both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Krankenkassen-Siegel schwebt ganz leicht */
.js .hero-badge__img.is-in { animation: badge-float 7s ease-in-out 2.4s infinite alternate; }
@keyframes badge-float { from { translate: 0 0; rotate: -6deg; } to { translate: 0 -5px; rotate: -5deg; } }

/* Mail-Button im Menü (nur mobil sichtbar) */
.nav a.nav__mail, .nav .nav__emblem { display: none; }
.br-m { display: none; }

/* Fotos: sanfter Zoom beim Darüberfahren */
.collage__img img { transition: scale .9s var(--ease); }
@media (hover: hover) {
  .collage__img:hover img, .therapie__media:hover img { scale: 1.04; }
}

/* Sanftes Mitskalieren beim Ändern der Fenstergröße */
.hero { transition: height .25s ease-out; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .individuell { padding-inline: 0; gap: 40px; }
  .portrait { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
  .therapie { grid-template-columns: 240px minmax(0, 1fr); gap: 36px 40px; }
  .therapie__details { grid-column: 2; padding-top: 0; }
}

@media (max-width: 860px) {
  :root { --head-h: 64px; }
  .site-header, .site-header.is-solid { height: 64px; --head-h: 64px; }
  .site-header { background: var(--grey); }
  .site-header__inner { width: calc(100% - 32px); }
  .site-header__logo img, .site-header.is-scrolled .site-header__logo img { width: 228px; }

  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .menu-btn span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .45s var(--ease), opacity .3s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 64px 0 auto 0; height: calc(100dvh - 64px);
    display: flex; flex-direction: column; overflow-y: auto;
    background: var(--grey); padding: 40px 32px max(28px, env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .4s ease, transform .5s var(--ease), visibility 0s linear .5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav a { font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
  .nav a::after { display: none; }
  .js .nav li { animation: none; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .nav.is-open li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .07s); }
  .nav a.nav__mail {
    display: block; width: min(100%, 230px); margin: 0 auto max(8vh, 28px); padding: 16px 24px; text-align: center; border: 0; border-radius: 999px;
    background: var(--lime-bright); color: #3a3a3a; font-size: 18px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase;
    transition: background-color .3s ease, transform .3s var(--ease);
  }
  .nav a.nav__mail:active { transform: scale(.98); }
  /* margin:auto in alle Richtungen: der freie Platz zwischen letztem Menüpunkt und E-Mail-Button wird oben und unten gleich verteilt */
  .nav .nav__emblem { display: block; height: 84px; width: auto; margin: auto; }
  .js .nav .nav__emblem { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .nav.is-open .nav__emblem { opacity: 1; transform: none; transition-delay: .35s; }
  .js .nav a.nav__mail { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .3s ease; }
  .js .nav.is-open a.nav__mail { opacity: 1; transform: none; transition-delay: .5s; }

  .hero { height: clamp(440px, 118vw, 640px); margin-top: 64px; }
  .hero__logo { top: 31%; width: 128vw; max-width: none; }
  .hero-badge { --b: calc(clamp(116px, 17.1vw, 244px) * 1.2); }

  .intro { padding-top: 72px; }
  .individuell { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  /* „Therapie / Jedes Kind“: auf dem Handy volle Breite, 22 px Einrückung, 4 px Abstand um den Absatz */
  .individuell__text { max-width: none; }
  .individuell h2 { max-width: none; }
  .individuell p { max-width: none; padding: 4px 0 4px var(--indent); }
  .collage { margin-top: 0; padding-left: 0; }
  .schritt { margin-top: 56px; padding: 56px 0; }
  .schritt__inner { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .schritt__text { padding-top: 0; }
  .schritt__body { padding: 4px 0 4px var(--vline-gap); gap: 20px; max-width: none; }
  .portrait { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 72px; padding-bottom: 64px; }
  /* Porträt mobil: 20 px Einrückung, Handy-Größen aus dem Design */
  .portrait__text { padding: 0; }
  .portrait__role { font-size: 13px; line-height: 16px; letter-spacing: 1.5px; }
  .portrait__name { margin-top: 14px; font-size: 30px; line-height: 32px; }
  .portrait blockquote { margin-top: 14px; max-width: none; padding: 6px 0 6px var(--indent); font-size: 19px; line-height: 1.55; letter-spacing: .3px; }

  .therapien { padding: 64px 0; }
  .therapien__intro { margin-top: 28px; padding: 22px 24px; font-size: calc(18px * 1.15); }
  .therapie h3 { font-size: calc(26px * 1.2); line-height: calc(33px * 1.2); }
  .therapie h3 br { display: none; } /* mobil: eine Zeile, solange der Platz reicht */
  .therapie__lead { font-size: calc(16px * 1.15); line-height: calc(27px * 1.15); }
  .therapie__details p { font-size: calc(15px * 1.15); line-height: calc(29px * 1.15); }
  .therapie { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 36px 0; }
  .therapie__details { grid-column: auto; }
  .therapie__media { aspect-ratio: 4 / 3; }
  .partner { padding: 64px 0 72px; }
  .site-footer__logo { width: min(330px, 86%); }
}

@media (max-width: 600px) {
  /* Handy: „THERAPIE-“ / „LEISTUNGEN“ in zwei Zeilen, wie im Design */
  .therapien .section-title { font-size: 32px; line-height: 1.05; }
  .therapien .section-title .br-m { display: inline; }
  .partner__grid { padding-right: 0; }
  .partner__card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; justify-items: center; text-align: center; }
  .partner__card picture, .partner__card h3, .partner__card p, .partner__link { grid-column: 1; grid-row: auto; }
  .partner__link { margin-top: 18px; align-self: auto; justify-self: center; }
}

/* Barrierefreiheit: keine Bewegung bei reduzierter Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-row, .js .reveal-row .reveal-text { opacity: 1 !important; transform: none !important; }
  .js .reveal-row .therapie__media img { opacity: 1 !important; filter: none !important; transform: none !important; }
  .js .collage__img, .js .reveal-row .dots { clip-path: none !important; }
  .hero__photo { translate: none !important; }
  .hero__logo { translate: none !important; }
  .js .reveal-lines .headline__line { opacity: 1 !important; transform: none !important; }
  .js .nav li, .js .nav a.nav__mail, .js .nav .nav__emblem { opacity: 1 !important; transform: none !important; }
  .schritt__body::before { transform: none !important; }
  .portrait blockquote::before, .individuell p::before { transform: none !important; }
}
.no-js .reveal, .no-js .reveal-row { opacity: 1; transform: none; }
