/* =============================================================
   Villa Özdere - Digitales Exposé
   Struktur: 1 Reset  2 Tokens  3 Basis  4 Layout-Helfer
             5 Medien/Platzhalter  6 Navigation  7 Sektionen
             8 Buttons/Links  9 Lightbox  10 Motion/Responsive
   ============================================================= */

/* -------------------- 1  RESET -------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
sup { font-size: 0.6em; vertical-align: super; line-height: 0; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

/* -------------------- 2  TOKENS ------------------- */
:root {
  /* Farben: Kalkstein-Basis, Zypressen-Gruen als einziger Akzent */
  --bg:        #F3F2ED;
  --bg-quiet:  #EAE8E0;
  --ink:       #1E241D;
  --body:      #33372F;
  --muted:     #63655A;
  --line:      #D7D5CA;
  --forest:    #2C3A2E;
  --forest-2:  #1F2A20;
  --on-dark:   #EEEDE5;
  --on-dark-mut:#B9BDB0;

  /* Typografie */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fluide Groessen */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 5rem);

  /* Rhythmus */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 6vw, 7rem);
  --radius: 3px;
}

/* -------------------- 3  BASIS -------------------- */
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
p { max-width: 66ch; }
a { color: var(--forest); }

.skip-link {
  position: absolute; left: 0; top: -60px;
  background: var(--forest); color: var(--on-dark);
  padding: 0.6rem 1rem; z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* -------------------- 4  LAYOUT ------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--quiet { background: var(--bg-quiet); }
.section__title {
  font-size: var(--step-3);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 20ch;
}
.section__title + p { margin-top: -0.5rem; }

/* -------------------- 5  MEDIEN / PLATZHALTER ----- */
/* Rahmen mit Seitenverhaeltnis. Solange kein Bild geladen ist,
   erscheint ein ruhiger Kalkstein-Platzhalter mit Beschriftung. */
.media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #E7E4DA, #DCD8CC);
  border-radius: var(--radius);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  color: transparent; /* verbirgt Alt-Text-Fragmente waehrend des Ladens */
}
.media__label {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0.75rem;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  color: var(--muted);
  background: rgba(243,242,237,0.7);
  pointer-events: none;
  transition: opacity 0.3s;
}
/* Sobald ein Bild wirklich geladen ist, Label ausblenden */
.media.is-loaded .media__label { opacity: 0; }
.media.is-loaded { background: none; }
/* Bei fehlendem Bild bleibt der Platzhalter sichtbar */
.media.is-missing img { display: none; }

.media--hero { aspect-ratio: 16 / 10; }
.media--wide { aspect-ratio: 16 / 9; }
.media--landscape { aspect-ratio: 3 / 2; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

/* -------------------- 6  NAVIGATION --------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.wordmark {
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links { display: none; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
}
.nav-links a:not(.btn):hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 0.5rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 0.75rem 0;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-0);
}
.mobile-nav a.btn { border: none; margin-top: 0.75rem; text-align: center; }

/* -------------------- 7  SEKTIONEN ---------------- */

/* HERO */
.hero { position: relative; }
.hero__media { border-radius: 0; }
.media--hero { aspect-ratio: auto; width: 100%; height: clamp(480px, 80svh, 900px); }
.hero__media img { object-position: 50% 42%; }
.hero__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding-block: clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(to top, rgba(20,26,19,0.62) 0%, rgba(20,26,19,0.15) 45%, rgba(20,26,19,0) 75%);
}
.hero__eyebrow {
  color: var(--on-dark-mut);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.hero__title {
  color: #fff;
  font-size: var(--step-4);
  max-width: 16ch;
}
.hero__lead {
  color: var(--on-dark);
  font-size: var(--step-1);
  line-height: 1.4;
  max-width: 44ch;
  margin-top: 1rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.25rem, 3vw, 2rem); }

