/* ============================================================
   HVAC Solution — Relaunch-Standard 27.09.2026
   Neue Bausteine: Seitenbühnen, Gewerke-Strecke, Anfrage-Bühne,
   Zickzack mit großen Bildern, Scroll-Wandel (Rohbau -> fertig),
   Pflicht-Bühne, Ablauf-Bühne, Prüfpflichten-Check, Luftbild.
   Baut auf style.css auf (Tokens, Buttons, Typo).
   Bilder liegen nie hinter Einblend-Effekten: alles ist ohne JS
   sichtbar, Bewegung kommt nur scrollgesteuert dazu.
   ============================================================ */

:root {
  /* Gewerke-Farben aus dem 3D-Modell (Hero) */
  --c-heizung: #ff6a33;
  --c-lueftung: #3ee08a;
  --c-klima: #3fd2ff;
  --c-sanitaer: #5b82ff;
  /* dieselben Farben dunkler: Text auf Weiß (Kontrast >= 4.5:1) */
  --t-heizung: #c2410c;
  --t-lueftung: #15803d;
  --t-klima: #0e7490;
  --t-sanitaer: #1d4ed8;
  --gewerk: var(--accent);
  --gewerk-text: var(--accent-ink);
  --rand: clamp(20px, 5vw, 90px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
[data-gewerk="heizung"] { --gewerk: var(--c-heizung); --gewerk-text: var(--t-heizung); }
[data-gewerk="lueftung"] { --gewerk: var(--c-lueftung); --gewerk-text: var(--t-lueftung); }
[data-gewerk="klima"] { --gewerk: var(--c-klima); --gewerk-text: var(--t-klima); }
[data-gewerk="sanitaer"] { --gewerk: var(--c-sanitaer); --gewerk-text: var(--t-sanitaer); }

/* Leistungen im Kopf markieren, wenn eine Gewerke-Seite offen ist */
.main-nav a.ist-aktiv::after { right: 0; }
.site-header--light .main-nav a.ist-aktiv, .site-header.scrolled .main-nav a.ist-aktiv { color: var(--ink); }
.site-header--dark:not(.scrolled) .main-nav a.ist-aktiv { color: var(--ink-inv); }

/* ---------- Kopf: Unterpunkt "Alle Leistungen" im Aufklappmenü ---------- */
.nav-sub .nav-sub-alle { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px !important; color: var(--ink) !important; }
@media (max-width: 1180px) { .nav-sub .nav-sub-alle { border-top: 0; margin-top: 0; } }

/* ============================================================
   Seitenbühne: Vollbild-Foto mit Titel unten links
   ============================================================ */
.buehne {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark-0);
  color: #fff;
  isolation: isolate;
}
.buehne--kurz { min-height: min(88svh, 900px); }
.buehne-bild { position: absolute; inset: 0; z-index: -2; }
.buehne-bild img,
.buehne-bild video,
.buehne-bild picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.buehne-bild img, .buehne-bild video { transform-origin: 50% 40%; filter: brightness(0.78) saturate(0.95); }
.buehne::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.62) 0%, rgba(5, 7, 10, 0) 22%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.55) 34%, rgba(5, 7, 10, 0) 64%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.62) 0%, rgba(5, 7, 10, 0.18) 45%, rgba(5, 7, 10, 0) 70%);
}
.buehne .overline, .buehne .lead { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.buehne-inhalt {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--rand) clamp(54px, 9vh, 104px);
}
.buehne .overline { color: var(--gewerk); margin-bottom: 18px; }
.buehne .overline .idx { color: rgba(255, 255, 255, 0.5); }
.buehne h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.8vw, 5.4rem);
  line-height: 1.02;
  max-width: 17ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}
