:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: rgba(55, 65, 81, 0.76);
  --line: rgba(15, 23, 42, 0.12);
  --panel: #f6f8fb;
  --white: #ffffff;
  --accent: #4a5a77;
  --accent-dark: #2f3f5d;
  --charcoal: #162033;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  --radius: 8px;
  --max: 1180px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(74, 90, 119, 0.08), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #ffffff 100%);
  color: var(--ink);
  font-family: Aptos, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 184px;
  height: auto;
  display: block;
}

.brand-service {
  color: rgba(17, 24, 39, 0.62);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(17, 24, 39, 0.7);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(74, 90, 119, 0.1);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  min-width: 58px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(74, 90, 119, 0.28);
  transition: transform 160ms var(--ease-out), background 200ms ease, box-shadow 200ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button:focus-visible,
.nav-links a:focus-visible,
.menu-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(74, 90, 119, 0.45);
  outline-offset: 3px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.button.ghost {
  background: rgba(74, 90, 119, 0.08);
  color: var(--ink);
  box-shadow: none;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/hero-construction.png") center / cover no-repeat;
  transform: translateY(var(--scroll-offset, 0px)) scale(1.04);
  filter: saturate(0.96) contrast(1.06);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.56) 47%, rgba(255, 255, 255, 0.1)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.54), transparent 44%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 88px;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(47, 63, 93, 0.82);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.eyebrow.dark {
  color: var(--accent-dark);
}

.hero h1,
.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(44px, 6.7vw, 84px);
  line-height: 1.07;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p,
.page-hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(31, 41, 55, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 860px;
  margin-top: 54px;
}

.proof-line span {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(17, 24, 39, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 14px;
}

.method-strip {
  width: min(var(--max), calc(100% - 32px));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  position: relative;
  z-index: 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.method-strip div {
  min-height: 172px;
  padding: clamp(22px, 3vw, 34px);
  background: #ffffff;
}

.method-strip p {
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-weight: 780;
}

.method-strip strong {
  display: block;
  max-width: 28ch;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 780;
}

.building-scroll {
  --build-progress: 0;
  --exterior-opacity: 1;
  --interior-opacity: 0;
  --structure-opacity: 0;
  --portal-opacity: 0;
  --shade-opacity: 0;
  --label-1: 0;
  --label-2: 0;
  --label-3: 0;
  --label-4: 0;
  --focus-x: 52%;
  --focus-y: 42%;
  --clear-radius: 5%;
  --dark-radius: 18%;
  --overlay-opacity: 0.42;
  --exterior-scale: 1.02;
  --exterior-x: 0%;
  --exterior-y: 0%;
  --exterior-saturation: 0.82;
  --interior-scale: 1.32;
  --interior-x: 7%;
  --interior-y: 4%;
  --structure-scale: 0.86;
  --structure-x: 0%;
  --structure-y: 0%;
  --portal-scale: 1;
  --portal-shadow: 0vw;
  --portal-shade: 0;
  --xray-opacity: 0;
  --xray-scale: 0.88;
  --cinema-camera-scale: 1;
  --cinema-camera-x: 0%;
  --cinema-camera-y: 0%;
  --cinema-glass-opacity: 1;
  --cinema-cutaway-opacity: 0;
  --cinema-cutaway-clip: 100%;
  --cinema-ground-y: 0%;
  --cinema-sky-opacity: 1;
  --rail-1: 1;
  --rail-2: 0.35;
  --rail-3: 0.35;
  --rail-4: 0.35;
  --rail-5: 0.35;
  --caption-1: 1;
  --caption-2: 0;
  --caption-3: 0;
  --caption-4: 0;
  --caption-5: 0;
  --cinema-structure-opacity: 0;
  --cinema-zoom-opacity: 0;
  --cinema-zoom-scale: 0.72;
  --cinema-furniture-opacity: 0;
  --cinema-warmth: 0;
  width: 100%;
  min-height: 360vh;
  margin: 0 auto;
  padding: 0;
  background:
    radial-gradient(circle at 58% 22%, rgba(74, 90, 119, 0.1), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 48%, #ffffff 100%);
  box-shadow:
    0 -1px 0 rgba(15, 23, 42, 0.08) inset,
    0 1px 0 rgba(15, 23, 42, 0.08) inset;
}

.building-pin {
  position: sticky;
  top: 74px;
  width: min(var(--max), calc(100% - 32px));
  height: calc(100svh - 74px);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 46px) 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.96fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
}

.building-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.building-copy h2 {
  max-width: 650px;
}

.building-copy p {
  max-width: 54ch;
}

.building-cta {
  width: max-content;
  margin-top: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }
}

.building-stage {
  position: relative;
  width: calc(100% - clamp(8px, 2vw, 28px));
  margin-left: clamp(8px, 2vw, 28px);
  height: clamp(470px, 78svh, 840px);
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 58% 32%, rgba(74, 90, 119, 0.28), transparent 26rem),
    linear-gradient(180deg, #08101a, #03060b);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  isolation: isolate;
  contain: layout paint style;
}

.cinema-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1100px;
  background:
    radial-gradient(circle at 58% 32%, rgba(224, 237, 255, 0.15), transparent 22rem),
    radial-gradient(circle at 15% 75%, rgba(74, 90, 119, 0.18), transparent 18rem),
    linear-gradient(180deg, #08111c, #02050a 76%);
}

.building-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  background: #03070d;
  transform: translateZ(0);
}

