/* ============================================================
   DIE FRAUENÄRZTINNEN — MAIN STYLESHEET
   Design: Organic Luxury — Warm, Feminine, Calming
   DSGVO-konform: Keine externen Fonts, nur System Fonts
   ============================================================ */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --rose:        #B85C78;
  --rose-light:  #D4899E;
  --blush:       #EEC9D3;
  --blush-light: #F9EAF0;
  --cream:       #FDF6F0;
  --cream-mid:   #F5EBE4;
  --petal:       #FDEEF4;
  --mauve:       #9B6B8A;
  --mauve-dark:  #6D4760;
  --sage:        #A3B99A;
  --sage-light:  #D8E5D4;
  --text-dark:   #3A2535;
  --text-mid:    #6B4B5E;
  --text-light:  #9E7A8C;
  --white:       #FFFFFF;
  --shadow-soft: 0 8px 40px rgba(184,92,120,0.10);
  --shadow-card: 0 4px 24px rgba(58,37,53,0.08);
  --shadow-hover:0 16px 48px rgba(184,92,120,0.18);
  --radius-sm:   12px;
  --radius-md:   24px;
  --radius-lg:   48px;
  --radius-xl:   80px;
  --trans:       all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Elegante System-Fonts – DSGVO-konform, keine externen Requests */
  --font-display: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--mauve); }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
  display: block;
}

/* ---- LAYOUT UTILITIES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

.section-pad { padding: 100px 0; }
.section-pad--sm { padding: 60px 0; }

/* ---- ANIMATED BACKGROUND BLOB ---- */
.blob-bg {
  position: absolute;
  border-radius: 50% 60% 40% 70% / 60% 40% 70% 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  0%   { border-radius: 50% 60% 40% 70% / 60% 40% 70% 50%; transform: translate(0,0) scale(1); }
  33%  { border-radius: 70% 40% 60% 50% / 40% 70% 50% 60%; transform: translate(10px,-15px) scale(1.03); }
  66%  { border-radius: 40% 70% 50% 60% / 70% 50% 40% 60%; transform: translate(-8px,10px) scale(0.97); }
  100% { border-radius: 60% 50% 70% 40% / 50% 60% 40% 70%; transform: translate(5px,-5px) scale(1.01); }
}

/* ---- FADE-IN ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(184,92,120,0.35);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(184,92,120,0.45);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--rose);
  color: var(--rose);
}
.btn--outline:hover {
  background: var(--rose);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--rose);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  color: var(--mauve);
}

.btn--doctolib {
  background: #0596DE;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(5,150,222,0.35);
  font-size: 1rem;
  padding: 1rem 2.5rem;
}
.btn--doctolib:hover {
  background: #0478B0;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(5,150,222,0.45);
  color: var(--white);
}

/* ---- HEADER / NAVIGATION ---- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--trans);
}

#site-header.scrolled {
  background: rgba(253,246,240,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(184,92,120,0.12);
  padding: 0.85rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 4px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transition: width 0.35s ease;
}
.nav-link:hover { color: var(--rose); }
.nav-link:hover::after { width: 100%; }
.nav-link.current-menu-item { color: var(--rose); }
.nav-link.current-menu-item::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--trans);
}

/* Mobile Nav */
@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -8px 0 40px rgba(58,37,53,0.12);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
  }
  .site-nav.open { right: 0; }
  .nav-link { font-size: 1.2rem; }
  .menu-toggle { display: flex; z-index: 1001; }
  .header-cta .btn { display: none; }
}

