/* =============================================================
   MIO Medizin in Ober St. Veit – Stylesheet
   ============================================================= */

:root {
  --navy: #1E3A4C;
  --navy-soft: #2C4A5C;
  --sage: #A8B5A3;
  --sage-deep: #8FA088;
  --cream: #FBFAF7;
  --cream-deep: #F2EDE3;
  --warm-white: #F8F6F0;
  --ink: #1F2937;
  --ink-soft: #4B5563;
  --gray: #9CA3AF;
  --line: #E7E2D6;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* =========== HEADER =========== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo-image { display: block; height: 56px; width: auto; }
.logo-link { display: inline-block; line-height: 0; }

nav.main-nav { display: flex; gap: 36px; align-items: center; }
nav.main-nav a {
  color: var(--ink); text-decoration: none; font-size: 15px;
  font-weight: 400; transition: color 0.2s;
}
nav.main-nav a:hover, nav.main-nav a.is-active { color: var(--navy); }
nav.main-nav a.is-active { font-weight: 500; }

/* =========== BUTTONS =========== */
.btn-primary {
  background: var(--navy); color: var(--cream);
  padding: 12px 24px; border-radius: 4px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; transition: all 0.25s;
  display: inline-block; border: 1px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-soft); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 58, 76, 0.18);
}
.btn-outline {
  background: transparent; color: var(--navy);
  padding: 12px 24px; border: 1px solid var(--navy);
  border-radius: 4px; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: all 0.25s; display: inline-block;
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* =========== HOME HERO – Cinematic Full-Width =========== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}
.hero-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
}
.hero-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Subtiler Gradient links unten, damit der Text-Block gut lesbar bleibt */
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 30, 40, 0.32) 0%,
    rgba(20, 30, 40, 0.18) 30%,
    rgba(20, 30, 40, 0)    55%
  );
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}
.hero-overlay-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 72px;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}
.hero h1 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}
.hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.hero .btn-primary:hover {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.hero .btn-outline:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* =========== SECTION HEADINGS =========== */
.section-eyebrow {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); text-align: center; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400; line-height: 1.1;
  color: var(--navy); text-align: center;
  letter-spacing: -0.015em; margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--navy-soft); }
.section-lead {
  font-size: 17px; color: var(--ink-soft);
  text-align: center; max-width: 640px; margin: 0 auto 64px;
  line-height: 1.7;
}

/* =========== WELCOME (Startseite) =========== */
.welcome {
  padding: 120px 0;
  background: var(--cream);
  text-align: center;
}
.welcome-inner { max-width: 780px; margin: 0 auto; }
.welcome-eyebrow {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 28px;
}
.welcome h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 400; line-height: 1.1;
  color: var(--navy); letter-spacing: -0.015em;
  margin-bottom: 48px;
}
.welcome h2 em { font-style: italic; color: var(--navy-soft); }
.welcome-divider {
  width: 48px; height: 1px; background: var(--sage);
  margin: 0 auto 48px;
}
.welcome p {
  font-size: 19px; color: var(--ink-soft);
  line-height: 1.75; margin-bottom: 24px;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.welcome p:last-child { margin-bottom: 0; }

/* =========== TEAM (Startseite) =========== */
.team { padding: 120px 0; background: var(--cream-deep); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.team-card {
  text-decoration: none; color: inherit;
  display: block; transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  aspect-ratio: 1; overflow: hidden;
  border-radius: 2px; margin-bottom: 16px;
  background: var(--line);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-info h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
  color: var(--navy); letter-spacing: -0.005em;
  margin-bottom: 4px; line-height: 1.25;
}
.team-info p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* =========== LEISTUNGEN (Startseite + eigene Seite) =========== */
.leistungen { padding: 120px 0; background: var(--navy); color: var(--cream); }
.leistungen .section-eyebrow { color: var(--sage); }
.leistungen .section-title { color: var(--cream); }
.leistungen .section-title em { color: var(--sage); }
.leistungen .section-lead { color: rgba(251, 250, 247, 0.75); }
.leistungen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(168, 181, 163, 0.22);
  border-left: 1px solid rgba(168, 181, 163, 0.22);
}
.leistung {
  padding: 36px 32px;
  border-right: 1px solid rgba(168, 181, 163, 0.22);
  border-bottom: 1px solid rgba(168, 181, 163, 0.22);
  transition: background 0.3s;
}
.leistung:hover { background: rgba(168, 181, 163, 0.06); }
.leistung-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--sage); margin-bottom: 16px;
}
.leistung h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  color: var(--cream); margin-bottom: 12px;
}
.leistung p { font-size: 15px; color: rgba(251, 250, 247, 0.7); line-height: 1.6; }

