/* ==========================================================================
   Sanitätshaus Jeromin – Stylesheet
   Ohne Framework, ohne jQuery. Schrift lokal gehostet (DSGVO-konform).
   ========================================================================== */

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben */
  --blue: #004f9f;        /* Jeromin-Blau aus dem Logo */
  --blue-deep: #003a75;
  --sky: #b3dcff;         /* frisches Hellblau (vorher Druckfarbe #9cc8f0) */
  --ink: #14243a;         /* Fließtext */
  --muted: #4a5a70;       /* Nebentext, Kontrast > 7:1 */
  --mist: #f0f7ff;        /* helle Flächen, ohne Graustich */
  --top1: #0a5bb5;        /* helleres Blau als das Logo – Kopfbereiche */
  --top2: #1677d4;
  --top3: #2f8fe6;
  --line: #d6e6f6;
  --white: #ffffff;
  --open: #1e7a46;
  --closed: #6b7686;
  --focus: #e8a317;
  --amber: #e8a317;       /* Akzentfarbe (auch Verordnungshilfe), darauf nur dunkle Schrift */
  --amber-tint: #fdf3dc;
  --amber-deep: #8a5300;  /* Orange für kleine Schrift/Linien auf Weiß */
  --sand: #f8f1e4;        /* warme Fläche */
  --sand-light: #fffaf1;

  /* Typografie */
  --font: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --fs-body: 1.1875rem;   /* 19 px */
  --fs-small: 1.0625rem;  /* 17 px */
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.875rem, 1.3rem + 2vw, 2.625rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 4.6vw, 4.5rem);

  /* Abstände */
  --wrap: 80rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  word-spacing: 0.05em;   /* Public Sans setzt Wortabstände eng – etwas mehr Luft für bessere Lesbarkeit */
  color: var(--ink);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1, h2 { font-weight: 650; letter-spacing: -0.02em; }

p { margin: 0 0 1em; }

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--blue); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3.25rem; padding: .7rem 1.4rem;
  font: inherit; font-weight: 600; text-decoration: none;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-secondary { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-secondary:hover { background: var(--mist); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--mist); color: var(--blue-deep); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 6.5rem;
}
/* Logo: Bildzeichen als Grafik, Name als echter Text (skaliert und lässt sich ausblenden) */
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: .85rem; color: var(--blue); text-decoration: none; }
.brand:hover { color: var(--blue); }
.brand-mark { width: auto; height: 4.25rem; }
.brand-text { display: flex; flex-direction: column; align-items: stretch; line-height: 1.1; }
.brand-name {
  font-size: 2.05rem; font-weight: 600; letter-spacing: -0.01em; text-align: center;
  padding-bottom: .15rem; border-bottom: 2px solid var(--blue);
}
.brand-sub { font-size: .95rem; font-weight: 500; padding-top: .3rem; white-space: nowrap; word-spacing: .02em; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .55rem .75rem; border-radius: var(--radius);
  color: var(--ink); font-weight: 550; text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { background: var(--mist); color: var(--blue); }

.header-call {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: var(--radius);
  background: var(--blue); color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--blue-deep); color: var(--white); }
/* Mittlere Breiten (Laptop): Menü etwas enger, Telefon nur als Hörer-Symbol,
   damit „Häufige Fragen“ in die Zeile passt. Unter 1151 px greift das Handy-Menü. */
@media (min-width: 1151px) and (max-width: 1340px) {
  .header-inner { gap: 1rem; }
  .main-nav a { padding-inline: .6rem; }
  .header-call { padding: .6rem .7rem; }
  .header-call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.nav-toggle {
  display: none; align-items: center; gap: .6rem; margin-left: auto;
  font: inherit; font-weight: 600; color: var(--ink);
  background: none; border: 2px solid var(--line); border-radius: var(--radius);
  padding: .5rem .85rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }

/* Das prägende Element: die gestaffelten Etiketten aus den Jeromin-Bannern */
.hero-title { font-size: var(--fs-h1); font-weight: 680; line-height: 1; margin-bottom: 1.75rem; }
.tag { display: table; padding: .08em .28em .14em; white-space: nowrap; }
.tag-dark { background: var(--top1); color: var(--white); }
.tag-light { background: var(--sky); color: #0a4a8f; margin-left: clamp(1.25rem, 6vw, 4.5rem); }

.hero-lead { font-size: 1.25rem; max-width: 34em; color: var(--ink); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Live-Öffnungsstatus */
.today { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--mist); border-block: 1px solid var(--line); }
.today-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2.5rem; padding-block: 1.1rem; }
.today-title { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.today-list { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); }
.today-list li { display: flex; align-items: baseline; gap: .55rem; }
.today-list strong { font-weight: 600; }
.status-text { color: var(--muted); }

.status-dot {
  flex: 0 0 auto; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--closed); transform: translateY(.05rem);
}
[data-open="true"] .status-dot { background: var(--open); box-shadow: 0 0 0 4px rgba(30,122,70,.18); }
[data-open="true"] .status-text { color: var(--open); font-weight: 550; }

