/* CalibRUN Beta-Landingpage - nutzt das "Soft Signal"-Designsystem der App
   (src/theme.css). Tokens 1:1 übernommen, keine neuen Farbliterale (Briefing C1).

   Dramaturgie der Seite: Der Failure-Arc (Sektion 2) ist bewusst grau - Tinte,
   Schiefer, Linien, kein Volt. Volt taucht erst am Wendepunkt auf (Sektion 4)
   und gehört ab da der Handlung: Vorschlag, Zustimmung, Ausblick. Diese
   Farbdisziplin trägt die Geschichte, sie ist keine Dekoration. */

/* ---------- fonts (lokal gehostet, kein Google-CDN - DSGVO, Briefing C5) ---------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/outfit-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/outfit-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/outfit-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
}

/* ---------- tokens (aus src/theme.css) ---------- */
:root {
  --ink: #0c1216;
  --card-dark: #152026;
  --paper: #eff2f4;
  --card: #ffffff;
  --accent: #aee936;
  --on-accent: #10200a;
  --accent-ink: #55731a;
  --accent-soft: #edf6da;
  --accent-on-dark: #c8f06e;
  --pace-green: #2fde86;
  --slate: #666f76;
  --mist: #98a2a9;
  --line: #e2e7ea;
  --wx-temp: #c86a1e;
  --ok-bg: #ddf2e5;
  --ok-fg: #0b5b31;
  --err-bg: #fadede;
  --err-fg: #8a1f1f;
  /* nachgetragen aus src/theme.css: Die Rechtstexte markieren damit offene
     Platzhalter. Ohne die beiden Tokens war die .todo-Regel ungueltig und die
     Markierung unsichtbar - genau der Fall, den sie verhindern soll. */
  --warn-bg: #fbf1d3;
  --warn-fg: #6b5410;

  --r-card: 24px;
  --r-inner: 14px;
  --r-pill: 999px;
  /* die dunklen Einschübe und das CTA-Band sind Kapitel, keine Hintergründe -
     sie sind aus dem hellen Fluss ausgeschnitten */
  --r-block: clamp(22px, 3vw, 44px);
  --shadow-card: 0 16px 38px rgba(11, 20, 24, 0.1);

  --display: "Outfit", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;

  --max: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Satzform statt Versalien - Versalien bleiben den Mikro-Labels (.eyebrow,
   .beat .wk, .logrow .tag) vorbehalten. Gleiche Regel wie in src/theme.css. */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

section {
  padding: clamp(56px, 9vw, 104px) 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.on-dark .eyebrow {
  color: var(--accent-on-dark);
}

.h2 {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 600;
  max-width: 22ch;
  text-wrap: balance;
}
.sub {
  color: var(--slate);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 62ch;
  margin-top: 16px;
}
.on-dark .sub {
  color: var(--mist);
}

.prose {
  max-width: 66ch;
}
.prose p + p {
  margin-top: 16px;
}
.prose strong {
  font-weight: 700;
}
/* der Empathie-Absatz trägt die Wendung - er darf größer sein als Fließtext */
.big-prose {
  margin-top: 24px;
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--mist);
}
.big-prose strong {
  color: #fff;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 242, 244, 0.86);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
/* das Lockup trägt seine eigene Schreibweise - „Calib" + Volt „RUN" ist die
   Wortmarke, also darf kein text-transform sie zu einer Kasusform glätten */
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
}
.logo span {
  color: var(--accent-ink);
}
.logo em {
  font-style: normal;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  vertical-align: super;
  margin-left: 6px;
}
/* Das Zeichen vor der Wortmarke. Bewusst inline und em-basiert: als Flex-Element
   würde das `vertical-align: super` des BETA-Zusatzes wirkungslos werden, und die
   em-Maße lassen dasselbe Markup in der Kopfzeile (26 px) und auf den dunklen
   Vollbild-Formularen (34 px) gleich sitzen. */
.logo-mark {
  /* inline-block gegen die globale img-Regel weiter oben: als Block bricht das
     Zeichen auf eine eigene Zeile und sprengt die 64-px-Kopfzeile. */
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.24em;
  margin-right: 0.34em;
}
.on-dark .logo span,
.site-foot .logo span {
  color: var(--accent);
}

/* ---------- buttons (aus theme.css .btn) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  transition: filter 0.12s;
}
.btn:hover {
  filter: brightness(1.04);
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.btn.small {
  padding: 10px 18px;
  font-size: 13.5px;
}
.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}

/* ---------- hero ---------- */
/* Zweispaltig: links die Behauptung, rechts die Produktbühne. Vorher war der
   Hero bewusst bildlos ("der Einstieg ist eine Behauptung, kein Feature") - er
   war damit aber eine reine Textwand, und die App bekam man erst zwei
   Bildschirmhöhen später zu sehen. Die Pointe bleibt trotzdem Sektion 4: dort
   steht der Morgen-Dialog als echte Aufnahme, hier nur die Heute-Seite. */
.hero {
  position: relative;
  /* der Volt-Schimmer unten ragt bewusst über die Sektion hinaus */
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 92px);
}
/* Weicher Volt-Schein hinter der Bühne. color-mix auf dem Token statt einer
   neuen Farbliteral - so hängt der Ton am Designsystem. */
