:root {
  /* CI-Farben */
  --graphit: #17191B;
  --anthrazit: #43484D;
  --beton: #C7C4BC;
  --weiss: #F3F1EA;
  --rot: #D2382F;          /* DALGA-Rot: Logo, Flächen, Buttons, Linien */
  --rot-dunkel: #AE2B23;   /* Dunkelrot: kleiner Text auf Hell */
  --ziegel: var(--rot);
  /* Rollen (helles Beton-Thema, Palette mit ChatGPT abgestimmt) */
  --bg: #E3E1DB;           /* Sichtbeton hell */
  --bg-2: #D5D2CA;         /* abgesetzte Flächen */
  --surface: #F3F1EA;      /* Karten, Formularfelder */
  --fg: #17191B;           /* Text (13,3 : 1) */
  --fg-2: #6A6A64;         /* zweite Textebene, Akzentzeilen */
  --muted: #565A5E;        /* gedämpfter Text (≥ 4,6 : 1 auch auf Flächen #D5D2CA) */
  --line: #B7B3AA;         /* Linien */
  --line-soft: rgba(23, 25, 27, .1);
  --akzent: #AE2B23;       /* kleiner roter Text auf Hell (5,1 : 1) */
  --f-head: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background-color: var(--bg); overscroll-behavior-y: none; } /* kein Gummiband-Überscrollen (iOS/Trackpad) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background-color: var(--bg);
  /* Betonstruktur: großflächige Wolken + feine Poren, sehr dezent */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)' opacity='.09'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 1.4 -.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.05'/%3E%3C/svg%3E");
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--fg-2); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
::selection { background: var(--rot); color: #fff; }

/* ---------- Fixed layers ---------- */
#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.label3d {
  position: absolute; left: 0; top: 0; will-change: transform, opacity;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--weiss); white-space: nowrap; opacity: 0;
}
.label3d::before { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--rot); }
.label3d i { position: absolute; left: 0; bottom: 0; width: 1px; background: rgba(23,25,27,.45); transform-origin: bottom; }
.label3d span { position: absolute; left: 8px; transform: translateY(-100%); padding: 3px 7px; line-height: 1.35; background: rgba(23,25,27,.86); border: 1px solid rgba(23,25,27,.9); }
.label3d.flip span { left: auto; right: 8px; }
.label3d b { color: #F06B5F; font-weight: 500; margin-right: 6px; }
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 60; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--rot); pointer-events: none; mix-blend-mode: multiply;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); opacity: 0;
}
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: hover) and (pointer: fine) { .cursor { opacity: 1; } }

main { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
}
.loader__layers { display: flex; gap: 6px; height: 120px; align-items: flex-end; }
.loader__layers span { width: 14px; height: 100%; transform: scaleY(0); transform-origin: bottom; }
.loader__layers span:nth-child(1) { background: var(--beton); }
.loader__layers span:nth-child(2) { background: var(--ziegel); }
.loader__layers span:nth-child(3) { background: #C9B98A; width: 34px; }
.loader__layers span:nth-child(4) { background: #9a978f; width: 4px; }
.loader__layers span:nth-child(5) { background: var(--anthrazit); }
.loader__meta { display: flex; gap: 24px; color: var(--muted); }
.loader__count { color: var(--fg); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(227,225,219,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; }
/* Rote Linie über die Satzbreite – wie im Briefkopf */
.nav::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: var(--rot); transform-origin: left; }
/* Logo wie alter Briefkopf: Wortmarke + „Bau GmbH“ links, Bildzeichen rechts */
.nav { --lh: 22px; --ease-logo: cubic-bezier(.4, 0, .2, 1); }
.nav__logo { display: flex; align-items: baseline; gap: calc(var(--lh) * .4); color: var(--anthrazit); text-decoration: none; }
.nav__word { display: block; height: var(--lh); width: calc(var(--lh) * 941.9 / 232); align-self: center; }
.nav__word svg { display: block; height: 100%; width: 100%; }
.nav__sub { font-family: var(--f-head); font-weight: 500; font-size: calc(var(--lh) * .78); letter-spacing: -.01em; color: var(--anthrazit); white-space: nowrap; overflow: hidden; max-width: 7em;
  transition: max-width .22s var(--ease-logo), opacity .18s var(--ease-logo); }
.nav.is-compact .nav__sub { max-width: 0; opacity: 0; }
.nav__mark-link { display: block; flex: none; }
.nav__mark { display: block; height: calc(var(--lh) * 1.5); width: calc(var(--lh) * 1.5 * 534 / 359); transition: height .22s var(--ease-logo), width .22s var(--ease-logo); }
.nav.is-compact .nav__mark { height: calc(var(--lh) * 1.15); width: calc(var(--lh) * 1.15 * 534 / 359); }
@media (prefers-reduced-motion: reduce) { .nav__sub, .nav__mark { transition: none; } }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .3s; }
.nav__links a:hover { color: var(--fg); }
@media (max-width: 860px) { .nav { --lh: 18px; } .nav__sub { display: none; } }

/* Mobiles Menü: Burger rechts, Links als Vollbild-Ebene unter Logo und Burger */
.nav__burger, .nav__links .nav__menu-cta { display: none; }
@media (max-width: 860px) {
  .nav__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin: -6px -10px -6px 4px; padding: 0 11px; background: none; border: 0; cursor: pointer; color: var(--fg); }
  .nav__burger span { display: block; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .nav__burger:focus-visible { outline: 2px solid var(--rot); outline-offset: -4px; border-radius: 4px; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: -1;
    flex-direction: column; justify-content: center; gap: 0; padding: 96px var(--gutter) 48px;
    background: var(--bg); touch-action: none;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .nav__links a:not(.btn) { font-family: var(--f-head); font-weight: 500; font-size: clamp(30px, 9vw, 44px); letter-spacing: -.02em; color: var(--fg); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav__links .nav__menu-cta { display: inline-flex; align-self: flex-start; margin-top: 32px; color: var(--weiss); font-size: 15px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; line-height: 1.6;
  background: var(--fg); color: var(--weiss); font-family: var(--f-head); font-weight: 500; font-size: 15px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--rot); color: #fff; }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--weiss); }
.btn--small { padding: 10px 18px; font-size: 13px; white-space: nowrap; }
.btn--big { padding: 24px 40px; font-size: clamp(18px, 2vw, 24px); }

/* ---------- Type ---------- */
.eyebrow { color: var(--muted); margin: 0 0 24px; display: flex; align-items: center; gap: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 4px rgba(210,56,47,.16); }
.h2, .h3, .hero__title, .contact__title { font-family: var(--f-head); font-weight: 600; letter-spacing: -.035em; line-height: .98; margin: 0; }
.h2 { font-size: clamp(38px, 5.6vw, 96px); }
.h3 { font-size: clamp(34px, 4.4vw, 68px); }
.body { color: var(--muted); max-width: 46ch; font-size: 17px; }
h1, h2, h3, .hero__title, .contact__title, .values__pre { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
.body, .panel p, .step p { hyphens: auto; -webkit-hyphens: auto; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .w > span { display: inline-block; }
/* Schicht für Schicht: Überschriften bauen sich zeilenweise auf (fx.js setzt --ln je Zeile) */
.fx .split:not(.is-split) { visibility: hidden; }
.vt-svc .svcpage__title.split { visibility: visible; }
.fx .split .w > span { transform: translateY(110%); transition: transform 1.05s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--ln, 0) * 130ms); }
.fx .split.is-in .w > span { transform: none; }

/* ---------- 3D stages (invisible layout boxes the WebGL wall is fitted into) ---------- */
.stage { position: absolute; pointer-events: none; }
.hero .stage { top: 16vh; height: 68vh; left: 56%; right: var(--gutter); }
.system .stage { top: max(32vh, 370px); bottom: 10vh; left: 51%; right: calc(var(--gutter) + 190px); }
.process .stage { position: relative; grid-column: 1; grid-row: 1; align-self: stretch; margin: 4vh 0; }
.contact .stage { bottom: 22vh; height: 52vh; left: 58%; right: var(--gutter); }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .system__sticky { justify-content: flex-start; gap: 24px; }
  .system__text { max-width: none; }
  .system .stage { position: relative; inset: auto; flex: 1; min-height: 220px; margin: 290px 200px 16px 0; }
}

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; position: relative; display: flex; align-items: center; padding: 120px var(--gutter) 80px; }
.hero__inner { max-width: min(760px, 52vw); position: relative; z-index: 1; }
.hero__title { font-size: clamp(54px, 7.6vw, 140px); margin-bottom: 32px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: var(--fg-2); }
.hero__lead { color: var(--muted); max-width: 40ch; font-size: 18px; margin: 0 0 36px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 14px; color: var(--muted); }
.hero__scroll i { display: block; width: 64px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--rot); animation: scrollline 2.2s var(--ease) infinite; }
@keyframes scrollline { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hero__coords { position: absolute; right: var(--gutter); bottom: 32px; text-align: right; color: var(--muted); }

/* ---------- System ---------- */
.system { height: 260vh; position: relative; }
.system__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 140px var(--gutter) 48px; }
.system__text { max-width: min(820px, 47vw); }
.system__text .body { margin-top: 28px; }
.system__specs { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; flex-wrap: wrap; color: var(--muted); }
.system__specs span { color: var(--akzent); margin-right: 8px; }

/* ---------- Services: stepped panels ---------- */
.services { padding: 18vh var(--gutter) 22vh; }
.services__head { margin-bottom: 10vh; }
.services__stack { max-width: min(640px, 54vw); position: relative; }
.panel {
  position: sticky; display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 36px 36px 40px; margin-bottom: 18vh; min-height: 300px;
  background: linear-gradient(160deg, rgba(243,241,234,.9), rgba(233,231,225,.92));
  border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px -24px rgba(23,25,27,.35);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: border-color .5s;
}
.panel:nth-child(1) { top: 120px; }
.panel:nth-child(2) { top: 150px; margin-left: 3%; }
.panel:nth-child(3) { top: 180px; margin-left: 6%; }
.panel:nth-child(4) { top: 210px; margin-left: 9%; }
.panel:nth-child(5) { top: 240px; margin-left: 12%; margin-bottom: 0; }
.panel.is-active { border-color: var(--rot); }
.panel__num { color: var(--akzent); font-size: 14px; padding-top: 8px; }
.panel h3 { font-family: var(--f-head); font-weight: 600; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; margin: 0 0 14px; line-height: 1; }
.panel p { margin: 0 0 20px; color: var(--muted); }
.panel .tag { color: var(--fg-2); margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; background: var(--bg-2); position: relative; }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-head); font-size: clamp(36px, 5vw, 80px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.marquee span:nth-of-type(even) { -webkit-text-stroke: 1px var(--anthrazit); color: transparent; }
.marquee i { color: var(--ziegel); font-style: normal; font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Projects ---------- */
.projects { padding: 20vh var(--gutter); }
.projects__head { margin-bottom: 12vh; }
.projects__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.shot { margin: 0; }
.shot--a { grid-column: 1 / 7; }
.shot--b { grid-column: 8 / 13; margin-top: 24vh; }
.shot--c { grid-column: 3 / 9; margin-top: 6vh; }
.shot__img { overflow: hidden; aspect-ratio: 636 / 548; background: var(--bg-2); }
.shot__img img { width: 100%; height: 120%; object-fit: cover; transform: translateY(-8%) scale(1.08); }
.shot figcaption { margin-top: 14px; color: var(--muted); display: flex; gap: 16px; }
.shot figcaption span { color: var(--akzent); }
@media (max-width: 760px) {
  .shot--a, .shot--b, .shot--c { grid-column: 1 / -1; margin-top: 0; }
  .shot--b { margin-left: 12%; } .shot--c { margin-right: 12%; }
}

/* ---------- Profile ---------- */
.profile { padding: 18vh var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; border-top: 1px solid var(--line); }
.year { font-family: var(--f-head); font-weight: 700; letter-spacing: -.06em; line-height: .8; font-size: clamp(120px, 22vw, 360px); color: transparent; -webkit-text-stroke: 1.5px var(--anthrazit); font-variant-numeric: tabular-nums; }
.profile__since { color: var(--akzent); margin-top: 28px; }
.profile__content { display: grid; gap: 40px; }
.profile__photo { position: relative; width: min(100%, 420px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.profile__photo-tag { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); background: var(--fg); padding: 4px 10px; color: var(--weiss); font-size: 10px; }
.profile__text .body { margin-top: 20px; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { height: 400vh; position: relative; }
.process__sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; padding: 100px var(--gutter) 60px; }
.process__head { grid-column: 2; grid-row: 1; align-self: start; padding-top: 4vh; }
.process__bar { height: 2px; background: var(--line); margin-top: 32px; max-width: 360px; }
.process__bar i { display: block; height: 100%; width: 100%; background: var(--rot); transform: scaleX(0); transform-origin: left; }
.process__steps { grid-column: 2; grid-row: 1; align-self: end; list-style: none; margin: 0; padding: 0 0 4vh; position: relative; height: 40vh; }
.step { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.step.is-active { opacity: 1; transform: none; }
.step.is-past { opacity: 0; transform: translateY(-40px); }
.step span { color: var(--akzent); }
.step strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(64px, 9vw, 150px); letter-spacing: -.05em; line-height: .9; margin: 8px 0 18px; }
.step p { color: var(--muted); margin: 0; max-width: 34ch; font-size: 17px; }
@media (max-width: 860px) {
  .process__sticky { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; align-content: start; gap: 28px; }
  .process__head { grid-column: 1; grid-row: 1; padding-top: 0; }
  .process__steps { grid-column: 1; grid-row: 2; height: 210px; align-self: start; padding: 0; }
  .process .stage { grid-row: 3; margin: 0; min-height: 180px; }
  .step { top: 0; bottom: auto; }
  .step strong { font-size: 56px; margin: 6px 0 12px; }
  .step p { font-size: 15px; }
}

/* ---------- Values / prism ---------- */
.values { height: 320vh; position: relative; }
.values__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter); perspective: 1600px; }
.prism-wrap { display: flex; flex-direction: column; gap: 24px; }
.values__pre { font-family: var(--f-head); font-size: clamp(22px, 2.4vw, 34px); color: var(--muted); }
.prism { --h: clamp(80px, 13vw, 210px); position: relative; height: var(--h); transform-style: preserve-3d; }
.prism__face {
  position: absolute; inset: 0; display: flex; align-items: center;
  font-family: var(--f-head); font-weight: 700; letter-spacing: -.05em; line-height: 1;
  font-size: clamp(44px, 9.5vw, 170px); white-space: nowrap;
  backface-visibility: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.prism__face:nth-child(1) { transform: rotateX(0deg) translateZ(calc(var(--h) / 2)); }
.prism__face:nth-child(2) { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); color: var(--fg-2); }
.prism__face:nth-child(3) { transform: rotateX(-180deg) translateZ(calc(var(--h) / 2)); color: var(--rot); }
.prism__face:nth-child(4) { transform: rotateX(-270deg) translateZ(calc(var(--h) / 2)); }
.prism__face { overflow: hidden; }

/* ---------- Contact ---------- */
.contact { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 18vh var(--gutter) 32px; position: relative; }
.contact__title { font-size: clamp(44px, 7.6vw, 128px); margin-bottom: 8vh; max-width: 14ch; }
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 40px; margin-bottom: 8vh; }
.contact__grid p { margin: 0; font-size: 18px; }
.contact__grid .label { color: var(--akzent); font-size: 11px; margin-bottom: 12px; }
.contact__grid a { text-decoration: none; background: linear-gradient(var(--rot), var(--rot)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact__grid a:hover { background-size: 100% 1px; }
.stamp { transform-origin: left center; }
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); padding-top: 28px; margin-top: 12vh; border-top: 1px solid var(--line); font-size: 11px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--fg); }
@media (max-width: 760px) { .contact__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-top: 40vh; padding-bottom: 90px; }
  .hero__inner { max-width: none; }
  .hero .stage { top: 76px; height: calc(40vh - 96px); bottom: auto; left: var(--gutter); right: var(--gutter); }
  .system__sticky { justify-content: flex-start; gap: 20px; padding-bottom: 28px; }
  .system__text { max-width: none; }
  .system .stage { position: relative; inset: auto; flex: 1; min-height: 150px; }
  .system__specs { gap: 10px 24px; }
  .contact .stage { bottom: 26vh; height: 30vh; left: var(--gutter); right: var(--gutter); }
  .hero__title { font-size: clamp(40px, 12.4vw, 56px); margin-bottom: 20px; }
  .hero__lead { font-size: 16px; margin-bottom: 24px; }
  .btn { padding: 13px 20px; font-size: 14px; }
  .system__text .body { font-size: 15px; }
  .hero__coords { display: none; }
  .system__sticky { padding-top: 110px; }
  .services__stack { max-width: none; }
  .panel { grid-template-columns: 1fr; padding: 28px 24px; min-height: 0; margin-left: 0 !important; }
  .label3d { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track, .hero__scroll i::after { animation: none; }
}

