/* ═══════════════════════════════════════════════════════
   Kardiologie Marburg Haspelstraße – Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --brand:       #276AB3;
  --brand-dark:  #1d55a0;
  --navy:        #073b78;
  --navy-2:      #0d5fa9;
  --accent:      #e58bb5;
  --gold:        #b87917;
  --cream:       #fbf8f2;
  --cream-2:     #f4f0e8;
  --text:        #132238;
  --text-mid:    #334155;
  --muted:       #64748b;
  --line:        #e6edf1;
  --line-soft:   #f0f4f8;
  --shadow-sm:   0 4px 16px rgba(19,34,56,.07);
  --shadow:      0 18px 50px rgba(39,106,179,.11);
  --shadow-lg:   0 30px 80px rgba(39,106,179,.18);
  --radius:      20px;
  --radius-sm:   12px;
  --radius-lg:   32px;
  --ease:        .22s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--navy); }
ul { list-style: none; padding: 0; }
p { line-height: 1.78; color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { line-height: 1.1; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.04em; }
h3 { font-size: 1.45rem; letter-spacing: -.025em; }
h4 { font-size: 1.08rem; letter-spacing: -.01em; }

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 7rem 0; }

/* ─── Eyebrow labels ─── */
.eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: .75rem;
}
.eyebrow-light { color: rgba(255,255,255,.65); }

/* ─── Section headers ─── */
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { font-size: 1.1rem; margin-top: .75rem; }

/* ─── Background variants ─── */
.bg-cream { background: var(--cream); }
.bg-light  { background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-navy   { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4,
.bg-navy p,  .bg-navy li, .bg-navy strong { color: #fff; }
.bg-navy .eyebrow { color: rgba(255,255,255,.65); }
.bg-navy a { color: #90c4f4; }
.bg-navy a:hover { color: #fff; }

/* ═══════════════════════════════
   BRAND STRIPE
   ═══════════════════════════════ */
.brand-stripe {
  height: 10px;
  background: var(--brand);
}

/* ═══════════════════════════════
   NAVIGATION
   ═══════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.5rem;
  gap: 1.5rem;
  position: relative;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-text strong {
  display: block;
  font-size: .94rem;
  color: var(--navy);
  line-height: 1.15;
}
.brand-text small {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.nav-links > li > a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  padding: .55rem .85rem;
  border-radius: var(--radius-sm);
  display: block;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--brand); background: var(--line-soft); }
.nav-links .arrow { font-size: .6rem; opacity: .55; margin-left: .2rem; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 250px;
  padding: .75rem .5rem .5rem;   /* padding-top überbrückt den visuellen Abstand */
  z-index: 200;
}
/* Unsichtbare Brücke verhindert, dass der Cursor den Hover verliert */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: .75rem;
  background: transparent;
}
.dropdown li a {
  display: block;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  transition: background var(--ease), color var(--ease);
}
.dropdown li a:hover { background: var(--line-soft); color: var(--brand); }
.has-dropdown:hover .dropdown { display: block; }

/* CTA button in nav */
.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  border-radius: 99px !important;
  padding: .55rem 1.25rem !important;
  font-weight: 700 !important;
  transition: background var(--ease) !important;
}
.nav-cta:hover { background: var(--navy) !important; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0;
  flex-shrink: 0;
}
.hamburger {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: background var(--ease);
}
.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease);
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }
.nav-toggle[aria-expanded=true] .hamburger { background: transparent; }
.nav-toggle[aria-expanded=true] .hamburger::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded=true] .hamburger::after  { transform: rotate(-45deg) translate(4px, -4px); }

/* ═══════════════════════════════
   BUTTONS
   ═══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.85rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-lg { padding: 1rem 2.3rem; font-size: 1.05rem; }

/* ═══════════════════════════════
   HERO – HOMEPAGE
   ═══════════════════════════════ */
