/* ==========================================================================
   VERIU Construction – Premium Stylesheet
   ========================================================================== */

@font-face { font-family: "Google Sans"; src: url("../fonts/google-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --blue: #0071bc;
  --blue-hi: #2f9be6;
  --blue-deep: #00426f;
  --gray: #9a9a9a;
  --bg: #ffffff;
  --bg-2: #f1f5f9;
  --bg-3: #e6ebf1;
  --line-d: rgba(11, 15, 20, .1);
  --txt-d: #4d5663;
  --paper: #f5f3ef;
  --paper-2: #e7e4dd;
  --ink: #0b0f14;
  --text: #3e4652;
  --muted: #6c7480;
  --line: #dcd8cf;

  --font-head: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1320px;
  --radius: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0; background: var(--bg); color: var(--txt-d);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
h3 { font-size: 1.4rem; letter-spacing: -.02em; }
p { margin: 0 0 1.2em; }

.container { width: min(100% - 56px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 600; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--blue-hi);
}
.eyebrow { color: var(--blue); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.light .eyebrow { color: var(--blue); }

.section { position: relative; padding: clamp(100px, 13vw, 190px) 0; }
.light { background: var(--paper); color: var(--text); }
.light h2, .light h3 { color: var(--ink); }
.text-blue { color: var(--blue); }
.light .text-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden; isolation: isolate;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: 19px 32px; border-radius: 100px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-45deg); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary::before { background: #fff; }
.btn--primary:hover { color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--blue); }

/* ==========================================================================
   Logo-Build SVG
   ========================================================================== */
.lb { width: 100%; height: auto; overflow: visible; display: block; }
.lb .b { fill: var(--blue); }
.lb .g { fill: var(--gray); }
.lb .ghost use { fill: none; stroke: var(--blue-hi); stroke-width: .7; stroke-dasharray: 1 1; vector-effect: non-scaling-stroke; }
.lb .grid line { stroke: rgba(47, 155, 230, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lb .guide { stroke: rgba(47, 155, 230, .55); stroke-width: 1; stroke-dasharray: 4 5; fill: none; vector-effect: non-scaling-stroke; }
.lb .dim { fill: var(--blue-hi); font-family: ui-monospace, Menlo, monospace; font-size: 7px; letter-spacing: .08em; }
.lb .cable { stroke: #7d8a99; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.lb .hook { fill: none; stroke: #7d8a99; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.lb .spark { fill: #f5a524; }
.lb .dust { fill: rgba(140, 140, 140, .5); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.loader { display: none; }
.js .loader {
  display: flex; position: fixed; inset: 0; z-index: 500; background: var(--bg);
  flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.loader__grid {
  position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(rgba(47, 155, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 155, 230, .07) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
}
.loader__stage { position: relative; width: min(78vw, 560px); }
.loader__meta {
  position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end;
  width: min(100% - 56px, var(--container)); margin-inline: auto;
  font-family: ui-monospace, Menlo, monospace; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #7b8794;
}
.loader__phase { color: var(--ink); }
.loader__count { font-family: var(--font-head); font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 700; color: var(--ink); line-height: .8; letter-spacing: -.03em; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.loader__skip {
  position: absolute; top: 28px; right: 28px; background: none; border: 1px solid var(--line-d); color: #8893a1;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; padding: 9px 16px; border-radius: 100px; cursor: pointer;
}
.loader__skip:hover { color: var(--ink); border-color: var(--ink); }
.is-loading { overflow: hidden; }

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: height .5s var(--ease), background .5s var(--ease), transform .6s var(--ease); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-d); opacity: 0; transition: opacity .5s; }
.header.is-solid, .header--static { height: 76px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.header.is-solid::after, .header--static::after { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }

.logo { position: relative; display: block; height: 66px; flex-shrink: 0; transition: height .5s var(--ease); }
.logo img { height: 100%; width: auto; }
.logo .logo--color { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .4s; }
.logo .logo--white { transition: opacity .4s; }
.header.is-solid .logo--white, .header--static .logo--white { opacity: 0; }
.header.is-solid .logo--color, .header--static .logo--color { opacity: 1; }
.header.is-solid .logo, .header--static .logo { height: 54px; }

.nav { display: flex; align-items: center; gap: 44px; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; position: relative; overflow: hidden; padding: 8px 14px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: rgba(255, 255, 255, .78); transition: color .3s, background .3s;
}
.nav__list a:hover, .nav__list a.is-active { color: #fff; background: rgba(255, 255, 255, .12); }
.header.is-solid .nav__list a, .header--static .nav__list a { color: var(--text); }
.header.is-solid .nav__list a:hover, .header.is-solid .nav__list a.is-active, .header--static .nav__list a:hover { color: var(--blue); background: rgba(0, 113, 188, .08); }
.header__cta { padding: 14px 24px; }

.nav-toggle { display: none; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; cursor: pointer; position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 16px; right: 16px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), opacity .2s; }
.header.is-solid .nav-toggle, .header--static .nav-toggle { border-color: var(--line-d); }
.header.is-solid .nav-toggle span, .header--static .nav-toggle span, .nav-open .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 20px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 42, .72) 0%, rgba(8, 24, 42, .38) 50%, rgba(8, 24, 42, .05) 100%),
    linear-gradient(0deg, rgba(8, 24, 42, .55) 0%, rgba(8, 24, 42, 0) 40%),
    linear-gradient(180deg, rgba(8, 24, 42, .4) 0%, rgba(8, 24, 42, 0) 22%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); width: min(100% - 56px, var(--container)); margin-inline: auto; }
.hero h1 { font-size: clamp(3rem, 7.6vw, 7.4rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 32px; color: #fff; font-weight: 700; text-shadow: 0 2px 30px rgba(0, 20, 40, .25); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; }
.hero h1 .accent { color: #8ccfff; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero__text { max-width: 520px; font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: rgba(255, 255, 255, .92); margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .eyebrow { color: #8ccfff; }
.badge-rot { position: relative; width: 150px; height: 150px; flex-shrink: 0; display: block; }
.badge-rot svg.ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-rot text { font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: .32em; fill: rgba(255, 255, 255, .8); text-transform: uppercase; }
.badge-rot__core { position: absolute; inset: 34px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: transform .5s var(--ease); }
.badge-rot:hover .badge-rot__core { transform: scale(1.1); }
.badge-rot__core svg { width: 30px; height: 30px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__side {
  position: absolute; right: 28px; top: 50%; z-index: 2; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-family: ui-monospace, Menlo, monospace; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 26px 0; position: relative; z-index: 3; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.02em; line-height: 1;
}
.marquee__track span i { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .9); }
.marquee__track svg { width: .7em; height: .7em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { display: grid; grid-template-columns: 1fr 340px; gap: clamp(48px, 8vw, 120px); align-items: end; }
.statement__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3.5rem); line-height: 1.16; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.js .statement__text .w { opacity: .15; }
.statement__aside { display: grid; gap: 28px; }
.statement__img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; }
.statement__img img { width: 100%; height: 118%; object-fit: cover; }
.statement__aside p { font-size: 1rem; margin: 0; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); margin-top: clamp(72px, 9vw, 130px); }
.fact { padding: 36px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line-d); }
.fact strong { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.fact span { font-size: .95rem; }
.fact svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 22px; }

/* ==========================================================================
   Build-Sektion (Logo wird gebaut)
   ========================================================================== */
.build { position: relative; background: var(--bg-2); overflow: hidden; }
.build__pin { position: relative; padding: clamp(100px, 12vw, 170px) 0; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; width: min(100% - 56px, var(--container)); margin-inline: auto; }
.build__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(47, 155, 230, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 155, 230, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 35% 50%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 35% 50%, #000 10%, transparent 75%);
}
.build__stage { position: relative; padding: 4% 0; }
.build__stage::before {
  content: ""; position: absolute; inset: 8% 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 188, .10) 0%, transparent 65%); filter: blur(30px);
}
.build__stage .lb { position: relative; }
.build__head h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.build__steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; }
.build__steps li { position: relative; padding: 20px 0 20px 64px; border-top: 1px solid var(--line-d); transition: opacity .5s var(--ease); }
.js .build__steps li { opacity: .32; }
.build__steps li:last-child { border-bottom: 1px solid var(--line-d); }
.js .build__steps li.is-on { opacity: 1; }
.build__steps li::before {
  counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 22px;
  font-family: ui-monospace, Menlo, monospace; font-size: .85rem; color: var(--blue);
}
.build__steps li::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.build__steps li.is-on::after { transform: scaleX(1); }
.build__steps strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.2rem; margin-bottom: 4px; }
.build__steps span { font-size: .95rem; }
.build__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   Leistungen (Hover-Liste)
   ========================================================================== */
.svc-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.svc-head p { margin: 0; font-size: 1.1rem; }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__item { position: relative; border-bottom: 1px solid var(--line); }
.svc__link { display: grid; grid-template-columns: 90px 1fr 1.1fr 60px; align-items: center; gap: 32px; padding: 38px 0; position: relative; z-index: 1; }
.svc__item::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.svc__item:hover::before { transform: scaleY(1); transform-origin: top; }
.svc__num { font-family: ui-monospace, Menlo, monospace; font-size: .9rem; color: var(--blue); padding-left: 8px; transition: color .4s; }
.svc__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.7rem); letter-spacing: -.02em; color: var(--ink); line-height: 1.05; margin: 0; transition: color .4s, transform .6s var(--ease); }
.svc__desc { margin: 0; font-size: 1rem; transition: color .4s; }
.svc__arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .5s var(--ease); justify-self: end; margin-right: 8px; }
.svc__arrow svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.svc__item:hover .svc__num { color: rgba(255, 255, 255, .8); }
.svc__item:hover .svc__title { color: #fff; transform: translateX(16px); }
.svc__item:hover .svc__desc { color: rgba(255, 255, 255, .88); }
.svc__item:hover .svc__arrow { background: #fff; border-color: #fff; color: var(--blue); }
.svc__item:hover .svc__arrow svg { transform: rotate(0); }
.svc__img { display: none; }

.svc-float {
  position: fixed; left: 0; top: 0; z-index: 60; width: 340px; aspect-ratio: 4 / 3; pointer-events: none;
  border-radius: var(--radius); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
}
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.svc-float img.is-on { opacity: 1; }
@media (hover: none) { .svc-float { display: none; } }

/* ==========================================================================
   Einsatzbereiche (horizontal)
   ========================================================================== */
.hscroll { position: relative; background: var(--bg); overflow: hidden; }
.hscroll__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 110px 0 60px; }
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; width: min(100% - 56px, var(--container)); margin-inline: auto; }
.hscroll__head h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.hscroll__head p { max-width: 380px; margin: 0; }
.hscroll__track { display: flex; gap: 28px; padding-left: max(28px, calc((100vw - var(--container)) / 2)); padding-right: 28px; width: max-content; will-change: transform; }
.card {
  position: relative; flex-shrink: 0; width: clamp(300px, 34vw, 520px); height: clamp(380px, 56vh, 600px);
  border-radius: var(--radius); overflow: hidden; background: var(--bg-3); color: #fff;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.card:hover img { transform: scale(1.02); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 24, 42, .88) 0%, rgba(8, 24, 42, .05) 55%, rgba(8, 24, 42, .2) 100%); }
.card__num { position: absolute; top: 26px; left: 28px; z-index: 1; font-family: ui-monospace, Menlo, monospace; font-size: .82rem; letter-spacing: .14em; color: rgba(255, 255, 255, .75); }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px 30px; }
.card h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin-bottom: 10px; color: #fff; }
.card p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .98rem; max-width: 40ch; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card__tags span { font-size: .76rem; font-weight: 600; padding: 6px 12px; border-radius: 100px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.card--cta { background: var(--blue); display: flex; flex-direction: column; justify-content: space-between; padding: 36px 32px; }
.card--cta::after { display: none; }
.card--cta h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); max-width: 10ch; }
.card--cta p { color: rgba(255, 255, 255, .85); }
.card--cta .btn--primary { background: #fff; color: var(--ink); align-self: flex-start; }
.card--cta .btn--primary::before { background: var(--ink); }
.card--cta .btn--primary:hover { color: #fff; }

/* ==========================================================================
   Warum VERIU
   ========================================================================== */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.why__media { position: relative; }
.why__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.why__img img { width: 100%; height: 115%; object-fit: cover; }
.why__tag {
  position: absolute; right: -28px; bottom: 48px; background: var(--blue); color: #fff; padding: 26px 30px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; max-width: 240px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.why__tag small { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; font-weight: 700; margin-bottom: 8px; }
.values { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-top: 1px solid var(--line); }
.value { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.value__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { margin: 0; font-size: .97rem; }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.steps-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 7vw, 90px); }
.steps-head p { margin: 0; font-size: 1.1rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); position: relative; }
.steps__line { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--blue-hi); transform: scaleX(0); transform-origin: left; }
.step { padding: 44px 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-d); }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 4.5rem; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); margin-bottom: 28px; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .97rem; margin: 0; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 220px) 0; background: var(--blue); color: #fff; text-align: center; }
.cta__bg { position: absolute; inset: -10% 0; opacity: .16; mix-blend-mode: luminosity; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(2.8rem, 7.4vw, 7.2rem); line-height: 1; letter-spacing: -.03em; margin: 0 auto 40px; max-width: 14ch; color: #fff; }
.cta h2 .outline { color: #bfe3ff; }
.cta p { max-width: 560px; margin: 0 auto 44px; font-size: 1.15rem; color: rgba(255, 255, 255, .85); }
.cta .btn--primary { background: #fff; color: var(--ink); }
.cta .btn--primary::before { background: var(--ink); }
.cta .btn--primary:hover { color: #fff; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); }
.contact > *, .why > *, .statement > * { min-width: 0; }
.contact h2 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.contact__list { list-style: none; padding: 0; margin: 44px 0 0; }
.contact__list li { display: flex; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__list li:first-child { border-top: 1px solid var(--line); }
.contact__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); flex-shrink: 0; transition: all .4s var(--ease); }
.contact__list li:hover .contact__icon { background: var(--blue); border-color: var(--blue); color: #fff; }
.contact__icon svg { width: 20px; height: 20px; }
.contact__list small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list span { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.12rem; line-height: 1.45; }
.contact__list a:hover { color: var(--blue); }

.form { background: #fff; padding: clamp(32px, 4vw, 56px); border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(11, 15, 20, .35); }
.form h3 { font-size: 1.7rem; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 32px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1.5px solid var(--line);
  border-radius: 0; font-size: 1.02rem; color: var(--ink); transition: border-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0f14' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.consent a { color: var(--blue); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 500; display: none; }
.alert.is-visible { display: block; }
.alert--ok { background: #e8f6ee; color: #1d6b3f; border-left: 4px solid #2e9e5b; }
.alert--err { background: #fcecea; color: #922b21; border-left: 4px solid #c0392b; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #fff; color: var(--muted); border-top: 1px solid var(--line); padding: 110px 0 0; font-size: .97rem; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; }
.footer__logo img { height: 92px; width: auto; margin-bottom: 26px; }
.footer h4 { color: var(--ink); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 24px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--blue); }

.footer__bottom { border-top: 1px solid var(--line-d); padding: 28px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; position: relative; z-index: 1; }
.footer__bottom nav { display: flex; gap: 28px; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 450; pointer-events: none; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(47, 155, 230, .8); border-radius: 50%; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; display: none; }
.cursor.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(47, 155, 230, .15); border-color: rgba(47, 155, 230, .4); }
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 451; pointer-events: none; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--blue-hi); display: none; }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor, .has-cursor .cursor-dot { display: block; } }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; display: grid; place-items: center; background: var(--blue); color: #fff; border: 0; border-radius: 50%; cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.page-hero { background: var(--bg-2); color: var(--ink); padding: calc(76px + 100px) 0 90px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(47, 155, 230, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 155, 230, .06) 1px, transparent 1px); background-size: 56px 56px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); color: var(--ink); margin: 0; position: relative; z-index: 1; }
.page-hero .eyebrow { position: relative; z-index: 1; }
.legal-wrap { background: var(--paper); color: var(--text); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.7rem; margin-top: 2.2em; color: var(--ink); }
.legal h3 { font-size: 1.15rem; margin-top: 1.8em; color: var(--ink); }
.legal a { color: var(--blue); text-decoration: underline; }
.legal .placeholder { background: #fff1c2; padding: 0 4px; border-radius: 2px; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .statement__text .w, .js .build__steps li { opacity: 1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__list a { padding: 8px 10px; }
  .nav { gap: 24px; }
  .svc__link { grid-template-columns: 60px 1fr 50px; }
  .svc__desc { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-row: 1 / 3; grid-column: 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 36px; border-top: 1px solid var(--line-d); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { margin-top: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 78px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110; background: #fff; flex-direction: column; justify-content: center; align-items: flex-start; gap: 44px;
    padding: 100px 32px 48px; clip-path: circle(0% at calc(100% - 54px) 40px); transition: clip-path .8s var(--ease), visibility .8s; visibility: hidden;
  }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 54px) 40px); visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a, .header.is-solid .nav__list a, .header--static .nav__list a { font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); padding: 4px 0; background: none !important; }
  .nav-open .logo--white { opacity: 0; }
  .nav-open .logo--color { opacity: 1; }
  .nav-open .logo { position: relative; z-index: 120; }
  .hero__side { display: none; }
  .statement { grid-template-columns: 1fr; }
  .statement__aside { grid-template-columns: 200px 1fr; align-items: end; }
  .build__pin { grid-template-columns: 1fr; gap: 28px; padding: 90px 0; }
  .build__stage { width: min(100%, 520px); margin-inline: auto; padding: 0; }
  .build__head h2 { font-size: 1.8rem; margin-bottom: 0; }
  .build__head .eyebrow { margin-bottom: 12px; }
  .build__steps { margin-top: 18px; }
  .build__steps li { padding: 10px 0 10px 44px; }
  .build__steps li::before { top: 12px; }
  .build__steps strong { font-size: 1.1rem; margin: 0 0 2px; }
  .svc-head, .steps-head { grid-template-columns: 1fr; gap: 20px; }
  .why { grid-template-columns: 1fr; }
  .why__media { max-width: 520px; }
  .why__tag { right: -10px; }
  .contact { grid-template-columns: 1fr; }
  .hscroll__pin { height: auto; padding: 110px 0; }
  .hscroll__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .card { box-shadow: 0 24px 50px -30px rgba(8, 24, 42, .5); }
  .card { scroll-snap-align: start; width: 78vw; height: 460px; }
  .hscroll__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc__link { grid-template-columns: 50px minmax(0, 1fr) 50px; gap: 12px 20px; padding: 30px 0; }
  .svc__link > * { min-width: 0; }
  .svc__arrow { margin-right: 0; }
  .svc__img { display: block; grid-column: 1 / -1; grid-row: 3; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-top: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container, .hero__content, .hscroll__head, .build__pin { width: min(100% - 40px, var(--container)); }
  .logo { height: 56px; }
  .hero { min-height: 620px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero .eyebrow { color: #8ccfff; }
.badge-rot { display: none; }
  .statement__aside { grid-template-columns: 1fr; }
  .statement__img { aspect-ratio: 16 / 10; }
  .facts, .steps, .values { grid-template-columns: 1fr; }
  .fact, .fact + .fact, .step, .step + .step, .fact:nth-child(n+3), .step:nth-child(n+3) { padding-left: 0; border-left: 0; }
  .fact + .fact, .step + .step { margin-top: 28px; border-top: 1px solid var(--line-d); }
  .step { padding-top: 32px; }
  .value, .value:nth-child(even) { padding: 26px 0; border-left: 0; }
  .svc__arrow { width: 44px; height: 44px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .loader__meta { bottom: 28px; }
}
.section.legal-wrap { padding-top: 80px; }

/* ---------- Mobile: Sticky-CTA ---------- */
.m-cta { display: none; }
@media (max-width: 640px) {
  .m-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 95;
    align-items: center; justify-content: center; gap: 10px; padding: 16px 20px; border-radius: 100px;
    background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .98rem;
    box-shadow: 0 16px 40px -12px rgba(0, 60, 110, .45);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .m-cta svg { width: 18px; height: 18px; }
  .m-cta.is-visible { transform: none; }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 16px; width: 46px; height: 46px; }
  .svc__img, .statement__img img { object-position: center 40%; }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.8rem); }
  .hero__text { font-size: 1rem; margin-bottom: 26px; }
  .card { height: 70vh; max-height: 520px; }
  .footer { padding-bottom: 80px; }
}

/* ==========================================================================
   Mobile Typografie – größer, kräftiger, besser lesbar
   ========================================================================== */
@media (max-width: 960px) {
  :root { --txt-d: #39414c; --text: #333b46; --muted: #555e6a; }
  body { font-weight: 450; -webkit-font-smoothing: auto; }
  h2 { font-size: clamp(2.1rem, 7vw, 3.2rem); line-height: 1.1; }
  .eyebrow { font-size: .82rem; letter-spacing: .16em; margin-bottom: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; line-height: 1.65; }
  p { font-size: 1.0625rem; }
  h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h3 { font-size: 1.35rem; }
  .section { padding: 84px 0; }

  /* Buttons & Navigation */
  .btn { font-size: 1.02rem; padding: 18px 28px; }
  .nav__list a, .header.is-solid .nav__list a, .header--static .nav__list a { font-size: 2.1rem; padding: 6px 0; }
  .nav .header__cta { font-size: 1.05rem; padding: 18px 30px; }
  .m-cta { font-size: 1.05rem; padding: 18px 22px; }

  /* Hero */
  .hero .eyebrow { font-size: .8rem; letter-spacing: .14em; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.8rem); margin-bottom: 24px; }
  .hero__text { font-size: 1.1rem; line-height: 1.6; color: #fff; }

  /* Marquee */
  .marquee { padding: 20px 0; }
  .marquee__track span { font-size: 1.7rem; gap: 28px; padding-right: 28px; }

  /* Über uns */
  .statement__text { font-size: clamp(1.65rem, 7.2vw, 2rem); line-height: 1.22; }
  .statement__aside p { font-size: 1.0625rem; }
  .fact strong { font-size: 1.25rem; }
  .fact span { font-size: 1.0625rem; }
  .fact svg { width: 34px; height: 34px; margin-bottom: 16px; }

  /* Bauablauf */
  .build__head h2 { font-size: 1.85rem; }
  .build__steps li { padding: 11px 0 11px 46px; }
  .build__steps li::before { font-size: .95rem; top: 13px; }
  .build__steps strong { font-size: 1.12rem; }
  .lb .dim { font-size: 9px; }

  /* Leistungen */
  .svc-head p { font-size: 1.0625rem; }
  .svc__num { font-size: 1rem; font-weight: 600; }
  .svc__title { font-size: 1.6rem; line-height: 1.15; }
  .svc__desc { font-size: 1.0625rem; line-height: 1.6; }

  /* Projekte */
  .hscroll__head p { font-size: 1.0625rem; }
  .card__num { font-size: .92rem; top: 20px; left: 22px; }
  .card__body { padding: 26px 22px; }
  .card h3 { font-size: 1.65rem; }
  .card p { font-size: 1.04rem; color: rgba(255, 255, 255, .9); }
  .card__tags span { font-size: .88rem; padding: 7px 13px; }
  .card--cta h3 { font-size: 2rem; }

  /* Warum VERIU */
  .why__tag { font-size: 1.15rem; padding: 20px 22px; }
  .why__tag small { font-size: .78rem; letter-spacing: .14em; }
  .value h3 { font-size: 1.3rem; }
  .value p { font-size: 1.0625rem; }
  .value__icon { width: 52px; height: 52px; }

  /* CTA */
  .cta h2 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .cta p { font-size: 1.1rem; }

  /* Kontakt & Formular */
  .contact h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .contact__list small { font-size: .82rem; letter-spacing: .1em; }
  .contact__list a, .contact__list span { font-size: 1.12rem; }
  .form { padding: 28px 22px; }
  .form h3 { font-size: 1.6rem; }
  .form > p { font-size: 1.05rem; }
  .field label { font-size: .98rem; }
  .field input, .field select, .field textarea { font-size: 1.08rem; padding: 14px 0; }
  .consent { font-size: 1rem; }
  .consent input { width: 24px; height: 24px; }
  .form__note { font-size: .95rem; }
  .form__footer .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer { font-size: 1.05rem; padding-top: 80px; }
  .footer h4 { font-size: .85rem; letter-spacing: .14em; }
  .footer ul { gap: 14px; }
  .footer__bottom { font-size: .95rem; }

  /* Preloader */
  .loader__meta { font-size: .85rem; }
  .loader__skip { font-size: .82rem; padding: 10px 18px; top: 20px; right: 20px; }

  /* Rechtliches */
  .legal h2 { font-size: 1.5rem; }
  .legal p, .legal li { font-size: 1.0625rem; }
}

@media (max-width: 640px) {
  /* Hero: stärkerer Verlauf hinter dem Text für gute Lesbarkeit */
  .hero__media::after {
    background:
      linear-gradient(0deg, rgba(8, 24, 42, .92) 0%, rgba(8, 24, 42, .78) 45%, rgba(8, 24, 42, .2) 75%, rgba(8, 24, 42, .45) 100%);
  }
  .hero__text { text-shadow: 0 1px 12px rgba(0, 15, 30, .45); }
  /* Nach-oben-Button auf dem Handy ausblenden (Sticky-CTA reicht) */
  .to-top { display: none; }
  /* Formularfelder als klare Boxen */
  .field input, .field select, .field textarea {
    background-color: #f3f1ec; border: 1.5px solid transparent; border-radius: 10px; padding: 15px 16px;
  }
  .field select { background-position: right 14px center; padding-right: 44px; }
  .field input:focus, .field select:focus, .field textarea:focus { background-color: #fff; border-color: var(--blue); }
  .form__grid { gap: 20px; }
}


/* ==========================================================================
   Hero: Plan → Realität
   ========================================================================== */
.hero__plan, .hero__scan { display: none; }
.js .hero__plan { display: block; position: absolute; inset: 0; background: #0a4c80; overflow: hidden; }
.js .hero__plan img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: grayscale(1) contrast(1.5) brightness(1.05); mix-blend-mode: screen; opacity: .55; }
.js .hero__plan::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.hero__plan-label {
  position: absolute; right: 32px; top: 50%; z-index: 2; font-family: ui-monospace, Menlo, monospace; font-size: .8rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .5); padding: 8px 12px;
}
.js .hero__scan {
  display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 3; pointer-events: none; opacity: 0;
  background: #8ccfff; box-shadow: 0 0 18px 4px rgba(140, 207, 255, .75), 0 0 60px 10px rgba(0, 113, 188, .5);
}
.hero__scan span {
  position: absolute; top: 22%; left: 12px; white-space: nowrap; font-family: ui-monospace, Menlo, monospace; font-size: .75rem; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; background: var(--blue); padding: 7px 12px; border-radius: 100px;
}

/* ==========================================================================
   Galerie / Lightbox
   ========================================================================== */
.card[data-gallery] { cursor: zoom-in; }
.card__zoom {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.card__zoom svg { width: 18px; height: 18px; }
.card:hover .card__zoom, .card:focus-visible .card__zoom { background: var(--blue); transform: scale(1.08); }

.lightbox { position: fixed; inset: 0; z-index: 700; background: rgba(6, 16, 28, .94); display: flex; align-items: center; justify-content: center; padding: 70px 90px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox__img { max-width: min(1100px, 100%); max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); user-select: none; -webkit-user-drag: none; }
.lightbox__cap { display: flex; gap: 18px; align-items: baseline; color: rgba(255, 255, 255, .7); font-size: 1rem; }
.lightbox__cap strong { color: #fff; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; }
.lightbox__count { font-family: ui-monospace, Menlo, monospace; font-size: .9rem; }
.lightbox__btn {
  position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s;
}
.lightbox__btn:hover { background: var(--blue); border-color: var(--blue); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Formular: Projekt-Kacheln
   ========================================================================== */
.tiles { border: 0; margin: 0; padding: 0; min-width: 0; }
.tiles legend { font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; margin-bottom: 12px; padding: 0; }
.tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 14px 14px 13px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.3;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.tile__box svg { width: 26px; height: 26px; color: var(--blue); transition: color .25s; }
.tile:hover .tile__box { border-color: var(--blue); transform: translateY(-2px); }
.tile input:checked + .tile__box { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 113, 188, .7); }
.tile input:checked + .tile__box svg { color: #fff; }
.tile input:focus-visible + .tile__box { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 640px) {
  .tiles legend { font-size: .98rem; }
  .tiles__grid { grid-template-columns: 1fr 1fr; }
  .tile__box { font-size: 1rem; padding: 14px; }
  .lightbox { padding: 64px 12px 90px; }
  .lightbox__img { max-height: calc(100svh - 200px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; width: 52px; height: 52px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__cap { flex-direction: column; gap: 4px; align-items: center; text-align: center; }
  .hero__plan-label { display: none; }
  .card__zoom { width: 40px; height: 40px; top: 14px; right: 14px; }
}
.lb-open .m-cta, .lb-open .to-top, .lb-open .header { visibility: hidden; }
@media (max-width: 640px) { .hero__scan span { display: none; } }

.build__replay {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px 20px; border-radius: 100px;
  border: 1.5px solid var(--line-d); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), border-color .3s, color .3s;
}
.build__replay svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.build__replay.is-visible { opacity: 1; pointer-events: auto; }
.build__replay:hover { border-color: var(--blue); color: var(--blue); }
.build__replay:hover svg { transform: rotate(-200deg); }
@media (max-width: 640px) { .build__steps span { display: block; font-size: 1rem; } .build__replay { font-size: 1rem; } }

/* ==========================================================================
   Hero-Slideshow (wirkt wie ein Video)
   ========================================================================== */
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: 0; will-change: transform, opacity; }
.hero__slide.is-active { opacity: 1; }
.hero__reel {
  position: absolute; z-index: 3; right: max(28px, calc((100vw - var(--container)) / 2)); bottom: 36px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px; color: rgba(255, 255, 255, .85); font-size: .85rem;
}
.hero__reel-label b { color: #fff; font-weight: 600; }
.hero__reel-bars { display: flex; gap: 6px; }
.hero__reel-bars i { position: relative; display: block; width: 44px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__reel-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.hero .badge-rot { margin-bottom: 70px; }
@media (max-width: 960px) {
  .hero__reel { left: 20px; right: auto; bottom: 18px; align-items: flex-start; font-size: .8rem; }
  .hero__content { padding-bottom: 92px; }
}

/* ==========================================================================
   Interaktiver Hausschnitt
   ========================================================================== */
.hs { background: var(--bg); }
.hs__wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.hs__stage { position: relative; background: #fbfaf8; border: 1px solid var(--line); border-radius: 16px; padding: clamp(12px, 2vw, 28px); }
.hs__svg { display: block; width: 100%; height: auto; overflow: visible; }
.hs__soil { stroke: none; }
.hs__ground { stroke: #8a7a64; stroke-width: 1.6; }
.hs__grass { stroke: #8fae7a; stroke-width: 1.2; fill: none; }
.hs__fill { stroke: #3a4552; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.hs__hl { fill: var(--blue); opacity: 0; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; transition: opacity .35s var(--ease); pointer-events: none; }
.hs__hl--line { fill: none; stroke-width: 3; }
.hs__seal { stroke: #1d2733; stroke-width: 3; fill: none; }
.hs__pipe { fill: #fff; stroke: #3a4552; stroke-width: 1.2; }
.hs__glass { stroke: #6aa9d6; stroke-width: 1.2; fill: none; }
.hs__roof { fill: none; stroke: #8b96a3; stroke-width: 1.4; stroke-dasharray: 7 6; }
.hs__dims path { stroke: #7d8894; stroke-width: 1; fill: none; }
.hs__dims text { font-family: ui-monospace, Menlo, monospace; font-size: 10px; fill: #5f6b78; letter-spacing: .04em; }
.hs__part { cursor: pointer; }
.hs__part:hover .hs__hl { opacity: .28; }
.hs__part.is-active .hs__hl { opacity: .55; }
.hs__part.is-active .hs__hl--line { opacity: 1; }
.hs__marker { cursor: pointer; outline: none; }
.hs__dot { fill: #fff; stroke: var(--blue); stroke-width: 2; transition: fill .3s; }
.hs__marker text { font-family: var(--font-head); font-size: 12px; font-weight: 700; fill: var(--blue); pointer-events: none; transition: fill .3s; }
.hs__pulse { fill: var(--blue); opacity: 0; transform-box: fill-box; transform-origin: center; }
.hs__marker:hover .hs__dot, .hs__marker:focus-visible .hs__dot, .hs__marker.is-active .hs__dot { fill: var(--blue); }
.hs__marker:hover text, .hs__marker:focus-visible text, .hs__marker.is-active text { fill: #fff; }
.hs__marker.is-active .hs__pulse { animation: hsPulse 1.6s var(--ease) infinite; }
@keyframes hsPulse { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }

.hs__panel { position: sticky; top: 100px; display: grid; gap: 22px; }
.hs__card { background: var(--blue); color: #fff; border-radius: 16px; padding: 28px 28px 30px; min-height: 196px; box-shadow: 0 30px 60px -30px rgba(0, 80, 140, .6); }
.hs__tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .16); padding: 5px 11px; border-radius: 100px; margin-bottom: 16px; }
.hs__tag.is-extern { background: #fff; color: var(--blue); }
.hs__title { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.hs__text { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.02rem; line-height: 1.6; }
.hs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hs__list button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 10px;
  padding: 9px 10px; font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--text); cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.hs__list button span { font-family: ui-monospace, Menlo, monospace; font-size: .78rem; color: var(--blue); min-width: 20px; }
.hs__list button:hover { background: var(--bg-2); color: var(--ink); }
.hs__list button.is-active { background: #fff; border-color: var(--blue); color: var(--blue); font-weight: 600; }

/* ==========================================================================
   Projekt-Konfigurator
   ========================================================================== */
.wizard__head { margin-bottom: 26px; }
.wizard__head h3 { margin-bottom: 6px; }
.wizard__head > p { color: var(--muted); margin-bottom: 22px; }
.wizard__steps { display: none; }
.js .wizard__steps { display: flex; list-style: none; margin: 0 0 14px; padding: 0; gap: 8px; justify-content: space-between; }
.wizard__steps li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.wizard__steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-size: .8rem; transition: all .3s; }
.wizard__steps li.is-on { color: var(--ink); }
.wizard__steps li.is-on span { background: var(--blue); border-color: var(--blue); color: #fff; }
.wizard__steps li.is-done span { background: #e6f1fa; border-color: #e6f1fa; color: var(--blue); }
.wizard__bar { display: none; }
.js .wizard__bar { display: block; height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.wizard__bar i { display: block; height: 100%; width: 25%; background: var(--blue); border-radius: 4px; transition: width .6s var(--ease); }
.wizard__step { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.js .wizard__step { display: none; margin: 0; }
.js .wizard__step.is-active { display: block; }
.wizard__q { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 18px; padding: 0; }
.wizard__group { margin-bottom: 20px; }
.wizard__label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; letter-spacing: .02em; }
.tiles__grid--2 { grid-template-columns: repeat(2, 1fr); }
.tiles__grid--3 { grid-template-columns: repeat(3, 1fr); }
.tiles__grid--4 { grid-template-columns: repeat(4, 1fr); }
.tile--text .tile__box { justify-content: center; align-items: center; text-align: center; min-height: 54px; padding: 12px 10px; }
.wizard__summary { background: var(--bg-2); border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; }
.wizard__summary .wizard__label { margin-bottom: 8px; }
.wizard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wizard__chips span { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.wizard__nav { display: none; }
.js .wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.btn--ghost-dark { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost-dark::before { background: var(--bg-2); }
.js .wizard__back { visibility: hidden; }
.js .wizard__submit { display: none; }
.js .wizard.is-last .wizard__next { display: none; }
.js .wizard.is-last .wizard__submit { display: inline-flex; }
.js .wizard:not(.is-first) .wizard__back { visibility: visible; }
.wizard__step.is-active { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
html:not(.js) .wizard__submit { display: inline-flex; }

/* ==========================================================================
   Karriere
   ========================================================================== */
.career { background: var(--bg-2); }
.career__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.career__jobs { display: grid; gap: 14px; }
.job {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.job:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0, 80, 140, .45); }
.job h3 { font-size: 1.3rem; margin-bottom: 4px; }
.job__meta { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.job p { margin: 0; font-size: .98rem; }
.job__btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 100px; background: var(--bg-2); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; transition: background .3s, color .3s; }
.job__btn svg { width: 16px; height: 16px; }
.job:hover .job__btn, .job__btn:focus-visible { background: var(--blue); color: #fff; }
.career__side { display: grid; gap: 22px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perks li { display: flex; gap: 12px; background: #fff; border-radius: 12px; padding: 16px; font-size: .92rem; line-height: 1.45; color: var(--text); }
.perks span { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: var(--blue); padding-top: 2px; }
.perks strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.form--job h3 { font-size: 1.4rem; }
.form--job .form__grid { gap: 18px; }
.form--job .form__footer .btn { width: 100%; justify-content: center; }
.job.is-picked { border-color: var(--blue); }

@media (max-width: 960px) {
  .hs__wrap, .career__grid { grid-template-columns: 1fr; }
  .hs__panel { position: static; }
}
@media (max-width: 640px) {
  .hs__stage { padding: 6px; border-radius: 12px; margin-inline: -8px; }
  .hs__list { grid-template-columns: 1fr 1fr; gap: 4px; }
  .hs__list button { font-size: .95rem; padding: 10px 8px; }
  .hs__card { min-height: 0; padding: 22px; }
  .hs__title { font-size: 1.45rem; }
  .hs__text { font-size: 1.05rem; }
  .wizard__steps li { font-size: 0; gap: 0; }
  .wizard__steps span { width: 32px; height: 32px; font-size: .9rem; }
  .wizard__q { font-size: 1.3rem; }
  .wizard__label { font-size: .95rem; }
  .tiles__grid--4 { grid-template-columns: 1fr 1fr; }
  .tiles__grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .tile--text .tile__box { font-size: .95rem; padding: 12px 6px; }
  .wizard__nav .btn { padding: 16px 22px; }
  .job { flex-direction: column; align-items: flex-start; padding: 22px; }
  .job h3 { font-size: 1.3rem; }
  .job p { font-size: 1.04rem; }
  .job__btn { font-size: 1rem; }
  .perks { grid-template-columns: 1fr; }
  .perks li { font-size: 1rem; }
}

/* Lesbarkeit Hero bei hellen Fotos */
.hero__media::after {
  background:
    linear-gradient(90deg, rgba(8, 24, 42, .82) 0%, rgba(8, 24, 42, .55) 45%, rgba(8, 24, 42, .12) 100%),
    linear-gradient(0deg, rgba(8, 24, 42, .6) 0%, rgba(8, 24, 42, 0) 40%),
    linear-gradient(180deg, rgba(8, 24, 42, .45) 0%, rgba(8, 24, 42, 0) 22%);
}
@media (max-width: 640px) {
  .hero__media::after {
    background: linear-gradient(0deg, rgba(8, 24, 42, .94) 0%, rgba(8, 24, 42, .86) 50%, rgba(8, 24, 42, .6) 75%, rgba(8, 24, 42, .5) 100%);
  }
  .hs__dot, .hs__pulse { r: 24px; }
  .hs__marker text { font-size: 22px; transform: translateY(3px); }
}
