/* ==========================================================================
   Frauenarztpraxis Hilde 27 – Stylesheet
   ========================================================================== */

:root {
  --ground: #ffffff;
  --blush: #fbf2f3;
  --mint: #e6f1ec;
  --mint-ink: #3f6b5d;
  --ink: #3b3336;
  --muted: #6c6064;
  --line: #eddfe2;
  --rose: #c8687e;        /* Kacheln, Akzentflächen */
  --rose-ink: #b0546b;    /* Überschriften, Links auf Weiß */
  --rose-deep: #a84f65;   /* Infoleiste, Footer */
  --rose-soft: #f3c9d2;
  --on-rose: #ffffff;
  --shadow: 0 18px 40px -22px rgba(120, 50, 70, .35);

  --f-display: "Jost", "Futura", "Century Gothic", "Segoe UI", sans-serif;
  --f-body: "DM Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --radius: 4px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #1c1719;
    --blush: #261e21;
    --mint: #1d2926;
    --mint-ink: #9fcdbd;
    --ink: #f1e7ea;
    --muted: #c0b1b6;
    --line: #3a2f33;
    --rose: #9c475b;
    --rose-ink: #f0a2b3;
    --rose-deep: #7a3547;
    --rose-soft: #5a2e3a;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #1c1719;
  --blush: #261e21;
  --mint: #1d2926;
  --mint-ink: #9fcdbd;
  --ink: #f1e7ea;
  --muted: #c0b1b6;
  --line: #3a2f33;
  --rose: #9c475b;
  --rose-ink: #f0a2b3;
  --rose-deep: #7a3547;
  --rose-soft: #5a2e3a;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.18;
  color: var(--rose-ink);
  margin: 0 0 .55em;
  text-wrap: balance;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 400; }
h4 { font-size: 1.05rem; font-weight: 500; color: var(--ink); letter-spacing: .02em; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--blush { background: var(--blush); }
.section--mint { background: var(--mint); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.5em; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ground); padding: 8px 14px;
}
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-display);
  font-size: .98rem; font-weight: 500; letter-spacing: .02em;
  padding: .8em 1.35em;
  border: 1.5px solid var(--rose-ink);
  border-radius: 999px;
  background: var(--rose-ink); color: var(--ground);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: transparent; color: var(--rose-ink); }
.btn--ghost { background: transparent; color: var(--rose-ink); }
.btn--ghost:hover { background: var(--rose-ink); color: var(--ground); }
.btn--light { background: var(--on-rose); border-color: var(--on-rose); color: var(--rose-deep); }
.btn--light:hover { background: transparent; color: var(--on-rose); }
.btn--line-light { background: transparent; border-color: var(--on-rose); color: var(--on-rose); }
.btn--line-light:hover { background: var(--on-rose); color: var(--rose-deep); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.more {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 500;
  text-decoration: none; color: var(--rose-ink);
}
.more svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }

.ico { width: 1em; height: 1em; flex: none; }

/* ---------- Infoleiste ---------- */
.topbar {
  background: var(--rose-deep); color: var(--on-rose);
  font-size: .86rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 24px; padding-block: 8px;
}
.topbar ul { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .ico { width: 15px; height: 15px; opacity: .9; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(80, 30, 45, .45); }
.header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 84px;
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--rose-ink); }
.logo svg { width: 52px; height: 52px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--f-display); }
.logo-text small { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; }
.logo-text strong { font-size: 1.55rem; font-weight: 300; letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a.nav-link, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--f-display); font-size: 1rem; font-weight: 400;
  color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: var(--radius);
}
.nav a.nav-link:hover, .nav button.nav-link:hover,
.nav .is-active > .nav-link { color: var(--rose-ink); }
.nav .is-active > .nav-link { box-shadow: inset 0 -2px 0 var(--rose-soft); }
.nav .caret { width: 12px; height: 12px; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  list-style: none; margin: 0; padding: 8px;
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub {
  opacity: 1; visibility: visible; transform: none;
}
.sub a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.sub a:hover { background: var(--blush); color: var(--rose-ink); }
.nav .btn { margin-left: 10px; padding: .65em 1.15em; }

.burger {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--rose-ink);
}
.burger svg { width: 30px; height: 30px; }

