/* Internistische Gemeinschaftspraxis Geiselhöring – Stylesheet
   Farben: drei Grüntöne aus dem Logo + Logo-Orange als Akzent */

:root {
  --green: #536b63;        /* Primärfarbe (Dunkelgrün aus dem Logo) */
  --green-dark: #2f3f3b;   /* dunkleres Grün: Schrift, Footer */
  --green-light: #edf2ee;  /* sehr helles Grün: Sektionshintergründe */
  --orange: #d75f30;       /* Akzent (Orange der Flamme im Logo) */
  --orange-hover: #c2542a;
  --white: #ffffff;
  --ink: var(--green-dark);
  --ink-soft: #5a6662;
  --line: rgba(47, 63, 59, 0.16);

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 96px;
  --bar-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--font-body);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.375rem); line-height: 1.18; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.005em; }
h4 { font-size: 1.0625rem; line-height: 1.35; }

.lead { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem); line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9375rem; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--green-dark); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tint { background: var(--green-light); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.7em 1.3em;
  font: 700 1.1875rem/1.2 var(--font-body);      /* 19px fett = große Schrift für Kontrast */
  text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; text-align: center; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 22px; height: 22px; }
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-hover); color: var(--white); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn--ghost:hover { background: var(--green-light); color: var(--green-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-weight: 700; color: var(--green); text-decoration: none;
  border-bottom: 2px solid rgba(83, 107, 99, 0.35); padding-bottom: 2px;
}
.text-link:hover { border-color: var(--orange); color: var(--green-dark); }
.text-link svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(47, 63, 59, 0.45); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; line-height: 0; }
.brand img { height: 72px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav a,
.main-nav .nav-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 10px; white-space: nowrap;
  font: 600 1.0625rem/1.2 var(--font-body); color: var(--green-dark);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.main-nav a:hover,
.main-nav .nav-toggle:hover,
.main-nav .has-panel:focus-within > .nav-toggle { background: var(--green-light); }
.main-nav > ul > li > [aria-current="page"],
.main-nav .is-active > .nav-toggle { background: var(--green-dark); color: var(--white); }
.main-nav > ul > li > [aria-current="page"]:hover,
.main-nav .is-active > .nav-toggle:hover { background: var(--green); color: var(--white); }
.main-nav .nav-panel [aria-current="page"] { background: var(--green-light); }
.nav-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.has-panel { position: relative; }
.nav-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-38%);
  width: min(720px, 80vw);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(47, 63, 59, 0.35);
  padding: 14px; display: none;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-panel.is-open .nav-panel { display: block; }
.nav-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; }
.main-nav .nav-panel a {
  display: block; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 400;
}
.nav-panel a strong { display: block; font: 600 1.0625rem/1.3 var(--font-head); color: var(--green-dark); margin-bottom: 4px; }
.nav-panel a span { display: block; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
.nav-panel-foot {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 4px 8px;
}
.main-nav .nav-panel-foot a { display: inline-flex; font-weight: 700; color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--green-dark); text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; color: var(--orange); }
.header-actions .btn { min-height: 48px; padding: 0.55em 1.1em; }

.menu-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 48px; height: 48px; padding: 0; margin-left: auto;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--green-dark); cursor: pointer;
}
.menu-button svg { width: 26px; height: 26px; }

@media (max-width: 1199px) {
  .main-nav, .header-actions .header-phone { display: none; }
}
@media (min-width: 1200px) {
  .menu-button { display: none; }
  .header-actions { margin-left: 8px; }
}
@media (min-width: 1560px) { .header-phone { display: inline-flex; } }
@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .header-actions { display: none; }
  .brand img { height: 58px; }
}
@media (max-width: 359px) { .brand img { height: 52px; } }

