/* ============================================================
   TM FENSTERMONTEUR BREMEN — „Klarglas & Warmlicht"
   Werkplan trifft blaue Stunde. Anthrazit / Glas-Weiß / Kobalt,
   Wärme nur als Licht. Vanilla CSS, keine Dependencies.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Farben */
  --ink: #22272B;            /* Anthrazit — Text, RAL-7016-DNA */
  --ink-60: #5A646C;         /* sekundärer Text auf hell */
  --nacht: #14181C;          /* dunkle Sektionen, Footer */
  --nacht-2: #1B2127;        /* Karten auf dunkel */
  --tag: #F4F7F9;            /* kühles Glas-Weiß, Grundfläche hell */
  --glas: #E9EFF3;           /* Eis-Tint für Flächen */
  --glas-linie: #C9D5DD;     /* 1px-Kanten, Bemaßungslinien */
  --glas-linie-dunkel: #333C44;
  --akzent: #1D4FA8;         /* Kobaltblau — CTAs, Links */
  --akzent-tief: #163C82;
  --akzent-hell: #7FA3E8;    /* Akzent auf dunklem Grund */
  --akzent-wash: #E3EBF7;    /* Chips, Badges */
  --warm-1: #FFD9A0;         /* NUR Licht-Gradients */
  --warm-2: #E8A24B;
  --thermo: #D64545;         /* nur Wärmebild */
  --weiss: #FFFFFF;
  --ok: #2E7D4F;
  --grau: #8A9299;           /* Logo-Grau (Wortmarke „MONTEUR") */
  --grau-tief: #5F676D;
  --grau-wash: #EDEFF1;      /* helle Grau-Fläche, Logo-DNA */

  /* Typo */
  --f-display: 'Clash Grotesk', 'Clash Grotesk Static', 'Segoe UI', sans-serif;
  --f-body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Maße */
  --max: 1200px;
  --max-text: 72ch;
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;

  /* Motion */
  --e-out: cubic-bezier(.16,1,.3,1);       /* ease-out-expo-ish */
  --t-fast: .22s var(--e-out);
  --t-med: .5s var(--e-out);

  /* Z-Ebenen */
  --z-nav: 60; --z-sticky: 50; --z-backdrop: 80; --z-modal: 90; --z-chat: 70; --z-toast: 100;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--tag);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); text-decoration: none; }
a:hover { color: var(--akzent-tief); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; max-width: var(--max-text); text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--akzent); color: #fff; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--akzent-hell); }

/* Volle Bildschirmbreite nutzen — Lesbarkeit über --max-text gesichert */
.wrap { max-width: none; margin-inline: 0; padding-inline: clamp(18px, 4.5vw, 120px); }
.sect { padding-block: clamp(64px, 9vw, 128px); }
.sect--tight { padding-block: clamp(44px, 6vw, 80px); }

/* Dunkle Sektionen */
.dark { background: var(--nacht); color: #E8EDF2; }
.dark h1, .dark h2, .dark h3 { color: #F4F8FC; }
.dark p { color: #B9C4CE; }
.dark a { color: var(--akzent-hell); }

/* Glas-Sektion (Eis-Tint) */
.glassec { background: var(--glas); }

/* ---------- 3. Signatur: Werkplan-Bemaßung ---------- */
.dim {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 18px;
}
.dim::before, .dim::after {
  content: ''; flex: 0 0 46px; height: 1px; background: var(--glas-linie);
  position: relative;
}
.dim--grow::before, .dim--grow::after { flex: 1; }
/* Endstriche wie im Werkplan */
.dim::before { border-left: 1px solid var(--glas-linie); height: 9px; background: linear-gradient(to bottom, transparent 4px, var(--glas-linie) 4px, var(--glas-linie) 5px, transparent 5px); }
.dim::after  { border-right: 1px solid var(--glas-linie); height: 9px; background: linear-gradient(to bottom, transparent 4px, var(--glas-linie) 4px, var(--glas-linie) 5px, transparent 5px); }
.dark .dim { color: #8C99A6; }
.dark .dim::before, .dark .dim::after { border-color: var(--glas-linie-dunkel); background: linear-gradient(to bottom, transparent 4px, var(--glas-linie-dunkel) 4px, var(--glas-linie-dunkel) 5px, transparent 5px); }

/* ---------- 3b. Kicker (moderne Sektions-Eyebrow) ---------- */
.kicker {
  display: inline-block;
  font-family: var(--f-display); font-size: 1.02rem; font-weight: 560;
  letter-spacing: .01em; color: var(--akzent);
  margin-bottom: 12px;
}
.dark .kicker { color: var(--akzent-hell); }

/* ---------- 4. Signatur: Lichtkante ---------- */
.lichtkante {
  height: 3px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--warm-1) 18%, var(--warm-2) 50%, var(--warm-1) 82%, transparent);
  opacity: .85;
}

/* ---------- 5. Signatur: Profil-Rahmen ---------- */
.pframe {
  border: 1px solid var(--glas-linie);
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  border-radius: 2px;
  background: var(--weiss);
}
.dark .pframe { outline-color: #E8EDF2; border-color: var(--glas-linie-dunkel); background: var(--nacht-2); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 560; font-size: 1.02rem;
  letter-spacing: .01em; line-height: 1;
  padding: 17px 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: linear-gradient(180deg, #2C66D2, var(--akzent)); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(29,79,168,.65);
  position: relative; overflow: hidden;
}
.btn--primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); transition: left .55s var(--e-out);
}
.btn--primary:hover { background: linear-gradient(180deg, #3670DC, #2258B8); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(29,79,168,.8); }
.btn--primary:hover::after { left: 125%; }
.dark .btn--primary, .dark a.btn--primary { color: #fff; background: linear-gradient(180deg, #3E78E4, #2A5FC4); box-shadow: 0 14px 38px -10px rgba(96,146,240,.55); }
.dark .btn--warm, .dark a.btn--warm { color: var(--ink); }
.dark .btn--primary:hover { background: linear-gradient(180deg, #4B84EE, #3168D2); box-shadow: 0 20px 50px -12px rgba(96,146,240,.7); }
.btn--ghost {
  background: #fff; color: var(--akzent); border-color: var(--akzent);
  box-shadow: 0 8px 22px -14px rgba(29, 79, 168, .55);
}
.btn--ghost:hover { background: var(--akzent); color: #fff; border-color: var(--akzent); transform: translateY(-2px); }
/* Auf dunklen Flaechen: volles Weiss, damit der Knopf wirklich auffaellt */
.dark .btn--ghost, .dark a.btn--ghost { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); }
.dark .btn--ghost:hover, .dark a.btn--ghost:hover { background: var(--akzent-hell); color: var(--nacht); border-color: var(--akzent-hell); }
.btn--warm { background: #fff; color: var(--ink); }
.btn--warm:hover { transform: translateY(-2px); }
.btn--s { padding: 12px 22px; font-size: .95rem; }
.btn--xl { padding: 20px 40px; font-size: 1.12rem; }

/* ---------- 7. Topbar ---------- */
.topbar {
  background: var(--nacht); color: #AEB9C3;
  font-size: .82rem; letter-spacing: .02em;
  position: relative; z-index: calc(var(--z-nav) + 1);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 38px; }
.topbar a { color: #D7DEE5; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar__ort { display: flex; align-items: center; gap: 7px; }
.topbar__spacer { flex: 1; }
.topbar__not { display: flex; align-items: center; gap: 7px; }
.topbar__not .puls {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--warm-2);
  animation: puls 2.4s ease-in-out infinite;
}
@keyframes puls { 0%,100% { box-shadow: 0 0 0 0 rgba(232,162,75,.5);} 55% { box-shadow: 0 0 0 6px rgba(232,162,75,0);} }

/* ---------- 8. Header / Nav ---------- */
/* WICHTIG: kein backdrop-filter direkt auf .header — er erzeugt einen
   Containing Block, in dem das mobile Vollbild-Menü (position:fixed)
   eingesperrt wird. Der Blur läuft daher über ein Pseudo-Element. */
.header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: transparent;
  border-bottom: 1px solid var(--glas-linie);
  transition: transform .34s var(--e-out);
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--tag) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header.is-hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; gap: 26px; min-height: 74px; }
.nav__logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.nav__logo:hover { color: var(--ink); }
.nav__logo svg { display: block; }
.nav__logo img { display: block; height: 52px; width: auto; }
@media (max-width: 640px) { .nav__logo img { height: 42px; } }
.nav__logo-text { font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; letter-spacing: .015em; line-height: 1.05; }
.nav__tel { display: none; }
.nav__logo-text small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .6rem; letter-spacing: .28em; color: var(--ink-60); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav__ende { display: none; }
.nav__links > li { position: relative; }
.nav__links a.navlink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .98rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__links a.navlink:hover, .nav__links a.navlink[aria-expanded="true"] { background: var(--akzent-wash); color: var(--akzent-tief); }
.nav__links a.navlink.is-active { color: var(--akzent-tief); }
.nav__cta { margin-left: 8px; }
.nav__caret { transition: transform var(--t-fast); }
[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* Dropdown Leistungen */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  /* Hover-Brücke: unsichtbare Fläche über dem Panel, damit der Maus-Weg
     vom Trigger zum Dropdown nicht als mouseleave zählt */
  min-width: 560px;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-m);
  box-shadow: 0 30px 60px -20px rgba(20,24,28,.25);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dropdown.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px; color: var(--ink);
}
.dd-ic {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: var(--akzent-wash); color: var(--akzent-tief);
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.dd-ic svg { width: 19px; height: 19px; }
.dropdown a:hover .dd-ic { background: var(--akzent); color: #fff; }
.dd-tx { display: grid; gap: 1px; }
.dropdown a:hover { background: var(--akzent-wash); }
.dd-tx b { font-family: var(--f-display); font-weight: 560; font-size: .96rem; }
.dd-tx > span { font-size: .8rem; color: var(--ink-60); }
.dropdown__all {
  grid-column: 1 / -1; margin-top: 6px;
  border-top: 1px solid var(--glas-linie); padding-top: 10px !important;
  flex-direction: row !important; align-items: center; justify-content: center; gap: 8px !important;
  color: var(--akzent) !important; font-weight: 600;
  border-color: rgba(29, 79, 168, .35);
}

/* Burger */
.nav__toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1px solid var(--glas-linie); border-radius: 10px;
  background: #fff; cursor: pointer; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast);
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { left: 0; right: 0; top: -7px; }
.nav__toggle span::after { left: 0; right: 0; top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav { gap: 14px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; top: 0; z-index: 1;
    margin: 0; padding: 88px 22px calc(34px + env(safe-area-inset-bottom));
    background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    opacity: 0; pointer-events: none; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s var(--e-out), transform .32s var(--e-out), visibility .28s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; visibility: visible; transform: none; z-index: 1; }
  /* Eintraege laufen gestaffelt ein */
  .nav__links > li { opacity: 0; transform: translateY(10px); transition: opacity .3s var(--e-out), transform .3s var(--e-out); }
  .nav__links.is-open > li { opacity: 1; transform: none; }
  .nav__links.is-open > li:nth-child(1) { transition-delay: .06s; }
  .nav__links.is-open > li:nth-child(2) { transition-delay: .1s; }
  .nav__links.is-open > li:nth-child(3) { transition-delay: .14s; }
  .nav__links.is-open > li:nth-child(4) { transition-delay: .18s; }
  .nav__links.is-open > li:nth-child(5) { transition-delay: .22s; }
  .nav__links.is-open > li:nth-child(6) { transition-delay: .26s; }
  .nav__links > li + li { border-top: 1px solid var(--glas-linie); }
  .nav__caret { transition: transform var(--t-fast); }
  .nav__links a.navlink[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
  /* Untereintraege: nur Titel + Symbol, Beschreibung weglassen (weniger ist mehr) */
  .dropdown .dd-tx span { display: none; }
  .dropdown a { padding: 12px 10px; gap: 12px; }
  .dropdown .dd-ic { width: 34px; height: 34px; }
  .dropdown .dd-tx b { font-size: 1rem; }
  /* Abschluss-Block mit Angebot + Anruf (von site.js eingefuegt) */
  .nav__ende { display: grid; border-top: 0 !important; margin-top: 24px; gap: 10px; }
  .nav__ende .btn { width: 100%; padding: 16px 20px; font-size: 1.02rem; }
  .nav__ende p { margin: 4px 0 0; text-align: center; font-size: .82rem; color: var(--ink-60); }
  /* Logo + Burger müssen ÜBER dem geöffneten Vollbild-Menü liegen,
     sonst lässt es sich nicht mehr schließen (eindeutige Ebenen-Reihenfolge) */
  .nav__toggle, .nav__logo, .nav__tel { position: relative; z-index: 3; }
  .nav__links a.navlink { font-size: 1.24rem; font-family: var(--f-display); font-weight: 520; padding: 16px 10px; justify-content: space-between; }
  .dropdown {
    position: static; translate: none; min-width: 0; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--glas-linie);
    border-radius: 0; margin: 0 0 8px 12px; padding: 0 0 0 8px;
    grid-template-columns: 1fr;
    display: none;
  }
  .dropdown.is-open { display: grid; }
  .nav__cta { display: none; }
}

/* ---------- 9. Hero (Start, dunkel) ---------- */
.hero {
  position: relative; overflow: clip;
  background: var(--nacht); color: #E8EDF2;
  min-height: min(92dvh, 980px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.82);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,24,28,.94) 0%, rgba(20,24,28,.55) 34%, rgba(20,24,28,.18) 62%, rgba(20,24,28,.35) 100%);
}
.hero .wrap { position: relative; padding-bottom: clamp(40px, 6vw, 88px); padding-top: 140px; }
.hero__kicker {
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--warm-1); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.hero__kicker::before { content: ''; width: 34px; height: 1px; background: var(--warm-2); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #C9D3DC; max-width: 52ch; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 36px; }
.hero__tel { display: inline-flex; align-items: center; gap: 10px; color: #E8EDF2; font-family: var(--f-display); font-weight: 560; font-size: 1.05rem; }
.hero__tel:hover { color: var(--warm-1); }

/* Trust-Row */
.trust {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px);
  border-top: 1px solid rgba(201,213,221,.18);
  padding-top: 22px;
}
.trust__item { display: flex; flex-direction: column; gap: 2px; }
.trust__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: #fff; display: flex; align-items: baseline; gap: 6px; }
.trust__num .stars { color: var(--warm-1); font-size: .8em; letter-spacing: .06em; }
.trust__label { font-size: .82rem; color: #97A3AE; }

/* ---------- 10. Null-Euro-Zeile ---------- */
.zeroline { background: var(--akzent); color: #fff; }
.zeroline .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 4vw, 64px); padding-block: 16px; }
.zeroline span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 560; font-size: .98rem; }
.zeroline svg { flex: none; }

/* ---------- 11. Leistungs-Grid (asymmetrisch, keine Einheitskarten) ---------- */
.lgrid { display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); }
.lcard {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 250px; padding: 22px; border-radius: var(--r-m); overflow: hidden;
  background: var(--glas); color: var(--ink);
  border: 1px solid var(--glas-linie);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.lcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -22px rgba(20,24,28,.28); color: var(--ink); }
.lcard__img { position: absolute; inset: 0; }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--e-out); }
.lcard:hover .lcard__img img { transform: scale(1.045); }
.lcard__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,19,23,.92), rgba(15,19,23,.5) 26%, rgba(15,19,23,.06) 52%, transparent 66%); }
.lcard--foto { color: #fff; min-height: 380px; }
.lcard--foto .lcard__body h3, .lcard--foto .lcard__body p { text-shadow: 0 1px 10px rgba(11,14,17,.55); }
.lcard--foto:hover { color: #fff; }
.lcard__body { position: relative; }
.lcard__body h3 { margin-bottom: 4px; }
.lcard--foto .lcard__body p { color: #C9D3DC; }
.lcard__body p { font-size: .9rem; margin: 0; color: var(--ink-60); }
.lcard__pfeil {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lcard:not(.lcard--foto) .lcard__pfeil { background: #fff; color: var(--ink); border-color: var(--glas-linie); }
.lcard:hover .lcard__pfeil { transform: rotate(45deg); background: var(--akzent); color: #fff; border-color: var(--akzent); }
.lcard--1 { grid-column: span 3; }
.lcard--2 { grid-column: span 3; }
.lcard--3, .lcard--4, .lcard--5 { grid-column: span 2; min-height: 300px; }
.lcard--6, .lcard--7 { grid-column: span 3; min-height: 260px; }
.lcard--not {
  grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; gap: 14px;
  background: var(--nacht); color: #D7DEE5; border-color: var(--nacht);
  padding: 16px 22px;
}
.lcard--not:hover { color: #fff; }
.lcard--not p { color: #97A3AE; margin: 0; }
.lcard--not .lcard__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
@media (max-width: 900px) {
  .lcard--1, .lcard--2 { grid-column: span 6; }
  .lcard--3, .lcard--4, .lcard--5 { grid-column: span 3; }
  .lcard--6, .lcard--7 { grid-column: span 3; }
}
@media (max-width: 560px) {
  .lcard--3, .lcard--4, .lcard--5, .lcard--6, .lcard--7 { grid-column: span 6; min-height: 170px; }
}

/* ---------- 12. Marken-Sektion ---------- */
.marken { background: var(--glas); }
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.mk-card { padding: clamp(22px, 3vw, 36px); }
.mk-card__logo { font-family: var(--f-display); font-weight: 640; font-size: 1.7rem; letter-spacing: .01em; display: flex; align-items: center; gap: 12px; }
.mk-card__logo small { font-family: var(--f-mono); font-weight: 400; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-60); }
.mk-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.mk-card li { display: flex; gap: 10px; font-size: .95rem; }
.mk-card li::before { content: ''; flex: none; width: 15px; height: 15px; margin-top: 5px; border-radius: 50%; background: var(--akzent-wash); box-shadow: inset 0 0 0 4.5px var(--akzent); }
.mk-sys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mk-sys span {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em;
  padding: 6px 11px; border-radius: 999px; background: var(--akzent-wash); color: var(--akzent-tief);
}
.budgetzeile {
  margin-top: 18px; padding: 18px 24px; border-radius: var(--r-m);
  background: transparent; border: 1px dashed var(--glas-linie);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  font-size: .93rem; color: var(--ink-60);
}
.budgetzeile b { color: var(--ink); font-family: var(--f-display); font-weight: 560; }
.budgetzeile .mk-sys { margin: 0; }
@media (max-width: 820px) { .mk-grid { grid-template-columns: 1fr; } }

/* 76/82-Erklärgrafik */
.bautiefe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: 40px; }
.bautiefe__viz { display: flex; align-items: flex-end; justify-content: center; gap: clamp(30px, 5vw, 70px); padding: 30px 10px 10px; }
.bt {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.bt__balken {
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 100%),
              linear-gradient(180deg, #fff, var(--glas));
  border: 2px solid var(--ink); border-radius: 3px;
  height: 120px;
  background-size: var(--kammer, 20%) 100%, 100% 100%;
}
.bt--76 .bt__balken { width: 76px; --kammer: 20%; }
.bt--82 .bt__balken { width: 96px; --kammer: 14.5%; height: 132px; }
.bt__mass { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-60); display: flex; align-items: center; gap: 8px; }
.bt__mass::before, .bt__mass::after { content: ''; width: 16px; height: 1px; background: var(--ink-60); }
@media (max-width: 820px) { .bautiefe { grid-template-columns: 1fr; } }

/* ---------- 13. Prozess (scroll-gekoppelt) ---------- */
.prozess { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); margin-top: 40px; position: relative; }
.steps__rail {
  position: absolute; top: 26px; left: 27px; right: 27px; height: 2px;
  background: var(--glas-linie); z-index: 0;
}
.steps__rail i { display: block; height: 100%; width: 0%; background: var(--akzent); transition: width .9s var(--e-out); }
.step { position: relative; z-index: 1; }
.step__n {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--tag); border: 2px solid var(--glas-linie);
  box-shadow: 0 0 0 6px var(--tag);
  font-family: var(--f-mono); font-weight: 500; font-size: .95rem;
  margin-bottom: 16px; transition: border-color .3s, background .3s, color .3s, transform .3s var(--e-out);
}
.step.is-on .step__n { transform: scale(1.08); }
.step.is-on .step__n { border-color: var(--akzent); background: var(--akzent); color: #fff; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--ink-60); margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps__rail { display: none; }
  /* Nummer links über beide Zeilen, Titel + Text rechts (sonst landet der
     Absatz in der 54px-Spalte und bricht nach jedem Wort um) */
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
  .step__n { margin: 0; grid-row: span 2; }
  .step h3, .step p { grid-column: 2; }
}

/* ---------- 14. Förder-Teaser ---------- */
.foerder { background: var(--nacht); position: relative; overflow: clip; }
.foerder::after {
  content: ''; position: absolute; right: -12%; top: -30%; width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,162,75,.16), transparent 65%);
  pointer-events: none;
}
.foerder__zahl { font-family: var(--f-display); font-weight: 640; font-size: clamp(4rem, 9vw, 7rem); line-height: .95; color: #fff; }
.foerder__zahl small { font-size: .35em; font-weight: 500; color: var(--warm-1); }
.foerder__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; max-width: 1480px; margin-inline: auto; }
/* Neue Förder-Bühne: Inhalt links, er zeigt rechts auf die große Zahl */
.foerder__buehne {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 90px); align-items: center;
  max-width: 1480px; margin-inline: auto;
  min-height: clamp(480px, 74vh, 760px);
}
.foerder__inhalt h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); max-width: 18ch; }
.foerder__visual { position: relative; align-self: end; display: flex; justify-content: center; padding-top: clamp(60px, 10vh, 120px); }
.foerder__visual img {
  height: clamp(420px, 66vh, 720px); width: auto; display: block; position: relative; z-index: 1;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55));
}
.foerder__mega {
  position: absolute; z-index: 0; top: 0; left: 0;
  font-family: var(--f-display); font-weight: 640; line-height: .88;
  font-size: clamp(6rem, 12.5vw, 12rem); color: #fff; letter-spacing: -.02em;
  animation: megaschweben 6.5s ease-in-out infinite;
}
.foerder__mega small { font-size: .42em; font-weight: 520; color: var(--warm-1); }
.foerder__mega::before {
  content: ''; position: absolute; inset: -34%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,162,75,.22), transparent 65%);
}
@keyframes megaschweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 820px) {
  .foerder__buehne { grid-template-columns: 1fr; min-height: 0; }
  .foerder__visual { padding-top: 90px; margin-top: 6px; }
  .foerder__visual img { height: clamp(380px, 52vh, 520px); }
  .foerder__mega { font-size: clamp(5.4rem, 26vw, 8rem); left: 2%; }
}
.warnbox {
  margin-top: 20px; padding: 14px 18px; border-radius: var(--r-s);
  background: rgba(232,162,75,.1); border: 1px solid rgba(232,162,75,.35);
  color: #F2D9B0; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; max-width: 60ch;
}
@media (max-width: 820px) { .foerder__grid { grid-template-columns: 1fr !important; } .foerder__grid figure { justify-self: center; } }

