/* =====================================================================
   Blacksmith Finance – Demo-Website (V5 · Corporate Branding)
   Designsystem: DURCHGÄNGIG DUNKEL, streng nach BSF-Branding.
   Brandfarben: Schwarz #000 (Haupt-BG), Dunkelgrau #343538 (Sekundär),
   Grau #858587 (Fließtext/gedämpft), Weiß #fff (Text), Cyan #37c4f1 (Akzent).
   Schrift: Inter (lokal selbst gehostet – keine externen Aufrufe).
   Gelb #F5C518 nur als sparsamer Warn-/Hinweis-Marker. Reines CSS.
   ===================================================================== */

/* ----------------------------- Fonts ------------------------------ */
/* Inter, lokal selbst gehostet (Variable Font, Latin). Kein CDN, keine
   externen Requests – erhält die Datensparsamkeit der Seite. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
}
/* Bebas Neue – ausschließlich für den Marken-Schriftzug (Logo-Wortmarke),
   gemäß Branding. Nicht für Inhaltstexte verwenden. Lokal gehostet. */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bebas-neue.woff2") format("woff2");
}

/* ----------------------------- Tokens ----------------------------- */
/* :root entfernt -- Tokens & Schriften kommen zentral aus brand.css (Kit), eingebunden per <link> VOR style.css. */

/* ----------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--on-dark);
  background: var(--bg-darker);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(60px, 8vw, 112px) 0; position: relative; }
section[id], main [id] { scroll-margin-top: 84px; }

/* Dunkle Bänder (Standard) – mit dezenten Verläufen, nicht rein schwarz */
.section--dark {
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(55,196,241,.06), transparent 60%),
    var(--bg-dark);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark-2);
}
.section--darker {
  background: var(--bg-darker);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark-2);
}
.section--elev {
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(55,196,241,.05), transparent 55%),
    var(--bg-elev);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark-2);
}
/* Ehemaliges „helles" Band -> jetzt dezent erhöhtes dunkles Band.
   Klasse bleibt (Inhalt/Markup unverändert), rein visuell dunkel. */
.section--surface {
  background:
    radial-gradient(120% 85% at 80% -10%, rgba(55,196,241,.05), transparent 60%),
    var(--surface-dark);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark-2);
}
.section--alt { /* Kompatibilität: behandelt wie elev */
  background: var(--bg-elev); color: var(--on-dark);
  border-top: 1px solid var(--line-dark-2);
}

/* Abschnittsköpfe & Typo */
.section__head { max-width: 730px; margin: 0 auto clamp(34px, 5vw, 60px); text-align: center; }
.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; color: var(--on-dark);
}
.section--surface .section__title { color: var(--ink); }
.section__sub { margin-top: 14px; color: var(--on-dark-soft); font-size: 1.075rem; }
.section--surface .section__sub { color: var(--ink-soft); }
.section__sub--on-dark { color: var(--on-dark-soft); }
.section__note {
  text-align: center; margin-top: 30px; color: var(--on-dark-mute);
  font-size: .92rem; max-width: 660px; margin-inline: auto;
}
.section--surface .section__note { color: var(--ink-mute); }

.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section--surface .kicker { color: var(--accent-deep); }
.kicker--on-dark { color: var(--accent); }
.text-accent { color: var(--accent); }
.section--surface .text-accent { color: var(--accent-deep); }

/* Generische Karte (kontextabhängig) */
.card {
  background: var(--surface-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.section--surface .card {
  background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-light);
}

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: var(--radius-pill); text-transform: uppercase;
}
.pill--accent { background: var(--accent-soft); color: var(--accent); }
.section--surface .pill--accent { color: var(--accent-deep); }

/* ----------------------------- Buttons ---------------------------- */
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad); border-radius: var(--radius-pill); border: 1px solid transparent;
  font-weight: 700; font-size: .96rem; letter-spacing: .005em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn--sm { --pad: 9px 16px; font-size: .88rem; }
