/* strado.ch, Startseite (App v2, «Fahrt zuerst»).
 *
 * Eine durchgehende Seite: ein Grund, keine Linien zwischen den Teilen,
 * keine Rahmen um ganze Teile. Alle Teile stehen auf demselben Raster
 * (.zeile, 1200 px, gleicher Rand) und im selben Takt (--takt). Die Karte
 * oben läuft in den Grund aus, die Karten weiter unten haben keinen Rahmen
 * und blenden an den Rändern aus. So liest sich die Seite als ein Stück.
 *
 * Nur für index.html. Hilfe, Konto löschen und die Rechtstexte nutzen
 * weiterhin styles.css. Farben und Schriften wie dort (und wie in der App):
 * wer sie im App-Repo ändert, zieht hier und in styles.css mit.
 */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-v1.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: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin-ext-v1.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: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/familjen-grotesk-latin-v1.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: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/familjen-grotesk-latin-ext-v1.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;
}

:root {
  color-scheme: dark;
  /* wie styles.css (aus app/globals.css und mobile/src/lib/theme.ts) */
  --grund: #0b0b0d;
  --tinte: #f2f2f4;
  --tinte-2: color-mix(in oklch, #f2f2f4 72%, #0b0b0d);
  --tinte-3: #8f95a3;
  --haar-weich: color-mix(in oklch, #f2f2f4 9%, transparent);
  --flaeche: #141417;
  --akzent: #6b83ff;
  --akzent-hell: color-mix(in oklch, #6b83ff 80%, white);
  --auf-akzent: #0b0b0d;
  --ziel: #b4c1ff;          /* theme.ts «ziel»: Akzent als Schrift auf Dunkel */
  --akzent-grund: #161a2e;  /* theme.ts «akzentGrund» */
  --soll: #4cc38a;

  --schrift: "Geist", ui-sans-serif, system-ui, sans-serif;
  --titel: "Familjen Grotesk", "Geist", ui-sans-serif, system-ui, sans-serif;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", system-ui, sans-serif;

  /* Raster und Takt: jeder Teil nutzt dieselben zwei Werte */
  --rand: clamp(20px, 5vw, 72px);
  --takt: clamp(48px, 6.5vw, 104px);
  --luft: clamp(36px, 4.4vw, 64px);   /* Kopf eines Teils bis zum Inhalt */
  --telefon: 300px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--grund);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font: 400 1.0625rem/1.55 var(--schrift);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--akzent); color: var(--auf-akzent); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }

.nw { white-space: nowrap; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.sprung {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 10px 14px; border-radius: 8px;
  background: var(--akzent); color: var(--auf-akzent);
  font-weight: 600; text-decoration: none;
}
.sprung:focus { top: 16px; }

.zeile { width: min(1200px, 100% - 2 * var(--rand)); margin-inline: auto; }
.teil { padding-block: var(--takt); }

/* ---------- Schrift ---------- */

.h1, .h2, .teile h3, .rang-liste b, .schritt p, .zz b, .sp h3, .preis, .zahl {
  font-family: var(--titel);
  font-weight: 700;
}
.h1 {
  font-size: clamp(2.875rem, 1.1rem + 6.6vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.125rem, 1.25rem + 3.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1 em, .h2 em { font-style: normal; color: var(--ziel); }
.lead {
  margin-top: 22px;
  max-width: 36ch;
  font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--tinte-2);
  text-wrap: pretty;
}
.kopfblock { max-width: 720px; margin-bottom: var(--luft); }

/* ---------- Kopf ---------- */

.kopf {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
}
.kopf .zeile {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinte); }
.wortmarke { width: 104px; height: auto; fill: currentColor; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 22px;
  background: var(--akzent); color: var(--auf-akzent);
  font: 600 1rem/1 var(--schrift); text-decoration: none;
}
@media (hover: hover) { .knopf:hover { background: var(--akzent-hell); } }
@media (prefers-reduced-motion: no-preference) {
  .knopf, .badge { transition: transform 0.15s var(--ease), background-color 0.15s; }
  .knopf:active, .badge:active { transform: scale(0.97); }
}

/* ---------- Laden (die Aktion) ---------- */

.laden { margin-top: 34px; }
.laden-zeile { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.badge { display: inline-block; border-radius: 10px; }
.badge img { height: 52px; width: auto; }
.qr { align-items: center; gap: 14px; max-width: 240px; font-size: 1rem; line-height: 1.35; color: var(--tinte-2); text-align: left; }
.qr img { width: 88px; height: 88px; flex: none; padding: 6px; border-radius: 12px; background: #fff; }
.qr b { display: block; color: var(--tinte); font-weight: 600; }
.hinweis { margin-top: 16px; max-width: 34ch; font-size: 1rem; color: var(--tinte-2); }
.hinweis a { color: var(--ziel); }

/* Blatt «Im Browser öffnen»: nur im Browser von TikTok, nach dem Tipp auf
   «Laden» (Script am Ende von index.html) */
.blatt {
  inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 480px; max-height: 90dvh;
  padding: 28px 24px calc(24px + env(safe-area-inset-bottom));
  border: 0; border-radius: 24px 24px 0 0;
  background: var(--flaeche); color: var(--tinte);
  text-align: left;
}
.blatt::backdrop { background: rgb(0 0 0 / 0.62); }
.blatt-titel { margin: 0; font: 600 1.5rem/1.15 var(--titel); letter-spacing: -0.01em; }
.blatt-satz { margin: 10px 0 0; font-size: 1rem; line-height: 1.4; color: var(--tinte-2); }
.blatt-schritte { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.blatt-schritte li {
  counter-increment: schritt;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-top: 1px solid var(--haar-weich);
  font-size: 1.0625rem; line-height: 1.3; color: var(--tinte-2);
}
.blatt-schritte li::before {
  content: counter(schritt);
  flex: none; width: 28px; height: 28px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--akzent-grund); color: var(--ziel);
  font: 600 0.875rem/1 var(--schrift); font-variant-numeric: tabular-nums;
}
.blatt-schritte b { color: var(--tinte); font-weight: 600; }
.blatt-zu { width: 100%; margin-top: 20px; min-height: 50px; border: 0; border-radius: 25px; cursor: pointer; }
.blatt-direkt {
  display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px;
  font-size: 0.9375rem; color: var(--tinte-3); text-decoration: underline; text-underline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .blatt[open] { animation: blatt-auf 0.32s var(--ease); }
  .blatt[open]::backdrop { animation: blatt-grund 0.2s ease-out; }
}
@keyframes blatt-auf { from { transform: translateY(100%); } }
@keyframes blatt-grund { from { opacity: 0; } }

/* Wer was sieht: data-geraet setzt das Script im Kopf von index.html */
.nur-computer, .nur-android, .nur-inapp { display: none; }
[data-geraet="android"] .nur-android,
[data-geraet="inapp"] .nur-inapp { display: block; }
[data-geraet="android"] .ausser-android { display: none !important; }
@media (min-width: 900px) {
  html:not([data-geraet]) .nur-computer,
  [data-geraet="computer"] .nur-computer { display: flex; }
}

/* ---------- Einstieg: die Karte läuft in den Grund aus ---------- */

.held { position: relative; isolation: isolate; padding-top: 72px; }
.held-text { padding-top: clamp(24px, 6vw, 48px); }
.held .lead { max-width: 30ch; }
.held .laden { margin-top: 30px; }

.held-karte { position: relative; margin-top: clamp(0px, 3vw, 24px); }
.held-karte img { width: 100%; height: auto; }
/* Dieselbe Farbe wie der Grund, deshalb keine Kante: oben unter den Text,
   unten in den nächsten Teil. */
.held-karte::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--grund) 0%, rgba(11, 11, 13, 0) 16%),
    linear-gradient(0deg, var(--grund) 0%, rgba(11, 11, 13, 0) 26%);
}

.mitteilung {
  position: absolute; z-index: 2;
  left: var(--rand); right: var(--rand); bottom: 4%;
  display: flex; gap: 12px; padding: 14px 16px;
  border-radius: 26px;
  font-family: var(--ios);
  background: rgba(30, 30, 36, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 18px 50px rgba(0, 0, 0, 0.45);
}
@media (prefers-reduced-transparency: reduce) {
  .mitteilung { background: #1e1e24; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.app-icon {
  flex: none; width: 38px; height: 38px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grund); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18);
}
.app-icon svg { width: 24px; height: 14px; fill: #fff; }
.mitteilung-text { flex: 1; min-width: 0; }
.mitteilung-kopf { display: flex; justify-content: space-between; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, 0.62); }
.mitteilung-titel { margin-top: 2px; font-size: 17px; line-height: 22px; font-weight: 600; }
.mitteilung-satz { font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, 0.82); }