/* ---------- 15. Reviews ---------- */
.reviews { overflow: clip; }
.rev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gbadge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: 999px;
  padding: 10px 20px 10px 12px;
}
.gbadge__g { width: 30px; height: 30px; }
.gbadge b { font-family: var(--f-display); font-size: 1.15rem; }
.gbadge .stars { color: #F4B400; letter-spacing: .04em; }
.gbadge small { color: var(--ink-60); }
.marquee { margin-top: 38px; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 18px; padding-right: 18px; flex: none; animation: marq 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-100%); } }
.rev-card {
  width: min(400px, 82vw); flex: none;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-m);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.rev-card .stars { color: #F4B400; font-size: .95rem; letter-spacing: .1em; }
.rev-card p { font-size: .95rem; margin: 0; color: var(--ink); }
.rev-card footer { display: flex; align-items: center; justify-content: space-between; font-size: .84rem; color: var(--ink-60); }

/* ---------- 16. Konfigurator-Platzhalter ---------- */
.konf { background: var(--glas); }
.konf__box {
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center;
}
.konf__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--akzent-tief); background: var(--akzent-wash);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.konf__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); animation: puls 2.4s ease-in-out infinite; }
.konf__viz { display: grid; gap: 10px; }
.konf__viz .zeile { display: flex; gap: 10px; }
.konf__viz .feld { height: 44px; border-radius: 8px; background: #fff; border: 1px solid var(--glas-linie); flex: 1; position: relative; overflow: hidden; }
.konf__viz .feld--aktiv { border-color: var(--akzent); box-shadow: inset 0 0 0 1px var(--akzent); }
.konf__viz .feld::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(29,79,168,.06) 50%, transparent 70%);
  transform: translateX(-100%); animation: shimmer 3.4s var(--e-out) infinite;
}
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
@media (max-width: 820px) { .konf__box { grid-template-columns: 1fr; } }

/* ---------- 17. FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin-top: 36px; max-width: 1160px; margin-inline: auto; }
.sect .faq-kopf { text-align: center; }
.faq {
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-m);
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px;
  font-family: var(--f-display); font-weight: 560; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); transition: transform var(--t-fast); margin-top: -4px;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq__body { padding: 0 22px 20px; color: var(--ink-60); font-size: .97rem; }
.faq__body p { margin-bottom: .6em; }

/* ---------- 18. Abschluss-CTA ---------- */
.cta-final { background: var(--nacht); position: relative; overflow: clip; text-align: center; }
/* Startseite: fertiges Haus als Stimmungs-Hintergrund hinter dem Formular */
.cta-final--bild {
  background:
    linear-gradient(180deg, rgba(16,20,25,.92) 0%, rgba(16,20,25,.8) 45%, rgba(16,20,25,.94) 100%),
    url('../img/szene-fenster-wohnabend.webp') center 42% / cover no-repeat;
}
/* Der warme Lichtschein ueber dem Footer ist auf Wunsch entfernt (19.08.). */
.cta-final h2 { max-width: 22ch; margin-inline: auto; }
.cta-final .btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; position: relative; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--nacht); color: #97A3AE; font-size: .93rem; }
.footer a { color: #C4CDD6; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 80px);
}
.footer h4 { color: #E8EDF2; font-size: .98rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__logo { height: 66px; width: auto; display: block; margin-bottom: 18px; }
.footer__fenster {
  width: 44px; height: 56px; border: 2px solid #59646E; border-radius: 2px;
  display: grid; grid-template-rows: 1fr 1fr; gap: 2px; padding: 3px; margin-bottom: 18px;
}
.footer__fenster i {
  background: linear-gradient(160deg, var(--warm-1), var(--warm-2));
  border-radius: 1px; opacity: .92;
  box-shadow: 0 0 18px 2px rgba(232,162,75,.4);
  animation: gluehen 5.5s ease-in-out infinite;
}
.footer__fenster i:last-child { animation-delay: 1.2s; }
@keyframes gluehen { 0%,100% { opacity: .92; } 50% { opacity: .65; } }
.footer__unten {
  border-top: 1px solid var(--glas-linie-dunkel);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: .84rem;
}
.footer__unten .spacer { flex: 1; }
.gstars { color: var(--warm-1); letter-spacing: .05em; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 20. Mobile Sticky-Bar ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: none;
  background: color-mix(in srgb, var(--nacht) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glas-linie-dunkel);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.stickybar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 8px; border-radius: 10px;
  font-family: var(--f-display); font-weight: 560; font-size: .92rem;
  color: var(--ink); background: #fff; border: 1px solid #fff;
}
.stickybar a.is-primary {
  background: linear-gradient(180deg, #3E78E4, #2A5FC4); border-color: transparent; color: #fff;
  box-shadow: 0 -2px 24px -6px rgba(96,146,240,.55);
}
@media (max-width: 760px) { .stickybar { display: flex; } body { padding-bottom: 76px; } }

/* ---------- 21. Reveal / Motion-Basis ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--e-out), transform .7s var(--e-out); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- 22. Scrub-Stages (Rollladen etc.) ---------- */
.stage { position: relative; }
.stage__pin { position: sticky; top: 0; height: 100dvh; overflow: clip; display: grid; place-items: center; }
.stage--rollo { height: 300vh; background: var(--tag); }

/* Rollladen-Szene (Canvas-Frame-Scrub, echte Video-Frames) */
.rollo-szene { position: relative; width: min(440px, 82vw); }
.rollo-fenster { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(20,24,28,.45); }
.rollo-fenster img, .rollo-canvas { width: 100%; height: auto; display: block; }
.rollo-dunkel { position: absolute; inset: 0; background: #0B0E11; opacity: 0; pointer-events: none; }
.rollo-kasten {
  position: absolute; left: -3%; right: -3%; top: -12%;
  height: 10%;
  background: linear-gradient(180deg, #DFE6EB, #C2CCD4);
  border: 1px solid #AEB9C3; border-radius: 4px 4px 0 0; z-index: 3;
}
.rollo-schacht { position: absolute; inset: 0; overflow: hidden; z-index: 2; }
.rollo-panzer { position: absolute; left: 0; right: 0; top: 0; height: 100%; transform: translateY(-101%); will-change: transform; }
.rollo-panzer i {
  display: block; height: 4.1666%;
  background: linear-gradient(180deg, #EBF0F4 0%, #CDD7DE 55%, #AFBCC5 100%);
  border-bottom: 1px solid rgba(20,24,28,.22);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55);
}
.rollo-label {
  position: absolute; left: 50%; bottom: -54px; translate: -50% 0;
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em;
  color: var(--ink-60); white-space: nowrap;
}
.rollo-chip {
  position: absolute; z-index: 4;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: 999px;
  padding: 9px 16px; font-size: .86rem; font-weight: 600;
  box-shadow: 0 14px 30px -14px rgba(20,24,28,.35);
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .45s var(--e-out), transform .45s var(--e-out);
  display: flex; align-items: center; gap: 8px;
}
.rollo-chip.on { opacity: 1; transform: none; }
.rollo-chip--1 { top: 26%; left: -12%; }
.rollo-chip--2 { top: 55%; right: -14%; }
.rollo-chip--3 { bottom: 8%; left: -8%; }
@media (max-width: 700px) {
  .rollo-chip--1 { left: -4px; } .rollo-chip--2 { right: -4px; } .rollo-chip--3 { left: -2px; }
}

/* ---------- 23. Vorher/Nachher (BA) + Wärmebild ---------- */
.ba { position: relative; border-radius: var(--r-m); overflow: hidden; touch-action: none; --pos: 50%; }
.ba img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); translate: -50% 0;
  width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(20,24,28,.2); cursor: ew-resize;
}
.ba__handle::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 1.15rem;
  box-shadow: 0 10px 26px -8px rgba(20,24,28,.45);
}
.ba__tag {
  position: absolute; top: 14px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  background: rgba(20,24,28,.72); color: #fff; backdrop-filter: blur(4px);
}
.ba__tag--l { left: 14px; } .ba__tag--r { right: 14px; }
.ba input[type=range] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: ew-resize; }

