/* =========================================================
   Immo-Glück mit Stefania Georg — Stylesheet
   Selbst gehostete Schriften (kein Google-Fonts-Runtime-Call),
   Hardcoded, framework-frei.
   ========================================================= */

/* --- Fonts (lokal, siehe /assets/fonts) --------------------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Variable-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-Variable-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-Variable-Italic-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* --- Design tokens ------------------------------------------ */
:root {
  --color-ink: #22271f;
  --color-ink-soft: #4a5044;
  --color-green: #3f8f45;
  --color-green-dark: #2c6b32;
  --color-green-tint: #eaf3e8;
  --color-taupe: #988c71;
  --color-taupe-tint: #f3f0e8;
  --color-bg: #fbfaf7;
  --color-bg-alt: #f3f0e8;
  --color-white: #ffffff;
  --color-border: #e4e0d3;

  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(34, 39, 31, 0.08);
  --header-height: 75px;
}

/* --- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overscroll-behavior-y: none; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--color-ink);
}
h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.bg-alt { background: var(--color-bg-alt); }
.bg-green { background: var(--color-green); color: #fff; }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-ink { background: var(--color-ink); color: #f2f1ec; }
.bg-ink h2, .bg-ink h3 { color: #fff; }

.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-green-dark);
  margin-top: -0.3em;
  margin-bottom: 0.9em;
}
.bg-green .eyebrow, .bg-ink .eyebrow { color: #cfe6cf; }

.lede {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
  max-width: 62ch;
}

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-green); color: #fff; }
.btn-primary:hover { background: var(--color-green-dark); }
.btn-outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn-outline:hover { border-color: var(--color-green); color: var(--color-green-dark); }
.btn-on-dark { border-color: #fff; color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--color-green-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* --- Header / Nav ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--color-ink); }
.brand img { height: 46px; width: auto; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links a.top-link {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
}
.nav-links a.top-link:hover, .nav-links a.top-link.active { background: var(--color-green-tint); color: var(--color-green-dark); }

.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.submenu li a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 0.92rem; }
.submenu li a:hover { background: var(--color-green-tint); color: var(--color-green-dark); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-ink); margin: 5px 0; transition: 0.2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 0 0; background: var(--color-bg);
    flex-direction: column; align-items: stretch; padding: 20px; gap: 4px;
    display: none; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a.top-link { padding: 14px; font-size: 1.05rem; }
  .submenu { position: static; box-shadow: none; border: none; display: block; padding-left: 12px; }
  .has-sub .submenu { display: none; }
  .has-sub.open .submenu { display: block; }
}

/* --- Hero --------------------------------------------------------- */
.hero-pin { position: relative; padding: 0; }
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-green-tint) 0%, var(--color-bg) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lede { margin-bottom: 1.6rem; }

.pin-scroll .fx { transform-origin: center center; will-change: transform, filter, opacity; }

/* Sticky-Pin-Zoom-Effekt nur auf breiteren Screens (Performance & Platz auf Mobile) */
@media (min-width: 901px) {
  .hero-pin { height: 230vh; margin-top: calc(-1 * var(--header-height)); }
  .hero {
    position: sticky;
    top: 0;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--header-height) 0 0;
  }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
}

/* --- Leistungen: gleiches Pin-Prinzip wie der Hero ------------------ */
.services-pin { position: relative; padding: 0; }
.hero-cover { padding: 72px 0; }

@media (min-width: 901px) {
  .services-pin { height: 159.4vh; margin-top: -88vh; }
  .hero-cover {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
  }
}

/* --- Regionale Verwurzelung: gleiches Pin-Prinzip wie Hero/Leistungen, aber
   gespiegeltes Split-Layout (Bild links, Text rechts statt umgekehrt) --- */
.regional-pin { position: relative; padding: 0; }
.services-cover { position: relative; padding: 48px 0; }
.regional-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.regional-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.regional-heading { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 0.4em; }

