/* ==========================================================
   E2 RENOVATIONEN – Stylesheet
   Farben & Schriften zentral unter :root anpassen.
   ========================================================== */

:root {
  /* Farben */
  --red: #e51b20;          /* Logo-Rot */
  --red-bright: #ff5257;   /* Rot für kleine Schrift auf Schwarz (besser lesbar) */
  --red-dark: #b3121a;
  --bg: #1d1d1c;
  --bg-alt: #272726;
  --surface: #2f2f2d;
  --surface-2: #363634;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .26);
  --text: #f5f3f0;
  --text-soft: #d6d1cb;
  --muted: #aaa49d;
  --wa: #1fa855;

  /* Schriften */
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--f-display); font-weight: 600; font-stretch: 118%;
  font-size: .75rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--red-bright); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--red); }
@media (max-width: 520px) { .eyebrow { letter-spacing: .18em; font-size: .7rem; gap: .6rem; } .eyebrow::before { width: 20px; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--red); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--f-display); font-weight: 600; font-stretch: 110%;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-bright); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--text); }
.btn--light { background: #fff; color: #111; }
.btn--light:hover { background: #111; color: #fff; }
.btn--sm { padding: .7rem 1.1rem; font-size: .74rem; }
.btn--block { width: 100%; }

/* ==========================================================
   INTRO
   ========================================================== */
.intro { display: none; }
.has-intro, .has-intro body { overflow: hidden; }
.has-intro .intro {
  display: flex; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center;
  background: #000; padding: 24px;
  transition: opacity .9s ease, visibility .9s;
}
.intro__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro__logo {
  width: min(400px, 72vw);
  opacity: 0; transform: scale(.94); filter: blur(8px);
  animation: introLogo 2s var(--ease) .4s forwards;
}
@keyframes introLogo { to { opacity: 1; transform: none; filter: none; } }

.intro__slogan {
  position: relative; padding-bottom: .6em;
  display: grid; margin-top: clamp(1.8rem, 5vh, 3rem);
  font-family: var(--f-display); font-weight: 500; font-stretch: 105%;
  font-size: clamp(1rem, 2.6vw, 1.65rem); letter-spacing: .02em; line-height: 1.5;
  color: var(--text); text-align: left;
}
.intro__ghost, .intro__typed { grid-area: 1 / 1; }
.intro__ghost { visibility: hidden; padding-right: .5em; }
/* Rote Linie unter dem Slogan – fliesst von links nach rechts */
.intro__slogan::after {
  content: ""; position: absolute; left: 0; right: .5em; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left center;
}
@keyframes lineFlow { to { transform: scaleX(1); } }

/* Variante "fliessen" (Standard): Schrift läuft weich von links nach rechts ins Bild */
.intro.is-flow .intro__typed {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, transparent 56%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 44%, transparent 56%, transparent 100%);
  -webkit-mask-size: 200% 100%; mask-size: 200% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: sloganFlow 1.8s cubic-bezier(.45, .05, .2, 1) both;
}
@keyframes sloganFlow {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: 0; transform: translateY(6px); filter: blur(3px); }
  30%  { opacity: 1; }
  to   { -webkit-mask-position: 0 0; mask-position: 0 0; opacity: 1; transform: none; filter: none; }
}
.intro.is-flow .intro__slogan::after { animation: lineFlow 1.8s cubic-bezier(.45, .05, .2, 1) both; } /* gleich schnell wie die Schrift */

/* Variante "einblenden": ganzer Slogan blendet weich ein */
.intro.is-fade .intro__text { animation: sloganIn 1.4s var(--ease) both; }
.intro.is-fade .intro__slogan::after { animation: lineFlow 1.4s var(--ease) both; }
@keyframes sloganIn { from { opacity: 0; transform: translateY(8px); letter-spacing: .08em; } to { opacity: 1; transform: none; } }

