/* Sophia Adlmaier · Osteopathie – Gestaltung „Leinen“ mit Lindenblatt und Akzenten aus Entwurf B */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Ersatzschriften mit angeglichenen Maßen, damit beim Nachladen nichts springt */
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"); size-adjust: 89%; ascent-override: 104%; descent-override: 32%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 80%; ascent-override: 116%; descent-override: 36%; line-gap-override: 0%; }
@font-face { font-family: "Jost Fallback"; src: local("Arial"); size-adjust: 96%; ascent-override: 111%; descent-override: 39%; line-gap-override: 0%; }

/* ---------- Farben und Maße ---------- */
:root {
  /* Marke (Lindenblatt) */
  --paper: #fbf8f3;
  --bg: #f4eee6;
  --sand: #e9dece;
  --sand-deep: #d7c5ae;
  --ink: #3b3024;
  --muted: #6f6258;
  --green: #7b8a63;
  --green-dark: #5f6d48;
  --green-deep: #4b5838;
  --green-tint: #e9ecdf;
  /* Warme Akzente aus Entwurf B */
  --clay: #955c41;
  --clay-dark: #7d4b33;
  --rose: #f7e5e1;
  --rose-mid: #efcbc5;
  --rose-ink: #9a4552;
  --butter: #f9f0dc;
  --butter-mid: #efdcaa;
  --butter-ink: #85591a;
  --apricot-mid: #f3d2b9;
  --apricot-ink: #8a4224;
  --sage: #edf0e6;
  --sage-mid: #d4dcc5;

  --line: rgba(59, 48, 36, 0.14);
  --line-strong: rgba(59, 48, 36, 0.24);
  --serif: "Cormorant", "Cormorant Fallback", Georgia, serif;
  --sans: "Jost", "Jost Fallback", system-ui, sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --gutter: clamp(1.5rem, 3.2vw, 3.2rem);
  --radius: 20px;
  --header-h: 76px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.6rem; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; color: var(--clay); }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 40; background: var(--ink); color: var(--paper); padding: 0.7em 1.1em; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* Platzhalter für noch offene Inhalte */
.tbd { background: rgba(149, 92, 65, 0.08); border-bottom: 1px dashed rgba(149, 92, 65, 0.55); padding: 0 0.2em; color: #7a4a33; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.95em 1.7em;
  border-radius: 999px; border: 0;
  background: var(--clay); color: #fff;
  font: 500 0.82rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background 0.25s ease;
}
.btn:hover { background: var(--clay-dark); }
.btn-small { min-height: 44px; padding: 0.8em 1.3em; font-size: 0.74rem; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px;
  font: 500 0.82rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 0.55em;
}
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.text-link:hover { color: var(--clay); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 238, 230, 0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 0;
}
.header-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 2rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 0.75rem; min-height: 44px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--green); stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 500 1.5rem/1 var(--serif); letter-spacing: 0.005em; white-space: nowrap; }
.brand-sub { font: 500 0.62rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--green-dark); margin-top: 0.5em; white-space: nowrap; }
.nav { display: flex; gap: 1.5rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.92rem; text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }

/* Mobile Navigation */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { position: relative; width: 16px; height: 1.5px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); transition: background 0.2s; }
.menu[open] summary { background: var(--paper); }
.menu[open] summary span { background: transparent; box-shadow: none; }
.menu[open] summary span::before, .menu[open] summary span::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.menu[open] summary span::after { transform: rotate(-45deg); }
.menu-panel {
  position: absolute; right: var(--pad); top: calc(100% + 8px);
  width: min(20rem, calc(100vw - 2 * var(--pad)));
  max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto;
  display: flex; flex-direction: column; padding: 0.6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 40px -24px rgba(59, 48, 36, 0.4);
}
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0.4rem 0.9rem; text-decoration: none; font: 500 1.35rem/1.1 var(--serif); border-radius: 10px; }
.menu-panel a:hover { background: var(--sand); }
.menu-panel .menu-contact { margin-top: 0.4rem; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--clay); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-areas: "text figure" "facts figure";
  column-gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  align-items: end;
}
.hero-text { grid-area: text; align-self: center; }
.eyebrow, .kicker, .hero-facts dt, .good-to-know dt {
  font: 500 0.74rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.hero h1 { font-size: clamp(3.4rem, 8.2vw, 7.4rem); line-height: 0.95; margin: 1.4rem 0 1.8rem; letter-spacing: -0.02em; }
.hero h1 em { display: block; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 31rem; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-figure { grid-area: figure; margin: 0; }
.arch { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch { aspect-ratio: 4 / 5.4; }
.hero-arch img { object-position: 50% 20%; }
.hero-facts {
  grid-area: facts;
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 1.6rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 1.2rem 2.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.hero-facts dd { margin-top: 0.35rem; }
@media (min-width: 1181px) { .hero-facts dd { white-space: nowrap; } }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-continue { padding-top: clamp(3rem, 6vw, 5.5rem); }
.section-paper { background: var(--paper); }
.section-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; }
.section-head::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--ink); opacity: 0.3; order: 1; }
.num { font: italic 500 1.25rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--clay); order: 0; }
.kicker { order: 2; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter) clamp(2rem, 6vw, 6rem); align-items: start; }
.split-intro { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.split-intro .prose { margin: 0; }
.prose { font-size: 1.1rem; color: var(--muted); max-width: 34rem; }

/* Osteopathie */
.pillars { margin-top: clamp(3.5rem, 7vw, 5.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); border-top: 1px solid var(--line); }
.pillars li { position: relative; padding-top: 2rem; }
.pillars li + li::before { content: ""; position: absolute; left: calc(var(--gutter) / -2); top: 0; bottom: 0; border-left: 1px solid var(--line); }
.pillars h3 { margin-bottom: 0.8rem; }
.pillars p { color: var(--muted); margin: 0; }

/* Für wen: drei Lebensphasen */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.phase { --tint: var(--sage); --accent: var(--green-dark); padding: 2rem 1.9rem 2.2rem; border-radius: var(--radius); background: var(--tint); }
.phase-rose { --tint: var(--rose); --accent: var(--rose-ink); }
.phase-butter { --tint: var(--butter); --accent: var(--butter-ink); }
.phase-sage { --tint: var(--sage); --accent: var(--green-dark); }
.phase-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.4rem; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 1px 2px rgba(59, 48, 36, 0.06), 0 8px 18px -10px rgba(59, 48, 36, 0.25); }
.phase-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.phase h3 { font-size: 1.75rem; margin-bottom: 0.7rem; }
.phase p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.about-figure { margin: 0; }
.about-figure .arch { aspect-ratio: 4 / 5.2; }
.about-figure img { object-position: 50% 18%; }
.about h2 { margin-bottom: 1.8rem; }
.credentials { margin: 2rem 0; display: grid; gap: 0.6rem; font-size: 0.97rem; }
.credentials li { padding-left: 1.6rem; position: relative; }
.credentials li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.9rem; height: 1px; background: var(--green); }
.personal-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 16px); width: min(100%, 390px); margin: 1.5rem 0 0; padding: 0; list-style: none; }
.personal-photos li { min-width: 0; }
.personal-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.signature { margin: 0; min-height: 3rem; }
.signature img { width: auto; max-width: 240px; height: 80px; }
.signature-pending { display: none; }
.signature.is-pending .signature-pending { display: inline-block; font: italic 500 1.15rem/1 var(--serif); color: var(--muted); border-bottom: 1px dashed var(--line-strong); padding-bottom: 0.3em; }

