/* ─────────────────────────────────────────────────────────────
   BAS Überdachungen · Gestaltung
   Farben aus dem Produkt: RAL 7016 Anthrazit, RAL 9006 Weißaluminium,
   Messing aus dem Logo, Glas als heller Kühlton.
   ───────────────────────────────────────────────────────────── */
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-display: swap; src: url('/fonts/barlow-condensed-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url('/fonts/figtree-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 500; font-display: swap; src: url('/fonts/figtree-500.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-display: swap; src: url('/fonts/figtree-600.woff2') format('woff2'); }

:root {
  --anthrazit: #383e42;
  --anthrazit-tief: #2b3033;
  --alu: #a5a6a4;
  --alu-hell: #d3d5d3;
  --hell: #edeeec;
  --weiss: #fafaf8;
  --glas: #cfe0e3;
  --messing: #c39a52;
  --messing-text: #8a6528;
  --text: #2b3033;
  --text-2: #5b6266;
  --linie: rgba(56, 62, 66, 0.16);

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-text: 'Figtree', system-ui, sans-serif;

  --s-1: 0.875rem;
  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.5625rem;
  --s3: 2.0rem;
  --s4: 2.75rem;
  --s5: clamp(2.75rem, 5.2vw, 4.5rem);
  --s6: clamp(3.4rem, 9.5vw, 8.6rem);

  --rand: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1360px;
  --takt: cubic-bezier(0.22, 1, 0.36, 1);
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--s0);
  line-height: 1.6;
  color: var(--text);
  background: var(--hell);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, canvas, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--messing); outline-offset: 3px; }
::selection { background: var(--messing); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springe { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--weiss); padding: .6rem 1rem; }
.springe:focus { top: 1rem; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 0.98; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--s6); font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: var(--s5); }
h3 { font-size: var(--s3); line-height: 1.05; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: var(--s1); line-height: 1.55; max-width: 38em; color: var(--text-2); }
.dunkel .lead { color: rgba(250, 250, 248, 0.78); }

.rahmen { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.dunkel { background: var(--anthrazit); color: var(--weiss); }
.tief { background: var(--anthrazit-tief); color: var(--weiss); }
.weiss { background: var(--weiss); }

/* ─── Knöpfe ─── */
.knopf {
  --bg: var(--anthrazit);
  --fg: var(--weiss);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 2px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--takt), transform .4s var(--takt);
}
.knopf::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--messing);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--takt);
}
.knopf:hover::before { transform: scaleX(1); transform-origin: left; }
.knopf:hover { color: var(--anthrazit-tief); }
.knopf.messing { --bg: var(--messing); --fg: var(--anthrazit-tief); }
.knopf.messing::before { background: var(--weiss); }
.knopf.hell { --bg: var(--weiss); --fg: var(--anthrazit); }
.knopf.leise { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.knopf.leise:hover { color: var(--anthrazit-tief); box-shadow: inset 0 0 0 1.5px var(--messing); }
.knopf.breit { width: 100%; }
.knopf:disabled { opacity: .55; cursor: wait; }
.knopf svg { width: 1.1em; height: 1.1em; flex: none; }
.textlink { font-weight: 600; text-decoration: none; background: linear-gradient(var(--messing), var(--messing)) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--takt); }
.textlink:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ─── Maßlinie: das wiederkehrende Gestaltungselement ─── */
.masslinie { position: relative; display: flex; align-items: center; gap: .9rem; color: var(--messing); font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; }
.masslinie::before, .masslinie::after { content: ''; flex: 1; height: 1.5px; background: currentColor; }
.masslinie > span { position: relative; white-space: nowrap; }
.masslinie .tick { position: absolute; top: 50%; width: 1.5px; height: 18px; margin-top: -9px; background: currentColor; }
.masslinie .tick.l { left: 0; }
.masslinie .tick.r { right: 0; }