@media (min-width: 560px) {
  .mitteilung { left: auto; width: 380px; right: max(var(--rand), (100% - 1200px) / 2); }
}
@media (min-width: 1024px) {
  .held {
    min-height: clamp(700px, 60vw, 900px);
    display: flex; align-items: center;
    padding-block: 96px 120px;
  }
  .held-text { padding-top: 0; }
  .held-text > div { max-width: calc(520px + 8vw); }
  .held-karte { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
  .held-karte img { height: 100%; object-fit: cover; }
  .held-karte::after {
    background:
      linear-gradient(90deg, var(--grund) 0%, var(--grund) 22%, rgba(11, 11, 13, 0) 56%),
      linear-gradient(180deg, rgba(11, 11, 13, 0.75) 0%, rgba(11, 11, 13, 0) 14%),
      linear-gradient(0deg, var(--grund) 0%, rgba(11, 11, 13, 0) 30%);
  }
  .mitteilung { bottom: clamp(40px, 5vw, 80px); }
}

/* ---------- So funktioniert es: drei Telefone ---------- */

.tel {
  width: 100%; height: auto;
  border-radius: 14.1% / 6.5%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.55);
}
.telefone {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--rand));
  padding: 4px var(--rand) 24px;
  scroll-padding-inline: var(--rand);
}
.telefone::-webkit-scrollbar { display: none; }
.schritt { flex: 0 0 min(74vw, var(--telefon)); scroll-snap-align: start; }
.schritt p {
  margin-top: 24px; max-width: 12em;
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
  line-height: 1.2; letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 760px) {
  .telefone {
    display: grid; grid-template-columns: repeat(3, minmax(0, var(--telefon)));
    justify-content: space-between; gap: 24px;
    overflow: visible; margin: 0; padding: 0;
  }
}

