/* =========================================================
   Pegasus Osteopathie – Jasmin Schaaf
   Stylesheet mit Light-/Dark-Mode
   ========================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  --navy-900: #050c24;
  --navy-800: #0a1438;
  --navy-700: #0f1d4f;
  --navy-600: #001a6e;
  --gold-700: #8a6a08;
  --gold-600: #a8820c;
  --gold-500: #c9a227;
  --gold-400: #e2c25a;
  --gold-300: #f5e27a;
  --cream-50: #fffdf8;
  --cream-100: #f7f3ea;
  --cream-200: #efe8d8;

  --gold-gradient: linear-gradient(100deg, #b8900f 0%, #d9b440 45%, #f5e27a 100%);

  /* Light (Standard) */
  --bg: var(--cream-100);
  --bg-alt: var(--cream-200);
  --surface: var(--cream-50);
  --text: #1c2444;
  --text-muted: #4f5674;
  --heading: var(--navy-600);
  --accent: var(--gold-600);
  --accent-strong: var(--gold-700);
  --border: rgba(168, 130, 12, 0.28);
  --shadow: 0 10px 30px -12px rgba(10, 20, 56, 0.22);
  --header-bg: rgba(247, 243, 234, 0.86);
  --placeholder-bg: linear-gradient(135deg, #0f1d4f, #001a6e);
  --mark-bg: rgba(201, 162, 39, 0.18);

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;
  --font-quote: "Cormorant Garamond", Georgia, serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1160px;
  --gutter: 16px;
  --header-h: 72px;

  color-scheme: light;
}

/* Dark – System-Einstellung (sofern nicht manuell auf Light gestellt) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--navy-900);
    --bg-alt: var(--navy-800);
    --surface: #0d1940;
    --text: #e8e3d4;
    --text-muted: #b4b2c0;
    --heading: #f3e6b0;
    --accent: var(--gold-400);
    --accent-strong: var(--gold-300);
    --border: rgba(226, 194, 90, 0.22);
    --shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.7);
    --header-bg: rgba(5, 12, 36, 0.84);
    --mark-bg: rgba(226, 194, 90, 0.16);
    color-scheme: dark;
  }
}

/* Dark – manuell gewählt */
:root[data-theme="dark"] {
  --bg: var(--navy-900);
  --bg-alt: var(--navy-800);
  --surface: #0d1940;
  --text: #e8e3d4;
  --text-muted: #b4b2c0;
  --heading: #f3e6b0;
  --accent: var(--gold-400);
  --accent-strong: var(--gold-300);
  --border: rgba(226, 194, 90, 0.22);
  --shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.7);
  --header-bg: rgba(5, 12, 36, 0.84);
  --mark-bg: rgba(226, 194, 90, 0.16);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); }
p { margin: 0 0 1.1em; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold-500); color: var(--navy-900);
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