/* ─── Kopf ─── */
.kopf { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--kopf-h); color: var(--weiss); transition: background .5s var(--takt), color .5s var(--takt), transform .5s var(--takt), box-shadow .5s; }
.kopf .rahmen { height: 100%; display: flex; align-items: center; gap: 2rem; }
.kopf.fest { background: rgba(250, 250, 248, .92); color: var(--anthrazit); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linie); }
.kopf.weg { transform: translateY(-100%); }
body.hell-start .kopf { color: var(--anthrazit); }
.logo { display: inline-flex; color: inherit; text-decoration: none; flex: none; }
.logo { align-items: center; gap: .55rem; }
.logo-bild { display: block; height: 3.9rem; width: auto; aspect-ratio: 1040 / 500; flex: none; }
.fuss .logo-bild { height: 4.6rem; }
@media (max-width: 640px) { .logo-bild { height: 3.2rem; } }
.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--messing); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--takt); }
.nav a:hover::after, .nav a[aria-current=page]::after { transform: scaleX(1); transform-origin: left; }
.kopf .knopf { min-height: 44px; padding: .6rem 1.15rem; font-size: 1.08rem; }
.kopf:not(.fest) .knopf { --bg: var(--weiss); --fg: var(--anthrazit); }
body.hell-start .kopf:not(.fest) .knopf { --bg: var(--anthrazit); --fg: var(--weiss); }
.menue-knopf { display: none; margin-left: auto; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; position: relative; }
.menue-knopf span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .45s var(--takt), opacity .3s; }
.menue-knopf span:nth-child(1) { top: 18px; }
.menue-knopf span:nth-child(2) { top: 28px; }
.menue-offen .menue-knopf span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menue-offen .menue-knopf span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
.menue { position: fixed; inset: 0; z-index: 90; background: var(--anthrazit-tief); color: var(--weiss); padding: calc(var(--kopf-h) + 2rem) var(--rand) 2rem; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--takt); visibility: hidden; }
.menue-offen .menue { clip-path: inset(0 0 0 0); visibility: visible; }
.menue-offen .kopf { color: var(--weiss); background: transparent; box-shadow: none; }
.menue nav { display: flex; flex-direction: column; }
.menue nav a { font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 3.6rem); font-weight: 600; line-height: 1.12; text-decoration: none; }
.menue nav a span { color: var(--messing); font-size: .4em; vertical-align: super; margin-left: .3em; }
.menue .menue-fuss { color: rgba(250,250,248,.7); font-size: .95rem; }

@media (max-width: 1080px) {
  .nav, .kopf .kopf-cta { display: none; }
  .menue-knopf { display: block; }
}

/* ─── Hero ─── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--weiss); overflow: hidden; background: var(--anthrazit-tief); }
.hero-medien { position: absolute; inset: 0; }
.hero-medien video, .hero-medien img { width: 100%; height: 100%; object-fit: cover; }
.hero-medien::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,48,51,.55) 0%, rgba(43,48,51,0) 26%, rgba(43,48,51,.25) 48%, rgba(43,48,51,.9) 100%); }
.hero-inhalt { position: relative; z-index: 2; padding-block: calc(var(--kopf-h) + 4rem) clamp(2.5rem, 6vh, 4.5rem); }
.hero h1 { max-width: 11ch; }
.h1-thema { display: block; max-width: 30rem; margin-bottom: 1.1rem; font-family: var(--f-text); font-size: clamp(.95rem, 1.2vw, 1.1rem); font-weight: 500; line-height: 1.4; letter-spacing: 0; color: rgba(250,250,248,.88); text-shadow: 0 1px 14px rgba(0,0,0,.35); }
h1 .zeile { display: block; overflow: hidden; padding-bottom: .04em; }
h1 .zeile > span { display: inline-block; }
.hero-mass { width: min(100%, 640px); margin: 1.6rem 0 1.8rem; }
.hero-fuss { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 2rem 4rem; align-items: end; justify-content: space-between; }
.hero-fuss .lead { margin: 0; color: rgba(250,250,248,.9); text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-fakten { display: flex; flex-wrap: wrap; gap: .6rem 2.4rem; margin: 3rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(250,250,248,.22); list-style: none; font-size: .95rem; color: rgba(250,250,248,.85); }
.hero-fakten li { display: flex; gap: .6rem; align-items: center; }
.hero-fakten li::before { content: ''; width: 7px; height: 7px; background: var(--messing); transform: rotate(45deg); }
@media (max-width: 860px) { .hero-fuss { grid-template-columns: 1fr; } }

/* ─── Aussage mit Scroll-Füllung ─── */
/* Kurze Aussage mit Wort-für-Wort-Füllung (Unterseiten) */
.aussage { background: var(--weiss); padding-block: clamp(3.5rem, 7vw, 6rem); }
.aussage [data-fuellen] { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.12; max-width: 32ch; margin: 0; }
.aussage .w { color: rgba(56,62,66,.18); transition: color .2s; }
.aussage .w.an { color: var(--anthrazit); }