.scene-captions {
  position: absolute;
  left: clamp(18px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 5;
  width: min(420px, calc(100% - 132px));
  min-height: 72px;
  pointer-events: none;
}

.scene-captions span {
  position: absolute;
  inset: auto 0 0;
  color: #f6f8fb;
  font-size: clamp(21px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 820;
  letter-spacing: -0.018em;
  text-wrap: balance;
  opacity: var(--caption-opacity, 0);
  transform: translate3d(0, calc((1 - var(--caption-opacity, 0)) * 22px), 0);
  filter: blur(calc((1 - var(--caption-opacity, 0)) * 8px));
  transition:
    opacity 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    filter 180ms var(--ease-out);
}

.scene-captions span:nth-child(1) { --caption-opacity: var(--caption-1); }
.scene-captions span:nth-child(2) { --caption-opacity: var(--caption-2); }
.scene-captions span:nth-child(3) { --caption-opacity: var(--caption-3); }
.scene-captions span:nth-child(4) { --caption-opacity: var(--caption-4); }
.scene-captions span:nth-child(5) { --caption-opacity: var(--caption-5); }

.site-skyline {
  position: absolute;
  inset: 18% 6% 28%;
  opacity: var(--cinema-sky-opacity);
  filter: blur(0.2px);
}

.site-skyline span {
  position: absolute;
  bottom: 0;
  border: 1px solid rgba(201, 218, 239, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.site-skyline span:nth-child(1) {
  left: 2%;
  width: 16%;
  height: 34%;
}

.site-skyline span:nth-child(2) {
  left: 19%;
  width: 10%;
  height: 46%;
}

.site-skyline span:nth-child(3) {
  right: 13%;
  width: 18%;
  height: 52%;
}

.site-skyline span:nth-child(4) {
  right: 2%;
  width: 10%;
  height: 38%;
}

.crane-system {
  position: absolute;
  right: 7%;
  top: 15%;
  z-index: 1;
  width: 31%;
  height: 32%;
  opacity: calc(0.2 + (var(--cinema-sky-opacity) * 0.42));
}

.crane-system span {
  position: absolute;
  background: rgba(202, 217, 239, 0.2);
  transform-origin: left center;
}

.crane-system span:nth-child(1) {
  left: 15%;
  bottom: 0;
  width: 2px;
  height: 100%;
}

.crane-system span:nth-child(2) {
  left: 12%;
  top: 11%;
  width: 88%;
  height: 1px;
  transform: rotate(-9deg);
  animation: craneSway 6s var(--ease-in-out) infinite alternate;
}

.crane-system span:nth-child(3) {
  left: 76%;
  top: 15%;
  width: 1px;
  height: 38%;
}

.construction-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 24%;
  transform: translateY(var(--cinema-ground-y));
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4) 18%, rgba(0, 0, 0, 0.84)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 28%, rgba(255, 255, 255, 0.06) 68%, transparent);
}

.construction-ground::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 14%;
  bottom: 9%;
  height: 62%;
  border: 1px solid rgba(213, 226, 246, 0.12);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(205, 164, 70, 0.28) 18.5% 19%, transparent 19.5% 35%, rgba(205, 164, 70, 0.24) 35.5% 36%, transparent 36.5% 66%, rgba(205, 164, 70, 0.24) 66.5% 67%, transparent 67.5%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.28));
  box-shadow: 0 -20px 50px rgba(74, 90, 119, 0.12) inset;
}

.construction-ground span {
  position: absolute;
  bottom: 13%;
  width: 1px;
  height: 40%;
  background: rgba(205, 164, 70, 0.42);
}

.construction-ground span:nth-child(1) { left: 22%; }
.construction-ground span:nth-child(2) { left: 26%; height: 58%; }
.construction-ground span:nth-child(3) { right: 24%; height: 54%; }
.construction-ground span:nth-child(4) { right: 19%; }

.site-machines {
  position: absolute;
  left: 8%;
  right: 9%;
  bottom: 19%;
  z-index: 3;
  height: 13%;
  opacity: calc(0.35 + (var(--cinema-sky-opacity) * 0.45));
}

.site-machines span {
  position: absolute;
  bottom: 0;
  background: rgba(213, 226, 246, 0.18);
  box-shadow: 0 0 18px rgba(213, 226, 246, 0.08);
}

.site-machines span:nth-child(1) {
  left: 2%;
  width: 14%;
  height: 28%;
  border-radius: 3px 8px 2px 2px;
}

.site-machines span:nth-child(1)::before,
.site-machines span:nth-child(1)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(213, 226, 246, 0.36);
}

.site-machines span:nth-child(1)::before { left: 12%; }
.site-machines span:nth-child(1)::after { right: 12%; }

.site-machines span:nth-child(2) {
  right: 10%;
  width: 11%;
  height: 42%;
  clip-path: polygon(0 100%, 25% 0, 38% 0, 20% 100%, 100% 100%, 100% 86%, 35% 86%, 52% 0, 63% 0, 49% 86%);
}

.site-machines span:nth-child(3) {
  right: 25%;
  width: 2px;
  height: 92%;
  transform: skewX(-18deg);
  box-shadow:
    10px 0 0 rgba(213, 226, 246, 0.13),
    20px 0 0 rgba(213, 226, 246, 0.11),
    30px 0 0 rgba(213, 226, 246, 0.09);
}

