/* ============================================================
   immo2rent GmbH — Website Styles v3
   High-End-Redesign: Inter (300-900), Lenis + GSAP ScrollTrigger,
   Farbbogen dunkel > hell > dunkel, CI-Blau #0153a5 als einziger Akzent
   ============================================================ */

:root {
  --accent: #0153a5;
  --accent-deep: #013e7c;
  --accent-bright: #4d9fe8;
  --ink: #101418;
  --body-c: #4c535b;
  --mute: #8a9099;
  --bg: #f6f6f4;
  --surface: #ffffff;
  --line: #e4e4e0;
  --dark: #0b0e13;
  --dark-2: #11151c;
  --dark-line: rgba(255, 255, 255, 0.09);
  --shadow: 0 30px 80px -30px rgba(10, 30, 60, 0.25);
  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --header-h: 84px;
  --pad-x: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body-c);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- Korn-Overlay ---------- */

.noise {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- Typografie ---------- */

h1, h2, h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
}

h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  max-width: 34em;
}

.overline {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.kicker { /* Rechtsseiten */
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footnote { font-size: 0.82rem; color: var(--mute); margin-top: 26px; max-width: 62ch; }

.section { padding: clamp(6.5rem, 11vw, 10.5rem) 0; }

/* ---------- Preloader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader img { height: 30px; width: auto; opacity: 0; transform: translateY(22px); }

html:not(.js-anim) .loader { display: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header.scrolled {
  background: rgba(11, 14, 19, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--dark-line);
}

.site-header.on-light.scrolled {
  background: rgba(246, 246, 244, 0.8);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand { position: relative; display: block; height: 24px; }
.brand img { height: 24px; width: auto; transition: opacity 0.3s ease; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.on-light .logo-light { opacity: 0; }
.site-header.on-light .logo-dark { opacity: 1; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }

.nav-links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header.on-light .nav-links a { color: rgba(16, 20, 24, 0.7); }
.site-header.on-light .nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 32px;
  border: 0;
  border-radius: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn svg { width: 15px; height: 15px; transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
.btn:hover svg { transform: translateX(5px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }

.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-dark { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-dark:hover { background: var(--ink); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); color: #fff; }

.nav .btn { padding: 13px 24px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
  overflow: clip;
  padding: calc(var(--header-h) + 40px) 0 110px;
}

.hero-bg { position: absolute; inset: -1px; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: contrast(1.05) saturate(0.85);
  will-change: transform;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 90% at 50% 30%, rgba(11, 14, 19, 0.55) 0%, rgba(11, 14, 19, 0.88) 100%),
    linear-gradient(to top, var(--dark) 0%, rgba(11, 14, 19, 0.25) 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
}

.hero h1 { color: #fff; margin-bottom: 30px; }

.hero h1 em { font-style: normal; color: var(--accent-bright); }

.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; will-change: transform; }

.hero .lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 44px;
}

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-hint { display: inline-flex; align-items: center; gap: 10px; }

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: clip;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee span {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 20, 24, 0.3);
  transition: color 0.4s ease, -webkit-text-stroke-color 0.4s ease;
}

.marquee span:hover { color: var(--ink); -webkit-text-stroke-color: var(--ink); }

.marquee i {
  font-style: normal;
  color: var(--accent);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sektions-Header (asymmetrisch) ---------- */

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.sec-head .lead { justify-self: end; padding-bottom: 8px; }

.sec-head.center { display: block; text-align: center; }
.sec-head.center .lead { margin: 22px auto 0; }

/* ---------- Ansatz: Editorial-Zeilen ---------- */

.pillars { border-top: 1px solid var(--line); }

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 80px);
  padding: clamp(2.2rem, 4vw, 3.4rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
}

.pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.pillar:hover { padding-left: 22px; }
.pillar:hover::before { width: 100%; }

.pillar h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; }

.pillar p { align-self: center; max-width: 46ch; }

/* ---------- Split-Sektionen ---------- */

.split-sec .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}

.img-reveal {
  position: relative;
  overflow: clip;
  box-shadow: var(--shadow);
}

.img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.img-reveal:hover img { transform: scale(1.045); }

.img-reveal .tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.9);
  padding: 9px 18px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.checklist { list-style: none; margin-top: 34px; }

.checklist li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

.checklist li:first-child { border-top: 1px solid var(--line); }

.checklist .check { flex: none; width: 26px; height: 1px; background: var(--accent); }

[data-scrub] .w { opacity: 1; }
html.js-anim [data-scrub] .w { opacity: 0.14; }

