﻿:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-soft: #ecf1f7;
  --ink: #0d1728;
  --muted: #4a5a6f;
  --line: rgba(13, 23, 40, 0.12);
  --accent: #0f4d83;
  --accent-strong: #0b3860;
  --accent-soft: #dce9f8;
  --warm: #b77032;
  --radius: 24px;
  --shadow: 0 22px 45px rgba(10, 19, 34, 0.12);
  --section-gap: clamp(5rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(37, 101, 166, 0.13), transparent 60%),
    radial-gradient(900px 500px at 120% 12%, rgba(183, 112, 50, 0.1), transparent 58%),
    var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  z-index: 120;
  transition: width 0.12s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(244, 246, 249, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(244, 246, 249, 0.94);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--accent), #153c5f 62%, #071525);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-text {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.95rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.88rem 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 25px rgba(14, 73, 123, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(14, 73, 123, 0.34);
  filter: brightness(1.03);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(15, 77, 131, 0.45);
  outline-offset: 2px;
}

.btn-small {
  padding: 0.68rem 1.1rem;
  font-size: 0.84rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  box-shadow: none;
  border-color: rgba(13, 23, 40, 0.25);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.79rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.section-head h2,
.hero h1,
h2,
h3 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.015em;
}

.hero-cinematic {
  --hero-progress: 0;
  position: relative;
  height: 150vh;
  min-height: 920px;
  padding: 0;
  background: #07111e;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 660px;
  overflow: clip;
  isolation: isolate;
  color: #fff;
}

.hero-scene,
.hero-house,
.hero-vignette,
.hero-blueprint {
  position: absolute;
  inset: 0;
}

.hero-scene {
  z-index: -2;
  background: #0c1a2a;
  transform: scale(calc(1 + var(--hero-progress) * .08));
  transform-origin: 70% 58%;
  will-change: transform;
}

.hero-house {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.92) contrast(1.02);
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(4, 11, 20, .91) 0%, rgba(4, 11, 20, .68) 30%, rgba(4, 11, 20, .08) 67%, rgba(4, 11, 20, .24) 100%),
    linear-gradient(180deg, rgba(4, 11, 20, .25) 0%, transparent 45%, rgba(4, 11, 20, .56) 100%);
}

.hero-blueprint {
  opacity: calc(var(--hero-progress) * .8);
  transform: translateY(calc((1 - var(--hero-progress)) * 22px));
  pointer-events: none;
}

.blueprint-line {
  position: absolute;
  border: 1px solid rgba(191, 225, 255, .75);
  box-shadow: 0 0 18px rgba(87, 172, 241, .2);
}

.blueprint-line-a {
  width: 23%;
  height: 37%;
  top: 28%;
  left: 42%;
  border-radius: 2px 2px 0 0;
}

.blueprint-line-b {
  width: 25%;
  height: 23%;
  top: 44%;
  right: 4.5%;
}

.blueprint-label {
  position: absolute;
  top: 27%;
  right: 6%;
  padding: .45rem .75rem;
  border: 1px solid rgba(205, 232, 255, .5);
  background: rgba(5, 19, 34, .66);
  backdrop-filter: blur(8px);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  line-height: .88;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 14px 60px rgba(0, 0, 0, .28);
}

.hero-copy h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .82);
}

