﻿/* ==========================================================================
   Heilpraxis Claudia Hanschel-Beuth — Theme
   Markenton gemessen: #00381B (Farbton 149 Grad), Quelle heilpraktikerin-wolfsburg.de
   Farbstrategie: warmes Papier als Grundflaeche + dauerhaft dunkelgruene
   Seitenleiste als Anker. Gelb (#FFE500, Fremdmarke EssSense) bewusst gestrichen.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Epilogue';
  src: url('fonts/epilogue.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;

  --bg:            #FAF7F2;   /* warmes Papier, entsaettigt, nicht als gruen lesbar */
  --bg-alt:        #F1ECE3;
  --text:          #1B1F1C;
  --text-dim:      #4E5852;
  --line:          #DFD8CC;

  --accent:        #00381B;   /* gemessene Markenfarbe, Kontrast 13.3:1 auf Papier */
  --accent-mid:    #005E33;
  --accent-light:  #6FD4A0;   /* nur auf dunklem Grund */
  --accent-contrast:#FFFFFF;
  --brass:         #8A5F1F;   /* Signature-Haarlinie, sehr sparsam */

  --dark:          #00301A;   /* Statement-Flaeche */
  --darker:        #00230F;   /* Seitenleiste und Fuss */

  --display: 'Fraunces', Georgia, serif;
  --body:    'Epilogue', system-ui, 'Segoe UI', sans-serif;
  --radius:  .375rem;         /* nahezu eckig: ruhig, nicht verspielt */
  --sidebar-w: 24%;
}

/* Ohne diese Zeile scrollt der Browser fokussierte Links bündig an die
   Unterkante und die mobile Aktionsleiste deckt sie zu (gemessen: 100 %). */
html { scroll-padding-bottom: calc(var(--action-bar-h) + 1rem); }

body { background: var(--bg); color: var(--text); font-family: var(--body); }

/* Der Skip-Link setzt den Fokus nur, wenn das Ziel ihn annehmen kann. */
main[tabindex="-1"]:focus { outline: none; }

/* Das Wisch-Karussell ist ein fokussierbarer Scroller: base.css kennt nur
   Fokusringe fuer a und button, ein div bliebe ohne sichtbaren Fokus. */
.swipe:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* WebP-Rueckfall: <picture> ist inline und wuerde als Grid-/Flex-Kind die
   Hoehenregeln des <img> darin aushebeln. */
picture { display: block; min-width: 0; }

/* --- Typografie ------------------------------------------------------- */
h1, h2, h3, .section-title, .layout-sidebar__brand {
  font-family: var(--display);
  font-variation-settings: 'SOFT' 20, 'WONK' 0, 'opsz' 40;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.06;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 500; margin: 0; }
.section-title { font-size: clamp(1.9rem, 3.8vw, 3rem); margin: .4rem 0 1.6rem; }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.38rem); font-weight: 600; line-height: 1.22; }
p { line-height: 1.72; }

/* Akzentwort in einer sonst ruhigen Aussage */
.accent-word { color: var(--accent-mid); font-style: italic;
  font-variation-settings: 'SOFT' 60, 'WONK' 1, 'opsz' 60; }

/* Signature: feine Messing-Haarlinie am Sektions-Kicker */
.section-kicker {
  font-family: var(--body); font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim);
  display: flex; align-items: center; gap: .8rem; margin: 0;
}
.section-kicker::after {
  content: ""; flex: 0 0 3.25rem; height: 1px;
  background: var(--brass); opacity: .8;
}
.section { padding-block: clamp(3.75rem, 8.5vw, 7.5rem); }
.section--alt { background: var(--bg-alt); }

/* --- Seitenleiste (Architektur A) -------------------------------------- */
.layout-sidebar__aside {
  background: var(--darker);
  border-right-color: rgba(255,255,255,.14);
  border-bottom-color: rgba(255,255,255,.14);
}
/* Bei 1024px blieben von der Leiste nur 178px Textbreite: der Kontaktblock
   las sich senkrecht. Schmaleres Innenmass plus 17rem Mindestbreite. */
