/* WVSM – Wasserversorgungsgenossenschaft Schwyzerhöhe-Morschach
   Gestaltung nach dem Vorbild wgr-rotkreuz.ch: Wasserblau #004F91, Versalien-Titel,
   Kennzahlen-Slider, hellblaue Tabellenköpfe, blauer Fussbalken. Keine Abhängigkeiten. */

:root {
  --blau: #004f91;
  --blau-dunkel: #003a6d;
  --blau-hell: #7fa7c8;
  --blau-tabelle: #3d76a6;
  --blau-fläche: #eef1f8;
  --rot: #e11400;
  --rot-dunkel: #b81000;
  --ink: #000000;
  --ink-soft: #3d4650;
  --ink-faint: #6b7683;
  --paper: #ffffff;
  --paper-soft: #f7f9fc;
  --line: #dfe5ee;
  --line-strong: #c3cfe0;
  --ok: #1f7a4d;
  --radius: 2px;
  --wrap: 1265px;
  --content: 1024px;
  --text-col: 700px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blau: #6fb2e8;
    --blau-dunkel: #9ecdf5;
    --blau-hell: #3d6d99;
    --blau-tabelle: #1d3a55;
    --blau-fläche: #12202f;
    --rot: #ff5c47;
    --rot-dunkel: #ff8272;
    --ink: #edf2f7;
    --ink-soft: #b4c1d0;
    --ink-faint: #8695a6;
    --paper: #0d151d;
    --paper-soft: #121d27;
    --line: #22303e;
    --line-strong: #33455a;
    --ok: #63c191;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Frutiger, "Frutiger Linotype", Univers, Calibri, ui-sans-serif, system-ui, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .7em; line-height: 1.2; }
h1, h2 {
  overflow-wrap: break-word;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--blau);
}
h3 { font-size: 1.125rem; font-weight: 700; color: var(--blau); }
h4 { font-size: 1rem; font-weight: 700; }
p, ul, ol, dl, table { margin: 0 0 1.1em; }

