/* Design-Tokens: Farben aus Logo und Vorlage, Schriften lokal eingebunden */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
}

/* Cormorant Garamond zeichnet den Bindestrich schräg – das ist eine Eigenart
   dieser Schrift, kein Fehler im Text. In Überschriften wie „Objekt-Check"
   fällt es auf. Diese Zuordnung holt ausschließlich die Bindestrich-Zeichen
   aus DM Sans, wo sie gerade sind; alle anderen Buchstaben bleiben Cormorant.
   Die Schriftdatei ist ohnehin geladen, es kommt kein Download dazu.
   Der Gedankenstrich (–, U+2013) ist bewusst nicht dabei – er ist auch in
   Cormorant waagerecht. */
@font-face {
  font-family: "Gerader Bindestrich";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+002D, U+2010, U+2011;
}

:root {
  color-scheme: dark;

  /* Flächen */
  --navy-950: #071520;
  --navy-900: #0a1a28;
  --navy-800: #0d1f30;
  --navy-700: #132a40;
  --navy-600: #1c3045;

  /* Marke */
  --gold: #cfa143;
  --gold-light: #e2b967;
  --sand: #e6d0ae;
  --slate: #657e98;

  /* Text – Kontrast auf allen Navy-Flächen >= 6:1 */
  --text: #e2e5e9;
  --text-muted: #a9b4c4;
  --error: #f09a8a;

  /* Linien und Tönungen */
  --line: rgba(230, 208, 174, 0.14);
  --line-strong: rgba(230, 208, 174, 0.3);
  --gold-tint: rgba(207, 161, 67, 0.08);

  --font-serif: "Gerader Bindestrich", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Höchstens neun Schriftgrößen auf der gesamten Website.
     Die Abstufung folgt den Verhältnissen der ursprünglichen Fassung.
     Keine weiteren font-size-Angaben ergänzen – alles nutzt diese neun Werte. */
  --fs-3xs: 10px;                        /* 0 – nur die Quellenangabe im Kennzahlenstreifen */
  --fs-2xs: 12px;                        /* 1 – Mikro-Labels: Kennzahlen, Laufband, Tabellenköpfe */
  --fs-xs: 13px;                         /* 2 – Quellenangaben, Hinweise, Fußzeile, Buttons */
  --fs-small: 15px;                      /* 3 – Navigation, Formularbeschriftungen */
  --fs-body: 17px;                       /* 4 – Fließtext */
  --fs-lead: 19px;                       /* 5 – Einleitungstexte, Eingabefelder */
  --fs-badge: 22px;                      /* 6 – Ziffern in Kreisen */
  --fs-sub: clamp(24px, 2.4vw, 30px);    /* 7 – Überschriften in Karten und Listen */
  --fs-head: clamp(34px, 4.4vw, 56px);   /* 8 – Seiten- und Abschnittstitel, große Zahlen */

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Grundlagen: Reset, Typografie, Layout-Helfer */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Genau die Höhe der Kopfzeile: Ein größerer Wert würde beim Springen
     einen Streifen des vorherigen Abschnitts darunter sichtbar lassen. */
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--navy-800);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-variant-numeric: lining-nums;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  font-weight: 400;
  line-height: 1.12;
}

/* Lange deutsche Wörter mit Trennstrich umbrechen, nicht hart abschneiden.
   hyphens nutzt die Silbentrennung zu lang="de"; anywhere greift erst,
   wenn selbst die Trennung nicht reicht. */
h1,
h2,
h3,
h4,
dt {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

h1,
h2,
h3,
h4 {
  overflow-wrap: normal;
  word-break: normal;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--navy-800);
}

/* Layout */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow {
  --container: 880px;
}

/* Jeder Abschnitt füllt den Bildschirm und zentriert seinen Inhalt.
   min-height statt height: längere Abschnitte dürfen wachsen statt abzuschneiden. */
.section {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: var(--section-y);
}

.section > .container {
  width: min(100% - 2 * var(--gutter), var(--container));
}

.section--alt {
  background: var(--navy-700);
}

/* Unterseiten: Platz für den festen Header */
body:not(.page-home) main {
  padding-top: var(--header-h);
}

body:not(.page-home) .section:first-child {
  min-height: calc(100svh - var(--header-h));
}