.buehne h1::after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  margin-top: 26px;
  border-radius: 2px;
  background: var(--gewerk);
}
.buehne .lead { margin-top: 22px; color: rgba(255, 255, 255, 0.82); max-width: 54ch; }
.buehne .hero-actions { margin-top: 32px; }
.buehne .btn:not(.btn--solid) { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.buehne .btn:not(.btn--solid):hover { border-color: var(--accent); color: #100c00; }
.buehne .stage-note { right: 18px; bottom: 16px; }
.buehne .pills { margin-top: 34px; }
.buehne .pills a { border-color: rgba(255, 255, 255, 0.32); color: rgba(255, 255, 255, 0.92); }
.buehne .pills a:hover { border-color: var(--accent); background: rgba(255, 210, 51, 0.14); }
.buehne .pills a[aria-current="page"] { border-color: var(--gewerk); background: rgba(255, 255, 255, 0.1); color: #fff; }
.buehne .pills .pill--cta { color: #100c00; }
@media (max-width: 760px) {
  .buehne-inhalt { padding-bottom: 44px; }
  .buehne h1 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
  .buehne h1::after { margin-top: 18px; width: 80px; }
  .buehne .lead { font-size: 1rem; }
  .buehne .hero-actions .btn { padding: 14px 20px; }
}

/* ============================================================
   Startseite: Gewerke-Strecke (Desktop quer gepinnt, Handy Stapel)
   ============================================================ */
.strecke { position: relative; background: var(--dark-0); color: #fff; overflow: hidden; }
.strecke-innen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 18px) 0 clamp(28px, 5vh, 56px);
}
.strecke-kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 0 var(--rand);
  margin-bottom: clamp(22px, 4vh, 40px);
}
.strecke-kopf .overline { color: var(--accent); }
.strecke-kopf h2 { color: #fff; margin: 14px 0 0; max-width: 20ch; }
.strecke-kopf p { color: var(--ink-inv-dim); max-width: 40ch; font-size: 1rem; }
.strecke-bahn {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  padding: 0 var(--rand);
  will-change: transform;
}
.strecke-tafel {
  position: relative;
  flex: 0 0 min(62vw, 980px);
  height: min(64vh, 680px);
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-panel);
  display: block;
  isolation: isolate;
}
.strecke-tafel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease-out); }
.strecke-tafel:hover img { transform: scale(1.04); }
.strecke-tafel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.45) 38%, rgba(5, 7, 10, 0) 66%);
}
.strecke-tafel::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--gewerk);
}
.st-text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); }
.st-text .overline { color: var(--gewerk); margin-bottom: 12px; }
.st-text .overline .idx { color: rgba(255, 255, 255, 0.5); }
.st-text h3 { color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; max-width: 16ch; }
.st-text p { margin-top: 12px; color: rgba(255, 255, 255, 0.78); max-width: 46ch; font-size: 1rem; line-height: 1.6; }
.st-mehr {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; border-bottom: 2px solid var(--gewerk); padding-bottom: 3px;
}
.st-mehr .arrow { transition: transform 0.35s ease; }
.strecke-tafel:hover .st-mehr .arrow { transform: translateX(6px); }
.strecke-tafel--ende {
  flex-basis: min(34vw, 520px);
  background: var(--dark-panel);
  border: 1px solid rgba(255, 210, 51, 0.35);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 3vw, 44px);
}
.strecke-tafel--ende::before, .strecke-tafel--ende::after { display: none; }
.strecke-tafel--ende .overline { color: var(--accent); }
.strecke-tafel--ende h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.08; color: #fff; margin: 12px 0 16px; }
.strecke-tafel--ende p { color: var(--ink-inv-dim); font-size: 1rem; }
.strecke-tafel--ende .st-mehr { color: #fff; border-color: var(--accent); }
.strecke-fortschritt { margin: clamp(20px, 3.5vh, 34px) var(--rand) 0; height: 2px; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; }
.strecke-fortschritt span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }

/* Handy/Hochformat: gestapelte Vollbild-Tafeln, jede bleibt kurz stehen */
@media (max-width: 900px), (orientation: portrait) {
  .strecke-innen { min-height: 0; padding: clamp(70px, 12vh, 110px) 0 50px; }
  .strecke-kopf { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 20px; }
  .strecke-bahn { flex-direction: column; gap: 18px; padding: 0 12px; transform: none !important; }
  .strecke-tafel,
  .strecke-tafel--ende {
    position: sticky;
    top: calc(var(--header-h) + 10px);
    flex: none;
    height: calc(100svh - var(--header-h) - 96px);
    min-height: 420px;
  }
  .strecke-tafel:nth-child(2) { top: calc(var(--header-h) + 18px); }
  .strecke-tafel:nth-child(3) { top: calc(var(--header-h) + 26px); }
  .strecke-tafel:nth-child(4) { top: calc(var(--header-h) + 34px); }
  .strecke-tafel--ende { top: calc(var(--header-h) + 42px); height: auto; min-height: 0; position: relative; }
  .strecke-fortschritt { display: none; }
  .st-text p { font-size: 0.95rem; }
}