/* Ablauf */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); text-align: center; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; border-top: 1.5px dashed var(--sand-deep); }
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.3rem;
  border-radius: 50%; background: var(--sage-mid); color: var(--green-deep);
  font: 500 1.6rem/1 var(--serif); font-variant-numeric: lining-nums;
  box-shadow: 0 0 0 8px var(--paper);
}
.step-apricot .step-num { background: var(--apricot-mid); color: var(--apricot-ink); }
.step-rose .step-num { background: var(--rose-mid); color: var(--rose-ink); }
.step-butter .step-num { background: var(--butter-mid); color: var(--butter-ink); }
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 1rem; margin: 0 auto; max-width: 17rem; }
.good-to-know {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.good-to-know-title { display: flex; align-items: center; gap: 0.7rem; margin: 0; font: 500 1.6rem/1.1 var(--serif); white-space: nowrap; }
.good-to-know-title svg { width: 24px; height: 24px; fill: none; stroke: var(--clay); stroke-width: 1.5; stroke-linecap: round; }
.good-to-know dl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem var(--gutter); margin: 0; }
.good-to-know dl > div { min-width: 0; }
.good-to-know dt { color: var(--green-dark); }
.good-to-know dd { margin: 0.4rem 0 0; font-size: 0.98rem; }
.treatment-facts { list-style: disc; padding-left: 1.1rem; margin: 0; display: grid; gap: 0.3rem; }
.treatment-facts li { padding-left: 0.15rem; }
.treatment-facts li::marker { color: var(--clay); }
.treatment-facts-note { margin: 0.8rem 0 0; }

