/* Praxis Sonnenschein – Stylesheet
   Farbwelt: Hellgrau und Pastellgelb, dazu Anthrazit für Text und dunkle Flächen.
   Schrift: Golos Text, lokal gespeichert (keine Verbindung zu Google). */

@font-face {
  font-family: "Marcellus";
  src: url("/fonts/marcellus-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("/fonts/great-vibes-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dancing Script";
  src: url("/fonts/dancing-script-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos-text-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #efefed;            /* Hellgrau */
  --bg-soft: #f6f6f4;
  --white: #ffffff;
  --yellow-100: #fff8d6;    /* Pastellgelb, sehr hell */
  --yellow-200: #fbefa6;    /* Pastellgelb */
  --yellow-400: #f4d96b;    /* Knöpfe */
  --yellow-500: #e8c64a;    /* Knopf beim Darüberfahren */
  --grad-head: #fbd978;      /* flaches Sonnengelb (früher Verlauf Gelb nach Orange, siehe docs/design-archiv/) */
  --grad-btn: #f4b63a;
  --grad-btn-hover: #e9a62a;
  --grad-soft: #fbe6a6;
  --grad-section: #fbeec4;
  --grad-blue: #2a3f57;   /* tiefes Blau wie auf dem Gemälde */
  --ink: #26282c;           /* Anthrazit */
  --ink-soft: #52565d;
  --slate: #3d5a73;         /* Graublau für Links */
  --dark: #2a2c31;
  --line: #dadad6;

  --script: "Great Vibes", "Snell Roundhand", cursive;             /* nur als Akzent */
  --script-label: "Dancing Script", "Great Vibes", cursive;         /* Beschriftungen */
  --font-head: "Marcellus", Georgia, "Times New Roman", serif;     /* Überschriften (Entscheidung Daniel 2026-10-25) */
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 14px 34px -18px rgba(38, 40, 44, 0.35);
  --wrap: 1200px;
  --pad: clamp(5rem, 11vw, 9.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--ink);
  background: #faf4e8;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 6px; }

h1, h2 { text-wrap: balance; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0 0 .55em; font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 5.4vw, 4.2rem); letter-spacing: -0.03em; hyphens: auto; overflow-wrap: break-word; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 600; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header: schwebende Pille wie bei Healia ---------- */
.site-header { position: sticky; top: .75rem; z-index: 100; margin-top: .75rem; }
.header-in {
  position: relative; width: min(100% - 1.5rem, 1320px); margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid rgba(38, 40, 44, .12); border-radius: 12px; padding: .5rem .5rem .5rem 1.1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; flex: none; }
.brand-name { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav { justify-self: center; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: .1rem; }
.nav-list > li { position: relative; }
.nav-list a, .nav-label {
  display: block; padding: .5rem .7rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem; white-space: nowrap;
}
.nav-list a:hover { background: var(--bg); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--grad-soft); }
.nav-label { cursor: default; }
.has-sub > .nav-label::after, .has-sub > a::after {
  content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; margin-bottom: .18em;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .65;
}
.sub {
  position: absolute; left: 50%; top: calc(100% + .35rem); min-width: 270px; padding: .5rem; transform: translate(-50%, 6px);
  background: var(--white); border: 1px solid rgba(38, 40, 44, .12); border-radius: 10px;
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { border-radius: 8px; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .btn { white-space: nowrap; }
.nav-burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--grad-btn);
}
.nav-burger::before, .nav-burger::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s;
}
.nav-burger::before { top: 18px; }
.nav-burger::after { top: 26px; }
.nav-toggle:checked ~ .header-actions .nav-burger::before { top: 22px; transform: rotate(45deg); }
.nav-toggle:checked ~ .header-actions .nav-burger::after { top: 22px; transform: rotate(-45deg); }
.nav-toggle:focus-visible ~ .header-actions .nav-burger { outline: 3px solid var(--slate); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--grad-btn); color: var(--ink); }
.btn-sun:hover { background: var(--grad-btn-hover); color: var(--ink); }
.btn-sun, .btn-sun:hover { background-origin: border-box; }   /* sonst wiederholt sich der Verlauf unter dem 1,5-px-Rand: gelber und oranger Streifen an den Seiten */
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #3a3d43; color: var(--white); }
.btn-line { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn-line:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: .65rem 1.25rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

/* ---------- Hero: große Foto-Karte wie bei Nivaya ---------- */
.hero { padding-block: .9rem 0; position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-card {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--dark);
  border-radius: var(--radius-lg); min-height: min(80vh, 680px); display: grid; align-items: end;
}
.hero-art {   /* Hochformat-Foto über die ganze Karte; Kerstin steht links, der Text rechts auf dem dunklen Laub */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; z-index: -2;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgba(30, 28, 20, .84) 0%, rgba(30, 28, 20, .74) 50%, rgba(30, 28, 20, .08) 76%), linear-gradient(180deg, rgba(28, 29, 32, 0) 55%, rgba(28, 29, 32, .5) 100%);
}
.hero-in { max-width: 540px; justify-self: end; padding: clamp(1.6rem, 4vw, 3.2rem); }
.hero h1 { color: var(--white); margin: 0; font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.hero h1 em { font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: 0; color: #ffd86a; font-size: 1.32em; line-height: .88; display: inline-block; padding: 0 .06em; text-shadow: 0 2px 18px rgba(255, 170, 60, .35); }
.hero .eyebrow { color: #ffe4a8; margin-bottom: 1rem; }
.hero-side { max-width: 520px; margin-top: 1.4rem; }
.hero-side p { color: #ecece9; font-size: 1.05rem; margin-bottom: 0; }
.hero-side .btn-row { margin-top: 1.2rem; }

.eyebrow { font-family: var(--script-label); font-size: 1.5rem; font-weight: 500; letter-spacing: 0; line-height: 1; color: #9a4812; margin-bottom: .8rem; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding-block: .9rem 0; }
.head-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--grad-head); padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
}
.head-card::before {
  content: ""; position: absolute; z-index: -1; right: -6%; top: 50%; width: clamp(240px, 36vw, 460px); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fffbe6 0%, #fff4bd 45%, rgba(255, 244, 189, 0) 72%);
}
/* Seitenkopf mit Foto: Text links, Bild rechts, die gelbe Kugel entfällt */
.head-card.has-photo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.head-card.has-photo::before { display: none; }
.head-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--yellow-100); }
.head-photo img { width: 100%; height: 100%; object-fit: cover; }
.head-card h1 { max-width: 20ch; margin-bottom: .4em; }
.head-card h1 .nw { font-family: var(--script); font-weight: 400; letter-spacing: 0; font-size: 1.2em; line-height: .88; display: inline-block; padding: 0 .06em; color: #6e3410; }
.head-card .lead { max-width: 52ch; font-size: 1.15rem; color: var(--ink); margin: 0; }
@media (min-width: 561px) { .nw { white-space: nowrap; } }
.crumbs { font-size: .88rem; margin-bottom: 1.2rem; color: var(--ink); }
.crumbs a { color: var(--ink); }
.crumbs a:hover { color: var(--ink); }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--pad); position: relative; }
.section > .wrap { position: relative; z-index: 1; }
/* helle und kräftige Abschnitte blenden oben und unten aus, damit es keine harten Kanten gibt */
/* Abschnitte: flache Farben */
.section-white { background: #ffffff; }
.section-tint { background: #f4e6c8; --ink-soft: #454951; --slate: #2f4a62; }   /* etwas dunkler, damit der Kontrast auch im Koralle-Bereich über 4,5:1 bleibt */
.section-head { max-width: 60ch; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; }
.section-head p { color: var(--ink-soft); }
.section-head .eyebrow, .section-head p.eyebrow { font-size: 1.9rem; color: #9a4812; margin-bottom: .1rem; }
.section-tint .eyebrow, .section-tint p.eyebrow { color: #6e2c06; }
.section-head h2::after, .group-title::after {
  content: ""; display: block; width: 70px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #ffcf3d, #ff7a3a); margin: 1.1rem auto 0;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.split .photo img, .aside .photo img { max-height: 540px; object-position: 50% 22%; }
.photo figcaption { font-size: .85rem; padding: .7rem 1rem; color: var(--ink-soft); background: var(--white); }
figure { margin: 0; }

.prose { max-width: 62ch; }
.prose h2 { margin-top: 2.2rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.aside { position: sticky; top: 110px; display: grid; gap: 1rem; }
.box { background: var(--white); border-radius: var(--radius); padding: 1.9rem 2rem; }
.box h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.box-sun { background: var(--grad-head); }
.facts { margin: 0; display: grid; gap: .7rem; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 600; }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.2rem, 2.4vw, 1.9rem); list-style: none; padding: 0; margin: 0; }
.card {
  display: flex; flex-direction: column; gap: .5rem; height: 100%;
  background: linear-gradient(170deg, #ffffff 0%, #fffaf0 100%); border: 1px solid rgba(255, 190, 110, .38); border-radius: var(--radius); padding: 2rem 2rem 1.7rem;
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); color: var(--ink); }
.card h3 { margin: 0; font-size: 1.4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.card .more { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.arrow {
  width: 42px; height: 42px; border-radius: 50%; background: var(--grad-btn) center / 18px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326282c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.card:hover .arrow { transform: translateX(4px); }
.card-tag { align-self: flex-start; font-size: .76rem; font-weight: 600; background: var(--grad-soft); color: var(--ink); padding: .2rem .7rem; border-radius: 999px; margin-bottom: .5rem; }
.group-title { font-size: 1.5rem; font-weight: 600; color: var(--ink); text-align: center; margin: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
.group-title:first-of-type { margin-top: 0; }

/* Karten mit Icon in rundem Feld (wie bei Foxeyoga) */
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---------- Foto-Karten (Angebote), Vorbild Nivaya ---------- */
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); list-style: none; padding: 0; margin: 0; }
.pcards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; }
.pcards-3 .pcard { aspect-ratio: 4 / 5; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 29, 32, 0) 8%, rgba(28, 29, 32, .62) 24%, rgba(28, 29, 32, .92) 100%); }   /* Kontrast gemessen (hellster Punkt hinter dem Text): Titel und Kleintext je mindestens 4,5 */
.pcard:hover img { transform: scale(1.05); }
.pcard-in { padding: 1.3rem 1.2rem 1.2rem; }
.pcard h3 { color: var(--white); font-size: 1.25rem; margin: 0 0 .35rem; min-height: 2.5em; }   /* zwei Zeilen Platz: alle Texte beginnen auf einer Linie */
.pcard p { color: #ecece9; font-size: .92rem; line-height: 1.55; margin: 0 0 .9rem; min-height: 6.2em; }
.pcard .go { display: inline-flex; align-items: center; gap: .55rem; height: 40px; padding: 0 1rem 0 1.1rem; border-radius: 999px; background: var(--grad-btn); color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.pcard .go::after { content: ""; width: .5em; height: .5em; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); margin-left: .1rem; }
.pcard:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Preise auf einen Blick ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; align-items: stretch; }
.prices .price { background: var(--white); border-radius: var(--radius); padding: 2rem 1.7rem; display: flex; flex-direction: column; }
.prices .price.hot { background: var(--white); border-color: var(--ink); }
.prices .price h3 { margin: 0 0 .3rem; font-size: 1.2rem; min-height: 2.3em; }   /* zwei Zeilen Platz: Dauer und Preise stehen in allen Karten auf einer Linie */
.prices .price .dur { color: var(--ink-soft); margin: 0 0 1.2rem; }
.prices .price .amount { font-size: 2.6rem; font-weight: 700; line-height: 1; margin: 0 0 1.2rem; }
.prices .price .amount small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.prices .price ul { list-style: none; padding: 0; margin: 0 0 1.4rem; color: var(--ink-soft); font-size: .95rem; }
.prices .price li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.prices .price li::before { content: ""; position: absolute; left: 0; top: .75em; width: .55em; height: .55em; border-radius: 50%; background: var(--grad-btn); }
.prices .price .btn { margin-top: auto; align-self: flex-start; }
.pricenote { max-width: 70ch; margin: 2.2rem auto 0; text-align: center; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Foto-Collage, Vorbild Foxeyoga ---------- */
.split-collage { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.collage { position: relative; min-height: 520px; }
.collage figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage .c1 { left: 5%; top: 11%; width: 48%; aspect-ratio: 3 / 4; z-index: 2; }
.collage .c2 { right: 6%; top: 5%; width: 40%; aspect-ratio: 4 / 5; z-index: 1; }
.collage .c3 { right: 10%; bottom: 5%; width: 32%; aspect-ratio: 1 / 1; z-index: 3; border: 6px solid var(--white); }
.collage svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- Fotos im Text der Leistungsseiten ---------- */
.inline-photo { margin: 2.2rem 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.inline-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Zahlen-Band (nur belegte Fakten), Vorbild Healia ---------- */
.section.stats-section { padding-block: clamp(1.8rem, 3vw, 2.6rem) 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.2rem; background: var(--white); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.1rem); text-align: center; }
.stat b { display: block; font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: .55rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Pillen „Ich behandle“, Vorbild Foxeyoga ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; padding: 0; margin: 1rem 0 1.6rem; }
.pills-center { justify-content: center; }
.pills li { display: inline-flex; align-items: center; gap: .6rem; background: var(--white); border-radius: 999px; padding: .5rem 1.15rem .5rem .55rem; font-weight: 600; font-size: .96rem; }
.pills .icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--grad-btn); color: var(--ink); box-sizing: border-box; flex: none; }
.pills-label { text-align: center; margin: 2.4rem 0 0; color: var(--ink-soft); font-weight: 600; }

/* ---------- Foto-Banner mit Satz und Knöpfen, Vorbild Nivaya ---------- */
.section.banner-section { padding-block: clamp(1.4rem, 3vw, 2.4rem); }
.banner { position: relative; isolation: isolate; overflow: hidden; color: var(--white); border-radius: var(--radius-lg); min-height: 340px; display: grid; align-items: center; background: var(--dark); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scaleX(-1); z-index: -2; }   /* gespiegelt: die Schalen stehen rechts, der Text links auf der ruhigen Wand */
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 28, 20, .86) 0%, rgba(30, 28, 20, .8) 62%, rgba(30, 28, 20, .1) 92%); /* Kontrast gemessen: Fließtext mind. 4,5 ab 900 px Breite */ }
.banner-in { max-width: 540px; padding: clamp(1.6rem, 4vw, 3rem); }
.banner h2 { color: var(--white); margin: 0 0 .6rem; }
.banner p { color: #ecece9; margin: 0; }
@media (max-width: 700px) { .banner::after { background: rgba(30, 28, 20, .8); } }

/* ---------- Fragen zweispaltig (Startseite), Vorbild Nivaya ---------- */
.faq-split { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-intro { position: sticky; top: 6.5rem; }
.faq-intro p:not(.eyebrow) { color: var(--ink-soft); }
.faq-split .faq-list { max-width: none; margin: 0; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* ---------- Zweifarbige Überschriften, Vorbild Healia ---------- */
h2 .dim, h1 .dim { color: #5b6068; }   /* Kontrast zu den Abschnittsfarben gemessen, große Schrift braucht 3:1 */
.cards-icons .card { align-items: center; text-align: center; padding: 2.8rem 2rem 2.2rem; gap: .65rem; }
.cards-icons .card h3 { font-size: 1.35rem; }
.cards-icons .card .more { flex-direction: column; gap: .8rem; justify-content: center; }
.icon-badge {
  display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 1rem; border-radius: 50%;
  background: var(--grad-soft); color: var(--ink);
  transition: background .2s, transform .2s;
}
.icon-badge .icon { width: 38px; height: 38px; }
.card:hover .icon-badge { background: var(--grad-btn); transform: translateY(-3px); }

/* ---------- Ratgeber ---------- */
.card-date { font-size: .84rem; color: var(--ink-soft); }
.cards:not(.cards-icons) .card .card-date + h3 { margin-top: .1rem; }
.center-link { text-align: center; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.article-meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.article h2 { margin-top: 2.6rem; }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.author-section { padding-bottom: var(--pad); }
.author { display: flex; gap: 1.6rem; align-items: center; background: var(--white); border-radius: var(--radius); padding: 1.8rem 2rem; max-width: 62ch; }
.author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author p { margin: 0; color: var(--ink-soft); }
.author .author-name { font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-bottom: .2rem; }
@media (max-width: 560px) { .author { flex-direction: column; text-align: center; } }

.stand { font-size: .88rem; color: var(--ink-soft); margin-top: 2.2rem; }
.prose .faq h3 { font-size: 1.15rem; margin-top: 1.8rem; }

/* Stimmen (Bewertungen von Kundinnen und Kunden, nur echte und mit Einwilligung) */
.quote { margin: 1.4rem 0; padding: 1.6rem 1.8rem; background: var(--white); border-radius: var(--radius); border-left: 5px solid var(--yellow-400); }
.quote blockquote { margin: 0 0 .8rem; font-size: 1.05rem; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Fragen (aufklappbar, ohne Skript) ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: var(--bg-soft); border-radius: var(--radius); padding: 0 1.7rem; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.3rem 0; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: .55em; height: .55em; margin-top: .45em;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: .8em; }
.faq-item p { margin: 0 0 1.3rem; color: var(--ink-soft); }
.faq-item p.todo-block { color: #5a1f10; }
.faq .faq-list { max-width: none; margin-top: 1.4rem; }
.faq-item ul { margin: 0 0 1.3rem; color: var(--ink-soft); }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 1.9rem); list-style: none; padding: 0; margin: 0; }
.steps li { background: linear-gradient(170deg, #ffffff 0%, #fffaf0 100%); border: 1px solid rgba(255, 190, 110, .38); border-radius: var(--radius); padding: 2.2rem 2rem; }
.steps .no { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--grad-btn); font-family: var(--script); font-weight: 400; font-size: 2.1rem; line-height: 1; padding-top: 4px; margin-bottom: 1rem; }
/* Ziffer links in derselben Zeile wie der Titel, der Text darunter über die ganze Breite */
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; row-gap: .9rem; align-items: center; align-content: start; }
.steps .no { margin-bottom: 0; }
.steps h3 { font-size: 1.25rem; margin: 0; }
.steps p { grid-column: 1 / -1; }
.steps p { margin: 0; color: var(--ink-soft); }
.steps .step-contact { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: .2rem; }
.steps .step-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.steps .step-contact .icon { width: 20px; height: 20px; flex: none; }
.contact-lines { display: grid; gap: .55rem; margin: 0 0 1rem; }
.contact-lines a { display: flex; align-items: flex-start; gap: .6rem; overflow-wrap: anywhere; }
.contact-lines .icon { width: 20px; height: 20px; flex: none; margin-top: .15em; }

/* ---------- Kontaktband ---------- */
.cta-band { padding-block: 0 clamp(1rem, 3vw, 2rem); }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden; background: var(--grad-blue); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(2.8rem, 7vw, 5.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
}
.cta-card::before {
  content: ""; position: absolute; z-index: -1; right: -90px; top: -120px; width: 420px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 150, 60, .6) 0%, rgba(244, 217, 107, 0) 68%);
}
.cta-card h2 { color: var(--white); margin-bottom: .3em; }
.cta-card p { color: #dcdcd8; max-width: 52ch; margin: 0; }
.cta-card > div:first-child { flex: 1 1 420px; }
.cta-card .btn-row { margin-top: 0; }

/* ---------- Karte (Zwei-Klick-Lösung) ---------- */
.map-section { padding-block: clamp(2rem, 5vw, 4rem) 0; }
.map-card { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.map-info { display: flex; flex-direction: column; justify-content: center; }
.map-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-bottom: 0; }
.map-embed { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--yellow-100); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center;
  background: #fbe6a6; }
.map-placeholder p { max-width: 42ch; margin: 0; font-size: .92rem; color: var(--ink-soft); }
.map-pin { width: 44px; height: 44px; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #f4e6c8; border-top: 1px solid rgba(38, 40, 44, .12); color: var(--ink); padding-block: 5rem 1.8rem; font-size: .97rem; margin-top: clamp(1rem, 3vw, 2rem); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--slate); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: .95rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .9rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.foot-brand .brand-name { display: block; font-size: 1.3rem; margin-bottom: .6rem; }
/* Webdesign-Hinweis: eigene Zeile unter Copyright und Rechtstexten */
.foot-credit { flex-basis: 100%; }
.foot-bottom { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid #cfcfca; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Platzhalter (nur im Entwurf sichtbar, rosa damit sie nicht mit dem Gelb der Seite verwechselt werden) ---------- */
.todo { background: #ffdcd2; outline: 2px dashed #d4573a; outline-offset: 2px; padding: 0 .3em; border-radius: 3px; color: #5a1f10; }
.todo-block { display: block; padding: .8rem 1rem; margin: 1rem 0; border-radius: 12px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1280px) {
  .nav-burger { display: block; }
  .header-in { grid-template-columns: 1fr auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + .6rem); justify-self: stretch; display: none;
    background: var(--white); border: 1px solid rgba(38, 40, 44, .12); border-radius: 12px; padding: .8rem;
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a, .nav-label { white-space: normal; padding: .7rem 1rem; }
  .has-sub > .nav-label::after, .has-sub > a::after { display: none; }
  .nav-label { font-weight: 600; color: var(--ink-soft); font-size: .85rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 .4rem .6rem; min-width: 0; background: transparent; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { transform: none; }
}
@media (max-width: 860px) { .split-collage { grid-template-columns: 1fr; } .collage { min-height: 440px; } }
@media (max-width: 560px) {
  .pcards { grid-template-columns: 1fr; }
  .pcard, .pcards-3 .pcard { aspect-ratio: 4 / 3; }
  .pcard h3, .pcard p { min-height: 0; }
  .prices .price h3 { min-height: 0; }
}
@media (max-width: 960px) {
  .hero-card { min-height: 0; display: block; }
  .hero-art { height: 450px; bottom: auto; object-position: 50% 20%; }   /* Foto oben, Text darunter: das Gesicht bleibt frei */
  .hero-in { padding-top: 330px; }
  .head-card.has-photo { grid-template-columns: 1fr; }
  .head-photo { aspect-ratio: 16 / 10; }
  .hero-card::after { background: linear-gradient(180deg, rgba(28, 29, 32, .1) 0, rgba(28, 29, 32, 0) 150px, rgba(28, 29, 32, .7) 300px, rgba(28, 29, 32, .96) 440px, rgba(28, 29, 32, .96) 100%); }
  .split, .layout { grid-template-columns: 1fr; }
  .map-card { grid-template-columns: 1fr; }
  .map-embed { min-height: 300px; }
  .split.flip > :first-child { order: 0; }
  .aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* Schritte: drei Kacheln bleiben bis 641 px nebeneinander; im mittleren Bereich steht die Ziffer über dem Titel */
@media (min-width: 641px) and (max-width: 960px) {
  .steps li { display: block; padding: 1.8rem 1.3rem; }
  .steps .no { width: 48px; height: 48px; font-size: 1.9rem; margin-bottom: 1rem; }
  .steps h3 { font-size: 1.1rem; margin-bottom: .5rem; }
}
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .hero h1 em { font-size: 1.22em; }
  .head-card h1 .nw { font-size: 1.12em; }
  .eyebrow { font-size: 1.35rem; }
  .section-head .eyebrow, .section-head p.eyebrow { font-size: 1.7rem; }
  .section::before, .section::after { width: 380px; height: 380px; }
  .foot-grid { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-card { border-radius: var(--radius-lg); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Doulapakete */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.package { background: var(--white); border: 1px solid rgba(38, 40, 44, .14); border-top: 5px solid #f4b63a; border-radius: var(--radius); padding: 1.8rem; }
.package h4 { margin: 0 0 .3rem; }
.package .price { font-size: 1.9rem; font-weight: 600; margin: 0 0 1rem; }
.package ul { margin: 0; padding-left: 1.2rem; }

/* Kontrast auf den Verläufen */
.box-sun a:not(.btn), .map-embed a { color: var(--ink); }

/* ---------- Ruhige Optik (2026-10-25, Entscheidung Daniel) ----------
   Kleine Rundungen, flache Farben, dünne Linien statt Schatten, leichtere Überschriften.
   Die alte Optik (Verläufe, Lichtflecken, große Rundungen) liegt in docs/design-archiv/ und im Git-Tag design-v1-verlauf. */
.btn { border-radius: 8px; }
.nav-list a { border-radius: 8px; }
.nav-burger { border-radius: 10px; }
.steps .no { border-radius: 8px; }
.pills li { border-radius: 8px; }
.pills .icon { border-radius: 6px; }
.prices .price li::before { border-radius: 2px; }
.pcard .go { border-radius: 8px; }
.prices .price, .steps li, .stats, .faq-item, .box, .inline-photo { border: 1px solid rgba(38, 40, 44, .14); }
.box-sun { border-color: transparent; }
.prices .price.hot { border: 1.5px solid var(--ink); }
.steps li { background: var(--white); }
.faq-item { background: var(--white); }
.collage .c3 { border: 5px solid var(--white); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.012em; }
.hero h1 { letter-spacing: -0.02em; font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.section-head { margin-left: 0; text-align: left; }
.section-head h2::after, .group-title::after { display: none; }
.group-title { text-align: left; }
.eyebrow, .section-head .eyebrow, .section-head p.eyebrow { font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; color: #8a5a00; margin-bottom: .8rem; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: currentColor; vertical-align: middle; margin-right: .7rem; }
.hero .eyebrow { color: #ffe4a8; letter-spacing: .14em; }
.hero .eyebrow::before { display: none; }
.pills-label { text-align: left; }
.pills-center { justify-content: flex-start; }
@media (max-width: 560px) { .eyebrow, .section-head .eyebrow, .section-head p.eyebrow { font-size: .74rem; } }
.head-card::before { display: none; }   /* keine gelbe Kugel mehr im Seitenkopf */

/* ---------- Überschriften in Marcellus (Serife, 2026-10-25) ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; letter-spacing: 0; }
.hero h1 { letter-spacing: 0; }
.stat b, .prices .price .amount { font-family: var(--font); }   /* Zahlen bleiben in Golos */
.prices .price h3, .box h3, .site-footer h2, .nav-list { font-family: var(--font); font-weight: 600; }
.faq-item summary { font-family: var(--font); }

/* ---------- Seitenkopf mit Foto über die volle Breite (2026-10-25) ----------
   Links Text auf Gelb, rechts das Foto bis an den Rand, ohne Rahmen und ohne Rundung. */
.page-head-full { padding-block: .75rem 0; }
.page-head-full > .wrap { width: 100%; max-width: none; margin: 0; }
.page-head-full .head-card.has-photo { border-radius: 0; padding: 0; gap: 0; align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(440px, 41.5vw, 600px); }   /* 15 % höher als zuerst (Wunsch Daniel) */
.page-head-full .head-text { align-self: center; padding: clamp(2.2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2.2rem, 5vw, 4rem) max(1rem, calc((100vw - var(--wrap)) / 2)); }
.page-head-full .head-photo { position: relative; border-radius: 0; aspect-ratio: auto; background: none; margin: 0; }
.page-head-full .head-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .page-head-full .head-card.has-photo { grid-template-columns: 1fr; min-height: 0; }
  .page-head-full .head-text { padding: 2.2rem 1rem; }
  .page-head-full .head-photo { aspect-ratio: 16 / 10; }
}

/* ---------- Schnellkontakt am Seitenrand (Telefon, E-Mail), klappt beim Darüberfahren aus ---------- */
.float-cta { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: grid; gap: .5rem; justify-items: end; }
.fc {
  display: flex; align-items: center; gap: .75rem; width: 52px; height: 52px; padding: 0 0 0 15px; overflow: hidden; white-space: nowrap;
  background: #f4b63a; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 1px solid rgba(38, 40, 44, .16); border-right: 0; border-radius: 10px 0 0 10px; transition: width .25s ease;
}
.fc .icon { width: 22px; height: 22px; flex: none; }
.fc span { opacity: 0; transition: opacity .2s; padding-right: 1rem; }
.fc-tel:hover, .fc-tel:focus-visible { width: 240px; }
.fc-mail:hover, .fc-mail:focus-visible { width: 410px; }
.fc:hover span, .fc:focus-visible span { opacity: 1; }
.fc:hover, .fc:focus-visible { background: #f9c552; }
.fc:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
@media (hover: none), (max-width: 1100px) {   /* Touch und schmale Fenster: nur Symbole unten rechts, kein Ausklappen */
  .float-cta { top: auto; bottom: 1rem; right: .75rem; transform: none; }
  .fc, .fc:hover, .fc:focus-visible { width: 46px; height: 46px; padding: 0; justify-content: center; border-right: 1px solid rgba(38, 40, 44, .16); border-radius: 10px; }
  .fc span { display: none; }
}
@media print { .float-cta { display: none; } }

/* ---------- Startseiten-Hero über die volle Breite (2026-10-25, Wunsch Daniel) ---------- */
.hero { --hero-pad: max(1rem, calc((100vw - var(--wrap)) / 2)); padding-block: .75rem 0; }
.hero > .wrap { width: 100%; max-width: none; margin: 0; }
.hero-card { border-radius: 0; min-height: clamp(560px, 46vw, 760px); }
.hero-art { inset: 0 auto 0 0; width: min(100%, 2400px); object-position: 50% 36%;   /* Foto hat 2400 px (Original vom Handy, 2026-10-27), auf noch breiteren Bildschirmen nicht weiter vergrößern, Rand läuft weich in die dunkle Fläche aus */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 240px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 240px), transparent); }
.hero h1 { hyphens: manual; font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.hero-in { width: min(100%, calc(580px + var(--hero-pad))); max-width: none; padding: clamp(1.6rem, 4vw, 3.2rem) var(--hero-pad) clamp(1.6rem, 4vw, 3.2rem) 1rem; }
@media (min-width: 961px) and (max-width: 1250px) {   /* Text rückt ans Gesicht: stärker abdunkeln (Kontrast gemessen, siehe docs/mockup-design/kontrast-hero.html) */
  .hero-card::after { background: linear-gradient(270deg, rgba(30, 28, 20, .9) 0%, rgba(30, 28, 20, .88) 70%, rgba(30, 28, 20, .3) 100%), linear-gradient(180deg, rgba(28, 29, 32, 0) 55%, rgba(28, 29, 32, .5) 100%); }
}
@media (max-width: 960px) {
  .hero-card { min-height: 0; }
  .hero-in { width: auto; padding: 330px 1rem 2rem; }
  .hero-art { width: 100%; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) { .hero-card { border-radius: 0; } }

/* ---------- Fragen als flache Zeilen mit Trennlinie, breiter (2026-10-25, Wunsch Daniel) ---------- */
.faq-list { gap: 0; border-top: 1px solid rgba(38, 40, 44, .2); }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid rgba(38, 40, 44, .2); border-radius: 0; padding: 0; }
.faq-item summary { padding: 1.35rem 0; font-size: 1.1rem; }
.faq-item p, .faq-item ul { max-width: 70ch; }
.faq-item[open] summary { padding-bottom: .9rem; }
/* Text bleibt bei gut lesbarer Zeilenlänge, Fragen und Fotos nutzen die ganze Spalte */
.layout > .prose { max-width: none; }
.layout > .prose > :where(h2, h3, h4, p, ul, ol) { max-width: 62ch; }

/* ---------- Startseite: sechs Foto-Karten in 3 x 2 (2026-10-25, Wunsch Daniel) ---------- */
.pcards-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcards-6 .pcard { aspect-ratio: 4 / 3; }
.pcards-6 .pcard h3 { min-height: 0; }
.pcards-6 .pcard p { min-height: 4.7em; }
@media (max-width: 900px) { .pcards-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pcards-6 { grid-template-columns: 1fr; } .pcards-6 .pcard p { min-height: 0; } }