/* Variante "tippen" (Standard): Buchstabe für Buchstabe in gleichmässigem Takt,
   jeder Buchstabe erscheint mit einem kurzen, weichen Einblenden – kein Stocken */
.intro__char { opacity: 0; }
.intro.is-typing .intro__char {
  animation: charIn .14s ease-out forwards;
  animation-delay: calc(var(--i) * var(--type-speed, 55ms));
}
@keyframes charIn { from { opacity: 0; } to { opacity: 1; } }
.intro.is-typing .intro__slogan::after { animation: lineFlow var(--type-total, 2s) linear both; }
.intro.is-static .intro__slogan::after { transform: none; }

.intro__skip {
  position: absolute; bottom: 28px; right: 28px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--f-display); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.45); padding: .6rem;
  opacity: 0; animation: fadeIn .6s ease 1.2s forwards;
}
.intro__skip:hover { color: #fff; }
@keyframes fadeIn { to { opacity: 1; } }
.intro.is-out { opacity: 0; visibility: hidden; }
.intro.is-out .intro__inner { transform: scale(1.04); transition: transform .9s ease; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .35s, border-color .35s, height .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(29, 29, 28, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
  --header-h: 70px;
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.header__logo img { height: 54px; width: auto; transition: height .35s; }
.header.is-scrolled .header__logo img { height: 46px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2rem; }
.nav__link {
  position: relative; padding: .4rem 0;
  font-family: var(--f-display); font-stretch: 110%; font-weight: 500;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft);
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__mobile-contact { display: none; }

.header__actions { display: flex; align-items: center; gap: 1.2rem; }
.header__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--text); }
.header__phone svg { width: 18px; height: 18px; color: var(--red-bright); }
.header__phone:hover { color: var(--red-bright); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1140px) { .header__phone span { display: none; } .nav__list { gap: 1.5rem; } }
@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    background: rgba(24, 24, 23, .97);
    display: flex; flex-direction: column; justify-content: center; gap: 3rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: .4rem; }
  .nav__link { font-size: clamp(1.6rem, 7vw, 2.4rem); letter-spacing: .02em; text-transform: none; font-weight: 700; color: #fff; }
  .nav__link::after { display: none; }
  .nav__mobile-contact { display: flex; flex-direction: column; gap: .4rem; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); }
  .header__actions { margin-left: auto; gap: .6rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .header__cta { display: none; }
  .header__logo img, .header.is-scrolled .header__logo img { height: 42px; }
}
.menu-open { overflow: hidden; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  padding: calc(var(--header-h) + 4rem) 0 clamp(4rem, 10vh, 7rem);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-ready .hero__bg img { transform: none; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(20,20,19,.95) 20%, rgba(20,20,19,.35) 70%),
    linear-gradient(180deg, rgba(20,20,19,.6) 0%, rgba(20,20,19,.2) 40%, var(--bg) 100%);
}
.hero__roof {
  position: absolute; z-index: -1; left: 50%; top: 16%;
  width: min(1400px, 140vw); height: 46%; transform: translateX(-50%);
  overflow: visible; opacity: .55;
}
.hero__roof polyline {
  fill: none; stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1600; stroke-dashoffset: 1600;
}
.is-ready .hero__roof polyline { animation: draw 2.4s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__content { position: relative; }
.hero__title { display: flex; flex-direction: column; }
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__slogan {
  font-size: clamp(2.5rem, 7.2vw, 6.2rem); font-weight: 800; font-stretch: 115%;
  line-height: 1; letter-spacing: -.02em; max-width: 13ch;
}
.hero__slogan em { font-style: normal; color: var(--red); }
.hero__lead { max-width: 38rem; margin-top: 1.8rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--text-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2.6rem; font-size: .9rem; color: var(--text-soft); }
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--red-bright); flex: none; }