.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -18%;
  width: min(760px, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 68%);
  pointer-events: none;
}
/* Drei Bereiche, damit das Handy auf dem Telefon direkt hinter dem CTA
   auftaucht und die Belegliste nach unten rutscht - im DOM steht die Bühne
   deshalb vor den Belegen, am Desktop holen die Areas sie zurück in die linke
   Spalte. */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-areas:
    "copy  stage"
    "proof stage";
  align-items: start;
  column-gap: clamp(28px, 5vw, 64px);
}
.hero-copy {
  grid-area: copy;
}
.hero-stage {
  grid-area: stage;
  align-self: center;
}
.hero-proof {
  grid-area: proof;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  max-width: 16ch;
  text-wrap: balance;
  margin-top: 4px;
}
.hero h1 mark {
  background: none;
  color: var(--accent-ink);
}
.hero .sub {
  color: var(--slate);
  margin-top: 18px;
  max-width: 48ch;
}

/* ---------- Hero-CTA ---------- */
/* Springt zum einen Formular unten. Hier stand bis 2026-08-22 ein
   Kurzformular (.wl-inline) nur fuer die E-Mail; die Seite hat jetzt genau ein
   Formular, und das fragt immer alles ab. */
.hero-cta {
  margin-top: 26px;
}

.microcopy {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* drei Belege direkt unter dem CTA - gibt der Textspalte Struktur, ohne eine
   Feature-Liste zu werden */
.hero-proof {
  list-style: none;
  margin: clamp(24px, 3.2vw, 36px) 0 0;
  align-self: end;
  padding: 0;
  max-width: 48ch;
  border-top: 1px solid var(--line);
}
.hero-proof li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.hero-proof b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.015em;
  min-width: 8.6em;
}
.hero-proof span {
  color: var(--slate);
  font-size: 13.5px;
}

/* ---------- Produktbühne im Hero ---------- */
/* Die beiden Karten sitzen diagonal an den Ecken der Aufnahme und ragen nur mit
   ihrer letzten Zeile ins Bild. Das Polster oben und unten ist genau dafür da -
   und es ist absichtlich in px, nicht in vw: die Karten sind bei jeder
   Desktop-Breite 131 bzw. 125 px hoch (258 px Breite, gleicher Umbruch), also
   ergibt ein festes Polster überall dieselbe Überdeckung. 108 px lassen die obere
   Karte 23 px ins Bild reichen - nur auf die Gerätekante, oberhalb der ersten
   Textzeile der Einheit; unten sind es 25 px, die ohnehin im Verlauf liegen.
   Wer hier auf vw umstellt, verschiebt die Kante mit der Fensterbreite: bei
   1120 px lag sie quer in der Zeile „HEUTIGE EINHEIT". */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 108px 0 100px clamp(0px, 4vw, 56px);
}
/* Die Aufnahme wird unten angeschnitten: in voller Höhe ist ein 390-×-844-
   Screenshot bei 300 px Breite 649 px hoch und zieht den Hero auseinander. Der
   Verlauf endet auf --paper, dem Grund des Hero - deshalb darf diese Karte
   keinen anderen Hintergrund bekommen. */
