@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

:root {
  --bg:       #252525;
  --bg-alt:   #2c2c2c;
  --bg-card:  #333333;
  --bg-lift:  #3a3a3a;
  --gold:     #c4a35a;
  --gold-lt:  #d4b97a;
  --gold-dim: rgba(196,163,90,0.2);
  --w:        #ffffff;
  --w90:      rgba(255,255,255,0.9);
  --w70:      rgba(255,255,255,0.65);
  --w40:      rgba(255,255,255,0.35);
  --w15:      rgba(255,255,255,0.07);
  --border:   rgba(255,255,255,0.07);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background: var(--bg);
  color: var(--w);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ════════════════════════════════
   CURSOR (disabled — using native cursor)
════════════════════════════════ */
.cursor-dot, .cursor-ring { display: none !important; }

/* grain removed */

/* ════════════════════════════════
   PRELOADER
════════════════════════════════ */
.preloader {
  position: fixed; inset: 0;
  background: #252525;
  z-index: 9985;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 36px;
}
.preloader-logo {
  font-size: 15px; font-weight: 100;
  letter-spacing: .55em; text-transform: uppercase;
  color: var(--w); opacity: 0;
  animation: fadeIn .6s .2s forwards;
}
.preloader-bar {
  width: 180px; height: 1px;
  background: var(--w15); position: relative; overflow: hidden;
}
.preloader-bar-inner {
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}

/* ════════════════════════════════
   NAV
════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 7%;
  transition: padding .5s var(--ease-out), background .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 7%;
  border-color: var(--border);
}
.nav-logo {
  font-size: 16px; font-weight: 100;
  letter-spacing: .5em; text-transform: uppercase;
  color: var(--w); text-decoration: none;
}
.nav-links { display: flex; gap: 48px; list-style: none; }
.nav-links a {
  font-size: 9.5px; font-weight: 300;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--w70); text-decoration: none;
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0);
  transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--w); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: 9.5px; font-weight: 400; letter-spacing: .28em;
  text-transform: uppercase; background: var(--gold);
  color: #0a0a0a; padding: 12px 28px; text-decoration: none;
  border-radius: 2px; transition: background .3s;
  border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--gold-lt); }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 1px; background: var(--w); transition: all .35s; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative;
  height: 160vh;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 7% 80px;
}

/* Blueprint grid bg */
.hero-grid-bg {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(196,163,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  will-change: transform;
}

.hero-orb { display: none; }

/* Geometric accents */
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(196,163,90,.09);
  will-change: transform; pointer-events: none;
}
.hero-ring-1 { width: 550px; height: 550px; top: -100px; right: -100px; }
.hero-ring-2 { width: 280px; height: 280px; top: 80px; right: 80px; }

.hero-vline {
  position: absolute; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  will-change: transform; pointer-events: none;
}
.hero-vline-1 { height: 220px; top: 15vh; right: 24%; }
.hero-vline-2 { height: 100px; bottom: 20vh; left: 40%; opacity: .5; }

.hero-hline {
  position: absolute; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  will-change: transform; pointer-events: none;
}
.hero-hline-1 { width: 100px; bottom: 28vh; left: 7%; }

.hero-dot {
  position: absolute; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%;
  opacity: .5; will-change: transform; pointer-events: none;
}
.hero-dot-1 { top: 35vh; right: 27%; }
.hero-dot-2 { top: 58vh; right: 20%; }
.hero-dot-3 { bottom: 25vh; left: 16%; }

/* Hero content */
.hero-content { position: relative; z-index: 10; max-width: 680px; }

.hero-h1-line { display: block; }
.hero-h1-gold { color: var(--gold); font-style: italic; font-family: 'Cormorant Garamond', serif; }

.hero-eyebrow {
  font-size: 9.5px; font-weight: 300;
  letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .7s .2s var(--ease-out) forwards;
}

.hero-h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(46px, 7.5vw, 112px);
  font-weight: 100; line-height: 1.03;
  letter-spacing: -.01em; color: var(--w);
  margin-bottom: 36px;
  overflow: visible;
  text-shadow: 0 2px 32px rgba(0,0,0,0.9), 0 0 80px rgba(0,0,0,0.7);
}

.hero-sub {
  font-size: 14px; color: var(--w70);
  line-height: 1.9; max-width: 440px; margin-bottom: 52px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .7s .8s var(--ease-out) forwards;
  text-shadow: 0 1px 16px rgba(0,0,0,0.95);
}

.hero-btns {
  display: flex; gap: 24px; align-items: center;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .7s 1s var(--ease-out) forwards;
}

/* Large background text */
.hero-bg-text {
  position: absolute;
  /* Center it so it never gets clipped on either side */
  left: 50%; top: 50%;
  transform: translate(-46%, -50%);
  font-size: clamp(160px, 20vw, 280px);
  font-weight: 100; letter-spacing: -.04em;
  color: rgba(255,255,255,0.018);
  pointer-events: none; user-select: none;
  white-space: nowrap;
  will-change: transform;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 40px; left: 7%;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; animation: fadeIn 1s 1.8s forwards;
  z-index: 10;
}
.hero-scroll-line {
  width: 48px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
.hero-scroll-label {
  font-size: 9px; letter-spacing: .38em;
  text-transform: uppercase; color: var(--w40);
}

/* ════════════════════════════════
   VIDEO / DOOR PANELS (hero bg)
════════════════════════════════ */
#vidReveal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.vid-reveal-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.18) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}
.vid-panel-l,
.vid-panel-r {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--bg);
  will-change: transform;
  overflow: hidden;
  z-index: 4;
}
.vid-panel-l { left: 0; transform: translateZ(0); }
.vid-panel-r { right: 0; transform: translateZ(0); }

.vid-panel-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 55px,
    rgba(196,163,90,0.04) 55px,
    rgba(196,163,90,0.04) 56px
  );
  pointer-events: none;
}
.vid-panel-seam {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.85;
}
.vid-panel-l .vid-panel-seam { right: 0; }
.vid-panel-r .vid-panel-seam { left: 0; }

.vid-panel-brand,
.vid-panel-tagline {
  position: absolute;
  bottom: 52px;
  font-family: 'Raleway', sans-serif;
  font-size: 8.5px;
  font-weight: 300;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgba(196,163,90,0.38);
  white-space: nowrap;
}
.vid-panel-brand   { right: 32px; }
.vid-panel-tagline { left: 32px; }

/* ════════════════════════════════
   MARQUEE
════════════════════════════════ */
.marquee-wrap {
  overflow: hidden; position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 18px 0;
}
.marquee-row { display: flex; overflow: hidden; }
.marquee-row + .marquee-row { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 18px; }
.marquee-track {
  display: flex; white-space: nowrap; flex-shrink: 0;
  animation: marquee 28s linear infinite;
}
.marquee-track.rev { animation-direction: reverse; animation-duration: 22s; }
.marquee-item {
  font-size: 10px; font-weight: 300;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--w40); padding: 0 36px; flex-shrink: 0;
}
.marquee-item.gold { color: var(--gold); font-weight: 400; }
.marquee-sep { color: var(--gold); padding: 0 10px; flex-shrink: 0; font-size: 10px; }

/* ════════════════════════════════
   SECTION COMMONS
════════════════════════════════ */
section { padding: 120px 7%; }

.section-eyebrow {
  font-size: 9.5px; font-weight: 300;
  letter-spacing: .45em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; display: block;
}
.section-h2 {
  font-size: clamp(32px, 4.8vw, 68px);
  font-weight: 100; letter-spacing: -.01em;
  color: var(--w); line-height: 1.1; margin-bottom: 20px;
}
.section-h2 em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; }
.section-bar { width: 52px; height: 1px; background: var(--gold); margin-bottom: 40px; }
.section-lead {
  font-size: 14px; color: var(--w70); line-height: 1.95;
  max-width: 560px; margin-bottom: 64px;
}

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn-p {
  display: inline-block;
  font-size: 9.5px; font-weight: 400; letter-spacing: .3em;
  text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: #0a0a0a;
  padding: 16px 38px; border-radius: 2px;
  border: none; cursor: pointer;
  transition: background .3s;
}
.btn-p:hover { background: var(--gold-lt); }