.hero-copy .lead {
  max-width: 42rem;
  margin: 1.65rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-cinematic .eyebrow {
  color: rgba(222, 237, 250, .84);
}

.hero-cinematic .btn {
  background: #fff;
  color: #0a1c2f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  padding: .85rem .2rem;
  color: #fff;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .32rem;
}

.hero-product-nav {
  position: absolute;
  right: 0;
  bottom: clamp(2.2rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: .5rem;
}

.hero-product-nav a {
  display: grid;
  min-width: 9rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(4, 14, 25, .48);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.hero-product-nav a:hover {
  transform: translateY(-3px);
  background: rgba(11, 45, 75, .78);
}

.hero-product-nav span {
  color: rgba(255, 255, 255, .58);
  font-size: .66rem;
  letter-spacing: .12em;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.7rem;
  display: grid;
  justify-items: center;
  gap: .45rem;
  color: rgba(255, 255, 255, .68);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll-cue i {
  width: 1px;
  height: 28px;
  background: linear-gradient(#fff, transparent);
}

.hero-visual {
  position: relative;
  min-height: clamp(400px, 52vw, 620px);
  isolation: isolate;
}

.visual-main {
  position: absolute;
  inset: 10% 8% 13% 5%;
  border-radius: clamp(22px, 3.5vw, 34px);
  background:
    linear-gradient(150deg, rgba(14, 45, 78, 0.92), rgba(13, 24, 40, 0.95)),
    linear-gradient(100deg, rgba(77, 136, 193, 0.2), rgba(183, 112, 50, 0.18));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(1.1rem, 2.3vw, 1.8rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.visual-chip {
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-height: clamp(88px, 10vw, 120px);
}

.visual-card {
  position: absolute;
  border-radius: 20px;
  border: 1px solid rgba(12, 24, 41, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 239, 248, 0.92));
  box-shadow: 0 22px 35px rgba(10, 20, 35, 0.13);
}

.visual-card-a {
  width: 36%;
  height: 29%;
  left: -3%;
  top: 7%;
}

.visual-card-b {
  width: 28%;
  height: 32%;
  right: -2%;
  bottom: 4%;
}

.intro {
  padding: 0 0 var(--section-gap);
}

.intro-inner {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.08);
  box-shadow: 0 14px 28px rgba(12, 20, 34, 0.07);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.intro p {
  margin: 0;
  font-size: clamp(1.04rem, 1.7vw, 1.32rem);
  color: #2b3b52;
}

.services-wrap {
  padding: 0 0 var(--section-gap);
}

.service-panel {
  display: grid;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: 1fr 1fr;
  margin-bottom: clamp(1.3rem, 2.2vw, 2rem);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(13, 23, 40, 0.08);
}

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

.service-panel.is-reverse .service-text {
  order: 2;
}

.service-panel.is-reverse .service-media {
  order: 1;
}

.service-index {
  margin: 0 0 0.2rem;
  font-weight: 800;
  color: rgba(15, 77, 131, 0.68);
}

.service-text h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
}

.service-text p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.text-link {
  display: inline-block;
  margin-top: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.service-media {
  min-height: clamp(260px, 36vw, 420px);
  border-radius: 18px;
  border: 1px solid rgba(13, 23, 40, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-fenster {
  background:
    linear-gradient(140deg, rgba(18, 47, 78, 0.30), rgba(24, 91, 148, 0.20)),
    url('../img/fenster/okna-1.png') center / cover no-repeat;
}

.media-tueren {
  background:
    linear-gradient(145deg, rgba(74, 44, 20, 0.30), rgba(183, 112, 50, 0.25)),
    url('../img/haustuer/haustuer-1.jpg') center / cover no-repeat;
}

.media-tore {
  background:
    linear-gradient(125deg, rgba(8, 27, 45, 0.84), rgba(12, 55, 89, 0.86)),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.28), transparent 43%);
}

.media-zaeune {
  background:
    linear-gradient(145deg, rgba(16, 42, 67, 0.87), rgba(81, 131, 173, 0.84)),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.29), transparent 45%);
}

.product-showcase {
  --product-focus-x: 53%;
  --product-focus-y: 37%;
  --product-focus-scale: 1.62;
  padding: var(--section-gap) 0;
  color: #f5f8fb;
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(31, 92, 142, .2), transparent 68%),
    #07111e;
}

.product-showcase[data-active-product="fenster"] {
  --product-focus-x: 52%;
  --product-focus-y: 35%;
  --product-focus-scale: 1.62;
}

.product-showcase[data-active-product="haustueren"] {
  --product-focus-x: 66%;
  --product-focus-y: 61%;
  --product-focus-scale: 1.88;
}

.product-showcase[data-active-product="garagentore"] {
  --product-focus-x: 84%;
  --product-focus-y: 59%;
  --product-focus-scale: 1.72;
}

.product-showcase[data-active-product="zaeune"] {
  --product-focus-x: 25%;
  --product-focus-y: 75%;
  --product-focus-scale: 1.58;
}

.product-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.product-heading .eyebrow {
  color: #8dbde4;
}

.product-heading h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
  line-height: .96;
  letter-spacing: -.045em;
}

.product-heading > p {
  max-width: 39rem;
  margin: 0;
  color: rgba(231, 239, 247, .68);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.product-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, .65fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: clamp(22px, 3vw, 38px);
  background: #0a1726;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .34);
}

.product-canvas {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.product-scene-inner,
.product-canvas img,
.product-canvas-shade {
  position: absolute;
  inset: 0;
}

.product-scene-inner {
  transform: scale(var(--product-focus-scale));
  transform-origin: var(--product-focus-x) var(--product-focus-y);
  transition: transform 1.2s cubic-bezier(.16, .72, .12, 1), transform-origin .46s ease;
  will-change: transform;
}

.product-showcase.is-switching .product-scene-inner {
  transform: scale(1.015);
  transition-duration: .48s;
  transition-timing-function: cubic-bezier(.4, 0, .7, 1);
}

.product-canvas img,
.product-canvas-shade {
  width: 100%;
  height: 100%;
}

.product-canvas img {
  max-width: none;
  object-fit: cover;
  object-position: 57% center;
  transform: scale(1.025);
  transition: filter .4s ease;
}

.product-showcase.is-switching .product-canvas img {
  filter: saturate(.84) brightness(.78);
}

.product-canvas-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 13, 23, .16), transparent 55%), linear-gradient(0deg, rgba(4, 12, 21, .5), transparent 40%);
}

