/* ==========================================================================
   Dr. Michael Fürlinger – Ordination Pottenstein
   Farbwelt Petrol / Sand · Schriften lokal (Fraunces, Figtree)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: #0f5e66;
  --petrol-tief: #0b3c42;
  --petrol-hell: #dcebea;
  --sand: #f4eee4;
  --sand-tief: #e9e0d1;
  --papier: #fbf8f3;
  --ocker: #c8873a;
  --ocker-tief: #8a5519;      /* Text auf Sand ≥ 5:1 */
  --ocker-flaeche: #a36420;   /* Fläche mit weißer Schrift ≥ 4,5:1 */
  --ocker-zahl: #b0712b;      /* große Ziffern ≥ 3:1 */
  --fokus: #0b3c42;
  --fokus-hell: #ffd28f;
  --tinte: #1d2a2c;
  --grau: #56656a;
  --linie: #d9cfbf;
  --gruen: #2f7d4f;
  --rot: #a63d32;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* EIN Abstandsmaß für alle Abschnitte – oben wie unten gleich */
  --abschnitt: clamp(4rem, 8vw, 6.5rem);
  --luecke: clamp(1.5rem, 3vw, 2.5rem);
  --rand: clamp(1rem, 4vw, 2.5rem);
  --breite: 1200px;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(11, 60, 66, .06), 0 8px 24px rgba(11, 60, 66, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--kopf, 81px); -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;
  overflow-wrap: break-word;
  font-family: var(--sans);
  font-size: 1.125rem;          /* 18 px – gut lesbar für alle Altersgruppen */
  line-height: 1.65;
  color: var(--tinte);
  background: var(--sand);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: .18em; }
a:hover { color: var(--petrol-tief); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }
.abschnitt--petrol :focus-visible, .band :focus-visible, .fuss :focus-visible, .aktionsleiste :focus-visible, .hinweis :focus-visible, .dienst :focus-visible, .skip:focus-visible { outline-color: var(--fokus-hell); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--petrol-tief); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
p + p { margin-top: 1em; }

.container { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--papier { background: var(--papier); }
.abschnitt--petrol { background: var(--petrol-tief); color: var(--sand); }
.abschnitt--petrol h2, .abschnitt--petrol h3 { color: #fff; }

.kopf { display: grid; gap: .9rem; margin-bottom: var(--luecke); }
.kopf p { color: var(--grau); font-size: 1.2rem; }
.abschnitt--petrol .kopf p { color: #c7dcda; }
.marke {
  font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ocker-tief); display: inline-flex; align-items: center; gap: .6rem;
}
.marke::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.abschnitt--petrol .marke { color: #e8b77b; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--petrol-tief); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1.05rem/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: 1rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--voll { background: var(--petrol); color: #fff; }
.btn--voll:hover { background: var(--petrol-tief); color: #fff; }
.btn--rahmen { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--rahmen:hover { background: var(--petrol); color: #fff; }
.btn--ocker { background: var(--ocker-flaeche); color: #fff; }
.btn--ocker:hover { background: var(--ocker-tief); color: #fff; }

/* ---------- Hinweisleiste (läuft automatisch ab) ---------- */
.hinweise:empty { display: none; }
.hinweis {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .85rem var(--rand); font-size: 1rem; line-height: 1.5;
  background: var(--ocker-flaeche); color: #fff;
}
.hinweis + .hinweis { border-top: 1px solid rgba(255, 255, 255, .3); }
.hinweis--info { background: var(--petrol); }
.hinweis--wichtig { background: var(--rot); }
.hinweis__inner { width: 100%; max-width: calc(var(--breite) - 2 * var(--rand)); margin-inline: auto; }
.hinweis strong { font-weight: 700; margin-right: .4rem; }
.hinweis a { color: #fff; }

/* ---------- Kopfzeile ---------- */
.kopfzeile {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 238, 228, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.kopfzeile.ist-gescrollt { border-bottom-color: var(--linie); box-shadow: 0 6px 18px rgba(11, 60, 66, .06); }
.kopfzeile__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; min-height: 80px; padding-block: .5rem; }
.logo { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--petrol-tief); margin-right: auto; }
.logo img { width: 54px; height: 54px; }
.logo__name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.1; display: block; }
.logo__zusatz { display: block; font-size: .85rem; color: var(--grau); letter-spacing: .02em; }
.nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.nav a { display: block; padding: .55rem .8rem; border-radius: 999px; text-decoration: none; color: var(--tinte); font-weight: 500; font-size: 1rem; }
.nav a:hover { background: var(--sand-tief); color: var(--petrol-tief); }
.kopfzeile__tel { padding: .75rem 1.1rem; font-size: 1rem; }
.menu-btn { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--petrol-tief); }
.menu-btn svg { width: 30px; height: 30px; }

@media (max-width: 66.25em) {
  .menu-btn { display: block; }
  .kopfzeile__tel { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 100%); overflow-y: auto; background: var(--sand); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); display: none; }
  .nav.ist-offen { display: block; }
  .nav ul { flex-direction: column; padding: .75rem var(--rand) 1.25rem; gap: 0; }
  .nav a { padding: .9rem .5rem; border-radius: 0; border-bottom: 1px solid var(--linie); font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: var(--abschnitt); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--luecke); align-items: center; }
.hero__text { display: grid; gap: 1.5rem; }
.hero__lead { font-size: 1.3rem; color: var(--grau); }
.hero__lead strong { color: var(--tinte); font-weight: 600; }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }

.status {
  justify-self: start; min-width: min(100%, 360px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1rem; align-items: center;
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--schatten);
}
.status__punkt { width: 14px; height: 14px; border-radius: 50%; background: var(--grau); grid-row: span 2; position: relative; }
.status--offen .status__punkt { background: var(--gruen); }
.status--offen .status__punkt::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gruen); opacity: .5; animation: puls 2s ease-out infinite; }
.status--bald .status__punkt { background: var(--ocker); }
.status--zu .status__punkt { background: var(--rot); }
@keyframes puls { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.status__titel { font-weight: 700; font-size: 1.2rem; color: var(--petrol-tief); }
.status__text { color: var(--grau); font-size: 1rem; }

.hero__bild { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 1 / 1.08; }
.hero__kreis { position: absolute; inset: 8% 0 0 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #17747d, var(--petrol-tief) 72%); }
.hero__ring { position: absolute; inset: 2% -6% -6% -6%; border-radius: 50%; border: 1.5px solid var(--ocker); opacity: .55; }
.hero__bild img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 94%; border-bottom-left-radius: 50% 18%; border-bottom-right-radius: 50% 18%; }
.hero__schild {
  position: absolute; left: -4%; bottom: 10%; background: var(--papier); border-radius: 12px; padding: .8rem 1rem;
  box-shadow: var(--schatten); font-size: .95rem; line-height: 1.35; border-left: 4px solid var(--ocker);
}
.hero__schild strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--petrol-tief); }

