:root {
  --lp-ink: #06110c;
  --lp-forest: #073d2d;
  --lp-green: #0e7755;
  --lp-acid: #c5ef73;
  --lp-paper: #f3f6f1;
  --lp-cloud: #e6ece7;
  --lp-warm: #e4d0a5;
  --lp-line: rgba(6, 17, 12, 0.13);
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-shell: min(1240px, calc(100% - 48px));
}

.landing-home {
  overflow-x: clip;
  color: var(--lp-ink);
  background: var(--lp-paper);
}

/* Branded entrance: shown once per browser session, with an explicit replay query. */
.logo-intro {
  display: none;
}

.has-logo-intro .logo-intro {
  --logo-aperture-scale: 42;
  --logo-intro-size: clamp(112px, 9vw, 142px);
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
}

.logo-intro-curtain {
  position: absolute;
  inset: 0;
  background: var(--lp-ink);
  -webkit-mask-image: linear-gradient(#000 0 0), url("/assets/hs-logo-mark.png");
  -webkit-mask-position: center, center;
  -webkit-mask-size: 100% 100%, var(--logo-intro-size) var(--logo-intro-size);
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), url("/assets/hs-logo-mark.png");
  mask-position: center, center;
  mask-size: 100% 100%, var(--logo-intro-size) var(--logo-intro-size);
  mask-repeat: no-repeat, no-repeat;
  mask-composite: exclude;
  transform: scale(1);
  transform-origin: center;
  will-change: transform, opacity;
}

.logo-intro-seal {
  position: absolute;
  z-index: 1;
  width: calc(var(--logo-intro-size) + 20px);
  height: calc(var(--logo-intro-size) + 20px);
  background: var(--lp-ink);
  opacity: 1;
  transform: scale(1);
  will-change: transform, opacity;
}

.logo-intro-mark {
  position: relative;
  z-index: 2;
  width: var(--logo-intro-size);
  height: var(--logo-intro-size);
  object-fit: contain;
  opacity: 1;
  filter: blur(2px);
  transform: scale(0.94);
  will-change: transform, opacity, filter;
}

.logo-intro.is-playing .logo-intro-curtain {
  animation: logo-intro-open 780ms 420ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.logo-intro.is-playing .logo-intro-mark {
  animation: logo-intro-mark 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-intro.is-playing .logo-intro-seal {
  animation: logo-intro-seal 180ms 390ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

@keyframes logo-intro-open {
  0%, 10% {
    opacity: 1;
    transform: scale(1);
  }
  82% {
    opacity: 1;
    transform: scale(var(--logo-aperture-scale));
  }
  100% {
    opacity: 0;
    transform: scale(var(--logo-aperture-scale));
  }
}

@keyframes logo-intro-mark {
  0% {
    opacity: 1;
    filter: blur(2px);
    transform: scale(0.94);
  }
  22%, 58% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    filter: blur(0);
    transform: scale(1.04);
  }
}

@keyframes logo-intro-seal {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.08);
  }
}

.landing-home main {
  overflow: clip;
}

.landing-home .site-header {
  background: linear-gradient(180deg, rgba(3, 10, 7, 0.86), rgba(3, 10, 7, 0.28));
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition:
    background 260ms var(--lp-ease),
    backdrop-filter 260ms var(--lp-ease),
    border-color 260ms var(--lp-ease);
}

.landing-home .site-header.is-scrolled {
  background: rgba(4, 13, 9, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.landing-home .nav {
  width: min(100%, 1380px);
  height: 72px;
}

.landing-home .nav-cta {
  min-height: 42px;
  padding-inline: 20px;
  border-radius: 999px;
  background: var(--lp-acid);
  box-shadow: none;
}

.lp-shell {
  width: var(--lp-shell);
  margin-inline: auto;
}

.lp-anchor-alias {
  position: absolute;
  top: -72px;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-kicker > span {
  width: 24px;
  height: 1px;
  background: var(--lp-acid);
}

.lp-kicker-dark {
  color: var(--lp-green);
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition:
    color 180ms var(--lp-ease),
    background 180ms var(--lp-ease),
    border-color 180ms var(--lp-ease),
    transform 180ms var(--lp-ease);
}

.lp-button:hover {
  transform: translateY(-2px);
}

.lp-button:active {
  transform: translateY(0) scale(0.98);
}

.lp-button-primary {
  color: var(--lp-ink);
  background: var(--lp-acid);
}

.lp-button-primary:hover {
  color: #fff;
  background: var(--lp-green);
}

.lp-button-glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.lp-button-glass:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

/* Hero */
.lp-hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: grid;
  color: #fff;
  background: #07110c;
  isolation: isolate;
}

.lp-hero-media,
.lp-hero-wash,
.lp-hero-grid {
  position: absolute;
  inset: 0;
}

.lp-hero-media {
  z-index: -3;
  overflow: hidden;
}

.lp-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.lp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.025);
}

.lp-hero-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 12, 8, 0.96) 0%, rgba(3, 12, 8, 0.74) 42%, rgba(3, 12, 8, 0.14) 75%),
    linear-gradient(0deg, rgba(3, 12, 8, 0.8) 0%, transparent 42%),
    linear-gradient(180deg, rgba(3, 12, 8, 0.32), transparent 28%);
}

.lp-hero-grid {
  z-index: -1;
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px) 50% 0 / 12.5% 100%,
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 100% 120px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.lp-hero-layout {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(290px, 0.38fr);
  align-items: end;
  gap: 72px;
  padding-top: 152px;
  padding-bottom: 118px;
}

.lp-hero-copy {
  max-width: 840px;
  align-self: center;
}

.lp-hero h1 {
  display: grid;
  row-gap: 0.12em;
  margin: 22px 0 24px;
  color: #fff;
  font-size: clamp(68px, 8.1vw, 126px);
  font-weight: 950;
  line-height: 0.93;
  letter-spacing: -0.066em;
}

.lp-hero h1 span:last-child {
  color: var(--lp-acid);
  margin-left: 0.42em;
}

.lp-hero-lead {
  max-width: 590px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.52;
}

/* One-time hero materialization */
.lp-motion-ready .lp-hero-copy > * {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(16px);
  transition:
    opacity 620ms var(--lp-ease),
    transform 720ms var(--lp-ease),
    filter 620ms var(--lp-ease);
}

.lp-motion-ready .lp-hero.is-loaded .lp-hero-copy > * {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.lp-motion-ready .lp-hero.is-loaded .lp-hero-copy > :nth-child(2) { transition-delay: 70ms; }
.lp-motion-ready .lp-hero.is-loaded .lp-hero-copy > :nth-child(3) { transition-delay: 130ms; }
.lp-motion-ready .lp-hero.is-loaded .lp-hero-copy > :nth-child(4) { transition-delay: 190ms; }
/* Signal rail */
.lp-signal-rail {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: var(--lp-ink);
  background: var(--lp-acid);
}

.lp-signal-track {
  min-height: 58px;
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 48px);
  padding: 0 24px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lp-signal-track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-green);
}

/* Manifesto */
.lp-manifesto {
  padding: clamp(100px, 12vw, 180px) 0 90px;
  background:
    radial-gradient(circle at 83% 20%, rgba(197, 239, 115, 0.22), transparent 26%),
    var(--lp-paper);
}

.lp-manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.lp-manifesto h2,
.lp-services h2,
.lp-faq h2 {
  margin: 20px 0 26px;
  color: var(--lp-ink);
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.lp-manifesto h2 em {
  color: var(--lp-green);
  font-style: normal;
}

.lp-manifesto-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #55615a;
  font-size: 18px;
  line-height: 1.62;
}

.lp-manifesto-visual {
  position: relative;
  min-height: 610px;
  margin: 0;
}

.lp-manifesto-visual img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  border-radius: 190px 18px 18px 18px;
  box-shadow: 0 42px 100px rgba(6, 17, 12, 0.18);
}

.lp-manifesto-visual figcaption {
  position: absolute;
  left: -56px;
  bottom: 42px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  min-width: 260px;
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--lp-ink);
  box-shadow: 0 20px 50px rgba(6, 17, 12, 0.22);
}

.lp-manifesto-visual figcaption span {
  color: var(--lp-acid);
  font-size: 11px;
  font-weight: 900;
}

.lp-manifesto-visual figcaption strong {
  line-height: 1.25;
}

.lp-proof-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 90px;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-proof-line > span {
  display: grid;
  gap: 4px;
  padding: 25px 24px;
  border-right: 1px solid var(--lp-line);
}

