﻿@font-face {
  font-family: "Inter";
  src: url("assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #0C0B0A;
  --base: #080706;
  --lift: #100E0C;
  --surface: #16120E;
  --fg: #F1E9DD;
  --fg2: rgba(241,233,221,.76);
  --fg3: rgba(241,233,221,.5);
  --stone: rgba(241,233,221,.56);
  --acc: #D6AE6E;
  --prifg: #17110A;
  --pri: linear-gradient(180deg,#CFA766,#966E37);
  --prirgb: 150,110,55;
  --prish: rgba(190,140,70,.5);
  --fill: linear-gradient(165deg,rgba(255,228,184,.13),rgba(255,228,184,.035) 62%,rgba(0,0,0,.22));
  --fill2: rgba(255,228,184,.17);
  --glass: linear-gradient(180deg,rgba(255,228,184,.15),rgba(255,228,184,.04));
  --seg: rgba(255,228,184,.11);
  --line: rgba(255,228,184,.28);
  --hairline: rgba(255,228,184,.14);
  --line2: var(--hairline);
  --ring: rgba(255,228,184,.18);
  --shadow: rgba(0,0,0,.5);
  --cool: 226,200,160;
  --warm: 236,180,100;
  --shine: rgba(255,255,255,.92);
  --stripes: repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 3px,rgba(0,0,0,.035) 3px 4px,transparent 4px 7px);
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --pad: 20px;
  --max: 1184px;
  --band: clamp(36px,6vw,80px);
  --ease: cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 900px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--night);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  font-optical-sizing: auto;
  color: var(--fg);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.045em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(214, 174, 110, .35); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--lift); color: var(--fg); text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--acc);
}
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }

/* ---------- Fixed stage ---------- */

.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--night); pointer-events: none; }