/* ---------- Erfahrung / Zahlen ---------- */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(2.4rem, 4vw, 3.6rem) clamp(1.4rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.stat:first-child { border-left: 0; padding-left: 0; }

.stat .num {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.stat .num sup {
  font-size: 0.4em;
  font-weight: 700;
  color: var(--accent);
  vertical-align: super;
}

.stat .unit { font-size: 0.45em; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); }

.stat p { font-size: 0.92rem; max-width: 30ch; }

.stats-after { max-width: 70ch; margin-top: clamp(2.6rem, 4vw, 3.6rem); }

/* ---------- Suchprofil: Sticky-Pin-Split ---------- */

.pin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.pin-left { position: sticky; top: calc(var(--header-h) + 48px); }

.pin-left .lead { margin-top: 22px; }

.pin-left .btn { margin-top: 38px; }

.want-list { display: grid; gap: 18px; }

.want-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.want-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.want-card h3 { margin-bottom: 8px; }

.want-card p { font-size: 0.94rem; }

.want-card .wc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.want-card svg { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.3; flex: none; }

/* ---------- Standorte & Kriterien ---------- */

.crit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}

.crit-col h3 { font-size: 1.1rem; margin-bottom: 8px; }

.crit-col .crit-sub { font-size: 0.85rem; color: var(--mute); margin-bottom: 22px; }

.crit-list { list-style: none; }

.crit-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.crit-list li:first-child { border-top: 1px solid var(--line); }

.crit-list .dot { flex: none; width: 7px; height: 7px; background: var(--accent); transform: translateY(-2px); }

/* ---------- Vorteile: asymmetrisches Grid ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-auto-flow: dense;
  gap: 22px;
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(2rem, 3.4vw, 3rem);
}

.benefit.feature {
  grid-row: span 2;
  background: var(--accent);
  border-color: var(--accent);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  background-image: radial-gradient(120% 90% at 85% -10%, rgba(255, 255, 255, 0.14), transparent 60%);
}

.benefit.feature h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }

.benefit h3 { margin-bottom: 12px; }

.benefit p { font-size: 0.95rem; }

.benefit.feature ul { list-style: none; display: grid; gap: 12px; }

.benefit.feature li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.98rem;
}

.benefit.feature li::before { content: ""; flex: none; width: 20px; height: 1px; background: rgba(255, 255, 255, 0.65); transform: translateY(-4px); }

/* ---------- Ablauf: Card-Stacking ---------- */

.stack-sec .sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.stack { display: grid; gap: 22px; }

.stack-card {
  position: sticky;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(2.2rem, 4vw, 3.4rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3.5vw, 64px);
  align-items: center;
  will-change: transform;
  transform-origin: center top;
}

.stack-card:nth-child(1) { top: calc(var(--header-h) + 24px); }
.stack-card:nth-child(2) { top: calc(var(--header-h) + 40px); }
.stack-card:nth-child(3) { top: calc(var(--header-h) + 56px); }
.stack-card:nth-child(4) { top: calc(var(--header-h) + 72px); }
.stack-card:nth-child(5) { top: calc(var(--header-h) + 88px); }
.stack-card:nth-child(6) { top: calc(var(--header-h) + 104px); }

.stack-card:nth-child(even) { background: var(--dark-2); border-color: var(--dark-2); }
.stack-card:nth-child(even) h3 { color: #fff; }
.stack-card:nth-child(even) p { color: rgba(255, 255, 255, 0.62); }
.stack-card:nth-child(even) .step-no { color: var(--accent-bright); }

.stack-card .step-no {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  align-self: start;
  padding-top: 6px;
}

.stack-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; }

.stack-card p { max-width: 44ch; }

/* ---------- Dunkle Schlusszone ---------- */

.dark-zone { background: var(--dark); color: rgba(255, 255, 255, 0.66); }

.dark-zone h2 { color: #fff; }

.dark-zone .footnote { color: rgba(255, 255, 255, 0.38); }

/* CTA-Band */

.cta-band {
  position: relative;
  overflow: clip;
  text-align: center;
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.cta-bg { position: absolute; inset: -1px; }

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.6) contrast(1.1);
  will-change: transform;
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 50% 50%, transparent 30%, var(--dark) 100%);
}

.cta-inner { position: relative; z-index: 2; }

.cta-band .small {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
}

.cta-band h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 20ch; margin: 0 auto 18px; }

.cta-band .phone {
  display: inline-block;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
  margin-bottom: 40px;
  transition: color 0.3s ease;
}