/* Wärmebild-Glow */
.thermo-alt { position: relative; }
.thermo-alt::after {
  content: ''; position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(214,69,69,.55), rgba(232,162,75,.28) 55%, transparent 75%);
  animation: thermo 3.2s ease-in-out infinite;
}
@keyframes thermo { 0%,100% { opacity: .85; } 50% { opacity: 1; } }

/* ---------- 24. Zahlen-Counter ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.counter { text-align: center; padding: 26px 10px; }
.counter b { font-family: var(--f-display); font-weight: 640; font-size: clamp(3rem, 7vw, 5.4rem); display: block; line-height: 1; }
.counter > span { font-size: .95rem; color: var(--ink-60); display: block; margin-top: 8px; }
.counter b span { font-size: inherit; display: inline; margin: 0; color: inherit; }
.dark .counter > span { color: #97A3AE; }
@media (max-width: 700px) { .counters { grid-template-columns: 1fr 1fr; } }

/* ---------- 25. Wizard (dialog) ---------- */
.wizard { border: 0; border-radius: var(--r-l); padding: 0; width: min(620px, calc(100vw - 32px)); background: #fff; }
.wizard::backdrop { background: rgba(20,24,28,.62); backdrop-filter: blur(4px); }
.wizard__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 0; }
.wizard__head h3 { margin: 0; }
.wizard__close { border: 0; background: var(--glas); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.wizard__bar { height: 4px; background: var(--glas); border-radius: 999px; margin: 18px 26px 0; overflow: hidden; }
.wizard__bar i { display: block; height: 100%; width: 25%; background: var(--akzent); border-radius: inherit; transition: width var(--t-med); }
.wpanel { display: none; padding: 22px 26px 26px; }
.wpanel.on { display: block; animation: wIn .4s var(--e-out); }
@keyframes wIn { from { opacity: 0; transform: translateY(10px); } }
.wpanel h4 { font-size: 1.15rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  border: 1px solid var(--glas-linie); background: #fff; border-radius: 999px;
  padding: 11px 18px; cursor: pointer; font-size: .95rem; font-weight: 500; font-family: var(--f-body);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.chip:hover { border-color: var(--akzent); }
.chip.on { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.chip:active { transform: scale(.96); }
.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wfield { margin-bottom: 14px; }
.wfield label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
/* Zwei Felder nebeneinander im Popup-Formular (Telefon/E-Mail, Strasse/Ort) */
.wpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .wpaar { grid-template-columns: 1fr; } }
.wfield input, .wfield textarea, .wfield select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--glas-linie); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.wfield input:focus, .wfield textarea:focus { outline: 0; border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-wash); }
.wfield .err { color: var(--thermo); font-size: .82rem; margin-top: 4px; display: none; }
.wfield label .opt { font-weight: 500; color: var(--ink-60); }
.wfield .hint { font-size: .8rem; color: var(--ink-60); margin: 5px 0 0; }
.wfield.invalid input { border-color: var(--thermo); }
.wfield.invalid .err { display: block; }
.wcheck { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-60); }
.wcheck input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--akzent); }
.wsum { background: var(--glas); border-radius: var(--r-m); padding: 16px 18px; font-size: .92rem; margin-bottom: 16px; }
.wsum b { font-family: var(--f-display); }
.shake { animation: shake .4s; }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }

/* ---------- 26. Chat-Widget ---------- */
.chat-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: var(--z-chat);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--nacht); color: #fff; border: 1px solid var(--glas-linie-dunkel);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 18px 40px -14px rgba(20,24,28,.55);
  transition: transform var(--t-fast);
}
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .chat-fab { bottom: 90px; } }
.chat-panel {
  position: fixed; right: 18px; bottom: 90px; z-index: var(--z-chat);
  width: min(400px, calc(100vw - 28px)); height: min(660px, 80dvh);
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-l);
  box-shadow: 0 40px 90px -24px rgba(20,24,28,.5);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; animation: wIn .35s var(--e-out); }