/* ---------- Mobile Navigation ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(47, 63, 59, 0.45); opacity: 0; transition: opacity .25s ease; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 90vw);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .mobile-nav__panel, .mobile-nav__backdrop { transition: none; } }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav__top span { font: 600 1.0625rem/1 var(--font-head); }
.mobile-nav__close { width: 48px; height: 48px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav__close svg { width: 26px; height: 26px; }
.mobile-nav__body { padding: 12px 20px 24px; }
.mobile-nav__list { list-style: none; }
.mobile-nav__list > li > a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 600 1.25rem/1.3 var(--font-head); color: var(--green-dark); text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--green); }
.mobile-nav__group { padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
.mobile-nav__group > a { font: 600 1.25rem/1.3 var(--font-head); color: var(--green-dark); text-decoration: none; }
.mobile-nav__sub { list-style: none; margin-top: 8px; }
.mobile-nav__sub a { display: block; padding: 9px 0 9px 14px; border-left: 3px solid var(--green-light); color: var(--ink); text-decoration: none; font-size: 1.0625rem; }
.mobile-nav__sub a[aria-current="page"] { border-color: var(--orange); color: var(--green); font-weight: 700; }
.mobile-nav__contact { margin-top: 24px; padding: 18px; background: var(--green-light); border-radius: var(--radius); }
.mobile-nav__contact p { margin-bottom: 0.4em; font-size: 1rem; }
.mobile-nav__contact a { font-weight: 700; }
body.nav-locked { overflow: hidden; }

/* ---------- Schnellkontakt-Leiste (Handy/Tablet) ---------- */
.contact-bar { display: none; }
@media (max-width: 1023px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .contact-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px -20px rgba(47, 63, 59, 0.5);
  }
  .contact-bar .btn { width: 100%; min-height: 54px; padding-inline: 10px; }
}

/* ---------- Phone chooser (falls mehrere Nummern) ---------- */

/* ---------- Hero (Startseite) ---------- */
.hero { padding: clamp(16px, 3vw, 32px) 0 clamp(32px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1fr; padding-inline: var(--gutter); }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font: 600 1rem/1.3 var(--font-head); color: var(--green);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.eyebrow .short { display: none; }
.hero h1 { margin-bottom: 18px; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.hero-media { margin: 0 0 22px; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.hero .lead { margin-bottom: 26px; max-width: 560px; }

@media (max-width: 1023px) { .hero-actions { display: none; } }
@media (max-width: 600px) {
  .eyebrow .long { display: none; }
  .eyebrow .short { display: inline; }
  .hero h1 { font-size: clamp(1.75rem, 1.1rem + 3.4vw, 2.1rem); margin-bottom: 14px; }
  .hero-media { margin-bottom: 18px; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: clamp(40px, 5vw, 72px); }
  .hero-grid {
    padding-inline: 0;
    grid-template-columns: max(var(--gutter), calc((100% - var(--container)) / 2)) minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: ". . media" ". eyebrow media" ". title media" ". lead media" ". actions media" ". . media";
    grid-template-rows: 1fr auto auto auto auto 1fr;
  }
  .hero .eyebrow { grid-area: eyebrow; }
  .hero h1 { grid-area: title; padding-right: clamp(32px, 4vw, 64px); }
  .hero .lead { grid-area: lead; padding-right: clamp(32px, 4vw, 64px); }
  .hero-actions { grid-area: actions; }
  .hero-media { grid-area: media; margin: 0; }
  .hero-media img { border-radius: var(--radius) 0 0 var(--radius); }
}

/* Kachelleiste unter dem Hero */
.tiles { display: grid; grid-template-columns: 1fr; border-block: 1px solid var(--line); }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px var(--gutter) 28px; background: var(--white); }
.tile + .tile { border-top: 1px solid var(--line); }
.tile h2 { font-size: 1.25rem; margin: 0; padding-right: 64px; }
.tile p { margin: 0 0 12px; color: var(--ink-soft); padding-right: 40px; }
.tile-icon {
  position: absolute; top: 22px; right: var(--gutter); width: 50px; height: 50px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--green); background: var(--white);
}
.tile-icon svg { width: 22px; height: 22px; }
.tile .tile-icon svg path[fill] { fill: var(--orange); }
.tile-link { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--green); text-decoration: none; align-self: flex-start; border-bottom: 2px solid transparent; }
.tile-link:hover { border-color: var(--orange); }
.tile-link svg { width: 18px; height: 18px; }
.tile--light { background: var(--green-light); }
.tile--dark { background: var(--green-dark); color: var(--white); }
.tile--dark h2 { color: var(--white); }
.tile--dark p { color: rgba(255, 255, 255, 0.82); }
.tile--dark .tile-link { color: var(--white); }
.tile--dark .tile-icon { background: rgba(255, 255, 255, 0.12); border-color: transparent; color: var(--white); }
@media (min-width: 640px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile + .tile { border-top: 0; }
  .tile:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1280px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tile { padding: 36px 32px 34px; min-height: 230px; }
  .tile:nth-child(n+3) { border-top: 0; }
  .tile-icon { top: 30px; right: 28px; }
}

