/* BSKG – Brandschutz & Sicherheit K. Grassberger · Stylesheet · Design 2026 (Stand 28.10.2026)
   Grundlage: DESIGN-HANDOFF.md + design-2026/*.dc.html. Schriften liegen lokal in assets/fonts/. */

/* ---------------------------------------------------------------- Schriften */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/archivo-variabel.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Michroma"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/michroma-400.woff2") format("woff2"); }

/* ---------------------------------------------------------------- Tokens */
:root {
  --rot: #D4241E;
  --rot-text: #B81F1A;
  --rot-hell: #FF8A85;
  --rot-zart: #FFE1DF;
  --rot-hover: #B81F1A;
  --anthrazit: #141516;
  --schwarz: #0E0F10;
  --karte-dunkel: #1F2123;
  --linie-dunkel: #33363A;
  --stahl: #5B5F64;
  --text: #141516;
  --text-2: #4A4E53;
  --text-3: #3A3D41;
  --grau-hell: #F3F4F6;
  --linie: #E3E5E8;
  --linie-pill: #D9DCE0;
  --feld-rand: #B9BDC3;
  --auf-dunkel: #D6D9DD;
  --auf-dunkel-2: #B5BAC0;
  --auf-dunkel-3: #C3C7CC;
  --weiss: #ffffff;
  --radius: 6px;
  --radius-btn: 4px;
  --max: 1240px;
  --rand: 32px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Michroma", "Eurostile", "Arial Black", sans-serif;
}

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot-text); text-decoration: none; }
a:hover { color: var(--rot-hover); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 1rem + 2.1vw, 2.75rem); line-height: 1.08; letter-spacing: -.015em; }
h3 { font-size: 1.375rem; line-height: 1.2; font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 600; }
.wrap { width: min(var(--max), 100% - 2 * var(--rand)); margin-inline: auto; }
.lead { font-size: 1.125rem; line-height: 1.55; color: var(--text-2); max-width: 60ch; }
.zentriert { text-align: center; }
.zentriert .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--rot); color: #fff; padding: .5rem 1rem; z-index: 999; }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
/* Auf roten Flächen wäre der rote Ring unsichtbar */
.cta :focus-visible, .anruf-block:focus-visible, .mobil-cta a:focus-visible { outline-color: #fff; }

/* Label / Eyebrow in Michroma */
.uebertitel { display: block; font-family: var(--font-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rot); margin-bottom: 1rem; line-height: 1.5; }
.uebertitel--gross { font-size: 12px; }
.auf-dunkel .uebertitel, .sektion--dunkel .uebertitel, .sektion--schwarz .uebertitel, .hero .uebertitel, .kopf .uebertitel { color: var(--rot-hell); }
.sektion--rot .uebertitel { color: var(--rot-zart); }
.zahl { font-family: var(--font-label); font-weight: 400; line-height: 1.1; }

/* ---------------------------------------------------------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 16px 26px; border-radius: var(--radius-btn); border: 1px solid var(--rot); background: var(--rot); color: #fff; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-decoration: none; min-height: 44px; }
.btn:hover { background: var(--rot-hover); border-color: var(--rot-hover); color: #fff; text-decoration: none; }
.btn--dunkel { background: var(--anthrazit); border-color: var(--anthrazit); }
.btn--dunkel:hover { background: #000; border-color: #000; }
.btn--weiss { background: #fff; border-color: #fff; color: var(--anthrazit); }
.btn--weiss:hover { background: var(--grau-hell); border-color: var(--grau-hell); color: var(--anthrazit); }
.btn--rahmen { background: transparent; border-color: var(--anthrazit); color: var(--anthrazit); }
.btn--rahmen:hover { background: var(--anthrazit); border-color: var(--anthrazit); color: #fff; }
.btn--hell { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--hell:hover { background: #fff; border-color: #fff; color: var(--anthrazit); }
.btn--klein { padding: 13px 22px; font-size: .9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- Topbar + Header */
.telefon-leiste { background: var(--anthrazit); color: #C9CDD2; font-size: 14px; }
.telefon-leiste .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding: 10px 0; }
.telefon-leiste a { color: #C9CDD2; }
.telefon-leiste a:first-child { color: #fff; font-weight: 600; }
.telefon-leiste a:hover { color: #fff; text-decoration: none; }
.telefon-leiste span { color: #C9CDD2; }
.telefon-leiste .leiste__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

.header { position: sticky; top: 0; z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 84px; padding: 14px 0; }

/* Logo: Wortmarke BS-KG in Michroma (nach Logo 2026/BSKG-LOGO-2026-Try1.ai) */
.logo { display: inline-flex; flex-direction: column; gap: 4px; color: var(--anthrazit); line-height: 1; text-decoration: none; }
.logo:hover { text-decoration: none; color: var(--anthrazit); }
.logo__wort { font-family: var(--font-label); font-size: 30px; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.logo__wort b { font-weight: 400; color: var(--rot); }
.logo__wort i { font-style: normal; color: var(--stahl); }
.logo__zeile { display: block; border-top: 1px solid #9A9EA4; padding-top: 4px; font-family: var(--font-label); font-size: 7.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.logo--dunkel .logo__wort b { color: #E8322B; }
.logo--dunkel .logo__wort i { color: #C9CDD2; }
.logo--dunkel .logo__zeile { color: var(--auf-dunkel-2); border-color: #44474B; }

.nav { display: flex; align-items: center; gap: 28px; font-family: var(--font-head); font-weight: 500; font-size: 15px; }
.nav a { color: var(--text-3); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--anthrazit); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--anthrazit); border-color: var(--rot); }
.nav .btn { padding: 12px 20px; font-size: 15px; border-bottom: 1px solid var(--rot); color: #fff; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--linie-pill); background: var(--weiss); border-radius: var(--radius-btn); cursor: pointer; padding: 0; align-items: center; justify-content: center; flex: none; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--anthrazit); }
.nav-toggle .ico-zu { display: none; }
.nav-toggle.offen .ico-auf { display: none; }
.nav-toggle.offen .ico-zu { display: block; }

@media (max-width: 1024px) {
  .telefon-leiste { display: none; }
  .header .wrap { min-height: 72px; padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100%); background: var(--weiss); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rand) 24px; overflow: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; border-top: 1px solid var(--linie); }
  .nav.offen { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .nav a { font-size: 1.25rem; font-weight: 700; padding: 18px 0; border-bottom: 1px solid var(--linie); color: var(--anthrazit); }
  .nav a[aria-current="page"] { color: var(--rot-text); border-color: var(--linie); }
  .nav .btn { margin-top: 24px; min-height: 52px; font-size: 1rem; border: 0; color: #fff; }
  .nav .btn:hover { color: #fff; }
}
@media (max-width: 640px) {
  :root { --rand: 16px; }
  .header .wrap { min-height: 64px; padding: 8px 0; }
  .logo__wort { font-size: 22px; }
  .logo__zeile { font-size: 5.5px; padding-top: 3px; }
}

/* ---------------------------------------------------------------- Hero (Start) */
.hero { position: relative; background: var(--schwarz); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,15,16,.78) 0%, rgba(14,15,16,.45) 45%, rgba(14,15,16,.1) 100%), linear-gradient(180deg, rgba(14,15,16,0) 50%, rgba(14,15,16,.55) 100%); }
.hero .wrap { min-height: 680px; padding: 128px 0 96px; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.hero .uebertitel { margin: 0; }
.hero h1 { margin: 0; max-width: 12ch; }
.hero .lead { margin: 0; font-size: 1.25rem; color: var(--auf-dunkel); max-width: 520px; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Fakten-Band */
.fakten { background: var(--anthrazit); color: #fff; border-top: 3px solid var(--rot); }
.fakten .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px; padding: 36px 0; }
.fakten div { display: flex; flex-direction: column; gap: 6px; }
.fakten strong { font-family: var(--font-label); font-weight: 400; font-size: 30px; line-height: 1.1; color: #fff; }
.fakten span { color: var(--auf-dunkel-2); font-size: 15px; line-height: 1.4; }

/* ---------------------------------------------------------------- Sektionen */
.sektion { padding: clamp(3.5rem, 2rem + 5vw, 7rem) 0; }
.sektion--grau { background: var(--grau-hell); }
.sektion--dunkel { background: var(--anthrazit); color: #fff; }
.sektion--schwarz { background: var(--schwarz); color: #fff; }
.sektion--dunkel .lead, .sektion--schwarz .lead { color: var(--auf-dunkel-3); }
.sektion--dunkel p, .sektion--schwarz p { color: var(--auf-dunkel-3); }
.sektion--dunkel h2, .sektion--dunkel h3, .sektion--schwarz h2, .sektion--schwarz h3 { color: #fff; }
.sektion-kopf { display: flex; flex-direction: column; gap: 0; max-width: 640px; margin-bottom: clamp(2rem, 1rem + 2.5vw, 3.5rem); }
.sektion-kopf h2 { margin: 0; }
.sektion-kopf .lead { margin: 16px 0 0; }
.sektion-kopf--breit { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; max-width: none; }
.sektion-kopf--breit > div { flex: 1 1 520px; }
.sektion-kopf--breit > .lead { flex: 1 1 360px; max-width: 440px; margin: 0; }

/* Seitenkopf (dunkel, Unterseiten) */
.kopf { background: var(--anthrazit); color: #fff; }
.kopf .wrap { padding: 88px 0 64px; display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-end; }
.kopf__text { flex: 1 1 600px; display: flex; flex-direction: column; gap: 24px; }
.kopf__text > * { margin: 0; }
.kopf .lead { font-size: 1.25rem; color: var(--auf-dunkel); max-width: 680px; }
.kopf h1 { max-width: 16ch; }
.kopf--schwarz { background: var(--schwarz); }

/* Sprung-Pills im Kopf (Leistungen) */
.sprungliste { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.sprungliste a { display: inline-block; color: #fff; font-size: 15px; font-weight: 500; border: 1px solid #44474B; border-radius: 999px; padding: 8px 16px; }
.sprungliste a:hover { border-color: #fff; text-decoration: none; }

/* TRVB-Block (Brandschutzbeauftragter) */
.kopf__block { flex: 0 1 300px; border: 1px solid var(--linie-dunkel); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.kopf__block .zahl { font-size: 34px; }
.kopf__block .zahl--rot { color: var(--rot-hell); }
.kopf__block span:last-child { color: var(--auf-dunkel-2); font-size: 15px; margin-top: 8px; }

/* Split-Hero (Schulungen) */
.split { background: var(--schwarz); color: #fff; display: flex; flex-wrap: wrap; }
.split__text { flex: 1 1 560px; display: flex; justify-content: flex-end; }
.split__text > div { width: 100%; max-width: 620px; padding: 96px 64px 88px var(--rand); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.split__text > div > * { margin: 0; }
.split h1 { font-size: clamp(2.25rem, 1rem + 3.2vw, 3.75rem); line-height: 1.04; }
.split .lead { font-size: 1.25rem; color: var(--auf-dunkel); }
.split .btn { align-self: flex-start; }
.split__bild { flex: 1 1 480px; min-height: 420px; position: relative; }
.split__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Leistungs-Kacheln (Start) */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.kachel { display: flex; flex-direction: column; color: var(--text); background: var(--grau-hell); border-radius: var(--radius); overflow: hidden; transition: background .15s, transform .2s; }
.kachel:hover { text-decoration: none; color: var(--text); background: #EBEDF0; transform: translateY(-2px); }
.kachel__bild { width: 100%; height: 200px; object-fit: cover; }
.kachel__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kachel__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kachel__nr { font-family: var(--font-label); font-size: 12px; color: #6A6E74; }
.pill { font-size: 13px; font-weight: 600; color: var(--text-3); background: var(--weiss); border: 1px solid var(--linie-pill); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.kachel h3 { margin: 0; }
.kachel p { margin: 0; color: var(--text-2); font-size: 1rem; line-height: 1.55; flex: 1; }
.kachel__mehr { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--rot-text); }
.kachel__chevron { display: none; }
.kachel--cta { justify-content: space-between; gap: 24px; color: #fff; background: var(--anthrazit); padding: 32px; min-height: 360px; }
.kachel--cta:hover { background: var(--schwarz); color: #fff; }
.kachel--cta .uebertitel { margin: 0; color: var(--rot-hell); }
.kachel--cta strong { font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1.15; }
.kachel--cta .btn { align-self: flex-start; padding: 14px 22px; font-size: 15px; }

/* ---------------------------------------------------------------- Prüfintervalle (Start) */
.intervalle { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.intervalle__text { flex: 1 1 340px; }
.intervalle__text h2 { margin: 0 0 16px; }
.intervalle__text p { margin: 0; color: var(--text-2); }
.tabelle { flex: 2 1 560px; display: flex; flex-direction: column; background: var(--weiss); border-radius: var(--radius); border: 1px solid #DDE0E4; }
.tabelle div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 22px 28px; border-bottom: 1px solid #E6E8EB; }
.tabelle div:last-child { border-bottom: 0; }
.tabelle strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text); }
.tabelle span { font-family: var(--font-label); font-size: 13px; color: var(--rot-text); }

/* ---------------------------------------------------------------- Zweispalter */
.zwei { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.zwei--oben { align-items: flex-start; }
.zwei > * { flex: 1 1 440px; min-width: 0; }
.zwei__text { display: flex; flex-direction: column; gap: 20px; }
.zwei__text > * { margin: 0; }
.zwei__text .uebertitel { margin: 0; }
.zwei__text .lead { max-width: none; }
.zwei__text .btn { align-self: flex-start; }
.bild { position: relative; }
.bild img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); }
.bild--mittel img { height: 300px; }
.bild__label { position: absolute; left: 24px; bottom: 24px; background: var(--rot); color: #fff; font-family: var(--font-label); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border-radius: 3px; }

/* Buchstaben-/Nummernliste (A/B/C, 01–06) */
.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.liste li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--linie); align-items: flex-start; }
.liste--mitte li { align-items: center; padding: 20px 0; }
.liste .nr { font-family: var(--font-label); font-size: 13px; color: var(--rot-text); min-width: 32px; padding-top: .3em; }
.liste--mitte .nr { padding-top: 0; min-width: 28px; }
.liste strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text); line-height: 1.3; }
.liste--mitte strong { font-size: 19px; }
.liste div > span { color: var(--text-2); font-size: 1rem; }

/* Dunkle Feature-Karten (BSB auf Start) */
.karten-dunkel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.karten-dunkel div { background: var(--karte-dunkel); border: 1px solid var(--linie-dunkel); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.karten-dunkel svg { width: 28px; height: 28px; stroke: var(--rot-hell); }
.karten-dunkel strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; color: #fff; }
@media (max-width: 480px) { .karten-dunkel { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Schritte 01–03 */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.schritt { display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--anthrazit); padding-top: 24px; }
.schritt:first-child { border-color: var(--rot); }
.schritt .zahl { font-size: 40px; color: var(--linie-pill); }
.schritt h3 { margin: 0; }
.schritt p { margin: 0; color: var(--text-2); }
.sektion--dunkel .schritt { border-color: #44474B; }
.sektion--dunkel .schritt:first-child { border-color: var(--rot); }
.sektion--dunkel .schritt .zahl { color: #44474B; }
.sektion--dunkel .schritt p { color: var(--auf-dunkel-3); }

/* Weiße Karten (Schulungsinhalte, Vorteile) */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.karte-w { background: var(--weiss); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.karte-w .nr { font-family: var(--font-label); font-size: 13px; color: var(--rot-text); }
.karte-w svg { width: 32px; height: 32px; stroke: var(--rot-text); }
.karte-w h3 { margin: 0; }
.karte-w p { margin: 0; color: var(--text-2); font-size: 1rem; }
.karte-w--gross { padding: 36px; gap: 14px; }
.karte-w--gross h3 { font-size: 1.5rem; }
.karte-w--gross p { font-size: 1.0625rem; }

/* Infobox (Pflicht für Arbeitgeber) */
.infobox { background: var(--grau-hell); border-radius: var(--radius); border-top: 4px solid var(--rot); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.infobox .uebertitel { margin: 0; color: var(--rot-text); letter-spacing: .16em; }
.infobox p { margin: 0; color: var(--text-2); overflow-wrap: anywhere; hyphens: auto; }
.infobox p:first-of-type { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--text); }

/* ---------------------------------------------------------------- Leistungs-Artikel */
.leistungen-liste { display: flex; flex-direction: column; }
.leistung { display: flex; flex-wrap: wrap; gap: 32px 64px; padding: 56px 0; border-bottom: 1px solid var(--linie); align-items: flex-start; scroll-margin-top: 100px; }
.leistung:last-child { border-bottom: 0; }
.leistung > img { flex: 1 1 380px; max-width: 480px; width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); }
.leistung > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.leistung > div > * { margin: 0; }
.leistung .nr { font-family: var(--font-label); font-size: 13px; color: var(--rot-text); }
.leistung h2 { font-size: clamp(1.625rem, 1rem + 1.4vw, 2.125rem); line-height: 1.12; letter-spacing: -.01em; }
.leistung p { color: var(--text-3); }
.leistung .btn { align-self: flex-start; margin-top: 4px; }
.intervall { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); background: var(--grau-hell); border-radius: var(--radius-btn); padding: 6px 12px; }
.intervall svg { width: 16px; height: 16px; stroke: var(--rot-text); flex: none; }

/* ---------------------------------------------------------------- CTA-Band */
.cta { background: var(--rot); color: #fff; }
.cta .wrap { padding: 88px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px 64px; }
.cta__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.cta__text > * { margin: 0; }
.cta__text h2 { color: #fff; }
.cta__text p { font-size: 1.125rem; color: #FFE9E8; }
.cta__aktionen { flex: 0 1 auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta__telefon { font-family: var(--font-label); font-size: 34px; line-height: 1.1; color: #fff; }
.cta__telefon:hover { color: var(--rot-zart); text-decoration: none; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- Kontakt */
.kontakt-raster { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.kontaktdaten { flex: 1 1 340px; display: flex; flex-direction: column; gap: 28px; }
.kontaktdaten h2 { margin: 0; font-size: 1.875rem; line-height: 1.15; }
.anruf-block { display: flex; flex-direction: column; gap: 6px; background: var(--rot); color: #fff; border-radius: var(--radius); padding: 24px 28px; }
.anruf-block:hover { background: var(--rot-hover); color: #fff; text-decoration: none; }
.anruf-block small { font-family: var(--font-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--rot-zart); }
.anruf-block span { font-family: var(--font-label); font-size: 24px; line-height: 1.2; }
.kontaktdaten dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 16px 20px; border-top: 1px solid var(--linie); padding-top: 24px; }
.kontaktdaten dt { font-family: var(--font-label); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--stahl); padding-top: 5px; }
.kontaktdaten dd { margin: 0; }
.kontaktdaten dd a { color: var(--text); font-weight: 600; }
.kontaktdaten dd a:hover { color: var(--rot-text); }

.formular { flex: 2 1 560px; background: var(--grau-hell); border-radius: var(--radius); padding: 40px; }
.formular form { display: flex; flex-direction: column; gap: 20px; }
.formular h3 { margin: 0; font-size: 1.625rem; font-weight: 800; }
.formular .reihe { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-weight: 600; font-size: 15px; }
.feld input, .feld textarea { font: inherit; font-size: 17px; padding: 13px 14px; border: 1px solid var(--feld-rand); border-radius: var(--radius-btn); background: var(--weiss); color: var(--text); width: 100%; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--rot); outline-offset: 0; border-color: var(--rot); }
.feld textarea { min-height: 150px; resize: vertical; }
.feld--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.feld--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rot); flex: none; }
.feld--check label { font-weight: 400; font-size: 15px; color: var(--text-3); }
/* Anliegen als Auswahl-Pills (Radio-Buttons, FormData-Name bleibt "anliegen") */
.anliegen { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.anliegen legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.anliegen div { display: flex; flex-wrap: wrap; gap: 8px; }
.anliegen input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.anliegen label { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--text-3); background: var(--weiss); border: 1px solid var(--feld-rand); border-radius: 999px; padding: 9px 16px; min-height: 40px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.anliegen label:hover { border-color: var(--anthrazit); color: var(--anthrazit); }
.anliegen input:checked + label { background: var(--anthrazit); border-color: var(--anthrazit); color: #fff; }
.anliegen input:focus-visible + label { outline: 2px solid var(--rot); outline-offset: 2px; }
.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.formular__fuss .btn { min-height: 52px; padding: 16px 28px; }
.formular__hinweis { font-size: 14px; color: var(--stahl); margin: 0; }
.honig { position: absolute; left: -9999px; }
.formular__meldung { display: none; padding: 16px 18px; border-radius: var(--radius-btn); }
.formular__meldung.ok { display: block; background: #E6F4EA; color: #1D6B31; }
.formular__meldung.fehler { display: block; background: #FDECEC; color: var(--rot-text); }

.karte { margin-top: clamp(3rem, 2rem + 2.5vw, 4.5rem); background: var(--anthrazit); color: #fff; border-radius: var(--radius); overflow: hidden; }
.karte__platzhalter { padding: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; min-height: 260px; }
.karte__platzhalter > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.karte__platzhalter .uebertitel { margin: 0; color: var(--rot-hell); }
.karte__platzhalter h3 { margin: 0; font-size: 1.75rem; font-weight: 800; }
.karte__platzhalter p { margin: 0; color: var(--auf-dunkel-3); }
.karte__aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
.karte__aktionen .btn--rahmen { border-color: var(--stahl); color: #fff; }
.karte__aktionen .btn--rahmen:hover { background: #fff; border-color: #fff; color: var(--anthrazit); }
.karte iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------------------------------------------------------- Textseiten */
.textseite { max-width: 76ch; }
.textseite h1 { font-size: clamp(2.25rem, 1rem + 2.6vw, 3.5rem); margin-bottom: .6em; }
.textseite h2 { font-size: 1.625rem; margin-top: 2.5rem; }
.textseite h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.textseite p, .textseite address { color: var(--text-3); }
.textseite address { font-style: normal; margin-bottom: 1em; }
.textseite a { text-decoration: underline; text-underline-offset: 2px; }
.hinweisbox { border-left: 4px solid var(--rot); background: var(--grau-hell); padding: 16px 20px; margin: 1.5rem 0; font-size: 15px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------------------------------------------------------------- Footer */
.footer { background: var(--schwarz); color: var(--auf-dunkel-2); font-size: 15px; }
.footer .wrap { padding: 72px 0 32px; display: flex; flex-direction: column; gap: 48px; }
.footer__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer__raster > div { display: flex; flex-direction: column; gap: 8px; }
.footer__raster p { margin: 0; }
.footer h4 { font-family: var(--font-label); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 6px; }
.footer a { color: var(--auf-dunkel-2); }
.footer a:hover { color: #fff; text-decoration: none; }
.footer__raster a.hell { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer .logo { gap: 6px; }
.footer__social { display: flex; gap: 10px; margin-top: 14px !important; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #3A3D41; border-radius: var(--radius); color: #fff; transition: background-color .2s ease, border-color .2s ease; }
.footer__social a:hover { background: var(--rot); border-color: var(--rot); }
.footer__social svg { width: 20px; height: 20px; }
.footer .logo__wort { font-size: 26px; }
.footer__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid #2A2C2F; padding-top: 24px; font-size: 14px; }
.footer__unten span:last-child { display: flex; gap: 20px; }

/* ---------------------------------------------------------------- Mobile Bottom-Bar */
.mobil-cta { display: none; }

/* ---------------------------------------------------------------- Mobil (≤ 640px) */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .leistung > div, .leistung > img, .kopf__text, .split__text > div { min-width: 0; }
  .lead { font-size: 1rem; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; line-height: 1.1; }
  .uebertitel { font-size: 10px; letter-spacing: .16em; }
  .sektion { padding: 52px 0; }
  .btn { width: 100%; min-height: 52px; }
  .btn--klein { width: auto; }
  .zwei__text .btn, .split .btn, .leistung .btn, .kachel--cta .btn, .cta__buttons .btn, .karte__aktionen .btn, .formular__fuss .btn { align-self: stretch; width: 100%; }

  /* Hero: Hochformat-Bild, Text unten auf Balken */
  .hero .wrap { width: 100%; min-height: 600px; padding: 0; justify-content: flex-end; }
  .hero::after { background: none; }
  .hero__bild { object-position: center top; }
  .hero__text { background: rgba(14,15,16,.82); padding: 28px var(--rand); display: flex; flex-direction: column; gap: 14px; }
  .hero h1 { font-size: 2.25rem; line-height: 1.05; max-width: none; }
  .hero .lead { font-size: 1rem; }
  .hero__aktionen { flex-direction: column; gap: 10px; }
  .hero__aktionen .btn--hell { display: none; }

  .fakten .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 24px 0; }
  .fakten strong { font-size: 22px; }
  .fakten span { font-size: 14px; }

  /* Leistungen als Liste */
  .raster { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--linie); }
  .kachel { flex-direction: row; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie); background: transparent; border-radius: 0; overflow: visible; }
  .kachel:hover { background: transparent; transform: none; }
  .kachel__bild { width: 64px; height: 64px; border-radius: 4px; flex: none; }
  .kachel__body { padding: 0; gap: 2px; flex: 1; min-width: 0; }
  .kachel__meta { order: 2; justify-content: flex-start; }
  .kachel__nr { display: none; }
  .pill { background: transparent; border: 0; padding: 0; font-weight: 400; font-size: 14px; color: var(--stahl); }
  .kachel h3 { font-size: 17px; line-height: 1.25; }
  .kachel p, .kachel__mehr { display: none; }
  .kachel__chevron { display: block; width: 20px; height: 20px; stroke: var(--rot-text); flex: none; }
  .kachel--cta { flex-direction: column; align-items: stretch; background: var(--anthrazit); border-radius: var(--radius); padding: 28px 20px; margin-top: 24px; min-height: 0; gap: 16px; border: 0; }
  .kachel--cta strong { font-size: 24px; }

  .tabelle div { padding: 16px 18px; }
  .tabelle strong { font-size: 16px; }
  .tabelle span { font-size: 12px; }
  .bild img { height: 220px; }
  .bild__label { left: 12px; bottom: 12px; }
  .kopf .wrap { padding: 48px 0 40px; }
  .kopf__text { gap: 16px; }
  .split__text > div { padding: 48px var(--rand) 40px; }
  .split__bild { min-height: 260px; }
  .leistung { padding: 36px 0; gap: 20px; }
  .leistung > img { height: 220px; max-width: none; }
  .schritte { gap: 28px; }
  .schritt .zahl { font-size: 32px; }
  .karte-w, .infobox { padding: 24px; }
  .formular { padding: 24px var(--rand); margin-inline: calc(-1 * var(--rand)); border-radius: 0; }
  .kontaktdaten dl { grid-template-columns: 90px 1fr; }
  .karte__platzhalter { padding: 28px 20px; }
  .cta .wrap { padding: 48px 0; }
  .cta__telefon { font-size: 24px; }
  .cta__aktionen { width: 100%; }
  .cta__buttons { width: 100%; flex-direction: column; }
  .footer .wrap { padding: 48px 0 24px; gap: 32px; }

  /* Feste Bottom-Bar */
  .mobil-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--anthrazit); border-top: 1px solid var(--linie-dunkel); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobil-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
  .mobil-cta a:first-child { background: var(--rot); }
  .mobil-cta a:hover { text-decoration: none; color: #fff; }
  .mobil-cta svg { width: 18px; height: 18px; }
}

/* ---------------------------------------------------------------- Einblenden beim Scrollen */
/* Nur mit JavaScript ausblenden (Klasse js setzt ein Inline-Skript im Kopf): fällt main.js aus, bleibt alles lesbar */
.js .rein { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .rein.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rein { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .kachel { transition: none; } }
