/* ═══════════════════════════════════════════════════════════
   my sigma green invest — Landingpage Standortinhaber (v5)
   Design Tokens — Quelle: MS Greeninvest Styleguide v1.0
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Night (Primär-Anker) */
  --night: #1A1A2E;
  --night-800: #252540;

  /* Forest (Primär-Akzent, Markenfarbe) */
  --forest: #2D7A4F;
  --forest-600: #3A9264;
  --forest-50: #EAF5EE;
  --forest-100: #D7ECDF;
  --forest-hover: #226040;

  /* Stone-Warm (neutral) — stone-600 neu: WCAG-AA-konform für Fließtext auf Weiß (~5.3:1) */
  --stone: #4A4A44;
  --stone-600: #6B6B62;
  --stone-400: #8A8A82;
  --stone-200: #D0D0C8;
  --stone-100: #EDEDE7;

  /* Chalk (warmes Creme-Weiß, Premium-Hintergrund) */
  --chalk-50: #FAF8F5;
  --surface-alt: #F4F4F9;
  --white: #FFFFFF;

  /* Fonts */
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 6px 20px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(26, 26, 46, 0.14);

  /* Radius */
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;

  /* Layout */
  --content-max: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(48px, 8vw, 88px);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--chalk-50);
  color: var(--night);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
input, textarea, button, select { font-family: inherit; font-size: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease, background-color 0.15s ease; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 14px;
}
.eyebrow--on-dark { color: rgba(255, 255, 255, 0.65); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--night);
  line-height: 1.18;
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
}
.section-title--on-dark { color: #fff; font-weight: 300; }
.section-title em { font-style: italic; color: var(--forest); }
.section-title--on-dark em { color: #fff; }

.section-lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone-600);
  margin: 0;
  max-width: 62ch;
}
.section-lede--on-dark { color: rgba(255, 255, 255, 0.8); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  border: none;
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-hover); box-shadow: var(--shadow-md); }
.btn-on-forest { background: #fff; color: var(--forest); }
.btn-on-forest:hover { background: var(--forest-50); }
.btn-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--night);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover { color: var(--forest); }
.btn-link svg { transition: transform 0.15s ease; }
.btn-link:hover svg { transform: translateX(3px); }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--forest);
  transition: box-shadow 0.2s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px;
  gap: 24px;
}
.nav__logo { height: 30px; width: auto; flex-shrink: 0; }
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-600);
  white-space: nowrap;
}
.nav__link:hover { color: var(--forest); }
.nav__cta { white-space: nowrap; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__toggle-bars {
  position: relative;
  width: 22px;
  height: 16px;
}
.nav__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--night);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 7px; }
.nav__toggle-bars span:nth-child(3) { top: 14px; }
.nav.is-open .nav__toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav.is-open .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 2px solid var(--forest);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav.is-open .nav__links { max-height: 420px; }
  .nav__link, .nav__cta {
    padding: 16px var(--pad-x);
    border-top: 1px solid var(--stone-100);
    width: 100%;
    text-align: left;
    border-radius: 0;
  }
  .nav__cta { justify-content: flex-start; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--chalk-50) 0%, #F6F3EE 100%);
  padding-block: var(--section-y);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.hero__measure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--forest);
}
.hero__measure span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--forest);
  white-space: nowrap;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4rem);
  line-height: 1.06;
  color: var(--night);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--forest); }
.hero__actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero__card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-m);
  padding: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.hero__card p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0 0 22px;
}
@media (min-width: 861px) {
  .hero__card { margin-top: 56px; }
}
.hero__illustration { margin-bottom: 20px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--night); }
.check-list li svg { flex-shrink: 0; color: var(--forest); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { margin-top: 0; }
}

/* ── Blueprint-Hintergrundraster (Hero/Kontakt) ──────────────── */
.blueprint-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.blueprint-grid-bg line { stroke: var(--night); opacity: 0.05; }
.blueprint-grid-bg .blueprint-tick { stroke: var(--forest); opacity: 0.14; }

/* ── Eckmarken (Corner-Marks) statt Top-Border ───────────────── */
.corner-marks { position: relative; }
.corner-marks::before,
.corner-marks::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.corner-marks::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--forest);
  border-left: 2px solid var(--forest);
}
.corner-marks::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--forest);
  border-right: 2px solid var(--forest);
}