@media (max-width: 53.75em) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__bild { order: -1; width: min(78%, 360px); }
  .hero__text { margin-top: .9rem; }   /* Abstand zum Ring unter dem Porträt (ragt 6 % über das Bild hinaus) */
}

/* ---------- Fakten-Band ---------- */
.band { background: var(--petrol-tief); color: var(--sand); }
.band ul { list-style: none; margin: 0 auto; padding-block: 1.4rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; }
.band li { display: flex; gap: .8rem; align-items: center; font-weight: 500; line-height: 1.35; }
.band svg { width: 30px; height: 30px; flex: none; color: #e8b77b; }
@media (max-width: 53.75em) { .band ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 30em) { .band ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Anliegen-Kacheln ---------- */
.anliegen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.anliegen__karte {
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.6rem;
  display: grid; gap: .7rem; align-content: start; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.anliegen__karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: #c9bca6; }
.anliegen__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol-hell); color: var(--petrol); }
.anliegen__icon svg { width: 26px; height: 26px; }
.anliegen__karte p { color: var(--grau); font-size: 1.02rem; }
.anliegen__zeit { font-weight: 700; color: var(--petrol-tief) !important; }
.anliegen__karte a { font-weight: 600; }
@media (max-width: 60em) { .anliegen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 37.5em) { .anliegen { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ordination / Öffnungszeiten ---------- */
.ordi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--luecke); align-items: start; }
.zeiten { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.zeiten table { width: 100%; border-collapse: collapse; }
.zeiten caption { text-align: left; padding: 1.2rem 1.4rem .4rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--petrol-tief); }
.zeiten th, .zeiten td { padding: .85rem 1.4rem; text-align: left; border-top: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-weight: 600; width: 38%; }
.zeiten td span { display: block; }
.zeiten .zu { color: var(--grau); font-style: italic; }
.zeiten tr.heute { background: var(--petrol-hell); }
.zeiten tr.heute th::after { content: "heute"; margin-left: .6rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--petrol); padding: .15rem .5rem; border-radius: 999px; vertical-align: middle; }
.zeiten__fuss { padding: 1rem 1.4rem 1.3rem; border-top: 1px solid var(--linie); font-size: 1rem; color: var(--grau); }