@media (min-width: 901px) {
  .regional-grid { grid-template-columns: 0.9fr 1.1fr; }
  .regional-pin { height: 159.4vh; }
  .services-cover {
    position: sticky;
    top: 0;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
  }
  /* Kein Überlappen mehr: Regional löst sich vom Sticky genau dann, wenn Prozess
     unten auftaucht, und beide scrollen gleichmäßig zusammen weiter/rein */
  .regional-cover {
    position: relative;
    z-index: 4;
    background: var(--color-bg-alt);
  }
  /* Alle weiteren Abteile + Footer: eine Stufe höher, damit sie sicher über das
     dritte (gepinnte) Abteil hinwegscrollen, unabhängig von exakten Scroll-Maßen */
  .regional-cover ~ section,
  .site-footer {
    position: relative;
    z-index: 5;
  }
}

/* --- Wertermittlung-Teaser: gleiches Pin-Prinzip wie die Abteile davor ---- */
.wert-pin { position: relative; padding: 0; }

@media (min-width: 901px) {
  .wert-pin { height: 159.4vh; }
  .wert-teaser { position: sticky; top: 0; z-index: 5; min-height: 100vh; display: flex; align-items: center; }
}

/* Leistungskarten: Laola-Reveal, Leserichtung links nach rechts. Jede Karte
   kommt klein und unscharf "von hinten" reingezoomt, fadet dabei sichtbar,
   wächst über die finale Größe hinaus und senkt sich dann wieder auf die
   fertige Größe ab. An die Scroll-Position gekoppelt (siehe services-reveal.js)
   und dadurch beim Hoch-/Runterscrollen exakt vor-/zurückspulbar. Nur Desktop;
   ohne JS bleiben die Karten normal sichtbar (Inline-Styles kommen nur vom Script). */

/* --- Cards / Grid --------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--color-green-tint); color: var(--color-green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--color-ink-soft); font-size: 0.97rem; }
.card a.card-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--color-green-dark); }

.media-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--color-border); }
.media-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.media-card .body { padding: 22px; }

/* --- Placeholder image block (fehlendes/zu ersetzendes Bild) -------- */
.img-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-alt) 10px, #eee 10px, #eee 20px);
  border: 1px dashed var(--color-border);
  color: var(--color-ink-soft);
  font-size: 0.85rem;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  padding: 1rem;
}

/* --- Prozess: gleiches Pin-Prinzip wie Leistungen/Regional, plus
   scroll-gekoppelter Verbindungsfaden (siehe process-fx.js) ---- */
.process-pin { position: relative; padding: 0; }
.process-section { min-height: 100vh; display: flex; align-items: center; padding: 72px 0; }

@media (min-width: 901px) {
  .process-pin { height: 159.4vh; }
  .process-section { position: sticky; top: 0; z-index: 4; }
}

.process-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 28px;
  margin-bottom: 44px;
}
.process-track, .process-fill {
  position: absolute;
  left: 28px; right: 28px; top: 28px;
  height: 2px;
  transform: translateY(-50%);
}
.process-track { background: var(--color-border); }
.process-fill { background: var(--color-green); width: 0%; transition: none; }

.process-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 56px; text-align: center; }
.process-dot {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg); border: 2px solid var(--color-border);
  color: var(--color-ink-soft);
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.process-dot svg { width: 22px; height: 22px; }
.process-label {
  position: absolute; top: 68px; left: 50%; transform: translateX(-50%);
  width: 160px; font-size: 0.85rem; font-weight: 600; color: var(--color-ink-soft);
  transition: color .3s ease;
}
.process-node.is-active .process-dot { border-color: var(--color-green); background: var(--color-green-tint); color: var(--color-green-dark); }
.process-node.is-active .process-label { color: var(--color-ink); }

