/* ATS Trockenbau – Stylesheet
   Layout: dunkler Auftakt (Hero + Wand-Geschichte) wie eine Produktbühne,
   danach helle, luftige Kapitel. Gold aus dem Logo nur als Akzent.
   Schriften lokal eingebunden (keine Verbindung zu Google, DSGVO). */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #fbfbf9;
  --bg-alt: #f2f2ef;
  --surface: #ffffff;
  --fg: #111110;
  --fg-2: #5c5a54;
  --fg-3: #8b887f;
  --line: #e4e2dc;
  --gold: #c6a142;
  --gold-ink: #17130a;
  --gold-text: #8a6a1c;
  --gold-grad: linear-gradient(120deg, #ecd27a 0%, #c6a142 45%, #8f6d22 100%);
  --night: #0c0c0b;

  /* Illustrationsfarben (gleich in beiden Modi) */
  --il-steel-1: #c9cfd2;
  --il-steel-2: #7b8489;
  --il-wool: #3a3527;
  --il-wool-line: #a08b52;
  --il-board: #dcdad3;
  --il-board-edge: #a6a398;
  --il-paint: #f5f3ed;
  --il-screw: #55534d;
  --il-concrete: #22221f;
  --il-hatch: #3b3a35;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 3.5rem;
  --wrap: 76rem;
  --r-lg: 1.5rem;
  --r-md: 1rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0b; --bg-alt: #141413; --surface: #1b1b19; --fg: #f2f1ec;
    --fg-2: #a7a49b; --fg-3: #75726a; --line: #2a2926; --gold-text: #dcbc5e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0c0b; --bg-alt: #141413; --surface: #1b1b19; --fg: #f2f1ec;
  --fg-2: #a7a49b; --fg-3: #75726a; --line: #2a2926; --gold-text: #dcbc5e;
  color-scheme: dark;
}
/* Markenflächen: immer dunkel */
.on-dark {
  --bg: #0c0c0b; --bg-alt: #141413; --surface: #1b1b19; --fg: #f2f1ec;
  --fg-2: #a7a49b; --fg-3: #75726a; --line: #2a2926; --gold-text: #dcbc5e;
  background: var(--bg);
  color: var(--fg);
  color-scheme: dark;
}
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 48rem) {
  .wrap { padding-left: max(2rem, env(safe-area-inset-left, 0px)); padding-right: max(2rem, env(safe-area-inset-right, 0px)); }
}

.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: -.005em; color: var(--gold-text); }
.h-xl { font-size: clamp(3rem, 8.4vw, 6.6rem); font-weight: 760; letter-spacing: -.045em; line-height: .95; }
.h-l { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 740; letter-spacing: -.038em; line-height: 1; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--fg-2); max-width: 40rem; }
.grad { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { padding-block: clamp(5rem, 11vw, 9rem); }
.section--alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 1rem; max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--f-body);
  padding: 1rem 1.6rem;
  border: 0; border-radius: 999px;
  background: var(--gold-grad); color: var(--gold-ink);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(198, 161, 66, .7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .3s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 34px -12px rgba(198, 161, 66, .85); }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--fg-3); filter: none; }
.btn--small { padding: .6rem 1.05rem; font-size: .875rem; box-shadow: none; }
.btn--small:hover { box-shadow: none; }
.more { display: inline-flex; align-items: center; gap: .35rem; color: var(--gold-text); font-weight: 600; text-decoration: none; }
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .35s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* Testhinweis */
.testbar { background: var(--gold); color: var(--gold-ink); font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .03em; }
.testbar .wrap { padding-block: .35rem; }