.hero__scroll { position: absolute; right: var(--gutter); bottom: 2.5rem; width: 1px; height: 72px; background: var(--line-strong); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--red); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* Hero-Einstieg nach dem Intro */
.js .hero__content > * { opacity: 0; transform: translateY(28px); }
.is-ready .hero__content > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero__content > *:nth-child(2) { transition-delay: .12s; }
.is-ready .hero__content > *:nth-child(3) { transition-delay: .24s; }
.is-ready .hero__content > *:nth-child(4) { transition-delay: .36s; }

/* ---------- Laufband ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); padding: 1.15rem 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--f-display); font-stretch: 120%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: .06em; color: #77716a;
}
.ticker span::after { content: ""; width: 10px; height: 10px; margin: 0 2.2rem; background: var(--red); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================
   SEKTIONEN
   ========================================================== */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.section__head--row h2 { margin-bottom: 0; }
.section__intro { color: var(--text-soft); font-size: 1.1rem; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  position: relative; overflow: hidden; background: var(--surface);
  padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column;
  transition: background .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service:hover { background: var(--surface-2); }
.service:hover::before { transform: scaleX(1); }
.service__no {
  position: absolute; top: 1.2rem; right: 1.6rem;
  font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 3.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2);
}
.service__icon { width: 46px; height: 46px; color: var(--red); margin-bottom: 1.8rem; }
.service h3 { margin-bottom: .8rem; }
.service p { color: var(--text-soft); font-size: 1rem; }
.service ul { margin-top: 1.4rem; display: grid; gap: .45rem; font-size: .95rem; }
.service li { display: flex; gap: .75rem; align-items: baseline; }
.service li::before { content: ""; flex: none; width: 10px; height: 2px; background: var(--red); transform: translateY(-4px); }
.service--cta { background: linear-gradient(140deg, var(--red) 0%, var(--red-dark) 100%); justify-content: center; }
.service--cta:hover { background: linear-gradient(140deg, var(--red-bright) 0%, var(--red) 100%); }
.service--cta::before { display: none; }
.service--cta h3 { font-size: 1.6rem; }
.service--cta p { color: rgba(255,255,255,.88); margin-bottom: 1.8rem; }
.service--cta .btn { align-self: flex-start; background: var(--bg); }
.service--cta .btn:hover { background: #fff; color: var(--bg); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--red); z-index: 0;
}
.about__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.about__media figcaption {
  position: absolute; z-index: 2; left: 0; bottom: 0; background: var(--bg); padding: .7rem 1.1rem;
  font-size: .8rem; letter-spacing: .08em; color: var(--text-soft);
}
.about__text p + p { margin-top: 1.1rem; }
.about__text > p:not(.eyebrow) { color: var(--text-soft); }
.facts { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; }
.facts li { border-left: 2px solid var(--red); padding-left: 1rem; }
.facts strong { display: block; font-family: var(--f-display); font-stretch: 115%; font-size: 1.6rem; line-height: 1.2; }
.facts span { color: var(--muted); font-size: .92rem; }

