/* ==========================================================================
   Altersvorsorge-Depot für Grenzgänger – Coming-soon Landingpage
   Referenz-Viewport: 1672 × 941 px (siehe referenz/design/layout-spec.md)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schriften (selbst gehostet, kein externer CDN-Aufruf → DSGVO-freundlich)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --color-navy: #17324c;
  --color-navy-deep: #0f2941;
  --color-copper: #c97c40;
  /* Strichfarbe der Grafiken, aus der Referenzvorlage abgenommen */
  --color-copper-deep: #a94716;
  --color-cream: #fff9f0;
  /* Etwas transparenter als der Richtwert 0.92 – so trifft die Card
     die warme Tonalität der Referenzvorlage. */
  --color-card: rgba(255, 252, 247, 0.78);
  --color-border: rgba(255, 255, 255, 0.72);
  --color-muted: #536575;
  --color-gold-light: #e8c99e;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-card: 24px;
  --radius-control: 15px;
  --shadow-card: 0 24px 70px rgba(43, 37, 29, 0.18), 0 2px 10px rgba(43, 37, 29, 0.08);
  --blur-card: 18px;

  /* 1 Referenzpixel des 1672 × 941-Entwurfs.
     Skaliert mit Breite UND Höhe, damit die Seite auf Desktop nie scrollt,
     und wächst nicht über den Referenzmaßstab hinaus. */
  --px: min(0.05981vw, 0.10627vh, 1px);

  /* Kopfbereich und Card werden gegenüber dem Entwurf zurückgenommen,
     damit der Hintergrund mehr Raum behält. */
  --hpx: calc(var(--px) * 0.85);
  --cpx: calc(var(--px) * 0.78);
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  color: var(--color-navy);
  background-color: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

/* iOS erkennt Adressen und Nummern teils selbstständig und formatiert sie
   nachträglich um – das erzeugt einen sichtbaren Versatz. Neutralisieren. */
a[x-apple-data-detectors] {
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--color-copper);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Hintergrund
   -------------------------------------------------------------------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.backdrop__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Sehr schwacher warm-weißer Lichtschleier für ruhige Lesbarkeit. */
.backdrop__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 249, 240, 0.14) 0%,
    rgba(255, 249, 240, 0.05) 45%,
    rgba(255, 249, 240, 0.12) 100%
  );
}

/* --------------------------------------------------------------------------
   Kopfbereich außerhalb der Card
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: calc(11 * var(--hpx)) calc(64 * var(--hpx)) 0;
}

.topbar__logo {
  grid-column: 2;
  width: calc(148 * var(--hpx));
  height: auto;
  justify-self: center;
}

.topbar__legal {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: calc(6 * var(--hpx)) calc(26 * var(--hpx));
  margin-top: calc(41 * var(--hpx));
}

.topbar__legal a {
  font-family: var(--font-ui);
  font-size: calc(18 * var(--hpx));
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-navy);
  text-decoration: none;
  padding-bottom: calc(6 * var(--hpx));
  border-bottom: 2px solid var(--color-copper);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.topbar__legal a:hover,
.topbar__legal a:focus-visible {
  color: var(--color-copper);
  border-color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Haupt-Card
   -------------------------------------------------------------------------- */
.page {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Leicht nach oben versetzt zentriert – hält die Bildmitte des Entwurfs. */
  padding: calc(24 * var(--px)) calc(24 * var(--px)) calc(14 * var(--px));
}

.card {
  position: relative;
  width: min(69.5vw, calc(1160 * var(--cpx)));
  height: calc(716 * var(--cpx));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(64 * var(--cpx)) calc(48 * var(--cpx)) calc(35.9 * var(--cpx));
  text-align: center;

  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
}

/* Die Card ist höhengenau am Entwurf ausgerichtet – Kinder dürfen nicht stauchen. */
.card > * {
  flex: none;
}

.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(75.5 * var(--cpx));
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.card__divider {
  width: calc(626 * var(--cpx));
  height: auto;
  margin-top: calc(13 * var(--cpx));
}

