/* ============================================================
   DC INNENAUSBAU — Referenz-Theme (nach innenausbau-aeg.de)
   Warmes Grau/Anthrazit statt Beige, fette Condensed-Caps-Headlines
   statt Fraunces-Serif, Gold nur auf CTA. Bewusste Abkehr vom
   ursprünglichen "Dunkles Premium"-System auf Kundenwunsch.
   Headline-Font: kein Google-Fonts-CDN erlaubt → Montserrat 700 (selbst gehostet)
   Uppercase + enger Tracking als Annäherung an die Referenz
   (echte Condensed-Grotesk-Schrift ist nicht selbst gehostet).
   ============================================================ */

:root {
  /* Basis: warmes Steingrau, wie im Referenz-Screenshot */
  --bg:        #918C84;
  --bg-2:      #9C9C96;
  --bg-3:      #7D786F;
  --bg-light:    #B6B2A8;
  --bg-lightest: #DCD9D1;
  --line:      rgba(20, 18, 14, 0.16);
  --line-2:    rgba(20, 18, 14, 0.24);
  --ink:       #201D18;
  --ink-soft:  rgba(32, 29, 24, 0.7);
  --ink-mute:  rgba(32, 29, 24, 0.5);
  --gold:      #F0C544;
  --gold-soft: rgba(240, 197, 68, 0.16);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: var(--sans);

  --wrap:   1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 10px;

  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.gold { color: var(--gold); }
.section__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 6.4vw, 4.2rem); line-height: 0.96; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-weight: 600; font-size: 0.95rem; padding: 0.9em 1.6em; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.4s var(--spring), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--gold { background: var(--gold); color: #1A1508; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.85rem; }
.btn--gold:hover { transform: translateY(-2px); background: #f5d564; }
.btn--gold::after { content: "↗"; font-weight: 700; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background 0.4s var(--ease), border-color 0.4s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6em; }
.brand__mark { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px 1px rgba(255, 212, 59, 0.55); }
.brand__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.1em; }
.brand__logo { height: 60px; width: auto; display: block; }
.brand__logo--footer { height: 92px; }
.nav__links { display: none; gap: 2rem; }
.nav__links a { font-size: 0.9rem; color: var(--ink-soft); transition: color 0.25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--gold); }
.nav__right { display: none; align-items: center; gap: 1.3rem; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.nav__phone svg { color: var(--gold); }
.nav__phone:hover { color: var(--gold); }
.nav__cta { display: none; }

.nav__burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.nav__links.is-open { display: flex; position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: rgba(10, 10, 10, 0.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.5rem; }
.nav__links.is-open a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }

/* ============================================================
   HERO — Vollbild-Visual mit sanftem Parallax
   ============================================================ */
/* :root ist ein helles Theme (--gold dort ist dunkelgrau, kein Gelb!) –
   dieser Block läuft wie .hero-intro.is-dark / .infografik auf einem
   dunklen Foto und braucht daher lokal die dunklen Theme-Werte. */
.hero {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --gold:      #F0C544;
  --gold-soft: rgba(255, 212, 59, 0.14);
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  position: relative; padding-top: 72px; background: #0A0A0A; min-height: min(92vh, 820px); display: flex; align-items: flex-end;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.52) 48%, rgba(10, 10, 10, 0.94) 100%); }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video { background: #0A0A0A; }
.hero__img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; will-change: transform; }
.hero__media video.hero__img { background: #0A0A0A; }
@media (max-width: 600px) { .hero { min-height: min(96vh, 660px); } }

/* ---------- Hero-Content (Text-Overlay auf dem Foto) ---------- */
.hero__content { position: relative; z-index: 2; width: 100%; padding-block: clamp(2rem, 6vh, 3.4rem); display: grid; gap: clamp(1.4rem, 4vh, 2rem); color: var(--ink); }
.hero__content .eyebrow { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.hero__content .hero__title { color: var(--ink); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55); }
.hero__content .hero__title .gold { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55); }
.hero__offer { color: var(--ink-soft); font-weight: 300; font-size: 1.1rem; line-height: 1.5; max-width: 48ch; margin: 0; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5); }
.hero__region { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
.hero__stats { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%;
  border-top: 1px solid var(--line-2); padding-top: clamp(1rem, 3vh, 1.5rem); }
.hero__stat { padding-right: clamp(1rem, 4vw, 2.4rem); margin-right: clamp(1rem, 4vw, 2.4rem); border-right: 1px solid var(--line-2); }
.hero__stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__stat dt { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 4vw, 2.3rem); color: var(--gold); line-height: 1; margin: 0; }
.hero__stat dd { margin: 0.3rem 0 0; font-size: 0.76rem; color: var(--ink-soft); }
@media (max-width: 480px) { .hero__stat { padding-right: 0.9rem; margin-right: 0.9rem; } .hero__stat dd { font-size: 0.68rem; } }

/* ============================================================
   ÜBER-BLOCK — bewusst eigenständiges Layout nach Kunden-Referenz,
   absichtlich AUSSERHALB des sonstigen Design-Systems (kein Fraunces,
   keine Gold-Eyebrow) – auf ausdrücklichen Kundenwunsch 1:1 kopiert.
   ============================================================ */
