/*
 * rogatec.de · Konzept „Alles nach Plan“
 * Eine Datei, gegliedert in: Grundlagen · Bausteine · Kopf · Abschnitte · Fuß · Unterseite
 */

/* ==========================================================================
   Grundlagen
   ========================================================================== */

@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Ersatzschrift mit den Maßen von Jost: Solange Jost lädt, bricht der Text gleich um (keine Layoutverschiebung). */
@font-face {
  font-family: 'Jost Ersatz';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans'), local('Roboto');
  size-adjust: 95.7%;
  ascent-override: 112%;
  descent-override: 39%;
  line-gap-override: 0%;
}

:root {
  /* Markenfarben */
  --blau: #0055a2;
  --tiefblau: #004378;
  --hellblau: #57a7dd;
  --graublau: #98b5d9;
  --nacht: #06203d;
  --weiss: #ffffff;

  /* Stahl: kühle Grautöne, Eis: Blau im Stahl */
  --stahl50: #f5f7fa;
  --stahl100: #e9eef4;
  --stahl200: #d8e0ea;
  --stahl300: #c3cedb;
  --stahl400: #9fadbd;
  --stahl600: #4d5e73;
  --eis100: #e4eff9;
  --eis200: #cfe2f3;

  --tinte: var(--nacht);
  --tinte-leise: var(--stahl600);
  --linie: var(--stahl200);
  --fokus: var(--blau);

  --schrift: 'Jost', 'Jost Ersatz', sans-serif;

  /* Schriftgrade */
  --t-h1: clamp(2.25rem, 1.02rem + 4.1vw, 4.5rem);
  --t-h2: clamp(2rem, 1.33rem + 2.5vw, 3.375rem);
  --t-h3: clamp(1.375rem, 1.24rem + 0.55vw, 1.75rem);
  --t-gross: clamp(1.1875rem, 1.1rem + 0.36vw, 1.375rem);
  --t-text: clamp(1.0625rem, 1.03rem + 0.14vw, 1.125rem);
  --t-klein: 0.9375rem;

  /* Maße */
  --rand: clamp(20px, 4.4vw, 64px);
  --breite: 1320px;
  --kopfhoehe: 84px;
  /* Flächen: runde Ecken, feine Ränder */
  --rund: 14px;
  --rund-klein: 8px;
  --rahmen: var(--stahl200);
  --abstand: clamp(72px, 8.6vw, 136px);
}

@media (max-width: 899px) {
  :root { --kopfhoehe: 64px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopfhoehe) + 12px);
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: var(--t-text);
  line-height: 1.55;
  color: var(--tinte);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; }
/* Lange deutsche Wörter in Überschriften: am Handy trennen, statt die Seite breiter zu machen */
@media (max-width: 479px) { h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; } }
h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: -0.018em; }
h3 { font-size: var(--t-h3); line-height: 1.18; font-weight: 500; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

::selection { background: var(--hellblau); color: var(--nacht); }

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

.unsichtbar {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprung {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--nacht);
  color: var(--weiss);
  border-radius: 999px;
}
.sprung:focus { top: 12px; }

.rahmen {
  width: min(100% - 2 * var(--rand), var(--breite));
  margin-inline: auto;
}

.tel,
.nowrap { white-space: nowrap; }
.tel { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Bausteine
   ========================================================================== */

/* Knöpfe: Handlungen sind rund, Flächen sind eckig. */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 56px;
  padding: 0 1.7rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s, border-color 0.16s;
}
/* Sehr schmale Bildschirme: Lange Beschriftungen dürfen umbrechen, der Knopf wird nie breiter als die Seite */
@media (max-width: 359px) {
  .knopf { max-width: 100%; padding: 12px 1.3rem; line-height: 1.2; text-align: center; white-space: normal; }
}
.knopf svg { flex: none; width: 1.15em; height: 1.15em; }
.knopf--voll { background: var(--blau); color: var(--weiss); }
.knopf--voll:hover { background: var(--tiefblau); }
.knopf--linie { border-color: var(--blau); color: var(--blau); background: transparent; }
.knopf--linie:hover { background: var(--blau); color: var(--weiss); }
.knopf--hell { background: var(--weiss); color: var(--blau); }
.knopf--hell:hover { background: var(--eis100); }
.knopf--hell-linie { border-color: rgba(255, 255, 255, 0.55); color: var(--weiss); }
.knopf--hell-linie:hover { background: var(--weiss); color: var(--blau); border-color: var(--weiss); }
.knopf--klein { min-height: 44px; padding: 0 1.2rem; font-size: 1rem; }

/* Textverweise */
.verweis {
  color: var(--blau);
  text-decoration: underline;
  text-decoration-color: var(--hellblau);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.16s;
}
.verweis:hover { text-decoration-color: currentColor; }

/* Symbole in der Linienstärke der Zeichnung */
.zeichen {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Aufzählung mit Maßstrich */
.striche li {
  position: relative;
  padding-left: 1.7em;
}
.striche li + li { margin-top: 0.55em; }
.striche li::before {
  content: '';
  position: absolute;
  left: 0.1em;
  top: 0.78em;
  width: 0.95em;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
  opacity: 0.85;
}

/* Erreichbarkeit: Punkt gefüllt = innerhalb der Zeiten */
.zeiten {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  color: var(--tinte-leise);
  font-size: var(--t-klein);
}
.zeiten__punkt {
  flex: none;
  align-self: center;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.zeiten[data-offen='ja'] .zeiten__punkt { background: var(--hellblau); border-color: var(--blau); }
.zeiten__jetzt { color: var(--tinte); }
@media (max-width: 599px) {
  .zeiten { align-items: flex-start; }
  .zeiten__punkt { align-self: flex-start; margin-top: 0.5em; }
  .zeiten__jetzt { display: block; }
  .zeiten .zeiten__jetzt:not(:empty)::before { display: none; }
}
.zeiten__jetzt:not(:empty)::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin: 0 0.7em;
  background: currentColor;
  opacity: 0.4;
  vertical-align: -0.1em;
}

/* ==========================================================================
   Kopf
   ========================================================================== */

.kopf {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.kopf__zeile {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  height: var(--kopfhoehe);
}
.kopf__logo { flex: none; display: block; }
.kopf__logo img { width: auto; height: calc(var(--kopfhoehe) - 30px); }

.kopf__nav { margin-left: auto; }
.kopf__nav ul { display: flex; gap: clamp(16px, 1.9vw, 30px); }
.kopf__nav ul a {
  display: block;
  padding: 10px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--hellblau), var(--hellblau)) left bottom 6px / 0 2px no-repeat;
  transition: background-size 0.2s, color 0.16s;
}
.kopf__nav ul a:hover,
.kopf__nav ul a[aria-current='page'] { color: var(--blau); background-size: 100% 2px; }
.kopf__nav-kontakt { display: none; }

.kopf__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  color: var(--blau);
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kopf__tel:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.kopf__schalter { display: none; }

@media (max-width: 1239px) {
  .js .kopf__nav {
    position: fixed;
    inset: var(--kopfhoehe) 0 0 0;
    margin: 0;
    padding: 20px var(--rand) 40px;
    background: var(--weiss);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .js .kopf__nav[data-offen] {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .js .kopf__nav ul { flex-direction: column; gap: 0; }
  .js .kopf__nav li { border-bottom: 1px solid var(--linie); }
  .js .kopf__nav ul a {
    padding: 15px 0;
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    font-weight: 400;
    background: none;
  }
  .js .kopf__nav-kontakt {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }
  .js .kopf__nav-kontakt .knopf { width: 100%; }
  .js .kopf__nav-kontakt p { color: var(--tinte-leise); font-size: var(--t-klein); text-align: center; }

  .js .kopf__tel { margin-left: auto; }
  .js .kopf__schalter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 4px 0 12px;
    border: 0;
    background: none;
    font-weight: 500;
    cursor: pointer;
  }
  .kopf__schalter-zeichen {
    position: relative;
    width: 24px;
    height: 14px;
  }
  .kopf__schalter-zeichen::before,
  .kopf__schalter-zeichen::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s, top 0.2s, bottom 0.2s;
  }
  .kopf__schalter-zeichen::before { top: 1px; }
  .kopf__schalter-zeichen::after { bottom: 1px; }
  .kopf__schalter[aria-expanded='true'] .kopf__schalter-zeichen::before { top: 6px; transform: rotate(45deg); }
  .kopf__schalter[aria-expanded='true'] .kopf__schalter-zeichen::after { bottom: 6px; transform: rotate(-45deg); }

  /* Ohne JavaScript bleibt das Menü als Zeile unter dem Kopf erreichbar. */
  html:not(.js) .kopf__zeile { height: auto; flex-wrap: wrap; padding-block: 10px; row-gap: 4px; }
  html:not(.js) .kopf__nav { order: 5; width: 100%; margin: 0; }
  html:not(.js) .kopf__nav ul { flex-wrap: wrap; gap: 0 20px; }
  html:not(.js) .kopf__tel { margin-left: auto; }
}

/* Zwischen 1240 und 1400 px passt das volle Menü nur, wenn die Nummer zum Zeichen wird. */
@media (min-width: 1240px) and (max-width: 1399px) {
  .kopf__tel span { display: none; }
  .kopf__tel {
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--blau);
    border-radius: 50%;
  }
}
@media (max-width: 899px) {
  .kopf__finder { display: none; }
}
@media (max-width: 479px) {
  .kopf__tel span { display: none; }
  .kopf__tel {
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--blau);
    border-radius: 50%;
  }
  .kopf__schalter-text { display: none; }
}

/* ==========================================================================
   Start
   ========================================================================== */

.start {
  position: relative;
  overflow: hidden;
  padding-block: clamp(28px, 3vw, 48px) clamp(44px, 4.6vw, 68px);
}
/* Text und Zeichnung greifen ineinander: Die Überschrift läuft in die freie Ecke über der
   Zeichnung, der Fließtext steht in der freien Ecke darunter. */
.start__raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 1.7vw, 24px);
  align-items: start;
}
.start__text {
  grid-column: 1 / span 6;
  grid-row: 1;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.start__text > * { pointer-events: auto; }
.start__titel {
  width: max-content;
  max-width: none;
  font-size: var(--t-h1);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 400;
  text-wrap: initial;
}
.start__zeile,
.start__kette { display: block; }
.start__kette { color: var(--blau); }
.start__satz {
  max-width: 28em;
  margin-top: clamp(20px, 2vw, 28px);
  font-size: var(--t-gross);
  line-height: 1.45;
}
.start__handeln {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 2.4vw, 34px);
}
.start__zeiten { margin-top: 18px; }

/* Die Überschrift hat vier Zeilen und hält den Platz von fünf: So steht der Fließtext weiter unter der
   Ecke der Zeichnung, die zwischen Überschrift und Fließtext hineinragt. */
@media (min-width: 1100px) {
  .start__titel { min-height: 5.1em; }
}
@media (max-width: 1099px) {
  .start__raster { display: block; }
  .start__titel { width: auto; }
  .start__kette,
  .start__kette .start__zeile { display: inline; }
  .start__satz { max-width: 34em; }
  .werk { margin-top: 36px; }
}
@media (max-width: 599px) {
  .start__handeln .knopf { flex: 1 1 100%; }
}

/* ---------- Die Zeichnung ---------- */

.werk {
  grid-column: 5 / -1;
  grid-row: 1;
  position: relative;
  min-width: 0;
}
.werk__flaeche {
  position: relative;
  aspect-ratio: 3 / 2;
  /* Die Zeichnung läuft über den Satzspiegel hinaus bis an den Rand. */
  margin-right: calc(var(--rand) * -0.8);
}
/* Niedrige Fenster (Laptop, Beamer): Die Zeichnung wird flacher, damit Schrittleiste und Text
   darunter auf den ersten Bildschirm passen. 263 px = Kopf, Abstand, Leiste und drei Zeilen Text. */