/* --------------------------------------------------------------------------
   Sektionen allgemein
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--mist); }
.section-title { font-size: var(--fs-h2); font-weight: 670; color: var(--ink); margin-bottom: 1rem; max-width: 20em; }
.section-lead { font-size: 1.25rem; color: var(--muted); max-width: 36em; margin-bottom: 2.5rem; }
.service { border-top: 2px solid var(--line); }
.service a {
  display: block; height: 100%; padding: 1.4rem 0 1.6rem;
  color: inherit; text-decoration: none;
}
.service h3 { font-size: var(--fs-h3); font-weight: 630; color: var(--blue); margin-bottom: .5rem; }
.service p { color: var(--muted); margin: 0; }
.service a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.service:has(a:hover) { border-top-color: var(--blue); }

/* Ablauf – echte Reihenfolge, daher nummeriert */
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.step { counter-increment: step; position: relative; padding-top: 4.5rem; }
.step::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--white);
  font-size: 1.5rem; font-weight: 670;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 1.625rem; left: 4rem; right: -1.25rem;
  height: 2px; background: var(--sky);
}
.step h3 { font-size: var(--fs-h3); font-weight: 630; margin-bottom: .5rem; }
.step p { color: var(--muted); }

/* Über uns */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-text p { max-width: 36em; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-photo figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: .6rem; }

.timeline-title { font-size: var(--fs-h3); font-weight: 630; margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  border-top: 2px solid var(--line);
}
.timeline li { position: relative; padding-top: 1.5rem; }
.timeline li::before {
  content: ""; position: absolute; top: -.5rem; left: 0;
  width: .9rem; height: .9rem; border-radius: 50%; background: var(--blue);
  border: 3px solid var(--white);
}
.timeline .year { display: block; font-size: 2rem; font-weight: 680; color: var(--blue); line-height: 1; margin-bottom: .6rem; }
.timeline p { font-size: var(--fs-small); color: var(--muted); margin: 0; }

/* Standorte */
.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.location {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  border-top: 5px solid var(--blue);
  display: flex; flex-direction: column;
}
.location h3 { font-size: var(--fs-h3); font-weight: 630; }
.location-sub { color: var(--muted); margin: .2rem 0 1rem; }
.location address { font-style: normal; margin-bottom: 1rem; }
.hours { margin: 0 0 1rem; }
.hours div { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.hours div:first-child { border-top: 1px solid var(--line); }
.hours dt { color: var(--muted); font-size: var(--fs-small); }
.hours dd { margin: 0; font-weight: 600; }
.location-contact { display: flex; flex-direction: column; gap: .2rem; }
.location-contact a { font-weight: 550; }
.location-contact a[href^="tel:"] { white-space: nowrap; }
.location-contact .contact-label { font-size: var(--fs-small); color: var(--muted); margin-top: .35rem; }
.location-contact .contact-label:first-child { margin-top: 0; }
.location-contact .contact-gap { margin-top: .5rem; }
.location-contact .crow { display: grid; grid-template-columns: 4.75rem auto; justify-content: start; align-items: baseline; }
.route-link { margin-top: auto; align-self: flex-start; font-weight: 600; }
.hours-note { font-size: var(--fs-small); color: var(--muted); margin-top: 1.5rem; }

/* Kontakt-Band */
.contact-band { background: var(--blue); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: .5rem 2rem; align-items: center; }
.contact-band h2 { font-size: var(--fs-h2); font-weight: 670; }
.contact-band p { grid-column: 1; margin: 0; font-size: 1.25rem; color: #dbe8f6; }
.contact-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Footer */
.site-footer { background: #0e2647; color: #c9d6e6; padding-block: 3rem; font-size: var(--fs-small); }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-company { color: var(--white); font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }

/* Rezept-Einstieg: Hilfsmittel-Kacheln */
.section-aids { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.aid-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem;
}
.aid {
  display: flex; align-items: center; gap: 1rem; height: 100%;
  padding: 1.1rem 1.2rem; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font-weight: 600; line-height: 1.25; text-decoration: none;
  hyphens: manual;
}
.aid:hover { border-color: var(--blue); background: var(--mist); color: var(--blue); }
.aid-icon {
  flex: 0 0 auto; width: 3rem; height: 3rem; color: var(--blue);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.aid-more { margin: 1.5rem 0 0; color: var(--muted); }
.aid-more a { font-weight: 550; }

/* Kosten */
.costs {
  margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--white); border-radius: var(--radius);
  border-left: 6px solid var(--blue); padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem 3rem;
}
.costs-head h3 { font-size: 1.6rem; font-weight: 650; margin-bottom: .6rem; }
.costs-head p { color: var(--muted); margin: 0; }
.costs-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.costs-list li { padding-left: 1.4rem; position: relative; }
.costs-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sky); }
.costs-more { grid-column: 2; margin: .5rem 0 0; font-size: var(--fs-small); }

/* Unterseiten-Kopf */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem); background: var(--mist); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2rem, 1.2rem + 4.4vw, 4.5rem); font-weight: 680; line-height: 1.05; margin-bottom: 1rem; color: var(--ink); hyphens: auto; overflow-wrap: break-word; }
.page-head .section-lead { margin-bottom: 0; }