.hero-stage .hero-phone {
  position: relative;
  margin: 0;
  width: min(300px, 100%);
  max-height: clamp(420px, 44vw, 530px);
  overflow: hidden;
}
.hero-phone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
/* Die zwei Karten sind HTML, keine Bildausschnitte - sie sollen mit der Seite
   skalieren und in jeder Spaltenbreite lesbar bleiben. */
.hero-note {
  position: absolute;
  z-index: 2;
  margin: 0;
  display: grid;
  gap: 5px;
  width: min(258px, 78%);
  padding: 13px 15px;
  background: var(--card);
  border-radius: var(--r-inner);
  box-shadow: var(--shadow-card);
}
.hero-note-top {
  top: 0;
  left: 0;
}
.hero-note-bottom {
  bottom: 0;
  left: clamp(0px, 1.8vw, 26px);
}
.hero-note-k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.hero-note-v {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-note-v b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* Status, nicht Marke: die Signalfarbe steht immer neben ihrem deutschen Wort */
.hero-note-v em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--err-bg);
  color: var(--err-fg);
}
.hero-note-d {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--slate);
}
.hero-note-d b {
  color: var(--ink);
  font-weight: 600;
}
.hero-note-btns {
  display: flex;
  gap: 7px;
  margin-top: 3px;
}
.hero-note-btns i {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.hero-note-btns i.is-yes {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* Unter 1000 px steht die Bühne unter dem Text: die beiden Karten hätten sonst
   nur noch ein Drittel des Handys übrig gelassen. Sie werden dabei zu normalen
   Blöcken - absolut positioniert ragen sie auf 360 px aus dem Bild heraus. */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "stage"
      "proof";
    row-gap: 32px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-proof {
    width: 100%;
    text-align: left;
  }
  .hero-stage {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0;
  }
  .hero-stage .hero-phone {
    width: min(300px, 84%);
    max-height: 370px;
  }
  .hero-note {
    position: static;
    width: min(340px, 100%);
  }
  .hero::before {
    top: auto;
    bottom: -12%;
    right: -34%;
    width: min(620px, 130%);
  }
}

/* ---------- der Failure-Arc als Zeitstrahl ---------- */
/* Grau gehalten: kein Volt, keine Signalfarbe. Die Wochen sind die Erzählung,
   nicht das Produkt - Farbe bekommt die Seite erst am Wendepunkt. */
.story-sec {
  border-top: 1px solid var(--line);
}
.story {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.beat {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.beat:first-child {
  border-top: none;
}
/* die Linie, die die Wochen verbindet - endet am letzten Beat */
.beat::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.beat:first-child::before {
  top: 34px;
}
.beat:last-child::before {
  bottom: auto;
  height: 34px;
}
.beat .wk {
  position: relative;
  padding-left: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 5px;
}
.beat .wk::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--mist);
}
.beat .bd h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  margin-bottom: 8px;
}
.beat .bd p {
  color: var(--slate);
  font-size: 15.5px;
  max-width: 62ch;
}
.beat .bd p b {
  color: var(--ink);
  font-weight: 600;
}
/* das Ende des Bogens: der Punkt wird gefüllt, der Text verliert an Kontrast */
.beat.end .wk::before {
  background: var(--mist);
  border-color: var(--mist);
}
.beat.end .bd h3 {
  color: var(--slate);
}
@media (max-width: 640px) {
  .beat {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }
  .beat .bd {
    padding-left: 22px;
  }
}

.closer {
  margin-top: 38px;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 600;
  max-width: 54ch;
}
.closer strong {
  color: var(--accent-ink);
}
.on-dark .closer strong {
  color: var(--accent-on-dark);
}

/* ---------- feature sections ---------- */
.feature {
  border-top: 1px solid var(--line);
}
.feature.dark {
  background: var(--ink);
  color: #fff;
  border-top: none;
}

/* Dunkle Abschnitte und das Volt-Band sind aus dem hellen Fluss ausgeschnittene
   Blöcke, keine durchlaufenden Hintergründe. Der Abschlussbereich (.final +
   Footer) bleibt bewusst vollflächig - er ist der Boden der Seite. */
.feature.dark,
.cta-band {
  border-radius: var(--r-block);
  margin: clamp(10px, 2vw, 20px) clamp(10px, 2.5vw, 30px);
  overflow: hidden;
}