.glow {
  position: absolute; inset: 0;
  transform: translate3d(0, var(--glow-shift, 0px), 0);
  transition: transform .18s linear;
}
.glow__wash, .glow__dots {
  position: absolute; left: -30%; right: -30%; bottom: -34%; height: 78%;
  will-change: transform;
}
.glow__wash {
  background: radial-gradient(52% 52% at 52% 52%, rgba(214, 160, 80, .34), rgba(154, 108, 48, .14) 46%, transparent 74%);
  filter: blur(12px);
  animation: drift 26s ease-in-out infinite alternate;
}
.glow__wash--top {
  bottom: auto; top: -28%; left: -24%; right: -20%; height: 64%;
  background: radial-gradient(46% 48% at 32% 42%, rgba(204, 150, 72, .2), rgba(140, 96, 42, .08) 46%, transparent 74%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.glow__dots {
  background-image: radial-gradient(circle, rgba(240, 210, 158, .66) 1.15px, transparent 1.6px);
  background-size: 6px 6px;
  -webkit-mask-image: radial-gradient(48% 46% at 50% 55%, #000 0%, rgba(0, 0, 0, .58) 42%, transparent 78%);
          mask-image: radial-gradient(48% 46% at 50% 55%, #000 0%, rgba(0, 0, 0, .58) 42%, transparent 78%);
  opacity: .58;
  animation: drift 26s ease-in-out infinite alternate;
}
.glow__dots--b {
  top: -12%; bottom: auto; height: 74%;
  background-image: radial-gradient(circle, rgba(224, 184, 120, .52) .9px, transparent 1.35px);
  background-size: 8px 8px; background-position: 2px 4px;
  -webkit-mask-image: radial-gradient(50% 48% at 36% 46%, #000 0%, rgba(0, 0, 0, .48) 42%, transparent 78%);
          mask-image: radial-gradient(50% 48% at 36% 46%, #000 0%, rgba(0, 0, 0, .48) 42%, transparent 78%);
  opacity: .38;
  animation: drift-b 34s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(-9%, 4%, 0) scale(1); }
  50%  { transform: translate3d(4%, -3%, 0) scale(1.06); }
  100% { transform: translate3d(11%, 2%, 0) scale(.98); }
}
@keyframes drift-b {
  0%   { transform: translate3d(8%, -2%, 0) rotate(-4deg); }
  100% { transform: translate3d(-10%, 5%, 0) rotate(3deg); }
}

.building {
  position: absolute; left: 0; right: 0; margin: 0 auto;
  width: min(82vw, 340px); top: 44%; bottom: 2%;
  will-change: opacity;
}
.building > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.building__still { opacity: 0; }
.building__canvas { display: block; }
.no-build .building__canvas { display: none; }
.no-build .building__still { opacity: 1; }

.rail { display: none; will-change: opacity; }
@media (min-width: 900px) {
  .building {
    left: auto; margin: 0; right: max(2vw, calc((100vw - var(--max)) / 2));
    width: min(44vw, 560px); top: 82px; bottom: 2vh;
  }
  .rail {
    display: block; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 2px; height: 120px; background: var(--line); border-radius: 2px; overflow: hidden;
  }
  .rail__fill { display: block; width: 100%; height: 0; background: var(--acc); }
}

/* ---------- Navigation (liquid glass) ---------- */

.nav {
  position: fixed; z-index: 50;
  top: max(12px, env(safe-area-inset-top));
  left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1120px);
  display: flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 18px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 236, .11), rgba(20, 16, 12, .56));
  -webkit-backdrop-filter: blur(26px) saturate(1.9);
          backdrop-filter: blur(26px) saturate(1.9);
  box-shadow: inset 0 1px 0 rgba(255, 252, 244, .34), inset 0 0 0 1px rgba(255, 232, 194, .18), 0 16px 36px -14px rgba(0, 0, 0, .65);
}
.brand3d {
  position: relative; display: inline-grid;
  font-weight: 900; font-size: 22px; line-height: 1;
  letter-spacing: -.042em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transform: perspective(420px) rotateX(8deg) skewX(-10deg) translateZ(12px);
  transform-style: preserve-3d;
  padding: 5px 8px 6px 3px;
}
.brand3d > span { grid-area: 1 / 1; }
.brand3d__depth {
  color: #4D3314;
  transform: translate3d(1.5px, 2.2px, -6px);
  text-shadow:
    .6px .8px 0 #704B1F,
    1.2px 1.6px 0 #573A16,
    1.8px 2.5px 0 #3C270E,
    2.5px 3.6px 0 #241608,
    4px 8px 14px rgba(0, 0, 0, .92),
    0 12px 26px rgba(0, 0, 0, .7);
}
.brand3d__face {
  position: relative; z-index: 2;
  background: linear-gradient(155deg, #FFFFFF 0%, #FFF3DA 22%, #EBC478 52%, #C98B2B 82%, #F6DDA6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: .45px rgba(255, 252, 244, .52);
  filter: drop-shadow(0 -.8px 0 rgba(255, 255, 255, .65)) drop-shadow(0 2px 6px rgba(214, 158, 64, .34));
}
.brand3d__gloss {
  position: relative; z-index: 3; pointer-events: none;
  background: linear-gradient(112deg, transparent 0%, transparent 36%, rgba(255, 255, 255, .92) 48%, rgba(255, 244, 214, .38) 54%, transparent 64%, transparent 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: logo-sheen 7.5s ease-in-out infinite;
}
@keyframes logo-sheen {
  0%, 15%   { background-position: 130% 0; }
  48%, 100% { background-position: -130% 0; }
}
.nav__brand { margin-right: auto; }
@media (max-width: 899px) { .brand3d { font-size: 18px; } }
.nav__links { display: none; gap: 4px; }
.nav__links a {
  padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--fg2); text-decoration: none;
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--fg); background: rgba(255, 246, 230, .09); }
.nav__cta {
  padding: 10px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: #161008;
  background: linear-gradient(180deg, #E3BF84 0%, #BF9251 55%, #9B6F36 100%);
  box-shadow: inset 0 1px 0 rgba(255, 252, 242, .62), inset 0 0 0 1px rgba(255, 238, 204, .35), 0 10px 24px -10px rgba(204, 152, 74, .48);
}


/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 14px;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), filter .3s, background .3s, box-shadow .3s;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  color: #161008;
  background: linear-gradient(180deg, #E3BF84 0%, #BF9251 55%, #9B6F36 100%);
  box-shadow: inset 0 1px 0 rgba(255, 252, 242, .62), inset 0 0 0 1px rgba(255, 238, 204, .35), 0 12px 30px -10px rgba(204, 152, 74, .52);
}
.btn--primary:hover { filter: brightness(1.06); }
.btn--glass {
  color: var(--fg);
  background: linear-gradient(180deg, rgba(255, 248, 236, .15) 0%, rgba(255, 236, 206, .045) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
          backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 252, 244, .38), inset 0 0 0 1px rgba(255, 232, 194, .2), 0 10px 26px -12px rgba(0, 0, 0, .6);
}
.btn--glass:hover {
  background: linear-gradient(180deg, rgba(255, 248, 236, .22) 0%, rgba(255, 236, 206, .08) 100%);
}
.btn[disabled] { opacity: .6; cursor: progress; }

.textlink {
  padding: 6px 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--fg);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: rgba(214, 174, 110, .5);
}
.textlink:hover { text-decoration-color: var(--acc); }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 28px; }
.steps__bar { height: 2px; border-radius: 2px; background: var(--line2); transition: background .3s; }
.steps__bar.is-on { background: var(--acc); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.step legend {
  padding: 0; margin-bottom: 24px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3);
}
.step legend span { display: block; margin-top: 6px; font-size: 26px; font-weight: 600; letter-spacing: -.035em; text-transform: none; color: var(--fg); }