/* ---------- Der Score: Zahl und vier Teile ---------- */

.zwei { display: grid; gap: var(--luft); }
.score .zahl {
  display: block; margin: 28px 0 0 -0.04em;
  font-size: min(46vw, 13rem);
  line-height: 0.8; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.vs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; font-size: 1.1875rem; color: var(--tinte-2); }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 18px; background: rgba(76, 195, 138, 0.16); color: var(--soll); font-weight: 600; font-size: 1.0625rem; }
.teile li, .rang-liste li { border-top: 1px solid var(--haar-weich); }
.teile li:last-child, .rang-liste li:last-child { border-bottom: 1px solid var(--haar-weich); }
.teile li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: baseline; padding: 22px 0; }
.teile h3, .teile .wert { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.025em; }
.teile .wert { font-family: var(--titel); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.teile .wert small { margin-left: 6px; font-size: 0.6em; font-weight: 600; color: var(--tinte-3); }
.teile p { grid-column: 1 / -1; font-size: 1.125rem; color: var(--tinte-2); }
@media (min-width: 760px) {
  .score .zwei { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 7vw, 120px); }
  .score .zahl { font-size: clamp(10rem, 22vw, 21rem); }
}

/* ---------- Karten ohne Rahmen ---------- */

.karte-frei img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent), linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent), linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent);
  mask-composite: intersect;
}

/* ---------- Freunde: Rangliste ---------- */

.rang-liste { counter-reset: rang; }
.rang-liste li { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; counter-increment: rang; }
.rang-liste li::before { content: counter(rang); min-width: 1.5ch; font-size: 1.0625rem; color: var(--tinte-3); font-variant-numeric: tabular-nums; }
.rang-liste b { flex: 1; font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.rang-liste span { font-family: var(--titel); font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem); font-variant-numeric: tabular-nums; }
.rang-liste .du b, .rang-liste .du span { color: var(--ziel); }
.rang-fuss { margin-top: 22px; font-size: 1.125rem; color: var(--tinte-2); }
@media (min-width: 1024px) {
  .freunde .zwei { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
}

/* ---------- Deine Strassen: Profil ---------- */

.zz { display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 5vw, 64px); margin-top: 32px; font-size: 1.1875rem; color: var(--tinte-2); }
.zz b { display: block; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -0.04em; color: var(--tinte); }
.strassen .tel-rahmen { width: min(74vw, var(--telefon)); justify-self: center; }
@media (min-width: 760px) {
  .strassen .zwei { grid-template-columns: minmax(0, 1fr) var(--telefon); align-items: center; gap: clamp(40px, 7vw, 120px); }
  .strassen .tel-rahmen { width: 100%; }
}

/* ---------- Datenschutz: der Satz ---------- */

.satz { font-size: clamp(2.125rem, 1rem + 4.6vw, 5.25rem); line-height: 1; letter-spacing: -0.04em; }
.satz span { display: block; margin-top: 0.35em; color: var(--tinte-3); }
.unter { margin-top: 26px; max-width: 34ch; font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.375rem); color: var(--tinte-2); }
@media (min-width: 760px) {
  .privat .zwei { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(28px, 6vw, 100px); }
}

/* ---------- Premium: gratis und Premium ---------- */