.section--fill {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.split--center {
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Typografie */

.label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 24px;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1.12;
}

/* Überschriften brechen immer am Satzende um, nicht mitten im Satz */
.section-title em,
.page-intro__title em,
.cta-band__title em {
  display: block;
  color: var(--sand);
  font-style: italic;
}

.lead {
  color: var(--text-muted);
  font-size: var(--fs-lead);
}

.muted {
  color: var(--text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.link-arrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  width: 44px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 500 var(--fs-xs)/1.2 var(--font-sans);
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.button--gold {
  background: var(--gold);
  color: var(--navy-800);
}

.button--gold:hover,
.button--gold:focus-visible {
  background: var(--gold-light);
}

.button--outline {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--gold);
  color: var(--navy-800);
}

.button--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--text);
}

/* Barrierefreiheit */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy-800);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Einblenden beim Scrollen (nur mit JavaScript) */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Komponenten */

/* ---------- Header und Navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.35s var(--ease);
}

/* Beim Herunterscrollen ausblenden – kommt beim Hochscrollen,
   am Seitenanfang und bei Maus am oberen Rand zurück. */
.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-solid,
body:not(.page-home) .site-header {
  border-bottom-color: var(--line);
  background: rgba(13, 31, 48, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 2 * var(--gutter), 1320px);
  height: 100%;
  margin-inline: auto;
}