/* =========== KOOPERATIONSPARTNER (Startseite) =========== */
.partner { padding: 120px 0; background: var(--cream-deep); }
.partner .section-lead { margin-bottom: 24px; }
.partner-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(30, 58, 76, 0.12);
  border-left: 1px solid rgba(30, 58, 76, 0.12);
}
.partner-card {
  padding: 32px 28px;
  border-right: 1px solid rgba(30, 58, 76, 0.12);
  border-bottom: 1px solid rgba(30, 58, 76, 0.12);
  transition: background 0.3s;
}
.partner-card:hover { background: rgba(168, 181, 163, 0.08); }
.partner-field {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--sage-deep);
  margin-bottom: 14px;
}
.partner-list { list-style: none; padding: 0; margin: 0; }
.partner-list li {
  font-size: 15px; color: var(--ink);
  line-height: 1.5; margin-bottom: 8px;
}
.partner-list li:last-child { margin-bottom: 0; }
.partner-list a {
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}
.partner-list a:hover { border-bottom-color: var(--sage); }

/* =========== KONTAKT (Startseite + eigene Seite) =========== */
.kontakt { padding: 120px 0; background: var(--cream); }
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: 1100px; margin: 0 auto;
}
.kontakt-info h3 {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 12px;
}
.kontakt-info p { font-size: 18px; color: var(--ink); line-height: 1.6; margin-bottom: 32px; }
.kontakt-info a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--sage); }
.kontakt-info a:hover { color: var(--navy-soft); }
.hours-list { font-size: 16px; color: var(--ink-soft); line-height: 1.85; }
.hours-list strong { color: var(--ink); font-weight: 500; display: inline-block; width: 110px; }

/* =========== DOKTOR-PROFIL =========== */
.doctor-hero {
  padding: 80px 0 100px;
  background: linear-gradient(to bottom, var(--cream) 0%, var(--cream-deep) 100%);
}
.doctor-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.doctor-portrait {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(30, 58, 76, 0.25);
}
.doctor-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor-eyebrow {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 24px;
}
.doctor-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400; line-height: 1.05;
  color: var(--navy); letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.doctor-name em { font-style: italic; color: var(--navy-soft); }
.doctor-credentials {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--navy-soft);
  margin-bottom: 32px;
  line-height: 1.4;
}
.doctor-quick-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* =========== DOCTOR-HERO STACKED (Slider-Variante) =========== */
.doctor-hero-stacked { display: flex; flex-direction: column; }
.doctor-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(30, 58, 76, 0.25);
  background: var(--cream-deep);
}
.doctor-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.doctor-slide.active { opacity: 1; pointer-events: auto; }
.doctor-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Gradient von unten, damit der Name lesbar bleibt */
.doctor-slider::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 30, 40, 0.62) 0%,
    rgba(20, 30, 40, 0.30) 28%,
    rgba(20, 30, 40, 0) 58%
  );
  pointer-events: none;
  z-index: 1;
}
.doctor-slider-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 48px;
  z-index: 2;
}
.doctor-slider-caption .doctor-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
}
.doctor-slider-caption .doctor-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.38);
  margin-bottom: 10px;
}
.doctor-slider-caption .doctor-credentials {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(16px, 1.55vw, 20px);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  line-height: 1.35;
  max-width: 640px;
  margin-bottom: 0;
}
.doctor-slider-dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 22px;
}
.doctor-slider-dot {
  width: 9px; height: 9px;
  padding: 0; border-radius: 50%;
  background: var(--line);
  border: 1px solid var(--sage);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.doctor-slider-dot:hover { background: var(--sage); }
.doctor-slider-dot.active {
  background: var(--sage-deep);
  transform: scale(1.25);
}
.doctor-intro {
  text-align: center;
  max-width: 640px;
  margin: 44px auto 0;
}
.doctor-intro .doctor-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--navy-soft);
  line-height: 1.45;
  max-width: 560px;
  margin: 0 auto;
}
.doctor-intro .doctor-quick-cta { justify-content: center; margin-top: 28px; }

