/* ==========================================================================
   GlasPro Bergmann – Glasduschen Landingpage
   Palette: Weiß #fff · Schwarz #000 · Bergmann-Blau #1A5C82 (helle Variante)
   Type:    Cal Sans (Display) · Geist (Text)
   ========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #1a5c82;
  --blue-deep: #0d3550;
  --blue-glow: #3f8fbf;      /* nur für Leuchten/Glow, nie als Fläche */
  --bg: #f3f6f9;
  --fog: rgba(13, 53, 80, 0.12);          /* Kanten / Linien */
  --fog-strong: rgba(13, 53, 80, 0.22);
  --text: #0b1622;
  --text-2: #465565;
  --text-3: #71808e;

  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.82);
  --glass-blur: 22px;

  --r-card: 20px;
  --r-inner: 14px;
  --r-pill: 800px;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);

  --font-display: "Cal Sans", "Geist", system-ui, sans-serif;
  --font-text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-glass: cubic-bezier(0.65, 0, 0.15, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--blue); color: var(--white); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Hintergrund: langsam wandernde Lichtflecken – geben den Glasflächen etwas,
   das sie brechen können.
   -------------------------------------------------------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient span {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 143, 191, 0.34), rgba(26, 92, 130, 0.16) 40%, rgba(26, 92, 130, 0) 70%);
  filter: blur(30px);
  opacity: 1;
  will-change: transform;
}
.ambient span:nth-child(1) { top: -20vmax; left: -15vmax; animation: drift1 38s ease-in-out infinite alternate; }
.ambient span:nth-child(2) { bottom: -30vmax; right: -20vmax; animation: drift2 46s ease-in-out infinite alternate; }
.ambient span:nth-child(4) { top: 110%; left: 10%; width: 50vmax; height: 50vmax; opacity: 0.6; animation: drift4 60s ease-in-out infinite alternate; }
@keyframes drift4 { to { transform: translate(40vw, -40vh); } }
.ambient span:nth-child(3) { top: 40%; left: 55%; width: 45vmax; height: 45vmax; opacity: 0.7; animation: drift3 52s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, -18vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-30vw, 10vh) scale(0.9); } }

.page { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 62ch;
  font-weight: 300;
}
p { margin: 0; }
p + p { margin-top: 1em; }
.muted { color: var(--text-2); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 { margin-bottom: 20px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
section { padding-block: var(--section); position: relative; }

/* --------------------------------------------------------------------------
   Glas
   -------------------------------------------------------------------------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--fog);
  border-radius: var(--r-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 1px 0 0 rgba(255, 255, 255, 0.6),
    0 14px 40px -24px rgba(13, 53, 80, 0.28);
}
/* Lichtkante, die über das Glas läuft */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.75) 45%, rgba(255,255,255,0) 60%);
  background-size: 250% 100%;
  background-position: 120% 0;
  transition: background-position 1.2s var(--ease-glass);
}
.glass:hover::after { background-position: -20% 0; }

.glass-strong { background: var(--glass-bg-strong); }

