/* ============================================================
   Beckmann Immobilien — Immobilien-Direktankauf Ludwigsburg
   Farbwelt: Tanne & Messing · Typografie: Fraunces / Instrument Sans
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/fonts/instrumentsans.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/fonts/instrumentsans-italic.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FBFAF7;
  --limestone: #F2EEE5;
  --ink: #17271F;
  --pine: #1E3B2D;
  --pine-deep: #12241B;
  --sage: #5C7061;
  --brass: #A5824A;
  --brass-soft: #C8AF83;
  --line: #E4DED0;
  --line-dark: rgba(251, 250, 247, 0.16);

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(5rem, 10vw, 8.5rem);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--pine); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--pine);
  color: var(--paper);
  text-decoration: none;
  border-radius: 0 0 3px 3px;
}
.skip-link:focus { top: 0; }

/* Briefpapier-Detail: feine Messinglinie am oberen Seitenrand */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--brass-soft));
  z-index: 120;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

[id] { scroll-margin-top: 96px; }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 380;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}
.display em, .h-section em {
  font-style: italic;
  font-weight: 340;
  color: var(--pine);
}
.h-section {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  max-width: 21ch;
}
.h-card {
  font-size: 1.35rem;
  font-weight: 480;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--brass);
}

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--pine);
}

.muted { color: var(--sage); }
.sub {
  color: var(--sage);
  max-width: 52ch;
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--pine);
  color: var(--paper);
}
.btn-primary:hover { background: var(--pine-deep); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--pine); }

.btn-light {
  background: var(--paper);
  color: var(--pine-deep);
}
.btn-light:hover { background: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--pine);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-soft);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { border-color: var(--pine); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 3px;
  left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}

.wordmark {
  display: inline-block;
  text-decoration: none;
  line-height: 1.1;
}
.wordmark .wm-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 460;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.wordmark .wm-sub {
  display: block;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.82;
  transition: opacity 0.2s;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover {
  opacity: 1;
  border-bottom-color: var(--brass);
}
.main-nav a.header-cta {
  margin-left: 0.5rem;
  padding: 0.7rem 1.3rem;
  color: var(--paper);
  opacity: 1;
  border-bottom: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* Mobile Overlay-Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 380;
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: none; }
body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.75rem; }
.hero-copy .display { margin-bottom: 1.5rem; }
.hero-sub {
  font-size: 1.125rem;
  color: var(--sage);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

.proof-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
}
.proof-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.98rem;
  font-weight: 500;
}
.check {
  flex: none;
  color: var(--brass);
  font-weight: 600;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-figure .frame {
  position: relative;
  z-index: 1;
}
/* Messing-Passepartout: exakt bildgroß, versetzt hinter dem Porträt */
.hero-figure .frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translate(18px, 18px);
  border: 1px solid var(--brass-soft);
  border-radius: 2px;
}
.hero-figure .frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
}
.figure-caption {
  margin-top: 2.4rem; /* unterhalb der versetzten Rahmenlinie */
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}
.figure-caption b { color: var(--ink); font-weight: 600; }

/* ---------- Faktenleiste ---------- */
.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 2rem 1.75rem 2rem 0;
  border-left: 1px solid var(--line);
  padding-left: 1.75rem;
}
.fact:first-child { border-left: none; padding-left: 0; }
.fact-value {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--pine);
  line-height: 1.15;
}
.fact-label {
  font-size: 0.85rem;
  color: var(--sage);
  margin-top: 0.3rem;
  line-height: 1.45;
}

/* ---------- Sektionen allgemein ---------- */
.section { padding-block: var(--section-pad); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head .sub { margin-top: 1.25rem; }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about-sticky { position: sticky; top: 7.5rem; }
.about-sticky .eyebrow { margin-bottom: 1.4rem; }
.about-sticky .h-section { margin-bottom: 2rem; }
.about-body .lead { margin-bottom: 1.75rem; }
.about-body p + p { margin-top: 1.25rem; }

.checklist {
  margin-block: 2.25rem;
  border-top: 1px solid var(--line);
}
.checklist li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.checklist b { font-weight: 550; }
.checklist span.rest { color: var(--sage); }

/* ---------- Ankaufsprofil + Karte ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.criteria { border-top: 1px solid var(--line); }
.criterion {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.criterion-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.5rem;
}
.criterion h3 { margin-bottom: 0.45rem; }
.criterion p { color: var(--sage); font-size: 0.98rem; }
.profile-note {
  margin-top: 2rem;
  max-width: 46ch;
}
.profile-note p { margin-bottom: 1rem; }

.map-figure { position: relative; }
.map-figure svg {
  width: 100%;
  height: auto;
  display: block;
}
.map-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Karten-Typografie & Animation */
.map-town-label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  fill: var(--sage);
}
.map-center-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--ink);
}
.map-ring-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  fill: var(--brass);
}
.map-dot, .map-label-group { opacity: 0; transition: opacity 0.7s var(--ease); }
.map-ring { opacity: 0; transform-origin: 280px 280px; transform: scale(0.85); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.in-view .map-ring { opacity: 1; transform: scale(1); }
.in-view .map-dot, .in-view .map-label-group { opacity: 1; }

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  list-style: none;
}
.step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.step::before {
  content: '';
  position: absolute;
  top: -3px; left: 0;
  width: 3rem;
  height: 5px;
  background: var(--brass);
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.1rem;
  font-weight: 350;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: 0.75rem; }
