/* Relaunch-Layout (21.11.2026) — Pilot /hormonsprechstunde, von Jan freigegeben, auf alle Seiten ausgerollt.
   Reine Layout-Schicht: kein Text, kein Preis, kein Inhalt wird verändert.
   Leitlinie: schlicht wie Apple, Reportage-Optik, mobil zuerst (390 px). */

:root{
  --rl-space-s:clamp(40px,7vw,64px);
  --rl-space-l:clamp(64px,10vw,120px);
  --rl-measure:68ch;
  --rl-radius:16px;
}

/* 1. Ruhe auf dem Handy: schwebende Zusatz-Navigation weg, sie überdeckt Text.
      Bleibt: Anrufen/Chatten-Leiste unten und das Menü oben. */
@media (max-width:720px){
  .side-nav,.scroll-rail,.weiter-btn{display:none!important}
}

/* 2. Hero: Knöpfe brechen nicht mehr ab, volle Breite, gut tippbar (>= 48 px). */
@media (max-width:720px){
  .hs-hero__actions{flex-direction:column!important;align-items:stretch!important}
  .hs-hero__actions .hs-cta{width:100%!important;min-height:48px;display:flex!important;
    align-items:center;justify-content:center;text-align:center;white-space:normal}
}

/* 3. Einheitlicher Rhythmus: gleiche Abstände für alle Abschnitte. */
main .section,main .hs-section{padding-top:var(--rl-space-s)!important;padding-bottom:var(--rl-space-s)!important}
@media (min-width:900px){
  main .section,main .hs-section{padding-top:var(--rl-space-l)!important;padding-bottom:var(--rl-space-l)!important}
}
main .section[style*="padding-top:0"],main .hs-section[style*="padding-top: 0"]{padding-top:0!important}

/* 4. Lesbarkeit: Fließtext nie breiter als ~68 Zeichen, Silbentrennung an. */
main p{max-width:var(--rl-measure)}
main :is(h1,h2,h3){overflow-wrap:break-word;text-wrap:balance}
main :is(h3,p){-webkit-hyphens:auto;hyphens:auto}

/* 5. Karten ruhiger: ein Radius, feine Kante statt schwerer Schatten. */
main :is(.hs-service,.hs-cross,.card,.hs-card){border-radius:var(--rl-radius)!important;
  box-shadow:none!important;border:1px solid rgba(22,65,147,.12)!important}
body.theme-dark main :is(.hs-service,.hs-cross,.card,.hs-card){border-color:rgba(248,188,208,.18)!important}

/* 6. Labortabelle: Zähler laufen auf dem Handy nicht mehr aus dem Bild. */
@media (max-width:720px){
  .hk-block__count{flex-wrap:wrap;max-width:100%}
}

/* 7. Bewegung nur, wenn gewünscht. */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* 8. Leere Podcast-Fläche (Folgen derzeit offline) nicht als weiße Lücke zeigen. */
.gc-pod-sec:not(:has(a,iframe,audio,img,button)){display:none!important}

/* 9. Kontrast WCAG AA (4,5:1) für Quellen- und Hinweistexte im hellen Modus.
      Coral bleibt unverändert (Entscheidung Marion 21.11.2026). */
html body:not(.theme-dark) main :is(.hs-hero__hook-source,.hs-stat__source,.hs-sources__note):is(*,*,*){color:#565B74!important;opacity:1!important}
html body:not(.theme-dark) main .hk-row__p:is(*,*,*){color:#4F546B!important;opacity:1!important}
body.theme-dark main .hs-stat__source:is(*,*,*){color:#A9B4DA!important;opacity:1!important}
body.theme-dark .site-footer a[href$="gynfluence.ai"]:is(*,*,*){color:#A9B4DA!important}
.site-footer span:has(>a[href$="gynfluence.ai"]){opacity:.9!important}