.ueber-block {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --gold:      #F0C544;
  --line-2:    rgba(255, 255, 255, 0.16);
  background: #0D0D0D; color: var(--ink);
  padding: clamp(60px, 11vh, 110px) 0;
  overflow: hidden;
}
.ueber-block__grid { display: grid; gap: clamp(3rem, 8vw, 4rem); align-items: center; }
.ueber-block__eyebrow-row { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; }
.ueber-block__eyebrow { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.ueber-block__rule { flex: 1; height: 1px; background: var(--line-2); max-width: 220px; }
.ueber-block__word { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin: 0 0 1.6rem; }
.ueber-block__lead { color: var(--ink-soft); font-weight: 300; font-size: 1.05rem; line-height: 1.6; max-width: 46ch; margin-bottom: 1.8rem; }
.ueber-block__link { display: inline-block; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: var(--gold); }
.ueber-block__link:hover { text-decoration: underline; text-underline-offset: 4px; }

.ueber-block__media { position: relative; aspect-ratio: 5 / 4; }
.ueber-block__photo { position: absolute; margin: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.ueber-block__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ueber-block__photo--main { inset: 0 0 0 22%; }
.ueber-block__photo--front { width: 46%; aspect-ratio: 3 / 4; left: 0; top: 22%; border: 7px solid #0D0D0D; box-sizing: border-box; }
.ueber-block__badge { position: absolute; top: -4%; left: 28%; width: 88px; height: 88px; display: grid; place-items: center; }
.ueber-block__badge-svg { width: 100%; height: 100%; animation: ueberSpin 22s linear infinite; }
.ueber-block__badge-svg text { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.5px; fill: var(--ink); text-transform: uppercase; }
.ueber-block__badge-center { position: absolute; color: var(--ink); }
@keyframes ueberSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ueber-block__badge-svg { animation: none; } }

@media (min-width: 860px) {
  .ueber-block__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ueber-block__badge { width: 68px; height: 68px; left: 24%; }
  .ueber-block__badge-svg text { font-size: 11px; }
}

/* ---------- Showcase-Video (Unterseiten) ---------- */
.showcase { border-radius: var(--radius); overflow: hidden; background: #0A0A0A; }
.showcase video { width: 100%; height: auto; display: block; }
.hero-intro { background: var(--bg); padding: clamp(2.8rem, 8vh, 5.2rem) 0; }
.hero-intro.is-dark {
  background-color: #141414;
  background-image:
    linear-gradient(rgba(12, 12, 12, 0.74), rgba(12, 12, 12, 0.84)),
    url("assets/img/atmosphaere-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;      /* Foto bleibt fix → Parallax beim Scrollen */
  border-top: 1px solid var(--gold);    /* Trennlinie zum Video darüber */
  border-bottom: 1px solid var(--gold); /* Trennlinie zur Sektion darunter */
}
.hero-intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 3.2rem); align-items: stretch; }
.hero-intro .hero__title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); margin: 1rem 0 0; }
.hero-intro__aside { display: grid; gap: 0; }
.hero-intro__offer { color: var(--ink); font-weight: 400; font-size: 1.18rem; line-height: 1.45; max-width: 46ch; }
.hero-intro__text { color: var(--ink-soft); font-weight: 300; font-size: 1.05rem; max-width: 44ch; margin-top: 0.9rem; }
.hero-intro__usp { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 1.8rem; }
.hero-intro__usp li { font-size: 0.8rem; color: var(--ink); padding: 0.5em 1em 0.5em 0.85em; border: 1px solid var(--line-2); border-radius: 100px; }
.hero-intro__usp li::before { content: "✓"; color: var(--gold); margin-right: 0.5em; font-weight: 700; }
.hero-intro__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }
.hero-intro__alt { color: var(--ink-mute); font-size: 0.9rem; margin-bottom: 1.3rem; }
.hero-intro__alt a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.hero-intro__alt a:hover { color: var(--gold); }
.hero-intro .hero__region { color: var(--ink-soft); }
@media (min-width: 820px) {
  .hero-intro__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-intro__lead { border-right: 1px solid var(--line); padding-right: clamp(1.8rem, 4vw, 3rem); }
}
.hero__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 8.4vw, 5.6rem); line-height: 0.94; letter-spacing: -0.01em; margin: 1.1rem 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2.2rem; }
.hero__region { display: inline-flex; align-items: center; gap: 0.6em; font-size: 0.95rem; }
.hero__region .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(70px, 13vh, 130px) 0; border-top: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section__head .eyebrow { display: block; margin-bottom: 1rem; }
.section__sub { color: var(--ink-soft); margin-top: 1.2rem; font-weight: 300; font-size: 1.05rem; }

/* ---------- Galerie: Referenz-Wasserzeichen ---------- */
.galerie { position: relative; overflow: hidden; background: var(--bg-lightest); }
.galerie__watermark {
  position: absolute; top: -0.06em; left: 0; z-index: 0; width: 100%;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(4rem, 15vw, 11.5rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--ink); opacity: 0.07; white-space: nowrap; pointer-events: none;
}
.galerie > .wrap, .galerie > .carousel { position: relative; z-index: 1; }

/* ---------- Trockenbau: Leistungsumfang als Foto-Karten ---------- */
.scope-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.scope-card { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--spring), border-color 0.4s var(--ease); }
.scope-card:hover { transform: translateY(-4px); border-color: var(--gold-soft); }
.scope-card__media { aspect-ratio: 4 / 3; }
.scope-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scope-card__body { padding: clamp(1.4rem, 3vw, 1.8rem); }
.scope-card--accent { border-color: var(--gold-soft); }
.scope-card--accent .scope-card__body { background: linear-gradient(160deg, rgba(255,212,59,0.07), transparent 60%); }
@media (min-width: 640px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Leistungen: Bento ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bento__cell { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); transition: transform 0.5s var(--spring), border-color 0.4s var(--ease), background 0.4s var(--ease); }
.bento__cell:hover { transform: translateY(-4px); border-color: var(--gold-soft); background: var(--bg-3); }
.bento__ic { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 1.1rem; }
.bento__ic svg { width: 21px; height: 21px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bento__cell h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.15rem, 2.6vw, 1.4rem); margin: 0 0 0.6rem; letter-spacing: -0.005em; }
.bento__cell p { color: var(--ink-soft); font-weight: 300; font-size: 0.98rem; }
.bento__cell--accent { background: linear-gradient(160deg, rgba(255,212,59,0.07), var(--bg-2) 60%); border-color: var(--gold-soft); }
.bento__no { position: absolute; top: 1.5rem; right: 1.7rem; z-index: 2; font-family: var(--display); font-weight: 700; font-size: 0.85rem; color: var(--ink-mute); letter-spacing: 0.04em; }
.bento__cell--photo .bento__no { color: rgba(245,245,240,.7); }
/* ---------- Leistungen-Titelzeile & Service-Karten (Referenz) ---------- */
.leistungen__title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem; margin-top: 0.5rem; }
.leistungen__title-lead { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.2rem, 2.6vw, 1.6rem); }
.leistungen__rule { flex: 1 1 60px; max-width: 160px; height: 1px; background: var(--line-2); align-self: center; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: clamp(2rem, 5vw, 3rem); }
.svc-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--bg-3); }
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--spring); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card__bar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 0.6em;
  background: #F4F1EA; color: #17150F; border-radius: 100px; padding: 0.8em 0.6em 0.8em 1.1em;
  font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.01em;
}
.svc-card__arrow {
  margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #17150F;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.95rem;
}
@media (min-width: 480px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } .svc-card__bar { font-size: 0.72rem; padding: 0.7em 0.5em 0.7em 0.9em; } .svc-card__arrow { width: 26px; height: 26px; } }