.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field__label { font-size: 14px; font-weight: 500; color: var(--fg2); }
.field small { margin-left: 6px; font-size: 13px; color: var(--fg3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  border: 0; border-radius: 12px;
  background-color: rgba(255, 246, 232, .06);
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, .16), inset 0 0 0 1px rgba(255, 232, 194, .16);
  color: var(--fg);
  transition: box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-color: rgba(255, 246, 232, .06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' fill='none' stroke='%23E3BF84' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-size: 15px;
  background-repeat: no-repeat;
}
.field select::-ms-expand { display: none; }
.field select::picker-icon { display: none; }
.field select option { background: var(--lift); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background-color: rgba(255, 228, 184, .07); box-shadow: inset 0 0 0 1.5px var(--acc);
}
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #C2674F; }

.file {
  position: relative; display: grid; justify-items: start; gap: 7px;
  border: 1px dashed var(--line); padding: 14px; border-radius: 12px;
}
.file.is-dragging, .file:focus-within { border-color: var(--acc); background: var(--seg); }
.file input { position: absolute; width: 1px; height: 1px; padding: 0; min-height: 0; opacity: 0; }
.file__button { padding: 9px 28px 9px 12px; cursor: pointer; border-radius: 10px; }
.file input:focus-visible + .file__button { outline: 2px solid var(--acc); outline-offset: 2px; }
.file__hint, .file__name { font-size: 13px; color: var(--fg2); overflow-wrap: anywhere; }

.consent {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  font-size: 13.5px; line-height: 1.55; color: var(--fg3);
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #B88C4E; }
.consent a { color: var(--fg2); font-weight: 600; text-underline-offset: 3px; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
#step-1 .form__actions { justify-content: flex-end; }
.form__actions .btn { min-width: 190px; }
@media (max-width: 559px) {
  .form__actions .btn { flex: 1 1 100%; }
  #step-2 .form__actions { flex-direction: column-reverse; align-items: stretch; }
}
.form__status:not(:empty) { margin-top: 18px; font-size: 15px; color: #E39A82; }
.thanks { outline: none; }
.thanks__text { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.3; }

@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
html { scrollbar-color: var(--prish) var(--base); scrollbar-width: thin; }
body:not(.home) { background: var(--night); }
main { position: relative; z-index: 1; }
h1, h2, h3 { font-weight: 700; }
h1 span, h2 span { color: var(--stone); }
h2 { font-size: clamp(29px,4vw,44px); line-height: 1.12; }
a { text-underline-offset: .25em; }
a:hover { text-decoration-color: var(--acc); }

.nav { background: linear-gradient(180deg, rgba(255, 248, 236, .11), rgba(20, 16, 12, .56)); }
.nav__brand, .nav__cta { white-space: nowrap; }
.nav__links a[aria-current="page"] {
  background: linear-gradient(180deg, rgba(255, 248, 236, .2), rgba(255, 236, 206, .08));
  box-shadow: inset 0 1px 0 rgba(255, 252, 244, .34), inset 0 0 0 1px rgba(255, 232, 194, .2);
  color: var(--fg);
}
.nav__toggle { display: none; padding: 8px 16px; }
@media (max-width: 899px) {
  .nav { gap: 7px; padding-left: 12px; }
  .nav__toggle { display: block; }
  .nav__cta { padding: 9px 12px; }
  .nav__links {
    display: none; position: absolute; top: calc(100% + 6px); inset-inline: 0;
    padding: 8px; border: 1px solid rgba(255, 232, 194, .16); border-radius: 16px;
    background: linear-gradient(180deg, rgba(28, 22, 16, .88), rgba(14, 11, 8, .92));
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
            backdrop-filter: blur(24px) saturate(1.8);
  }
  .nav__toggle[aria-expanded="true"] + .nav__links { display: grid; }
}
@media (min-width: 900px) { .nav__links { display: flex; } }

.hero {
  position: relative;
  min-height: 158svh;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(104px, 13vh, 148px) var(--pad) 0;
}
.hero__copy {
  position: sticky; top: clamp(120px, 18vh, 185px);
  max-width: 640px; z-index: 2;
}
.hero h1, .pagehead h1 {
  font-size: clamp(36px,6.2vw,86px);
  line-height: .99; letter-spacing: -.06em; text-wrap: initial;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.04; letter-spacing: .02em; text-transform: uppercase;
  color: var(--fg);
}
.hero h1 span, .pagehead h1 span { display: block; }
.hero h1 .h1__top,
.hero h1 .h1__accent {
  display: block; width: fit-content;
  transform: scaleX(1.06); transform-origin: left center;
}
.hero h1 .h1__top { color: var(--fg); white-space: nowrap; }
.hero h1 .h1__accent {
  color: #E3BF84;
  text-shadow: 0 0 40px rgba(214, 174, 110, .28);
}
.pagehead > p:not(.eyebrow) {
  margin-top: 21px; max-width: 36em; color: var(--fg2);
}

.hero__strip {
  position: relative; margin-top: clamp(34px, 5vh, 56px); padding-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; max-width: 640px;
  border-bottom: 1px solid rgba(214, 174, 110, .2);
  overflow: visible;
}
.hero__strip::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 34%; height: 2px;
  background: linear-gradient(90deg, transparent, #F7DEAA 50%, transparent);
  filter: drop-shadow(0 0 8px rgba(236, 196, 124, .85));
  animation: strip-sweep 5.4s ease-in-out infinite;
}
@keyframes strip-sweep {
  0%   { left: 0%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 66%; opacity: 0; }
}
.strip__item {
  position: relative;
  font-size: clamp(11.5px, 1.02vw, 13.5px); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(241, 233, 221, .46);
  transition: color .3s, text-shadow .3s;
  animation: strip-glow 5.4s ease-in-out infinite;
}
.strip__item:nth-child(1) { animation-delay: 0s; }
.strip__item:nth-child(2) { animation-delay: 1.8s; }
.strip__item:nth-child(3) { animation-delay: 3.6s; }
@keyframes strip-glow {
  0%, 100% { color: rgba(241, 233, 221, .46); text-shadow: none; }
  24%      { color: #FFF4DC; text-shadow: 0 0 22px rgba(227, 191, 132, .68); }
  52%      { color: rgba(241, 233, 221, .5); text-shadow: none; }
}
.hero__strip:hover .strip__item,
.hero__strip:hover::after { animation-play-state: paused; }
.strip__item:hover {
  color: #FFF9EE !important;
  text-shadow: 0 0 24px rgba(236, 196, 124, .85) !important;
}

.hero__dock {
  margin-top: clamp(36px, 5.5vh, 64px);
  display: inline-grid; grid-template-columns: auto auto; align-items: stretch; gap: 6px;
  padding: 6px; border-radius: 999px; max-width: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 232, 190, .065) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, rgba(72, 54, 34, .68) 0%, rgba(36, 26, 16, .78) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
          backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, .28), inset 0 0 0 1px rgba(214, 174, 110, .34), 0 18px 40px -16px rgba(0, 0, 0, .78);
}
.dock__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 clamp(18px, 2.4vw, 30px); border-radius: 999px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; color: rgba(241, 233, 221, .78); white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--ease);
}
.dock__btn:hover {
  color: #FFF9EE;
  background: rgba(255, 240, 212, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 212, .22);
}
.dock__btn:active { transform: scale(.975); }
.dock__btn--active {
  color: #FFF9EE;
  background:
    repeating-linear-gradient(90deg, rgba(255, 248, 234, .06) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, rgba(255, 246, 230, .3) 0%, rgba(188, 152, 102, .18) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), inset 0 0 0 1px rgba(255, 240, 214, .44), 0 8px 22px -10px rgba(0, 0, 0, .6);
}
.dock__btn--active:hover {
  background:
    repeating-linear-gradient(90deg, rgba(255, 248, 234, .07) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, rgba(255, 246, 230, .38) 0%, rgba(214, 174, 110, .24) 100%);
}
@media (max-width: 899px) {
  .hero { min-height: 165svh; padding-top: 96px; padding-bottom: 48px; }
  .hero__copy { top: 96px; max-width: min(100%, 470px); }
  .hero h1 { font-size: clamp(31px, 8.2vw, 54px); }
  .hero h1 .h1__top, .hero h1 .h1__accent { transform: scaleX(1.06); }
  .hero .eyebrow { margin-bottom: 12px; font-size: 10px; }
  .building { width: min(76vw, 310px); top: clamp(360px, 46svh, 420px); bottom: 16px; }
}
@media (max-width: 640px) {
  .hero__strip {
    display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between;
    gap: 0 6px; flex-wrap: nowrap;
  }
  .strip__item {
    white-space: nowrap; letter-spacing: .02em;
    font-size: clamp(8px, 2.4vw, 12px);
  }
}
@media (max-width: 480px) {
  .hero__dock { width: 100%; grid-template-columns: 1fr auto; padding: 5px; }
  .dock__btn { font-size: 12px; padding: 0 14px; min-height: 46px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .building { top: 340px; bottom: 8px; }
}
.pagehead { padding-top: clamp(115px,14vw,166px); padding-bottom: var(--band); }
.pagehead .btn { margin-top: 25px; padding-inline: 26px; }
.pagehead--visual {
  display: grid; gap: clamp(24px, 4vw, 48px); align-items: center;
}
.pagehead--visual h1 { font-size: clamp(32px, 4.4vw, 64px); }
@media (min-width: 900px) {
  .pagehead--visual { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
.subhero-visual {
  margin: 0; border-radius: 22px; padding: 10px;
}
.subhero-visual__frame {
  position: relative; overflow: hidden; border-radius: 15px;
  aspect-ratio: 4 / 3; background: #14100C;
}
.subhero-visual__frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform-origin: center center;
  animation: subhero-kenburns 15s ease-in-out infinite alternate;
}
@keyframes subhero-kenburns {
  0%   { transform: scale(1.02) translate3d(-1.2%, -.8%, 0); }
  100% { transform: scale(1.1) translate3d(1.2%, .8%, 0); }
}
.subhero-visual__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, transparent 22%, rgba(255, 244, 224, .18) 48%, transparent 74%);
  transform: translateX(-110%);
  animation: subhero-sheen 7.5s ease-in-out infinite;
}
@keyframes subhero-sheen {
  0%, 35% { transform: translateX(-110%); }
  65%, 100% { transform: translateX(110%); }
}
.subhero-svg {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.subhero-svg__line {
  stroke-dasharray: 640; stroke-dashoffset: 640;
  animation: trace-line 2.4s var(--ease) .25s forwards;
}
@keyframes trace-line { to { stroke-dashoffset: 0; } }

.band {
  position: relative; padding: var(--band) 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, .2) 0%, rgba(12, 11, 10, .42) 50%, rgba(12, 11, 10, .2) 100%);
}
.band:nth-of-type(even) { background: rgba(8, 7, 6, .32); }
#leistungen { padding-top: clamp(28px,4vw,54px); }
.band h2 { margin-bottom: 23px; }