@media (min-width: 1100px) {
  .werk__flaeche {
    /* feste Breite: Sonst nähme das Seitenverhältnis mit der Höhe auch die Breite zurück */
    width: calc(100% + var(--rand) * 0.8);
    max-height: max(400px, calc(100vh - 263px));
    max-height: max(400px, calc(100svh - 263px));
  }
}
.werk__bild,
.werk__leinwand {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.werk__bild { object-fit: contain; }
.werk__leinwand { display: none; }
.werk--aktiv .werk__leinwand { display: block; }
.werk--aktiv .werk__bild { display: none; }
/* Mit JavaScript bleibt das Standbild kurz verborgen, damit der Aufbau nicht aufblitzt.
   Startet die Zeichnung nicht, erscheint es von selbst. */
.js .werk:not(.werk--aktiv) .werk__bild { opacity: 0; animation: werk-zeigen 0.3s 2.5s forwards; }
@keyframes werk-zeigen { to { opacity: 1; } }

.werk__frage {
  position: absolute;
  left: 0;
  top: 0;
  padding: 5px 12px 6px;
  border: 1.5px solid var(--blau);
  border-radius: 999px;
  background: var(--weiss);
  color: var(--blau);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
/* Beschriftungen im Plan: die drei Kreisläufe und der Bestand */
.werk__frage--bahn,
.werk__frage--bestand {
  padding: 2px 9px 3px;
  border-width: 1px;
  font-size: 0.8125rem;
}
.werk__frage--bestand { border-style: dashed; border-color: var(--stahl600); color: var(--stahl600); }
/* Maß im Plan und Namensschilder der Leute von rogatec */
.werk__frage--mass { padding: 0 4px 1px; border: 0; border-radius: 0; color: var(--stahl600); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.werk__frage--figur { padding: 2px 8px 3px; border: 0; background: var(--blau); color: var(--weiss); font-size: 0.75rem; }

.werk__fuss {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: start;
  margin: 4px 0 0 24%;
}
html:not(.js) .werk__fuss { display: none; }

/* Maßkette als Schrittfolge */
.kette {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.kette__glied {
  position: relative;
  min-height: 48px;
  padding: 16px 4px 6px;
  border: 0;
  border-top: 1.5px solid var(--stahl300);
  background: none;
  color: var(--tinte-leise);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}
/* Überblenden erst, wenn die Zeichnung läuft: Beim Laden steht die Leiste ohne Übergang im richtigen Schritt. */
.werk--aktiv .kette__glied { transition: color 0.2s, border-color 0.2s; }
/* Maßstriche an den Grenzen */
.kette__glied::before,
.kette__glied:last-child::after {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 15px;
  height: 1.5px;
  margin-left: -7.5px;
  background: var(--tinte);
  transform: rotate(-45deg);
}
.kette__glied:last-child::after { left: 100%; }
.kette__glied:hover { color: var(--blau); }
.kette__glied[data-erreicht] { border-top-color: var(--blau); }
.kette__glied[aria-pressed='true'] { color: var(--blau); border-top-color: var(--blau); box-shadow: inset 0 1.5px 0 var(--blau); }
.kette__nr { margin-right: 0.35em; font-variant-numeric: tabular-nums; opacity: 0.7; }

.werk__text {
  min-height: 4.4em;                 /* der längste Text hat drei Zeilen: So springt nichts, wenn die Schritte wechseln */
  color: var(--tinte-leise);
  font-size: var(--t-klein);
  line-height: 1.45;
}
.werk__text p[hidden] { display: none; }
.werk__text .verweis { white-space: nowrap; }
.werk__legende { white-space: nowrap; }
.werk__legende svg { display: inline-block; width: 11px; height: 11px; margin-right: 0.3em; vertical-align: -0.06em; }

.werk__pause {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--tinte-leise);
  font-size: var(--t-klein);
  cursor: pointer;
  white-space: nowrap;
}
.werk__pause:hover { color: var(--blau); }
.werk__pause svg { width: 12px; height: 12px; fill: currentColor; }
.werk__pause[hidden] { display: none; }

@media (max-width: 1099px) {
  .werk__flaeche { margin-right: 0; }
  .werk__fuss { margin-left: 0; }
}
@media (max-width: 619px) {
  .werk__flaeche { aspect-ratio: 1 / 1; margin-inline: calc(var(--rand) * -1); }
  .werk__text { min-height: 7.4em; }
  .werk__frage { padding: 3px 9px 4px; font-size: 0.8125rem; }
  .werk__frage--bahn, .werk__frage--bestand, .werk__frage--mass, .werk__frage--figur { padding: 1px 7px 2px; font-size: 0.6875rem; }
  .kette__glied { font-size: 0.9375rem; padding-inline: 0; }
  .werk__fuss { grid-template-columns: minmax(0, 1fr); }
  .werk__pause { justify-self: start; }
}

/* ==========================================================================
   Ansprechpartner-Finder: das Bedienfeld
   ========================================================================== */

/* Der Abschnitt ist die Front eines Geräts: eine Fläche aus Edelstahl, darin ein Glas mit der Bedienung.
   Wie am Kombidämpfer wählt man oben ein Programm (runde Tasten), darunter steht die Anzeige.
   Links auf dem Edelstahl liegt ein Schild mit den Hinweisen zum gewählten Anliegen. */
.finder {
  padding-block: var(--abstand);
  border-block: 1px solid var(--stahl200);
  background: var(--stahl100);
}
.finder__raster {
  --spalt: clamp(32px, 5vw, 88px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--spalt);
  align-items: start;
}
.finder__kopf p {
  max-width: 30em;
  margin-top: 18px;
  font-size: var(--t-gross);
  line-height: 1.45;
}
.finder__kopf a { color: var(--blau); font-weight: 500; text-underline-offset: 0.22em; }

/* Das Glas. Es behält am Bildschirm seine Größe, gleich welches Programm gewählt ist. */
.bedienfeld {
  --glas-linie: rgba(152, 181, 217, 0.26);
  --fokus: var(--weiss);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  min-height: 47rem;
  border-radius: 14px;
  background: var(--nacht);
  color: var(--weiss);
  /* Rahmen aus Edelstahl um das Glas */
  box-shadow: 0 0 0 1px var(--stahl400), 0 0 0 10px var(--stahl50), 0 0 0 11px var(--stahl300);
}

/* Statuszeile: Uhrzeit in Rostock und ob gerade jemand erreichbar ist */
.bedienfeld__status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 24px;
  min-height: 56px;
  padding: 12px clamp(18px, 2.4vw, 32px);
  border-bottom: 1px solid var(--glas-linie);
  color: var(--graublau);
  font-size: var(--t-klein);
}
.bedienfeld__uhr { color: var(--weiss); font-variant-numeric: tabular-nums; }
.bedienfeld__uhr:empty { display: none; }
/* Ohne Skript und an Feiertagen sagt die Statuszeile nichts über „jetzt“; die Bürozeiten stehen in der Fußzeile. */
.bedienfeld .zeiten { color: var(--graublau); }
.bedienfeld .zeiten:not([data-offen]) { display: none; }
.bedienfeld .zeiten__jetzt { color: var(--weiss); }
.bedienfeld .zeiten .zeiten__jetzt::before { display: none; }
.bedienfeld .zeiten[data-offen='ja'] .zeiten__punkt { background: var(--hellblau); border-color: var(--hellblau); }
.bedienfeld__rest { font-variant-numeric: tabular-nums; }
.bedienfeld__rest:not(:empty)::before { content: ', '; }

/* Programmwahl: runde Tasten mit Bildzeichen, das Wort darunter */
.anliegen { display: contents; }
.anliegen__kopf {
  grid-row: 2;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  border-bottom: 1px solid var(--glas-linie);
}
.anliegen__knopf {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: clamp(18px, 2vw, 26px) 6px clamp(16px, 1.8vw, 22px);
  border: 0;
  background: none;
  color: var(--graublau);
  font-size: 0.9375rem;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: color 0.16s;
  scroll-margin-top: calc(var(--kopfhoehe) + 8px);
}
.anliegen__scheibe {
  display: grid;
  place-items: center;
  width: clamp(56px, 5.4vw, 72px);
  aspect-ratio: 1;
  border: 1.5px solid var(--graublau);
  border-radius: 50%;
  color: var(--weiss);
  transition: background-color 0.16s, border-color 0.16s, box-shadow 0.16s, transform 0.12s;
}
.anliegen__bild { width: 52%; height: 52%; }
.anliegen__wort { max-width: 8.5em; text-wrap: balance; }
.anliegen__knopf:hover { color: var(--weiss); }
.anliegen__knopf:hover .anliegen__scheibe { border-color: var(--weiss); }
.anliegen__knopf:active .anliegen__scheibe { transform: scale(0.94); }
.anliegen__knopf[aria-expanded='true'] { color: var(--weiss); }
.anliegen__knopf[aria-expanded='true'] .anliegen__scheibe {
  border-color: var(--hellblau);
  background: var(--blau);
  box-shadow: 0 0 0 5px rgba(87, 167, 221, 0.2);
}
/* Die Marke unter der gewählten Taste zeigt auf die Anzeige darunter. */
.anliegen__knopf[aria-expanded='true']::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 16px;
  height: 16px;
  border: solid var(--glas-linie);
  border-width: 1px 0 0 1px;
  background: var(--nacht);
  transform: translate(-50%, 50%) rotate(45deg);
}
html:not(.js) .anliegen__knopf { cursor: default; pointer-events: none; }

/* Anzeige: wer zuständig ist, die Nummer groß wie eine Temperatur */
.anliegen__feld {
  --innen: clamp(18px, 2.4vw, 32px);
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 30px) var(--innen) 0;
}
.anliegen__feld[hidden] { display: none; }
/* Nur einblenden, nicht verschieben: Ein verschobenes Feld würde das Schild für die Dauer der Bewegung an sich binden. */
.js .anliegen__feld { animation: feld-auf 0.24s ease-out; }
@keyframes feld-auf {
  from { opacity: 0; }
}
.anliegen__bereich { color: var(--graublau); font-size: var(--t-klein); }
.anliegen__bereich strong {
  display: block;
  margin-top: 2px;
  color: var(--weiss);
  font-size: var(--t-h3);
  font-weight: 400;
  line-height: 1.2;
}

/* Ansprechpartner als Liste: auf Unterseiten mit Knöpfen, im Bedienfeld als Zeilen der Anzeige */
.leute { margin-top: clamp(16px, 2vw, 28px); }
.mensch {
  display: grid;
  gap: 14px;
  padding-block: clamp(18px, 1.8vw, 26px);
  border-top: 1px solid var(--linie);
}
.mensch__name { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem); line-height: 1.1; font-weight: 400; letter-spacing: -0.012em; }
.mensch__rolle { margin-top: 4px; color: var(--tinte-leise); font-size: var(--t-klein); }
.mensch__wege { display: flex; flex-wrap: wrap; gap: 10px; }
.mensch__folgt {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 1.2rem;
  border: 1.5px dashed var(--stahl300);
  border-radius: 999px;
  color: var(--tinte-leise);
  white-space: nowrap;
}

.bedienfeld .leute { margin-top: clamp(14px, 1.6vw, 20px); }
.bedienfeld .mensch {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-areas: 'zeichen wer post' 'zeichen nummer post';
  align-items: center;
  gap: 0 16px;
  padding-block: clamp(12px, 1.4vw, 18px);
  border-top-color: var(--glas-linie);
}
.mensch__zeichen {
  grid-area: zeichen;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--glas-linie);
  border-radius: 50%;
  color: var(--hellblau);
}
.mensch__zeichen .zeichen { width: 20px; height: 20px; }
.bedienfeld .mensch__wer { grid-area: wer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.bedienfeld .mensch__name { font-size: var(--t-text); line-height: 1.35; font-weight: 500; letter-spacing: 0; }
.bedienfeld .mensch__rolle { margin-top: 0; color: var(--graublau); }
.mensch__nummer {
  grid-area: nummer;
  justify-self: start;
  color: var(--weiss);
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.16s;
}
.mensch__nummer:hover { color: var(--hellblau); }
.mensch__post {
  grid-area: post;
  padding-block: 10px;
  color: var(--hellblau);
  font-size: var(--t-klein);
  text-decoration: underline;
  text-decoration-color: rgba(87, 167, 221, 0.5);
  text-underline-offset: 0.22em;
  transition: color 0.16s;
}
.mensch__post:hover { color: var(--weiss); }
/* Wer nur per Mail erreichbar ist: Die Adresse steht dort, wo sonst die Nummer steht. */
.mensch--post .mensch__post { grid-area: nummer; justify-self: start; padding-block: 4px; font-size: var(--t-gross); }
.bedienfeld .mensch__folgt {
  grid-area: nummer;
  justify-self: start;
  min-height: 0;
  padding: 4px 0;
  border: 0;
  border-bottom: 1.5px dashed var(--glas-linie);
  border-radius: 0;
  color: var(--graublau);
  font-size: var(--t-gross);
}

/* Hinweis auf die Online-Meldung: steht in der Anzeige wie eine Aufforderung des Geräts */
.assistent {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: center;
  margin-top: clamp(12px, 1.4vw, 18px);
  padding: 10px 18px 10px 10px;
  border-radius: 8px;
  background: var(--blau);
  color: var(--eis100);
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.16s;
}
.assistent:hover { background: var(--tiefblau); }
.assistent img { width: 56px; height: 56px; padding: 4px; border-radius: 6px; background: var(--weiss); object-fit: contain; }
.assistent strong { display: block; color: var(--weiss); font-size: 1.125rem; font-weight: 500; }
.assistent .zeichen { width: 20px; height: 20px; color: var(--weiss); }

/* Bleibt in der Anzeige Fläche frei, steht dort groß und blass das Bildzeichen des Programms.
   Ist kein Platz, bleibt nur der Abstand zur Fußzeile. */
.anliegen__marke {
  flex: 1 1 0;
  min-height: clamp(18px, 2vw, 26px);
  max-height: 12.5rem;
  container-type: size;
  display: flex;
  justify-content: flex-end;
  padding-block: 0;
  color: rgba(152, 181, 217, 0.14);
}
.anliegen__marke .zeichen { display: none; width: auto; height: 100%; aspect-ratio: 1; stroke-width: 0.5; }
@container (min-height: 120px) {
  .anliegen__marke .zeichen { display: block; padding-block: 14px; }
}

/* Fußzeile der Anzeige: Sie bleibt unten stehen, auch wenn darüber wenig steht, und führt zur Seite des Bereichs. */
.anliegen__fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  margin: auto calc(var(--innen) * -1) 0;
  padding: 16px var(--innen) 18px;
  border-top: 1px solid var(--glas-linie);
}
.anliegen__fuss .verweis { color: var(--weiss); }
.anliegen__zeiten { color: var(--graublau); font-size: var(--t-klein); }

/* Das Schild auf dem Edelstahl: ein Ausschnitt der Zeichnung und drei Hinweise zum gewählten Anliegen.
   Es gehört zur Anzeige, liegt am Bildschirm aber links neben dem Glas, bündig mit dessen Unterkante. */
.anliegen__mehr {
  --fokus: var(--blau);
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
  width: calc((100% - var(--spalt)) * 5 / 12);
  padding: clamp(14px, 1.6vw, 20px);
  border: 1px solid var(--stahl300);
  background: var(--weiss);
  color: var(--tinte);
}
.anliegen__mehr img { width: 100%; height: auto; }
.anliegen__mehr-titel { color: var(--tinte-leise); font-size: var(--t-klein); }
.anliegen__mehr .striche { margin-top: 8px; font-size: 1rem; line-height: 1.4; }

/* Ohne JavaScript stehen alle Anliegen untereinander im Glas. */
html:not(.js) .finder__raster { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .finder__kopf { padding-bottom: 32px; }
html:not(.js) .bedienfeld { display: block; min-height: 0; }
html:not(.js) .bedienfeld__status { display: none; }
html:not(.js) .anliegen { display: block; }
html:not(.js) .anliegen__knopf { grid-auto-flow: column; justify-content: start; align-items: center; padding-inline: clamp(18px, 2.4vw, 32px); color: var(--weiss); font-size: var(--t-gross); text-align: left; }
html:not(.js) .anliegen__knopf::after { display: none; }
html:not(.js) .anliegen__wort { max-width: none; }
html:not(.js) .anliegen__mehr { position: static; width: auto; margin-top: 18px; }

@media (max-width: 1179px) {
  .anliegen__mehr { grid-template-columns: minmax(0, 1fr); }
  .anliegen__mehr img { display: none; }
}

/* Schmal: Das Glas reicht von Rand zu Rand, die Tasten stehen in zwei Reihen, das Schild rückt in die Anzeige. */
@media (max-width: 899px) {
  .finder__raster { grid-template-columns: minmax(0, 1fr); }
  .finder__kopf { padding-bottom: 28px; }
  .bedienfeld {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto auto auto 1fr;
    min-height: 0;
    margin-inline: calc(var(--rand) * -1);
    border-radius: 0;
    box-shadow: none;
  }
  .bedienfeld__status { padding-inline: var(--rand); }
  .bedienfeld .zeiten__jetzt { display: inline; }
  .anliegen__marke { flex: none; }
  .anliegen__kopf { grid-column: span 2; grid-row: 2; border-bottom: 0; }
  .anliegen:nth-of-type(4) .anliegen__kopf { grid-column: 2 / span 2; grid-row: 3; }
  .anliegen:nth-of-type(5) .anliegen__kopf { grid-column: 4 / span 2; grid-row: 3; }
  .anliegen__knopf { padding: 16px 4px 10px; }
  .anliegen:nth-of-type(n + 4) .anliegen__knopf { padding-top: 8px; padding-bottom: 20px; }
  .anliegen__knopf[aria-expanded='true']::after { display: none; }
  .anliegen__scheibe { width: 64px; }
  .anliegen__feld { --innen: var(--rand); grid-row: 4; padding-top: 20px; border-top: 1px solid var(--glas-linie); }
  .anliegen__mehr {
    --fokus: var(--weiss);
    position: static;
    width: auto;
    margin-top: 18px;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid var(--glas-linie);
    background: none;
    color: var(--weiss);
  }
  .anliegen__mehr-titel { color: var(--graublau); }
  .anliegen__mehr .verweis { color: var(--weiss); }
  html:not(.js) .anliegen__kopf { grid-column: auto; }
}
@media (max-width: 599px) {
  .bedienfeld .mensch { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: 'zeichen wer' 'zeichen nummer' '. post'; }
  .mensch__zeichen { align-self: start; margin-top: 4px; }
  .mensch__post { padding-block: 8px 2px; }
  /* Schmale Handys: Die Uhr steht schon oben im Gerät. */
  .bedienfeld__uhr { display: none; }
  .assistent { grid-template-columns: 48px minmax(0, 1fr) 18px; gap: 12px; padding: 10px 14px 10px 8px; }
  .assistent img { width: 48px; height: 48px; }
}

/* ==========================================================================
   Leistungen
   ========================================================================== */

.leistungen { padding-block: var(--abstand); }
.kopfzeile {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 20px clamp(32px, 5vw, 88px);
  align-items: end;
}
.kopfzeile p { max-width: 34em; font-size: var(--t-gross); line-height: 1.45; }

/* Der Zeitschnitt: dieselbe Küche in vier Ständen als ein Bild. Die vier Lagen sind gleich groß und liegen
   übereinander; jede zeigt das Viertel ihres Schritts. Unter dem Bild läuft die Maßkette mit den Schritten.
   Wer auf einen Schritt zeigt, sieht dessen Lage ganz. */
.schritte {
  --weg: 0.55s cubic-bezier(0.6, 0, 0.2, 1);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: calc(100% * 580 / 1320);
}
/* Rahmen um das Bild */
.schritte::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  aspect-ratio: 1320 / 580;
  border: 1px solid var(--stahl300);
  pointer-events: none;
}
.schritt:nth-child(1) { --n: 1; }
.schritt:nth-child(2) { --n: 2; }
.schritt:nth-child(3) { --n: 3; }
.schritt:nth-child(4) { --n: 4; }
.schritt__lage {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1320 / 580;
  overflow: hidden;
  background: var(--weiss);
  clip-path: inset(0 calc(100% - var(--n) * 25%) 0 calc((var(--n) - 1) * 25%));
  transition: clip-path var(--weg), z-index 0s 0.55s;
  pointer-events: none;
}
.schritt:nth-child(2) .schritt__lage { background: var(--nacht); }
.schritt__innen { position: absolute; inset: 0; }
.schritt__bild { display: block; width: 100%; height: 100%; }
.schritt.ist-ganz .schritt__lage { z-index: 2; clip-path: inset(0); transition: clip-path var(--weg), z-index 0s; }

/* Jedes Viertel ist eine Taste. Ihre linke Kante ist der Schnitt. */
.schritt__zone {
  position: absolute;
  top: 0;
  left: calc((var(--n) - 1) * 25%);
  z-index: 4;
  width: 25%;
  aspect-ratio: 330 / 580;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--blau);
  background: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.schritt:first-child .schritt__zone { border-left-color: transparent; }