.btn-s {
  display: inline-block;
  font-size: 9.5px; font-weight: 300; letter-spacing: .3em;
  text-transform: uppercase; text-decoration: none;
  color: var(--w70); border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px; cursor: pointer;
  transition: color .3s, border-color .3s;
}
.btn-s:hover { color: var(--gold); border-color: var(--gold); }

.btn-outline {
  display: inline-block;
  font-size: 9.5px; font-weight: 300; letter-spacing: .3em;
  text-transform: uppercase; text-decoration: none;
  color: var(--w70); border: 1px solid var(--border);
  padding: 14px 32px; border-radius: 2px; cursor: pointer;
  transition: border-color .3s, color .3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ════════════════════════════════
   PROBLEMS / GRID CARDS
════════════════════════════════ */
/* ── Bento Problem Grid ── */
.bento-problem {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  margin-top: 64px;
}

.bento-card {
  background: var(--bg-alt);
  padding: 64px 54px;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}
.bento-card:hover { background: var(--bg-card); }
.bento-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.bento-card:hover::before { transform: scaleX(1); }

.bento-card--hero { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 72px 60px; min-height: 480px; }
.bento-card--two  { grid-column: 2; grid-row: 1; }
.bento-card--three { grid-column: 3; grid-row: 1; }
.bento-card--accent { grid-column: 2 / 4; grid-row: 2; display: flex; flex-direction: column; justify-content: center; gap: 14px; }

.bento-num {
  font-size: 110px; font-weight: 100;
  color: rgba(196,163,90,.07); line-height: 1;
  font-family: 'Cormorant Garamond', serif;
  position: absolute; top: 28px; left: 40px;
  pointer-events: none; user-select: none;
}
.bento-card--hero .bento-num { font-size: 160px; top: 24px; left: 44px; }

.bento-title { font-size: 21px; font-weight: 300; color: var(--w); margin-bottom: 16px; margin-top: 96px; }
.bento-card--hero .bento-title { font-size: 28px; margin-top: 0; }

.bento-desc { font-size: 15px; color: var(--w70); line-height: 1.9; }

.bento-deco {
  position: absolute; bottom: 0; right: 0;
  width: 180px; height: 180px;
  border-top: 1px solid rgba(196,163,90,.1);
  border-left: 1px solid rgba(196,163,90,.1);
  border-radius: 0;
  pointer-events: none;
}

.bento-accent-stat {
  font-family: 'Cormorant Garamond', serif;
  font-size: 88px; font-weight: 300;
  color: var(--gold); line-height: 1;
}
.bento-accent-stat span { font-size: 52px; }
.bento-accent-stat .bento-stat-num { font-family: 'Raleway', sans-serif !important; font-size: 88px; font-weight: 200; margin-right: 6px; }
.bento-accent-label { font-size: 14px; color: var(--w50); line-height: 1.85; max-width: 520px; }
.bento-accent-cta { font-size: 15px; color: var(--w); font-weight: 300; letter-spacing: .06em; margin-top: 6px; }

@media (max-width: 768px) {
  .bento-problem { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-card--hero { grid-column: 1; grid-row: auto; min-height: 320px; }
  .bento-card--two, .bento-card--three, .bento-card--accent { grid-column: 1; grid-row: auto; }
  .bento-card--hero .bento-num { font-size: 96px; }
}

/* ════════════════════════════════
   HORIZONTAL SCROLL SERVICES
════════════════════════════════ */
.h-scroll-section { position: relative; /* height set by JS */ }
.h-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.h-scroll-label {
  position: absolute; top: 52px; left: 7%;
  z-index: 10; display: flex; align-items: center; gap: 20px;
}
.h-scroll-progress {
  width: 120px; height: 1px; background: var(--border); position: relative; overflow: hidden;
}
.h-scroll-progress-bar {
  position: absolute; inset: 0;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
}
.h-scroll-inner {
  display: flex; height: 100vh; align-items: stretch;
  will-change: transform;
}

.h-svc-intro {
  width: clamp(320px, 26vw, 440px); flex-shrink: 0;
  height: 100%; display: flex; flex-direction: column;
  justify-content: center; padding: 0 60px 0 7%;
  border-right: 1px solid var(--border);
}
.h-svc-intro .section-h2 { font-size: clamp(34px, 4vw, 58px); }

.h-svc-card {
  width: clamp(420px, 38vw, 580px); flex-shrink: 0;
  height: 100%; padding: 80px 68px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border); position: relative; overflow: hidden;
  transition: background .4s;
  text-decoration: none; color: inherit; cursor: pointer;
  background: var(--bg);
}
.h-svc-card:hover { background: var(--bg-alt); }
.h-svc-img {
  width: calc(100% + 136px); margin: -80px -68px 32px;
  height: 220px; overflow: hidden; flex-shrink: 0;
}
.h-svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.h-svc-card:hover .h-svc-img img { transform: scale(1.04); }
.h-svc-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.h-svc-card:hover::after { transform: scaleX(1); }

.h-svc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 200;
  color: var(--gold); opacity: .9;
  margin-bottom: 16px; line-height: 1;
  letter-spacing: -.02em;
}

.h-svc-badge {
  font-size: 13px; font-weight: 300; letter-spacing: .14em;
  text-transform: uppercase; color: var(--w); opacity: .7; margin-bottom: 20px;
}
.h-svc-title {
  font-size: clamp(28px, 3.2vw, 46px); font-weight: 100;
  letter-spacing: -.01em; color: var(--w); margin-bottom: 20px; line-height: 1.1;
}
.h-svc-desc { font-size: 16px; color: var(--w70); line-height: 1.85; max-width: 380px; margin-bottom: 36px; }
.h-svc-list { list-style: none; }
.h-svc-list li {
  font-size: 15px; color: var(--w); opacity: .7; padding: 12px 0;
  border-bottom: 1px solid var(--border); display: flex; gap: 14px;
}
.h-svc-list li:last-child { border-bottom: none; }
.h-svc-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; opacity: 1; }

/* ════════════════════════════════
   STATS — CINEMATIC
════════════════════════════════ */
.stats-cinematic {
  background: var(--bg-alt);
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background-image: linear-gradient(var(--border),var(--border));
  padding: 0; margin: 0;
}
.stat-cell {
  background: var(--bg-alt); padding: 80px 52px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px; position: relative; overflow: hidden;
  transition: background .4s;
}
.stat-cell:hover { background: var(--bg-card); }
.stat-big {
  font-size: clamp(64px, 7vw, 100px); font-weight: 100;
  line-height: 1; color: var(--w);
  font-family: 'Cormorant Garamond', serif;
}
.stat-big span { color: var(--gold); }
.stat-label {
  font-size: 10px; font-weight: 300;
  letter-spacing: .35em; text-transform: uppercase; color: var(--w40);
}
.stat-cell-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.stat-cell:hover .stat-cell-line { transform: scaleX(1); }

/* ════════════════════════════════
   GUARANTEES — Split + 2×2 Cards
════════════════════════════════ */
.promise-sec { padding: 120px 7%; }

.promise-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.promise-left {
  position: sticky;
  top: 120px;
}

.promise-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 300;
  color: var(--w);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 20px 0 28px;
}
.promise-heading em { color: var(--gold); font-style: italic; }

.promise-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

/* Promise Card */
.pc {
  background: var(--bg-alt);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: background .35s;
}
.pc::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.pc:hover { background: var(--bg-card); }
.pc:hover::after { transform: scaleX(1); }

.pc-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(196,163,90,.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: rgba(196,163,90,.04);
  transition: background .3s, border-color .3s;
}
.pc:hover .pc-icon { background: rgba(196,163,90,.09); border-color: rgba(196,163,90,.38); }
.pc-icon svg { width: 19px; height: 19px; }

.pc-title {
  font-size: 15.5px; font-weight: 300;
  color: var(--w); letter-spacing: -.01em;
}
.pc-desc {
  font-size: 13px; color: var(--w60);
  line-height: 1.85;
}