/* Preis-Schnellcheck: Versprechen links, Rechner rechts */
.warum { background: var(--weiss); padding-block: clamp(4.5rem, 9vw, 8rem); }
.warum-raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.warum-kopf { position: sticky; top: calc(var(--kopf-h, 80px) + 2rem); }
.warum-kopf h2 { font-size: clamp(2.1rem, 3vw, 2.8rem); max-width: 19ch; }
.warum-kopf .lead { margin: 1.2rem 0 2rem; max-width: 30em; }
.warum-sicher { background: var(--anthrazit); color: var(--weiss); padding: clamp(1.25rem, 2.2vw, 1.8rem); border-top: 3px solid var(--messing); }
.warum-sicher p { margin: 0 0 1.3rem; color: rgba(250,250,248,.8); line-height: 1.55; }
.warum-sicher b { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--weiss); line-height: 1.15; margin-bottom: .35rem; }
.warum-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.warum-sicher .textlink { color: var(--weiss); }
.warum-vergleich { display: grid; }
.wv-kopf, .wv-zeile { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.6rem; }
.wv-kopf { padding-bottom: .9rem; border-bottom: 2px solid var(--anthrazit); font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.wv-thema-k { visibility: hidden; }
.wv-alt-k { color: var(--text-2); }
.wv-neu-k { color: var(--messing-text); }
.wv-zeile { padding: 1.5rem 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.wv-thema { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--text); }
.wv-alt { color: var(--text-2); font-size: .97rem; line-height: 1.5; }
.wv-alt s { text-decoration: none; background: linear-gradient(rgba(91,98,102,.7), rgba(91,98,102,.7)) 0 58% / 100% 1.5px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .9s var(--takt); }
.wv-neu { position: relative; padding-left: 1.9rem; color: var(--text); font-size: 1.02rem; font-weight: 500; line-height: 1.5; transition: opacity .7s var(--takt), transform .7s var(--takt); }
.wv-neu::before { content: ''; position: absolute; left: 0; top: .38rem; width: 13px; height: 7px; border-left: 2px solid var(--messing); border-bottom: 2px solid var(--messing); transform: rotate(-45deg); }
.js-warum .wv-zeile:not(.an) .wv-alt s { background-size: 0% 1.5px; }
.js-warum .wv-zeile:not(.an) .wv-neu { opacity: .25; transform: translateX(-8px); }
@media (max-width: 1000px) {
  .warum-raster { grid-template-columns: 1fr; row-gap: 0; }
  .warum-kopf .lead { margin: 1rem 0 2.2rem; }
  .warum-sicher { margin-top: 2.5rem; }
  .warum-kopf { position: static; display: contents; }
  .warum-kopf h2, .warum-kopf .lead { grid-column: 1; }
  .warum-sicher { order: 3; }
}
@media (max-width: 640px) {
  .wv-kopf { display: none; }
  .wv-zeile { grid-template-columns: 1fr; gap: .45rem; padding: 1.3rem 0; }
  .wv-alt::before { content: 'Üblich: '; }
  .wv-neu { font-size: 1rem; }
}

/* Über uns */
.ueber { background: var(--weiss); }
.ueber-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ueber-bild { position: relative; margin: 0; overflow: hidden; background: var(--alu-hell); height: clamp(380px, 46vw, 640px); }
.ueber-bild img { width: 100%; height: 100%; object-fit: cover; }
.ueber-bild figcaption { position: absolute; left: 0; bottom: 0; background: var(--anthrazit); color: var(--weiss); font-size: .88rem; padding: .7rem 1rem; border-top: 3px solid var(--messing); }
.ueber-text h2 { font-size: clamp(2.1rem, 3.5vw, 3.2rem); }
.ueber-text .lead { margin: 1.1rem 0 1.8rem; }
.ueber-versprechen { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
.ueber-versprechen li { border-top: 2px solid var(--messing); padding-top: .8rem; font-size: .92rem; color: var(--text-2); line-height: 1.45; }
.ueber-versprechen b { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: .2rem; line-height: 1.15; }
.ueber-karte { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; background: var(--hell); padding: 1.2rem 1.4rem; }
.ueber-karte p { margin: 0; font-size: .9rem; color: var(--text-2); }
.ueber-karte .name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--text); }
.ueber-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
@media (max-width: 900px) { .ueber-raster { grid-template-columns: 1fr; } .ueber-bild { height: clamp(260px, 62vw, 460px); } }
@media (max-width: 480px) { .ueber-versprechen { grid-template-columns: 1fr; } }