/* Kopfzeile */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(12, 12, 11, .88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: block; line-height: 0; }
.brand img { height: 2.35rem; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: .4rem; }
.nav-links { position: relative; display: none; align-items: center; gap: .1rem; margin-right: .5rem; }
@media (min-width: 64rem) { .nav-links { display: flex; } }
.nav-links a { position: relative; z-index: 1; padding: .45rem .85rem; border-radius: 999px; font-size: .875rem; color: var(--fg-2); text-decoration: none; transition: color .3s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--fg); }
.nav-indicator {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 2rem; width: 0;
  translate: 0 -50%; border-radius: 999px; background: rgba(255, 255, 255, .1); opacity: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.menu-btn { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; padding: 0; border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer; }
@media (min-width: 64rem) { .menu-btn { display: none; } }
.menu-btn span { grid-area: 1 / 1; display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
html[data-menu] .menu-btn span:first-child { transform: rotate(45deg); }
html[data-menu] .menu-btn span:last-child { transform: rotate(-45deg); }

/* Mobiles Vollbild-Menü */
.menu {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: rgba(12, 12, 11, .97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: 1.5rem max(16px, env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
html[data-menu] .menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
html[data-menu] body { overflow: hidden; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu li a {
  display: block; padding: .55rem 0; text-decoration: none;
  font: 700 clamp(1.9rem, 8vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -.03em; color: var(--fg);
  opacity: 0; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
html[data-menu] .menu li a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 60ms); }
.menu-foot { margin-top: auto; display: grid; gap: 1rem; color: var(--fg-2); font-size: .95rem; }
@media (min-width: 64rem) { .menu { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 70rem; height: 70rem; right: -28rem; top: -22rem;
  background: radial-gradient(closest-side, rgba(198, 161, 66, .2), transparent 70%);
}
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 62rem) { .hero .wrap { grid-template-columns: 1.2fr .8fr; gap: 3rem; } }
.hero-copy { display: grid; gap: 1.6rem; min-width: 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.15s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 120ms); }
.hero .fade { animation: fadeUp 1s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 520ms); }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.hero-facts li { padding: .42rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--fg-2); font-size: .9rem; }
.hero-facts a { color: #dcbc5e; text-decoration: none; font-weight: 600; }
.hero-facts a:hover { color: #ecd27a; }
.hero-photo { position: relative; margin: 0; justify-self: stretch; border-radius: 1.75rem; overflow: hidden; aspect-ratio: 4 / 5; max-height: 68svh; max-width: 100%; box-shadow: 0 40px 80px -40px rgba(198, 161, 66, .45), 0 0 0 1px rgba(255, 255, 255, .06); animation: fadeUp 1.3s var(--ease) both .3s; }
@media (min-width: 62rem) { .hero-photo { max-height: none; justify-self: end; width: min(100%, 30rem); } }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.hero-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(12, 12, 11, .6); color: #f2f1ec; font-size: .8rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll-cue { display: none; }
@media (min-width: 62rem) {
  .scroll-cue { display: flex; align-items: center; gap: .6rem; color: var(--fg-3); font-size: .85rem; }
  .scroll-cue i { position: relative; width: 1px; height: 2.2rem; background: var(--line); overflow: hidden; }
  .scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
}
@keyframes cue { to { top: 100%; } }

/* Wand-Geschichte (gepinnte Scroll-Sequenz) */
.build { position: relative; }
.js .build { height: calc(100svh + 5 * 52svh); }
.build-stage { display: flex; align-items: center; }
.js .build-stage { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px)); overflow: hidden; }
.build-stage .wrap { display: grid; gap: 1.25rem; height: 100%; padding-block: clamp(1.25rem, 4vh, 3rem); grid-template-rows: auto minmax(0, 1fr); }
@media (min-width: 62rem) { .build-stage .wrap { grid-template-columns: .82fr 1.18fr; grid-template-rows: none; gap: 4rem; align-items: center; } }
.build-copy { display: grid; gap: 1.1rem; align-content: center; min-width: 0; }
.build-copy h2 { font-size: clamp(1.75rem, 3.8vw, 3.2rem); letter-spacing: -.035em; }
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.story-item { display: grid; grid-template-columns: 2.1rem 1fr; column-gap: .5rem; padding-block: .45rem; opacity: .3; transition: opacity .5s var(--ease); }
.story-item.is-active, .story-item:only-child { opacity: 1; }
.story-num { font: 500 .8rem/1.9 var(--f-mono); color: var(--gold-text); }
.story-item h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -.015em; line-height: 1.4; }
.story-text { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.story-text > p { overflow: hidden; color: var(--fg-2); font-size: .98rem; }
.story-item.is-active .story-text { grid-template-rows: 1fr; }
.story-text > p::before { content: ""; display: block; height: .3rem; }
.no-js-all .story-item, html:not(.js) .story-item { opacity: 1; }
html:not(.js) .story-text { grid-template-rows: 1fr; }
.build-progress { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.build-progress i { display: block; height: 100%; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--p, 1)); }
.build-visual { min-width: 0; min-height: 0; height: 100%; display: grid; place-items: center; }
.build-visual svg { width: 100%; height: 100%; max-height: 72svh; display: block; }
@media (max-width: 61.99rem) {
  .js .story { grid-template-areas: "one"; }
  .js .story-item { grid-area: one; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .5s var(--ease); }
  .js .story-item.is-active { opacity: 1; transform: none; }
  .js .story-text { grid-template-rows: 1fr; }
  .build-copy h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .build-copy .eyebrow { display: none; }
}

/* Wand-Zeichnung: Zustände */
.js .wall .fr { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .wall .fr-h { transform-origin: 0 50%; transform: scaleX(0); }
.js .wall.s1 .fr { transform: none; }
.wall .dim { opacity: 1; transition: opacity .5s; }
.js .wall .dim { opacity: 0; }
.js .wall.s1 .dim { opacity: 1; transition-delay: .6s; }
.js .wall.s3 .dim { opacity: 0; transition-delay: 0s; }
.js .wall .wool { opacity: 0; transform: translateY(-16px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.js .wall.s2 .wool { opacity: 1; transform: none; }
.js .wall .board { opacity: 0; transform: translateX(70px); transition: opacity .6s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 130ms); }
.js .wall.s3 .board { opacity: 1; transform: none; }
.js .wall .screw { opacity: 0; transition: opacity .3s, fill .6s; transition-delay: calc(450ms + var(--i) * 18ms); }
.js .wall.s3 .screw { opacity: 1; }
.wall.s4 .screw { fill: var(--il-paint); }
.wall .joint { stroke-dasharray: 342; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease); }
.js .wall .joint { stroke-dashoffset: 342; }
.js .wall.s4 .joint { stroke-dashoffset: 0; }
.js .wall .band { opacity: 0; transition: opacity .8s .5s; }
.js .wall.s4 .band { opacity: 1; }
.js .wall .paint { opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease), opacity .4s; }
.js .wall.s5 .paint { opacity: 1; clip-path: inset(0 0 0 0); }
.js .wall .finish { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease) .8s, transform .6s var(--ease) .8s; }
.js .wall.s5 .finish { opacity: 1; transform: none; }
.wall .lbl { font: 500 11px var(--f-mono); fill: #dcbc5e; }
.wall .q4 { font: 700 13px var(--f-display); fill: var(--gold-ink); }

/* Leistungen: Karten-Schiene */
.rail {
  --pad: max(16px, env(safe-area-inset-left, 0px));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 21.5rem); gap: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: .75rem var(--pad) 2rem; scrollbar-width: none;
}
@media (min-width: 48rem) { .rail { --pad: max(2rem, calc((100% - var(--wrap)) / 2 + 2rem)); } }
.rail::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start; position: relative; min-width: 0;
  display: flex; flex-direction: column; gap: .8rem;
  min-height: 25rem; padding: 2rem 1.8rem 1.8rem; border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -24px rgba(0, 0, 0, .22);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 28px 50px -24px rgba(0, 0, 0, .3); }
