/* ================================================================
   Frauenärzte im Elisengang – Blaues Theme v1.3
   Grav 2.0 | Twig 3 | PHP 8.3+
   Sauber neu geschrieben – keine widersprüchlichen Regeln
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── Custom Properties ── */
:root {
  --navy:       #0f2d4a;
  --navy-mid:   #1a4168;
  --blue:       #1e5a8e;
  --blue-mid:   #2d7ac4;
  --blue-light: #4a9fd4;
  --sky:        #e8f4fc;
  --sky-mid:    #d0e8f5;
  --cream:      #f7f9fc;
  --white:      #ffffff;
  --ink:        #0d1f2d;
  --ink-mid:    #2a3f52;
  --ink-soft:   #6b8090;
  --border:     #d4e4ef;
  --gold:       #e8a020;
  --serif:      'Libre Baskerville', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --radius-sm:  4px;
  --radius:     8px;
  --max-w:      1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-mid); }
img { max-width: 100%; height: auto; display: block; }

/* ── Container – zentrales Breitenlimit ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--white); }

/* ── Typografie ── */
.eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .65rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blue);
  flex-shrink: 0;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: 2rem; }
h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .4rem; }
p  { color: var(--ink-soft); line-height: 1.75; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .3px;
  padding: .75rem 2rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.4;
}
.btn-primary  { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: #fff; }
.btn-outline  { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-blue-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-blue-outline:hover { background: var(--blue); color: #fff; }
.btn-white    { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--sky); color: var(--navy); }
.btn-gold     { background: var(--gold); color: var(--navy); border-color: var(--gold); display: inline-flex; align-items: center; gap: .6rem; }
.btn-gold:hover { background: #d4921a; }
.btn-sm       { font-size: .78rem; padding: .45rem 1rem; }

/* ─────────────────────────────────────────
   NOTICE BAR
───────────────────────────────────────── */
.notice-bar {
  width: 100%;
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: .55rem 2rem;
  font-size: .8rem;
  text-align: center;
}
.notice-bar a { color: var(--gold); text-decoration: underline; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; flex-direction: column; text-decoration: none; }
.site-logo__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-style: italic;
}
.site-logo__sub {
  font-size: .65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: 72px;
}
.site-nav > a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav > a:hover,
.site-nav > a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* Dropdown */
.has-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.has-dropdown > button {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: .3rem;
  height: 100%;
  padding: 0;
  transition: color .2s, border-color .2s;
}
.has-dropdown > button:hover,
.has-dropdown.open > button {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.chev { transition: transform .2s; }
.has-dropdown.open .chev { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(15,45,74,.12);
  padding: .5rem;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 110;
  margin-top: 0;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.has-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a {
  display: block;
  padding: .7rem 1rem;
  font-size: .85rem;
  color: var(--ink-mid);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: var(--sky); color: var(--blue); }
.dropdown-menu a small {
  display: block;
  font-size: .7rem;
  color: var(--ink-soft);
  margin-top: .15rem;
}

/* Nav-CTA */
.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: .55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  border: none;
  height: auto;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--navy-mid); color: #fff; }

/* Burger-Menü */
.menu-trigger {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.menu-trigger:hover { background: var(--sky); }
.more-menu-wrap { position: relative; display: flex; align-items: center; }
.more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(15,45,74,.12);
  padding: .5rem;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 110;
}
.more-menu-wrap.open .more-menu { opacity: 1; visibility: visible; }
.more-menu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem 1rem;
  font-size: .85rem;
  color: var(--ink-mid);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.more-menu a:hover { background: var(--sky); color: var(--blue); }
.more-menu .icon { width: 20px; text-align: center; }
.more-menu hr { border: none; border-top: 1px solid var(--border); margin: .35rem 0; }

/* hamburger – siehe Mobile-Sektion unten */

/* ─────────────────────────────────────────
   HERO
   Strategie: .hero-wrapper = volle Breite +
   Hintergrund. .hero = max 1200px, flex-row.
───────────────────────────────────────── */
.hero-wrapper {
  width: 100%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}
.hero {
  display: flex;
  flex-direction: row;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 540px;
}
.hero-left {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  padding: 6rem 4rem;  /* symmetrisch – FIX 7 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-left::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 70px solid rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.hero-right {
  flex: 0 0 360px;
  width: 360px;
  background: var(--sky);
  border-left: 1px solid var(--border);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,.35);
  flex-shrink: 0;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,.6); }
.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sprechzeiten */
.hours-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(212,228,239,.7); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: .55rem 0; font-size: .9rem; }
.hours-table .day { font-weight: 600; color: var(--navy); width: 110px; }
.hours-table .time { color: var(--ink-soft); font-size: .85rem; }
.hero-tel-block {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-tel-label {
  font-size: .65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .4rem;
}
.hero-tel-num {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.hero-tel-num:hover { color: var(--blue); }

/* ─────────────────────────────────────────
   TEAM
───────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  /* FIX 6: margin im CSS statt inline-style */
  margin: 0;
}
.team-grid:has(.doc-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}
.doc-card {
  background: var(--white);
  padding: 2rem;
  transition: background .2s;
  display: flex;
  flex-direction: column;
}
.doc-card:hover { background: var(--sky); }
.doc-number { display: none; }
.doc-role {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: .3rem;
}
.doc-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.doc-hours-list {
  list-style: none;
  margin-bottom: 1.25rem;
  flex: 1;
}
.doc-hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: .83rem;
  padding: .32rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
}
.doc-hours-list li:last-child { border-bottom: none; }
.doc-hours-list strong { color: var(--ink-mid); min-width: 90px; font-weight: 500; }
.doc-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  flex-wrap: wrap;
}
.doc-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.doc-link svg { transition: transform .2s; }
.doc-link:hover svg { transform: translateX(4px); }

/* Footer-Bereich der Ärztin-Karte */
.doc-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid var(--border);
}
/* "Profil ansehen" über dem Button */
.doc-card-footer .doc-link {
  font-size: .75rem;
  color: var(--ink-soft);
  letter-spacing: .3px;
  text-transform: none;
}
.doc-card-footer .doc-link:hover { color: var(--blue); }

/* Buchungs-Button: volle Breite, mittig, auffällig */
.doc-buchung-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  font-size: .875rem;
}
.doc-buchung-btn:hover { background: var(--navy-mid); }