@media (max-width: 1180px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--ground);
    padding: calc(84px + env(safe-area-inset-top, 0px)) 24px 32px;
    box-shadow: -20px 0 40px -20px rgba(60, 20, 30, .35);
    transform: translateX(105%); transition: transform .28s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-link, .nav button.nav-link { width: 100%; justify-content: space-between; font-size: 1.12rem; padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .is-active > .nav-link { box-shadow: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-sub.is-open .sub { display: block; }
  .has-sub.is-open .caret { transform: rotate(180deg); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .nav-close { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); right: 18px; }
  body.nav-open { overflow: hidden; }
  .scrim { position: fixed; inset: 0; background: rgba(40, 20, 28, .35); z-index: 40; }
}
@media (min-width: 1181px) { .nav-close, .scrim { display: none !important; } }
@media (max-width: 420px) {
  .logo svg { width: 42px; height: 42px; }
  .logo-text strong { font-size: 1.3rem; }
  .logo-text small { font-size: .6rem; letter-spacing: .22em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-media { position: relative; height: clamp(300px, 52vw, 640px); overflow: hidden; background: var(--blush); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-card {
  position: relative; z-index: 2;
  max-width: 600px;
  margin: -120px 0 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  background: var(--ground);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--rose);
}
.hero-card h1 { margin-bottom: .4em; }
.hero-card p { color: var(--muted); }
@media (max-width: 700px) {
  .hero-card { margin: -48px 16px 0; padding: 26px 22px; }
}

/* Unterseiten-Kopf */
.page-hero { position: relative; background: var(--blush); }
.page-hero-media { height: clamp(240px, 32vw, 520px); overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { padding-block: clamp(36px, 6vw, 64px); }
.page-hero h1 { margin-bottom: .3em; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: inherit; }

/* ---------- Schnellinfos ---------- */
.quick {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); background: var(--ground);
}
.quick > div { padding: 28px 30px; display: grid; gap: 6px; align-content: start; }
.quick > div + div { border-left: 1px solid var(--line); }
.quick h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0 0 4px; }
.quick h3 svg { width: 26px; height: 26px; color: var(--rose); }
.quick p { margin: 0; color: var(--muted); font-size: .98rem; }
.quick .big { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); font-weight: 400; text-decoration: none; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 500; color: var(--mint-ink);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-closed { color: var(--muted); }
@media (max-width: 860px) {
  .quick { grid-template-columns: 1fr; }
  .quick > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Bild/Text ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--wide-img { grid-template-columns: 1.15fr 1fr; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 4 / 5; }
.split-media.natural img { aspect-ratio: auto; }
.split-media figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.split.reverse .split-media { order: 2; }
.signature { font-family: var(--f-display); font-size: 1.2rem; font-weight: 300; color: var(--rose-ink); margin-top: 1.4em; }
@media (max-width: 860px) {
  .split, .split--wide-img { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Ärztinnen ---------- */
.doctors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.doctor { display: flex; flex-direction: column; }
.doctor-photo { overflow: hidden; background: var(--blush); }
.doctor-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.doctor:hover .doctor-photo img { transform: scale(1.03); }
.doctor-body { padding: 22px 2px 0; display: flex; flex-direction: column; flex: 1; }
.doctor h3 { margin-bottom: 2px; }
.doctor .role { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; }
.tags li {
  font-size: .8rem; padding: 3px 10px; border-radius: 999px;
  background: var(--mint); color: var(--mint-ink);
}
.doctor .btn-row { margin-top: auto; }
.doctor .btn { font-size: .92rem; padding: .65em 1.1em; }
@media (max-width: 900px) { .doctors { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Leistungs-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--rose); color: var(--on-rose);
  padding: 36px 22px 32px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--rose-deep); }
.tile svg { width: 58px; height: 58px; margin-bottom: 14px; }
.tile h3 { color: var(--on-rose); font-weight: 300; font-size: 1.45rem; margin-bottom: 8px; }
.tile p { font-size: .95rem; line-height: 1.55; margin: 0; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--blush); text-decoration: none; color: var(--ink);
  transition: box-shadow .25s;
}
.feature:hover { box-shadow: var(--shadow); }
.feature img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.feature-body { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.feature-body h3 { margin-bottom: 8px; }
.feature-body p { font-size: .96rem; color: var(--muted); }
@media (max-width: 1000px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; } .feature img { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- Hinweis-Band ---------- */
.notice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
.notice-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ground); color: var(--mint-ink);
}
.notice-icon svg { width: 30px; height: 30px; }
.notice h3 { color: var(--mint-ink); margin-bottom: 4px; }
.notice p { margin: 0; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; } }

/* ---------- Leistungs-Detail ---------- */
.service-list { display: grid; gap: 0; }
.service {
  display: grid; grid-template-columns: 96px 1fr; gap: 28px;
  padding-block: 40px; border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service-icon {
  width: 96px; height: 96px; display: grid; place-items: center;
  background: var(--rose); color: var(--on-rose);
}
.service-icon svg { width: 54px; height: 54px; }
.service h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .4em; }
.service p { max-width: 68ch; }
.service ul { max-width: 64ch; }
@media (max-width: 600px) {
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service-icon { width: 72px; height: 72px; }
  .service-icon svg { width: 42px; height: 42px; }
}

/* ---------- Karten / Boxen ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--ground); border: 1px solid var(--line); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.box { background: var(--blush); padding: clamp(24px, 4vw, 40px); border-left: 3px solid var(--rose); }
.box h3 { margin-bottom: 8px; }

/* ---------- Sprechzeiten ---------- */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.hours th { width: 44%; color: var(--muted); padding-right: 12px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--rose-ink); font-weight: 600; }

/* ---------- Team-Profil ---------- */
.profile {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.profile:first-of-type { border-top: 0; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile-aside { display: grid; gap: 20px; align-content: start; }
.profile-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 18px; }
.profile ul { padding-left: 1.1em; }
.profile li { margin-bottom: 4px; }
.cv { list-style: none; padding: 0 !important; border-left: 1px solid var(--rose-soft); }
.cv li { position: relative; padding: 0 0 12px 22px; margin: 0; }
.cv li::before {
  content: ""; position: absolute; left: -5px; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ground); border: 1.5px solid var(--rose);
}
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; }
  .profile-aside { grid-template-columns: minmax(0, 300px); }
  .profile-cols { grid-template-columns: 1fr; }
}