.values { margin-top: clamp(4rem, 8vw, 6rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 3rem; }
.values svg { width: 30px; height: 30px; color: var(--red-bright); margin-bottom: 1.1rem; }
.values h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.values p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin-right: 22px; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  background: none; border: 1px solid var(--line-strong); border-radius: 100px; cursor: pointer;
  padding: .5rem 1.05rem; font-size: .82rem; font-weight: 600; color: var(--text-soft);
  transition: background .25s, border-color .25s, color .25s;
}
.filter:hover { border-color: #fff; color: #fff; }
.filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* Mauerwerk-Layout: Bilder behalten ihr Format – Quer- und Hochformat werden nie abgeschnitten */
.gallery { columns: 3; column-gap: 12px; }
.gallery__item { position: relative; overflow: hidden; background: var(--surface); break-inside: avoid; margin-bottom: 12px; }
.gallery__item.is-hidden { display: none; }
.gallery__item a { display: block; }
/* mit JavaScript: echtes Mauerwerk (Reihenfolge links → rechts, Lücken werden aufgefüllt) */
.gallery.is-masonry { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 4px; column-gap: 12px; row-gap: 0; grid-auto-flow: row dense; }
.gallery.is-masonry .gallery__item { margin: 0; align-self: start; grid-row-end: span var(--span, 60); }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .6s; filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.05); filter: none; }
.gallery__cap {
  position: absolute; inset: auto 0 0; padding: 2.5rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: .85rem; color: var(--text-soft);
  transform: translateY(35%); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.gallery__cap strong { display: block; color: #fff; font-family: var(--f-display); font-stretch: 110%; font-size: 1rem; }
.gallery__item:hover .gallery__cap, .gallery__item a:focus-visible .gallery__cap { transform: none; opacity: 1; }
@media (hover: none) { .gallery__cap { transform: none; opacity: 1; } }
@media (max-width: 900px) { .gallery { columns: 2; } .gallery.is-masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery, .gallery.is-masonry { column-gap: 8px; } .gallery__item { margin-bottom: 8px; } .gallery__cap { padding: 1.8rem .8rem .7rem; font-size: .78rem; } .gallery__cap strong { font-size: .88rem; } }

/* ---------- Vorher / Nachher ---------- */
.compare-wrap { margin-top: clamp(4rem, 8vw, 6rem); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.compare__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.compare__text p:not(.eyebrow) { color: var(--text-soft); }
/* Format passt sich automatisch dem Nachher-Bild an (quer oder hoch) */
.compare { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 1.6); width: min(100%, calc(78vh * var(--ratio, 1.6))); margin-inline: auto; background: var(--surface); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 1.2rem; letter-spacing: .1em; font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.compare__label {
  position: absolute; top: 1rem; padding: .35rem .75rem; background: rgba(0,0,0,.65);
  font-family: var(--f-display); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; pointer-events: none;
}
.compare__label--l { left: 1rem; }
.compare__label--r { right: 1rem; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--red-bright); outline-offset: 3px; }
@media (max-width: 900px) { .compare-wrap { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 12%; height: 1px; background: linear-gradient(90deg, var(--red), var(--line-strong)); }
.step { position: relative; }
.step__no {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--red); margin-bottom: 1.6rem;
  font-family: var(--f-display); font-weight: 700; font-stretch: 115%; font-size: 1.15rem; color: #fff;
  position: relative; z-index: 1;
}
.step:first-child .step__no { background: var(--red); }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--red), var(--line-strong)); }
  .step { padding-left: 84px; }
  .step__no { position: absolute; left: 0; top: -6px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--f-display); font-stretch: 108%; font-weight: 600; font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); font-weight: 400; font-size: 1.3rem; transition: transform .35s var(--ease), background .25s, border-color .25s;
}
.faq summary:hover { color: var(--red-bright); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq details p { color: var(--text-soft); padding: 0 3.5rem 1.6rem 0; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .section__head { position: static; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--text-soft); }
.contact__list { margin-top: 2.2rem; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list svg {
  flex: none; width: 46px; height: 46px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--red-bright);
}
.contact__list span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list address { font-weight: 600; font-size: 1.05rem; }
.contact__list a:hover { color: var(--red-bright); }

.area { margin-top: 2.4rem; }
.area > span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.area ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.area li { font-size: .8rem; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 100px; color: var(--text-soft); }

.map { margin-top: 2.4rem; aspect-ratio: 16 / 10; position: relative; overflow: hidden; border: 1px solid var(--line); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px, var(--surface); }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; text-align: center; padding: 1.5rem; font-size: .88rem; color: var(--text-soft); }
.map__consent svg { width: 34px; height: 34px; color: var(--red); }
.map__consent a { font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.5) contrast(.95); }