/* Zeilenlänge begrenzen – gilt für Fliesstext, nicht für Karten, Tabellen und Raster */
main p, main li, main dd, main address { max-width: 78ch; }
.card p, .card li, .fact p, .tile p, .faq__item p, .slide__box span,
td p, td li, th p, .calc-out li, .foot-info p, .foot-info li, .toc li,
.section--center p, .hero__stat span { max-width: none; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.content { width: min(100%, var(--content)); margin-inline: auto; }
.textcol { max-width: var(--text-col); }
.center { text-align: center; }
.center .textcol, .center .lede { margin-inline: auto; }
.small { font-size: .8125rem; color: var(--ink-soft); }
.lede { font-size: 1.0625rem; color: var(--ink-soft); max-width: var(--text-col); }
.muted { color: var(--ink-soft); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blau); color: #fff; padding: .6rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Kopfbereich ---------- */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.head-top { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; padding-top: .7rem; }
.notfall {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--rot); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .9375rem; letter-spacing: .01em;
  padding: .35rem 1rem; border-radius: 999px;
}
.notfall:hover { background: var(--rot-dunkel); color: #fff; }
.notfall svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.notfall span { font-weight: 400; }

.head-main { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .5rem 0 1rem; position: relative; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--blau); }
.brand__logo { height: 52px; width: auto; flex: none; border-radius: 2px; }
.brand__text-group { display: block; }
.brand__mark {
  display: block; font-size: clamp(1.25rem, .9rem + 1.4vw, 1.75rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; line-height: 1.1;
}
.brand__text { display: block; font-size: .8125rem; color: var(--ink-soft); letter-spacing: .02em; margin-top: .15rem; }
.brand__kurz { display: none; }
@media (max-width: 620px) {
  .brand__lang { display: none; }
  .brand__kurz { display: inline; letter-spacing: .06em; }
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--blau); font-weight: 700; font-size: 1rem; text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--blau-hell); }
.nav a[aria-current="page"] { border-bottom-color: var(--blau); }
.nav-toggle {
  display: none; background: var(--blau); color: #fff; border: 0;
  padding: .55rem .9rem; font: inherit; font-weight: 700; cursor: pointer; border-radius: var(--radius);
}
@media (max-width: 1180px) {
  .nav { gap: 1rem; }
  .nav a { font-size: .9375rem; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .head-main { gap: .75rem; }
  .brand { min-width: 0; }
  .brand__mark { font-size: clamp(1.05rem, .7rem + 1.2vw, 1.25rem); letter-spacing: .01em; }
  .brand__text { font-size: .7rem; }
  .head-main { flex-wrap: nowrap; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .nav-toggle { flex: none; }
  .brand__logo { height: 40px; }
  .brand { gap: .55rem; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 28px rgba(0,0,0,.1);
    padding: .25rem 1rem;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { color: var(--blau-dunkel); }
}

/* ---------- Kennzahlen-Slider ---------- */
.slider { position: relative; background: var(--blau-dunkel); overflow: hidden; }
.slider__track { position: relative; height: 450px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: grid; grid-template-columns: 800px minmax(0, 1fr); pointer-events: none;
}
.slide[data-active] { opacity: 1; pointer-events: auto; }
/* Das Foto wird nie über seine native Breite hinaus gestreckt – dadurch bleibt es scharf. */
.slide img { width: 800px; height: 450px; object-fit: cover; filter: saturate(1.04); }
.slide__box {
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem); color: #fff; text-align: left;
  background: linear-gradient(120deg, var(--blau-dunkel) 0%, var(--blau) 100%);
}
@media (max-width: 1080px) {
  .slider__track { height: auto; }
  .slide { position: relative; grid-template-columns: 1fr; opacity: 1; display: none; }
  .slide[data-active] { display: grid; }
  .slide img { width: 100%; height: auto; max-height: 340px; }
  .slide__box { padding: 1.5rem; text-align: center; }
}


.slide__box { text-align: left; }
.slide__box b { display: block; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.slide__box span { display: block; margin-top: .6rem; font-size: 1.0625rem; max-width: 34ch; color: rgba(255,255,255,.92); }
.slider__nav {
  position: absolute; bottom: 1.4rem; left: calc(800px + clamp(1.5rem, 4vw, 3.5rem));
  display: flex; gap: .5rem; z-index: 2;
}
@media (max-width: 1080px) { .slider__nav { left: 50%; transform: translateX(-50%); bottom: .6rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.55)); } }
.slider__nav button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; background: transparent;
}
.slider__nav button[aria-current="true"] { background: #fff; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- Seitenkopf Unterseiten ---------- */
.pagehead {
  background: var(--blau-fläche); border-bottom: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.pagehead .eyebrow { margin-bottom: .5rem; }
.pagehead p:not(.eyebrow) { max-width: var(--text-col); color: var(--ink-soft); font-size: 1.0625rem; }

.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); font-weight: 700; margin: 0 0 .6rem; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(1.75rem, 3.4vw, 2.6rem) 0; }
.section--tint { background: var(--blau-fläche); }
.section__head { margin-bottom: 1.3rem; }
.section__head h2 { margin-bottom: .35rem; }
.section--split > .wrap {
  display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 1.5rem 3.5rem; align-items: start;
}
.section--split .section__head { margin-bottom: 0; position: sticky; top: 1.5rem; }
@media (max-width: 900px) {
  .section--split > .wrap { grid-template-columns: 1fr; }
  .section--split .section__head { position: static; margin-bottom: 1.2rem; }
}
.section--center { text-align: center; }
.section--center p, .section--center .lede, .section--center .textcol { margin-inline: auto; }