.sand {
  background:
    radial-gradient(90% 55% at 14% 0%, rgba(255, 248, 236, .12), transparent 60%),
    linear-gradient(155deg, rgba(255, 244, 224, .085) 0%, rgba(255, 232, 194, .028) 46%, rgba(14, 11, 8, .42) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(1.9);
          backdrop-filter: blur(26px) saturate(1.9);
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, .34), inset 1px 0 0 rgba(255, 244, 224, .14), inset 0 0 0 1px rgba(255, 232, 194, .16), inset 0 -1px 0 rgba(0, 0, 0, .4), 0 24px 56px -24px rgba(0, 0, 0, .78);
  border-radius: 20px;
}
.liquid, .nav__toggle {
  position: relative; isolation: isolate;
  border: 0; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 248, 236, .15) 0%, rgba(255, 236, 206, .045) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
          backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 252, 244, .38), inset 0 0 0 1px rgba(255, 232, 194, .2), 0 10px 26px -12px rgba(0, 0, 0, .6);
  cursor: pointer;
}
.liquid::before { content: ""; position: absolute; pointer-events: none; }
.liquid::before {
  inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--edge-angle),rgba(var(--cool),.42),transparent 25%,rgba(var(--warm),.36) 52%,transparent 60%,var(--shine) 76%,transparent 86%,rgba(var(--cool),.42));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: .2;
  animation: rim-shine 13s linear infinite;
}
.liquid:hover { box-shadow: inset 0 1px 0 rgba(255, 252, 244, .46), inset 0 0 0 1px rgba(227, 191, 132, .56), 0 12px 28px -12px rgba(0, 0, 0, .68); }
.liquid:active { transform: scale(.985); }
.btn--glass.liquid { background: linear-gradient(180deg, rgba(255, 248, 236, .15) 0%, rgba(255, 236, 206, .045) 100%); }
.btn--primary.liquid {
  background: linear-gradient(180deg, #E3BF84 0%, #BF9251 55%, #9B6F36 100%);
  box-shadow: inset 0 1px 0 rgba(255, 252, 242, .62), inset 0 0 0 1px rgba(255, 238, 204, .35), 0 12px 30px -10px rgba(204, 152, 74, .52);
}
@keyframes rim-shine {
  0% { --edge-angle: 0deg; opacity: .2; }
  3% { opacity: .65; }
  19%, 100% { --edge-angle: 360deg; opacity: .2; }
}
.segments {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(12, 10, 8, .44);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 194, .12);
}
.segments button {
  flex: 1 1 auto; min-height: 42px; padding: 8px 16px;
  font-size: 14px; font-weight: 600; color: var(--fg2); text-align: left;
  background: transparent; box-shadow: none;
}
.segments button::before { display: none; }
.segments button[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(255, 248, 236, .22), rgba(214, 174, 110, .11));
  box-shadow: inset 0 1px 0 rgba(255, 252, 246, .48), inset 0 0 0 1px rgba(232, 198, 138, .52), 0 8px 22px -10px rgba(214, 174, 110, .42);
  color: var(--fg);
}