.card .ico { width: 2.6rem; height: 2.6rem; color: var(--gold-text); margin-bottom: auto; }
.card h3 { font-size: 1.65rem; letter-spacing: -.03em; margin-top: 3rem; }
.card p { color: var(--fg-2); }
.card .spec { font: 500 .76rem/1.4 var(--f-mono); color: var(--fg-3); letter-spacing: .02em; }
.card.on-dark { background: radial-gradient(120% 70% at 100% 0%, rgba(198, 161, 66, .32), transparent 60%), var(--bg); }
.card.on-dark .more { margin-top: .25rem; }
.rail-controls { display: flex; justify-content: flex-end; gap: .6rem; }
.rail-btn {
  width: 2.8rem; height: 2.8rem; border-radius: 999px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--bg-alt); color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line); transition: opacity .3s, transform .3s var(--ease);
}
.rail-btn:hover:not(:disabled) { transform: scale(1.06); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 1.1rem; height: 1.1rem; }

/* Kernsanierung */
.phases { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase { display: grid; gap: .9rem; align-content: start; padding: 2rem; border-radius: var(--r-lg); background: var(--surface); min-width: 0; }
.phase-num { font: 760 3.6rem/1 var(--f-display); letter-spacing: -.05em; }
.phase h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; color: var(--fg-2); }
.phase li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .6rem; }
.phase li::before { content: ""; width: .7rem; height: .38rem; margin-top: .48rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.renov-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chips li { padding: .45rem .95rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; }
.chips li.is-home { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-text); font-weight: 600; }