/* ---------- Kennwerte ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--paper); padding: 1.15rem 1.25rem 1.3rem; text-align: left; }
.fact__value { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 700; line-height: 1.1; color: var(--blau); }
.fact__value span { font-size: .5em; font-weight: 700; color: var(--blau-hell); margin-left: .2em; }
.fact__label { font-size: .8125rem; color: var(--ink-soft); margin: .35rem 0 0; }

/* ---------- Karten & Raster ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid > *, .tiles > *, .facts > *, .faq > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(4, 1fr); }
.grid--tri { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .grid--tri { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid--3 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); padding: 1.3rem 1.4rem 1.4rem; background: var(--paper); display: flex; flex-direction: column; text-align: left; }
.card h3 { margin-bottom: .4rem; font-size: 1.0625rem; }
.card p { color: var(--ink-soft); font-size: .9375rem; margin-bottom: 1rem; }
.card p:last-of-type { margin-bottom: 0; }
.card__link { margin-top: auto; padding-top: 1rem; font-size: .9375rem; font-weight: 700; text-decoration: none; color: var(--blau); }
.card__link::after { content: " \203A"; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
a.card:hover { border-color: var(--blau); box-shadow: 0 6px 18px rgba(0,79,145,.08); }

.panel { background: var(--blau-fläche); padding: 1.5rem; text-align: left; }
.panel--accent { background: var(--blau-fläche); border-left: 4px solid var(--blau); }
.section--tint .panel { background: var(--paper); }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }

/* ---------- Bildkacheln mit Titel im Bild ---------- */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; overflow: hidden; text-decoration: none; background: var(--blau-dunkel); }
.tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,42,78,.10) 0%, rgba(0,42,78,.35) 45%, rgba(0,42,78,.85) 100%); }
.tile__caption {
  position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1rem 1.25rem 1.15rem; text-align: center; color: #fff;
}
.tile__caption b { display: block; font-size: 1.125rem; font-weight: 700; }
.tile__caption span { display: block; font-size: .875rem; color: rgba(255,255,255,.85); margin-top: .2rem; }
.tile:hover img { transform: scale(1.04); }
.tile:focus-visible { outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .tile img, .gallery img { transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blau); color: #fff; text-decoration: none;
  padding: .7rem 1.3rem; font-weight: 700; font-size: .9375rem; border: 2px solid var(--blau); border-radius: var(--radius);
}
.btn:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }
.btn--ghost { background: transparent; color: var(--blau); }
.btn--ghost:hover { background: var(--blau-fläche); color: var(--blau-dunkel); border-color: var(--blau-dunkel); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.section--center .btn-row,
.btn-row--zentriert { justify-content: center; }
@media (prefers-color-scheme: dark) { .btn { color: #08141d; } .btn:hover { color: #08141d; } .btn--ghost { color: var(--blau); } }

/* ---------- Tabellen ---------- */
.table-scroll { overflow-x: auto; max-width: 100%; margin-bottom: 1.5rem; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; text-align: left; }
caption { text-align: left; font-size: .8125rem; color: var(--ink-soft); padding-bottom: .5rem; }
thead th {
  background: var(--blau-tabelle); color: #fff; font-weight: 700; text-transform: none; letter-spacing: 0;
  padding: .5rem .75rem; white-space: nowrap; border: 0;
}
th, td { padding: .5rem .75rem; vertical-align: top; }
tbody tr { border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: var(--paper-soft); }
tbody tr:last-child { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .05rem .5rem; background: rgba(31,122,77,.12); color: var(--ok); }
@media (prefers-color-scheme: dark) { thead th { color: #eaf2f9; } }

/* ---------- Definitionslisten ---------- */
.dl { display: grid; grid-template-columns: minmax(11rem, 16rem) 1fr; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.dl > dt { padding: .55rem 1rem .55rem 0; border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--ink-soft); font-weight: 700; }
.dl > dd { padding: .55rem 0; margin: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) {
  .dl { grid-template-columns: 1fr; }
  .dl > dt { padding-bottom: 0; border-bottom: 0; }
  .dl > dd { padding-top: .1rem; }
}

/* ---------- Rechtstexte ---------- */
.legal-layout > * { min-width: 0; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 78ch); gap: 3.5rem; align-items: start; justify-content: start; }
.legal-layout .toc { position: sticky; top: 1.5rem; margin-bottom: 0; }
.legal-layout .toc ol, .legal-layout .toc ul { columns: 1; padding-left: 0; list-style: none; font-size: .875rem; }
.legal-layout .toc li { margin-bottom: .55rem; line-height: 1.35; }
.legal-layout .toc a { text-decoration: none; }
.legal-layout .toc a:hover { text-decoration: underline; }
.legal-layout .legal { max-width: none; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-layout .toc { position: static; }
}

.legal { max-width: 80ch; text-align: left; }
.legal h2 { margin-top: 2.5rem; font-size: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal h3 { margin-top: 1.6rem; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.legal p, .legal li { font-size: .9375rem; }
.legal ol, .legal ul { padding-left: 1.4rem; }
.legal li { margin-bottom: .4rem; }

/* ---------- Inhaltsverzeichnis ---------- */
.toc { background: var(--blau-fläche); padding: 1.15rem 1.5rem; margin-bottom: 2.25rem; }
.toc p { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); font-weight: 700; margin-bottom: .5rem; }
.toc ol, .toc ul { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; font-size: .9375rem; }
.toc li { margin-bottom: .25rem; break-inside: avoid; overflow-wrap: anywhere; }
@media (max-width: 640px) { .toc ol, .toc ul { columns: 1; } }

/* ---------- Zeitstrahl ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--blau-hell); text-align: left; }
.timeline li { position: relative; padding: 0 0 1.5rem 1.5rem; max-width: 70ch; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .5rem; width: 11px; height: 11px; border-radius: 50%; background: var(--blau); }
.timeline .year { display: block; font-size: .8125rem; font-weight: 700; color: var(--blau); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.gallery button { padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery + .small { margin-top: 1.25rem; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(0, 26, 48, .85); }
dialog.lightbox img { max-width: min(94vw, 700px); max-height: 82vh; width: auto; }
dialog.lightbox .lb-close {
  margin: .75rem auto 0; display: block; background: var(--blau); color: #fff;
  border: 0; padding: .5rem 1.2rem; font: inherit; font-weight: 700; cursor: pointer;
}

/* ---------- Zitat ---------- */
blockquote { margin: 0 0 1rem; padding: 0 0 0 1.1rem; border-left: 3px solid var(--blau); }
blockquote p { font-size: 1.0625rem; font-style: italic; color: var(--ink); margin-bottom: .4rem; }
blockquote footer { color: var(--ink-soft); font-style: normal; }

/* ---------- Häufige Fragen ---------- */
.faq { display: grid; gap: 1.6rem 3rem; grid-template-columns: repeat(2, 1fr); text-align: left; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
.faq__item h3 { margin-bottom: .3rem; font-size: 1.0625rem; text-transform: none; letter-spacing: 0; }
.faq__item p { color: var(--ink-soft); font-size: .9375rem; margin: 0; max-width: 70ch; }

/* ---------- Rechner ---------- */
.calc { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; text-align: left; }
.field label { display: block; font-size: .8125rem; color: var(--ink-soft); font-weight: 700; margin-bottom: .3rem; }
.field input, .field select {
  width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
}
.calc-out { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 2px solid var(--blau-hell); text-align: left; }
.calc-out .total { font-size: 1.75rem; font-weight: 700; color: var(--blau); }
.calc-out ul { list-style: none; padding: 0; font-size: .875rem; color: var(--ink-soft); margin-bottom: .8rem; }
.calc-out li { display: flex; justify-content: space-between; gap: 1rem; max-width: 26rem; padding: .15rem 0; }

/* ---------- Fussbereich ---------- */
main { flex: 1 0 auto; }
.site-foot { margin-top: auto; background: var(--blau); color: #fff; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-info { display: grid; gap: 1rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 1.6rem 0 1.2rem; font-size: .875rem; }
.foot-info h2 { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); margin-bottom: .4rem; }
.foot-info address { font-style: normal; }
.foot-info ul { list-style: none; margin: 0; padding: 0; }
.foot-info li { margin-bottom: .2rem; }
.foot-bar {
  border-top: 1px solid rgba(255,255,255,.25);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding: .9rem 0; font-size: .8125rem; color: rgba(255,255,255,.85);
}
.foot-bar p { margin: 0; }
.foot-bar nav { display: flex; gap: 1.25rem; }
@media (prefers-color-scheme: dark) {
  .site-foot { background: var(--blau-fläche); color: var(--ink); border-top: 1px solid var(--line); }
  .site-foot a { color: var(--blau); }
  .foot-info h2 { color: var(--ink-faint); }
  .foot-bar { border-top-color: var(--line); color: var(--ink-soft); }
}

/* ---------- Mobile: grössere Tippflächen ---------- */
@media (max-width: 700px) {
  .foot-info li a, .dl a, td a, main a[href^="tel:"], main a[href^="mailto:"] { display: inline-block; padding-block: .4rem; }
  .btn { padding: .8rem 1.2rem; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .head-top { padding-top: .5rem; }
  .notfall { width: 100%; justify-content: center; padding: .55rem 1rem; }
  .slider__track { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- Tippflächen auf Touchgeräten ---------- */
@media (pointer: coarse) {
  /* Empfehlung der Barrierefreiheitsrichtlinien: mindestens 44 px in beide Richtungen */
  .notfall { min-height: 44px; }
  .nav-toggle { min-height: 44px; padding-inline: 1.1rem; }
  .nav a { min-height: 44px; display: flex; align-items: center; }
  .site-foot a,
  .foot-bar nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-info li { margin-bottom: 0; }
  .foot-info address a { min-height: 44px; }
  .card__link, .btn { min-height: 44px; display: inline-flex; align-items: center; }
  .field input, .field select { min-height: 46px; }
  main p a[href^="tel:"], main p a[href^="mailto:"],
  main li a[href^="tel:"], main li a[href^="mailto:"],
  main dd a, main td a { display: inline-block; min-height: 32px; padding-block: .45rem; }
  /* Punkte des Kennzahlen-Sliders: sichtbar klein, Tippfläche gross */
  .slider__nav { gap: 0; }
  .slider__nav button {
    width: 44px; height: 44px; border: 0; background: transparent; position: relative;
  }
  .slider__nav button::before {
    content: ""; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
    width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent;
  }
  .slider__nav button[aria-current="true"] { background: transparent; }
  .slider__nav button[aria-current="true"]::before { background: #fff; }
}

@media print {
  .site-head, .site-foot, .toc, .btn-row, .nav-toggle, .slider { display: none; }
  body { font-size: 10.5pt; color: #000; }
  a { text-decoration: none; color: inherit; }
}