.site-header__logo {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.site-header__logo img {
  width: auto;
  height: 38px;
}

/* Das Logo ist breit (7,2 : 1). Auf dem Handy stuende es sonst 24 px vor dem
   Menueknopf; 32 px Hoehe schaffen rund 80 px Luft. Keine andere Regel setzt
   diese Hoehe spaeter noch einmal, die Reihenfolge ist also unkritisch. */
@media (max-width: 600px) {
  .site-header__logo img {
    height: 32px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav__list {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  position: relative;
  padding-block: 6px;
  color: var(--text);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a[aria-current] {
  color: var(--gold);
}

.site-nav__list a:hover::after,
.site-nav__list a[aria-current]::after {
  transform: scaleX(1);
}

.site-nav__cta {
  min-height: 40px;
  padding: 8px 18px;
  font-size: var(--fs-2xs);
}

.nav-toggle,
.nav-fallback {
  display: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: none;
    font-size: var(--fs-small);
    cursor: pointer;
  }

  .nav-toggle__bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    transform: translateY(-4.25px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    padding: calc(var(--header-h) + 16px) 24px 32px;
    overflow-y: auto;
    background: var(--navy-800);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  /* Auto-Ränder zentrieren den Inhalt, ohne ihn bei wenig Höhe abzuschneiden */
  .site-nav__list {
    margin-top: auto;
  }

  .site-nav__cta {
    flex-shrink: 0;
    margin-bottom: auto;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* Enger als vorher, obwohl die Punkte größer sind: Sonst passen die sieben
     Punkte und der Knopf auf einem Telefon nicht mehr ohne Scrollen aufs Bild. */
  .site-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  /* Im aufgeklappten Menü sind die Punkte so groß wie ein Abschnittstitel.
     In der Kopfzeile bleiben sie klein – dort gilt .site-nav__list a oben. */
  .site-nav__list a {
    font-family: var(--font-serif);
    font-size: var(--fs-head);
  }

  .site-nav__cta {
    min-height: 56px;
    padding: 14px 28px;
    font-size: var(--fs-small);
  }

  .nav-open {
    overflow: hidden;
  }

  .no-js .nav-toggle,
  .no-js .site-nav {
    display: none;
  }

  .no-js .nav-fallback {
    display: inline-block;
    color: var(--text);
    font-size: var(--fs-small);
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
}

/* ---------- Hero ---------- */

/* Hero füllt genau einen Bildschirm: Inhalt, Kennzahlen und Laufband
   liegen gemeinsam darin, das Laufband ist dadurch ohne Scrollen sichtbar. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background:
    radial-gradient(110% 70% at 50% 0%, #18304a 0%, rgba(13, 31, 48, 0) 60%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
}

/* Münchner Silhouette: Die hohen Bauten stehen am linken und rechten Rand und
   dürfen deshalb über die Unterkante der beiden Hero-Karten hinausragen –
   in der Mitte, hinter den Karten, bleibt sie flach. */
.hero__skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  color: var(--gold);
  stroke-width: clamp(1px, 0.07vw, 1.8px);
  opacity: 0.6;
}

.hero__skyline path {
  vector-effect: non-scaling-stroke;
}

.hero__skyline .m {
  opacity: 0.75;
}

.hero__skyline .f {
  opacity: 0.45;
}

.hero__inner {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(32px, 6vh, 64px) clamp(40px, 7vh, 72px);
  text-align: center;
}

.hero__label {
  margin-bottom: 28px;
}

/* `picture` darf kein eigenes Kaestchen bilden, sonst aendert sich die
   Hero-Ausrichtung. `display: contents` laesst das Bild genau dort sitzen,
   wo frueher das blosse <img> stand. */
.hero__logo-wahl {
  display: contents;
}

/* Alle Breiten des Hero-Logos stehen bewusst hier beieinander und nicht
   verteilt in den Hoehen-Abfragen weiter unten - sonst ueberschreibt die
   spaetere Regel die fruehere, und die Staffelung kippt.
   Die Unterzeile ist 23,19 von 335,08 Einheiten hoch, also rund 2,8 % der
   Logobreite. Lesbar wird sie ab etwa 300px Logobreite (8,5px).
   Die drei Stufen passen genau zu den Bedingungen im <picture> auf der
   Startseite - wo die Fassung ohne Unterzeile ausgeliefert wird, darf das
   Logo wieder klein sein. */
.hero__logo {
  width: clamp(300px, 26vw, 380px);
  margin-bottom: clamp(28px, 4vh, 40px);
}

/* Flach, aber breit - der typische Laptop mit 1440x800. Gemessen: der Hero
   endet dort bei 601px, es bleiben 199px frei. Platz fuer 330px ist da. */
@media (max-height: 900px) and (min-width: 761px) {
  .hero__logo {
    width: clamp(260px, 40vh, 330px);
    margin-bottom: 12px;
  }
}

/* Schmal oder sehr flach (Handy hoch wie quer): hier liefert <picture> die
   Fassung ohne Unterzeile, das Logo darf also klein bleiben. */
@media (max-width: 760px), (max-height: 620px) {
  .hero__logo {
    width: clamp(150px, 24vh, 240px);
    margin-bottom: 12px;
  }
}

.hero__title {
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1.05;
}

/* Beide Zeilen sind zentrierte Blöcke: Der Text wächst beim Tippen
   symmetrisch aus der Mitte und steht immer mittig unter dem Logo. */
.hero__line,
.hero__word {
  display: block;
  text-align: center;
}

.hero__word {
  color: var(--gold);
}

[data-typewriter].is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.8em;
  margin-left: 4px;
  background: var(--gold);
  vertical-align: -0.05em;
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.hero__lead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: var(--fs-lead);
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  width: min(820px, 100%);
  margin-top: clamp(32px, 5vh, 48px);
}

/* Rahmen eng am Text: Höhe ergibt sich aus dem Inhalt, nicht aus einer Mindesthöhe */
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(13, 31, 48, 0.55);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.hero-card:hover,
.hero-card:focus-visible {
  border-color: var(--gold);
  background: rgba(28, 48, 69, 0.75);
}

.hero-card__title {
  font-size: var(--fs-body);
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-card__more {
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.hero-card:hover .hero-card__more,
.hero-card:focus-visible .hero-card__more {
  color: var(--gold);
}

/* Mittelhohe Fenster – Full-HD mit Browserleisten. Gemessen am 27.11.2026:
   Bei 902 px Fensterhoehe war der Hero 955 px hoch, das Laufband also unten
   um 53 px angeschnitten; bei 950 px um 16 px. Ab 1000 px passt es von
   selbst. Die volle Verdichtung der naechsten Regel waere hier zu viel, sie
   schrumpft das Logo auf die Haelfte. Es genuegt, die Innenabstaende zu
   kuerzen. Weil `.hero__inner` mit `flex: 1` zentriert, wirkt das nur dort,
   wo der Inhalt sonst ueberlaeuft – bei genug Platz bleibt alles wie gehabt.
   Diese Regel und die naechste schliessen sich gegenseitig aus (901+ gegen
   900-), die Reihenfolge ist also unkritisch. */
@media (min-height: 901px) and (max-height: 1000px) {
  .hero__inner {
    padding-block: 28px 32px;
  }

  .hero__logo {
    margin-bottom: 28px;
  }

  .hero__cards {
    margin-top: 32px;
  }
}

/* Niedrige Bildschirme (Laptops): Hero verdichten, damit Kennzahlen und
   Laufband ohne Scrollen sichtbar bleiben. */
@media (max-height: 900px) {
  .hero__inner {
    padding-block: 16px 20px;
  }

  .hero__label {
    margin-bottom: 10px;
  }

  /* Die Breite des Hero-Logos steht bewusst NICHT hier, sondern oben bei
     .hero__logo - sonst wuerde diese spaetere Regel die dortige Staffelung
     ueberschreiben. */

  .hero__title {
    margin-bottom: 10px;
  }

  .hero__lead {
    margin-bottom: 0;
  }

  .hero__cards {
    margin-top: 18px;
  }

  .hero-card {
    gap: 6px;
    padding: 12px 16px;
  }

  .facts__item {
    padding-block: 12px;
  }

  .marquee {
    padding-block: 10px;
  }
}

@media (max-width: 560px) {
  .hero__cards {
    gap: 12px;
  }

  .hero-card {
    gap: 12px;
    min-height: 120px;
    padding: 16px 10px;
  }

  .hero-card__title {
    font-size: var(--fs-body);
    letter-spacing: 0.16em;
  }
}

@media (max-width: 340px) {
  .hero__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Kennzahlen am Hero-Ende */

.hero__facts {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 26, 40, 0.55) 0%, rgba(10, 26, 40, 0.92) 100%);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.facts__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line-strong);
}

/* Trennlinien nur zwischen den Kennzahlen, nicht links vor der ersten */
.facts__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.facts__item dd {
  margin: 0;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1;
  white-space: nowrap;
}

.facts__item dt {
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Quellenangabe. Sie lief früher als eigene Zeile unter der Beschriftung und
   machte damit die ganze Rasterzeile – also den ganzen Streifen – höher.
   Jetzt steht sie als normaler Text direkt hinter „Umland" auf derselben
   Zeile, klein und unauffällig. */
.facts__source {
  font-size: var(--fs-3xs);
  letter-spacing: 0.06em;
  text-transform: none;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Laufband ---------- */

.marquee {
  position: relative; /* liegt über der Silhouette, sonst laufen deren Linien durch den Text */
  overflow: hidden;
  padding-block: 16px;
  border-block: 1px solid var(--line);
  background: var(--navy-950);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- Kennzahl-Karten ---------- */

.stat-cards {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--navy-700);
}

.stat-card__value {
  margin: 0 0 8px;
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1;
}

.stat-card__label {
  margin: 0;
}

.stat-card__source {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.stat-card__source a {
  color: inherit;
  text-underline-offset: 3px;
}

.stat-card__source a:hover {
  color: var(--gold);
}

/* ---------- Vorteile ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.benefit {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}

.benefit:hover {
  background: var(--gold-tint);
}

.benefit__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: var(--gold);
}

.benefit h3 {
  margin-bottom: 10px;
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
  font-weight: 500;
}

.benefit p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .benefits {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Vier nummerierte Kacheln nebeneinander („Vier Aufgaben", Über uns).
   Muss nach den Abfragen für .benefits stehen: Beide Regeln sind gleich
   stark, sonst gewänne bei schmalen Fenstern die dreispaltige Fassung. */
.benefits--vier {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .benefits--vier {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .benefits--vier {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Modell in drei Schritten ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--line-strong) 100%);
}

.timeline__step {
  position: relative;
  padding-top: 84px;
}

.timeline__no {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fs-badge);
}

.timeline__phase {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timeline__step h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.timeline__step p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .timeline::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 28px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--gold) 0%, var(--line-strong) 100%);
  }

  .timeline__step {
    min-height: 56px;
    padding: 0 0 0 84px;
  }
}

/* ---------- Vergleichstabelle ---------- */

.compare {
  width: 100%;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.compare thead .compare__highlight {
  border-top: 2px solid var(--gold);
  color: var(--gold);
}

.compare tbody th {
  width: 30%;
  font-weight: 500;
}

.compare td {
  color: var(--text-muted);
}

.compare td.compare__highlight {
  background: var(--gold-tint);
  color: var(--sand);
}

@media (max-width: 700px) {
  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .compare tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .compare th,
  .compare td {
    display: block;
    width: auto;
    padding: 4px 0;
    border: 0;
  }

  .compare tbody th {
    width: auto;
    margin-bottom: 6px;
  }

  .compare td::before {
    content: attr(data-label) ": ";
    color: var(--text-muted);
    font-size: var(--fs-2xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .compare td.compare__highlight {
    padding: 8px 12px;
    border-left: 2px solid var(--gold);
  }
}

/* ---------- Formularfelder ---------- */

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-small);
  font-weight: 500;
}

.field__control {
  display: flex;
  border: 1px solid var(--line-strong);
  background: var(--navy-950);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field__control:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(207, 161, 67, 0.25);
}

/* Nur die Eingaben im Rechner: Rahmen liegt dort auf dem Container.
   Wichtig eng gefasst, sonst verlieren die Formularfelder mit .control
   ihren eigenen Rahmen. */
.field__control input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-lead);
}

.field__control input:focus {
  outline: none;
}

.field__unit {
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.field__hint {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

/* ---------- Rechner-Teaser ---------- */

.calc-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  background: var(--navy-800);
}

.calc-teaser__result {
  display: grid;
  gap: 4px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}

.calc-teaser__label {
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.calc-teaser__value {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1.05;
}

.calc-teaser__sub {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.calc-teaser__sub strong {
  color: var(--text);
  font-weight: 500;
}

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 4px 28px 4px 24px;
  border-left: 1px solid var(--line-strong);
}

.step__no {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1;
}

.step h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Suchprofil ---------- */

/* Überschrift über der Kriterienliste. Serif wie die Kartentitel, damit sie
   sich von den Zeilenbeschriftungen der Liste absetzt, aber der großen
   Abschnittsüberschrift daneben nicht den Rang abläuft. */
.criteria__titel {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
  font-weight: 400;
  line-height: 1.15;
}

.criteria {
  margin: 0;
  border-top: 1px solid var(--line);
}

.criteria__row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.criteria dt {
  padding-top: 3px;
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.criteria dd {
  margin: 0;
}

.criteria__row--key dd {
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1.05;
}

/* Zusatz hinter der hervorgehobenen Zahl. Er muss aus der großen Schrift
   heraus: „zusammenhängende Gewerbefläche" ist in 56 px breiter als die
   Spalte und würde die Seite seitlich scrollbar machen. */
.criteria__zusatz {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  line-height: 1.4;
}

@media (max-width: 520px) {
  .criteria__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

.broker-note {
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--navy-800);
}

.broker-note__title {
  margin: 0 0 6px;
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
  line-height: 1.2;
}

.broker-note p {
  color: var(--text-muted);
}

.broker-note .link-arrow {
  margin-top: 4px;
}

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  background: var(--navy-600);
  object-fit: cover;
  object-position: 50% 15%;
}

.member__photo--monogram {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  letter-spacing: 0.06em;
}

.member__name {
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.member__role {
  margin: 0;
  color: var(--gold);
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Smartphones: kompakte Liste mit kleinem Bild */
@media (max-width: 560px) {
  .team {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .team .member {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }

  .team .member__photo {
    grid-row: span 2;
    aspect-ratio: 1;
    margin: 0;
  }

  .team .member__photo--monogram {
    font-size: var(--fs-body);
  }

  .team .member__name {
    align-self: end;
    margin: 0;
  }

  .team .member__role {
    align-self: start;
  }
}

/* Team mit Lebenslauf (Über uns) */

.bios {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
}

.bio {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.bio .member__photo {
  margin: 0;
}

.bio__name {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: var(--fs-head);
}

.bio .member__role {
  margin-bottom: 20px;
}

.bio p {
  max-width: 62ch;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .bio {
    grid-template-columns: minmax(0, 1fr);
  }

  .bio .member__photo {
    max-width: 220px;
  }
}

/* ---------- Unterseiten-Kopf ---------- */

.page-intro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 50% -20%, #18304a 0%, rgba(13, 31, 48, 0) 60%),
    var(--navy-800);
}

.page-intro__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 30% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 30% 20%, #000 10%, transparent 70%);
}

.page-intro .container {
  position: relative;
}

.page-intro__title {
  max-width: 18ch;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1.05;
}

/* Längere erste Zeile. 18ch brechen „Ihre Fläche. Unser Umbau." nach „Unser"
   um; mit mehr Breite steht der Satz auf einer Zeile und „Ihre Miete." darunter.
   Auf schmalen Geräten begrenzt weiterhin der Container, nicht dieser Wert. */
.page-intro__title--breit {
  max-width: 26ch;
}

.page-intro__title em {
  color: var(--sand);
  font-style: italic;
}

.page-intro .lead {
  max-width: 680px;
  margin-bottom: 0;
}

/* Rechner-Seite: Überschrift und Rechner sollen beim Landen gemeinsam zu sehen
   sein. Mit den normalen Abständen (120 px + 86 px im Seitenkopf, 136 px über
   dem Abschnitt) begann der Rechner erst bei 720 px – auf einem Laptop mit
   820 px Fensterhöhe war er damit fast vollständig abgeschnitten. */
.page-rechner .page-intro {
  padding-block: clamp(48px, 5vw, 72px) clamp(28px, 3vw, 40px);
}

/* Breiter als die 26ch der übrigen Seitentitel: Sonst bricht
   „– welches Potenzial bleibt ungenutzt?" auf zwei Zeilen um, die Überschrift
   wird dreizeilig und schiebt den Rechner um rund 60 px nach unten. */
.page-rechner .page-intro__title {
  max-width: 42ch;
}

/* Entscheidend ist nicht die Polsterung, sondern dass .section normalerweise
   eine volle Bildschirmhöhe hoch ist und seinen Inhalt senkrecht zentriert:
   Der Rechner wurde dadurch immer wieder in die Mitte geschoben, egal wie
   klein der Abstand darüber war. Hier soll er direkt oben anfangen. */
.page-rechner .page-intro + .section {
  align-items: start;
  min-height: 0;
  padding-top: clamp(28px, 3vw, 40px);
}

/* ---------- Nummerierte Karten ---------- */

.benefit__no {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1;
}

/* ---------- Vertragsrahmen ---------- */

.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 0;
}

.terms__item {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--navy-800);
}

.terms dt {
  margin-bottom: 6px;
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
  line-height: 1.2;
}

.terms dd {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .terms {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Drei Kompetenzen nebeneinander (Startseite, Über uns).
   Die eigene Abfrage muss nach der für .terms stehen, sonst gewinnt
   bei schmalen Fenstern die dreispaltige Regel. */
.terms--drei {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .terms--drei {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Ablauf (senkrecht) ---------- */

.process {
  position: relative;
  max-width: 860px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 27px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--line-strong) 100%);
}

.process__step {
  position: relative;
  min-height: 56px;
  padding: 0 0 40px 84px;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__no {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: var(--fs-badge);
}

.section--alt .process__no {
  background: var(--navy-700);
}

.process__step h3 {
  margin: 12px 0 6px;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.process__tag {
  margin-left: 10px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: middle;
}

.process__step p {
  max-width: 60ch;
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .process::before {
    left: 21px;
  }

  .process__step {
    padding-left: 64px;
  }

  .process__no {
    width: 44px;
    height: 44px;
    font-size: var(--fs-badge);
  }

  .process__step h3 {
    margin-top: 6px;
    font-size: var(--fs-sub);
  }
}

/* ---------- Hinweis-Kästen ---------- */

.callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.callout {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--gold);
  background: var(--navy-700);
}

.section--alt .callout {
  background: var(--navy-800);
}

.callout h3 {
  margin-bottom: 12px;
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.callout p {
  color: var(--text-muted);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout a {
  color: var(--gold);
}

@media (max-width: 800px) {
  .callouts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Potenzial-Rechner ---------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.calc__inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  background: var(--navy-700);
}

.calc__results {
  display: grid;
  gap: 14px;
}

.result {
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--navy-700);
}

.result--key {
  border-left: 2px solid var(--gold);
}

.result__label {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.result__value {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: var(--fs-head);
  line-height: 1.1;
}

.result--key .result__value {
  color: var(--gold);
}

.result__note {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.calc__disclaimer {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

@media (max-width: 900px) {
  .calc {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Formulare ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-switch {
  display: inline-flex;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
}

.form-switch button {
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  background: none;
  color: var(--text-muted);
  font: 500 var(--fs-xs)/1.2 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-switch button[aria-selected="true"] {
  background: var(--gold);
  color: var(--navy-800);
}

.no-js .form-switch {
  display: none;
}

.form-card {
  /* Platz für die Umschalter darüber, wenn per Anker hierher gesprungen wird.
     Muss deren Höhe samt Abstand übersteigen, sonst liegen sie hinter der Kopfzeile. */
  scroll-margin-top: 130px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  background: var(--navy-800);
}

.form-card + .form-card {
  margin-top: 32px;
}

.form-card__title {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.form-card__intro {
  margin-bottom: 28px;
  color: var(--text-muted);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.stepper li {
  padding-top: 12px;
  border-top: 2px solid var(--line-strong);
  color: var(--text-muted);
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stepper li.is-active,
.stepper li.is-done {
  border-top-color: var(--gold);
  color: var(--text);
}

.stepper__no {
  margin-right: 6px;
  color: var(--gold);
}

.no-js .stepper,
.no-js [data-next],
.no-js [data-prev] {
  display: none;
}

.form-step {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step + .form-step {
  margin-top: 32px;
}

.js .form-step + .form-step {
  margin-top: 0;
}

.form-step__legend {
  margin-bottom: 20px;
  padding: 0;
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.field--full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field__optional {
  color: var(--text-muted);
  font-weight: 400;
}

.control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--navy-950);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-body);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.control:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(207, 161, 67, 0.25);
}

.control:user-invalid {
  border-color: var(--error);
}

/* Automatisch ausgefüllte Felder behalten das dunkle Design –
   sonst färbt der Browser sie hellblau ein. */
.control:-webkit-autofill,
.control:-webkit-autofill:hover,
.control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px var(--navy-950) inset;
  transition: background-color 9999s;
}

select.control {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c39a3a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  appearance: none;
}

textarea.control {
  min-height: 140px;
  resize: vertical;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choices__legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: var(--fs-small);
  font-weight: 500;
}

.choice {
  position: relative;
  display: inline-flex;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: var(--fs-body);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.choice input:checked + span {
  border-color: var(--gold);
  background: var(--gold-tint);
  color: var(--sand);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.consent a {
  color: var(--gold);
}

.honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.form-nav .button:only-child {
  margin-left: auto;
}

.form-note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.notice {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  background: var(--navy-700);
}

.notice--error {
  border-left-color: var(--error);
}

.notice p:last-child {
  margin-bottom: 0;
}

.button[disabled] {
  cursor: progress;
  opacity: 0.7;
}

.aside-block {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.aside-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.aside-block__title {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.aside-block p,
.aside-block address,
.aside-block li {
  color: var(--text-muted);
  font-style: normal;
}

.aside-block ol {
  margin: 0;
  padding-left: 20px;
}

/* ---------- Rechtstexte ---------- */

.prose {
  max-width: 75ch;
}

.prose h2 {
  margin: 48px 0 12px;
  color: var(--sand);
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: var(--fs-lead);
  font-weight: 600;
}

.prose p,
.prose li,
.prose address {
  color: var(--text-muted);
  font-style: normal;
}

.prose ul {
  padding-left: 20px;
}

.placeholder {
  display: inline-block;
  padding: 0 6px;
  border: 1px dashed var(--gold);
  color: var(--gold);
  font-style: normal;
}

.prose__stand {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: var(--fs-sub);
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--sand);
}

.faq__answer {
  max-width: 70ch;
  padding-bottom: 24px;
  color: var(--text-muted);
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA-Band ---------- */

.cta-band {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band__title {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: var(--fs-head);
}

.cta-band__text {
  max-width: 56ch;
  margin: 0;
  color: var(--text-muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 64px;
  border-top: 1px solid var(--line);
  background: var(--navy-950);
  font-size: var(--fs-small);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer__brand img {
  width: 240px;
  margin-bottom: 20px;
}

.site-footer__brand p {
  max-width: 34ch;
  color: var(--text-muted);
}

.site-footer .label {
  margin-bottom: 14px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.site-footer address {
  color: var(--text-muted);
  font-style: normal;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom ul {
  display: flex;
  gap: 24px;
}

@media (max-width: 800px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
