/* ============================================================
   Dr. Doris Kneissl — Frauenärztin
   Helles, ruhiges Design im "Flowerdose"-Stil mit Rosen-Thema
   ============================================================ */

:root {
  --bg: #e9eae9;            /* äußerer Seitenhintergrund */
  --card: #f5f4f1;          /* Karten / Sektionen */
  --card-soft: #f2ebe9;     /* alternative Kartenfläche, warm rosé */
  --white: #fbfaf8;
  --ink: #1d1c1e;
  --ink-soft: #56525a;
  --plum: #944b9b;          /* Markenfarbe – sparsam als Akzent */
  --plum-dark: #6f3675;
  --rose-light: #f6e7ef;
  --line: #d9d6d1;
  --radius: 26px;
  --shadow: 0 18px 50px rgba(29, 28, 30, 0.08);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Typo-Skala – jede Schriftgröße der Seite kommt von hier */
  --text-xs: 0.75rem;                                    /* 12px  Labels in Versalien */
  --text-sm: 0.9375rem;                                  /* 15px  Navigation, Buttons, Hinweise */
  --text-base: 1.0625rem;                                /* 17px  Fließtext */
  --text-h3: 1.25rem;                                    /* 20px  Karten- und Zwischentitel */
  --text-lead: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);  /* 18–22px  Einleitungen, Zitate */
  --text-h2: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);    /* 28–44px  Sektionstitel */
  --text-display: clamp(3rem, 8.5vw, 7rem);              /* 48–112px Hero */
  --tracking-label: 0.16em;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Große Titel leicht (400), kleine Titel etwas kräftiger (500) */
h1, h2 { font-size: var(--text-h2); line-height: 1.15; }
h3 { font-size: var(--text-h3); line-height: 1.3; font-weight: 500; letter-spacing: 0; }

p { margin: 0 0 1em; }

a { color: var(--ink); }
a:hover { color: var(--plum); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 241, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Startseite: Header liegt über dem Vollbild-Video */
.site-header-overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: rgba(245, 244, 241, 0.42);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.site-header-overlay.is-scrolled {
  background: rgba(245, 244, 241, 0.92);
  box-shadow: 0 1px 0 rgba(29, 28, 30, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  padding: 0.4rem 0;
}

/* Logo: Figur als Bild, Schriftzug als Text – Maße in Einheiten des Original-Logos (1024 × 358) */
.logo {
  --u: calc(46px / 358);
  position: relative;
  display: block;
  width: calc(1024 * var(--u));
  height: calc(358 * var(--u));
  font-family: "Ubuntu", var(--font-sans);
  line-height: 1;
  white-space: nowrap;
}
.logo-fig {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(216 * var(--u));
  height: auto;
}
.logo-line {
  position: absolute;
  left: calc(150 * var(--u));
  top: calc(294 * var(--u));
  width: calc(864 * var(--u));
  height: calc(7 * var(--u));
  border-radius: calc(4 * var(--u));
  background: #cfacd6;
}
.logo-name {
  position: absolute;
  left: calc(213.5 * var(--u));
  top: calc(181.5 * var(--u));
  font-size: calc(112 * var(--u));
  font-weight: 500;
  letter-spacing: -0.023em;
  color: #8d4c98;
}
.logo-sub {
  position: absolute;
  right: calc(-2.5 * var(--u));
  top: calc(297 * var(--u));
  font-size: calc(84 * var(--u));
  font-weight: 500;
  color: #b28fba;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 999px;
  border: none !important;
  transition: background 0.2s;
}

.nav-cta:hover, .nav-cta:focus-visible { background: var(--plum-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}

.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--line);
  }

  .nav-links .nav-cta {
    margin-top: 0.9rem;
    text-align: center;
    border-radius: 14px;
  }

  .nav-open .nav-links { display: flex; }
  .nav-open .nav-toggle .icon-menu { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
}

/* ---------- Vollflächige Sektionen ---------- */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-alt { background: var(--card-soft); }

/* Angebote-Sektion: heller Petrol-Ton */
/* Warmer Sand mit zartem Rosé-Schimmer */
.section-sand {
  position: relative;
  background:
    radial-gradient(55% 45% at 78% 22%, rgba(246, 231, 239, 0.75), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(251, 248, 244, 0.7), transparent 70%),
    #ede3d6;
}

/* Variante: nur der Rosé-Schimmer oben rechts, ohne hellen Fleck unten links */
.section-sand.section-sand-top {
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(246, 231, 239, 0.75), transparent 70%),
    #ede3d6;
}