.lp-proof-line > span:last-child { border-right: 0; }
.lp-proof-line strong { font-size: 18px; }
.lp-proof-line small { color: #68736d; }

/* Compact media-led project path */
.lp-process {
  padding: clamp(100px, 11vw, 150px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 8% 10%, rgba(14, 119, 85, 0.36), transparent 24%),
    radial-gradient(circle at 92% 80%, rgba(197, 239, 115, 0.08), transparent 26%),
    var(--lp-ink);
}

.lp-process-head {
  max-width: 970px;
  margin-bottom: 58px;
}

.lp-process-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6.6vw, 92px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.lp-process-head p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.6;
}

.lp-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.52fr);
  gap: 20px;
  align-items: stretch;
}

.lp-process-stage {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: 20px;
  background: #101b16;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.32);
  isolation: isolate;
  transition: clip-path 900ms var(--lp-ease);
}

.lp-motion-ready .lp-process-layout:not(.is-visible) .lp-process-stage {
  clip-path: inset(0 100% 0 0 round 20px);
}

.lp-motion-ready .lp-process-layout.is-visible .lp-process-stage {
  clip-path: inset(0 0 0 0 round 20px);
}

.lp-process-media,
.lp-process-media figure,
.lp-process-media img,
.lp-process-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lp-process-media figure {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  object-fit: cover;
  transform: scale(1.012);
  filter: blur(4px) brightness(0.76);
  transition:
    opacity 220ms var(--lp-ease),
    transform 240ms var(--lp-ease),
    filter 240ms var(--lp-ease);
}

.lp-process-media figure.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  filter: blur(0) brightness(0.84);
}

.lp-process.is-keyboard-switch .lp-process-media figure {
  transition: none;
}

.lp-process-media img,
.lp-process-media video {
  object-fit: cover;
}

.lp-process-media figure:nth-child(2) img {
  object-position: center 42%;
}

#process-panel-result {
  background: #241e19;
}

#process-panel-result::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background: url("/assets/site-project-handover-neutral-v1-900.webp") center / cover no-repeat;
  filter: blur(18px) brightness(0.62);
  transform: scale(1.06);
}

#process-panel-result .lp-process-result-image {
  z-index: 1;
  object-fit: cover;
  object-position: center;
}

.lp-process-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(3, 11, 7, 0.88) 0%, rgba(3, 11, 7, 0.16) 66%),
    linear-gradient(90deg, rgba(3, 11, 7, 0.34), transparent 52%);
}

.lp-process-stage-top {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.lp-process-stage-top > span {
  color: var(--lp-acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-process-playback {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 15, 10, 0.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  transition:
    background 180ms var(--lp-ease),
    border-color 180ms var(--lp-ease),
    transform 180ms var(--lp-ease);
}

.lp-process-playback[hidden] {
  display: none;
}

.lp-process-playback:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(4, 15, 10, 0.92);
}

.lp-process-playback:active {
  transform: scale(0.98);
}

.lp-process-playback:focus-visible,
.lp-process-tabs button:focus-visible {
  outline: 3px solid var(--lp-acid);
  outline-offset: 3px;
}

.lp-process-stage-copy {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 30px;
  max-width: 720px;
}

.lp-process-stage-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.lp-process-stage-copy p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 16px;
  line-height: 1.58;
}

.lp-process-tabs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.lp-process-tabs button {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  width: 100%;
  padding: 24px 26px 24px 30px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    color 220ms var(--lp-ease),
    background 220ms var(--lp-ease),
    transform 180ms var(--lp-ease);
}

.lp-process-tabs button:last-child {
  border-bottom: 0;
}

.lp-process-tabs button::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: var(--lp-acid);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 320ms var(--lp-ease);
}

.lp-process-tabs button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.lp-process-tabs button:active {
  transform: translateY(1px);
}

.lp-process-tabs button.is-active {
  color: #fff;
  background: rgba(197, 239, 115, 0.085);
}

.lp-process-tabs button.is-active::before {
  transform: scaleY(1);
}

.lp-process-tabs strong {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
}