.leistungen__more { text-align: center; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.bento__link { display: inline-block; margin-top: 1.2rem; color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.bento__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Bento-Zelle mit Foto */
.bento__cell--photo { padding: 0; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; }
.bento__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.9s var(--spring); }
.bento__cell--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,10,10,0.94) 10%, rgba(10,10,10,0.55) 52%, rgba(10,10,10,0.12) 100%); }
.bento__cell--photo .bento__body { position: relative; z-index: 2; padding: clamp(1.6rem, 4vw, 2.4rem); }
.bento__cell--photo .bento__ic { border-color: var(--line-2); background: rgba(10,10,10,0.4); }
.bento__cell--photo:hover .bento__img { transform: scale(1.045); }
@media (min-width: 720px) { .bento__cell--photo { min-height: 340px; } }

/* ---------- Referenzen: Vorher / Nachher ---------- */
.ba { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba__item figcaption { margin-top: 1.1rem; color: var(--ink-soft); font-size: 0.95rem; font-weight: 300; display: flex; align-items: baseline; gap: 0.6em; }
.ba__item figcaption .gold { font-family: var(--display); font-weight: 700; }

/* ---------- Platzhalter (Bild einsetzen) ---------- */
.ph { position: relative; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.6rem; min-height: 200px; overflow: hidden; }
.ph__note { font-family: var(--sans); font-weight: 300; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; max-width: 32ch; }
.ph__note strong { color: var(--ink); font-weight: 500; }
.ph[data-badge]::before { content: attr(data-badge); position: absolute; top: 0; left: 0; z-index: 2; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; background: rgba(10,10,10,0.7); color: var(--ink); padding: 0.4em 0.9em; border-bottom-right-radius: 10px; }
.ph--after[data-badge]::before { background: var(--gold); color: #101010; }
.ph--ba { aspect-ratio: 4 / 3; min-height: 0; }
.ph--team { aspect-ratio: 5 / 4; }
.ph--map { min-height: 220px; }

.page-hero-offset { padding-top: calc(72px + clamp(2.6rem, 7vh, 4.2rem)); }
.wordmark { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.88; font-size: clamp(2.8rem, 13vw, 8rem); margin: 0.6rem 0; }
.about-hero {
  --bg:        #0A0A0A;
  --bg-2:      #141414;
  --bg-3:      #1C1C1C;
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --gold:      #F0C544;
  --gold-soft: rgba(255, 212, 59, 0.14);
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}
.about-hero .page-hero__lead { max-width: 56ch; margin-inline: auto; }
.team {
  --bg:        #1C1C1C;
  --bg-2:      #242424;
  --bg-3:      #2B2B2B;
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --gold:      #F0C544;
  --gold-soft: rgba(255, 212, 59, 0.14);
  background: var(--bg);
  color: var(--ink);
}
.showcase--wordmark { max-width: 720px; margin: 1.6rem auto 2.6rem; text-align: left; will-change: transform; transform-origin: center top; margin-bottom: calc(2.6rem + var(--m-extra, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ph--photo { aspect-ratio: 4 / 3; }
.quote--center { max-width: 60ch; margin-inline: auto; text-align: center; }
.quote--center figcaption { align-items: center; }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero { padding: calc(72px + clamp(2.6rem, 7vh, 4.2rem)) 0 clamp(2.6rem, 7vh, 4.2rem); text-align: center; }
.page-hero.is-dark {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --gold:      #F0C544;
  color: var(--ink);
  background-color: #141414;
  background-image: linear-gradient(rgba(12, 12, 12, 0.74), rgba(12, 12, 12, 0.86)), url("assets/img/atmosphaere-bg.png");
  background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed;
  border-bottom: 1px solid var(--gold);
}
@media (max-width: 600px) { .page-hero.is-dark { background-attachment: scroll; } }
.page-hero__inner { max-width: 60ch; margin-inline: auto; }
.page-hero .section__title { margin-top: 0.8rem; }
.page-hero__lead { margin-top: 1.2rem; color: var(--ink-soft); font-weight: 300; font-size: 1.05rem; }

/* ---------- Leistungen-Seite ---------- */
.svc-detail, .svc-why { background: #FFFFFF; }

/* ---------- Trockenbauservice-Seite ---------- */
.tb-beige.tb-beige { background: #E9E2D3; }
.tb-dark.tb-dark {
  --bg:        #0E0E0E;
  --bg-2:      #171717;
  --bg-3:      #1F1F1F;
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --gold:      #F0C544;
  --gold-soft: rgba(255, 212, 59, 0.14);
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Leistungen-Detailliste ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4rem; }
.svc-list > li { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 1.8rem; align-items: start; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.svc-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-list__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.svc-list__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-list__body .bento__ic { margin-top: 0.2rem; }
@media (max-width: 720px) { .svc-list > li { grid-template-columns: 1fr; } }
.svc-list h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.15rem, 2.6vw, 1.4rem); margin-bottom: 0.6rem; }
.svc-list > li > p { color: var(--ink-soft); font-weight: 300; max-width: 60ch; }
.svc-list__includes { margin-top: 1rem; display: grid; gap: 0.5rem; }
.svc-list__includes li { position: relative; padding-left: 1.4em; color: var(--ink-soft); font-size: 0.92rem; }
.svc-list__includes li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
.svc-list__note { margin-top: 1rem; color: var(--ink-mute); font-size: 0.88rem; }
.svc-list__link { display: inline-block; margin-top: 1.2rem; color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.svc-list__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Statement (großformatige Aussage) ---------- */
.statement__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.statement__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.statement__img img { width: 100%; height: 100%; object-fit: cover; }
.statement__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5.6vw, 3.4rem); line-height: 1; letter-spacing: -0.005em; margin: 0.8rem 0 1.6rem; }
.statement__text p:not(.eyebrow) { color: var(--ink-soft); font-weight: 300; max-width: 46ch; margin-bottom: 1.6rem; }
/* Referenz-Headline: fette Blockschrift mit Marker-Chips statt Serife */
.statement__title--marked { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.2; font-size: clamp(1.7rem, 4.8vw, 2.7rem); }
.statement__title--marked span { display: block; width: fit-content; background: var(--ink); color: var(--bg); padding: 0.12em 0.28em; margin-bottom: 0.2em; }
/* Referenz-Foto-Collage: großes Bild + kleines, leicht gedrehtes Bild oben rechts */
.statement__media { position: relative; }
.statement__img--front { position: absolute; top: -9%; right: -7%; width: 42%; aspect-ratio: 1 / 1; border: 6px solid var(--bg); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35); transform: rotate(4deg); z-index: 2; }
@media (max-width: 599px) { .statement__img--front { width: 38%; top: -6%; right: -4%; } }
@media (min-width: 820px) {
  .statement__grid { grid-template-columns: 0.85fr 1.15fr; }
}

/* ---------- Problem / Schmerz ---------- */
.pain { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits { background: #fff; }
.ablauf { background: #fff; }
.standort { background: var(--bg-light); }
.pain__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.pain__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.pain__list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.pain__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pain__ck { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 0.8rem; }
.pain__list h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1rem; color: var(--ink); margin: 0; text-decoration: underline; text-decoration-color: rgba(240, 197, 68, 0.45); text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease); }
.pain__list p { color: var(--ink-soft); font-size: 0.95rem; font-weight: 300; max-width: 46ch; transition: color 0.3s var(--ease), transform 0.3s var(--spring); }
.pain__blueprint { margin-top: 1.8rem; max-width: 380px; overflow: hidden; }
.pain__blueprint img { width: 100%; display: block; mix-blend-mode: multiply; clip-path: inset(1.5%); }

/* Hover: Titel leuchtet gold auf, Text hebt sich leicht ab (Häkchen bleibt statisch) */
.pain__list li:hover h3 { color: var(--gold); text-decoration-color: var(--gold); }
.pain__list li:hover p { color: var(--ink); transform: translateX(4px); }

/* Mobil: nur Titel sichtbar, Text klappt per Tap auf (natives <details>) */
.pain__item summary { list-style: none; cursor: pointer; position: relative; padding-right: 32px; }
.pain__item summary::-webkit-details-marker { display: none; }
.pain__item summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.3rem; line-height: 1; color: var(--gold); font-weight: 400; transition: transform 0.25s var(--spring); }
.pain__item[open] summary::after { transform: rotate(45deg); }
.pain__item p { margin-top: 0.5rem; }

@media (min-width: 820px) {
  .pain__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  /* Ab Desktop: kein Akkordeon mehr, Text bleibt wie gehabt immer sichtbar */
  .pain__item summary { cursor: default; padding-right: 0; }
  .pain__item summary::after { display: none; }
  .pain__item p { display: block !important; }
}

/* ---------- Vorteile (Karussell) ---------- */
.benefits__carousel { margin-top: 2.2rem; }
.benefits__slide { flex: 0 0 min(78%, 320px); scroll-snap-align: center; margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--spring), border-color 0.4s var(--ease); }
.benefits__slide:hover { transform: translateY(-4px); border-color: var(--gold-soft); }
.benefits__media { aspect-ratio: 4 / 3; }
.benefits__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.benefits__body { padding: clamp(1.3rem, 3vw, 1.7rem); }
.benefits__body h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; color: var(--ink); margin: 0 0 0.4rem; }
.benefits__body p { color: var(--ink-soft); font-size: 0.95rem; font-weight: 300; max-width: 36ch; }
@media (min-width: 720px) { .benefits__slide { flex-basis: min(38%, 360px); } }

/* ---------- Final CTA ---------- */
.final-cta {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.66);
  --gold:      #F0C544;
  background: #0E0E0E; color: var(--ink);
  text-align: center; border-top: 1px solid var(--gold);
}
.final-cta__inner { display: grid; justify-items: center; gap: 1.2rem; max-width: 46ch; margin-inline: auto; }
.final-cta__sub { color: var(--ink-soft); font-weight: 300; margin-bottom: 0.4rem; }
.final-cta__grid { display: grid; gap: clamp(2.2rem, 6vw, 3.5rem); align-items: center; text-align: left; }
.final-cta__text { text-align: center; display: grid; justify-items: center; gap: 1.2rem; }
.final-cta__form {
  --ink:       #201D18;
  --ink-soft:  rgba(32, 29, 24, 0.7);
  --ink-mute:  rgba(32, 29, 24, 0.5);
  --line:      rgba(20, 18, 14, 0.16);
  --line-2:    rgba(20, 18, 14, 0.24);
  width: 100%;
}
@media (min-width: 860px) {
  .final-cta__grid { grid-template-columns: 1fr 1fr; }
  .final-cta__text { text-align: left; justify-items: start; }
}

/* ---------- Angebot & Konditionen ---------- */
.angebot__card {
  display: grid; gap: clamp(2rem, 5vw, 2.6rem);
  background: linear-gradient(160deg, rgba(255,212,59,0.06), var(--bg-2) 55%);
  border: 1px solid var(--gold-soft); border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 3.2rem);
}
.angebot__list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.angebot__list li { position: relative; padding-left: 1.6em; color: var(--ink-soft); font-size: 0.98rem; }
.angebot__list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.angebot__aside { display: grid; align-content: start; gap: 1.2rem; padding-top: clamp(1.6rem, 4vw, 0rem); border-top: 1px solid var(--line); }
.angebot__promise { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.4; }
.angebot__note { color: var(--ink-mute); font-size: 0.88rem; line-height: 1.55; }
@media (min-width: 820px) {
  .angebot__card { grid-template-columns: 1.2fr 0.8fr; }
  .angebot__aside { padding-top: 0; padding-left: clamp(1.8rem, 4vw, 2.6rem); border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- Vertrauensleiste ---------- */
.trustbar { border-top: 1px solid var(--line); background: var(--bg-2); }
.trustbar__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trustbar__item { padding: clamp(2rem, 5vw, 3.2rem) clamp(1rem, 3vw, 2rem); text-align: center; border-bottom: 1px solid var(--line); }
.trustbar__item:nth-child(odd) { border-right: 1px solid var(--line); }
.trustbar__item dt { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--gold); line-height: 1; }
.trustbar__item dd { margin-top: 0.5rem; font-size: 0.82rem; color: var(--ink-mute); }

/* ---------- Stimmen ---------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: 14px; }
.quote { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.6rem); transition: border-color 0.4s var(--ease), transform 0.5s var(--spring); }
.quote:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.quote blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.45; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.15rem; }
.quote__name { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.quote__role { color: var(--ink-mute); font-size: 0.82rem; }

/* ---------- Über uns & Team ---------- */
.team__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.team__photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team__text .section__title { margin-top: 1rem; }
.team__text p { color: var(--ink-soft); font-weight: 300; margin-top: 1.2rem; max-width: 52ch; }
.team__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.team__badges li { font-size: 0.82rem; color: var(--ink); padding: 0.5em 1em; border: 1px solid var(--line-2); border-radius: 100px; }

/* ---------- Kontakt ---------- */
.kontakt { background: #E9E2D3; }
.kontakt__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); }
.kontakt__intro p { color: var(--ink-soft); font-weight: 300; margin-top: 1.2rem; max-width: 46ch; }
.kontakt__intro .section__title { margin-top: 1rem; }
.kontakt__details { list-style: none; margin-top: 2rem; display: grid; gap: 1.1rem; }
.kontakt__details li { display: grid; gap: 0.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.kontakt__details span:first-child { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.kontakt__details a, .kontakt__details address, .kontakt__details .plain { color: var(--ink); font-style: normal; font-size: 1.05rem; }
.kontakt__details a:hover { color: var(--gold); }
.kontakt__intro .btn--wa { margin-top: 1.6rem; }
.kontakt__right { display: grid; gap: 1.4rem; }
.kontakt__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.82rem; color: var(--ink); font-weight: 600; }
.field input, .field textarea { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 0.85em 1em; color: var(--ink); font-family: inherit; font-size: 0.98rem; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.form__note { font-size: 0.9rem; color: var(--gold); min-height: 1.2em; }
.kontakt .ph--map { background: var(--bg-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 7vh, 5rem) 0 2rem; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer__brand { display: grid; gap: 0.5rem; }
.footer__brand .brand__mark { display: inline-block; }
.footer__brand .brand__name { font-size: 1.4rem; }
.footer__brand p { color: var(--ink-mute); font-size: 0.9rem; margin-top: 0.5rem; }
.footer__col { display: grid; gap: 0.7rem; align-content: start; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.3rem; }
.footer__col a { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.footer__bottom p { color: var(--ink-mute); font-size: 0.8rem; }
.footer__fine { max-width: 40ch; }

/* ============================================================
   SCHWEBENDER CTA (nur mobil)
   ============================================================ */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  display: inline-flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em;
  background: var(--gold); color: #1A1508; border-radius: 100px; padding: 0.9em 1.4em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  transform: translateY(120%); opacity: 0; transition: transform 0.5s var(--spring), opacity 0.3s var(--ease);
}
.fab::after { content: "↗"; font-weight: 700; }
.fab.is-visible { transform: none; opacity: 1; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--spring), transform 0.8s var(--spring); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide { grid-column: 1 / -1; }
  .ba { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .trustbar__grid { grid-template-columns: repeat(4, 1fr); }
  .trustbar__item { border-bottom: 0; }
  .trustbar__item:nth-child(odd) { border-right: 0; }
  .trustbar__item:not(:last-child) { border-right: 1px solid var(--line); }
  .team__grid { grid-template-columns: 1.05fr 0.95fr; }
  .kontakt__grid { grid-template-columns: 1fr 1.05fr; }
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__right { display: flex; }
  .nav__burger { display: none; }
  .fab { display: none; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__cell--wide { grid-column: span 2; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .fab { transition: none; }
}

/* ===== Ablauf + FAQ (nachgerüstet) ===== */
.faq { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding-top: 20px; border-top: 1px solid var(--line); }
.step__no { font-family: "Fraunces", serif; font-weight: 400; font-size: 1.1rem; color: var(--gold); letter-spacing: .04em; }
.step h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq__head p:last-child { color: var(--ink-soft); margin-top: 14px; }
.faq__list { border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: "Fraunces", serif; font-weight: 400; font-size: 1.1rem; color: var(--ink);  }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); font-weight: 400; transition: transform .25s var(--spring); }
.fq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fq p { color: var(--ink-soft); font-size: .98rem; padding: 0 40px 22px 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .faq__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ===== Motion-Kit (nachgerüstet) — Kaskade + Hero-Parallax ===== */
.motion-ready .m-rise { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); transition-delay: var(--m-delay, 0ms); will-change: opacity, transform; }
.motion-ready .m-rise.m-in { opacity: 1; transform: none; }
.motion-ready .m-hero { transform: translateY(var(--m-py, 0)) scale(1.08); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .motion-ready .m-rise { opacity: 1; transform: none; transition: none; }
  .motion-ready .m-hero { transform: none; }
}

/* ============================================================
   DC INNENAUSBAU — Blöcke: Infografik · Fenster/Türen · Standort
   Bleibt im Design-System: Dark Premium, Gold nur als Akzent.
   ============================================================ */

/* ---------- Block 2: Infografik — Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.stat { background: var(--bg-2); padding: clamp(1.8rem, 5vw, 3rem) 1.2rem; text-align: center; }
.stat dt { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--gold); line-height: 1; letter-spacing: -0.01em; }
.stat dd { margin-top: 0.6rem; font-size: 0.82rem; color: var(--ink-mute); letter-spacing: 0.02em; }

/* ---------- Block 2: Infografik — Ablauf als Prozess ---------- */
.flow { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: none; }
.flow__step { position: relative; padding: 0 0 2.2rem 2.4rem; border-left: 1px solid var(--line); }
.flow__step:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow__no { position: absolute; left: 0; top: 0; transform: translateX(-50%); width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--gold); background: var(--bg); border: 1px solid var(--gold-soft); border-radius: 50%; }
.flow__step h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.05rem, 2.6vw, 1.3rem); margin: 0 0 0.5rem; letter-spacing: -0.005em; }
.flow__step p { color: var(--ink-soft); font-weight: 300; font-size: 0.98rem; max-width: 52ch; }

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .flow__step { padding: 3.2rem 1.6rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .flow__step:last-child { padding-bottom: 0; }
  .flow__no { top: 0; left: 0; transform: translateY(-50%); }
}