/* Praxis & Anfahrt */
.place { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.place-photo { grid-column: 1 / -1; grid-row: 1; margin: 0; aspect-ratio: 16 / 8.4; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.place-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.place-card {
  grid-column: 1 / span 5; grid-row: 1; z-index: 1;
  margin: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 30px 60px -32px rgba(59, 48, 36, 0.45);
}
.place-card .section-head { margin-bottom: 1.4rem; }
.place-card h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); margin-bottom: 1rem; }
.place-card > p { color: var(--muted); }
.place-list { display: grid; gap: 0.75rem; margin: 1.4rem 0 1rem; }
.place-list li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.98rem; }
.place-list svg { flex: none; width: 22px; height: 22px; margin-top: 0.15em; fill: none; stroke: var(--green-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.place-list small { display: block; color: var(--muted); font-size: 0.88rem; }

/* Häufige Fragen */
.faq-more { margin-top: 1.4rem; color: var(--muted); }
.faq-more a { color: var(--ink); text-decoration-color: var(--green); text-underline-offset: 0.25em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 48px; padding: 1.25rem 0;
  font: 500 1.45rem/1.25 var(--serif); text-wrap: balance;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; content: "+" / ""; flex: none; font: 300 1.6rem/1 var(--sans); color: var(--green-dark); transition: transform 0.25s ease; }
.faq-list summary:hover { color: var(--green-deep); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; max-width: 36rem; }

/* Kontakt */
.contact { background: var(--ink); color: var(--paper); }
.contact .num { color: var(--green-tint); }
.contact .kicker { color: rgba(251, 248, 243, 0.65); }
.contact .section-head::after { background: var(--paper); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--gutter) clamp(2rem, 6vw, 6rem); align-items: end; }
.contact-title { font-size: clamp(3rem, 7.4vw, 6rem); line-height: 0.95; margin-bottom: 1.6rem; }
.contact-title em { color: var(--sand-deep); }
.contact-lead { color: rgba(251, 248, 243, 0.75); max-width: 30rem; margin-bottom: 2rem; }
.contact-items { display: grid; gap: 0.7rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; min-height: 64px; padding: 0.8rem 1.1rem;
  border-radius: 16px; background: rgba(251, 248, 243, 0.07); border: 1px solid rgba(251, 248, 243, 0.14);
  color: var(--paper); text-decoration: none; overflow-wrap: anywhere;
}
a.contact-item { background: var(--paper); color: var(--ink); border-color: var(--paper); transition: background 0.2s; }
a.contact-item:hover { background: #fff; }
.contact-item small { display: block; font: 500 0.66rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.contact-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(251, 248, 243, 0.1); }
a.contact-item .contact-icon { background: var(--green-tint); }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a.contact-item .contact-icon svg { stroke: var(--green-dark); }
.contact .tbd { color: var(--sand); background: rgba(255, 255, 255, 0.07); border-color: rgba(233, 222, 206, 0.5); }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--sand); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(251, 248, 243, 0.62); border-top: 1px solid rgba(251, 248, 243, 0.12); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.2rem; font-size: 0.88rem; }
.brand-light { margin-right: 0; color: var(--paper); }
.brand-light .brand-mark { stroke: var(--paper); stroke-width: 4.6; width: 36px; height: 36px; }
.brand-light .brand-name { font-size: 1.3rem; }
.brand-light .brand-sub { color: rgba(251, 248, 243, 0.6); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
.footer-meta, .disclaimer { flex-basis: 100%; margin: 0; }
.footer-meta { padding-top: 1.2rem; border-top: 1px solid rgba(251, 248, 243, 0.12); }
.disclaimer { font-size: 0.8rem; }
.site-footer .tbd { color: var(--sand); background: rgba(255, 255, 255, 0.06); border-color: rgba(233, 222, 206, 0.4); }

/* ---------- Kontaktfenster: Farben und Kontaktkacheln ---------- */
html .contact-dialog { --contact-green: var(--green); --contact-green-dark: var(--green-dark); }
.contact-dialog .contact-dialog__details { gap: 0.6rem; }
.dialog-item { display: flex; align-items: center; gap: 0.85rem; min-height: 60px; padding: 0.7rem 0.9rem; border-radius: 14px; background: var(--bg); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; font-size: 0.97rem; line-height: 1.4; }
a.dialog-item { transition: background 0.2s; }
a.dialog-item:hover { background: var(--sand); }
.dialog-item small { display: block; font: 500 0.64rem/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dialog-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-tint); }
.dialog-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--green-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Rechtliches ---------- */
.legal { padding-block: clamp(3rem, 8vw, 6rem); }
.legal > * { max-width: 44rem; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin: 2.6rem 0 0.6rem; font-variant-numeric: lining-nums; }
.legal h3 { font-size: 1.2rem; margin: 1.6rem 0 0.4rem; font-variant-numeric: lining-nums; }
.legal-lead { font-size: 1.08rem; }
.legal .legal-lead { color: var(--ink); }
.legal-back { margin-top: 3rem; }
.legal-consent { min-height: 44px; padding: 0; border: 0; background: none; color: var(--clay-dark); font: 500 1rem/1.4 var(--sans); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.legal-consent[hidden] { display: none; }
.legal p, .legal li { color: var(--muted); }
.legal-note { font-size: 0.85rem; margin-bottom: 2rem; }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .hero h1 { font-size: clamp(3.1rem, 7.4vw, 5.6rem); }
  .good-to-know { grid-template-columns: 1fr; }
}
@media (max-width: 1279px) {
  .nav { display: none; }
  .header-inner { display: flex; gap: 0.75rem; }
  .brand { margin-right: auto; }
  .menu { display: block; }
}
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; border-top: 0; }
  .pillars li { padding: 1.6rem 0; border-top: 1px solid var(--line); }
  .pillars li + li::before { display: none; }
  .pillars p { max-width: 38rem; }
  .contact-inner { grid-template-columns: 1fr; align-items: start; }
  .contact-items { max-width: 34rem; }
  .split-intro { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); grid-template-areas: "text figure" "facts facts"; align-items: center; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .place { display: block; }
  .place-photo { aspect-ratio: 16 / 9; }
  .place-card { position: relative; max-width: 34rem; margin: -4.5rem 1.5rem 0; }
}
@media (max-width: 899px) {
  .phases { grid-template-columns: 1fr; gap: 0.9rem; }
  .phase { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 1.3rem; padding: 1.6rem 1.6rem 1.8rem; }
  .phase-icon { grid-row: span 2; margin: 0; }
  .phase h3 { align-self: center; }
}
@media (max-width: 740px) {
  body { font-size: 1rem; }
  :root { --header-h: 66px; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "figure" "facts"; padding-top: 1.6rem; }
  .hero-figure { margin-top: 2.4rem; }
  .hero-arch { aspect-ratio: 4 / 4.8; max-height: 72svh; margin-inline: auto; }
  .hero-facts { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.4rem; }
  .hero-facts > div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
  .hero-facts dd { margin: 0; text-align: right; }
  .split, .about { grid-template-columns: minmax(0, 1fr); }
  .about-figure { order: 1; max-width: 26rem; }
  .steps { grid-template-columns: 1fr; text-align: left; row-gap: 1.6rem; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 1.2rem; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: center; margin-bottom: 0.3rem; }
  .step p { margin: 0; max-width: none; }
  .good-to-know dl { grid-template-columns: minmax(0, 1fr); }
  .good-to-know dl > div:last-child { grid-column: 1 / -1; }
  .place-photo { aspect-ratio: 4 / 3; }
  .place-card { margin: -3rem 0.8rem 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  p, li, dd { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
}
@media (max-width: 479px) {
  .btn-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.28rem; }
  .brand { gap: 0.55rem; }
  .header-inner { gap: 0.5rem; }
  .brand-sub { font-size: 0.54rem; letter-spacing: 0.18em; }
}
@media (max-width: 359px) {
  .brand-sub { display: none; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 1.12rem; }
  .brand { gap: 0.4rem; }
  .header-inner { gap: 0.4rem; }
  .header-inner .btn-small { padding-inline: 12px; font-size: 0.65rem; letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.contact-dialog p, .contact-dialog li { hyphens: manual; -webkit-hyphens: manual; }

/* ---------- Ergänzungen: Kontakt-Button, Hinweis, Kontaktformular ---------- */
.header-cta .btn-icon { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.phases-note { display: flex; align-items: flex-start; gap: 0.7rem; max-width: 46rem; margin: 1.8rem 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.phases-note svg { flex: none; width: 18px; height: 18px; margin-top: 0.2em; fill: none; stroke: var(--clay); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-dialog__main { min-width: 0; }
.contact-dialog__trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-dialog__status { display: none; margin: 0; padding: 0.75rem 0.95rem; border-radius: 12px; background: var(--rose); color: #6e2f3a; font-size: 0.92rem; line-height: 1.5; }
.contact-dialog__status.is-visible { display: block; }
.contact-dialog__status a { color: inherit; font-weight: 500; overflow-wrap: anywhere; }
.contact-dialog .contact-dialog__prepare:disabled { opacity: 0.7; cursor: progress; }
.contact-dialog__hint a { color: inherit; text-decoration-color: var(--green); text-underline-offset: 0.2em; }
.contact-dialog__success { display: grid; justify-items: start; align-content: center; gap: 0.6rem; min-height: 100%; padding: 1rem 0; }
.contact-dialog__success[hidden] { display: none; }
.contact-dialog__success-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-tint); margin-bottom: 0.4rem; }
.contact-dialog__success-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-dialog__success h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.contact-dialog__success h3:focus { outline: none; }
.contact-dialog__success p { color: var(--muted); margin: 0 0 0.8rem; }
@media (max-width: 479px) {
  .header-cta { width: 44px; min-height: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .header-cta .btn-icon { display: block; }
  .header-cta .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand-sub { letter-spacing: 0.12em; }
}
.contact-dialog .contact-dialog__form[hidden] { display: none; }
@media (max-width: 860px) {
  .contact-dialog .contact-dialog__body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-dialog .contact-dialog__details { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (min-width: 641px) and (max-width: 860px) {
  .contact-dialog .contact-dialog__details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-dialog .contact-dialog__details li:last-child { grid-column: 1 / -1; }
}
.contact-dialog .contact-dialog__details li { display: flex; }
.contact-dialog .dialog-item { flex: 1; }
/* Kontaktfenster an die Bausteine der Seite angleichen */
.contact-dialog .contact-dialog__prepare { font: 500 0.82rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 0.95em 1.7em; min-height: 48px; }
.contact-dialog .contact-dialog__field input, .contact-dialog .contact-dialog__field textarea { border-color: var(--sand-deep); border-radius: 12px; background: #fff; }
.contact-dialog .contact-dialog__field input:focus, .contact-dialog .contact-dialog__field textarea:focus { border-color: var(--clay); outline: 2px solid rgba(149, 92, 65, 0.25); outline-offset: 0; }
.contact-dialog .contact-dialog__field [aria-invalid="true"] { border-color: #994833; }

/* Kontaktfenster: Absenden in der Primärfarbe */
.contact-dialog .contact-dialog__prepare { background: var(--clay); border-color: var(--clay); }
@media (hover: hover) { .contact-dialog .contact-dialog__prepare:hover { background: var(--clay-dark); border-color: var(--clay-dark); } }
/* Vorschau: Lindenblatt in Braun über ?logo=braun (zurück mit ?logo=gruen) */
html[data-logo="braun"] .site-header .brand-mark { stroke: var(--clay); }
html[data-logo="braun"] .site-header .brand-sub { color: var(--muted); }

/* Header-Raster: Button rechtsbündig in seiner Spalte */
.header-inner > .header-cta { justify-self: end; }

/* ---------- Namenszug „Flach“ aus dem Branding: Name, darunter HEILPRAKTIKERIN · PRAXIS FÜR OSTEOPATHIE ---------- */
.brand { gap: 0.65rem; }
.brand-name { font-size: 1.5rem; }
.brand-sub { font-size: 0.56rem; letter-spacing: 0.14em; margin-top: 0.7em; }
.brand-title, .brand-focus { white-space: nowrap; }
/* Schmale Bildschirme: Hauptfassung (Heilpraktikerin kursiv, darunter der Schwerpunkt), weil die flache Zeile nicht passt */
@media (max-width: 599px) {
  .site-header .brand-text { line-height: 1; }
  .site-header .brand-name { font-size: 1.24rem; }
  .site-header .brand-sub { margin-top: 0; letter-spacing: 0; text-transform: none; font-size: 1rem; }
  .site-header .brand-dot { display: none; }
  .site-header .brand-title { display: block; margin-top: 0.22rem; font: italic 500 0.74rem/1 var(--serif); color: var(--muted); letter-spacing: 0.01em; }
  .site-header .brand-focus { display: block; margin-top: 0.3rem; font: 500 0.5rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-dark); }
}
@media (max-width: 359px) {
  .site-header .brand-sub { display: none; }
}

/* Footer: Copyright links, Hinweis rechts in derselben Zeile */
.footer-bottom { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.6rem 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(251, 248, 243, 0.12); }
.footer-bottom .footer-meta { flex-basis: auto; padding-top: 0; border-top: 0; }
.footer-bottom .disclaimer { flex-basis: auto; font-size: inherit; text-align: right; }
@media (max-width: 740px) { .footer-bottom { flex-direction: column; } .footer-bottom .disclaimer { text-align: left; } }

.contact-lead a { color: var(--paper); text-decoration-color: rgba(251, 248, 243, 0.5); text-underline-offset: 0.2em; }

/* ---------- Abschluss-QA 25.10.2026 ---------- */
/* F1 Praxis: Foto wächst mit der Karte, Karte bleibt innerhalb */
@media (min-width: 981px) {
  .place { align-items: stretch; }
  .place-photo { aspect-ratio: auto; min-height: clamp(28rem, 44vw, 36.5rem); height: 100%; }
  .place-card { align-self: center; }
}
/* F2 Karten „Für wen“ auf schmalen Handys: Symbol über dem Text, Überschriften ohne Silbentrennung */
.phase h3, .step h3, .booking__title { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 479px) {
  .phase { grid-template-columns: minmax(0, 1fr); padding: 1.4rem 1.3rem 1.6rem; }
  .phase-icon { grid-row: auto; width: 46px; height: 46px; margin: 0 0 1rem; }
}
/* Über mich: Porträt neben dem Text beim Lesen mitlaufen lassen. */
@media (min-width: 741px) {
  .about { align-items: start; }
  .about-figure { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
}
/* F5 Fragen auf Tablets einspaltig */
@media (max-width: 980px) {
  .faq .split { grid-template-columns: minmax(0, 1fr); }
  .faq-more { margin-bottom: 0.5rem; }
}
/* F6 Eckdaten im Startbild: auf kleinen Tablets unter Text und Bild, auf schmalen Handys untereinander */
@media (min-width: 981px) and (max-width: 1180px) {
  .hero { grid-template-areas: "text figure" "facts facts"; align-items: center; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .hero-facts > div { display: block; }
  .hero-facts dd { text-align: left; margin-top: 0.2rem; }
}
/* F7 Footer: Adresse auf dem Handy in eigener Zeile */
@media (max-width: 479px) { .footer-meta .sep { display: none; } .footer-address { display: block; } }
/* F12 Startbild-Aktionen auf schmalen Handys */
@media (max-width: 479px) {
  .actions { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .actions .btn { width: 100%; }
  .actions .text-link { align-self: center; }
}
/* F13 Praxis-Karte auf schmalen Handys breiter */
@media (max-width: 479px) {
  .place-card { margin: -3rem 0 0; padding: 1.5rem 1.3rem; }
  .place-card .section-head::after { flex-basis: 24px; }
}
/* Gut zu wissen: Texte dürfen innerhalb der Karte umbrechen. */
.good-to-know dd { text-wrap: pretty; }
/* F15 Menü: Termin buchen als Button, Unterzeile etwas größer */
.menu-panel .menu-cta { justify-content: center; margin-top: 0.6rem; min-height: 48px; padding: 0.95em 1.4em; border-radius: 999px; color: #fff; font: 500 0.8rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.menu-panel .menu-cta:hover { background: var(--clay-dark); }
@media (max-width: 599px) { .site-header .brand-focus { font-size: 0.56rem; } }
@media (max-width: 380px) { .eyebrow-extra { display: none; } }
.contact-item, .dialog-item, .place-list li { hyphens: manual; -webkit-hyphens: manual; }

/* ---------- Veröffentlichung: Bilder, Gut zu wissen, Einwilligung ---------- */
/* <picture> nur als Hülle für WebP-Varianten – Maße und Zuschnitt bleiben beim <img>. */
picture { display: contents; }
.hero-arch .hero-img { object-position: 62% 30%; }


.footer-consent { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-consent:hover { color: var(--paper); }
.footer-consent[hidden] { display: none; }

/* Einwilligungsbanner: dezent, blockiert nichts, beide Antworten gleich gewichtet. */
.consent {
  position: fixed; z-index: 60; left: 1rem; bottom: 1rem; width: min(26rem, calc(100vw - 2rem));
  padding: 1.3rem 1.4rem 1.2rem; border: 1px solid var(--line-strong); border-radius: 18px;
  background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px -24px rgba(35, 39, 29, 0.45);
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 0.5rem; font: 500 1.35rem/1.2 var(--serif); }
.consent__text { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.consent__text a { color: var(--clay-dark); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.consent__btn {
  min-height: 46px; padding: 0 1rem; border: 1.5px solid var(--clay); border-radius: 999px; background: transparent;
  color: var(--clay-dark); font: 500 0.95rem/1 var(--sans); cursor: pointer; transition: background 0.2s;
}
.consent__btn:hover { background: rgba(149, 92, 65, 0.08); }
.consent__btn:focus-visible { outline: 3px solid var(--clay-dark); outline-offset: 2px; }
@media (max-width: 520px) { .consent { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; width: auto; padding: 1.1rem 1.1rem 1rem; } }

/* Termin buchen: Links im Ablauf und in der Praxis-Karte */
.step p a, .place-list a { color: var(--clay-dark); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.step p a:hover, .place-list a:hover { color: var(--clay); }
