/* Kleintierpraxis Dr. Spieß – Designsystem
   Marke: „OP-Grün“ (Chirurgie) auf warmem Leinen, Naht-Linie als wiederkehrendes Element,
   Literata für Überschriften, Atkinson Hyperlegible Next für Text und Zahlen. */

@font-face { font-family: 'Literata'; src: url('/assets/fonts/literata-latin-opsz.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/assets/fonts/literata-latin-opsz-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url('/assets/fonts/atkinson-next-latin-wght.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --c-page: #f5f1e8;
  --c-surface: #fffdf8;
  --c-alt: #e8eee8;
  --c-text: #16302b;
  --c-muted: #4a5c56;
  --c-brand: #1f5e55;
  --c-brand-strong: #174a42;
  --c-brand-deep: #11372f;
  --c-brand-soft: #d4e4dc;
  --c-heu: #e1c27c;
  --c-notfall: #a3381f;
  --c-notfall-strong: #852c17;
  --c-notfall-soft: #f7e4dc;
  --c-line: #d9d1c0;
  --c-line-strong: #b9ae97;
  --c-on-dark: #f8f4ea;
  --c-on-dark-muted: #c9d6d0;

  --font-display: 'Literata', Georgia, 'Times New Roman', serif;
  --font-body: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.35rem, 1.45rem + 3.5vw, 4.4rem);
  --fs-h1-sub: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
  --fs-h2: clamp(1.8rem, 1.32rem + 1.9vw, 2.95rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.6rem);
  --fs-lead: clamp(1.125rem, 1.06rem + 0.3vw, 1.3rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.12vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;

  --content-max: 76rem;
  --gutter: clamp(1.125rem, 4vw, 3.5rem);
  --section: clamp(3.75rem, 7vw, 7rem);
  --section-eng: clamp(2.5rem, 4.5vw, 4.5rem);
  --gap: clamp(1.75rem, 3.5vw, 3.5rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-btn: 10px;
  --shadow: 0 1px 2px rgb(22 48 43 / 0.06), 0 14px 34px rgb(22 48 43 / 0.1);
  --header-h: 4.75rem;

  /* Naht: Linie mit schrägen Stichen */
  --naht-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14' viewBox='0 0 22 14'%3E%3Cpath d='M0 7h22' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M8.6 1.6 13.4 12.4' stroke='%23000' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
  --naht-v-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='22' viewBox='0 0 14 22'%3E%3Cpath d='M7 0v22' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M1.6 13.4 12.4 8.6' stroke='%23000' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
}

@media (max-width: 47.99rem) { :root { --header-h: 4rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-text);
  font: 400 var(--fs-body)/1.62 var(--font-body);
  font-feature-settings: 'kern';
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand-strong); text-decoration-thickness: 2px; }
p, ul, ol, figure, blockquote, address { margin: 0; }
p + p { margin-top: 0.9em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.nur-vorlesen { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

h1, h2, h3, .h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.012em; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.24; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-muted); }

.container { width: min(calc(100% - 2 * var(--gutter)), var(--content-max)); margin-inline: auto; }
.sprunglink { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--c-brand); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-sm); }
.sprunglink:focus { top: 1rem; }

/* Naht */
.naht {
  display: block;
  height: 14px;
  width: 100%;
  color: var(--c-brand);
  background: currentColor;
  -webkit-mask: var(--naht-svg) repeat-x left center / 22px 14px;
  mask: var(--naht-svg) repeat-x left center / 22px 14px;
}
.naht--kurz { width: 6.6rem; margin-block: 1.1rem 1.4rem; }
.naht--hell { color: var(--c-heu); }
.naht--notfall { color: var(--c-notfall); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 0.85rem;
}
.label--hell { color: var(--c-heu); }
.label--notfall { color: var(--c-notfall); }

/* Icons */
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--label { width: 1.15rem; height: 1.15rem; stroke-width: 2; }
.icon--inline { display: inline-block; width: 1.25rem; height: 1.25rem; vertical-align: -0.25em; margin-right: 0.3rem; color: var(--c-brand); }