.section-rose {
  background: linear-gradient(165deg, #faf7f0 0%, #f7efec 55%, #f2ebe9 100%);
}

::selection {
  background: #f0d9e5;
  color: var(--ink);
}

/* ---------- Hero: Vollbild-Video ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #cfc9c6;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 28, 30, 0.22) 0%, rgba(29, 28, 30, 0) 28%),
    linear-gradient(180deg, rgba(29, 28, 30, 0) 38%, rgba(29, 28, 30, 0.34) 70%, rgba(29, 28, 30, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(76px + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}

.hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.hero .hero-eyebrow svg { color: #f6e7ef; }

.hero-title {
  max-width: 11ch;
  margin: 0 0 0.35em;
  color: #fff;
  font-size: var(--text-display);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #f6e7ef;
}

.hero .hero-sub {
  max-width: 40ch;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero .btn-primary {
  background: #fff;
  color: var(--ink);
}

.hero .btn-primary:hover { background: var(--rose-light); color: var(--plum-dark); }

.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.12); }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.6rem;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-scroll:hover { color: #fff; }

.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: linear-gradient(rgba(255, 255, 255, 0.55), transparent);
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: #f6e7ef;
  animation: hero-scrolldown 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes hero-scrolldown {
  0% { top: -50%; }
  100% { top: 100%; }
}

.hero-note {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line::after { animation: none; }
}

/* ---------- Von Frau zu Frau (Glass-Slider + Porträt) ---------- */
.section-vertrauen {
  position: relative;
  overflow: hidden;
  background: #d5d2d3;
}

.vertrauen-bg {
  position: absolute;
  inset: 0;
}

.vertrauen-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(1.12) saturate(0.7) sepia(0.14);
  transform: scale(1.5);
}

/* Warmer Cremeschleier: nimmt dem Rosenvideo die kühlen Töne */
.vertrauen-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 238, 232, 0.42);
}

.vertrauen-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}

/* Glass-Slider (Von Frau zu Frau) */
.vertrauen-slider {
  flex: 0 0 auto;
  width: clamp(300px, 42vw, 560px);
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}

.vertrauen-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.vertrauen-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vertrauen-text {
  width: 100%;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* gleiche Rolle wie ein Sektionstitel (h2) */
.vt-title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--plum);
  line-height: 1.15;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem);
}

.vt-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.3;
  color: var(--plum-dark);
  margin: 0 0 0.75rem;
}