/* ── Reveal-on-scroll ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Leistungen ───────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--loose { padding-block: clamp(64px, 10vw, 112px); }

.leistungen__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
  margin-bottom: 22px;
  align-items: stretch;
}
.leistungen__bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.illustration-panel {
  background: linear-gradient(155deg, var(--night) 0%, var(--night-800) 60%, var(--forest-hover) 130%);
  border-radius: var(--radius-l);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-top: 3px solid var(--forest);
  border-radius: var(--radius-m);
  padding: 30px;
}
.card-stack { display: flex; flex-direction: column; gap: 20px; }
.card__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 14px;
}
.card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--stone-600);
  margin: 0;
}

@media (max-width: 900px) {
  .leistungen__top, .leistungen__bottom { grid-template-columns: 1fr; }
  .illustration-panel { min-height: 220px; }
}

/* ── Fluss-Diagramm (Leistungen v6) ───────────────────────────── */
.flow-diagram {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: stretch;
  margin-top: 32px;
}
.flow-diagram__illustration { min-height: 100%; }
.flow-diagram__path {
  position: relative;
  display: flex;
  flex-direction: column;
}
.flow-diagram__line {
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--stone-200);
}
.flow-diagram__node {
  position: relative;
  padding: 0 0 30px 40px;
}
.flow-diagram__node:last-child { padding-bottom: 0; }
.flow-diagram__dot {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--forest);
}
.flow-diagram__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.flow-diagram__node p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-600);
  margin: 0;
}

@media (max-width: 900px) {
  .flow-diagram { grid-template-columns: 1fr; }
}

/* ── Hero-/Produkt-Illustration ───────────────────────────── */
.bess-illustration__ring { animation: bess-spin 50s linear infinite; transform-origin: 200px 150px; }
.bess-illustration__ring--fast { animation-duration: 34s; animation-direction: reverse; }
.bess-illustration__flow { stroke-dasharray: 5 9; animation: bess-dash 2.4s linear infinite; }
@keyframes bess-spin { to { transform: rotate(360deg); } }
@keyframes bess-dash { to { stroke-dashoffset: -56; } }

/* ── Branchen ─────────────────────────────────────────────── */
.branchen {
  background: #fff;
  padding-block: 30px;
  border-bottom: 1px solid var(--stone-200);
}
.branchen-row { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; }
.branchen-row__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.branchen-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--night);
}
.branchen-dot { color: var(--forest); margin-right: 8px; }
.branchen-tag__icon {
  display: inline-flex;
  margin-right: 8px;
  color: var(--forest);
  vertical-align: -6px;
}
.branchen-tag--divider { color: var(--stone-200); }

/* ── Eigentümer / Modelle ─────────────────────────────────── */
.owner-section { background: var(--forest); padding-block: var(--section-y); }
.owner-section__intro { max-width: 720px; margin-bottom: 48px; }
.owner-section__intro h2 em { font-style: italic; }
.owner-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; }
.owner-branch {
  position: absolute;
  inset: -40px 0 auto 0;
  height: 40px;
  width: 100%;
  pointer-events: none;
}
.owner-branch line { stroke: rgba(255,255,255,0.3); stroke-width: 1; }
.owner-branch circle { fill: rgba(255,255,255,0.5); }
.model-card {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.model-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(0,0,0,0.18); }
.model-card--primary { position: relative; }
.model-card__marker {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--night);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-s);
}
.model-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.model-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--stone-600);
  margin: 0 0 20px;
}
.model-card__list { display: flex; flex-direction: column; }
.model-card__item {
  padding: 15px 0;
  border-top: 1px solid var(--stone-200);
}
.model-card__item:last-child { border-bottom: 1px solid var(--stone-200); }
.model-card__item-title { font-size: 13px; font-weight: 600; color: var(--night); margin-bottom: 3px; }
.model-card__item-text { font-size: 13px; font-weight: 300; color: var(--stone-600); }
.owner-section__footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.owner-section__note { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.8); }

@media (max-width: 800px) {
  .owner-grid { grid-template-columns: 1fr; }
}

