/* =========================================================
   Michael Zander: Immobilienmakler
   Personal-Branding One-Pager
   Palette: Petrol-Anthrazit / gedaempftes Gold / Warmweiss
   ========================================================= */

/* ---------- Fonts (self-hosted, DSGVO) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InterVar';
  src: url('fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg:          #0E1F22;
  --bg-deep:     #081416;
  --bg-surface:  #13282C;
  --bg-raised:   #172F34;

  --gold:        #C9A227;
  --gold-soft:   #E3C567;
  --gold-dim:    rgba(201, 162, 39, 0.28);

  --text:        #F2F0EB;
  --text-muted:  #A3B2B0;
  /* WCAG AA: #6F8280 lag bei nur 4,19:1 auf --bg und 3,79:1 auf --bg-surface.
     #7E9290 schafft ueberall >= 4,68:1 und bleibt optisch gedaempft. */
  --text-faint:  #7E9290;

  --line:        rgba(242, 240, 235, 0.10);
  --line-strong: rgba(242, 240, 235, 0.18);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Typo ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
.lead {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 350;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 560;
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex: none;
}
.eyebrow--center { justify-content: center; }

/* Platzhalter-Markierung fuer ungeprüfte Fakten */
.pruefen {
  border-bottom: 1px dashed var(--gold);
  color: var(--gold-soft);
  cursor: help;
}
.pruefen::after {
  content: ' [PRÜFEN]';
  font-family: var(--sans);
  font-size: 0.62em;
  letter-spacing: 0.1em;
  vertical-align: super;
  opacity: 0.75;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--wrap), 100% - var(--gut) * 2);
  margin-inline: auto;
}
.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  font-size: 0.86rem;
  font-weight: 520;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--primary {
  background: var(--gold);
  color: #14100A;
  border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.15rem 0;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease),
              border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8, 20, 22, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 0.7rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__brand {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav__brand span { color: var(--gold); }
.nav__links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: inline-flex; }
/* Telefon im Mobil-Menue, auf Desktop uebernimmt das der nav__cta-Button */
.nav__tel-mobile { display: none; }

.nav__burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  color: var(--text);
  min-width: 44px;
  min-height: 44px;
}
.nav__burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  margin: 4px 0;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- HERO (3D Depth Parallax) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 3rem;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: 50% 45%;
}
.hero__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero__layer { position: absolute; inset: -8%; }
.hero__layer img { width: 100%; height: 100%; object-fit: cover; }

/* Ebene 1: tiefste Textur */
.hero__layer--texture {
  transform: translateZ(-320px) scale(1.42);
  opacity: 0.30;
  filter: saturate(0.55) contrast(1.05);
}
/* Ebene 2: Linien-Grafik */
.hero__layer--lines {
  transform: translateZ(-160px) scale(1.2);
  opacity: 0.16;
  mix-blend-mode: screen;
}
/* Vignette + Farbschleier ueber allem */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 68% 42%, rgba(14,31,34,0) 0%, rgba(14,31,34,.72) 58%, var(--bg) 100%),
    linear-gradient(180deg, rgba(8,20,22,.86) 0%, rgba(8,20,22,.28) 32%, rgba(14,31,34,.94) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: min(var(--wrap), 100% - var(--gut) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.6rem; }
.hero__title em {
  font-style: italic;
  color: var(--gold-soft);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
}
.hero__sub { max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero__rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dim) 45%, transparent 100%);
  margin: 2.4rem 0 0;
  transform-origin: left center;
}

/* Portrait-Saeule */
.hero__portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 27rem);
  transform-style: preserve-3d;
}
.hero__portrait img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55));
  /* unten weich auslaufen lassen, statt harter Schnittkante */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,.55) 92%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,.55) 92%, transparent 100%);
}
/* Gold-Kreis hinter dem Portrait */
.hero__halo {
  position: absolute;
  z-index: 1;
  left: 50%; top: 46%;
  width: 22rem; height: 22rem;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: radial-gradient(circle, rgba(201,162,39,.15) 0%, rgba(201,162,39,0) 68%);
  transform: translateZ(-40px);
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  translate: -50% 0;
  z-index: 4;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 2.6rem;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Trust-Bar ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
  position: relative;
  z-index: 5;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust__item {
  background: var(--bg-deep);
  padding: 2.1rem 1.5rem;
  text-align: center;
}
.trust__val {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.2rem);
  color: var(--gold-soft);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}