/* ---------- Anfrage-Formular ---------- */
.inquiry { position: relative; padding: 18vh var(--gutter) 14vh; background: var(--bg-2); border-top: 1px solid var(--line); }
.inquiry__head { max-width: 760px; margin-bottom: 8vh; }
.inquiry__head .body { margin-top: 24px; }
.inquiry__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4vw; align-items: start; }
.qform { min-width: 0; }
.qform__progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 40px; flex-wrap: wrap; }
.qform__progress li { flex: 1 1 0; min-width: 120px; padding-top: 12px; border-top: 2px solid var(--line); color: var(--muted); font-size: 11px; transition: color .3s, border-color .3s; }
.qform__progress li span { color: inherit; margin-right: 6px; }
.qform__progress li.is-done { border-color: rgba(210,56,47,.45); color: var(--fg-2); }
.qform__progress li.is-current { border-color: var(--rot); color: var(--fg); }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1.1; padding: 0; margin-bottom: 8px; }
.qhint { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.qrow { display: grid; gap: 20px; margin-bottom: 22px; }
.qrow--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qrow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qfield { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qlabel { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--anthrazit); }
.qlabel small { text-transform: none; letter-spacing: 0; color: var(--muted); }
.qform input[type=text], .qform input[type=email], .qform input[type=tel], .qform input[type=number], .qform input[type=month], .qform select, .qform textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--surface);
  border: 1px solid var(--line); border-radius: 4px; padding: 14px 14px; transition: border-color .25s, background .25s;
  color-scheme: light;
}
.qform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--anthrazit) 50%), linear-gradient(135deg, var(--anthrazit) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--rot); background: #fff; }
.qform .is-invalid { border-color: var(--rot) !important; }
.qerror { color: var(--rot-dunkel); font-size: 14px; margin: 4px 0 0; }
.qnote { color: var(--akzent); font-size: 13px; margin: 0; min-height: 1em; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.choice__box b { font-family: var(--f-head); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.choice__box small { color: var(--muted); font-size: 13px; }
.choice:hover .choice__box { border-color: var(--anthrazit); }
.choice input:checked + .choice__box { border-color: var(--rot); background: #fff; box-shadow: inset 0 0 0 1px var(--rot); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--akzent); outline-offset: 2px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); background: var(--surface); transition: all .2s; }
.seg input:checked + span { border-color: var(--fg); color: var(--weiss); background: var(--fg); }
.seg input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.svc { margin: 34px 0 10px; padding-top: 26px; border-top: 1px dashed var(--line); }
.svc__title { color: var(--akzent); margin: 0 0 18px; font-weight: 500; }
.qlink { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--akzent); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.calc { padding: 18px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 22px; background: var(--surface); }
.calc__out { display: flex; align-items: center; min-height: 50px; font-size: 18px; color: var(--akzent); }
.drop { display: flex; align-items: center; justify-content: center; min-height: 110px; border: 1px dashed var(--anthrazit); border-radius: 4px; color: var(--muted); background: var(--surface); cursor: pointer; text-align: center; padding: 16px; transition: border-color .25s, background .25s; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop.is-over, .drop:hover { border-color: var(--rot); background: #fff; }
.files { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 11px; }
.files li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; }
.files button { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; color: var(--muted); font-size: 15px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rot); flex: none; }
.check a { color: var(--fg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 16px; }
.qform__nav { display: flex; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.qform__nav #qNext, .qform__nav #qSubmit { margin-left: auto; }
.qform__nav .btn[disabled] { opacity: .5; pointer-events: none; }
.qsummary { position: sticky; top: 110px; padding: 26px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.qsummary dl { margin: 0; display: grid; gap: 14px; }
.qsummary dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qsummary dd { margin: 4px 0 0; font-size: 15px; }
.qsummary__note { color: var(--muted); font-size: 10px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.qdone { grid-column: 1 / -1; padding: 48px; border: 1px solid var(--rot); border-radius: 4px; background: var(--surface); outline: none; }
.qdone .body { margin-top: 18px; max-width: 60ch; }
.qdone a { color: var(--akzent); }
@media (max-width: 1000px) { .inquiry__grid { grid-template-columns: 1fr; } .qsummary { position: static; order: -1; } }
@media (max-width: 760px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qrow--2, .qrow--3 { grid-template-columns: 1fr; }
  .qform__progress li { min-width: 0; font-size: 0; }
  .qform__progress li span { font-size: 11px; }
  .qsummary { display: none; }
  .qdone { padding: 28px; }
  .qform__nav .btn { padding: 14px 20px; }
}

/* ---------- SEO-H1 im Hero, Panel-Links, FAQ ---------- */
.hero__h1 { font-weight: 400; line-height: 1.5; letter-spacing: .06em; font-size: 12px; text-wrap: balance; }
.panel__more { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--fg); text-decoration: none; font-size: 11px; }
.panel__more span { color: var(--akzent); transition: transform .3s var(--ease); }
.panel__more:hover span { transform: translateX(4px); }
.faqsec { position: relative; padding: 16vh var(--gutter); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6vw; align-items: start; }
.faqsec__head { position: sticky; top: 120px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--f-head); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; color: var(--fg); text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font-size: 26px; color: var(--rot); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; }
.faq p { margin: 0 0 22px; color: var(--muted); max-width: 64ch; text-wrap: pretty; hyphens: auto; }
@media (max-width: 860px) { .faqsec { grid-template-columns: 1fr; } .faqsec__head { position: static; } }

/* ---------- Sprachumschalter ---------- */
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; }
.lang a { padding: 6px 7px; border-radius: 4px; color: var(--muted); text-decoration: none; transition: color .25s, background .25s; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current="true"] { color: var(--fg); background: rgba(23,25,27,.08); }
@media (max-width: 860px) { .nav__right { gap: 6px; } .lang a { padding: 6px 5px; } }
@media (max-width: 380px) { .nav .btn--small { padding: 9px 12px; font-size: 12px; } }
/* Griechisch: Großschreibung ohne Akzente übernimmt der Browser (lang="el") */
html[lang="el"] .hero__title { letter-spacing: -.045em; }
html[lang="el"] .h2 { font-size: clamp(34px, 5vw, 88px); }

/* Lange Wörter (v. a. Griechisch) in den Arbeitsschritten, schmale Navigation */
html[lang="el"] .step strong { font-size: clamp(40px, 6.2vw, 104px); }
@media (max-width: 760px) { .step strong { font-size: clamp(34px, 11vw, 56px) !important; } }
@media (max-width: 520px) { .nav__right .btn--small { display: none; } }
.choice, .choice__box { min-width: 0; }
.choice__box b, .choice__box small { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }

/* Menü ohne Wortmarke: links Anfrage + Sprache, Mitte Links, rechts Bildzeichen */
.nav__left { display: flex; align-items: center; gap: 14px; flex: 1 1 0; }
.nav__right { flex: 1 1 0; justify-content: flex-end; }
.nav__links { flex: 0 0 auto; }
.nav__mark-link:focus-visible { outline: 2px solid var(--rot); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 520px) { .nav__right .btn--small { display: none; } }
.label3d.is-foreign span { background: rgba(227,225,219,.94); color: var(--muted); border: 1px dashed var(--muted); }
.label3d.is-foreign::before { background: var(--muted); }
.label3d.is-foreign b { color: var(--muted); }

/* ---------- Referenzen ---------- */
.refs { position: relative; padding: 18vh var(--gutter); border-top: 1px solid var(--line); }
.refs__head { max-width: 820px; margin-bottom: 6vh; }
.refs__head .body { margin-top: 24px; }
.refs__stats { display: grid; grid-template-columns: auto auto 1fr; gap: 6vw; align-items: end; padding: 28px 0; margin-bottom: 40px; border-top: 2px solid var(--rot); border-bottom: 1px solid var(--line); }
.refs__stats b { display: block; white-space: nowrap; font-family: var(--f-head); font-weight: 600; font-size: clamp(40px, 5vw, 76px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.refs__stats .mono { color: var(--muted); font-size: 11px; display: block; margin-top: 8px; }
.refs__partners p { margin: 8px 0 0; font-family: var(--f-head); font-size: clamp(16px, 1.4vw, 20px); color: var(--fg); }
.refs__partners .mono { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 500 13px/1 var(--f-body); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--weiss); border-color: var(--fg); }
.chip:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }
.refs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ref { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.ref:hover { border-color: var(--anthrazit); transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(23,25,27,.45); }
.ref__group { margin: 0; color: var(--akzent); font-size: 10px; }
.ref__name { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; hyphens: auto; }
.ref__place { margin: -4px 0 0; color: var(--muted); font-size: 11px; }
.ref__work { list-style: none; margin: 6px 0 0; padding: 0; display: grid; align-content: start; gap: 6px; border-top: 1px solid var(--line-soft); padding-top: 12px; flex: 1; }
.ref__work li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--anthrazit); }
.ref__work li > span:first-child { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.ref__m2 { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--fg); font-weight: 500; }
.ref__partner { margin: 8px 0 0; font-size: 13px; color: var(--fg); padding-top: 12px; border-top: 1px solid var(--line-soft); }
.ref__partner .mono { display: block; font-size: 10px; color: var(--muted); margin-bottom: 2px; }
.refs__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.refs__note { color: var(--muted); font-size: 10px; margin: 0; }
.gallery { margin-top: 12vh; }
.gallery__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.03em; margin: 0 0 20px; }
.gallery__grid { list-style: none; margin: 0; padding: 0; columns: 4 240px; column-gap: 12px; }
.gallery__cell { break-inside: avoid; margin-bottom: 12px; }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; overflow: hidden; border-radius: 3px; }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease), filter .4s; filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.gallery__item:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(23,25,27,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243,241,234,.4); background: rgba(23,25,27,.6); color: var(--weiss); font-size: 18px; cursor: pointer; }
.lightbox__btn:hover { background: var(--rot); border-color: var(--rot); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 1000px) { .refs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .refs__stats { grid-template-columns: 1fr 1fr; } .refs__partners { grid-column: 1 / -1; } }
@media (max-width: 640px) { .refs__list { grid-template-columns: minmax(0, 1fr); } .ref { padding: 20px 18px 18px; } .gallery__grid { columns: 2 140px; column-gap: 8px; } .gallery__cell { margin-bottom: 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; } }