/* ── Ablauf / Prozess ─────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  position: relative;
}
.process-line {
  position: absolute;
  top: 18px;
  left: calc(12.5% - 1px);
  right: calc(12.5% - 1px);
  height: 1px;
  background: var(--stone-200);
}
.process-step { position: relative; }
.process-node { position: relative; margin-bottom: 14px; }
.process-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--chalk-50);
  border: 1px solid var(--forest);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
}
.process-title { font-size: 14px; font-weight: 600; color: var(--night); margin-bottom: 6px; }
.process-text { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--stone-600); }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process-line { display: none; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ── FAQ (native accordion) ───────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  max-width: 1100px;
  margin-top: 8px;
}
.faq-item {
  border-bottom: 1px solid var(--stone-200);
  padding: 6px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--night);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--forest-50); }
.faq-item[open] { border-left: 2px solid var(--forest); padding-left: 14px; margin-left: -16px; }
.faq-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--stone-600);
  margin: 0 0 18px;
  padding-right: 36px;
}

@media (max-width: 800px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ── Über uns ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 56px;
  align-items: start;
  max-width: 1100px;
}
.about-grid p { font-size: 14px; line-height: 1.7; color: var(--stone-600); margin: 0 0 20px; }
.about-grid h2 { margin-bottom: 20px; }
.about-visual { display: flex; flex-direction: column; gap: 18px; }
.about-visual__region {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-visual { max-width: 220px; }
}

/* ── Kontakt ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info { position: relative; padding: 4px; }
.contact-info p { font-size: 14px; line-height: 1.65; color: var(--stone-600); margin: 0 0 30px; }
.contact-info__meta { font-size: 13px; color: var(--stone-600); line-height: 2.2; }
.contact-info__meta a { color: var(--forest); }
.contact-info__meta a:hover { text-decoration: underline; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form fieldset { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.form legend {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-600);
  padding: 0;
  margin-bottom: 3px;
}
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-s);
  padding: 10px 15px;
  font-size: 13px;
  color: var(--night);
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.radio-pill:has(input:checked) { border-color: var(--forest); background: var(--forest-50); }
.radio-pill input { accent-color: var(--forest); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.field input, .field textarea {
  border: 1px solid var(--stone-200);
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--night);
  outline: none;
  border-radius: var(--radius-s);
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--forest-100);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: var(--stone-600);
  line-height: 1.5;
}
.consent input { margin-top: 3px; accent-color: var(--forest); }
.consent a { color: var(--forest); }
.consent a:hover { text-decoration: underline; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  font-size: 13px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--forest-50); color: var(--forest-hover); }
.form-status--error { background: #FBEAEA; color: #A33131; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--night);
  padding-block: 22px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: 11px; color: rgba(255,255,255,0.4); }
.footer__links { display: flex; gap: 28px; }
.footer__links a { font-size: 11px; color: rgba(255,255,255,0.4); }
.footer__links a:hover { color: #fff; }

/* ── Legal ────────────────────────────────────────────────── */
.legal { background: #fff; padding-block: 56px; border-top: 1px solid var(--stone-200); }
.legal--alt { background: var(--surface-alt); }
.legal__box { max-width: 640px; }
.legal__box h2 { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--night); margin: 0 0 20px; }
.legal__box p { font-size: 13px; line-height: 1.9; color: var(--stone-600); margin: 0 0 16px; }
.legal__box a { color: var(--forest); }
.legal__box a:hover { text-decoration: underline; }
.legal__hint { color: var(--stone-400); font-size: 12px; }

/* ── Legal-Page-Header (Impressum/Datenschutz als eigene Seiten) ── */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--chalk-50); }
.legal-header {
  border-bottom: 2px solid var(--forest);
  background: rgba(255, 255, 255, 0.92);
}
.legal-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px;
  gap: 24px;
}
.legal-header__logo { height: 26px; width: auto; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.legal-back:hover { color: var(--forest); }
.legal-back svg { transition: transform 0.15s ease; }
.legal-back:hover svg { transform: translateX(-3px); }
.legal-page .legal { flex: 1; border-top: none; }

@media (max-width: 620px) {
  .field-row.contact-name-email { grid-template-columns: 1fr; }
}