/* ─── Produkte (horizontal) ─── */
.produkte { background: var(--hell); overflow: hidden; }
.produkte-kopf { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.produkte-kopf h2 { max-width: 12ch; }
.produkte-band { display: flex; gap: clamp(1rem, 2vw, 1.75rem); padding-inline: var(--rand); width: max-content; }
.produkt { position: relative; width: min(78vw, 980px); flex: none; display: grid; grid-template-rows: auto 1fr; background: var(--weiss); text-decoration: none; color: inherit; }
.produkt-bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--alu-hell); }
.produkt-bild img, .produkt-bild video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--takt); }
.produkt:hover .produkt-bild img, .produkt:hover .produkt-bild video { transform: scale(1); }
.produkt-text { display: grid; grid-template-columns: 1fr auto; gap: .5rem 2rem; padding: clamp(1.25rem, 2.4vw, 2rem); align-items: end; }
.produkt-text h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.produkt-text p { grid-column: 1; margin: 0; color: var(--text-2); max-width: 34em; }
.produkt-preis { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-family: var(--f-display); }
.produkt-preis small { display: block; font-size: .95rem; color: var(--text-2); font-weight: 500; }
.produkt-preis strong { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
.produkt-links { grid-column: 1 / -1; display: flex; gap: 1.5rem; margin-top: 1rem; align-items: center; flex-wrap: wrap; }
/* Auf breiten Bildschirmen ist der Abschnitt fixiert: alles muss in eine Bildschirmhöhe passen */
@media (min-width: 761px) {
  .produkte.abschnitt { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--kopf-h) + 1.5rem) 2rem; }
  .produkte-kopf { margin-bottom: clamp(1.25rem, 2.5vh, 2rem); }
  .produkte-kopf h2 { max-width: none; font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
  .produkt { width: min(64vw, 880px); }
  .produkt-bild { aspect-ratio: auto; height: clamp(200px, calc(100svh - var(--kopf-h) - 25rem), 560px); }
  .produkt-text { padding: clamp(1rem, 2vh, 1.6rem) clamp(1.25rem, 2vw, 1.75rem); }
  .produkt-text h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  .produkt-links { margin-top: .5rem; }
}
@media (max-width: 760px) {
  .produkte-band { flex-direction: column; width: auto; }
  .produkt { width: 100%; }
  .produkt-text { grid-template-columns: 1fr; }
  .produkt-preis { grid-column: 1; grid-row: auto; text-align: left; }
}