@media (max-width: 960px) {
  .promise-split { grid-template-columns: 1fr; gap: 48px; }
  .promise-left { position: static; }
}
@media (max-width: 540px) {
  .promise-right { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   SERVICE DETAIL (leistungen page)
════════════════════════════════ */
.svc-detail-wrap { padding: 140px 7%; }
.svc-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center; margin-bottom: 140px;
}
.svc-detail:last-child { margin-bottom: 0; }
.svc-detail.flip .svc-visual { order: -1; }

.svc-eyebrow { font-size: 9.5px; font-weight: 300; letter-spacing: .45em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.svc-h3 {
  font-size: clamp(28px, 3.5vw, 50px); font-weight: 100;
  letter-spacing: -.01em; color: var(--w); margin-bottom: 22px; line-height: 1.15;
}
.svc-text { font-size: 13.5px; color: var(--w70); line-height: 1.95; margin-bottom: 32px; }
.svc-list { list-style: none; }
.svc-list li {
  font-size: 12.5px; color: var(--w70); padding: 11px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before { content: ''; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }

.svc-visual {
  position: relative; min-height: 480px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.svc-visual-inner { text-align: center; }
.svc-visual-code {
  font-size: 80px; font-weight: 100;
  color: rgba(196,163,90,.12);
  font-family: 'Cormorant Garamond', serif; line-height: 1;
  margin-bottom: 16px;
}
.svc-visual-hint {
  font-size: 9px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--w40);
}
.svc-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.svc-visual::before {
  content: ''; position: absolute;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  border: 1px solid rgba(196,163,90,.05);
  pointer-events: none;
}
.svc-visual-corner {
  position: absolute; width: 20px; height: 20px;
}
.svc-visual-corner.tl { top: 14px; left: 14px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.svc-visual-corner.tr { top: 14px; right: 14px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.svc-visual-corner.bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.svc-visual-corner.br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

/* ════════════════════════════════
   PROCESS STEPS
════════════════════════════════ */
.steps-wrap {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative;
}
.steps-line {
  position: absolute; top: 28px; left: 28px;
  right: calc(25% - 28px); height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(196,163,90,.1));
}
.step { padding-right: 40px; }
.step-num {
  width: 56px; height: 56px;
  border: 1px solid rgba(196,163,90,.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 200; color: var(--gold);
  margin-bottom: 32px; background: var(--bg); position: relative; z-index: 1;
  transition: background .3s, border-color .3s;
}
.step:hover .step-num { background: rgba(196,163,90,.08); border-color: var(--gold); }
.step-title { font-size: 15px; font-weight: 300; color: var(--w); margin-bottom: 12px; }
.step-desc { font-size: 12.5px; color: var(--w70); line-height: 1.8; }

/* ════════════════════════════════
   CTA SECTION
════════════════════════════════ */
.cta-sec {
  background: var(--bg-alt); text-align: center;
  position: relative; overflow: hidden;
}
.cta-sec .section-h2 { max-width: 700px; margin: 0 auto 20px; }
.cta-sec .section-bar { margin: 0 auto 32px; }
.cta-sec p { font-size: 14px; color: var(--w70); line-height: 1.9; max-width: 500px; margin: 0 auto 48px; }

/* Big CTA quote */
.cta-quote {
  font-size: clamp(36px, 5.5vw, 80px); font-weight: 100;
  color: var(--w); line-height: 1.25; letter-spacing: -.02em;
  margin-bottom: 52px; overflow: visible; padding-bottom: 12px;
}
.cta-quote .word-wrap {
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  overflow: visible;
}
.cta-quote em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; }
.cta-bg-text {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: 200px; font-weight: 100; white-space: nowrap;
  color: rgba(255,255,255,.018); pointer-events: none; user-select: none;
}

/* ════════════════════════════════
   ABOUT PAGE
════════════════════════════════ */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.story-text p { font-size: 14px; color: var(--w70); line-height: 1.95; margin-bottom: 22px; }
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--w); font-weight: 400; }
.story-visual {
  position: relative; min-height: 520px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #3a3a3a;
}
.story-brand-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.story-big {
  font-size: clamp(80px, 10vw, 140px); font-weight: 100;
  letter-spacing: .05em; text-align: center; line-height: 1;
  color: rgba(196,163,90,.1);
  font-family: 'Cormorant Garamond', serif;
}

.val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.val-card {
  background: var(--bg-alt); padding: 52px 44px;
  transition: background .4s;
  position: relative; overflow: hidden;
}
.val-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.val-card:hover::before { transform: scaleX(1); }
.val-card:hover { background: var(--bg-card); }
.val-num {
  font-size: 60px; font-weight: 100;
  color: rgba(196,163,90,.08);
  font-family: 'Cormorant Garamond', serif; line-height: 1; margin-bottom: 24px;
}
.val-title { font-size: 16px; font-weight: 300; color: var(--w); margin-bottom: 12px; }
.val-desc { font-size: 12.5px; color: var(--w70); line-height: 1.85; }

/* ════════════════════════════════
   CAREER PAGE
════════════════════════════════ */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.benefit {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 40px 32px; border-radius: 3px;
  transition: border-color .35s, transform .4s var(--ease-out);
}
.benefit:hover { border-color: var(--gold-dim); transform: translateY(-6px); }
.benefit-icon { font-size: 28px; margin-bottom: 20px; line-height: 1; }
.benefit-title { font-size: 15px; font-weight: 300; color: var(--w); margin-bottom: 10px; }
.benefit-desc { font-size: 12.5px; color: var(--w70); line-height: 1.8; }

.jobs-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.job-card {
  background: var(--bg-alt); padding: 36px 52px;
  display: flex; align-items: center; justify-content: space-between;
  border-left: 2px solid transparent;
  transition: background .35s, border-color .35s, padding-left .35s var(--ease-out);
  text-decoration: none; color: inherit; cursor: pointer;
}
.job-card:hover { background: var(--bg-card); border-left-color: var(--gold); padding-left: 64px; }
.job-title { font-size: 18px; font-weight: 300; color: var(--w); margin-bottom: 7px; }
.job-meta { font-size: 11px; color: var(--w70); letter-spacing: .08em; }
.job-tag {
  font-size: 9px; font-weight: 400; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold-dim); padding: 8px 20px; border-radius: 2px;
  white-space: nowrap; flex-shrink: 0;
}

/* ════════════════════════════════
   FORM
════════════════════════════════ */
.form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 3px; padding: 60px 56px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.form-group { display: flex; flex-direction: column; gap: 9px; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 9px; font-weight: 400;
  letter-spacing: .35em; text-transform: uppercase; color: var(--gold);
}
input, textarea, select {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 2px; color: var(--w);
  font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 300;
  padding: 15px 20px; outline: none; width: 100%;
  transition: border-color .3s; cursor: pointer;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
select option { background: var(--bg-card); }

/* ════════════════════════════════
   PAGE HERO (subpages)
════════════════════════════════ */
.page-hero {
  position: relative; min-height: 65vh;
  display: flex; align-items: flex-end;
  padding: 80px 7% 80px; overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(196,163,90,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  will-change: transform;
}
.page-hero-content { position: relative; z-index: 10; }
.page-eyebrow { font-size: 9.5px; font-weight: 300; letter-spacing: .45em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.page-h1 {
  font-size: clamp(38px, 6vw, 88px); font-weight: 100;
  letter-spacing: -.01em; color: var(--w); line-height: 1.06; margin-bottom: 20px;
}
.page-sub { font-size: 13.5px; color: var(--w70); max-width: 500px; line-height: 1.85; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: #252525; padding: 80px 7% 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-logo {
  font-size: 15px; font-weight: 100; letter-spacing: .5em;
  text-transform: uppercase; color: var(--w); margin-bottom: 20px;
  display: block; text-decoration: none; cursor: pointer;
}
.footer-desc { font-size: 12.5px; color: var(--w70); line-height: 1.9; max-width: 260px; }
.footer-head { font-size: 9px; font-weight: 400; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-ul { list-style: none; }
.footer-ul li { margin-bottom: 11px; }
.footer-ul a { font-size: 12.5px; color: var(--w70); text-decoration: none; transition: color .3s; cursor: pointer; }
.footer-ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: var(--w40); letter-spacing: .08em; }
.footer-tagline { font-size: 10px; font-weight: 100; letter-spacing: .42em; text-transform: uppercase; color: var(--w40); }

/* ════════════════════════════════
   TEXT SPLIT (GSAP sets this up)
════════════════════════════════ */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: .28em;
  /* Extra room so descenders (g, y, p) and cap-height aren't clipped */
  padding-bottom: 0.28em;
  margin-bottom: -0.28em;
}
.word-inner { display: inline-block; }

/* ════════════════════════════════
   TIMELINE (Arbeitsprozess)
════════════════════════════════ */
.timeline-sec { background: var(--bg-alt); position: relative; overflow: hidden; }

.timeline-wrap {
  position: relative;
  margin-top: 64px;
  padding-left: 32px;
}

/* Vertical track — aligned with the dot (right edge of timeline-left column) */
.timeline-track {
  position: absolute;
  left: 213px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(196,163,90,0.12);
}

/* Animated beam — height driven by GSAP ScrollTrigger */
.timeline-beam {
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  transition: none;
}

/* Each row */
.timeline-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 52px;
  padding-bottom: 80px;
  position: relative;
}
.timeline-entry:last-child { padding-bottom: 0; }

/* Left column */
.timeline-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 24px;
  padding-top: 4px;
}

/* Dot on the line */
.timeline-dot {
  position: absolute;
  right: -8px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.5);
  background: var(--bg-alt);
  transition: border-color .4s, background .4s;
  z-index: 2;
}
.timeline-entry:hover .timeline-dot {
  border-color: var(--gold);
  background: rgba(196,163,90,0.12);
}