/* Kernsanierung Bilder */
.phase-img { display: block; width: calc(100% + 2rem); max-width: none; margin: -1rem -1rem .5rem; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 1rem; }
.phase-img.focus-low { object-position: 50% 82%; }
.phase-note { margin-top: 1.25rem; font-size: .9rem; color: var(--fg-3); }

/* Projekte */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 62rem) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.shot { position: relative; margin: 0; min-width: 0; border-radius: var(--r-md); overflow: hidden; background: var(--bg-alt); }
.shot.wide { grid-column: span 2; grid-row: span 2; }
.shot-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.shot-btn:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .8rem; color: #f2f1ec; font-size: .85rem; line-height: 1.35; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); pointer-events: none; }
@media (max-width: 47.99rem) { .shot figcaption { font-size: .78rem; padding: 2rem .7rem .6rem; } }
.lead .more { font-size: inherit; }
.shot-insta { display: none; }
@media (min-width: 62rem) {
  .shot-insta { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; padding: 1.5rem; text-decoration: none; background: radial-gradient(120% 80% at 100% 0%, rgba(198, 161, 66, .35), transparent 60%), var(--bg); transition: transform .5s var(--ease); }
  .shot-insta:hover { transform: translateY(-4px); }
  .shot-insta b { font: 700 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; }
}

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 7, .96); color: #f2f1ec; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: lbIn .35s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; padding: calc(4rem + env(safe-area-inset-top, 0px)) .5rem calc(2rem + env(safe-area-inset-bottom, 0px)); min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: .75rem; }
.lightbox figcaption { font-size: .95rem; color: #c9c6bd; text-align: center; }
.lb-close, .lb-nav { width: 2.9rem; height: 2.9rem; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #f2f1ec; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .18); }
.lb-close svg, .lb-nav svg { width: 1.2rem; height: 1.2rem; }
.lb-close { position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: max(1rem, env(safe-area-inset-right, 0px)); }
.lb-prev { margin-left: max(.5rem, env(safe-area-inset-left, 0px)); }
.lb-next { margin-right: max(.5rem, env(safe-area-inset-right, 0px)); }

/* Kontakt: Firmenwagen */
.van { margin: 0; border-radius: var(--r-lg); overflow: hidden; max-width: 26rem; }
.van img { display: block; width: 100%; height: auto; }

/* Bewertungen */
.rating { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 62rem) { .rating { grid-template-columns: auto 1fr; gap: 4rem; } }
.rating-score { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.rating-num { font: 760 clamp(5rem, 12vw, 8.5rem)/.85 var(--f-display); letter-spacing: -.06em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-score p { margin-top: .5rem; color: var(--fg-2); font-size: .95rem; max-width: 15rem; }
.stars { display: flex; gap: .2rem; }
.stars svg { width: 1.35rem; height: 1.35rem; fill: var(--gold); }
.rating-copy { display: grid; gap: 1rem; min-width: 0; }
.badge { justify-self: start; padding: .4rem .9rem; border-radius: 999px; font-size: .88rem; color: var(--gold-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); }
.reviews { display: grid; gap: 1rem; }
@media (max-width: 43.99rem) {
  .reviews { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: .25rem max(16px, env(safe-area-inset-left, 0px)) .5rem; scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
}
@media (min-width: 44rem) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 66rem) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 1.75rem; border-radius: var(--r-lg); background: var(--surface); min-width: 0; }
.review blockquote { margin: 0; }
.review blockquote p { font: 600 clamp(1.1rem, 1.5vw, 1.25rem)/1.4 var(--f-display); letter-spacing: -.012em; }
.review figcaption { display: grid; gap: .15rem; font-size: .88rem; color: var(--fg-3); }
.review figcaption b { color: var(--fg); font-weight: 600; font-size: .95rem; }
.reviews-foot { margin-top: 2rem; display: grid; gap: 1.25rem; }
.reviews-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.reviews-note { font-size: .8rem; color: var(--fg-3); max-width: 46rem; }

/* Oberflächen Q1–Q4 */
.q-layout { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 62rem) { .q-layout { grid-template-columns: .9fr 1.1fr; gap: 4.5rem; } }
.q-copy { display: grid; gap: 1.6rem; min-width: 0; }
.seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); width: min(100%, 23rem); padding: 4px; border-radius: 999px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: .8rem 0; border-radius: 999px; font: 720 1.05rem/1 var(--f-display); color: var(--fg-2); cursor: pointer; transition: color .35s; }
.seg button[aria-selected="true"] { color: var(--gold-ink); }
.seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4); border-radius: 999px; background: var(--gold-grad); box-shadow: 0 6px 16px -8px rgba(198, 161, 66, .8); transform: translateX(calc(var(--q, 1) * 100%)); transition: transform .55s var(--ease); }
.q-info { display: grid; }
.q-pane { grid-area: 1 / 1; display: grid; gap: .6rem; align-content: start; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .55s var(--ease); pointer-events: none; }
.q-pane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.q-pane h3 { font-size: 1.7rem; letter-spacing: -.03em; }
.q-pane p { color: var(--fg-2); }
.q-pane .fit { font-size: .95rem; }
.q-pane .fit b { color: var(--fg); font-weight: 600; }
.q-visual { position: relative; aspect-ratio: 4 / 3; width: 100%; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #e7e4dc; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.q-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--ease); }
.q-visual svg.is-active { opacity: 1; }
.q-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(255, 236, 190, .35), transparent 45%, rgba(0, 0, 0, .12)); pointer-events: none; }
.q-tag { position: absolute; z-index: 1; left: 1rem; top: 1rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(12, 12, 11, .6); color: #f2f1ec; font: 500 .74rem/1 var(--f-mono); letter-spacing: .04em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.q-caption { margin-top: .9rem; font-size: .85rem; color: var(--fg-3); }

/* Ablauf */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: .5rem; top: .3rem; bottom: .3rem; width: 2px; border-radius: 2px; background: var(--line); }
.timeline::after { background: var(--gold-grad); transform-origin: top; }
.timeline li { position: relative; padding-left: 2.6rem; display: grid; gap: .4rem; min-width: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--bg-alt); box-shadow: inset 0 0 0 2px var(--gold); }
.t-num { font: 500 .8rem/1 var(--f-mono); color: var(--gold-text); }
.timeline h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.timeline p { color: var(--fg-2); font-size: .98rem; }
@media (min-width: 62rem) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 1.75rem; padding-top: 2.5rem; }
  .timeline::before, .timeline::after { left: 0; right: 0; top: .5rem; bottom: auto; width: auto; height: 2px; }
  .timeline::after { transform-origin: left; }
  .timeline li { padding-left: 0; }
  .timeline li::before { top: -2.55rem; }
}