.btn--lg { --pad: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink); box-shadow: var(--shadow-accent);
}
.btn--primary:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(55,196,241,.42); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255,255,255,.02); color: var(--on-dark); border-color: rgba(255,255,255,.30);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.section--surface .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,.30); background: rgba(255,255,255,.02); }
.section--surface .btn--ghost:hover { color: var(--accent); border-color: var(--accent); }

/* Inline-Icons */
.ic { width: 18px; height: 18px; flex: none; }
.ic, .value-card__icon svg, .faq__chev {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ============================ NAVIGATION ========================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 16, 21, 0.72);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
  background: rgba(11, 12, 16, 0.92);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 72px; transition: min-height var(--t); }
.site-header.is-scrolled .nav { min-height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); flex: none; }
.brand__mark { width: 40px; height: 40px; }
/* Offizielles SVG-Lockup (Icon + Schriftzug) – skaliert scharf, schmal genug für die Leiste. */
.brand__logo { height: 40px; width: auto; display: block; }
/* Wortmarke im offiziellen Marken-Font Bebas Neue, einfarbig weiß (wie Logo). */
.brand__word { font-family: "Bebas Neue", "Inter", sans-serif; font-weight: 400; letter-spacing: .06em; font-size: 1.55rem; line-height: 1; white-space: nowrap; }
.brand__word-light { color: inherit; }

.nav__menu { display: flex; align-items: center; gap: clamp(9px, 1.1vw, 16px); flex-wrap: nowrap; }
.nav__link {
  color: var(--on-dark-soft); font-weight: 600; font-size: clamp(.84rem, .92vw, .92rem);
  position: relative; transition: color var(--t-fast); white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width var(--t);
}
.nav__link:hover, .nav__link.is-active { color: var(--on-dark); }
.nav__link.is-active::after, .nav__link:hover::after { width: 100%; }
.nav__cta { flex: none; margin-left: 2px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; background: transparent; border: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center; flex: none;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform var(--t), opacity var(--t-fast); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== HERO ============================== */
.hero { position: relative; overflow: hidden; background: var(--bg-darker); padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 50% at 80% 16%, rgba(55,196,241,.20), transparent 60%),
    radial-gradient(50% 60% at 10% 92%, rgba(55,196,241,.10), transparent 60%),
    linear-gradient(180deg, #101012 0%, #000000 100%);
}
/* Großes, sehr dezentes BSF-Icon als Marken-Wasserzeichen (erste Seite) */
.hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  right: clamp(-90px, -5vw, -40px); bottom: clamp(-70px, -5vw, -30px);
  width: clamp(280px, 42vw, 540px); aspect-ratio: 1;
  background: url("../assets/images/logo-icon.png") no-repeat center / contain;
  opacity: .05;
}
/* Zentrales, vollständiges Logo-Lockup auf der Startseite (über dem Hero-Grid) */
.hero__logo {
  display: block; height: clamp(64px, 9vw, 104px); width: auto;
  margin: 0 auto clamp(22px, 4vw, 44px); position: relative; z-index: 2;
}
.hero__inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero__content { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .9rem;
  color: var(--on-dark-soft); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  padding: 7px 14px; border-radius: var(--radius-pill); margin-bottom: 22px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(55,196,241,.22); }
.hero__title {
  color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.06;
  letter-spacing: -0.025em; font-weight: 800;
}
.hero__lead { margin-top: 22px; color: var(--on-dark-soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 540px; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 26px;
  padding-top: 26px; border-top: 1px solid var(--line-dark);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; color: var(--on-dark-soft); font-size: .92rem; font-weight: 600; }
.hero__trust .ic { color: var(--accent); }
.hero__visual { display: flex; justify-content: center; }

/* ============================ VALUE CARDS ========================= */
.value-card { text-align: left; }
.value-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.section--surface .value-card__icon { color: var(--accent-deep); }
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; color: var(--on-dark); }
.section--surface .value-card h3 { color: var(--ink); }
.value-card p { color: var(--on-dark-soft); font-size: .96rem; }
.section--surface .value-card p { color: var(--ink-soft); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(55,196,241,.5); }