.schritte.ist-ganz .schritt__zone { border-left-color: transparent; }
.schritt__zone:focus-visible { outline-offset: -5px; }
.schritt:nth-child(2) .schritt__zone { --fokus: var(--weiss); }
html:not(.js) .schritt__zone { display: none; }

/* Schilder im Bild */
.schritt__frage {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 3px 9px 4px;
  border: 1.5px solid var(--blau);
  border-radius: 999px;
  background: var(--weiss);
  color: var(--blau);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: left var(--weg), top var(--weg);
}
/* Zeigt die Seite den leeren Raum ganz, verteilen sich die Fragen im Raum. */
.schritt.ist-ganz .schritt__frage { left: var(--gx); top: var(--gy); }
.zeitschnitt__legende {
  position: absolute;
  left: 37.5%;
  bottom: 5.5%;
  display: flex;
  gap: 16px;
  color: var(--graublau);
  font-size: 0.8125rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}
.zeitschnitt__legende span { display: inline-flex; align-items: center; gap: 6px; }
.zeitschnitt__legende svg { width: 12px; height: 12px; }

/* Die Maßkette unter dem Bild: je Schritt ein Glied mit Nummer, Wort und Text */
.schritt__text {
  position: relative;
  height: 100%;
  margin-top: 22px;
  padding: 24px clamp(16px, 2vw, 32px) 0 0;
  border-top: 1.5px solid var(--tinte);
  transition: opacity 0.3s, border-color 0.3s;
}
.schritt__text::before,
.schritt:last-child .schritt__text::after {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 19px;
  height: 1.5px;
  margin-left: -9.5px;
  background: var(--tinte);
  transform: rotate(-45deg);
}
.schritt:last-child .schritt__text::after { left: 100%; }
.schritt__nr {
  display: block;
  margin-bottom: 10px;
  color: var(--blau);
  font-size: var(--t-klein);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.schritt h3 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); font-weight: 400; letter-spacing: -0.015em; }
.schritt p { margin-top: 12px; max-width: 19em; color: var(--tinte-leise); }
.schritt.ist-ganz .schritt__text { border-top-color: var(--blau); box-shadow: inset 0 1.5px 0 var(--blau); }
.schritte.ist-ganz .schritt:not(.ist-ganz) .schritt__text { opacity: 0.45; }
.leistungen__hinweis { max-width: 52em; margin-top: clamp(28px, 3.4vw, 48px); color: var(--tinte-leise); font-size: var(--t-klein); }
/* Schluss des Abschnitts: links der Beleg, rechts der Weg zum Beratungstermin */
.leistungen__schluss {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  margin-top: clamp(44px, 5.4vw, 80px);
}
.leistungen__schluss .leistungen__beleg { margin-top: 0; }
.leistungen__schluss .termin { grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 0; }
html:not(.js) .leistungen__zeig { display: none; }

@media (prefers-reduced-motion: reduce) {
  .schritt__lage,
  .schritt.ist-ganz .schritt__lage,
  .schritt__frage { transition: none; }
}

@media (max-width: 1099px) {
  .leistungen__schluss { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .kopfzeile { grid-template-columns: minmax(0, 1fr); }
  .schritt h3 { font-size: 1.5rem; }
  .schritt__text { padding-right: 12px; }
}

/* Schmal: Die Schritte stehen untereinander, jeder mit seinem Viertel der Zeichnung. Die Maßkette läuft links. */
@media (max-width: 759px) {
  .schritte { display: block; margin-left: 10px; padding-top: 0; }
  .schritte::before { display: none; }
  .schritt {
    position: relative;
    padding: 0 0 30px 28px;
    border-left: 1.5px solid var(--tinte);
  }
  .schritt:last-child { padding-bottom: 4px; }
  .schritt::before,
  .schritt:last-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1.5px;
    width: 19px;
    height: 1.5px;
    margin-left: -8.75px;
    background: var(--tinte);
    transform: rotate(-45deg);
  }
  .schritt:last-child::after { top: 100%; }
  .schritt__lage {
    position: relative;
    z-index: auto;
    aspect-ratio: auto;
    border: 1px solid var(--linie);
    clip-path: none;
    transition: none;
  }
  /* Das Bild ist breiter als sein Fenster; jedes Fenster zeigt die Mitte seines Viertels. */
  .schritt__innen { position: relative; inset: auto; left: var(--links); width: 210%; aspect-ratio: 1320 / 580; }
  .schritt:nth-child(1) { --links: 0%; }
  .schritt:nth-child(2) { --links: -28.75%; }
  .schritt:nth-child(3) { --links: -81.25%; }
  .schritt:nth-child(4) { --links: -110%; }
  .schritt__frage { left: var(--hx); top: var(--hy); font-size: 0.75rem; transition: none; }
  .schritt__zone { display: none; }
  /* Reihenfolge am Handy: Nummer an der Maßkette, dann das Bild, dann Wort und Text */
  .schritt { display: flex; flex-direction: column; }
  .schritt__text { display: contents; }
  .schritt__nr { order: 1; margin-bottom: 6px; transform: translateY(-0.45em); }
  .schritt__lage { order: 2; margin-top: 0; }
  .schritt h3 { order: 3; margin-top: 16px; font-size: 1.75rem; }
  .schritt p { order: 4; }
  .leistungen__zeig { display: none; }
}

/* ==========================================================================
   Sortiment
   ========================================================================== */

.sortiment {
  padding-block: var(--abstand);
  background: var(--stahl50);
}
.sortiment__raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 72px);
}

.plan {
  position: sticky;
  top: calc(var(--kopfhoehe) + 24px);
}
.plan__blatt {
  position: relative;
  background: var(--weiss);
  border: 1px solid var(--linie);
}
.plan__blatt img { width: 100%; height: auto; }
.plan__gruppen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.plan__gruppen g {
  fill: var(--blau);
  opacity: 0;
  transition: opacity 0.22s;
}
.plan__gruppen g[data-an] { opacity: 0.9; }

.plan__marke {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1.5px solid var(--blau);
  border-radius: 50%;
  background: var(--weiss);
  color: var(--blau);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.plan__marke[data-an] { background: var(--nacht); border-color: var(--nacht); color: var(--weiss); transform: scale(1.15); z-index: 1; }
.plan > figcaption { margin-top: 12px; color: var(--tinte-leise); font-size: var(--t-klein); }

/* Unter dem Plan: die Produktarten der gezeigten Gruppe als kleine Zeichnungen */
.plan__geraete { margin-top: 18px; }
.geraete { display: none; }
.geraete[data-an] { display: block; }
.geraete__titel { color: var(--tinte-leise); font-size: var(--t-klein); }
.geraete__reihe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.geraete img,
.liste__geraete img { width: 100%; height: auto; border: 1px solid var(--linie); background: var(--weiss); }
.geraete figcaption { margin-top: 6px; font-size: 0.8125rem; line-height: 1.25; hyphens: auto; }
.liste__geraete { display: none; }
@media (max-height: 760px) and (min-width: 900px) {
  .plan > figcaption { display: none; }
}

/* Geräteliste: Position im Plan, Gruppe, Beispiele, Marken */
.liste__zeile {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  padding: 20px 16px 22px 12px;
  border-top: 1px solid var(--stahl300);
  transition: background-color 0.2s;
}
.liste__zeile:last-child { border-bottom: 1px solid var(--stahl300); }
.liste__zeile[data-aktiv] { background: var(--weiss); }
.liste__nr {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--blau);
  border-radius: 50%;
  color: var(--blau);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.liste__zeile[data-aktiv] .liste__nr { background: var(--nacht); border-color: var(--nacht); color: var(--weiss); }
.liste__gruppe { font-size: var(--t-h3); font-weight: 500; line-height: 1.2; }
.liste__bsp { margin-top: 6px; color: var(--tinte-leise); }
.liste__marken { margin-top: 8px; font-weight: 500; }
.liste__marken span { margin-right: 0.3em; color: var(--tinte-leise); font-size: var(--t-klein); font-weight: 400; }
.liste__abseits { margin: 30px 0 10px 12px; color: var(--tinte-leise); font-size: var(--t-klein); }

@media (max-width: 899px) {
  .sortiment__raster { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .plan {
    top: var(--kopfhoehe);
    z-index: 5;
    margin-inline: calc(var(--rand) * -1);
    padding: 10px var(--rand) 10px;
    background: var(--stahl50);
    border-bottom: 1px solid var(--linie);
  }
  .plan > figcaption,
  .plan__geraete { display: none; }
  .liste__geraete { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
  .liste__geraete figcaption { display: none; }
  .plan__marke { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 0.6875rem; }
}

/* ==========================================================================
   Kundendienst und Hygiene-Express
   ========================================================================== */

.dienst {
  --fokus: var(--weiss);
  padding-block: var(--abstand);
  background: var(--nacht);
  color: var(--weiss);
}
.dienst__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.dienst__text > p { margin-top: 22px; max-width: 30em; font-size: var(--t-gross); line-height: 1.45; color: var(--eis200); }
.dienst .striche { margin-top: 28px; color: var(--eis100); }
.dienst .striche li::before { background: var(--hellblau); opacity: 1; }

.stoerung {
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: 22px;
  border-top: 1px solid rgba(152, 181, 217, 0.4);
}
.stoerung__wort { color: var(--graublau); font-size: var(--t-klein); }
.stoerung__nummer {
  display: inline-block;
  margin-top: 2px;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--hellblau), var(--hellblau)) left bottom / 100% 2px no-repeat;
  transition: background-size 0.2s;
}
.stoerung__nummer:hover { background-size: 100% 6px; }
.dienst .zeiten { display: flex; margin-top: 12px; color: var(--graublau); }
.dienst .zeiten__jetzt { color: var(--weiss); }
.dienst .zeiten[data-offen='ja'] .zeiten__punkt { border-color: var(--hellblau); }
.dienst__weiter { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.karte__blatt { position: relative; }
.karte svg { width: 100%; height: auto; overflow: visible; }
.karte__land { fill: var(--tiefblau); stroke: var(--hellblau); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.karte__nachbar path { fill: none; stroke: rgba(152, 181, 217, 0.26); stroke-width: 1; vector-effect: non-scaling-stroke; }
.karte__ort circle { fill: var(--nacht); stroke: var(--graublau); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.karte__sitz circle { fill: var(--weiss); }
.karte__sitz .karte__hof { fill: rgba(255, 255, 255, 0.16); }
.karte__mass { fill: none; stroke: var(--graublau); stroke-width: 1; vector-effect: non-scaling-stroke; }
.karte__ring {
  fill: none;
  stroke: var(--hellblau);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.karte[data-lebt] .karte__ring { animation: karte-ring 4.2s cubic-bezier(0.2, 0.6, 0.3, 1) 2 both; }
.karte[data-lebt] .karte__ring:nth-of-type(2) { animation-delay: 1.4s; }
.karte[data-lebt] .karte__ring:nth-of-type(3) { animation-delay: 2.8s; }
@keyframes karte-ring {
  0% { transform: scale(0.04); opacity: 0; }
  10% { opacity: 0.95; }
  100% { transform: scale(1); opacity: 0; }
}
.karte__namen { position: absolute; inset: 0; pointer-events: none; }
.karte__name {
  position: absolute;
  padding-left: 10px;
  color: var(--graublau);
  font-size: 0.875rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-50%);
}
.karte__name--links { padding: 0 10px 0 0; transform: translate(-100%, -50%); }
@media (min-width: 600px) {
  .karte__name--links-breit { padding: 0 10px 0 0; transform: translate(-100%, -50%); }
}
.karte__name--sitz {
  padding-left: 18px;
  color: var(--weiss);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  transform: translateY(-130%);
}
.karte__name--see { padding: 0; color: rgba(152, 181, 217, 0.62); font-size: 0.9375rem; letter-spacing: 0.06em; }
.karte__name--mass { padding: 0; transform: translate(-50%, -165%); font-size: 0.8125rem; }
.karte figcaption { margin-top: 12px; color: var(--graublau); font-size: var(--t-klein); }
@media (max-width: 599px) {
  .karte__name { font-size: 0.75rem; padding-left: 7px; }
  .karte__name--links { padding: 0 7px 0 0; }
  .karte__name--klein,
  .karte__klein { display: none; }
  .karte__name--sitz { padding-left: 12px; font-size: 1.0625rem; }
  .karte__name--see { font-size: 0.8125rem; }
}

/* Band auf der Unterseite: nur Überschrift und Bildfolge */
.dienst--band .stoerfall { margin-top: clamp(28px, 3.4vw, 48px); }

/* Schilder in den Standbildern: wer von rogatec im Bild steht, welches Gerät außer Betrieb ist */
.bild__schild {
  position: absolute;
  padding: 2px 8px 3px;
  border-radius: 999px;
  background: var(--blau);
  color: var(--weiss);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.bild__schild--aus { background: var(--stahl600); }
.stoerfall__bild { position: relative; }
@media (max-width: 699px) {
  .stoerfall .bild__schild { padding: 1px 6px 2px; font-size: 0.625rem; }
}

/* Der Störfall in drei Bildern: Grau mit Zeichen steht, Blau läuft. */
.stoerfall {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
  margin-top: clamp(8px, 2vw, 24px);
}
.stoerfall img { width: 100%; height: auto; background: var(--weiss); }
.stoerfall p { max-width: 22em; margin-top: 14px; color: var(--eis100); line-height: 1.45; }
@media (max-width: 699px) {
  .stoerfall { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stoerfall li { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 16px; align-items: center; }
  .stoerfall p { margin-top: 0; }
}

.express {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px clamp(32px, 5vw, 88px);
  align-items: center;
  margin-top: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 2.6vw, 36px) clamp(20px, 3vw, 44px);
  background: var(--weiss);
  color: var(--tinte);
  --fokus: var(--blau);
}
.express__bild { width: 100%; height: auto; }
.express h2,
.express h3 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); font-weight: 400; letter-spacing: -0.015em; }
.express__text p { max-width: 26em; margin-top: 12px; font-size: var(--t-gross); line-height: 1.45; }
.express__text .knopf { margin-top: clamp(20px, 2.4vw, 32px); }

@media (max-width: 899px) {
  .dienst__raster,
  .express { grid-template-columns: minmax(0, 1fr); }
  .dienst__weiter .knopf,
  .express .knopf { width: 100%; }
}

/* ==========================================================================
   Unternehmen
   ========================================================================== */

.firma { padding-block: var(--abstand); }

/* Maßstab: Betriebe jeder Größe, gezeichnet wie die Maßstabsleiste eines Plans */
.massstab { margin-top: clamp(48px, 6vw, 88px); }
.massstab__titel { color: var(--tinte-leise); font-size: var(--t-klein); }
.massstab ol {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 14px;
}
.massstab li {
  position: relative;
  padding: 24px 8px 0 0;
  font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.375rem);
  line-height: 1.2;
}
.massstab li::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 11px;
  border: 1.5px solid var(--nacht);
  border-left-width: 0;
}
.massstab li:first-child::before { border-left-width: 1.5px; }
.massstab li:nth-child(odd)::before { background: var(--nacht); }

/* Schriftfeld: Angaben in Feldern wie im Plankopf */
.schriftfeld {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border: 1px solid var(--rahmen);
}
.schriftfeld > div {
  grid-column: span 4;
  padding: 14px 20px 22px;
  box-shadow: 1px 0 0 var(--nacht), 0 1px 0 var(--nacht);
}
.schriftfeld dt { color: var(--tinte-leise); font-size: var(--t-klein); }
.schriftfeld dd { margin-top: 6px; font-size: var(--t-gross); line-height: 1.35; }
.schriftfeld .feld--breit { grid-column: span 8; }

@media (max-width: 899px) {
  .massstab ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .massstab li:nth-child(odd)::before { border-left-width: 1.5px; background: none; }
  .massstab li:nth-child(4n + 1)::before,
  .massstab li:nth-child(4n)::before { background: var(--nacht); }
  .schriftfeld > div,
  .schriftfeld .feld--breit { grid-column: 1 / -1; }
}

/* ==========================================================================
   Häufige Fragen
   ========================================================================== */

.fragen {
  padding-block: var(--abstand);
  background: var(--stahl50);
}
.fragen__raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px clamp(32px, 5vw, 88px);
  align-items: start;
}
.fragen__kopf { position: sticky; top: calc(var(--kopfhoehe) + 32px); }
.fragen__kopf p { margin-top: 18px; max-width: 22em; color: var(--tinte-leise); }
.frage { border-top: 1px solid var(--stahl300); }
.frage:last-child { border-bottom: 1px solid var(--stahl300); }
.frage summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary h3 { font-size: var(--t-h3); font-weight: 400; transition: color 0.16s; }
.frage summary:hover h3 { color: var(--blau); }
.frage__zeichen {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--blau);
  border-radius: 50%;
}
.frage__zeichen::before,
.frage__zeichen::after {
  content: '';
  position: absolute;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--blau);
  transition: transform 0.2s;
}
.frage__zeichen::after { transform: rotate(90deg); }
.frage[open] .frage__zeichen::after { transform: rotate(0); }
.frage__antwort { max-width: 34em; padding: 0 48px 26px 0; font-size: var(--t-gross); line-height: 1.5; }