.timeline-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 200;
  letter-spacing: -.02em; color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.timeline-date {
  font-size: 10px; font-weight: 300;
  letter-spacing: .25em; color: var(--w40);
  text-transform: uppercase;
}

/* Right column */
.timeline-right {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 80px;
}
.timeline-entry:last-child .timeline-right {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-title {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 100; color: var(--w);
  letter-spacing: -.01em; line-height: 1.25;
  margin-bottom: 16px;
}

.timeline-text {
  font-size: 13.5px; color: var(--w70);
  line-height: 1.9; max-width: 560px;
  margin-bottom: 24px;
}

.timeline-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.timeline-tag {
  font-size: 9px; font-weight: 300;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--w40);
  border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 2px;
  transition: border-color .3s, color .3s;
}
.timeline-entry:hover .timeline-tag { border-color: rgba(196,163,90,0.22); color: var(--w70); }
.timeline-tag.gold { color: var(--gold); border-color: rgba(196,163,90,0.3); }

/* Responsive */
@media (max-width: 768px) {
  .timeline-wrap { padding-left: 20px; }
  .timeline-entry { grid-template-columns: 1fr; gap: 16px; padding-bottom: 52px; }
  .timeline-left { flex-direction: row; align-items: center; gap: 14px;
    padding-right: 0; padding-top: 0; }
  .timeline-dot { position: static; right: auto; top: auto; }
  .timeline-right {
    padding-bottom: 52px; border-bottom: 1px solid var(--border);
    min-width: 0; overflow: hidden;
  }
  .timeline-title { font-size: clamp(15px, 4.2vw, 20px); word-break: break-word; overflow-wrap: break-word; }
  .timeline-text { font-size: 13px; max-width: 100%; }
  .timeline-entry:last-child .timeline-right { border-bottom: none; padding-bottom: 0; }
  .timeline-date { display: none; }
}