.split-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .split-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- der Wendepunkt ---------- */
.turn {
  margin-top: 40px;
  align-items: start;
}
.turn-shot {
  position: sticky;
  top: 88px;
}
@media (max-width: 900px) {
  .turn-shot {
    position: static;
  }
}

.morning {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mstep;
}
.morning li {
  counter-increment: mstep;
  position: relative;
  padding: 0 0 26px 52px;
}
.morning li::before {
  content: counter(mstep);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Verbindungslinie zwischen den Schritten */
.morning li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.morning li:last-child {
  padding-bottom: 0;
}
.morning li:last-child::after {
  display: none;
}
.morning h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.morning p {
  color: var(--slate);
  font-size: 15px;
}
.morning p b {
  color: var(--ink);
  font-weight: 600;
}

.shot {
  border-radius: var(--r-card);
  border: none;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
/* Kartenausschnitte sind schmaler als ihre Spalte (die Aufnahmen stammen aus
   einem 390-px-Viewport). Ohne width:100% stünde der Rahmen rechts offen. */
.shot img {
  width: 100%;
}
.on-dark .shot,
.feature.dark .shot {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.shot-caption {
  font-size: 12px;
  color: var(--mist);
  margin-top: 10px;
}
/* Handy-Aufnahmen (390 × 844). Ohne Deckel würde ein Hochkant-Screenshot in
   einer 550-px-Spalte 1190 px hoch und die Textspalte daneben erschlagen.
   Der größere Radius lässt das Bild als Gerät lesen statt als Fenster. */
.phone {
  border-radius: 30px;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- die vier Anpassungen einer Einheit ---------- */
.answers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.ans {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--on-accent);
  padding: 26px 0;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-band p {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.025em;
}
.cta-band .btn {
  background: var(--ink);
  color: #fff;
}

/* ---------- cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.scard {
  background: var(--card);
  border: none;
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.scard .icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.scard .icon svg {
  width: 22px;
  height: 22px;
}
.scard h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.scard p {
  color: var(--slate);
  font-size: 15px;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  position: relative;
  background: var(--card);
  border: none;
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.step .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  color: var(--slate);
  font-size: 15px;
}

/* nachgebautes Anpassungs-Protokoll */
.loglist {
  margin-top: 40px;
  background: var(--card-dark);
  border-radius: var(--r-card);
  padding: 10px 24px;
}
.logrow {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  align-items: baseline;
}
.logrow:last-child {
  border-bottom: none;
}
.logrow .d {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
  flex: none;
  width: 78px;
}
.logrow .tag {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  border: 1px solid rgba(200, 240, 110, 0.35);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}
.logrow .msg {
  font-size: 14px;
  color: #e6e9ed;
}
.logrow .msg b {
  color: var(--accent-on-dark);
  font-weight: 700;
}
@media (max-width: 640px) {
  .logrow {
    flex-wrap: wrap;
  }
  .logrow .msg {
    flex-basis: 100%;
  }
}

/* two-column copy blocks */
.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 36px;
}
@media (max-width: 860px) {
  .cols-2 {
    grid-template-columns: 1fr;
  }
}
.colblock h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.colblock p {
  color: var(--slate);
  font-size: 15px;
}
.colblock p + p {
  margin-top: 12px;
}

.footnote {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--slate);
  max-width: 72ch;
}

/* ---------- was es nicht tut ---------- */
.notlist {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  max-width: 78ch;
}
.notlist li {
  position: relative;
  padding: 20px 0 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mist);
  font-size: 15.5px;
}
.notlist li:first-child {
  border-top: none;
}
.notlist li b {
  color: #fff;
  font-weight: 700;
}
.notlist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 28px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- die zwei Enden ---------- */
.ends {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 780px) {
  .ends {
    grid-template-columns: 1fr;
  }
}
.endcol {
  border-radius: var(--r-card);
  padding: 30px;
}
.endcol .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.endcol p {
  font-size: 16px;
}
.endcol.bad {
  background: transparent;
  border: 1px solid var(--line);
}
.endcol.bad .k {
  color: var(--mist);
}
.endcol.bad p {
  color: var(--slate);
}
.endcol.good {
  background: var(--card);
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--accent);
}
.endcol.good .k {
  color: var(--accent-ink);
}
.endcol.good p {
  color: var(--ink);
}