/* Einsatzgebiet */
.area { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 62rem) { .area { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.area-copy { display: grid; gap: 1.5rem; min-width: 0; }
.area-copy .section-head { margin-bottom: 0; }
.map { margin: 0; min-width: 0; }
.map svg { display: block; width: 100%; height: auto; }
.map text { font: 500 11px var(--f-mono); fill: var(--fg-2); }
.map .ring { fill: color-mix(in srgb, var(--gold) 7%, transparent); stroke: var(--line); stroke-width: 1; }
.map .ring-out { fill: none; stroke: var(--fg-3); stroke-width: 1; stroke-dasharray: 4 5; }
.map .dot { fill: var(--fg); }
.map .home { fill: var(--gold); }
.map .pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.map .home-text { fill: var(--fg); font: 600 12.5px var(--f-mono); }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }

/* FAQ */
.faq { max-width: 54rem; 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.25rem;
  padding: 1.45rem 0; font: 650 clamp(1.1rem, 1.8vw, 1.35rem)/1.3 var(--f-display); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .65rem; height: .65rem; margin-right: .3rem; border-right: 2px solid var(--fg-3); border-bottom: 2px solid var(--fg-3); transform: translateY(-3px) rotate(45deg); transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq summary:hover { color: var(--gold-text); }
.faq .answer { padding: 0 2.5rem 1.6rem 0; color: var(--fg-2); max-width: 46rem; }
@supports selector(::details-content) {
  .faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* Kontakt */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }
.contact-info { display: grid; gap: 2rem; align-content: start; min-width: 0; }
.contact-list { margin: 0; display: grid; gap: 1.4rem; }
.contact-list dt { font-size: .85rem; color: var(--fg-3); }
.contact-list dd { margin: .2rem 0 0; font: 600 1.25rem/1.35 var(--f-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { color: var(--gold-text); }
.hours { font-variant-numeric: tabular-nums; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.menu-foot > a:not(.btn) { color: var(--fg-2); text-decoration: none; }
.form { display: grid; gap: 1.25rem; min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: var(--surface); }
.choice { border: 0; margin: 0; padding: 0; display: grid; gap: .7rem; min-width: 0; }
.choice legend { padding: 0; margin-bottom: .7rem; font-size: .9rem; font-weight: 600; }
.choice-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-opts label { position: relative; }
.choice-opts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice-opts span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; font-size: .92rem; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s; }
.choice-opts label:hover span { box-shadow: inset 0 0 0 1px var(--fg-3); }
.choice-opts input:checked + span { background: var(--gold-grad); color: var(--gold-ink); box-shadow: none; }
.choice-opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: .85rem; padding: .85rem 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198, 161, 66, .22); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--fg-2); }
.check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--gold); flex: none; }
.form-status { min-height: 1.5em; font-size: .95rem; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 2rem; padding-block: 3rem calc(3rem + env(safe-area-inset-bottom, 0px)); font-size: .9rem; color: var(--fg-2); }
@media (min-width: 48rem) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } }
.site-footer img { height: 2.6rem; width: auto; display: block; }
.foot-col { display: grid; gap: .5rem; align-content: start; }
.foot-col b { color: var(--fg); font-weight: 600; margin-bottom: .2rem; }
.site-footer a { text-decoration: none; color: var(--fg-2); }
.site-footer a:hover { color: var(--gold-text); }
.foot-legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; color: var(--fg-3); }
.foot-legal nav { display: flex; gap: 1.5rem; }

