/* Solida Real Estate – Objekt-Landingpages (Nachbau der Temmer-Referenzseite)
   Farben und Schrift aus der bestehenden Solida-Real-Estate-Seite: Navy #11294B, Hell #F6FAFF, Roboto. */

:root {
  --navy: #11294b;
  --navy-2: #17305a;
  --navy-3: #0c1f3a;
  --ink: #11294b;
  --paper: #f6faff;
  --white: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.22);
  --line-light: rgba(17, 41, 75, 0.14);
  --muted-on-navy: #a9b8d3;
  --muted-on-paper: #4c5d78;
  --todo: #ffe58a;

  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Allura", "Roboto", cursive;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

::selection { background: #ffffff; color: var(--navy); }
.on-paper ::selection, .on-paper::selection { background: var(--navy); color: #fff; }

:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.on-paper :focus-visible, .funnel :focus-visible, .cookie :focus-visible { outline-color: var(--navy); }

html { scrollbar-color: #4a6087 var(--navy-3); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  border: 1px solid transparent; border-radius: 0;
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #dfe7f3; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .btn--full-m { width: 100%; } }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: #fff; color: var(--navy);
  border-bottom: 1px solid var(--line-light);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); }
.nav__link { font-size: 15px; text-decoration: none; }
.nav__link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .nav__link { display: none; }
  .nav__logo img { height: 30px; }
  .nav .btn { min-height: 40px; padding: 10px 16px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__scene { position: relative; min-height: min(92vh, 860px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero__frame { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy-3); }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 60% 50%); }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; opacity: var(--shade, 1);
  background:
    linear-gradient(90deg, rgba(17,41,75,.97) 0%, rgba(17,41,75,.88) 26%, rgba(17,41,75,.35) 52%, rgba(17,41,75,0) 72%),
    linear-gradient(0deg, rgba(17,41,75,.55) 0%, rgba(17,41,75,0) 30%);
}
.hero__content { padding-block: clamp(56px, 10vh, 120px); max-width: 560px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 14px; line-height: 1.2; }
.tag--plain { background: rgba(255,255,255,.08); }
.tag--light { background: #fff; color: var(--navy); font-weight: 500; }
.tag svg { width: 15px; height: 15px; }

.wordmark { color: #fff; margin-bottom: 26px; }
.wordmark__art { width: min(100%, 470px); height: auto; overflow: visible; }
.wordmark__art path, .wordmark__art line, .wordmark__art circle, .wordmark__art polyline, .wordmark__art ellipse, .wordmark__art rect {
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.wordmark__script { display: block; font-family: var(--script); font-weight: 400; font-size: clamp(58px, 8.4vw, 96px); line-height: 1; margin-top: -6px; letter-spacing: 0; }
.wordmark__sub { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: clamp(14px, 1.6vw, 18px); font-weight: 300; letter-spacing: 0.32em; text-transform: uppercase; white-space: nowrap; }
.wordmark__sub::before, .wordmark__sub::after { content: ""; height: 1px; flex: 1 1 40px; max-width: 90px; background: rgba(255,255,255,.7); }
.wordmark__sub::before { flex: 0 0 34px; }
.hero__place { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 17px; }
.hero__place svg { width: 18px; height: 18px; flex: none; }

/* Linien-Zeichnung beim Laden: der einzige große Bewegungsmoment oben */
@media (prefers-reduced-motion: no-preference) {
  .js .wordmark__art [data-draw] { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
  .js .wordmark__script, .js .wordmark__sub { opacity: 0; filter: blur(6px); animation: settle .9s var(--ease-out) forwards .55s; }
  .js .wordmark__sub { animation-delay: .75s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { to { opacity: 1; filter: blur(0); } }

/* ---------- Video ---------- */
.video { padding-block: var(--section) 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-3); box-shadow: 0 26px 70px rgba(0,0,0,.34); }
.video__frame video { width: 100%; height: 100%; object-fit: cover; }
.video--portrait .video__frame { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }

/* ---------- Kennzahlen ---------- */
.stats { padding-block: clamp(56px, 7vw, 96px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 6px 0 6px clamp(16px, 2.4vw, 28px); border-left: 1px solid var(--line-dark); }
.stat__value { display: block; font-size: clamp(30px, 4.2vw, 52px); font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat__label { display: block; margin-top: 10px; font-size: 15px; color: var(--muted-on-navy); }
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Beschreibung ---------- */
.about { padding-block: clamp(64px, 8vw, 112px) var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.lead { margin-top: 24px; font-size: 18px; line-height: 1.65; color: #e4ebf6; max-width: 62ch; }
.h3 { margin-top: 44px; font-size: 22px; font-weight: 700; line-height: 1.3; }
.highlights { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 12px; }
.highlights li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.5; color: #e4ebf6; }
.highlights li::before { content: ""; width: 9px; height: 9px; margin: 7px 0 0 4px; border: 1.5px solid #fff; transform: rotate(45deg); }
.todo { background: var(--todo); color: #3b2c00; padding: 0 4px; }
.about .btn { margin-top: 40px; }

.facts { display: grid; gap: 14px; position: sticky; top: 104px; }
.fact { position: relative; min-height: 116px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 22px 20px; overflow: hidden; isolation: isolate; }
.fact img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.fact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,41,75,.94), rgba(17,41,75,.72)); }
.fact__value { font-size: 24px; font-weight: 700; line-height: 1.2; }
.fact__label { margin-top: 4px; font-size: 14px; color: var(--muted-on-navy); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .facts { position: static; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* ---------- Galerie ---------- */
.gallery { padding-bottom: var(--section); }
.slider { position: relative; }
.slider__track {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 3 / 2; max-height: 78vh; background: var(--navy-3);
}
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; }
.slide button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide button:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.slider__arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(17,41,75,.72); border: 0; color: #fff; cursor: pointer;
  transition: background-color .2s var(--ease-out);
}
.slider__arrow:hover { background: var(--navy); }
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.slider__count { font-size: 14px; color: var(--muted-on-navy); font-variant-numeric: tabular-nums; }
.slider__dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.slider__dot { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.28); cursor: pointer; transform: scaleX(.53); transform-origin: left center; transition: background-color .2s, transform .3s var(--ease-out); }
.slider__dot[aria-current="true"] { background: #fff; transform: none; }
.slide__cap { position: absolute; left: 0; bottom: 0; padding: 8px 14px; font-size: 13px; background: rgba(17,41,75,.8); }
@media (max-width: 640px) {
  .slider__arrow { width: 40px; height: 40px; }
  .slider__dots { display: none; }
}

/* ---------- Lage ---------- */
.place { padding-bottom: var(--section); }
.place__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.place .slider__track { aspect-ratio: 4 / 3; }
.place p { margin-top: 20px; color: #e4ebf6; font-size: 17px; line-height: 1.7; max-width: 60ch; }
.place .btn { margin-top: 34px; }
@media (max-width: 900px) { .place__grid { grid-template-columns: 1fr; } }

/* ---------- Infrastruktur mit Auto ---------- */
.infra { background: var(--paper); color: var(--navy); padding-block: var(--section); overflow: hidden; }
.infra__head { text-align: center; }
.infra__head .h2 { color: var(--navy); }
.infra__head p { margin-top: 12px; color: var(--muted-on-paper); font-size: 17px; }
.timeline { position: relative; margin-top: clamp(48px, 6vw, 80px); display: grid; gap: clamp(40px, 6vw, 72px); }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; background: rgba(17,41,75,.14); }
.timeline__line span { position: absolute; inset: 0 0 auto 0; height: var(--p, 0%); background: var(--navy); }
.timeline__car { position: absolute; left: 50%; top: 0; width: 64px; translate: -50% calc(var(--y, 0px) - 50%); z-index: 2; filter: drop-shadow(0 18px 24px rgba(17,41,75,.28)); pointer-events: none; }
.timeline__row { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.timeline__dot { justify-self: center; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 6px var(--paper); }
.timeline__poi { justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-width: 180px; }
.timeline__poi svg { width: 40px; height: 40px; color: var(--navy); }
.timeline__poi h3 { font-size: 18px; font-weight: 700; }
.timeline__dist { justify-self: start; font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; font-variant-numeric: tabular-nums; }
.infra__note { margin-top: 48px; text-align: center; font-size: 13px; color: var(--muted-on-paper); }
@media (max-width: 640px) {
  .timeline__line, .timeline__car { left: 18px; }
  .timeline__row { grid-template-columns: 36px 1fr; row-gap: 4px; }
  .timeline__dot { grid-row: 1 / span 2; justify-self: start; margin-left: 12px; }
  .timeline__poi { justify-self: start; flex-direction: row; min-width: 0; text-align: left; }
  .timeline__poi svg { width: 30px; height: 30px; }
  .timeline__dist { grid-column: 2; font-size: 24px; }
  .timeline__car { width: 40px; }
}

/* ---------- Karte ---------- */
.map { background: var(--paper); color: var(--navy); padding-bottom: var(--section); }
.map__box { position: relative; height: clamp(320px, 46vw, 520px); background: #dfe7f1; overflow: hidden; }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; background:
  repeating-linear-gradient(0deg, rgba(17,41,75,.06) 0 1px, transparent 1px 64px),
  repeating-linear-gradient(90deg, rgba(17,41,75,.06) 0 1px, transparent 1px 64px), #e6edf6; }
.map__consent p { max-width: 46ch; font-size: 15px; color: var(--muted-on-paper); }
.map__consent strong { font-size: 18px; color: var(--navy); }
.map__canvas { position: absolute; inset: 0; }
.map__pin { width: 46px; height: 46px; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; padding-block: var(--section); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17,41,75,.9); }
.cta__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.cta__doc { justify-self: center; width: min(100%, 340px); rotate: -4deg; box-shadow: 0 26px 70px rgba(0,0,0,.42); background: #fff; }
.cta__doc img { width: 100%; height: auto; }
.cta .h2 { text-transform: uppercase; }
.cta p { margin-top: 20px; font-size: 18px; color: #e4ebf6; max-width: 56ch; }
.cta .btn { margin-top: 32px; }
@media (max-width: 800px) {
  .cta__grid { grid-template-columns: 1fr; }
  .cta__doc { width: 220px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); padding-block: 72px 40px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo img { width: 210px; height: auto; }
.footer__h { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; color: #d4deee; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; color: #d4deee; display: grid; gap: 8px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-on-navy); }
.linkbtn { all: unset; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__logo { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; display: none; background: rgba(8, 20, 38, .96); }
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; color: var(--muted-on-navy); }
.lightbox__img { display: grid; place-items: center; padding: 0 64px; min-height: 0; }
.lightbox__img img { max-height: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; }
.lightbox .slider__arrow { position: fixed; }
.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; color: #fff; cursor: pointer; }
.iconbtn svg { width: 24px; height: 24px; }
@media (max-width: 640px) { .lightbox__img { padding: 0 8px; } }

/* ---------- Exposé-Formular (nachgebaut nach dem Typeform-Ablauf der Referenz) ---------- */
.funnel { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 16px; background: rgba(8, 20, 38, .72); backdrop-filter: blur(4px); }
.funnel.is-open { display: grid; }
.funnel__panel {
  position: relative; width: min(100%, 1040px); height: min(100%, 680px);
  background: #fff; color: var(--navy); overflow: hidden;
  display: grid; grid-template-rows: 4px 1fr;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
}
@media (prefers-reduced-motion: no-preference) {
  .funnel.is-open .funnel__panel { animation: panel-in .45s var(--ease-out); }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.funnel__progress { background: #e3e9f2; }
.funnel__progress span { display: block; height: 100%; width: 100%; background: var(--navy); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform .45s var(--ease-out); }
.funnel__close { position: absolute; top: 12px; right: 12px; z-index: 3; color: var(--navy); }
.funnel__body { position: relative; overflow-y: auto; }
.step { display: none; min-height: 100%; }
.step.is-active { display: grid; }
@media (prefers-reduced-motion: no-preference) {
  .step.is-active .step__inner { animation: step-in .5s var(--ease-out); }
  .step.is-active.from-back .step__inner { animation-name: step-back; }
}
@keyframes step-in { from { opacity: 0; transform: translateY(26px); filter: blur(3px); } }
@keyframes step-back { from { opacity: 0; transform: translateY(-26px); filter: blur(3px); } }

.step--welcome { grid-template-columns: 1fr 1fr; }
.step__media { position: relative; background: var(--paper); }
.step__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step__inner { align-self: center; width: min(100% - 48px, 620px); margin-inline: auto; padding-block: 56px; }
.step--welcome .step__inner { width: min(100% - 64px, 440px); }
.step__logo { width: 180px; height: auto; margin-bottom: 28px; }
.step h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.step__q { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; }
.step__num { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; }
.step__num svg { width: 14px; height: 14px; }
.step__steps { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; font-size: 16px; line-height: 1.5; counter-reset: s; }
.step__steps li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; counter-increment: s; }
.step__steps li::before { content: counter(s) "."; font-weight: 700; }
.step__free { margin-top: 20px; font-weight: 700; font-style: italic; }
.step__hint { margin-top: 10px; font-size: 14px; color: var(--muted-on-paper); }

.choices { display: grid; gap: 10px; margin-top: 28px; max-width: 460px; }
.choice { position: relative; display: grid; grid-template-columns: 30px 1fr 22px; gap: 12px; align-items: center; min-height: 52px; padding: 10px 14px 10px 10px; border: 1px solid rgba(17,41,75,.35); background: rgba(17,41,75,.04); cursor: pointer; text-align: left; font-size: 17px; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
.choice:hover { background: rgba(17,41,75,.09); }
.choice__key { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(17,41,75,.45); font-size: 13px; font-weight: 700; background: #fff; }
.choice__tick { width: 20px; height: 20px; opacity: 0; transition: opacity .2s; }
.choice[aria-checked="true"] { border-color: var(--navy); background: rgba(17,41,75,.12); }
.choice[aria-checked="true"] .choice__key { background: var(--navy); color: #fff; border-color: var(--navy); }
.choice[aria-checked="true"] .choice__tick { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .choice.blink { animation: blink .32s steps(2) 2; } }
@keyframes blink { 50% { background: rgba(17,41,75,.22); } }

.field { margin-top: 30px; }
.field input, .field select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(17,41,75,.4); border-radius: 0;
  padding: 8px 0 10px; background: transparent; color: var(--navy);
  font: inherit; font-size: clamp(20px, 2.4vw, 28px); outline: none;
  caret-color: var(--navy);
}
.field input::placeholder { color: rgba(17,41,75,.42); }
.field input:focus, .field select:focus { border-bottom: 2px solid var(--navy); padding-bottom: 9px; }
.phone { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.field select { font-size: clamp(17px, 2vw, 22px); cursor: pointer; }
.consent { margin-top: 22px; font-size: 13px; line-height: 1.5; color: var(--muted-on-paper); max-width: 52ch; }
.consent a { color: var(--navy); }
.error { min-height: 22px; margin-top: 12px; font-size: 14px; color: #a1261c; }
.error:not(:empty)::before { content: "! "; font-weight: 700; }

.step__actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.step__actions .btn { min-height: 46px; padding: 12px 22px; text-transform: none; letter-spacing: 0; font-size: 17px; }
.step__enter { font-size: 13px; color: var(--muted-on-paper); }
.step__enter b { font-weight: 700; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.funnel__nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 2px; z-index: 2; }
.funnel__nav button { width: 38px; height: 34px; display: grid; place-items: center; border: 0; background: var(--navy); color: #fff; cursor: pointer; }
.funnel__nav button:disabled { opacity: .35; cursor: default; }
.funnel__nav svg { width: 16px; height: 16px; }

.step--done .step__inner { width: min(100% - 48px, 560px); }
.step--done p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--muted-on-paper); }
.step--done .btn { margin-top: 28px; }

@media (max-width: 760px) {
  .funnel { padding: 0; }
  .funnel__panel { width: 100%; height: 100%; }
  .step--welcome { grid-template-columns: 1fr; grid-template-rows: 32vh 1fr; }
  .step__inner { padding-block: 40px 88px; }
  .phone { grid-template-columns: 96px 1fr; }
  .step__enter { display: none; }
}

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: none; max-width: 760px; margin-inline: auto; background: #fff; color: var(--navy); padding: 22px 24px; box-shadow: 0 24px 64px rgba(17,41,75,.28); }
.cookie.is-open { display: block; }
.cookie h2 { font-size: 17px; font-weight: 700; }
.cookie p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted-on-paper); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie__actions .btn { min-height: 42px; padding: 10px 18px; font-size: 13px; }
.cookie [data-consent="save"] { display: none; }
.cookie.show-prefs [data-consent="save"] { display: inline-flex; }
.cookie.show-prefs [data-consent="prefs"] { display: none; }
.cookie .btn--outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.cookie .btn--outline:hover { background: var(--paper); }
.cookie__prefs { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-light); }
.cookie.show-prefs .cookie__prefs { display: grid; gap: 10px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.toggle input { width: 20px; height: 20px; accent-color: var(--navy); }

/* ---------- Projektübersicht ---------- */
.overview { padding-block: var(--section); }
.overview__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 44px; }
.project { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: 28px; text-decoration: none; overflow: hidden; isolation: isolate; }
.project img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17,41,75,.95) 0%, rgba(17,41,75,.2) 60%); }
.project:hover img { scale: 1.04; }
.project h3 { font-size: 26px; font-weight: 700; line-height: 1.2; }
.project p { margin-top: 6px; color: #d4deee; }
.project span { margin-top: 16px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.step h2:focus { outline: none; }
@media (max-width: 640px) {
  .hero__scene { min-height: calc(100svh - 64px); align-items: end; }
  .hero__frame::after { background: linear-gradient(0deg, rgba(17,41,75,.96) 0%, rgba(17,41,75,.82) 45%, rgba(17,41,75,.45) 75%, rgba(17,41,75,.25) 100%); }
  .hero__content { padding-block: 40px 32px; }
}
@media (max-width: 760px) {
  .step--welcome { grid-template-rows: 20vh 1fr; }
  .step--welcome .step__logo { display: none; }
  .step--welcome .step__inner { padding-block: 24px 80px; }
  .step__steps { margin-top: 14px; gap: 8px; font-size: 15px; }
}
.choice:active { transform: scale(.99); transition-duration: .08s; }