.process-cards { margin-top: 64px; }
.process-card {
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 22px; background: var(--color-bg);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.process-card h3 { font-size: 1.05rem; }
.process-card p { font-size: 0.92rem; color: var(--color-ink-soft); }
.process-card.is-active { border-color: var(--color-green); box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .process-line { display: none; }
  .process-cards { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
}
@media (max-width: 560px) { .process-cards { grid-template-columns: 1fr; } }

/* --- Quote / trust block --------------------------------------------- */
.promise {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--color-taupe-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.promise .badge {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.process-promise { margin-top: 40px; }

/* --- Tags / badges ------------------------------------------------------ */
.tag {
  display: block;
  color: var(--color-taupe);
  font-size: 0.7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 0.4em;
}

/* --- Banner CTA --------------------------------------------------------- */
.cta-banner {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  color: var(--color-ink);
  padding: 56px 40px;
  text-align: center;
  background: var(--color-green-tint);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.cta-banner h2 { color: var(--color-ink); }
.cta-banner p { color: var(--color-ink-soft); max-width: 60ch; margin: 0.6em auto 1.6em; }
.cta-intro-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px;
  align-items: center; text-align: left; margin-bottom: 2rem;
}
.cta-intro-grid p { margin: 0.6em 0 0; }
@media (max-width: 700px) { .cta-intro-grid { grid-template-columns: 1fr; text-align: center; } }
.cta-banner .cta-form-shell {
  text-align: left; width: 100%; max-width: none; margin: 1.6rem 0 0;
  background: transparent; border: none; box-shadow: none; padding: 0;
}
.cta-form-shell .field input, .cta-form-shell .field select, .cta-form-shell .field textarea {
  background: #fff; border-color: var(--color-border);
}
.cta-contact-list {
  list-style: none; padding: 0; margin: 0; max-width: none;
  display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.cta-contact-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--color-border); padding-bottom: 8px; }
.cta-contact-list .k { color: var(--color-green-dark); font-weight: 600; }
.cta-contact-list a { color: var(--color-ink); }
.cta-contact-list a:hover { text-decoration: underline; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: #d9dbd2; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 0.55em; font-size: 0.92rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1em; }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #a9ac9f;
}

/* --- Zweite, dünne Copyright-Zeile ganz unten --------------------------- */
.made-by-bar { background: #000; color: #fff; text-align: center; padding: 10px 0; font-size: 0.8rem; }
.made-by-bar a { font-weight: 700; text-decoration: none; }

/* --- Breadcrumb / page header (interior pages) ----------------------------- */
.page-header { padding: 56px 0 40px; background: var(--color-green-tint); }
.page-header .eyebrow { }
.page-header p.lede { margin-top: .6rem; }

/* --- Ratgeber / Article -------------------------------------------------- */
.article-list { display: grid; gap: 24px; }
.article-body { max-width: 72ch; margin: 0 auto; }
.article-body h2 { margin-top: 1.8em; }
.article-body ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.article-body li { margin-bottom: 0.4em; }
.article-meta { color: var(--color-ink-soft); font-size: 0.88rem; margin-bottom: 2rem; }

/* --- Multistep Contact Form ------------------------------------------------ */
.form-shell {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.form-shell-wide { max-width: none; width: 100%; }
.form-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.form-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--color-border); transition: background .2s ease; }
.form-progress span.done { background: var(--color-green-dark); }
.form-progress span.active { background: var(--color-green); }

.form-step { display: none; }
.form-step.active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; transform: none; } }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 1.2rem; }
@media (min-width: 700px) { .form-shell-wide .choice-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  display: block; cursor: pointer;
  border: 2px solid var(--color-border); border-radius: 10px; padding: 16px;
  font-weight: 600; text-align: left;
  transition: border-color .15s ease, background .15s ease;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: var(--color-green); }
.choice input:checked ~ span { color: var(--color-green-dark); }
.choice:has(input:checked) { border-color: var(--color-green); background: var(--color-green-tint); }
.choice .sub { display: block; font-weight: 400; font-size: 0.82rem; color: var(--color-ink-soft); margin-top: 2px; }

