/* ==========================================================================
   Frauenärztinnen Freiburg — Dr. Schurig & Dr. Karsch
   Komplettes Design. Farben & Schriften zentral hier unter :root.
   ========================================================================== */

:root {
  /* Farbwelt — übernommen vom bisherigen Auftritt, behutsam modernisiert */
  --blau:        #232a72;   /* Logo-Blau: Überschriften, Footer */
  --blau-tief:   #181d52;
  --rose:        #febaaf;   /* Marken-Rosé: Akzente, Balken */
  --rose-tief:   #e8907f;
  --rose-wash:   #fbeae3;   /* zarte Rosé-Fläche */
  --orange:      #d95818;   /* Buttons, Links */
  --orange-tief: #b8480f;
  --salbei:      #a4a78b;   /* dezenter Zweitton */
  --salbei-hell: #e7e8dd;
  --papier:      #fdfaf7;   /* warmer Seitenhintergrund */
  --weiss:       #ffffff;
  --tinte:       #36353f;   /* Fließtext */
  --tinte-hell:  #6b6a75;

  --serif: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --sans:  'Open Sans', 'Segoe UI', Arial, sans-serif;
  /* Nur für die Zitate der Ärztinnen – die markante Serifenschrift */
  --zitat-serif: 'Faustina', Georgia, 'Times New Roman', serif;

  --radius: 18px;
  --radius-klein: 12px;
  --schatten: 0 18px 50px -22px rgba(35, 42, 114, .28);
  --schatten-klein: 0 8px 26px -14px rgba(35, 42, 114, .25);
  --uebergang: .25s cubic-bezier(.4, 0, .2, 1);
  --container: 1200px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; transition: color var(--uebergang); }