.lp-process-tabs span {
  max-width: 250px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

/* House selector becomes the conversion signature */
.landing-home .house-visual-section {
  position: relative;
  padding: clamp(110px, 12vw, 170px) 0;
  background:
    linear-gradient(180deg, var(--lp-paper), #e8eee9 64%, var(--lp-paper));
}

.landing-home .house-visual-intro {
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.46fr);
  max-width: none;
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.landing-home .house-visual-intro .eyebrow {
  grid-column: 1 / -1;
  color: var(--lp-green);
}

.landing-home .house-visual-intro h2 {
  font-size: clamp(58px, 6.8vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.058em;
}

.landing-home .house-visual-intro > p:last-child {
  font-size: 17px;
  line-height: 1.62;
}

.landing-home .house-visual {
  border-radius: 24px;
  box-shadow: 0 46px 110px rgba(6, 17, 12, 0.22);
}

.landing-home .house-visual::before {
  content: "Leistung direkt am Gebäude wählen";
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(5, 16, 12, 0.64);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

/* Service index */
.lp-services {
  padding: 120px 0 150px;
  background: var(--lp-paper);
}

.lp-services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.lp-services-head h2 { margin-bottom: 0; }
.lp-services-head > p { margin: 0 0 8px; color: #66726b; font-size: 17px; line-height: 1.6; }

.lp-service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 340px 390px;
  gap: 18px;
}

.lp-service-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 24px 65px rgba(6, 17, 12, 0.12);
}

.lp-service-card-large { grid-row: 1 / 3; }
.lp-service-card > img,
.lp-service-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-service-card > img { z-index: -2; object-fit: cover; transition: transform 760ms var(--lp-ease), filter 400ms var(--lp-ease); }
.lp-service-shade { z-index: -1; background: linear-gradient(0deg, rgba(3,12,8,.97) 0%, rgba(3,12,8,.78) 34%, rgba(3,12,8,.25) 76%, rgba(3,12,8,.12) 100%); }
.lp-service-card:hover > img { transform: scale(1.045); filter: saturate(1.07); }
.lp-service-content {
  display: grid;
  gap: 10px;
  padding: 21px 22px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 16, 11, .94);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lp-service-card small { color: var(--lp-acid); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.lp-service-content h3 { max-width:650px; margin:0; color:#fff; font-size:clamp(28px, 3.2vw, 48px); line-height:1; letter-spacing:-.038em; }
.lp-service-card b { margin-top:9px; font-size: 12px; }
.lp-service-card-accent .lp-service-shade { background: linear-gradient(0deg, rgba(4,48,34,.98) 0%, rgba(4,48,34,.78) 38%, rgba(4,48,34,.26) 78%, rgba(4,48,34,.14) 100%); }
.lp-service-card-accent .lp-service-content { background:rgba(4,48,34,.95); }

/* Digital platform: real product views and direct portal access. */
.lp-platform {
  padding: clamp(104px, 11vw, 168px) 0;
  background: var(--lp-paper);
  border-top: 1px solid var(--lp-line);
}

.lp-platform-intro {
  max-width: 980px;
  margin-bottom: clamp(52px, 7vw, 88px);
}

.lp-platform-intro h2 {
  max-width: 880px;
  margin: 0;
  color: var(--lp-ink);
  font-size: clamp(58px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -.07em;
}

.lp-platform-intro h2 em {
  color: var(--lp-green);
  font-family: inherit;
  font-style: normal;
}

.lp-platform-intro > p {
  max-width: 720px;
  margin: 34px 0 0;
  color: #536159;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}

.lp-platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.lp-platform-visual {
  position: relative;
  min-height: 680px;
}

.lp-platform-shot {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(6, 17, 12, .12);
  border-radius: 18px;
  background: #edf2ee;
  box-shadow: 0 30px 80px rgba(8, 35, 25, .16);
}

.lp-platform-shot-main {
  top: 0;
  left: 0;
  width: 90%;
  aspect-ratio: 16 / 9;
}

.lp-platform-shot-secondary {
  right: 0;
  bottom: 0;
  width: 72%;
  aspect-ratio: 16 / 10;
  box-shadow: 0 24px 70px rgba(8, 35, 25, .23);
}

.lp-platform-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.lp-platform-products {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lp-platform-product {
  padding: 30px 0 32px;
  border-top: 1px solid var(--lp-line);
}

.lp-platform-product:last-child {
  border-bottom: 1px solid var(--lp-line);
}

.lp-platform-product h3 {
  margin: 0;
  color: var(--lp-ink);
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
}

.lp-platform-product p {
  max-width: 46ch;
  margin: 14px 0 18px;
  color: #5e6b63;
  font-size: 15px;
  line-height: 1.65;
}

.lp-platform-product a,
.lp-platform-future a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-green);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: color 180ms var(--lp-ease), transform 180ms var(--lp-ease);
}

.lp-platform-product a:hover,
.lp-platform-future a:hover {
  color: var(--lp-ink);
  transform: translateX(3px);
}

.lp-platform-product a:focus-visible,
.lp-platform-future a:focus-visible {
  outline: 3px solid rgba(14, 119, 85, .32);
  outline-offset: 5px;
}

.lp-platform-future {
  display: grid;
  grid-template-columns: .72fr 1.45fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  margin-top: clamp(64px, 8vw, 100px);
  padding: 30px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-platform-future strong {
  color: var(--lp-ink);
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -.035em;
}

.lp-platform-future p {
  margin: 0;
  color: #5e6b63;
  font-size: 15px;
  line-height: 1.6;
}

/* Personal trust */
.lp-trust {
  padding: 140px 0;
  color: #fff;
  background: var(--lp-forest);
}

.lp-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.7fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: center;
}

.lp-trust-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  min-height: 570px;
  justify-self: center;
}

.lp-trust-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 18px 180px 18px 18px;
  background: #4a4038;
}

.lp-trust-photo::before {
  display: none;
}

.lp-trust-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(.82) contrast(.97);
}

.lp-trust-visual > span {
  position: absolute;
  left: -18px;
  bottom: 54px;
  z-index: 2;
  padding: 15px 17px;
  color: var(--lp-ink);
  background: var(--lp-acid);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  transform: rotate(-4deg);
}

.lp-trust-copy h2 {
  margin: 22px 0 26px;
  color: #fff;
  font-size: clamp(50px, 5.8vw, 82px);
  font-weight: 950;
  line-height: 0.93;
  letter-spacing: -0.055em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.lp-trust-copy > p:not(.lp-kicker) { margin: 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.66; }
.lp-trust-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 32px 0; }
.lp-trust-facts span { display: grid; gap: 4px; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.06); }
.lp-trust-facts strong { color: var(--lp-acid); }
.lp-trust-facts small { color: rgba(255,255,255,.78); font-size: 10px; }
.lp-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding: 5px 0; font-weight: 800; }

/* FAQ */
.lp-faq {
  padding: 130px 0;
  background: var(--lp-paper);
}

.lp-faq-grid { display: grid; grid-template-columns: minmax(280px,.52fr) minmax(0,1fr); gap: 100px; align-items: start; }
.lp-faq-head { position: sticky; top: 110px; }
.lp-faq-head h2 { margin-bottom: 18px; }
.lp-faq-head > p:last-child { color: #68736d; }
.lp-faq-list { border-top: 1px solid var(--lp-line); }
.lp-faq-list details { border-bottom: 1px solid var(--lp-line); }
.lp-faq-list summary { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 18px; font-weight: 850; }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary span { color: var(--lp-green); font-size: 26px; transition: transform 220ms var(--lp-ease); }
.lp-faq-list details[open] summary span { transform: rotate(45deg); }
.lp-faq-list details p { max-width: 700px; margin: -8px 0 28px; color: #626d67; line-height: 1.65; }

/* Final image-led CTA */
.lp-final-cta {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--lp-ink);
}

.lp-final-bg { position: absolute; inset: 0; }
.lp-final-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.52) saturate(.82); transform: scale(1.02); }
.lp-final-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(3,12,8,.88), rgba(3,12,8,.28) 70%), linear-gradient(0deg, rgba(3,12,8,.82), transparent 60%); }
.lp-final-inner { position: relative; z-index: 1; padding-bottom: 86px; }
.lp-final-inner h2 { margin: 22px 0; color:#fff; font-size:clamp(68px,9vw,140px); font-weight:950; line-height:.82; letter-spacing:-.065em; }
.lp-final-inner > p:not(.lp-kicker) { max-width: 590px; margin:0 0 28px; color:rgba(255,255,255,.72); font-size:18px; }

/* Fixed-duration scroll reveals */
.lp-motion-ready .lp-reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(22px);
  transition:
    opacity 600ms var(--lp-ease),
    transform 720ms var(--lp-ease),
    filter 600ms var(--lp-ease);
}

.lp-motion-ready .lp-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Disable the older generic section reveal on the landing page. */
.landing-home.reveal-ready main > section.reveal-target > .container {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (max-width: 1080px) {
  .lp-hero-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 34px; }
  .lp-hero h1 { font-size: clamp(64px, 9vw, 104px); }
  .lp-manifesto-grid, .lp-trust-grid { gap: 58px; }
  .lp-process-layout { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .5fr); }
  .lp-process-stage { min-height: 620px; }
}

@media (max-width: 860px) {
  :root { --lp-shell: min(100% - 32px, 720px); }
  .lp-hero { min-height: 880px; }
  .lp-hero-layout { grid-template-columns: 1fr; align-content: center; gap: 0; padding-top: 130px; padding-bottom: 92px; }
  .lp-hero-copy { align-self: center; }
  .lp-hero h1 { font-size: clamp(58px, 13vw, 92px); }
  .lp-hero h1 span:last-child { margin-left: 0; }
  .lp-signal-track { justify-content: flex-start; overflow: hidden; }
  .lp-manifesto-grid, .lp-services-head, .lp-trust-grid, .lp-faq-grid, .landing-home .house-visual-intro { grid-template-columns: 1fr; }
  .lp-manifesto-visual { min-height: 520px; }
  .lp-manifesto-visual img { height: 520px; }
  .lp-manifesto-visual figcaption { left: 18px; }
  .lp-process-layout { grid-template-columns: 1fr; }
  .lp-process-stage { min-height: 600px; }
  .lp-process-tabs { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, minmax(145px, auto)); }
  .lp-process-tabs button:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.11); }
  .lp-process-tabs button:nth-child(3) { border-bottom: 0; }
  .landing-home .house-visual-intro { gap: 18px; }
  .landing-home .house-visual-intro .eyebrow { grid-column:auto; }
  .lp-service-grid { grid-template-columns: 1fr; grid-template-rows: 520px 360px 360px; }
  .lp-service-card-large { grid-row:auto; }
  .lp-platform-layout { grid-template-columns: 1fr; }
  .lp-platform-visual { min-height: 590px; }
  .lp-platform-products { margin-top: 6px; }
  .lp-platform-future { grid-template-columns: 1fr; }
  .lp-trust-visual { min-height: 560px; }
  .lp-trust-main { inset:0; width:100%; height:100%; }
  .lp-faq-head { position: static; }
}