/* ---- HERO SECTION ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--petal) 50%, var(--cream-mid) 100%);
  padding-top: 100px;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-duration: 14s;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}
.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blush-light) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation-duration: 18s;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(238,201,211,0.5);
  border-radius: 60px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--rose);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}
.hero-title em {
  font-style: italic;
  color: var(--rose);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-doctors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.hero-doctor-badge {
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--blush);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-blob {
  width: 480px;
  height: 520px;
  background: linear-gradient(145deg, var(--blush) 0%, var(--cream-mid) 60%, var(--sage-light) 100%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  position: relative;
  overflow: hidden;
  animation: blobFloat 16s ease-in-out infinite alternate;
  flex-shrink: 0;
}

.hero-image-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--rose);
}
.hero-image-placeholder svg { opacity: 0.6; }
.hero-image-placeholder p {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Floating decorative card */
.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -40px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-hover);
  min-width: 200px;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.float-card-content {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 3;
}
.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.scroll-arrow {
  width: 36px;
  height: 36px;
  border: 2px solid var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-doctors { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-image-wrap { display: none; }
}

/* ---- WELCOME SECTION ---- */
#welcome {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.welcome-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.welcome-decoration {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.welcome-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--blush-light), var(--cream-mid));
}

.welcome-image-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.welcome-image-placeholder {
  width: 100%; height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
}

.welcome-stat {
  position: absolute;
  right: -30px;
  top: 30%;
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-hover);
  text-align: center;
  animation: floatCard 8s ease-in-out infinite;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--rose);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.welcome-content {}
.welcome-content h2 { margin-bottom: 0.75rem; }
.welcome-content p { color: var(--text-mid); font-weight: 300; font-size: 1.05rem; }

.welcome-team-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem 0;
}
.welcome-team-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
}
.welcome-team-list li::before {
  content: '';
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .welcome-inner { grid-template-columns: 1fr; }
  .welcome-stat { position: static; margin-top: -2rem; align-self: flex-end; }
}

/* ---- LEISTUNGEN / SERVICES SECTION ---- */
#services {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-header h2 { margin-bottom: 0.75rem; }
.services-header p { color: var(--text-mid); max-width: 560px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--trans);
  cursor: default;
  border: 1px solid rgba(238,201,211,0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(180deg, var(--rose), var(--mauve));
  border-radius: 0 0 4px 0;
  transition: height 0.4s ease;
}
.service-card:hover::before { height: 100%; }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blush);
}

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blush-light), var(--petal));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  transition: var(--trans);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--rose), var(--mauve));
}
.service-card:hover .service-icon svg { filter: brightness(10); }

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.services-more { text-align: center; margin-top: 3rem; }

/* ---- SPRECHZEITEN SECTION ---- */
#sprechzeiten {
  background: linear-gradient(160deg, var(--mauve-dark) 0%, var(--text-dark) 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

#sprechzeiten .blob-bg {
  background: radial-gradient(circle, rgba(238,201,211,0.2) 0%, transparent 70%);
  opacity: 0.5;
}

.sprechzeiten-header { text-align: center; margin-bottom: 3.5rem; }
.sprechzeiten-header h2 { color: var(--white); }
.sprechzeiten-header p { color: rgba(255,255,255,0.65); }
.sprechzeiten-header .section-label { color: var(--blush); }

.sprechzeiten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sprechzeiten-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2rem 2rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: var(--trans);
}
.sprechzeiten-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: rgba(238,201,211,0.4);
}

.sprechzeiten-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.sprechzeiten-specialty {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blush);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}
.sprechzeiten-table { width: 100%; }
.sprechzeiten-table tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.sprechzeiten-table tr:last-child { border-bottom: none; }
.sprechzeiten-table td {
  padding: 0.6rem 0;
  font-size: 0.9rem;
}
.sprechzeiten-table td:first-child {
  font-weight: 700;
  color: var(--blush);
  width: 120px;
}
.sprechzeiten-table td:last-child { color: rgba(255,255,255,0.8); }

.sprechzeiten-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
  font-style: italic;
}
.sprechzeiten-cta {
  text-align: center;
  padding-top: 1rem;
}

/* ---- TEAM PREVIEW ---- */
#team-preview {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.team-header { text-align: center; margin-bottom: 3.5rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  transition: var(--trans);
}