@media (max-width: 760px) {
  /* Auf dem Handy sitzt unten die Sticky-Leiste: Hoehe daran ausrichten,
     sonst steht das Panel oben unter dem Kopf an. */
  .chat-panel { bottom: 160px; height: min(600px, calc(100dvh - 200px)); width: calc(100vw - 24px); right: 12px; }
}
.chat-head { background: var(--nacht); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head b { font-family: var(--f-display); font-weight: 560; }
.chat-head small { display: block; color: #97A3AE; font-size: .76rem; }
.chat-head button { margin-left: auto; background: none; border: 0; color: #97A3AE; font-size: 1.3rem; cursor: pointer; }
.chat-log { flex: 1 1 auto; min-height: 220px; overflow-y: auto; padding: 16px 16px 6px; display: flex; flex-direction: column; gap: 10px; background: var(--tag); scroll-behavior: smooth; }
.msg { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.msg--bot { background: #fff; border: 1px solid var(--glas-linie); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--akzent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-60); margin-right: 3px; animation: tip 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tip { 0%,100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 16px 10px; background: var(--tag); }
.chat-chips.weg { display: none; }
.chat-chips button {
  border: 1px solid var(--glas-linie); background: #fff; border-radius: 999px;
  padding: 7px 13px; font-size: .82rem; cursor: pointer; font-family: var(--f-body);
}
.chat-chips button:hover { border-color: var(--akzent); color: var(--akzent-tief); }
/* Handlungsknoepfe unter einer Chat-Antwort: der Chat soll nicht nur
   informieren, sondern zum kostenlosen Aufmass fuehren.
   ACHTUNG: Das Panel ist HELL — der zweite Knopf muss dunkle Schrift haben,
   sonst steht Weiss auf Weiss. */
.chat-aktionen {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: -2px 0 6px; padding: 0; align-self: flex-start; max-width: 92%;
  animation: chatKnopf .32s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes chatKnopf { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-aktionen a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600; line-height: 1.1; text-decoration: none;
  padding: 10px 15px; border-radius: 999px;
  background: var(--akzent); color: #fff; border: 1px solid var(--akzent);
  box-shadow: 0 10px 20px -14px rgba(29,79,168,.9);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.chat-aktionen a::after {
  content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor;
  border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .75;
  transition: transform .15s ease;
}
.chat-aktionen a:hover { background: var(--akzent-tief); transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(29,79,168,.95); }
.chat-aktionen a:hover::after { transform: rotate(45deg) translate(1px, -1px); }
.chat-aktionen a.leise {
  background: #fff; color: var(--ink); border-color: var(--glas-linie); box-shadow: none;
}
.chat-aktionen a.leise:hover { background: #F3F6F9; border-color: var(--akzent); color: var(--akzent-tief); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--glas-linie); background: #fff; }
.chat-input textarea {
  flex: 1; resize: none; border: 1px solid var(--glas-linie); border-radius: 12px;
  padding: 10px 14px; font: inherit; font-size: .93rem; max-height: 110px;
}
.chat-input button {
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: var(--akzent); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.chat-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 12px 6px; padding: 9px 14px;
  background: #fff; border: 1.5px solid #25D366; border-radius: 12px;
  font-size: .88rem; font-weight: 600; color: #128C4B; text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
}
.chat-wa svg { color: #25D366; flex: none; }
.chat-wa:hover { background: #EAF9F0; transform: translateY(-1px); }
.chat-hinweis { font-size: .66rem; color: var(--ink-60); text-align: center; padding: 0 12px 8px; background: #fff; margin: 0; max-width: none; }

/* ---------- 27. Seiten-Hero (Unterseiten, hell) ---------- */
.phero { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(36px, 5vw, 70px); }
@media (max-width: 520px) { .phero h1 { hyphens: auto; overflow-wrap: anywhere; } }
.phero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-60); max-width: 56ch; }
.phero--dark { background: var(--nacht); color: #E8EDF2; }
.phero--dark h1 { color: #fff; }
.phero--dark p.lead { color: #B9C4CE; }
.crumbs { font-size: .82rem; color: var(--ink-60); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--ink-60); }
.crumbs a:hover { color: var(--akzent); }
.crumbs .sep { opacity: .5; }
.phero--dark .crumbs, .phero--dark .crumbs a { color: #8C99A6; }

/* ---------- 28. Zweispalter / Media-Text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1480px; margin-inline: auto; }
.split--r { direction: rtl; } .split--r > * { direction: ltr; }
.split figure { margin: 0; position: relative; }
.split figure img { border-radius: var(--r-m); width: 100%; object-fit: cover; }
.figcap {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(20,24,28,.72); color: #fff; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- 29. Galerie + Lightbox ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.galerie a { display: block; border-radius: var(--r-s); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--e-out); }
.galerie a:hover img { transform: scale(1.05); }
/* Referenz-Galerie: Material ist hochformatig (3:4) - Kacheln passend, mobil 2 Spalten */
.ref-galerie a { aspect-ratio: 3/4; }
@media (max-width: 760px) {
  .ref-galerie { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
.lightbox::backdrop { background: rgba(11,14,17,.9); }
.lightbox img { border-radius: var(--r-s); max-height: 86dvh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox button {
  position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; cursor: pointer;
}

/* ---------- 29b. Fensterarten + Verglasung (fenster.html) ---------- */
.checkliste { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.checkliste li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.checkliste li::before {
  content: ''; flex: none; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%;
  background: var(--akzent-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4FA8' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='m5.5 12.5 4 4 9-9.5'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.ehrlich {
  margin-top: 16px; padding: 13px 16px; border-radius: var(--r-s);
  background: var(--grau-wash); border-left: 3px solid var(--grau);
  font-size: .93rem; color: var(--ink-60);
}
.ehrlich b { color: var(--ink); }
.glaskarten {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 1180px; margin: clamp(30px, 4vw, 44px) auto 0;
}
.glaskarte {
  position: relative; background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-l);
  padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(16px, 2.5vw, 30px); align-items: center;
}
.glaskarte--top { border-color: var(--akzent); box-shadow: 0 24px 50px -28px rgba(29,79,168,.4); }
.glaskarte__badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--akzent); color: #fff; border-radius: 999px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px;
}
.glaskarte figure { margin: 0; }
.glaskarte figure img { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; border-radius: var(--r-s); }
.glaskarte h3 { font-size: 1.25rem; margin-bottom: 4px; }
.glaskarte__wert { font-family: var(--f-mono); font-size: .85rem; color: var(--akzent-tief); margin: 0 0 4px; }
.glaskarte__einsatz { font-size: .88rem; color: var(--ink-60); margin: 14px 0 0; }
@media (max-width: 980px) { .glaskarten { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .glaskarte { grid-template-columns: 1fr; } .glaskarte figure { max-width: 240px; margin-inline: auto; } }

/* ---------- 29c. Haustueren: freistehende Tuer + Farbwechsel + BA-Reihe ---------- */
.tuerfigur { margin: 0; display: grid; place-items: center; padding-block: 10px; }
/* Hohe Spezifitaet noetig: .split figure img setzt sonst width:100% + radius
   und verzerrt die freigestellten Cutouts ins Unkenntliche */
.tuerfigur img,
.split figure.tuerfigur img {
  width: auto; max-width: 100%;
  height: clamp(420px, 58vh, 620px); object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 40px 44px rgba(20,24,28,.32));
  animation: tuerschweben 6.5s ease-in-out infinite;
  transition: filter .35s var(--e-out);
}
@keyframes tuerschweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.tuerfarben { margin-top: 22px; padding: 18px 20px; background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-m); }
.glassec .tuerfarben { background: #fff; }
.tuerfarben__titel { font-size: .95rem; margin: 0 0 12px; }
.tuerfarben__name { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60); margin: 12px 0 0; }
.tuerfarben__erkl { font-size: .84rem; color: var(--ink-60); margin: 8px 0 0; }
.tuerfarben .farbwahl { display: flex; gap: 10px; flex-wrap: wrap; }
.tuerfarben .farbwahl button {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--glas-linie), 0 6px 14px -6px rgba(20,24,28,.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.tuerfarben .farbwahl button:hover { transform: scale(1.12); }
.tuerfarben .farbwahl button.on { box-shadow: 0 0 0 2.5px var(--akzent), 0 6px 14px -6px rgba(20,24,28,.4); }
/* Tuerfigur schwebt bei animiertem Filter nicht doppelt: Filter liegt auf dem img, Schweben auch — ok */
.ba3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(26px, 3.5vw, 40px); }
.ba3 .ba { aspect-ratio: 4 / 3; border-radius: var(--r-m); }
.ba3 .ba img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .ba3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Rollladen-Systemkarten mit Produktbild */
.syskarte__bild { display: block; margin: -6px 0 14px; background: #fff; border-radius: var(--r-s); }
.syskarte__bild img { width: 100%; height: 190px; object-fit: contain; }
.somfy-zeile { display: block; }
.somfy-logo { display: inline-block; height: 20px; width: auto; vertical-align: -4px; margin-inline: 2px; }

/* ---------- 30. Tabellen (Profilvergleich) ---------- */
.ptable { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: var(--r-m); overflow: hidden; }
.ptable th, .ptable td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--glas-linie); }
.ptable thead th { font-family: var(--f-display); font-weight: 560; background: var(--glas); }
.ptable td:first-child { font-family: var(--f-mono); font-size: .82rem; color: var(--ink-60); }
.ptable .top { color: var(--akzent-tief); font-weight: 600; }
.tscroll { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--glas-linie); }

/* ---------- 31. Hilfsklassen ---------- */
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lead { font-size: 1.15rem; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--akzent-wash); color: var(--akzent-tief);
  border-radius: 999px; padding: 7px 15px; font-size: .85rem; font-weight: 600;
}
.dark .pill { background: rgba(127,163,232,.14); color: var(--akzent-hell); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.icard { background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-m); padding: 26px; }
.icard h3 { margin-bottom: 8px; }
.icard p { font-size: .95rem; color: var(--ink-60); margin: 0; }
.dark .icard { background: var(--nacht-2); border-color: var(--glas-linie-dunkel); }
.dark .icard p { color: #B4BFC9; }
.ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--akzent-wash); color: var(--akzent-tief); margin-bottom: 16px;
}
.dark .ic { background: rgba(127,163,232,.14); color: var(--akzent-hell); }

/* ---------- 31b. Baustellen-Reels (Kawa-Pattern) ---------- */
.reels-sec { background: var(--nacht); overflow: clip; }
.reelrow {
  display: flex; gap: clamp(9px, 1.1vw, 16px); overflow-x: auto; padding: clamp(18px, 3vh, 34px) 0 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--glas-linie-dunkel) transparent;
}
.reelrow::-webkit-scrollbar { height: 6px; }
.reelrow::-webkit-scrollbar-thumb { background: var(--glas-linie-dunkel); border-radius: 3px; }
.reel-item {
  /* Breite folgt dem Fenster: nie breiter als 13.5vw und nie so hoch, dass
     die Sektion den Schirm sprengt (42dvh Deckel ueber das 9:16-Format). */
  flex: 0 0 auto; width: min(240px, 13.5vw, calc(42dvh * 0.5625));
  scroll-snap-align: start;
  aspect-ratio: 9/16; border-radius: 14px; overflow: hidden; position: relative;
  background: var(--nacht-2); border: 1px solid var(--glas-linie-dunkel);
}
/* Fly-in: Reels starten gestapelt in der Mitte und fliegen auseinander */
.reelrow.fly .reel-item { transition: transform .9s var(--e-out), opacity .7s var(--e-out); }
.reelrow.fly:not(.in) .reel-item { opacity: 0; }
.reelrow.fly:not(.in) .reel-item:nth-child(1) { transform: translateX(120%) rotate(-5deg); }
.reelrow.fly:not(.in) .reel-item:nth-child(2) { transform: translateX(55%) rotate(3deg); }
.reelrow.fly:not(.in) .reel-item:nth-child(3) { transform: translateX(10%) rotate(-2deg); }
.reelrow.fly:not(.in) .reel-item:nth-child(4) { transform: translateX(-35%) rotate(4deg); }
.reelrow.fly:not(.in) .reel-item:nth-child(5) { transform: translateX(-80%) rotate(-3deg); }
.reelrow.fly:not(.in) .reel-item:nth-child(6) { transform: translateX(-125%) rotate(5deg); }
.reelrow.fly .reel-item:nth-child(2) { transition-delay: .06s; }
.reelrow.fly .reel-item:nth-child(3) { transition-delay: .12s; }
.reelrow.fly .reel-item:nth-child(4) { transition-delay: .18s; }
.reelrow.fly .reel-item:nth-child(5) { transition-delay: .24s; }
.reelrow.fly .reel-item:nth-child(6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reelrow.fly:not(.in) .reel-item { transform: none; opacity: 1; } }
.reel-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-item figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  font-size: .8rem; font-weight: 600; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.7); pointer-events: none;
}
.reel-item .stumm {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(11,14,17,.6); color: #fff; backdrop-filter: blur(4px);
  display: grid; place-items: center;
}

/* Reel-Buehne auf grossen Screens: Mitte gross, aussen gestaffelt kleiner */
@media (min-width: 1100px) {
  .reelrow {
    overflow: visible; justify-content: center; align-items: center;
    scroll-snap-type: none; padding-bottom: 30px;
  }
  .reel-item { scroll-snap-align: none; transition: transform .45s var(--e-out), box-shadow .45s var(--e-out); }
  /* Groesse folgt Breite UND Hoehe des Fensters, damit die Sektion auf
     Laptops nicht den ganzen Schirm fuellt (9:16 -> Breite = Hoehe * 0.5625) */
  .reel-item:nth-child(1), .reel-item:nth-child(6) { flex: 0 0 min(175px, 11.5vw, calc(24dvh * 0.5625)); }
  .reel-item:nth-child(2), .reel-item:nth-child(5) { flex: 0 0 min(220px, 14.5vw, calc(30dvh * 0.5625)); }
  .reel-item:nth-child(3), .reel-item:nth-child(4) { flex: 0 0 min(270px, 18vw, calc(35dvh * 0.5625)); }
  .reel-item:nth-child(1) { transform: rotate(-3deg) translateY(10px); }
  .reel-item:nth-child(2) { transform: rotate(-1.5deg) translateY(4px); }
  .reel-item:nth-child(5) { transform: rotate(1.5deg) translateY(4px); }
  .reel-item:nth-child(6) { transform: rotate(3deg) translateY(10px); }
  .reel-item:hover { transform: translateY(-8px) rotate(0deg) scale(1.03); z-index: 2; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
}

/* Vorher/Nachher-Video */
.vn-video { position: relative; border-radius: var(--r-m); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(20,24,28,.5); }
.vn-video video { width: 100%; display: block; }
.vn-video .ba__tag { z-index: 2; }

/* ---------- 31c. Katalog-Karten ---------- */
.katgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 34px; }
.katcard {
  display: flex; flex-direction: column; gap: 0;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-m);
  overflow: hidden; color: var(--ink);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.katcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(20,24,28,.28); color: var(--ink); }
.katcard__cover { background: var(--glas); padding: 22px 30px 0; display: flex; justify-content: center; }
.katcard__cover img {
  width: 100%; max-width: 190px; box-shadow: 0 14px 30px -12px rgba(20,24,28,.35);
  border: 1px solid var(--glas-linie); transform: rotate(-1.2deg); transition: transform .5s var(--e-out);
  margin-bottom: -14px;
}
.katcard:hover .katcard__cover img { transform: rotate(0deg) translateY(-6px); }
.katcard__body { padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.katcard__body b { font-family: var(--f-display); font-weight: 560; font-size: 1.05rem; }
.katcard__body small { color: var(--ink-60); }
.katcard__body .btn { margin-top: auto; align-self: flex-start; margin-top: 14px; }

/* ---------- 31d. Freistehende Produkt-Elemente (Scroll-Leben ohne Pinning) ---------- */
.float3d { position: relative; display: grid; place-items: center; padding-block: clamp(26px, 4.5vw, 64px); overflow: visible; }
.float3d .dim { margin-bottom: 26px; }
.f3-buehne { position: relative; width: min(340px, 68vw); filter: drop-shadow(0 46px 42px rgba(20,24,28,.34)); }
.float3d::before { content: ''; position: absolute; width: min(430px, 80vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,162,75,.16), rgba(233,239,243,.5) 55%, transparent 72%); z-index: -1; }
.f3-buehne > img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
/* Fenster: Glasbereich mit CSS-Rollladen-Panzer */
.f3-glas { position: absolute; left: 15%; right: 12.5%; top: 10.5%; bottom: 8%; overflow: hidden; z-index: 2; border-radius: 2px; }
.f3-rollo {
  position: absolute; inset: -2% 0 0 0; transform: translateY(-101%); will-change: transform;
  background: repeating-linear-gradient(180deg, #EFF3F6 0 11px, #D2DBE1 11px 14px, #B3BFC8 14px 16px);
  box-shadow: inset 0 -4px 10px rgba(20,24,28,.3);
}
.f3-rollo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: #9BA6AE; border-radius: 0 0 2px 2px; }
/* Tür: schwingt per rotateY auf */
.f3-tuer { transform-origin: 6% 50%; will-change: transform; }
.f3-schatten {
  position: absolute; left: 6%; right: 20%; bottom: -18px; height: 34px; z-index: 0;
  background: radial-gradient(ellipse 60% 100% at 40% 50%, rgba(20,24,28,.4), transparent 70%);
  opacity: .3; filter: blur(4px);
}
.float3d .f3-label {
  margin-top: 30px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: #3E464D; text-align: center;
}

/* ---------- 31e. Katalog-Banner (inline, mitten im Inhalt) ---------- */
.katbanner {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center;
  background: var(--nacht); color: #E8EDF2; border-radius: var(--r-m);
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3.5vw, 44px);
  position: relative; overflow: visible; margin-block: clamp(30px, 5vw, 60px);
}
.katbanner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0 0 var(--r-m) var(--r-m);
  background: linear-gradient(90deg, transparent, var(--warm-1) 30%, var(--warm-2) 70%, transparent); }
.katbanner__covers { display: flex; }
.katbanner__covers img {
  width: clamp(74px, 8vw, 104px); height: auto; border: 1px solid var(--glas-linie);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.55); transform: rotate(-4deg) translateY(-16px);
  transition: transform .5s var(--e-out); background: #fff;
}
.katbanner__covers img + img { margin-left: -34px; transform: rotate(4deg) translateY(-8px); }
.katbanner:hover .katbanner__covers img { transform: rotate(-1deg) translateY(-20px); }
.katbanner:hover .katbanner__covers img + img { transform: rotate(2deg) translateY(-12px); }
.katbanner__text b { font-family: var(--f-display); font-weight: 560; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #fff; display: block; }
.katbanner__text span { color: #AEB9C3; font-size: .92rem; }
.katbanner__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .katbanner { grid-template-columns: 1fr; text-align: center; } .katbanner__covers { justify-content: center; } .katbanner__btns { justify-content: center; } }

/* ---------- 31f. Schnell-Angebot-Popup ---------- */
.qpop { border: 0; border-radius: var(--r-l); padding: 0; width: min(480px, calc(100vw - 28px)); background: #fff; }
.qpop::backdrop { background: rgba(20,24,28,.66); backdrop-filter: blur(4px); }
.qpop__kopf { background: var(--nacht); color: #fff; padding: 22px 26px 18px; position: relative; }
.qpop__kopf h3 { margin: 0 0 4px; font-size: 1.3rem; color: #fff; }
.qpop__kopf p { margin: 0; color: #AEB9C3; font-size: .9rem; max-width: none; }
.qpop__zu { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.15rem; cursor: pointer; }
.qpop__body { padding: 22px 26px 24px; }
.qpop .chips { margin-bottom: 16px; }
.qpop .chip { padding: 9px 15px; font-size: .9rem; }

/* Stufen-Wizard im Popup (Schritt 1 Leistung → Schritt 2 Kontakt) */
.qpop { width: min(560px, calc(100vw - 28px)); }
.qpop__fort { padding: 0 26px; margin-top: -2px; }
.qpop__fort .lbl {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: #8C99A6; display: block; padding: 12px 0 8px;
}
.qpop__fort .bar { height: 3px; background: var(--glas); border-radius: 99px; overflow: hidden; }
.qpop__fort .fill { height: 100%; width: 50%; background: var(--akzent); border-radius: 99px; transition: width .4s var(--e-out); }
.qstep { display: none; }
.qstep.on { display: block; animation: qstepin .35s var(--e-out); }
@keyframes qstepin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.qstep h4 {
  font-family: var(--f-display); font-weight: 560; font-size: 1.15rem;
  margin: 0 0 4px; color: var(--ink);
}
.qstep .sub { font-size: .88rem; color: var(--ink-60); margin: 0 0 16px; }

.qcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qcard {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px 15px; border: 1.5px solid var(--glas-linie); border-radius: 10px;
  background: #fff; cursor: pointer; text-align: left;
  transition: border-color .2s, background .2s, transform .12s;
  font: inherit; color: inherit;
}
.qcard:hover { border-color: var(--akzent); background: var(--akzent-wash); }
.qcard:active { transform: scale(.98); }
.qcard.on { border-color: var(--akzent); background: var(--akzent-wash); }
.qcard__ic {
  flex: 0 0 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  background: var(--glas); color: var(--akzent); transition: background .2s, color .2s;
}
.qcard.on .qcard__ic { background: var(--akzent); color: #fff; }
.qcard b { display: block; font-size: .93rem; font-weight: 600; line-height: 1.25; }
.qcard small { display: block; font-size: .75rem; color: var(--ink-60); line-height: 1.3; margin-top: 1px; }
.qcard__hk {
  position: absolute; top: 8px; right: 9px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--akzent); color: #fff; display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .18s, transform .18s;
}
.qcard.on .qcard__hk { opacity: 1; transform: none; }
.qpop__nav { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.qpop__nav .btn { flex: 1; }
.qpop__nav .zurueck { flex: 0 0 auto; padding-inline: 18px; }
.qgewaehlt {
  font-size: .82rem; color: var(--ink-60); margin: 0 0 14px;
  padding: 10px 14px; background: var(--glas); border-radius: 8px;
}
.qgewaehlt b { color: var(--ink); }
@media (max-width: 460px) {
  .qcards { grid-template-columns: 1fr; }
}
.qpop__trust { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-60); margin-top: 14px; }
.qpop__trust span { display: inline-flex; align-items: center; gap: 5px; }
.qpop__alt { text-align: center; font-size: .84rem; margin: 14px 0 0; }
.qpop__ok { text-align: center; padding: 14px 0 4px; }
.qpop__ok .kreis { width: 62px; height: 62px; border-radius: 50%; background: var(--akzent-wash); color: var(--akzent); display: grid; place-items: center; margin: 0 auto 14px; }

/* ---------- 31g. Produkt-Buehne + Marken-Band ---------- */
.f3-panel {
  position: relative; border-radius: var(--r-l); padding: clamp(30px, 4vw, 52px) clamp(34px, 5vw, 64px);
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(232,162,75,.28), transparent 60%),
    linear-gradient(180deg, #26364A 0%, #1B2432 55%, #14181C 100%);
  overflow: visible;
}
.f3-panel .f3-buehne { filter: drop-shadow(0 34px 34px rgba(0,0,0,.45)); }
.f3-panel .f3-label { color: #AEB9C3; }
.f3-panel::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 14px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,217,160,.5), transparent); }

.markenband { background: var(--nacht); }
.mkb { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1480px; margin-inline: auto; }
.mkb__marke {
  padding: clamp(20px, 2.5vw, 30px) clamp(22px, 3vw, 36px);
  border: 1px solid var(--glas-linie-dunkel); border-radius: var(--r-m); background: var(--nacht-2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.mkb__marke:hover { border-color: var(--akzent-hell); transform: translateY(-2px); }
.mkb__marke b { font-family: var(--f-display); font-weight: 640; font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: #fff; letter-spacing: .01em; }
.mkb__marke .mk-sys { margin: 0; }
.mkb__marke .mk-sys span { background: rgba(127,163,232,.14); color: var(--akzent-hell); }
@media (max-width: 820px) { .mkb { grid-template-columns: 1fr; } }

/* ---------- 31h. Film-Hero (Video-Verwandlung, kein Scroll-Pinning) ---------- */
.stage--film {
  position: relative; overflow: hidden;
  /* --kopf = gemessene Unterkante von Topbar+Header (hero-film.js) -> Hero endet exakt an der Bildschirmkante */
  height: calc(100dvh - var(--kopf, 112px)); min-height: 560px; max-height: 1100px;
  background: #fff;
}
.film-buehne { position: absolute; inset: 0; }
/* hero-film.js legt das Video-Element exakt auf die Contain-Groesse (Haus immer
   komplett sichtbar). Die Maske laeuft an allen 4 Kanten des Videos weich aus,
   dadurch gibt es KEINE sichtbaren Videoraender mehr — das Video verschmilzt
   mit dem Buehnen-Verlauf. */
.film-buehne video, .film-buehne img.film-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  /* Das Video hat seit 18.08. einen reinweissen Hintergrund (im Video selbst
     hochgezogen). Masken oder Mischmodi braucht es deshalb nicht mehr — und
     genau das ist wichtig, weil iOS-Safari mix-blend-mode auf <video> gar
     nicht anwendet und dort sonst ein grauer Kasten sichtbar blieb. */
}
.film-overlay { position: absolute; inset: 0; pointer-events: none; }
.film-overlay .btn, .film-overlay a { pointer-events: auto; }
.film-start {
  position: absolute; left: clamp(24px, 5vw, 70px); top: clamp(20px, 4dvh, 54px);
  max-width: 560px; transition: opacity .5s var(--e-out);
}
.film-start .dim { margin-bottom: 10px; }
.film-start__zeile { color: var(--ink-60); font-size: clamp(.95rem, 1.3vw, 1.1rem); margin: 0; }
.film-hint {
  position: absolute; left: 50%; bottom: 20px; translate: -50% 0;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-60); display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity .4s var(--e-out);
}
.film-hint::after {
  content: ""; width: 1px; height: 30px; background: var(--ink-60);
  transform-origin: top; animation: hintlauf 2s cubic-bezier(.45,0,.25,1) infinite;
}
@keyframes hintlauf {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
/* CTAs schon waehrend der Verwandlung unterm Haus */
.film-ctas {
  position: absolute; left: 50%; bottom: clamp(22px, 4.5dvh, 46px); translate: -50% 0;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  transition: opacity .45s var(--e-out);
}
.stage--film.ist-fertig .film-ctas { opacity: 0; pointer-events: none; }
@media (max-width: 760px) and (orientation: portrait) { .film-ctas { display: none; } }

/* Kapitel-Beschriftungen auf randlosem Licht-Schleier */
.film-cap {
  position: absolute; width: max-content; max-width: min(480px, 17vw); pointer-events: none;
  padding: 24px 36px 28px; text-align: left;
  background: radial-gradient(closest-side,
    rgba(255,255,255,.94) 0%, rgba(255,255,255,.66) 46%, rgba(255,255,255,0) 100%);
  opacity: 0; transition: opacity .45s cubic-bezier(.22,.61,.36,1);
}
.film-cap.on { opacity: 1; }
.film-cap .kick, .film-cap b, .film-cap span {
  display: block; opacity: 0; transform: translateY(18px) scale(.97);
  filter: blur(5px);
  transition: opacity .6s cubic-bezier(.2,.8,.3,1), transform .6s cubic-bezier(.2,.8,.3,1), filter .6s cubic-bezier(.2,.8,.3,1);
}
.film-cap b { transition-delay: .06s; }
.film-cap span { transition-delay: .13s; }
.film-cap.on .kick, .film-cap.on b, .film-cap.on span { opacity: 1; transform: none; filter: none; }
.film-cap .kick {
  font-family: var(--f-mono); font-style: normal; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--akzent); margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.film-cap .kick::before { content: ""; width: 24px; height: 1px; background: var(--akzent); }
.film-cap b {
  font-family: var(--f-display); font-weight: 640;
  font-size: clamp(1.35rem, 2.08vw, 2.5rem); line-height: 1.04; letter-spacing: -.01em; color: var(--ink);
  white-space: nowrap;
}
.film-cap span { margin-top: 8px; font-size: .92rem; color: var(--ink-60); max-width: min(300px, 12vw); }
/* Positionen: Fenster bleibt, Rollladen deutlich
   nach links in den freien Rand, Tueren etwas tiefer, Ueberdachung weiter
   rechts. Alle vier stehen komplett neben dem Haus. */
.film-cap--fenster { left: 3.5vw; top: clamp(74px, 12dvh, 130px); }
.film-cap--rollo { left: 3.5vw; right: auto; top: 52%; }
.film-cap--dach { right: 2vw; top: clamp(14px, 5dvh, 54px); max-width: min(480px, 19.5vw); }
.film-cap--tuer { right: 3.5vw; top: 68%; }
/* Beschriftungs-Striche: Endpunkte setzt hero-film.js aus den Bild-Ankern */
.striche { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.striche g { opacity: 0; transition: opacity .45s cubic-bezier(.22,.61,.36,1) .25s; }
.striche g.on { opacity: 1; }
.striche line { stroke: rgba(34,39,43,.5); stroke-width: 1; }
.striche circle { fill: var(--akzent); }
/* Finale: Willkommens-Overlay auf ausgeblurtem Standbild */
.film-final {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
  opacity: 0; pointer-events: none;
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), backdrop-filter .8s cubic-bezier(.22,.61,.36,1), -webkit-backdrop-filter .8s cubic-bezier(.22,.61,.36,1);
}
.film-final.on {
  opacity: 1; pointer-events: auto;
  -webkit-backdrop-filter: blur(16px) saturate(1.05); backdrop-filter: blur(16px) saturate(1.05);
}
.film-final .inner { max-width: 860px; padding-inline: 20px; }
.film-final__logo { height: clamp(64px, 9vw, 120px); width: auto; display: block; margin: 0 auto; }
/* Firmenname im Willkommen: normal geschrieben, in der Hausfarbe des Logos.
   Lockup = kleiner Mono-Gruss ueber dem grossen Namen, darunter ein feiner
   Kobalt-Strich. Der Name traegt die Zeile, der Gruss ordnet sich unter. */
.film-final__wort {
  display: block; font-family: var(--f-display); font-weight: 620;
  font-size: clamp(2rem, 5.6vw, 4.4rem); line-height: 1.02;
  letter-spacing: -.028em; color: #4E565C;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.film-willkommen { display: grid; justify-items: center; gap: clamp(8px, 1.1vw, 14px); }
.film-willkommen span {
  font-family: var(--f-mono); font-size: clamp(.74rem, .95vw, .88rem);
  font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-60); line-height: 1;
}
.film-willkommen::after {
  content: ''; width: clamp(44px, 5vw, 64px); height: 2px; border-radius: 2px;
  background: var(--akzent); opacity: .85; margin-top: clamp(4px, .8vw, 10px);
}
.film-final h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); margin-bottom: 16px; letter-spacing: -.015em; }
.film-final p { color: var(--ink-60); margin-inline: auto; font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 52ch; }
.film-final .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.film-final .sterne { margin-top: 20px; font-size: .88rem; color: var(--ink-60); }
.film-final .sterne b { color: var(--ink); }
.film-kurz { display: none; }
/* Ohne JS: Poster + Willkommen sofort */
html:not(.js) .film-cap, html:not(.js) .film-hint, html:not(.js) .film-start { display: none; }
html:not(.js) .film-final { opacity: 1; pointer-events: auto; background: rgba(255,255,255,.72); }
@media (prefers-reduced-motion: reduce) {
  .film-cap, .film-hint, .film-start { display: none; }
  .film-final { opacity: 1; pointer-events: auto; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
@media (max-width: 620px) { .stage--film { height: calc(100dvh - 60px); } }
/* ---------- 31h1b. Handy-Hero: gleiche Buehne wie am Desktop ----------
   Bildschirmfuellend, das Haus mittig freigestellt (multiply auf Weiss), die
   Beschriftungen stehen OBEN und UNTEN statt links/rechts, weil im Hochformat
   seitlich kein Platz ist. Die Verbindungsstriche zeigen wie am Desktop auf
   das jeweilige Bauteil (hero-film.js zeichnet sie fuer beide Formate). */
@media (max-width: 760px) and (orientation: portrait) {
  .stage--film {
    --vz: 1.25;
    --vshift: -14.5%;
    height: calc(100dvh - var(--kopf, 96px));
    min-height: 520px; max-height: none;
    display: block; overflow: hidden; position: relative;
    background: #fff;
    padding: 0;
  }
  .film-buehne { position: absolute; inset: 0; z-index: auto; }
  .film-buehne video, .film-buehne img.film-fallback {
    position: absolute; top: 50%; translate: 0 -50%;
    left: var(--vshift);
    width: calc(var(--vz) * 100%); max-width: none; height: auto;
    aspect-ratio: 16 / 9; object-fit: contain; transform: none;
    /* kein Filter, kein Mischmodus, keine Maske: der Videohintergrund IST weiss */
  }
  .film-overlay { position: absolute; inset: 0; z-index: 2; padding: 0; background: none; }
  .film-start, .film-ctas { display: none !important; }
  .film-hint { display: flex; bottom: calc(84px + env(safe-area-inset-bottom)); }
  /* Striche wie am Desktop sichtbar */
  .striche { display: block !important; }

  /* Beschriftungen: zwei oben, zwei unten — nie neben dem Haus */
  .film-cap {
    position: absolute; width: auto; max-width: 46%;
    padding: 0; background: none; text-align: left;
    opacity: 0; transition: opacity .45s cubic-bezier(.22,.61,.36,1);
  }
  .film-cap.on { opacity: 1; }
  .film-cap .kick {
    display: flex; font-size: .58rem; letter-spacing: .16em; margin-bottom: 5px;
  }
  .film-cap .kick::before { width: 14px; }
  .film-cap b {
    font-size: clamp(1.02rem, 4.4vw, 1.32rem); line-height: 1.08;
    white-space: normal; hyphens: none;
  }
  .film-cap span { display: none; }
  /* Nicht mehr an der Bildschirmkante kleben, sondern naeher ans Haus */
  .film-cap--fenster { left: 18px; right: auto; top: 13%; }
  .film-cap--tuer    { right: 18px; left: auto; top: 13%; text-align: right; }
  .film-cap--tuer .kick { justify-content: flex-end; }
  .film-cap--tuer .kick::before { display: none; }
  .film-cap--rollo   { left: 18px; right: auto; bottom: calc(24% + env(safe-area-inset-bottom)); top: auto; }
  .film-cap--dach    { right: 18px; left: auto; bottom: calc(24% + env(safe-area-inset-bottom)); top: auto; text-align: right; }
  .film-cap--dach .kick { justify-content: flex-end; }
  .film-cap--dach .kick::before { display: none; }

  /* Willkommen wie am Desktop: Overlay ueber dem Standbild */
  .film-final {
    position: absolute; inset: 0; display: grid; place-items: center;
    text-align: center; padding: 20px 20px calc(92px + env(safe-area-inset-bottom));
    opacity: 0; pointer-events: none;
  }
  .film-final.on { opacity: 1; pointer-events: auto; }
  .film-final .inner { max-width: none; padding: 0; background: none; }
  .film-willkommen { gap: 7px; }
  .film-willkommen span { font-size: .72rem; letter-spacing: .2em; }
  .film-final__wort { font-size: clamp(1.55rem, 8.4vw, 2.5rem); }
  .film-final__logo { height: clamp(52px, 14.5vw, 78px); filter: brightness(.66) contrast(1.12); }
  .film-lang { display: none; }
  .film-kurz { display: block; font-size: .95rem; margin-top: 10px; }
  .film-final .btn-row { flex-direction: column; align-items: stretch; margin-top: 18px; gap: 10px; }
  .film-final .btn-row .btn { width: 100%; padding: 16px 20px; font-size: 1.02rem; }
  .film-final .sterne {
    margin-top: 14px; display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid var(--glas-linie); border-radius: 999px;
    padding: 7px 14px; font-size: .84rem;
  }
}
@media (max-width: 760px) and (orientation: portrait) and (max-height: 700px) {
  .film-final__logo { height: 46px; }
  .film-kurz { display: none; }
  .film-cap--rollo, .film-cap--dach { bottom: calc(128px + env(safe-area-inset-bottom)); }
}
@keyframes ctapuls {
  0%, 100% { box-shadow: 0 12px 30px -10px rgba(29, 79, 168, .6); }
  50% { box-shadow: 0 14px 40px -6px rgba(29, 79, 168, .95); }
}
@media (prefers-reduced-motion: reduce) {
  .film-final .btn--primary { animation: none !important; }
}

/* ---------- 31h2. Marken-Lauf (Logo-Marquee) ---------- */
.markenlauf { background: #fff; border-block: 1px solid var(--glas-linie); overflow: clip; padding-block: clamp(20px, 2.6vw, 34px); }
.markenlauf.sect--tight { padding-block: clamp(20px, 2.6vw, 34px); }
.markenlauf .kicker { margin-bottom: 0; }
.markenlauf .wrap > .reveal { margin-bottom: clamp(14px, 2vw, 22px); }
.marquee--marken { display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee--marken .marquee__track {
  display: flex; align-items: center; flex: none;
  gap: clamp(30px, 4.5vw, 64px); padding-right: clamp(30px, 4.5vw, 64px);
  animation: marq 44s linear infinite;
}
.marquee--marken:hover .marquee__track { animation-play-state: paused; }
.mlogo-bild {
  height: clamp(22px, 2.6vw, 34px); width: auto; max-width: 190px; object-fit: contain;
  display: block; flex: none;
  opacity: .96;
  transition: opacity .3s var(--e-out), transform .3s var(--e-out);
}
.mlogo-bild:hover { opacity: 1; transform: scale(1.05); }
/* quadratische Logos (VEKA-Raute, Koe) brauchen mehr Hoehe fuer gleiche Praesenz */
.mlogo-bild--gross { height: clamp(32px, 3.8vw, 48px); }
.mdot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--glas-linie); }

/* ---------- 31h3. Ablauf-Weg (6 Schritte auf der Linie) ---------- */
.ablauf { overflow: clip; }
.weg { position: relative; margin-top: clamp(30px, 4vw, 50px); height: clamp(400px, 34vw, 460px); }
.weg__linie { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.weg__basis {
  fill: none; stroke: var(--grau-wash); stroke-width: 30; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.weg__zug {
  /* gleiche Breite wie die Basis: EINE Linie, die sich blau auflaedt.
     Fortschritt = clip von links (site.js setzt --wp 0..1). Die Welle laeuft
     monoton nach rechts, daher deckt der Clip sie exakt entlang des Wegs auf. */
  fill: none; stroke: var(--akzent); stroke-width: 30; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  clip-path: inset(-40px calc((1 - var(--wp, 0)) * 100% - 30px) -40px -30px);
}
.wegpunkt.is-an .wegpunkt__kreis { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.wegpunkt.is-an .wegpunkt__text .nr { color: var(--akzent); }
.wegpunkt__kreis { transition: background .25s var(--e-out), border-color .25s var(--e-out), color .25s var(--e-out), transform var(--t-fast), box-shadow var(--t-fast); }
.wegpunkt {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center;
}
.wegpunkt__kreis {
  width: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; border: 3px solid var(--akzent); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -14px rgba(20,24,28,.3);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wegpunkt:hover .wegpunkt__kreis { transform: scale(1.06); box-shadow: 0 18px 38px -14px rgba(29,79,168,.35); }
.wegpunkt__kreis svg { width: 42%; height: 42%; }
.wegpunkt__text {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 175px; text-align: center;
  display: grid; gap: 2px; justify-items: center;
}
.wegpunkt--u .wegpunkt__text { top: calc(50% + clamp(42px, 4.6vw, 58px)); }
.wegpunkt--o .wegpunkt__text { bottom: calc(50% + clamp(42px, 4.6vw, 58px)); }
.wegpunkt__text::before {
  content: ''; position: absolute; left: 50%;
  border-left: 2px dotted var(--glas-linie); height: 16px;
}
.wegpunkt--u .wegpunkt__text::before { bottom: calc(100% + 2px); }
.wegpunkt--o .wegpunkt__text::before { top: calc(100% + 2px); }
.wegpunkt__text .nr {
  font-family: var(--f-display); font-weight: 640; line-height: 1;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: var(--grau);
}
.wegpunkt__text h3 {
  margin: 0; font-family: var(--f-body); font-weight: 700;
  font-size: clamp(.78rem, .95vw, .9rem); letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink); line-height: 1.35;
}
@media (max-width: 820px) {
  .weg { height: auto; display: grid; gap: 24px; padding-left: 2px; }
  .weg::before {
    content: ''; position: absolute; left: 30px; top: 26px; bottom: 26px;
    border-left: 2px dashed var(--glas-linie);
  }
  .weg__linie { display: none; }
  .wegpunkt { position: relative; left: auto; top: auto; transform: none; display: flex; align-items: center; gap: 16px; }
  .wegpunkt__kreis { width: 60px; flex: none; position: relative; z-index: 1; }
  .wegpunkt__text { position: static; transform: none; display: flex; align-items: center; gap: 12px; max-width: none; text-align: left; }
  .wegpunkt__text::before { display: none; }
  .wegpunkt--o .wegpunkt__text, .wegpunkt--u .wegpunkt__text { top: auto; bottom: auto; }
  .wegpunkt__text .nr { font-size: 1.35rem; }
  .wegpunkt__text h3 { font-size: .88rem; }
}

/* ---------- 31h4. Qualitaet am Haus (Werkplan-Callouts) ---------- */
.zert { background: var(--grau-wash); }
.zfenster {
  position: relative; width: fit-content;
  margin: clamp(34px, 5vw, 56px) auto 0;
}
.zfenster img {
  height: clamp(380px, 52vh, 560px); width: auto; display: block;
  filter: drop-shadow(0 36px 44px rgba(20,24,28,.28));
}
.zpunkt {
  position: absolute; left: var(--px); top: var(--py);
  display: flex; align-items: center; transform: translate(-7px, -7px);
  white-space: nowrap;
}
.zpunkt__dot {
  flex: none; width: 13px; height: 13px; border-radius: 50%;
  background: var(--akzent); border: 2.5px solid #fff;
  box-shadow: 0 0 0 5px rgba(29,79,168,.2), 0 4px 10px rgba(20,24,28,.3);
}
.zpunkt__chip {
  position: relative; margin-left: 18px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.75); border-radius: 12px;
  padding: 9px 15px; box-shadow: 0 16px 36px -16px rgba(20,24,28,.45);
  animation: chipschweben 6s ease-in-out infinite;
}
.zpunkt__chip::before {
  content: ''; position: absolute; left: -18px; top: 50%;
  width: 18px; height: 1px; background: rgba(34,39,43,.5);
}
.zpunkt__chip b { display: block; font-family: var(--f-display); font-weight: 600; font-size: .95rem; line-height: 1.25; color: var(--ink); white-space: nowrap; }
.zpunkt__chip small { display: block; font-size: .78rem; color: var(--ink-60); line-height: 1.35; margin-top: 1px; white-space: nowrap; }
.zpunkt--l { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -7px); }
.zpunkt--l .zpunkt__chip { margin-left: 0; margin-right: 18px; }
.zpunkt--l .zpunkt__chip::before { left: auto; right: -18px; }
.zpunkt:nth-of-type(2) .zpunkt__chip { animation-delay: 1.3s; }
.zpunkt:nth-of-type(3) .zpunkt__chip { animation-delay: 2.4s; }
.zpunkt:nth-of-type(4) .zpunkt__chip { animation-delay: 3.2s; }
@keyframes chipschweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* Chips tauchen nacheinander auf, sobald die Sektion sichtbar wird */
html.js .zfenster.reveal .zpunkt { opacity: 0; transition: opacity .6s var(--e-out); }
html.js .zfenster.reveal.in .zpunkt { opacity: 1; }
html.js .zfenster.reveal.in .zpunkt:nth-of-type(2) { transition-delay: .25s; }
html.js .zfenster.reveal.in .zpunkt:nth-of-type(3) { transition-delay: .5s; }
html.js .zfenster.reveal.in .zpunkt:nth-of-type(4) { transition-delay: .75s; }
@media (max-width: 760px) {
  /* Handy: Chips als Liste unter dem Bild (Callouts wuerden ueberlappen) */
  .zpunkt { position: static; transform: none; margin-top: 12px; }
  .zpunkt--l { flex-direction: row; transform: none; }
  .zpunkt--l .zpunkt__chip { margin-left: 18px; margin-right: 0; }
  .zpunkt--l .zpunkt__chip::before { left: -18px; right: auto; }
  .zpunkt__chip { animation: none; width: 100%; }
  .zpunkt__chip b, .zpunkt__chip small { white-space: normal; }
}

/* Abzeichen-Siegel unter dem Qualitaets-Haus */
.zsiegel {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(26px, 6vw, 96px);
  margin-top: clamp(34px, 5vw, 56px);
}
.siegel { display: grid; justify-items: center; gap: 2px; text-align: center; color: var(--akzent-tief); }
.siegel svg { width: clamp(92px, 10.5vw, 132px); height: auto; margin-bottom: 8px; filter: drop-shadow(0 10px 20px rgba(20,24,28,.14)); transition: transform var(--t-fast); }
.siegel:hover svg { transform: translateY(-4px) rotate(-2deg); }
.siegel b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.siegel small { font-size: .78rem; color: var(--ink-60); }

/* ---------- 31h5. Review-Faecher ---------- */
.rfaecher { position: relative; margin-top: clamp(30px, 4vw, 46px); }
@media (min-width: 761px) {
  .rfaecher { height: clamp(360px, 32vw, 440px); }
  .rfaecher .rev-card {
    position: absolute; left: 50%; top: 12px;
    width: min(320px, 26vw);
    --tx: calc(-50% + var(--i) * min(16vw, 245px));
    transform: translateX(var(--tx)) translateY(var(--ay)) rotate(var(--rot));
    box-shadow: 0 26px 54px -30px rgba(20,24,28,.4);
    transition: transform .9s var(--e-out), opacity .7s var(--e-out), box-shadow .3s var(--e-out);
  }
  .rfaecher .rev-card:nth-child(1) { --i: -2; --ay: 46px; --rot: -7deg; z-index: 2; transition-delay: .12s; }
  .rfaecher .rev-card:nth-child(2) { --i: -1; --ay: 12px; --rot: -3.4deg; z-index: 3; transition-delay: .06s; }
  .rfaecher .rev-card:nth-child(3) { --i: 0; --ay: 0px; --rot: 0deg; z-index: 4; }
  .rfaecher .rev-card:nth-child(4) { --i: 1; --ay: 12px; --rot: 3.4deg; z-index: 3; transition-delay: .06s; }
  .rfaecher .rev-card:nth-child(5) { --i: 2; --ay: 46px; --rot: 7deg; z-index: 2; transition-delay: .12s; }
  .rfaecher.reveal:not(.in) .rev-card {
    transform: translateX(-50%) translateY(26px) rotate(0deg); opacity: 0;
  }
  .rfaecher .rev-card:hover {
    transform: translateX(var(--tx)) translateY(calc(var(--ay) - 14px)) rotate(0deg) scale(1.02);
    z-index: 6; box-shadow: 0 34px 64px -30px rgba(20,24,28,.5);
  }
}
@media (max-width: 760px) {
  .rfaecher { display: grid; gap: 14px; }
  .rfaecher .rev-card { width: auto; }
  .rfaecher--lauf {
    display: flex; overflow: hidden; gap: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .rfaecher--lauf .rtrack {
    display: flex; flex: none; align-items: stretch; gap: 14px; padding-right: 14px;
    animation: marq 46s linear infinite;
  }
  .rfaecher--lauf .rev-card { width: 272px; flex: none; }
}
.rev-card--google { align-items: center; text-align: center; justify-content: center; gap: 8px; color: var(--ink); }
.rev-card--google .gbadge__g { width: 30px; height: 30px; }
.rev-card--google b { font-family: var(--f-display); font-size: 1.2rem; display: inline-flex; gap: 8px; align-items: center; }
.rev-card--google .stars { color: #F4B400; font-size: .85rem; }
.rev-card--google p { color: var(--akzent); font-weight: 600; }
.rev-card--google:hover { color: var(--ink); }

/* Der Faecher-Container selbst soll nicht wie ein reveal-Block wandern */
html.js .rfaecher.reveal { opacity: 1; transform: none; }

/* ---------- 31h6. Sticky Google-Badge (kommt aus site.js auf jeder Seite) ---------- */
.gsticky {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-sticky);
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: 999px;
  padding: 8px 16px 8px 10px; color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(20,24,28,.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: gstickyIn .7s var(--e-out) .8s backwards;
}
.gsticky:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 24px 48px -16px rgba(20,24,28,.5); }
.gsticky__g { width: 24px; height: 24px; flex: none; }
.gsticky__txt { display: grid; line-height: 1.25; }
.gsticky__txt b { font-family: var(--f-display); font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: 6px; }
/* Auf dem Handy nimmt das Abzeichen zu viel Platz neben der Sticky-Leiste weg */
@media (max-width: 760px) { .gsticky { display: none !important; } }
.gsticky__txt .stars { color: #F4B400; font-size: .7rem; letter-spacing: .05em; }
.gsticky__txt small { color: var(--ink-60); font-size: .68rem; }
@keyframes gstickyIn { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 760px) {
  .gsticky { left: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 7px 13px 7px 9px; }
  .gsticky__g { width: 21px; height: 21px; }
  .gsticky__txt b { font-size: .9rem; }
}

/* ---------- 31i. Button-Zeile + Schnell-Formular (Lead-Elemente) ---------- */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-final .btn-row { justify-content: center; }

/* Kurz-Formular direkt in der Abschluss-Sektion (kein Klick-Umweg) */
.leadform {
  max-width: 720px; margin: 34px auto 0; text-align: left;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-m); padding: clamp(22px, 3vw, 34px);
}
.leadform__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.leadform label {
  display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: #9AA7B3; margin-bottom: 7px;
}
.leadform input, .leadform select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; transition: border-color .2s, background .2s;
}
.leadform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9AA7B3 50%), linear-gradient(135deg, #9AA7B3 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.leadform select option { color: var(--ink); background: #fff; }
.leadform input:focus, .leadform select:focus { outline: none; border-color: var(--akzent); background: rgba(255,255,255,.11); }
.leadform input::placeholder { color: #7D8A96; }
.leadform__zeile3 { margin-top: 14px; }
.leadform .btn { width: 100%; margin-top: 20px; }
.leadform__ds { margin-top: 14px; font-size: .8rem; color: #8C99A6; line-height: 1.5; }
.leadform__ds a { color: #C4CDD6; text-decoration: underline; }
.leadform__err { color: #FF8A8A; font-size: .88rem; margin: 14px 0 0; display: none; }
.leadform__ok { text-align: center; padding: 20px 0; }
.leadform__ok .kreis {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(29,79,168,.25); color: #7FA8F0; display: grid; place-items: center;
}
.leadform__ok h3 { color: #fff; margin-bottom: 8px; }
.leadform__ok p { color: #B9C4CE; margin: 0; }
.leadform__hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .leadform__reihe { grid-template-columns: 1fr; } }

/* ---------- 31j. Leistungs-Hero (gross, einheitlich auf allen Leistungsseiten) ---------- */
.lhero {
  position: relative; min-height: clamp(540px, 78dvh, 820px);
  display: flex; align-items: center; overflow: hidden; background: var(--glas);
}
.lhero__bg { position: absolute; inset: 0; }
/* Bildausschnitt je Seite steuerbar: --lh-pos (Desktop) / --lh-pos-m (Hochformat) */
.lhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--lh-pos, 66% 50%); display: block; }
.lhero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 32%,
    rgba(255,255,255,.55) 56%, rgba(255,255,255,.04) 80%);
}
.lhero__inner { position: relative; width: 100%; padding-block: clamp(70px, 9vw, 110px); }
.lhero .crumbs { margin-bottom: 20px; }
.lhero .dim { margin-bottom: 14px; }
.lhero h1 { max-width: 17ch; font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.lhero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-60); max-width: 50ch; margin-top: 16px; }
.lhero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.lhero__trust { margin-top: 26px; font-size: .9rem; color: var(--ink-60); display: flex; gap: 20px; flex-wrap: wrap; }
.lhero__trust b { color: var(--ink); }
/* Handy: Bild als unbeschnittenes 5:3-Band oben, Text darunter auf Weiss.
   Vorher lag der Text im Bild (schwer lesbar) und der Hochformat-Beschnitt
   liess das eigentliche Motiv oft aus dem Bild laufen. Im 5:3-Band sind
   ueber 90 % der Bildbreite sichtbar — man sieht immer, worum es geht. */
@media (max-width: 760px) {
  .lhero {
    display: block; min-height: 0; align-items: stretch;
    background: #fff; padding-bottom: clamp(22px, 5vw, 32px);
  }
  .lhero__bg {
    position: relative; inset: auto; width: 100%;
    aspect-ratio: 5 / 3; overflow: hidden;
  }
  .lhero__bg img { height: 100%; object-position: var(--lh-pos-m, 50% 50%); }
  .lhero__scrim { display: none; }
  .lhero__inner { padding: clamp(18px, 4.5vw, 26px) 20px 0; }
  .lhero .crumbs { margin-bottom: 10px; font-size: .78rem; }
  .lhero .dim { margin-bottom: 10px; }
  .lhero h1 {
    max-width: none; font-size: clamp(1.75rem, 7.4vw, 2.25rem);
    hyphens: auto; overflow-wrap: break-word;
  }
  .lhero .lead { font-size: .97rem; margin-top: 10px; max-width: none; }
  .lhero__btns { margin-top: 18px; display: grid; gap: 10px; }
  .lhero__btns .btn { width: 100%; padding: 16px 20px; font-size: 1.02rem; }
  .lhero__trust {
    margin-top: 16px; flex-direction: row; flex-wrap: wrap;
    gap: 6px 18px; font-size: .82rem;
  }
}

/* ---------- 31k. Handy-Feinschliff (Sammelblock, 27.07.) ---------- */
@media (max-width: 760px) {
  .chat-fab { width: 50px; height: 50px; }
  /* erst nach dem Hero einblenden (Klasse kommt aus site.js) */
  .chat-fab.is-spaet { opacity: 0; pointer-events: none; transform: scale(.85); transition: opacity .3s var(--e-out), transform .3s var(--e-out); }
  .chat-fab.is-spaet.is-da { opacity: 1; pointer-events: auto; transform: none; }
  .chat-fab svg { width: 22px; height: 22px; }
  /* Sticky-Leiste + Chat auf Geraeten mit Home-Indicator (Safe Area) */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .chat-fab { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .chat-panel { bottom: calc(160px + env(safe-area-inset-bottom)); height: min(560px, calc(100dvh - 250px)); }
}
@media (max-width: 620px) {
  /* --- Kopfbereich: schlank und freundlich ---
     Vorher belegten Topbar (44px) + Header (75px) = 119px dauerhaft den
     Bildschirm. Die Topbar entfaellt: Anrufen steht in der Sticky-Leiste
     unten, Notdienst im Menue und im Footer. */
  .topbar { display: none; }
  .header { border-bottom: 0; box-shadow: 0 1px 0 rgba(34,39,43,.07); }
  .nav { min-height: 60px; gap: 12px; }
  .nav__logo img { height: 36px; }
  /* Direkter Anruf-Knopf — ersetzt die Nummer aus der entfallenen Topbar */
  .nav__tel {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border-radius: 50%; background: var(--akzent); color: #fff;
    margin-left: auto; flex: none;
  }
  .nav__tel:active { background: var(--akzent-tief); color: #fff; }
  .nav__toggle { margin-left: 10px; }

  /* Burger ohne harten Kasten — leicht statt technisch */
  .nav__toggle {
    width: 44px; height: 44px; margin-right: -8px;
    border: 0; background: transparent; border-radius: 12px;
  }
  .nav__toggle:active { background: var(--glas); }
  .nav__links { padding-top: 88px; }

  /* Buttons duerfen umbrechen — sonst sprengen lange CTAs den Bildschirm */
  .btn { white-space: normal; text-align: center; }
  .split > * { min-width: 0; }
  .btn--xl { padding-inline: 26px; }

  /* Touch-Ziele auf 44px */
  .topbar a, .footer li a, .footer__unten a, .crumbs a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .topbar .wrap { min-height: 44px; }
  .btn--s { padding-block: 14px; }
  .wizard__close, .qpop__zu { width: 44px; height: 44px; }

  /* Lesbarkeit: keine Mini-Schrift in Formularen und Hinweisen */
  .leadform label { font-size: .74rem; }
  .leadform__ds { font-size: .84rem; }
  .qpop__fort .lbl { font-size: .72rem; }
  .figcap, .ba__tag { font-size: .78rem; }

  /* Topbar: „Bremen & Umland" weg (steht im Footer), Rest einzeilig */
  .topbar__ort { display: none; }
  .topbar .wrap { gap: 12px; justify-content: space-between; min-height: 34px; }
  .topbar { font-size: .78rem; }
  .topbar a, .topbar__not { white-space: nowrap; }

  /* 0-€-Zeile: passt einzeilig statt 2 Zeilen mit Waise */
  .zeroline .wrap { gap: 10px 14px; padding-block: 13px; }
  .nur-breit { display: none; }
  .zeroline span { font-size: .82rem; gap: 6px; }
  .zeroline svg { width: 13px; height: 13px; }

  /* Leistungs-Karten: flache Karten brauchen Luft + kräftigeren Verlauf,
     sonst steht der Titel auf hellem Bild */
  .lcard--3, .lcard--4, .lcard--5, .lcard--6, .lcard--7 { min-height: 215px; }
  .lcard--foto .lcard__scrim {
    background: linear-gradient(to top, rgba(15,19,23,.94), rgba(15,19,23,.72) 34%,
      rgba(15,19,23,.34) 62%, rgba(15,19,23,.08) 82%, transparent 100%);
  }

  /* Touch-Ziele: Footer- und Breadcrumb-Links auf ~34px Trefferhöhe */
  .footer ul { gap: 2px; }
  .footer li a { display: inline-flex; align-items: center; min-height: 34px; }
  .crumbs { gap: 4px 6px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }

  /* Tabellen: Scroll-Schatten als Hinweis, dass es seitlich weitergeht */
  .tscroll {
    background:
      linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left / 38px 100% no-repeat,
      linear-gradient(90deg, rgba(255,255,255,0), #fff 70%) right / 38px 100% no-repeat,
      radial-gradient(farthest-side at 0 50%, rgba(34,39,43,.16), transparent) left / 12px 100% no-repeat,
      radial-gradient(farthest-side at 100% 50%, rgba(34,39,43,.16), transparent) right / 12px 100% no-repeat;
    background-attachment: local, local, scroll, scroll;
  }

  /* Story-Hero: Text-Panels dürfen die volle Breite nutzen */
  .story-text { left: 18px; right: 18px; max-width: none; padding: 30px 22px 32px; }

  /* Abschluss-Formular etwas kompakter */
  .leadform { padding: 20px 18px 24px; }
  .cta-final .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- 31l. Insektenschutz: Sommer-Aktion, Produkttypen, Einsatzbereiche ---------- */
.aktion {
  position: relative; overflow: clip; color: #fff;
  background: linear-gradient(115deg, var(--akzent-tief), var(--akzent) 55%, #2E63C4);
}
.aktion::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 300px at 88% -40%, rgba(255,217,160,.26), transparent 70%),
    radial-gradient(460px 240px at 4% 135%, rgba(11,26,56,.45), transparent 70%);
}
.aktion__in {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px clamp(22px, 4vw, 52px); padding-block: clamp(26px, 4vw, 42px);
}
.aktion__wert { margin: 0; display: grid; justify-items: center; gap: 5px; }
.aktion__wert b {
  font-family: var(--f-display); font-weight: 560;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem); line-height: .9; letter-spacing: -.02em;
  white-space: nowrap;
}
.aktion__wert span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: #CBDCF8; }
.aktion__text { flex: 1 1 360px; padding-left: clamp(18px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.28); }
.aktion__label {
  margin: 0 0 7px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--warm-1);
}
.aktion__label svg { flex: none; }
.aktion__satz { margin: 0; font-size: 1rem; line-height: 1.55; color: #E4ECFA; max-width: 62ch; }
.aktion__satz b { color: #fff; white-space: nowrap; }
.aktion__cta { margin-left: auto; box-shadow: 0 14px 30px -16px rgba(10,22,48,.65); }
@media (max-width: 760px) {
  .aktion__text { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .aktion__cta { margin-left: 0; flex: 1 1 100%; }
}

/* Produkttypen-Grid (6 Karten) */
.tygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1020px) { .tygrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tygrid { grid-template-columns: 1fr; } }

/* Einsatzbereiche-Chips */
.einsatzchips {
  list-style: none; margin: 4px 0 24px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.einsatzchips li {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: 999px;
  padding: 10px 18px; font-family: var(--f-display); font-weight: 560; font-size: .96rem;
}
.einsatzchips svg { color: var(--akzent); flex: none; }

/* ---------- 31m. Foerderung: Hero-Figur, Zusammensetzung, Fahrplan ---------- */
.fhero .fhero__grid--drei, .fhero__grid--drei { display: grid; grid-template-columns: auto minmax(0, 1fr) auto !important; gap: clamp(24px, 4vw, 64px); align-items: center; }
.fhero__figur { margin: 0; align-self: end; }
.fhero__figur img { height: clamp(260px, 34vh, 400px); width: auto; display: block; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); }
@media (max-width: 900px) {
  .fhero__grid--drei { grid-template-columns: 1fr; }
  .fhero__figur { display: none; }
}
.fzu {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: clamp(10px, 2vw, 22px);
  align-items: stretch; max-width: 1080px; margin: clamp(30px, 4vw, 46px) auto 0;
}
.fzu__karte {
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-l);
  padding: clamp(22px, 3vw, 34px); text-align: center;
  display: grid; gap: 4px; align-content: start;
}
.fzu__karte > b { font-family: var(--f-display); font-weight: 640; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--akzent-tief); }
.fzu__karte > b small { font-size: .45em; font-weight: 520; }
.fzu__karte h3 { font-size: 1.05rem; margin: 6px 0 2px; }
.fzu__karte p { font-size: .88rem; color: var(--ink-60); margin: 0; }
.fzu__karte--summe { background: var(--akzent); border-color: var(--akzent); box-shadow: 0 24px 50px -22px rgba(29,79,168,.55); }
.fzu__karte--summe > b, .fzu__karte--summe h3 { color: #fff; }
.fzu__karte--summe p { color: rgba(255,255,255,.8); }
.fzu__op {
  align-self: center; font-family: var(--f-display); font-weight: 640;
  font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--grau);
}
@media (max-width: 820px) {
  .fzu { grid-template-columns: 1fr; }
  .fzu__op { justify-self: center; }
}
.fplan { list-style: none; margin: clamp(26px, 3.5vw, 40px) 0 0; padding: 0; position: relative; display: grid; gap: 22px; }
.fplan::before { content: ''; position: absolute; left: 25px; top: 28px; bottom: 28px; border-left: 2px dashed var(--glas-linie); }
.fplan li { display: flex; gap: 18px; align-items: flex-start; position: relative; }
.fplan__nr {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--akzent); color: var(--akzent-tief);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--f-display); font-weight: 640; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--glas);
}
.fplan li h3 { font-size: 1.12rem; margin: 12px 0 4px; }
.fplan li p { font-size: .95rem; color: var(--ink-60); margin: 0; max-width: 62ch; }
.fplan__wichtig .fplan__nr { background: var(--akzent); color: #fff; }
.fplan__badge {
  display: inline-block; vertical-align: 3px; margin-left: 10px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(232,162,75,.16); color: #9A6A1F; border: 1px solid rgba(232,162,75,.5);
  border-radius: 999px; padding: 4px 10px;
}

/* ---------- 31n. Ueber uns: Arbeits-Galerie + Karriere-Kachel ---------- */
.arbeit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: clamp(28px, 4vw, 44px); max-width: 1480px;
}
.arbeit-grid figure { margin: 0; position: relative; }
.arbeit-grid img {
  width: 100%; height: clamp(420px, 56vh, 620px); object-fit: cover;
  border-radius: var(--r-l); display: block;
  box-shadow: 0 28px 60px -30px rgba(20,24,28,.4);
}
@media (max-width: 900px) { .arbeit-grid { grid-template-columns: 1fr; } .arbeit-grid img { height: clamp(300px, 44vh, 460px); } }
.karriere {
  background: var(--akzent); color: #fff; border-radius: var(--r-l);
  padding: clamp(30px, 4.5vw, 56px) clamp(26px, 4vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(22px, 4vw, 60px); align-items: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(29,79,168,.6);
}
.karriere::after {
  content: ''; position: absolute; right: -14%; top: -40%; width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,217,160,.25), transparent 65%); pointer-events: none;
}
.karriere__kicker {
  display: inline-block;
  font-family: var(--f-display); font-size: 1rem; font-weight: 560;
  color: var(--warm-1); margin-bottom: 12px;
}
.karriere h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.karriere p { color: rgba(255,255,255,.85); margin: 0; max-width: 56ch; }
.karriere__aktion { display: grid; gap: 12px; justify-items: start; position: relative; }
.karriere__aktion small { color: rgba(255,255,255,.75); font-size: .82rem; line-height: 1.5; }
@media (max-width: 820px) { .karriere { grid-template-columns: 1fr; } }

/* ---------- 31o. Leistungs-Schnellnavigation (Chip-Leiste mit Icons) ---------- */
.lchips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lchips a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--glas-linie); color: var(--ink);
  font-weight: 600; font-size: .92rem;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.lchips a svg { width: 17px; height: 17px; color: var(--akzent); }
.lchips a:hover { border-color: var(--akzent); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(29,79,168,.35); color: var(--ink); }

/* ---------- 31p. Team-Karten + Zwei-Wege + Warn-Wegpunkt ---------- */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 44px); max-width: 1280px;
}
.team-karte { margin: 0; background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-l); overflow: hidden; transition: transform var(--t-fast), box-shadow var(--t-fast); }
.team-karte:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(20,24,28,.35); }
.team-karte img { width: 100%; height: clamp(340px, 44vh, 520px); object-fit: cover; object-position: top; display: block; }
.team-karte figcaption { padding: clamp(20px, 2.5vw, 30px); display: grid; gap: 6px; }
.team-karte b { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }
.team-karte small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60); }
.team-karte blockquote { margin: 10px 0 4px; font-size: 1.02rem; line-height: 1.6; color: var(--ink); font-style: italic; border-left: 3px solid var(--akzent); padding-left: 14px; }
.team-tag { font-size: .84rem; color: var(--akzent-tief); font-weight: 600; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; } }
.zweiwege { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1080px; margin: clamp(28px, 4vw, 44px) auto 0; }
.zweiwege__karte { position: relative; background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); }
.zweiwege__karte--top { border-color: var(--akzent); box-shadow: 0 24px 50px -28px rgba(29,79,168,.4); }
.zweiwege__badge { position: absolute; top: -13px; left: 26px; background: var(--akzent); color: #fff; border-radius: 999px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; }
.zweiwege__karte h3 { font-size: 1.2rem; margin-bottom: 2px; }
.zweiwege__wert { font-family: var(--f-mono); font-size: .82rem; color: var(--akzent-tief); margin: 0 0 6px; }
@media (max-width: 820px) { .zweiwege { grid-template-columns: 1fr; } }
.wegpunkt--warn .wegpunkt__kreis { border-color: var(--warm-2); }
.wegpunkt--warn.is-an .wegpunkt__kreis { background: var(--warm-2); border-color: var(--warm-2); color: #fff; }
.wegpunkt--warn.is-an .wegpunkt__text .nr { color: var(--warm-2); }
.wegpunkt--warn .wegpunkt__text h3 { color: var(--ink); }

/* ---------- 31q. Ueber uns: freistehendes Duo ---------- */
.duo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 70px);
  margin-top: clamp(34px, 5vw, 56px); max-width: 1180px; margin-inline: auto;
}
.duo-karte { text-align: center; display: grid; gap: 4px; justify-items: center; }
.duo-figur { margin: 0 0 18px; }
.duo-figur img {
  height: clamp(340px, 44vh, 520px); width: auto;
  filter: drop-shadow(0 34px 40px rgba(20,24,28,.3));
  animation: tuerschweben 7s ease-in-out infinite;
}
.duo-karte b { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; }
.duo-karte small { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent-tief); }
.duo-karte p { font-size: .97rem; color: var(--ink-60); max-width: 44ch; margin: 10px 0 0; }
.duo-karte blockquote {
  margin: 14px 0 0; font-style: italic; font-size: 1rem; line-height: 1.6; color: var(--ink);
  max-width: 44ch; position: relative; padding-top: 14px;
}
.duo-karte blockquote::before { content: ''; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 34px; height: 2px; background: var(--akzent); }
@media (max-width: 760px) { .duo-grid { grid-template-columns: 1fr; gap: 48px; } .duo-figur img { height: clamp(300px, 40vh, 420px); } }