/* ============================== STEPS ============================= */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative;
}
.step {
  background: linear-gradient(165deg, var(--surface-dark), #2A2B2E);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-4px); border-color: rgba(55,196,241,.4); box-shadow: var(--shadow-md); }
.step__num {
  font-size: 1.05rem; font-weight: 800; color: var(--accent-ink); background: var(--accent);
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 18px; box-shadow: var(--shadow-accent);
}
.step h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--on-dark-soft); font-size: .94rem; }
.step strong { color: var(--accent); font-weight: 700; }
/* Kompakte Mini-Liste in Phasen 1 & 2 */
.step__points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.step__points li {
  font-size: .78rem; font-weight: 600; color: var(--on-dark-soft);
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 47px; right: -14px; width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent); z-index: 1;
}

/* ============================== FAQ ============================== */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--surface-dark); border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm); overflow: hidden; transition: border-color var(--t), box-shadow var(--t);
}
.section--surface .faq__item { background: var(--surface); border-color: var(--line); }
.faq__item.is-open { border-color: rgba(55,196,241,.55); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: 0; text-align: left; padding: 20px 22px;
  font-size: 1.04rem; font-weight: 700; color: var(--on-dark);
}
.section--surface .faq__q { color: var(--ink); }
.faq__chev { width: 22px; height: 22px; color: var(--accent); transition: transform var(--t); flex: none; }
.section--surface .faq__chev { color: var(--accent-deep); }
.faq__item.is-open .faq__chev { transform: rotate(180deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--t); }
.faq__a p { padding: 0 22px 20px; color: var(--on-dark-soft); }
.section--surface .faq__a p { color: var(--ink-soft); }
.faq__a em { color: var(--on-dark-mute); }
.section--surface .faq__a em { color: var(--ink-mute); }

/* ============================ KONTAKT ============================ */
/* Desktop: Intro oben-links, Karte darunter, Formular rechts (über beide Zeilen). */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; grid-template-areas: "intro form" "map form"; gap: clamp(26px, 4vw, 44px) clamp(36px, 5vw, 64px); align-items: start; }
.contact__intro { grid-area: intro; }
.contact > .map { grid-area: map; margin-top: 0; }
.contact__form-wrap { grid-area: form; }
.contact .section__title { text-align: left; }
.contact__lead { color: var(--on-dark-soft); margin-top: 14px; font-size: 1.06rem; max-width: 440px; }
.contact__list { margin: 28px 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--on-dark); font-weight: 600; }
.contact__list .ic { color: var(--accent); }
.contact__badge { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-soft); font-size: .92rem; background: rgba(55,196,241,.08); border: 1px solid var(--line-dark); padding: 12px 16px; border-radius: var(--radius-sm); }
.contact__badge .ic { color: var(--accent); }

/* Helle Formularkarte auf dunklem Kontaktband (Formular „springt" hervor) */
.contact__form-wrap { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); position: relative; }

.field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select {
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 12px 14px;
  font: inherit; color: var(--ink); background: var(--surface-dark2); transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field input::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.has-error input, .field.has-error select { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }

/* ============================== FOOTER =========================== */
.site-footer { padding: clamp(48px, 6vw, 76px) 0 28px; background: var(--bg-deep); border-top: 1px solid var(--line-dark-2); position: relative; overflow: hidden; }
/* Dezentes Marken-Icon im Footer */
.site-footer::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -60px; bottom: -70px; width: clamp(220px, 26vw, 360px); aspect-ratio: 1;
  background: url("../assets/images/logo-icon.png") no-repeat center / contain; opacity: .04;
}
.site-footer > * { position: relative; z-index: 1; }

/* Wiederverwendbares, sehr dezentes Marken-Wasserzeichen für einzelne Sektionen */
.has-brandmark { position: relative; overflow: hidden; }
.has-brandmark > .container { position: relative; z-index: 1; }
.has-brandmark::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: clamp(-90px, -6vw, -50px); top: 50%; transform: translateY(-50%);
  width: clamp(240px, 30vw, 430px); aspect-ratio: 1;
  background: url("../assets/images/logo-icon.png") no-repeat center / contain; opacity: .04;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { color: var(--on-dark-soft); font-size: .94rem; max-width: 320px; }