/* ---------- Block 3: Fenster/Türen — 3D-Animation ---------- */
.wd { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 4vw, 2rem); }
.wd__item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); transition: border-color 0.4s var(--ease); }
.wd__item:hover { border-color: var(--gold-soft); }
.wd__stage { perspective: 900px; height: 240px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.6rem; }
.wd__item figcaption h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 2.8vw, 1.35rem); margin: 0 0 0.5rem; letter-spacing: -0.005em; }
.wd__item figcaption p { color: var(--ink-soft); font-weight: 300; font-size: 0.98rem; }

/* Fenster: Rahmen + zwei Flügel, die aufschwingen */
.win { position: relative; width: 210px; height: 180px; transform-style: preserve-3d; border: 2px solid var(--line-2); border-radius: 4px; background:
  linear-gradient(135deg, rgba(255,212,59,0.05), rgba(255,255,255,0.02)); }
.win__sill { position: absolute; left: -10px; right: -10px; bottom: -12px; height: 8px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 2px; }
.win__sash { position: absolute; top: 4px; bottom: 4px; width: 50%; border: 2px solid var(--gold); border-radius: 3px; background: linear-gradient(135deg, rgba(255,212,59,0.10), rgba(10,10,10,0.35)); box-shadow: inset 0 0 0 4px rgba(10,10,10,0.6); backface-visibility: hidden; }
.win__sash--l { left: 4px; transform-origin: left center; animation: sashL 6.5s var(--spring) infinite; }
.win__sash--r { right: 4px; transform-origin: right center; animation: sashR 6.5s var(--spring) infinite; }
.win__handle { position: absolute; top: 50%; width: 4px; height: 20px; margin-top: -10px; background: var(--gold); border-radius: 2px; }
.win__sash--l .win__handle { right: 5px; }
.win__sash--r .win__handle { left: 5px; }
@keyframes sashL { 0%,18%,100% { transform: rotateY(0deg); } 55%,72% { transform: rotateY(-68deg); } }
@keyframes sashR { 0%,18%,100% { transform: rotateY(0deg); } 55%,72% { transform: rotateY(68deg); } }