/* --------------------------------------------------------------------------
   Buttons – Pillen. Primär: Bergmann-Blau. Sekundär: helles Glas-Ghost.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 10px 30px -12px rgba(26, 92, 130, 0.75);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #1f6a95;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 18px 40px -14px rgba(26, 92, 130, 0.9);
}
.btn-ghost {
  background: rgba(255,255,255,0.55);
  color: var(--text);
  border-color: var(--fog-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.9); border-color: rgba(13,53,80,0.4); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 12px 30px -10px rgba(26,92,130,0.9);
}
.btn-blue:hover { transform: translateY(-2px); background: #1f6a95; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 17px 28px; font-size: 1.02rem; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: padding 0.4s var(--ease-out);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 22px;
  border-radius: var(--r-pill);
  transition: background 0.4s, border-color 0.4s;
}
.nav.scrolled { padding: 8px 0; }
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: rgba(13,53,80,0.06); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; color: var(--text-2); font-weight: 500; font-size: 0.95rem;
}
.nav-phone:hover { color: var(--text); }
.nav-phone svg { width: 16px; height: 16px; }
.nav .btn { padding: 11px 20px; font-size: 0.95rem; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--fog);
  background: transparent;
  place-items: center;
}
.nav-burger span {
  display: block; width: 18px; height: 2px; background: var(--text); margin: 2.5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 78px; left: var(--gutter); right: var(--gutter);
  z-index: 49;
  padding: 12px;
  border-radius: var(--r-card);
}
.nav-mobile.open { display: block; animation: rise 0.45s var(--ease-out); }
.nav-mobile a {
  display: block; padding: 14px 16px; border-radius: 12px; font-weight: 500;
}
.nav-mobile a:hover { background: rgba(13,53,80,0.06); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; width: 100%; }

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: grid; }
  .nav .btn-primary { display: none; }
}

/* --------------------------------------------------------------------------
   Hero – die Duschtür aus Milchglas schiebt sich zur Seite und gibt das Video frei
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: clamp(110px, 14vh, 140px);
  padding-bottom: clamp(48px, 7vh, 90px);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy > * { opacity: 0; transform: translateY(24px); }
.hero.ready .hero-copy > * { animation: rise 1s var(--ease-out) forwards; }
.hero.ready .hero-copy > :nth-child(1) { animation-delay: 0.25s; }
.hero.ready .hero-copy > :nth-child(2) { animation-delay: 0.4s; }
.hero.ready .hero-copy > :nth-child(3) { animation-delay: 0.55s; }
.hero.ready .hero-copy > :nth-child(4) { animation-delay: 0.7s; }
.hero.ready .hero-copy > :nth-child(5) { animation-delay: 0.85s; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  color: var(--text-2);
}
.hero-kicker i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px rgba(26,92,130,0.25);
}
.hero-kicker i svg { width: 12px; height: 12px; }

.hero h1 { margin: 22px 0 18px; }
.hero .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  width: fit-content;
  padding: 6px;
  border-radius: 18px;
}
.hero-trust div {
  padding: 12px 22px;
  border-left: 1px solid var(--fog);
}
.hero-trust div:first-child { border-left: 0; }
.hero-trust strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.hero-trust span { font-size: 0.85rem; color: var(--text-3); }

/* Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  max-height: 78vh;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--fog);
  box-shadow:
    0 40px 100px -40px rgba(26, 92, 130, 0.55),
    0 0 0 1px rgba(255,255,255,0.6);
}
.hero-visual video, .hero-visual img.hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s linear;
}
.hero.ready .hero-visual video { transform: scale(1); }

/* Die Tür */
.door {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.14));
  -webkit-backdrop-filter: blur(28px) saturate(130%) brightness(1.05);
  backdrop-filter: blur(28px) saturate(130%) brightness(1.05);
  border-right: 1px solid rgba(255,255,255,0.55);
  box-shadow: 8px 0 30px rgba(0,0,0,0.35), inset -1px 0 0 rgba(255,255,255,0.3);
  transform: translateX(0);
  will-change: transform;
}
.door::before {
  /* Griff */
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 6px; height: 120px;
  transform: translateY(-50%);
  border-radius: 6px;
  background: linear-gradient(180deg, #f2f2f2, #b8b8b8 50%, #e8e8e8);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25), 2px 4px 10px rgba(0,0,0,0.4);
}
.door::after {
  /* Wasserlauf / Lichtreflex */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 30% 20%, rgba(255,255,255,0.18), transparent 70%),
    repeating-linear-gradient(100deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
  mix-blend-mode: screen;
}
.hero.ready .door { animation: door-open 1.9s var(--ease-glass) 0.15s forwards; }
@keyframes door-open {
  0% { transform: translateX(0); }
  100% { transform: translateX(-94%); }
}
/* Nach dem Öffnen bleibt ein schmaler Glasstreifen als Kante stehen – wie eine offene Tür */

.hero-badge {
  position: absolute;
  z-index: 3;
  left: 18px; bottom: 18px;
  right: 18px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  opacity: 0;
}
.hero.ready .hero-badge { animation: rise 0.9s var(--ease-out) 1.6s forwards; }
.hero-badge img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.hero-badge b { display: block; font-weight: 600; font-size: 0.95rem; }
.hero-badge span { font-size: 0.85rem; color: var(--text-2); }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4 / 3; max-height: none; }
  .hero-trust { grid-template-columns: 1fr 1fr 1fr; width: 100%; }
  .hero-trust div { padding: 10px 14px; }
  .hero-trust strong { font-size: 1.4rem; }
}
@media (max-width: 520px) {
  .hero-trust { grid-template-columns: 1fr; }
  .hero-trust div { border-left: 0; border-top: 1px solid var(--fog); }
  .hero-trust div:first-child { border-top: 0; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Klickbare Karten – jede Glas-Karte führt zum Angebotsformular
   -------------------------------------------------------------------------- */
.card-link {
  display: flex;
  color: inherit;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.card-link:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-strong);
  border-color: rgba(26,92,130,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 50px -24px rgba(13, 53, 80, 0.35);
}
.card-arrow {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--fog);
  background: rgba(255,255,255,0.8);
  color: var(--blue);
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.card-arrow svg { width: 16px; height: 16px; }
.card-link:hover .card-arrow,
.card-link:focus-visible .card-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translate(2px, -2px);
}
.type.featured .card-arrow { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: var(--white); }
.type.featured:hover .card-arrow { background: var(--white); border-color: var(--white); color: var(--blue); }
.step .card-arrow { background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Anker-Ziel: nicht hinter der fixen Navigation verschwinden */
section[id], #angebot { scroll-margin-top: 24px; }

/* --------------------------------------------------------------------------
   Scroll-Reveal (nur für Sektionsköpfe, nicht für jede Karte)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Nutzen: Warum nach Maß
   -------------------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefits.grid2 { grid-template-columns: 1fr 1fr; }
.benefits.grid2 .benefit { min-height: 0; padding: 30px 30px 32px; }
.benefit {
  padding: 28px 24px 30px;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.benefit .ico { position: relative; z-index: 1; }
.benefit .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--blue);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 20px -10px rgba(26,92,130,0.7);
  display: grid; place-items: center;
  margin-bottom: 26px;
}
.benefit .ico svg { width: 24px; height: 24px; }
.benefit h3 { margin-bottom: 12px; }
.benefit p { color: var(--text-2); font-size: 0.98rem; }
@media (max-width: 900px) { .benefits, .benefits.grid2 { grid-template-columns: 1fr; } .benefit { min-height: 0; } }

/* --------------------------------------------------------------------------
   Duschtypen
   -------------------------------------------------------------------------- */
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.type {
  padding: 26px 26px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.5s var(--ease-out), background 0.4s;
}
.type .sketch {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-inner);
  background: rgba(26,92,130,0.07);
  border: 1px solid rgba(13,53,80,0.08);
  color: var(--blue);
  display: grid; place-items: center;
  overflow: hidden;
}
.type .sketch svg { width: 70%; height: 70%; }
.type h3 { font-size: 1.3rem; }
.type p { color: var(--text-2); font-size: 0.95rem; }
.type .fit {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--text-3);
  border-top: 1px solid var(--fog);
}
.type.featured {
  background: linear-gradient(160deg, rgba(26,92,130,0.96), rgba(13,53,80,0.98));
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.type.featured:hover { background: linear-gradient(160deg, rgba(31,106,149,0.98), rgba(13,53,80,1)); }
.type.featured .sketch { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.18); color: var(--white); }
.type.featured p, .type.featured .fit { color: rgba(255,255,255,0.82); }
.type.featured .fit { border-top-color: rgba(255,255,255,0.22); }
@media (max-width: 960px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Vorher / Nachher
   -------------------------------------------------------------------------- */
.compare-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: stretch;
}
.compare {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 660px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--fog);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: #e3e9ef;
}
.compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .label {
  position: absolute; top: 16px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 500;
  z-index: 3;
  pointer-events: none;
}
.compare .label-before { left: 16px; }
.compare .label-after { right: 16px; }
.compare .handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.compare .knob {
  position: absolute; top: 50%; left: 50%;
  width: 56px; height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}