@media (max-width: 640px) {
  :root { --lp-shell: min(100% - 28px, 520px); }
  .landing-home .nav { height: 62px; }
  .lp-hero { min-height: 790px; }
  .lp-hero-media img { height: 106%; object-position: 58% center; }
  .lp-hero-wash { background: linear-gradient(0deg, rgba(3,12,8,.92), rgba(3,12,8,.25) 78%), linear-gradient(90deg, rgba(3,12,8,.7), transparent); }
  .lp-hero-grid { opacity: .25; background-size: 25% 100%, 100% 100px; }
  .lp-hero-layout { padding-top: 112px; padding-bottom: 54px; }
  .lp-hero h1 { margin-top: 16px; font-size: clamp(54px, 16.4vw, 72px); line-height: .93; }
  .lp-hero-lead { font-size: 16px; }
  .lp-actions { display:grid; grid-template-columns:1fr; }
  .lp-button { width:100%; }
  .lp-signal-track { min-height:48px; gap:16px; font-size:10px; }
  .lp-manifesto { padding-top: 80px; padding-bottom: 66px; }
  .lp-manifesto h2, .lp-services h2, .lp-faq h2 { font-size: 48px; }
  .lp-manifesto-copy > p:last-child { font-size:16px; }
  .lp-manifesto-visual { min-height: 420px; }
  .lp-manifesto-visual img { height:420px; border-radius:100px 14px 14px 14px; }
  .lp-manifesto-visual figcaption { left:10px; right:10px; bottom:14px; min-width:0; }
  .lp-proof-line { grid-template-columns:1fr; margin-top:58px; }
  .lp-proof-line > span { border-right:0; border-bottom:1px solid var(--lp-line); }
  .lp-proof-line > span:last-child { border-bottom:0; }
  .lp-process { padding:82px 0; }
  .lp-process-head { margin-bottom:38px; }
  .lp-process-head h2 { font-size:48px; }
  .lp-process-head p { font-size:16px; }
  .lp-process-stage { min-height:500px; border-radius:14px; }
  .lp-motion-ready .lp-process-layout:not(.is-visible) .lp-process-stage { clip-path: inset(0 100% 0 0 round 14px); }
  .lp-motion-ready .lp-process-layout.is-visible .lp-process-stage { clip-path: inset(0 0 0 0 round 14px); }
  .lp-process-stage-top { top:16px; left:16px; right:16px; }
  .lp-process-stage-copy { left:18px; right:18px; bottom:20px; }
  .lp-process-stage-copy strong { font-size:38px; }
  .lp-process-stage-copy p { margin-top:12px; font-size:14px; }
  .lp-process-tabs { border-radius:14px; }
  .lp-process-tabs button { min-height:128px; padding:18px; }
  .lp-process-tabs strong { font-size:23px; }
  .lp-process-tabs span { font-size:11px; }
  .landing-home .house-visual-section { padding:82px 0; }
  .landing-home .house-visual-intro h2 { font-size:48px; }
  .landing-home .house-visual::before { content:"Leistung wählen"; top:10px; left:10px; font-size:8px; }
  .lp-services { padding:82px 0 100px; }
  .lp-services-head { gap:18px; margin-bottom:30px; }
  .lp-service-grid { grid-template-rows: 460px 330px 330px; }
  .lp-service-card { padding:12px; border-radius:14px; }
  .lp-service-content { padding:18px; }
  .lp-service-content h3 { font-size:34px; }
  .lp-platform { padding: 86px 0 96px; }
  .lp-platform-intro { margin-bottom: 40px; }
  .lp-platform-intro h2 { font-size: 48px; line-height: .94; }
  .lp-platform-intro > p { margin-top: 24px; font-size: 16px; }
  .lp-platform-visual { min-height: 385px; }
  .lp-platform-shot { border-radius: 14px; }
  .lp-platform-shot-main { width: 92%; }
  .lp-platform-shot-secondary { width: 78%; }
  .lp-platform-product { padding: 26px 0 28px; }
  .lp-platform-product h3 { font-size: 30px; }
  .lp-platform-future { gap: 14px; margin-top: 56px; padding: 26px 0; }
  .lp-trust { padding:90px 0; }
  .lp-trust-visual { min-height:350px; }
  .lp-trust-photo { border-radius:14px 100px 14px 14px; }
  .lp-trust-main { inset:0; width:100%; height:100%; border-radius:0; }
  .lp-trust-visual > span { left:0; bottom:34px; font-size:11px; }
  .lp-trust-copy h2 { font-size:48px; }
  .lp-trust-facts { grid-template-columns:1fr; }
  .lp-faq { padding:90px 0; }
  .lp-faq-grid { gap:44px; }
  .lp-faq-list summary { min-height:76px; font-size:16px; }
  .lp-final-cta { min-height:680px; }
  .lp-final-inner { padding-bottom:52px; }
  .lp-final-inner h2 { font-size:68px; }
  .lp-final-inner > p:not(.lp-kicker) { font-size:16px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-intro { display: none !important; }

  .lp-hero-media img,
  .lp-manifesto-visual img,
  .lp-service-card > img,
  .lp-process-media figure,
  .lp-process-stage,
  .lp-process-tabs button,
  .lp-process-tabs button::before,
  .lp-platform-product a,
  .lp-platform-future a,
  .lp-reveal,
  .lp-hero-copy > * {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .lp-motion-ready .lp-process-layout .lp-process-stage {
    clip-path: none !important;
  }

  .lp-motion-ready .lp-reveal,
  .lp-motion-ready .lp-hero-copy > * {
    opacity: 1;
  }
}

/* Autoplay architectural VFX: locked camera, rigid photographic layers. */
.landing-home .house-scroll-section {
  position: relative;
  min-height: auto;
  padding: clamp(18px, 3vw, 32px) 0 clamp(36px, 5vw, 64px);
  overflow: clip;
  background:
    radial-gradient(circle at 50% 38%, rgba(31, 64, 48, 0.72), transparent 43%),
    #07130e;
}

.house-scroll-sticky {
  position: relative;
  z-index: 1;
  top: auto;
  height: auto;
  display: block;
  overflow: visible;
  padding: 0;
}

.house-scroll-container {
  position: relative;
  width: 100%;
}

.assembly-house {
  position: relative;
  width: min(78%, 1200px, calc((100svh - 190px) * 1.7778));
  max-height: calc(100svh - 190px);
  margin: 0 auto;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(12px, 1.2vw, 18px);
  background: #07130e;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 64px rgba(0, 0, 0, 0.3);
}

.landing-home .assembly-house::before { display: none; }

.landing-home .assembly-house::after {
  z-index: 7;
  pointer-events: none;
  background: none;
}

.assembly-viewport,
.assembly-stage,
.assembly-base,
.assembly-vfx,
.assembly-final,
.assembly-video,
.assembly-video-fallback,
.assembly-tone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.assembly-viewport {
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #07130e;
}

.assembly-stage {
  transform-origin: center;
  transform: translate3d(0, 0, 0) scale(1);
}

.assembly-house.is-assembly-complete .assembly-stage {
  transition:
    transform 560ms cubic-bezier(0.32, 0.72, 0, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assembly-base,
.assembly-vfx,
.assembly-final,
.assembly-video,
.assembly-video-fallback {
  display: block;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.assembly-video {
  z-index: 0;
  opacity: 1;
  background: #07130e;
  transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assembly-video-fallback {
  z-index: 1;
  opacity: 0;
  transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assembly-house.is-video-fallback .assembly-video { opacity: 0; }
.assembly-house.is-video-fallback .assembly-video-fallback { opacity: 1; }

.assembly-base {
  z-index: 0;
  opacity: 1;
}

.assembly-vfx {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2));
}

.assembly-house.is-assembly-active .assembly-vfx,
.assembly-house.is-assembly-active .assembly-final {
  will-change: transform, opacity;
}

.assembly-vfx-core {
  --core-left: 50%;
  --core-right: 50%;
  z-index: 1;
  clip-path: polygon(27% 31%, 73% 31%, 74% 82%, 27% 82%);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0 var(--core-left),
    rgba(0, 0, 0, 0.45) calc(var(--core-left) + 0.7%),
    #000 calc(var(--core-left) + 1.5%) calc(var(--core-right) - 1.5%),
    rgba(0, 0, 0, 0.45) calc(var(--core-right) - 0.7%),
    transparent var(--core-right) 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0 var(--core-left),
    rgba(0, 0, 0, 0.45) calc(var(--core-left) + 0.7%),
    #000 calc(var(--core-left) + 1.5%) calc(var(--core-right) - 1.5%),
    rgba(0, 0, 0, 0.45) calc(var(--core-right) - 0.7%),
    transparent var(--core-right) 100%
  );
  filter: none;
}

.assembly-vfx-facade {
  z-index: 5;
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.2));
}

.assembly-vfx-facade-left {
  clip-path: none;
  transform-origin: left center;
}

.assembly-vfx-facade-right {
  clip-path: none;
  transform-origin: right center;
}

.assembly-vfx-roof {
  transform-origin: center top;
}

.assembly-vfx-roof-lower {
  z-index: 2;
  clip-path: polygon(27% 21%, 48.5% 22%, 50.5% 38%, 52% 22%, 70.5% 19%, 73% 39%, 52% 43%, 49% 43%, 26% 41%);
}

.assembly-vfx-roof-middle {
  z-index: 3;
  clip-path: polygon(27% 7%, 48.5% 9%, 50.5% 30%, 52% 10%, 69.5% 6%, 72.5% 33%, 52% 37%, 49% 37%, 26% 34%);
}

.assembly-vfx-roof-cover {
  z-index: 4;
  clip-path: polygon(26.5% 0, 43% 0, 47% 4%, 49% 4%, 51.5% 7%, 67.5% 4.5%, 71.7% 23%, 52% 25%, 48.5% 19.5%, 31% 18%);
}

.assembly-vfx-heatpump {
  z-index: 6;
  clip-path: none;
  transform-origin: 35% 72%;
}

.assembly-final {
  z-index: 7;
  opacity: 0;
}

.assembly-house.is-assembly-complete .assembly-stage,
.assembly-house.is-assembly-complete .assembly-base,
.assembly-house.is-assembly-complete .assembly-vfx,
.assembly-house.is-assembly-complete .assembly-final { will-change: auto; }

.assembly-tone {
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  background: rgba(3, 12, 8, 0.48);
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assembly-house.is-assembly-open:not([data-selected-component]) .assembly-tone {
  opacity: 0.24;
  background: rgba(3, 12, 8, 0.42);
}

.assembly-house[data-selected-component] .assembly-tone { opacity: 1; }
.assembly-house[data-selected-component="roof"] .assembly-tone {
  background: radial-gradient(ellipse 32% 24% at 50% 17%, transparent 0 67%, rgba(3, 12, 8, 0.56) 100%);
}
.assembly-house[data-selected-component="facade"] .assembly-tone {
  background: radial-gradient(ellipse 22% 39% at 17% 50%, transparent 0 62%, rgba(3, 12, 8, 0.58) 100%);
}
.assembly-house[data-selected-component="windows"] .assembly-tone {
  background: radial-gradient(ellipse 18% 32% at 87% 48%, transparent 0 60%, rgba(3, 12, 8, 0.58) 100%);
}
.assembly-house[data-selected-component="heatpump"] .assembly-tone {
  background: radial-gradient(ellipse 15% 24% at 35% 70%, transparent 0 58%, rgba(3, 12, 8, 0.58) 100%);
}

.assembly-copy {
  position: relative;
  width: min(78%, 1200px);
  display: grid;
  gap: 10px;
  margin: 0 auto clamp(18px, 2vw, 26px);
  color: #fff;
}

.assembly-copy h2,
.assembly-copy p { margin: 0; }
.assembly-copy h2 { color: #fff; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.045em; }
.assembly-copy > p { max-width: 72ch; color: rgba(255, 255, 255, 0.82); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; }

.assembly-hotspots {
  position: absolute;
  z-index: 12;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assembly-house.is-assembly-open .assembly-hotspots {
  opacity: 1;
  pointer-events: auto;
}

.assembly-replay {
  position: absolute;
  z-index: 14;
  left: 16px;
  bottom: 16px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 16, 12, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition:
    background 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assembly-replay[hidden] { display: none; }
.assembly-replay:hover { border-color: rgba(255, 255, 255, 0.56); background: rgba(5, 16, 12, 1); }
.assembly-replay:active { transform: scale(0.98); }
.assembly-replay:focus-visible { outline: 3px solid var(--lp-acid); outline-offset: 3px; }

.assembly-hotspot {
  --hotspot-delay: 0ms;
  position: absolute;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: rgba(5, 16, 12, 0.92);
  box-shadow:
    inset 4px 0 0 var(--lp-acid),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
  font: inherit;
  cursor: pointer;
  opacity: 0;
  filter: blur(4px);
  transform: translate(-50%, calc(-50% + 14px)) scale(0.92);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.is-assembly-open .assembly-hotspot {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, -50%) scale(1);
  animation: assembly-hotspot-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) var(--hotspot-delay) backwards;
}

@keyframes assembly-hotspot-enter {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translate(-50%, calc(-50% + 14px)) scale(0.92);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -50%) scale(1);
  }
}

.assembly-hotspot b { font-size: 16px; font-weight: 900; line-height: 1; letter-spacing: -0.01em; }
.assembly-hotspot:hover,
.assembly-hotspot.is-selected { color: var(--lp-ink); background: var(--lp-acid); }
.assembly-hotspot:active { transform: translate(-50%, -50%) scale(0.97); }
.assembly-hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hotspot-roof { --hotspot-delay: 0ms; left: 50%; top: 12%; }
.hotspot-facade { --hotspot-delay: 60ms; left: 17%; top: 50%; }
.hotspot-windows { --hotspot-delay: 180ms; left: 88%; top: 47%; }
.hotspot-heatpump { --hotspot-delay: 120ms; left: 35%; top: 70%; }

.assembly-panel {
  position: absolute;
  z-index: 15;
  scroll-margin-block: 24px;
  left: auto;
  right: 16px;
  top: auto;
  bottom: 16px;
  width: min(410px, calc(100% - 32px));
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  color: #fff;
  background: rgba(5, 16, 12, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 52px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(4px);
  transform: translate3d(0, 10px, 0) scale(0.98);
  transform-origin: bottom right;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms 360ms;
}

.assembly-panel[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0ms;
}

.assembly-panel-instant .assembly-panel,
.assembly-panel-instant .assembly-tone,
.assembly-panel-instant .assembly-stage,
.assembly-panel-instant .assembly-final { transition: none !important; }
.assembly-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.assembly-panel-head span { color: var(--lp-acid); font-size: 11px; font-weight: 950; letter-spacing: 0.08em; }
.assembly-panel-head button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.assembly-panel > strong { font-size: 24px; line-height: 1.08; letter-spacing: -0.025em; }
.assembly-panel > p { margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 14px; line-height: 1.45; }
.assembly-panel > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-radius: 11px;
  color: var(--lp-ink);
  background: var(--lp-acid);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

@media (min-width: 701px) and (max-width: 1199px) {
  .assembly-house[data-selected-component] {
    margin-bottom: 250px;
    overflow: visible;
  }

  .assembly-panel {
    left: 0;
    right: auto;
    top: calc(100% + 14px);
    bottom: auto;
    transform-origin: top left;
  }
}

@media (max-width: 700px) {
  .landing-home .house-scroll-section { min-height: auto; padding: 18px 0 28px; }
  .house-scroll-sticky {
    top: auto;
    height: auto;
    padding: 0;
  }
  .house-scroll-container { padding-inline: 0; }
  .assembly-house {
    width: calc(100% - 16px);
    max-height: none;
    border-radius: 14px;
  }
  .assembly-house[data-selected-component] {
    margin-bottom: 330px;
    overflow: visible;
  }
  .assembly-copy {
    width: calc(100% - 28px);
    gap: 8px;
    margin-bottom: 16px;
  }
  .assembly-copy h2 { font-size: 29px; }
  .assembly-copy > p { max-width: 38ch; font-size: 13px; line-height: 1.45; }
  .assembly-hotspot { min-height: 44px; padding: 0 13px; border-radius: 10px; }
  .assembly-hotspot b { font-size: 14px; }
  .assembly-panel {
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    bottom: auto;
    width: 100%;
    gap: 8px;
    padding: 12px;
    border-radius: 13px;
    transform-origin: top center;
  }
  .assembly-panel-head span { font-size: 11px; }
  .assembly-panel > strong { font-size: 20px; }
  .assembly-panel > p { display: block; font-size: 14px; line-height: 1.45; }
  .assembly-panel > a { min-height: 44px; font-size: 13px; }
  .assembly-panel-head button { width: 44px; height: 44px; font-size: 20px; }
  .assembly-replay { left: 10px; bottom: 10px; min-height: 40px; padding-inline: 13px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-home .house-scroll-section:not(.force-assembly-motion) {
    min-height: auto;
    padding: 18px 0 40px;
  }
  .house-scroll-section:not(.force-assembly-motion) .house-scroll-sticky {
    position: relative;
    top: auto;
    height: auto;
    padding: 0;
  }
  .assembly-house .assembly-stage,
  .assembly-house .assembly-hotspots,
  .assembly-house .assembly-hotspot,
  .assembly-house .assembly-tone,
  .assembly-house .assembly-panel { transition: none !important; }
  .assembly-house .assembly-hotspot { animation: none !important; }
  .assembly-house .assembly-video,
  .assembly-house .assembly-video-fallback { transition: none !important; }
}

/* Interactive renovation engine: one locked camera, isolated construction layers. */
.landing-home .renovation-house {
  aspect-ratio: 1672 / 941;
  isolation: isolate;
  background: #08130e;
}

.renovation-viewport,
.renovation-stage,
.renovation-assembly {
  position: absolute;
  inset: 0;
}

.renovation-viewport {
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #08130e;
}

.renovation-stage {
  transform: var(--renovation-stage-transform, translate3d(0, 0, 0) scale(1));
  transform-origin: 0 0;
  transition: transform 880ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.renovation-assembly {
  pointer-events: none;
}

.renovation-base,
.renovation-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.renovation-base {
  z-index: 0;
}

.renovation-image-layer {
  opacity: 0;
  user-select: none;
}

.renovation-house.renovation-active::after {
  background:
    radial-gradient(circle at 50% 45%, transparent 20%, rgba(2, 9, 6, 0.14) 100%),
    linear-gradient(180deg, rgba(5, 14, 10, 0.04), transparent 34%),
    linear-gradient(0deg, rgba(5, 14, 10, 0.2), transparent 34%);
}

/* Window: original pixels become movable panes and frame strips. */
.window-opening-layer {
  z-index: 1;
  clip-path: polygon(61.45% 28.8%, 68.85% 28.8%, 68.85% 48.2%, 61.45% 48.2%);
  filter: brightness(0.96);
  transition:
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.window-exploded-layer {
  z-index: 2;
  transition:
    opacity 540ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

.window-image-piece {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  background: url("/assets/house-existing-keyframe-v3-grounded.jpg") center / 100% 100% no-repeat;
  transform-origin: 65.15% 38.4%;
  transition:
    transform 680ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.window-image-piece,
.window-screw { display: none; }

.window-glass-left { clip-path: polygon(62.25% 31%, 64.75% 31%, 64.75% 45.3%, 62.25% 45.3%); }
.window-glass-right { clip-path: polygon(65.15% 31%, 67.9% 31%, 67.9% 45.3%, 65.15% 45.3%); }
.window-frame-top { clip-path: polygon(61.55% 29.2%, 68.55% 29.2%, 68.55% 31.35%, 61.55% 31.35%); }
.window-frame-bottom { clip-path: polygon(61.55% 44.6%, 68.55% 44.6%, 68.55% 47.4%, 61.55% 47.4%); }
.window-frame-left { clip-path: polygon(61.55% 29.2%, 62.8% 29.2%, 62.8% 47.4%, 61.55% 47.4%); }
.window-frame-right { clip-path: polygon(67.35% 29.2%, 68.55% 29.2%, 68.55% 47.4%, 67.35% 47.4%); }
.window-frame-middle { clip-path: polygon(64.4% 29.2%, 65.45% 29.2%, 65.45% 47.4%, 64.4% 47.4%); }
.window-frame-cross { clip-path: polygon(61.55% 37.8%, 68.55% 37.8%, 68.55% 39.65%, 61.55% 39.65%); }

.window-screw {
  --screw-x: 0;
  --screw-y: 0;
  position: absolute;
  z-index: 5;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dce4df;
  box-shadow: 0 0 0 1px #26332d, 0 2px 5px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.92);
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.screw-1 { left: 62%; top: 31%; --screw-x: -18px; --screw-y: -12px; }
.screw-2 { left: 65%; top: 30.5%; --screw-x: 4px; --screw-y: -20px; }
.screw-3 { left: 68%; top: 31%; --screw-x: 18px; --screw-y: -12px; }
.screw-4 { left: 68%; top: 38%; --screw-x: 22px; --screw-y: 0; }
.screw-5 { left: 68%; top: 46%; --screw-x: 18px; --screw-y: 14px; }
.screw-6 { left: 65%; top: 46.5%; --screw-x: 4px; --screw-y: 20px; }
.screw-7 { left: 62%; top: 46%; --screw-x: -18px; --screw-y: 14px; }
.screw-8 { left: 62%; top: 38%; --screw-x: -22px; --screw-y: 0; }

.window-new-frame {
  position: absolute;
  z-index: 4;
  left: 61.75%;
  top: 29.55%;
  width: 6.5%;
  height: 17.25%;
  border: 3px solid #18201d;
  border-radius: 2px;
  background: rgba(155, 181, 185, 0.12);
  box-shadow:
    inset 0 0 0 2px rgba(218, 229, 226, 0.25),
    0 8px 22px rgba(0, 0, 0, 0.26);
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(26%, -10%, 0) scale(0.9);
  transform-origin: center;
  transition:
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.window-new-glass {
  position: absolute;
  top: 5%;
  bottom: 5%;
  width: 43%;
  background:
    linear-gradient(135deg, rgba(232, 245, 246, 0.72), rgba(48, 76, 72, 0.36) 50%, rgba(213, 229, 228, 0.58));
  box-shadow: inset 0 0 0 1px rgba(228, 241, 241, 0.42);
  opacity: 0;
  filter: blur(2px);
  transform: scale(0.92);
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 380ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.window-new-glass.glass-left { left: 4%; }
.window-new-glass.glass-right { right: 4%; }
.window-new-mullion,
.window-new-transom {
  position: absolute;
  z-index: 2;
  background: #18201d;
}
.window-new-mullion { top: 0; bottom: 0; left: 48%; width: 4%; }
.window-new-transom { left: 0; right: 0; top: 49%; height: 3%; }

.window-finish-glow,
.heatpump-finish-glow {
  position: absolute;
  z-index: 6;
  border: 1px solid rgba(197, 239, 115, 0.92);
  box-shadow: 0 0 18px rgba(197, 239, 115, 0.58), inset 0 0 18px rgba(197, 239, 115, 0.18);
  opacity: 0;
  transform: scale(0.96);
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
.window-finish-glow { left: 61.35%; top: 28.9%; width: 7.6%; height: 19%; }

.sequence-windows.has-window-release .window-opening-layer { opacity: 1; filter: brightness(1); }
.sequence-windows.has-window-release .window-exploded-layer { opacity: 1; }
.sequence-windows.has-window-release .window-screw {
  opacity: 0;
  transform: translate3d(var(--screw-x), var(--screw-y), 0) scale(1.12);
}
.sequence-windows.has-window-sash .window-glass-left {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(-8%, 1.5%, 0) rotate(-1.8deg) scale(0.97);
}
.sequence-windows.has-window-sash .window-glass-right {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(8%, -1%, 0) rotate(1.5deg) scale(0.97);
}
.sequence-windows.has-window-frame .window-frame-old {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(6%, -3%, 0) rotate(1deg) scale(0.95);
}
.sequence-windows.has-window-frame .window-exploded-layer { opacity: 0; filter: blur(1px); }
.sequence-windows.has-window-new-frame .window-new-frame {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}
.sequence-windows.has-window-glass .window-new-glass {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
.sequence-windows.has-window-finish .window-finish-glow {
  opacity: 1;
  transform: scale(1);
}
.sequence-windows.has-window-finish .window-opening-layer,
.sequence-windows.has-window-finish .window-new-frame { opacity: 0; }

/* Roof: original roof contours lift above an aligned generated underlay. */
.roof-cover,
.roof-tile,
.roof-material {
  transition:
    transform 820ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 460ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.roof-cover { z-index: 1; }
.roof-tile { z-index: 8; }
.roof-exploded-layer {
  z-index: 9;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.roof-cover-main,
.roof-tile-main,
.roof-material {
  clip-path: polygon(25.2% 0%, 45.8% 0%, 59.7% 40.2%, 42.1% 40.2%);
}
.roof-material { display: none; }
.roof-cover-right,
.roof-tile-right {
  clip-path: polygon(67.4% 4%, 74.6% 29.5%, 51.1% 28.5%, 48.1% 12.1%);
}
.roof-material {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
}
.roof-battens {
  z-index: 7;
  background:
    repeating-linear-gradient(11deg, transparent 0 34px, rgba(184, 136, 82, 0.96) 35px 40px),
    repeating-linear-gradient(98deg, transparent 0 80px, rgba(133, 89, 48, 0.88) 81px 87px),
    #303634;
}
.roof-underlay {
  z-index: 6;
  background:
    repeating-linear-gradient(15deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px),
    #2e3532;
}
.roof-rafters {
  z-index: 5;
  background: repeating-linear-gradient(96deg, #b88955 0 14px, #d2ad78 14px 24px, #6d482c 24px 27px, transparent 27px 74px), #4f3826;
}
.roof-insulation {
  z-index: 4;
  background:
    repeating-linear-gradient(100deg, rgba(108, 73, 21, 0.24) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #caa54e, #e5cd79 55%, #b68f3c);
}
.roof-vapor {
  z-index: 3;
  background: linear-gradient(135deg, rgba(72, 132, 144, 0.9), rgba(161, 210, 210, 0.84));
}
.roof-gypsum {
  z-index: 2;
  background: linear-gradient(135deg, #edeae1, #cfcac0);
}
.roof-layer-label {
  position: absolute;
  z-index: 10;
  left: 53%;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 16, 12, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.roof-label-top { top: 6%; }
.roof-label-middle { top: 26%; }
.roof-label-bottom { top: 43%; }
.sequence-roof .roof-cover,
.sequence-roof .roof-tile { opacity: 1; }
.sequence-roof.has-roof-lift .roof-tile-main { transform: translate3d(-1.5%, -10%, 0) rotate(-0.5deg); filter: drop-shadow(0 22px 20px rgba(0,0,0,0.25)); }
.sequence-roof.has-roof-lift .roof-tile-right { transform: translate3d(3%, -11%, 0) rotate(0.7deg); filter: drop-shadow(0 22px 20px rgba(0,0,0,0.25)); }
.sequence-roof.has-roof-stack .roof-material,
.sequence-roof.has-roof-stack .roof-layer-label { opacity: 1; }
.sequence-roof.has-roof-stack .roof-exploded-layer { opacity: 1; }
.sequence-roof.has-roof-stack .roof-battens { transform: translate3d(0, -6.5%, 0); }
.sequence-roof.has-roof-stack .roof-underlay { transform: translate3d(0, -2.5%, 0); }
.sequence-roof.has-roof-stack .roof-rafters { transform: translate3d(0, 2%, 0); }
.sequence-roof.has-roof-insulation .roof-insulation { transform: translate3d(0, 6%, 0); opacity: 1; }
.sequence-roof.has-roof-insulation .roof-vapor { transform: translate3d(0, 9.5%, 0); opacity: 1; }
.sequence-roof.has-roof-insulation .roof-gypsum { transform: translate3d(0, 13%, 0); opacity: 1; }
.sequence-roof.has-roof-stack .roof-layer-label { transform: translateY(0); }
.sequence-roof.has-roof-return .roof-tile,
.sequence-roof.has-roof-return .roof-material { transform: translate3d(0, 0, 0); filter: none; }
.sequence-roof.has-roof-return .roof-material,
.sequence-roof.has-roof-return .roof-layer-label { opacity: 0; }
.sequence-roof.has-roof-return .roof-exploded-layer { opacity: 0; filter: blur(1px); }
.sequence-roof.has-roof-finish .roof-cover,
.sequence-roof.has-roof-finish .roof-tile { opacity: 0; }

/* Facade: aligned insulation pass plus tactile material samples. */
.facade-cover,
.facade-finish {
  transition:
    transform 820ms cubic-bezier(0.76, 0, 0.24, 1),
    opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.facade-cover { z-index: 1; }
.facade-finish { z-index: 7; }
.facade-exploded-layer {
  z-index: 8;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.facade-cover-left,
.facade-finish-left { clip-path: polygon(18.7% 18%, 25.4% 0%, 42.7% 39%, 42.7% 80%, 18.7% 71%); }
.facade-cover-center,
.facade-finish-center { clip-path: polygon(42% 38%, 60.2% 38%, 60.2% 78%, 42% 80%); }
.facade-cover-right,
.facade-finish-right { clip-path: polygon(59.5% 22%, 67.5% 4%, 74.1% 29%, 74.1% 72%, 59.5% 78%); }
.facade-sample {
  position: absolute;
  z-index: 4;
  left: 46%;
  top: 43%;
  width: 13%;
  height: 27%;
  display: flex;
  align-items: flex-end;
  padding: 7px;
  clip-path: polygon(8% 0, 100% 6%, 92% 100%, 0 94%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 0, 0) scale(0.96);
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.facade-sample { display: none; }
.facade-sample b {
  padding: 4px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 16, 12, 0.78);
  font-size: 7px;
  line-height: 1;
}
.facade-adhesive { background: radial-gradient(circle, #7e7b73 0 3px, transparent 4px) 0 0/18px 18px, #c2beb3; }
.facade-board { background: linear-gradient(135deg, #d5c275, #b9a45b); }
.facade-armour { background: linear-gradient(135deg, #c5c1b7, #8e8a82); }
.facade-mesh { background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,.74) 8px 9px), repeating-linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.74) 8px 9px), #8f9790; }
.facade-plaster { background: radial-gradient(circle, rgba(81,78,69,.24) 0 1px, transparent 1.5px) 0 0/6px 6px, #dedbd2; }
.facade-paint { background: linear-gradient(135deg, #fff, #e8e8e3); }
.sequence-facade .facade-cover,
.sequence-facade .facade-finish { opacity: 1; }
.sequence-facade.has-facade-strip .facade-finish-left { transform: translate3d(-5%, 1%, 0) rotate(-0.5deg); filter: drop-shadow(18px 14px 18px rgba(0,0,0,.18)); }
.sequence-facade.has-facade-strip .facade-finish-center { transform: translate3d(2%, 3%, 0); filter: drop-shadow(18px 14px 18px rgba(0,0,0,.18)); }
.sequence-facade.has-facade-strip .facade-finish-right { transform: translate3d(5%, 0, 0) rotate(0.5deg); filter: drop-shadow(18px 14px 18px rgba(0,0,0,.18)); }
.sequence-facade.has-facade-stack .facade-sample { opacity: 1; filter: blur(0); }
.sequence-facade.has-facade-stack .facade-exploded-layer { opacity: 1; }
.sequence-facade.has-facade-stack .facade-adhesive { transform: translate3d(-55%, 5%, 0) scale(1); }
.sequence-facade.has-facade-stack .facade-board { transform: translate3d(0, 2%, 0) scale(1); }
.sequence-facade.has-facade-stack .facade-armour { transform: translate3d(55%, 0, 0) scale(1); }
.sequence-facade.has-facade-stack .facade-mesh { transform: translate3d(110%, -2%, 0) scale(1); }
.sequence-facade.has-facade-stack .facade-plaster { transform: translate3d(165%, -4%, 0) scale(1); }
.sequence-facade.has-facade-stack .facade-paint { transform: translate3d(220%, -6%, 0) scale(1); }
.sequence-facade.has-facade-seal .facade-sample { box-shadow: 0 0 24px rgba(197, 239, 115, 0.3), 0 18px 34px rgba(0,0,0,.2); }
.sequence-facade.has-facade-return .facade-finish { transform: translate3d(0, 0, 0); filter: none; }
.sequence-facade.has-facade-return .facade-sample { opacity: 0; filter: blur(2px); transform: translate3d(0, 0, 0) scale(0.96); }
.sequence-facade.has-facade-return .facade-exploded-layer { opacity: 0; filter: blur(1px); }
.sequence-facade.has-facade-finish .facade-cover,
.sequence-facade.has-facade-finish .facade-finish { opacity: 0; }

/* Heat pump: clean removal pass, foundation, connections and returning unit. */
.heatpump-empty-layer,
.heatpump-unit {
  clip-path: polygon(29.5% 55%, 42% 55%, 42% 82%, 29.5% 82%);
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.heatpump-empty-layer { z-index: 1; }
.heatpump-unit { z-index: 5; }
.heatpump-install-layer {
  z-index: 4;
  clip-path: polygon(28.5% 55%, 43% 55%, 43% 83%, 28.5% 83%);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.heatpump-foundation {
  position: absolute;
  z-index: 3;
  left: 30.8%;
  top: 73.4%;
  width: 10.8%;
  height: 4.2%;
  border-radius: 2px;
  background: linear-gradient(180deg, #c4c8c3, #7e8580);
  box-shadow: 0 8px 14px rgba(0,0,0,.24);
  opacity: 0;
  transform: scale3d(0.72, 0.08, 1);
  transform-origin: bottom center;
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.heatpump-foundation,
.heatpump-line,
.heatpump-signal { display: none !important; }
.heatpump-line {
  position: absolute;
  z-index: 4;
  display: block;
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 580ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.heatpump-line-horizontal { left: 38.8%; top: 69.6%; width: 4%; height: 3px; background: #dcded9; }
.heatpump-line-vertical { left: 41.8%; top: 66.5%; width: 3.6%; height: 3px; background: #dcded9; transform-origin: left center; transform: rotate(-58deg) scaleX(0); }
.heatpump-line-electric { left: 39.2%; top: 71.2%; width: 3.4%; height: 2px; background: var(--lp-acid); }
.heatpump-signal {
  position: absolute;
  z-index: 6;
  left: 34.2%;
  top: 61.5%;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.heatpump-signal i { width: 2px; border-radius: 2px; background: var(--lp-acid); }
.heatpump-signal i:nth-child(1) { height: 3px; }
.heatpump-signal i:nth-child(2) { height: 6px; }
.heatpump-signal i:nth-child(3) { height: 9px; }
.heatpump-finish-glow { left: 30.1%; top: 56%; width: 11.7%; height: 22%; }
.sequence-heatpump .heatpump-empty-layer,
.sequence-heatpump .heatpump-unit-old { opacity: 1; }
.sequence-heatpump.has-heatpump-detach .heatpump-unit-old { opacity: 0; filter: blur(2px); transform: translate3d(-8%, 3%, 0) scale(0.94); }
.sequence-heatpump.has-heatpump-foundation .heatpump-foundation { opacity: 1; transform: scale3d(1, 1, 1); }
.sequence-heatpump.has-heatpump-foundation .heatpump-install-layer { opacity: 1; }
.sequence-heatpump.has-heatpump-connect .heatpump-line { opacity: 1; transform: scaleX(1); }
.sequence-heatpump.has-heatpump-connect .heatpump-line-vertical { transform: rotate(-58deg) scaleX(1); }
.heatpump-unit-new { opacity: 0; filter: blur(3px); transform: translate3d(5%, -10%, 0) scale(0.92); }
.sequence-heatpump.has-heatpump-install .heatpump-unit-new { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
.sequence-heatpump.has-heatpump-install .heatpump-install-layer { opacity: 0; filter: blur(1px); }
.sequence-heatpump.has-heatpump-online .heatpump-signal { opacity: 1; transform: translateY(0); }
.sequence-heatpump.has-heatpump-finish .heatpump-empty-layer,
.sequence-heatpump.has-heatpump-finish .heatpump-unit-new,
.sequence-heatpump.has-heatpump-finish .heatpump-foundation,
.sequence-heatpump.has-heatpump-finish .heatpump-line,
.sequence-heatpump.has-heatpump-finish .heatpump-signal { opacity: 0; }
.sequence-heatpump.has-heatpump-finish .heatpump-finish-glow { opacity: 1; transform: scale(1); }

/* Scene controls stay fixed while the image stage moves beneath them. */
.renovation-house .house-visual-labels {
  z-index: 7;
  transition:
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.renovation-house.renovation-active .house-visual-labels {
  opacity: 0;
  filter: blur(3px);
  pointer-events: none;
}
.renovation-hud {
  position: absolute;
  z-index: 9;
  left: 20px;
  bottom: 20px;
  width: min(355px, calc(100% - 40px));
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #fff;
  background: rgba(5, 16, 12, .89);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  filter: blur(4px);
  transform: translateY(10px) scale(.98);
  transform-origin: bottom left;
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.renovation-active .renovation-hud {
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.renovation-hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--lp-acid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.renovation-hud-head button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.renovation-hud-head button:hover { background: rgba(255,255,255,.16); transform: rotate(4deg); }
.renovation-hud > strong { font-size: 20px; line-height: 1.12; }
.renovation-hud > p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.45; }
.renovation-progress { height: 2px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.14); }
.renovation-progress i { display: block; width: 100%; height: 100%; background: var(--lp-acid); transform: scaleX(0); transform-origin: left center; transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1); }
.renovation-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0ms 300ms;
}
.renovation-complete .renovation-actions {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0ms;
}
.renovation-actions button,
.renovation-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.renovation-actions a { color: var(--lp-ink); background: var(--lp-acid); border-color: var(--lp-acid); }
.renovation-instruction {
  position: absolute;
  z-index: 6;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  color: #fff;
  background: rgba(5,16,12,.7);
  backdrop-filter: blur(10px);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.renovation-instruction span { color: var(--lp-acid); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.renovation-instruction b { font-size: 11px; }
.renovation-active .renovation-instruction { opacity: 0; transform: translateY(6px); }

@media (max-width: 700px) {
  .landing-home .renovation-house {
    aspect-ratio: 1672 / 941;
    overflow: hidden;
    margin-bottom: 0 !important;
  }
  .renovation-stage { transition-duration: 760ms; }
  .renovation-hud {
    left: 8px;
    bottom: 8px;
    width: min(270px, calc(100% - 16px));
    gap: 5px;
    padding: 8px;
    border-radius: 10px;
  }
  .renovation-hud > strong { font-size: 12px; }
  .renovation-hud > p { display: none; }
  .renovation-hud-head button { width: 24px; height: 24px; }
  .renovation-actions button,
  .renovation-actions a { min-height: 32px; font-size: 9px; }
  .renovation-instruction { right: 8px; bottom: 8px; padding: 7px 9px; }
  .roof-layer-label,
  .facade-sample b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .renovation-stage,
  .renovation-image-layer,
  .window-image-piece,
  .window-screw,
  .window-new-frame,
  .window-new-glass,
  .window-finish-glow,
  .roof-material,
  .roof-layer-label,
  .facade-sample,
  .heatpump-foundation,
  .heatpump-line,
  .heatpump-signal,
  .heatpump-finish-glow,
  .renovation-hud,
  .renovation-house .house-visual-labels,
  .renovation-progress i {
    transition: none !important;
  }
  .renovation-stage { transform: none !important; }

  .force-renovation-motion .renovation-stage {
    transition: transform 880ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .force-renovation-motion .renovation-image-layer,
  .force-renovation-motion .window-image-piece,
  .force-renovation-motion .window-screw,
  .force-renovation-motion .window-new-frame,
  .force-renovation-motion .window-new-glass,
  .force-renovation-motion .window-finish-glow,
  .force-renovation-motion .roof-material,
  .force-renovation-motion .roof-layer-label,
  .force-renovation-motion .facade-sample,
  .force-renovation-motion .heatpump-foundation,
  .force-renovation-motion .heatpump-line,
  .force-renovation-motion .heatpump-signal,
  .force-renovation-motion .heatpump-finish-glow,
  .force-renovation-motion .renovation-hud,
  .force-renovation-motion .house-visual-labels,
  .force-renovation-motion .renovation-progress i {
    transition-duration: 650ms !important;
  }
  .force-renovation-motion .renovation-stage {
    transform: var(--renovation-stage-transform, none) !important;
  }
}

/* Final home-page legibility pass */
.lp-kicker,
.lp-process-stage-top > span,
.lp-process-tabs span,
.lp-trust-facts small,
.lp-trust-visual > span {
  font-size: 12px;
  line-height: 1.45;
}

.lp-manifesto-visual figcaption span,
.lp-service-card small {
  font-size: 12px;
  line-height: 1.4;
}

.lp-signal-track {
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .lp-signal-track,
  .lp-process-tabs span,
  .lp-trust-visual > span {
    font-size: 12px;
  }

  .landing-home .house-visual::before {
    font-size: 11px;
  }
}

/* QA pass: preserve motion for narrative moments instead of revealing every block alike. */
.lp-motion-ready .lp-process-head,
.lp-motion-ready .lp-process-layout,
.lp-motion-ready .lp-proof-line,
.lp-motion-ready .lp-services-head,
.lp-motion-ready .lp-service-card,
.lp-motion-ready .lp-faq-head,
.lp-motion-ready .lp-faq-list {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

/* The visual component picker also has a semantic, keyboard-friendly list fallback. */
.house-access-alternative {
  width: min(78%, 1200px);
  margin: 16px auto 0;
  color: #fff;
}

.house-access-alternative summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.house-access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.house-access-grid a {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.house-access-grid a:hover,
.house-access-grid a:focus-visible {
  border-color: rgba(197, 239, 115, 0.62);
  background: rgba(197, 239, 115, 0.1);
}

.house-access-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .house-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .house-access-alternative {
    width: calc(100% - 28px);
  }

  .house-access-grid {
    grid-template-columns: 1fr;
  }
}

/* Short landscape phones need a useful house size even though the viewport is shallow. */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 1100px) {
  .assembly-copy,
  .assembly-house,
  .house-access-alternative {
    width: min(92vw, 760px);
  }

  .assembly-house {
    max-height: none;
    aspect-ratio: 1672 / 941;
  }

  .assembly-house[data-selected-component] {
    margin-bottom: 270px;
    overflow: visible;
  }
}

/* Keep the primary message paintable immediately; motion remains a short spatial settle. */
.lp-motion-ready .lp-hero-copy > * {
  opacity: 1;
  filter: none;
  transform: translateY(8px);
  transition: transform 360ms var(--lp-ease);
}

.lp-motion-ready .lp-hero.is-loaded .lp-hero-copy > * {
  opacity: 1;
  filter: none;
  transform: translateY(0);
}
