/* Lunet Warteliste. Farben und Kurven wie in der App (booster/app/globals.css). */

@font-face {
  font-family: "Host Grotesk";
  src: url("/fonts/HostGrotesk-var-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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: "Host Grotesk";
  src: url("/fonts/HostGrotesk-var-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  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: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  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: light;
  --bg: #ffffff;
  --tile: #f5f5f3;
  --tile-2: #efefec;
  --fill: rgb(11 11 10 / 0.055);
  --fill-strong: rgb(11 11 10 / 0.09);
  --line: #e8e8e4;
  --ink: #0b0b0a;
  --ink-2: #3d3d3b;
  --mid: #6e6e6a;
  --faint: #a3a39e;
  --on-ink: #f5f5f2;
  --pos: #1d7a4c;
  --pos-soft: #e6f2eb;
  --neg: #c2362b;

  --sans: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --rand: max(clamp(20px, 3.2vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --grau: #8a8a85;          /* Grauteil großer Überschriften, 3,5:1 auf Weiß */
  --breite: 1120px;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: clip;
}

/* Keine Silbentrennung, nirgends (Odins Regel). */
h1, h2, h3, p, li, address, label, span { -webkit-hyphens: manual; hyphens: manual; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

a { color: inherit; }
button, input { font: inherit; color: inherit; }

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

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

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; line-height: 1.4; }
.tnum { font-variant-numeric: tabular-nums; }

.huelle {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* ── Kopf ───────────────────────────────────────────────────────────── */

.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: env(safe-area-inset-top, 0px);
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.marke svg { width: 18px; height: 22px; display: block; flex: none; }

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--mid);
  text-decoration: none;
  font-size: 14px;
  transition: color 150ms ease;
}
.ig-link svg { width: 17px; height: 17px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .ig-link:hover { color: var(--ink); }
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  gap: 48px;
  padding-block: 32px 56px;
}
.hero > * { min-width: 0; }

.oberzeile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--mid);
}
.oberzeile::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 0 3px var(--pos-soft);
}

.titel {
  margin: 0;
  font-size: clamp(38px, 2.6vw + 24px, 64px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.042em;
  max-width: 13em;
}
.titel .grau { color: var(--grau); }
.am-stueck { white-space: nowrap; }
@media (max-width: 599px) { .am-stueck { white-space: normal; } }

.lead {
  margin: 20px 0 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: clamp(17px, 0.3vw + 16px, 19px);
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.hero-text .anmeldung { margin-top: 32px; }

.hinweis-gruender {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--mid);
}
.hinweis-gruender strong { color: var(--ink); font-weight: 400; }

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 56px;
    padding-block: 40px 104px;
  }
}

/* ── Formular ───────────────────────────────────────────────────────── */

.anmeldung { max-width: 460px; }

.gruppe {
  background: var(--tile);
  border-radius: 18px;
}

.zeile {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-inline: 16px;
  gap: 12px;
  cursor: text;
}
.zeile + .zeile { box-shadow: inset 0 1px 0 var(--line); }

.zeile-label {
  flex: none;
  width: 84px;
  font-size: 15px;
  color: var(--ink);
}

.zeile input {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 17px; /* unter 16 px zoomt iOS beim Tippen rein */
  letter-spacing: -0.01em;
}
.zeile input::placeholder { color: var(--faint); opacity: 1; }

/* Fokus sitzt auf der ganzen Zeile, nicht als Rahmen ums nackte Feld. */
.gruppe { position: relative; }
.zeile:focus-within { box-shadow: inset 0 0 0 2px var(--ink); border-radius: 18px; }
.zeile + .zeile:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.zeile:first-child:focus-within { border-radius: 18px 18px 6px 6px; }
.zeile:last-child:focus-within { border-radius: 6px 6px 18px 18px; }
.zeile[aria-invalid="true"], .zeile.ist-falsch { box-shadow: inset 0 0 0 2px var(--neg); border-radius: 18px; }