/* Häufige Fragen */
.faq-group { max-width: 52rem; }
.faq-group + .faq-group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.faq-group h2 { font-size: 1.6rem; font-weight: 650; margin-bottom: 1rem; color: var(--blue); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.05rem 3rem 1.05rem 0; font-weight: 600; font-size: 1.15rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: .75rem; height: .75rem;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 0 1.25rem; max-width: 44em; }
.faq-answer p:last-child { margin-bottom: 0; }
.main-nav a[aria-current="page"] { color: var(--blue); background: var(--mist); }

/* Leistungsseiten */
.section-tight { padding-block: 0 var(--section); }
.service-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.service-body p { max-width: 38em; }
.list-title { font-size: 1.5rem; font-weight: 650; margin: 2.25rem 0 1rem; }
/* Zweispaltig als Textspalten (nicht Raster): ein zweizeiliger Eintrag reißt so keine Lücke in die Nachbarspalte */
.check-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; break-inside: avoid; }
.check-list li::before {
  content: ""; position: absolute; left: .2rem; top: .32em; width: .45rem; height: .85rem;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg);
}
.service-next { margin-top: 2.25rem; color: var(--muted); }
.service-next a { font-weight: 550; }
.service-aside { position: sticky; top: 8rem; }
.contact-card { background: var(--mist); border-top: 5px solid var(--blue); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.contact-card h2 { font-size: 1.4rem; font-weight: 650; margin-bottom: .75rem; }
.contact-block + .contact-block { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.contact-block h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .25rem; }
.contact-block p { margin: 0; }
.contact-block a { font-weight: 550; }
.contact-card-inline { margin: 1.5rem 0; }
.contact-card-inline p { margin: 0; }
.aside-note { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.gallery figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: .5rem; line-height: 1.4; }
.photo-credit { font-size: .875rem; color: var(--muted); margin: 1rem 0 0; }
.narrow { max-width: 46rem; margin-left: 0; }
.wrap.narrow { margin-inline: auto; max-width: var(--wrap); }
.wrap.narrow > * { max-width: 42rem; }
.small-note { font-size: var(--fs-small); color: var(--muted); }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.download-group h2 { font-size: 1.5rem; font-weight: 650; color: var(--blue); margin-bottom: .75rem; }
.download-list { list-style: none; margin: 0; padding: 0; }
.download-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.download-list a { font-weight: 550; }
.file-type { flex: 0 0 auto; font-size: .8rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 .35rem; }

/* Rechtstexte */
.prose { max-width: var(--wrap); }
.prose > * { max-width: 46rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.45rem; font-weight: 650; margin: 2.25rem 0 .75rem; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.prose ol, .prose ul { padding-left: 1.4rem; margin: 0 0 1em; }
.prose li { margin-bottom: .5rem; }
.prose li.no-marker { list-style: none; }

/* Verordnungshilfe Kompression */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vo-step { border: 0; margin: 0 0 2.5rem; padding: 0; min-width: 0; }
.vo-step legend { display: flex; align-items: center; gap: .7rem; font-size: 1.45rem; font-weight: 650; margin-bottom: 1.1rem; padding: 0; }
.vo-num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 1.1rem; flex: 0 0 auto; }
.vo-optional { font-weight: 550; color: var(--ink); margin: -.4rem 0 .3rem; }
.vo-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem 1.25rem; align-items: end; }
.vo-field { display: flex; flex-direction: column; gap: .35rem; }
.vo-field label { font-weight: 600; }
.vohilfe select, .vohilfe textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius); padding: .6rem .75rem; width: 100%;
}
.vohilfe select:focus, .vohilfe textarea:focus { border-color: var(--blue); outline: 3px solid var(--focus); outline-offset: 1px; }
.vohilfe option:disabled { color: #9aa5b4; }
.vohilfe select:disabled { background: var(--mist); color: var(--ink); cursor: not-allowed; opacity: 1; }
.vo-note { margin: .75rem 0 0; font-size: var(--fs-small); color: var(--muted); }
.vo-note[hidden] { display: none; }
.vo-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.vo-choice {
  display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.vo-choice:hover { border-color: var(--blue); }
.vo-choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--blue); flex: 0 0 auto; margin: 0; }
.vo-choice strong { color: var(--blue); margin-right: .25rem; }
.vo-choice:has(input:checked) { border-color: var(--blue); background: var(--mist); }
.vo-choice:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.vo-choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.vo-step2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: start; }
.vo-step2 .vo-choices { grid-template-columns: 1fr; }
.vo-choices[hidden] { display: none; }
.vo-coverage { background: var(--mist); border-radius: var(--radius); padding: 1.25rem; }
.vo-coverage-text { margin: 0 0 1rem; line-height: 1.45; }
.vo-coverage-text strong { color: var(--blue); }
.vo-figures { display: flex; gap: .75rem; align-items: flex-start; }
.vo-figure[data-gruppe="Bein"] { flex: 0 1 21rem; margin-inline: auto; }
.vo-figure[data-gruppe="Arm"] { flex: 1.146 1 0; }
.vo-figure-hand { flex: .695 1 0 !important; }
.vo-figure { margin: 0; }
.vo-figure[hidden] { display: none; }
.vo-figure-img { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.vo-figure-img img { width: 100%; height: auto; display: block; }
.vo-hl {
  position: absolute; inset: 0; background: var(--blue); opacity: .5; mix-blend-mode: multiply;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  clip-path: inset(0 0 100% 0); transition: clip-path .25s ease;
}
.vo-hl-light { opacity: .2; }

.vo-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.vo-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }
.vo-swatch { display: inline-block; width: .9rem; height: .9rem; border-radius: 2px; background: rgba(0, 79, 159, .5); }
.vo-swatch-light { background: rgba(0, 79, 159, .2); margin-left: .5rem; }
.vo-legend-light { display: inline-flex; align-items: center; gap: .5rem; }
.vo-legend-light[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .vo-hl { transition: none; } }
.vo-hint { color: var(--muted); margin-bottom: 1rem; }
.vo-table { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
.vo-table th { text-align: left; background: var(--mist); padding: .6rem .75rem; border-bottom: 2px solid var(--line); }
.vo-table td { padding: .7rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; hyphens: auto; overflow-wrap: break-word; }
.vo-table tr[hidden] { display: none; }
.vo-table tr.is-disabled { opacity: .45; }
.vo-check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 600; cursor: pointer; }
.vo-check span { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.vo-check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--blue); flex: 0 0 auto; }
.vo-img img { width: 4.5rem; height: auto; border-radius: 4px; }
.vo-table { table-layout: fixed; }
.vo-table col.c-zusatz { width: 23%; }
.vo-table col.c-beschr { width: 38%; }
.vo-table col.c-ind { width: 31%; }
.vo-table col.c-img { width: 8%; }