.vertrauen-text p:not(.vt-title):not(.vt-sub) {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

.vertrauen-slider-nav {
  position: absolute;
  bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.vertrauen-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.vertrauen-slider-dot.active { background: #fff; }

/* Porträt-Karte */
.vertrauen-image-wrapper {
  flex: 0 0 auto;
  width: clamp(300px, 42vw, 560px);
  aspect-ratio: 3 / 4;
  position: relative;
}

.vertrauen-image {
  width: 100%;
  height: 100%;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.vertrauen-name-glass {
  position: absolute;
  bottom: clamp(1rem, 2vw, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
  font-family: var(--font-serif);
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: 1.3;
  color: var(--plum);
  white-space: nowrap;
  z-index: 10;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.4;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover { background: var(--plum-dark); color: #fff; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover { border-color: var(--plum); color: var(--plum); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
}

.badge svg { color: var(--plum); flex: none; }

@media (max-width: 900px) {
  .vertrauen-inner {
    flex-direction: column;
  }

  .hero-content { padding-top: calc(76px + 3rem); }
  .hero-note { display: none; }
  .hero .hero-eyebrow { letter-spacing: 0.12em; }

  /* Hochformat: der Text steht höher im Bild – Abdunkelung beginnt früher und ist kräftiger */
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(29, 28, 30, 0.22) 0%, rgba(29, 28, 30, 0) 18%),
      linear-gradient(180deg, rgba(29, 28, 30, 0) 16%, rgba(29, 28, 30, 0.45) 34%, rgba(29, 28, 30, 0.58) 70%, rgba(29, 28, 30, 0.75) 100%);
  }
}

@media (max-width: 480px) {
  .hero-eyebrow-long { display: none; }

  .vertrauen-slider,
  .vertrauen-image-wrapper {
    width: 100%;
    max-width: 460px;
  }

  .vertrauen-slider { aspect-ratio: auto; }
  .vertrauen-slides { height: auto; }
  .vertrauen-slide { height: auto; }

  .vertrauen-text {
    height: auto;
    padding-bottom: 3.5rem;
  }
}

/* ---------- Sektionen ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow,
.section-head .eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
  display: block;
}

.section-head p { color: var(--ink-soft); }

/* Handgezeichnete Rose als Sektions-Trenner */
.rose-divider {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}

.rose-divider path {
  stroke: var(--plum-dark);
  stroke-width: 1.6;
}

.rose-divider .rd-line { opacity: 0.45; }

.rose-divider .rd-bloom {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
}

.section-head.visible .rd-bloom {
  animation: drawRoseBloom 2.2s ease-out 0.2s forwards;
}

@keyframes drawRoseBloom {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rose-divider .rd-bloom {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none !important;
  }
}

/* ---------- Angebote der Ordination ---------- */
.angebote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-items: stretch;
}

.angebote-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.7rem;
  border-radius: 1.9rem;
  background: #fbf8f4;
  border: 1px solid rgba(148, 75, 155, 0.08);
  box-shadow: 0 10px 30px rgba(94, 60, 40, 0.07);
}

/* höhere Spezifität als .reveal / .reveal.visible weiter unten */
.angebote-grid .angebote-box.reveal {
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.angebote-grid .angebote-box.visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(94, 60, 40, 0.12);
}

.angebote-grid .angebote-box:nth-child(3n + 2) { transition-delay: 0.08s; }
.angebote-grid .angebote-box:nth-child(3n + 3) { transition-delay: 0.16s; }
.angebote-grid .angebote-box:hover { transition-delay: 0s; }

/* Zeichnung in einer Rosé-Kachel, wie ein Foto in der Karte */
.angebote-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 11.5rem;
  padding: 1rem;
  overflow: hidden;
  border-radius: 1.35rem;
  background: linear-gradient(155deg, #f6e7ef 0%, #f5e6e0 60%, #f3e8dc 100%);
  transition: background 0.35s ease;
}

.angebote-box:hover .angebote-art {
  background: linear-gradient(155deg, #f2dce8 0%, #f2ded6 60%, #efe1d2 100%);
}

.angebote-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.1rem 1.2rem;
}

.angebote-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  line-height: 1;
  color: var(--plum);
  margin-bottom: 0.7rem;
}

.angebote-box-heading {
  color: var(--ink);
  margin: 0 0 0.65rem;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
}

.angebote-body p {
  margin: 0;
  line-height: 1.65;
  color: var(--ink-soft);
}

.angebote-box-svg {
  width: 100%;
  height: 100%;
  max-height: 9rem;
  position: relative;
}

.angebote-box-svg.svg-capsule { max-height: 7rem; }

/* Linienzeichnungen: Grundzustand unsichtbar, gezeichnet sobald Box sichtbar */
.angebote-box-svg-path,
.angebote-box-svg-path-red {
  stroke-dasharray: 4786.45px;
  stroke-dashoffset: 4786.45px;
  stroke-width: 5px;
  stroke: #7d3a84;
  opacity: 0.85;
}

.angebote-box-svg-path-kinderwunsch {
  stroke-dasharray: 3507.43px;
  stroke-dashoffset: 3507.43px;
  stroke-width: 5px;
  stroke: #7d3a84;
  opacity: 0.85;
}

.angebote-box.visible .angebote-box-svg-path,
.angebote-box.visible .angebote-box-svg-path-red,
.angebote-box.visible .angebote-box-svg-path-kinderwunsch {
  animation: drawAngebotePath 4s ease-in-out infinite alternate;
}

@keyframes drawAngebotePath {
  to { stroke-dashoffset: 0; }
}

/* Hormonmolekül (Bioidente Hormone) */
.svg-molecule .draw {
  opacity: 0.85;
}

.svg-molecule .draw path,
.svg-molecule .draw circle {
  stroke: #7d3a84;
  stroke-width: 8;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}

.angebote-box.visible .svg-molecule .draw path,
.angebote-box.visible .svg-molecule .draw circle {
  animation: drawAngebotePathMolecule 4s ease-in-out infinite alternate;
}

.svg-molecule .draw path:nth-child(2)  { animation-delay: 0.08s; }
.svg-molecule .draw path:nth-child(3)  { animation-delay: 0.16s; }
.svg-molecule .draw path:nth-child(4)  { animation-delay: 0.24s; }
.svg-molecule .draw path:nth-child(5)  { animation-delay: 0.32s; }
.svg-molecule .draw path:nth-child(6)  { animation-delay: 0.40s; }
.svg-molecule .draw path:nth-child(7)  { animation-delay: 0.48s; }
.svg-molecule .draw circle:nth-child(8){ animation-delay: 0.56s; }
.svg-molecule .draw path:nth-child(9)  { animation-delay: 0.64s; }
.svg-molecule .draw path:nth-child(10) { animation-delay: 0.72s; }
.svg-molecule .draw path:nth-child(11) { animation-delay: 0.80s; }
.svg-molecule .draw path:nth-child(12) { animation-delay: 0.88s; }
.svg-molecule .draw path:nth-child(13) { animation-delay: 0.96s; }
.svg-molecule .draw path:nth-child(14) { animation-delay: 1.04s; }
.svg-molecule .draw circle:nth-child(15){ animation-delay: 1.12s; }
.svg-molecule .draw path:nth-child(16) { animation-delay: 1.20s; }

@keyframes drawAngebotePathMolecule {
  to { stroke-dashoffset: 0; }
}

/* Kapsel (Mikroimmuntherapie) */
.svg-capsule .capsule-stroke {
  stroke: #7d3a84;
  opacity: 0.85;
  stroke-width: 4.2;
  fill: none;
}

.svg-capsule .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.svg-capsule .draw-inner {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}

.angebote-box.visible .svg-capsule .draw { animation: drawCapsule 3s ease-in-out infinite alternate; }
.angebote-box.visible .svg-capsule .draw-inner { animation: drawCapsuleInner 3.5s ease-in-out infinite alternate; }

.svg-capsule .d2 { animation-delay: .12s; }
.svg-capsule .d3 { animation-delay: .24s; }
.svg-capsule .d4 { animation-delay: .36s; }
.svg-capsule .d5 { animation-delay: .48s; }

@keyframes drawCapsule { to { stroke-dashoffset: 0; } }
@keyframes drawCapsuleInner { to { stroke-dashoffset: 0; } }

.svg-capsule #capsule {
  animation: capsuleFloat 3.6s ease-in-out infinite;
  transform-origin: 256px 130px;
}