.compare .knob svg { width: 22px; height: 22px; }
.compare input[type="range"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; margin: 0; cursor: ew-resize;
  z-index: 5;
}
.compare-side {
  padding: 40px 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.compare-side h3 { font-size: 1.45rem; margin-bottom: 12px; }
.compare-side p { color: var(--text-2); }
.compare-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare-side li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 0.95rem; }
.compare-side li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
@media (max-width: 900px) { .compare-wrap { grid-template-columns: 1fr; } .compare { max-height: none; } }

/* Kleine Projektgalerie unter dem Slider */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 3 / 2;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text-2);
}
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   Ablauf – GlasPur-Methode (echte Sequenz, deshalb nummeriert)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  overflow: hidden;
  display: flex; flex-direction: column;
}
.step .pic {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--fog);
}
.step .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.step:hover .pic img { transform: scale(1.05); }
.step .num {
  position: absolute; top: 14px; left: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.05rem;
}
.step .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--text-2); font-size: 0.95rem; }
.step .dur { margin-top: auto; padding-top: 12px; font-size: 0.85rem; color: var(--text-3); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */
.film {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--fog);
  background: #050505;
  box-shadow: 0 50px 120px -50px rgba(26,92,130,0.7);
}
.film video, .film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film .play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
  border: 0; padding: 0;
  color: var(--white);
  transition: opacity 0.5s;
}
.film .play .ring {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--blue);
  transition: transform 0.5s var(--ease-out);
}
.film .play:hover .ring { transform: scale(1.08); }
.film .play .ring svg { width: 34px; height: 34px; margin-left: 4px; }
.film .play .cap {
  position: absolute; left: 24px; bottom: 22px;
  text-align: left;
}
.film .play .cap b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.film .play .cap span { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.film.playing .play { opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.person {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--fog);
}
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.person:hover img { transform: scale(1.04); }
.person figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
}
.person figcaption b { display: block; font-weight: 600; }
.person figcaption span { font-size: 0.88rem; color: var(--text-2); }
.team-note {
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
}
.team-note p { color: var(--text-2); }
.team-note .sig { font-family: var(--font-display); font-size: 1.3rem; }
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Stimmen
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote .stars { padding-right: 44px; }
.quote .stars { display: flex; gap: 3px; color: var(--blue); }
.quote .stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--text); font-weight: 300; }
.quote footer { margin-top: auto; font-size: 0.9rem; color: var(--text-3); }
.quote footer b { color: var(--text-2); font-weight: 500; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; overflow: hidden; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-weight: 500;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  border: 1px solid var(--fog-strong);
  color: var(--text);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: var(--white); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); max-width: 66ch; }