/* ─── Ablauf ─── */
.ablauf-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); counter-reset: a; }
.ablauf-schritt { counter-increment: a; position: relative; padding: 2rem 1.75rem 2.2rem 0; border-top: 1.5px solid var(--alu); }
.ablauf-schritt + .ablauf-schritt { padding-left: 1.75rem; border-left: 1px solid var(--linie); }
.ablauf-schritt::before { content: counter(a); display: block; font-family: var(--f-display); font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--messing); margin-bottom: 1.2rem; }
.ablauf-schritt .linie { position: absolute; left: 0; top: -1.5px; height: 1.5px; width: 100%; background: var(--anthrazit); transform: scaleX(0); transform-origin: left; }
.ablauf-schritt h3 { font-size: 1.75rem; margin-bottom: .6rem; }
.ablauf-schritt p { color: var(--text-2); font-size: .98rem; margin: 0; }
.ablauf-schritt .klein { display: block; margin-top: .9rem; font-size: .88rem; color: var(--messing-text); font-weight: 600; }
.ablauf-alt { margin-top: 2.5rem; padding: 1.4rem 1.6rem; background: var(--weiss); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.ablauf-alt p { margin: 0; }
@media (max-width: 900px) {
  .ablauf-raster { grid-template-columns: 1fr 1fr; }
  .ablauf-schritt:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .ablauf-raster { grid-template-columns: 1fr; }
  .ablauf-schritt, .ablauf-schritt + .ablauf-schritt { padding-left: 0; border-left: 0; }
}

/* ─── Projekte / Galerie ─── */
.projekte-kopf { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.projekte-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
.projekt-bild { position: relative; overflow: hidden; margin: 0; background: var(--alu-hell); }
.projekt-bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.projekt-bild figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; color: var(--weiss); font-size: .92rem; background: linear-gradient(transparent, rgba(43,48,51,.75)); transform: translateY(100%); transition: transform .5s var(--takt); }
.projekt-bild:hover figcaption, .projekt-bild:focus-within figcaption { transform: none; }
.projekte-raster .projekt-bild:nth-child(1) { grid-column: span 7; height: clamp(300px, 36vw, 560px); }
.projekte-raster .projekt-bild:nth-child(2) { grid-column: span 5; height: clamp(300px, 36vw, 560px); }
.projekte-raster .projekt-bild:nth-child(3) { grid-column: span 4; aspect-ratio: 1; }
.projekte-raster .projekt-bild:nth-child(4) { grid-column: span 4; aspect-ratio: 1; }
.projekte-raster .projekt-bild:nth-child(5) { grid-column: span 4; aspect-ratio: 1; }
.projekte-raster .projekt-bild:nth-child(6) { grid-column: span 5; height: clamp(300px, 36vw, 560px); }
.projekte-raster .projekt-bild:nth-child(7) { grid-column: span 7; height: clamp(300px, 36vw, 560px); }
@media (max-width: 760px) {
  .projekte-kopf { grid-template-columns: 1fr; }
  .projekte-raster .projekt-bild:nth-child(n) { grid-column: span 12; aspect-ratio: 4 / 3; height: auto; }
  .projekt-bild figcaption { transform: none; }
}

/* ─── Glas oder Polycarbonat ─── */
.vergleich { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.umschalter { display: inline-flex; padding: 4px; background: rgba(250,250,248,.08); border: 1px solid rgba(250,250,248,.18); margin: 1.5rem 0 2rem; }
.umschalter button { border: 0; background: transparent; color: rgba(250,250,248,.7); padding: .6rem 1.3rem; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; cursor: pointer; transition: background .4s var(--takt), color .4s; }
.umschalter button[aria-pressed=true] { background: var(--messing); color: var(--anthrazit-tief); }
.vergleich-tabelle { width: 100%; border-collapse: collapse; }
.vergleich-tabelle th, .vergleich-tabelle td { text-align: left; padding: 1.05rem 0; border-bottom: 1px solid rgba(250,250,248,.14); vertical-align: top; }
.vergleich-tabelle th { width: 38%; font-weight: 500; color: rgba(250,250,248,.65); font-size: .95rem; padding-right: 1rem; }
.vergleich-tabelle td { font-size: 1.05rem; }
.vergleich-tabelle td strong { display: block; font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; }
.balken { display: block; height: 4px; margin-top: .55rem; background: rgba(250,250,248,.14); }
.balken i { display: block; height: 100%; background: var(--messing); transform-origin: left; transition: transform .8s var(--takt); }
@media (max-width: 860px) { .vergleich { grid-template-columns: 1fr; } }

/* ─── Filmband ─── */
.filmband { position: relative; height: max(520px, 80svh); overflow: hidden; background: var(--anthrazit-tief); color: var(--weiss); }
.filmband-medien { position: absolute; inset: -10% 0; }
.filmband-medien video, .filmband-medien img { width: 100%; height: 100%; object-fit: cover; }
.filmband::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,48,51,.78), rgba(43,48,51,.1) 70%); }
.filmband .rahmen { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.filmband h2 { max-width: 17ch; font-size: clamp(2.3rem, 4.4vw, 4rem); }
.filmband p { max-width: 30em; margin-top: 1.5rem; color: rgba(250,250,248,.85); font-size: var(--s1); }

/* ─── FAQ ─── */
.faq-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); }
.faq-liste { border-top: 1.5px solid var(--anthrazit); }
.faq-liste details { border-bottom: 1px solid var(--linie); }
.faq-liste summary { list-style: none; display: grid; grid-template-columns: 1fr 28px; gap: 1rem; align-items: center; padding: 1.35rem 0; cursor: pointer; font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 600; line-height: 1.15; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: ''; width: 28px; height: 28px; background: linear-gradient(var(--messing), var(--messing)) center / 16px 2px no-repeat, linear-gradient(var(--messing), var(--messing)) center / 2px 16px no-repeat; transition: transform .45s var(--takt); }
.faq-liste details[open] summary::after { transform: rotate(135deg); }
.faq-antwort { padding: 0 3rem 1.6rem 0; color: var(--text-2); max-width: 44em; }
.faq-antwort p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq-raster { grid-template-columns: 1fr; } }