/* ---------- 31r. Smart-Home-Buehne (rollladen) ---------- */
.smarthome { position: relative; overflow: clip; }
.smarthome::after {
  content: ''; position: absolute; right: -10%; top: -30%; width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(127,163,232,.14), transparent 65%); pointer-events: none;
}
.checkliste--hell li { color: #C9D3DC; }
.checkliste--hell li::before {
  background-color: rgba(127,163,232,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FA3E8' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='m5.5 12.5 4 4 9-9.5'/%3E%3C/svg%3E");
}
.somfy-logo--hell { filter: brightness(0) invert(1); opacity: .92; }
.smartpanel {
  background: var(--nacht-2); border: 1px solid var(--glas-linie-dunkel); border-radius: var(--r-l);
  padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
  position: relative;
}
.smartpanel::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(127,163,232,.08), transparent 40%);
}
.smartpanel__kopf { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #8C99A6; margin-bottom: 4px; }
.smartpanel__zeile {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 10px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07); color: #E8EDF2;
}
.smartpanel__zeile--nacht { background: rgba(29,79,168,.22); border-color: rgba(127,163,232,.3); }
.smartpanel__zeit { font-family: var(--f-mono); font-size: .85rem; color: #8C99A6; flex: none; }
.smartpanel__zeile > span:nth-child(2) { flex: 1; }
.smartpanel__ic { flex: none; font-size: 1.1rem; }
.smartpanel__fuss { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: #8C99A6; margin-top: 2px; }

/* ---------- 31s. Garagentor-Bauarten (Bild-Karten) ---------- */
.gt-vergleich {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(28px, 4vw, 44px); max-width: 1280px; margin-inline: auto;
}
.gt-bildkarte {
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-l);
  overflow: hidden; transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gt-bildkarte:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(20,24,28,.35); }
.gt-system { margin: 0; position: relative; background: #fff; }
.gt-system img {
  width: 100%; height: clamp(270px, 34vh, 380px);
  object-fit: contain; display: block; padding: 26px 22px 8px;
}
.gt-system figcaption {
  position: absolute; top: 14px; left: 14px;
  background: var(--akzent); color: #fff; border-radius: 999px;
  padding: 6px 14px; font-size: .8rem; font-weight: 600;
}
.gt-bildkarte__body { padding: clamp(20px, 2.6vw, 30px); }
.gt-bildkarte__body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.gt-bildkarte__body p { color: var(--ink-60); font-size: .97rem; }
@media (max-width: 820px) { .gt-vergleich { grid-template-columns: 1fr; } }

/* ---------- 31t. Insektenschutz-Produktbilder ---------- */
.icard__bild { margin: 0 0 16px; }
.icard__bild img {
  width: 100%; height: clamp(170px, 22vw, 225px);
  object-fit: contain; display: block;
  transition: transform var(--t-fast);
}
.icard:hover .icard__bild img { transform: scale(1.04); }

/* ---------- 31u. Reels mobil: grosser Einzel-Swiper, keine Schrift ueberm Video ---------- */
@media (max-width: 760px) {
  .reelrow {
    gap: 12px; padding: 22px 0 10px;
    scroll-padding-inline: 20px;
  }
  .reel-item { flex: 0 0 auto; width: min(215px, 56vw); scroll-snap-align: center; }
  .reel-item figcaption { display: none; }
  /* Karussell-Fuss: Punkte + Text des gerade sichtbaren Clips */
  .reelnav { display: grid; justify-items: center; gap: 10px; padding: 6px 20px 0; }
  .reeldots { display: flex; gap: 7px; }
  .reeldots button {
    width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .3); cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
  }
  .reeldots button.is-an { background: var(--akzent-hell); transform: scale(1.4); }
  .reelcap {
    margin: 0; font-size: .88rem; color: #C9D3DC; text-align: center;
    min-height: 1.25em; transition: opacity var(--t-fast);
  }
}

/* ---------- 31v. Haustueren-Konfigurator (Zwei-Klick-Kachel) ---------- */
.pkonf {
  margin-top: clamp(24px, 4vw, 40px);
  border: 1px solid var(--glas-linie); border-radius: var(--r-l);
  overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px -40px rgba(20, 24, 28, .35);
}
.pkonf__vorschau {
  display: grid; grid-template-columns: .85fr 1.15fr; align-items: center;
  gap: clamp(20px, 3vw, 44px);
  background: radial-gradient(120% 120% at 15% 0%, #fff 0%, var(--glas) 100%);
}
.pkonf__bild {
  margin: 0; align-self: stretch; display: grid; place-items: center;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(29,79,168,.07), rgba(29,79,168,0) 60%);
}
.pkonf__bild img { width: 100%; max-width: 250px; height: auto; display: block;
  filter: drop-shadow(0 26px 40px rgba(20,24,28,.22)); }
.pkonf__text { padding: clamp(24px, 3.4vw, 46px) clamp(22px, 3.4vw, 46px) clamp(24px, 3.4vw, 46px) 0; }
.pkonf__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--akzent-tief); background: var(--akzent-wash);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 14px;
}
.pkonf__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); animation: puls 2.4s ease-in-out infinite; }
.pkonf__text h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.pkonf__text > p { color: var(--ink-60); font-size: .98rem; max-width: 46ch; margin: 0; }
.pkonf__knopf { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; }
.pkonf__hinweis { margin: 14px 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-60); max-width: 52ch; }
.pkonf__hinweis a { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; }
/* Geladener Zustand */
.pkonf--offen { background: #fff; }
.pkonf__leiste {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--glas-linie);
  font-family: var(--f-display); font-weight: 560; font-size: .95rem; color: var(--ink);
  background: var(--glas);
}
.pkonf__zu, .pkonf__voll {
  border: 1px solid var(--glas-linie); background: #fff; color: var(--ink);
  font: inherit; font-size: .85rem; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.pkonf__zu:hover, .pkonf__voll:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* Einsatzgebiet: Kundenbild links, Text rechts. Das Bild traegt den Claim
   bereits im Motiv, deshalb keine Bildunterschrift. */
.deutschland { background: var(--glas); padding-block: clamp(40px, 5vw, 72px); }
.deutschland__grid {
  display: grid; grid-template-columns: minmax(0, clamp(240px, 26vw, 340px)) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  max-width: 1240px; margin-inline: auto;
}
/* Karte ist freigestellt: kein Kartenrahmen, sie steht direkt auf der Flaeche. */
.deutschland__bild { margin: 0; justify-self: center; }
.deutschland__bild img { width: 100%; height: auto; display: block; }
.deutschland__text h2 { margin-bottom: 12px; }
.staedte {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.staedte li {
  font-size: .88rem; color: var(--ink); background: #fff;
  border: 1px solid var(--glas-linie); border-radius: 999px; padding: 7px 14px;
}
.staedte li:last-child { background: none; border-style: dashed; color: var(--ink-60); }
.deutschland__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) {
  .deutschland__grid { grid-template-columns: 1fr; }
  .deutschland__bild { max-width: 280px; margin-inline: auto; }
  .deutschland__cta .btn { width: 100%; justify-content: center; }
}

/* Startseite: Sprungbrett in den Haustueren-Konfigurator, direkt unter den
   Leistungen. Dunkle Karte, damit sie sich vom hellen Raster abhebt. */
.traumtuer {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 38px);
  margin-top: clamp(20px, 3vw, 34px); padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 34px);
  background: linear-gradient(120deg, #171B1F 0%, #1E2933 62%, #24384A 100%);
  border-radius: var(--r-l); color: #fff; text-decoration: none; overflow: hidden;
  box-shadow: 0 34px 70px -44px rgba(12, 18, 24, .9);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.traumtuer:hover { transform: translateY(-2px); box-shadow: 0 42px 80px -44px rgba(12, 18, 24, 1); color: #fff; }
.traumtuer__bild {
  width: clamp(64px, 7vw, 88px); aspect-ratio: 298 / 600; border-radius: 10px; overflow: hidden;
  background: rgba(255,255,255,.06); display: grid; place-items: center; flex: none;
}
.traumtuer__bild img { width: 100%; height: 100%; object-fit: contain; display: block; }
.traumtuer__text { display: grid; gap: 5px; min-width: 0; }
.traumtuer__kicker {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--akzent-hell);
}
.traumtuer__text b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2.1vw, 1.6rem); letter-spacing: -.015em; }
.traumtuer__text > span:last-child { font-size: .95rem; color: #C6D2DD; max-width: 62ch; }
.traumtuer__knopf {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--akzent); color: #fff; font-weight: 600; font-size: .95rem;
  padding: 13px 22px; border-radius: 999px;
  transition: background var(--t-fast), transform var(--t-fast);
}
.traumtuer:hover .traumtuer__knopf { background: var(--akzent-tief); transform: translateX(2px); }
@media (max-width: 860px) {
  .traumtuer { grid-template-columns: auto 1fr; text-align: left; }
  .traumtuer__knopf { grid-column: 1 / -1; justify-content: center; }
}