.card__subtitle {
  margin: calc(11 * var(--cpx)) 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(47.5 * var(--cpx));
  line-height: 1.15;
  color: var(--color-navy);
}

.card__description {
  margin: calc(8 * var(--cpx)) 0 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: calc(21.3 * var(--cpx));
  line-height: 1.5;
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Prozesszeile
   -------------------------------------------------------------------------- */
.journey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(6 * var(--cpx));
  width: calc(660 * var(--cpx));
  margin-top: calc(29.4 * var(--cpx));
}

.journey__icon {
  height: auto;
  flex: 0 0 auto;
}

.journey__icon--docs {
  width: calc(101 * var(--cpx));
}

.journey__icon--growth {
  width: calc(100 * var(--cpx));
}

.journey__icon--bridge {
  width: calc(155 * var(--cpx));
}

.journey__badge {
  width: calc(54 * var(--cpx));
  height: auto;
  flex: 0 0 auto;
}

/* Strichmuster exakt wie in der Vorlage: 8 px Strich, 5,5 px Lücke */
.journey__line {
  flex: 1 1 0;
  height: calc(2 * var(--cpx));
  background-image: repeating-linear-gradient(
    to right,
    var(--color-copper-deep) 0,
    var(--color-copper-deep) calc(8 * var(--cpx)),
    transparent calc(8 * var(--cpx)),
    transparent calc(13.5 * var(--cpx))
  );
}

/* --------------------------------------------------------------------------
   „Wir starten bald.“
   -------------------------------------------------------------------------- */
.card__heading {
  margin: calc(22.5 * var(--cpx)) 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(49.5 * var(--cpx));
  line-height: 1.1;
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Formular
   -------------------------------------------------------------------------- */
.signup {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: calc(10 * var(--cpx));
  width: calc(700 * var(--cpx));
  height: calc(64 * var(--cpx));
  margin-top: calc(13 * var(--cpx));
}

.signup__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(80, 58, 38, 0.2);
  border-radius: var(--radius-control);
  box-shadow: 0 1px 3px rgba(43, 37, 29, 0.07);
  padding-inline: calc(25 * var(--cpx));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup__field:focus-within {
  border-color: var(--color-copper);
  box-shadow: 0 0 0 3px rgba(201, 124, 64, 0.18);
}

.signup__icon {
  width: calc(41 * var(--cpx));
  height: auto;
  flex: 0 0 auto;
  margin-right: calc(17 * var(--cpx));
}

.signup__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: calc(19 * var(--cpx));
  font-weight: 400;
  color: var(--color-navy);
}

.signup__input::placeholder {
  color: rgba(83, 101, 117, 0.85);
}

.signup__input:focus {
  outline: none;
}

.signup__input:disabled {
  color: var(--color-muted);
  -webkit-text-fill-color: var(--color-muted);
}

/* Nach erfolgreicher Anmeldung tritt das Eingabefeld zurück. */
[data-state="done"] .signup__field {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(80, 58, 38, 0.12);
  box-shadow: none;
}

.signup__button {
  flex: 0 0 auto;
  width: calc(330 * var(--cpx));
  padding-inline: calc(16 * var(--cpx));
  border: 0;
  border-radius: var(--radius-control);
  background: var(--color-navy-deep);
  color: var(--color-cream);
  font-family: var(--font-ui);
  font-size: calc(19 * var(--cpx));
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 41, 65, 0.24);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.signup__button:hover {
  background: #143452;
  box-shadow: 0 8px 22px rgba(15, 41, 65, 0.3);
}

.signup__button:active {
  transform: translateY(1px);
}

.signup__button[disabled] {
  cursor: default;
  box-shadow: none;
}

.signup__button[disabled]:not(.signup__button--done) {
  opacity: 0.72;
}

/* Erfolgszustand nach erfolgreicher Anmeldung */
.signup__button--done {
  background: #1f5140;
  color: var(--color-cream);
}

.signup__button--done:hover {
  background: #1f5140;
}