.comparator { padding: clamp(13px,2.1vw,24px); }
.system { display: grid; gap: 16px; margin-top: 16px; }
.system__info { display: grid; align-content: start; gap: 16px; }
.system__info > p { color: var(--fg2); max-width: 44ch; }
.system__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.system__points li {
  position: relative; padding-left: 18px; font-size: 15px; color: var(--fg2);
}
.system__points li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc);
}
.system__info .btn { justify-self: start; gap: 12px; padding-inline: 22px; }
.system__photo, .gallery figure {
  position: relative; display: grid; grid-template-rows: 1fr auto;
  margin: 0; overflow: hidden; border: 1px solid var(--hairline); border-radius: 13px; background: var(--lift);
}
.system__photo img {
  width: 100%; height: 100%; min-height: 230px; max-height: 390px; object-fit: cover;
  animation: cat-kenburns 18s ease-in-out infinite alternate;
}
.system__photo figcaption, .gallery figcaption { padding: 10px 13px; color: var(--fg2); font-size: 13px; }
.specs { margin: 0; }
.specs > div {
  display: grid; gap: 5px; padding: 10px 0;
  border-bottom: 1px solid var(--hairline); font-size: 14px; line-height: 1.45;
}
.specs > div:first-child { border-top: 1px solid var(--hairline); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--fg2); }
.section-drawing { margin: 0; padding: 12px; background: var(--lift); border: 1px solid var(--hairline); border-radius: 12px; }
.section-drawing figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-size: 13px; }
.section-drawing figcaption span { color: var(--fg2); font-size: 11px; }
.wall-cut {
  display: flex; height: 52px; margin-top: 10px;
  border-block: 1px solid var(--line); background: var(--base);
}
.layer { flex: 1; border-right: 1px solid var(--line); }
.layer--wall { flex: 4; background: repeating-linear-gradient(45deg,var(--seg) 0 1px,transparent 1px 6px), var(--surface); }
.layer--insulation { flex: 3; background: repeating-linear-gradient(120deg,var(--line) 0 1px,transparent 1px 8px), var(--surface); }
.layer--mesh { flex: .4; background: var(--acc); }
.layer--slip, .layer--brick { background: repeating-linear-gradient(0deg,var(--prish) 0 6px,var(--surface) 6px 8px); }
.layer--brick { flex: 2; background-size: 100% 14px; }
.layer--render { flex: .35; background: var(--fg2); }
.layer--air { background: var(--base); }
.section-drawing ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px 12px;
  margin: 10px 0 0; padding: 0; color: var(--fg2); font-size: 11px;
}
.swatch { display: inline-block; width: 9px; height: 9px; margin-right: 4px; border: 1px solid var(--line); }