.vo-bar {
  position: sticky; bottom: 0; z-index: 15; margin-top: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem;
  background: var(--white); border: 2px solid var(--blue); border-radius: var(--radius);
  padding: .9rem 1.1rem; box-shadow: 0 -6px 18px rgba(20, 36, 58, .14);
}
.vo-bar-text { flex: 1 1 24rem; min-width: 0; }
.vo-bar-label { display: block; font-size: .85rem; font-weight: 600; color: var(--blue); }
.vo-bar-text p { margin: 0; font-weight: 550; line-height: 1.45; }
.vo-bar-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.vo-bar-actions .btn { min-height: 2.75rem; padding: .45rem 1.1rem; cursor: pointer; }
.vo-bar-status { flex: 1 1 100%; margin: 0; font-size: .9rem; color: var(--open); font-weight: 550; }
.vo-bar-status:empty { display: none; }
.vo-source { font-size: .875rem; color: var(--muted); margin-top: 1rem; }

@media (max-width: 1060px) {
  .vo-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vo-step2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .vo-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vo-choices { grid-template-columns: 1fr; }
  .vo-step2 { grid-template-columns: 1fr; }
  .vo-figure[data-gruppe="Bein"] { flex-basis: 18rem; }
  .vo-table thead { display: none; }
  .vo-table { table-layout: auto; }
  .vo-table colgroup { display: none; }
  .vo-table, .vo-table tbody, .vo-table tr, .vo-table td { display: block; width: 100%; }
  .vo-table tr { border: 2px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; padding: .3rem 0; background: var(--white); position: relative; }
  .vo-table td { border: 0; padding: .35rem .8rem; }
  .vo-table td[data-label="Beschreibung"]::before, .vo-table td[data-label="Patientenbedingte Indikation"]::before {
    content: attr(data-label); display: block; font-weight: 600; color: var(--muted); font-size: .85rem;
  }
  .vo-table td.vo-img { position: absolute; top: .4rem; right: .4rem; width: auto; padding: 0; }
  .vo-table td.vo-img img { width: 3.2rem; }
  .vo-table td[data-label="Zusatz"] { padding-right: 4.5rem; }
}