/* Honeypot: für Menschen unsichtbar, für Bots ein ganz normales Feld. */
.topf {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.okay {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mid);
  cursor: pointer;
}
.okay input {
  position: absolute;
  opacity: 0;
  width: 22px; height: 22px;
  margin: 0;
  cursor: pointer;
}
.okay .kasten {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: -1px;
  border-radius: 7px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--faint);
  transition: background-color 120ms ease, box-shadow 120ms ease;
}
.okay .kasten svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.6); transition: opacity 120ms ease, transform 160ms var(--ease-out); }
.okay input:checked + .kasten { background: var(--ink); box-shadow: none; }
.okay input:checked + .kasten svg { opacity: 1; transform: none; }
.okay input:focus-visible + .kasten { outline: 2px solid var(--ink); outline-offset: 3px; }
.okay.ist-falsch .kasten { box-shadow: inset 0 0 0 2px var(--neg); }
.okay a { color: var(--ink-2); text-underline-offset: 2px; text-decoration-color: var(--faint); }

.knopf {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 150ms ease;
}
.knopf:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: #262624; }
}
.knopf-inhalt, .knopf-laden {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms var(--ease-out);
}
.knopf-inhalt svg { width: 16px; height: 16px; }
.knopf-laden { position: absolute; opacity: 0; filter: blur(2px); }
.knopf.laedt { pointer-events: none; }
.knopf.laedt .knopf-inhalt { opacity: 0; filter: blur(2px); }
.knopf.laedt .knopf-laden { opacity: 1; filter: none; }
.kreisel {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgb(245 245 242 / 0.3);
  border-top-color: var(--on-ink);
  animation: drehen 600ms linear infinite;
}
@keyframes drehen { to { transform: rotate(360deg); } }

.meldung {
  min-height: 0;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--neg);
}
.meldung:empty { display: none; }

/* Erfolg ersetzt das Formular. */
.geschafft {
  max-width: 460px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
  background: var(--tile);
  animation: rein 320ms var(--ease-out) both;
}
.geschafft-haken {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
}
.geschafft-haken svg { width: 16px; height: 16px; }
.geschafft h3 { margin: 4px 0 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.geschafft p { margin: 0; color: var(--ink-2); font-size: 15px; }
.geschafft a { color: var(--ink); text-underline-offset: 2px; }

@keyframes rein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ── Kartenstapel im Hero ───────────────────────────────────────────── */

.stapel-bereich {
  width: 100%;
  max-width: 372px;
  margin-inline: auto;
}

.stapel {
  --karte-h: 440px;
  position: relative;
  height: calc(var(--karte-h) + 30px);
  touch-action: pan-y;          /* senkrecht scrollt die Seite, waagerecht wischt die Karte */
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.stapel:focus-visible { outline: 2px solid var(--ink); outline-offset: 10px; border-radius: 30px; }

.karte {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--karte-h);
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 28px;
  background: var(--bg);
  box-shadow:
    0 0 0 1px rgb(11 11 10 / 0.06),
    0 1px 2px rgb(11 11 10 / 0.04),
    0 14px 34px -14px rgb(11 11 10 / 0.16);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  cursor: grab;
  overflow: hidden;
}
/* Ohne JavaScript liegt der Stapel trotzdem richtig. */
.karte:nth-child(1) { z-index: 5; }
.karte:nth-child(2) { z-index: 4; transform: translateY(14px) scale(0.945); }
.karte:nth-child(3) { z-index: 3; transform: translateY(28px) scale(0.89); }
.karte:nth-child(n+4) { z-index: 1; transform: translateY(42px) scale(0.835); opacity: 0; }

/* Angehoben beim Ziehen: nur die Deckkraft eines zweiten Schattens ändert sich. */
.karte::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 28px 60px -22px rgb(11 11 10 / 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.karte.zieht { cursor: grabbing; }
.karte.zieht::after { opacity: 1; }

.karte-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--mid);
}
.karte-kopf .mono:first-child { color: var(--ink); }

.stapel-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--mid);
}
.punkte { display: flex; gap: 6px; }
.punkte span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 150ms ease;
}
.punkte span.an { background: var(--ink); }

.weiter {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--fill);
  color: var(--ink);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 150ms ease;
}
.weiter svg { width: 18px; height: 18px; }
.weiter:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .weiter:hover { background: var(--fill-strong); }
}
.stapel-hinweis { display: flex; align-items: center; gap: 12px; }
.am-stueck-immer { white-space: nowrap; }