.utilities, .technical, .enquiry-grid { display: grid; gap: 14px; }
.card, .formcard { min-width: 0; padding: clamp(17px,2.4vw,30px); }
.card > p, .enquiry-grid header > p { margin-top: 10px; color: var(--fg2); }
.card > .segments, .card > [data-isfp], .card > .field, .card > [data-panel], .card > .textlink { margin-top: 14px; }
.card > .textlink { display: inline-block; }
.calculator input[type="range"] { padding: 0; min-height: 30px; background: none; box-shadow: none; accent-color: var(--acc); }
.calculator label output { float: right; color: var(--fg); font-variant-numeric: tabular-nums; }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg2); }
.calc-total { margin-top: 14px; border: 1px solid var(--hairline); background: var(--lift); border-radius: 12px; padding: 13px; }
.calc-total p, .fine { font-size: 13px; color: var(--fg2); }
.calc-total output { display: block; font-size: clamp(25px,4vw,41px); font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-total output:empty { display: none; }
.source-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: 12px; }

.proof { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) {
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
.proof__tile {
  min-width: 0; overflow: hidden; text-decoration: none; border: 0; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 246, 232, .08), rgba(14, 11, 8, .48));
  box-shadow: inset 0 1px 0 rgba(255, 250, 242, .3), inset 0 0 0 1px rgba(255, 232, 194, .16), 0 18px 40px -20px rgba(0, 0, 0, .72);
}
.proof__tile img, .gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proof__tile img {
  min-height: 200px;
  animation: cat-kenburns 18s ease-in-out infinite alternate;
}
.proof__tile:nth-child(2) img { animation-delay: -6s; }
.proof__tile:nth-child(3) img { animation-delay: -12s; }
.proof__tile div {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  padding: 14px 16px;
  background: rgba(18, 14, 10, .42);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 232, 194, .14);
  font-size: 16px; line-height: 1.3; overflow-wrap: normal; word-break: normal;
}
.proof__tile span { color: var(--acc); }
.proof__tile:nth-child(2)::before { animation-delay: 5.5s; }
.proof__tile:nth-child(3)::before { animation-delay: 8.5s; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery img { aspect-ratio: 4 / 3; }
.gallery figcaption { border-top: 1px solid var(--hairline); }

.flow { display: grid; padding: 0; margin: 0; list-style: none; counter-reset: flow; }
.flow li { counter-increment: flow; padding: 20px; }
.flow li + li { border-top: 1px solid var(--hairline); }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 13px; color: var(--acc); }
.flow p, .mediation { color: var(--fg2); font-size: 15px; margin-top: 9px; }
.mediation { max-width: 68ch; margin-top: 16px; }
.enquiry-page, .legal { max-width: 824px; padding-bottom: var(--band); }
.enquiry-page { margin-inline: auto; }
#anfrage, #foerderrechner { scroll-margin-top: 12px; }
.consent, .step legend, .field small { color: var(--fg2); }