/* ─── Schluss ─── */
.schluss { position: relative; overflow: hidden; }
.schluss-raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.schluss h2 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); max-width: 17ch; }
.schluss-lead { margin-top: 1.1rem; max-width: 30em; color: rgba(250,250,248,.78); font-size: var(--s1); }
.schluss .knopf { margin-top: 2rem; }
.adresse { font-style: normal; display: grid; gap: 1.2rem; padding: 2rem; background: rgba(250,250,248,.06); border: 1px solid rgba(250,250,248,.14); }
.adresse h3 { font-size: 1.6rem; }
.adresse p { margin: 0; color: rgba(250,250,248,.82); }
.adresse a { text-decoration: none; }
.adresse a:hover { color: var(--messing); }
@media (max-width: 860px) { .schluss-raster { grid-template-columns: 1fr; } }

/* ─── Fuß ─── */
.fuss { background: var(--anthrazit-tief); color: rgba(250,250,248,.75); padding: 4.5rem 0 2rem; font-size: .95rem; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.fuss h4 { font-size: 1.25rem; color: var(--weiss); margin-bottom: 1rem; font-weight: 600; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--messing); }
.fuss .logo { color: var(--weiss); margin-bottom: 1.2rem; }
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,250,248,.12); font-size: .85rem; }
@media (max-width: 860px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-raster > :first-child, .fuss-raster > :last-child { grid-column: 1 / -1; } }
.fuss a[href^="mailto"] { white-space: nowrap; }

/* ─── Unterseiten ─── */
.seitenkopf { position: relative; padding: calc(var(--kopf-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 5rem); background: var(--weiss); }
.seitenkopf h1 { font-size: clamp(3rem, 8vw, 7rem); max-width: 14ch; }
.seitenkopf .lead { margin-top: 1.5rem; }
.brotkrumen { display: flex; gap: .5rem; font-size: .9rem; color: var(--text-2); margin-bottom: 1.5rem; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: var(--messing-text); }

.produktheld { position: relative; min-height: 88svh; display: grid; align-items: end; color: var(--weiss); overflow: hidden; background: var(--anthrazit-tief); }
.produktheld .hero-medien::after { background: linear-gradient(180deg, rgba(43,48,51,.5), rgba(43,48,51,0) 30%, rgba(43,48,51,.85)); }
.produktheld .rahmen { position: relative; z-index: 2; padding-block: calc(var(--kopf-h) + 3rem) 3.5rem; }
.produktheld h1 { font-size: clamp(2.9rem, 7.8vw, 7.4rem); max-width: 17ch; }
.produktheld .brotkrumen { color: rgba(250,250,248,.75); }
.produktheld-fuss { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: end; margin-top: 1.5rem; }
.produktheld-fuss .lead { margin: 0; color: rgba(250,250,248,.85); }
.preis-gross { font-family: var(--f-display); }
.preis-gross small { display: block; font-size: 1rem; color: rgba(250,250,248,.75); font-weight: 500; }
.preis-gross strong { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; line-height: 1; }

.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; } }
.merkmale { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--anthrazit); }
.merkmale li { display: grid; grid-template-columns: minmax(0, 13rem) 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--linie); }
.merkmale li b { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.merkmale li span { color: var(--text-2); }
@media (max-width: 560px) { .merkmale li { grid-template-columns: 1fr; gap: .2rem; } }
.optionen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .optionen { grid-template-columns: repeat(3, 1fr); } }
.option { background: var(--weiss); padding: 1.6rem; border-top: 3px solid var(--messing); }
.option h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.option p { margin: 0; color: var(--text-2); font-size: .98rem; }