/* ---------- Galerie ---------- */
/* Vier Handy-Screens nebeneinander. Sie sind je genau ein Gerät-Viewport, also
   vollständig zeigen statt beschneiden - die Kachelhöhe bleibt von allein gleich. */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* beta deal */
.deal-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .deal-cols {
    grid-template-columns: 1fr;
  }
}
.deal {
  background: var(--card);
  border: none;
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.deal .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.deal p {
  color: var(--slate);
  font-size: 15px;
}
.deal-note {
  margin-top: 30px;
  color: var(--slate);
  font-size: 15px;
  max-width: 66ch;
}

/* FAQ */
.faq-list {
  margin-top: 36px;
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-weight: 700;
  font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  color: var(--accent-ink);
  flex: none;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item .a {
  padding: 0 4px 22px;
  color: var(--slate);
  font-size: 15px;
  max-width: 70ch;
}

/* final CTA + form */
.final {
  background: var(--ink);
  color: #fff;
}
/* ---------- Warteliste-Popup ---------- */
/* Die Huelle um unser eigenes Formular (.wl-form weiter unten). Am 2026-08-23
   standen hier zwischendurch Brevos Embed und Brevos iframe - beide sind wieder
   raus, weil sie ihr eigenes Aussehen mitbringen bzw. sich gar nicht gestalten
   lassen. Deshalb steht hier auch kein Brevo-CSS mehr. */
.wl-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: clamp(12px, 4vw, 40px);
  overflow-y: auto;
  background: rgba(12, 18, 22, 0.62);
  backdrop-filter: blur(3px);
}
/* Zwei Wege, dasselbe Popup: .is-open setzt script.js, :target greift ohne JS
   (jeder CTA verweist auf #warteliste). */
.wl-modal.is-open,
.wl-modal:target {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
/* Dunkel, weil das Formular darin fuer dunklen Grund gebaut ist: weisser Text,
   Felder mit rgba-Weiss-Rahmen, Volt-Knopf. --card-dark statt --ink, damit sich
   das Panel vom abgedunkelten Hintergrund abhebt. */
.wl-modal-panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: auto;
  background: var(--card-dark);
  color: #fff;
  border-radius: var(--r-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: clamp(22px, 4vw, 40px);
}
.wl-modal-panel .h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin-top: 4px;
}
.wl-modal-panel .sub {
  margin-top: 10px;
  font-size: 15px;
}
/* Das Kreuz steht bewusst im Panel und nicht in einer Kopfzeile: Das Embed ist
   auf einem kleinen Display hoeher als der Viewport, eine Kopfzeile waere
   weggescrollt. */
.wl-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}
/* Seite hinter dem offenen Popup festhalten. */
html.wl-open,
html.wl-open body {
  overflow: hidden;
}