.names { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.names li { padding: 8px 16px; background: var(--ground); border: 1px solid var(--line); font-family: var(--f-display); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.contact-line svg { width: 20px; height: 20px; color: var(--rose); margin-top: 4px; flex: none; }
.contact-line a { color: var(--ink); text-decoration: none; }
.contact-line a:hover { color: var(--rose-ink); }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.downloads a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); background: var(--ground);
  color: var(--ink); text-decoration: none;
}
.downloads a:hover { border-color: var(--rose); color: var(--rose-ink); }
.downloads svg { width: 26px; height: 26px; color: var(--rose); flex: none; }
.downloads small { display: block; color: var(--muted); }

/* ---------- Aktuelles ---------- */
.news { display: grid; gap: 20px; }
.news-item { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.news-item time { font-family: var(--f-display); color: var(--rose-ink); font-size: 1.05rem; }
@media (max-width: 600px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- CTA-Band ---------- */
.cta {
  background: var(--rose); color: var(--on-rose);
  padding-block: clamp(44px, 6vw, 72px);
}
.cta .wrap { text-align: center; }
.cta h2 { color: var(--on-rose); margin: 0 0 6px; }
.cta p { margin: 0; opacity: .95; }

/* ---------- Footer ---------- */
.footer { background: var(--rose-deep); color: var(--on-rose); padding-block: 64px 28px; font-size: .95rem; }
.footer a { color: var(--on-rose); }
.footer .btn--light { color: var(--rose-deep); }
.footer .btn--light:hover { color: var(--on-rose); }
.footer .btn--line-light:hover { color: var(--rose-deep); }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 44px; }
.footer .logo { color: var(--on-rose); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.footer h4 { color: var(--on-rose); font-family: var(--f-display); font-weight: 400; letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; margin-bottom: 14px; }
.footer .hours th, .footer .hours td { border-color: rgba(255,255,255,.22); color: var(--on-rose); padding: 5px 0; }
.footer .hours th { opacity: .85; }
.footer .hours { max-width: 280px; margin-inline: auto; }
.footer .hours tr.is-today th, .footer .hours tr.is-today td { color: var(--on-rose); }
.footer .btn-row { justify-content: center; margin-top: 14px; }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem;
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Nach-oben ---------- */
.to-top {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--rose-ink); color: var(--ground); cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.is-visible { opacity: .92; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.btn--mint { background: transparent; color: var(--mint-ink); border-color: var(--mint-ink); }
.btn--mint:hover { background: var(--mint-ink); color: var(--mint); }
@media (max-width: 900px) {
  .profile-aside { display: contents; }
  .profile-photo { order: 0; max-width: 300px; }
  .profile-main { order: 1; }
  .profile-hours { order: 2; max-width: 420px; }
}

/* ---------- Laborpakete ---------- */
.lab-base {
  display: block;
  background: var(--mint); padding: clamp(22px, 3vw, 32px);
}
.lab-base h3 { color: var(--mint-ink); margin-bottom: 10px; }
.lab-base .tags { margin: 0; }
.lab-base .tags li { background: var(--ground); font-size: .9rem; padding: 5px 14px; }
.lab-base .service-icon { width: 80px; height: 80px; }
.lab-base .service-icon svg { width: 46px; height: 46px; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg {
  background: var(--ground); border: 1px solid var(--line); border-top: 3px solid var(--rose);
  padding: 28px 26px;
}
.pkg h3 { margin-bottom: 8px; }
.pkg > p { color: var(--muted); font-size: .96rem; }
.pkg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pkg li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; font-size: .98rem; }
.pkg li::before {
  content: ""; position: absolute; left: 4px; top: 1.05em;
  width: 9px; height: 5px; border-left: 1.6px solid var(--rose); border-bottom: 1.6px solid var(--rose);
  transform: rotate(-45deg);
}
.pkg li small { color: var(--muted); font-size: .86rem; }
.pkg li.base { color: var(--mint-ink); font-weight: 500; }
.pkg li.base::before { border-color: var(--mint-ink); }
@media (max-width: 960px) { .pkg-grid { grid-template-columns: 1fr; max-width: 560px; } }

.lab-teaser {
  display: grid; grid-template-columns: 280px 1fr auto; gap: 32px; align-items: center;
  margin-top: 16px; padding-right: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--line); background: var(--ground);
  color: var(--ink); text-decoration: none; overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.lab-teaser:hover { box-shadow: var(--shadow); border-color: var(--rose-soft); }
.lab-teaser-media { align-self: stretch; }
.lab-teaser-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: center 22%; }
.lab-teaser-body { padding-block: 28px; }
.lab-teaser h3 { margin-bottom: 6px; }
.lab-teaser p { color: var(--muted); font-size: .98rem; margin-bottom: 12px; }
.lab-teaser .tags { margin: 0; }
.lab-teaser .eyebrow { margin-bottom: .4rem; }
.service-photo { overflow: hidden; background: var(--blush); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (max-width: 760px) {
  .lab-teaser { grid-template-columns: 1fr; gap: 0; padding: 0 22px 24px; }
  .lab-teaser-media { margin-inline: -22px; }
  .lab-teaser-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .lab-teaser-body { padding-block: 22px 14px; }
}

/* Drei Bildkarten nebeneinander: Bild oben, Text darunter */
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features--3 .feature { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.features--3 .feature img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
.features--3 .feature-body { justify-content: flex-start; padding: 24px 24px 28px; }
@media (max-width: 1000px) { .features--3 { grid-template-columns: 1fr; max-width: 560px; } }

/* Sprechzeiten in den Ärztinnen-Karten (Terminbuchung) */
.doctor-hours { margin: 6px 0 30px; font-size: .95rem; }
.doctor-hours th, .doctor-hours td { padding: 7px 0; }

/* ---------- Praxislogo (hochformatig) ---------- */
.logo .logo-mark { width: auto; height: 60px; }
.footer .logo .logo-mark { height: 72px; }
@media (max-width: 420px) { .logo .logo-mark { height: 48px; } }

/* ---------- Paketpreise ---------- */
.pkg { display: flex; flex-direction: column; }
.pkg-price {
  margin: auto 0 0; padding-top: 18px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--f-display); font-size: 1.7rem; font-weight: 400; color: var(--rose-ink);
  font-variant-numeric: tabular-nums;
}
.pkg ul + .pkg-price { border-top: 1px solid var(--line); margin-top: auto; }
.pkg-price span { font-family: var(--f-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lab-base-note { margin: 12px 0 0; color: var(--ink); font-size: .95rem; }

/* ---------- Handy: Bild und Text in Karten nie überlagern (Safari) ---------- */
@media (max-width: 560px) {
  .feature img { height: auto; }
}
@media (max-width: 760px) {
  .lab-teaser-media img { height: auto; }
}
/* Titelbild mit Personen am Rand: auf schmalen Bildschirmen vollständig zeigen */
@media (max-width: 760px) {
  .page-hero-media.natural { height: auto; }
  .page-hero-media.natural img { height: auto; }
}

/* ---------- Notfall-Hinweis ---------- */
.emergency {
  display: flex; gap: 14px; align-items: center;
  margin-top: 16px; padding: 14px 20px;
  background: var(--blush); border-left: 3px solid var(--rose);
  font-size: .97rem;
}
.emergency > svg { width: 22px; height: 22px; color: var(--rose-ink); flex: none; }
.emergency p { margin: 0; }
.emergency a { color: var(--rose-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) { .emergency .sep { display: block; height: 0; overflow: hidden; } }

/* ---------- Hinweisleiste Startseite (aus der Verwaltung) ---------- */
.home-notice { background: var(--mint); border-bottom: 1px solid var(--line); }
.home-notice .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; padding-block: 14px; }
.home-notice p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; color: var(--ink); }
.home-notice strong { font-weight: 600; color: var(--mint-ink); }
.home-notice-date { font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.home-notice .more { margin-left: auto; }
@media (max-width: 600px) { .home-notice .more { margin-left: 0; } }
.news-item p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 48px 0 12px; }
.faq h2:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0;
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 400; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blush); color: var(--rose-ink); font-size: 1.3rem; line-height: 1;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--rose-ink); }
.faq-answer { padding: 0 50px 20px 0; color: var(--ink); }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .faq-answer { padding-right: 0; } }
.nav a.nav-link, .nav button.nav-link, .nav .btn { white-space: nowrap; }