/* Tür: Zarge + Türblatt, das aufgeht */
.door { position: relative; width: 130px; height: 200px; transform-style: preserve-3d; border: 2px solid var(--line-2); border-radius: 3px; padding: 6px; background: var(--bg-3); }
.door__leaf { position: absolute; inset: 6px; transform-origin: left center; transform-style: preserve-3d; border: 2px solid var(--gold); border-radius: 2px; background: linear-gradient(120deg, rgba(255,212,59,0.10), rgba(10,10,10,0.4)); box-shadow: inset 0 0 0 5px rgba(10,10,10,0.55); backface-visibility: hidden; animation: doorSwing 6.5s var(--spring) infinite; }
.door__handle { position: absolute; right: 9px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px rgba(255,212,59,0.5); }
@keyframes doorSwing { 0%,18%,100% { transform: rotateY(0deg); } 55%,72% { transform: rotateY(-72deg); } }

@media (min-width: 720px) { .wd { grid-template-columns: 1fr 1fr; } .wd__stage { height: 280px; } }

/* ---------- Block 4: Standort — Karte + Bewertungen ---------- */
.standort__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 4vw, 2.4rem); align-items: start; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.reviews__stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 0.15em; }
.reviews__rating { color: var(--ink-soft); font-size: 0.92rem; }
.reviews__rating strong { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.review { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review__stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.12em; }
.review blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.02rem, 2.2vw, 1.18rem); line-height: 1.5; letter-spacing: -0.01em; margin-top: 0.6rem; }
.review figcaption { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.15rem; }
.review__name { color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.review__role { color: var(--ink-mute); font-size: 0.8rem; }

.mapwrap { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(0.4) contrast(1.05) brightness(0.85); }
.mapwrap__addr { padding: 1.3rem clamp(1.2rem, 3vw, 1.6rem); font-style: normal; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.7; border-top: 1px solid var(--line); }
.mapwrap__addr strong { color: var(--ink); font-weight: 600; }
.mapwrap__addr a { color: var(--ink); }
.mapwrap__addr a:hover { color: var(--gold); }

@media (min-width: 860px) { .standort__grid { grid-template-columns: 1fr 1fr; } .map { height: 400px; } }

/* ============================================================
   Trockenbau & Boden — Verlege-Animationen (ersetzt Fenster/Tür)
   Reines CSS, im Design-System (Gold-Akzent, ruhige Spring-Motion).
   ============================================================ */

/* --- Trockenbau: Gipskartonplatten aufs Ständerwerk --- */
.dw { position: relative; width: min(280px, 80%); height: 100%; max-height: 200px; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0A0A0A; }
.dw__studs { position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, transparent 0 42px, rgba(255,255,255,.10) 42px 46px),
  linear-gradient(180deg, rgba(255,255,255,.06), transparent 14%, transparent 86%, rgba(255,255,255,.06)); }