/* Buttons */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  font: 700 1.02rem/1.2 var(--font-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.knopf .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.knopf--primaer { background: var(--c-brand); color: var(--c-on-dark); }
.knopf--primaer:hover { background: var(--c-brand-strong); color: #fff; text-decoration: none; }
.knopf--sekundaer { border-color: var(--c-brand); color: var(--c-brand); background: transparent; }
.knopf--sekundaer:hover { background: var(--c-brand-soft); color: var(--c-brand-strong); text-decoration: none; }
.knopf--hell { background: var(--c-on-dark); color: var(--c-brand-deep); }
.knopf--hell:hover { background: #fff; color: var(--c-brand-deep); text-decoration: none; }
.knopf--rand-hell { border-color: rgb(248 244 234 / 0.7); color: var(--c-on-dark); }
.knopf--rand-hell:hover { background: rgb(248 244 234 / 0.12); color: #fff; text-decoration: none; }
.knopf--rand-notfall { border-color: var(--c-notfall); color: var(--c-notfall); background: var(--c-surface); }
.knopf--rand-notfall:hover { background: var(--c-notfall-soft); color: var(--c-notfall-strong); text-decoration: none; }
.knopf--breit { width: 100%; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.textlink { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; text-decoration: none; color: var(--c-brand); }
.textlink .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; transition: transform 0.18s ease; }
.textlink:hover { text-decoration: underline; }
.haken + .textlink, .punkte + .textlink { margin-top: 1.25rem; }
.haken + p { margin-top: 1.1rem; }
#wochenplan h2 { margin-bottom: 1.1rem; }
.textlink:hover .icon { transform: translateX(3px); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--c-page); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.kopf.ist-gescrollt { border-bottom-color: var(--c-line); box-shadow: 0 8px 22px rgb(22 48 43 / 0.06); }
.kopf__innen { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.marke { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--c-text); text-decoration: none; margin-right: auto; }
.marke:hover { color: var(--c-text); text-decoration: none; }
.marke__zeichen { width: 2.65rem; height: 2.65rem; color: var(--c-brand); flex: none; }
.marke__text { display: flex; flex-direction: column; }
.marke__name { font-family: var(--font-display); font-weight: 640; font-size: 1.45rem; line-height: 1; letter-spacing: -0.01em; }
.marke__zusatz { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.035em; color: var(--c-muted); margin-top: 0.3rem; }
.hauptnav { display: none; }
.hauptnav__liste { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.hauptnav a { display: block; padding: 0.55rem 0.7rem; border-radius: var(--r-sm); color: var(--c-text); font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap; }
.hauptnav a:hover { background: var(--c-alt); color: var(--c-brand-strong); }
.hauptnav a[aria-current='page'] { color: var(--c-brand); box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }
.kopf__telefon { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.95rem 0.5rem 0.8rem; border-radius: var(--r-btn); background: var(--c-brand); color: var(--c-on-dark); text-decoration: none; line-height: 1.15; }
.kopf__telefon:hover { background: var(--c-brand-strong); color: #fff; text-decoration: none; }
.kopf__telefon .icon { width: 1.3rem; height: 1.3rem; stroke-width: 2; }
.kopf__telefon-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.kopf__telefon-nummer { display: block; font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.kopf__menueknopf { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.9rem; padding: 0.45rem 0.8rem; border: 2px solid var(--c-line-strong); border-radius: var(--r-btn); background: var(--c-surface); color: var(--c-text); font: 700 0.95rem/1 var(--font-body); cursor: pointer; }
.kopf__menueknopf .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2; }
.kopf__menueknopf .icon--zu { display: none; }
.kopf__menueknopf[aria-expanded='true'] .icon--auf { display: none; }
.kopf__menueknopf[aria-expanded='true'] .icon--zu { display: block; }

.marke__kurz { display: none; }
@media (max-width: 47.99rem) {
  .kopf__innen { gap: 0.6rem; }
  .marke { gap: 0.55rem; }
  .marke__zeichen { width: 2.3rem; height: 2.3rem; }
  .marke__name { font-size: 1.28rem; }
  .marke__zusatz { font-size: 0.74rem; margin-top: 0.25rem; }
  .kopf .marke__lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .kopf .marke__kurz { display: inline; }
  .kopf__telefon { width: 2.9rem; height: 2.9rem; padding: 0; justify-content: center; flex: none; }
  .kopf__telefon > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .kopf__menueknopf { flex: none; }
}
@media (max-width: 22.5rem) {
  .kopf__menueknopf { padding-inline: 0.65rem; }
  .kopf__menuetext { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 72rem) {
  .hauptnav { display: block; }
  .kopf__menueknopf { display: none; }
}

/* Menü (außerhalb des Kopfs, damit position: fixed am Fenster hängt) */
.menue { position: fixed; inset: var(--header-h) 0 0 0; z-index: 45; background: var(--c-page); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--c-line); }
.menue__innen { padding-block: 1.25rem 2.5rem; display: grid; gap: 1.75rem; }
.menue__liste { list-style: none; margin: 0; padding: 0; }
.menue__liste li + li { border-top: 1px solid var(--c-line); }
.menue__liste a { display: flex; align-items: center; min-height: 3.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--c-text); text-decoration: none; }
.menue__liste a[aria-current='page'] { color: var(--c-brand); }
.menue__kontakt { display: grid; gap: 0.75rem; }
.menue__hinweis { font-size: var(--fs-small); color: var(--c-muted); }
body.menue-offen { overflow: hidden; }

/* Abschnitte */
.abschnitt { padding-block: var(--section); }
.abschnitt--eng { padding-block: var(--section-eng); }
.abschnitt--alt { background: var(--c-alt); }
.abschnitt__kopf { max-width: 44rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.abschnitt__kopf .naht--kurz { margin-bottom: 0; }
.abschnitt__intro p { max-width: 36rem; }
.abschnitt__aktion { margin-top: 1.75rem; }
.abschnitt__mehr { margin-top: 2.25rem; }
.zweispaltig { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 60rem) {
  .zweispaltig { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .zweispaltig--person { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
  .zweispaltig--karte { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .zweispaltig--leistung { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .zweispaltig--bild { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
  .zweispaltig--wild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .zweispaltig--werdegang { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
@media (min-width: 75rem) { .zweispaltig--plan { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: center; } }
@media (min-width: 60rem) and (max-width: 74.99rem) { .zweispaltig--plan { grid-template-columns: minmax(0, 1fr); } }
.raster-drei { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: minmax(0, 1fr); }
/* Drei Karten: Handy untereinander, Tablet 2 + 1 (die dritte über die ganze Breite), ab 60rem nebeneinander */
@media (min-width: 40rem) {
  .raster-drei, .wege, .notdienst { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster-drei > :last-child:nth-child(odd), .wege > :last-child:nth-child(odd), .notdienst > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 60rem) {
  .raster-drei, .wege, .notdienst { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .raster-drei > :last-child:nth-child(odd), .wege > :last-child:nth-child(odd), .notdienst > :last-child:nth-child(odd) { grid-column: auto; }
}

/* Hero */
.hero { padding-block: clamp(1.75rem, 4vw, 4rem) var(--section-eng); }
.hero__raster { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
@media (min-width: 60rem) { .hero__raster { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); } }
.hero__titel { font-size: var(--fs-h1); max-width: 13ch; }
.hero__label { display: block; font-family: var(--font-body); font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-brand); margin-bottom: 1.1rem; line-height: 1.4; }
.hero .naht--kurz { margin-block: 1.6rem 1.5rem; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-muted); max-width: 35rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.belege { list-style: none; padding: 0; margin-top: 2.25rem; display: grid; gap: 0.8rem; max-width: 34rem; }
.belege li { display: flex; gap: 0.8rem; align-items: flex-start; line-height: 1.45; }
.belege .icon { color: var(--c-brand); margin-top: 0.05rem; }
.hero__medien { position: relative; }
.hero__bild { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; background: var(--c-alt); }
.bildhinweis { position: absolute; top: 0.85rem; left: 0.85rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgb(255 253 248 / 0.88); font-size: 0.75rem; font-weight: 600; color: var(--c-muted); }
@media (max-width: 59.99rem) {
  .hero__bild { aspect-ratio: 4 / 3; }
  .hero__titel { max-width: 16ch; }
}

/* Statuskarte */
.statuskarte { background: var(--c-surface); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 1.05rem 1.2rem 1.1rem; border: 1px solid var(--c-line); }
.statuskarte__tag { display: flex; align-items: center; gap: 0.55rem; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.statuskarte__punkt { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c-line-strong); flex: none; }
.statuskarte[data-zustand='offen'] .statuskarte__punkt { background: #2f8f5b; box-shadow: 0 0 0 4px rgb(47 143 91 / 0.18); }
.statuskarte[data-zustand='op'] .statuskarte__punkt { background: #c58b1f; box-shadow: 0 0 0 4px rgb(197 139 31 / 0.2); }
.statuskarte[data-zustand='zu'] .statuskarte__punkt { background: #8a948f; }
.statuskarte[data-zustand='notdienst'] .statuskarte__punkt { background: var(--c-notfall); box-shadow: 0 0 0 4px rgb(163 56 31 / 0.15); }
.statuskarte__titel { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; line-height: 1.25; margin-top: 0.45rem; }
.statuskarte__text { font-size: var(--fs-small); color: var(--c-muted); margin-top: 0.35rem; line-height: 1.45; }
.statuskarte__text a { font-weight: 700; white-space: nowrap; }
.statuskarte--hero { position: relative; margin: -2.75rem 0.9rem 0; z-index: 2; }
@media (min-width: 60rem) {
  .statuskarte--hero { position: absolute; margin: 0; right: -1.5rem; bottom: 2.25rem; width: min(22rem, 92%); }
}
@media (min-width: 60rem) and (max-width: 80rem) { .statuskarte--hero { right: -0.5rem; } }

/* Drei Wege */
.wege { display: grid; gap: 1rem; }
.weg { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.6rem 1.5rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.weg__titel { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; }
.weg__titel .icon { color: var(--c-brand); }
.weg p { color: var(--c-muted); font-size: var(--fs-small); line-height: 1.5; }
.weg__nummer { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.01em; color: var(--c-brand); text-decoration: none; margin-top: auto; padding-top: 0.25rem; }
.weg__nummer:hover { text-decoration: underline; }
.weg--notfall { border-color: #e3b9aa; background: linear-gradient(180deg, #fff8f4, var(--c-surface)); }
.weg--notfall .weg__titel .icon, .weg--notfall .weg__nummer { color: var(--c-notfall); }
.weg--notfall .textlink { color: var(--c-notfall); }
.weg .textlink:first-of-type:last-child, .weg .textlink + .textlink { margin-top: 0; }
.weg > .textlink:first-of-type { margin-top: auto; }
.weg__nummer + .textlink { margin-top: 0 !important; }

/* Wochenplan */
.wochenplan { --spalte-name: 7rem; --spalte-zeit: 12.5rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.1rem, 2.4vw, 1.9rem); }
.wochenplan__skala { display: grid; grid-template-columns: var(--spalte-name) var(--spalte-zeit) minmax(0, 1fr); gap: 0 1rem; font-size: 0.78rem; font-weight: 700; color: var(--c-muted); margin-bottom: 0.4rem; }
.wochenplan__stunden { position: relative; height: 1.1rem; }
.wochenplan__stunden span { position: absolute; left: calc((var(--h) - var(--start)) / (var(--ende) - var(--start)) * 100%); transform: translateX(-50%); }
.wochenplan__stunden span:first-child { transform: none; }
.wochenplan__stunden span:last-child { transform: translateX(-100%); }
.wochenplan__tage { list-style: none; margin: 0; padding: 0; }
.tag { display: grid; grid-template-columns: var(--spalte-name) var(--spalte-zeit) minmax(0, 1fr); gap: 0.35rem 1rem; align-items: center; padding: 0.6rem 0; border-top: 1px solid var(--c-line); }
.tag:first-child { border-top: 0; }
.tag__name { font-weight: 700; }
.tag__kurz { display: none; }
.tag__zeiten { font-variant-numeric: tabular-nums; font-weight: 600; }
.tag__zeiten--frei { color: var(--c-muted); font-weight: 400; }
.tag__band {
  position: relative;
  height: 1.9rem;
  border-radius: 6px;
  background:
    repeating-linear-gradient(to right, rgb(185 174 151 / 0.55) 0 1px, transparent 1px calc(100% / 6)) left / calc(100% - 1px) 100% no-repeat,
    #f6f2e9;
}
.seg { position: absolute; top: 0.28rem; bottom: 0.28rem; left: calc((var(--von) - var(--start)) / (var(--ende) - var(--start)) * 100%); width: calc((var(--bis) - var(--von)) / (var(--ende) - var(--start)) * 100%); border-radius: 5px; }
.seg--sprech { background: var(--c-brand); z-index: 1; }
.seg--op { background: repeating-linear-gradient(135deg, #c9ddd4 0 5px, #e5eee9 5px 10px); border: 1px solid #b6cec3; }
.tag__jetzt { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 2px; margin-left: -1px; left: calc((var(--t) - var(--start)) / (var(--ende) - var(--start)) * 100%); background: var(--c-notfall); z-index: 2; border-radius: 2px; }
.tag__jetzt::before { content: 'jetzt'; position: absolute; top: -1.05rem; left: 50%; transform: translateX(-50%); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-notfall); }
.tag__hinweis { grid-column: 2 / -1; font-size: var(--fs-small); color: var(--c-muted); line-height: 1.45; }
.tag--frei .tag__band { opacity: 0.7; }
.tag.ist-heute { background: linear-gradient(90deg, var(--c-brand-soft), rgb(212 228 220 / 0.35)); border-radius: var(--r-sm); margin-inline: -0.6rem; padding-inline: 0.6rem; border-top-color: transparent; }
.tag.ist-heute + .tag { border-top-color: transparent; }
.tag.ist-heute .tag__name::after { content: 'heute'; display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--c-brand); color: var(--c-on-dark); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: 0.15em; }
.wochenplan__legende { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--c-line); display: grid; gap: 0.5rem; font-size: var(--fs-small); color: var(--c-muted); }
.wochenplan__legende li { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.45; }
.legende { width: 1.6rem; height: 0.85rem; border-radius: 4px; flex: none; margin-top: 0.25rem; }
.legende--sprech { background: var(--c-brand); }
.legende--op { background: repeating-linear-gradient(135deg, #c9ddd4 0 4px, #e5eee9 4px 8px); border: 1px solid #b6cec3; }
.wochenplan--kompakt { --spalte-name: 6.25rem; --spalte-zeit: 11.75rem; }
@media (max-width: 47.99rem) {
  .wochenplan { --spalte-name: 3.2rem; padding: 1rem 0.9rem 1.1rem; }
  .wochenplan__skala { grid-template-columns: var(--spalte-name) minmax(0, 1fr); }
  .wochenplan__skala > span:nth-child(2) { display: none; }
  .tag { grid-template-columns: var(--spalte-name) minmax(0, 1fr); }
  .tag__lang { display: none; }
  .tag__kurz { display: inline; }
  .tag__zeiten { grid-column: 2; grid-row: 1; font-size: var(--fs-small); }
  .tag__band { grid-column: 2; height: 1.55rem; }
  .tag__name { grid-row: 1 / span 2; align-self: start; padding-top: 0.1rem; }
  .tag__hinweis { grid-column: 2; }
  .tag.ist-heute .tag__name::after { display: block; margin: 0.3rem 0 0; width: max-content; }
  .tag.hat-jetzt { padding-bottom: 1.5rem; }
  .tag__jetzt::before { top: calc(100% + 0.2rem); }
}

/* Leitlinie (dunkle Fläche) */
.leitlinie { background: var(--c-brand-deep); color: var(--c-on-dark); padding-block: var(--section); position: relative; overflow: hidden; }
.leitlinie::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2.25rem; height: 14px; background: rgb(225 194 124 / 0.25); -webkit-mask: var(--naht-svg) repeat-x left center / 22px 14px; mask: var(--naht-svg) repeat-x left center / 22px 14px; }
.leitlinie h2, .leitlinie h3 { color: var(--c-on-dark); }
.leitlinie__aussage { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.5rem); line-height: 1.1; max-width: 19ch; }
.leitlinie__liste { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); counter-reset: ll; }
.leitlinie__liste li { counter-increment: ll; border-top: 1px solid rgb(248 244 234 / 0.25); padding-top: 1.25rem; }
.leitlinie__liste li::before { content: counter(ll, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--c-heu); margin-bottom: 0.6rem; }
.leitlinie__liste h3 { font-size: 1.35rem; }
.leitlinie__liste p { color: var(--c-on-dark-muted); margin-top: 0.5rem; }
.leitlinie__zitat { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 48rem; padding-bottom: 2.5rem; }
.leitlinie__zitat p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.7rem); line-height: 1.4; }
.leitlinie__zitat figcaption { margin-top: 0.8rem; color: var(--c-heu); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.04em; }

/* Leistungen auf der Startseite */
.leistungen { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 60rem) { .leistungen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.schwerpunkt { position: relative; background: var(--c-brand-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); }
.schwerpunkt::before { content: ''; position: absolute; inset: 0.6rem; border-radius: calc(var(--r-lg) - 0.5rem); pointer-events: none; border: 1.5px dashed rgb(31 94 85 / 0.45); }
.schwerpunkt__label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-brand); }
.schwerpunkt__label .icon { width: 1.15rem; height: 1.15rem; }
.schwerpunkt__titel { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); margin: 0.6rem 0 0.9rem; }
.schwerpunkt > p { color: var(--c-text); }
.schwerpunkt .haken { margin-block: 1.25rem 1.5rem; }
.haken { list-style: none; padding: 0; display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.haken li { display: flex; gap: 0.65rem; align-items: flex-start; line-height: 1.45; }
.haken .icon { width: 1.25rem; height: 1.25rem; color: var(--c-brand); stroke-width: 2.4; margin-top: 0.12rem; }
.leistungsliste { list-style: none; margin: 0; padding: 0; }
.leistung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--c-line); }
.leistung:first-child { border-top: 0; padding-top: 0.25rem; }
.leistung__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-brand); }
.leistung__titel { font-size: 1.3rem; }
.leistung__titel a { color: var(--c-text); text-decoration: none; }
.leistung__titel a:hover { color: var(--c-brand); text-decoration: underline; }
.leistung p { color: var(--c-muted); margin-top: 0.25rem; }

/* Porträt-Platzhalter */
.portrait-platz { max-width: 26rem; width: 100%; margin-inline: auto; }
.portrait-platz__flaeche { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: radial-gradient(120% 90% at 30% 20%, #e3ede7, var(--c-brand-soft)); display: grid; place-items: center; overflow: hidden; }
.portrait-platz__ring { position: absolute; width: 78%; height: auto; }
.portrait-platz__ring circle { fill: none; stroke: var(--c-brand); stroke-width: 1.2; opacity: 0.5; }
.portrait-platz__ring .portrait-platz__stiche { stroke-width: 7; stroke-dasharray: 1.8 9; opacity: 0.55; }
.portrait-platz__initialen { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(4rem, 3rem + 4vw, 6.5rem); color: var(--c-brand); letter-spacing: 0.02em; }
@media (max-width: 59.99rem) {
  .portrait-platz__flaeche { aspect-ratio: 3 / 2; }
  .portrait-platz__ring { width: auto; height: 84%; }
}
.portrait-platz figcaption { margin-top: 0.75rem; font-size: var(--fs-small); color: var(--c-muted); text-align: center; }

/* Ausstattung */
.ausstattung { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
@media (min-width: 60rem) { .ausstattung { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.ausstattung__bild img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ausstattung__bild figcaption, .leistung-bild figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--c-muted); }
.ausstattung__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.geraet { background: var(--c-surface); padding: 1.35rem 1.35rem 1.45rem; }
.geraet__titel { display: flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; margin-bottom: 0.65rem; }
.geraet__titel .icon { color: var(--c-brand); }
.geraet ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; font-size: var(--fs-small); color: var(--c-muted); line-height: 1.45; }
.geraet li li, .geraet ul li { padding-left: 1rem; position: relative; }
.geraet ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 0.42rem; height: 1.5px; background: var(--c-brand); transform: rotate(-60deg); }

/* Wildtierkasse */
.wildtiere { padding-block: var(--section); background: linear-gradient(180deg, var(--c-page), #efe8d8); }
.wildtiere__bild img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hinweis { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: rgb(255 253 248 / 0.75); border: 1px solid var(--c-line); font-size: var(--fs-small); line-height: 1.5; color: var(--c-muted); }
.hinweis .icon { color: var(--c-brand); width: 1.3rem; height: 1.3rem; margin-top: 0.05rem; }

/* Notdienst */
.notdienst { display: grid; gap: 1rem; }
.lage { display: flex; flex-direction: column; gap: 0.65rem; padding: 1.6rem 1.5rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); }
.lage__wann { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.lage__wann .icon { width: 1.15rem; height: 1.15rem; }
.lage__titel { font-size: 1.35rem; }
.lage p { line-height: 1.5; }
.lage__hinweis { font-size: var(--fs-small); color: var(--c-muted); }
.lage__nummer { display: inline-flex; align-items: center; gap: 0.6rem; align-self: flex-start; padding: 0.6rem 1rem; border-radius: var(--r-btn); background: var(--c-notfall); color: #fff; font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: 0.01em; }
.lage__nummer:hover { background: var(--c-notfall-strong); color: #fff; text-decoration: none; }
.lage__nummer .icon { width: 1.3rem; height: 1.3rem; stroke-width: 2; }
.lage--tag { border-color: #e3b9aa; background: linear-gradient(180deg, #fff6f1, var(--c-surface) 70%); }
.lage--tag .lage__wann { color: var(--c-notfall); }
.lage--nacht { background: var(--c-brand-deep); border-color: var(--c-brand-deep); color: var(--c-on-dark); }
.lage--nacht .lage__titel { color: var(--c-on-dark); }
.lage--nacht .lage__wann { color: var(--c-heu); }
.lage--nacht .lage__hinweis { color: var(--c-on-dark-muted); }
.lage .textlink { margin-top: auto; }
.notfall-zusatz { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Kästen */
.kasten { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: clamp(1.3rem, 2.5vw, 1.9rem); }
.kasten + .kasten { margin-top: 0; }
.kasten__titel { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; margin-bottom: 0.8rem; }
.kasten__titel .icon { color: var(--c-brand); }
.kasten p { line-height: 1.55; }
.kasten .textlink { margin-top: 1rem; }
.kasten--hell { margin-top: 1.5rem; background: rgb(255 253 248 / 0.7); }
.kasten--notfall { border-color: #e3b9aa; background: #fff8f4; }
.kasten--notfall .kasten__titel .icon { color: var(--c-notfall); }
.punkte { margin: 0.25rem 0 0.9rem; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.punkte li::marker { color: var(--c-brand); }
.fragen { margin: 0; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 0.2rem; }
.fragen li { counter-increment: f; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); align-items: baseline; padding: 0.65rem 0; border-top: 1px solid var(--c-line); font-weight: 600; }
.fragen li:first-child { border-top: 0; }
.fragen li::before { content: counter(f); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--c-brand); }

/* Karten für Unterseiten */
.karte-leistung { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: 0.55rem; }
.abschnitt--alt .karte-leistung { border-color: #d6ddd5; }
.karte-leistung__icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-soft); color: var(--c-brand); margin-bottom: 0.4rem; }
.karte-leistung__titel { font-size: 1.35rem; }
.karte-leistung p { color: var(--c-muted); line-height: 1.55; }
.karte-leistung .haken { margin-top: 0.5rem; }
.karte-leistung .textlink { margin-top: auto; padding-top: 0.5rem; }
.leistung-bild img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.kachel { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.5rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-muted); transition: border-color 0.18s ease, transform 0.18s ease; }
.kachel:hover { border-color: var(--c-brand); color: var(--c-muted); text-decoration: none; transform: translateY(-2px); }
.kachel__icon { color: var(--c-brand); margin-bottom: 0.4rem; }
.kachel__titel { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--c-text); }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.seitenkopf__titel { font-size: var(--fs-h1-sub); line-height: 1.08; max-width: 22ch; }
.seitenkopf__text { font-size: var(--fs-lead); color: var(--c-muted); max-width: 44rem; line-height: 1.55; }
.seitenkopf .naht--kurz { margin-block: 1.3rem 1.3rem; }
.seitenkopf__status { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.statuskarte--seite { flex: 1 1 22rem; max-width: 30rem; box-shadow: none; }
.seitenkopf--404 { padding-block: clamp(3rem, 8vw, 7rem); }
.sprungmarken { margin-top: 1.75rem; }
.sprungmarken ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sprungmarken a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid var(--c-line-strong); background: var(--c-surface); color: var(--c-text); font-weight: 600; font-size: var(--fs-small); text-decoration: none; }
.sprungmarken a:hover { border-color: var(--c-brand); color: var(--c-brand); }

/* Zitat */
.zitat { margin-top: 1.75rem; padding-left: 1.4rem; position: relative; }
.zitat::before { content: ''; position: absolute; left: 0; top: 0.2rem; bottom: 0.2rem; width: 14px; background: var(--c-brand); -webkit-mask: var(--naht-v-svg) repeat-y center top / 14px 22px; mask: var(--naht-v-svg) repeat-y center top / 14px 22px; }
.zitat p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.45; }
.zitat figcaption { margin-top: 0.7rem; font-weight: 700; color: var(--c-brand); font-size: var(--fs-small); }
.leitlinie-hell { list-style: none; margin: 0; padding: 0; counter-reset: ll; display: grid; gap: 1rem; }
.leitlinie-hell li { counter-increment: ll; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1.3rem 1.4rem 1.3rem 4.2rem; position: relative; }
.leitlinie-hell li::before { content: counter(ll, decimal-leading-zero); position: absolute; left: 1.3rem; top: 1.2rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--c-brand); }
.leitlinie-hell h3 { font-size: 1.25rem; }
.leitlinie-hell p { color: var(--c-muted); margin-top: 0.3rem; }

/* Werdegang */
.werdegang { list-style: none; margin: 0; padding: 0 0 0 2.25rem; position: relative; }
.werdegang::before { content: ''; position: absolute; left: 0.2rem; top: 0.5rem; bottom: 0.5rem; width: 14px; background: var(--c-brand); -webkit-mask: var(--naht-v-svg) repeat-y center top / 14px 22px; mask: var(--naht-v-svg) repeat-y center top / 14px 22px; opacity: 0.75; }
.station { position: relative; padding-bottom: 1.9rem; }
.station:last-child { padding-bottom: 0; }
.station::before { content: ''; position: absolute; left: -2.25rem; top: 0.3rem; width: 1.15rem; height: 1.15rem; margin-left: 0.1rem; border-radius: 50%; background: var(--c-alt); border: 3px solid var(--c-brand); }
.abschnitt--alt .station::before { background: var(--c-alt); }
.station:last-child::before { background: var(--c-brand); }
.station__ort { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-brand); margin-bottom: 0.3rem; }
.station__titel { font-size: 1.22rem; line-height: 1.3; }
.station p { color: var(--c-muted); margin-top: 0.35rem; line-height: 1.5; }

/* Anfahrt */
.adresse { font-style: normal; font-size: var(--fs-lead); line-height: 1.5; }
.fakten { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.8rem; }
.fakten li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.45; }
.fakten .icon { color: var(--c-brand); }
.karte { margin: 0; }
.karte__svg { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--c-line); background: #eef2ea; }
.karte figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--c-muted); }
.karte__grund { fill: #eef2ea; }
.karte__punkt { fill: #cdd6c9; }
.karte__strasse-rand { fill: none; stroke: #c8c0ab; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.karte__strasse-rand--klein { stroke-width: 11; }
.karte__strasse { fill: none; stroke: #fffdf8; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.karte__strasse--klein { stroke-width: 7; }
.karte__route { fill: none; stroke: var(--c-brand); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.karte__pfeilspitze { fill: #a59b84; }
.karte text { font-family: var(--font-body); font-size: 16px; fill: var(--c-muted); font-weight: 600; }
.karte text.karte__strassenname { font-size: 14px; letter-spacing: 0.03em; fill: #6f6a5c; }
.karte text.karte__ort { font-family: var(--font-display); font-style: italic; font-size: 25px; fill: #61756e; font-weight: 500; }
.karte__kirche path { fill: #fffdf8; stroke: #6f6a5c; stroke-width: 2; stroke-linejoin: round; }
.karte__abzweig circle { fill: #fffdf8; stroke: var(--c-brand); stroke-width: 3; }
.karte text.karte__fett { font-weight: 800; fill: var(--c-text); }
.karte__praxis circle { fill: var(--c-brand); }
.karte__praxis .karte__praxis-ring { fill: rgb(31 94 85 / 0.18); }
.karte__herz { fill: #fffdf8; }
.karte text.karte__praxisname { font-size: 19px; }
.karte__praxis text, .karte__abzweig text, .karte__kirche text, .karte__beschriftung text { paint-order: stroke; stroke: #eef2ea; stroke-width: 5px; stroke-linejoin: round; }
@media (max-width: 47.99rem) {
  .karte text { font-size: 24px; }
  .karte text.karte__strassenname { font-size: 20px; }
  .karte text.karte__ort { font-size: 32px; }
  .karte text.karte__praxisname { font-size: 27px; }
}
.karte__nord path { fill: var(--c-text); }
.karte__massstab path { stroke: var(--c-text); stroke-width: 2.5; fill: none; }
.wegbeschreibung .h3 { margin-bottom: 1.25rem; }
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1.5rem; }
.schritte li { counter-increment: s; position: relative; padding-left: 3.2rem; }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: -0.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand); color: var(--c-on-dark); font-weight: 800; }
.schritte__titel { font-size: 1.25rem; margin-bottom: 0.4rem; }
.schritte p { color: var(--c-muted); line-height: 1.55; }

/* Abschluss */
.abschluss { background: var(--c-brand); color: var(--c-on-dark); padding-block: clamp(3rem, 6vw, 5rem); }
.abschluss__innen { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 60rem) { .abschluss__innen { grid-template-columns: minmax(0, 1.2fr) auto; } }
.abschluss__titel { color: var(--c-on-dark); font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem); }
.abschluss p { color: var(--c-on-dark-muted); margin-top: 0.6rem; max-width: 40rem; }
.abschluss__aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Text- und Rechtsseiten */
.text { max-width: 46rem; }
.text .h3 { margin: 2rem 0 0.6rem; }
.text .h3:first-child { margin-top: 0; }
.fehlt { background: #fbeaa8; color: var(--c-text); padding: 0.05rem 0.35rem; border-radius: 4px; }
.hinweis-box { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--c-alt); font-size: var(--fs-small); }

/* Fuß */
.fuss { background: var(--c-brand-deep); color: var(--c-on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: var(--fs-small); }
.fuss a { color: var(--c-on-dark); }
.fuss a:hover { color: #fff; }
.fuss__raster { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }
.marke--fuss { color: var(--c-on-dark); margin-bottom: 1rem; }
.marke--fuss:hover { color: var(--c-on-dark); }
.marke--fuss .marke__zeichen { color: var(--c-heu); }
.marke--fuss .marke__zusatz { color: var(--c-on-dark-muted); }
.fuss__titel { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-heu); margin-bottom: 0.75rem; }
.fuss p + p { margin-top: 0.75rem; }
.fuss__klein { font-size: 0.85rem; }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.fuss__unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(248 244 234 / 0.18); display: grid; gap: 0.4rem; font-size: 0.85rem; }
.fuss__vorschau { color: var(--c-heu); }

/* Schnellkontakt auf dem Smartphone */
.schnellkontakt { display: none; }
@media (max-width: 47.99rem) {
  body { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .schnellkontakt { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom)); background: rgb(245 241 232 / 0.97); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 18px rgb(22 48 43 / 0.08); }
  .schnellkontakt a { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; border-radius: var(--r-btn); font-weight: 700; text-decoration: none; }
  .schnellkontakt .icon { width: 1.2rem; height: 1.2rem; stroke-width: 2.1; }
  .schnellkontakt__termin { background: var(--c-brand); color: var(--c-on-dark); }
  .schnellkontakt__notfall { border: 2px solid var(--c-notfall); color: var(--c-notfall); background: var(--c-surface); }
  body.menue-offen .schnellkontakt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .kopf, .menue, .schnellkontakt, .abschluss { display: none !important; }
  body { background: #fff; padding: 0; }
}