.hero { padding: 4.5rem 0 5.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.hero-copy h1 { margin-bottom: .8rem; }
.hero-copy .lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.72;
  margin: 1rem 0 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.quick-contact { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  background: #edf5fc;
  color: var(--navy);
  border: 1px solid #d5e6f7;
  border-radius: 99px;
  padding: .38rem .9rem;
  font-weight: 600;
  font-size: .875rem;
}
.hero-image {
  position: relative;
  border-radius: 0 0 0 var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transform: scale(1.15); transform-origin: center top; }
.hero-image figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(7,59,120,.75);
  color: rgba(255,255,255,.9);
  font-size: .84rem;
  padding: .65rem 1rem;
  backdrop-filter: blur(4px);
}

/* ═══════════════════════════════
   PAGE HERO – INNER PAGES
   ═══════════════════════════════ */
.page-hero {
  padding: 3.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}
.page-hero-inner { max-width: 780px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.page-hero .lead { font-size: 1.1rem; margin-top: .9rem; color: var(--text-mid); }

.page-hero-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; }

/* ═══════════════════════════════
   TRUST BAR
   ═══════════════════════════════ */
.trust-bar { background: var(--brand); padding: 1.5rem 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: .9rem 1.25rem;
  border-left: 1px solid rgba(255,255,255,.22);
}
.trust-item:first-child { border-left: none; }
.trust-item strong { display: block; color: #fff; font-size: .95rem; margin-bottom: .2rem; }
.trust-item span { color: rgba(255,255,255,.78); font-size: .83rem; line-height: 1.4; }

/* ═══════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════ */
.cards-grid { display: grid; gap: 1.5rem; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.featured { border-color: #9bc3eb; box-shadow: 0 22px 55px rgba(39,106,179,.14); }
.card .card-num {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: #eaf3fc;
  color: var(--brand);
  font-weight: 900;
  font-size: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.card h3 { color: var(--navy); margin-bottom: .75rem; }
.card p  { font-size: .95rem; }
.card ul { padding-left: 1.1rem; list-style: disc; margin-top: .75rem; }
.card ul li { margin: .4rem 0; color: var(--text-mid); font-size: .93rem; line-height: 1.5; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  color: var(--brand);
  margin-top: 1.25rem;
  font-size: .9rem;
}
.card-link::after { content: '→'; }
.card-link:hover { color: var(--navy); }

/* ═══════════════════════════════
   TWO-COLUMN GRID
   ═══════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }
.col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.col-img img { width: 100%; object-fit: cover; object-position: top center; aspect-ratio: 4/5; }
.col-content h2 { margin-bottom: 1rem; }
.col-content p   { margin-bottom: 1rem; }

/* ═══════════════════════════════
   CONTINUITY / PORTRAIT GRID
   ═══════════════════════════════ */
.continuity-grid {
  display: grid;
  grid-template-columns: .65fr 1.3fr .65fr;
  gap: 2.5rem;
  align-items: center;
}
.portrait-card { text-align: center; }
.portrait-card img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  margin-bottom: .75rem;
}
.portrait-card figcaption { font-size: .88rem; color: var(--muted); font-weight: 600; }
.continuity-copy h2 { margin-bottom: 1rem; }

/* ═══════════════════════════════
   QUALIFICATION BOX (navy bg)
   ═══════════════════════════════ */
.qual-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3.5rem;
  align-items: start;
}
.qual-box {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.qual-box h3 { color: var(--navy); margin-bottom: 1.25rem; font-size: 1.2rem; }
.qual-box li {
  padding: .58rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
  color: var(--text);
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  line-height: 1.5;
}
.qual-box li:last-child { border-bottom: none; }
.qual-box strong { color: var(--navy); display: block; margin: 0; line-height: 1.35; }
.qual-box li > span { display: block; }
.qual-box li > span br + * { color: var(--muted); }
.qual-box li::before { content: '✓'; color: var(--brand); font-weight: 900; flex-shrink: 0; margin-top: .05rem; }

/* ═══════════════════════════════
   PHOTO GALLERY
   ═══════════════════════════════ */
.photo-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.photo-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.photo-gallery img:first-child {
  grid-row: span 2;
  height: 100%;
}
.gallery-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery-2col img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }

/* ═══════════════════════════════
   BENEFITS GRID
   ═══════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.benefit-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
}
.benefit-item strong { display: block; color: var(--navy); margin-bottom: .4rem; font-size: 1rem; }
.benefit-item span { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ═══════════════════════════════
   MAP / ANFAHRT
   ═══════════════════════════════ */
.map-consent-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.map-consent-box p { color: var(--muted); max-width: 420px; font-size: .9rem; }
.map-iframe-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: none;
}
.map-iframe-box.loaded { display: block; }
.map-iframe-box iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ═══════════════════════════════
   CONTACT CARD
   ═══════════════════════════════ */
.contact-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.contact-card h2, .contact-card h3, .contact-card p,
.contact-card a, .contact-card li, .contact-card strong { color: #fff; }
.contact-card a:hover { color: rgba(255,255,255,.7); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  display: block;
  margin-bottom: .3rem;
}
.contact-value { font-size: 1.05rem; font-weight: 600; }
.contact-data-item { margin-bottom: 1.4rem; }
.emergency-box {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-top: 2rem;
  font-size: .88rem;
  line-height: 1.6;
}

/* ═══════════════════════════════
   HOURS TABLE
   ═══════════════════════════════ */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,.15); }