/* ════════════════════════════════
   SHIMMER TEXT (hero gold line)
════════════════════════════════ */
/* Cycling word container */
.hero-h1-cycling {
  display: block;
  position: relative;
  height: 1.4em;
}
.hero-cycle-wrap {
  display: block;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.hero-cycle-word {
  display: block;
  position: absolute;
  top: 0; left: 0;
  color: var(--gold);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(110%);
  will-change: transform, opacity;
}
.hero-h1-cycling.cycle-active .hero-cycle-word {
  animation: cycleWord 11s var(--ease-out) both infinite;
}
.hero-h1-cycling.cycle-active .hero-cycle-word:nth-child(1) { animation-delay: 0s; }
.hero-h1-cycling.cycle-active .hero-cycle-word:nth-child(2) { animation-delay: 2.2s; }
.hero-h1-cycling.cycle-active .hero-cycle-word:nth-child(3) { animation-delay: 4.4s; }
.hero-h1-cycling.cycle-active .hero-cycle-word:nth-child(4) { animation-delay: 6.6s; }
.hero-h1-cycling.cycle-active .hero-cycle-word:nth-child(5) { animation-delay: 8.8s; }
@keyframes cycleWord {
  0%   { transform: translateY(110%);  opacity: 0; }
  5%   { transform: translateY(0);     opacity: 1; }
  16%  { transform: translateY(0);     opacity: 1; }
  20%  { transform: translateY(-110%); opacity: 0; }
  21%  { transform: translateY(110%);  opacity: 0; }
  100% { transform: translateY(110%);  opacity: 0; }
}
@keyframes shimmerGold {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ════════════════════════════════
   SPOTLIGHT CARDS
════════════════════════════════ */
.problem-card,
.h-svc-card {
  --sx: -999px;
  --sy: -999px;
}
.problem-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--sx) var(--sy), rgba(196,163,90,0.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .4s;
}
.problem-card:hover::after { opacity: 1; }



/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { to { opacity:1; } }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes scrollPulse { 0%,100% { opacity:.3; } 50% { opacity:1; } }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1200px) {
  .svc-detail { grid-template-columns: 1fr; gap: 48px; }
  .svc-detail.flip .svc-visual { order: 0; }
  .story-grid { grid-template-columns: 1fr; gap: 52px; }
}
/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  nav { padding: 22px 5%; }
  nav.scrolled { padding: 16px 5%; }
  section { padding: 80px 5%; }
  .page-hero { padding: 70px 5% 70px; }
  .stats-cinematic { grid-template-columns: repeat(2,1fr); }
  .steps-wrap { grid-template-columns: repeat(2,1fr); gap: 52px; }
  .steps-line { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  /* h-scroll: disable sticky, use native horizontal scroll */
  .h-scroll-sticky { position: static; height: auto; overflow: visible; }
  .h-scroll-label { position: static; padding: 28px 5% 12px; }
  .h-scroll-section { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .h-scroll-section::-webkit-scrollbar { display: none; }
  .h-scroll-inner { height: auto; transform: none !important; }
  .h-svc-card { height: auto; min-height: 400px; }
}

/* ── SMARTPHONE (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; cursor: pointer; z-index: 1000; position: relative; }

  /* Sections */
  section { padding: 60px 5%; }
  .page-hero { padding: 90px 5% 60px; }

  /* Hero */
  .hero { height: 100vh; }
  .hero-sticky { padding: 100px 5% 60px; }
  .hero-content { max-width: 100%; }
  .hero-bg-text { display: none; }
  .vid-panel-l .vid-panel-brand { display: none; }
  .vid-panel-r .vid-panel-tagline { display: none; }

  /* Prevent stale transforms from parallax/tilt on mobile */
  .pc { transform: none !important; }
  [data-mouse] { transform: none !important; }

  /* Hero trust badges – wrap to one per row on small screens */
  .hero-trust-badges { flex-direction: column; gap: 8px; }

  /* H-scroll: native scroll on mobile */
  .h-scroll-sticky { position: static; height: auto; overflow: visible; }
  .h-scroll-label { position: static; padding: 24px 5% 8px; }
  .h-scroll-section { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .h-scroll-section::-webkit-scrollbar { display: none; }
  .h-scroll-inner { height: auto; transform: none !important; flex-wrap: nowrap; padding: 0 5% 40px; gap: 16px; }
  .h-scroll-progress { display: none; }
  .h-svc-intro { width: 260px; height: auto; padding: 0 20px 0 0; border-right: none; justify-content: flex-start; padding-top: 16px; }
  .h-svc-card { width: 280px; height: auto; min-height: 340px; padding: 40px 24px; justify-content: center; }

  /* Grids → single column */
  .problem-grid { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: 1fr; }
  .g-card--featured { grid-row: auto; }
  .g-card--wide { grid-column: auto; }
  .g-card--wide .g-card-body { flex-direction: column; }
  .g-card--featured .g-card-body { padding: 36px 28px; }
  .val-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-wrap { grid-template-columns: 1fr; }
  .stats-cinematic { grid-template-columns: 1fr 1fr; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 20px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

  /* CTA */
  .cta-quote { font-size: clamp(30px, 9vw, 48px); }

  /* Testimonials */
  .testimonial-card { padding: 28px 20px; }

  /* Page hero text */
  .page-h1 { font-size: clamp(36px, 9vw, 60px); }
  .page-sub { font-size: 13px; }

  /* Service detail pages */
  .svc-detail { gap: 32px; }
  .svc-visual { height: 220px; }

  /* Consultation section */
  .consult-visual { display: none; }
  .consult-btns { flex-direction: column; }
  .btn-wa, .btn-s { width: 100%; text-align: center; justify-content: center; }

  /* Stats */
  .stat-big { font-size: clamp(44px, 12vw, 80px); }
}

/* ── SMALL SMARTPHONE (≤480px) ── */
@media (max-width: 480px) {
  .hero-sticky { padding: 90px 5% 50px; }
  .hero-h1 { font-size: clamp(36px, 11vw, 56px); }
  .stats-cinematic { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn-p, .btn-s { width: 100%; text-align: center; }
  .h-svc-card { width: 260px; }
}

/* ════════════════════════════════
   HOUSE REVEAL SECTION
════════════════════════════════ */
.house-reveal-sec {
  padding: 140px 7%;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  background: var(--bg-alt);
}

/* Blueprint grid background */
.house-bg-grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(196,163,90,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  will-change: transform; pointer-events: none;
}

/* Floating accent rings */
.house-float-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(196,163,90,.06);
  pointer-events: none; will-change: transform;
}
.house-float-ring-1 { width: 540px; height: 540px; top: -160px; right: -80px; }
.house-float-ring-2 { width: 320px; height: 320px; bottom: -100px; left: 3%; }
.house-float-ring-3 { width: 160px; height: 160px; top: 38%; left: 38%; border-color: rgba(196,163,90,.1); }

/* Text column steps */
.house-steps { display: flex; flex-direction: column; gap: 26px; margin-top: 44px; }
.house-step { display: flex; align-items: flex-start; gap: 22px; }
.house-step-num {
  font-size: 10px; font-weight: 300; letter-spacing: .4em;
  color: var(--gold); flex-shrink: 0; padding-top: 3px; font-family: 'Raleway', sans-serif;
}
.house-step-title { font-size: 14px; font-weight: 300; color: var(--w); margin-bottom: 5px; }
.house-step-desc  { font-size: 12px; color: var(--w70); line-height: 1.8; }

/* Scene column */
.house-scene-col {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

/* ─── TRUE 3-D STAGE ───
   No CSS perspective here — GSAP sets transformPerspective.
   Base tilt: rotateX(-8) rotateY(-18) set on init via JS.
*/
.house-stage {
  position: relative;
  width: 560px;
  height: 500px;
  transform-style: preserve-3d;
  /* NO transition — GSAP owns all transforms */
}

/* Roof SVG — lives in 3D space above the box */
.house-roof-svg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 155px;
  pointer-events: none;
  transform: translateZ(3px); /* just above the front panels */
}

/* ─── 3-D BOX (body of the house) ─── */
.h3d-box {
  position: absolute;
  top: 148px; left: 0;
  width: 560px; height: 312px;
  transform-style: preserve-3d;
}

/* BACK WALL — blueprint floor plan, z = -280px (full panel depth) */
.h3d-back {
  position: absolute;
  inset: 0;
  transform: translateZ(-280px);
  background: #070707;
  overflow: hidden;
  opacity: 0;
}
.h3d-back svg { width: 100%; height: 100%; display: block; }

/* FLOOR — lies flat going into screen, blueprint grid */
.h3d-floor {
  position: absolute;
  top: 312px; left: 0;
  width: 560px; height: 280px;
  transform-origin: 50% 0%;
  transform: rotateX(-90deg);
  background:
    linear-gradient(rgba(196,163,90,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,.05) 1px, transparent 1px),
    #060606;
  background-size: 40px 40px, 40px 40px, 100% 100%;
  opacity: 0;
}

/* CEILING — horizontal plane at top of box */
.h3d-ceiling {
  position: absolute;
  top: 0; left: 0;
  width: 560px; height: 280px;
  transform-origin: 50% 100%;
  transform: rotateX(90deg);
  background: #2c2c2c;
  opacity: 0;
}

/* LEFT PANEL — hinge at x=0 (left edge). Opens rotateY(-90°) → becomes left wall */
.h3d-panel-l {
  position: absolute;
  left: 0; top: 0;
  width: 280px; height: 312px;
  transform-origin: 0% 50%;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.h3d-panel-l svg { width: 100%; height: 100%; display: block; }

/* RIGHT PANEL — hinge at x=100% (right edge). Opens rotateY(90°) → becomes right wall */
.h3d-panel-r {
  position: absolute;
  right: 0; top: 0;
  width: 280px; height: 312px;
  transform-origin: 100% 50%;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.h3d-panel-r svg { width: 100%; height: 100%; display: block; }

/* FOUNDATION */
.house-foundation {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 42px; pointer-events: none;
  transform: translateZ(2px);
}
.house-foundation svg { width: 100%; height: 100%; display: block; }

/* Interior blueprint labels (fade in when house opens) */
.house-int-label {
  position: absolute;
  font-size: 8px; font-weight: 300;
  letter-spacing: .35em; text-transform: uppercase;
  color: rgba(196,163,90,.55); opacity: 0;
  font-family: 'Raleway', sans-serif;
  pointer-events: none;
}
.house-int-label-1 { bottom: 10px; left: 16px; }
.house-int-label-2 { bottom: 10px; right: 16px; }

/* Floating blueprint tags */
.house-bp-tag {
  position: absolute;
  font-size: 8px; font-weight: 300; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(196,163,90,.4);
  border: 1px solid rgba(196,163,90,.15);
  padding: 7px 16px; border-radius: 2px;
  white-space: nowrap; pointer-events: none;
  font-family: 'Raleway', sans-serif;
  will-change: transform;
}
.house-bp-tag-1 { top: -28px; left: 10px; }
.house-bp-tag-2 { top: 110px; right: -35px; }
.house-bp-tag-3 { bottom: 55px; left: -25px; }

/* Extra section parallax helper */
.sec-parallax-el {
  position: absolute; pointer-events: none; will-change: transform;
}

/* Decorative floating ring reused in normal sections */
.section-deco-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(196,163,90,.05);
  pointer-events: none; will-change: transform;
}

/* ════════════════════════════════
   HOUSE SECTION — RESPONSIVE
════════════════════════════════ */
@media (max-width: 1200px) {
  .house-reveal-sec { grid-template-columns: 1fr; gap: 60px; }
  .house-stage { width: 480px; height: 430px; }
  .h3d-box { top: 128px; width: 480px; height: 268px; }
  .h3d-floor { width: 480px; top: 268px; }
  .h3d-ceiling { width: 480px; }
  .h3d-panel-l { width: 240px; }
  .h3d-panel-r { width: 240px; }
}
@media (max-width: 768px) {
  .house-reveal-sec { padding: 80px 5%; }
  /* Flat mode on small screens — disable 3D */
  .house-stage { width: 340px; height: 320px; transform: none !important; }
  .h3d-box { top: 90px; width: 340px; height: 194px; }
  .h3d-floor, .h3d-ceiling { display: none; }
  .h3d-panel-l { width: 170px; }
  .h3d-panel-r { width: 170px; }
  .house-roof-svg { height: 90px; }
  .house-bp-tag { display: none; }
  .house-float-ring { display: none; }
}

/* ════════════════════════════════
   3-D SIDE WALLS
════════════════════════════════ */
.h3d-side-l {
  position: absolute;
  left: 0; top: 0;
  width: 280px; height: 312px;
  transform-origin: 0% 50%;
  transform: rotateY(-90deg);
  background: linear-gradient(90deg, #090909 0%, #141414 100%);
  overflow: hidden;
}
.h3d-side-l::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(196,163,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.h3d-side-l::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(196,163,90,.3), transparent);
}

.h3d-side-r {
  position: absolute;
  right: 0; top: 0;
  width: 280px; height: 312px;
  transform-origin: 100% 50%;
  transform: rotateY(90deg);
  background: linear-gradient(270deg, #252525 0%, #2c2c2c 100%);
  overflow: hidden;
}
.h3d-side-r::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(196,163,90,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,163,90,.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.h3d-side-r::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(196,163,90,.25), transparent);
}

/* Side wall window detail */
.h3d-sw-win {
  position: absolute;
  width: 60px; height: 48px;
  border: 1px solid rgba(196,163,90,.28);
  background: rgba(196,163,90,.02);
}
.h3d-side-l .h3d-sw-win:nth-child(1) { top: 55px; left: 40px; }
.h3d-side-l .h3d-sw-win:nth-child(2) { top: 55px; left: 140px; }
.h3d-side-r .h3d-sw-win:nth-child(1) { top: 55px; right: 40px; }

/* House ground glow */
.house-glow {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 460px; height: 50px;
  background: radial-gradient(ellipse, rgba(196,163,90,.18) 0%, transparent 70%);
  filter: blur(14px);
  pointer-events: none; z-index: 0;
}

/* ════════════════════════════════
   IMAGE PLACEHOLDER SECTION
════════════════════════════════ */
.proj-img-sec { padding: 0; overflow: hidden; }
.proj-img-wrap {
  height: 62vh; min-height: 380px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.proj-img-wrap::before, .proj-img-wrap::after {
  content: ''; position: absolute;
  width: 60px; height: 60px;
}
.proj-img-wrap::before { top: 28px; left: 28px; border-top: 1px solid rgba(196,163,90,.3); border-left: 1px solid rgba(196,163,90,.3); }
.proj-img-wrap::after { bottom: 28px; right: 28px; border-bottom: 1px solid rgba(196,163,90,.3); border-right: 1px solid rgba(196,163,90,.3); }
.proj-img-inner { text-align: center; position: relative; z-index: 2; }
.proj-img-eyebrow { font-size: 9.5px; letter-spacing: .45em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.proj-img-title {
  font-size: clamp(30px, 5vw, 62px); font-weight: 100;
  color: rgba(255,255,255,.13); letter-spacing: -.02em;
  font-family: 'Cormorant Garamond', serif; line-height: 1.1;
}

/* ════════════════════════════════
   TESTIMONIALS
════════════════════════════════ */
/* ════════════════════════════════
   TESTIMONIALS — Animated (21st.dev AnimatedTestimonials port)
════════════════════════════════ */
.testi-sec {
  padding: 120px 7%;
  background: var(--bg);
  overflow: hidden;
}
.testi-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.testi-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(196,163,90,0.08);
  border: 1px solid rgba(196,163,90,0.2);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.testi-left .section-h2 { margin-bottom: 18px; text-align: left; }
.testi-subtitle {
  font-size: 13.5px;
  color: var(--w70);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 360px;
}
.testi-nav { display: flex; align-items: center; gap: 10px; }
.testi-dot {
  height: 8px; width: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.18);
  border: none;
  cursor: pointer; padding: 0;
  transition: width .35s var(--ease-out), background .35s;
}
.testi-dot--active { width: 36px; background: var(--gold); }

/* Card stack */
.testi-cards-wrap { position: relative; min-height: 390px; }
.testi-card {
  position: absolute; inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 40px;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
}
.testi-card[data-i="0"] { opacity: 1; pointer-events: auto; }
.testi-stars { display: flex; gap: 4px; margin-bottom: 22px; }
.testi-body { position: relative; flex: 1; margin-bottom: 22px; }
.testi-quote-icon {
  position: absolute; top: -4px; left: -4px;
  opacity: 0.1; color: var(--gold); pointer-events: none;
}
.testi-text {
  font-size: 15px; line-height: 1.85;
  color: var(--w90);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}
.testi-sep { height: 1px; background: var(--border); margin-bottom: 20px; border: none; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(196,163,90,0.1);
  border: 1px solid rgba(196,163,90,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; flex-shrink: 0;
}
.testi-name { font-size: 13.5px; font-weight: 400; color: var(--w); margin-bottom: 3px; }
.testi-role { font-size: 10px; color: var(--w40); letter-spacing: .1em; text-transform: uppercase; }
.testi-deco {
  position: absolute; width: 80px; height: 80px;
  border-radius: 12px; background: rgba(196,163,90,0.04);
  pointer-events: none;
}
.testi-deco--bl { bottom: -16px; left: -16px; }
.testi-deco--tr { top: -16px; right: -16px; }
@media (max-width: 900px) {
  .testi-inner { grid-template-columns: 1fr; gap: 40px; }
  .testi-subtitle { max-width: 100%; }
  .testi-cards-wrap { min-height: 380px; }
  .testi-card { padding: 32px 24px; }
  .testi-text { font-size: 14px; }
}

/* ════════════════════════════════
   CONSULTATION SECTION
════════════════════════════════ */
.consult-sec {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.consult-person {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px; padding: 26px 28px;
  background: var(--bg-card); border: 1px solid var(--gold-dim);
  border-radius: 4px;
}
.consult-photo {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-lift); border: 2px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 200; color: var(--gold);
  font-family: 'Cormorant Garamond', serif; flex-shrink: 0;
}
.consult-person-name { font-size: 16px; font-weight: 300; color: var(--w); margin-bottom: 3px; }
.consult-person-role { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.consult-person-contact { display: flex; flex-direction: column; gap: 5px; }
.consult-person-contact a { font-size: 12px; color: var(--w70); text-decoration: none; transition: color .3s; cursor: pointer; }
.consult-person-contact a:hover { color: var(--gold); }
.consult-btns { display: flex; flex-direction: column; gap: 14px; }
.consult-visual {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.consult-visual-text {
  font-size: 70px; font-weight: 100;
  color: rgba(196,163,90,.08); font-family: 'Cormorant Garamond', serif;
  text-align: center; line-height: 1; letter-spacing: .1em;
}
.consult-visual-hint { font-size: 9px; letter-spacing: .35em; text-transform: uppercase; color: var(--w40); text-align: center; margin-top: 14px; }
@media (max-width: 1024px) { .consult-sec { grid-template-columns: 1fr; gap: 52px; } }

/* ════════════════════════════════
   WHATSAPP BUTTON
════════════════════════════════ */
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 9.5px; font-weight: 400; letter-spacing: .28em;
  text-transform: uppercase; text-decoration: none;
  background: #1b1b1b; color: #4ade80;
  border: 1px solid rgba(74,222,128,.25);
  padding: 16px 32px; border-radius: 2px;
  cursor: pointer; transition: background .3s, border-color .3s;
}
.btn-wa:hover { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.5); }
.btn-wa svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ════════════════════════════════
   CHAT WIDGET
════════════════════════════════ */
.chat-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 8000;
}
.chat-toggle {
  width: 58px; height: 58px; background: var(--gold);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; color: #0a0a0a;
  box-shadow: 0 8px 32px rgba(196,163,90,.3);
  transition: background .3s, box-shadow .3s;
}
.chat-toggle:hover { background: var(--gold-lt); box-shadow: 0 12px 48px rgba(196,163,90,.4); }
.chat-toggle.active { background: var(--gold-lt); }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  background: #252525; color: var(--gold);
  font-size: 7px; font-weight: 600; letter-spacing: .1em;
  padding: 3px 5px; border-radius: 8px;
  font-family: 'Raleway', sans-serif;
}
.chat-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 360px;
  background: #111; border: 1px solid rgba(196,163,90,.2);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.65);
  display: flex; flex-direction: column; max-height: 530px;
  opacity: 0; transform: translateY(20px) scale(.96);
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-header {
  padding: 18px 20px; background: #2c2c2c;
  border-bottom: 1px solid rgba(196,163,90,.12);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  color: #0a0a0a; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; font-family: 'Cormorant Garamond', serif; flex-shrink: 0;
}
.chat-name { font-size: 13px; font-weight: 400; color: var(--w); }
.chat-status { font-size: 10px; color: var(--gold); letter-spacing: .04em; }
.chat-close {
  background: none; border: none; color: var(--w40);
  font-size: 22px; cursor: pointer; line-height: 1; transition: color .2s; padding: 0;
}
.chat-close:hover { color: var(--w); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 18px 14px;
  display: flex; flex-direction: column; gap: 13px; scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(196,163,90,.2); border-radius: 2px; }
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 80%; padding: 10px 14px;
  font-size: 12.5px; line-height: 1.75; color: var(--w); border-radius: 12px;
}
.chat-msg.bot .chat-bubble {
  background: #1a1a1a; border: 1px solid rgba(196,163,90,.1); border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--gold); color: #0a0a0a; border-bottom-right-radius: 4px;
}
.chat-bubbles-row { display: flex; gap: 8px; flex-wrap: wrap; max-width: 100%; }
.chat-quick {
  background: none; border: 1px solid rgba(196,163,90,.3); border-radius: 20px;
  padding: 6px 14px; font-size: 11px; font-weight: 300; color: var(--gold);
  font-family: 'Raleway', sans-serif; cursor: pointer; letter-spacing: .04em;
  transition: background .25s, border-color .25s;
}
.chat-quick:hover { background: rgba(196,163,90,.1); border-color: var(--gold); }
.chat-input-row {
  display: flex; gap: 10px; padding: 12px 14px;
  border-top: 1px solid rgba(196,163,90,.1); flex-shrink: 0;
}
.chat-input-row input {
  flex: 1; background: #2c2c2c; border: 1px solid rgba(196,163,90,.15);
  border-radius: 6px; padding: 10px 14px; font-size: 12.5px; color: var(--w);
  outline: none; cursor: pointer; font-family: 'Raleway', sans-serif;
  transition: border-color .3s; width: auto;
}
.chat-input-row input:focus { border-color: rgba(196,163,90,.4); }
.chat-input-row input::placeholder { color: var(--w40); }
.chat-send {
  width: 40px; height: 40px; border-radius: 6px; background: var(--gold);
  border: none; display: flex; align-items: center; justify-content: center;
  color: #0a0a0a; cursor: pointer; flex-shrink: 0; transition: background .3s;
}
.chat-send:hover { background: var(--gold-lt); }
.chat-footer-cta {
  padding: 11px 14px; border-top: 1px solid rgba(196,163,90,.08);
  display: flex; gap: 9px; flex-shrink: 0;
}
.chat-cta-btn, .chat-wa-btn {
  flex: 1; padding: 9px 10px;
  font-size: 9.5px; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; text-align: center;
  text-decoration: none; border-radius: 4px; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.chat-cta-btn { background: var(--gold); color: #0a0a0a; }
.chat-cta-btn:hover { background: var(--gold-lt); }
.chat-wa-btn { background: none; border: 1px solid rgba(255,255,255,.1); color: var(--w70); }
.chat-wa-btn:hover { border-color: rgba(74,222,128,.4); color: #4ade80; }
@media (max-width: 480px) {
  .chat-widget { bottom: 18px; right: 14px; }
  .chat-panel { width: calc(100vw - 30px); right: 0; }
}

/* ════════════════════════════════
   WORD WRAP FIX (top + bottom clip)
════════════════════════════════ */
.word-wrap {
  padding-top: 0.08em;
  margin-top: -0.08em;
  padding-bottom: 0.28em;
  margin-bottom: -0.28em;
}

/* ════════════════════════════════
   IMPRESSUM PAGE
════════════════════════════════ */
.impressum-content {
  max-width: 760px;
}
.impressum-block {
  margin-bottom: 52px; padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
}
.impressum-block:last-child { border-bottom: none; margin-bottom: 0; }
.impressum-h3 {
  font-size: 11px; font-weight: 400; letter-spacing: .38em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.impressum-text { font-size: 13.5px; color: var(--w70); line-height: 1.95; }
.impressum-text a { color: var(--gold); text-decoration: none; }
.impressum-text a:hover { text-decoration: underline; }
.impressum-text strong { color: var(--w); font-weight: 400; }

/* ════════════════════════════════
   REFERENZEN PAGE
════════════════════════════════ */
.ref-filter {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; margin-top: 44px;
}
.ref-filter-btn {
  padding: 10px 24px; border-radius: 2px; cursor: pointer;
  font-size: 9.5px; font-weight: 300; letter-spacing: .3em;
  text-transform: uppercase; border: 1px solid var(--border);
  background: none; color: var(--w70);
  transition: all .3s; font-family: 'Raleway', sans-serif;
}
.ref-filter-btn:hover, .ref-filter-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(196,163,90,.06); }
.ref-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.ref-card {
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; position: relative;
  transition: border-color .35s, transform .4s var(--ease-out);
  cursor: pointer;
}
.ref-card:hover { border-color: var(--gold-dim); transform: translateY(-6px); }
.ref-card-img {
  height: 240px; background: var(--bg-lift);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.ref-card-img::before, .ref-card-img::after {
  content: ''; position: absolute; width: 20px; height: 20px;
}
.ref-card-img::before { top: 12px; left: 12px; border-top: 1px solid rgba(196,163,90,.4); border-left: 1px solid rgba(196,163,90,.4); }
.ref-card-img::after { bottom: 12px; right: 12px; border-bottom: 1px solid rgba(196,163,90,.4); border-right: 1px solid rgba(196,163,90,.4); }
.ref-card-code {
  font-size: 52px; font-weight: 100; color: rgba(196,163,90,.1);
  font-family: 'Cormorant Garamond', serif;
}
.ref-card-body { padding: 28px 28px 32px; }
.ref-card-tag {
  font-size: 8.5px; font-weight: 400; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.ref-card-title { font-size: 17px; font-weight: 300; color: var(--w); margin-bottom: 10px; line-height: 1.3; }
.ref-card-meta { font-size: 11.5px; color: var(--w40); line-height: 1.7; }
.ref-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; margin-bottom: 4px;
  transition: border-color .35s;
}
.ref-featured:hover { border-color: var(--gold-dim); }
.ref-featured-img {
  min-height: 440px; background: var(--bg-lift);
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--border); position: relative; overflow: hidden;
}
.ref-featured-img::before, .ref-featured-img::after {
  content: ''; position: absolute; width: 30px; height: 30px;
}
.ref-featured-img::before { top: 20px; left: 20px; border-top: 1px solid rgba(196,163,90,.45); border-left: 1px solid rgba(196,163,90,.45); }
.ref-featured-img::after { bottom: 20px; right: 20px; border-bottom: 1px solid rgba(196,163,90,.45); border-right: 1px solid rgba(196,163,90,.45); }
.ref-featured-code {
  font-size: 100px; font-weight: 100; color: rgba(196,163,90,.07);
  font-family: 'Cormorant Garamond', serif; line-height: 1;
}
.ref-featured-body {
  padding: 60px 52px; display: flex; flex-direction: column; justify-content: center;
}
.ref-featured-eyebrow { font-size: 9px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.ref-featured-title { font-size: clamp(24px, 3vw, 42px); font-weight: 100; color: var(--w); line-height: 1.15; margin-bottom: 20px; letter-spacing: -.01em; }
.ref-featured-title em { font-style: italic; color: var(--gold); font-family: 'Cormorant Garamond', serif; }
.ref-featured-text { font-size: 13px; color: var(--w70); line-height: 1.9; margin-bottom: 36px; }
.ref-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.ref-detail-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.ref-detail-label { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--w40); margin-bottom: 5px; }
.ref-detail-val { font-size: 14px; font-weight: 300; color: var(--w); }
@media (max-width: 1024px) {
  .ref-grid { grid-template-columns: repeat(2,1fr); }
  .ref-featured { grid-template-columns: 1fr; }
  .ref-featured-img { min-height: 280px; }
}
@media (max-width: 640px) {
  .ref-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   21.DEV UPGRADE — PARALLAX & EFFECTS
════════════════════════════════ */

/* cursor spotlight + card glow removed */

/* ── 3D Tilt — PC Cards ── */
.pc { transform-style: preserve-3d; will-change: transform; }

/* cycling text: static gold — no repaint animation needed */

/* ── Border Beam (bento hero card) ── */
.bento-beam {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2; overflow: hidden;
}
.bento-beam-line {
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,163,90,.7), transparent);
  animation: beamH 3.5s linear infinite;
}
.bento-beam-line-v {
  position: absolute;
  right: 0; top: -100%;
  width: 1px; height: 50%;
  background: linear-gradient(180deg, transparent, rgba(196,163,90,.5), transparent);
  animation: beamV 3.5s linear infinite .8s;
}
.bento-beam-line-b {
  position: absolute;
  bottom: 0; right: -100%;
  width: 55%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,163,90,.4), transparent);
  animation: beamHR 3.5s linear infinite 1.6s;
}
@keyframes beamH  { 0% { left: -100%; } 100% { left: 200%; } }
@keyframes beamHR { 0% { right: -100%; } 100% { right: 200%; } }
@keyframes beamV  { 0% { top: -100%; } 100% { top: 200%; } }

/* ── Parallax Statement Section ── */
.parallax-statement {
  position: relative;
  height: 80vh; min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.ps-bg {
  position: absolute; inset: -20%;
  background-size: cover; background-position: center;
  will-change: transform;
  filter: brightness(.45) contrast(1.15) saturate(.8);
}
.ps-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(14,14,14,.5) 0%,
    rgba(14,14,14,.2) 45%,
    rgba(14,14,14,.6) 100%);
  z-index: 1;
}
.ps-content { position: relative; z-index: 2; padding: 0 7%; max-width: 1000px; }
.ps-eyebrow {
  display: block;
  font-size: 9.5px; font-weight: 300; letter-spacing: .45em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 32px;
}
.ps-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 118px);
  font-weight: 300; color: var(--w);
  line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 56px;
}
.ps-h2 em { color: var(--gold); font-style: italic; }
.ps-h2 span { display: block; }
.ps-stats {
  display: flex; gap: 0; justify-content: center;
  margin-bottom: 52px; flex-wrap: wrap;
  border: 1px solid rgba(196,163,90,.15);
  border-radius: 2px; overflow: hidden; max-width: 560px; margin-inline: auto;
}
.ps-stat-item {
  flex: 1; padding: 28px 32px; text-align: center;
  border-right: 1px solid rgba(196,163,90,.15);
  transition: background .4s;
}
.ps-stat-item:last-child { border-right: none; }
.ps-stat-item:hover { background: rgba(196,163,90,.06); }
.ps-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 60px); font-weight: 300;
  color: var(--gold); line-height: 1; display: block;
}
.ps-stat-num sup { font-size: .5em; vertical-align: super; }
.ps-stat-label {
  font-size: 9px; letter-spacing: .35em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-top: 6px; display: block;
}
@media (max-width: 600px) {
  .ps-h2 { font-size: clamp(44px, 11vw, 80px); }
  .ps-stats { flex-direction: column; }
  .ps-stat-item { border-right: none; border-bottom: 1px solid rgba(196,163,90,.15); }
  .ps-stat-item:last-child { border-bottom: none; }
}