.kontaktliste { display: grid; gap: 1.25rem; }
.kontaktliste__eintrag { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; align-items: start; }
.kontaktliste__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--petrol); color: #fff; display: grid; place-items: center; }
.kontaktliste__icon svg { width: 24px; height: 24px; }
.kontaktliste h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.kontaktliste a { font-weight: 600; }
.zugang { margin-top: .5rem; background: var(--sand-tief); border-radius: var(--radius); padding: 1.2rem 1.4rem; font-size: 1.02rem; }
.zugang strong { color: var(--petrol-tief); }
@media (max-width: 53.75em) { .ordi { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Leistungen ---------- */
.leistungen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.leistung { background: var(--papier); border-radius: var(--radius); border: 1px solid var(--linie); padding: 1.8rem; display: grid; gap: 1rem; align-content: start; }
.leistung__kopf { display: flex; align-items: center; gap: .9rem; }
.leistung__nr { flex: none; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 2.1rem; line-height: 1; color: var(--ocker-zahl); min-width: 2.2rem; }
.leistung ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.leistung li { padding-left: 1.6rem; position: relative; }
.leistung li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--petrol); }
.leistung li strong { display: block; color: var(--petrol-tief); }
.leistung li span { color: var(--grau); font-size: 1rem; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }   /* kurze Beschreibungen nicht silbentrennen */
.leistung--gross { grid-row: span 2; }
.leistung--privat { background: var(--petrol-hell); border-color: #bcd6d4; }
@media (max-width: 53.75em) { .leistungen { grid-template-columns: minmax(0, 1fr); } .leistung--gross { grid-row: auto; } }

/* ---------- Arzt ---------- */
.arzt { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--luecke); align-items: center; }
.arzt__bild { position: relative; }
.arzt__bild img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.arzt__zitat { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.4; color: #fff; border-left: 3px solid var(--ocker); padding-left: 1.2rem; }
.arzt__text { display: grid; gap: 1.4rem; }
.arzt__text > p { color: #d8e6e4; }
.qualis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .9rem; }
.qualis li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: .9rem 1rem; line-height: 1.35; font-size: 1rem; }
.qualis strong { display: block; color: #fff; font-size: 1.05rem; }
.qualis span { color: #b9d0ce; }
@media (max-width: 53.75em) { .arzt { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30em) { .qualis { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.person { text-align: center; margin: 0; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--papier); box-shadow: var(--schatten); margin-bottom: 1rem; }
.person h3 { font-size: 1.2rem; hyphens: manual; -webkit-hyphens: manual; }   /* Namen nie silbentrennen */
.person p { color: var(--grau); font-size: 1rem; }
@media (max-width: 53.75em) { .team { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 1.25rem; } }

.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 1rem; margin-top: var(--abschnitt); }
.galerie figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { position: absolute; left: .7rem; bottom: .7rem; background: var(--petrol-tief); color: #fff; font-size: .85rem; padding: .25rem .65rem; border-radius: 999px; }
.galerie .hoch { grid-column: span 3; }
.galerie .quer { grid-column: span 6; }
@media (max-width: 53.75em) {
  .galerie { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 150px; }
  .galerie .hoch { grid-column: span 1; }
  .galerie .quer { grid-column: span 2; }
}

/* ---------- Dauerrezept ---------- */
.rezept { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--luecke); align-items: start; }
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1.1rem; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; }
.schritte li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--petrol); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.wichtig { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: #f6e3cc; border-left: 4px solid var(--ocker); font-size: 1.02rem; }
.formular { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--schatten); display: grid; gap: 1.1rem; }
.formular__zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
.feld { display: grid; gap: .4rem; align-content: start; }
.feld label { font-weight: 600; font-size: 1rem; }
.feld small { color: var(--grau); font-size: .9rem; }
.formular__pflicht { font-size: .95rem; color: var(--grau); }
.feld input, .feld textarea {
  font: inherit; font-size: 1.05rem; padding: .85rem 1rem; border: 1.5px solid #857864; border-radius: 10px; background: #fff; color: var(--tinte); width: 100%;
}
.feld textarea { min-height: 130px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: 3px solid var(--fokus); outline-offset: 1px; border-color: var(--petrol); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: .7rem; align-items: start; font-size: .98rem; }
.check input { width: 22px; height: 22px; margin-top: .2rem; accent-color: var(--petrol); }
.hp { position: absolute; left: -9999px; }
.formular__meldung { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; display: none; }
.feld__fehler { color: var(--rot); font-size: .95rem; font-weight: 600; }
.feld__fehler:empty { display: none; }
.formular__meldung.laeuft { display: block; background: var(--sand-tief); color: var(--tinte); }
.formular__meldung.ok { display: block; background: #dcefe3; color: #1f5a37; }
.formular__meldung.fehler { display: block; background: #f6dcd8; color: #7c2a21; }
.formular.ist-gesperrt .feld, .formular.ist-gesperrt .check, .formular.ist-gesperrt button { opacity: .45; pointer-events: none; }
@media (max-width: 53.75em) { .rezept, .formular__zeile { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Wenn geschlossen ---------- */
.notruf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.notruf__karte { border-radius: var(--radius); padding: 1.6rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); display: grid; gap: .5rem; align-content: start; }
.notruf__nr { font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1; color: #fff; text-decoration: none; }
.notruf__nr:hover { color: #e8b77b; }
.notruf__karte p { color: #c7dcda; font-size: 1.02rem; }
.notruf__karte--rot { background: var(--rot); border-color: var(--rot); }
.notruf__karte--rot p { color: #fbe4e0; }
/* Urlaubsvertretung und Dienstplan (aus js/aktuelles.js) */
.dienst { margin-top: 1.25rem; display: grid; gap: 1.25rem; }
.dienst:empty { display: none; }
.dienst__karte { border-radius: var(--radius); padding: 1.4rem 1.6rem; background: var(--ocker-flaeche); color: #fff; display: grid; gap: .6rem; }
.dienst__karte strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.dienst__karte a { color: #fff; }
.dienst__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.dienst__liste li { display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; align-items: baseline; }
.dienst__liste li + li { padding-top: .5rem; border-top: 1px solid rgba(255, 255, 255, .3); }
.dienst__liste b { font-weight: 700; min-width: 15rem; }
@media (max-width: 53.75em) { .notruf { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 3.5rem 1.15rem 1.4rem; font-weight: 600; font-size: 1.12rem; color: var(--petrol-tief); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.4rem; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--petrol); border-bottom: 2.5px solid var(--petrol); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 1.4rem 1.3rem; color: #3b4a4e; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--luecke); align-items: start; }
.faq-grid > .kopf { position: sticky; top: calc(var(--kopf, 81px) + 1.5rem); }
@media (max-width: 53.75em) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-grid > .kopf { position: static; } }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--petrol-tief); color: #c7dcda; padding-block: var(--abschnitt); font-size: 1rem; }
.fuss__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--luecke); }
.fuss__logo { display: flex; gap: 1rem; align-items: center; color: #fff; }
.fuss__logo img { width: 72px; height: 72px; }
.fuss__logo strong { font-family: var(--serif); font-size: 1.4rem; display: block; line-height: 1.15; }
.fuss h2 { color: #fff; font-size: 1.1rem; margin-bottom: .7rem; font-family: var(--sans); font-weight: 700; letter-spacing: .04em; }
.fuss a { color: #fff; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fuss__unten { margin-top: var(--luecke); padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .92rem; }
@media (max-width: 53.75em) { .fuss__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Aktionsleiste (Handy) ---------- */
.aktionsleiste { display: none; }
@media (max-width: 47.5em) {
  html { scroll-padding-bottom: 88px; }
  /* Platz für die feste Leiste im Fuß reservieren (gleiche Farbe) – nicht im hellen Seitenhintergrund */
  .fuss { padding-bottom: calc(var(--abschnitt) + 72px + env(safe-area-inset-bottom)); }
  .aktionsleiste {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--petrol-tief); border-top: 1px solid rgba(255, 255, 255, .12); padding-bottom: env(safe-area-inset-bottom);
  }
  .aktionsleiste a { display: grid; justify-items: center; gap: .2rem; padding: .6rem .2rem .55rem; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 600; }
  .aktionsleiste a:first-child { background: var(--petrol); }
  .aktionsleiste svg { width: 24px; height: 24px; }
  .aktionsleiste a.notfall svg { color: #ff9b8e; }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.textseite h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: var(--luecke); }
.textseite h2 { font-size: 1.6rem; margin: 2.2rem 0 .7rem; }
.textseite h2:first-of-type { margin-top: 0; }
.textseite ul { padding-left: 1.3rem; }
.textseite .karte { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); }
.entwurf { background: #f6e3cc; border-left: 4px solid var(--ocker); padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: var(--luecke); font-size: 1rem; }

/* ---------- Einblenden beim Scrollen ---------- */
.zeigen { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.zeigen.ist-sichtbar { opacity: 1; transform: none; }
.no-js .zeigen { opacity: 1; transform: none; }

@media print {
  .kopfzeile, .aktionsleiste, .hinweise, .formular, .hero__bild { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}

@media (max-width: 30em) {
  body { hyphens: auto; -webkit-hyphens: auto; }
  .logo img { width: 46px; height: 46px; }
  .logo__name { font-size: 1.15rem; }
  .logo__zusatz { font-size: .78rem; }
}
@media (max-width: 23.75em) { .logo__zusatz { display: none; } }
.feld [aria-invalid="true"] { border-color: var(--rot); box-shadow: 0 0 0 3px rgba(166, 61, 50, .18); }

/* ---------- Externe Links kennzeichnen (öffnen in neuem Fenster) ---------- */
a[target="_blank"]::after {
  content: ""; display: inline-block; width: .78em; height: .78em; margin-left: .28em; vertical-align: -.04em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4 10 14M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4 10 14M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") no-repeat center / contain;
}