/* Hinweisleiste */
.news-strip { border-bottom: 1px solid var(--line); }
.news-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 18px; }
.news-strip p { margin: 0; flex: 1 1 360px; }

/* Labels */
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: 0.9375rem; font-weight: 700; color: var(--green);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.pill--light { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: 0.875rem; font-weight: 700; }
.tag--accent { background: rgba(215, 95, 48, 0.12); }
.tag--accent::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.features { display: grid; gap: 22px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.features h3 { font-size: 1.125rem; margin-bottom: 6px; }
.features p { color: var(--ink-soft); font-size: 1.0625rem; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ---------- Leistungen (Liste) ---------- */
.services-layout { display: grid; gap: clamp(28px, 4vw, 56px); }
.services-intro .services-photo { margin-top: 28px; }
.services-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
  padding: 22px 4px; text-decoration: none; color: var(--ink);
}
.service-list h3 { margin: 0; font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); color: var(--green-dark); }
.service-list p { grid-column: 1; margin: 0; color: var(--ink-soft); font-size: 1.0625rem; }
.service-list .chev {
  grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--line); color: var(--green); transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.service-list .chev svg { width: 20px; height: 20px; }
.service-list a:hover h3 { color: var(--green); }
.service-list a:hover .chev { background: var(--orange); border-color: var(--orange); color: var(--white); }
@media (min-width: 1024px) {
  .services-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .services-intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Bild + Text ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split-media { order: 2; }
}

/* ---------- Ärzte (Bogen-Porträts) ---------- */
.portrait {
  overflow: hidden; background: var(--green-light);
  border-radius: 50% 50% var(--radius-sm) var(--radius-sm) / 40% 40% var(--radius-sm) var(--radius-sm);
}
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.doctor-grid { display: grid; gap: 40px 28px; grid-template-columns: 1fr; list-style: none; }
.doctor-card { display: flex; flex-direction: column; }
.doctor-card .portrait { margin-bottom: 20px; }
.doctor-card h3 { margin-bottom: 6px; }
.doctor-card .quals { list-style: none; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; margin-bottom: 14px; }
.doctor-card .quals li + li { margin-top: 2px; }
.doctor-card .text-link { margin-top: auto; align-self: flex-start; }
@media (min-width: 640px) { .doctor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .doctor-grid { grid-template-columns: repeat(3, 1fr); gap: 40px clamp(28px, 4vw, 56px); } }
@media (max-width: 639px) { .doctor-card .portrait { max-width: 320px; } }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; gap: clamp(32px, 5vw, 64px); }
.rating { align-self: start; }
.rating-score { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.rating-score b { font: 600 clamp(3.5rem, 2.8rem + 3vw, 5rem)/1 var(--font-head); color: var(--green-dark); letter-spacing: -0.03em; }
.rating-score .stars svg { width: 24px; height: 24px; }
.rating p { color: var(--ink-soft); }
.quote-list { list-style: none; display: grid; gap: 20px; }
.quote {
  margin: 0; padding: 26px 28px; background: var(--white); border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}
.quote p { font-size: 1.1875rem; line-height: 1.55; margin-bottom: 12px; color: var(--green-dark); }
.quote footer { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--ink-soft); }
.quote .stars svg { width: 15px; height: 15px; }
@media (min-width: 1024px) { .reviews { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* ---------- Aktuelles ---------- */
.news-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px 32px; }
.news-item time, .news-item .news-meta { font-size: 0.9375rem; color: var(--ink-soft); font-weight: 700; }
.news-item h3 { margin: 0 0 4px; }
.news-item p { margin: 0; }
@media (min-width: 800px) { .news-item { grid-template-columns: 180px 1fr; } }

.notice {
  display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); border: 2px dashed rgba(215, 95, 48, 0.55);
}
.notice svg { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.notice h3 { margin-bottom: 4px; }

/* ---------- Kontakt & Sprechzeiten ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 700; width: 38%; padding-right: 12px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--green-dark); }
.hours tr.is-today th::after { content: " · heute"; font-weight: 400; color: var(--orange); }
.hours td span { display: block; }
.open-state { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 700; font-size: 1rem; }
.open-state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-soft); }
.open-state.is-open::before { background: #3f8f5a; }
.open-state:empty { display: none; }

.contact-list { list-style: none; display: grid; gap: 0; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 24px; height: 24px; color: var(--orange); margin-top: 3px; }
.contact-list strong { display: block; font: 600 1rem/1.3 var(--font-head); color: var(--green-dark); }
.contact-list a { font-size: 1.125rem; }

.emergency { margin-top: 24px; padding: 18px 20px; background: var(--white); border-radius: var(--radius); font-size: 1rem; }
.section--tint .emergency { background: var(--white); }
.section:not(.section--tint) .emergency { background: var(--green-light); }
.emergency strong { font-family: var(--font-head); font-weight: 600; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { padding-block: clamp(16px, 3vw, 48px) clamp(40px, 5vw, 72px); background: var(--green-light); }
.page-hero--plain { background: var(--white); }
.breadcrumb { margin-bottom: 14px; font-size: 0.9375rem; color: var(--ink-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.page-hero-grid { display: grid; gap: 0; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero-media { margin: 0 0 20px; }
.page-hero-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.page-hero-media.portrait-wrap { max-width: 360px; }
.page-hero .lead { max-width: 640px; }
.page-hero .btn-row { margin-top: 26px; }
@media (max-width: 1023px) { .page-hero .btn-row { display: none; } }
@media (min-width: 1024px) {
  .page-hero-grid.has-media {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 72px);
    grid-template-areas: "crumb media" "title media" "lead media" "actions media";
    grid-template-rows: auto auto auto 1fr;
  }
  .page-hero-grid.has-media .breadcrumb { grid-area: crumb; margin-top: 24px; }
  .page-hero-grid.has-media h1 { grid-area: title; }
  .page-hero-grid.has-media .page-hero-media { grid-area: media; margin: 0; }
  .page-hero-grid.has-media .lead { grid-area: lead; }
  .page-hero-grid.has-media .btn-row { grid-area: actions; }
  .page-hero-media.portrait-wrap { justify-self: center; width: 100%; }
}

/* ---------- Leistungsdetails ---------- */
.offer-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.offer { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px 40px; }
.offer h3 { margin: 0; }
.offer p { margin: 0; color: var(--ink); }
.offer .tag { display: inline-block; margin-top: 4px; font-size: 0.9375rem; color: var(--ink-soft); }
@media (min-width: 900px) { .offer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.9375rem; }
.section--tint .chips li { background: var(--white); }
.page-hero .chips li { background: var(--white); }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35em; }