/* Baustellen-Clip auf der Rollladen-Seite: Hochformat-Aufnahme vom Kunden,
   deshalb in der Hoehe gedeckelt, damit sie die Textspalte nicht sprengt. */
.baustellenclip { display: grid; justify-items: start; }
.baustellenclip video {
  width: auto; height: clamp(340px, 52vh, 560px); max-width: 100%;
  border-radius: var(--r-m); display: block; background: var(--glas);
  box-shadow: 0 30px 60px -34px rgba(20,24,28,.45);
}
@media (max-width: 860px) {
  .baustellenclip { justify-items: center; }
  .baustellenclip video { height: clamp(300px, 62vh, 460px); }
}

/* Serien-Auswahl ueber dem Konfigurator: drei Karten, ein Klick setzt den
   passenden Filter im Konfigurator (serien.js). */
.serien {
  width: min(1440px, calc(100vw - 40px)); margin: clamp(26px, 4vw, 40px) auto clamp(14px, 2vw, 20px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px);
}
.serie {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: var(--r-m);
  padding: 14px 18px 14px 14px; cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.serie:hover { border-color: var(--akzent); transform: translateY(-2px); box-shadow: 0 22px 40px -30px rgba(20,24,28,.55); }
.serie.an { border-color: var(--akzent); box-shadow: 0 0 0 3px var(--akzent-wash); }
.serie.laedt { opacity: .7; }
.serie__bild {
  width: 62px; height: 104px; border-radius: 8px; overflow: hidden; background: var(--glas);
  display: grid; place-items: center; flex: none;
}
.serie__bild img { width: 100%; height: 100%; object-fit: contain; display: block; }
.serie__text { display: grid; gap: 2px; min-width: 0; }
.serie__text b { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; }
.serie__text span { font-size: .85rem; color: var(--ink-60); }

.stile {
  width: min(1440px, calc(100vw - 40px)); margin: 0 auto clamp(16px, 2.4vw, 24px);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.stile__wort { font-size: .88rem; color: var(--ink-60); margin-right: 4px; }
.stil {
  border: 1px solid var(--glas-linie); background: #fff; border-radius: 999px;
  padding: 8px 15px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--ink);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.stil:hover { border-color: var(--akzent); color: var(--akzent-tief); }
.stil.an { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 860px) {
  .serien { grid-template-columns: 1fr; }
  .serie__bild { width: 54px; height: 88px; }
}

/* Fest eingebauter Konfigurator: breiter als der Textsatz, damit die
   Tuerauswahl Luft hat — wie beim Wettbewerb ueber die volle Seitenbreite. */
.pkonf {
  width: min(1440px, calc(100vw - 40px)); margin-inline: auto;
  border-radius: var(--r-l); overflow: hidden; background: #fff;
}
/* Kein Rahmen, kein Schlagschatten: der Konfigurator soll wie ein Teil der
   Seite wirken und nicht wie ein eingeklebtes Fenster. */
.pkonf--offen { border: 0; box-shadow: none; }
.pkonf__laden {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: clamp(420px, 60dvh, 700px); color: var(--ink-60); font-size: .95rem;
}
.pkonf__punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--akzent); animation: puls 1.6s ease-in-out infinite; }
.pkonf__cta {
  width: min(1440px, calc(100vw - 40px)); margin: clamp(16px, 2.4vw, 26px) auto 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--glas); border: 1px solid var(--glas-linie); border-radius: var(--r-m);
  padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.6vw, 30px);
}
.pkonf__cta b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.pkonf__cta span { display: block; font-size: .94rem; color: var(--ink-60); max-width: 56ch; margin-top: 3px; }
@media (max-width: 700px) { .pkonf__cta { flex-direction: column; align-items: stretch; text-align: center; } }
.pkonf__fuss {
  width: min(1440px, calc(100vw - 40px)); margin: 14px auto 0;
  font-size: .8rem; line-height: 1.55; color: var(--ink-60); text-align: center;
}
.pkonf__fuss a { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; }
.pkonf iframe { width: 100%; height: min(100dvh, 1200px); min-height: 640px; border: 0; display: block; background: #fff; }
@media (max-width: 860px) {
  .pkonf__vorschau { grid-template-columns: 1fr; }
  .pkonf__bild { padding: 24px 24px 0; }
  .pkonf__bild img { max-width: 170px; }
  .pkonf__text { padding: 20px 20px 26px; text-align: center; }
  .pkonf__text > p, .pkonf__hinweis { margin-inline: auto; }
  .pkonf__knopf { width: 100%; justify-content: center; }
  .pkonf iframe { height: calc(100dvh - 150px); min-height: 560px; }
}

/* ---------- 31w. Einwilligungs-Banner (kompakt) ---------- */
.cbanner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  padding: 0 14px 14px; pointer-events: none;
}
.cbanner__box {
  pointer-events: auto; width: max-content; max-width: min(560px, calc(100vw - 28px));
  margin: 0 auto;
  background: #fff; border: 1px solid var(--glas-linie); border-radius: 999px;
  box-shadow: 0 24px 50px -22px rgba(20, 24, 28, .4);
  padding: 8px 8px 8px 20px;
  display: flex; align-items: center; gap: 14px;
  transform: translateY(150%); opacity: 0;
  transition: transform .4s var(--e-out), opacity .3s var(--e-out);
}
.cbanner.is-da .cbanner__box { transform: none; opacity: 1; }
.cbanner__text { margin: 0; font-size: .88rem; color: var(--ink); white-space: nowrap; }
.cbanner__text a { color: var(--akzent); text-decoration: underline; text-underline-offset: 2px; }
.cbanner__btns { display: flex; gap: 8px; flex: none; }
.cbanner__btns .btn { padding: 10px 16px; font-size: .88rem; min-width: 116px; justify-content: center; }
.cbanner-link { cursor: pointer; }
@media (max-width: 700px) {
  .cbanner { padding: 0 10px calc(84px + env(safe-area-inset-bottom)); }
  .cbanner__box { width: auto; border-radius: var(--r-m); padding: 14px; flex-direction: column; align-items: stretch; gap: 10px; }
  .cbanner__text { white-space: normal; text-align: center; }
  .cbanner__btns .btn { flex: 1; }
}