.signup__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Die Statuszeile liegt außerhalb des Flusses, damit das Layout nicht springt. */
.signup__status {
  position: absolute;
  top: calc(100% + 2 * var(--cpx));
  left: 0;
  right: 0;
  margin: 0;
  font-family: var(--font-ui);
  font-size: calc(15 * var(--cpx));
  line-height: 1.4;
  color: var(--color-muted);
}

.signup__status--error {
  color: #a8442a;
}

.signup__status--success {
  color: #2c6046;
}

/* Hinweis nach Art. 13 DSGVO – unmittelbar beim Formular */
.signup__note {
  margin: calc(20 * var(--cpx)) 0 0;
  max-width: calc(760 * var(--cpx));
  font-family: var(--font-ui);
  font-size: calc(12 * var(--cpx));
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-muted);
}

.signup__note a {
  color: var(--color-copper-deep);
  text-decoration-color: var(--color-copper-deep);
  text-underline-offset: 2px;
}

.signup__note a:hover {
  color: var(--color-navy);
  text-decoration-color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Standortzeile
   -------------------------------------------------------------------------- */
.location {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Die Lücke muss das links hängende Icon aufnehmen, sonst liegt es
     auf der Linie. Symmetrisch, damit der Text mittig bleibt. */
  gap: calc(76 * var(--cpx));
  width: calc(886 * var(--cpx));
  max-width: 100%;
  margin: calc(20 * var(--cpx)) 0 0;
}

.location__rule {
  flex: 1 1 auto;
  height: 0;
  border-top: 1px solid var(--color-gold-light);
}

/* Das Icon hängt am Text statt in der Reihe zu stehen – so bleibt der Text
   exakt mittig, das Icon sitzt weiterhin unmittelbar daneben. */
.location__mark {
  position: relative;
  flex: 0 1 auto;
}

.location__icon {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: calc(34 * var(--cpx));
  height: auto;
  margin-right: calc(30 * var(--cpx));
}

/* Der feste Umbruch greift nur auf schmalen Displays. */
.location__break {
  display: none;
}

.location__text {
  flex: 0 0 auto;
  font-family: var(--font-ui);
  font-size: calc(19 * var(--cpx));
  font-weight: 400;
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Kleine Laptops: etwas mehr Luft nach außen
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .card {
    width: min(84vw, calc(1160 * var(--cpx)));
  }
}

/* --------------------------------------------------------------------------
   Footer-Credit
   -------------------------------------------------------------------------- */
/* Die Breite bestimmt die Textzeile – das Logo zieht automatisch mit,
   damit beide seitlich bündig stehen. */
.credit {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: calc(100% - 48 * var(--px));
  margin-inline: auto;
  gap: calc(6 * var(--hpx));
  padding: 0 0 calc(32 * var(--px));
}

.credit__label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: calc(7.5 * var(--hpx));
  font-weight: 500;
  letter-spacing: 0.18em;
  /* letzten Buchstabenabstand zurücknehmen, sonst sitzt die Zeile 1 px links */
  margin-right: -0.18em;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(32, 24, 16, 0.6), 0 0 14px rgba(32, 24, 16, 0.35);
}

.credit__link {
  display: block;
  width: 100%;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.credit__link:hover {
  opacity: 0.75;
}

.credit__logo {
  display: block;
  width: 100%;
  aspect-ratio: 1256 / 316;
  background: url("assets/logo/ooox1-white.png") no-repeat center / contain;
  filter: drop-shadow(0 1px 2px rgba(32, 24, 16, 0.55));
}

/* --------------------------------------------------------------------------
   Impressum
   -------------------------------------------------------------------------- */
.topbar__home {
  grid-column: 2;
  justify-self: center;
  display: block;
  border-radius: 8px;
}

.card--legal {
  width: min(84vw, calc(760 * var(--cpx)));
  height: auto;
  max-height: calc(100dvh - 220 * var(--px));
  align-items: stretch;
  overflow-y: auto;
  text-align: left;
  padding: calc(52 * var(--cpx)) calc(60 * var(--cpx)) calc(46 * var(--cpx));
}

.legal__title {
  margin: 0;
  align-self: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: calc(58 * var(--cpx));
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.legal__divider {
  width: calc(420 * var(--cpx));
  height: auto;
  align-self: center;
  margin-top: calc(14 * var(--cpx));
}

.legal__body {
  margin-top: calc(30 * var(--cpx));
}

.legal__block + .legal__block {
  margin-top: calc(26 * var(--cpx));
  padding-top: calc(26 * var(--cpx));
  border-top: 1px solid rgba(201, 124, 64, 0.22);
}

.legal__heading {
  margin: 0 0 calc(10 * var(--cpx));
  font-family: var(--font-ui);
  font-size: calc(13 * var(--cpx));
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-copper);
}

.legal__text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: calc(19 * var(--cpx));
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-navy);
}