.icon {
  width: 1.5em; height: 1.5em;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--fill { fill: currentColor; stroke: none; }
.h-icon { color: var(--accent); vertical-align: -5px; margin-right: 4px; }

/* Platzhalter-Markierung für Texte, die noch ergänzt werden müssen */
.ph {
  background: var(--mark-bg);
  border: 1px dashed var(--accent);
  border-radius: 4px;
  padding: 0 .3em;
  font-style: normal;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
/* Unschärfe auf Pseudo-Element, damit das fixierte Mobil-Menü sich am Viewport ausrichtet */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.site-header .container {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--heading);
  min-width: 0;
}
.brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(.78rem, 3.6vw, 1rem); letter-spacing: .06em; white-space: nowrap;
}
.brand__sub {
  font-family: var(--font-display); font-size: clamp(.6rem, 2.6vw, .7rem);
  letter-spacing: .3em; color: var(--accent); white-space: nowrap;
}
@media (max-width: 400px) {
  .brand { gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .header-actions { gap: 4px; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 340px) {
  .brand__text { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 50%;
  background: transparent; color: var(--heading);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--mark-bg); color: var(--accent-strong); }
.icon-btn .icon { width: 20px; height: 20px; }

/* Theme-Toggle: zeigt Mond im Light-, Sonne im Dark-Mode */
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* Navigation (mobil: Off-Canvas) */
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
.nav-open { overflow: hidden; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { border-bottom: 1px solid var(--border); }
.site-nav a {
  display: block; padding: 16px 4px;
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .06em;
  color: var(--heading); text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta { margin-top: 24px; border: 0; }
.site-nav .nav-cta a { text-align: center; }

@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; visibility: visible; opacity: 1;
    background: none; padding: 0; overflow: visible;
  }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav li { border: 0; }
  .site-nav a {
    padding: 8px 11px; font-size: .86rem; position: relative; white-space: nowrap;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px;
    height: 1px; background: var(--gold-gradient);
    transform: scaleX(0); transition: transform .25s ease;
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta a::after { display: none; }
  .site-header .container { gap: 24px; }
  .header-actions { order: 3; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  letter-spacing: .08em; text-decoration: none; cursor: pointer;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--gold {
  background: var(--gold-gradient); color: var(--navy-900);
  box-shadow: 0 8px 20px -10px rgba(184, 144, 15, .8);
}
.btn--gold:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(184, 144, 15, .9); }
.btn--outline { border-color: var(--accent); color: var(--heading); background: transparent; }
.btn--outline:hover { background: var(--mark-bg); color: var(--heading); }
.on-navy .btn--outline { color: var(--cream-100); border-color: var(--gold-400); }
.on-navy .btn--outline:hover { color: var(--cream-50); }
.site-nav .nav-cta .btn--gold, .site-nav .nav-cta .btn--gold:hover { color: var(--navy-900); }
.site-nav .nav-cta .btn { min-height: 40px; padding: 8px 20px; font-size: .8rem; white-space: nowrap; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero (Startseite) ---------- */
.on-navy {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(245, 226, 122, .12), transparent 60%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-600) 45%, var(--navy-900) 100%);
  color: var(--cream-100);
}
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--cream-50); }

.hero {
  position: relative;
  padding: 48px 0 96px;
  overflow: hidden;
}
.hero::after, .page-hero::after {
  /* goldene Welle wie auf dem Flyer */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px;
  height: 64px;
  background: var(--bg);
  border-top: 3px solid var(--gold-500);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__grid { display: grid; gap: 32px; align-items: center; position: relative; z-index: 1; }
.hero__logo { width: min(100%, 520px); margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.hero__eyebrow {
  font-family: var(--font-display); letter-spacing: .3em; font-size: .8rem;
  color: var(--gold-400); text-transform: uppercase; margin-bottom: 12px;
}
.hero h1 { margin-bottom: .35em; -webkit-hyphens: none; hyphens: none; }
.hero h1 .hero__line { display: block; }
.hero h1 .gold {
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lead { font-size: 1.15rem; color: #d9d6e6; max-width: 34em; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px;
  font-size: .95rem; color: #cfcbe0;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { color: var(--gold-400); width: 1.2em; height: 1.2em; }

@media (min-width: 900px) {
  .hero { padding: 72px 0 128px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .hero__logo { order: 2; }
}

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; text-align: center;
  padding: 56px 0 104px; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__icon { width: 72px; height: 72px; margin: 0 auto 18px; }
.page-hero p { max-width: 40em; margin: 0 auto; color: #d9d6e6; font-size: 1.1rem; }
.page-hero::before {
  content: ""; position: absolute; left: -60px; top: -20px;
  width: 300px; height: 300px;
  background: url("../img/icon.png") center / contain no-repeat;
  opacity: .06;
}

/* ---------- Sektionen ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--text-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--gold-gradient);
}

.lead { font-size: 1.15rem; color: var(--text-muted); }

/* Zweispaltige Text/Bild-Blöcke */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* ---------- Karten ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-muted); margin-bottom: 1em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card__more {
  margin-top: auto; padding-top: 8px;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .08em;
  color: var(--accent); display: inline-flex; align-items: center; gap: 6px;
}
.card__more .icon { width: 1em; height: 1em; }

.badge-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-600));
  color: var(--gold-400);
  border: 1px solid rgba(226, 194, 90, .45);
}
.badge-icon .icon { width: 28px; height: 28px; }

/* Feature-Liste mit Icons (z. B. "Zu jeder Behandlung gehört") */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.feature-list li {
  display: flex; gap: 18px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .badge-icon { margin: 0; width: 54px; height: 54px; flex-shrink: 0; }
.feature-list strong { color: var(--heading); }

/* Check-Liste */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.4 15.6L5.8 11.8l1.6-1.6 3.2 3.2 6-6 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.4 15.6L5.8 11.8l1.6-1.6 3.2 3.2 6-6 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 768px) { .check-list--cols { columns: 2; column-gap: 40px; } .check-list--cols li { break-inside: avoid; } }

/* ---------- Ablauf / Schritte ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 64px 22px 24px; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 18px; left: 22px;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Fünf Schritte: zwei bzw. drei oben, Rest mittig darunter */
@media (min-width: 768px) {
  .steps--5 { grid-template-columns: repeat(4, 1fr); }
  .steps--5 li { grid-column: span 2; }
  .steps--5 li:last-child { grid-column: 2 / 4; }
}
@media (min-width: 1100px) {
  .steps--5 { grid-template-columns: repeat(6, 1fr); }
  .steps--5 li:nth-child(4) { grid-column: 2 / 4; }
  .steps--5 li:last-child { grid-column: 4 / 6; }
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--text-muted); margin: 0; font-size: .98rem; }

/* ---------- Methoden (Leistungsseite) ---------- */
.method {
  display: grid; gap: 28px;
  padding: 40px 0; border-bottom: 1px solid var(--border);
}
.method:last-child { border-bottom: 0; }
.method__head { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.method__head .badge-icon { margin: 0; flex-shrink: 0; }
.method__head h2 { margin: 0; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.method__price {
  display: inline-block; margin-top: 4px;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .06em; color: var(--accent);
}
.method__aside {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); align-self: start;
}
.method__aside h3 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 900px) { .method { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

/* ---------- Preisliste ---------- */
.price-list { list-style: none; padding: 0; margin: 0; }
.price-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.price-item:last-child { border-bottom: 0; }
.price-item .badge-icon { margin: 0; width: 52px; height: 52px; flex-shrink: 0; }
.price-item .badge-icon .icon { width: 24px; height: 24px; }
.price-item__body { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-item__name { font-weight: 700; color: var(--heading); font-size: 1.08rem; }
.price-item__note { display: block; font-size: .9rem; color: var(--text-muted); font-weight: 400; }
.price-item__dots { flex: 1; border-bottom: 2px dotted var(--border); min-width: 20px; transform: translateY(-4px); }
.price-tag {
  flex-shrink: 0;
  background: var(--gold-gradient); color: var(--navy-900);
  font-weight: 800; font-size: 1.05rem;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-tag--soft {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent); font-weight: 700; font-size: .85rem;
}
@media (max-width: 520px) {
  .price-item__dots { display: none; }
  .price-item { align-items: flex-start; }
  .price-item__body { flex-direction: column; gap: 6px; }
}

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow);
}
@media (min-width: 768px) { .panel { padding: 36px 40px; } }
.panel__title {
  margin: -28px -22px 24px; padding: 18px 22px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-600));
  color: var(--gold-300); text-align: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase;
}
@media (min-width: 768px) { .panel__title { margin: -36px -40px 28px; } }

.note { font-size: .92rem; color: var(--text-muted); }

/* ---------- Zitat ---------- */
.quote {
  position: relative; text-align: center; max-width: 760px; margin: 0 auto;
  font-family: var(--font-quote); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 3.4vw, 2rem); line-height: 1.45; color: var(--heading);
  padding: 20px 28px;
}
.quote::before, .quote::after {
  font-family: Georgia, serif; font-size: 4rem; line-height: 1; position: absolute;
  padding: 0 .12em; /* Platz, damit der Goldverlauf das ganze Zeichen füllt */
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote::before { content: "\201C"; left: -14px; top: -16px; }
.quote::after { content: "\201D"; right: -14px; bottom: -44px; }
.script {
  font-family: var(--font-script); font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--accent); line-height: 1.2;
}