/* Logo-Kontrast: die Originalstriche sind helles Grau (149) und gehen auf
   hellem Grund unter. Leichtes Abdunkeln macht Fenster-Zeichen und Schriftzug
   klar sichtbar, ohne die Form zu veraendern. */
.nav__logo img, .film-final__logo { filter: brightness(.66) contrast(1.12); }
.dark .nav__logo img { filter: none; }

/* Zwischen 1021 und 1260 px wird es mit dem sechsten Menuepunkt eng —
   dort etwas kompakter, damit die Leiste einzeilig bleibt. */
@media (min-width: 1021px) and (max-width: 1260px) {
  .nav__links a.navlink { padding: 10px 9px; font-size: .93rem; }
  .nav__links { gap: 0; }
  .nav__cta { padding: 10px 14px; font-size: .9rem; }
}

/* 24/7-Notdienst in der Navigation: bewusst rot, damit er auffaellt */
.navlink--not { color: #C9252D !important; font-weight: 620; }
.navlink--not:hover { background: rgba(201, 37, 45, .09); color: #A31C23 !important; }
.navlink--not .puls { width: 7px; height: 7px; border-radius: 50%; background: #C9252D; margin-right: 8px; flex: none; }
.dark .navlink--not { color: #FF7A80 !important; }
@media (max-width: 1020px) { .navlink--not { font-size: 1.24rem; } }

/* Sticky-Bewertungsabzeichen blendet aus, sobald die Fusszeile erreicht ist */
.gsticky { transition: transform var(--t-fast), box-shadow var(--t-fast), opacity .35s var(--e-out), visibility .35s; }
.gsticky.is-weg { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }

/* ---------- 31x. Webdesign-Hinweis ---------- */
.webkredit {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 4px; font-size: .92rem; color: var(--ink-60);
}
/* Klein und charmant: dezente Kachel, kein Werbeblock */
.webkredit__mark {
  display: inline-flex; align-items: center; justify-content: center;
  background: #0E1013; border-radius: 10px; padding: 9px 13px;
  flex: none; opacity: .9;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.webkredit__mark:hover { opacity: 1; transform: translateY(-1px); }
.webkredit img { width: 88px; height: auto; display: block; }
.webkredit p { margin: 0; max-width: 46ch; }
.webby { opacity: .62; transition: opacity var(--t-fast); }
.webby:hover { opacity: 1; }

/* ---------- 31y. Neues Kundenmaterial ---------- */
/* Smart Home: echtes Foto der Fernbedienung, der Clip sitzt klein darin.
   Das Video kommt vom Handy (464 px breit) — gross skaliert wirkt es unscharf,
   deshalb bewusst als kleine Einblendung. */
/* Foto und Clip stehen nebeneinander, gleich hoch (Zeitplan-Panel ist raus). */
.smartduo { display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: 1fr 1fr; align-items: stretch; }
.smartfoto {
  margin: 0; position: relative; border-radius: var(--r-m); overflow: hidden;
  border: 1px solid var(--glas-linie-dunkel); background: var(--nacht-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  height: clamp(300px, 30vw, 470px);
}
.smartfoto > img, .smartfoto > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.smartclip > video { object-position: center; }
.smartfoto figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(12,15,19,.72); color: #fff; font-size: .78rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 560px) { .smartduo { grid-template-columns: 1fr; } .smartfoto { height: auto; aspect-ratio: 4/5; } }


/* ---------- 32. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  .stage--rollo { height: auto !important; }
  .stage--rollo .stage__pin { position: static; height: auto; padding-block: 60px; }
  .rollo-panzer { transform: translateY(-46%); }
  .rollo-chip { opacity: 1; transform: none; }
}