/* meteors removed */

/* ── CTA Background Beams ── */
.cta-sec { position: relative; overflow: hidden; }
.cta-beams {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.cta-beam-line {
  position: absolute; bottom: 0;
  width: 1px;
  background: linear-gradient(to top, rgba(196,163,90,.25), transparent);
  animation: ctaBeamPulse ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes ctaBeamPulse {
  0%, 100% { opacity: 0; transform: scaleY(.4); }
  50%       { opacity: 1; transform: scaleY(1); }
}

/* ── Stat Cell hover glow ── */
.stat-cell { overflow: hidden; }
.stat-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(196,163,90,.07) 0%, transparent 55%);
  opacity: 0; pointer-events: none; z-index: 0;
  transition: opacity .6s;
}
.stat-cell:hover .stat-glow { opacity: 1; }

/* ── Page Transition Wipe ── */
#page-transition {
  position: fixed; inset: 0;
  z-index: 9988;
  background: #252525;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.pt-logo {
  font-size: 15px; font-weight: 100;
  letter-spacing: .55em; text-transform: uppercase;
  color: var(--w); opacity: .85;
}
.pt-bar {
  width: 180px; height: 1px;
  background: var(--w15); position: relative; overflow: hidden;
}
.pt-bar-inner {
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
}

/* ── Film Grain Overlay ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9989;
  pointer-events: none;
  opacity: .038;
  mix-blend-mode: overlay;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-2%,-2%); }
  20% { transform: translate(2%,1%); }
  30% { transform: translate(-1%,2%); }
  40% { transform: translate(1%,-1%); }
  50% { transform: translate(-2%,1%); }
  60% { transform: translate(2%,-2%); }
  70% { transform: translate(-1%,1%); }
  80% { transform: translate(1%,2%); }
  90% { transform: translate(-2%,-1%); }
}
/* grain is static — animated grain triggers too many composite layers */