.scene-camera {
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: 4;
  width: min(82%, 820px);
  height: 72%;
  transform:
    translate(-50%, -50%)
    translate3d(var(--cinema-camera-x), var(--cinema-camera-y), 0)
    scale(var(--cinema-camera-scale));
  transform-origin: 56% 48%;
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-tower,
.interior-cutaway {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 78%;
  height: 70%;
  transform: translate(-50%, -50%) rotateX(2deg) rotateY(-10deg);
  transform-style: preserve-3d;
}

.glass-tower {
  opacity: var(--cinema-glass-opacity);
  filter: drop-shadow(0 0 24px rgba(218, 234, 255, 0.38));
}

.glass-tower::before,
.glass-tower::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(228, 240, 255, 0.56);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent 15%, rgba(255, 255, 255, 0.1) 35%, transparent 56%, rgba(255, 255, 255, 0.12) 74%, transparent),
    rgba(154, 183, 216, 0.08);
  box-shadow:
    0 0 52px rgba(221, 237, 255, 0.28),
    0 0 90px rgba(221, 237, 255, 0.2) inset;
}

.glass-tower::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 11%, rgba(255, 255, 255, 0.12) 12%, transparent 23%, rgba(255, 255, 255, 0.1) 24%, transparent 36%, rgba(255, 255, 255, 0.1) 37%, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 62%, rgba(255, 255, 255, 0.1) 63%, transparent 75%, rgba(255, 255, 255, 0.1) 76%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent 20%, rgba(255, 255, 255, 0.16) 21%, transparent 22%, transparent 41%, rgba(255, 255, 255, 0.16) 42%, transparent 43%, transparent 62%, rgba(255, 255, 255, 0.16) 63%, transparent 64%, transparent 82%, rgba(255, 255, 255, 0.14) 83%, transparent 84%),
    rgba(154, 183, 216, 0.08);
}

.glass-tower::after {
  inset: 8% -7% 2% auto;
  width: 12%;
  transform: skewY(-38deg);
  transform-origin: left top;
  opacity: 0.72;
}

.roof-plane,
.side-plane {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(228, 240, 255, 0.42);
  background: rgba(221, 237, 255, 0.08);
}

.roof-plane {
  left: 11%;
  right: -6%;
  top: -10%;
  height: 12%;
  transform: skewX(-48deg);
  transform-origin: bottom left;
}

.side-plane {
  top: -9%;
  bottom: 8%;
  right: -8%;
  width: 10%;
  transform: skewY(-38deg);
  transform-origin: left top;
}

.floor {
  position: absolute;
  left: 5%;
  right: 6%;
  height: 17%;
  border-top: 2px solid rgba(231, 242, 255, 0.7);
  border-bottom: 1px solid rgba(231, 242, 255, 0.36);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 12%, rgba(255, 255, 255, 0.08) 38%, transparent 62%, rgba(255, 255, 255, 0.08)),
    linear-gradient(90deg, transparent 0 17%, rgba(230, 241, 255, calc(var(--cinema-structure-opacity) * 0.35)) 17.4% 17.8%, transparent 18.2% 39%, rgba(230, 241, 255, calc(var(--cinema-structure-opacity) * 0.35)) 39.4% 39.8%, transparent 40.2% 61%, rgba(230, 241, 255, calc(var(--cinema-structure-opacity) * 0.35)) 61.4% 61.8%, transparent 62.2%),
    rgba(157, 185, 216, 0.05);
}

.floor-4 { top: 8%; }
.floor-3 { top: 28%; }
.floor-2 { top: 48%; }
.floor-1 { top: 68%; }

.floor i,
.cut-floor i,
.cut-foundation i {
  position: absolute;
  bottom: 16%;
  width: 9%;
  height: 34%;
  border: 1px solid rgba(231, 242, 255, 0.32);
  border-radius: 2px;
  background: rgba(231, 242, 255, 0.06);
}

.floor i {
  opacity: calc(0.18 + (var(--cinema-structure-opacity) * 0.82));
  box-shadow: 0 0 18px rgba(230, 241, 255, calc(var(--cinema-structure-opacity) * 0.22));
}

.floor::before,
.floor::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 16%;
  width: 1px;
  background: rgba(230, 241, 255, calc(0.16 + var(--cinema-structure-opacity) * 0.32));
  box-shadow:
    84px 0 0 rgba(230, 241, 255, calc(0.12 + var(--cinema-structure-opacity) * 0.24)),
    168px 0 0 rgba(230, 241, 255, calc(0.1 + var(--cinema-structure-opacity) * 0.22));
}

.floor::before { left: 21%; }
.floor::after { right: 24%; }

.floor i:nth-child(1),
.cut-floor i:nth-child(1) { left: 10%; }
.floor i:nth-child(2),
.cut-floor i:nth-child(2) { left: 32%; height: 48%; }
.floor i:nth-child(3),
.cut-floor i:nth-child(3) { left: 56%; }
.floor i:nth-child(4),
.cut-floor i:nth-child(4) { right: 11%; height: 46%; }

.foundation-floor {
  position: absolute;
  left: 12%;
  right: 2%;
  bottom: -23%;
  height: 26%;
  border: 1px solid rgba(231, 242, 255, 0.26);
  background: rgba(0, 0, 0, 0.24);
  transform: translateZ(-20px);
}