@media (max-width: 899px) {
  .fragen__raster { grid-template-columns: minmax(0, 1fr); }
  .fragen__kopf { position: static; }
  .frage__antwort { padding-right: 0; }
}

/* ==========================================================================
   Fuß: das Schriftfeld der Seite
   ========================================================================== */

.fuss { padding-block: clamp(48px, 6vw, 88px) 32px; }

/* Lageplan über dem Schriftfeld: Straßen und Wasser aus OpenStreetMap, gezeichnet in den Farben der Seite */
.lage {
  position: relative;
  border: 1px solid var(--rahmen);
  border-bottom: 0;
  background: var(--stahl50);
  overflow: hidden;
}
.lage__plan {
  --lage-k: 4.9;                 /* Meter je Bildpunkt; die Seite stellt den Wert beim Vergrößern nach */
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 460px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.lage__plan:active { cursor: grabbing; }
.lage__plan path { vector-effect: non-scaling-stroke; fill: none; }
.lage__land { fill: var(--stahl50); }
.lage__plan .lage__gruen { fill: var(--stahl100); }
.lage__plan .lage__wasser { fill: var(--eis200); stroke: var(--graublau); stroke-width: 0.8; }
.lage__plan .lage__haus { fill: var(--stahl200); display: none; }
.lage__weg { stroke-linecap: round; stroke-linejoin: round; }
.lage__weg--zufahrt { stroke: var(--stahl300); stroke-width: 1; display: none; }
.lage__weg--wohn { stroke: var(--stahl300); stroke-width: 1.2; }
.lage__weg--sammel { stroke: var(--stahl400); stroke-width: 1.7; }
.lage__weg--haupt { stroke: var(--graublau); stroke-width: 2.8; }
.lage__weg--fern { stroke: var(--blau); stroke-width: 3.4; }
.lage__bahn { stroke: var(--stahl600); stroke-width: 1; stroke-dasharray: 5 4; }
.lage__plan text {
  font-family: var(--schrift);
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--stahl50);
  stroke-width: calc(3.5px * var(--lage-k));
  stroke-linejoin: round;
}
.lage__ort { fill: var(--tinte-leise); font-size: calc(13px * var(--lage-k)); font-weight: 500; }
.lage__fluss { fill: var(--blau); font-size: calc(13px * var(--lage-k)); font-style: italic; letter-spacing: 0.08em; stroke: none; }
.lage__strasse { fill: var(--tinte); font-size: calc(11.5px * var(--lage-k)); dominant-baseline: central; }
/* Je näher, desto mehr Namen: erst die Hauptstraßen, dann die Sammelstraßen, zuletzt die Wohnstraßen */
.lage__strasse { display: none; }
.lage[data-stufe='2'] .lage__strasse--gross,
.lage[data-stufe='3'] .lage__strasse--gross,
.lage[data-stufe='4'] .lage__strasse--gross,
.lage[data-stufe='5'] .lage__strasse--gross,
.lage[data-stufe='3'] .lage__strasse--mittel,
.lage[data-stufe='4'] .lage__strasse--mittel,
.lage[data-stufe='5'] .lage__strasse--mittel,
.lage[data-stufe='4'] .lage__strasse--klein,
.lage[data-stufe='5'] .lage__strasse--klein { display: block; }
.lage[data-stufe='3'] .lage__haus,
.lage[data-stufe='4'] .lage__haus,
.lage[data-stufe='5'] .lage__haus,
.lage[data-stufe='3'] .lage__weg--zufahrt,
.lage[data-stufe='4'] .lage__weg--zufahrt,
.lage[data-stufe='5'] .lage__weg--zufahrt { display: block; }
.lage[data-stufe='4'] .lage__ort,
.lage[data-stufe='5'] .lage__ort { display: none; }
/* Der Standort: Punkt mit Ring und Namensschild wie die Leute von rogatec in der Zeichnung */
.lage__marke { transform: scale(var(--lage-k)); }
.lage__ring { fill: rgba(0, 85, 162, 0.14); stroke: var(--blau); stroke-width: 1.5; }
.lage__punkt { fill: var(--blau); }
.lage__kern { fill: var(--weiss); }
.lage__marke rect { fill: var(--blau); }
.lage__plan .lage__marke text { fill: var(--weiss); font-size: 13px; font-weight: 500; stroke: none; }
.lage__knoepfe { position: absolute; right: 16px; bottom: 16px; display: grid; gap: 8px; }
.lage__knoepfe button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--blau);
  border-radius: 50%;
  background: var(--weiss);
  color: var(--blau);
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s;
}
.lage__knoepfe button:hover { background: var(--blau); color: var(--weiss); }
.lage__knoepfe button:disabled { border-color: var(--stahl300); background: var(--stahl50); color: var(--stahl400); cursor: default; }
.lage__fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 10px 20px 12px;
  border: 1px solid var(--rahmen);
  border-bottom: 0;
  font-size: var(--t-klein);
}
.lage__fuss span { color: var(--tinte-leise); }
.lage__fuss span a { text-underline-offset: 0.22em; }
@media (max-width: 599px) {
  .lage__ort, .lage__fluss { font-size: calc(11.5px * var(--lage-k)); }
  .lage[data-stufe='2'] .lage__strasse--gross,
  .lage[data-stufe='3'] .lage__strasse--mittel { display: none; }
}
.fuss__feld {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr);
  border: 1px solid var(--rahmen);
}
.fuss__zelle {
  padding: 16px 20px 22px;
  border-left: 1px solid var(--linie);
}
.fuss__zelle:first-child { border-left: 0; }
.fuss__zelle--logo { display: grid; align-content: center; padding: 24px 28px; }
.fuss__zelle--logo img { width: min(100%, 300px); height: auto; }
.fuss__titel { color: var(--tinte-leise); font-size: var(--t-klein); font-weight: 400; letter-spacing: 0; }
.fuss__zelle address,
.fuss__zelle p,
.fuss__zelle ul { margin-top: 8px; font-style: normal; line-height: 1.5; }
.fuss__zelle a { text-decoration: none; }
.fuss__zelle a:hover { color: var(--blau); text-decoration: underline; text-underline-offset: 0.22em; }
.fuss__gross { font-size: var(--t-gross); font-weight: 500; }
.fuss__seiten {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  padding: 14px 20px;
  border-top: 1px solid var(--linie);
}
.fuss__seiten a { padding: 10px 0; text-decoration: none; font-weight: 500; }
.fuss__seiten a:hover { color: var(--blau); }
.fuss__recht {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  margin-top: 18px;
  color: var(--graublau);
  font-size: var(--t-klein);
}
.fuss__recht ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.fuss__recht li,
.fuss__recht p { padding: 10px 0; }

@media (max-width: 1099px) {
  .fuss__feld { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__zelle:nth-child(3) { border-left: 0; }
  .fuss__zelle:nth-child(n + 3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 599px) {
  .fuss__feld { grid-template-columns: minmax(0, 1fr); }
  .fuss__zelle { border-left: 0; }
  .fuss__zelle + .fuss__zelle { border-top: 1px solid var(--linie); }
}

/* Feste Leiste am Handy: der Anruf ist immer einen Daumen entfernt. */
.leiste { display: none; }
@media (max-width: 899px) {
  .js .leiste {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px var(--rand) calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--weiss);
    border-top: 1px solid var(--linie);
    transform: translateY(110%);
    transition: transform 0.25s;
  }
  .js .leiste[data-sichtbar] { transform: none; }
  .leiste .knopf { min-height: 48px; padding: 0 0.8rem; font-size: 1rem; }
  .js body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   Unterseite
   ========================================================================== */

.pfad {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.6em;
  padding-top: clamp(20px, 2.4vw, 32px);
  color: var(--tinte-leise);
  font-size: var(--t-klein);
}
.pfad a { display: inline-block; padding: 8px 0; text-underline-offset: 0.22em; }
.pfad li { padding: 8px 0; }
.pfad li:first-child { padding: 0; }
.pfad li + li::before { content: '/'; margin-right: 0.6em; opacity: 0.6; }

.titel { padding-top: 0; }
.titel__bild {
  width: 100%;
  height: clamp(210px, 27vw, 420px);
  margin-top: clamp(32px, 4vw, 60px);
  object-fit: cover;
  object-position: 44% 50%;
  border-block: 1px solid var(--linie);
}
.titel__raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
  padding-top: clamp(20px, 3vw, 44px);
}
.titel h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.022em; }
.titel__satz { margin-top: clamp(20px, 2.2vw, 30px); max-width: 32em; font-size: var(--t-gross); line-height: 1.45; }
.ruf {
  padding: clamp(22px, 2.6vw, 36px);
  background: var(--blau);
  color: var(--weiss);
  --fokus: var(--weiss);
}
.ruf__wort { color: var(--eis200); font-size: var(--t-klein); }
.ruf__nummer {
  display: inline-block;
  margin-top: 4px;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(var(--hellblau), var(--hellblau)) left bottom / 100% 2px no-repeat;
  transition: background-size 0.2s;
}
.ruf__nummer:hover { background-size: 100% 6px; }
/* Im Rufkasten stehen Zeiten und Erreichbarkeit untereinander: Der Kasten ist schmal, so bricht keine Zeile mitten im Satz. */
.ruf .zeiten { display: flex; align-items: flex-start; margin-top: 14px; color: var(--eis200); }
.ruf .zeiten__punkt { align-self: flex-start; margin-top: 0.5em; }
.ruf .zeiten__jetzt { display: block; color: var(--weiss); }
.ruf .zeiten .zeiten__jetzt:not(:empty)::before { display: none; }
.ruf .zeiten[data-offen='ja'] .zeiten__punkt { border-color: var(--weiss); }

.block { padding-block: var(--abstand); }
.block--stahl { background: var(--stahl50); }
.block--nacht { background: var(--nacht); color: var(--weiss); --fokus: var(--weiss); }
.block__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px clamp(32px, 5vw, 88px);
  align-items: start;
}
.block__text > p { margin-top: 20px; max-width: 30em; font-size: var(--t-gross); line-height: 1.45; }
.block--nacht .block__text > p { color: var(--eis200); }

.dreier {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border: 1px solid var(--rahmen);
}
.dreier > li { padding: 18px 22px 26px; border-left: 1px solid var(--linie); }
.dreier > li:first-child { border-left: 0; }
.dreier__bild { width: 100%; height: auto; margin-bottom: clamp(12px, 1.6vw, 24px); }
.dreier h3 { font-weight: 400; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); letter-spacing: -0.012em; }
.dreier p { margin-top: 10px; color: var(--tinte-leise); }

.team { margin-top: 0; }
.team__zeiten { margin-top: 18px; }
.express--rand { margin-top: 0; border: 1px solid var(--rahmen); }

/* Angaben auf dunklem Grund */
.angaben { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid rgba(152, 181, 217, 0.4); }
.angaben > div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(152, 181, 217, 0.4);
}
.angaben dt { color: var(--graublau); font-size: var(--t-klein); line-height: 1.75; }
.team .mensch:first-child { border-top: 1px solid var(--rahmen); }
.team .mensch:last-child { border-bottom: 1px solid var(--linie); }

.schluss {
  padding-block: clamp(56px, 7vw, 104px);
  background: var(--blau);
  color: var(--weiss);
  --fokus: var(--weiss);
}
.schluss__raster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.schluss p { margin-top: 12px; color: var(--eis100); font-size: var(--t-gross); max-width: 30em; }
.schluss__handeln { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 899px) {
  .titel__raster,
  .block__raster { grid-template-columns: minmax(0, 1fr); }
  .dreier { grid-template-columns: minmax(0, 1fr); }
  .dreier > li { border-left: 0; }
  .dreier > li + li { border-top: 1px solid var(--linie); }
  .schluss__handeln { width: 100%; }
  .schluss__handeln .knopf { flex: 1 1 100%; }
}

/* ==========================================================================
   Störung online melden (Unterseite Kundendienst)
   Drei Schritte links, rechts der Zettel, auf dem aus Grau Blau wird.
   ========================================================================== */

/* Wer über einen Verweis kommt, landet bei der Überschrift, nicht beim leeren Rand darüber. */
.anfrage { padding-block: var(--abstand); background: var(--stahl50); scroll-margin-top: calc(var(--abstand) * -0.5); }
.anfrage__kopf {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px clamp(32px, 5vw, 88px);
  align-items: end;
}
.anfrage__kopf p { max-width: 34em; font-size: var(--t-gross); line-height: 1.45; }
.anfrage__kopf .zeiten { margin-top: 14px; font-size: var(--t-klein); }
.anfrage__kopf .anfrage__wann { margin-top: 4px; color: var(--tinte-leise); font-size: var(--t-klein); }
.anfrage__ohne { display: none; margin-top: 24px; font-size: var(--t-gross); }
html:not(.js) .anfrage__ohne { display: block; }
html:not(.js) .anfrage__raster { display: none; }
.ruf__online { margin-top: 16px; }

.anfrage__raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 56px);
}
.anfrage__ablauf,
.fertig {
  padding: clamp(20px, 2.6vw, 40px);
  border: 1px solid var(--rahmen);
  background: var(--weiss);
  scroll-margin-top: calc(var(--kopfhoehe) + 16px);
}
.anfrage__ablauf[hidden] { display: none; }
.anfrage__kette { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: clamp(20px, 2.4vw, 32px); }
.anfrage__kette .kette__glied { transition: color 0.2s, border-color 0.2s; }
.stufe[hidden] { display: none; }
.stufe > * + * { margin-top: clamp(18px, 2vw, 26px); }
.stufe__frage,
.fertig h3 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; }
.stufe__frage:focus { outline: none; }
.stufe__oder,
.stufe__merk { color: var(--tinte-leise); }
.stufe__merk button { border: 0; background: none; font: inherit; cursor: pointer; }
.stufe fieldset { min-width: 0; margin-inline: 0; padding: 0; border: 0; }
.stufe legend { margin-bottom: 8px; padding: 0; color: var(--tinte-leise); font-size: var(--t-klein); }
.stufe [hidden] { display: none; }

/* Foto vom Typenschild und der Vorschlag daraus */
.foto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
  padding: 18px 20px;
  background: var(--eis100);
}
.foto__titel { font-size: var(--t-gross); font-weight: 500; }
.foto__text p + p { margin-top: 4px; color: var(--tinte-leise); font-size: var(--t-klein); }
.foto__knopf { cursor: pointer; }
.foto__knopf:focus-within { outline: 2px solid var(--fokus); outline-offset: 3px; }

/* Geräte zum Antippen */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.kacheln--klein { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); margin-top: 12px; }
.kachel {
  position: relative;
  display: block;
  padding: 8px 8px 10px;
  border: 1.5px solid var(--linie);
  background: var(--weiss);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s, background-color 0.16s;
}
.kachel input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kachel img { width: 100%; height: auto; }
.kachel span { display: block; margin-top: 4px; font-size: var(--t-klein); line-height: 1.25; hyphens: auto; }
.kachel:hover { border-color: var(--blau); }
.kachel:has(input:checked) { border-color: var(--blau); background: var(--eis100); box-shadow: inset 0 0 0 1.5px var(--blau); }
.kachel:has(input:focus-visible) { outline: 2px solid var(--fokus); outline-offset: 2px; }
.mehr-geraete summary,
.kundennummer summary { width: max-content; color: var(--blau); cursor: pointer; text-decoration: underline; text-decoration-color: var(--hellblau); text-underline-offset: 0.22em; }
.mehr-geraete .feld,
.kundennummer .feld { max-width: 28em; margin-top: 14px; }