.cta-band .phone:hover { color: #fff; }

/* Wizard auf dunklem Grund */

.on-dark .sec-head.center .lead { color: rgba(255, 255, 255, 0.62); margin-left: auto; margin-right: auto; }

.wizard {
  background: var(--surface);
  color: var(--body-c);
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.6);
}

.wizard fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.wizard-progress { display: flex; margin-bottom: clamp(32px, 4vw, 44px); counter-reset: wstep; }

.wizard-progress span {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b5b5b0;
  padding-top: 14px;
  position: relative;
}

.wizard-progress span::before {
  counter-increment: wstep;
  content: counter(wstep, decimal-leading-zero);
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #cfcfca;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.wizard-progress span::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line);
}

.wizard-progress span.active { color: var(--ink); }
.wizard-progress span.active::before { color: var(--accent); }
.wizard-progress span.active::after { background: var(--accent); }
.wizard-progress span.done::before { color: var(--ink); }
.wizard-progress span.done::after { background: var(--ink); }

.wizard-step { display: none; }
.wizard-step.active { display: block; }

.wizard-step h3 { margin-bottom: 6px; font-size: 1.4rem; font-weight: 700; }
.wizard-step .hint { font-size: 0.92rem; margin-bottom: 26px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.option-card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  padding: 20px 20px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.option-card:hover { border-color: #b5b5b0; }

.option-card input { position: absolute; opacity: 0; pointer-events: none; }

.option-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}

.option-card span { font-size: 0.85rem; color: var(--body-c); line-height: 1.5; display: block; }

.option-card.selected {
  border-color: var(--accent);
  background: #f0f6fc;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.field label em { font-style: normal; color: var(--accent); }

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }

.field textarea { min-height: 120px; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field .error-msg { display: none; font-size: 0.8rem; color: #b3261e; margin-top: 6px; }

.field.invalid input, .field.invalid select { border-color: #b3261e; }
.field.invalid .error-msg { display: block; }

.wizard-error { display: none; font-size: 0.85rem; color: #b3261e; margin-top: 14px; }
.wizard-error.show { display: block; }

.wizard-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; }

.wizard-summary { background: var(--bg); padding: 26px 28px; margin-bottom: 8px; }

.wizard-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  font-size: 0.92rem;
}

.wizard-summary dt {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--mute);
  padding-top: 3px;
}

.wizard-summary dd { color: var(--ink); }

.wizard-success { text-align: center; padding: 30px 0 10px; }
.wizard-success h3 { margin-bottom: 12px; }

/* ---------- Kontakt (dunkel) ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact-list { display: grid; gap: 12px; margin-top: 40px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

a.contact-item:hover { border-color: var(--accent-bright); transform: translateX(6px); }

.contact-item .icon { flex: none; color: var(--accent-bright); }
.contact-item .icon svg { width: 26px; height: 26px; stroke-width: 1.3; }

.contact-item span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.contact-item strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }

.person {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  padding: 40px 36px;
}

.person .avatar {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.person strong { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }

.person span { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-bright); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.55);
  padding: clamp(4.5rem, 8vw, 7rem) 0 0;
  font-size: 0.92rem;
  overflow: clip;
  border-top: 1px solid var(--dark-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.site-footer .f-logo { height: 22px; width: auto; margin-bottom: 22px; }

.site-footer h4 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }

.site-footer a { transition: color 0.25s ease; }
.site-footer a:hover { color: #fff; }

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
  max-width: 860px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-mark {
  display: block;
  text-align: center;
  font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  pointer-events: none;
  transform: translateY(18%);
}

/* ---------- Animations-Grundzustände (nur mit JS + Motion erlaubt) ---------- */

html.js-anim [data-reveal] { opacity: 0; transform: translateY(44px); }

html.js-anim .img-reveal { clip-path: inset(100% 0 0 0); }
html.js-anim .img-reveal img { transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-hint::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .stat .num { font-size: clamp(2.6rem, 5vw, 3.6rem); }
}

@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head .lead { justify-self: start; }
  .split-sec .container, .pin-grid, .contact-grid, .crit-grid { grid-template-columns: 1fr; }
  .pin-left { position: static; }
  .pillar { grid-template-columns: 1fr; gap: 10px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit.feature { grid-row: auto; }
  .stack-card { grid-template-columns: auto 1fr; }
  .stack-card p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-sec .split-media { order: -1; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-foot { justify-content: center; }
  .hero-foot span:nth-child(2) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .wizard-progress span { font-size: 0; }
  .wizard-progress span::before { font-size: 1rem; }
  .wizard-nav { flex-direction: column-reverse; }
  .wizard-nav .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stack-card { position: static; }
}