.galerie-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.galerie-filter button { border: 1.5px solid var(--alu); background: transparent; padding: .55rem 1.1rem; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.galerie-filter button[aria-pressed=true] { background: var(--anthrazit); border-color: var(--anthrazit); color: var(--weiss); }
.galerie { columns: 3 320px; column-gap: 1rem; }
.galerie figure { break-inside: avoid; margin: 0 0 1rem; position: relative; overflow: hidden; background: var(--alu-hell); cursor: zoom-in; }
.galerie figure img { width: 100%; height: auto; transition: transform 1s var(--takt); }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { padding: .8rem 0 .2rem; font-size: .95rem; background: var(--hell); }
.galerie figcaption b { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.galerie figure[hidden] { display: none; }
.leuchtkasten:not([open]) { display: none; }
.leuchtkasten { position: fixed; inset: 0; z-index: 300; background: rgba(43,48,51,.94); display: grid; place-items: center; padding: 4rem 1rem 2rem; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: var(--weiss); }
.leuchtkasten img { max-height: 80svh; width: auto; margin: 0 auto; }
.leuchtkasten p { text-align: center; margin-top: 1rem; }
.leuchtkasten button { position: absolute; top: 1rem; right: 1rem; }

.prosa > * { max-width: 46rem; }
.prosa h2 { font-size: 2.2rem; margin: 2.5rem 0 1rem; }
.prosa h3 { font-size: 1.5rem; margin: 1.8rem 0 .6rem; }
.prosa p, .prosa li { color: var(--text-2); }
.prosa a { color: var(--messing-text); }
.hinweis-platzhalter { background: #fff4dc; border-left: 4px solid var(--messing); padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .95rem; }

/* ─── Kontaktformular (Startseite) ─── */
.formular { display: grid; gap: 1rem; }
.formular .zeile2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feld { display: grid; gap: .35rem; }
.feld span { font-size: .9rem; font-weight: 500; }
.feld input, .feld textarea, .feld select { width: 100%; font: inherit; color: var(--text); background: var(--weiss); border: 1.5px solid var(--alu-hell); border-radius: 2px; padding: .8rem .9rem; transition: border-color .3s; }
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--messing); outline: none; }
.dunkel .feld input, .dunkel .feld textarea, .dunkel .feld select { background: rgba(250,250,248,.06); color: var(--weiss); border-color: rgba(250,250,248,.22); }
.einwilligung { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; font-size: .88rem; align-items: start; }
.einwilligung input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--messing); }
@media (max-width: 560px) { .formular .zeile2 { grid-template-columns: 1fr; } }