/* --- Auswahl-Kacheln mit Icon (Wertermittlungs-Formular) ---------------- */
.choice-with-icon { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.choice-icon { width: 30px; height: 30px; color: var(--color-green-dark); }
.choice-icon svg { width: 100%; height: 100%; }
.is-hidden { display: none !important; }

/* --- Schieberegler (Wohn-/Grundstücksfläche) ---------------------------- */
.field-slider { margin-bottom: 22px; }
.field-slider .range-input {
  width: 100%; appearance: none; -webkit-appearance: none; height: 4px;
  border-radius: 4px; background: var(--color-border); margin: 12px 0 6px; cursor: pointer;
}
.field-slider .range-input::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-green); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--color-green); cursor: pointer;
}
.field-slider .range-input::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--color-green); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--color-green); cursor: pointer;
}
.field-slider-scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--color-ink-soft); margin-bottom: 10px; }
.field-slider input[type="number"] { max-width: 180px; }

/* --- Stepper (Anzahl der Einheiten) -------------------------------------- */
.stepper { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.stepper-btn {
  width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--color-border);
  background: #fff; font-size: 1.2rem; font-weight: 700; color: var(--color-green-dark);
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.stepper-btn:hover { border-color: var(--color-green); background: var(--color-green-tint); }
.stepper input {
  width: 60px; text-align: center; border: 1.5px solid var(--color-border); border-radius: 8px;
  padding: 10px 6px; font: inherit; font-weight: 700; background: var(--color-bg);
}

/* --- Einwilligungs-Checkbox ---------------------------------------------- */
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--color-ink-soft); margin: 22px 0; cursor: pointer; }
.consent-check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--color-green); }
.consent-check a { color: var(--color-green-dark); text-decoration: underline; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.field-row .field { margin-bottom: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Eckdaten-Felder mit Icon-Kreis, wie bei "Ein klarer Ablauf" auf der Startseite */
.field-icon-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.field-icon-row .field { margin-bottom: 0; flex: 1; min-width: 0; }
.field-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%; margin-top: 2px;
  background: var(--color-green-tint); color: var(--color-green-dark);
  display: flex; align-items: center; justify-content: center;
}
.field-icon svg { width: 20px; height: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--color-ink-soft); font-size: 0.82rem; margin-top: 4px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--color-border);
  font: inherit; background: var(--color-bg);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-green); }
.field textarea { resize: vertical; min-height: 100px; }

.form-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }
.form-nav .btn { flex: 1; }
.form-nav .spacer { flex: 1; }

.form-success { text-align: center; padding: 20px 0; }
.form-success .icon-ok {
  width: 60px; height: 60px; border-radius: 50%; background: var(--color-green-tint);
  color: var(--color-green-dark); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.6rem;
}

/* --- Contact info sidebar ---------------------------------------------- */
.contact-info-list li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.95rem; }
.contact-info-list .k { color: var(--color-ink-soft); min-width: 92px; font-weight: 600; }

.contact-bar {
  margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--color-border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.contact-info-row { display: flex; flex-wrap: wrap; gap: 32px; }
.contact-info-row li { flex-direction: column; gap: 2px; margin-bottom: 0; }
.contact-bar .promise { flex: none; max-width: 360px; margin: 0; }
@media (max-width: 700px) { .contact-bar { flex-direction: column; align-items: flex-start; } }

/* --- Utility ---------------------------------------------------------- */
.mt-0{margin-top:0}.center{text-align:center}
.legal-body h2 { margin-top: 1.6em; font-size: 1.2rem; }
.legal-body p, .legal-body li { color: var(--color-ink-soft); font-size: 0.95rem; }
.todo-note {
  background: #fff6e0; border: 1px dashed #d8b45a; color: #6b5210;
  padding: 14px 16px; border-radius: 8px; font-size: 0.88rem; margin: 1.2em 0;
}

/* --- Nach-oben-Button --------------------------------------------------- */
.scroll-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--color-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .15s ease, visibility .25s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--color-green-dark); }
.scroll-top svg { width: 22px; height: 22px; }