.legal__text strong {
  font-weight: 600;
}

.legal__list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: calc(6 * var(--cpx)) calc(28 * var(--cpx));
  margin: 0;
  font-family: var(--font-ui);
  font-size: calc(19 * var(--cpx));
  line-height: 1.7;
}

.legal__list dt {
  color: var(--color-muted);
}

.legal__list dd {
  margin: 0;
  color: var(--color-navy);
}

.legal__list a,
.legal__text a,
.legal__back a {
  color: var(--color-navy);
  text-decoration-color: var(--color-copper);
  text-underline-offset: 3px;
}

.legal__list a:hover,
.legal__text a:hover,
.legal__back a:hover {
  color: var(--color-copper);
}

/* Lange Texte laufen über die Seite, nicht in einer scrollenden Card. */
.card--flow {
  width: min(84vw, calc(880 * var(--cpx)));
  height: auto;
  max-height: none;
  overflow-y: visible;
}

/* Aufeinanderfolgende Absätze brauchen Luft. */
.legal__text + .legal__text {
  margin-top: calc(13 * var(--cpx));
}

.legal__back {
  margin: calc(34 * var(--cpx)) 0 0;
  align-self: center;
  font-family: var(--font-ui);
  font-size: calc(16 * var(--cpx));
}

/* --------------------------------------------------------------------------
   Tablet und Mobil: kompakter, Scrollen ist erlaubt statt unleserlich klein
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --px: 1px;
  }

  body {
    min-height: 100dvh;
    height: auto;
  }

  .backdrop {
    position: fixed;
  }

  /* Auf schmalen Displays reicht die Breite neben dem Logo nicht für beide
     Links. Deshalb rücken sie unter das Logo – mittig, in einer Zeile und
     im gleichen Stil wie auf dem Desktop. */
  .topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2.4vw, 14px);
    padding: clamp(16px, 4vw, 32px) clamp(16px, 4vw, 48px) 0;
  }

  .topbar__logo {
    width: clamp(96px, 24vw, 150px);
  }

  .topbar__legal {
    justify-content: center;
    gap: 0 clamp(16px, 5vw, 24px);
    margin-top: 0;
  }

  .topbar__legal a {
    font-size: clamp(11px, 3.1vw, 13px);
    padding-bottom: 4px;
    border-bottom-width: 1px;
  }

  .page {
    padding: clamp(20px, 5vw, 40px) clamp(16px, 4vw, 32px) clamp(28px, 7vw, 56px);
  }

  .card {
    width: 100%;
    max-width: 640px;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: clamp(28px, 7vw, 48px) clamp(20px, 5vw, 44px);
  }

  .card__title {
    font-size: clamp(30px, 8.2vw, 62px);
  }

  .card__divider {
    width: min(100%, 420px);
    margin-top: clamp(14px, 3vw, 22px);
  }

  .card__subtitle {
    margin-top: clamp(14px, 3vw, 20px);
    font-size: clamp(22px, 5.4vw, 38px);
  }

  .card__description {
    margin-top: clamp(10px, 2.4vw, 16px);
    font-size: clamp(15px, 3.7vw, 19px);
  }

  .journey {
    width: 100%;
    gap: clamp(6px, 1.8vw, 14px);
    margin-top: clamp(24px, 5.5vw, 38px);
  }

  .journey__icon--docs,
  .journey__icon--growth {
    width: clamp(52px, 13vw, 84px);
  }

  .journey__icon--bridge {
    width: clamp(78px, 21vw, 124px);
  }

  .journey__badge {
    width: clamp(32px, 8vw, 44px);
  }

  .card__heading {
    margin-top: clamp(24px, 5.5vw, 34px);
    font-size: clamp(26px, 6.6vw, 48px);
  }

  .signup {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: clamp(10px, 2.5vw, 14px);
    margin-top: clamp(20px, 4.5vw, 30px);
  }

  .signup__field {
    height: 56px;
    padding-inline: 18px;
  }

  .signup__icon {
    width: 24px;
    margin-right: 12px;
  }

  .signup__input {
    font-size: 16px; /* verhindert Auto-Zoom auf iOS */
  }

  .signup__button {
    width: 100%;
    height: 56px;
    padding-inline: 24px;
    font-size: 16px;
  }

  /* Der Rechtshinweis tritt auf kleinen Displays zurück. */
  /* Auf Mobil darf die Statuszeile Platz einnehmen – die Card wächst mit. */
  .signup__status {
    position: static;
    margin-top: 6px;
    font-size: 14px;
    text-align: center;
  }

  .signup__status:empty {
    display: none;
  }

  .location {
    width: 100%;
    gap: 12px;
    margin-top: clamp(24px, 5.5vw, 32px);
  }

  .location__icon {
    width: 22px;
    margin-right: 14px;
  }

  .location__text {
    flex: 0 1 auto;
    font-size: clamp(14px, 3.4vw, 18px);
  }

  /* Platz für das links hängende Icon freihalten, damit der Text
     trotzdem exakt mittig steht */
  .location__mark {
    max-width: calc(100% - 76px);
  }
}