.product-hotspot {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(174, 218, 255, 0);
  border-radius: 10px;
  opacity: .16;
  transform: scale(.9);
  transition: opacity .35s ease, transform .5s ease, border-color .35s ease, box-shadow .35s ease;
}

.product-hotspot::before,
.product-hotspot::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: rgba(206, 234, 255, .9);
}

.product-hotspot::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.product-hotspot::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.hotspot-fenster { left: 39%; top: 20%; width: 25%; height: 42%; }
.hotspot-haustueren { left: 61%; top: 49%; width: 10%; height: 24%; }
.hotspot-garagentore { right: 3%; top: 47%; width: 25%; height: 27%; }
.hotspot-zaeune { left: 0; bottom: 4%; width: 48%; height: 28%; }

.product-showcase[data-active-product="fenster"] [data-hotspot="fenster"],
.product-showcase[data-active-product="haustueren"] [data-hotspot="haustueren"],
.product-showcase[data-active-product="garagentore"] [data-hotspot="garagentore"],
.product-showcase[data-active-product="zaeune"] [data-hotspot="zaeune"] {
  border-color: rgba(174, 218, 255, .78);
  box-shadow: 0 0 0 1px rgba(117, 193, 255, .18), 0 0 44px rgba(55, 151, 224, .24);
  opacity: 1;
  transform: scale(1);
}

.product-visual-labels {
  position: absolute;
  z-index: 4;
  left: clamp(1.2rem, 3vw, 2.5rem);
  bottom: clamp(1.2rem, 3vw, 2.5rem);
}