.team-card-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--blush-light), var(--cream-mid));
  border: 4px solid var(--blush);
  transition: var(--trans);
}
.team-card:hover .team-card-photo {
  border-color: var(--rose);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(184,92,120,0.25);
}
.team-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-card-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.team-card-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
  display: block;
}
.team-card-focus {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.team-more { text-align: center; margin-top: 3rem; }

/* ---- FULL TEAM PAGE ---- */
#team-full { padding: 80px 0; }

.team-intro {
  background: var(--petal);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 4rem;
  text-align: center;
}
.team-intro p { color: var(--text-mid); max-width: 680px; margin: 0 auto 0.75rem; }

.doctors-section-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.doctors-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--blush);
}

.doctor-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--blush-light);
  align-items: start;
}
.doctor-profile:last-child { border-bottom: none; }
.doctor-profile:nth-child(even) { direction: rtl; }
.doctor-profile:nth-child(even) > * { direction: ltr; }

.doctor-photo-wrap {
  position: relative;
}
.doctor-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blush-light), var(--cream-mid));
  border: 3px solid var(--blush);
  transition: var(--trans);
  animation: blobFloat 20s ease-in-out infinite alternate;
}
.doctor-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.doctor-photo-placeholder {
  width: 100%; height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.doctor-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.25rem;
}
.doctor-title-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: white;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.doctor-focus {
  background: var(--petal);
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.doctor-focus strong { color: var(--text-dark); }

.doctor-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.doctor-detail-group h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}
.doctor-detail-group ul li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
  border-bottom: 1px solid var(--blush-light);
}
.doctor-detail-group ul li:last-child { border-bottom: none; }
.doctor-detail-group ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.doctor-werdegang h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}
.werdegang-list { display: flex; flex-direction: column; }
.werdegang-item {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--blush-light);
}
.werdegang-item::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--blush);
  font-size: 0.5rem;
  top: 0.75rem;
}
.werdegang-item:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-profile:nth-child(even) { direction: ltr; }
  .doctor-photo { max-width: 280px; margin: 0 auto; }
  .doctor-details { grid-template-columns: 1fr; }
}

/* Praxisteam */
.praxisteam-section {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 4rem;
}
.praxisteam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.praxisteam-card {
  text-align: center;
  transition: var(--trans);
}
.praxisteam-card:hover { transform: translateY(-4px); }
.praxisteam-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blush-light), var(--cream-mid));
  border: 3px solid var(--blush);
}
.praxisteam-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.praxisteam-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
}
.praxisteam-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.praxisteam-role { font-size: 0.78rem; color: var(--text-light); font-weight: 500; line-height: 1.4; }

/* ---- LEISTUNGEN PAGE ---- */
.leistungen-intro {
  background: var(--petal);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 4rem;
  text-align: center;
}

.leistungen-accordion { display: flex; flex-direction: column; gap: 1rem; }

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--blush-light);
  overflow: hidden;
  transition: var(--trans);
}
.accordion-item.open { border-color: var(--blush); box-shadow: var(--shadow-card); }

.accordion-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
}
.accordion-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blush-light), var(--petal));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  transition: var(--trans);
}
.accordion-item.open .accordion-icon {
  background: linear-gradient(135deg, var(--rose), var(--mauve));
}
.accordion-item.open .accordion-icon svg { filter: brightness(10); }
.accordion-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
}
.accordion-arrow {
  color: var(--text-light);
  transition: transform 0.35s ease;
}
.accordion-item.open .accordion-arrow { transform: rotate(180deg); color: var(--rose); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.accordion-item.open .accordion-body { max-height: 800px; }

.accordion-content {
  padding: 0 2rem 2rem 2rem;
  border-top: 1px solid var(--blush-light);
  padding-top: 1.5rem;
}
.accordion-content p { color: var(--text-mid); font-size: 0.95rem; }
.accordion-content ul { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.75rem; }
.accordion-content ul li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 1.25rem;
  position: relative;
}
.accordion-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--rose);
}
.accordion-content a { color: var(--rose); text-decoration: underline; }