/* ---------- Foto-Platzhalter ---------- */
.photo-placeholder {
  position: relative; aspect-ratio: 4 / 3; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--placeholder-bg);
  border: 1px solid rgba(226, 194, 90, .5);
  display: grid; place-items: center; text-align: center;
  color: var(--gold-300); box-shadow: var(--shadow);
}
.photo-placeholder::before {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(226, 194, 90, .35); border-radius: calc(var(--radius-lg) - 8px);
}
.photo-placeholder img.ph-icon { width: 34%; max-width: 160px; opacity: .85; margin: 0 auto 10px; }
.photo-placeholder span {
  display: block; font-family: var(--font-display); font-size: .78rem; letter-spacing: .28em;
  text-transform: uppercase; opacity: .8; padding: 0 20px;
}
.photo-placeholder--portrait { aspect-ratio: 4 / 5; }
.photo { border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; width: 100%; }
.photo--portrait { aspect-ratio: 3 / 4; object-position: center 25%; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 72px 0; }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px;
  background: url("../img/icon.png") center / contain no-repeat; opacity: .07;
}
.cta-band .container { position: relative; }
.cta-band p { color: #d9d6e6; max-width: 36em; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Kontakt ---------- */
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease; min-width: 0;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text); }
.contact-card .badge-icon { margin: 0; flex-shrink: 0; }
.contact-card strong {
  display: block; font-family: var(--font-display); color: var(--heading);
  letter-spacing: .06em; font-size: .95rem;
}
.contact-card span { color: var(--text-muted); overflow-wrap: anywhere; }