.footer__col h4 { color: var(--on-dark); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--on-dark-soft); font-size: .94rem; padding: 5px 0; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  color: var(--on-dark-mute); font-size: .84rem;
}

/* ========================= Reveal-Animation ====================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ========================= */
/* Navigation: ab < 1200px in das mobile Schubladenmenü (8 Punkte + CTA
   passen erst auf breiteren Desktops sauber nebeneinander).
   Unterseiten-Nav (.nav__menu--sub, nur wenige Links) bleibt statisch. */
@media (max-width: 1200px) {
  /* Der backdrop-filter des Headers würde ihn zum "containing block" für das
     position:fixed-Schubladenmenü machen -> die Schublade wäre dann nur so hoch
     wie der Header (Bug: nur der erste Punkt sichtbar, Rest abgeschnitten).
     Auf Mobil/Tablet (wo die Schublade existiert) deshalb den Filter abschalten;
     der Glas-Effekt bleibt auf Desktop > 1180px erhalten. */
  .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(11, 12, 16, 0.94);
  }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; height: 100dvh; width: min(86vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    background: var(--bg-darker); padding: 96px 28px 32px;
    border-left: 1px solid var(--line-dark); box-shadow: -24px 0 60px rgba(0,0,0,.5);
    transform: translateX(100%); transition: transform var(--t); overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.08rem; padding: 11px 0; width: 100%; border-bottom: 1px solid var(--line-dark-2); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 18px; width: 100%; }
  .nav__toggle { display: flex; z-index: 110; }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(6,7,10,.55); opacity: 0; visibility: hidden; transition: opacity var(--t); z-index: 90; }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }

  /* Unterseiten-Navigation (Rechner etc.): KEIN Drawer – statische, umbrechende Leiste */
  .nav__menu--sub {
    position: static; transform: none; inset: auto; height: auto; width: auto;
    flex-direction: row; flex-wrap: wrap; gap: 8px 16px;
    background: none; border: 0; box-shadow: none; padding: 0; overflow: visible;
  }
  .nav__menu--sub .nav__link { width: auto; padding: 6px 0; border: 0; font-size: .95rem; }
  .nav__menu--sub .nav__link::after { display: none; }
  .nav__menu--sub .nav__cta { margin-top: 0; width: auto; }
}

/* Rechner-Unterseiten: Kopf auf schmalen Screens sauber umbrechen */
@media (max-width: 620px) {
  .nav.nav--sub { flex-wrap: wrap; row-gap: 10px; }
  .nav--sub .brand { flex: 1 1 auto; }
  .nav__menu--sub { width: 100%; justify-content: flex-start; gap: 10px 14px; }
  .nav__menu--sub .nav__cta { width: 100%; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:not(:last-child)::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  /* Mobil: erst Intro, dann Formular, dann Karte (Kontaktfeld vor Google Maps). */
  .contact { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "map"; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .section__head { text-align: left; }
}

/* ===================== Bewegung reduzieren ======================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================ RECHTSTEXTE ======================== */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(28px,5vw,56px) 0 clamp(48px,7vw,80px); }
.legal .back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .92rem; margin-bottom: 26px; }
.legal .back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal h1 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; color: var(--on-dark); }
.legal h2 { font-size: 1.25rem; font-weight: 800; margin: 34px 0 10px; color: var(--on-dark); }
.legal h3 { font-size: 1.02rem; font-weight: 700; margin: 22px 0 6px; color: var(--accent); }
.legal p, .legal li { color: var(--on-dark-soft); font-size: .96rem; line-height: 1.7; }
.legal p { margin-bottom: 12px; }
.legal strong { color: var(--on-dark); }
.legal ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-2); }
.legal__updated { margin-top: 36px; font-size: .84rem; color: var(--on-dark-mute); }