/* ============================================================
   Startseite: Prüfpflichten-Teaser (gelbe Fläche)
   ============================================================ */
.check-teaser { background: var(--accent); color: #100c00; }
.check-teaser .ct-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 100px);
  align-items: center;
  padding-top: clamp(80px, 13vh, 150px);
  padding-bottom: clamp(80px, 13vh, 150px);
}
.check-teaser .overline { color: rgba(16, 12, 0, 0.62); }
.check-teaser .overline .idx { color: rgba(16, 12, 0, 0.4); }
.check-teaser h2 { color: #100c00; margin: 16px 0 18px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.check-teaser p { color: rgba(16, 12, 0, 0.78); max-width: 44ch; font-size: 1.08rem; }
.check-teaser .ct-frage { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.check-teaser .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-teaser .kachel span { background: rgba(255, 255, 255, 0.55); border-color: rgba(16, 12, 0, 0.22); color: #100c00; }
.check-teaser .kachel input:checked + span { background: #100c00; border-color: #100c00; color: var(--accent); }
.check-teaser .kachel input:checked + span svg { stroke: var(--accent); }
.check-teaser .kachel svg { stroke: #100c00; }
.check-teaser .btn { margin-top: 22px; background: #100c00; border-color: #100c00; color: var(--accent); }
.check-teaser .btn:hover { background: #241d02; border-color: #241d02; color: var(--accent-soft); }
@media (max-width: 900px) { .check-teaser .ct-raster { grid-template-columns: 1fr; } }
@media (max-width: 440px) {
  .check-teaser .kachel span { font-size: 0.86rem; padding: 12px 10px; gap: 8px; min-height: 54px; }
  .check-teaser .kachel svg { width: 22px; height: 22px; }
  .check-teaser .kachel input:checked + span::after { width: 16px; height: 16px; }
}

/* ============================================================
   Kacheln: Radio/Checkbox als große Auswahlflächen
   ============================================================ */
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.kacheln legend { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; font-weight: 700; padding: 0; }
.kachel { position: relative; display: block; cursor: pointer; }
.kachel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kachel span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  height: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.3;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.kachel span small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--ink-faint); margin-top: 3px; }
.kachel svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--accent-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kachel:hover span { border-color: var(--accent-deep); }
.kachel input:checked + span { border-color: var(--accent-deep); background: rgba(255, 210, 51, 0.18); }
.kachel input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.kachel input:checked + span::after {
  content: "";
  margin-left: auto;
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23100c00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
@media (max-width: 420px) { .kacheln { grid-template-columns: 1fr; } }

/* ============================================================
   Anfrage-Bühne: großes Bild + Kurzformular
   ============================================================ */
.anfrage-buehne {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: min(100svh, 980px);
  background: var(--dark-0);
}
.ab-bild { position: relative; overflow: hidden; min-height: 520px; isolation: isolate; }
.ab-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ab-bild::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.5) 42%, rgba(5, 7, 10, 0.05) 75%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.35), rgba(5, 7, 10, 0) 60%);
}
.ab-bildtext { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(28px, 4.4vw, 80px); color: #fff; }
.ab-bildtext .overline { color: var(--gewerk); }
.ab-bildtext h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.5rem); margin: 16px 0 16px; max-width: 16ch; }
.ab-bildtext p { color: rgba(255, 255, 255, 0.8); max-width: 44ch; }
.ab-tel { margin-top: 22px; font-size: 0.95rem; }
.ab-tel a { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.35rem; border-bottom: 2px solid var(--gewerk); padding-bottom: 2px; }
.ab-tel a:hover { color: var(--accent); }
.ab-tel span { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.ab-panel { background: #fff; display: flex; align-items: center; padding: clamp(40px, 5.4vw, 96px) clamp(24px, 5vw, 90px); }
.ab-form { width: 100%; max-width: 560px; display: grid; gap: 20px; }
.ab-form .ab-titel { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; }
.ab-form .field label { margin-bottom: 8px; }
.ab-form .field input, .ab-form .field textarea { font-size: 1rem; }
.ab-form .field textarea { min-height: 96px; resize: vertical; }
.ab-form .btn { justify-content: center; width: 100%; padding: 18px 28px; }
.ab-form .form-note { line-height: 1.55; }
.ab-form .optional { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-faint); }
@media (max-width: 960px) {
  .anfrage-buehne { grid-template-columns: 1fr; min-height: 0; }
  .ab-bild { min-height: 70svh; }
}
@media (max-width: 760px) {
  .ab-bild { min-height: 64svh; }
  .ab-panel { padding: 40px 20px 48px; }
}

/* ============================================================
   Zickzack: großes Bild bis zum Rand | Text
   ============================================================ */
.zz-gruppe { background: var(--bg-0); }
.zz-gruppe--alt { background: var(--bg-2); }
.zz {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
  min-height: min(86vh, 860px);
}
.zz--rechts { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.zz--rechts .zz-bild { order: 2; }
.zz-bild { position: relative; overflow: hidden; min-height: 460px; }
.zz-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zz-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 120px) clamp(24px, 5vw, 96px); max-width: 700px; }
.zz--rechts .zz-text { margin-left: auto; }
.zz-text .overline { color: var(--gewerk-text); }
.zz-text h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin: 16px 0 18px; }
.zz-text p { color: var(--ink-dim); }
.zz-text p + p { margin-top: 14px; }
.zz-text .zz-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); border-bottom: 2px solid var(--gewerk); padding-bottom: 3px;
}
.zz-text .zz-link:hover { color: var(--gewerk-text); }
.zz-text .zz-link .arrow { transition: transform 0.35s ease; }
.zz-text .zz-link:hover .arrow { transform: translateX(5px); }
.zz-bild .stage-note, .bild-note {
  position: absolute; right: 14px; bottom: 12px; z-index: 2;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); pointer-events: none;
}
@media (max-width: 900px) {
  .zz, .zz--rechts { grid-template-columns: 1fr; min-height: 0; }
  .zz--rechts .zz-bild { order: 0; }
  .zz-bild { min-height: 0; aspect-ratio: 4 / 3; }
  .zz-text { padding: 36px 20px 56px; max-width: none; }
}