.two-col { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } }

.contact-person { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; }
.contact-person .portrait { width: 112px; }
.contact-person h3 { margin-bottom: 4px; }
.contact-person p { margin: 0 0 8px; color: var(--ink-soft); font-size: 1rem; }
.contact-people { display: grid; gap: 24px; }
@media (min-width: 800px) { .contact-people { grid-template-columns: 1fr 1fr; } }

.cta-band { background: var(--green-dark); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; gap: 20px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.86); }
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1fr auto; } }

.more-links { list-style: none; display: grid; gap: 10px; }
@media (min-width: 700px) { .more-links { grid-template-columns: 1fr 1fr; } }
.more-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--green-dark); font-weight: 700; }
.more-links a:hover { border-color: var(--green); }
.more-links svg { width: 20px; height: 20px; color: var(--green); }

/* ---------- Team-Seite ---------- */
.profile { display: grid; gap: 28px; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.profile:first-of-type { border-top: 0; padding-top: 0; }
.profile .portrait { max-width: 340px; }
.profile h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-bottom: 8px; }
.profile .quals { list-style: none; margin-bottom: 16px; color: var(--green); font-weight: 700; }
.profile .quals li + li { margin-top: 2px; }
@media (min-width: 900px) { .profile { grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; } }

details.cv { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.cv summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 2px; font: 600 1.0625rem/1.3 var(--font-head); color: var(--green-dark);
}
details.cv summary::-webkit-details-marker { display: none; }
details.cv summary svg { width: 22px; height: 22px; color: var(--green); transition: transform .2s ease; }
details.cv[open] summary svg { transform: rotate(180deg); }
.cv-list { list-style: none; padding-bottom: 18px; }
.cv-list li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 8px 0; font-size: 1rem; }
.cv-list li + li { border-top: 1px dashed var(--line); }
.cv-list b { color: var(--green); font-weight: 700; }
@media (max-width: 480px) { .cv-list li { grid-template-columns: 1fr; gap: 0; } }