a:hover { color: var(--orange-tief); }
::selection { background: var(--rose); color: var(--blau); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  color: var(--blau);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 800px) { .container { padding: 0 40px; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--blau); color: #fff; padding: .75em 1.25em;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Kicker, Badges, Buttons ---------- */
.kicker {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-tief);
  margin: 0 0 .75em;
}
.badge {
  display: inline-block;
  background: var(--rose-wash);
  color: var(--blau);
  border: 1px solid var(--rose);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35em 1.1em;
  margin-bottom: 1.25em;
}
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: .7em 1.6em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--uebergang);
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-tief); color: #fff; transform: translateY(-2px); box-shadow: var(--schatten-klein); }
.btn-blau-outline { border-color: var(--blau); color: var(--blau); background: transparent; }
.btn-blau-outline:hover { background: var(--blau); color: #fff; transform: translateY(-2px); }
.btn-hell { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-hell:hover { background: #fff; color: var(--blau); }

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; color: var(--orange);
}
.text-link svg { transition: transform var(--uebergang); }
.text-link:hover svg { transform: translateX(4px); }
.text-link-hell { color: var(--rose); }
.text-link-hell:hover { color: #fff; }

/* ---------- Farbbalken (Signatur-Element der alten Seite) ---------- */
.bild-balken {
  position: absolute;
  height: 14px;
  width: 55%;
  bottom: -7px;
  left: 0;
  border-radius: 999px;
}
.balken-rose   { background: var(--rose); }
.balken-blau   { background: var(--blau); }
.balken-orange { background: var(--orange); }
.balken-salbei { background: var(--salbei); }

/* ---------- Header ---------- */
#kopf {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(253, 250, 247, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(35, 42, 114, .08);
}
#kopf::after {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--rose) 0 40%, var(--blau) 40% 65%, var(--orange) 65% 82%, var(--salbei) 82% 100%);
}
.kopf-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo img {
  height: 130px;
  width: auto;
  transition: height var(--uebergang);
}
.kopf-geschrumpft .logo img { height: 54px; }
@media (max-width: 560px) {
  .logo img { height: 78px; }
  .kopf-geschrumpft .logo img { height: 46px; }
}
.logo-namen {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  line-height: 1.25;
  color: var(--blau);
  white-space: nowrap;
}
.logo-sub {
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.45;
  color: var(--tinte-hell);
  white-space: nowrap;
  padding-left: 14px;
  border-left: 2px solid var(--rose);
}
.logo:hover .logo-namen { color: var(--orange); }
@media (max-width: 560px) {
  .logo-sub { display: none; }
  .logo-namen { font-size: .92rem; }
}

.hauptnav { margin-left: auto; }
.hauptnav > ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.hauptnav a {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--blau);
  padding: .5em .8em;
  border-radius: 999px;
  transition: background var(--uebergang), color var(--uebergang);
}
.hauptnav a:hover { background: var(--rose-wash); }
.hauptnav a.aktiv { background: var(--rose); color: var(--blau); }
.nav-notfall a { color: var(--orange); font-weight: 700; }
.nav-notfall a:hover { background: var(--orange); color: #fff; }
.nav-notfall a.aktiv { background: var(--orange); color: #fff; }

.hat-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  background: none; border: 0; cursor: pointer;
  color: var(--blau); padding: 4px; margin-left: -6px;
  display: flex; align-items: center;
  transition: transform var(--uebergang);
}
.hat-sub:hover .sub-toggle, .hat-sub:focus-within .sub-toggle { transform: rotate(180deg); }
.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-klein);
  box-shadow: var(--schatten);
  border: 1px solid rgba(35,42,114,.08);
  list-style: none;
  margin: 0;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--uebergang);
}
.hat-sub:hover .subnav, .hat-sub:focus-within .subnav {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.subnav a { border-radius: 8px; padding: .45em .9em; }

.btn-tel {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--blau); color: #fff;
  font-weight: 700; font-size: .9375rem;
  border-radius: 999px; padding: .55em 1.2em;
  flex-shrink: 0;
  transition: all var(--uebergang);
}
.btn-tel:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--blau); border-radius: 2px;
  transition: all var(--uebergang);
}
body.nav-offen .nav-toggle span { background: #fff; }
body.nav-offen .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-offen .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-offen .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .btn-tel span { display: none; }
  .btn-tel { padding: .65em; border-radius: 50%; }
  .hauptnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding-top: 110px;
    background: var(--blau-tief);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s .3s;
    overflow-y: auto;
    z-index: -1;
  }
  body.nav-offen .hauptnav { transform: translateX(0); visibility: visible; transition: transform .3s ease, visibility 0s 0s; }
  .hauptnav > ul {
    flex-direction: column; align-items: stretch;
    padding: 24px; gap: 6px;
  }
  .hauptnav a { color: #fff; font-size: 1.25rem; padding: .6em 1em; }
  .hauptnav a:hover, .hauptnav a.aktiv { background: rgba(254,186,175,.18); color: var(--rose); }
  .nav-notfall a { color: var(--rose); }
  .hat-sub { flex-wrap: wrap; }
  .sub-toggle { color: #fff; margin-left: auto; width: 44px; height: 44px; justify-content: center; }
  .subnav {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    background: transparent; box-shadow: none; border: 0;
    width: 100%; padding: 0 0 0 1.25em;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .hat-sub.offen .subnav { max-height: 600px; }
  .hat-sub.offen .sub-toggle { transform: rotate(180deg); }
  .subnav a { font-size: 1.0625rem; color: rgba(255,255,255,.85); }
}

/* ---------- Hero Startseite ---------- */
.hero { position: relative; }
.hero-bild {
  position: relative;
  max-height: 560px;
  overflow: hidden;
}
.hero-bild img { width: 100%; object-fit: cover; }
.hero-bild::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(24, 29, 82, .25));
}
.hero-karte {
  position: relative;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: clamp(28px, 5vw, 56px);
  max-width: 880px;
  margin: -90px auto 0;
  border-top: 6px solid var(--rose);
}
@media (max-width: 640px) { .hero-karte { margin-top: -40px; } }
.hero-karte h1 { margin-bottom: .4em; }
.hero-karte p { font-size: 1.125rem; color: var(--tinte-hell); }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(56px, 8vw, 110px) 0; }
.abschnitt-rose {
  background:
    radial-gradient(1100px 500px at 85% 0%, rgba(254, 186, 175, .25), transparent 70%),
    var(--rose-wash);
}
.abschnitt-kopf { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Willkommen / Portraits ---------- */
.willkommen { padding: clamp(70px, 9vw, 130px) 0 clamp(56px, 8vw, 110px); }
.willkommen-inner {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 880px) { .willkommen-inner { grid-template-columns: 1.05fr 1fr; } }
.willkommen-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}
.portrait { position: relative; margin: 0; }
.portrait img {
  border-radius: var(--radius);
  box-shadow: var(--schatten-klein);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.portrait-2 { margin-top: clamp(28px, 5vw, 56px); }
.portrait figcaption {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--blau);
  margin-top: 1.1em;
}
.portrait .bild-balken { bottom: auto; top: calc(100% - 42px); }
.unterschrift { font-family: var(--serif); font-size: 1.125rem; color: var(--blau); }
.willkommen-text .text-link { margin-top: .75em; }