/* ---- KONTAKT / CONTACT SECTION ---- */
#kontakt {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.kontakt-info { }
.kontakt-info h2 { margin-bottom: 0.75rem; }
.kontakt-info > p { color: var(--text-mid); margin-bottom: 2rem; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  transition: var(--trans);
}
.contact-card:hover { background: var(--petal); transform: translateX(4px); }
.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { color: white; }
.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.contact-value {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.contact-value a { color: var(--text-dark); }
.contact-value a:hover { color: var(--rose); }

.kontakt-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
}
.kontakt-map iframe {
  width: 100%;
  height: 320px;
  display: block;
  filter: saturate(0.7) brightness(1.05);
}

.kontakt-form-wrap { }
.kontakt-form-wrap h3 { margin-bottom: 0.5rem; }
.kontakt-form-wrap > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blush);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(238,201,211,0.3);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.form-privacy a { color: var(--rose); text-decoration: underline; }

@media (max-width: 800px) {
  .kontakt-inner { grid-template-columns: 1fr; }
}

/* ---- DOCTOLIB BANNER ---- */
.doctolib-banner {
  background: linear-gradient(135deg, #0596DE, #0460A0);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
  margin: 0 0 3rem;
}
.doctolib-banner h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.doctolib-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

/* ---- FOOTER ---- */
#site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .logo-main { color: var(--white); margin-bottom: 0.25rem; }
.footer-brand .logo-sub { color: var(--blush); }
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--blush); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright { font-size: 0.82rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: var(--blush); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- DOCTOLIB STICKY BUTTON ---- */
.doctolib-sticky {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  animation: floatCard 6s ease-in-out infinite;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--petal) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-mid); font-size: 1.1rem; }

/* ---- MISC UTILITIES ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---- IMPRESSUM / DATENSCHUTZ ---- */
.content-page { padding: 160px 0 80px; }
.content-page .prose h2 { margin: 2rem 0 0.75rem; }
.content-page .prose p { color: var(--text-mid); margin-bottom: 1em; }
.content-page .prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1em; }
.content-page .prose ul li { color: var(--text-mid); margin-bottom: 0.4em; }

/* ---- ADMIN BAR COMPENSATION ---- */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ---- COOKIE NOTICE ---- */
.cookie-notice {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(58,37,53,0.97);
  color: white;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  flex-wrap: wrap;
}
.cookie-notice.show { transform: translateY(0); }
.cookie-notice p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin: 0; flex: 1; }
.cookie-notice a { color: var(--blush); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; }
.cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: var(--trans);
}
.cookie-btn--accept { background: var(--rose); color: white; }
.cookie-btn--accept:hover { background: var(--mauve); }
.cookie-btn--decline { background: rgba(255,255,255,0.12); color: white; }
.cookie-btn--decline:hover { background: rgba(255,255,255,0.2); }

/* ---- SCROLL PROGRESS BAR ---- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--mauve), var(--sage));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---- LOADING SCREEN ---- */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  /* CSS-only fallback: auto-hide after 1.8s even if JS fails */
  animation: loaderAutoHide 0.6s ease 1.8s forwards;
}
@keyframes loaderAutoHide {
  0%   { opacity: 1; visibility: visible; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden;  pointer-events: none; }
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: var(--blush-light);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--mauve));
  width: 0%;
  animation: loaderFill 1.2s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ---- WP ALIGNMENT ---- */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 0 auto 1rem; text-align: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .section-pad { padding: 60px 0; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .sprechzeiten-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .doctolib-sticky { bottom: 1rem; right: 1rem; }
  .doctolib-sticky .btn { font-size: 0.82rem; padding: 0.75rem 1.5rem; }
}
