/* =========================================================
   Einfamilienhaus gesucht — Region Hannover
   Leitbild: edel & seriös. Ein Paar stellt sich Verkäufern
   vor (privates Kaufgesuch, umgekehrter Makler-Fall).
   Palette: viel Weiß + tiefes Navy + kühle Blautöne.
   Type: Playfair Display (Headlines) + Source Sans 3 (Text).
   ========================================================= */

:root {
  --paper:      #FAFBFC;
  --panel:      #EEF2F8;
  --card:       #FFFFFF;
  --ink:        #1B2433;
  --ink-soft:   #5A6577;
  --navy:       #16263F;
  --navy-deep:  #101B30;
  --accent:     #234E8A;
  --accent-deep:#1B3A6B;
  --terracotta: #AE5C36; /* Echo des Hero-Dachs: warmer Kupfer-Faden (Rubrik-Label, aktiver Menuepunkt) */
  --line:       #DCE1E9;
  --line-soft:  #EBEFF4;
  --shadow:      0 1px 2px rgba(27,36,51,.04), 0 10px 30px rgba(27,36,51,.06);
  --shadow-float:0 8px 20px rgba(27,36,51,.09), 0 22px 48px rgba(27,36,51,.11);
  --shadow-hover:0 16px 30px rgba(27,36,51,.13), 0 34px 70px rgba(27,36,51,.17);
  --radius:     14px;
  --maxw:       1120px;
  --sect:       96px;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1rem; }
a { color: var(--accent-deep); transition: color .2s ease; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0 0 1.1rem;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent));
  transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .015em;
  padding: .82rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(35,78,138,.28); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(27,58,107,.32); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--accent-deep); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--terracotta); color: #fff; box-shadow: 0 2px 6px rgba(48,26,14,.16); }