@media (max-width: 640px) { .refs__stats b { font-size: 38px; } }

/* Bildzeichen mit Schriftzug „dalga bau“ darunter – nur Desktop */
.nav__mark-link { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.nav__mark-text { display: none; }
@media (min-width: 861px) {
  .nav__mark { height: calc(var(--lh) * 1.6); width: calc(var(--lh) * 1.6 * 534 / 359); }
  .nav.is-compact .nav__mark { height: calc(var(--lh) * 1.25); width: calc(var(--lh) * 1.25 * 534 / 359); }
  .nav__mark-text { display: block; margin-top: 3px; font-family: var(--f-head); font-weight: 700; font-size: calc(var(--lh) * .5); line-height: 1; letter-spacing: -.01em; color: var(--anthrazit); white-space: nowrap; transition: font-size .22s var(--ease-logo), margin .22s var(--ease-logo); }
  .nav.is-compact .nav__mark-text { font-size: calc(var(--lh) * .4); margin-top: 2px; }
}

/* ---------- Putz-Maske: Bilder werden wie frisch abgezogener Putz freigelegt (Vorstrich + harte Kante) ---------- */
.fx .putz {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 100' preserveAspectRatio='none'%3E%3Cpath fill='%23000' fill-opacity='.35' d='M0 0 L134.9 0.0 L135.8 3.8 L135.4 11.1 L134.1 18.9 L135.5 25.8 L134.8 32.2 L137.1 39.8 L135.8 45.7 L136.0 49.6 L137.4 56.3 L134.0 63.8 L135.8 69.3 L134.8 73.0 L133.2 77.4 L136.3 81.3 L133.8 85.5 L136.8 91.0 L134.8 95.0 L136.8 100.0 L0 100Z'/%3E%3Cpath fill='%23000' d='M0 0 L127.4 0.0 L128.5 2.9 L128.1 5.5 L126.6 9.1 L126.5 13.1 L126.6 16.9 L127.8 19.6 L126.8 24.6 L128.4 27.7 L128.2 33.2 L129.5 36.8 L129.1 39.4 L126.9 42.7 L127.4 45.5 L127.0 50.5 L128.4 54.8 L128.2 58.4 L126.6 61.0 L128.6 64.0 L127.4 67.8 L127.9 72.1 L128.9 75.4 L127.2 80.1 L128.1 84.3 L128.7 89.5 L129.5 92.8 L127.7 95.6 L126.9 100.0 L0 100Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 100' preserveAspectRatio='none'%3E%3Cpath fill='%23000' fill-opacity='.35' d='M0 0 L134.9 0.0 L135.8 3.8 L135.4 11.1 L134.1 18.9 L135.5 25.8 L134.8 32.2 L137.1 39.8 L135.8 45.7 L136.0 49.6 L137.4 56.3 L134.0 63.8 L135.8 69.3 L134.8 73.0 L133.2 77.4 L136.3 81.3 L133.8 85.5 L136.8 91.0 L134.8 95.0 L136.8 100.0 L0 100Z'/%3E%3Cpath fill='%23000' d='M0 0 L127.4 0.0 L128.5 2.9 L128.1 5.5 L126.6 9.1 L126.5 13.1 L126.6 16.9 L127.8 19.6 L126.8 24.6 L128.4 27.7 L128.2 33.2 L129.5 36.8 L129.1 39.4 L126.9 42.7 L127.4 45.5 L127.0 50.5 L128.4 54.8 L128.2 58.4 L126.6 61.0 L128.6 64.0 L127.4 67.8 L127.9 72.1 L128.9 75.4 L127.2 80.1 L128.1 84.3 L128.7 89.5 L129.5 92.8 L127.7 95.6 L126.9 100.0 L0 100Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 1.5s cubic-bezier(.65, 0, .25, 1), mask-position 1.5s cubic-bezier(.65, 0, .25, 1);
}
.fx .putz.is-in { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* ---------- Seitenwechsel: rote Linie fährt über den Bildschirm und legt die neue Seite frei ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.nav { view-transition-name: nav; }
.is-internal .loader { display: none; } /* interner Seitenwechsel: kein zweiter Ladebildschirm */
.vt-svc .svcpage__title { view-transition-name: svc-title; }
.vt-svc .svcpage__num { view-transition-name: svc-num; }
.vt-line { position: fixed; top: 0; left: 0; width: 100%; height: 2px; opacity: 0; pointer-events: none; view-transition-name: vt-line; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vt-wipe .75s cubic-bezier(.76, 0, .24, 1) both; }
::view-transition-group(vt-line) { animation: vt-line .75s cubic-bezier(.76, 0, .24, 1) both; background: #D2382F; box-shadow: 0 0 14px rgba(210, 56, 47, .45); }
::view-transition-old(vt-line), ::view-transition-new(vt-line) { animation: none; opacity: 0; }
::view-transition-group(svc-title), ::view-transition-group(svc-num) { animation-duration: .75s; animation-timing-function: cubic-bezier(.76, 0, .24, 1); }
::view-transition-old(svc-title), ::view-transition-new(svc-title) { height: 100%; object-fit: contain; object-position: left top; }
@keyframes vt-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes vt-line { from { transform: translateY(0); } to { transform: translateY(100vh); } }
@media (prefers-reduced-motion: reduce) {
  .fx .putz { -webkit-mask-image: none; mask-image: none; }
  .fx .split .w > span { transform: none; transition: none; }
}

/* Referenzen: laufende Bauvorhaben */
.ref__group { display: flex; align-items: center; gap: 8px; }
.ref--live .dot { flex: none; animation: live-pulse 2.4s ease-in-out infinite; }
.ref--live { border-color: rgba(210, 56, 47, .45); }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px rgba(210, 56, 47, 0); } }
@media (prefers-reduced-motion: reduce) { .ref--live .dot { animation: none; } }

/* ---------- Aktuell auf der Baustelle (laufende Bauvorhaben, dunkles Band) ---------- */
.live { position: relative; z-index: 2; background: var(--fg); color: #F3F1EA; padding: 16vh var(--gutter) 14vh; overflow: hidden; }
.live::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 2px; background: var(--rot); }
.live .eyebrow { color: rgba(243, 241, 234, .62); }
.live__head { max-width: 820px; margin-bottom: 9vh; }
.live__head .body { margin-top: 24px; color: rgba(243, 241, 234, .7); max-width: 56ch; }
.live__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(243, 241, 234, .16); }
.live__row { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 32px; align-items: start; padding: 44px 0 46px; border-bottom: 1px solid rgba(243, 241, 234, .16); }
.live__row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.live__row:hover::after { transform: scaleX(1); }
.live__idx { color: rgba(243, 241, 234, .45); padding-top: 10px; }
.live__status { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #F06B5F; font-size: 11px; }
.live__status .dot { animation: live-pulse 2.4s ease-in-out infinite; }
.live__name { margin: 0 0 22px; font-family: var(--f-head); font-weight: 600; font-size: clamp(30px, 4.2vw, 64px); letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.live__work { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.live__work li { font-size: 13px; padding: 7px 13px; border: 1px solid rgba(243, 241, 234, .24); border-radius: 999px; color: rgba(243, 241, 234, .86); }
.live__client { margin: 22px 0 0; font-size: 15px; }
.live__client .mono { display: block; font-size: 10px; color: rgba(243, 241, 234, .5); margin-bottom: 4px; }
.live__area { margin: 0; text-align: right; }
.live__area .mono { display: block; font-size: 10px; color: rgba(243, 241, 234, .5); margin-bottom: 8px; }
.live__area b { display: block; white-space: nowrap; font-family: var(--f-head); font-weight: 600; font-size: clamp(40px, 5.6vw, 92px); letter-spacing: -.045em; line-height: .95; font-variant-numeric: tabular-nums; }
.live__cta { display: inline-flex; gap: 10px; margin-top: 48px; color: #F3F1EA; text-decoration: none; border-bottom: 1px solid var(--rot); padding-bottom: 6px; }
.live__cta span { transition: transform .4s var(--ease); }
.live__cta:hover span { transform: translateX(6px); }
@media (max-width: 860px) {
  .live__row { grid-template-columns: 1fr; gap: 16px; padding: 34px 0 36px; }
  .live__idx { padding-top: 0; }
  .live__area { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .live__status .dot { animation: none; } .live__row::after { transition: none; } }
.refs__stats--partners { grid-template-columns: 1fr; }

.shot figcaption span { white-space: nowrap; } /* Projektnummer nie umbrechen */
.shot--a .shot__img { aspect-ratio: 4 / 5; } /* P01: Hochformat (Lichthof) */
@media (min-width: 861px) { .shot--a { grid-column: 1 / 6; } }
.shot--d .shot__img { aspect-ratio: 4 / 5; } /* P04: Hochformat (Riemchen-Stützen) */
@media (min-width: 861px) { .shot--c { grid-column: 1 / 7; } .shot--d { grid-column: 9 / 13; margin-top: 30vh; } }
@media (max-width: 860px) { .shot--d { grid-column: 1 / -1; margin-left: 20%; margin-top: 6vh; } }