.dw__board { position: absolute; top: 0; bottom: 0; width: 33.34%; background: linear-gradient(180deg, rgba(245,245,240,.18), rgba(245,245,240,.08)); border: 1px solid var(--line-2); box-shadow: inset 0 0 0 1px rgba(10,10,10,.4); will-change: transform, opacity; }
.dw__board::before, .dw__board::after { content: ""; position: absolute; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #F0C544; opacity: .85; box-shadow: 0 0 6px rgba(255,212,59,.5); }
.dw__board::before { top: 14px; }
.dw__board::after  { bottom: 14px; }
.dw__board--1 { left: 0;      animation: dwRise 6.6s var(--spring) 0s   infinite; }
.dw__board--2 { left: 33.33%; animation: dwRise 6.6s var(--spring) .5s  infinite; }
.dw__board--3 { left: 66.66%; animation: dwRise 6.6s var(--spring) 1s   infinite; }
@keyframes dwRise {
  0%, 4%    { transform: translateY(110%); opacity: 0; }
  22%       { opacity: 1; }
  38%, 84%  { transform: translateY(0);    opacity: 1; }
  97%, 100% { transform: translateY(110%); opacity: 0; }
}

/* --- Bodenverlegung: Dielen im Klick-Verbund --- */
.fl { position: relative; width: min(280px, 80%); height: 100%; max-height: 200px; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #141414; display: flex; flex-direction: column; gap: 4px; padding: 6px; }
.fl__plank { flex: 1; border-radius: 2px; position: relative; background: linear-gradient(100deg, rgba(255,212,59,.14), rgba(120,86,38,.28) 55%, rgba(255,212,59,.10)); border: 1px solid rgba(255,212,59,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); will-change: transform, opacity; }
.fl__plank::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: rgba(10,10,10,.28); }
.fl__plank--1 { animation: flSlide 5.6s var(--spring) 0s    infinite; }
.fl__plank--2 { animation: flSlide 5.6s var(--spring) .35s  infinite; }
.fl__plank--3 { animation: flSlide 5.6s var(--spring) .7s   infinite; }
.fl__plank--4 { animation: flSlide 5.6s var(--spring) 1.05s infinite; }
@keyframes flSlide {
  0%, 6%    { transform: translateX(115%); opacity: 0; }
  24%       { opacity: 1; }
  40%, 86%  { transform: translateX(0);    opacity: 1; }
  97%, 100% { transform: translateX(115%); opacity: 0; }
}

/* Reduced motion: Verlege-Animationen ruhen fertig verlegt */
@media (prefers-reduced-motion: reduce) {
  .dw__board, .fl__plank { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* ============================================================
   DUNKLE VSTAVKI — Grau/Schwarz-Akzente auf Beige-Basis
   Lokale Variablen-Umschaltung: Graphit/Schwarz, helles Gold.
   ============================================================ */
.is-dark {
  --bg:        #111111;
  --bg-2:      #191919;
  --bg-3:      #202020;
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --gold:      #F0C544;
  --gold-soft: rgba(255, 212, 59, 0.14);
  background: var(--bg);
  color: var(--ink);
}

/* Navigation liegt immer über Dunkel (Video / getönte Leiste) → helle Farben */
.nav {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.66);
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);
  --gold:      #F0C544;
}

/* Bento-Fotozelle: helle Schrift auf dem dunklen Bildverlauf (immer) */
.bento__cell--photo h3,
.bento__cell--photo p { color: #F5F5F0; }
.bento__cell--photo .bento__ic { border-color: rgba(255,255,255,.25); }
.bento__cell--photo .bento__ic svg { stroke: #F0C544; }

/* ============================================================
   MOBILE — mehr Luft & breiterer Textspiegel (nicht gequetscht)
   ============================================================ */
@media (max-width: 600px) {
  /* Weniger Seitenrand + weniger tiefe Karten-Paddings = breiterer Inhalt */
  :root { --gutter: 16px; }
  .bento__cell, .quote, .review, .wd__item, .kontakt__form {
    padding: 1.5rem 1.35rem;
  }
  .bento__cell--photo { padding: 0; }
  .bento__cell--photo .bento__body { padding: 1.6rem 1.35rem; }

  /* Etwas mehr vertikale Ruhe zwischen den Kacheln */
  .bento, .quotes { gap: 12px; }
  .wd { gap: 1.4rem; }

  /* Hero-Intro: Buttons voll, Text lesbar groß */
  .hero-intro__cta { flex-direction: column; align-items: stretch; }
  .hero-intro__cta .btn { width: 100%; }
  .hero-intro__text { font-size: 1.05rem; }

  /* Parallax-Fixed ist auf Mobil (iOS/Android) unzuverlässig → normal scrollen */
  .hero-intro.is-dark { background-attachment: scroll; }

  /* Kennzahlen: 1-spaltig, großzügige Höhe statt gequetscht */
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 1.8rem 1.2rem; }

  /* Animations-Stände angenehm groß */
  .wd__stage { height: 240px; }
  .dw, .fl { width: min(320px, 94%); }

  .map { height: 320px; }
}

@media (max-width: 380px) {
  .hero-intro__usp li { font-size: 0.78rem; }
}

/* Sicherheit: nichts schiebt die Seite horizontal auf */
img, video, iframe, picture, svg { max-width: 100%; }

/* ============================================================
   GANZ HELL — dunkle Einschübe zu hellem Grau umdefiniert
   (überschreibt die frühere .is-dark-Definition weiter oben)
   ============================================================ */
.is-dark {
  --bg:        #E7E3DA;
  --bg-2:      #F2EEE5;
  --bg-3:      #DED8CC;
  --line:      rgba(26, 22, 15, 0.12);
  --line-2:    rgba(26, 22, 15, 0.18);
  --ink:       #1A160F;
  --ink-soft:  rgba(26, 22, 15, 0.64);
  --ink-mute:  rgba(26, 22, 15, 0.46);
  --gold:      #232323;
  --gold-soft: rgba(35, 35, 35, 0.14);
  background: var(--bg);
  color: var(--ink);
}

/* Hero-Intro: dunkler Foto-Hintergrund wie zuvor (heller Text, Gold-Linien) */
.hero-intro.is-dark {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.62);
  --ink-mute:  rgba(245, 245, 240, 0.42);
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --gold:      #F0C544;
  color: var(--ink);
  background-image:
    linear-gradient(rgba(12, 12, 12, 0.74), rgba(12, 12, 12, 0.84)),
    url("assets/img/atmosphaere-bg.png");
  border-top-color: var(--gold);
  border-bottom-color: var(--gold);
}

/* WhatsApp-Button */
.btn--wa { background: #25D366; color: #08301A; }
.btn--wa:hover { background: #20c15c; }

/* „Anrufen" abheben: goldene Rundum-Rahmen + eigener Schatten/Glow */
.btn--call { border-color: #F0C544; box-shadow: 0 6px 22px rgba(255, 212, 59, 0.28); }
.btn--call:hover { border-color: #F0C544; color: #F0C544; box-shadow: 0 10px 28px rgba(255, 212, 59, 0.42); transform: translateY(-2px); }

/* ---- Mobil: breiter (kleinerer Rand) & weniger wuchtig ---- */
@media (max-width: 600px) {
  :root { --gutter: 14px; }
  .section { padding: clamp(46px, 9vh, 88px) 0; }
  .section__head { margin-bottom: clamp(1.6rem, 5vw, 2.4rem); }
  .btn--lg { padding: 0.85em 1.3em; font-size: 0.92rem; }
  /* CTA nicht mehr voll-breit gestapelt, sondern kompakt nebeneinander */
  .hero-intro__cta { flex-direction: row; flex-wrap: wrap; gap: 0.6rem; }
  .hero-intro__cta .btn { width: auto; flex: 1 1 8rem; }
  .bento__cell, .quote, .review, .kontakt__form { padding: 1.3rem 1.2rem; }
  .stat { padding: 1.5rem 1rem; }
}

/* ============================================================
   GALERIE — Karussell (nativer Scroll-Snap + Pfeile)
   ============================================================ */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px var(--gutter) 10px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 min(84%, 540px); scroll-snap-align: center;
  aspect-ratio: 4 / 3; min-height: 0; margin: 0; border-radius: var(--radius); overflow: hidden;
}
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--ink); font-size: 1.6rem; line-height: 1;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.carousel__nav:hover { border-color: var(--gold); color: var(--gold); }
.carousel__nav--prev { left: 10px; }
.carousel__nav--next { right: 10px; }
@media (min-width: 720px) {
  .carousel__nav { display: inline-flex; }
  .carousel__slide { flex-basis: min(46%, 540px); }
  .carousel__track { padding-inline: calc(var(--gutter) + 56px); }
}

/* Footer in Grau */
.footer.is-dark {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.60);
  --ink-mute:  rgba(245, 245, 240, 0.40);
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --gold:      #F0C544;
  background: #0E0E0E;
  color: var(--ink);
  border-top-color: rgba(255, 255, 255, 0.10);
}

/* ============================================================
   IN ZAHLEN — dunkles Foto im Hintergrund, Kennzahlen darüber
   ============================================================ */
.infografik {
  --ink:       #F5F5F0;
  --ink-soft:  rgba(245, 245, 240, 0.66);
  --ink-mute:  rgba(245, 245, 240, 0.72);
  --gold:      #F0C544;
  color: var(--ink);
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.80)),
    url("assets/img/infografik-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.infografik .stats { background: transparent; border: 0; border-radius: 0; overflow: visible; gap: 14px; }
.infografik .stat {
  background: rgba(14, 14, 14, 0.42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius);
}
.infografik .stat dt { color: var(--gold); }
.infografik .stat dd { color: rgba(245, 245, 240, 0.78); }

/* ============================================================
   MOBIL — kleinere Typo, mehr Luft (weniger „herangezoomt")
   ============================================================ */
@media (max-width: 560px) {
  .section__title { font-size: clamp(1.65rem, 7.5vw, 2.1rem); line-height: 1.14; }
  .hero-intro .hero__title { font-size: clamp(1.85rem, 8.5vw, 2.5rem); line-height: 1.1; }
  .stat dt { font-size: clamp(1.7rem, 9vw, 2.2rem); }
  .section__sub, .hero-intro__text { font-size: 0.96rem; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; }
  .bento__cell h3 { font-size: 1.15rem; }
  .bento__cell p, .stat dd { font-size: 0.88rem; }
  .hero-intro__usp li { font-size: 0.74rem; }
  /* etwas mehr Abstand zwischen Kacheln = weniger gedrängt */
  .bento { gap: 12px; }
  .stats { gap: 12px; }
  .section { padding: clamp(52px, 9vh, 88px) 0; }
  /* Karussell: kleinere Kachel, Nachbar sichtbar → nicht „herangezoomt" */
  .carousel__slide { flex-basis: 78%; }
}

/* Mehr Luft gegen „zu eng" — größere Ränder, Paddings & Abstände */
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .section { padding: clamp(58px, 10vh, 96px) 0; }
  .section__head { margin-bottom: 1.9rem; }
  .section__title { line-height: 1.2; }
  .section__sub { margin-top: 0.9rem; }
  .bento { gap: 14px; }
  .bento__cell, .kontakt__form, .review, .quote { padding: 1.6rem 1.4rem; }
  .bento__cell p { margin-top: 0.4rem; }
  .infografik .stats { gap: 14px; }
  .stat { padding: 1.75rem 1.1rem; }
  .hero-intro { padding: clamp(2.4rem, 8vh, 4rem) 0; }
  .kontakt__details { gap: 1.2rem; }
}

/* ============================================================
   MOBIL/TOUCH — Performance & „hängende" Hover-States beheben
   Touch-Geräte simulieren :hover nach dem Tippen (bleibt bis zum
   nächsten Tap aktiv) → Karten/Buttons wirken „eingefroren"/ruckelig.
   Transform-Hover hier neutralisieren, Farbwechsel bleiben erlaubt.
   ============================================================ */
@media (hover: none), (pointer: coarse) {
  .btn--gold:hover,
  .btn--ghost:hover,
  .scope-card:hover,
  .bento__cell:hover,
  .svc-card:hover img,
  .bento__cell--photo:hover .bento__img,
  .benefits__slide:hover,
  .quote:hover,
  .btn--call:hover,
  .carousel__nav:hover,
  .pain__list li:hover p {
    transform: none;
  }
  /* Fixe Navigation: teurer Weichzeichner wird während des Scrollens
     auf jedem Frame neu berechnet — auf Touch-Geräten reduzieren. */
  .nav.is-scrolled { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