/* Sehr schmale Displays: Trennlinien der Standortzeile weglassen. */
@media (max-width: 520px) {
  .location__rule {
    display: none;
  }

  .location {
    justify-content: center;
  }

  .journey__line {
    min-width: 12px;
  }
}

/* Nur für echte Handy-Breiten. Bewusst getrennt von der Regel für niedrige
   Fenster: Ein flaches Browserfenster am PC ist keine Handyansicht. */
@media (max-width: 700px) {
  .signup__note {
    margin-top: 12px;
    font-size: 9.5px;
    line-height: 1.5;
  }

  /* Fester Zeilenumbruch in der Standortzeile */
  .location__break {
    display: inline;
  }

  /* Icon steht ganz links in der Zeile, der Text bleibt mittig */
  .location {
    position: relative;
  }

  .location__mark {
    position: static;
    max-width: calc(100% - 76px);
  }

  .location__icon {
    left: 0;
    right: auto;
    margin-right: 0;
  }
}

/* Fußzeile auf kleinen Displays einen Tick größer, sonst kaum lesbar. */
@media (max-width: 900px) {
  .credit {
    gap: 6px;
    padding-bottom: 26px;
  }

  /* Die Zeile bestimmt die Breite – das Logo skaliert automatisch mit. */
  .credit__label {
    font-size: 6.12px;
  }
}

/* Impressum auf kleinen Displays: die Seite darf scrollen, die Card nicht. */
@media (max-width: 900px) {
  .card--legal {
    max-height: none;
    overflow-y: visible;
    text-align: left;
    align-items: stretch;
  }

  .legal__title {
    font-size: clamp(30px, 8vw, 50px);
  }

  .legal__divider {
    width: min(100%, 340px);
  }

  .legal__text,
  .legal__list {
    font-size: clamp(15px, 3.9vw, 18px);
  }

  .legal__list {
    grid-template-columns: 1fr;
    gap: 0 0;
  }

  .legal__list dt {
    margin-top: 8px;
  }

  .legal__list dt:first-child {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Bewegungsreduktion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