.foundation-floor::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  height: 1px;
  background: rgba(205, 164, 70, 0.38);
  box-shadow:
    0 11px 0 rgba(205, 164, 70, 0.26),
    0 22px 0 rgba(205, 164, 70, 0.2),
    34px 0 0 rgba(205, 164, 70, 0.28),
    88px 0 0 rgba(205, 164, 70, 0.22),
    142px 0 0 rgba(205, 164, 70, 0.18);
}

.interior-cutaway {
  opacity: var(--cinema-cutaway-opacity);
  clip-path: inset(var(--cinema-cutaway-clip) 0 0 0);
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.16));
}

.cut-floor {
  position: absolute;
  left: 2%;
  right: 2%;
  height: 23%;
  border: 1px solid rgba(228, 240, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(245, 221, 172, calc(0.08 + var(--cinema-warmth) * 0.14)), rgba(255, 255, 255, 0.06) 28%, rgba(245, 221, 172, calc(0.06 + var(--cinema-warmth) * 0.16)) 62%, rgba(255, 255, 255, 0.05)),
    rgba(22, 25, 28, 0.76);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) inset;
}

.cut-3 { top: 10%; }
.cut-2 { top: 36%; }
.cut-1 { top: 62%; }

.cut-floor::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  box-shadow:
    22px 24px 0 rgba(245, 221, 172, calc(var(--cinema-furniture-opacity) * 0.36)),
    118px 18px 0 rgba(255, 255, 255, calc(var(--cinema-furniture-opacity) * 0.22)),
    220px 28px 0 rgba(245, 221, 172, calc(var(--cinema-furniture-opacity) * 0.22));
}

.cut-floor::after {
  content: "";
  position: absolute;
  right: 22%;
  top: 10%;
  width: 16%;
  height: 70%;
  border-left: 2px solid rgba(245, 221, 172, 0.28);
  border-bottom: 2px solid rgba(245, 221, 172, 0.2);
  transform: skewX(-18deg);
}

.cut-floor:nth-child(1)::after {
  right: 16%;
}

.cut-floor:nth-child(2)::after {
  right: 34%;
  transform: skewX(-10deg);
}

.cut-floor:nth-child(3)::after {
  right: 24%;
  height: 52%;
}

.cut-foundation {
  position: absolute;
  left: 7%;
  right: 4%;
  bottom: -20%;
  height: 23%;
  border: 1px solid rgba(228, 240, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(205, 164, 70, 0.16), transparent 18%, rgba(205, 164, 70, 0.12) 70%, transparent),
    rgba(0, 0, 0, 0.52);
}

.cut-floor i,
.cut-foundation i {
  opacity: var(--cinema-furniture-opacity);
  border-color: rgba(245, 221, 172, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(245, 221, 172, 0.14)),
    rgba(20, 23, 27, 0.62);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(245, 221, 172, 0.1) inset;
}

.cut-floor i::before,
.cut-floor i::after {
  content: "";
  position: absolute;
  background: rgba(245, 221, 172, 0.7);
}

.cut-floor i::before {
  left: -28%;
  right: -28%;
  bottom: -28%;
  height: 18%;
  border-radius: 999px;
}

.cut-floor i::after {
  left: 42%;
  top: -42%;
  width: 2px;
  height: 34%;
  box-shadow: 0 0 16px rgba(245, 221, 172, 0.42);
}

.cut-floor i:nth-child(2) {
  width: 14%;
  height: 28%;
  border-radius: 999px 999px 4px 4px;
}

.cut-floor i:nth-child(3) {
  width: 11%;
  height: 18%;
  border-radius: 3px;
}

.zoom-lens {
  position: absolute;
  left: 58%;
  top: 42%;
  z-index: 7;
  width: 24%;
  aspect-ratio: 1;
  border: 1px solid rgba(230, 241, 255, 0.72);
  border-radius: 50%;
  opacity: var(--cinema-zoom-opacity);
  transform: translate(-50%, -50%) scale(var(--cinema-zoom-scale));
  box-shadow:
    0 0 0 999px rgba(2, 5, 10, calc(var(--cinema-zoom-opacity) * 0.28)),
    0 0 42px rgba(230, 241, 255, 0.42),
    0 0 90px rgba(74, 90, 119, 0.34) inset;
  pointer-events: none;
}

.zoom-lens::before,
.zoom-lens::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(230, 241, 255, 0.32);
  border-radius: inherit;
}

.zoom-lens::after {
  inset: 31%;
  border-color: rgba(255, 255, 255, 0.46);
}