/* ECKDATEN */
.facts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fact {
  padding: clamp(0.9rem, 2.5vw, 1.6rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact dt { color: var(--muted); font-size: var(--step--1); margin-bottom: 0.35rem; }
.fact dd {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 2.2vw, 1.9rem);
  color: var(--ink); line-height: 1.08;
  overflow-wrap: anywhere;
}

/* POSITIONIERUNG */
.intro__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.intro__text p + p { margin-top: 1rem; }

/* STATEMENT (full-bleed) */
.statement { margin-block: clamp(1rem, 3vw, 2rem); }
.statement__media { border-radius: 0; aspect-ratio: auto; width: 100%; height: clamp(340px, 68svh, 760px); max-height: none; }
.statement__caption { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.statement__line { font-family: var(--serif); font-size: var(--step-3); color: var(--ink); max-width: none; }
.statement__sub { color: var(--muted); margin-top: 0.75rem; max-width: 52ch; }

/* RÄUME */
.rooms__layout { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.rooms__floor h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.rooms__floor { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.rooms__gallery { display: grid; gap: clamp(0.75rem, 2vw, 1.25rem); }

/* AUSSTATTUNG */
.features__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.feature-group h3 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.feature-group ul { list-style: none; padding: 0; }
.feature-group li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.feature-group li::before {
  content: ""; position: absolute; left: 0; top: 1.1rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--forest);
}

/* INFRASTRUKTUR (dunkles Band) */
.infra { background: var(--forest); color: var(--on-dark); padding-block: var(--section-y); }
.infra .section__title { color: #fff; }
.infra__lead { color: var(--on-dark); max-width: 60ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.infra__list { display: grid; gap: 1.5rem; }
.infra__list dt { font-family: var(--serif); font-size: var(--step-1); color: #fff; margin-bottom: 0.25rem; }
.infra__list dd { color: var(--on-dark-mut); max-width: 58ch; }

/* VIDEO */
.video__frame { position: relative; }
.video__play {
  position: absolute; inset: 0; margin: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  width: 100%; height: 100%;
  background: rgba(20,26,19,0.28);
  border: none; cursor: pointer; color: #fff;
  transition: background 0.25s;
}
.video__play:hover { background: rgba(20,26,19,0.42); }
.video__play-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  position: relative;
}
.video__play-icon::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--forest);
}
.video__play-text { font-size: var(--step--1); letter-spacing: 0.02em; }
.video__pending {
  position: absolute; inset: auto 0 0 0; text-align: center;
  padding: 0.6rem; font-size: var(--step--1); color: var(--muted);
  background: rgba(243,242,237,0.7);
}
/* Wenn eine Video-URL gesetzt ist (JS ergaenzt .has-video), Hinweis weg */
.video__frame.has-video .video__pending { display: none; }
.video__frame:not(.has-video) .video__play { pointer-events: none; opacity: 0.55; }

/* GALERIE */
.gallery__grid { display: grid; grid-template-columns: 1fr; gap: clamp(0.6rem, 1.5vw, 1rem); }
.gallery__item { cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery__item img { transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.03); }

/* GRUNDRISS */
.floorplan__note { color: var(--muted); margin-bottom: 1.5rem; }
.floorplan__media { background: #fff; }
.floorplan__media img { object-fit: contain; }

/* LAGE */
.location__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.distances, .sale__list { margin-block: 1.5rem; }
.distances div, .sale__list div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.distances dt, .sale__list dt { color: var(--muted); min-width: 0; }
.distances dd, .sale__list dd { color: var(--ink); text-align: right; font-weight: 500; min-width: 0; }
.location__subtitle { font-size: var(--step-1); margin: 1.5rem 0 0.5rem; }
.location__privacy { color: var(--muted); font-size: var(--step--1); margin-top: 1.5rem; }
.link-underline {
  display: inline-block; margin-top: 0.75rem;
  color: var(--forest); text-decoration: underline; text-underline-offset: 4px;
}

/* VERKAUF */
.sale__legal { color: var(--muted); font-size: var(--step--1); margin-top: 1rem; max-width: 70ch; }

/* PRIVATVERKAUF (dunkles Band) */
.trust { background: var(--forest-2); color: var(--on-dark); padding-block: var(--section-y); }
.trust .section__title { color: #fff; }
.trust__lead { color: var(--on-dark); margin-bottom: 1.5rem; max-width: 56ch; }
.trust__points { list-style: none; padding: 0; display: grid; gap: 0.5rem; max-width: 640px; }
.trust__points li { padding: 0.7rem 0 0.7rem 1.5rem; position: relative; border-bottom: 1px solid rgba(255,255,255,0.14); color: var(--on-dark); }
.trust__points li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 8px; height: 1.5px; background: var(--on-dark-mut); }

/* KONTAKT */
.contact { text-align: center; }
.contact__inner { max-width: var(--wrap-narrow); margin-inline: auto; }
.contact__lead { margin-inline: auto; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.contact__note { color: var(--muted); font-size: var(--step--1); margin: 1.25rem auto 0; }

/* FOOTER */
.site-footer { background: var(--ink); color: var(--on-dark-mut); padding-block: clamp(2rem, 4vw, 3rem); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; }
.footer__wordmark { font-family: var(--serif); font-size: var(--step-1); color: #fff; }
.footer__meta { color: var(--on-dark-mut); font-size: var(--step--1); flex: 1 1 320px; }
.footer__top { color: var(--on-dark); margin-top: 0; }

/* -------------------- 8  BUTTONS / LINKS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem;
  background: var(--forest); color: var(--on-dark);
  text-decoration: none; border: 1px solid var(--forest);
  border-radius: var(--radius);
  font-size: var(--step--1); letter-spacing: 0.02em;
  min-height: 44px; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--forest-2); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.5rem 1rem; min-height: 38px; }
.btn--lg { padding: 1rem 2rem; font-size: var(--step-0); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* -------------------- 9  LIGHTBOX ----------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18,22,17,0.94);
  padding: clamp(0.5rem, 3vw, 2rem);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 94vw; max-height: 88svh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff;
  border: none; cursor: pointer; border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.24); }
.lightbox__close { top: clamp(0.75rem, 3vw, 1.5rem); right: clamp(0.75rem, 3vw, 1.5rem); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* -------------------- 10  MOTION / RESPONSIVE ----- */
/* dezenter Einblendeffekt beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .gallery__item:hover img { transform: none; }
}

/* ---- ab 620px: Galerie zweispaltig, Eckdaten dreispaltig ---- */
@media (min-width: 620px) {
  .facts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
  }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
  .rooms__gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---- ab 900px: editoriale zweispaltige Layouts ---- */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }

  .facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .intro__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .rooms__layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
  .infra__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .location__grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery__item--tall { grid-row: span 2; aspect-ratio: 3 / 4; }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
}

/* ---- grosse Screens: Container etwas grosszuegiger ---- */
@media (min-width: 1440px) {
  :root { --wrap: 1280px; }
}

/* =============================================================
   11  NACHTRAG: Feedback-Umsetzung
   Kernargumente, Distanz-Zahlen, Grundriss-Sperre, Vertrauen,
   Formular, feste mobile Kontaktleiste, Dankeseite
   ============================================================= */

/* Kernargumente (keine Nummerierung, da keine Abfolge) */
.pillars__grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.pillar { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pillar h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.pillar p { color: var(--body); }
@media (min-width: 760px) {
  .pillars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); }
}

/* Lage: grosse Zahlen, editorial mit Haarlinien statt Kacheln */
.distances-feature {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.distance {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: clamp(0.9rem, 2.5vw, 1.4rem) 0;
  border-bottom: 1px solid var(--line);
}
.distance__value { font-family: var(--serif); font-size: var(--step-3); color: var(--ink); line-height: 1; }
.distance__label { color: var(--muted); text-align: right; }
@media (min-width: 760px) {
  .distances-feature { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .distance {
    flex-direction: column; align-items: flex-start; gap: 0.4rem;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2rem);
    border-bottom: none; border-left: 1px solid var(--line);
  }
  .distance:first-child { border-left: none; }
  .distance__label { text-align: left; }
}

/* Grundrisse als bewusst gesperrter Bereich */
.floorplan__inner { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.floorplan__text .btn { margin-top: 1.5rem; }
.floorplan__media.is-locked img { filter: blur(9px); transform: scale(1.03); }
.floorplan__lock {
  position: absolute; inset: 0; margin: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  color: var(--ink); font-size: var(--step--1); letter-spacing: 0.02em;
  background: rgba(243,242,237,0.55);
}
.floorplan__lock-icon {
  width: 34px; height: 30px; border-radius: 4px;
  border: 2px solid var(--forest); position: relative;
}
.floorplan__lock-icon::before {
  content: ""; position: absolute; left: 50%; top: -13px; transform: translateX(-50%);
  width: 18px; height: 18px; border: 2px solid var(--forest); border-bottom: none;
  border-radius: 10px 10px 0 0;
}
@media (min-width: 900px) {
  .floorplan__inner { grid-template-columns: 0.9fr 1.1fr; }
}

/* Vertrauen: zwei Spalten */
.trust__cols { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.trust__col h3 { color: #fff; font-size: var(--step-1); margin-bottom: 0.75rem; }
@media (min-width: 760px) {
  .trust__cols { grid-template-columns: 1fr 1fr; }
}

/* Kontaktbereich links statt zentriert (Formular) */
.contact { text-align: left; }
.contact__inner { max-width: 720px; margin-inline: auto; }
.contact__lead { margin-inline: 0; }
.contact__note { text-align: left; margin: 1.5rem 0 0; }

/* Formular */
.lead-form { display: grid; gap: 1.1rem; margin-top: 0.5rem; }
.lead-form__hp { position: absolute; left: -9999px; }
.lead-form__step { border: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.lead-form__step legend { font-size: var(--step--1); color: var(--muted); margin-bottom: 0.4rem; padding: 0; }
.radio { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.radio input, .consent input { accent-color: var(--forest); width: 18px; height: 18px; flex: none; }
.lead-form__row { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field__label { font-size: var(--step--1); color: var(--ink); }
.field__opt { color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.7rem 0.85rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.lead-form input:focus-visible, .lead-form textarea:focus-visible { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.lead-form textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--step--1); color: var(--body); }
.consent a { color: var(--forest); }
.lead-form button { justify-self: start; margin-top: 0.25rem; }
@media (min-width: 620px) {
  .lead-form__row { grid-template-columns: 1fr 1fr; }
}

/* Feste Kontaktleiste (nur Mobil) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 0.5rem;
  padding: 0.6rem var(--gutter);
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  background: var(--bg);
  border-top: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.mobile-cta .btn { flex: 1; }
.mobile-cta.is-hidden { transform: translateY(120%); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: rgba(44,58,46,0.08); }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 68px; } }

/* Dankeseite */
.thanks { min-height: 80svh; display: flex; align-items: center; }
.thanks__inner { max-width: 620px; text-align: center; margin-inline: auto; padding-block: var(--section-y); }
.thanks__title { font-size: var(--step-3); margin-bottom: 1rem; }
.thanks__text { color: var(--muted); margin: 0 auto 2rem; }