.team-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; margin-top: 40px; }
.team-grid .portrait { margin-bottom: 10px; }
.team-grid h3 { font-size: 1rem; margin: 0; }
.team-grid p { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(5, 1fr); gap: 32px 24px; } }
.placeholder { background: rgba(215, 95, 48, 0.1); outline: 1px dashed rgba(215, 95, 48, 0.6); border-radius: 4px; padding: 0 4px; }

.timeline { list-style: none; border-left: 3px solid var(--green-light); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); }
.timeline li:last-child { padding-bottom: 0; }
.timeline b { display: block; font: 600 1.0625rem/1.3 var(--font-head); color: var(--green-dark); }

/* ---------- Downloads ---------- */
.doc-list { list-style: none; border-top: 1px solid var(--line); }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc-list svg { width: 24px; height: 24px; color: var(--green); }
.doc-list .doc-title { font-weight: 700; color: var(--green-dark); }
.doc-list .doc-state { margin-left: auto; font-size: 0.875rem; color: var(--ink-soft); white-space: nowrap; }
.doc-list a { text-decoration: none; }
.doc-list a .doc-title { text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  padding: 13px 14px; border: 2px solid rgba(47, 63, 59, 0.28); border-radius: var(--radius-sm); background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(215, 95, 48, 0.35); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { display: none; color: #b3261e; font-size: 0.9375rem; margin-top: 6px; }
.field.has-error .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.9375rem; color: var(--ink-soft); }
.form-status { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--green-light); font-weight: 700; }
.form-status:empty { display: none; }
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }

/* Karte mit Einwilligung */
.map-consent { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.map-consent__inner { padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px; justify-items: start; }
.map-consent iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, 0.86); padding-block: clamp(48px, 6vw, 80px) 28px; font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #f3c3ae; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 74px; height: auto; }
.footer-brand b { font: 600 1.0625rem/1.3 var(--font-head); color: var(--white); }
.site-footer h2 { font: 600 1.0625rem/1.3 var(--font-head); color: var(--white); margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-hours { list-style: none; display: grid; gap: 4px; }
.footer-hours li { display: grid; grid-template-columns: 44px 1fr; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.9375rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }
.center { text-align: center; }

/* ---------- Bausteine nach Frameflow-Vorbild ---------- */
.mt-m { margin-top: 28px; }
.mt-s { margin-top: 12px; }
.h3 { font-size: 1.25rem; line-height: 1.3; }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.btn--small { min-height: 46px; padding: 0.5em 1.05em; font-size: 1.0625rem; }
.btn--outline { background: var(--white); color: var(--green-dark); border-color: var(--line); }
.btn--outline:hover { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.btn--light { background: var(--white); color: var(--green-dark); }
.btn--light:hover { background: var(--green-light); color: var(--green-dark); }
.btn-row--center { justify-content: center; }

/* Leistungskarten */
.service-cards { list-style: none; display: grid; gap: 22px; grid-template-columns: 1fr; }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-dark); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.card-graphic { height: 100%; display: flex; align-items: center; justify-content: center; background: var(--green); color: var(--white); }
.card-graphic svg { width: 92px; height: 92px; stroke-width: 1.3; }
.service-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 26px 28px; }
.service-card__body .tag { margin-bottom: 14px; }
.service-card h2, .service-card h3 { font-size: clamp(1.25rem, 1.15rem + 0.35vw, 1.4375rem); margin-bottom: 14px; }
.service-card h2 a, .service-card h3 a { color: var(--green-dark); text-decoration: none; }
.service-card h2 a:hover, .service-card h3 a:hover { color: var(--green); text-decoration: underline; }
.service-card .btn { margin-top: auto; }
@media (min-width: 700px) { .service-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .service-cards { grid-template-columns: repeat(6, 1fr); gap: 26px; }
  .service-cards > li { grid-column: span 2; }
  .service-cards > li:nth-child(-n+2) { grid-column: span 3; }
}

.ticks { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.ticks li { position: relative; padding-left: 30px; font-size: 1.0625rem; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536b63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--tint .ticks li::before { background-color: var(--white); }
.ticks--large li { font-size: 1.125rem; padding-left: 34px; }
.ticks--large li::before { width: 22px; height: 22px; }

/* Foto-Banner */
.photo-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 10vw, 136px); text-align: center; color: var(--white); }
.photo-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(47, 63, 59, 0.84); }
.photo-cta h2 { color: var(--white); max-width: 760px; margin-inline: auto; }
.photo-cta p { color: rgba(255, 255, 255, 0.88); max-width: 620px; margin: 0 auto 28px; }
.photo-cta__inner { display: flex; flex-direction: column; align-items: center; }

