/* ophysis · Designsystem
   Marke: Magenta und Hellgrün aus Logo und Praxisräumen, Fraunces (weich gezeichnete Serife,
   Bezug zur Wortmarke) und Outfit (geometrische Grotesk, Bezug zur Logo-Unterzeile).
   Wiederkehrende Formen: Bogen (Bildrahmen), Logo-Figur, grüner Punkt. */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-soft-latin-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-soft-latin-italic-var.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit-latin-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-page: #f9f6f2;
  --c-white: #ffffff;
  --c-sage: #eef3e5;
  --c-rose: #f8eef4;
  --c-ink: #2a1a2e;
  --c-ink-2: #3a2640;
  --c-muted: #66576a;
  --c-border: #e7ded8;
  --c-border-strong: #d6c9d2;
  --c-brand: #a22686;
  --c-brand-dark: #86196f;
  --c-lime: #7ac141;
  --c-green: #3f7a1f;
  --c-on-ink: #ffffff;
  --c-on-ink-muted: #c6b6c9;
  --c-error: #b42318;
  --c-error-bg: #fdf0ef;

  --font-head: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Outfit', 'Avenir Next', 'Century Gothic', system-ui, sans-serif;

  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-h1: clamp(2.375rem, 1.35rem + 4.1vw, 4.5rem);
  --text-h2: clamp(1.875rem, 1.3rem + 2.3vw, 3.25rem);
  --text-h3: clamp(1.375rem, 1.18rem + 0.8vw, 1.875rem);

  --content-max: 76rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --space-section: clamp(4rem, 8vw, 7.5rem);
  --space-head: clamp(2rem, 4vw, 3.5rem);
  --gap: clamp(1.5rem, 3vw, 3rem);
  --header-h: 4.25rem;

  --r-sm: 0.75rem;
  --r-md: 1.25rem;
  --r-lg: 1.75rem;
  --r-pill: 999px;
  --shadow-soft: 0 18px 40px -18px rgb(42 26 46 / 0.22);
  --shadow-card: 0 1px 2px rgb(42 26 46 / 0.06), 0 10px 30px -14px rgb(42 26 46 / 0.16);
}
@media (min-width: 64rem) {
  :root { --header-h: 5rem; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-ink);
  font: 400 var(--text-body) / 1.65 var(--font-body);
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--c-ink);
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); line-height: 1.06; letter-spacing: -0.02em; }
h2, .section-title { font-size: var(--text-h2); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: var(--text-h3); line-height: 1.22; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; font-weight: 450; color: var(--c-brand); }
address { font-style: normal; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
::selection { background: #f1d2e8; color: var(--c-ink); }

.container { width: min(calc(100% - 2 * var(--gutter)), var(--content-max)); margin-inline: auto; }
.nw { white-space: nowrap; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--c-ink); color: #fff; padding: 0.75rem 1.25rem; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
.anchor-alt { display: block; height: 0; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65em;
  margin: 0 0 1.1rem;
  font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; line-height: 1.3;
  letter-spacing: 0.2em; text-transform: lowercase; color: var(--c-brand);
}
.eyebrow::before {
  content: ''; width: 0.6em; height: 0.6em; flex: none; border-radius: 50%; background: var(--c-lime);
}
.eyebrow-on-ink { color: #f0c9e5; }

.lead { font-size: var(--text-lead); line-height: 1.6; color: var(--c-muted); max-width: 40rem; }

.section { padding-block: var(--space-section); position: relative; }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--space-section); }
.section-white { background: var(--c-white); }
.section-sage { background: var(--c-sage); }
.section-ink { background: var(--c-ink); color: var(--c-on-ink); }
.section-ink h2, .section-ink h3 { color: var(--c-on-ink); }
.section-head { max-width: 46rem; margin-bottom: var(--space-head); }
.section-head .lead { margin-top: 1.1rem; }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: var(--space-head); }
.split-head .section-head { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.8rem 1.6rem;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font: 600 1rem/1.2 var(--font-body); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-brand); color: #fff; }
.btn-primary:hover { background: var(--c-brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: #fff; }
.btn-lime { background: var(--c-lime); color: var(--c-ink); }
.btn-lime:hover { background: #8fd156; color: var(--c-ink); }
.btn-ink { background: var(--c-ink); color: #fff; }
.btn-ink:hover { background: var(--c-ink-2); color: #fff; }
.btn-sm { min-height: 2.75rem; padding: 0.6rem 1.2rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; text-decoration: none; color: var(--c-brand);
}
.link-arrow .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.tag-list li {
  padding: 0.35rem 0.85rem; border-radius: var(--r-pill);
  background: var(--c-rose); color: var(--c-ink); font-size: 0.875rem; font-weight: 500; line-height: 1.4;
}
.tag-list-lg li { background: var(--c-white); border: 1px solid var(--c-border); font-size: 0.9375rem; }
.section-white .tag-list-lg li { background: var(--c-page); }

.dot-list { list-style: none; display: grid; gap: 0.45rem; }
.dot-list li { position: relative; padding-left: 1.35rem; }
.dot-list li::before {
  content: ''; position: absolute; left: 0.1rem; top: 0.62em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c-lime);
}

/* Logo-Figur als Schmuckform */
.figur {
  display: block; aspect-ratio: 231 / 250; background: var(--c-lime);
  -webkit-mask: url('/assets/img/logo-figur.svg') center / contain no-repeat;
  mask: url('/assets/img/logo-figur.svg') center / contain no-repeat;
}

/* Bogenform für Bilder (Bezug: Bogenhausen, runde Formen des Logos) */
.arch { border-radius: 50% 50% var(--r-md) var(--r-md) / 38% 38% var(--r-md) var(--r-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Unschärfe auf einer eigenen Ebene: backdrop-filter am Header selbst würde das fest positionierte
   Mobilmenü an den Header binden (Containing Block) und es unsichtbar machen. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgb(249 246 242 / 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: 0 6px 24px -18px rgb(42 26 46 / 0.35); }
.header-bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; padding-block: 0.4rem; }
.brand img { width: auto; height: 2.6rem; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; }
.main-nav a {
  position: relative; display: block; padding-block: 0.5rem;
  color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: 0.97rem;
}
.main-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 0.38rem; height: 0.38rem; margin-left: -0.19rem;
  border-radius: 50%; background: var(--c-lime); opacity: 0; transform: translateY(4px); transition: opacity 0.18s ease, transform 0.18s ease;
}
.main-nav a:hover { color: var(--c-brand); }
.main-nav a:hover::after, .main-nav a[aria-current='page']::after { opacity: 1; transform: none; }
.main-nav a[aria-current='page'] { color: var(--c-brand); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-phone { display: none; align-items: center; gap: 0.5rem; color: var(--c-ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone .icon { color: var(--c-brand); }
.header-phone:hover { color: var(--c-brand); }
.header-cta { display: none; }
.icon-button, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.7rem;
  border: 1.5px solid var(--c-border-strong); border-radius: var(--r-pill);
  background: var(--c-white); color: var(--c-ink); font: 600 0.9375rem/1 var(--font-body); cursor: pointer; text-decoration: none;
}
.icon-button { color: var(--c-brand); padding: 0; }
.icon-button:hover, .menu-toggle:hover { border-color: var(--c-ink); color: var(--c-ink); }
.menu-toggle { padding-inline: 0.9rem 1rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle-icon .icon { width: 1.25rem; height: 1.25rem; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--c-page); overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid var(--c-border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { display: grid; gap: 0.75rem; padding-block: 1rem 2.5rem; }
.mobile-menu nav ul { list-style: none; margin-bottom: 1rem; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--c-ink); text-decoration: none;
}
.mobile-menu nav a[aria-current='page'] { color: var(--c-brand); }
.mobile-menu-note { margin-top: 0.75rem; color: var(--c-muted); font-size: var(--text-small); }
html.menu-open { overflow: hidden; }

@media (min-width: 64rem) {
  .brand img { height: 3.35rem; }
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .header-call, .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (min-width: 80rem) {
  .header-bar { gap: 2.25rem; }
  .main-nav ul { gap: 2rem; }
  .header-phone { display: inline-flex; margin-right: 0.75rem; }
}

/* ---------- Einstieg ---------- */
.hero { padding-block: clamp(1.25rem, 4vw, 3.5rem) clamp(3.5rem, 7vw, 6rem); overflow-x: clip; }
.hero-grid { display: grid; gap: 2rem; grid-template-areas: 'text' 'media' 'facts'; }
.hero-text { grid-area: text; }
.hero-text h1 { margin-bottom: 1.25rem; max-width: 13ch; }
.hero-text .lead { margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-call { margin-top: 1.1rem; color: var(--c-muted); font-size: var(--text-small); }
.hero-call a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero-call .icon { width: 1rem; height: 1rem; }
.hero-media { grid-area: media; position: relative; margin: 0 0.75rem 0 0; isolation: isolate; }
.hero-media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* zweiter, versetzter Bogen in Hellgrün hinter dem Foto */
.hero-media::before {
  content: ''; position: absolute; z-index: -1; inset: -0.75rem -0.75rem 0.75rem 0.75rem;
  border-radius: 50% 50% var(--r-md) var(--r-md) / 38% 38% var(--r-md) var(--r-md);
  background: var(--c-lime); opacity: 0.55;
}
.hero-card { display: none; }
.facts { grid-area: facts; list-style: none; display: grid; gap: 0.9rem; }
.facts li { display: flex; gap: 0.85rem; align-items: flex-start; line-height: 1.4; }
.facts .icon {
  width: 2.1rem; height: 2.1rem; padding: 0.45rem; border-radius: 50%;
  background: var(--c-sage); color: var(--c-green); stroke-width: 2.4;
}
.facts strong { display: block; font-weight: 600; }
.facts span { color: var(--c-muted); font-size: var(--text-small); }
.facts strong { color: var(--c-ink); font-size: 1rem; }

@media (min-width: 48rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-areas: 'text media' 'facts media';
    column-gap: clamp(2.5rem, 6vw, 6rem); row-gap: 2.5rem; align-items: start;
  }
  .hero-text { padding-top: clamp(1rem, 4vw, 3.5rem); }
  .hero-media img { aspect-ratio: 4 / 5; }
  .hero-media { margin-right: 1.5rem; }
  .hero-media::before { inset: -1.5rem -1.5rem 1.5rem 1.5rem; }
  .hero-card {
    position: absolute; left: -2.25rem; bottom: 2.25rem;
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.85rem 1.25rem 0.85rem 0.85rem; border-radius: var(--r-md);
    background: var(--c-white); box-shadow: var(--shadow-soft); line-height: 1.35;
  }
  .hero-card strong { display: block; font-weight: 600; font-size: 0.9375rem; }
  .hero-card a { font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
  .hero-card-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--c-brand); color: #fff; }
  .hero-card-icon .icon { width: 1.25rem; height: 1.25rem; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: end; gap: 1.25rem; padding-top: 1.75rem; border-top: 1px solid var(--c-border); }
  .facts li { flex-direction: column; gap: 0.6rem; }
}

/* ---------- Schwerpunkte ---------- */
.feature { display: grid; gap: 1.75rem; align-items: center; }
.feature + .feature { margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.feature-media { margin: 0; position: relative; }
.feature-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; }
.feature-title { margin-bottom: 1rem; }
.feature-text > p { max-width: 36rem; }
.feature-text .tag-list { margin: 1.4rem 0 1.25rem; }
.feature-meta { display: flex; align-items: center; gap: 0.6rem; color: var(--c-muted); font-size: var(--text-small); margin-bottom: 1.25rem; }
.feature-meta .icon { color: var(--c-green); }
@media (min-width: 48rem) {
  .feature { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .feature-media img { aspect-ratio: 4 / 5; }
  .feature-reverse .feature-media { order: 2; }
}

/* ---------- Übersicht Therapieangebote ---------- */
.therapy-groups { display: grid; border-top: 1px solid var(--c-border-strong); }
.therapy-group { display: grid; gap: 0.5rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--c-border-strong); }
.therapy-group h3 { font-size: 1.375rem; padding-top: 0.6rem; }
.therapy-group ul { list-style: none; display: grid; }
.therapy-group a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center;
  padding: 0.75rem 0; color: var(--c-ink); text-decoration: none; border-bottom: 1px dashed rgb(42 26 46 / 0.14);
}
.therapy-group li:last-child a { border-bottom: 0; }
.therapy-group .t-name { font-weight: 600; }
.therapy-group .t-kurz { grid-column: 1; color: var(--c-muted); font-size: var(--text-small); line-height: 1.45; }
.therapy-group a .icon { grid-row: 1 / span 2; grid-column: 2; color: var(--c-brand); width: 1.1rem; height: 1.1rem; transition: transform 0.18s ease; }
.therapy-group a:hover .t-name { color: var(--c-brand); }
.therapy-group a:hover .icon { transform: translateX(3px); }
@media (min-width: 48rem) {
  .therapy-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .therapy-group li:nth-last-child(2):nth-child(odd) a { border-bottom: 0; }
}
@media (min-width: 64rem) {
  .therapy-group { grid-template-columns: 17rem 1fr; padding-block: 1.75rem; }
}

/* ---------- Ansatz (dunkel) ---------- */
.approach { overflow: hidden; }
.approach-figur { position: absolute; width: min(34rem, 70vw); right: -8%; bottom: -18%; opacity: 0.07; }
.approach-grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.approach-quote { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--c-lime); }
.approach-quote blockquote { margin: 0; }
.approach-quote p { font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; color: #fff; }
.approach-quote figcaption { margin-top: 0.75rem; color: var(--c-on-ink-muted); font-size: var(--text-small); }
.principles { list-style: none; display: grid; gap: 0; counter-reset: p; }
.principles li { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1rem; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.16); }
.principles li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.16); }
.principle-nr { grid-row: span 2; font-family: var(--font-head); font-size: 1.5rem; color: var(--c-lime); line-height: 1.2; }
.principles h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.principles p { color: var(--c-on-ink-muted); }
@media (min-width: 64rem) {
  .approach-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: start; }
}

/* ---------- Team-Karten ---------- */
.team-grid { display: grid; gap: var(--gap); }
.person-card {
  display: grid; gap: 1.5rem; align-content: start;
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-lg);
  background: var(--c-white); box-shadow: var(--shadow-card);
}
.person-card h3 { margin-bottom: 0.2rem; }
.person-role { color: var(--c-brand); font-weight: 500; margin-bottom: 0.9rem; }
.person-body > p { color: var(--c-muted); }
.person-card .dot-list { margin: 1.1rem 0 1.25rem; }
.person-lang { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--c-muted); font-size: var(--text-small); margin-bottom: 1.25rem; }
.person-lang .icon { color: var(--c-green); margin-top: 0.12rem; }
.monogramm { position: relative; display: grid; place-items: center; width: 5.25rem; height: 5.25rem; border-radius: 50%; background: var(--c-rose); }
.monogramm > span:last-child { font-family: var(--font-head); font-size: 1.75rem; font-weight: 500; color: var(--c-brand); letter-spacing: 0.02em; }
.monogramm .figur { position: absolute; width: 2.1rem; right: -0.6rem; bottom: -0.35rem; }
@media (min-width: 48rem) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 72rem) {
  .person-card { grid-template-columns: auto 1fr; column-gap: 1.75rem; }
}

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--c-sage); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.3rem 0.75rem; border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.92); color: var(--c-ink); font-size: 0.8125rem; font-weight: 500;
}
.g-raumGruen, .g-sideboard { grid-column: span 2; }
.g-raumGruen { aspect-ratio: 4 / 3; }
.g-raumGruen img { object-position: 50% 62%; }
.g-sideboard { aspect-ratio: 3 / 2; }
.g-wartebereich, .g-flur { aspect-ratio: 3 / 4; }
.gallery-team .g-raumFell { grid-column: span 2; aspect-ratio: 3 / 2; }
.gallery-team .g-liege, .gallery-team .g-raumGruen { grid-column: span 1; aspect-ratio: 3 / 4; }
.gallery-team .g-raumGruen img { object-position: 50% 70%; }
@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(14rem, 26vw, 21rem)); gap: 1rem; }
  .gallery figure { aspect-ratio: auto; }
  .g-raumGruen { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .g-raumGruen img { object-position: 50% 55%; }
  .g-sideboard { grid-column: 6 / span 7; grid-row: 1; }
  .g-wartebereich { grid-column: 6 / span 3; grid-row: 2; }
  .g-flur { grid-column: 9 / span 4; grid-row: 2; }
  .g-flur img { object-position: 50% 60%; }
  .gallery-team { grid-template-rows: clamp(16rem, 30vw, 24rem); }
  .gallery-team .g-raumFell { grid-column: 1 / span 6; grid-row: 1; aspect-ratio: auto; }
  .gallery-team .g-liege { grid-column: 7 / span 3; grid-row: 1; aspect-ratio: auto; }
  .gallery-team .g-raumGruen { grid-column: 10 / span 3; grid-row: 1; aspect-ratio: auto; }
}

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; gap: 1.25rem; }
.step { position: relative; padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--r-md); background: var(--c-white); border: 1px solid var(--c-border); }
.step-nr {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; border-radius: 50%;
  border: 1.5px solid var(--c-brand); color: var(--c-brand); font-family: var(--font-head); font-size: 1.25rem; font-weight: 500;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--c-muted); font-size: var(--text-small); line-height: 1.6; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2rem; }
