/* SPDX-License-Identifier: LicenseRef-Proprietary */
/* SPDX-FileCopyrightText: 2026 Venus Invest UG (haftungsbeschränkt) */
/* Systemschrift, auch hier. Henriks Entscheidung vom 03.11.2026, 14:57,
   gilt „überall"; Hard Rule 25 hat `sites/` ausdrücklich einem eigenen
   Schritt überlassen, und das ist dieser (Auftrag QS1, Teil D3).

   Vorher standen hier zwei @font-face-Regeln für Inter 700, selbst
   ausgeliefert aus fonts/. Weg sind sie, nicht die Zusage dahinter: Es
   gab nie einen Aufruf an Google, und es gibt jetzt keinen Schriftabruf
   mehr überhaupt. Die Überschriften nehmen denselben Stapel wie der
   Rumpf und wie die App — SF Pro auf dem iPhone, Segoe UI auf Windows,
   Roboto auf Android. */
:root {
  --grund: #ffffff;
  --text: #0f2b5b;
  --text-leise: #4a5d7a;
  --text-gedaempft: #5e6e88;
  --linie: #d8dee8;
  --antippbar: #f3f5f8;
  --akzent: #2563eb;
  --logo-ink: #0f2b5b;
  --logo-accent: #2563eb;
  --kasten-rahmen: #7c8aa3;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --grund: #0a1020;
    --text: #eaf0fa;
    --text-leise: #b4c2d8;
    --text-gedaempft: #8c9bb5;
    --linie: #1f2a40;
    --antippbar: #141c30;
    --akzent: #60a5fa;
    --logo-ink: #ffffff;
    --logo-accent: #60a5fa;
    --kasten-rahmen: #5c6e92;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --grund: #0a1020;
  --text: #eaf0fa;
  --text-leise: #b4c2d8;
  --text-gedaempft: #8c9bb5;
  --linie: #1f2a40;
  --antippbar: #141c30;
  --akzent: #60a5fa;
  --logo-ink: #ffffff;
  --logo-accent: #60a5fa;
  --kasten-rahmen: #5c6e92;
  color-scheme: dark;
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font:
    16px/1.55 -apple-system,
    BlinkMacSystemFont,
    system-ui,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Akzentlinie 2 px oben, wie im App-Header */
.akzentlinie {
  height: 2px;
  background: var(--akzent);
}

.seite {
  min-height: calc(100% - 2px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-inline: max(20px, env(safe-area-inset-left, 0px));
  max-width: 640px;
  margin-inline: auto;
}

header {
  padding-block: 24px 0;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-block: 48px;
}

.logo {
  display: block;
  width: clamp(200px, 56vw, 300px);
  height: auto;
  max-width: 100%;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-leise);
}
/* Kästchen-Motiv aus dem Logo: vier Schritte, drei abgehakt */
.kaesten {
  display: flex;
  gap: 5px;
}
.kasten {
  width: 14px;
  height: 14px;
  border-radius: 3.6px; /* 26 % der Kantenlänge, wie im Logo */
  box-sizing: border-box;
  border: 1.5px solid var(--kasten-rahmen);
  display: grid;
  place-items: center;
}
.kasten.fertig {
  background: var(--text);
  border-color: var(--text);
}
.kasten.fertig svg {
  width: 9px;
  height: 9px;
  stroke: var(--grund);
}

h1 {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 span {
  color: var(--akzent);
}

.einleitung {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 19px);
  color: var(--text-leise);
  max-width: 34em;
  text-wrap: pretty;
}

.fakten {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.fakten li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-block: 14px;
  border-bottom: 1px solid var(--linie);
}
/* Ohne die Preiszeile darunter endete die Liste auf einer freistehenden
   Linie — ein Strich, der nichts mehr trennt. Die letzte Zeile schließt
   deshalb ohne Rahmen ab. */
.fakten li:last-child {
  border-bottom: 0;
}
.fakten .haken {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--akzent);
  display: grid;
  place-items: center;
  transform: translateY(2px);
}
.fakten .haken svg {
  width: 10px;
  height: 10px;
  stroke: var(--grund);
}
.fakten strong {
  font-weight: 600;
}
.fakten span {
  color: var(--text-leise);
}

footer {
  padding-block: 24px max(24px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--linie);
  font-size: 13px;
  color: var(--text-gedaempft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer p {
  margin: 0;
  max-width: 46em;
}

@media (min-width: 900px) {
  .seite {
    max-width: 720px;
  }
  main {
    gap: 32px;
  }
}
@media (max-height: 640px) {
  main {
    padding-block: 28px;
    gap: 20px;
  }
}
/* Rechtstexte: dieselben Farben und Abstände, nur längerer Text. */
.prosa {
  padding-block: 32px 40px;
  max-width: 34em;
}
.prosa h1 {
  font-size: clamp(26px, 5vw, 34px);
  margin-bottom: 8px;
}
.prosa h2 {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 6px;
}
.prosa p,
.prosa dd,
.prosa li {
  margin: 0 0 10px;
  color: var(--text-leise);
}
.prosa dt {
  font-weight: 600;
  color: var(--text);
  margin-top: 12px;
}
.prosa dd {
  margin-inline-start: 0;
}
.prosa a {
  color: var(--akzent);
}
.prosa ul {
  margin: 0 0 10px;
  padding-inline-start: 20px;
}

.entwurf {
  margin: 0 0 24px;
  border: 1.5px solid var(--kasten-rahmen);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  background: var(--antippbar);
}

/* Platzhalter sind absichtlich nicht zu übersehen. Der Prüf-Lauf bricht ab,
     solange einer übrig ist — siehe scripts/check-coming-soon.ts */
.platzhalter {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  border: 1.5px dashed var(--kasten-rahmen);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--text);
}

.fusslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.fusslinks a,
.fusslinks span {
  color: var(--text-gedaempft);
}
/* The source line under a summary (neue-goae.html): the footer's 13 px and
   colour, so it reads as a note on the text rather than part of it. */
.prosa .grundlage {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-gedaempft);
}
.zurueck {
  margin: 0 0 4px;
  font-size: 14px;
}
.zurueck a {
  color: var(--akzent);
}

/* The logo colours used to sit in style attributes on the two <g> groups;
   the CSP forbids inline styles, so they are classes now. */
.logo-ink {
  fill: var(--logo-ink);
}
.logo-accent {
  fill: var(--logo-accent);
}