/* Hero ohne Bild (z. B. Dr. Neiss) */
.doctor-intro-noimage {
  margin-top: 24px;
  margin-bottom: 12px;
  max-width: 720px;
}
.doctor-intro-noimage .doctor-name {
  font-size: clamp(34px, 4.5vw, 52px);
  margin-bottom: 14px;
}
.doctor-intro-noimage .doctor-credentials {
  max-width: 640px;
  margin: 0 auto 24px;
}
.doctor-intro-noimage .doctor-quote { margin-top: 8px; }

/* =========== EINZELBILD-HERO MIT TEXT-OVERLAY =========== */
.doctor-hero-single {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(30, 58, 76, 0.25);
  background: var(--cream-deep);
}
.doctor-hero-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.doctor-hero-single::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 30, 40, 0.62) 0%,
    rgba(20, 30, 40, 0.30) 28%,
    rgba(20, 30, 40, 0) 58%
  );
  z-index: 1;
}
.doctor-hero-single .doctor-slider-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 48px;
  z-index: 2;
}
@media (max-width: 700px) {
  .doctor-hero-single { aspect-ratio: 4/5; }
  .doctor-hero-single .doctor-slider-caption { padding: 28px 24px; }
}

/* Breite Querformat-Bilder (z.B. 2:1) */
.doctor-hero-single.doctor-hero-wide {
  aspect-ratio: 16/9;
}
.doctor-hero-single.doctor-hero-wide img {
  object-position: center 30%;
}
@media (max-width: 700px) {
  .doctor-hero-single.doctor-hero-wide { aspect-ratio: 4/5; }
}

/* Rundes Porträt-Badge auf dem Hero-Bild */
.doctor-hero-portrait-badge {
  position: absolute;
  bottom: 28px;
  right: 36px;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 12px 32px -8px rgba(20, 30, 40, 0.45);
  z-index: 3;
}
.doctor-hero-portrait-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
@media (max-width: 700px) {
  .doctor-hero-portrait-badge {
    width: 124px;
    height: 124px;
    bottom: 18px;
    right: 18px;
    border-width: 4px;
  }
}

.doctor-section { padding: 100px 0; }
.doctor-section + .doctor-section { padding-top: 0; }
.doctor-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400; color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  line-height: 1.15;
}
.doctor-section h2 em { font-style: italic; color: var(--navy-soft); }
.doctor-text p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 760px;
}
.doctor-text p:last-child { margin-bottom: 0; }
.doctor-text h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 44px 0 16px;
}
.doctor-text h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 26px 0 10px;
}
.doctor-text h3 + h4 { margin-top: 16px; }
.doctor-text > *:first-child { margin-top: 0; }

.schwerpunkte-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.schwerpunkt.schwerpunkt-full {
  grid-column: 1 / -1;
}
.schwerpunkt.schwerpunkt-full ul {
  columns: 2;
  column-gap: 40px;
}
@media (max-width: 700px) {
  .schwerpunkt.schwerpunkt-full ul { columns: 1; }
}
.schwerpunkt {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.schwerpunkt h3 {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 500; color: var(--navy);
  margin-bottom: 16px;
}
.schwerpunkt ul { list-style: none; }
.schwerpunkt li {
  font-size: 15px; color: var(--ink-soft);
  padding: 5px 0;
  line-height: 1.45;
}

/* =========== LEISTUNGS-DETAILSEITEN =========== */
.leistung-faq { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
}
.faq-question:hover { color: var(--navy-soft); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--sage-deep);
  transition: transform 0.3s ease;
}
.faq-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 2px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%; top: 0;
  width: 2px; height: 100%;
  transform: translateX(-50%);
}
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 28px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 720px;
}
.faq-answer-inner p { margin-bottom: 14px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* Inhaltsverzeichnis auf Detailseiten */
.knie-toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 24px;
}
.knie-toc-link {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s, padding-left 0.2s;
}
.knie-toc-link:hover {
  color: var(--sage-deep);
  padding-left: 6px;
}
@media (max-width: 700px) {
  .knie-toc { grid-template-columns: 1fr; }
}