/* ---------- Terminbuchung ---------- */
/* Das Theratap-Widget ist für hellen Hintergrund gestaltet – daher immer auf heller Karte */
#booking-widget {
  background: var(--cream-50); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 28px 22px;
}
.booking-contact {
  text-align: center; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.booking-contact h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.booking-contact p { color: var(--text-muted); max-width: 36em; margin: 0 auto 16px; }
.booking-contact .btn-row { justify-content: center; }

/* ---------- Hinweis-Box ---------- */
.callout {
  display: flex; gap: 16px; align-items: flex-start;
  border-left: 4px solid var(--gold-500);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px; box-shadow: var(--shadow);
}
.callout .icon { color: var(--accent); width: 28px; height: 28px; margin-top: 2px; }
.callout p:last-child { margin: 0; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 64px 0 28px; font-size: .97rem; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-gradient);
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
.footer-brand { text-align: center; }
.footer-brand img { width: min(260px, 70%); margin: 0 auto 8px; }
.footer-brand .social { justify-content: center; }
.site-footer h3 {
  font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #e8e3d4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--gold-400); width: 1.2em; height: 1.2em; }
.footer-script { font-family: var(--font-script); font-size: 2rem; color: var(--gold-400); line-height: 1.2; margin: 0; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(226, 194, 90, .45); color: var(--gold-400);
  transition: background-color .2s, color .2s;
}
.social a:hover { background: var(--gold-gradient); color: var(--navy-900); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(226, 194, 90, .2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: .87rem; color: #a9a7bb;
}
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom li { margin: 0; }

/* ---------- Scroll-Einblendung ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