/* Vorhang: der Bildrahmen öffnet sich beim Scrollen bis zum Rand.
   Grundzustand ohne JS = offen (Bild voll sichtbar). */
.vorhang img { will-change: transform; }

/* ============================================================
   Wandel: gepinnte Szene, Rohbau -> fertig montiert (Wischblende)
   ============================================================ */
.wandel { position: relative; background: var(--dark-0); }
.wandel-buehne { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.wandel-buehne img,
.wandel-buehne picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wandel-nachher { clip-path: inset(0 0 0 0); }
.wandel-linie {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1.5px;
  background: var(--gewerk);
  box-shadow: 0 0 24px var(--gewerk);
  opacity: 0;
  pointer-events: none;
}
.wandel-verlauf {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.6) 0%, rgba(5, 7, 10, 0) 24%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.85) 0%, rgba(5, 7, 10, 0) 42%);
}
.wandel-text { position: absolute; left: var(--rand); right: var(--rand); bottom: clamp(44px, 9vh, 96px); color: #fff; max-width: 760px; }
.wandel-text .overline { color: var(--gewerk); margin-bottom: 14px; }
.wandel-schritt { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.08; }
.wandel-schritt + .wandel-schritt { position: absolute; left: 0; bottom: 0; opacity: 0; }
.wandel-schild {
  position: absolute; top: calc(var(--header-h) + 22px); padding: 7px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(8, 10, 14, 0.62); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.wandel-schild--vorher { left: var(--rand); }
.wandel-schild--nachher { right: var(--rand); border-color: var(--gewerk); }
@media (max-width: 760px) {
  .wandel-schild { top: calc(var(--header-h) + 14px); font-size: 10px; }
}

/* ============================================================
   Pflicht-Bühne: das belegte Problem, groß inszeniert
   ============================================================ */
.pflicht-buehne {
  position: relative;
  background:
    radial-gradient(60% 90% at 12% 50%, color-mix(in srgb, var(--gewerk) 22%, transparent), transparent 70%),
    #0b0d10;
  color: #fff;
  overflow: hidden;
}
.pb-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
  padding-top: clamp(90px, 15vh, 170px);
  padding-bottom: clamp(90px, 15vh, 170px);
}
.pb-zahl { display: flex; flex-direction: column; gap: 14px; }
.pb-gross {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  white-space: nowrap;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--gewerk);
  font-variant-numeric: tabular-nums;
}
.pb-klein { font-size: 0.92rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); max-width: 30ch; line-height: 1.5; }
.pb-text .overline { color: var(--gewerk); }
.pb-text h2 { color: #fff; margin: 16px 0 18px; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.pb-text p { color: rgba(255, 255, 255, 0.78); max-width: 58ch; }
.pb-quelle { margin-top: 14px; font-size: 0.8rem !important; color: rgba(255, 255, 255, 0.5) !important; }
.pb-text .hero-actions { margin-top: 30px; }
.pb-text .btn:not(.btn--solid) { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.pb-text .btn:not(.btn--solid):hover { border-color: var(--accent); color: #100c00; }
@media (max-width: 900px) { .pb-raster { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   Ablauf-Bühne: Bild bleibt stehen, Schritte ziehen vorbei
   ============================================================ */
.ablauf-buehne { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ablauf-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(34px, 6vw, 100px); padding-top: clamp(90px, 14vh, 150px); padding-bottom: clamp(60px, 10vh, 110px); }
.ablauf-bilder { position: sticky; top: calc(var(--header-h) + 5vh); height: calc(100vh - var(--header-h) - 10vh); border-radius: 18px; overflow: hidden; background: var(--dark-1); }
.ablauf-bilder figure { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.ablauf-bilder figure:first-child { opacity: 1; }
.ablauf-bilder.js-an figure { opacity: 0; }
.ablauf-bilder.js-an figure.aktiv { opacity: 1; }
.ablauf-bilder img { width: 100%; height: 100%; object-fit: cover; }
.ablauf-bilder .ab-nummer {
  position: absolute; left: 22px; top: 18px; z-index: 2;
  font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: 0.1em;
  padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #100c00;
}
.ablauf-kopf { margin-bottom: clamp(20px, 4vh, 40px); }
.ablauf-kopf h2 { margin-bottom: 0; }
.ablauf-liste { list-style: none; counter-reset: schritt; }
.ablauf-liste li {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0 30px 34px;
  border-left: 2px solid var(--line-strong);
  position: relative;
  transition: border-color 0.4s ease;
}
.ablauf-liste li::before {
  content: "";
  position: absolute; left: -7px; top: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--line-strong);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.ablauf-liste li.aktiv { border-left-color: var(--accent-deep); }
.ablauf-liste li.aktiv::before { background: var(--accent); border-color: var(--accent-deep); }
.ablauf-liste .al-nr { font-family: var(--display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.2em; color: var(--accent-ink); }
.ablauf-liste h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 10px 0 12px; }
.ablauf-liste p { color: var(--ink-dim); max-width: 46ch; }
.ablauf-liste li:first-child { min-height: 46vh; }
.ablauf-liste li:last-child { min-height: 56vh; }
.ablauf-liste .al-bild { display: none; }
@media (max-width: 900px) {
  .ablauf-raster { grid-template-columns: 1fr; gap: 0; padding-top: 80px; }
  .ablauf-bilder { display: none; }
  .ablauf-liste li { min-height: 0; padding: 26px 0 34px 26px; }
  .ablauf-liste li:first-child, .ablauf-liste li:last-child { min-height: 0; }
  .ablauf-liste li::before { top: 38px; }
  .ablauf-liste .al-bild { display: block; margin-top: 18px; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
  .ablauf-liste .al-bild img { width: 100%; height: 100%; object-fit: cover; }
}

/* ============================================================
   Bild-Kacheln (Einsatzbereiche, weitere Gewerke, Stellen)
   ============================================================ */
.bildkacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.bildkacheln--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bildkachel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(360px, 56vh, 560px);
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: var(--dark-1);
}
.bildkachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); }
.bildkachel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.35) 45%, rgba(5, 7, 10, 0) 70%); }
a.bildkachel:hover img { transform: scale(1.05); }
.bildkachel .bk-text { padding: clamp(20px, 2vw, 30px); }
.bildkachel .overline { color: var(--gewerk); font-size: 11px; }
.bildkachel h3 { color: #fff; font-size: clamp(1.25rem, 1.7vw, 1.55rem); margin: 8px 0 8px; }
.bildkachel p { color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; line-height: 1.55; }
.bildkachel .st-mehr { margin-top: 14px; font-size: 11.5px; }
@media (max-width: 1000px) { .bildkacheln, .bildkacheln--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .bildkacheln, .bildkacheln--3 { grid-template-columns: 1fr; }
  .bildkachel { min-height: 330px; }
}

/* ============================================================
   Prüfpflichten-Check
   ============================================================ */
.check-bereich { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.check-raster { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(34px, 6vw, 100px); align-items: start; padding-top: clamp(80px, 13vh, 140px); padding-bottom: clamp(80px, 13vh, 140px); }
.check-kopf { position: sticky; top: calc(var(--header-h) + 40px); }
.check-kopf h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.check-kopf p { color: var(--ink-dim); max-width: 42ch; }
.check-kopf .check-hinweis-klein { margin-top: 18px; font-size: 0.82rem; color: var(--ink-faint); }
.check {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-2);
  padding: clamp(24px, 3.4vw, 48px);
  min-height: 420px;
}
.check-fortschritt { height: 4px; background: var(--panel); border-radius: 4px; overflow: hidden; margin-bottom: 26px; }
.check-fortschritt span { display: block; height: 100%; width: 0; background: var(--accent-deep); border-radius: 4px; transition: width 0.45s var(--ease-out); }
.check-schritt[hidden] { display: none; }
.check-schritt { animation: check-in 0.45s var(--ease-out); }
@keyframes check-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.check-zaehler { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-ink); }
.check-frage { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.2; margin: 10px 0 8px; }
.check-zusatz { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 18px; }
.check .kacheln { margin-top: 16px; }
.check .kachel span { min-height: 64px; }
.check-nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 26px; }
.check-zurueck { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); padding: 10px 0; }
.check-zurueck:hover { color: var(--ink); }
.check-nav .btn[disabled] { opacity: 0.4; pointer-events: none; }
.check-ergebnis h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.check-ergebnis > p { color: var(--ink-dim); margin-bottom: 20px; }
.ergebnis-liste { display: grid; gap: 12px; margin-bottom: 26px; }
.ergebnis {
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--bg-0);
}
.ergebnis--faellig { border-left-color: #e8590c; background: #fff7f2; }
.ergebnis--termin, .ergebnis--einmal { border-left-color: var(--accent-deep); background: #fffbeb; }
.ergebnis--pruefen { border-left-color: #1c7ed6; background: #f3f8ff; }
.ergebnis--keine { border-left-color: #2f9e44; background: #f4fbf5; }
.ergebnis-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.ergebnis-status { font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--panel); color: var(--ink-dim); }
.ergebnis--faellig .ergebnis-status { background: #e8590c; color: #fff; }
.ergebnis--termin .ergebnis-status, .ergebnis--einmal .ergebnis-status { background: var(--accent); color: #100c00; }
.ergebnis--pruefen .ergebnis-status { background: #1c7ed6; color: #fff; }
.ergebnis--keine .ergebnis-status { background: #2f9e44; color: #fff; }
.ergebnis-anlage { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.ergebnis strong { display: block; font-family: var(--display); font-size: 1.08rem; line-height: 1.35; color: var(--ink); }
.ergebnis p { font-size: 0.92rem; color: var(--ink-dim); margin-top: 6px; line-height: 1.6; }
.ergebnis .ergebnis-quelle { font-size: 0.78rem; color: var(--ink-faint); margin-top: 6px; }
.check-form { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 16px; }
.check-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-form .btn { justify-content: center; }
.check-neu { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); margin-top: 14px; }
.check-neu:hover { color: var(--ink); }
.check-statisch { display: grid; gap: 12px; }
@media (max-width: 960px) {
  .check-raster { grid-template-columns: 1fr; }
  .check-kopf { position: static; }
}
@media (max-width: 600px) {
  .check { border-radius: 16px; padding: 22px 16px 26px; }
  .check-form .row { grid-template-columns: 1fr; }
}

/* ============================================================
   Luftbild mit Standort-Pin (Kontakt)
   ============================================================ */
.luftbild { position: relative; border-radius: 18px; overflow: hidden; background: var(--dark-1); aspect-ratio: 16 / 10; }
.luftbild picture, .luftbild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.lb-pin b {
  display: block; white-space: nowrap; padding: 9px 14px; border-radius: 10px;
  background: #100c00; color: #fff; font-size: 0.82rem; font-weight: 700; line-height: 1.35; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.lb-pin b small { display: block; font-weight: 500; color: rgba(255, 255, 255, 0.7); font-size: 0.75rem; }
.lb-pin i { display: block; width: 3px; height: 26px; background: var(--accent); }
.lb-pin::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%; margin-top: -2px;
  background: var(--accent); border: 3px solid #100c00;
  box-shadow: 0 0 0 8px rgba(255, 210, 51, 0.35);
  animation: pin-puls 2.4s ease-out infinite;
}
@keyframes pin-puls { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 51, 0.6); } 100% { box-shadow: 0 0 0 26px rgba(255, 210, 51, 0); } }
.luftbild figcaption {
  position: absolute; right: 10px; bottom: 8px; font-size: 0.68rem; color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.45); padding: 3px 8px; border-radius: 6px;
}
@media (orientation: portrait), (max-width: 700px) { .luftbild { aspect-ratio: 3 / 4; } }
@media (prefers-reduced-motion: reduce) { .lb-pin::after { animation: none; } }

/* ============================================================
   Kontaktseite: Kontakt-Bühne
   ============================================================ */
.kontakt-buehne { padding: calc(var(--header-h) + clamp(50px, 9vh, 100px)) 0 clamp(70px, 11vh, 120px); background:
    radial-gradient(90% 130% at 88% -25%, rgba(255, 210, 51, 0.22), transparent 58%), var(--bg-0); }
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro form" "details form"; gap: 0 clamp(36px, 6vw, 100px); align-items: start; }
.k-intro { grid-area: intro; }
.k-form { grid-area: form; }
.k-details { grid-area: details; }
.kontakt-raster h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 14px 0 20px; }
.kontakt-daten { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 28px 0 30px; }
.kontakt-daten .contact-item a, .kontakt-daten .contact-item p { font-size: 1.05rem; }
.kontakt-form-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2); padding: clamp(24px, 3.6vw, 52px); }
@media (max-width: 960px) { .kontakt-raster { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "details"; gap: 28px; } }
@media (max-width: 520px) { .kontakt-daten { grid-template-columns: 1fr; } }

/* ============================================================
   Über uns: Geschäftsführung + Mitgliedschaften
   ============================================================ */
.gf-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); max-width: 860px; margin-top: 10px; }
.gf-reihe .gf-card { flex-direction: row; align-items: center; gap: 18px; }
@media (max-width: 640px) { .gf-reihe { grid-template-columns: 1fr; } }
/* Team: zwei Porträts + Teamfoto in einer Reihe. Bis die Fotos da sind: dunkle Fläche mit Initialen.
   Echte Fotos als <img> in .team-bild, Klasse team-bild--platzhalter dann entfernen. */