/* ─────────────────────────────────────────
   LEISTUNGEN
───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-item {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: background .2s;
  text-decoration: none;
  color: inherit;
  background: var(--white);
}
.service-item:nth-child(even)    { border-right: none; }
.service-item:nth-last-child(-n+2) { border-bottom: none; }
.service-item:hover { background: var(--sky); }
.service-icon {
  width: 42px; height: 42px;
  background: var(--sky);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.service-item h3 { font-size: 1rem; color: var(--navy); margin-bottom: .35rem; }
.service-item p { font-size: .875rem; color: var(--ink-soft); line-height: 1.65; }

/* ─────────────────────────────────────────
   CTA BAND
───────────────────────────────────────── */
.cta-band {
  width: 100%;
  background: var(--navy);
  padding: 4rem 0;
}
.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p  { color: rgba(255,255,255,.55); font-size: .95rem; max-width: 440px; }

/* ─────────────────────────────────────────
   AKTUELLES
───────────────────────────────────────── */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.news-featured {
  background: var(--sky);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.news-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--sky-mid);
  padding: .25rem .7rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: .75rem;
}
.news-date { font-size: .8rem; color: var(--ink-soft); margin-bottom: .5rem; }
.news-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.35;
}
.news-excerpt { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 1rem;
}
.news-list-item { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.news-list-item:first-child { border-top: 1px solid var(--border); }
.nl-date { font-size: .75rem; color: var(--ink-soft); margin-bottom: .25rem; }
.nl-title { font-family: var(--serif); font-size: 1rem; color: var(--navy); margin-bottom: .25rem; }
.nl-link { font-size: .8rem; color: var(--blue); text-decoration: none; font-weight: 500; }
.news-sidebar > div { margin-bottom: 1.25rem; }
.sidebar-box { border-radius: var(--radius); padding: 1.5rem; }
.sidebar-box.blue { background: var(--blue); }
.sidebar-box.light { background: var(--sky); border: 1px solid var(--border); }
.sidebar-box h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: .5rem; }
.sidebar-box.blue h4 { color: #fff; }
.sidebar-box.light h4 { color: var(--navy); }
.sidebar-box p { font-size: .875rem; line-height: 1.65; margin-bottom: 1rem; }
.sidebar-box.blue p { color: rgba(255,255,255,.7); }
.sidebar-box.light p { color: var(--ink-soft); }
.sidebar-box a {
  display: block; text-align: center;
  padding: .65rem; border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600;
  text-decoration: none; transition: background .2s;
}
.sidebar-box.blue  a { background: rgba(255,255,255,.15); color: #fff; }
.sidebar-box.blue  a:hover { background: rgba(255,255,255,.25); }
.sidebar-box.light a { background: var(--blue); color: #fff; }
.sidebar-box.light a:hover { background: var(--navy-mid); }

/* ─────────────────────────────────────────
   KONTAKT SPLIT
───────────────────────────────────────── */
/* FIX 5: wrapper = volle Breite, split = begrenzt auf max-w */
.contact-split-wrapper {
  width: 100%;
  background: var(--white);
}
.contact-split {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.contact-info-panel {
  padding: 4rem 3rem;
  background: var(--white);
  border-right: 1px solid var(--border);
}
.contact-map-panel {
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  min-height: 380px;
  padding: 3rem;
}
.map-icon { font-size: 3.5rem; }
.map-addr {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  text-align: center;
  line-height: 1.5;
}
.map-link { font-size: .85rem; color: var(--blue); text-decoration: underline; }
.contact-item { display: flex; gap: 1.1rem; margin-bottom: 1.75rem; }
.contact-icon {
  width: 42px; height: 42px;
  background: var(--sky);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: .2rem;
}
.contact-value { font-size: .95rem; color: var(--ink-mid); line-height: 1.65; }
.contact-value a { color: var(--blue); }
.contact-hint {
  background: var(--sky);
  border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .875rem;
  color: var(--ink-mid);
  margin-top: 1.5rem;
}

/* ─────────────────────────────────────────
   PAGE HEADER (Unterseiten)
───────────────────────────────────────── */
.page-header {
  width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 4rem 0 3.5rem;
}
.page-header .eyebrow { color: rgba(255,255,255,.5); }
.page-header .eyebrow::before { background: rgba(255,255,255,.3); }
.page-header h1 { color: #fff; }
.page-header .lead {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-top: .75rem;
  max-width: 560px;
}

/* ─────────────────────────────────────────
   CONTENT (Post / Page)
───────────────────────────────────────── */
.page-content { max-width: 760px; margin: 0 auto; padding: 4rem 2rem; }
.page-content h2 { margin: 2.5rem 0 1rem; font-size: 1.4rem; }
.page-content h3 { margin: 2rem 0 .75rem; font-size: 1.1rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--ink-soft); }
.page-content li { margin-bottom: .5rem; line-height: 1.7; }
.page-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.page-content th { background: var(--sky); color: var(--navy); font-weight: 600; }
.page-content td, .page-content th { padding: .75rem 1rem; border: 1px solid var(--border); font-size: .9rem; }
.page-content blockquote {
  border-left: 3px solid var(--blue);
  background: var(--sky);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0; color: var(--ink-mid);
}
.page-cta-bar {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ─────────────────────────────────────────
   DOKTOR PROFIL
───────────────────────────────────────── */
.doktor-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.doktor-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--sky);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3rem; font-style: italic;
  color: var(--blue-light); margin-bottom: 1.25rem; overflow: hidden;
}
.doktor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doktor-hours-mini { margin-bottom: 1.25rem; }
.doktor-hours-mini h4 { font-family: var(--serif); font-size: 1rem; color: var(--navy); margin-bottom: .75rem; }
.dhours-row { display: flex; justify-content: space-between; font-size: .85rem; padding: .35rem 0; border-bottom: 1px solid var(--border); }
.dhours-row strong { color: var(--ink-mid); font-weight: 500; min-width: 90px; }
.dhours-row span { color: var(--ink-soft); }

/* ─────────────────────────────────────────
   BLOG
───────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(15,45,74,.1); transform: translateY(-3px); }
.blog-card-img { height: 180px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: .75rem; color: var(--ink-soft); margin-bottom: .4rem; }
.blog-card-title { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); margin-bottom: .65rem; line-height: 1.35; }
.blog-card-excerpt { font-size: .875rem; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.blog-card-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--blue); text-decoration: none; margin-top: 1rem; }

/* ─────────────────────────────────────────
   FORMULAR
───────────────────────────────────────── */
.form-section { max-width: 660px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-mid); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,90,142,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .8rem; color: var(--ink-soft); margin-top: .3rem; }
.form-notice { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: .875rem; margin-bottom: 1.5rem; }
.form-notice.info { background: var(--sky); border-left: 3px solid var(--blue); color: var(--ink-mid); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer { width: 100%; background: var(--navy); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer-brand__name {
  font-family: var(--serif); font-size: 1.1rem;
  color: #fff; font-style: italic; margin-bottom: .2rem;
}
.footer-brand__sub {
  font-size: .65rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: .9rem;
}
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
  margin-top: .5rem;
}
.footer-brand a { color: rgba(255,255,255,.65); }
.footer-brand a:hover { color: #fff; }
.footer-col h4 {
  font-size: .65rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { font-size: .875rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.2);
}
.footer-bottom a { color: rgba(255,255,255,.2); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.5); }

/* ─────────────────────────────────────────
   ANIMATIONEN
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .5s ease forwards; }
.fade-up-1 { animation-delay: .1s; opacity: 0; }
.fade-up-2 { animation-delay: .2s; opacity: 0; }
.fade-up-3 { animation-delay: .3s; opacity: 0; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { flex-direction: column; min-height: auto; }
  .hero-right { flex: none; width: 100%; border-left: none; border-top: 1px solid var(--border); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid:has(.doc-card:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .doktor-layout { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-info-panel { border-right: none; border-bottom: 1px solid var(--border); }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .hero-left { padding: 3rem 2rem; }
  .hero-right { padding: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { border-right: none; }
  .service-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }
  .contact-map-panel { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .news-sidebar { grid-template-columns: 1fr; }
  .doktor-sidebar { grid-template-columns: 1fr; }
  /* Desktop-Nav ausblenden, Hamburger einblenden */
  .site-nav { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ─────────────────────────────────────────
   MOBILE HAMBURGER BUTTON
───────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--sky); border-color: var(--blue-light); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-mid);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
/* Aktiv-Zustand: X */
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────
   MOBILE OVERLAY
───────────────────────────────────────── */
#mobileOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 45, 74, .45);
  z-index: 199;
  backdrop-filter: blur(2px);
}
#mobileOverlay.open { display: block; }

/* ─────────────────────────────────────────
   MOBILE DRAWER
───────────────────────────────────────── */
#mobileDrawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 88vw);
  height: 100dvh;
  background: var(--white);
  z-index: 200;
  overflow-y: auto;
  transition: right .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(15,45,74,.15);
}
#mobileDrawer.open { right: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--navy);
  flex-shrink: 0;
}
.drawer-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: #fff;
}
.drawer-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s;
}
.drawer-close:hover { background: rgba(255,255,255,.15); }