/* Formular */
.form {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red);
  padding: clamp(1.5rem, 3.5vw, 2.8rem); display: grid; gap: 1.3rem;
}
.form__title { font-size: 1.6rem; margin-bottom: .3rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: grid; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; background: #232322; border: 1px solid #4a4946; border-radius: var(--radius);
  padding: .9rem 1rem; color: var(--text); font-size: 1rem; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #8a857f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #282827; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #8a2a2c; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: .55rem 1rem; border: 1px solid #4a4946; border-radius: 100px; font-size: .9rem; color: var(--text-soft); transition: all .2s; }
.chip:hover span { border-color: var(--line-strong); color: #fff; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red-bright); outline-offset: 2px; }

.uploads { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.upload { position: relative; aspect-ratio: 1; }
.upload label { display: block; height: 100%; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload__ph {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  border: 1px dashed #55534f; border-radius: var(--radius); background: #232322 center / cover no-repeat;
  font-size: .82rem; color: var(--muted); transition: border-color .2s, color .2s; overflow: hidden; text-align: center; padding: .5rem;
}
.upload__ph svg { width: 26px; height: 26px; }
.upload label:hover .upload__ph { border-color: var(--red); color: #fff; }
.upload input:focus-visible + .upload__ph { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.upload.has-file .upload__ph { border-style: solid; border-color: var(--red); color: transparent; }
.upload.has-file .upload__ph svg { opacity: 0; }
.upload__remove {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.75); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.upload__remove:hover { background: var(--red); }
.form__hint { color: var(--muted); font-size: .8rem; margin-top: .5rem; display: block; }

.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; color: var(--text-soft); cursor: pointer; }
.check input { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid #55534f; border-radius: 3px; background: #232322; cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.hidden-field { display: none; }
.form__status { font-size: .92rem; min-height: 1.4em; }
.form__status.is-error { color: var(--red-bright); }
.form__status.is-ok { color: #6fd39a; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: 1fr; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: #151514; border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .95rem; color: var(--text-soft); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand img { width: 170px; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--muted); }
.footer__title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .4rem; }
.footer a:hover { color: var(--red-bright); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; font-size: .82rem; color: var(--muted); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- WhatsApp-Button ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem .85rem 1rem;
  background: var(--wa); color: #fff; border-radius: 100px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background .2s;
}
.wa svg { width: 22px; height: 22px; }
.wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa:hover { background: #22bd60; }
@media (max-width: 640px) { .wa { padding: 0; width: 56px; height: 56px; justify-content: center; } .wa span { display: none; } .wa svg { width: 26px; height: 26px; } }
.no-js .wa, html:not(.js) .wa { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox figcaption { color: var(--text-soft); font-size: .92rem; text-align: center; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 2.6rem; line-height: 1; width: 56px; height: 56px; opacity: .75; }
.lightbox button:hover { opacity: 1; color: var(--red-bright); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 60px 12px; } .lightbox__nav { top: auto !important; bottom: 12px; transform: none !important; } }

/* ---------- Scroll-Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Unterseiten (Impressum, Danke, 404) ---------- */
.header--sub { background: rgba(29,29,28,.92); border-color: var(--line); }
.header__back { margin-left: auto; font-size: .85rem; color: var(--text-soft); display: inline-flex; align-items: center; gap: .5rem; }
.header__back:hover { color: var(--red-bright); }
.page { padding: calc(var(--header-h) + 4rem) 0 6rem; min-height: 70vh; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.5rem; }
.page h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.8rem 0 .8rem; }
.page h3 { font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.page p, .page li { color: var(--text-soft); max-width: 48rem; }
.page .eyebrow { color: var(--red-bright); }
.page p + p { margin-top: .9rem; }
.page ul { list-style: disc; padding-left: 1.2rem; margin-top: .6rem; display: grid; gap: .3rem; }
.page a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page .note { border-left: 3px solid var(--red); padding: .9rem 1.2rem; background: var(--surface); margin: 1.5rem 0; }
.page--center { display: flex; align-items: center; text-align: center; }
.page--center .container { display: flex; flex-direction: column; align-items: center; }
.page--center p { margin-inline: auto; }
.page--center .btn { margin-top: 2rem; }

/* ---------- Weniger Bewegung (Barrierefreiheit) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}