/* Feste Leiste auf dem Handy */
.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   Einstiegs-Animation (einmalig, nur die Etiketten)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: tag-in .6s cubic-bezier(.2,.7,.2,1) both; }
  .tag-light { animation-delay: .18s; }
  @keyframes tag-in { from { transform: translateX(-1.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1150px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-inner { position: relative; gap: .75rem; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .step:nth-child(2)::after { display: none; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); gap: 1.75rem; padding-left: 1.5rem; }
  .timeline li { padding-top: 0; }
  .timeline li::before { top: .4rem; left: calc(-1.5rem - .45rem - 1px); }
  .locations { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-actions { grid-column: 1; grid-row: auto; margin-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1 / -1; }
  .aid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .downloads { grid-template-columns: 1fr; }
  .costs { grid-template-columns: 1fr; }
  .costs-more { grid-column: 1; }
  .about-photo { max-width: 28rem; }
}

@media (max-width: 600px) {
  :root { --fs-body: 1.125rem; }
  .header-inner { min-height: 4.75rem; }
  .brand-mark { height: 3.4rem; }
  .brand-name { font-size: 1.3rem; border-bottom-width: 1.5px; }
  .brand-sub { display: none; }
  .header-call { padding: .6rem .7rem; }
  .header-call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { padding: .5rem .7rem; }
  .hero-lead { font-size: 1.125rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 0; padding-left: 4.5rem; min-height: 3.25rem; }
  .step:not(:last-child)::after { display: none; }
  .today-list { flex-direction: column; }
  .location { padding: 1.4rem; }
  .contact-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .brand-text { display: none; }
}

@media (max-width: 600px) {
  .aid { flex-direction: column; justify-content: center; text-align: center; padding: 1rem .6rem; gap: .5rem; font-size: 1rem; }
  .aid-icon { width: 2.6rem; height: 2.6rem; }
  .header-call { display: none; }
  .check-list { columns: 1; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--blue); box-shadow: 0 -2px 10px rgba(20, 36, 58, .18);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3.6rem; color: var(--white); font-weight: 600; text-decoration: none;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.3); }
  body { padding-bottom: 3.6rem; }
  .page-vohilfe .mobile-bar { display: none; }
  body.page-vohilfe { padding-bottom: 0; }
  .vo-bar { padding: .6rem .75rem; gap: .4rem .6rem; }
  .vo-bar-text { flex-basis: 100%; }
  .vo-bar-text p { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .vo-bar-actions { flex: 1 1 100%; }
  .vo-bar-actions .btn { flex: 1 1 0; min-height: 2.5rem; padding: .35rem .6rem; justify-content: center; }
  .vo-bar-status { display: none; }
}

/* --------------------------------------------------------------------------
   Lizenzbilder: Titelbild der Leistungsseiten, größere Galerien, Kostenkasten
   -------------------------------------------------------------------------- */
.gallery-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-6 img { aspect-ratio: 4 / 3; }
.costs-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-top: 1.25rem; }

@media (max-width: 760px) {
  .gallery-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Startseite: großes Gartenbild rechts, Text links teilweise darüber
   -------------------------------------------------------------------------- */
.hero { padding-top: 0; }
.hero-stage { position: relative; min-height: clamp(32rem, 42vw, 40rem); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; display: block; }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 8%, rgba(255,255,255,.75) 18%, rgba(255,255,255,0) 34%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero-inner .hero-text { max-width: 31rem; }
.hero-inner .hero-lead { text-shadow: 0 0 12px var(--white), 0 0 4px var(--white); }

@media (max-width: 900px) {
  .hero-stage { display: block; min-height: 0; }
  .hero-media { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 60vh; }
  .hero-media::before { display: none; }
  .hero-inner .hero-text { max-width: none; }
}
.hero-stage + .today { margin-top: 0; }

/* Startseite: Bild nicht bis zum Bildschirmrand, sondern bündig mit dem Inhalt (wie Kopfzeile) */
@media (min-width: 901px) {
  .hero-stage { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); overflow: visible; }
  .hero-stage .hero-inner { padding-inline: 0; max-width: none; }
  .hero-media { top: clamp(1.5rem, 3vw, 2.5rem); bottom: clamp(1.5rem, 3vw, 2.5rem); right: var(--gutter); width: 66%; border-radius: var(--radius); overflow: hidden; }
  .hero-stage + .today { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   „Heute für Sie da“: Standorte nebeneinander, klickbar, „schließt bald“
   -------------------------------------------------------------------------- */
.today-inner { display: block; padding-block: 1.1rem 1.2rem; }
.today-title { margin: 0 0 .6rem; }
.today-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.5rem; }
.today-list li { display: block; }
.today-link {
  display: flex; align-items: flex-start; gap: .6rem; height: 100%;
  padding: .55rem .75rem; margin-inline: -.75rem; border-radius: var(--radius);
  color: inherit; text-decoration: none;
}
.today-link:hover { background: var(--white); }
.today-link:hover strong { color: var(--blue); }
.today-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
.today-link .status-dot { margin-top: .45rem; transform: none; }
.today-text strong { display: block; line-height: 1.35; }
.today-text .status-text { display: block; line-height: 1.4; }
[data-soon="true"] .status-dot { background: #e8a317; box-shadow: 0 0 0 4px rgba(232,163,23,.22); }
[data-soon="true"] .status-text { color: #8a5300; font-weight: 550; }
.location:target { box-shadow: 0 0 0 3px var(--sky); }
@media (max-width: 900px) {
  .today-list { grid-template-columns: 1fr; gap: .1rem; }
  .today-link { padding-block: .4rem; }
}
/* Status in zwei Zeilen: Zustand, darunter die Uhrzeit */
.status-main, .status-detail { display: block; }
.status-detail { color: var(--muted); font-weight: 400; }
[data-open="true"] .status-text .status-detail, [data-soon="true"] .status-text .status-detail { color: var(--muted); font-weight: 400; }
.status-main { font-weight: 550; }

/* --------------------------------------------------------------------------
   Rezept-Kacheln mit Unterzeile, Fachbereiche als Schaltflächen
   -------------------------------------------------------------------------- */
.aid { border-width: 1px; align-items: flex-start; padding: 1.1rem 1.1rem 1.15rem; }
.aid-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.aid-name { font-weight: 600; hyphens: manual; }
.aid-sub { font-size: .95rem; font-weight: 400; color: var(--muted); line-height: 1.35; hyphens: manual; }
.aid:hover .aid-sub { color: var(--ink); }
.aid-icon { margin-top: .1rem; }

/* Fachbereichsseiten: „Häufig verordnet“ als Sprungziele */
.focus-list { display: grid; gap: .8rem; }
.focus-item { padding: .9rem 1.1rem; border-left: 3px solid var(--sky); background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; scroll-margin-top: 8rem; }
.focus-item h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .3rem; color: var(--blue-deep); }
.focus-item p { margin: 0; }
.focus-item:target { border-left-color: #e8a317; background: #fdf3dc; }
@media (max-width: 600px) {
  .aid { align-items: center; }
  .aid-text { align-items: center; }
  .aid-sub { font-size: .875rem; }
}
.aid-more a[href^="tel:"] { white-space: nowrap; }
.aid-icon-fill { fill: currentColor; stroke: none; }
.aid-icon-fill [fill="none"] { fill: none; }

/* --------------------------------------------------------------------------
   Menü „Leistungen“ mit Fachbereichen
   -------------------------------------------------------------------------- */
.main-nav ul { align-items: center; }
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: .35rem; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 1.6rem; height: 2.2rem; margin-left: -.2rem;
  border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius);
}
.sub-toggle::before {
  content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s;
}
.sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.sub-toggle:hover { color: var(--blue); background: var(--mist); }
.sub-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.sub-menu {
  display: none; position: absolute; top: calc(100% + .4rem); left: -.5rem; z-index: 60;
  width: 25rem; padding: .6rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(20, 36, 58, .16);
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.has-sub.is-open .sub-menu { display: block; }
@media (hover: hover) and (min-width: 1151px) {
  .has-sub:hover .sub-menu { display: block; }
}
.sub-menu ul { display: grid !important; gap: .1rem; }
.main-nav .sub-menu a { display: block; padding: .55rem .7rem; white-space: normal; border-radius: var(--radius); }
.sub-title { display: block; font-weight: 600; }
.main-nav .sub-menu a:hover .sub-title, .main-nav .sub-menu a[aria-current="page"] .sub-title { color: var(--blue); }
.main-nav .sub-menu a[aria-current="page"] { background: var(--mist); }
.main-nav .sub-all { margin-top: .35rem; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); color: var(--blue); font-size: .95rem; }

@media (max-width: 1150px) {
  .main-nav ul { align-items: stretch; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1 1 auto; }
  .sub-toggle { width: 3rem; height: auto; align-self: stretch; margin: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub-menu { position: static; width: 100%; flex: 1 1 100%; box-shadow: none; border: 0; border-radius: 0; padding: .2rem 0 .4rem 1rem; }
  .sub-menu::before { display: none; }
  .main-nav .sub-menu a { border-bottom: 0; padding: .55rem .5rem; }
}

/* Fußbereich mit vier Spalten */
.footer-grid { grid-template-columns: 2.3fr 1.2fr 1.3fr .8fr; gap: 2rem 2.5rem; }
.site-footer a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Startseite: Link zu allen Fachbereichen */
.aid-all { margin: 1.5rem 0 0; }
.aid-all a { font-weight: 600; text-decoration: none; }
.aid-all a:hover { text-decoration: underline; }
.aid-all + .aid-more { margin-top: .5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-links a { overflow-wrap: anywhere; hyphens: auto; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
/* Untermenü ohne Kurzbeschreibungen: schmaler */
.sub-menu { width: 17rem; }
.sub-title { font-weight: 550; }
.main-nav .sub-menu a { padding: .5rem .7rem; }

/* --------------------------------------------------------------------------
   Leistungsübersicht: Bildkarten
   -------------------------------------------------------------------------- */
.svc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.svc-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(20, 36, 58, .12); color: var(--ink); }
.svc-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.svc-card-media { display: block; aspect-ratio: 3 / 2; background: var(--mist); overflow: hidden; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.svc-card:hover .svc-card-media img { transform: scale(1.03); }
.svc-card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem 1.3rem; flex: 1; }
.svc-card-title { font-size: 1.35rem; font-weight: 650; color: var(--blue-deep); margin: 0; }
.svc-card-text { color: var(--muted); line-height: 1.5; }
.svc-card-more { margin-top: auto; padding-top: .4rem; font-weight: 600; color: var(--blue); }
.svc-card:hover .svc-card-more { text-decoration: underline; }
.svc-next { margin-top: 2rem; }
@media (prefers-reduced-motion: reduce) { .svc-card-media img { transition: none; } }
@media (max-width: 1000px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-cards { grid-template-columns: 1fr; } .svc-card-media { aspect-ratio: 16 / 9; } }

/* Über uns: historische Fotos (1989 groß, 1992 versetzt darüber) */
.about-history .history-stack { position: relative; padding-bottom: 14%; }
.about-history img { display: block; height: auto; aspect-ratio: auto; object-fit: initial; }
.about-history .history-main { width: 88%; border-radius: var(--radius); }
.about-history .history-small {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border: 6px solid #fff; border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 10px 28px rgba(0, 40, 90, .18);
}
.about-history figcaption { margin-top: .9rem; }

.timeline p { overflow-wrap: break-word; }

/* Zeitleiste über mehrere Zeilen: Linie je Eintrag statt über die ganze Liste */
@media (min-width: 901px) {
  .timeline { border-top: 0; column-gap: 0; row-gap: 2.75rem; }
  .timeline li { border-top: 2px solid var(--line); padding-right: 1.5rem; }
}

/* Standorte: Zeilen der drei Karten auf gleiche Höhe (Subgrid) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .locations { grid-template-rows: repeat(5, auto); row-gap: 0; }
    .location { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .location .route-link { margin-top: 1rem; align-self: end; }
  }
}
.location-head { margin-bottom: 1rem; }
.location-head .location-sub { margin-bottom: 0; }

/* Rechtstexte (Datenschutz): Inhaltsverzeichnis und Abstände */
.ds-toc { background: var(--mist); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0 1rem; }
.ds-toc-title { font-weight: 650; margin: 0 0 .5rem; }
.prose .ds-toc ol { margin: 0; padding-left: 1.6rem; columns: 2 18rem; column-gap: 2.5rem; font-size: var(--fs-small); }
.prose .ds-toc li { margin-bottom: .35rem; break-inside: avoid; }
.prose h2[id] { scroll-margin-top: 7.5rem; }
.prose h3 + p { margin-top: 0; }
.prose h3 { font-size: 1.1em; margin-top: 1.75rem; }

/* Datenschutz: Text links in Lesebreite, Inhaltsverzeichnis rechts mitlaufend */
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.legal-text { grid-column: 1; grid-row: 1; }
.legal-text > * { max-width: none; }
.legal-aside { grid-column: 2; grid-row: 1; position: sticky; top: 7rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
.legal-aside .ds-toc { margin: 0; }
.legal-aside .ds-toc ol { margin: 0; padding-left: 1.5rem; font-size: var(--fs-small); columns: auto; }
.legal-aside .ds-toc li { margin-bottom: .4rem; }
@media (max-width: 1100px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { grid-column: 1; grid-row: 1; position: static; max-height: none; }
  .legal-text { grid-row: 2; }
  .legal-aside .ds-toc ol { columns: 2 16rem; column-gap: 2.5rem; }
}
.ds-toc a { text-decoration: none; }
.ds-toc a:hover { text-decoration: underline; }

/* Schaltfläche „Nach oben“ (wird von js/main.js auf allen Seiten eingefügt) */
.to-top {
  position: fixed; right: 1.25rem; bottom: calc(1.25rem + var(--lift, 0px)); z-index: 55;
  width: 3rem; height: 3rem; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 0 0 2px #fff, 0 6px 18px rgba(20, 36, 58, .25);
  opacity: 0; visibility: hidden; transform: translateY(.5rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-deep); }
.to-top:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.to-top svg { width: 1.5rem; height: 1.5rem; }
@media (max-width: 600px) {
  .to-top { right: 1rem; width: 2.75rem; height: 2.75rem; bottom: calc(3.6rem + 1rem + env(safe-area-inset-bottom) + var(--lift, 0px)); }
  .page-vohilfe .to-top { bottom: calc(1rem + var(--lift, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
@media print { .to-top { display: none; } }

/* Startseite: Suchbegriff in der Hauptüberschrift, optisch als Dachzeile */
.hero-kicker { display: block; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 600; line-height: 1.3; color: var(--blue-deep); margin-bottom: .9rem; letter-spacing: .01em; }

/* ---------- Fußbereich (Neufassung 26.10.2026) ---------- */
.site-footer { padding-block: 3.5rem 0; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 .9rem; }
.footer-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.3fr); gap: 2.5rem; }
.footer-company { font-size: 1rem; line-height: 1.4; }
.footer-contact a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.footer-title { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin: .2rem 0 1rem; }
.footer-links { gap: .6rem; }
.footer-places { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .7rem; }
.footer-places li { display: grid; gap: .05rem; }
.footer-places a { font-weight: 600; }
.footer-more a { font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2rem; padding-block: 1.25rem; font-size: .85rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div.footer-contact { grid-column: auto; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Farbkonzept: Blau + Orange-Akzent + Sand (26.10.2026) ---------- */
/* Startseite */
.step::before { background: var(--amber); color: var(--ink); }
.step:not(:last-child)::after { background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 14px); }
.costs { border-left-color: var(--blue); }
.costs-list li::before { background: var(--sky); }
.timeline li::before { background: var(--blue); }
.aid:hover { border-color: var(--blue); background: var(--mist); color: var(--ink); }
.aid-icon { background: #e3f1ff; border-radius: 50%; width: 3.6rem; height: 3.6rem; padding: .5rem; box-sizing: border-box; }
@media (max-width: 600px) { .aid-icon { width: 3.1rem; height: 3.1rem; padding: .4rem; } }
/* Unterseiten */
.focus-item { border-left-color: var(--sky); }
.contact-card { border-top-color: var(--blue); }
/* Fußbereich */
.footer-title { color: var(--sky); }

/* ---------- Seitenköpfe (26.10.2026) ---------- */
/* Brotkrumen */
.crumbs ol { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .95rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .5rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* Seiten ohne Titelbild: blaues Band mit Verlauf, feine Bögen (Anklang an die Logo-Schwingen) */
.page-head {
  position: relative; overflow: hidden; border-bottom: 0; color: var(--white);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(120deg, var(--top1) 0%, var(--top2) 60%, var(--top3) 100%);
}
.page-head::before {
  content: ""; position: absolute; right: -6rem; bottom: -16rem; width: 34rem; height: 34rem; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .10);
  box-shadow: 0 0 0 3.5rem rgba(255, 255, 255, .035), 0 0 0 7rem rgba(255, 255, 255, .02);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-title { color: var(--white); font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); }
.page-title::after { content: ""; display: block; width: 4rem; height: 5px; background: var(--amber); margin-top: 1rem; border-radius: 3px; }
.page-head .section-lead { color: #dbe8f6; }
.page-head .section-lead a { color: var(--white); }
.page-head .crumbs ol, .page-head .crumbs a { color: #b9cde4; }
.page-head .crumbs a:hover { color: var(--white); }
.page-head .crumbs [aria-current] { color: var(--white); }
.page-head .crumbs li + li::before { color: #d6e9ff; }
.page-head a:focus-visible { outline-color: var(--amber); }

/* Fachbereiche: Titel auf dem Foto */
.page-head.has-img { background: var(--white); padding: clamp(1rem, 2vw, 1.5rem) 0 0; color: var(--ink); }
.page-head.has-img::before { display: none; }
.page-head.has-img .crumbs ol, .page-head.has-img .crumbs a { color: var(--muted); }
.page-head.has-img .crumbs a:hover { color: var(--blue); }
.page-head.has-img .crumbs [aria-current] { color: var(--ink); }
.page-head.has-img .crumbs li + li::before { color: var(--muted); }
.page-head.has-img + .section { padding-top: clamp(2rem, 4vw, 3rem); }
.ph-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.ph-media img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; background: var(--mist); }
.ph-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 38, 71, .74) 0%, rgba(14, 38, 71, .38) 45%, rgba(14, 38, 71, 0) 75%);
}
.ph-text { position: absolute; left: clamp(1.25rem, 4vw, 3rem); bottom: clamp(1.25rem, 4vw, 3rem); z-index: 1; max-width: 36rem; }
.ph-text .page-title {
  display: inline-block; background: var(--top1); color: var(--white); padding: .06em .3em .12em; margin-bottom: .7rem;
  font-size: clamp(1.9rem, 1rem + 3vw, 3.4rem); hyphens: none; overflow-wrap: normal;
}
.ph-text .page-title::after { margin-top: .7rem; position: absolute; left: 0; bottom: -.95rem; }
.ph-text .page-title { position: relative; }
.ph-text .section-lead { color: var(--white); font-weight: 550; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); margin: .9rem 0 0; }
@media (max-width: 700px) {
  .ph-media { overflow: visible; }
  .ph-media::after { display: none; }
  .ph-media img { border-radius: var(--radius); aspect-ratio: 16 / 9; }
  .ph-text { position: static; padding-top: 1rem; max-width: none; }
  .ph-text .section-lead { color: var(--muted); text-shadow: none; font-weight: 400; }
}
/* Bildausschnitt vergrößern und nach rechts schieben, damit der Titel unten links keine Gesichter verdeckt (Sanitätsfachhandel) */
@media (min-width: 701px) {
  .ph-zoom img { transform: scale(1.32); transform-origin: 0% 62%; }
}

/* Etwas leichtere Auszeichnungen */
strong, b { font-weight: 600; }

/* Stellenangebote (Karriere) */
.jobs { display: grid; gap: 1.25rem; margin: 1.75rem 0 1.25rem; }
.job { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.job-title { font-size: 1.5rem; font-weight: 670; color: var(--blue); margin: 0 0 .75rem; }
.job-meta { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.job-meta li { background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; font-size: var(--fs-small); color: var(--ink); }
.job-teaser { margin: 0 0 .5rem; }
.job-details { border-top: 1px solid var(--line); margin-top: 1rem; }
.job-details summary { list-style: none; cursor: pointer; position: relative; padding: .9rem 2.5rem .9rem 0; font-weight: 600; color: var(--blue); }
.job-details summary::-webkit-details-marker { display: none; }
.job-details .when-open, .job-details[open] .when-closed { display: none; }
.job-details[open] .when-open { display: inline; }
.job-details summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.job-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.job-details[open] summary { color: var(--ink); }
.job-details h4 { font-size: 1.15rem; font-weight: 650; margin: 1rem 0 .6rem; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.dot-list { margin: 0; padding-left: 1.2rem; }
.dot-list li { margin-bottom: .45rem; }
.dot-list li::marker { color: var(--blue); }
.job-apply { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 1.25rem 0 0; }
.job-apply span { color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 720px) {
  .job { padding: 1.25rem 1.1rem; }
  .job-cols { grid-template-columns: 1fr; }
}
.wrap.narrow.career > * { max-width: 52rem; }
.career-initiative { margin-top: clamp(3.5rem, 7vw, 5rem); }
/* Hinweis offene Stellen (Menü-Abzeichen + Startseite) */
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.35em; height: 1.35em;
  margin-left: .35em; padding: 0 .3em; border-radius: 999px; background: var(--amber); color: var(--ink);
  font-size: .78em; font-weight: 700; line-height: 1; vertical-align: .15em;
}
.hiring {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  background: var(--mist); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.hiring-title { font-size: 1.35rem; font-weight: 670; margin: 0 0 .4rem; }
.hiring-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.hiring-list a { font-weight: 550; }