/* Bewertungen */
.reviews { display: grid; gap: clamp(32px, 4vw, 48px); grid-template-columns: 1fr !important; }
.rating { max-width: 760px; }
.quote-list { list-style: none; display: grid; gap: 20px; }
.quote { margin: 0; height: 100%; display: flex; flex-direction: column; padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 20px; }
.quote blockquote p { font-size: 1.1875rem; line-height: 1.55; color: var(--green-dark); }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 0.9375rem; color: var(--ink-soft); }
.quote figcaption b { color: var(--green-dark); }
@media (min-width: 900px) { .quote-list { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq-layout { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.faq-list { border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font: 600 1.125rem/1.35 var(--font-head); color: var(--green-dark);
}
details.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--green-light); color: var(--green-dark); transition: background-color .2s ease, color .2s ease; }
.faq-icon svg { width: 18px; height: 18px; transition: transform .2s ease; }
details.faq[open] .faq-icon { background: var(--green-dark); color: var(--white); }
details.faq[open] .faq-icon svg { transform: rotate(45deg); }
.faq-body { padding: 0 54px 22px 0; }

/* Info-Box, Links */
.info-box { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--green-light); border-left: 4px solid var(--orange); }
.section--tint .info-box { background: var(--white); }
.info-box > svg { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.info-box h3 { margin-bottom: 6px; }
.tag-line { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--ink-soft); }
.link-list { list-style: none; display: grid; gap: 12px; }
.link-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--green-dark); text-decoration: none; }
.link-list a:hover { border-color: var(--green); }
.link-list strong { grid-column: 1; }
.link-list span { grid-column: 1; font-size: 1rem; color: var(--ink-soft); }
.link-list svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; color: var(--green); }

.footer-brand span { font: 400 0.9375rem/1.4 var(--font-body); color: rgba(255, 255, 255, 0.75); }

.stars { display: inline-flex; gap: 2px; color: var(--orange); vertical-align: -3px; }
.stars svg { width: 18px; height: 18px; }
.rating-score .stars svg { width: 26px; height: 26px; }
.quote .stars svg { width: 16px; height: 16px; }

/* Lange Wörter (z. B. Kontrastmittelsonografie) auf schmalen Bildschirmen */
body { overflow-wrap: break-word; }
h1, h2, h3, h4 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.contact-list a, .site-footer a[href^="mailto"], .mobile-nav__contact a, .prose a[href^="mailto"] { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  h1 { font-size: clamp(1.625rem, 1rem + 4vw, 2rem); }
  h2 { font-size: 1.5rem; }
}

.header-actions .btn, .contact-bar .btn, .main-nav .btn { white-space: nowrap; }
/* Gitter dürfen nie breiter als der Bildschirm werden */
.two-col, .contact-grid, .split, .faq-layout, .services-layout, .reviews, .footer-grid, .page-hero-grid, .hero-grid { grid-template-columns: minmax(0, 1fr); }
.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .two-col, .contact-grid, .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (min-width: 1024px) {
  .services-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero-grid { grid-template-columns: max(var(--gutter), calc((100% - var(--container)) / 2)) minmax(0, 5fr) minmax(0, 7fr); }
  .page-hero-grid.has-media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.doc-list .doc-title { flex: 1; min-width: 0; -webkit-hyphens: auto; hyphens: auto; }
.prose .pill + h2 { margin-top: 0; }
.footer-list a, .footer-bottom a { text-decoration: none; }
.footer-list a:hover, .footer-bottom a:hover { text-decoration: underline; }
.pt-0 { padding-top: 0 !important; }
.page-hero-media .portrait img { aspect-ratio: 4 / 5; border-radius: 0; }
@media (max-width: 1023px) { .page-hero-media.portrait-wrap { max-width: 260px; } }

@media (min-width: 1024px) and (max-width: 1199px) {
  .header-actions { margin-left: auto; }
  .menu-button { margin-left: 0; }
}

/* Negativlogo im Footer */
.footer-logo { display: inline-block; margin-bottom: 22px; line-height: 0; }
.footer-logo img { width: 300px; max-width: 100%; height: auto; }
@media (min-width: 1100px) { .footer-grid > div:first-child { padding-right: 24px; } }

/* Footer: Telefonnummern ohne Unterstreichung (Unterstreichung nur beim Überfahren) */
.site-footer a[href^="tel:"] { text-decoration: none; }
.site-footer a[href^="tel:"]:hover, .site-footer a[href^="tel:"]:focus-visible { text-decoration: underline; }
.site-footer a[href^="mailto:"] { text-decoration: none; }
.site-footer a[href^="mailto:"]:hover, .site-footer a[href^="mailto:"]:focus-visible { text-decoration: underline; }
.footer-logo { text-decoration: none; }

/* Mobiles Menü: Anrufen-Button, darunter Adresse und Sprechzeiten */
.mobile-nav__call { display: flex; justify-content: space-between; width: 100%; min-height: 60px; margin-top: 28px; padding: 10px 10px 10px 22px; }
.mobile-nav__call .btn-icon { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.18); }
.mobile-nav__call .btn-icon svg { width: 20px; height: 20px; }
.mobile-nav__info { margin-top: 20px; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; }
.mobile-nav__info p { margin: 0 0 8px; }