.step p { color: var(--sage); font-size: 0.98rem; }
.steps-cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Vorteile ---------- */
.section-advantages { background: var(--limestone); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.adv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2.25rem 2rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(23, 39, 31, 0.28);
}
.adv-icon {
  width: 30px;
  height: 30px;
  color: var(--pine);
  margin-bottom: 1.4rem;
}
.adv-card h3 { margin-bottom: 0.7rem; }
.adv-card p { color: var(--sage); font-size: 0.98rem; }

/* ---------- Tippgeber (dunkler Block) ---------- */
.section-network {
  background: var(--pine-deep);
  color: var(--paper);
}
.section-network .eyebrow { color: var(--brass-soft); }
.section-network .eyebrow::before { background: var(--brass-soft); }
.section-network .sub { color: rgba(251, 250, 247, 0.65); }
.section-network .h-section { color: var(--paper); }
.section-network .h-section em { color: var(--brass-soft); }
.network-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.network-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem 2.25rem;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: rgba(251, 250, 247, 0.03);
}
.network-card .network-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 1.5rem;
}
.network-card .network-highlight {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 350;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 1rem;
}
.network-highlight em { font-style: italic; color: var(--brass-soft); }
.network-card h3 { margin-bottom: 0.9rem; font-weight: 420; }
.network-card p {
  color: rgba(251, 250, 247, 0.65);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}
.network-card .text-link {
  margin-top: auto;
  color: var(--paper);
  border-bottom-color: var(--brass);
}
.network-card .text-link:hover { border-bottom-color: var(--paper); }
.network-note {
  margin-top: 2.25rem;
  font-size: 0.9rem;
  color: rgba(251, 250, 247, 0.5);
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 420;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--pine); }
.faq-marker {
  flex: none;
  position: relative;
  top: -2px;
  width: 14px;
  height: 14px;
  color: var(--brass);
}
.faq-marker::before, .faq-marker::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq-marker::before { top: 50%; left: 0; width: 100%; height: 1.5px; margin-top: -0.75px; }
.faq-marker::after { left: 50%; top: 0; height: 100%; width: 1.5px; margin-left: -0.75px; }
.faq-item[open] .faq-marker::after { transform: scaleY(0); }
.faq-answer {
  padding-bottom: 1.75rem;
  max-width: 60ch;
  color: var(--sage);
}
.faq-cta { margin-top: 3rem; }
.faq-cta p { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 1.25rem; }

/* ---------- Kontakt ---------- */
.section-contact { background: var(--limestone); }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-intro .eyebrow { margin-bottom: 1.4rem; }
.contact-intro .h-section { margin-bottom: 1.5rem; }
.contact-intro > p { color: var(--sage); max-width: 42ch; margin-bottom: 2rem; }
.contact-direct {
  margin-bottom: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-direct .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.35rem;
}
.contact-direct a {
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--brass-soft);
  transition: border-color 0.25s;
}
.contact-direct a:hover { border-bottom-color: var(--pine); }
.contact-figure { position: relative; max-width: 360px; }
.contact-figure img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.field { margin-bottom: 1.6rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.15rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.25s;
}
.field select { cursor: pointer; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--pine);
}
.consent {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--sage);
  margin-bottom: 1.75rem;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 0.3rem;
  accent-color: var(--pine);
}
.contact-form .btn { width: 100%; justify-content: center; }
.form-note {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--sage);
}
.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--brass-soft);
  border-radius: 2px;
  background: var(--limestone);
  font-size: 0.92rem;
}
.form-status.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 250, 247, 0.6);
  padding-block: 3.5rem 2.5rem;
  font-size: 0.9rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer .wordmark .wm-name { color: var(--paper); }
.footer-tagline { margin-top: 0.9rem; max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a, .footer-legal a {
  color: rgba(251, 250, 247, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
}
.footer-legal { display: flex; gap: 1.5rem; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal-page {
  padding-top: clamp(9rem, 18vh, 12rem);
  padding-bottom: var(--section-pad);
  max-width: 760px;
}
.legal-page h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.4rem; margin: 2.5rem 0 0.9rem; }
.legal-page p + p { margin-top: 0.9rem; }
.legal-page .back { margin-bottom: 2rem; display: inline-flex; }

/* ---------- Reveal-Animationen ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .map-ring, .map-dot, .map-label-group { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .main-nav.always-visible { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; }
  .about-grid, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-sticky { position: static; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .map-figure { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .steps, .adv-grid, .network-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding-block: 1.5rem; }
  .fact-value { font-size: 1.5rem; }
  .criterion { grid-template-columns: 1fr; gap: 0.5rem; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .footer-bottom, .footer-top { flex-direction: column; }
}