.drawer-primary {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.drawer-section { padding: 0; }
.drawer-section-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: .75rem 1.5rem .4rem;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.5rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.drawer-link:hover,
.drawer-link.active {
  background: var(--sky);
  color: var(--blue);
  border-left-color: var(--blue);
}
.drawer-link--sub {
  padding-left: 1.75rem;
  font-size: .85rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.drawer-link--sub small {
  display: block;
  font-size: .72rem;
  color: var(--ink-soft);
  margin-top: .1rem;
}
.drawer-link .icon {
  width: 22px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.drawer-burger {
  padding: 1rem 0;
  flex: 1;
}
.drawer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.drawer-divider-sm {
  border: none;
  border-top: 1px solid var(--border);
  margin: .35rem 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE – HAMBURGER SICHTBAR
───────────────────────────────────────── */
/* ── Mobile Sprechzeiten ── */
@media (max-width: 600px) {
  /* Eine Spalte erzwingen */
  .team-grid,
  .team-grid:has(.doc-card:nth-child(2):last-child) {
    grid-template-columns: 1fr !important;
  }

  /* Kompakte Sprechzeiten */
  .doc-hours-list li {
    font-size: .8rem;
    gap: .5rem;
  }
  .doc-hours-list strong {
    min-width: 28px;   /* Platz für "Mo" statt "Montag" */
    font-weight: 600;
  }
  .doc-hours-list span {
    text-align: right;
    white-space: nowrap;  /* Zeiten nicht umbrechen */
  }

  /* Kleinere Karten-Padding */
  .doc-card { padding: 1.5rem 1.25rem; }
}