.btn-accent:hover { background: #96492a; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(48,26,14,.2); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn-light:hover { background: var(--panel); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,251,252,.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(250,251,252,.97); box-shadow: 0 2px 14px rgba(27,36,51,.10); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display);
  font-weight: 600; font-size: 1.16rem; letter-spacing: 0;
  color: var(--ink); text-decoration: none;
}
.brand .roof { color: var(--accent); display: inline-flex; align-items: center; }
.brand .roof svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .5rem .9rem;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  border-radius: 8px; transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--panel); }
.nav-links a.active { color: var(--accent-deep); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--terracotta); margin: 3px .9rem 0;
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .6rem; font-size: 1.02rem; }
  .nav-links a.active::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--navy);
  overflow: hidden;
  display: flex; align-items: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: 122% auto; background-position: center;
  transform: scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,27,48,.16) 0%, rgba(16,27,48,.40) 55%, rgba(16,27,48,.76) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 700px; width: 100%; margin: 0 auto; padding: 38px 50px;
  text-align: center;
  background: rgba(13,22,38,.5);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-radius: 30px;
  -webkit-mask: radial-gradient(125% 120% at 50% 50%, #000 55%, transparent 100%);
          mask: radial-gradient(125% 120% at 50% 50%, #000 55%, transparent 100%);
}
.hero .eyebrow { color: #E3A07E; letter-spacing: .26em; }
.hero h1 {
  font-size: clamp(2.3rem, 4.9vw, 3.5rem);
  max-width: 18ch; margin: 0 auto .4em;
  color: #F3EDE4;
  text-shadow: 0 2px 20px rgba(0,0,0,.30);
}
.hero .lead {
  font-size: clamp(1.03rem, 1.85vw, 1.18rem); line-height: 1.58;
  max-width: 52ch; margin: 0 auto; color: rgba(255,255,255,.93);
}
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }
.prose-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

/* Hero facts — ruhige Merkmal-Zeile, auf Desktop in einer Reihe */
.hero-facts {
  list-style: none; margin: 1.8rem 0 0; padding: 1.15rem 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem 1.8rem;
}
.hero-facts li {
  display: inline-flex; align-items: center; gap: .55rem;
  color: #E3A07E; font-weight: 700; font-size: 1rem;
}
.hero-facts .fact-ic { display: inline-flex; align-items: center; color: #E3A07E; flex: none; }
.hero-facts .fact-ic svg { display: block; }

/* ---------- Sections ---------- */
.section { padding: var(--sect) 0; }
.section.tint { background: var(--panel); }
.section-head { max-width: 62ch; margin: 0 auto 2.6rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

@media (max-width: 760px) {
  :root { --sect: 56px; }
  .hero-inner { padding: 28px 22px; border-radius: 16px; }
  .page-intro { padding: 36px 0; }
  .site-footer { padding: 40px 0 24px; }
}

/* ---------- Über-uns-Anriss (Startseite) ---------- */
.about-more { font-weight: 700; text-decoration: none; }
.about-more:hover { text-decoration: underline; }

/* ---------- Profile cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-float); display: flex; flex-direction: column;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
a.card { text-decoration: none; color: inherit; }
.card-img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--panel); transition: transform .6s var(--ease); }
.card:hover .card-img { transform: scale(1.06); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-kicker {
  display: inline-block; align-self: flex-start;
  background: var(--panel); color: var(--accent-deep);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  padding: .3rem .65rem; border-radius: 999px; margin-bottom: .8rem;
}
.card h3 { font-size: 1.34rem; margin-bottom: .7rem; }
.card-cta {
  margin-top: auto; padding-top: .9rem;
  font-weight: 700; font-size: .95rem; color: var(--accent-deep);
}
.cards-more { text-align: center; margin: 2.4rem 0 0; }
.cards-more a { font-weight: 700; color: var(--accent-deep); text-decoration: none; }
.cards-more a:hover { text-decoration: underline; }

.crit { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.crit li { position: relative; padding-left: 1.55rem; margin-bottom: .5rem; font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }
.crit li::before {
  content: ""; position: absolute; left: 0; top: .44em;
  width: .7rem; height: .38rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price {
  margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line-soft);
  font-family: var(--display); font-weight: 600;
}
.price .label { display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: .15rem; }
.price .val { font-family: var(--sans); font-size: 1.5rem; font-weight: 800; color: var(--terracotta); }
.card .btn-outline { margin-top: 1.2rem; text-align: center; }

/* ---------- Karte / Suchgebiet (Signature) ---------- */
.map-block { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .map-block { grid-template-columns: 1fr; gap: 28px; } }
.map-frame {
  background: #fff; padding: 12px; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-float);
}
.map-clip { overflow: hidden; border-radius: 8px; }
.map-frame img { border-radius: 8px; width: 100%; cursor: zoom-in; }
.map-hint { text-align: center; font-size: .82rem; color: var(--ink-soft); margin: .7rem 0 0; }

/* ---------- Lightbox (Suchkarte) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11,18,32,.9);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 96vw; }
.lightbox-fig img { max-width: 96vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lightbox-fig figcaption { color: #fff; font-size: .95rem; line-height: 1.5; margin-top: 1.1rem; max-width: 62ch; text-align: center; }
.lightbox-close {
  position: absolute; top: 14px; right: 20px;
  background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { color: #C9D8EE; }
.legend { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.legend li { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; font-size: .98rem; color: var(--ink-soft); }
.swatch { width: 26px; height: 0; flex: none; }
.swatch.fav { border-top: 3px solid #1c1c1c; }
.swatch.ext { border-top: 3px solid #2f6fd0; }

/* Signature-Reveal: Karte zoomt langsam, Legende blendet gestaffelt nach */
@keyframes map-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}
.map-frame.reveal.in .map-clip img { animation: map-kenburns 10s ease-out both; }
.map-block .reveal .legend li { opacity: 0; transform: translateY(8px); }
.map-block .reveal.in .legend li {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.map-block .reveal.in .legend li:nth-child(1) { transition-delay: .25s; }
.map-block .reveal.in .legend li:nth-child(2) { transition-delay: .45s; }

/* ---------- Kontakt + Formular ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 34px; } }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-float); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .74rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(35,78,138,.14);
}
.field textarea { min-height: 128px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form .btn-primary { width: 100%; margin-top: .3rem; }
.form-note { font-size: .84rem; color: var(--ink-soft); margin: .9rem 0 0; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; font-size: .95rem; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f1e8; color: #2E5039; border: 1px solid #c4ddc8; }
.form-status.err { display: block; background: #fbeae6; color: #8a3417; border: 1px solid #eccabe; }
.opt { font-weight: 400; color: var(--ink-soft); }

/* Tippgeber: So funktioniert es */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid rgba(22, 38, 63, .09);
  border-radius: 14px;
  padding: 30px 28px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 .5rem; font-size: 1.18rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
}

/* Tippgeber-Formular */
.referral-wrap { max-width: 620px; margin: 0 auto; }
.ref-result {
  background: #fff;
  border: 1px solid rgba(22, 38, 63, .12);
  border-radius: 14px;
  padding: 34px 32px;
  box-shadow: 0 18px 40px -28px rgba(22, 38, 63, .35);
}
.ref-result > .eyebrow { text-align: center; }
.ref-result p { color: var(--ink-soft); margin: 1rem 0 0; }
.ref-result p strong { color: var(--ink); }
.ref-fine { font-size: .9rem; padding-top: 1rem; margin-top: 1rem !important; border-top: 1px solid rgba(22, 38, 63, .08); }
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--panel);
  border: 1px solid rgba(22, 38, 63, .14);
  border-radius: 10px;
  padding: 16px 18px;
  margin: .8rem 0 .4rem;
}
.code-box #ref-code-out {
  font-family: var(--sans);
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--navy);
  user-select: all;
}
.code-copy {
  flex: none;
  border: 1px solid rgba(22, 38, 63, .18);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  font-size: .88rem;
  padding: .5rem .9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.code-copy:hover { background: var(--panel); border-color: rgba(22, 38, 63, .3); }

/* Teilnahmebedingungen: Popup */
.terms-dialog {
  position: relative;
  border: none;
  border-radius: 16px;
  padding: 0;
  width: min(640px, calc(100% - 32px));
  max-height: min(84vh, 760px);
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(16, 26, 40, .55);
}
.terms-dialog::backdrop { background: rgba(16, 26, 40, .55); }
.terms-body { padding: 40px 34px 34px; max-height: inherit; overflow-y: auto; }
.terms-title { font-size: 1.5rem; margin: 0 0 1rem; padding-right: 1.5rem; }
.terms-body p { color: #333F4E; margin: 0 0 1rem; }
.terms-body .terms-list { list-style: none; counter-reset: t; padding: 0; margin: 1.2rem 0 0; }
.terms-body .terms-list li { counter-increment: t; position: relative; padding: 0 0 1.2rem 3rem; color: #333F4E; }
.terms-body .terms-list li::before {
  content: counter(t);
  position: absolute; left: 0; top: -2px;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 800; font-size: .95rem;
}
.terms-body .terms-list li strong { display: block; color: var(--ink); margin-bottom: .25rem; }
.terms-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 34px; height: 34px;
  border: none; border-radius: 50%;
  background: var(--panel); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.terms-close:hover { background: #e4e8ee; }

.contact-card { order: -1; background: var(--panel); border-radius: 14px; padding: 30px 32px; }
.contact-card h3 { font-size: 1.7rem; margin-bottom: .2rem; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; font-size: 1.05rem; }
.contact-list li:last-child { margin-bottom: 0; }
.contact-list .ic { color: var(--accent); flex: none; width: 26px; height: 26px; margin-top: 2px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent-deep); text-decoration: underline; }
.contact-list .sub { display: block; font-size: .9rem; color: var(--ink-soft); font-weight: 500; margin-top: .1rem; }

/* ---------- Prose (Über uns, Rechtstexte) ---------- */
.prose { max-width: 64ch; margin: 0 auto; }
.prose p { font-size: 1.1rem; color: #333F4E; margin-bottom: 1.15rem; }
.prose .pledge {
  margin: 1.9rem 0; padding: 1.25rem 1.5rem; background: var(--panel);
  border-radius: 14px;
  font-size: 1rem; color: var(--ink);
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-intro { padding: 52px 0; background: var(--panel); border-bottom: 1px solid var(--line); text-align: center; }
.page-intro .eyebrow { color: var(--terracotta); }
.page-intro h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-intro p { max-width: 58ch; margin-left: auto; margin-right: auto; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #D7DEE8; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer .brand { color: #fff; margin-bottom: .8rem; }
.site-footer .brand .roof { color: #C9D8EE; }
.site-footer h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #8FA1B7; margin: 0 0 .9rem; }
.site-footer a { color: #D7DEE8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; font-size: .96rem; }
.site-footer .fcontact { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer .fcontact svg { flex: none; opacity: .8; }
.site-footer .fcontact:hover svg { opacity: 1; }
.site-footer .fcontact.wa {
  margin-top: .15rem;
  gap: .45rem;
  padding: .42rem .9rem;
  border-radius: 999px;
  background: #25D366;
  color: #06331b;
  font-weight: 700;
  text-decoration: none;
}
.site-footer .fcontact.wa svg { opacity: 1; }
.site-footer .fcontact.wa:hover { background: #20bd5a; color: #06331b; text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .84rem; color: #8FA1B7;
}
.footer-bottom a { color: #8FA1B7; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .65s var(--ease), transform .65s var(--ease); }

.cards .card.reveal.in:nth-child(2) { transition-delay: .1s; }
.cards .card.reveal.in:nth-child(3) { transition-delay: .2s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.hero .eyebrow, .hero h1, .hero .lead, .hero-cta, .hero-facts {
  animation: hero-rise .6s var(--ease) both;
}
.hero h1     { animation-delay: .12s; }
.hero .lead  { animation-delay: .24s; }
.hero-cta    { animation-delay: .36s; }
.hero-facts  { animation-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg { transform: none; }
  .hero .eyebrow, .hero h1, .hero .lead, .hero-cta, .hero-facts { animation: none !important; }
  .map-frame.reveal.in .map-clip img { animation: none !important; }
  .map-block .reveal .legend li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .card-img, .field input, .field textarea { transition: none !important; }
  .card:hover, .card:hover .card-img { transform: none !important; }
  .scroll-progress { display: none; }
}

/* ---------- Tastatur-Fokus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