.wl-form {
  margin-top: 36px;
  max-width: 560px;
}
.wl-form label.field {
  display: block;
  margin-bottom: 18px;
}
.wl-form span.lab {
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: var(--mist);
  margin-bottom: 7px;
}
.wl-form span.lab em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--mist);
}
.wl-form input[type="email"],
.wl-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-inner);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--body);
  font-size: 15px;
}
.wl-form select option {
  color: var(--ink);
  background: #fff;
}
.wl-form input:focus,
.wl-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: transparent;
}
.wl-form .optgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 16px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--mist);
  margin: 6px 0 20px;
}
.consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--accent);
}
.consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-hint {
  font-size: 12.5px;
  color: var(--mist);
  margin-top: 14px;
}
.form-msg {
  margin-top: 16px;
  border-radius: var(--r-inner);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.form-msg.err {
  display: block;
  background: var(--err-bg);
  color: var(--err-fg);
}
.form-msg.ok {
  display: block;
  background: var(--ok-bg);
  color: var(--ok-fg);
}

/* Brevos Spam-Falle sitzt im Formular und muss fuer Menschen unsichtbar sein,
   aber im DOM stehen. display:none waere zu grob, das ueberspringen manche Bots
   gezielt. */
/* Optisch versteckt, aber fuer Screenreader lesbar. Fuer echten Hilfstext. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Brevos Spamfalle (email_address_check). MUSS display:none sein und darf NICHT
   .sr-only benutzen - daran ist am 2026-08-22 die Warteliste gescheitert:
   .sr-only nimmt das Feld nur aus dem Blick, es bleibt im Layout und damit ein
   ganz normales Ziel fuer die Autovervollstaendigung. Das Feld heisst
   email_address_check, also traegt Chrome dort bereitwillig die Adresse ein,
   sobald man den Vorschlag im echten E-Mail-Feld annimmt. Brevo sieht seine
   Falle gefuellt, verwirft die Anmeldung stillschweigend und leitet trotzdem
   auf die Danke-Seite weiter: keine Mail, kein Kontakt, kein Log-Eintrag.
   Ein display:none-Feld schliesst Chrome von der Autovervollstaendigung aus und
   schickt es trotzdem mit - nur disabled-Felder fallen aus dem POST heraus.
   Brevo versteckt dasselbe Feld in seiner eigenen Fassung genauso. */
.wl-trap { display: none; }


/* Der finale CTA-Knopf, wo vorher das Formular stand. */
.final-cta {
  margin-top: 32px;
}

/* footer */
.site-foot {
  background: var(--ink);
  color: var(--mist);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 44px 0 56px;
  font-size: 14px;
}
.site-foot .cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
}
@media (max-width: 720px) {
  .site-foot .cols {
    grid-template-columns: 1fr;
  }
}
.site-foot a {
  color: var(--accent-on-dark);
  text-decoration: none;
}
.site-foot a:hover {
  text-decoration: underline;
}
.site-foot .legal {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- Unterseiten (Impressum/Datenschutz/Bestätigt) ---------- */
.page-simple {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 90px) clamp(18px, 4vw, 40px);
}
.page-simple h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 20px;
}
.page-simple p {
  margin-top: 14px;
  color: var(--slate);
}
/* Rechtstexte (Impressum, Datenschutz) sind lange, gegliederte Fliesstexte.
   .page-simple kannte vorher nur h1 und p, deshalb hier Ueberschriften, Listen,
   Adressblock und eine Fussnotenzeile dazu.

   .todo ist absichtlich laut: Ein nicht ausgefuellter Platzhalter in einem
   Impressum soll auf der fertigen Seite ins Auge springen, nicht still
   mitlaufen. */
.page-simple h2 {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 0;
}
.page-simple h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 0;
}
.page-simple h2 + p,
.page-simple h3 + p {
  margin-top: 10px;
}
.page-simple ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--slate);
}
.page-simple li {
  margin-top: 7px;
}
.page-simple li > strong {
  color: var(--ink);
}
.page-simple a {
  color: var(--accent-ink);
}
.page-simple address {
  font-style: normal;
  margin-top: 12px;
  color: var(--slate);
}
.page-simple .meta {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.page-simple .todo {
  display: inline;
  background: var(--warn-bg);
  color: var(--warn-fg);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  /* Die gestrichelte Kante traegt die Warnung. --warn-bg auf --paper ist ein zu
     schwacher Kontrast, um von allein aufzufallen, und genau das soll ein
     unausgefuellter Platzhalter im Impressum tun. */
  box-shadow: inset 0 0 0 1.5px var(--warn-fg);
  outline: 1px dashed var(--warn-fg);
  outline-offset: 1px;
}

.page-simple .banner-todo {
  margin-top: 24px;
  border-radius: var(--r-inner);
  padding: 15px 19px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* ---------- Touch-Geräte ---------- */
/* Ein schneller Doppel-Tap auf einen Button hat die Seite gezoomt statt den Tap
   auszulösen; Pinch-Zoom auf Inhalten bleibt erhalten. */
button,
a,
label,
input,
select {
  touch-action: manipulation;
}

/* iOS Safari zoomt die Seite beim Fokus hinein, sobald ein Feld kleiner als
   16px ist - und zoomt danach NICHT zurück, die Seite bleibt vergrößert. Auf
   Touch-Geräten deshalb genau 16px. Nicht per user-scalable=no im viewport-Meta
   "lösen" - das nimmt allen das Pinch-Zoom. Gleiche Regel wie in src/theme.css.
   Dieser Block MUSS am Dateiende stehen: .wl-form input[type="email"] weiter
   oben hat dieselbe Spezifität, es entscheidet also die Reihenfolge. */
@media (max-width: 760px), (pointer: coarse) {
  .wl-form input[type="email"],
  .wl-form select {
    font-size: 16px;
  }
}