.trust__lab {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Positionierung ---------- */
.pos { position: relative; }
.pos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.pos__item { position: relative; padding-top: 2rem; }
.pos__num {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.pos__item h3 { margin-bottom: 0.8rem; }
.pos__item p { color: var(--text-muted); margin-bottom: 0; }
.pos__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--line-strong);
}

/* ---------- Full-Bleed Parallax-Band ---------- */
.band {
  position: relative;
  height: clamp(20rem, 46vh, 30rem);
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.band__media {
  position: absolute;
  inset: -14% 0;
  will-change: transform;
}
.band__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.68);
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(14,31,34,.35) 26%, rgba(8,20,22,.55) 72%, var(--bg-deep) 100%);
}
.band__quote {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem var(--gut);
}
.band__quote p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1.6vw, 2.2rem);
  line-height: 1.35;
  max-width: 34rem;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
}
.band__quote em { font-style: italic; color: var(--gold-soft); }

/* ---------- Leistungen (Card-Tilt) ---------- */
.services { background: var(--bg-deep); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  perspective: 1400px;
}
.card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 3px;
  transform-style: preserve-3d;
  transition: border-color .45s var(--ease), background .45s var(--ease);
  will-change: transform;
}
.card:hover { border-color: var(--gold-dim); background: var(--bg-raised); }
.card__icon {
  width: 2.5rem; height: 2.5rem;
  margin-bottom: 1.4rem;
  color: var(--gold);
}
.card__icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Prozess (Sticky Scrub) ---------- */
.process { position: relative; overflow: hidden; }
.process__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.process__sticky { position: sticky; top: 22vh; }
.process__steps { position: relative; padding-left: 3.25rem; }
.process__spine {
  position: absolute;
  left: 0.75rem; top: 0.6rem;
  width: 1px;
  height: calc(100% - 1.2rem);
  background: var(--line-strong);
}
.process__spine::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
}
.step {
  position: relative;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: '';
  position: absolute;
  left: -2.85rem; top: 0.62rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text-faint);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.step.is-active::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,162,39,.16);
}
.step__no {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--text-muted); margin-bottom: 0; }

.process__visual {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.process__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.82);
}
.process__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,31,34,.15) 0%, rgba(14,31,34,.72) 100%);
}

/* ---------- Reveal-Bild (clip-path) ---------- */
.reveal-img {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}
.reveal-img img { width: 100%; }

/* ---------- Ueber Michael ---------- */
.about { background: var(--bg-deep); }
.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__figure { position: relative; }
.about__figure .reveal-img { border: 1px solid var(--line); }
/* kleines Stuck-Detail, ueberlappend rechts unten */
.about__inset {
  position: absolute;
  right: -1.6rem; bottom: -1.6rem;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 48px rgba(0,0,0,.55);
  background: var(--bg-deep);
}
.about__inset img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* stark abdunkeln und ins Petrol ziehen, sonst sticht das helle
     Stuckweiss aus der dunklen Seite heraus */
  filter: saturate(.35) brightness(.42) contrast(1.12) sepia(.12) hue-rotate(140deg);
}
.about__quote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.85rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--text);
  border-left: 1px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0 0;
  font-variation-settings: 'SOFT' 20;
}
.about__sign {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 1.1rem;
}