/* ---------- Leistungs-Karten ---------- */
.karten-raster {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.karte {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten-klein);
  border: 1px solid rgba(35,42,114,.06);
  transition: transform var(--uebergang), box-shadow var(--uebergang);
  position: relative;
}
.karte::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  z-index: 2;
}
.karte:hover { transform: translateY(-6px); box-shadow: var(--schatten); }
.karte:hover::before { transform: scaleX(1); }
.karte-bild { aspect-ratio: 16 / 9; overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.karte:hover .karte-bild img { transform: scale(1.05); }
.karte-text { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.karte-text h3 { margin-bottom: .35em; }
.karte-text p { font-size: .9375rem; color: var(--tinte-hell); flex: 1; }
.karte-mehr {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: 1em;
  font-weight: 700; font-size: .875rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--orange);
}
.karte-mehr svg { transition: transform var(--uebergang); }
.karte:hover .karte-mehr svg { transform: translateX(4px); }
.leistungen-teaser { padding: clamp(56px, 8vw, 110px) 0; }

/* ---------- Hinweis-Boxen ---------- */
.hinweis-abschnitt { padding-bottom: clamp(56px, 8vw, 110px); }
.hinweis-raster { display: grid; gap: 24px; }
@media (min-width: 880px) { .hinweis-raster { grid-template-columns: 1.2fr 1fr; } }
.hinweis-box {
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
}
.hinweis-rose { background: var(--rose-wash); border: 1px solid var(--rose); }
.hinweis-rose .kicker { color: var(--orange); }
.hinweis-blau { background: var(--blau); color: rgba(255,255,255,.88); }
.hinweis-blau h3 { color: #fff; }
.hinweis-blau .kicker { color: var(--rose); }

/* ---------- Kontakt-Band Startseite ---------- */
.kontakt-band { padding: 0 0 clamp(56px, 8vw, 110px); }
.kontakt-band-inner {
  display: grid; gap: clamp(32px, 6vw, 72px); align-items: center;
}
@media (min-width: 880px) { .kontakt-band-inner { grid-template-columns: 1fr 1.1fr; } }
.kontakt-band-bild { position: relative; margin: 0; }
.kontakt-band-bild img { border-radius: var(--radius); box-shadow: var(--schatten); }
address { font-style: normal; margin-bottom: 1em; }

.zeiten-liste { margin: 1.25em 0; padding: 0; }
.zeiten-liste div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: .55em 0;
  border-bottom: 1px dashed rgba(35,42,114,.18);
}
.zeiten-liste dt { font-weight: 700; color: var(--blau); margin: 0; }
.zeiten-liste dd { margin: 0; text-align: right; }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.seiten-hero { position: relative; }
.seiten-hero-bild {
  max-height: 420px; overflow: hidden; position: relative;
}
.seiten-hero-bild img { width: 100%; object-fit: cover; }
.seiten-hero-bild::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,29,82,.12), rgba(24,29,82,.55));
}
.seiten-hero-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding-bottom: clamp(24px, 5vw, 56px);
  color: #fff;
}
.seiten-hero-text h1 { color: #fff; margin: 0; text-shadow: 0 2px 24px rgba(24,29,82,.45); }
.seiten-hero-text .kicker { color: var(--rose); }
.hero-sub { font-size: 1.125rem; margin-top: .5em; max-width: 640px; text-shadow: 0 1px 12px rgba(24,29,82,.5); }
@media (max-width: 640px) {
  .seiten-hero-bild { max-height: none; min-height: 230px; }
  .seiten-hero-bild img { height: 230px; }
}

/* ---------- Prosa / Leistungsseiten ---------- */
.prosa h2 { margin-bottom: .65em; }
.prosa-breit { max-width: 820px; }
.prosa-breit h2 { margin-top: 1.6em; }
.prosa-breit h2:first-child { margin-top: 0; }
.leistung-inner { display: grid; gap: clamp(36px, 6vw, 64px); }
.leistung-inner .prosa { max-width: 820px; }
.leistung-bild { position: relative; margin: 0; }
.leistung-bild img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten); }

