/* K3S GmbH – Neuauflage. Farben aus dem Logo: Rot #ca362c, Stahl #b3b8bf */

@font-face { font-family: "Barlow"; src: url("/assets/schriften/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/schriften/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/schriften/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/schriften/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/schriften/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/schriften/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

@font-face { font-family: "Inter"; src: url("/assets/schriften/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/schriften/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/schriften/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/schriften/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/schriften/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/schriften/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/schriften/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/schriften/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/schriften/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/schriften/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/schriften/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/schriften/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --rot: #ca362c;
  --rot-dunkel: #a82a21;
  --stahl: #b3b8bf;
  --anthrazit: #1d2226;
  --anthrazit-2: #272d32;
  --anthrazit-3: #343b41;
  --papier: #f3f4f5;
  --weiss: #ffffff;
  --tinte: #1b1f23;
  --text: #3d444b;
  --grau: #69727b;
  --linie: #dfe2e5;
  --led: #39c463;

  --breite: 1200px;
  --rand: clamp(16px, 4vw, 40px);
  --kopf: 76px;
  --radius: 4px;

  --schrift: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --titel: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 16px); }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--schrift);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--titel);
  font-weight: var(--titel-gewicht, 600);
  line-height: var(--titel-zeile, 1.05);
  color: var(--tinte);
  letter-spacing: var(--titel-zug, .005em);
}
h1 { font-size: calc(clamp(2.6rem, 5.4vw, 4.6rem) * var(--gross-h1, 1)); font-weight: 700; }
h2 { font-size: calc(clamp(2rem, 3.6vw, 3rem) * var(--gross-h2, 1)); }
h3 { font-size: 1.6rem; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

.huelle { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.ueberzeile {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1rem;
  font: 600 .875rem/1 var(--titel);
  letter-spacing: calc(.14em * var(--sperr, 1)); text-transform: uppercase;
  color: var(--rot);
}
.ueberzeile::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.einleitung { font-size: 1.1875rem; line-height: 1.6; color: var(--text); max-width: 40em; }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--rot); color: #fff; text-decoration: none; }
.sprung:focus { top: 12px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.4em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1.0625rem/1 var(--titel); letter-spacing: calc(.06em * var(--sperr, 1)); text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf--rot { background: var(--rot); color: #fff; }
.knopf--rot:hover { background: var(--rot-dunkel); }
.knopf--linie { border-color: rgba(255,255,255,.35); color: #fff; }
.knopf--linie:hover { border-color: #fff; }
.knopf--dunkel { border-color: var(--tinte); color: var(--tinte); }
.knopf--dunkel:hover { background: var(--tinte); color: #fff; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--anthrazit);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.kopf__innen { display: flex; align-items: center; gap: 24px; height: var(--kopf); }
.logo { display: block; flex: none; line-height: 0; }
.logo svg { width: 232px; height: auto; }
.nav { margin-left: auto; height: 100%; }
.nav__liste { display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav__punkt { position: relative; display: flex; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 0 16px;
  background: none; border: 0; cursor: pointer;
  font: 600 1.0625rem/1 var(--titel); letter-spacing: calc(.06em * var(--sperr, 1)); text-transform: uppercase;
  color: #dfe2e5; text-decoration: none;
  border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
.nav__link:hover, .nav__punkt:focus-within > .nav__link { color: #fff; }
.nav__link[aria-current="page"], .nav__punkt.ist-aktiv > .nav__link { border-bottom-color: var(--rot); color: #fff; }
.nav__link svg { width: 12px; height: 12px; opacity: .7; }
.nav__unter {
  position: absolute; top: 100%; left: 0; min-width: 290px;
  margin: 0; padding: 10px 0; list-style: none;
  background: var(--anthrazit-2); border-top: 3px solid var(--rot);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.nav__punkt:hover .nav__unter, .nav__punkt:focus-within .nav__unter {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s;
}
.nav__unter a {
  display: block; padding: 10px 22px;
  color: #dfe2e5; text-decoration: none; font-weight: 500;
}
.nav__unter a small { display: block; font-size: .8125rem; color: var(--stahl); opacity: .8; }
.nav__unter a:hover, .nav__unter a[aria-current="page"] { background: var(--anthrazit-3); color: #fff; }
.kopf__tel {
  display: flex; align-items: center; gap: 10px;
  padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12);
  color: #fff; text-decoration: none; white-space: nowrap;
  font: 600 1.125rem/1.1 var(--titel); letter-spacing: calc(.03em * var(--sperr, 1));
}
.kopf__tel small { display: block; font: 500 .75rem/1.2 var(--schrift); letter-spacing: calc(.04em * var(--sperr, 1)); color: var(--stahl); }
.kopf__tel svg { width: 22px; height: 22px; color: var(--rot); }
.kopf__menue { display: none; }

@media (max-width: 1100px) {
  .kopf__tel span { display: none; }
  .kopf__tel { padding-left: 16px; }
}
@media (max-width: 960px) {
  :root { --kopf: 64px; }
  .logo svg { width: 190px; }
  .kopf__tel { margin-left: auto; border: 0; padding: 0; width: 44px; height: 44px; justify-content: center; }
  .kopf__menue {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; color: #fff; cursor: pointer;
  }
  .kopf__menue svg { width: 26px; height: 26px; }
  .nav {
    position: fixed; inset: var(--kopf) 0 0 0; height: auto;
    background: var(--anthrazit); overflow-y: auto;
    padding: 8px var(--rand) 40px;
    display: none;
  }
  .ist-offen .nav { display: block; }
  .nav__liste { display: block; height: auto; }
  .nav__punkt { display: block; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__link { padding: 18px 0 8px; border: 0; font-size: 1.25rem; color: #fff; }
  .nav__link svg { display: none; }
  .nav__unter {
    position: static; min-width: 0; padding: 0 0 12px;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__unter a { padding: 8px 0; }
  .nav__unter a small { display: none; }
  .nav__punkt--einzeln .nav__link { padding-bottom: 18px; }
}
@media (max-width: 380px) { .logo svg { width: 160px; } }

/* ---------- Statusleiste (wie die Anzeige einer Zentrale) ---------- */
.status { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.status li {
  display: flex; align-items: center; gap: 10px;
  font: 600 .9375rem/1.2 var(--titel); letter-spacing: calc(.08em * var(--sperr, 1)); text-transform: uppercase;
  color: #dfe2e5;
}
.status li::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--led); box-shadow: 0 0 0 3px rgba(57,196,99,.18), 0 0 10px rgba(57,196,99,.55);
}

/* ---------- Startseite: Bühne ---------- */
.buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--anthrazit); color: #c9ced3; }
.buehne__bild { position: relative; min-height: 640px; }
.buehne__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.buehne__bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29,34,38,0) 60%, var(--anthrazit) 100%);
}
.buehne__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 96px) var(--rand) clamp(48px, 6vw, 80px) clamp(28px, 4vw, 64px);
  max-width: 680px;
}
.buehne h1 { color: #fff; margin-bottom: .35em; }
.buehne h1 em { font-style: normal; color: var(--rot); }
.buehne .einleitung { color: #c9ced3; margin-bottom: 2rem; }
.buehne .status { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) {
  .buehne { grid-template-columns: 1fr; }
  .buehne__bild { min-height: 0; aspect-ratio: 4 / 3; }
  .buehne__bild img { object-position: 60% 35%; }
  .buehne__bild::after { background: linear-gradient(180deg, rgba(29,34,38,0) 55%, var(--anthrazit) 100%); }
  .buehne__text { padding: 8px var(--rand) 48px; max-width: none; }
  .buehne .status { flex-direction: column; gap: 12px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt--grau { background: var(--papier); }
.abschnitt--dunkel { background: var(--anthrazit); color: #c9ced3; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
.abschnitt__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.abschnitt__kopf h2 { margin: 0; }
@media (max-width: 800px) { .abschnitt__kopf { grid-template-columns: 1fr; } }

/* Bereiche Safety / Security */
.bereiche { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bereich { background: var(--weiss); border-top: 4px solid var(--rot); box-shadow: 0 1px 0 var(--linie), 0 20px 40px -28px rgba(29,34,38,.35); }
.bereich--security { border-top-color: var(--stahl); }
.bereich__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 28px 30px 20px; }
.bereich__kopf h3 { margin: 0; font-size: 2.1rem; }
.bereich__kopf span { font: 600 .875rem/1 var(--titel); letter-spacing: calc(.12em * var(--sperr, 1)); text-transform: uppercase; color: var(--grau); }
.bereich ul { margin: 0; padding: 0; list-style: none; }
.zeile {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 24px; gap: 20px; align-items: center;
  padding: 18px 30px; border-top: 1px solid var(--linie);
  text-decoration: none; transition: background-color .2s;
}
.zeile:hover { background: var(--papier); }
.zeile img { width: 84px; height: 64px; object-fit: contain; background: #fff; }
.zeile strong { display: block; font: 600 1.375rem/1.15 var(--titel); color: var(--tinte); }
.zeile small { display: block; margin-top: 2px; font-size: .9375rem; line-height: 1.45; color: var(--grau); }
.zeile .norm { display: inline-block; margin-left: 8px; font: 600 .75rem/1 var(--titel); letter-spacing: calc(.08em * var(--sperr, 1)); color: var(--rot); vertical-align: 3px; }
.zeile > svg { width: 22px; height: 22px; color: var(--rot); transition: transform .2s; }
.zeile:hover > svg { transform: translateX(4px); }
@media (max-width: 900px) { .bereiche { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .zeile { grid-template-columns: 60px minmax(0, 1fr) 18px; gap: 14px; padding: 16px 18px; }
  .zeile img { width: 60px; height: 48px; }
  .bereich__kopf { padding: 24px 18px 16px; }
  .zeile .norm { display: block; margin: 4px 0 0; }
}

/* Leistungskette */
.kette { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.kette__bild { position: relative; }
.kette__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kette__bild figcaption { margin-top: 10px; font-size: .875rem; color: var(--grau); }
.schritte { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.schritte li {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px;
  padding: 18px 0; border-top: 1px solid var(--linie);
}
.schritte li::before {
  counter-increment: schritt; content: "0" counter(schritt);
  grid-row: span 2; font: 700 2rem/1 var(--titel); color: var(--rot);
}
.schritte strong { font: 600 1.375rem/1.2 var(--titel); color: var(--tinte); }
.schritte span { font-size: 1rem; color: var(--grau); }
@media (max-width: 900px) {
  .kette { grid-template-columns: 1fr; }
  .kette__bild img { aspect-ratio: 4 / 3; object-position: 50% 40%; }
}

/* Bereitschaft (dunkles Band mit Foto) */
.bereitschaft { position: relative; overflow: hidden; background: #0b1a3a; color: #d7dde4; }
.bereitschaft__bild { position: absolute; inset: 0; }
.bereitschaft__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.bereitschaft__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,21,25,.94) 0%, rgba(17,21,25,.82) 45%, rgba(17,21,25,.25) 100%); }
.bereitschaft .huelle { position: relative; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.bereitschaft__text { max-width: 620px; }
.bereitschaft h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.bereitschaft blockquote { margin: 1.6rem 0 2rem; padding-left: 20px; border-left: 3px solid var(--rot); font-size: 1.1875rem; color: #fff; }
.bereitschaft .status { margin-top: 2rem; }
@media (max-width: 700px) {
  .bereitschaft__bild::after { background: rgba(17,21,25,.84); }
}

/* Bestand modernisieren */
.bestand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.bestand__grafik { margin: 0; padding: clamp(16px, 3vw, 32px); background: #fff; border: 1px solid var(--linie); }
.bestand__grafik figcaption { margin-top: 12px; font-size: .875rem; color: var(--grau); }
.haken { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.haken li { position: relative; padding: 6px 0 6px 32px; }
.haken li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--rot); border-bottom: 2.5px solid var(--rot); transform: rotate(-45deg);
}
@media (max-width: 900px) { .bestand { grid-template-columns: 1fr; } }

/* Zertifikate */
.zertreihe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.zert {
  display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0;
  background: none; border: 0; text-align: left; cursor: zoom-in; font: inherit; color: inherit;
}
.zert__bild { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; padding: 14px; background: #fff; border: 1px solid var(--linie); transition: border-color .2s, transform .2s; }
.zert:hover .zert__bild { border-color: var(--stahl); transform: translateY(-3px); }
.zert__bild img { max-height: 100%; width: auto; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.zert strong { display: block; font: 600 1.1875rem/1.15 var(--titel); color: var(--tinte); }
.zert small { display: block; font-size: .875rem; color: var(--grau); }
@media (max-width: 900px) { .zertreihe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .zertreihe { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* Kontakt-Band */
.kontaktband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--anthrazit); color: #c9ced3; }
.kontaktband__bild { position: relative; min-height: 420px; }
.kontaktband__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.kontaktband__text { padding: clamp(48px, 7vw, 96px) var(--rand) clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px); max-width: 640px; }
.kontaktband h2 { color: #fff; }
.kontaktliste { margin: 1.8rem 0 2rem; padding: 0; list-style: none; }
.kontaktliste li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.kontaktliste svg { width: 22px; height: 22px; margin-top: 3px; color: var(--rot); }
.kontaktliste a { color: #fff; text-decoration: none; font-weight: 500; }
.kontaktliste a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .kontaktband { grid-template-columns: 1fr; }
  .kontaktband__bild { min-height: 0; aspect-ratio: 16 / 10; }
  .kontaktband__text { padding: 40px var(--rand) 56px; max-width: none; }
}

/* ---------- Unterseiten ---------- */
.seitenkopf { background: var(--anthrazit); color: #c9ced3; padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 80px); position: relative; overflow: hidden; }
.seitenkopf::after {
  /* ganzes K3S-Logo, sitzt bündig auf der Unterkante */
  content: ""; position: absolute; right: clamp(20px, 5vw, 110px); bottom: 0;
  width: clamp(280px, 32vw, 480px); aspect-ratio: 479.2 / 278;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='14.6 10.9 479.2 278'%3E%3Cpath fill='%23ffffff' fill-opacity='.07' d='m183.3 10.9h84.2l-138.9 139 138.9 139h-84.2l-109.1-109.2v109.2h-59.6v-278h59.6v109.2z'/%3E%3Cpath fill='%23ca362c' fill-opacity='.28' d='m441.1 149.9c20.2 32.1 8.5 92.6-45 92.6h-79.4c-27.9 0-44.8-11-50.6-33.1h-47.7l79.4 79.4h114.8c94.1 0 106.4-127.7 36.8-160.9-1.5 8-4.3 15.6-8.3 22z'/%3E%3Cpath fill='%23ca362c' fill-opacity='.28' d='m316.7 57.2h79.4c26.1 0 42.3 14.5 49.6 33.1h46.3c0-52.9-26.5-79.4-79.4-79.4h-114.8l-85.5 85.5.1 2.3c2.1 61.9 38.1 76.1 91.2 76.1v4.9 9.9c0 8.8 4.4 13.2 13.2 13.2h79.4c11.7 0 16-13.4 12.8-23.1-1.8-5.6-6.1-9.9-12.8-9.9h-79.4v-39.7h79.4c6.7 0 10.9-4.4 12.8-9.9 3.2-9.8-1-23.2-12.8-23.2h-79.4c-8.8 0-13.2 4.4-13.2 13.2h-27-12.7c-.1-35.3 17.5-53 52.8-53z'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}
@media (max-width: 900px) { .seitenkopf::after { width: 230px; right: 20px; } }
.brotkrumen { margin: 0 0 1.6rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9375rem; color: var(--stahl); }
.brotkrumen li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.brotkrumen a { color: var(--stahl); text-decoration: none; }
.brotkrumen a:hover { color: #fff; }
.seitenkopf h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .3em; }
.seitenkopf .einleitung { color: #c9ced3; }
.normen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.normen li { padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 2px; font: 600 .875rem/1 var(--titel); letter-spacing: calc(.1em * var(--sperr, 1)); color: #fff; }

.inhalt { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.fliesstext { max-width: 44em; }
.fliesstext h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.6em; }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext h3 { margin-top: 1.4em; }
.fliesstext ul { padding-left: 1.2em; }
.fliesstext li { margin: .3em 0; }
.fliesstext li::marker { color: var(--rot); }
.hervor { margin: 2rem 0; padding: 22px 26px; background: var(--papier); border-left: 4px solid var(--rot); color: var(--tinte); font-size: 1.125rem; }
.hervor strong { font-family: var(--titel); font-size: 1.375rem; display: block; margin-bottom: 4px; }

.seitenleiste { position: sticky; top: calc(var(--kopf) + 24px); display: grid; gap: 24px; }
.kasten { padding: 26px; background: var(--papier); }
.kasten h2, .kasten h3 { font-size: 1.375rem; margin-bottom: .7em; }
.kasten--dunkel { background: var(--anthrazit); color: #c9ced3; }
.kasten--dunkel h3 { color: #fff; }
.kasten--dunkel .knopf { width: 100%; margin-top: 16px; }
.kasten--dunkel a.tel { display: block; margin-top: 4px; color: #fff; text-decoration: none; font: 600 1.6rem/1.1 var(--titel); }
.geschwister { margin: 0; padding: 0; list-style: none; }
.geschwister a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--linie); text-decoration: none; font-weight: 500; color: var(--tinte); }
.geschwister a:hover { color: var(--rot); }
.geschwister a[aria-current="page"] { color: var(--rot); }
.geschwister a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rot); }
@media (max-width: 960px) {
  .inhalt { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
}

.bildreihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 2rem 0; }
.bildreihe--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bildreihe figure { margin: 0; }
.bildreihe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; border: 1px solid var(--linie); }
.bildreihe img.ganz { object-fit: contain; padding: 10px; }
.bildreihe figcaption { margin-top: 8px; font-size: .875rem; color: var(--grau); }
@media (max-width: 600px) { .bildreihe, .bildreihe--drei { grid-template-columns: 1fr; } }

.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 2rem 0; }
.karte { padding: 26px 24px; background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--rot); }
.karte span { display: block; margin-bottom: 6px; font: 600 .8125rem/1 var(--titel); letter-spacing: calc(.12em * var(--sperr, 1)); text-transform: uppercase; color: var(--grau); }
.karte h3 { font-size: 1.5rem; margin-bottom: .5em; }
.karte p { font-size: 1rem; }
@media (max-width: 800px) { .karten { grid-template-columns: 1fr; } }

.weiter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 3rem; }
.weiter a { display: block; padding: 20px 22px; border: 1px solid var(--linie); text-decoration: none; transition: border-color .2s; }
.weiter a:hover { border-color: var(--rot); }
.weiter small { display: block; font-size: .875rem; color: var(--grau); }
.weiter strong { font: 600 1.375rem/1.2 var(--titel); color: var(--tinte); }
.weiter a:last-child { text-align: right; }
@media (max-width: 600px) { .weiter { grid-template-columns: 1fr; } .weiter a:last-child { text-align: left; } }

/* Zertifikatsseite */
.zertgruppe { margin-top: 3rem; }
.zertgruppe:first-child { margin-top: 0; }
.zertgruppe h2 { font-size: 1.9rem; padding-bottom: .4em; border-bottom: 1px solid var(--linie); }
.zertgruppe .zertreihe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .zertgruppe .zertreihe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .zertgruppe .zertreihe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zert--pdf .zert__bild { flex-direction: column; gap: 10px; background: var(--papier); color: var(--rot); font: 700 1.6rem/1 var(--titel); letter-spacing: calc(.08em * var(--sperr, 1)); }
.zert--pdf .zert__bild svg { width: 44px; height: 44px; }
a.zert { text-decoration: none; cursor: pointer; }

/* Bildbetrachter */
.betrachter { max-width: min(92vw, 1000px); max-height: 92vh; padding: 0; border: 0; background: transparent; }
.betrachter::backdrop { background: rgba(10,12,14,.88); }
.betrachter img { max-width: 100%; max-height: 86vh; width: auto; margin: 0 auto; background: #fff; }
.betrachter__zu {
  position: fixed; top: 14px; right: 14px; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rot); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
}
.betrachter__zu svg { width: 22px; height: 22px; }
.betrachter p { margin-top: 10px; text-align: center; color: #fff; }

/* Kontaktseite */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; color: var(--tinte); font-size: .9375rem; }
.feld label span { color: var(--rot); }
.feld input, .feld textarea, .feld select {
  width: 100%; padding: 13px 14px; border: 1px solid #c7ccd1; border-radius: var(--radius);
  font: inherit; color: var(--tinte); background: #fff;
}
.feld textarea { min-height: 170px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px rgba(202,54,44,.2); }
.feld--zustimmung { flex-direction: row; align-items: flex-start; gap: 12px; font-size: .9375rem; }
.feld--zustimmung input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--rot); }
.feld--zustimmung label { font-weight: 400; color: var(--text); }
.koeder { position: absolute; left: -9999px; }
.formular__meldung { grid-column: 1 / -1; padding: 16px 18px; background: var(--papier); border-left: 4px solid var(--led); color: var(--tinte); }
.formular__meldung[hidden] { display: none; }
@media (max-width: 600px) { .formular { grid-template-columns: 1fr; } }

/* Rechtstexte */
.recht { max-width: 46em; }
.recht h2 { font-size: 1.7rem; margin-top: 1.8em; }
.recht h2:first-child { margin-top: 0; }
.recht address { font-style: normal; }

/* ---------- Fuß ---------- */
.fuss { background: #15191c; color: #9aa2aa; font-size: .9375rem; }
.fuss__oben { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.fuss .logo svg { width: 210px; margin-bottom: 20px; }
.fuss h2 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: calc(.14em * var(--sperr, 1)); text-transform: uppercase; color: #fff; }
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li { padding: 3px 0; }
.fuss a { color: #c9ced3; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss address { font-style: normal; line-height: 1.7; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: .875rem; }
.fuss__unten nav { display: flex; gap: 20px; }
@media (max-width: 900px) { .fuss__oben { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss__oben { grid-template-columns: 1fr; gap: 28px; } }

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

.bild-einzeln { margin: 2rem 0; max-width: 560px; }
.bild-einzeln img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; border: 1px solid var(--linie); }
.bild-einzeln img.ganz { object-fit: contain; padding: 14px; }
.bild-einzeln figcaption { margin-top: 8px; font-size: .875rem; color: var(--grau); }

/* ---------- Schriften zur Auswahl (Abstimmungsleiste) ---------- */
:root[data-schrift="inter"] {
  --schrift: "Inter", system-ui, sans-serif; --titel: "Inter", system-ui, sans-serif;
  --titel-gewicht: 700; --titel-zug: -.025em; --titel-zeile: 1.1; --gross-h1: .78; --gross-h2: .82; --sperr: .55;
}
:root[data-schrift="archivo"] {
  --schrift: "Archivo", system-ui, sans-serif; --titel: "Archivo", system-ui, sans-serif;
  --titel-gewicht: 700; --titel-zug: -.015em; --titel-zeile: 1.08; --gross-h1: .8; --gross-h2: .84; --sperr: .6;
}
:root[data-schrift="manrope"] {
  --schrift: "Manrope", system-ui, sans-serif; --titel: "Manrope", system-ui, sans-serif;
  --titel-gewicht: 700; --titel-zug: -.025em; --titel-zeile: 1.1; --gross-h1: .78; --gross-h2: .82; --sperr: .55;
}
:root:not([data-schrift="barlow"]) body { font-size: 1rem; }
:root:not([data-schrift="barlow"]) .zeile strong, :root:not([data-schrift="barlow"]) .schritte strong,
:root:not([data-schrift="barlow"]) .zert strong, :root:not([data-schrift="barlow"]) .weiter strong { font-size: 1.125rem; }
:root:not([data-schrift="barlow"]) .knopf, :root:not([data-schrift="barlow"]) .nav__link { font-size: .9375rem; }
:root:not([data-schrift="barlow"]) .bereich__kopf h3 { font-size: 1.6rem; }
:root:not([data-schrift="barlow"]) .kopf__tel { font-size: 1rem; }

/* ---------- Mittiger Aufbau ---------- */
.mittig { text-align: center; }
.kopfzeile { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.kopfzeile h2 { margin-bottom: .4em; }
.kopfzeile .einleitung { margin: 0 auto; }
.kopfzeile .ueberzeile, .held .ueberzeile, .bereitschaft--mitte .ueberzeile, .kontaktmitte .ueberzeile { justify-content: center; }
.kopfzeile .ueberzeile::after, .held .ueberzeile::after, .bereitschaft--mitte .ueberzeile::after, .kontaktmitte .ueberzeile::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Bühnen */
.held { position: relative; overflow: hidden; }
.held__text { position: relative; z-index: 1; max-width: 920px; text-align: center; }
.held__text .einleitung { margin: 0 auto 2rem; }
.held .knopfreihe, .held .status { justify-content: center; }
.held .status { margin-top: 2.4rem; }
.held h1 em { font-style: normal; color: var(--rot); }

.held--foto { display: flex; align-items: center; min-height: min(86vh, 820px); background: var(--anthrazit); color: #c9ced3; }
.held--foto .held__bild, .held--kacheln .held__bild { position: absolute; inset: 0; }
.held--foto .held__bild img, .held--kacheln .held__bild img { width: 100%; height: 100%; object-fit: cover; }
.held--foto .held__bild img { object-position: 50% 35%; }
.held--foto .held__bild::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20,24,27,.72) 0%, rgba(20,24,27,.9) 75%); }
.held--foto .held__text { padding-top: 96px; padding-bottom: 96px; }
.held--foto h1, .held--kacheln h1 { color: #fff; }
.held--foto .einleitung, .held--kacheln .einleitung { color: #d3d8dc; }

.held--typo { background: var(--papier); padding-top: clamp(64px, 9vw, 120px); }
.held--typo .held__text { padding-bottom: clamp(48px, 6vw, 80px); }
.held--typo h1 { font-size: calc(clamp(2.8rem, 6.4vw, 5.6rem) * var(--gross-h1, 1)); }
.held--typo .status li { color: var(--tinte); }
.held__panorama img { width: 100%; height: clamp(220px, 34vw, 480px); object-fit: cover; object-position: 50% 62%; }

.held--kacheln { background: #0c1630; color: #d3d8dc; padding-bottom: clamp(48px, 6vw, 80px); }
.held--kacheln .held__bild img { object-position: 50% 60%; }
.held--kacheln .held__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,18,24,.8) 0%, rgba(14,18,24,.72) 45%, rgba(14,18,24,.92) 100%); }
.held--kacheln .held__text { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 72px); }
.held--kacheln > .huelle:last-child { position: relative; z-index: 1; }

/* Kacheln (Leistungen) */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kachel { position: relative; display: flex; flex-direction: column; background: #fff; border-top: 4px solid var(--rot); text-decoration: none; box-shadow: 0 1px 0 var(--linie), 0 20px 40px -30px rgba(29,34,38,.4); transition: transform .2s, box-shadow .2s; }
.kachel--security { border-top-color: var(--stahl); }
.kachel:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--linie), 0 26px 44px -26px rgba(29,34,38,.45); }
.kachel__bild { display: flex; align-items: center; justify-content: center; height: 190px; padding: 20px; border-bottom: 1px solid var(--linie); }
.kachel__bild img { max-height: 100%; width: auto; object-fit: contain; }
.kachel__text { display: block; padding: 22px 24px 56px; }
.kachel__text small { display: block; margin-bottom: 6px; font: 600 .75rem/1 var(--titel); letter-spacing: calc(.14em * var(--sperr, 1)); text-transform: uppercase; color: var(--grau); }
.kachel__text strong { display: block; font: var(--titel-gewicht, 600) 1.375rem/1.2 var(--titel); color: var(--tinte); }
.kachel__norm { display: inline-block; margin-top: 6px; font: 600 .75rem/1 var(--titel); letter-spacing: calc(.08em * var(--sperr, 1)); color: var(--rot); }
.kachel__text > span:last-child { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--grau); }
.kachel__pfeil { position: absolute; right: 22px; bottom: 20px; color: var(--rot); }
.kachel__pfeil svg { width: 22px; height: 22px; transition: transform .2s; }
.kachel:hover .kachel__pfeil svg { transform: translateX(4px); }
.kacheln--dunkel .kachel { background: rgba(24,29,34,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: none; border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.kacheln--dunkel .kachel:hover { background: rgba(34,40,46,.9); box-shadow: none; }
.kacheln--dunkel .kachel__text { padding-bottom: 52px; }
.kacheln--dunkel .kachel__text strong { color: #fff; }
.kacheln--dunkel .kachel__text small, .kacheln--dunkel .kachel__text > span:last-child { color: #b9c0c7; }
@media (max-width: 900px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .kacheln { grid-template-columns: 1fr; }
  .kachel__bild { height: 150px; }
}

/* Leistungskette als Reihe */
.schrittreihe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; list-style: none; counter-reset: schritt; }
.schrittreihe li { position: relative; padding: 0 18px; text-align: center; }
.schrittreihe li::before {
  counter-increment: schritt; content: "0" counter(schritt);
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 16px;
  border: 2px solid var(--rot); border-radius: 50%; background: #fff;
  font: 700 1.25rem/1 var(--titel); color: var(--rot); position: relative; z-index: 1;
}
.schrittreihe li::after { content: ""; position: absolute; top: 28px; left: 50%; width: 100%; height: 2px; background: var(--linie); }
.schrittreihe li:last-child::after { display: none; }
.schrittreihe strong { display: block; margin-bottom: 6px; font: var(--titel-gewicht, 600) 1.125rem/1.25 var(--titel); color: var(--tinte); }
.schrittreihe span { display: block; font-size: .9375rem; line-height: 1.5; color: var(--grau); }
.fotoreihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fotoreihe figure { margin: 0; }
.fotoreihe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fotoreihe figcaption { margin-top: 8px; font-size: .875rem; color: var(--grau); text-align: center; }
@media (max-width: 900px) {
  .schrittreihe { grid-template-columns: 1fr; gap: 26px; max-width: 420px; margin-inline: auto; }
  .schrittreihe li::after { display: none; }
}
@media (max-width: 600px) { .fotoreihe { grid-template-columns: 1fr; } }

/* Bereitschaft mittig */
.bereitschaft--mitte .bereitschaft__bild img { object-position: var(--pos, 50% 50%); }
.bereitschaft--mitte .bereitschaft__bild::after { background: rgba(14,18,24,.82); }
.bereitschaft--mitte .bereitschaft__text { max-width: 760px; margin: 0 auto; text-align: center; }
.bereitschaft--mitte .status { justify-content: center; }
.bereitschaft .zitat { margin: 1.6rem auto 0; max-width: 620px; padding-top: 1.4rem; border-top: 2px solid var(--rot); font-size: 1.1875rem; color: #fff; }

/* Bestand mittig */
.merkmale { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 clamp(32px, 4vw, 48px); padding: 0; list-style: none; }
.merkmale li { position: relative; padding: 10px 16px 10px 40px; background: #fff; border: 1px solid var(--linie); font-weight: 500; color: var(--tinte); }
.merkmale li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--rot); border-bottom: 2.5px solid var(--rot); transform: rotate(-45deg); }
.bestand__grafik--mitte { max-width: 960px; margin: 0 auto 2.4rem; }

/* Kontakt mittig */
.kontaktmitte { padding: clamp(72px, 9vw, 120px) 0; background: var(--anthrazit); color: #c9ced3; text-align: center; }
.kontaktmitte h2 { color: #fff; }
.kontaktmitte .einleitung { margin: 0 auto; color: #c9ced3; }
.kontaktmitte__tel { display: inline-block; margin: 1.6rem 0 1rem; font: 700 clamp(2.2rem, 5vw, 3.4rem)/1 var(--titel); letter-spacing: var(--titel-zug, 0); color: #fff; text-decoration: none; }
.kontaktmitte__tel:hover { color: var(--rot); }
.kontaktmitte__liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin: 0 0 2rem; padding: 0; list-style: none; }
.kontaktmitte__liste li { display: flex; align-items: center; gap: 10px; }
.kontaktmitte__liste svg { width: 20px; height: 20px; color: var(--rot); }
.kontaktmitte__liste a { color: #fff; text-decoration: none; }
.kontaktmitte__liste a:hover { text-decoration: underline; }


/* ---------- Abstimmung: Markierung & Leiste (nur Vorschau) ---------- */
mark.neu { background: #ffe14d; color: #1b1f23; padding: 0 .08em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ohne-markierung mark.neu { background: none; color: inherit; padding: 0; }
.leiste .leiste__mark mark.neu { background: rgba(255, 214, 10, .85); color: #111; padding: 1px 4px; }
.ohne-markierung .leiste .leiste__mark mark.neu { background: rgba(255,255,255,.15); color: #fff; }
body:has(.leiste) { padding-bottom: 64px; }
.ohne-leiste body { padding-bottom: 0; }
.leiste {
  position: fixed; left: 50%; bottom: 12px; z-index: 90; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; max-width: calc(100vw - 24px);
  padding: 8px 44px 8px 14px; border-radius: 10px;
  background: rgba(17,20,23,.94); color: #c9ced3; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0;
}
.ohne-leiste .leiste { display: none; }
.leiste__gruppe { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.leiste__gruppe > span { margin-right: 4px; color: #8c949c; }
.leiste a, .leiste button { padding: 6px 9px; border: 0; border-radius: 6px; background: transparent; color: #e6e9ec; font: inherit; text-decoration: none; cursor: pointer; }
.leiste a:hover, .leiste button:hover { background: rgba(255,255,255,.1); }
.leiste a[aria-current="page"], .leiste button.ist-gewaehlt { background: var(--rot); color: #fff; }
.leiste .leiste__zu { position: absolute; right: 6px; top: 6px; font-size: 18px; line-height: 1; }
@media (max-width: 700px) {
  .leiste { left: 8px; right: 8px; transform: none; max-width: none; bottom: 8px; gap: 4px 10px; }
  body:has(.leiste) { padding-bottom: 150px; }
}
mark.umf { background: none; color: inherit; text-decoration: underline 2px rgba(230, 150, 0, .9); text-underline-offset: 3px; text-decoration-skip-ink: none; }
.ohne-markierung mark.umf { text-decoration: none; }
.leiste .leiste__mark mark.umf { color: #fff; }

/* Markierung an/aus – Knopf oben (nur Vorschau) */
.markknopf {
  position: fixed; top: calc(var(--kopf) + 10px); left: 50%; z-index: 40; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
  border: 0; border-radius: 999px; background: rgba(17,20,23,.94); color: #fff; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.3); font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0;
}
.markknopf mark.neu { padding: 2px 6px; border-radius: 999px; }
.markknopf b { color: #ffe14d; }
.ohne-markierung .markknopf mark.neu { background: rgba(255,255,255,.18); color: #fff; }
.ohne-markierung .markknopf b { color: #9aa2aa; }
.ist-offen ~ .markknopf { display: none; }

/* ---------- Menü seit 07.10.2026: Leistungen · Unternehmen · Kontakt ---------- */
.nav__unter ul { margin: 0; padding: 0; list-style: none; }
.nav__unter--breit { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 0; min-width: 600px; padding: 14px 0 0; }
.nav__gruppe { display: block; padding: 6px 22px 6px; font: 600 .75rem/1.2 var(--titel); letter-spacing: calc(.14em * var(--sperr, 1)); text-transform: uppercase; color: var(--stahl); opacity: .75; }
.nav__alle { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 8px; margin-top: 8px; padding: 14px 22px !important; border-top: 1px solid rgba(255,255,255,.08); color: #fff !important; font-weight: 600 !important; }
.nav__alle svg { width: 16px; height: 16px; color: var(--rot); }
.geschwister__gruppe { display: block; margin: 14px 0 2px; font: 600 .75rem/1 var(--titel); letter-spacing: calc(.14em * var(--sperr, 1)); text-transform: uppercase; color: var(--grau); }
.kasten h3 + .geschwister__gruppe { margin-top: 0; }

/* Handy: feste Leiste unten wie bei Solis statt Burger-Menü */
.tabbar { display: none; }
@media (max-width: 960px) {
  .nav, .kopf__tel { display: none !important; }
  .kopf__innen { justify-content: center; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; inset: auto 0 0 0; z-index: 70;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(29, 34, 38, .96); border-top: 1px solid rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .tabbar__link {
    position: relative; display: grid; justify-items: center; gap: 3px;
    padding: 7px 2px 5px; border-radius: 10px;
    font: 600 11px/1.1 var(--schrift); text-align: center; color: #9aa2aa; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar__link svg { width: 22px; height: 22px; }
  .tabbar__link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
  .tabbar__link[aria-current="page"]::before { content: ""; position: absolute; top: -6px; left: 30%; right: 30%; height: 2px; border-radius: 2px; background: var(--rot); }
  .tabbar__link--kontakt, .tabbar__link--kontakt[aria-current="page"] { color: #ff6b5f; }
}

/* ---------- 07.10.2026: Startseite C ohne Punkte, Rest wieder geteilt, Handy kompakt ---------- */
.held--kacheln .held__bild img { object-position: 50% 50%; }
.held--kacheln .held__bild::after { background: linear-gradient(180deg, rgba(12,16,26,.62) 0%, rgba(12,16,26,.55) 45%, rgba(12,16,26,.9) 100%); }
.bereitschaft:not(.bereitschaft--mitte) .bereitschaft__bild img { object-position: 80% 35%; }

/* Zertifikate: am Handy seitlich wischen statt langer Raster */
@media (max-width: 700px) {
  .zertreihe--wisch {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--rand)); padding: 4px var(--rand) 12px; scrollbar-width: none;
  }
  .zertreihe--wisch::-webkit-scrollbar { display: none; }
  .zertreihe--wisch .zert { flex: 0 0 42%; scroll-snap-align: start; }
}

/* Handy */
@media (max-width: 700px) {
  .nur-gross { display: none; }
  .abschnitt { padding: 52px 0; }
  .abschnitt__kopf { margin-bottom: 28px; gap: 10px; }
  .einleitung { font-size: 1.0625rem; }

  /* Bühne: kompakt, Kacheln als 2er-Raster nur mit Titel */
  .held--kacheln { padding-bottom: 28px; }
  .held--kacheln .held__text { padding-top: 40px; padding-bottom: 28px; }
  .held .ueberzeile::before, .held .ueberzeile::after { display: none; }
  .held .ueberzeile { margin-bottom: .8rem; }
  .held__text .einleitung { font-size: 1rem; margin-bottom: 1.4rem; }
  .held .knopfreihe .knopf--linie { display: none; }
  .held .knopfreihe .knopf { width: 100%; }
  .kacheln--dunkel { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kacheln--dunkel .kachel { border-top-width: 3px; }
  .kacheln--dunkel .kachel__text { padding: 12px 12px 14px; }
  .kacheln--dunkel .kachel__text small { font-size: .625rem; margin-bottom: 4px; }
  .kacheln--dunkel .kachel__text strong { font-size: .9375rem; line-height: 1.25; hyphens: auto; -webkit-hyphens: auto; }
  .kacheln--dunkel .kachel__norm, .kacheln--dunkel .kachel__text > span:last-child, .kacheln--dunkel .kachel__pfeil { display: none; }

  /* Ablauf: Foto flach, Schritte eng */
  .kette { gap: 24px; }
  .kette__bild { order: 2; }
  .kette__bild img { aspect-ratio: 16 / 9; }
  .schritte { margin-top: 18px; }
  .schritte li { grid-template-columns: 40px minmax(0, 1fr); padding: 12px 0; gap: 2px 12px; }
  .schritte li::before { font-size: 1.375rem; }
  .schritte strong { font-size: 1.0625rem; }
  .schritte span { font-size: .9375rem; }

  .bereitschaft .huelle { padding-top: 52px; padding-bottom: 52px; }
  .bereitschaft blockquote { font-size: 1.0625rem; margin: 1.2rem 0 1.4rem; }
  .bereitschaft .status { flex-direction: column; gap: 10px; }
  .bestand { gap: 24px; }
  .bestand__grafik { padding: 10px; }
  .kontaktband__bild { display: none; }
  .kontaktband__text { padding: 52px var(--rand); }
  .kontaktliste a, .kontaktliste span { overflow-wrap: anywhere; }
  .seitenkopf { padding: 32px 0 36px; }
  .seitenkopf::after { display: none; }

  /* Markierungs-Knopf klein unten rechts über der Leiste */
  .markknopf { top: auto; left: auto; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); transform: none; padding: 6px 10px 6px 6px; font-size: 12px; }
}

/* ---------- 07.10.2026 spät: echtes Foto im Einstieg, runder & weicher (Richtung Solis), Handy linksbündig ---------- */
.knopf { border-radius: 999px; }
.bereich, .kachel, .kasten, .karte, .zert__bild, .bestand__grafik, .hervor, .weiter a, .merkmale li { border-radius: 16px; }
.bereich, .kachel { overflow: hidden; }
.bild-einzeln img, .bildreihe img, .kette__bild img, .fotoreihe img, .kontaktband__bild img { border-radius: 16px; }
.kontaktband__bild img { border-radius: 0; }
.feld input, .feld textarea, .feld select { border-radius: 10px; }
.zeile img { border-radius: 8px; }

.held--kacheln { background: #15191c; }
.held--kacheln .held__bild img { object-position: 50% 32%; }
.held--kacheln .held__bild::after { background: radial-gradient(ellipse at 50% 40%, rgba(17,21,25,.66) 0%, rgba(17,21,25,.86) 65%, rgba(17,21,25,.96) 100%); }
.plakette {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.4rem;
  padding: 8px 16px 8px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 600 .875rem/1.3 var(--schrift); color: #e6e9ec;
}
.plakette::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px rgba(57,196,99,.18), 0 0 10px rgba(57,196,99,.6); }
.held__foto { display: none; }
.nur-handy, .kopf__anfrage { display: none; }

@media (max-width: 700px) {
  .nur-pc { display: none; }
  .nur-handy { display: block; }

  /* Kopf: Logo links, Anfrage rechts */
  .kopf__innen { justify-content: space-between; }
  .logo svg { width: 170px; }
  .kopf__anfrage {
    display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 999px;
    background: var(--rot); color: #fff; text-decoration: none; font: 600 .8125rem/1 var(--schrift); white-space: nowrap;
    box-shadow: 0 6px 18px rgba(202,54,44,.35);
  }

  /* Einstieg: linksbündig, weiches Leuchten statt Hintergrundfoto, Foto als Karte */
  .held--kacheln { padding-bottom: 36px; background:
      radial-gradient(120% 55% at 0% 0%, rgba(202,54,44,.20), transparent 60%),
      radial-gradient(110% 60% at 100% 35%, rgba(70,110,255,.14), transparent 62%),
      #15191c; }
  .held--kacheln .held__bild { display: none; }
  .held__text { text-align: left; padding-top: 28px !important; padding-bottom: 0 !important; }
  .held .plakette { font-size: .8125rem; margin-bottom: 1.2rem; }
  .held h1 { font-size: 2.3rem; line-height: 1.08; }
  .held__text .einleitung { margin: 0 0 1.6rem; font-size: 1.0625rem; line-height: 1.6; }
  .held .knopfreihe { flex-direction: column; align-items: stretch; gap: 10px; }
  .held .knopfreihe .knopf { width: 100%; min-height: 54px; }
  .held .knopfreihe .knopf--linie { display: inline-flex; }
  .held__foto { display: block; margin: 28px 0 0; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.08); }
  .held__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 35%; }

  /* alle Überschriften-Köpfe linksbündig */
  .kopfzeile { text-align: left; margin-left: 0; }
  .kopfzeile .ueberzeile, .kontaktmitte .ueberzeile { justify-content: flex-start; }
  .kopfzeile .ueberzeile::after { display: none; }
  .kopfzeile .einleitung { margin: 0; }
  .bereich__kopf { padding: 20px 18px 14px; }
  .bereich__kopf h3 { font-size: 1.4rem !important; }
}
/* Knöpfe in normaler Schreibweise wie bei Solis */
.knopf, :root:not([data-schrift="barlow"]) .knopf { text-transform: none; letter-spacing: 0; font: 600 1rem/1 var(--schrift); }
.kopf__anfrage { text-transform: none; }
/* Einstieg: schlichte Überzeile statt Plakette (Till: „slop“) */
@media (max-width: 700px) {
  .held .ueberzeile { justify-content: flex-start; margin-bottom: 1rem; }
  .held .ueberzeile::before { display: block; }
}

/* =====================================================================
   SCROLL-EFFEKTE (07.10.2026)
   Regeln von Till: nichts dreht sich herein, nichts blendet beim
   Weiterscrollen wieder aus, Text kommt kurz und steht dann.
   Ohne JavaScript oder bei „Bewegung reduzieren“ fehlt .bewegung –
   dann ist alles sofort da.
   ===================================================================== */
.bewegung [data-auf] {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.bewegung [data-auf="links"] { transform: translate3d(-22px, 0, 0); }
.bewegung [data-auf].ist-da { opacity: 1; transform: none; }

/* Fotos: von unten aufdecken, dabei leicht auf Größe zoomen */
.bewegung [data-auf="bild"] { opacity: 1; transform: none; clip-path: inset(18% 0 0 0 round 16px); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1); }
.bewegung [data-auf="bild"] img { transform: scale(1.08); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.bewegung [data-auf="bild"].ist-da { clip-path: inset(0 0 0 0 round 16px); }
.bewegung [data-auf="bild"].ist-da img { transform: none; }
.bewegung .kontaktband__bild[data-auf="bild"] { clip-path: inset(0 0 0 100%); }
.bewegung .kontaktband__bild[data-auf="bild"].ist-da { clip-path: inset(0 0 0 0); }

/* Einstieg beim Laden */
@keyframes k3s-hoch { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
.bewegung .held__text > * { animation: k3s-hoch .8s cubic-bezier(.2,.7,.2,1) both; }
.bewegung .held__text > :nth-child(2) { animation-delay: .08s; }
.bewegung .held__text > :nth-child(3) { animation-delay: .18s; }
.bewegung .held__text > :nth-child(4) { animation-delay: .28s; }
.bewegung .kacheln--dunkel .kachel { animation: k3s-hoch .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.4s + var(--i, 0) * 80ms); }
.bewegung .held__bild img { animation: k3s-zoom 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes k3s-zoom { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.held__bild { will-change: transform; }

/* Ablauf: Schritte lösen nacheinander aus wie Melder */
.bewegung .schritte li { background: linear-gradient(var(--rot), var(--rot)) 0 0 / 0 2px no-repeat; transition: background-size .9s cubic-bezier(.2,.7,.2,1); }
.bewegung .schritte li::before { color: #c4c9ce; transition: color .4s; }
.bewegung .schritte li.ist-an { background-size: 100% 2px; }
.bewegung .schritte li.ist-an::before { color: var(--rot); }

/* Menüleiste bekommt beim Scrollen Schatten */
.kopf { transition: box-shadow .3s; }
.kopf.ist-gescrollt { box-shadow: 0 10px 30px rgba(0,0,0,.28); }

@media (prefers-reduced-motion: reduce) {
  .bewegung [data-auf], .bewegung [data-auf] img, .bewegung .held__text > *, .bewegung .kachel, .bewegung .held__bild img { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; }
}
/* Service-Band: Melderfoto ruhiger, damit der Text vorne bleibt */
.bereitschaft:not(.bereitschaft--mitte) .bereitschaft__bild::after { background: linear-gradient(90deg, rgba(17,21,25,.95) 0%, rgba(17,21,25,.86) 45%, rgba(17,21,25,.6) 100%); }

/* Handy & Tablet (07.10.2026): Anrufen oben rechts statt in der Leiste unten, unten nur 4 Punkte */
.kopf__anruf { display: none; }
@media (max-width: 960px) {
  .tabbar { grid-template-columns: repeat(4, 1fr); }
  .kopf__innen { justify-content: space-between; }
  .kopf__anruf {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 13px; border-radius: 999px;
    background: var(--rot); color: #fff; text-decoration: none; white-space: nowrap;
    font: 600 .875rem/1 var(--schrift); box-shadow: 0 6px 18px rgba(202,54,44,.35);
  }
  .kopf__anruf svg { width: 16px; height: 16px; }
  .kopf__anruf-kurz { display: none; }
}
@media (max-width: 700px) {
  .kopf__anruf-lang { display: none; }
  .kopf__anruf-kurz { display: inline; }
  .kopf__anfrage { display: none !important; }
}
@media (max-width: 360px) {
  .logo svg { width: 146px; }
  .kopf__anruf { padding: 8px 12px 8px 10px; font-size: .8125rem; }
}

/* Markierung nur für Till: Adresse mit ?pruefen öffnen. Der Kunde sieht weder Knopf noch Farbe. */
html:not(.pruefen) .markknopf { display: none !important; }
html:not(.pruefen) mark.neu, html:not(.pruefen) mark.umf { background: none !important; color: inherit !important; padding: 0 !important; text-decoration: none !important; }

/* ---------- Gerätetest 07.10.2026 ---------- */
h1, h2, h3 { overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }
.kette__bild { margin: 0; }
.zert { min-width: 0; }
.zert strong, .zert small { overflow-wrap: break-word; }
.karte h3 { font-size: 1.25rem; overflow-wrap: break-word; }
.karten--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .karten--zwei { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .inhalt { grid-template-columns: minmax(0, 1fr); } }
/* Leistungen-Menü mittig unter dem Punkt, damit es nie über den Rand ragt */
.nav__unter--breit { left: 50%; transform: translate(-50%, 6px); }
.nav__punkt:hover .nav__unter--breit, .nav__punkt:focus-within .nav__unter--breit { transform: translate(-50%, 0); }
@media (max-width: 700px) {
  .kette__bild img { aspect-ratio: 4 / 5; object-position: 50% 40%; }
}

/* Safety/Security: Kopf als Knopf, am Handy einklappbar (07.10.2026) */
.bereich__h { margin: 0; font: inherit; }
.bereich__kopf {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%;
  padding: 28px 30px 20px; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: default;
}
.bereich__kopf .bereich__name { font: var(--titel-gewicht, 600) 2.1rem/1.05 var(--titel); letter-spacing: var(--titel-zug, 0); text-transform: none; color: var(--tinte); }
:root:not([data-schrift="barlow"]) .bereich__kopf .bereich__name { font-size: 1.6rem; }
.bereich__kopf .bereich__art { font: 600 .875rem/1 var(--titel); letter-spacing: calc(.12em * var(--sperr, 1)); text-transform: uppercase; color: var(--grau); }
.bereich__pfeil { display: none; }
@media (max-width: 700px) {
  .bereiche { gap: 14px; }
  .js .bereich__kopf { align-items: center; padding: 20px 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .js .bereich__kopf .bereich__name { font-size: 1.4rem; }
  .js .bereich__kopf .bereich__art { margin-left: auto; }
  .js .bereich__pfeil { display: block; flex: none; width: 22px; height: 22px; color: var(--rot); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .js .bereich__klappe { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
  .js .bereich__klappe > ul { min-height: 0; overflow: hidden; }
  .js .bereich.ist-offen .bereich__klappe { grid-template-rows: 1fr; }
  .js .bereich.ist-offen .bereich__pfeil { transform: rotate(180deg); }
}

/* Überzeile als Fließtext (eine Zeile, bricht sauber um) – Markierungen im Text zerreißen sie so nicht mehr */
.ueberzeile { display: inline-block; }
.ueberzeile::before, .ueberzeile::after { display: inline-block; vertical-align: middle; position: relative; top: -.12em; }
.ueberzeile::before { margin-right: .6em; }
.kopfzeile .ueberzeile::after, .held .ueberzeile::after, .bereitschaft--mitte .ueberzeile::after, .kontaktmitte .ueberzeile::after { margin-left: .6em; }
@media (max-width: 700px) {
  .held .ueberzeile::before { display: inline-block; }
  .held .ueberzeile::after { display: none; }
}
/* Einstieg PC/Tablet: Logo im Foto nicht hinter der roten Überschrift */
.held--kacheln .held__bild img { object-position: 50% 4%; }

/* Überschrift Einstieg: „Gebäudesicherheit.“ immer als eigene Zeile */
.held h1 em { display: block; }

/* Handy: mehr Luft (07.10.2026, Till: „kein Raum zum Atmen“) */
@media (max-width: 700px) {
  :root { --rand: 22px; }
  p { margin-bottom: 1.15em; }
  h2 { margin-bottom: .6em; }
  .einleitung { line-height: 1.7; }

  /* Einstieg */
  .held__text { padding-top: 52px !important; }
  .held .ueberzeile { margin-bottom: 1.4rem; }
  .held h1 { margin-bottom: .55em; }
  .held__text .einleitung { margin-bottom: 2.2rem; line-height: 1.7; }
  .held .knopfreihe { gap: 12px; }
  .held--kacheln { padding-bottom: 60px; }

  /* Abschnitte */
  .abschnitt { padding: 76px 0; }
  .abschnitt__kopf, .kopfzeile { margin-bottom: 40px; }
  .bereiche { gap: 18px; }
  .kette { gap: 36px; }
  .schritte { margin-top: 28px; }
  .schritte li { padding: 18px 0; }
  .bereitschaft .huelle { padding-top: 76px; padding-bottom: 76px; }
  .bereitschaft blockquote { margin: 1.8rem 0 2rem; }
  .bestand { gap: 36px; }
  .haken { margin-top: 1.6rem; }
  .haken li { padding: 8px 0 8px 32px; }
  .kontaktband__text { padding: 76px var(--rand); }
  .kontaktliste { margin: 2rem 0 2.4rem; }
  .kontaktliste li { padding: 14px 0; }

  /* Unterseiten */
  .seitenkopf { padding: 48px 0 52px; }
  .seitenkopf h1 { margin-bottom: .5em; }
  .inhalt { gap: 56px; }
  .fliesstext h2 { margin-top: 1.9em; }
  .bildreihe, .bild-einzeln, .karten, .hervor { margin-top: 2.2rem; margin-bottom: 2.2rem; }
  .fuss__oben { padding-top: 64px; gap: 36px; }
}

/* Menü wieder Safety + Security (07.10.2026): Handy-Leiste mit 5 Punkten */
@media (max-width: 960px) { .tabbar { grid-template-columns: repeat(5, 1fr); } .tabbar__link { font-size: 10.5px; } }
.bereiche--eins { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

/* Handy: Abstände zwischen Abschnitten kleiner, innen bleibt die Luft */
@media (max-width: 700px) {
  .abschnitt { padding: 60px 0; }
  .nur-handy .abschnitt { padding-bottom: 48px; }
  .bereitschaft .huelle { padding-top: 64px; padding-bottom: 64px; }
  .kontaktband__text { padding: 64px var(--rand); }
}

/* Einstieg PC: breit genug für „Brandschutz und Gebäudesicherheit.“ in einer Zeile */
@media (min-width: 701px) { .held--kacheln .held__text { max-width: 1160px; } }

/* Safety-/Security-Übersicht: am PC drei Kacheln mit Bild, am Handy die Kartenliste */
.kacheln--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kacheln--drei .kachel__bild { height: 220px; }
@media (max-width: 900px) { .kacheln--drei .kachel__bild { height: 170px; } .kacheln--drei .kachel__text strong { font-size: 1.15rem; } }

/* Unternehmensseite: Zertifikate über volle Breite, 5 nebeneinander */
@media (min-width: 1100px) { #zertifizierungen .zertgruppe .zertreihe { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
#zertifizierungen .zertgruppe h3 { font-size: 1.25rem; margin-bottom: .9em; }

/* Leistungen als ein Punkt (Kunde 16.10.2026): Icons, 7. Kachel, „Mehr Leistungen ansehen“ */
.kachel__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: rgba(202,54,44,.09); color: var(--rot); }
.kachel__icon svg { width: 23px; height: 23px; }
.kacheln--dunkel .kachel__icon { background: rgba(232,87,76,.14); color: #f0675c; }
.kachel__bild--icon { background: var(--papier); color: var(--rot); }
.kachel__bild--icon svg { width: 76px; height: 76px; stroke-width: 1.3; }
.kachel__bild--icon + .kachel__text .kachel__icon { display: none; }
@media (min-width: 901px) { .kacheln > .kachel:last-child:nth-child(3n+1) { grid-column: 2; } }
@media (max-width: 900px) and (min-width: 561px) { .kacheln > .kachel:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); } }
.zeile__icon { display: grid; place-items: center; width: 84px; height: 64px; border-radius: 8px; background: var(--papier); color: var(--rot); }
.zeile__icon svg { width: 30px; height: 30px; }
.leistungsliste > li:first-child .zeile { border-top: 0; }
@media (max-width: 480px) { .zeile__icon { width: 60px; height: 48px; } .zeile__icon svg { width: 26px; height: 26px; } }

.mehr { display: none; margin: 28px 0 0; text-align: center; }
.js .mehr { display: block; }
.mehr__knopf svg { width: 12px; height: 12px; margin-left: 10px; transition: transform .25s; }
.mehr__auf { display: none; }
.mehr__knopf[aria-expanded="true"] .mehr__zu { display: none; }
.mehr__knopf[aria-expanded="true"] .mehr__auf { display: inline; }
.mehr__knopf[aria-expanded="true"] svg { transform: rotate(180deg); }
.js .ist-zu > .ist-extra { display: none; }
.bewegung .kacheln--dunkel .kachel.ist-extra { animation-delay: calc((var(--i, 3) - 3) * 70ms); }
@media (max-width: 700px) { .mehr { margin-top: 20px; } .mehr__knopf { width: 100%; } }

/* Fuß: eine Spalte Leistungen statt Safety + Security */
.fuss__oben { grid-template-columns: 1.4fr 1fr 1fr; }
.fuss h2 a { color: inherit; text-decoration: none; }
@media (max-width: 900px) { .fuss__oben { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss__oben { grid-template-columns: 1fr; } }
/* Handy-Leiste wieder mit 4 Punkten: Start · Leistungen · Unternehmen · Kontakt */
@media (max-width: 960px) { .tabbar { grid-template-columns: repeat(4, 1fr); } .tabbar__link { font-size: 11px; } }

/* Knopf ist ein <button>: Browser-Grau weg */
.mehr__knopf { background: transparent; cursor: pointer; }
.mehr__knopf.knopf--dunkel:hover { background: var(--tinte); }

/* Kontakt: „Worum geht es?“ als Auswahl-Pillen wie bei forst-team.com, Bewerbung mit Upload (16.10.2026) */
.themen { border: 0; margin: 0; padding: 0; min-width: 0; }
.themen legend { padding: 0; margin-bottom: 10px; font-weight: 600; color: var(--tinte); font-size: .9375rem; }
.themen__liste { display: flex; flex-wrap: wrap; gap: 9px; }
.themen__liste label { position: relative; cursor: pointer; }
.themen__liste input { position: absolute; opacity: 0; width: 0; height: 0; }
.themen .themen__liste span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--linie); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9375rem; color: var(--tinte); transition: background-color .15s, border-color .15s, color .15s; }
.themen__liste label:hover span { border-color: var(--tinte); }
.themen__liste input:checked + span { background: var(--rot); border-color: var(--rot); color: #fff; }
.themen__liste input:focus-visible + span { outline: 2px solid var(--rot); outline-offset: 2px; }
.bewerbung { padding: 18px 20px; border: 1.5px dashed var(--linie); border-radius: 12px; background: var(--papier); }
.bewerbung[hidden] { display: none; }
.bewerbung input[type="file"] { padding: 10px; background: #fff; font-size: .9375rem; }
.bewerbung small { color: var(--grau); font-size: .875rem; }
@media (max-width: 480px) { .themen .themen__liste span { padding: 8px 13px; font-size: .875rem; } }

/* Zertifizierungen im Menü (16.10.2026): Sprungziele sanft anscrollen statt springen */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Logo-Band (16.10.2026): eigener weißer Streifen unter dem Einstieg, läuft von Rand zu Rand.
   Kein mask-image (ließ das Band ruckeln), Logos ohne Karten direkt auf Weiß. */
.logoband { padding: 44px 0 48px; background: #fff; border-bottom: 1px solid var(--linie); overflow: hidden; }
.logoband__titel { margin: 0 0 26px; padding: 0 var(--rand); text-align: center; font: 600 .75rem/1 var(--titel); letter-spacing: calc(.14em * var(--sperr, 1)); text-transform: uppercase; color: var(--grau); }
.logoband__fenster { overflow: hidden; contain: paint; }
/* eine Spur mit beiden Reihen wandert um die Hälfte – eine Ebene statt zwei, läuft gleichmäßiger */
.logoband__spur { display: flex; width: max-content; animation: k3s-band 42s linear infinite; will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
.logoband__reihe { display: flex; flex: none; align-items: center; gap: 72px; margin: 0; padding: 0 36px; list-style: none; }
.logoband__fenster:hover .logoband__spur { animation-play-state: paused; }
.logoband li { flex: none; }
.logoband img { display: block; height: 52px; width: auto; max-width: 190px; object-fit: contain; }
@keyframes k3s-band { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 700px) {
  .logoband { padding: 36px 0 40px; }
  .logoband__titel { margin-bottom: 20px; }
  .logoband__reihe { gap: 44px; padding: 0 22px; }
  .logoband__spur { animation-duration: 32s; }
  .logoband img { height: 38px; max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .logoband__spur { width: auto; animation: none; }
  .logoband__reihe { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 28px; }
  .logoband__reihe[aria-hidden] { display: none; }
}
.formular__meldung.ist-fehler { border-left-color: var(--rot); }

/* Hersteller-Logos (BMA, 18.11.2026): grau, beim Drüberfahren farbig */
.hersteller { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hersteller li { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 10px; background: #fff; border: 1px solid var(--linie); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.hersteller img { display: block; max-width: 84%; max-height: 74%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .25s, opacity .25s; }
.hersteller li:hover { border-color: #cfd3d8; box-shadow: 0 6px 18px rgba(20, 24, 28, .06); }
.hersteller li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .hersteller img { filter: none; opacity: 1; } }
@media (max-width: 600px) { .hersteller { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hersteller li { padding: 10px; } }