.formcard .step { gap: 14px; }
.formcard .steps, .formcard .step legend { margin-bottom: 16px; }
.formcard .field textarea { min-height: 76px; }

.faq { padding-inline: clamp(15px,3vw,30px); }
.faq details + details { border-top: 1px solid var(--hairline); }
.faq summary { list-style: none; position: relative; cursor: pointer; padding: 17px 30px 17px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--acc); }
.faq details[open] summary::after { content: "×"; }
.faq details p { padding-bottom: 16px; max-width: 65ch; color: var(--fg2); font-size: 15px; }
.references { padding-block: 17px; }
.legal section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.legal h2 { font-size: 22px; }
.legal section p { color: var(--fg2); margin-top: 8px; }
.legal .draft { color: var(--acc); }
.statute { overflow: hidden; padding: 15px; }
.statute table { border-collapse: collapse; width: 100%; text-align: left; font-size: 15px; }
.statute caption { text-align: left; padding: 0 12px 10px; }
.statute :is(th,td) { vertical-align: top; padding: 12px; border-bottom: 1px solid var(--hairline); }
.statute td { color: var(--fg2); width: 42%; }
@media (max-width: 600px) {
  .statute thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .statute :is(table,tbody,tr,th,td) { display: block; width: 100%; }
  .statute tr + tr { margin-top: 8px; }
  .statute td::before { content: attr(data-label); display: block; color: var(--fg); font-weight: 600; }
}
.footer {
  position: relative; z-index: 1;
  background: rgba(10, 9, 8, .72);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
          backdrop-filter: blur(20px) saturate(1.6);
  border-top: 1px solid rgba(255, 240, 214, .14);
  padding: 42px 0;
}
.footer__inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px 16px; }
.footer__brand { color: var(--fg); font-weight: 700; text-decoration: none; }
.footer__note { font-size: 13px; color: var(--fg2); max-width: 28ch; margin-top: 6px; }
.footer__links { display: grid; align-content: start; gap: 7px; }
.footer__links h2 { font-size: 13px; letter-spacing: 0; }
.footer__links a { color: var(--fg2); font-size: 13px; text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current] { color: var(--fg); text-decoration: underline; }

@media (min-width: 700px) {
  .system { grid-template-columns: 1.03fr 1fr; }
  .specs > div { grid-template-columns: minmax(100px,1fr) 2fr; }
  .utilities { grid-template-columns: minmax(0,1.17fr) minmax(0,1fr); align-items: start; }
  .technical { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .flow { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .flow li + li { border-top: 0; border-left: 1px solid var(--hairline); }
  .enquiry-grid { grid-template-columns: minmax(0,2fr) minmax(0,3fr); gap: 24px; }
  .footer__inner { grid-template-columns: 1.4fr repeat(3,minmax(0,1fr)); }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow__wash, .glow__dots, .liquid::before, .hero__strip::after, .strip__item, .brand3d__gloss, .catcard img, .system__photo img, .proof__tile img { animation: none; }
  .strip__item { color: #F5E6C8; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .hero { min-height: 100vh; min-height: 100svh; padding-bottom: 28px; }
  .rail { display: none; }
}