/* =========== LEBENSLAUF / VITA =========== */
.vita-credentials {
  margin-bottom: 36px;
}
.vita-credentials p {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy-soft);
  line-height: 1.5;
  margin-bottom: 4px;
}
.vita-block + .vita-block { margin-top: 36px; }
.vita-block h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 18px;
}
.vita-list {
  list-style: none;
  margin: 0; padding: 0;
}
.vita-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.vita-list li:last-child { border-bottom: 1px solid var(--line); }
.vita-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 22px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
}
.vita-inline {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.vita-inline strong {
  color: var(--navy);
  font-weight: 600;
}

/* =========== EMTT-BILDER =========== */
.emtt-image {
  width: 100%;
  margin: 0 0 8px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(30, 58, 76, 0.28);
}
.emtt-image img {
  width: 100%;
  height: auto;
  display: block;
}
.emtt-image-caption {
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 56px;
}
.emtt-image-inline {
  max-width: 420px;
  margin: 32px auto 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 18px 44px -20px rgba(30, 58, 76, 0.25);
}
.emtt-image-inline img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========== SPEKTRUM-LINKS (Krankheitsbilder) =========== */
.spektrum-link {
  transition: color 0.15s ease;
}
.spektrum-link:hover {
  color: var(--sage-deep) !important;
}
/* Ziel-Abschnitte nicht hinter dem fixen Header verstecken */
.doctor-section[id] {
  scroll-margin-top: 96px;
}

.sprechzeiten-box {
  background: var(--warm-white);
  padding: 48px;
  border-left: 3px solid var(--sage);
  max-width: 640px;
}
.sprechzeiten-box h3 {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 20px;
}
.sprechzeiten-box .hours-list { font-size: 17px; }
.sprechzeiten-box .hours-list strong { width: 120px; }

/* =========== DOCTOR SCENES GALLERY =========== */
.scenes-section {
  padding: 100px 0;
  background: var(--warm-white);
}
.scenes-section .narrow h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400; color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.scenes-section .narrow h2 em { font-style: italic; color: var(--navy-soft); }
.scenes-section .narrow > p {
  font-size: 17px; color: var(--ink-soft);
  margin-bottom: 56px;
  max-width: 580px;
  line-height: 1.7;
}

.scenes-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.scenes-grid figure {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream-deep);
}
.scenes-grid img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.8s ease;
}
.scenes-grid figure:hover img {
  transform: scale(1.03);
}

/* 4-Bild-Layout: 2 große Querformate oben, 2 quadratische unten */
.scenes-grid .s1 { grid-column: 1 / 8;  aspect-ratio: 4/3; }
.scenes-grid .s2 { grid-column: 8 / 13; aspect-ratio: 4/5; grid-row: 1 / 3; }
.scenes-grid .s3 { grid-column: 1 / 5;  aspect-ratio: 1/1; }
.scenes-grid .s4 { grid-column: 5 / 8;  aspect-ratio: 1/1; }

/* 3-Bild-Layout: drei gleich große Querformate nebeneinander */
.scenes-grid.scenes-grid-3 { grid-template-columns: repeat(3, 1fr); }
.scenes-grid.scenes-grid-3 figure { aspect-ratio: 3/2; grid-column: auto; }
@media (max-width: 700px) {
  .scenes-grid.scenes-grid-3 { grid-template-columns: 1fr; }
}

/* =========== AUSZEICHNUNGEN =========== */
.auszeichnung-image {
  max-width: 680px;
  margin: 8px auto 0;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.auszeichnung-image img {
  width: 100%;
  height: auto;
  display: block;
}
.info-box {
  max-width: 760px;
  margin: 8px auto 0;
  padding: 28px 32px;
  background: var(--cream-deep);
  border-radius: 4px;
}
.info-box h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 12px;
}
.info-box p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

.booking-cta {
  padding: 100px 0;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}