.preise { display: grid; gap: 16px; }
.sp { padding: clamp(24px, 3vw, 44px); border-radius: 24px; background: var(--flaeche); }
.sp.pr { background: var(--akzent-grund); box-shadow: inset 0 0 0 1px rgba(107, 131, 255, 0.3); }
.sp h3 { font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.sp ul { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; font-size: 1.1875rem; line-height: 1.4; }
.sp li { position: relative; padding-left: 30px; }
.sp li::before {
  content: ""; position: absolute; left: 3px; top: 0.42em; width: 11px; height: 6px;
  border-left: 2px solid var(--tinte-2); border-bottom: 2px solid var(--tinte-2);
  transform: rotate(-45deg);
}
.sp.pr li::before { border-color: var(--ziel); }
.preis { margin-top: 30px; font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; }
.preis small { display: block; margin-top: 8px; font: 400 1.125rem/1.45 var(--schrift); letter-spacing: 0; color: var(--tinte-2); }
.zusatz { margin-top: 30px; max-width: 46ch; font-size: 1.1875rem; color: var(--tinte-2); }
@media (min-width: 760px) {
  .preise { grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
}

/* ---------- Häufige Fragen ---------- */

.fragen-liste { border-top: 1px solid var(--haar-weich); }
.frage { border-bottom: 1px solid var(--haar-weich); }
.frage summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 16px 0;
  font-size: 1.1875rem; font-weight: 600; cursor: pointer; list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--tinte-3); border-bottom: 2px solid var(--tinte-3);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.25s var(--ease);
}
.frage[open] summary::after { transform: translateY(3px) rotate(-135deg); }
@media (hover: hover) { .frage summary:hover { color: var(--ziel); } }
.antwort { padding: 0 0 22px; max-width: 62ch; font-size: 1.0625rem; color: var(--tinte-2); }
.antwort a, .fragen .lead a { color: var(--ziel); }
@media (min-width: 1024px) {
  .fragen .zwei { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 5vw, 80px); }
}

/* ---------- Laden: in der Mitte ---------- */

.schluss { text-align: center; padding-bottom: calc(var(--takt) * 1.4); }
.schluss .h2 { max-width: 12ch; margin-inline: auto; font-size: clamp(2.5rem, 1.2rem + 5vw, 6.5rem); line-height: 0.98; }
.schluss .lead { margin-inline: auto; }
.schluss .laden-zeile { justify-content: center; }
.schluss .hinweis { margin-inline: auto; }

/* ---------- Fuss ---------- */

.fuss { padding-bottom: 32px; }
.fuss .zeile { display: grid; gap: 24px 48px; }
.fuss-marke p { margin-top: 10px; max-width: 30ch; font-size: 0.9375rem; color: var(--tinte-2); }
.fuss-links { display: flex; flex-wrap: wrap; gap: 0 24px; align-content: start; }
.fuss-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; color: var(--tinte-2); text-decoration: none; }
@media (hover: hover) { .fuss-links a:hover { color: var(--tinte); text-decoration: underline; } }
.fuss-zeile { padding-top: 16px; border-top: 1px solid var(--haar-weich); font-size: 0.8125rem; color: var(--tinte-3); }
@media (min-width: 760px) {
  .fuss .zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .fuss-links { justify-content: flex-end; }
  .fuss-zeile { grid-column: 1 / -1; }
}

/* ---------- Auftauchen beim Scrollen ----------
   Nur mit Script (die Klasse setzt der Kopf von index.html) und nur ohne
   «Bewegung reduzieren». Einmal, kurz, ohne Bezug zur Scrollposition. */
.auf-an .auf {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.auf-an .auf.da { opacity: 1; transform: none; }
.auf-an .schritt:nth-child(2) { transition-delay: 0.08s; }
.auf-an .schritt:nth-child(3) { transition-delay: 0.16s; }
.auf-an .teile li:nth-child(2), .auf-an .rang-liste li:nth-child(2) { transition-delay: 0.05s; }
.auf-an .teile li:nth-child(3), .auf-an .rang-liste li:nth-child(3) { transition-delay: 0.1s; }
.auf-an .teile li:nth-child(4), .auf-an .rang-liste li:nth-child(4) { transition-delay: 0.15s; }
.auf-an .sp.pr { transition-delay: 0.08s; }
/* Auf dem Handy liegen die Telefone in einer Reihe zum Wischen: das dritte
   käme erst beim Wischen ins Bild, deshalb dort ohne Auftauchen. */
@media (max-width: 759px) {
  .auf-an .schritt.auf { opacity: 1; transform: none; transition: none; }
}