/* Mobile Aktionsleiste */
.dock {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: flex; gap: .5rem;
  padding: .7rem max(16px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(12, 12, 11, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  transform: translateY(110%); transition: transform .55s var(--ease);
}
.dock.is-visible { transform: none; }
.dock .btn { flex: 1; }
.dock .btn--ghost { flex: none; width: 3.2rem; padding: 0; }
.dock svg { width: 1.2rem; height: 1.2rem; }
@media (min-width: 64rem) { .dock { display: none; } }

/* Scroll-Animationen (nur wo vom Browser unterstützt, sonst sofort sichtbar) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
    .stagger > * { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
    .stagger > :nth-child(2) { animation-range: entry 6% cover 28%; }
    .stagger > :nth-child(3) { animation-range: entry 12% cover 32%; }
    .stagger > :nth-child(4) { animation-range: entry 16% cover 34%; }
    .stagger > :nth-child(5) { animation-range: entry 20% cover 36%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
    .timeline::after { animation: grow-y linear both; animation-timeline: view(); animation-range: entry 40% cover 60%; }
    @media (min-width: 62rem) { .timeline::after { animation-name: grow-x; } }
    @keyframes grow-y { from { transform: scaleY(0); } to { transform: none; } }
    @keyframes grow-x { from { transform: scaleX(0); } to { transform: none; } }
    .map { view-timeline: --map block; }
    .map .ring, .map .ring-out { animation: ring linear both; animation-timeline: --map; animation-range: entry 20% cover 45%; transform-box: fill-box; transform-origin: center; }
    .map .dot { animation: pop linear both; animation-timeline: --map; animation-range: entry 35% cover 50%; transform-box: fill-box; transform-origin: center; }
    .map .dot.d2 { animation-range: entry 45% cover 55%; }
    .map .dot.d3 { animation-range: entry 55% cover 60%; }
    @keyframes ring { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
    @keyframes pop { from { transform: scale(0); } to { transform: none; } }
    .hero-photo img { animation: zoom linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
    .shot-btn { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .build { height: auto; }
  .js .build-stage { position: static; height: auto; }
  .story-item, .js .story-item { opacity: 1 !important; transform: none !important; grid-area: auto !important; }
  .story-text, .js .story-text { grid-template-rows: 1fr !important; }
  .build-visual svg { max-height: 60svh; }
}

/* Rechtstexte */
.legal .wrap { max-width: 50rem; padding-block: clamp(3rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); letter-spacing: -.04em; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 2.5rem 0 .75rem; }
.legal p, .legal ul { margin: 0 0 .9rem; color: var(--fg-2); }
.legal address { font-style: normal; margin-bottom: .9rem; }
.legal .site-footer { margin-top: 0; }
.ph { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--fg); padding: 0 .3em; border-radius: 4px; font: 500 .88em var(--f-mono); }