/* Auswahl als Pillen */
.chips label { position: relative; display: inline-block; margin: 0 6px 8px 0; }
.chips input { position: absolute; opacity: 0; }
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--stahl300);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.16s, background-color 0.16s, color 0.16s;
}
.chips span:hover { border-color: var(--blau); }
.chips input:checked + span { border-color: var(--blau); background: var(--blau); color: var(--weiss); }
.chips input:focus-visible + span { outline: 2px solid var(--fokus); outline-offset: 2px; }

/* Drei große Antworten */
.wahl__reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wahl label { position: relative; display: block; }
.wahl input { position: absolute; opacity: 0; }
.wahl label > span {
  display: block;
  height: 100%;
  padding: 14px 16px 16px;
  border: 1.5px solid var(--stahl300);
  color: var(--tinte-leise);
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.16s, background-color 0.16s;
}
.wahl strong { display: block; color: var(--tinte); font-size: var(--t-gross); font-weight: 500; }
.wahl label > span:hover { border-color: var(--blau); }
.wahl input:checked + span { border-color: var(--blau); background: var(--eis100); box-shadow: inset 0 0 0 1.5px var(--blau); }
.wahl input:focus-visible + span { outline: 2px solid var(--fokus); outline-offset: 2px; }

.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.feld textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 1.5px solid var(--stahl400);
  border-radius: 0;
  background: var(--weiss);
  color: var(--tinte);
  font: inherit;
  font-size: 1.125rem;
  resize: vertical;
}
.feld textarea:hover { border-color: var(--blau); }
.feld textarea:focus-visible { border-color: var(--blau); outline: 2px solid var(--fokus); outline-offset: 2px; }
.feld__hinweis { margin-top: 6px; color: var(--tinte-leise); font-size: var(--t-klein); }
.einsatzort { display: grid; gap: 12px; justify-items: start; }
.einsatzort .feld { width: 100%; }
.einsatzort__text:empty { display: none; }
.ortkarte { width: min(100%, 440px); height: auto; border: 1px solid var(--linie); background: var(--eis100); }
.ortkarte__land { fill: var(--weiss); stroke: var(--graublau); stroke-width: 2; }
.ortkarte__sitz { fill: var(--nacht); }
.ortkarte__weg { stroke: var(--blau); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.ortkarte__hof { fill: rgba(0, 85, 162, 0.14); stroke: var(--blau); stroke-width: 2.5; }
.ortkarte__ort { fill: var(--blau); }
.haken { display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; cursor: pointer; }
.haken input { width: 22px; height: 22px; margin: 0; accent-color: var(--blau); }
.anfrage__meldung { margin-top: 18px; }
.anfrage__weiter { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.anfrage__weiter [hidden] { display: none; }
.anfrage__weiter [data-weiter],
.anfrage__weiter [data-senden] { margin-left: auto; }
.anfrage__ablauf > .formular__hinweis { margin-top: 12px; text-align: right; }
.anfrage__ablauf > .formular__hinweis[hidden] { display: none; }

/* Der Zettel: Was noch offen ist, steht grau gestrichelt da; was wir wissen, blau. */
.zettel {
  position: sticky;
  top: calc(var(--kopfhoehe) + 24px);
  padding: 18px 20px 22px;
  border: 1px solid var(--rahmen);
  background: var(--weiss);
}
.zettel__titel { color: var(--tinte-leise); font-size: var(--t-klein); }
.zettel__bild {
  display: grid;
  place-items: center;
  min-height: 132px;
  margin-top: 10px;
  border: 1.5px dashed var(--stahl400);
  color: var(--tinte-leise);
  font-size: var(--t-klein);
}
.zettel__bild:has(img:not([hidden])) { border: 1px solid var(--linie); }
.zettel__bild img { width: 100%; height: auto; }
.zettel__bild [hidden] { display: none; }
.zettel__felder { margin-top: 14px; }
.zettel__felder > div { padding: 5px 0 6px 12px; border-left: 2px dashed var(--stahl400); }
.zettel__felder > div + div { margin-top: 8px; }
.zettel__felder > div[data-da] { border-left: 2px solid var(--blau); }
.zettel__felder dt { color: var(--tinte-leise); font-size: 0.8125rem; }
.zettel__felder dd { color: var(--tinte-leise); line-height: 1.35; overflow-wrap: anywhere; }
.zettel__felder [data-da] dd { color: var(--tinte); }
.zettel__fotos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.zettel__fotos:empty { display: none; }
.zettel__fotos li { position: relative; }
.zettel__fotos img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--linie); }
.zettel__fotos button {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--blau);
  border-radius: 50%;
  background: var(--weiss);
  color: var(--blau);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.zettel__stand { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--linie); }
.zettel__stand-titel { font-size: var(--t-klein); font-weight: 500; }
.zettel__balken { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; }
.zettel__balken span { height: 11px; border: 1px solid var(--rahmen); border-left-width: 0; transition: background-color 0.2s; }
.zettel__balken span:first-child { border-left-width: 1.5px; }
.zettel__balken span[data-voll] { background: var(--blau); }
.zettel__tipp { margin-top: 8px; color: var(--tinte-leise); font-size: var(--t-klein); line-height: 1.4; }

/* Nach dem Absenden */
.fertig { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.fertig[hidden] { display: none; }
.fertig:focus { outline: none; }
.fertig img { width: 100%; height: auto; border: 1px solid var(--linie); }
.fertig img[hidden] { display: none; }
.fertig__zeit { margin-top: 8px; color: var(--blau); font-size: var(--t-gross); font-variant-numeric: tabular-nums; }
.fertig__titel { margin-top: 20px; color: var(--tinte-leise); font-size: var(--t-klein); }
.fertig__schritte { margin-top: 6px; padding-left: 1.3em; list-style: decimal; line-height: 1.45; }
.fertig__schritte li + li { margin-top: 4px; }
.fertig .zeiten { margin-top: 12px; }
.fertig .striche { margin-top: 8px; }
.fertig__fotos { margin-top: 18px; color: var(--tinte-leise); font-size: var(--t-klein); }
.fertig__fotos[hidden] { display: none; }
.fertig .knopf { margin-top: 18px; }

@media (max-width: 899px) {
  .anfrage__kopf,
  .anfrage__raster,
  .fertig { grid-template-columns: minmax(0, 1fr); }
  .anfrage__ablauf,
  .fertig { margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); border-inline: 0; }
  .zettel { position: static; }
  .foto,
  .wahl__reihe,
  .felder { grid-template-columns: minmax(0, 1fr); }
  .foto__knopf { width: 100%; }
  .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .kachel { padding: 4px 4px 8px; }
  .kachel span { font-size: 0.8125rem; }
  /* „Weiter“ bleibt am unteren Rand erreichbar, auch wenn die Geräte darüber noch nicht durchgerollt sind */
  .anfrage__weiter {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin-inline: calc(var(--rand) * -1);
    padding: 12px var(--rand);
    border-top: 1px solid var(--linie);
    background: var(--weiss);
  }
  .anfrage__weiter .knopf { flex: 1 1 auto; }
  .fertig img { max-width: 260px; }
}

/* ==========================================================================
   Formulare: Beratungstermin und Newsletter
   ========================================================================== */

.formular {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px 20px;
  align-items: end;
}
.formular--kurz { grid-template-columns: minmax(0, 1fr) auto; }
.formular[hidden] { display: none; }
/* Ohne JavaScript kann das Formular nicht senden: Dann steht an seiner Stelle der Weg per E-Mail und Telefon. */
html:not(.js) [data-formular] { display: none; }
.js .formular__ohne { display: none; }
.formular__ohne { font-size: var(--t-gross); line-height: 1.45; }
.formular__ohne a { color: inherit; }
.feld { display: block; }
.feld span { display: block; color: var(--tinte-leise); font-size: var(--t-klein); }
.feld input {
  width: 100%;
  height: 56px;
  margin-top: 6px;
  padding: 0 16px;
  border: 1.5px solid var(--stahl400);
  border-radius: 0;
  background: var(--weiss);
  color: var(--tinte);
  font: inherit;
  font-size: 1.125rem;
}
.feld input:hover { border-color: var(--blau); }
.feld input:focus-visible { border-color: var(--blau); outline: 2px solid var(--fokus); outline-offset: 2px; }
.feld input[aria-invalid='true'] { border-color: var(--nacht); box-shadow: inset 0 -3px 0 var(--nacht); }
.formular__hinweis,
.formular__meldung { grid-column: 1 / -1; font-size: var(--t-klein); }
.formular__hinweis { color: var(--tinte-leise); }
.formular__meldung { font-weight: 500; }
.formular__meldung[hidden],
.formular__antwort[hidden] { display: none; }
.formular__antwort { font-size: var(--t-gross); line-height: 1.45; }
.formular__antwort small { display: block; margin-top: 6px; color: var(--tinte-leise); font-size: var(--t-klein); }

/* Beratungstermin: zwei Angaben, wir rufen an */
.termin {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-top: clamp(48px, 6vw, 88px);
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--rahmen);
  scroll-margin-top: calc(var(--kopfhoehe) + 24px);
}
.termin h3 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; }
.termin__text p { max-width: 24em; margin-top: 12px; font-size: var(--t-gross); line-height: 1.45; }

/* Newsletter */
.neues { padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--linie); }
.neues__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}
.neues h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem); line-height: 1.1; }
.neues__text p { max-width: 26em; margin-top: 12px; color: var(--tinte-leise); }

@media (max-width: 899px) {
  .termin,
  .neues__raster { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .formular,
  .formular--kurz { grid-template-columns: minmax(0, 1fr); }
  .formular .knopf { width: 100%; }
}

/* ==========================================================================
   Inhaltsseiten (aus Daten gebaut, bau/seiten.js)
   Immer derselbe Aufbau: Titel mit „Kurz gesagt“, Bildband, Sprungmarken,
   Abschnitte, Fragen, Passt dazu, Schluss, Stand und Quellen.
   ========================================================================== */

/* Eingebettete Zeichnungen: Linien rund wie in den Bilddateien */
.zeichnung { width: 100%; height: auto; }
.zeichnung path,
.zeichnung ellipse { stroke-linejoin: round; stroke-linecap: round; }

.titel--seite .titel__raster { align-items: start; }
.titel--seite h1 { font-size: clamp(2.125rem, 1.15rem + 3.3vw, 3.875rem); line-height: 1.04; }
.titel__handeln { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 34px); }
.titel__bild--ganz { height: auto; object-fit: contain; }

/* Kurz gesagt: die Antwort zuerst, gesetzt wie das Schriftfeld eines Plans */
.kurz { border: 1px solid var(--rahmen); background: var(--weiss); }
.kurz__titel {
  padding: 9px 18px 8px;
  border-bottom: 1px solid var(--linie);
  background: var(--stahl50);
  color: var(--tinte-leise);
  font-size: var(--t-klein);
}
.kurz ul { padding: 4px 18px 6px; }
.kurz li { position: relative; padding: 11px 0 11px 1.7em; line-height: 1.4; }
.kurz li + li { border-top: 1px solid var(--linie); }
.kurz li::before {
  content: '';
  position: absolute;
  left: 0.1em;
  top: 1.45em;
  width: 0.95em;
  height: 1.5px;
  background: var(--blau);
  transform: rotate(-45deg);
}

/* Bildband: Geräte der Seite in einer Reihe, wie in einer Ansicht aufgestellt */
.band { margin-top: clamp(28px, 3.6vw, 56px); border-block: 1px solid var(--linie); background: var(--stahl50); }
.band__reihe { display: flex; align-items: flex-end; justify-content: space-evenly; gap: clamp(8px, 2vw, 32px); padding-block: clamp(14px, 2vw, 26px) clamp(10px, 1.4vw, 18px); }
.band__reihe figure { flex: 1 1 0; min-width: 0; max-width: 240px; text-align: center; }
.band__reihe img { width: 100%; height: auto; }
.band__reihe figcaption { margin-top: 4px; color: var(--tinte-leise); font-size: 0.8125rem; line-height: 1.25; }
.band--schau { background: var(--weiss); border-bottom: 0; }

/* Sprungmarken */
.marken { border-bottom: 1px solid var(--linie); }
.marken ul { display: flex; flex-wrap: wrap; gap: 4px 6px; padding-block: 12px; }
.marken a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--blau);
  font-size: var(--t-klein);
  text-decoration: none;
  transition: background-color 0.16s;
}
.marken a:hover { background: var(--eis100); }

/* Abschnitt */
.seite .block { padding-block: clamp(56px, 6.4vw, 104px); }
/* Links die Überschrift, rechts der Text: So bleibt die Zeile kurz und die Seite hat einen Rand zum Überfliegen.
   Mit Bild rücken Überschrift und Text nach links, das Bild steht rechts. */
.seite .block h2 { font-size: clamp(1.75rem, 1.28rem + 1.8vw, 2.75rem); line-height: 1.1; }
.abschnitt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(32px, 5vw, 88px); align-items: start; }
.abschnitt__text > * + * { margin-top: 16px; }
.abschnitt__text > p { max-width: 40em; }
.abschnitt__text > p:first-child { font-size: var(--t-gross); line-height: 1.45; }
.abschnitt__text > .striche { margin-top: 22px; max-width: 40em; }
.abschnitt--bild { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.abschnitt--bild > h2,
.abschnitt--bild > .abschnitt__text { grid-column: 1; }
.abschnitt--bild > .abschnitt__bild { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.abschnitt__bild img { width: 100%; height: auto; }
.abschnitt__bild figcaption,
.abschnitt__danach { margin-top: 10px; color: var(--tinte-leise); font-size: var(--t-klein); }
.abschnitt__danach { margin-top: 18px; max-width: 44em; }
.abschnitt__text > .abschnitt__handeln { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.block--nacht .abschnitt__text > p { color: var(--eis200); }

/* Hinweis: was man wissen muss, bevor man weiterliest */
.hinweis {
  max-width: 40em;
  padding: 14px 18px;
  border-left: 3px solid var(--blau);
  background: var(--eis100);
}
.block--stahl .hinweis { background: var(--weiss); }

/* Schrittfolge */
.folge { counter-reset: folge; margin-top: 26px; max-width: 44em; border-top: 1px solid var(--rahmen); }
.folge li {
  counter-increment: folge;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  gap: 0 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--linie);
}
.folge li::before {
  content: counter(folge);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border: 1.5px solid var(--blau);
  border-radius: 50%;
  color: var(--blau);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.folge strong { font-weight: 500; font-size: var(--t-gross); line-height: 1.3; }
.folge span { grid-column: 2; color: var(--tinte-leise); }

/* Geräte in einer Reihe */
.reihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; margin-top: clamp(28px, 3.4vw, 48px); }
.reihe figure { text-align: center; }
.reihe img { width: 100%; height: auto; }
.reihe figcaption { color: var(--tinte-leise); font-size: var(--t-klein); line-height: 1.25; }

/* Tafel: Fakten als Tabelle, mit Quelle und Stand */
.tafel { margin-top: clamp(28px, 3.4vw, 48px); }
.tafel + .tafel { margin-top: clamp(36px, 4vw, 56px); }
.tafel--schmal { max-width: 46em; }
.tafel__titel { margin-bottom: 10px; font-size: var(--t-gross); font-weight: 500; }
.tafel__rolle { border: 1px solid var(--rahmen); background: var(--weiss); overflow-x: auto; }
.tafel table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.tafel th,
.tafel td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tafel thead th {
  border-bottom: 1px solid var(--linie);
  background: var(--stahl50);
  color: var(--tinte-leise);
  font-size: var(--t-klein);
  font-weight: 400;
  white-space: nowrap;
}
.tafel tbody th { font-weight: 500; }
.tafel tbody tr:last-child > * { border-bottom: 0; }
.tafel td + td,
.tafel th + td,
.tafel th + th { border-left: 1px solid var(--linie); }
.tafel__quelle { margin-top: 8px; color: var(--tinte-leise); font-size: 0.8125rem; }

/* Karten: Verweise auf andere Seiten */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 3.4vw, 48px); border: 1px solid var(--rahmen); background: var(--weiss); }
.karten > li { border-left: 1px solid var(--linie); border-top: 1px solid var(--linie); margin: -1px 0 0 -1px; }
.karte-verweis {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 20px 22px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.16s;
}
a.karte-verweis:hover { background: var(--eis100); }
.karte-verweis img { width: 100%; max-width: 260px; height: auto; margin: 0 auto 8px; }
.karten__text { display: block; padding-right: 2em; }
.karten__text strong { display: block; font-weight: 500; font-size: var(--t-gross); line-height: 1.25; }
.karten__text span { display: block; margin-top: 6px; color: var(--tinte-leise); font-size: 1rem; line-height: 1.4; }
.karte-verweis > .zeichen { position: absolute; right: 18px; bottom: 22px; color: var(--blau); transition: transform 0.16s; }
a.karte-verweis:hover > .zeichen { transform: translateX(4px); }
.block--verwandt { border-top: 1px solid var(--linie); }