.light-sweep {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(105deg, transparent 22%, rgba(255, 255, 255, 0.22) 44%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.34;
  transform: translateX(-72%);
  animation: scanSweep 4.8s var(--ease-in-out) infinite;
  pointer-events: none;
}

.cinema-vignette {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    radial-gradient(circle at 54% 42%, transparent 34%, rgba(0, 0, 0, 0.44) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 34%, rgba(0, 0, 0, 0.54));
}

.process-rail {
  position: absolute;
  top: 18%;
  right: 24px;
  bottom: 14%;
  z-index: 4;
  display: grid;
  align-content: space-between;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.process-rail span {
  position: relative;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 760;
  opacity: var(--rail-opacity, 0.35);
}

.process-rail span::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 0.48em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c6cfdf;
  box-shadow: 0 0 18px rgba(198, 207, 223, 0.64);
}

.process-rail span b {
  display: block;
  color: #ffffff;
}

.process-rail span:nth-child(1) { --rail-opacity: var(--rail-1); }
.process-rail span:nth-child(2) { --rail-opacity: var(--rail-2); }
.process-rail span:nth-child(3) { --rail-opacity: var(--rail-3); }
.process-rail span:nth-child(4) { --rail-opacity: var(--rail-4); }
.process-rail span:nth-child(5) { --rail-opacity: var(--rail-5); }

@keyframes scanSweep {
  0%, 24% {
    transform: translateX(-78%);
    opacity: 0;
  }

  44% {
    opacity: 0.38;
  }

  72%, 100% {
    transform: translateX(74%);
    opacity: 0;
  }
}

@keyframes craneSway {
  to {
    transform: rotate(-6deg);
  }
}

.building-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--focus-x) var(--focus-y), transparent var(--clear-radius), rgba(4, 8, 14, var(--shade-opacity)) var(--dark-radius)),
    linear-gradient(180deg, rgba(8, 12, 20, 0.08), rgba(8, 12, 20, 0.36));
}

.building-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.66), transparent 25%, transparent 72%, rgba(8, 12, 20, 0.58)),
    linear-gradient(180deg, rgba(8, 12, 20, 0), rgba(8, 12, 20, 0.38));
  opacity: var(--overlay-opacity);
}

.building-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity, filter;
}

.site-depth {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 32%;
  background:
    linear-gradient(180deg, transparent, rgba(1, 4, 9, 0.8)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 34%, rgba(255, 255, 255, 0.07) 66%, transparent);
}

.site-depth span {
  position: absolute;
  bottom: 18%;
  width: 1px;
  height: 62%;
  background: rgba(209, 177, 84, 0.42);
  transform-origin: bottom;
}

.site-depth span:nth-child(1) {
  left: 18%;
  transform: skewX(-8deg);
}

.site-depth span:nth-child(2) {
  left: 72%;
  height: 88%;
  transform: skewX(6deg);
}

.site-depth span:nth-child(3) {
  left: 84%;
  height: 54%;
  transform: skewX(-5deg);
}

.building-exterior {
  z-index: 1;
  opacity: var(--exterior-opacity);
  filter: saturate(var(--exterior-saturation)) contrast(1.08);
  transform:
    scale(var(--exterior-scale))
    translate3d(var(--exterior-x), var(--exterior-y), 0);
  transform-origin: 54% 43%;
}

.building-interior {
  z-index: 2;
  opacity: var(--interior-opacity);
  filter: saturate(0.92) contrast(1.04);
  transform:
    scale(var(--interior-scale))
    translate3d(var(--interior-x), var(--interior-y), 0);
  transform-origin: 54% 43%;
}

.structure-grid {
  position: absolute;
  inset: 8% 7%;
  z-index: 4;
  opacity: var(--structure-opacity);
  transform:
    scale(var(--structure-scale))
    translate3d(var(--structure-x), var(--structure-y), 0);
  transform-origin: 54% 43%;
}

.structure-grid span {
  position: absolute;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 0 24px rgba(74, 90, 119, 0.38);
}

.structure-grid span:nth-child(1),
.structure-grid span:nth-child(2),
.structure-grid span:nth-child(3),
.structure-grid span:nth-child(4) {
  top: var(--line-top);
  left: 0;
  right: 0;
  height: 1px;
}

.structure-grid span:nth-child(1) { --line-top: 18%; }
.structure-grid span:nth-child(2) { --line-top: 38%; }
.structure-grid span:nth-child(3) { --line-top: 58%; }
.structure-grid span:nth-child(4) { --line-top: 78%; }

.structure-grid span:nth-child(5),
.structure-grid span:nth-child(6),
.structure-grid span:nth-child(7),
.structure-grid span:nth-child(8) {
  top: 0;
  bottom: 0;
  left: var(--line-left);
  width: 1px;
}

.structure-grid span:nth-child(5) { --line-left: 18%; }
.structure-grid span:nth-child(6) { --line-left: 39%; }
.structure-grid span:nth-child(7) { --line-left: 60%; }
.structure-grid span:nth-child(8) { --line-left: 81%; }

.xray-building {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 5;
  width: min(78%, 760px);
  aspect-ratio: 1.46;
  opacity: var(--xray-opacity);
  transform:
    translate(-50%, -50%)
    perspective(900px)
    rotateX(2deg)
    rotateY(-11deg)
    scale(var(--xray-scale));
  transform-style: preserve-3d;
  border: 1px solid rgba(230, 241, 255, 0.55);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, rgba(255, 255, 255, 0.12) 20%, transparent 31%, rgba(255, 255, 255, 0.1) 34%, transparent 49%, rgba(255, 255, 255, 0.1) 52%, transparent 67%, rgba(255, 255, 255, 0.1) 70%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 23%, rgba(255, 255, 255, 0.13) 25%, transparent 26%, transparent 48%, rgba(255, 255, 255, 0.13) 50%, transparent 51%, transparent 73%, rgba(255, 255, 255, 0.13) 75%, transparent 76%),
    rgba(167, 190, 216, 0.08);
  box-shadow:
    0 0 38px rgba(203, 224, 255, 0.24),
    0 0 90px rgba(74, 90, 119, 0.18) inset;
}

.xray-building::before,
.xray-building::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(230, 241, 255, 0.36);
  background: rgba(167, 190, 216, 0.06);
  pointer-events: none;
}