.team-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.team-karte { margin: 0; }
.team-karte--gruppe { grid-column: span 2; }
.team-bild { position: relative; height: clamp(300px, 27vw, 460px); border-radius: var(--radius); overflow: hidden; background: var(--dark-1); }
.team-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-bild--platzhalter { display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 15%, #262b31 0%, var(--dark-1) 62%); }
.team-bild .monogramm { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: 1; letter-spacing: 0.02em; color: var(--accent); }
.team-bild .team-hinweis { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.team-karte figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.team-karte figcaption strong { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.team-karte figcaption span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 900px) {
  .team-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-bild { height: auto; aspect-ratio: 4 / 5; }
  .team-karte--gruppe .team-bild { aspect-ratio: 16 / 10; }
}
.zz-text .trust-row { margin-top: 34px; padding-top: 24px; gap: 16px 30px; }
.zz-text .trust-row img { height: 46px; }

/* ============================================================
   Karriere: Berufe-Kacheln + Bewerbungs-Bühne
   ============================================================ */
.berufe { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.beruf {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.beruf:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--accent-deep); }
.beruf h3 { font-size: 1.2rem; }
.beruf p { font-size: 0.93rem; color: var(--ink-dim); }
.beruf .st-mehr { color: var(--ink); border-color: var(--accent); margin-top: auto; font-size: 11.5px; }
@media (max-width: 900px) { .berufe { grid-template-columns: 1fr; } }

/* ============================================================
   Kopf/Fuß
   ============================================================ */
.site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
.fuss-kontakt { margin-top: 18px; display: grid; gap: 6px; }
.fuss-kontakt a { color: var(--ink-inv) !important; font-weight: 600; }
@media (max-width: 800px) {
  .site-footer { padding-top: 44px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; margin-bottom: 30px; }
  .site-footer .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid li { margin-bottom: 6px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* Credit: wer die Website gebaut hat (tyzen44) */
.fuss-credit {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-inv);
  color: var(--ink-inv-faint); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.3s ease;
}
.fuss-credit img { height: 30px; width: auto; transition: transform 0.35s var(--ease-out); }
.fuss-credit:hover { color: var(--ink-inv); }
.fuss-credit:hover img { transform: translateY(-2px); }
@media (max-width: 600px) { .fuss-credit { flex-direction: column; gap: 10px; margin-bottom: 52px; } .fuss-credit img { height: 26px; } }

/* ---------- Abschnitts-Köpfe auf dunklem Grund ---------- */
.section--dunkel { background: var(--dark-0); color: #fff; }
.section--dunkel h2 { color: #fff; }
.section--dunkel .lead, .section--dunkel p { color: var(--ink-inv-dim); }
.section--dunkel .overline { color: var(--accent); }

/* ---------- Kleinigkeiten ---------- */
.stage-note { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.tel-zeile { margin-top: 12px; font-size: 0.95rem; color: var(--ink-dim); }
.tel-zeile a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line-strong); }
.hinweis-quelle { font-size: 0.78rem; color: var(--ink-faint); }

/* Datenschutz-Titel: langes Wort darf auf dem Handy umbrechen */
.subpage-hero .display { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .subpage-hero .display { font-size: clamp(2rem, 9.6vw, 2.6rem); } }

@media (prefers-reduced-motion: reduce) {
  .check-schritt { animation: none; }
  .strecke-tafel img, .bildkachel img { transition: none; }
}

/* Rechtsgrundlagen als Quellenliste (Wartung) – Zahlen stehen nur im Check */
.quellen-liste { list-style: none; margin: 0; padding: 0; max-width: 860px; border-top: 1px solid var(--line); }
.quellen-liste li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.quellen-liste strong { font-family: var(--display); font-weight: 700; color: var(--ink); }
.quellen-liste span { color: var(--ink-dim); font-size: 0.95rem; }

/* ---------- Start-Hero als Film (seit 27.09.2026 statt Scroll-Hero) ----------
   Startbild → Film → scharfes Endbild, alle drei deckungsgleich übereinander. */
.stage--video .stage-bild,
.stage--video .stage-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage--video .stage-bild img,
.stage--video .stage-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage--video .stage-video { opacity: 0; transition: opacity 0.4s ease; }
.stage--video.video-laeuft .stage-video { opacity: 1; }
.stage--video .stage-ende { opacity: 0; transition: opacity 0.6s ease; }
.stage--video.ist-am-ende .stage-ende { opacity: 1; }
.hero-gewerk {
  position: absolute; z-index: 3; margin: 0; pointer-events: none;
  right: clamp(20px, 5vw, 90px); bottom: clamp(76px, 12vh, 140px);
}
.hero-gewerk span {
  position: absolute; right: 0; bottom: 0; white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  color: var(--gewerk); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75);
  opacity: 0; transform: translateY(12px); transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero-gewerk span b {
  font-size: 0.42em; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.6);
  margin-right: 0.7em; vertical-align: middle;
}
.hero-gewerk span.an { opacity: 1; transform: none; }
.hvacs-cta { margin-top: clamp(26px, 4vh, 40px); }
@media (max-width: 760px), (orientation: portrait) {
  .hero-gewerk { right: auto; bottom: auto; left: 20px; top: 92px; }
  .hero-gewerk span { right: auto; bottom: auto; left: 0; top: 0; font-size: clamp(1.4rem, 6.4vw, 2rem); }
}
.hero-nochmal {
  position: absolute; z-index: 3; right: 18px; bottom: 40px;
  padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.hero-nochmal:hover, .hero-nochmal:focus-visible { color: var(--accent); }
.hero-nochmal[hidden] { display: none; }