/* ── Back To Top ── */
.btt {
  position: fixed;
  bottom: 100px; right: 28px; z-index: 7999;
  width: 42px; height: 42px;
  border: 1px solid rgba(196,163,90,.3);
  border-radius: 2px;
  background: rgba(14,14,14,.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  cursor: pointer;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out),
              border-color .3s, background .3s;
  pointer-events: none;
}
.btt.visible { opacity: 1; transform: none; pointer-events: auto; }
.btt:hover { border-color: var(--gold); background: rgba(196,163,90,.08); }
.btt svg { width: 16px; height: 16px; }

/* depth layers — will-change applied by GSAP only when animating */

/* ── Form Fields: gold focus glow ── */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(196,163,90,.5) !important;
  box-shadow: 0 0 0 3px rgba(196,163,90,.07), 0 0 24px rgba(196,163,90,.06);
  outline: none;
}

/* section in-view toggle removed — was causing style-recalc jank on fast scroll */

/* ── Job card & benefit hover spotlight container ── */
.job-card, .benefit, .svc-visual, .consult-visual { position: relative; overflow: hidden; }
.job-card:hover .card-glow,
.benefit:hover .card-glow,
.svc-visual:hover .card-glow,
.consult-visual:hover .card-glow { opacity: 1; }

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 9990;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(196,163,90,.4), var(--gold), rgba(196,163,90,.4));
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* ── PC card: remove overflow:hidden so tilt corners aren't clipped ── */
.pc { overflow: visible; }
.pc::after { pointer-events: none; }

/* ── Testi cards: glass ── */
.testi-card {
  background: rgba(25,25,25,.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196,163,90,.12) !important;
}

/* ── Timeline entries: alternating slide ── */
.timeline-entry { transition: opacity .6s; }

/* ── Parallax statement text animation ── */
.ps-h2-animate span {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.ps-h2-animate.revealed span:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.ps-h2-animate.revealed span:nth-child(2) { opacity: 1; transform: none; transition-delay: .12s; }
.ps-h2-animate.revealed span:nth-child(3) { opacity: 1; transform: none; transition-delay: .24s; }

/* ── Section number accent (large ghost chars on scroll) ── */
.sec-ghost-num {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 100;
  color: rgba(196,163,90,.028);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  white-space: nowrap;
}

/* ── Image Slider ── */
.img-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.img-slider-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.img-slider-slide {
  min-width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.img-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}
.img-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8,8,8,.7);
  border: 1px solid rgba(196,163,90,.3);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  z-index: 10;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.img-slider-btn:hover { background: rgba(196,163,90,.15); border-color: var(--gold); }
.img-slider-prev { left: 12px; }
.img-slider-next { right: 12px; }
.img-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.img-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .3s, transform .3s;
  cursor: pointer;
}
.img-slider-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