.xray-building::before {
  left: 12%;
  right: -7%;
  top: -10%;
  height: 12%;
  transform: skewX(-48deg);
  transform-origin: bottom left;
}

.xray-building::after {
  top: -10%;
  bottom: 10%;
  right: -8%;
  width: 8%;
  transform: skewY(-42deg);
  transform-origin: left top;
}

.xray-building span {
  position: absolute;
  border: 1px solid rgba(230, 241, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 20px rgba(230, 241, 255, 0.14) inset;
}

.xray-building span:nth-child(1) { left: 5%; top: 8%; width: 18%; height: 15%; }
.xray-building span:nth-child(2) { left: 28%; top: 8%; width: 21%; height: 15%; }
.xray-building span:nth-child(3) { left: 55%; top: 8%; width: 18%; height: 15%; }
.xray-building span:nth-child(4) { left: 78%; top: 8%; width: 14%; height: 15%; }
.xray-building span:nth-child(5) { left: 5%; top: 32%; width: 20%; height: 16%; }
.xray-building span:nth-child(6) { left: 30%; top: 32%; width: 22%; height: 16%; }
.xray-building span:nth-child(7) { left: 57%; top: 32%; width: 18%; height: 16%; }
.xray-building span:nth-child(8) { left: 80%; top: 32%; width: 12%; height: 16%; }
.xray-building span:nth-child(9) { left: 5%; top: 58%; width: 22%; height: 17%; }
.xray-building span:nth-child(10) { left: 32%; top: 58%; width: 20%; height: 17%; }
.xray-building span:nth-child(11) { left: 57%; top: 58%; width: 18%; height: 17%; }
.xray-building span:nth-child(12) { left: 80%; top: 58%; width: 12%; height: 17%; }

.window-portal {
  position: absolute;
  left: 51%;
  top: 39%;
  z-index: 5;
  width: 16%;
  aspect-ratio: 0.78;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  box-shadow:
    0 0 0 var(--portal-shadow) rgba(8, 12, 20, var(--portal-shade)),
    0 0 48px rgba(255, 255, 255, 0.26);
  transform:
    translate(-50%, -50%)
    scale(var(--portal-scale));
  opacity: var(--portal-opacity);
  transform-origin: center;
}

.window-portal span {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.build-labels {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.build-labels strong {
  position: relative;
  overflow: hidden;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.42);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 13px;
  backdrop-filter: blur(14px);
}

.build-labels strong::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.16);
  transform: scaleX(var(--step-fill, 0));
  transform-origin: left;
}

.build-labels strong:nth-child(1) { --step-fill: var(--label-1); }
.build-labels strong:nth-child(2) { --step-fill: var(--label-2); }
.build-labels strong:nth-child(3) { --step-fill: var(--label-3); }
.build-labels strong:nth-child(4) { --step-fill: var(--label-4); }

main {
  overflow: visible;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(88px, 11vw, 150px) 0;
  background: transparent;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 24px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 16px;
}

.services-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.service-card,
.project-card,
.value-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.service-card {
  grid-column: span 2;
  min-height: 255px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, background 280ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.service-card:focus-visible {
  outline: 3px solid rgba(74, 90, 119, 0.45);
  outline-offset: 3px;
}

.service-card:nth-child(5),
.service-card:nth-child(6) {
  grid-column: span 3;
}

.service-card.lead-service {
  grid-column: span 6;
  min-height: 260px;
  justify-content: flex-start;
  gap: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(circle at 82% 16%, rgba(74, 90, 119, 0.1), transparent 18rem),
    linear-gradient(145deg, #ffffff, #eef3f8 64%);
  color: var(--ink);
}

.service-card.lead-service:hover,
.service-card.lead-service:focus-visible {
  background:
    radial-gradient(circle at 82% 16%, rgba(74, 90, 119, 0.14), transparent 18rem),
    linear-gradient(145deg, #ffffff, #e9eff6 64%);
}

.service-card.lead-service p {
  max-width: 1080px;
  margin: clamp(10px, 1.6vw, 18px) 0 0;
  color: rgba(55, 65, 81, 0.82);
}

.service-card.dry-service {
  background:
    linear-gradient(180deg, rgba(23, 25, 24, 0.03), rgba(23, 25, 24, 0.62)),
    url("../images/drywall-construction.png") center / cover;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.service-card.window-service {
  background:
    linear-gradient(180deg, rgba(23, 25, 24, 0.03), rgba(23, 25, 24, 0.62)),
    url("../images/facade-construction.png") center / cover;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.service-card.facade-service {
  background:
    linear-gradient(180deg, rgba(23, 25, 24, 0.03), rgba(23, 25, 24, 0.62)),
    url("../images/window-construction.png") center / cover;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.service-card.dry-service:hover {
  background:
    linear-gradient(180deg, rgba(23, 25, 24, 0.02), rgba(23, 25, 24, 0.66)),
    url("../images/drywall-construction.png") center / cover;
}

.service-card.window-service:hover {
  background:
    linear-gradient(180deg, rgba(23, 25, 24, 0.02), rgba(23, 25, 24, 0.66)),
    url("../images/facade-construction.png") center / cover;
}

.service-card.facade-service:hover {
  background:
    linear-gradient(180deg, rgba(23, 25, 24, 0.02), rgba(23, 25, 24, 0.66)),
    url("../images/window-construction.png") center / cover;
}

.service-card.lead-service li,
.service-card.dry-service li,
.service-card.window-service li,
.service-card.facade-service li,
.service-card.dry-service p,
.service-card.window-service p,
.service-card.facade-service p,
.service-card.dry-service .number,
.service-card.window-service .number,
.service-card.facade-service .number {
  color: rgba(255, 255, 255, 0.88);
}

.service-card.lead-service li,
.service-card.lead-service .number {
  color: rgba(47, 63, 93, 0.84);
}

.service-card:nth-child(5) {
  background: #eef3f8;
  color: var(--ink);
}

.service-card:nth-child(5) li,
.service-card:nth-child(5) .number {
  color: rgba(47, 63, 93, 0.84);
}

.service-card .number {
  color: var(--accent);
  font-weight: 850;
  letter-spacing: 0.01em;
}

.service-link-label {
  width: max-content;
  margin-top: 22px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 760;
  text-shadow: none;
}

.service-card.dry-service .service-link-label,
.service-card.window-service .service-link-label,
.service-card.facade-service .service-link-label {
  background: rgba(255, 255, 255, 0.9);
}

.service-card ul,
.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-card li,
.check-list li {
  position: relative;
  padding-left: 20px;
  margin: 9px 0;
  color: var(--muted);
}

.service-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 42px;
  align-items: stretch;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 26px;
}

.detail-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.detail-panel h2,
.detail-panel h3 {
  line-height: 1.08;
}

.detail-panel p:last-child {
  margin-bottom: 0;
}

.detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 14px 14px 14px 34px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius);
  background: #f8fafc;
  color: rgba(31, 41, 55, 0.82);
  line-height: 1.55;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.detail-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.detail-media {
  min-height: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.54)),
    url("../images/hero-construction.png") center / cover;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.detail-media-management {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.5)),
    url("../images/detail-projektleitung.png") center / cover;
}

.detail-media-drywall {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.5)),
    url("../images/detail-trockenbau.png") center / cover;
}