/* Karte 1: Outlier */
.reel {
  position: relative;
  flex: none;
  height: 236px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 72% 105%, #57574f 0%, rgb(87 87 79 / 0) 62%),
    radial-gradient(70% 55% at 18% 8%, #45453f 0%, rgb(69 69 63 / 0) 70%),
    linear-gradient(180deg, #1c1c1a 0%, #0f0f0e 100%);
  color: #fff;
}
.reel-figur {
  position: absolute;
  left: 50%; bottom: -30px;
  width: 150px; height: 190px;
  transform: translateX(-38%);
  border-radius: 75px 75px 0 0;
  background: radial-gradient(60% 50% at 50% 20%, #6b6b63 0%, #34342f 70%);
  opacity: 0.55;
}
.reel-figur::before {
  content: "";
  position: absolute;
  left: 50%; top: -58px;
  width: 70px; height: 78px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(60% 60% at 45% 35%, #7a7a72 0%, #3a3a35 80%);
}
.reel-text {
  position: absolute;
  inset: 44px 18px auto;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.reel-text span {
  padding: 3px 7px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.reel-glyph { position: absolute; top: 14px; left: 14px; width: 18px; height: 18px; opacity: 0.9; }
.reel-faktor {
  position: absolute;
  top: 11px; right: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.reel-aufrufe {
  position: absolute;
  left: 14px; bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
}
.reel-aufrufe svg { width: 12px; height: 12px; }

.zahlen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.zahl-label { display: block; font-size: 12px; color: var(--mid); }
.zahl-wert { display: block; margin-top: 2px; font-size: 24px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zahl-wert.pos { color: var(--pos); }
.zahlen-satz { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

/* Karte 2: Hook-Analyse */
.zitat {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.028em;
}
.messung {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--tile);
}
.messung-zeile { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.messung-zeile + .balken + .messung-zeile { margin-top: 10px; }
.messung-zeile b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.messung-zeile b.pos { color: var(--pos); }
.balken { height: 6px; margin-top: 6px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.balken i { display: block; height: 100%; border-radius: 3px; background: var(--ink); transform-origin: left; }
.balken i.w19 { width: 19%; background: var(--pos); }
.balken i.w41 { width: 41%; background: var(--faint); }
.gruende { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.gruende li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gruende svg { flex: none; width: 18px; height: 18px; margin-top: 0; color: var(--pos); }

/* Karte 3: Skript */
.skript { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.skript-hook { margin: 0; font-size: 16.5px; font-weight: 500; line-height: 1.32; letter-spacing: -0.02em; color: var(--ink); }
.trenner { display: block; margin: 10px 0; color: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.skript ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.skript li { position: relative; padding-left: 14px; }
.skript li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.skript-landung { margin: 0; color: var(--ink); }
.pillen { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.pille {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding-inline: 14px;
  border-radius: 999px;
  background: var(--fill);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pille.dunkel { background: var(--ink); color: var(--on-ink); }

/* Karte 4: Kommentar */
.kommentar { display: flex; gap: 10px; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--tile-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}
.kommentar-name { font-size: 13px; color: var(--mid); }
.kommentar-name b { color: var(--ink); font-weight: 500; }
.kommentar-text { margin: 2px 0 0; font-size: 15px; line-height: 1.4; }
.vorschlag {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--tile);
}
.vorschlag + .vorschlag { margin-top: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.vorschlag .mono { display: block; margin-bottom: 4px; color: var(--mid); }
.vorschlag p { margin: 0; font-size: 15px; line-height: 1.4; }
.vorschlag + .vorschlag p { color: var(--ink-2); }

/* Karte 5: Woche */
.woche { margin: 0; padding: 0; list-style: none; }
.woche li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-block: 11px;
}
.woche li + li { box-shadow: inset 0 1px 0 var(--line); }
.woche .tag { color: var(--mid); padding-top: 2px; }
.woche .tag b { display: block; color: var(--ink); font-weight: 400; }
.woche .was { font-size: 14.5px; line-height: 1.35; letter-spacing: -0.01em; }
.woche .art { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mid); }

/* ── Was Lunet macht ────────────────────────────────────────────────── */

.abschnitt { padding-block: 24px 88px; }

.abschnitt-titel {
  margin: 0 0 28px;
  font-size: clamp(28px, 2.2vw + 18px, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.036em;
  max-width: 18em;
}
.abschnitt-titel .grau { color: var(--grau); }

.kacheln { display: grid; gap: 14px; }
@media (min-width: 820px) { .kacheln { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.kachel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 26px;
  background: var(--tile);
}
.kachel-bild { display: flex; align-items: center; gap: 8px; height: 36px; margin-bottom: 36px; }
.kachel .mono { color: var(--mid); }
.kachel h3 { margin: 6px 0 8px; font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -0.026em; }
.kachel p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding-inline: 12px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.chip.dunkel { background: var(--ink); color: var(--on-ink); }
.chip.leise { background: transparent; color: var(--mid); padding-inline: 2px; font-weight: 400; }
.chip.mono { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--mid); }

/* ── Zweites Eintragen ──────────────────────────────────────────────── */

.nochmal {
  display: grid;
  gap: 28px;
  padding: 28px 22px;
  border-radius: 32px;
  background: var(--tile);
}
.nochmal > * { min-width: 0; }
.nochmal .abschnitt-titel { margin: 0; }
.nochmal p.lead { margin-top: 14px; }
.nochmal .gruppe { background: var(--bg); }
.nochmal .geschafft { background: var(--bg); }
@media (min-width: 900px) {
  .nochmal { grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 56px; padding: 56px; }
}

/* ── Fuß ────────────────────────────────────────────────────────────── */

.fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px));
  box-shadow: inset 0 1px 0 var(--line);
  color: var(--mid);
  font-size: 14px;
}
.fuss-marke { display: flex; align-items: center; gap: 10px; }
.fuss-marke svg { width: 13px; height: 16px; color: var(--ink); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .fuss nav a:hover { color: var(--ink); }
}

/* ── Rechtsseiten und schlichte Seiten ──────────────────────────────── */

.schlicht {
  max-width: 680px;
  margin-inline: auto;
  padding: calc(24px + env(safe-area-inset-top, 0px)) var(--rand) 96px;
}
.zurueck {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--mid);
  text-decoration: none;
  font-size: 15px;
  transition: color 150ms ease;
}
.zurueck svg { width: 14px; height: 17px; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .zurueck:hover { color: var(--ink); }
}
.schlicht-titel {
  margin: 40px 0 12px;
  font-size: clamp(34px, 3vw + 22px, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.schlicht-text { margin: 0 0 28px; color: var(--ink-2); font-size: 17px; }
.knopf-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 500;
  transition: transform 140ms var(--ease-out);
}
.knopf-link:active { transform: scale(0.97); }

.recht { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.recht .stand-oben { margin: 0 0 40px; color: var(--mid); }
.recht h2 {
  margin: 44px 0 10px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.recht h3 { margin: 24px 0 6px; font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.recht p, .recht address, .recht ul { margin: 0 0 1em; max-width: 64ch; font-style: normal; }
.recht ul { padding-left: 1.1em; }
.recht li { margin-bottom: 0.35em; }
.recht a { color: var(--ink); text-underline-offset: 2px; text-decoration-color: var(--faint); overflow-wrap: anywhere; }
.recht .fehlt { padding: 1px 6px; border-radius: 6px; background: #fdecc8; color: #6b3f00; font-weight: 500; }
.recht .stand { margin-top: 56px; color: var(--mid); }

/* ── Auftritt ───────────────────────────────────────────────────────── */

.auftritt { animation: auftritt 640ms var(--ease-out) both; }
.auftritt.v1 { animation-delay: 60ms; }
.auftritt.v2 { animation-delay: 120ms; }
.auftritt.v3 { animation-delay: 180ms; }
.auftritt.v4 { animation-delay: 260ms; }
@keyframes auftritt {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Kacheln kommen beim Scrollen, aber nur, wenn das Skript läuft. */
.js .einblenden { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.js .einblenden.da { opacity: 1; transform: none; }
.js .einblenden:nth-child(2) { transition-delay: 70ms; }
.js .einblenden:nth-child(3) { transition-delay: 140ms; }

@media (prefers-reduced-motion: reduce) {
  .auftritt { animation-name: nur-blenden; animation-duration: 300ms; }
  .js .einblenden { transform: none; transition: opacity 300ms ease; }
  .geschafft { animation-name: nur-blenden; }
  .knopf:active, .weiter:active, .knopf-link:active { transform: none; }
  .kreisel { animation-duration: 1.4s; }
  .karte { transition: opacity 200ms ease; } /* statt Flug nur Überblenden */
}
@keyframes nur-blenden { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1200px) { .hero { gap: 88px; } }