/* ─── Bewegung: Startzustände nur mit JS ─── */
.js [data-auftritt] { opacity: 0; }
.js .clip-auf { clip-path: inset(100% 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js [data-auftritt] { opacity: 1; }
  .js .clip-auf { clip-path: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Seitenübergang */
.vorhang { position: fixed; inset: 0; z-index: 500; background: var(--anthrazit-tief); pointer-events: none; transform: scaleY(0); transform-origin: bottom; }
.vergleich-tabelle em { display: block; font-style: normal; font-size: .92rem; color: rgba(250,250,248,.68); margin-top: .15rem; }
.dunkel .option { background: rgba(250,250,248,.05); }
.dunkel .option p { color: rgba(250,250,248,.75); }
.dunkel .option a { color: var(--messing); }
.js .hero-mass::before { transform-origin: right; animation: masszug 1.4s .85s var(--takt) both; }
.js .hero-mass::after { transform-origin: left; animation: masszug 1.4s .85s var(--takt) both; }
@keyframes masszug { from { transform: scaleX(0); } }
.formular-fehler { font-size: .92rem; color: #f3c9bd; }

/* ─── Live-Planer (Startseite) ─── */
.planer { background: var(--anthrazit); color: var(--weiss); padding: clamp(3.5rem, 8vw, 7rem) 0; }
.planer-rahmen { width: min(100% - 2 * var(--rand), 1320px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.planer-bild { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #c9d1d4; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.planer-3d { position: absolute; inset: 0; }
.planer-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.planer-laedt { position: absolute; inset: auto 0 50% 0; text-align: center; color: var(--anthrazit); font-size: .9rem; margin: 0; transition: opacity .6s; }
.planer.bereit .planer-laedt { opacity: 0; }
.planer-hinweis { position: absolute; left: 1rem; bottom: 1rem; margin: 0; font-size: .8rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--anthrazit); opacity: 0; transition: opacity .6s; z-index: 3; }
.planer.bereit .planer-hinweis { opacity: 1; }
.planer-steuerung h2 { margin-bottom: .8rem; }
.planer-steuerung .lead { color: rgba(250,250,248,.74); margin-bottom: 1.6rem; }
.planer-produkte, .planer-dach { display: flex; gap: .35rem; padding: 4px; background: rgba(250,250,248,.08); border-radius: 999px; margin-bottom: 1.4rem; }
.planer-produkte button, .planer-dach button { flex: 1; border: 0; background: transparent; color: rgba(250,250,248,.8); font: 600 1rem/1 var(--f-display); letter-spacing: .01em; padding: .75rem .6rem; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.planer-produkte button[aria-checked=true], .planer-dach button[aria-checked=true] { background: var(--weiss); color: var(--anthrazit-tief); }
.planer-produkte button:focus-visible, .planer-dach button:focus-visible { outline: 2px solid var(--messing); outline-offset: 2px; }
.planer-dach[hidden] { display: none; }
.planer-regler { display: block; margin-bottom: 1.2rem; }
.planer-regler span { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; color: rgba(250,250,248,.74); margin-bottom: .45rem; }
.planer-regler output { font: 600 1.35rem/1 var(--f-display); color: var(--weiss); }
.planer-regler input { width: 100%; accent-color: var(--messing); }
.planer-preis { display: grid; gap: .25rem; border-top: 1px solid rgba(250,250,248,.16); padding-top: 1.2rem; margin: .4rem 0 1.4rem; }
.planer-preis strong { font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--f-display); color: var(--messing); }
.planer-preis strong.anfrage { font-size: 1.8rem; color: var(--weiss); }
.planer-preis span { font-size: .88rem; color: rgba(250,250,248,.7); }
.planer-klein { font-size: .85rem; color: rgba(250,250,248,.6); margin: .9rem 0 0; }
@media (max-width: 900px) {
  .planer-rahmen { grid-template-columns: 1fr; }
  .planer-bild { aspect-ratio: 4 / 3.2; margin: 0 calc(-1 * var(--rand)); border-radius: 0; }
}

/* Konfiwerk-Hinweis im Footer */
a.kw-credit.kw-credit{display:inline-flex;align-items:center;gap:.45em;color:inherit;opacity:.72;text-decoration:none;line-height:1;white-space:nowrap;transition:opacity .2s}a.kw-credit.kw-credit:hover,a.kw-credit.kw-credit:focus-visible{opacity:1;color:inherit;text-decoration:none}a.kw-credit.kw-credit svg{width:1.05em;height:1.05em;flex:none;display:block}a.kw-credit.kw-credit span,a.kw-credit.kw-credit strong{display:inline}a.kw-credit.kw-credit strong{font-weight:700;letter-spacing:.01em}