.layout-sidebar { grid-template-columns: minmax(17rem, var(--sidebar-w)) minmax(0, 1fr); }
@media (min-width: 1000px) {
  .layout-sidebar__aside { padding: clamp(1.25rem, 1.9vw, 2.5rem); }
}
.layout-sidebar__brand {
  color: #fff; font-size: 1.24rem; font-weight: 600; line-height: 1.18;
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 44px; min-width: 0; overflow-wrap: break-word;
}
.layout-sidebar__brand small {
  display: block; font-family: var(--body); font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-light);
  margin-top: .45rem;
}
.layout-sidebar__nav a,
.layout-sidebar .site-nav a { color: rgba(255,255,255,.82); }
.layout-sidebar__nav a:hover,
.layout-sidebar .site-nav a:hover,
.layout-sidebar__nav a.is-active { color: #fff; background: transparent; }
.layout-sidebar__nav a::before { background: var(--accent-light); }

/* Mobiles Burger-Panel: base.css legt es auf --bg (Papier), die Links sind
   hier aber hell. Ohne diese Regel steht weisse Schrift auf hellem Grund. */
.js-nav .layout-sidebar__nav.site-nav { background: var(--darker); color: #fff; }
.js-nav .layout-sidebar__nav.site-nav a {
  color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.16);
}
.js-nav .layout-sidebar__nav.site-nav a:hover { color: #fff; }
.layout-sidebar__foot {
  color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 1.25rem; line-height: 1.7; min-width: 0;
  overflow-wrap: break-word; font-size: .87rem;
}
/* Telefonlinks waren 118x14px. Als Zeilen mit voller Tipphoehe angelegt. */
.layout-sidebar__foot a {
  color: #fff; font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px;
  overflow-wrap: anywhere;
}
.layout-sidebar__foot strong {
  color: var(--accent-light); display: block; margin-bottom: .35rem; font-weight: 600;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
.layout-sidebar__foot p { margin: 0 0 1rem; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { background: #fff; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  border-radius: var(--radius); font-family: var(--body); font-weight: 600;
  letter-spacing: .01em; padding: .95rem 1.6rem;
}
.btn--primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn--primary:hover { background: var(--accent-mid); border-color: var(--accent-mid); }
.btn--ghost { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* --- Hero: Split, Text links, Foto rechts -------------------------------- */
.hero { padding-block: clamp(2.75rem, 6.5vw, 5.5rem) clamp(2.75rem, 5.5vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-grid > div { min-width: 0; }
.eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-mid); margin: 0 0 1.1rem;
}
.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text-dim); max-width: 44ch; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-photo img {
  width: 100%; height: clamp(19rem, 44vw, 33rem); object-fit: cover;
  border-radius: var(--radius); display: block;
}
.hero-note {
  margin: 1.8rem 0 0; padding-left: 1rem; border-left: 2px solid var(--accent-mid);
  font-size: .93rem; color: var(--text-dim); max-width: 42ch; line-height: 1.65;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 10fr 9fr; } }

/* --- Faktenleiste ------------------------------------------------------- */
.facts { background: var(--bg-alt); border-block: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; padding-block: 2.2rem; }
.fact { min-width: 0; overflow-wrap: break-word; }
.fact strong {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.2rem); color: var(--accent); line-height: 1;
}
.fact small { display: block; margin-top: .55rem; color: var(--text-dim); font-size: .9rem; line-height: 1.55; }
@media (min-width: 720px) {
  .facts-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
  .fact + .fact { border-left: 1px solid var(--line); padding-left: 2rem; }
}

/* --- Leistungskarten (mobil Karussell) ---------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.card img { width: 100%; height: 10.5rem; object-fit: cover; display: block; }
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; min-width: 0; }
.card-body h3 { margin: 0; overflow-wrap: break-word; }
.card-body > p { margin: 0; font-size: .95rem; color: var(--text-dim); line-height: 1.6; overflow-wrap: break-word; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; }
.card-list li { position: relative; padding-left: 1rem; color: var(--text-dim); min-width: 0; overflow-wrap: break-word; line-height: 1.55; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: .3rem; height: .3rem; border-radius: 50%; background: var(--accent-mid);
}
.card-price {
  margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--accent); font-weight: 600; line-height: 1.55;
  overflow-wrap: break-word;
}
.card-price span { display: block; font-weight: 400; color: var(--text-dim); font-size: .84rem; margin-top: .3rem; }

/* --- Feature-Split ------------------------------------------------------ */
.feature { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.feature > div { min-width: 0; }
.feature > img { width: 100%; height: clamp(17rem, 38vw, 29rem); object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .feature { grid-template-columns: 5fr 6fr; } }

.therapy-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.therapy-list li {
  padding: .8rem 0 .8rem 1.4rem; border-bottom: 1px solid var(--line);
  position: relative; min-width: 0; overflow-wrap: break-word; font-size: .95rem;
  color: var(--text-dim); line-height: 1.6;
}
.therapy-list li::before {
  content: ""; position: absolute; left: 0; top: 1.35em;
  width: .55rem; height: 1px; background: var(--brass);
}
@media (min-width: 780px) { .therapy-list { columns: 2; column-gap: 2.5rem; } .therapy-list li { break-inside: avoid; } }

/* --- Statement-Sektion (dunkel, ein Farbmoment) -------------------------- */
/* Randlos stiess die dunkle Flaeche direkt an die ebenso dunkle Seitenleiste
   und las sich als deren Verlaengerung. Papierrahmen ringsum macht daraus
   einen eigenen Moment statt einer Fortsetzung der Navigation. */
.statement { background: var(--bg); padding-block: clamp(2rem, 4vw, 3.5rem); }
.statement > .container { max-width: 60rem; }
.statement__inner {
  background: var(--dark); color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--radius);
  position: relative; z-index: 1; max-width: none; min-width: 0;
}
.statement__quote {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-variation-settings: 'SOFT' 70, 'WONK' 1, 'opsz' 90;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.14; max-width: 22ch;
  margin: 0; color: #fff; letter-spacing: -.02em; overflow-wrap: break-word;
}
.statement__by { margin: 1.8rem 0 0; color: var(--accent-light); font-size: .95rem; font-weight: 500; }
.statement .section-kicker { color: rgba(255,255,255,.78); margin-bottom: 1.6rem; }
.statement .section-kicker::after { background: var(--accent-light); opacity: .6; }

/* --- Ueber mich: schmale Meta-Spalte + breiter Text ---------------------- */
.bio { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
/* Kicker und Ueberschrift ueber beide Spalten: sonst beginnt die
   Sektionsueberschrift an einer anderen linken Kante als der Rest der Seite. */
.bio__head { grid-column: 1 / -1; min-width: 0; }
.bio__head .section-title { margin-bottom: 0; }
/* Eckdaten als abgesetzte Karte rechts. Als blosse Textspalte begann sie an
   einer zweiten linken Kante und las sich wie ein verrutschter Absatz. */
.bio__meta {
  min-width: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.6rem;
}
.bio__meta dl { margin: 0; display: grid; gap: 1.15rem; }
.bio__meta dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.bio__meta dd {
  margin: .3rem 0 0; font-family: var(--display); font-size: 1.02rem; font-weight: 500;
  color: var(--accent); overflow-wrap: break-word; line-height: 1.3;
}
.bio__text { min-width: 0; }
.bio__text p { max-width: 58ch; color: var(--text-dim); }
.bio__text p + p { margin-top: 1.15rem; }
@media (min-width: 900px) { .bio { grid-template-columns: 8fr 4fr; } }

/* --- Ablauf: sticky Bild + Schritte -------------------------------------- */
/* base.css dimmt inaktive Schritte auf opacity .4. Lighthouse mass dort
   1.8:1 bis 2.4:1. Die Abfolge wird deshalb ueber Farbe und einen
   Akzentbalken sichtbar gemacht, nicht ueber Transparenz. */
.steps-scroll__step {
  opacity: 1; padding-left: 1.15rem; position: relative;
}
.steps-scroll__step::before {
  content: ""; position: absolute; left: 0; top: 2.5rem; bottom: 2.5rem;
  width: 2px; background: var(--accent); opacity: 0; transition: opacity .35s ease;
}
.steps-scroll__step.is-active::before { opacity: 1; }
/* base.js laesst jeden bereits passierten Schritt aktiv stehen — es leuchteten
   drei Balken gleichzeitig. Aktiv ist nur der letzte, dem kein aktiver folgt. */
.steps-scroll__step.is-active:has(~ .steps-scroll__step.is-active)::before { opacity: 0; }
.steps-scroll__step.is-active:has(~ .steps-scroll__step.is-active) h3 { color: var(--text-dim); }
.steps-scroll__step.is-active:has(~ .steps-scroll__step.is-active) .steps-scroll__num { color: var(--text-dim); }
/* Das stehende Bild war 272px hoch neben 872px Schrittspalte: 600px Leere. */
.steps-scroll__visual { min-height: clamp(20rem, 30vw, 27rem); }
.steps-scroll__visual, .steps-scroll__visual picture { height: 100%; }
.steps-scroll__visual img { height: 100%; min-height: clamp(20rem, 30vw, 27rem); object-fit: cover; }
.steps-scroll__num {
  font-family: var(--body); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim);
  transition: color .35s ease;
}
.steps-scroll__step.is-active .steps-scroll__num { color: var(--accent-mid); }
.steps-scroll__step h3 { margin: .55rem 0 .45rem; color: var(--text-dim); transition: color .35s ease; }
.steps-scroll__step.is-active h3 { color: var(--accent); }
.steps-scroll__step p { color: var(--text-dim); font-size: .96rem; margin: 0; max-width: 48ch; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) {
  .steps-scroll__step::before { opacity: 1; }
  .steps-scroll__step h3 { color: var(--accent); }
  .steps-scroll__num { color: var(--accent-mid); }
}

/* --- FAQ ----------------------------------------------------------------- */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.03rem, 1.7vw, 1.22rem);
  padding: 1.15rem 0; color: var(--text); min-height: 44px;
}
.faq__a { color: var(--text-dim); padding-bottom: 1.35rem; max-width: 64ch; line-height: 1.72; font-size: .96rem; }