.detail-media-window {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.5)),
    url("../images/detail-fensterbau.png") center / cover;
}

.detail-media-facade {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.5)),
    url("../images/detail-fassadenbau.png") center / cover;
}

.detail-media-renovation {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.5)),
    url("../images/detail-sanierung.png") center / cover;
}

.detail-media-interior {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.5)),
    url("../images/detail-innenausbau.png") center / cover;
}

.quick-facts {
  padding: 22px;
  border-radius: var(--radius);
  background: #eef3f8;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.quick-facts strong {
  display: block;
  margin-bottom: 10px;
}

.quick-facts p {
  margin: 0;
  color: rgba(55, 65, 81, 0.82);
}

.feature-block {
  position: sticky;
  top: 110px;
  min-height: 520px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 72%, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.44) 34%, transparent 62%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.34) 46%, rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.5)),
    url("../images/detail-projektleitung.png") center / cover;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(18, 20, 19, 0.16);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.58);
}

.feature-block h2 {
  max-width: 720px;
  line-height: 1.05;
}

.feature-block .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.feature-block p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.timeline-item strong {
  color: var(--accent-dark);
}

.projects-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.project-card {
  grid-column: span 3;
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.02), rgba(21, 21, 21, 0.62)),
    url("../images/drywall-construction.png") center / cover;
  color: var(--white);
  filter: saturate(0.88) contrast(1.04);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.project-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.02), rgba(21, 21, 21, 0.58)),
    url("../images/facade-construction.png") center / cover;
}

.project-card:nth-child(3) {
  grid-column: span 6;
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.02), rgba(21, 21, 21, 0.6)),
    url("../images/window-construction.png") 64% center / cover;
}

.project-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.01), rgba(21, 21, 21, 0.58)),
    url("../images/reference-gastronomy.png") center / cover;
}

.project-card:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.01), rgba(21, 21, 21, 0.58)),
    url("../images/reference-beauty-salon.png") center / cover;
}

.project-card:nth-child(6) {
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.01), rgba(21, 21, 21, 0.58)),
    url("../images/reference-private-home.png") center / cover;
}

.secondary-project {
  min-height: 260px;
}

.project-card p {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding: 150px 0 76px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.44)),
    url("../images/hero-construction.png") center / cover;
}

.page-hero .inner,
.cta .inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.page-hero p {
  color: var(--muted);
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split .value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
}

.value-card {
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.value-card h3 {
  line-height: 1.16;
}

.value-card p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.62;
}

.cta {
  padding: clamp(86px, 10vw, 140px) 0;
  background: #eef3f8;
  color: var(--ink);
}

.cta p {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: 24px;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  padding: 16px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  font-weight: 700;
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.legal-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
}

.legal-panel p {
  max-width: 88ch;
}

.legal-panel a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  background: #eef3f8;
}

form {
  display: grid;
  gap: 12px;
}

.form-website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.request-wizard {
  gap: 18px;
}

.wizard-progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(74, 90, 119, 0.14);
  overflow: hidden;
}