.faq-head .lead a { font-weight: 600; white-space: nowrap; }
.faq { border-top: 1px solid var(--c-border-strong); }
.faq details { border-bottom: 1px solid var(--c-border-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); font-weight: 500; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 2.25rem; height: 2.25rem; padding: 0.5rem; border-radius: 50%; background: var(--c-white); color: var(--c-brand);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq summary:hover { color: var(--c-brand); }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--c-brand); color: #fff; }
.faq-answer { padding: 0 3rem 1.5rem 0.25rem; color: var(--c-muted); max-width: 44rem; }
@media (min-width: 64rem) {
  .faq-grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 5rem; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Abschlussband ---------- */
.cta-band { background: var(--c-lime); color: var(--c-ink); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-grid { display: grid; gap: 1.75rem; align-items: center; }
.cta-title { font-size: var(--text-h2); line-height: 1.1; margin-bottom: 0.6rem; }
.cta-band p { max-width: 34rem; font-size: var(--text-lead); }
.cta-actions { display: grid; gap: 0.75rem; }
.cta-phone {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem 1rem; border-radius: var(--r-md);
  background: rgb(255 255 255 / 0.45); color: var(--c-ink); text-decoration: none; line-height: 1.25; overflow-wrap: anywhere;
}
.cta-phone:hover { background: rgb(255 255 255 / 0.7); color: var(--c-ink); }
.cta-phone .icon { width: 2.5rem; height: 2.5rem; padding: 0.6rem; border-radius: 50%; background: var(--c-ink); color: var(--c-lime); }
.cta-phone small { display: block; font-size: 0.8125rem; font-weight: 500; opacity: 0.8; }
.cta-phone span { font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
@media (min-width: 64rem) {
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; }
  .cta-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-actions .btn { grid-column: span 2; justify-self: start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-on-ink-muted); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: var(--text-small); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--c-lime); }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-logo img { height: 3rem; width: auto; }
.footer-tagline { margin: 0.65rem 0 1rem; color: #fff; letter-spacing: 0.08em; font-size: 0.9375rem; }
.footer-brand p:last-child { max-width: 22rem; }
.footer-title { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-lime); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col address { margin-bottom: 1rem; color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-contact .icon { color: var(--c-lime); width: 1.1rem; height: 1.1rem; }
.footer-col p { margin-bottom: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.14); }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; }
.footer-bottom p { margin: 0; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 3rem; } }