/* ---------- Mochow ---------- */
.house__box {
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--bg-surface) 0%, var(--bg) 100%);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 3px;
  max-width: 58rem;
  margin-inline: auto;
  text-align: center;
}
.house__box { position: relative; overflow: hidden; }
.house__box > *:not(.house__art) { position: relative; z-index: 2; }
.house__art {
  position: absolute;
  right: -6%; bottom: -22%;
  width: 46%;
  opacity: 0.28;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.house__box p { color: var(--text-muted); max-width: 42rem; margin-inline: auto; }
.house__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}
.badge {
  border: 1px solid var(--gold-dim);
  color: var(--gold-soft);
  padding: 0.5rem 1.05rem;
  border-radius: 2px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Kontakt ---------- */
.contact { background: var(--bg-deep); }
.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
.contact__direct { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact__direct li { border-top: 1px solid var(--line); padding: 1.15rem 0; }
.contact__direct span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}
.contact__direct a {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  transition: color .3s var(--ease);
}
.contact__direct a:hover { color: var(--gold-soft); }
/* Spezifitaet muss ueber '.contact__direct span' liegen, sonst greift
   dort die Uppercase-Label-Formatierung. */
.contact__direct span.contact__hint {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input, .field textarea, .field select {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-raised);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
}
.field--check input { width: 1rem; height: 1rem; margin-top: 0.28rem; accent-color: var(--gold); padding: 0; flex: none; }
.field--check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.field--check a { color: var(--gold-soft); }
.form__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
  line-height: 1.55;
}
.form__note a { color: var(--gold-soft); }

/* ---------- Divider mit Scroll-Rotation ---------- */
.divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--gold-dim) 50%, var(--line-strong) 82%, transparent);
  transform-origin: center;
  will-change: transform;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.footer__links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.footer__links a:hover { color: var(--gold-soft); }
.footer__meta { font-size: 0.78rem; color: var(--text-faint); margin: 0; }

/* ---------- Rechtstexte (Impressum/Datenschutz) ---------- */
.legal { padding: 9rem 0 5rem; }
.legal .wrap { max-width: 46rem; }
.legal h1 { margin-bottom: 2.5rem; }
.legal h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin: 2.8rem 0 1rem; }
.legal h3 { font-size: 1.05rem; margin: 1.8rem 0 0.6rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--gold-soft); }
.pruefen-block {
  border-left: 2px dashed var(--gold);
  background: rgba(201,162,39,.06);
  padding: 0.9rem 1.2rem;
  font-size: 0.88rem;
}
.pruefen-block, .pruefen-block strong { color: var(--gold-soft) !important; }

.notice {
  border: 1px dashed var(--gold);
  background: rgba(201,162,39,.07);
  padding: 1.25rem 1.5rem;
  border-radius: 3px;
  margin-bottom: 2.5rem;
}
.notice p { color: var(--gold-soft); margin: 0; font-size: 0.9rem; }

/* =========================================================
   Animations-Startzustaende
   Nur aktiv wenn JS laeuft (html.js) -> kein FOUC ohne JS
   ========================================================= */
.js [data-anim] { opacity: 0; }
.js [data-anim="up"]    { transform: translate3d(0, 28px, 0); }
.js [data-anim="tilt"]  { transform: perspective(1400px) rotateX(8deg) translate3d(0, 40px, -60px); }
.js .reveal-img img     { clip-path: inset(0 0 100% 0); }
.js .hero__rule         { transform: scaleX(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__portrait { grid-row: 1; width: min(100%, 19rem); margin-bottom: 1rem; }
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero__scroll { display: none; }
  .pos__grid { grid-template-columns: 1fr; }
  .process__layout,
  .about__layout,
  .contact__layout { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .about__figure { max-width: 26rem; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8,20,22,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gut) 1.25rem;
  }
  .nav.is-open .nav__links li { border-top: 1px solid var(--line); }
  .nav.is-open .nav__links a { display: block; padding: 0.95rem 0; font-size: 0.95rem; }
  .nav.is-open .nav__tel-mobile { display: block; }
  .nav.is-open .nav__tel-mobile a { color: var(--gold-soft); font-weight: 520; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .trust__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Reduced Motion: alles auf Endzustand ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-anim],
  .js .hero__rule { opacity: 1 !important; transform: none !important; }
  .js .reveal-img img { clip-path: none !important; }
  .hero__stage { transform: none !important; }
  .hero__layer { transform: none !important; }
  .hero__scroll::after { animation: none; transform: scaleY(1); }
}