.info-box {
  background: var(--rose-wash);
  border-left: 5px solid var(--rose);
  border-radius: var(--radius-klein);
  padding: 22px 26px;
  margin-top: 1.75em;
}
.download-liste { list-style: none; margin: .5em 0 0; padding: 0; }
.download-liste li { padding: .4em 0; }
.download-liste a {
  display: inline-flex; align-items: center; gap: .55em; font-weight: 700;
}
.download-liste a::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3v10m0 0 4-4m-4 4-4-4M5 21h14" stroke="black" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3v10m0 0 4-4m-4 4-4-4M5 21h14" stroke="black" stroke-width="2.2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
}

/* ---------- Verwandte Themen ---------- */
.verwandt { padding-bottom: clamp(40px, 6vw, 72px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  background: var(--weiss);
  border: 1.5px solid var(--rose);
  color: var(--blau);
  border-radius: 999px;
  padding: .45em 1.2em;
  font-weight: 600; font-size: .9375rem;
  transition: all var(--uebergang);
}
.chip:hover { background: var(--rose); color: var(--blau); transform: translateY(-2px); }
.chip-alle { border-color: var(--blau); }
.chip-alle:hover { background: var(--blau); color: #fff; }

/* ---------- Zitate ---------- */
blockquote {
  margin: 1.75em 0;
  padding: 0 0 0 1.5em;
  border-left: 5px solid var(--rose);
}
blockquote p {
  font-family: var(--zitat-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--blau);
}
blockquote cite { font-style: normal; font-weight: 700; font-size: .9375rem; color: var(--tinte-hell); }
.zitat-gross {
  max-width: 820px;
  margin: clamp(40px, 6vw, 64px) 0;
  padding: 0 0 0 1.75em;
}
.zitat-gross p { font-family: var(--zitat-serif); font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.abschnitt-rose .zitat-gross { border-left-color: var(--blau); }

/* ---------- Ärztinnen (Praxis-Seite) ---------- */
.aerztin {
  display: grid; gap: clamp(28px, 5vw, 64px); align-items: start;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.aerztin:last-child { margin-bottom: 0; }
@media (min-width: 880px) {
  .aerztin { grid-template-columns: 1fr 1.25fr; }
  .aerztin-rechts { grid-template-columns: 1.25fr 1fr; }
  .aerztin-rechts .aerztin-bild { order: 2; }
}
.aerztin-bild { position: relative; margin: 0; }
.aerztin-bild img { border-radius: var(--radius); box-shadow: var(--schatten); }
.rolle { font-weight: 700; color: var(--rose-tief); margin-bottom: 1em; }

.vita { margin-top: 1.25em; }
.vita summary {
  display: inline-flex; align-items: center; gap: .6em;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .9375rem;
}
.vita summary::-webkit-details-marker { display: none; }
.vita summary::after {
  content: '';
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path d="M1 1.5 6 6.5 11 1.5" stroke="black" stroke-width="2" fill="none" stroke-linecap="round"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path d="M1 1.5 6 6.5 11 1.5" stroke="black" stroke-width="2" fill="none" stroke-linecap="round"/></svg>') center / contain no-repeat;
  transition: transform var(--uebergang);
}
.vita[open] summary::after { transform: rotate(180deg); }
.vita-inhalt {
  margin-top: 1.25em;
  padding: 22px 26px;
  background: var(--weiss);
  border-radius: var(--radius-klein);
  border: 1px solid rgba(35,42,114,.08);
  box-shadow: var(--schatten-klein);
}
.vita-inhalt ul { padding-left: 1.2em; margin: 0 0 1em; }
.vita-inhalt li { margin-bottom: .45em; }

/* ---------- Team ---------- */
.team-raster {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.team-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten-klein);
  border: 1px solid rgba(35,42,114,.06);
  transition: transform var(--uebergang), box-shadow var(--uebergang);
}
.team-karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.team-karte img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.team-karte h3 { margin: 20px 24px 2px; }
.team-karte .rolle { margin: 0 24px .75em; font-size: .9375rem; }
.team-karte > p:last-child { margin: 0 24px 24px; font-size: .9375rem; color: var(--tinte-hell); }

.team-karte-jobs {
  background: var(--blau);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 24px;
}
.team-karte-jobs h3 { color: #fff; }
.team-karte-jobs .rolle { color: var(--rose); }
.team-karte-jobs > p { color: rgba(255,255,255,.85) !important; margin: 0 24px 1em; }
.team-karte-jobs .btn { margin: 0 24px 28px; align-self: flex-start; }

/* ---------- Kunst ---------- */
.kunst-inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 880px) { .kunst-inner { grid-template-columns: 1fr 1.15fr; } }
.kunst-galerie {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.kunst-galerie figure { margin: 0; }
.kunst-galerie img {
  border-radius: var(--radius-klein);
  box-shadow: var(--schatten-klein);
  width: 100%; height: 100%; object-fit: cover;
}
.kunst-gross { grid-column: 1 / -1; }

/* ---------- News ---------- */
.news-liste { max-width: 860px; display: grid; gap: 24px; }
.news-eintrag {
  background: var(--weiss);
  border-radius: var(--radius);
  border: 1px solid rgba(35,42,114,.07);
  box-shadow: var(--schatten-klein);
  padding: clamp(26px, 4vw, 44px);
  border-left: 6px solid var(--rose);
}
.news-eintrag:nth-child(2n) { border-left-color: var(--blau); }
.news-eintrag:nth-child(3n) { border-left-color: var(--orange); }
.news-eintrag-wichtig {
  grid-column: 1 / -1;
  background:
    radial-gradient(900px 300px at 0% 0%, rgba(217, 88, 24, .10), transparent 70%),
    var(--rose-wash);
  border: 1px solid rgba(217, 88, 24, .25);
  border-left: 6px solid var(--orange) !important;
}
.news-eintrag-wichtig .kicker { color: var(--orange); }

/* ---------- Aktuelles: Terminübersicht ---------- */
.abschnitt-termine {
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(35,42,114,.06), transparent 70%),
    radial-gradient(1000px 520px at 100% 25%, rgba(254,186,175,.22), transparent 72%),
    var(--papier);
}
.termine-liste { border-top: 1px solid rgba(35,42,114,.14); }
.termin {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: clamp(20px, 3vw, 30px) 0;
  border-bottom: 1px solid rgba(35,42,114,.14);
}
.termin-datum { line-height: 1.1; }
.termin-tag {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  color: var(--blau);
  letter-spacing: -.01em;
}
.termin-jahr {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose-tief);
  margin-top: 6px;
}
.termin-inhalt h3 {
  color: var(--blau);
  margin: 0 0 .3em;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}
.termin-inhalt p { margin: 0; color: var(--tinte-hell); }
.termin-inhalt p a { font-weight: 600; }
.termin-badge {
  display: inline-flex; align-items: center; gap: 5px;
  margin-left: 12px; vertical-align: middle;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: #2e7d5b; background: #d6f0e2;
  padding: 3px 11px; border-radius: 999px;
}
.termine-vergangen-titel {
  margin: clamp(34px,5vw,54px) 0 0;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tinte-hell);
}
.termin-vorbei { opacity: .5; }
.termin[hidden], .termine-liste[hidden], .termine-kopf[hidden] { display: none !important; }
@media (max-width: 560px) {
  .termin { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Kontakt-Seite ---------- */
.kontakt-raster { display: grid; gap: 24px; align-items: start; }
@media (min-width: 880px) { .kontakt-raster { grid-template-columns: 1fr 1fr; } }
.kontakt-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  border: 1px solid rgba(35,42,114,.07);
  box-shadow: var(--schatten-klein);
  padding: clamp(26px, 4vw, 44px);
  height: 100%;
}
.kontakt-karte h2 { font-size: 1.375rem; }
.kontakt-karte h2:not(:first-child) { margin-top: 1.75em; }
.klein { font-size: .9375rem; color: var(--tinte-hell); }
.kontakt-karte .btn { margin-top: 1em; }

.link-liste { list-style: none; margin: 0; padding: 0; }
.link-liste li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding: .6em 0;
  border-bottom: 1px dashed rgba(35,42,114,.18);
}
.link-liste span { font-weight: 700; color: var(--blau); }

/* ---------- Notfall ---------- */
.kontakt-karte-notfall { background: var(--blau); color: rgba(255,255,255,.92); }
.kontakt-karte-notfall h2 { color: #fff; }
.notfall-liste { list-style: none; margin: 0; padding: 0; }
.notfall-liste li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: .65em 0;
  border-bottom: 1px dashed rgba(255,255,255,.25);
}
.notfall-liste a {
  color: var(--rose); font-weight: 700; font-size: 1.0625rem; white-space: nowrap;
}
.notfall-liste a:hover { color: #fff; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    radial-gradient(900px 420px at 12% 110%, rgba(254,186,175,.28), transparent 65%),
    var(--blau);
  padding: clamp(48px, 7vw, 88px) 0;
  color: rgba(255,255,255,.88);
}
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 32px;
}
.cta-band-aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
#fuss {
  background: var(--blau-tief);
  color: rgba(255,255,255,.82);
  font-size: .9375rem;
}
#fuss::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--rose) 0 40%, var(--orange) 40% 65%, var(--salbei) 65% 100%);
}
.fuss-inner { max-width: var(--container); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px 28px; }
.fuss-spalten { display: grid; gap: 40px; }
@media (min-width: 800px) { .fuss-spalten { grid-template-columns: 1.3fr 1fr 1fr; } }
.fuss-titel {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: .6em;
}
.fuss-titel:not(:first-child) { margin-top: 1.5em; }
#fuss a { color: var(--rose); }
#fuss a:hover { color: #fff; }
.fuss-nav { list-style: none; margin: 0; padding: 0; }
.fuss-nav li { padding: .25em 0; }
.fuss-notfall { margin-top: 1.5em; font-size: .875rem; color: rgba(255,255,255,.65); }
.fuss-unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}
.fuss-unten ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }

/* ---------- Onepager: Anker, Sektionen ---------- */
section[id] { scroll-margin-top: 92px; }
.abschnitt-kopf-abstand { margin-top: clamp(56px, 8vw, 100px); }
.abschnitt-blau {
  background:
    radial-gradient(1100px 500px at 10% 100%, rgba(254, 186, 175, .18), transparent 70%),
    var(--blau);
}
.abschnitt-blau h2, .abschnitt-blau h3 { color: #fff; }
.abschnitt-blau .kicker { color: var(--rose); }
.aerztin-name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.news-raster {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.news-raster .news-eintrag { margin: 0; }
.kontakt-karte-breit { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .link-liste-spalten {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}

/* ---------- Leistungs-Modale ---------- */
dialog.modal-leistung {
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 32px 80px -24px rgba(24, 29, 82, .5);
  background: var(--weiss);
  color: var(--tinte);
}
dialog.modal-leistung::backdrop {
  background: rgba(24, 29, 82, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
dialog.modal-leistung[open] { animation: modal-auf .3s ease; }
@keyframes modal-auf {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.modal-bild { position: relative; }
.modal-bild img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.modal-bild::after {
  content: '';
  position: absolute;
  left: 0; right: 45%;
  bottom: 0;
  height: 6px;
  background: var(--rose);
  border-radius: 0 999px 999px 0;
}
.modal-inhalt { padding: clamp(24px, 4.5vw, 44px); }
.modal-inhalt h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: .6em; }
.modal-zu {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--blau);
  cursor: pointer;
  box-shadow: var(--schatten-klein);
  transition: all var(--uebergang);
}
.modal-zu:hover { background: var(--orange); color: #fff; transform: rotate(90deg); }
.modal-aktionen {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 1.75em;
}
body:has(dialog.modal-leistung[open]) { overflow: hidden; }

/* ---------- Aktueller Hinweis: Karte + Fenster (assets/js/hinweis.js) ---------- */
/* Elegante, ruhige Karte – gut sichtbar unter dem Hero */
.hinweis-karte-band { margin-top: clamp(34px, 5vw, 60px); }
.hinweis-karte {
  position: relative;
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: flex-start;
  background:
    radial-gradient(700px 260px at 0% 0%, rgba(217, 88, 24, .08), transparent 70%),
    var(--rose-wash);
  border: 1px solid rgba(217, 88, 24, .22);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--schatten-klein);
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px);
}
.hinweis-karte-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}
.hinweis-karte-icon svg { width: 24px; height: 24px; }
.hinweis-karte-text { flex: 1; min-width: 0; }
.hinweis-karte .kicker { color: var(--orange); }
.hinweis-karte h3 { margin: 0 0 .35em; color: var(--blau); }
.hinweis-karte p { margin: 0 0 1em; color: var(--tinte); }
.hinweis-karte .btn { margin-top: .25em; }
@media (max-width: 560px) {
  .hinweis-karte { flex-direction: column; gap: 14px; }
}

/* Hinweis-Fenster beim Laden */
dialog.hinweis-dialog {
  width: min(640px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  padding: 0;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  color: var(--tinte);
  overflow: hidden;
}
dialog.hinweis-dialog::backdrop { background: rgba(24, 29, 82, .5); backdrop-filter: blur(3px); }
.hinweis-dialog-kopf {
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(254, 186, 175, .5), transparent 70%),
    var(--blau);
  color: #fff;
  padding: 26px clamp(24px, 4vw, 40px) 22px;
}
.hinweis-dialog-kopf .kicker { color: var(--rose); margin-bottom: .4em; }
.hinweis-dialog-kopf h2 { color: #fff; margin: 0; }
.hinweis-dialog-inhalt {
  padding: clamp(22px, 3.5vw, 34px);
  overflow-y: auto;
  max-height: calc(100vh - 320px);
}
.hinweis-dialog-inhalt p { margin: 0 0 .8em; }
.hinweis-dialog-inhalt ul { margin: 0 0 .8em; padding-left: 1.2em; }
.hinweis-dialog-inhalt li { margin-bottom: .35em; }
.hinweis-dialog-fuss {
  display: flex; justify-content: flex-end;
  gap: 12px;
  padding: 0 clamp(22px, 3.5vw, 34px) clamp(22px, 3.5vw, 30px);
}
.hinweis-schliessen {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .18); color: #fff;
  cursor: pointer; transition: background var(--uebergang);
}
.hinweis-schliessen:hover { background: rgba(255, 255, 255, .32); }
body:has(dialog.hinweis-dialog[open]) { overflow: hidden; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