@keyframes capsuleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.svg-capsule .pellet {
  animation: pelletDrift 2.8s ease-in-out infinite;
  transform-origin: center;
}

.svg-capsule .pellet .core { stroke-width: 4.2; }

@keyframes pelletDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.5px); }
}

.svg-capsule .p2 { animation-delay: .15s; }
.svg-capsule .p3 { animation-delay: .3s; }
.svg-capsule .p4 { animation-delay: .45s; }
.svg-capsule .p5 { animation-delay: .6s; }

/* Akkordeon */
.angebote-accordion {
  width: 100%;
  margin-top: 1rem;
  text-align: left;
}

.angebote-accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.angebote-accordion-item:last-child { border-bottom: none; }

.angebote-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: #333;
  text-align: left;
  transition: color 0.3s ease;
}

.angebote-accordion-header:hover { color: #944b9b; }

.angebote-accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #944b9b;
  transition: transform 0.3s ease;
  line-height: 1;
  flex: none;
}

.angebote-accordion-item.open .angebote-accordion-icon { transform: rotate(45deg); }

.angebote-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.angebote-accordion-text {
  padding: 0 0 1rem 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: #666;
}

.angebote-accordion-text p { margin: 0.5rem 0; }

@media (max-width: 1024px) {
  .angebote-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .angebote-grid { grid-template-columns: 1fr; }
  .angebote-art { height: 10rem; }

  /* Mobil: Karten ohne Einblenden/Hochrutschen – sie sind einfach da */
  .angebote-grid .angebote-box.reveal,
  .angebote-grid .angebote-box.visible:hover {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .angebote-box-svg-path,
  .angebote-box-svg-path-red,
  .angebote-box-svg-path-kinderwunsch,
  .svg-molecule .draw path,
  .svg-molecule .draw circle,
  .svg-capsule .draw,
  .svg-capsule .draw-inner {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none !important;
  }

  .svg-capsule #capsule,
  .svg-capsule .pellet { animation: none !important; }

  .angebote-grid .angebote-box.visible:hover { transform: none; }
}

/* ---------- Über mich ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.split-media { position: relative; }

.split-media img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Über mich: Foto oben im Querformat, Text darunter */
.split.split-stacked {
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

.split.split-stacked > * {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.split-media .accent-frame {
  position: absolute;
  inset: -14px auto auto -14px;
  width: 60%;
  height: 60%;
  border: 1.5px solid var(--plum);
  opacity: 0.5;
  border-radius: 18px;
  z-index: -1;
}

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--plum);
  padding-left: 1.2rem;
  margin: 1.4rem 0;
}

.check-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink);
}