.mensch__zusatz { color: var(--tinte-leise); font-size: var(--t-klein); }
.kopf__nav--kurz ul { justify-content: flex-end; }

/* Stand und Quellen */
.nachweis { padding-block: 22px 26px; background: var(--stahl50); color: var(--tinte-leise); font-size: var(--t-klein); }
.nachweis p { max-width: 60em; }
.nachweis details { margin-top: 8px; }
.nachweis summary { display: inline-block; padding: 6px 0; cursor: pointer; color: var(--blau); }
.nachweis ol { margin-top: 6px; padding-left: 1.4em; list-style: decimal; max-width: 60em; }
.nachweis li { margin-top: 4px; overflow-wrap: anywhere; }

@media (max-width: 899px) {
  .abschnitt,
  .abschnitt--bild { grid-template-columns: minmax(0, 1fr); }
  .abschnitt--bild > .abschnitt__bild { grid-column: 1; grid-row: auto; max-width: 420px; }
  .karten { grid-template-columns: minmax(0, 1fr); }
  .band__reihe { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x proximity; }
  .band__reihe figure { flex: 0 0 34%; scroll-snap-align: start; }
  .marken ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--rand)); padding-inline: calc(var(--rand) - 8px); scrollbar-width: none; }
  .marken ul::-webkit-scrollbar { display: none; }
  .marken a { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Tafel am Handy: jede Zeile ein Feld, die Spaltenköpfe stehen vor den Werten */
@media (max-width: 719px) {
  .tafel__rolle { overflow: visible; }
  .tafel table,
  .tafel tbody,
  .tafel tr,
  .tafel th,
  .tafel td { display: block; }
  .tafel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tafel tbody tr { padding: 10px 0; border-bottom: 1px solid var(--linie); }
  .tafel tbody tr:last-child { border-bottom: 0; }
  .tafel tbody th,
  .tafel td { padding: 4px 16px; border: 0 !important; }
  .tafel tbody th { font-size: var(--t-gross); }
  .tafel td::before { content: attr(data-spalte); display: block; color: var(--tinte-leise); font-size: 0.8125rem; }
  .tafel td:empty { display: none; }
}

/* ==========================================================================
   Startseite: Ergänzungen aus dem Inhaltskonzept (19.11.)
   Partnerzeile, Beleg, Branchen, Verweise im Sortiment, Hygiene-Express, Wissen
   ========================================================================== */

.start__partner { margin-top: 10px; color: var(--tinte-leise); font-size: var(--t-klein); }
.start__partner a { color: var(--tinte); font-weight: 500; text-underline-offset: 0.22em; text-decoration-color: var(--hellblau); }
.start__partner a:hover { color: var(--blau); }

/* Der Beleg zur Erzählung: ein Satz, groß gesetzt, mit Maßstrich */
.leistungen__beleg {
  position: relative;
  max-width: 30em;
  margin-top: clamp(32px, 4vw, 56px);
  padding-left: 1.6em;
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.leistungen__beleg::before {
  content: '';
  position: absolute;
  left: 0.1em;
  top: 0.62em;
  width: 1em;
  height: 2px;
  background: var(--blau);
  transform: rotate(-45deg);
}

.branchen,
.wissen { padding-block: var(--abstand); }
.branchen { background: var(--stahl50); }
.wissen { border-top: 1px solid var(--linie); }
.karten--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.karten--vier .karte-verweis img { max-width: 190px; }
@media (max-width: 1099px) { .karten--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .karten--vier { grid-template-columns: minmax(0, 1fr); } }

/* Sortiment: Die Gruppen sind Türen zu ihren Seiten */
.liste__gruppe a { text-decoration: none; background: linear-gradient(var(--hellblau), var(--hellblau)) left bottom / 100% 1.5px no-repeat; transition: color 0.16s, background-size 0.16s; }
.liste__gruppe a:hover { color: var(--blau); background-size: 100% 3px; }
.liste__partner { margin-top: 20px; max-width: 40em; line-height: 1.5; }
.liste__partner + .liste__partner { margin-top: 10px; color: var(--tinte-leise); }

.dienst__hinweis { margin-top: 14px; color: var(--eis200); font-size: var(--t-klein); }
.block--express { padding-block: clamp(48px, 6vw, 96px); }
.express__handeln { display: flex; flex-wrap: wrap; gap: 12px; }
.express__text p { max-width: 32em; }

.firma__mehr { margin-top: clamp(28px, 3.4vw, 48px); }

@media (max-width: 899px) {
  .express__handeln .knopf { flex: 1 1 100%; }
}

/* ==========================================================================
   Schaubilder (bau/schau.js, js/schau.js)
   Erklärende Zeichnungen mit Zuständen. Grau = geht so nicht, Blau = in Ordnung.
   ========================================================================== */

.schau { margin-top: clamp(28px, 3.4vw, 48px); }
.schau__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
/* Umschalter: Handlungen sind rund. Der gewählte Zustand ist gefüllt. */
.schau__wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.schau__wahl .kette__glied {
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--blau);
  border-radius: 999px;
  color: var(--blau);
  transition: background-color 0.16s, color 0.16s;
}
.schau__wahl .kette__glied::before,
.schau__wahl .kette__glied::after { display: none; }
.schau__wahl .kette__glied:hover { background: var(--eis100); }
.schau__wahl .kette__glied[aria-pressed='true'] { background: var(--blau); color: var(--weiss); box-shadow: none; }
.schau__flaeche { position: relative; border: 1px solid var(--rahmen); background: var(--weiss); overflow: hidden; --grenze: 100%; }
.schau__paar { position: relative; }
.schau__paar svg { display: block; }
/* Die graue Fassung liegt über der blauen und zeigt sich rechts der Grenze */
.schau__paar svg[data-farbe='grau'] {
  position: absolute;
  inset: 0;
  background: var(--weiss);
  clip-path: inset(0 0 0 var(--grenze));
  transition: clip-path 0.4s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.schau[data-modus='warm'] [data-zeigt='kalt'],
.schau[data-modus='kalt'] [data-zeigt='warm'] { display: none; }
.schau__schilder { position: absolute; inset: 0; pointer-events: none; }
.schau__schild {
  position: absolute;
  padding: 3px 9px 4px;
  border-radius: 999px;
  background: var(--blau);
  color: var(--weiss);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  text-align: center;
  transform: translate(-50%, -100%);
}
.schau__schild--uhr { border-radius: 12px; }
.schau__schild b { display: block; font-weight: 400; font-variant-numeric: tabular-nums; opacity: 0.85; }
.schau__schild b:empty { display: none; }
/* Marke bei drei Stunden: gestrichelte Linie mit Fähnchen */
.schau__marke {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--grenze);
  width: 0;
  border-left: 1.5px dashed var(--stahl600);
  transition: left 0.4s cubic-bezier(0.3, 0.7, 0.3, 1), opacity 0.2s;
}
.schau__marke span {
  position: absolute;
  left: 0;
  bottom: 8px;
  padding: 2px 8px 3px;
  background: var(--stahl600);
  color: var(--weiss);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.schau:not([data-ueber='ja']) .schau__marke { opacity: 0; }
/* Am Handy stehen das erste und das letzte Schild am Rand, damit keines abgeschnitten wird */
@media (max-width: 719px) {
  .schau--essensweg .schau__schild:first-child { left: 3px !important; transform: translate(0, -100%); }
  .schau--essensweg .schau__schild:last-child { left: auto !important; right: 3px; transform: translate(0, -100%); }
}
/* Der Wagen fährt einmal von der Küche zur Ausgabe, sobald das Schaubild zu sehen ist */
.schau[data-gesehen] .schau__wagen { animation: schau-fahrt 5s ease-in-out both; }
@keyframes schau-fahrt {
  0%, 8% { transform: translateX(calc(-1 * var(--fahrt))); }
  100% { transform: translateX(var(--fahrt)); }
}

/* Zeit als Maßkette unter der Zeichnung */
.zeitkette { position: relative; height: 62px; margin-top: 6px; }
.zeitkette__stueck {
  position: absolute;
  top: 0;
  bottom: 0;
  padding-top: 14px;
  border-top: 1px solid var(--rahmen);
  text-align: center;
  font-size: var(--t-klein);
  line-height: 1.3;
}
.zeitkette__stueck::before,
.zeitkette__stueck:last-child::after {
  content: '';
  position: absolute;
  left: 0;
  top: -9px;
  width: 1.5px;
  height: 17px;
  background: var(--nacht);
  transform: rotate(35deg);
}
.zeitkette__stueck:last-child::after { left: 100%; }
.zeitkette__stueck span { display: block; color: var(--tinte-leise); }
.zeitkette__stueck b { display: block; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Regler */
.schau__regler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(20px, 3vw, 48px); margin-top: 18px; }
.regler { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.regler__name { color: var(--tinte-leise); font-size: var(--t-klein); }
.regler output { font-weight: 500; font-variant-numeric: tabular-nums; }
.regler input[type='range'] { grid-column: 1 / -1; width: 100%; height: 32px; margin: 0; accent-color: var(--blau); cursor: pointer; }
.regler[data-ruht] { opacity: 0.55; }
.regler input:disabled { cursor: default; }
.schau__ergebnis {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--blau);
  background: var(--eis100);
  font-size: var(--t-gross);
  line-height: 1.4;
}
.block--stahl .schau__ergebnis { background: var(--weiss); }
.schau[data-ueber='ja'] .schau__ergebnis { border-left-color: var(--stahl600); background: var(--stahl100); }
.schau figcaption { margin-top: 12px; max-width: 60em; color: var(--tinte-leise); font-size: var(--t-klein); }

@media (max-width: 719px) {
  .schau__regler { grid-template-columns: minmax(0, 1fr); }
  .schau__schild { font-size: 0.625rem; padding: 2px 6px 3px; }
  .schau__schild b { display: none; }
  .zeitkette__stueck { font-size: 0.75rem; }
  /* Am Handy ist die Zeichnung breiter als der Bildschirm: Sie lässt sich seitlich schieben */
  .schau--breit .schau__flaeche { overflow-x: auto; }
}

/* ==========================================================================
   Abstimmung mit dem Kunden
   Mit ?erp in der Adresse sind die Angaben markiert, die aus den Geschäftsdaten stammen.
   ========================================================================== */

.zeige-erp [data-erp] { background: rgba(87, 167, 221, 0.34); }
.zeige-erp span[data-erp] {
  padding: 0.08em 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ?fragen: Annahmen, die rogatec noch bestätigen muss, mit der Nummer der Frage */
.zeige-fragen [data-annahme] {
  outline: 2px dashed var(--blau);
  outline-offset: 3px;
  background: rgba(87, 167, 221, 0.2);
}
.zeige-fragen [data-annahme]::after {
  content: 'Frage ' attr(data-annahme);
  display: inline-block;
  margin-left: 0.4em;
  padding: 0.05em 0.55em;
  border-radius: 999px;
  background: var(--tiefblau);
  color: var(--weiss);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: 0.12em;
}

/* ==========================================================================
   Weniger Bewegung
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .schau[data-gesehen] .schau__wagen { animation: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .karte__ring { display: none; }
}

/* ==========================================================================
   Kundendienst: Sicherheit, „Erst selbst prüfen“, Kopie der Meldung, Marken
   ========================================================================== */

.anfrage__kopf .anfrage__gas { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--nacht); background: var(--weiss); font-size: var(--t-klein); }
.anfrage__gas strong { font-weight: 500; }
.feld small.feld__hinweis { display: block; }
.fotozeile .feld__hinweis { margin-top: 8px; }
.einsatzort__weg { border: 0; background: none; font: inherit; cursor: pointer; }
.stufe__rest > * + * { margin-top: clamp(18px, 2vw, 26px); }

/* Haltebildschirm: erst sichern, dann melden. Bei Gasgeruch dunkel und ohne Weg weiter. */
.halt { padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--rahmen); background: var(--weiss); }
.halt:focus { outline: none; }
.halt > * + * { margin-top: 12px; }
.halt p { max-width: 38em; }
.halt .halt__titel { max-width: 24em; font-size: var(--t-h3); font-weight: 500; line-height: 1.2; }
.halt__handeln { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.halt--stopp { background: var(--nacht); color: var(--weiss); }
.halt--stopp .verweis { color: var(--weiss); }

/* Handgriffe zu den angetippten Merkmalen */
.selbst { padding: 18px 22px 20px; border-left: 3px solid var(--blau); background: var(--eis100); }
.selbst__titel { font-size: var(--t-gross); font-weight: 500; }
.selbst__text { max-width: 46em; margin-top: 4px; color: var(--tinte-leise); font-size: var(--t-klein); }
.selbst__punkt { margin-top: 14px; }
.selbst__merkmal { font-weight: 500; }
.selbst .striche { margin-top: 4px; }
.selbst [data-selbst-geholfen] { margin-top: 14px; }
.zeige-fragen .selbst__punkt[data-beleg='branche'] .selbst__merkmal::after { content: ' (Branchenwissen, vom Kundendienst zu bestätigen)'; color: var(--tinte-leise); font-weight: 400; }

/* Nach dem Absenden: Kopie für die eigenen Unterlagen */
.kopie { margin-top: 22px; padding: 18px 22px 20px; border: 1px solid var(--rahmen); background: var(--weiss); }
.kopie__titel { font-weight: 500; }
.kopie__felder { margin-top: 10px; border-top: 1px solid var(--linie); }
.kopie__felder > div { display: grid; grid-template-columns: minmax(7em, 11em) minmax(0, 1fr); gap: 4px 16px; padding: 7px 0; border-bottom: 1px solid var(--linie); font-size: var(--t-klein); }
.kopie__felder dt { color: var(--tinte-leise); }
.kopie__felder dd { overflow-wrap: anywhere; }
.kopie__text { margin-top: 10px; color: var(--tinte-leise); font-size: var(--t-klein); }
.fertig .kopie .knopf { margin-top: 12px; }
.fertig__gas { margin-top: 18px; font-size: var(--t-klein); }

.dreier__mehr { margin-top: 10px; font-size: var(--t-klein); }

/* Posten: benannte Einträge mit eigenem Anker, zum Beispiel je Marke */
.posten { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--rahmen); }
.posten > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linie); scroll-margin-top: 120px; }
.posten h3 { font-size: var(--t-gross); font-weight: 500; }
.posten p { max-width: 48em; margin-top: 2px; color: var(--tinte-leise); }
.posten > li:target { background: var(--eis100); box-shadow: -14px 0 0 var(--eis100), 14px 0 0 var(--eis100); }
@media (max-width: 719px) {
  .posten > li { grid-template-columns: minmax(0, 1fr); }
  .posten .knopf { justify-self: start; }
  .kopie__felder > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .halt__handeln .knopf { flex: 1 1 100%; }
}