/* Leistungs-Untermenü: Kacheln zur optischen Trennung */
.nav-panel { padding: 16px; }
.nav-panel-grid { gap: 10px; }
.nav-panel-grid > li { display: flex; }
.main-nav .nav-panel-grid a {
  flex: 1; display: block; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--green-light); border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.main-nav .nav-panel-grid a:hover { background: var(--white); border-color: var(--green); }
.main-nav .nav-panel-grid a[aria-current="page"] { background: var(--white); border-color: var(--green); box-shadow: inset 4px 0 0 var(--orange); }
.main-nav .nav-panel-grid .nav-tile--all a { background: var(--green-dark); }
.main-nav .nav-panel-grid .nav-tile--all a strong { color: var(--white); }
.main-nav .nav-panel-grid .nav-tile--all a span { color: rgba(255, 255, 255, 0.8); }
.main-nav .nav-panel-grid .nav-tile--all a:hover { background: var(--green); border-color: var(--green); }
.nav-panel-foot { margin-top: 12px; padding: 12px 4px 0; }
/* Untermenü-Kacheln: Text darf umbrechen, Spalten nie breiter als das Panel */
.nav-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.main-nav .nav-panel a { white-space: normal; }
.nav-panel { width: min(840px, 82vw); }
/* Logo in der Hauptmenüleiste etwas kleiner (Desktop) */
@media (min-width: 1024px) {
  :root { --header-h: 86px; }
  .brand img { height: 60px; }
}

/* ---------- Hero mit vollflächigem Foto (Startseite) ---------- */
.hero--photo { position: relative; isolation: isolate; overflow: hidden; }
.hero--photo .hero-content { display: block; }
.hero--photo .hero-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 4px;
  padding: 12px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px -20px rgba(47, 63, 59, 0.45); color: var(--ink); text-decoration: none;
}
.hero-rating b { font: 600 1.75rem/1 var(--font-head); color: var(--green-dark); }
.hero-rating > span { display: flex; flex-direction: column; gap: 3px; }
.hero-rating .stars { flex-direction: row; }
.hero-rating small { font-size: 0.875rem; color: var(--ink-soft); }
.hero-rating:hover { border-color: var(--green); color: var(--ink); }
@media (min-width: 1024px) {
  .hero--photo { padding: 0; min-height: clamp(560px, 44vw, 740px); display: flex; align-items: center; }
  .hero--photo .hero-content { padding-block: clamp(56px, 6vw, 96px); }
  .hero--photo .hero-content > * { max-width: 560px; }
  .hero--photo h1 { font-size: clamp(2.5rem, 1.4rem + 2.4vw, 3.5rem); padding-right: 0; }
  .hero--photo .lead { padding-right: 0; }
  .hero--photo .hero-actions { margin-bottom: 28px; }
  .hero--photo .hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; max-width: none; }
  .hero--photo .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 70% center; border-radius: 0; }
  .hero--photo::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.97) 30%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.35) 54%, rgba(255, 255, 255, 0) 64%);
  }
}