.booking-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400; color: var(--cream);
  margin-bottom: 16px;
}
.booking-cta h2 em { font-style: italic; color: var(--sage); }
.booking-cta p {
  font-size: 17px;
  color: rgba(251, 250, 247, 0.75);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.booking-cta .btn-primary {
  background: var(--cream); color: var(--navy); border-color: var(--cream);
}
.booking-cta .btn-primary:hover {
  background: var(--sage-pale, #DCE3D4); color: var(--navy);
  box-shadow: 0 6px 20px rgba(168, 181, 163, 0.25);
}

/* =========== PAGE HERO (für Sub-Pages wie Leistungen, EMTT, Raummiete, Kontakt) =========== */
.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(to bottom, var(--cream) 0%, var(--cream-deep) 100%);
  text-align: center;
}
.page-hero .eyebrow {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400; line-height: 1.05;
  color: var(--navy); letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 880px; margin-left: auto; margin-right: auto;
}
.page-hero h1 em { font-style: italic; color: var(--navy-soft); }
.page-hero p {
  font-size: 18px; color: var(--ink-soft);
  line-height: 1.7;
  max-width: 640px; margin: 0 auto;
}

/* =========== PRAXIS GALERIE (Raummiete) =========== */
.praxis-gallery {
  padding: 80px 0 120px;
  background: var(--cream);
}
.praxis-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.praxis-grid img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 2px;
}
.gp-1 { grid-column: 1 / 13; aspect-ratio: 21/9; overflow: hidden; }
.gp-2 { grid-column: 1 / 7;  aspect-ratio: 4/3;  overflow: hidden; }
.gp-3 { grid-column: 7 / 13; aspect-ratio: 4/3;  overflow: hidden; }
.gp-4 { grid-column: 1 / 13; aspect-ratio: 21/9; overflow: hidden; }
.gp-5 { grid-column: 1 / 9;  aspect-ratio: 16/10; overflow: hidden; }
.gp-6 { grid-column: 9 / 13; aspect-ratio: 4/5;  overflow: hidden; }

/* =========== STANDARD TEXT-PAGE (Impressum, Datenschutz) =========== */
.text-page { padding: 80px 0 120px; background: var(--cream); }
.text-page .content {
  max-width: 760px; margin: 0 auto;
  font-size: 16px; color: var(--ink-soft); line-height: 1.75;
}
.text-page h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 32px;
}
.text-page h2 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500; color: var(--navy);
  margin-top: 48px; margin-bottom: 16px;
}
.text-page p { margin-bottom: 16px; }
.text-page a { color: var(--navy); border-bottom: 1px solid var(--sage); text-decoration: none; }
.text-page a:hover { color: var(--navy-soft); }
.text-page strong { color: var(--ink); font-weight: 500; }

/* =========== DOCTIFY TRUST SECTION =========== */
.doctify-section {
  background: var(--warm-white);
  padding: 56px 0 64px;
  border-top: 1px solid rgba(30, 58, 76, 0.08);
}
.doctify-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  text-align: center;
  margin-bottom: 28px;
}
.doctify-widget {
  display: block;
  width: 100%;
  border: 0;
}
.reviews-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.reviews-stars {
  display: inline-flex;
  gap: 6px;
  color: var(--sage-deep);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 20px;
}
.reviews-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.reviews-score-number {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.4vw, 68px);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.reviews-score-of {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-soft);
}
.reviews-meta {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}
.reviews-card .btn-outline {
  font-size: 14px;
  padding: 10px 22px;
}
@media (max-width: 900px) {
  .doctify-section { padding: 40px 0 48px; }
  .doctify-label { margin-bottom: 20px; }
  .reviews-stars { font-size: 22px; gap: 4px; margin-bottom: 16px; }
  .reviews-meta { margin-bottom: 22px; }
}