/* Druckblatt: Was gedruckt werden soll, legt das Skript als eigenes Blatt an (Kopie der Störungsmeldung). */
.druckblatt { display: none; }
@media print {
  html[data-druck='blatt'] body > *:not(.druckblatt) { display: none !important; }
  html[data-druck='blatt'] .druckblatt { display: block; color: #000; font-size: 11pt; }
  .druckblatt h1 { margin: 14pt 0 10pt; font-size: 18pt; font-weight: 500; }
  .druckblatt dl > div { display: grid; grid-template-columns: 11em 1fr; gap: 12pt; padding: 4pt 0; border-bottom: 0.5pt solid #999; }
  .druckblatt dl > div::after { content: none !important; }
  .druckblatt p:last-child { margin-top: 14pt; font-size: 9pt; }
}

@media print {
  .kopf, .leiste, .werk__fuss { display: none !important; }
  .finder, .dienst { background: none; color: var(--tinte); }
  .anliegen__feld[hidden] { display: block; }
}

/* ==========================================================================
   Flächen statt Rahmen (seit 25.11.)
   Nico: Die dünnen dunklen Rahmen wirken altmodisch. Was vorher ein Kasten mit Strich war, ist jetzt eine
   Fläche mit runden Ecken: hell auf Edelstahl, Edelstahl auf Weiß. Linien bleiben nur als feine Teiler.
   Diese Regeln stehen am Ende, damit sie für alle Bausteine darüber gelten.
   ========================================================================== */

.kurz,
.tafel__rolle,
.schau__flaeche,
.dreier,
.express--rand,
.fertig,
.zettel,
.halt,
.kopie,
.kombigroessen__daten,
.kdt__blatt,
.bestell__zettel,
.wasserkarte__ort,
.wasserkarte__schnitt { border-radius: var(--rund); }
.kurz,
.dreier,
.schau__flaeche,
.express--rand,
.kombigroessen__daten,
.kdt__blatt,
.bestell__zettel,
.wasserkarte__ort { overflow: hidden; }
.feld input { border-radius: var(--rund-klein); border-color: var(--stahl300); }

/* Karten: einzelne Flächen mit Abstand statt eines Gitters aus Strichen. Der Pfeil sitzt in einer runden Taste. */
.karten { gap: clamp(12px, 1.4vw, 20px); border: 0; background: none; }
.karten > li { margin: 0; border: 0; }
.karte-verweis {
  padding: 22px 24px 26px;
  border-radius: var(--rund);
  background: var(--stahl50);
  transition: background-color 0.2s;
}
.branchen .karte-verweis,
.block--stahl .karte-verweis,
.fragen .karte-verweis { background: var(--weiss); }
a.karte-verweis:hover { background: var(--eis100); }
.karten__text { padding-right: 3em; }
.karte-verweis > .zeichen {
  right: 18px;
  bottom: 20px;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  background: var(--weiss);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.branchen .karte-verweis > .zeichen,
.block--stahl .karte-verweis > .zeichen,
.fragen .karte-verweis > .zeichen { background: var(--stahl50); }
a.karte-verweis:hover > .zeichen { background: var(--blau); color: var(--weiss); transform: translateX(3px); }

/* Beratungstermin: eine Fläche in rogatec-Blau. Sie ist die eine Stelle im Abschnitt, an der gehandelt wird. */
.termin {
  --fokus: var(--weiss);
  padding: clamp(28px, 3.4vw, 48px);
  border: 0;
  border-radius: var(--rund);
  background: var(--blau);
  color: var(--weiss);
}
.termin__text p { color: var(--eis100); }
.termin .feld span { color: var(--eis100); }
.termin .feld input { border: 0; }
.termin .feld input:focus-visible { outline: 3px solid var(--weiss); outline-offset: 2px; }
.termin .feld input[aria-invalid='true'] { box-shadow: inset 0 -4px 0 var(--nacht); }
.termin .knopf--voll { background: var(--weiss); color: var(--blau); }
.termin .knopf--voll:hover { background: var(--eis100); }
.termin .formular__hinweis { color: var(--eis200); }
.termin .formular__antwort small { color: var(--eis100); }

/* Branchen: je Branche der Ort, an dem der Weg eines Gerichts endet. Große Zeichnung, darunter Name und Text. */
.orte {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(32px, 4vw, 56px);
}
.ort {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--rund);
  background: var(--weiss);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.ort__bild { position: relative; display: block; padding: clamp(20px, 2.4vw, 36px) clamp(20px, 2.4vw, 36px) 0; }
.ort__bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
a.ort:hover .ort__bild img { transform: scale(1.03); }
.ort__wo {
  position: absolute;
  top: clamp(16px, 1.8vw, 24px);
  left: clamp(16px, 1.8vw, 24px);
  padding: 5px 13px 6px;
  border-radius: 999px;
  background: var(--stahl50);
  color: var(--tiefblau);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
}
.ort__text { display: block; padding: clamp(14px, 1.6vw, 22px) clamp(72px, 7vw, 96px) clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 36px); }
.ort__text strong { display: block; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.012em; }
.ort__text span { display: block; max-width: 28em; margin-top: 8px; color: var(--tinte-leise); line-height: 1.45; }
.ort > .zeichen {
  position: absolute;
  right: clamp(20px, 2.2vw, 32px);
  bottom: clamp(22px, 2.4vw, 34px);
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  padding: 13px;
  border-radius: 50%;
  background: var(--stahl50);
  color: var(--blau);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
a.ort:hover > .zeichen { background: var(--blau); color: var(--weiss); transform: translateX(3px); }
@media (max-width: 699px) {
  .orte { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ort__bild img { transition: none; }
}

/* Unternehmen: Die Angaben liegen wie Gastronorm-Behälter in einer Theke aus Edelstahl, verschieden groß auf
   einem Raster. Jeder Behälter hat den Kragen, den man von oben sieht: außen der Rand, innen die Wanne. */
.firma { background: var(--stahl100); border-block: 1px solid var(--stahl200); }
.behaelter {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(36px, 4.6vw, 64px);
}
.beh {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  padding: clamp(20px, 2vw, 28px);
  border-radius: 24px;
  background: var(--weiss);
  box-shadow: inset 0 0 0 1px var(--stahl300), inset 0 0 0 7px var(--stahl50), inset 0 0 0 8px var(--stahl200);
}
.beh dt { color: var(--tinte-leise); font-size: var(--t-klein); }
.beh dd { display: flex; flex-direction: column; flex: 1; margin-top: 8px; font-size: var(--t-gross); line-height: 1.35; }
.beh__gross {
  display: block;
  margin: auto 0 6px;
  color: var(--blau);
  font-size: clamp(4rem, 2.6rem + 5.4vw, 7.25rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.beh--jahr { grid-column: span 4; }
.beh--gebiet { grid-column: span 8; }
.beh--gebiet dd { flex-direction: row; align-items: flex-end; gap: clamp(16px, 2vw, 32px); }
.beh--gebiet .beh__satz { flex: 1 1 0; max-width: 17em; margin-bottom: auto; }
.umriss { flex: 0 1 56%; width: 56%; height: auto; margin: -1.4rem 0 -0.4rem; overflow: visible; }
.umriss__land { fill: var(--eis100); stroke: var(--blau); stroke-width: 2.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-width: 1px; }
.umriss__ring { fill: var(--blau); opacity: 0.16; }
.umriss__ort { fill: var(--blau); stroke: var(--weiss); stroke-width: 5; }
.beh--partner { grid-column: span 6; }
.beh--standort { grid-column: span 7; }
.beh--standort dd { flex-direction: row; align-items: flex-end; gap: clamp(12px, 1.6vw, 24px); }
.beh--standort .beh__satz { flex: 1 1 0; max-width: 15em; margin-bottom: auto; }
.beh--standort img { flex: 0 1 54%; width: 54%; height: auto; margin: -1.2rem 0 -0.3rem; }
.beh--fuer { grid-column: span 5; }
.firma .karte-verweis {
  border-radius: 24px;
  background: var(--weiss);
  box-shadow: inset 0 0 0 1px var(--stahl300), inset 0 0 0 7px var(--stahl50), inset 0 0 0 8px var(--stahl200);
  padding: clamp(22px, 2.2vw, 30px);
}
.firma a.karte-verweis:hover { background: var(--eis100); }
.firma .karte-verweis > .zeichen { right: 24px; bottom: 24px; background: var(--stahl50); }
.firma__mehr { margin-top: clamp(10px, 1.2vw, 16px); gap: clamp(10px, 1.2vw, 16px); }
@media (max-width: 1099px) {
  .beh,
  .beh--partner { grid-column: span 6; }
  .beh--jahr,
  .beh--gebiet,
  .beh--standort,
  .beh--fuer { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .beh,
  .beh--partner { grid-column: 1 / -1; min-height: 0; }
  .beh--gebiet dd,
  .beh--standort dd { flex-direction: column; align-items: stretch; }
  .umriss,
  .beh--standort img { flex: none; width: 100%; margin: 12px 0 0; }
}

/* Hygiene-Express auf der Startseite: eine Fläche in hellem Blau statt eines Kastens mit Rand */
.express--rand { border: 0; background: var(--eis100); }
/* Lageplan und Angaben im Fuß bilden eine Fläche mit runden Ecken */
.lage { border-radius: var(--rund) var(--rund) 0 0; overflow: hidden; }
.fuss__feld { border-radius: 0 0 var(--rund) var(--rund); background: var(--weiss); }

/* Unternehmen bei mittlerer Breite: keine halben Reihen */
@media (max-width: 1099px) {
  .beh--partner { grid-column: 1 / -1; min-height: 0; }
}
@media (min-width: 900px) {
  .firma__mehr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Zeitschnitt: runde Ecken wie die anderen Flächen. Der Rahmen liegt über den Lagen und deckt deren Ecken ab. */
@media (min-width: 760px) {
  .schritte::before { border-radius: var(--rund); box-shadow: 0 0 0 12px var(--weiss); }
}

/* Branchenseiten: Unter dem Titel steht der Ort der Branche als Zeichnung, mittig auf einem Band aus Edelstahl. */
.band--ort { border-block: 0; }
.band__ort { position: relative; padding-block: clamp(18px, 2.4vw, 36px); }
.band__ort img { display: block; width: auto; max-width: 100%; height: clamp(230px, 27vw, 400px); margin-inline: auto; }
.band__ort .ort__wo { top: clamp(18px, 2.4vw, 36px); left: 0; background: var(--weiss); }

/* ==========================================================================
   Durchsicht aller Seiten vor der Vorführung (25.11.)
   Befunde der Prüfer, am Baustein behoben.
   ========================================================================== */

/* Kästen, die noch eckig waren, sind Flächen mit runden Ecken */
.anfrage__ablauf,
.ruf,
.foto,
.hinweis,
.anfrage__gas,
.plan__blatt,
.zettel__bild,
.stoerfall img,
.kdt__uebersicht,
.kdt__lage { border-radius: var(--rund); }
.plan__blatt { overflow: hidden; border: 0; }
.kachel,
.liste__geraete img,
.geraete__reihe figure img,
.kdt__beispiel strong { border-radius: var(--rund-klein); }
.liste__geraete img,
.geraete__reihe figure img { border: 0; }
.liste__zeile[data-aktiv] { border-radius: var(--rund); }
.kachel { border-color: transparent; background: var(--stahl50); }
.kachel:hover { background: var(--eis100); }
.kachel:has(input:checked) { border-color: var(--blau); background: var(--eis100); }
/* Hinweise: Fläche statt Balken */
.hinweis,
.anfrage__gas { border-left: 0; }
/* Kurz gesagt und Dreier: Fläche statt Umriss */
.kurz,
.dreier { border: 0; background: var(--stahl50); }
.kurz__titel { border-bottom-color: var(--stahl200); background: none; }
.block--stahl .dreier { background: var(--weiss); }
/* Fuß: eine Fläche aus Edelstahl, die Teiler bleiben */
.lage,
.lage__fuss,
.fuss__feld { border-color: transparent; }
.lage__fuss,
.fuss__feld { background: var(--stahl50); }
.fuss__feld:first-child { border-radius: var(--rund); }

/* Lange Gerätenamen in den kleinen Kacheln brechen um, statt über den Rand zu ragen */
.kachel span { overflow-wrap: anywhere; }
.kacheln--klein .kachel span { font-size: 0.8125rem; }

/* Schrittfolge und Verweise auf Nachtblau */
.block--nacht .folge { border-top-color: rgba(152, 181, 217, 0.4); }
.block--nacht .folge li { border-bottom-color: rgba(152, 181, 217, 0.28); }
.block--nacht .folge span { color: var(--eis200); }
.block--nacht .folge strong,
.block--nacht .folge strong span { color: var(--weiss); }
.block--nacht .folge li::before { border-color: var(--hellblau); color: var(--hellblau); }
.block--nacht .verweis { color: var(--weiss); text-decoration-color: var(--hellblau); }

/* Brotkrümel: Jede Stufe sitzt auf derselben Linie */
.pfad li { padding: 0; }
.pfad li[aria-current] { padding: 8px 0; }

/* Je Knopfgruppe genau eine gefüllte Handlung: Fehlt sie, füllt sich der erste Knopf */
.titel__handeln:not(:has(.knopf--voll)) > .knopf--linie:first-child { border-color: var(--blau); background: var(--blau); color: var(--weiss); }
.titel__handeln:not(:has(.knopf--voll)) > .knopf--linie:first-child:hover { border-color: var(--tiefblau); background: var(--tiefblau); }
.schluss__handeln:not(:has(.knopf--hell)) > .knopf--hell-linie:first-child { border-color: var(--weiss); background: var(--weiss); color: var(--blau); }

/* Vier Karten stehen zu viert oder zwei mal zwei, nie drei und eine */
@media (min-width: 1100px) {
  .karten:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Zwei Abschnitte auf derselben Fläche hintereinander: nur ein Abstand */
.block--stahl + .fragen { padding-top: 0; }

/* Englische Kurzseite: Die zwei Verweise im Kopf bleiben auch schmal sichtbar */
@media (max-width: 1239px) {
  .js .kopf__nav--kurz { position: static; inset: auto; margin: 0 0 0 auto; padding: 0; background: none; transform: none; transition: none; visibility: visible; opacity: 1; overflow: visible; }
  .js .kopf__nav--kurz ul { flex-direction: row; gap: 16px; }
  .js .kopf__nav--kurz li { border-bottom: 0; }
  .js .kopf__nav--kurz ul a { padding: 10px 0; font-size: 1rem; }
}

/* Hygiene-Express am Handy: Lange Knöpfe dürfen umbrechen */
@media (max-width: 599px) {
  .express__handeln .knopf { white-space: normal; padding-block: 12px; line-height: 1.2; text-align: center; }
  .titel__handeln .knopf { flex: 1 1 100%; }
}

/* Newsletter: eine Fläche in hellem Blau, der Knopf gefüllt */
.neues { border-top: 0; }
.neues__raster { padding: clamp(24px, 3vw, 44px); border-radius: var(--rund); background: var(--eis100); }
.neues .knopf--linie { border-color: var(--blau); background: var(--blau); color: var(--weiss); }
.neues .knopf--linie:hover { border-color: var(--tiefblau); background: var(--tiefblau); }
.neues .feld input { border-color: transparent; }

/* Schaubild Kundendienst-Tag: Namen in der Karte lesbar */
.kdt__name { color: var(--stahl600); }

/* Karte am Handy: nur der Sitz ist beschriftet, die übrigen Namen lägen auf der Küste */
@media (max-width: 599px) {
  .karte__name:not(.karte__name--sitz) { display: none; }
}

/* Unternehmen: schlichte weiße Flächen ohne Ring, die Zahlen groß */
.beh,
.firma .karte-verweis { border-radius: var(--rund); box-shadow: none; }
.beh__mittel {
  display: block;
  margin: auto 0 4px;
  color: var(--blau);
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.beh dd > span[data-annahme] { display: flex; flex-direction: column; flex: 1; }
.beh__liste { margin-top: 2px; font-size: var(--t-text); line-height: 1.35; }
.beh__liste li + li { margin-top: 0.4em; }

/* Tafeln: Fläche statt Umriss; schmale Tafeln stehen in der rechten Spalte unter dem Text, nicht links allein */
.tafel__rolle { border: 0; background: var(--stahl50); }
.block--stahl .tafel__rolle { background: var(--weiss); }
@media (min-width: 900px) {
  .tafel--schmal { width: calc((100% - clamp(32px, 5vw, 88px)) * 7 / 12); max-width: none; margin-left: auto; }
}
/* Ergebnis eines Schaubilds: runde Fläche ohne Balken */
.schau__ergebnis { border-left: 0; border-radius: var(--rund); }
/* Bilder in Karten: gleiche Bildfläche, damit die Titel einer Reihe auf einer Höhe stehen */
.karte-verweis img { aspect-ratio: 220 / 170; object-fit: contain; }
/* Fünf Karten in einer Reihe statt drei und zwei */
@media (min-width: 1240px) {
  .karten:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.reihe figcaption { overflow-wrap: anywhere; hyphens: auto; }
.mensch__zusatz { display: block; margin-top: 4px; }
/* Rollbänder am Handy laufen am rechten Rand weich aus: Da geht es weiter. */
@media (max-width: 899px) {
  .band__reihe,
  .marken ul { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
}
@media (max-width: 599px) {
  .schau__wahl { flex-wrap: wrap !important; overflow-x: visible !important; }
  .lage__knoepfe { top: 16px; bottom: auto; }
}

/* Schlussband: Verweise in Weiß (vorher Blau auf Blau), Knöpfe stehen immer rechts neben dem Text */
.schluss .verweis { color: var(--weiss); text-decoration-color: var(--hellblau); }
@media (min-width: 900px) {
  .schluss__raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .schluss h2 { max-width: 18em; }
}
/* Karten: Der Text einer Karte bleibt am Stück, auch wenn eine Annahme darin markiert ist */
.karten__text span span { display: inline; margin-top: 0; }
/* Acht Karten in zwei Reihen zu vier */
@media (min-width: 1100px) {
  .karten:has(> li:nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Karten am Handy: Bild klein links, Text rechts. So bleiben lange Kartenlisten kurz. */
@media (max-width: 599px) {
  .karte-verweis:has(> img) { flex-direction: row; align-items: center; gap: 14px; padding: 14px 58px 14px 14px; }
  .karte-verweis:has(> img) > img { flex: none; width: 84px; max-width: 84px; margin: 0; }
  .karte-verweis:has(> img) .karten__text { padding-right: 0; }
  .karte-verweis:has(> img) > .zeichen { right: 12px; bottom: 50%; transform: translateY(50%); }
  a.karte-verweis:has(> img):hover > .zeichen { transform: translate(3px, 50%); }
}
/* Abschnitt mit Bild: Der Text schließt an die Überschrift an, auch wenn das Bild höher ist */
.abschnitt--bild { grid-template-rows: auto 1fr; }
.abschnitt--bild > .abschnitt__bild { align-self: start; }
.abschnitt__bild img[src*='img/geraet-'] { display: block; max-width: 320px; margin-inline: auto; }
/* Reihe kleiner Zeichnungen: in der rechten Spalte unter dem Text */
@media (min-width: 900px) {
  .abschnitt + .reihe,
  .tafel + .reihe { width: calc((100% - clamp(32px, 5vw, 88px)) * 7 / 12); margin-left: auto; }
}
/* Mehrere Abschnitte auf Edelstahl hintereinander: nur ein Abstand dazwischen */
.block--stahl + .block--stahl { padding-top: 0; }
/* Überschriften laufen ausgeglichen um */
h2 { text-wrap: balance; }
/* Geräteband am Handy: Bis drei Zeichnungen stehen nebeneinander, mehr rollen und zeigen zweieinhalb */
@media (max-width: 899px) {
  .band__reihe figure { flex: 0 0 38%; }
  .band__reihe:not(:has(> figure:nth-child(4))) { overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  .band__reihe:not(:has(> figure:nth-child(4))) figure { flex: 1 1 0; }
  .band__reihe figcaption { overflow-wrap: anywhere; hyphens: auto; }
}
.pfad { row-gap: 0; }

/* ==========================================================================
   Fuß (seit 25.11.): dunkel, als Abschluss der Seite. Oben die Nummer und der Lageplan, darunter alle Seiten
   in Spalten, am Ende das Logo auf Weiß.
   ========================================================================== */
.fuss {
  --fokus: var(--weiss);
  padding-block: clamp(48px, 6vw, 96px) 28px;
  border-top: 0;
  background: var(--nacht);
  color: var(--weiss);
}
.fuss__kopf {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: stretch;
}
.fuss__kopf--allein { grid-template-columns: minmax(0, 1fr); }
.fuss__ruf { display: flex; flex-direction: column; align-items: flex-start; }
.fuss__frage { max-width: 22em; color: var(--graublau); font-size: var(--t-gross); line-height: 1.4; }
.fuss__nummer {
  margin-top: 14px;
  color: var(--weiss);
  font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s;
}
.fuss__nummer:hover { color: var(--hellblau); }
.fuss .zeiten,
.fuss__zeit { margin-top: 16px; color: var(--graublau); font-size: var(--t-klein); }
.fuss .zeiten__jetzt { color: var(--weiss); }
.fuss .zeiten[data-offen='ja'] .zeiten__punkt { border-color: var(--hellblau); background: var(--hellblau); }
.fuss__wege { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 34px); }
.fuss__anschrift { margin-top: auto; padding-top: clamp(24px, 3vw, 40px); color: var(--eis200); font-style: normal; line-height: 1.5; }

/* Der Lageplan liegt als helle Karte im dunklen Fuß */
.fuss .lage { align-self: stretch; display: flex; flex-direction: column; border: 0; border-radius: var(--rund); background: var(--stahl50); color: var(--tinte); --fokus: var(--blau); overflow: hidden; }
.fuss .lage__plan { flex: 1; height: auto; min-height: clamp(260px, 26vw, 360px); }
.fuss .lage__fuss { border: 0; background: var(--weiss); }

/* Alle Seiten in Spalten */
.fuss__seiten {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.1fr) minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px clamp(20px, 2.6vw, 40px);
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(28px, 3.4vw, 44px) 0 0;
  border-top: 1px solid rgba(152, 181, 217, 0.28);
}
.fuss__seiten--kurz { grid-template-columns: minmax(0, 1fr); }
.fuss__titel { margin-bottom: 10px; color: var(--graublau); font-size: var(--t-klein); font-weight: 400; letter-spacing: 0; }
.fuss__titel--zwei { margin-top: 26px; }
.fuss__titel a { color: inherit; text-decoration: underline; text-decoration-color: rgba(152, 181, 217, 0.5); text-underline-offset: 0.22em; }
.fuss__titel a:hover { color: var(--weiss); }
.fuss__spalte li a {
  display: inline-block;
  padding: 5px 0;
  color: var(--weiss);
  line-height: 1.3;
  text-decoration: none;
  background: linear-gradient(var(--hellblau), var(--hellblau)) 0 calc(100% - 3px) / 0 1.5px no-repeat;
  transition: background-size 0.2s, color 0.2s;
}
.fuss__spalte li a:hover { background-size: 100% 1.5px; }
.fuss__spalte--breit ul { columns: 2; column-gap: clamp(20px, 2.6vw, 40px); }
.fuss__spalte--breit li { break-inside: avoid; }

/* Schluss: das Logo unverändert auf Weiß, daneben Name und Rechtliches */
.fuss__ende {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(36px, 4.4vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(152, 181, 217, 0.28);
  color: var(--graublau);
  font-size: var(--t-klein);
}
.fuss__logo { padding: 10px 16px 9px; border-radius: var(--rund-klein); background: var(--weiss); }
.fuss__logo img { display: block; width: 132px; height: auto; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 0 auto; }
@media (max-width: 1099px) {
  .fuss__seiten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss__spalte--breit { grid-column: span 2; }
}
@media (max-width: 899px) {
  .fuss { padding-bottom: 96px; }
  .fuss__kopf { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .fuss__seiten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__spalte--breit { grid-column: 1 / -1; }
  .fuss__wege .knopf { flex: 1 1 100%; }
  .fuss__recht { margin-left: 0; }
}
/* Lageplan und seine Fußzeile stehen zusammen in der rechten Spalte */
.fuss__kopf { grid-template-areas: 'ruf karte' 'ruf zeile'; grid-template-rows: 1fr auto; row-gap: 0; }
.fuss__kopf--allein { grid-template-areas: 'ruf'; grid-template-rows: auto; }
.fuss__ruf { grid-area: ruf; }
.fuss .lage { grid-area: karte; border-radius: var(--rund) var(--rund) 0 0; }
.fuss .lage__fuss { grid-area: zeile; border-radius: 0 0 var(--rund) var(--rund); color: var(--tinte); }
@media (max-width: 899px) {
  .fuss__kopf { grid-template-areas: 'ruf' 'karte' 'zeile'; grid-template-rows: auto; }
  .fuss .lage { margin-top: clamp(28px, 5vw, 40px); }
}
/* Die Häuser der Branchen sind höher als breit gedacht: Bildfläche 6 zu 5 */
.ort__bild img { aspect-ratio: 6 / 5; }
.band__ort img { height: clamp(280px, 34vw, 480px); }

/* Durchsicht, dritter Bericht */
h1 { text-wrap: balance; }
/* Die kleine Anschlusszeile steht unter dem Text in der rechten Spalte, nicht links allein */
@media (min-width: 900px) {
  .abschnitt:not(.abschnitt--bild) ~ .abschnitt__danach { width: calc((100% - clamp(32px, 5vw, 88px)) * 7 / 12); max-width: none; margin-left: auto; }
}
/* Knöpfe in Abschnitten am Handy: volle Breite wie im Titel und im Schluss */
@media (max-width: 599px) {
  .abschnitt__handeln .knopf,
  .mensch__wege .knopf { flex: 1 1 100%; justify-content: center; }
  .karte-verweis:has(> img) > img { width: 64px; max-width: 64px; }
  .schau__schild { font-size: 0.75rem; }
}
/* Grundrisse als Abschnittsbild: auf runder Fläche mit Abstand, damit die dunklen Wände nicht wie ein Rahmen wirken */
.abschnitt__bild img[src$='plan.svg'],
.abschnitt__bild img[src$='schritt-2.svg'],
.abschnitt__bild img[src$='grundriss.svg'] { box-sizing: border-box; padding: 14px; border-radius: var(--rund); background: var(--stahl50); }
/* Marke „3 Stunden“ im Schaubild: rund wie die Schilder */
.schau__marke span { border-radius: 999px; }
/* Drei-Stunden-Rechner am Handy: Die Schilder dürfen über die Fläche hinausragen, statt abgeschnitten zu werden */
@media (max-width: 599px) {
  .schau--essensweg .schau__flaeche { margin-top: 26px; overflow: visible; }
}
/* Szenen neben dem Text: hohe Zeichnungen werden begrenzt, damit sie den Abschnitt nicht in die Länge ziehen */
.abschnitt__bild img[src*='img/szene-'] { max-height: 460px; object-fit: contain; }
/* Bei langen Abschnitten läuft das Bild neben dem Text mit */
@media (min-width: 900px) {
  .abschnitt--bild > .abschnitt__bild { position: sticky; top: calc(var(--kopfhoehe) + 24px); }
}
/* Am Handy steht das Bild eines Abschnitts gleich unter der Überschrift, nicht erst nach dem ganzen Text */
@media (max-width: 899px) {
  .abschnitt--bild > .abschnitt__bild { order: 1; position: static; margin-inline: auto; }
  .abschnitt--bild > .abschnitt__text { order: 2; }
}
/* Gerätereihe unter einem Abschnitt mit Bild: über die ganze Breite, weil der Text dort links steht */
@media (min-width: 900px) {
  .abschnitt--bild + .reihe { width: auto; margin-left: 0; grid-template-columns: repeat(auto-fit, minmax(130px, 170px)); }
  .abschnitt--bild ~ .abschnitt__danach { max-width: 62ch; }
}

/* Rechtsseiten (Impressum, Datenschutz): kein Kasten „Kurz gesagt“ und kein Bildband, deshalb Abstand unter dem Titel */
.seite--recht .titel--seite { padding-bottom: clamp(36px, 5vw, 64px); }
/* Lange Rechtstexte: ruhige Lesegröße, Zwischenüberschriften, hervorgehobene Absätze */
.seite--recht .abschnitt__text > p:first-child { font-size: inherit; line-height: inherit; }
.seite--recht .abschnitt__text > p,
.seite--recht .abschnitt__text > .striche { max-width: 44em; }
.seite--recht .abschnitt__text > h3 { margin-top: 40px; font-size: var(--t-gross); font-weight: 500; line-height: 1.25; max-width: 30em; }
.seite--recht .abschnitt__text > h3:first-child { margin-top: 0; }
.seite--recht .abschnitt__text > h4 { margin-top: 26px; font-size: 1rem; font-weight: 600; line-height: 1.35; max-width: 34em; }
.seite--recht .abschnitt__text > h3 + h4 { margin-top: 14px; }
.seite--recht .recht__laut { padding: 18px 20px; border-radius: var(--rund-klein); background: var(--stahl50); font-size: var(--t-klein); line-height: 1.6; letter-spacing: 0.02em; }
.seite--recht .block--stahl .recht__laut { background: var(--weiss); }
.seite--recht .abschnitt > h2 { overflow-wrap: break-word; }
@media (min-width: 1100px) {
  .seite--recht .abschnitt > h2 { position: sticky; top: calc(var(--kopfhoehe) + 24px); }
}

/* Tischkultur im Sortiment der Startseite: eigene Karte unter der Liste, damit der Bereich nicht in der Reihe untergeht */
.tisch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 150px) minmax(0, 1fr);
  gap: 6px 20px;
  align-items: center;
  margin-top: 26px;
  padding: 18px 56px 20px 18px;
  border-radius: var(--rund);
  background: var(--eis100);
  color: inherit;
  text-decoration: none;
}
.tisch img { width: 100%; height: auto; }
.tisch__text { display: block; }
.tisch__ober { display: block; color: var(--blau); font-size: var(--t-klein); }
.tisch__text strong { display: block; margin-top: 2px; font-weight: 500; font-size: var(--t-gross); line-height: 1.25; }
.tisch__text > span:last-child { display: block; margin-top: 6px; color: var(--tinte-leise); line-height: 1.45; }
.tisch > .zeichen { position: absolute; right: 20px; bottom: 22px; color: var(--blau); transition: transform 0.16s; }
.tisch:hover > .zeichen { transform: translateX(4px); }
.tisch:hover strong { color: var(--blau); }
@media (max-width: 520px) {
  .tisch { grid-template-columns: minmax(0, 1fr); padding-right: 18px; padding-bottom: 52px; }
  .tisch img { max-width: 170px; }
}

/* Zwei statt drei Karten unter dem Steckbrief, solange die Karriere-Seite ausgeschaltet ist */
@media (min-width: 700px) { .firma__mehr.firma__mehr--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Schlichter Abschnitt (Impressum): eine Textspalte ohne Fläche und ohne große Überschrift daneben */
.block--schlicht { padding-top: 0; }
.seite--recht main:has(.block--schlicht) .titel__raster { padding-bottom: 0; min-height: 0; }
.block--schlicht .abschnitt { display: block; }
.block--schlicht .abschnitt > h2 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seite--recht .block--schlicht .abschnitt__text > p { max-width: 36em; font-size: 1rem; line-height: 1.6; }
.seite--recht .block--schlicht .abschnitt__text > h3 { margin-top: 32px; font-size: 1.125rem; font-weight: 600; }
.seite--recht .block--schlicht .abschnitt__text > h3 + p { margin-top: 8px; }
.seite--recht main:has(.block--schlicht) .titel--seite { padding-bottom: 0; }
.block--schlicht .rahmen { padding-top: clamp(20px, 2.4vw, 32px); }

/* Logoleiste der Hersteller: weiße Fläche, damit die Logos in ihren eigenen Farben stehen; gleiche optische Höhe */
.hersteller { padding-block: clamp(36px, 4.4vw, 64px); background: var(--weiss); border-block: 1px solid var(--linie); }
.hersteller__titel { font-size: var(--t-klein); font-weight: 400; color: var(--tinte-leise); letter-spacing: 0.01em; }
.hersteller__leiste { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(22px, 2.6vw, 36px) clamp(28px, 4vw, 60px); margin-top: clamp(18px, 2vw, 26px); padding: 0; list-style: none; }
.hersteller__leiste li { display: flex; align-items: center; }
.hersteller__leiste a { display: block; border-radius: 4px; }
.hersteller__leiste img { display: block; width: auto; height: clamp(26px, 2.4vw, 34px); max-width: 100%; }
.hersteller__leiste img[height="58"] { height: clamp(36px, 3.4vw, 46px); }
.hersteller__leiste img[height="64"] { height: clamp(42px, 4vw, 54px); }
.hersteller__mehr { margin-top: clamp(16px, 2vw, 24px); color: var(--tinte-leise); font-size: var(--t-klein); }
.hersteller__leiste img.hersteller__flach { height: clamp(19px, 1.8vw, 25px); }

/* Soziale Netzwerke im Fuß: drei Zeichen im Strich der Seite, als Verweise nach außen */
.fuss__sozial { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fuss__sozial a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(152, 181, 217, 0.45); border-radius: 50%; color: var(--weiss); transition: background-color 0.16s, border-color 0.16s; }
.fuss__sozial a:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--weiss); }
.fuss__sozial .zeichen { width: 22px; height: 22px; }

/* Auswahl, die für das gewählte Gerät nicht passt (Gasgeruch bei Geräten ohne Gas), ist ganz weg */
.chips label[hidden] { display: none; }