/* --- Kontakt --------------------------------------------------------------- */
.kontakt-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.kontakt-grid > div { min-width: 0; }
.kontakt address { font-style: normal; line-height: 1.95; margin: 0 0 1.6rem; overflow-wrap: break-word; }
.kontakt address a { color: var(--accent); font-weight: 600; }
.kontakt__hours {
  margin: 0 0 1.7rem; padding: 1rem 1.2rem; background: var(--bg-alt);
  border-left: 2px solid var(--accent-mid); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .94rem; color: var(--text-dim); max-width: 42ch; line-height: 1.65;
}
.map-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.map-card svg { display: block; width: 100%; height: auto; }
.map-hint { font-size: .8rem; color: var(--text-dim); padding: .85rem 1rem; margin: 0; line-height: 1.55; }
@media (min-width: 900px) { .kontakt-grid { grid-template-columns: 5fr 6fr; } }

/* --- Info-Band ------------------------------------------------------------- */
.info-band { background: var(--accent); color: #fff; }
.info-band-row {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 1.1rem; padding-block: 1.6rem;
  font-size: .95rem;
}
.info-band-row > div { min-width: 0; overflow-wrap: break-word; }
.info-band-row strong {
  display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: .35rem;
}
.info-band a { color: #fff; font-weight: 600; }
@media (min-width: 720px) { .info-band-row { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--darker); color: rgba(255,255,255,.82); }
.site-footer h2 {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-light); font-family: var(--body); font-weight: 600;
}
/* base.css faerbt .site-footer p/li mit --text-dim und gewinnt ueber die
   Elternregel. Auf dunklem Grund waren das gemessene 2.28:1. */
.site-footer p,
.site-footer li,
.site-footer address,
.site-footer .footer-note,
.footer-legal span { color: rgba(255,255,255,.82); }
.site-footer a,
.site-footer li > a,
.footer-legal a { color: #fff; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer .footer-note {
  margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18);
  font-size: .84rem; line-height: 1.75; max-width: 74ch;
}
.footer-legal { border-top: 1px solid rgba(255,255,255,.18); }

/* --- Mobile Aktionsleiste --------------------------------------------------- */
.action-bar--praxis { background: var(--darker); }
.action-bar--praxis .action-bar__btn { color: #fff; }
.action-bar--praxis .action-bar__btn--primary { background: var(--accent-light); color: #00230F; font-weight: 700; }
.action-bar__hint { color: rgba(255,255,255,.78); }

/* --- Entwurfs-Hinweis --------------------------------------------------------- */
.draft-badge {
  background: var(--darker); color: rgba(255,255,255,.9);
  bottom: calc(var(--action-bar-h) + .75rem);
}

/* --- Mobil: alles stapelt, nichts steht nebeneinander ------------------------- */
@media (max-width: 719.98px) {
  .hero-grid, .feature, .bio, .kontakt-grid, .facts-row, .info-band-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-photo img { height: 15rem; }
  .feature > img { height: 14rem; }
  .statement__inner { max-width: none; }
  .therapy-list { columns: 1; }
}