.check-list svg {
  flex: none;
  margin-top: 0.3rem;
  color: var(--plum);
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-media { max-width: 420px; margin: 0 auto; }
}

/* ---------- Ordination: Karten-Faecher (wie landonorris.com) ---------- */
#ordination { overflow: hidden; }

/* Drei Fotos im Hochformat nebeneinander */
.ordi-slider {
  --ordi-gap: 1.5rem;
  --ordi-per-view: 3;
  position: relative;
}

.ordi-track {
  display: flex;
  gap: var(--ordi-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 0.75rem 0 1.25rem;
  margin: -0.75rem 0 0;
  outline: none;
}

.ordi-track::-webkit-scrollbar { display: none; }

.ordi-track:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 6px;
  border-radius: 2.25rem;
}

.ordi-slide {
  flex: 0 0 calc((100% - (var(--ordi-per-view) - 1) * var(--ordi-gap)) / var(--ordi-per-view));
  margin: 0;
  scroll-snap-align: start;
}

.ordi-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 2.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.ordi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.ordi-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.ordi-arrow:hover,
.ordi-arrow:focus-visible {
  border-color: var(--plum);
  color: var(--plum);
  background: var(--rose-light);
  transform: translateY(-1px);
}

.ordi-dots {
  display: flex;
  gap: 0.5rem;
}

.ordi-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--plum);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.ordi-dot.active {
  background: var(--plum);
  transform: scale(1.15);
}

@media (max-width: 1024px) {
  .ordi-slider { --ordi-gap: 1.1rem; --ordi-per-view: 2; }
  .ordi-slide img { border-radius: 1.8rem; }
}

@media (max-width: 700px) {
  .ordi-slider { --ordi-per-view: 1; }
  .ordi-slide { flex-basis: 84%; }
  .ordi-slide img { border-radius: 1.6rem; }
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.8rem;
}

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.contact-card h3 svg { color: var(--plum); }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.contact-list svg {
  flex: none;
  margin-top: 0.25rem;
  color: var(--plum);
}

.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
}

.hours-table td {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}

.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.hours-note {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.kassen-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rose-light);
  color: var(--plum-dark);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  margin-top: 1.2rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #d5d2d3;
  color: var(--ink);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 44%;
}

.footer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.footer-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #d5d2d3 0%, rgba(213, 210, 211, 0) 35%);
  pointer-events: none;
}

.site-footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  max-width: 58%;
}

@media (max-width: 900px) {
  /* Mobil: Rosen als Abschluss ganz unten, oben weich in den Footer übergeblendet */
  .site-footer {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .footer-media {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    margin-top: 1.5rem;
  }

  .footer-media img {
    height: auto;
    aspect-ratio: 1451 / 1084;
    max-height: 340px;
  }

  .footer-media::before {
    background: linear-gradient(to bottom, #d5d2d3 0%, rgba(213, 210, 211, 0) 35%);
  }

  .footer-grid { max-width: 100%; }
}

.site-footer h3 { color: var(--ink); }

.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--plum); }

.site-footer p,
.footer-nav { font-size: var(--text-sm); }

.site-footer p { color: var(--ink-soft); }

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page-main { padding: 2rem 0 3rem; }

.page-main .prose {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem clamp(1.4rem, 4vw, 3rem);
  margin: 0 auto;
}

.prose h2 { font-size: var(--text-h3); line-height: 1.3; font-weight: 500; letter-spacing: 0; margin-top: 2rem; }
.prose p { color: var(--ink); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2rem;
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* ---------- Einblend-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