.hours-table td { padding: .6rem .25rem; font-size: .94rem; color: rgba(255,255,255,.85); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:last-child { border-bottom: none; }

/* ═══════════════════════════════
   CTA STRIP
   ═══════════════════════════════ */
.cta-strip { text-align: center; }
.cta-strip h2 { margin-bottom: .75rem; }
.cta-strip p  { font-size: 1.1rem; max-width: 640px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════
   HIGHLIGHT / BLOCKQUOTE BOX
   ═══════════════════════════════ */
.highlight-box {
  background: linear-gradient(135deg, #eaf3fc 0%, #f0f7ff 100%);
  border: 1px solid #c5dff5;
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.highlight-box h3 { margin-bottom: .75rem; }
.highlight-box p  { color: var(--text); }
.side-quote {
  border-left: 4px solid var(--brand);
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin: 1.5rem 0;
}

/* ═══════════════════════════════
   CREDENTIAL LIST
   ═══════════════════════════════ */
.credential-list { display: flex; flex-direction: column; }
.credential-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.credential-item:last-child { border-bottom: none; }
.credential-item::before { content: '✓'; color: var(--brand); font-weight: 900; flex-shrink: 0; }

/* ═══════════════════════════════
   BIO GRID (Arzt page)
   ═══════════════════════════════ */
.bio-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}
.bio-portrait {
  position: sticky;
  top: 90px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bio-portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; }
.bio-portrait figcaption {
  padding: 1rem;
  background: var(--cream);
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  font-weight: 600;
}

/* ═══════════════════════════════
   ICON LIST (bullet alternatives)
   ═══════════════════════════════ */
.icon-list { display: flex; flex-direction: column; gap: .6rem; }
.icon-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  color: var(--text-mid);
  font-size: .96rem;
  line-height: 1.55;
}
.icon-list li::before {
  content: '●';
  color: var(--brand);
  flex-shrink: 0;
  font-size: .45rem;
  margin-top: .5rem;
}

/* ═══════════════════════════════
   STAT BADGES
   ═══════════════════════════════ */
.stat-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.badge {
  background: var(--cream);
  border: 1px solid #e0d8cc;
  border-radius: 99px;
  padding: .4rem 1rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--navy);
}

/* ═══════════════════════════════
   ZUWEISER PAGE
   ═══════════════════════════════ */
.zuweiser-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.zuweiser-box h4 { color: var(--navy); margin-bottom: 1rem; }

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.site-footer { background: #0a1e3d; }
.footer-upper {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 4rem;
  padding: 4.5rem 1.5rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small  { color: rgba(255,255,255,.45); }
.footer-brand .brand-mark { border-color: rgba(229,139,181,.5); color: rgba(229,139,181,.8); }
.footer-tagline { font-size: .94rem; color: rgba(255,255,255,.6); margin-top: 1rem; line-height: 1.6; }
.footer-addr { font-size: .87rem; color: rgba(255,255,255,.5); margin-top: .75rem; }
.footer-addr a { color: rgba(255,255,255,.7); }
.footer-addr a:hover { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.55); font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
}
.emergency-note { color: rgba(255,255,255,.65); font-size: .84rem; margin-bottom: .5rem; }
.footer-legal { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ═══════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════ */
.legal-page { padding: 4.5rem 0; }
.legal-content { max-width: 760px; }
.legal-content h1 { margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.4rem; color: var(--navy); margin: 2.2rem 0 .75rem; }
.legal-content h3 { font-size: 1.1rem; color: var(--navy); margin: 1.6rem 0 .5rem; letter-spacing: 0; }
.legal-content p  { margin-bottom: 1rem; }
.legal-content a  { color: var(--brand); text-decoration: underline; }

/* ═══════════════════════════════
   SPACER UTILITIES
   ═══════════════════════════════ */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1024px) {
  .bio-grid          { grid-template-columns: 1fr; gap: 2.5rem; }
  .bio-portrait      { position: static !important; max-width: 380px; margin: 0 auto; order: 2; }
  .bio-grid > div    { order: 1; }
  .qual-grid         { grid-template-columns: 1fr; }
  .continuity-grid   { grid-template-columns: 1fr; text-align: center; }
  .portrait-card     { max-width: 280px; margin: 0 auto; }
  .footer-upper      { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Nav hamburger */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .75rem;
    gap: 0;
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: .75rem 1rem; width: 100%; }
  .nav-cta { display: block; text-align: center; border-radius: var(--radius) !important; margin-top: .25rem; }
  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 .5rem 1rem;
    display: none;
    min-width: 0;
  }
  .has-dropdown.open .dropdown { display: block; }

  /* Layout */
  .hero-grid         { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image        { border-radius: var(--radius-lg); }
  .hero-image img    { aspect-ratio: 4/3; }
  .page-hero-wide    { grid-template-columns: 1fr; gap: 2rem; }
  .two-col           { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.flip      { direction: ltr; }
  .cols-3            { grid-template-columns: 1fr; }
  .cols-2            { grid-template-columns: 1fr; }
  .trust-grid        { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid     { grid-template-columns: repeat(2, 1fr); }
  .photo-gallery     { grid-template-columns: 1fr 1fr; }
  .photo-gallery img { height: 260px; }
  .photo-gallery img:first-child { grid-row: span 1; height: 260px; }
  .contact-grid      { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .section           { padding: 3.5rem 0; }
  .trust-item        { border-left: none; border-top: 1px solid rgba(255,255,255,.18); padding: .75rem 1rem; }
  .trust-item:nth-child(-n+2) { border-top: none; }
  .benefits-grid     { grid-template-columns: 1fr; }
  .photo-gallery     { grid-template-columns: 1fr; }
  .photo-gallery img { height: auto; aspect-ratio: 4/3; }
  .photo-gallery img:first-child { height: auto; }
  .contact-card      { padding: 2rem 1.5rem; }
  .footer-nav        { grid-template-columns: 1fr; }
  .footer-upper      { padding: 3rem 1.5rem 2rem; }
  .stat-badges       { gap: .5rem; }
  .hero              { padding: 3rem 0 4rem; }
}

/* ═══════════════════════════════
   PUBMED PUBLICATION LIST
   ═══════════════════════════════ */
.pubmed-count { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.pubmed-year  { font-size: 1.25rem; color: var(--navy); border-bottom: 2px solid var(--brand); padding-bottom: .35rem; margin: 2rem 0 1rem; }
.pubmed-item  { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.pubmed-item:last-child { border-bottom: none; }
.pubmed-title { font-weight: 600; color: var(--text); margin-bottom: .35rem; line-height: 1.5; }
.pubmed-meta  { font-size: .88rem; color: var(--muted); margin-bottom: .4rem; }
.pubmed-authors { display: block; margin-bottom: .2rem; }
.pubmed-journal { font-style: italic; }
.pubmed-links { display: flex; gap: .75rem; margin-top: .35rem; }
.pubmed-doi, .pubmed-pmid { font-size: .8rem; font-weight: 700; color: var(--brand); border: 1px solid var(--brand); border-radius: 99px; padding: .2rem .65rem; }
.pubmed-doi:hover, .pubmed-pmid:hover { background: var(--brand); color: #fff; }
.pubmed-status { color: var(--muted); padding: 2rem 0; }
.pubmed-error  { color: #c0392b; }

/* ═══════════════════════════════
   IN-PREPARATION BANNER
   ═══════════════════════════════ */
.prep-banner { background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 2rem; display: flex; align-items: flex-start; gap: 1rem; }
.prep-banner .prep-tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: #fff; border-radius: 99px; padding: .25rem .7rem; white-space: nowrap; flex-shrink: 0; margin-top: .15rem; }
.prep-banner h3 { color: var(--navy); margin-bottom: .4rem; font-size: 1.15rem; }
.prep-banner p  { font-size: .93rem; }

/* ── Hero headline hierarchy ──────────────────────── */
.hero-brand {
  display: block;
  font-size: clamp(3rem, 7.5vw, 6rem);
  letter-spacing: -.055em;
  line-height: 1;
  color: var(--navy);
}
.hero-claim {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.25;
  color: var(--text-mid);
  margin-top: .45rem;
}

/* ═══════════════════════════════
   BILD-SCHUTZ-KOMPONENTE
   ═══════════════════════════════ */

/* Globaler Drag-Schutz für alle Bilder */
img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Wiederverwendbarer Schutz-Container */
.image-protection-container {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
}

.image-protection-container .protected-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Unsichtbare Schutzschicht */
.invisible-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 10;
  -webkit-touch-callout: none;
  cursor: default;
}

/* Overlay in bestehenden Containern (figure, col-img, gallery) */
.hero-image,
.portrait-card,
.hero-portrait,
.bio-portrait,
.col-img,
.photo-gallery,
.gallery-2col {
  position: relative;
}

.hero-image .invisible-overlay,
.portrait-card .invisible-overlay,
.hero-portrait .invisible-overlay,
.bio-portrait .invisible-overlay,
.col-img .invisible-overlay,
.photo-gallery .invisible-overlay,
.gallery-2col .invisible-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 10;
  -webkit-touch-callout: none;
}

/* ── Foto-Credit ──────────────────────────────────── */
.photo-credit {
  font-size: .72rem;
  color: rgba(255,255,255,.32);
  margin-bottom: .35rem;
}
.photo-credit a { color: rgba(255,255,255,.42); text-decoration: underline; }
.photo-credit a:hover { color: rgba(255,255,255,.65); }

/* ── Aktuelle Informationen ───────────────────────── */
.notice-bar {
  background: #fff8e1;
  border-top: 4px solid #f59e0b;
  border-bottom: 4px solid #f59e0b;
  border-radius: 0;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 0;
}
.notice-bar.notice-urlaub  { background: #e8f5e9; border-color: #4caf50; }
.notice-bar.notice-geschlossen { background: #fce4ec; border-color: #e91e63; }
.notice-bar .notice-icon   { font-size: 2rem; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.notice-bar .notice-body   { flex: 1; max-width: 860px; }
.notice-bar .notice-title  { font-weight: 700; color: var(--navy); font-size: 1.2rem; margin-bottom: .4rem; }
.notice-bar .notice-text   { color: var(--text-mid); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* Mini-Banner für Startseite */
.notice-mini {
  background: #fff8e1;
  border: 1px solid #f59e0b;
  border-radius: var(--radius);
  padding: .65rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-top: 1rem;
}
.notice-mini:hover { background: #fff3cd; color: var(--navy); }
.notice-mini.notice-urlaub     { background: #e8f5e9; border-color: #4caf50; }
.notice-mini.notice-geschlossen{ background: #fce4ec; border-color: #e91e63; }