.wizard-progress span {
  display: block;
  width: var(--wizard-progress, 16.666%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 260ms var(--ease-out);
}

.wizard-count,
.wizard-note {
  margin: 0;
  font-size: 14px;
}

.wizard-note {
  color: var(--muted);
}

.wizard-error,
.wizard-success {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 760;
}

.wizard-error {
  background: rgba(120, 32, 32, 0.12);
  color: #7a1f1f;
}

.wizard-success {
  background: rgba(47, 90, 63, 0.12);
  color: #235338;
}

.wizard-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.wizard-step.active {
  display: grid;
  gap: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wizard-step legend {
  margin: 0 0 14px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.06;
  font-weight: 820;
  text-wrap: balance;
}

.wizard-step label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-weight: 680;
}

.wizard-step input[type="radio"] {
  width: auto;
  min-height: auto;
  margin-top: 4px;
  accent-color: var(--accent);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #111827;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  background: #f6f8fb;
  color: var(--ink);
  padding: 44px 0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner p,
.footer-inner a {
  color: rgba(55, 65, 81, 0.76);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out), filter 760ms var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.stagger > * {
  transition-delay: calc(var(--i, 0) * 80ms);
}

@media (max-width: 880px) {
  body {
    overflow-x: hidden;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 154px;
  }

  .brand-service {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: 6px;
  }

  .section-header,
  .split,
  .detail-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .method-strip,
  .value-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .building-scroll {
    min-height: 250svh;
  }

  .building-pin {
    top: 74px;
    height: calc(100svh - 74px);
    min-height: 0;
    padding: 14px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .building-copy {
    flex: 0 0 auto;
    display: grid;
    gap: 8px;
  }

  .building-copy .eyebrow {
    margin-bottom: 0;
    font-size: 12px;
  }

  .building-copy h2 {
    max-width: 100%;
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.08;
  }

  .building-copy p {
    max-width: 100%;
    margin: 0;
    font-size: 15px;
    line-height: 1.52;
  }

  .building-stage {
    flex: 1 1 auto;
    width: 100%;
    margin-left: 0;
    height: auto;
    min-height: 0;
  }

  .scene-camera {
    width: 94%;
    height: 72%;
  }

  .process-rail {
    display: none;
  }

  .scene-captions {
    display: none;
  }

  .building-cta {
    width: 100%;
    min-height: 44px;
  }

  .build-labels {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card,
  .service-card.lead-service,
  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .service-card {
    gap: 18px;
    justify-content: flex-start;
  }

  .service-card:hover,
  .service-card:focus-visible {
    transform: none;
  }

  .project-card,
  .project-card:nth-child(3) {
    grid-column: auto;
  }

  .feature-block {
    position: relative;
    top: auto;
    min-height: 430px;
  }

  .detail-aside {
    position: relative;
    top: auto;
  }

  .detail-media {
    min-height: 300px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
    line-height: 1.08;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(var(--max), calc(100% - 24px));
    min-height: 66px;
  }

  .site-header::after {
    height: 1px;
  }

  .nav-links {
    top: 66px;
    left: 12px;
    right: 12px;
  }

  .brand-logo {
    width: 138px;
  }

  .menu-toggle {
    min-width: 52px;
    height: 40px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-inner {
    width: calc(100% - 24px);
    padding: 122px 0 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.1;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
    line-height: 1.58;
  }

  .proof-line {
    margin-top: 34px;
  }

  .proof-line span {
    width: 100%;
  }

  .method-strip {
    width: calc(100% - 24px);
    margin-top: -18px;
  }

  .section {
    width: calc(100% - 24px);
    padding: 72px 0;
  }

  .section-header {
    gap: 18px;
    margin-bottom: 22px;
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.08;
  }

  h3 {
    line-height: 1.18;
  }

  .building-scroll {
    min-height: 235svh;
  }

  .building-pin {
    top: 66px;
    width: calc(100% - 24px);
    height: calc(100svh - 66px);
    padding: 12px 0 14px;
  }

  .building-copy h2 {
    font-size: clamp(23px, 7.5vw, 30px);
  }

  .building-copy p {
    display: none;
  }

  .building-cta {
    margin-top: 0;
    font-size: 14px;
  }

  .building-stage {
    border-radius: 8px;
  }

  .service-card,
  .service-card.lead-service,
  .project-card,
  .value-card,
  .contact-panel,
  .legal-panel {
    padding: 22px;
    max-width: 100%;
  }

  .service-card,
  .service-card.lead-service {
    min-height: 0;
  }

  .service-card ul {
    margin-top: 0;
  }

  .split {
    gap: 28px;
  }

  .feature-block {
    min-height: 390px;
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline-item h3 {
    font-size: 22px;
  }

  .timeline-item p {
    font-size: 16px;
    line-height: 1.58;
  }

  .footer-inner {
    width: calc(100% - 24px);
    display: grid;
    gap: 18px;
  }

  .footer-inner p {
    margin: 0;
    line-height: 1.7;
  }

  input,
  textarea,
  select,
  .button,
  button.button {
    max-width: 100%;
  }

  .detail-media {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .building-scroll {
    --build-progress: 0.78;
    --exterior-opacity: 0.2;
    --interior-opacity: 1;
    --structure-opacity: 0.22;
    --portal-opacity: 0;
    --shade-opacity: 0.1;
    --xray-opacity: 0.24;
    --cinema-camera-scale: 1;
    --cinema-cutaway-opacity: 1;
    --cinema-cutaway-clip: 0%;
    --cinema-glass-opacity: 0.55;
    --cinema-furniture-opacity: 1;
    --cinema-warmth: 1;
    --rail-5: 1;
    --label-1: 1;
    --label-2: 1;
    --label-3: 1;
    --label-4: 1;
  }

  .building-exterior,
  .building-interior,
  .structure-grid,
  .xray-building,
  .window-portal {
    transform: none;
  }
}