.product-visual-labels span {
  display: none;
  padding: .58rem .85rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(5, 16, 28, .62);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.product-showcase[data-active-product="fenster"] [data-product-label="fenster"],
.product-showcase[data-active-product="haustueren"] [data-product-label="haustueren"],
.product-showcase[data-active-product="garagentore"] [data-product-label="garagentore"],
.product-showcase[data-active-product="zaeune"] [data-product-label="zaeune"] {
  display: block;
}

.product-tabs {
  display: grid;
  align-content: stretch;
  padding: .75rem;
  background: rgba(8, 21, 36, .94);
}

.product-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1rem;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.45rem);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  border-radius: 17px;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.product-tab:last-child {
  border-bottom-color: transparent;
}

.product-tab:hover,
.product-tab.is-active {
  background: rgba(255, 255, 255, .085);
}

.product-tab.is-active {
  transform: translateX(-.35rem);
}

.product-tab-index {
  color: #83b8e2;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.product-tab-copy {
  display: grid;
  gap: .45rem;
}

.product-tab-copy strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.product-tab-copy small {
  color: rgba(231, 239, 247, .58);
  font-size: .9rem;
  line-height: 1.5;
}

.product-tab-arrow {
  color: rgba(255, 255, 255, .54);
  font-size: 1.15rem;
  transition: color .2s ease, transform .2s ease;
}

.product-tab.is-active .product-tab-arrow {
  color: #fff;
  transform: rotate(45deg);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.3rem;
  padding: 1.1rem 0;
}

.product-footer p {
  max-width: 54rem;
  margin: 0;
  color: rgba(231, 239, 247, .68);
}

.product-footer .btn {
  flex: 0 0 auto;
  background: #fff;
  color: #0a1c2f;
  box-shadow: none;
}

@media (max-width: 980px) {
  .product-heading,
  .product-explorer {
    grid-template-columns: 1fr;
  }

  .product-explorer {
    min-height: 0;
  }

  .product-canvas {
    min-height: min(68vw, 560px);
  }

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

  .product-tab:nth-child(3) {
    border-bottom-color: transparent;
  }
}

@media (max-width: 640px) {
  .product-showcase[data-active-product="fenster"] { --product-focus-scale: 1.36; }
  .product-showcase[data-active-product="haustueren"] { --product-focus-scale: 1.48; }
  .product-showcase[data-active-product="garagentore"] { --product-focus-scale: 1.43; }
  .product-showcase[data-active-product="zaeune"] { --product-focus-scale: 1.34; }

  .product-showcase {
    padding: 5rem 0;
  }

  .product-heading {
    gap: 1.3rem;
  }

  .product-canvas {
    min-height: 72vw;
  }

  .product-canvas img {
    object-position: 63% center;
  }

  .product-tabs {
    grid-template-columns: 1fr;
  }

  .product-tab,
  .product-tab:nth-child(3) {
    border-bottom-color: rgba(255, 255, 255, .09);
  }

  .product-tab:last-child {
    border-bottom-color: transparent;
  }

  .product-tab.is-active {
    transform: none;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-scene-inner,
  .product-tab,
  .product-hotspot {
    transition: none;
  }
}

.why-us,
.process,
.gallery,
.partners,
.contact {
  padding: 0 0 var(--section-gap);
}

.section-head {
  margin-bottom: clamp(1.4rem, 4vw, 2.6rem);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.argument-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.argument-grid article {
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.09);
  border-radius: 16px;
  padding: 1.1rem 1rem;
}

.argument-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.argument-grid p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-list li {
  position: relative;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.1);
  border-radius: 16px;
}

.process-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}

.process-list h3 {
  margin: 0.88rem 0 0;
  font-size: 1.12rem;
}

.process-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-item {
  margin: 0;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(13, 23, 40, 0.1);
  background: #d9e1ec;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(7, 20, 35, 0.16), rgba(10, 30, 51, 0.28)),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.2), transparent 44%);
  z-index: 1;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 7;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  grid-column: span 5;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(4) {
  grid-column: span 6;
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 0.85rem 1rem;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.38));
  z-index: 2;
}