/* ---------- 4er-Raster unter dem Hero ---------- */
.highlights { padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.highlights-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); }
.highlights-grid li { text-align: center; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; }
.highlights-grid li + li { border-top: 1px solid var(--line); }
.hl-icon { width: 62px; height: 62px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green-light); color: var(--green); margin-bottom: 16px; }
.hl-icon svg { width: 26px; height: 26px; }
.highlights-grid h2 { font-size: 1.25rem; margin-bottom: 8px; }
.highlights-grid p { color: var(--ink-soft); font-size: 1.0625rem; max-width: 300px; margin-bottom: 14px; }
.highlights-grid .text-link { margin-top: auto; }
@media (min-width: 700px) {
  .highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights-grid li + li { border-top: 0; }
  .highlights-grid li:nth-child(even) { border-left: 1px solid var(--line); }
  .highlights-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .highlights-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .highlights-grid li { padding: 8px 28px; }
  .highlights-grid li:nth-child(n+3) { border-top: 0; }
  .highlights-grid li + li { border-left: 1px solid var(--line); }
}

/* ---------- Hauptmenü: Unterstrich statt Button (aktive Seite + Mouse-over) ---------- */
.main-nav > ul > li > a,
.main-nav .nav-toggle { position: relative; background: none; }
.main-nav > ul > li > a::after,
.main-nav .nav-toggle::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left center; transition: transform .25s ease;
}
.main-nav .nav-toggle::after { right: 30px; }
.main-nav > ul > li > a:hover,
.main-nav .nav-toggle:hover,
.main-nav .has-panel:focus-within > .nav-toggle,
.main-nav > ul > li > [aria-current="page"],
.main-nav > ul > li > [aria-current="page"]:hover,
.main-nav .is-active > .nav-toggle,
.main-nav .is-active > .nav-toggle:hover { background: none; color: var(--green-dark); box-shadow: none; }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a:focus-visible::after,
.main-nav .nav-toggle:hover::after,
.main-nav .nav-toggle[aria-expanded="true"]::after,
.main-nav > ul > li > [aria-current="page"]::after,
.main-nav .is-active > .nav-toggle::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .main-nav > ul > li > a::after, .main-nav .nav-toggle::after { transition: none; }
}

/* Kontaktangaben ohne Unterstreichung (Unterstreichung nur beim Überfahren) */
.contact-list a, .emergency a { text-decoration: none; }
.contact-list a:hover, .contact-list a:focus-visible,
.emergency a:hover, .emergency a:focus-visible { text-decoration: underline; }

/* ---------- Porträts: abgerundetes Rechteck mit weichem Schatten, 7 % Zoom beim Überfahren ---------- */
.portrait {
  overflow: hidden; background: var(--green-light);
  border-radius: 20px;
  box-shadow: 0 22px 44px -26px rgba(47, 63, 59, 0.5);
  isolation: isolate;
}
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.portrait:hover img { transform: scale(1.07); }
.contact-person .portrait { border-radius: 14px; box-shadow: 0 12px 24px -16px rgba(47, 63, 59, 0.5); }
.team-grid .portrait { border-radius: 16px; margin-bottom: 14px; }
.page-hero-media .portrait img { border-radius: 0; }
.portrait-caption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.portrait-caption strong { font: 600 1.0625rem/1.3 var(--font-head); color: var(--green-dark); }
.portrait-caption span { font-size: 0.9375rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .portrait img { transition: none; } .portrait:hover img { transform: none; } }

/* Hinweisstreifen: dringende Meldung (Praxisurlaub, Vertretung) in Orange */
.news-strip--urgent { background: rgba(215, 95, 48, 0.1); border-bottom: 1px solid rgba(215, 95, 48, 0.35); }
.news-strip--urgent .tag--accent { background: var(--orange); color: var(--white); }
.news-strip--urgent .tag--accent::before { background: var(--white); }
.news-strip--urgent .text-link { color: var(--green-dark); border-color: var(--orange); }

/* Rechtstexte */
.legal h2 { font-size: 1.375rem; }
.legal-table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; font-size: 1rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-table th { width: 34%; padding-right: 16px; font-weight: 700; }
@media (max-width: 600px) { .legal-table th, .legal-table td { display: block; width: 100%; padding: 4px 0; } .legal-table th { padding-top: 12px; border-bottom: 0; } }

/* Formularfelder: ruhiger Fokus in Grün, eigener Pfeil im Auswahlfeld */
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(83, 107, 99, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(83, 107, 99, 0.18);
}
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 48px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536b63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px;
}
.check input:focus-visible { outline: 3px solid rgba(83, 107, 99, 0.35); outline-offset: 2px; }
/* Zeilenumbruch nur auf großen Bildschirmen */
.br-desktop { display: none; }
@media (min-width: 1024px) { .br-desktop { display: inline; } }
@media (min-width: 1024px) { .hide-desktop { display: none; } }