/* =========== FOOTER =========== */
footer.site-footer {
  background: var(--navy); color: rgba(251, 250, 247, 0.7);
  padding: 60px 0 32px; font-size: 14px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(168, 181, 163, 0.22);
  margin-bottom: 24px;
}
.footer-logo {
  height: 64px; width: auto;
  filter: brightness(0) saturate(100%) invert(76%) sepia(8%) saturate(484%) hue-rotate(60deg) brightness(98%) contrast(86%);
  margin-bottom: 16px;
}
footer.site-footer a { color: rgba(251, 250, 247, 0.7); text-decoration: none; }
footer.site-footer a:hover { color: var(--sage); }
.footer-col-title {
  color: var(--sage); margin-bottom: 8px;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-meta {
  display: flex; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 16px;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 900px) {
  .container, .narrow { padding: 0 24px; }

  /* Hero stacked auf mobile */
  .hero { background: var(--cream); }
  .hero-image-wrap { aspect-ratio: 4/3; }
  .hero-image-wrap::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.15) 100%);
  }
  .hero-overlay {
    position: static;
    display: block;
  }
  .hero-overlay-inner {
    padding: 40px 24px 56px;
  }
  .hero-eyebrow { color: var(--sage-deep); text-shadow: none; }
  .hero h1 {
    color: var(--navy);
    text-shadow: none;
    font-size: clamp(32px, 6vw, 44px);
  }
  .hero h1 em { color: var(--navy-soft); }
  .hero-lead { color: var(--ink-soft); text-shadow: none; }
  .hero .btn-primary { background: var(--navy); color: var(--cream); border-color: var(--navy); }
  .hero .btn-primary:hover { background: var(--navy-soft); }
  .hero .btn-outline {
    background: transparent; color: var(--navy);
    border-color: var(--navy); backdrop-filter: none;
  }
  .hero .btn-outline:hover { background: var(--navy); color: var(--cream); }
  .welcome { padding: 80px 0; }
  .welcome p { font-size: 17px; }
  .team { padding: 72px 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .leistungen { padding: 72px 0; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .partner { padding: 72px 0; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card { padding: 24px 22px; }
  .kontakt { padding: 72px 0; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .doctor-hero { padding: 56px 0 72px; }
  .doctor-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .doctor-slider { aspect-ratio: 4/3; }
  .doctor-slider-caption { padding: 28px 24px; }
  .doctor-intro { margin-top: 32px; }
  .doctor-section { padding: 64px 0; }
  .schwerpunkte-grid { grid-template-columns: 1fr; gap: 0; }
  .sprechzeiten-box { padding: 32px; }
  .booking-cta { padding: 72px 0; }
  .page-hero { padding: 56px 0 48px; }
  .praxis-gallery { padding: 56px 0 80px; }
  .praxis-grid { grid-template-columns: 1fr; }
  .gp-1, .gp-2, .gp-3, .gp-4, .gp-5, .gp-6 { grid-column: 1; aspect-ratio: 4/3; }
  .scenes-section { padding: 64px 0; }
  .scenes-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .scenes-grid .s1, .scenes-grid .s2, .scenes-grid .s3, .scenes-grid .s4 {
    grid-column: 1; grid-row: auto; aspect-ratio: 4/3;
  }
  nav.main-nav { display: none; }
  .header-inner { height: 68px; }
  .logo-image { height: 44px; }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a, .doctor-quick-cta a { text-align: center; }
  .doctor-quick-cta { flex-direction: column; align-items: stretch; }
}

/* =========== BEWERTUNGS-AUFRUF (vor Patient:innen-Bewertungen) =========== */
.review-cta {
  background: #E9EEE7;
  padding: 64px 0;
  border-top: 1px solid rgba(30, 58, 76, 0.06);
}
.review-cta-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.review-cta-text { flex: 1 1 380px; }
.review-cta-stars {
  display: inline-flex;
  gap: 5px;
  font-size: 20px;
  color: var(--sage-deep);
  margin-bottom: 16px;
}
.review-cta-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 10px;
}
.review-cta-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 33px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
}
.review-cta-title em { font-style: italic; color: var(--sage-deep); }
.review-cta-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
}
.review-cta-actions {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
}
.review-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy);
  transition: all 0.25s;
  box-sizing: border-box;
}
.review-cta-btn-google {
  background: var(--navy);
  color: var(--cream);
  margin-bottom: 11px;
}
.review-cta-btn-google:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 58, 76, 0.18);
}
.review-cta-btn-doctify {
  background: transparent;
  color: var(--navy);
}
.review-cta-btn-doctify:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 58, 76, 0.15);
}
.review-cta-icon { flex: 0 0 auto; }
.review-cta-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray);
  margin-top: 12px;
}
@media (max-width: 760px) {
  .review-cta { padding: 48px 0; }
  .review-cta-inner { gap: 32px; }
  .review-cta-actions { flex: 1 1 100%; }
}

/* =========== FEEDBACK & BESCHWERDEN (eigener Abschnitt) =========== */
.feedback-section {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
}
.feedback-inner { max-width: 620px; margin: 0 auto; }
.feedback-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.feedback-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 400;
  line-height: 1.22;
  color: var(--cream);
  margin-bottom: 18px;
}
.feedback-title em { font-style: italic; color: var(--sage); }
.feedback-desc {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(251, 250, 247, 0.78);
  margin-bottom: 32px;
}
.feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--cream);
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s;
}
.feedback-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.feedback-btn svg { flex: 0 0 auto; }
.feedback-reassure {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(251, 250, 247, 0.55);
}
@media (max-width: 760px) {
  .feedback-section { padding: 60px 0; }
}