.partners-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.partner-logo {
  margin: 0;
  min-height: 160px;
  border-radius: 18px;
  border: 1px solid rgba(13, 23, 40, 0.12);
  background: var(--surface);
  padding: clamp(1rem, 2.2vw, 1.8rem);
  display: grid;
  place-items: center;
}

.partner-logo img {
  width: auto;
  max-height: 88px;
  object-fit: contain;
}

.cta-band {
  padding-bottom: var(--section-gap);
}

.cta-band-inner {
  border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(130deg, rgba(13, 33, 54, 0.94), rgba(15, 77, 131, 0.88));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.1vw, 2.9rem);
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

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

.contact-facts {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.contact-facts li {
  color: #2e4058;
  font-size: 0.95rem;
}

.contact-facts strong {
  color: var(--ink);
}

.contact-facts a {
  color: var(--accent);
}

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.1);
  border-radius: 20px;
  padding: clamp(1.1rem, 2.8vw, 2rem);
  display: grid;
  gap: 0.58rem;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(13, 23, 40, 0.18);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.82rem 0.92rem;
}

.contact-form textarea {
  resize: vertical;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-hint {
  color: var(--muted);
  margin: 0.45rem 0 0.5rem;
  font-size: 0.88rem;
}

.form-hint a {
  color: var(--accent);
}

.form-feedback {
  margin: 0.15rem 0 0;
  min-height: 1.2em;
  font-weight: 600;
  color: var(--accent-strong);
}

.form-feedback.is-error {
  color: #a33a2b;
}

.form-feedback.is-success {
  color: #1e6b4d;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.8rem;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner nav a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--ink);
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 26px rgba(9, 38, 64, 0.3);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 140;
  max-width: 880px;
  margin-inline: auto;
  border-radius: 16px;
  border: 1px solid rgba(13, 23, 40, 0.16);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 35px rgba(9, 19, 34, 0.18);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: #30425a;
  font-size: 0.88rem;
  flex: 1;
}

.cookie-banner a {
  color: var(--accent);
}

.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  filter: blur(5px);
  transition: transform 0.8s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.7s ease, filter 0.7s ease;
  will-change: transform, opacity;
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-up {
  transform: translateY(28px);
}

.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}

.legal-main {
  padding: clamp(6.5rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Sora", "Manrope", sans-serif;
}

.legal-card h2 {
  margin: 1.9rem 0 0.65rem;
  font-size: 1.22rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

@media (max-width: 1140px) {
  .argument-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-inner > .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    border: 1px solid rgba(13, 23, 40, 0.16);
    background: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-direction: column;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 1rem auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(13, 23, 40, 0.13);
    border-radius: 16px;
    padding: 0.85rem;
    box-shadow: 0 15px 30px rgba(10, 20, 35, 0.12);
    display: grid;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav a {
    padding: 0.4rem 0.25rem;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-grid,
  .service-panel {
    grid-template-columns: 1fr;
  }

  .service-panel.is-reverse .service-text,
  .service-panel.is-reverse .service-media {
    order: initial;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-item {
    grid-column: span 6 !important;
  }

  .partners-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --radius: 18px;
  }

  .hero-cinematic {
    height: 135vh;
    min-height: 760px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-house {
    object-position: 67% center;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(4, 11, 20, .38), rgba(4, 11, 20, .32) 35%, rgba(4, 11, 20, .86) 86%),
      linear-gradient(90deg, rgba(4, 11, 20, .55), transparent 80%);
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 8.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-product-nav {
    right: 4vw;
    left: 4vw;
    bottom: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-product-nav a {
    min-width: 0;
    padding: .55rem .7rem;
    font-size: .72rem;
  }

  .hero-scroll-cue,
  .hero-blueprint {
    display: none;
  }

  .argument-grid,
  .process-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    grid-column: span 1 !important;
    min-height: 210px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  .floating-cta {
    left: 1rem;
    right: 1rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-left,
  .reveal-right,
  .reveal-up {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