/* ---------- Unterseiten: Kopf ---------- */
.page-hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow-x: clip; }
.page-hero-compact { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.page-hero h1 { margin-bottom: 1.1rem; max-width: 18ch; }
.page-hero-grid { display: grid; gap: 2.5rem; }
.page-hero-figure { margin: 0; }
.page-hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.jump-nav { display: grid; gap: 1.25rem; align-content: start; padding: 1.5rem; border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-card); }
.jump-title { margin-bottom: 0.4rem; font-weight: 600; }
.jump-title a { color: var(--c-ink); text-decoration: none; }
.jump-title a:hover { color: var(--c-brand); }
.jump-group ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.jump-group li a {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: var(--r-pill); background: var(--c-rose);
  color: var(--c-ink); font-size: 0.875rem; font-weight: 500; text-decoration: none; line-height: 1.4;
}
.jump-group li a:hover { background: var(--c-brand); color: #fff; }
.jump-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: 1.5rem; }
.jump-chips a { display: inline-flex; padding: 0.55rem 1.1rem; border-radius: var(--r-pill); border: 1.5px solid var(--c-ink); color: var(--c-ink); font-weight: 600; text-decoration: none; font-size: 0.9375rem; }
.jump-chips a:hover { background: var(--c-ink); color: #fff; }
@media (min-width: 64rem) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
  .page-hero-media { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .page-hero-figure img { aspect-ratio: 4 / 5; }
}

/* ---------- Therapieangebote ---------- */
.tgroup { padding-block: clamp(3.5rem, 7vw, 6rem); }
.tgroup-grid { display: grid; gap: 2rem; }
.tgroup-nr { font-family: var(--font-head); font-size: 1.25rem; color: var(--c-brand); margin-bottom: 0.75rem; }
.tgroup-nr span { color: var(--c-muted); font-size: 1rem; }
.tgroup-aside .lead { margin-top: 0.9rem; }
.tgroup-media { margin: 1.75rem 0 0; max-width: 34rem; }
.tgroup-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; }
#osteopathie-sanft .tgroup-media img { object-position: 50% 8%; }
#physiotherapie-bewegung .tgroup-media img { object-position: 50% 14%; }
#gewebe-entspannung .tgroup-media img { object-position: 50% 62%; }
.tgroup-list { display: grid; }
.therapy { padding-block: 1.75rem; border-top: 1px solid var(--c-border-strong); }
.therapy:first-child { border-top: 0; padding-top: 0; }
.therapy h3 { margin-bottom: 0.35rem; }
.therapy-kurz { color: var(--c-brand); font-weight: 500; margin-bottom: 0.9rem; }
.therapy > p:not(.therapy-kurz) { max-width: 44rem; }
.therapy-bereiche { margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--c-white); border: 1px solid var(--c-border); max-width: 44rem; }
.section-white .therapy-bereiche { background: var(--c-page); }
.therapy-bereiche h4 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 0.65rem; }
.therapy-bereiche .dot-list { gap: 0.35rem; font-size: var(--text-small); }
.therapy-wer { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.1rem; color: var(--c-muted); font-size: var(--text-small); max-width: 44rem; }
.therapy-wer .icon { color: var(--c-green); margin-top: 0.15rem; }
@media (min-width: 64rem) {
  .tgroup-grid { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 5rem; align-items: start; }
  .tgroup-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
  .tgroup-media { max-width: none; margin-top: 2rem; }
  .tgroup-media img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
}