.faq .answer p + p { margin-top: 10px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; margin-bottom: 8px; }
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { padding-bottom: clamp(60px, 8vw, 100px); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}
.contact-info {
  padding: 34px 32px;
  display: flex; flex-direction: column; gap: 28px;
  overflow: hidden;
}
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.contact-info .lede { font-size: 1.05rem; }
.contact-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--blue); }
.contact-info li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-info .small { font-size: 0.9rem; color: var(--text-3); }
.contact-person {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  border-radius: 16px;
  margin-top: auto;
}
.contact-person img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; object-position: top; }
.contact-person b { display: block; }
.contact-person span { font-size: 0.88rem; color: var(--text-2); }

.form { padding: 34px 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; color: var(--text-2); font-weight: 500; }
.field label em { font-style: normal; color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--fog);
  background: rgba(255,255,255,0.85);
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23465565' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 42px;
}
.field select option { background: #fff; color: #0b1622; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,92,130,0.18);
  background: var(--white);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c94f4f; }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.88rem; color: var(--text-2);
  grid-column: 1 / -1;
}
.check input {
  width: 20px; height: 20px; flex: none; margin: 2px 0 0;
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--fog-strong); border-radius: 6px;
  background: rgba(255,255,255,0.85);
  display: grid; place-items: center;
  cursor: pointer;
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after {
  content: ""; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-actions .btn { min-width: 240px; justify-content: center; }
.form-actions .hint { font-size: 0.85rem; color: var(--text-3); }
.form-error {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(201,79,79,0.08);
  border: 1px solid rgba(201,79,79,0.4);
  color: #8a2e2e;
  font-size: 0.9rem;
}
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.btn.loading .spinner { display: block; }
.btn.loading .txt { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form, .contact-info { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 40px 0 36px;
  border-top: 1px solid var(--fog);
  font-size: 0.9rem;
  color: var(--text-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer img { height: 30px; width: auto; margin-bottom: 16px; }
.footer h4 { margin: 0 0 12px; font-size: 0.95rem; font-weight: 600; color: var(--text-2); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(13,53,80,0.08);
}
.footer .region { line-height: 1.7; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* --------------------------------------------------------------------------
   Sticky Mobile-CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 40;
  padding: 8px;
  border-radius: var(--r-pill);
  gap: 8px;
}
.mobile-cta .btn { flex: 1; justify-content: center; padding: 14px 16px; }
.mobile-cta .btn-ghost { flex: 0 0 auto; width: 50px; padding: 0; }
@media (max-width: 960px) {
  .mobile-cta { display: flex; }
  .mobile-cta.hide { transform: translateY(120%); }
  .mobile-cta { transition: transform 0.4s var(--ease-out); }
  .contact { padding-bottom: 120px; }
}

/* --------------------------------------------------------------------------
   Danke-Seite
   -------------------------------------------------------------------------- */
.thanks {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px 0 80px;
}
.thanks-card {
  max-width: 720px;
  padding: clamp(32px, 5vw, 56px);
  text-align: left;
}
.thanks-card .check-ico {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 26px;
  box-shadow: 0 0 0 10px rgba(26,92,130,0.14), 0 0 60px rgba(26,92,130,0.35);
  animation: pop 0.8s var(--ease-out);
}
.thanks-card .check-ico svg { width: 28px; height: 28px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks-card h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 16px; }
.thanks-card ol { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: s; }
.thanks-card ol li { display: flex; gap: 14px; color: var(--text-2); }
.thanks-card ol li::before {
  counter-increment: s; content: counter(s);
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  border: 1px solid var(--fog-strong);
  display: grid; place-items: center; font-size: 0.85rem; color: var(--text);
  font-family: var(--font-display);
}
.thanks-card .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* --------------------------------------------------------------------------
   Reduzierte Bewegung
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient span { animation: none !important; }
  .hero-copy > *, .hero.ready .hero-copy > * { animation: none !important; opacity: 1; transform: none; }
  .hero.ready .door { animation: none; transform: translateX(-94%); }
  .hero-badge, .hero.ready .hero-badge { animation: none; opacity: 1; }
  .hero-visual video { transform: none !important; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glass::after { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