/* ---------- Über uns ---------- */
.profile-grid { display: grid; gap: 2.5rem; }
.profile-head .monogramm { margin-bottom: 1.5rem; }
.profile-head h2 { margin-bottom: 0.35rem; }
.profile-head > p:not(.person-role):not(.person-lang) { color: var(--c-ink); max-width: 38rem; }
.profile-head .person-lang { margin-top: 1.5rem; font-size: 1rem; }
.profile-details h3 { font-size: 1.375rem; margin-bottom: 1.1rem; }
.profile-details h3 + * { margin-bottom: 2.25rem; }
.timeline { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--c-lime); }
.timeline li { position: relative; display: grid; gap: 0.15rem; padding: 0 0 1.1rem 1.4rem; }
.timeline li::before { content: ''; position: absolute; left: -0.45rem; top: 0.45rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--c-page); border: 2px solid var(--c-lime); }
.section-white .timeline li::before { background: var(--c-white); }
.t-zeit { font-weight: 600; color: var(--c-brand); font-size: var(--text-small); font-variant-numeric: tabular-nums; }
.t-text { line-height: 1.5; }
@media (min-width: 64rem) {
  .profile-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; align-items: start; }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-ways { display: grid; gap: 0.75rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--r-md);
  background: var(--c-white); border: 1px solid var(--c-border); color: var(--c-ink); text-decoration: none; line-height: 1.3;
  overflow-wrap: anywhere;
}
a.contact-card:hover { border-color: var(--c-brand); color: var(--c-ink); }
.contact-card small { display: block; color: var(--c-muted); font-size: 0.875rem; margin-bottom: 0.15rem; }
.contact-card strong { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.contact-icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-rose); color: var(--c-brand); }
.contact-card-main { background: var(--c-brand); border-color: var(--c-brand); color: #fff; padding-block: 1.25rem; }
a.contact-card-main:hover { background: var(--c-brand-dark); border-color: var(--c-brand-dark); color: #fff; }
.contact-card-main small { color: #f6d9ee; }
.contact-card-main strong { font-size: 1.5rem; font-family: var(--font-head); font-weight: 500; }
.contact-card-main .contact-icon { background: rgb(255 255 255 / 0.16); color: #fff; }
.contact-note { padding: 1rem 0.25rem 0; color: var(--c-muted); font-size: var(--text-small); }
.contact-note strong { color: var(--c-ink); }
.form-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-card); }
.form-title { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); margin-bottom: 0.5rem; }
.form-intro { color: var(--c-muted); margin-bottom: 1.75rem; }
.form { display: grid; gap: 1.25rem; }
.form[hidden] { display: none; }
.field { display: grid; gap: 0.4rem; align-content: start; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.9875rem; padding: 0; }
.field legend { margin-bottom: 0.4rem; }
.req { color: var(--c-brand); }
.optional { color: var(--c-muted); font-weight: 400; font-size: 0.875rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; border: 1.5px solid var(--c-border-strong); border-radius: var(--r-sm);
  background: var(--c-white); color: var(--c-ink); font: 400 1rem/1.4 var(--font-body); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a22686' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem;
}
.field input::placeholder, .field textarea::placeholder { color: #94869a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8a8b6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgb(162 38 134 / 0.18); }
.field-row { display: grid; gap: 1.25rem; }
.field-hint { color: var(--c-muted); font-size: 0.875rem; margin: 0; }
.field-error { display: flex; gap: 0.4rem; color: var(--c-error); font-size: 0.875rem; font-weight: 500; margin: 0; }
.field-error[hidden] { display: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--c-error); background: var(--c-error-bg); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1.1rem; border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border-strong); background: var(--c-white); font-weight: 500; cursor: pointer; transition: all 0.15s ease;
}
.choice input:hover + span { border-color: #b8a8b6; }
.choice input:checked + span { background: var(--c-rose); border-color: var(--c-brand); color: var(--c-brand-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.form-privacy { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--c-muted); font-size: 0.875rem; margin: 0.25rem 0 0; }
.form-privacy .icon { color: var(--c-muted); width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; }
.form-note { color: var(--c-muted); font-size: 0.8125rem; text-align: center; margin: 0; }
.form-errors { padding: 1rem 1.25rem; border-radius: var(--r-sm); background: var(--c-error-bg); border: 1px solid #f3c1bc; color: var(--c-error); }
.form-errors[hidden] { display: none; }
.form-errors ul { margin: 0.4rem 0 0 1.1rem; }
.form-errors a { color: var(--c-error); font-weight: 600; }
.form-status { padding: 1.5rem; border-radius: var(--r-md); background: var(--c-sage); margin-bottom: 1rem; }
.form-status[hidden] { display: none; }
.form-status h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.4rem; margin-bottom: 0.75rem; }
.form-status h3 .icon { color: var(--c-green); flex: none; }
.form-status.is-error { background: var(--c-error-bg); }
.form-status.is-error h3 .icon { color: var(--c-error); }
.status-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.status-preview { margin: 1.25rem 0 0; padding: 1rem; border-radius: var(--r-sm); background: var(--c-white); font: 0.875rem/1.5 ui-monospace, 'SF Mono', Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 16rem; overflow: auto; }
@media (min-width: 40rem) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3.5rem; }
  .contact-ways { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Anfahrt ---------- */
.anfahrt-grid { display: grid; gap: 2.5rem; align-items: center; }
.anfahrt-adresse { margin: 1.5rem 0; font-size: 1.125rem; line-height: 1.55; }
.transit { list-style: none; display: grid; gap: 0.65rem; margin-bottom: 1.25rem; }
.transit li { display: flex; align-items: center; gap: 0.85rem; }
.transit-badge { display: inline-grid; place-items: center; min-width: 2.6rem; height: 1.9rem; padding: 0 0.5rem; border-radius: 0.45rem; font-weight: 700; font-size: 0.9375rem; color: #fff; }
.transit-train { background: #2d9a4a; }
.transit-bus { background: #12385e; border-radius: var(--r-pill); }
.anfahrt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.map { margin: 0; }
/* Auf dem Handy zeigt der Rahmen den mittleren Ausschnitt vergrößert, damit die Beschriftung lesbar bleibt. */
.map-frame { overflow: hidden; border-radius: var(--r-lg); background: #fbf9f6; box-shadow: var(--shadow-card); }
.map svg { display: block; width: 160%; max-width: none; height: auto; margin-left: -30%; }
@media (min-width: 40rem) { .map svg { width: 100%; margin-left: 0; } }
@media (max-width: 39.99rem) { .karte .k-rand, .karte .k-massstab { display: none; } }
.karte text { font-family: var(--font-body); }
.k-strasse { fill: #6f6072; font-weight: 500; letter-spacing: 0.02em; paint-order: stroke; stroke: #fbf9f6; stroke-width: 3.5px; stroke-linejoin: round; }
.k-haupt { fill: #4a3a4e; font-weight: 600; }
.k-u, .k-badge { fill: #fff; font-weight: 700; }
.k-ort { fill: var(--c-ink); font-weight: 600; paint-order: stroke; stroke: #fbf9f6; stroke-width: 4px; stroke-linejoin: round; }
.k-klein { fill: var(--c-muted); font-weight: 500; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.k-name { font-family: var(--font-head); font-weight: 600; fill: var(--c-ink); }
.map figcaption { margin-top: 0.6rem; color: var(--c-muted); font-size: 0.8125rem; }
.map figcaption a { color: var(--c-muted); }
@media (min-width: 64rem) { .anfahrt-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }

/* ---------- Rechtliches, 404 ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.legal h2:first-child { margin-top: 0; }
.not-found { padding-block: clamp(3rem, 8vw, 7rem); }
.not-found-figur { position: absolute; width: min(22rem, 46vw); right: 4%; bottom: 6%; opacity: 0.14; z-index: -1; }
@media (min-width: 48rem) { .not-found-figur { top: 12%; bottom: auto; opacity: 0.18; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .site-header, .cta-band, .mobile-menu { display: none !important; }
  body { background: #fff; }
}
