/* Eine Datei für alle Seiten. Keine fremden Schriften und keine fremden
   Server: Eine Datenschutzerklärung, die zum Anzeigen erst irgendwo anders
   anfragt, widerspricht sich selbst. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  color-scheme: light dark;
  --grund: #f7f8fa;
  --karte: #ffffff;
  --text: #16202e;
  --leise: #5a6675;
  --linie: #dfe3e9;
  --akzent: #0b62d6;
  --marke: #16243a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0d141f;
    --karte: #141d2b;
    --text: #e8ecf2;
    --leise: #9aa6b6;
    --linie: #263247;
    --akzent: #6aa9ff;
    --marke: #e8ecf2;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--grund);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.blatt { max-width: 46rem; margin: 0 auto; }
header { padding: 56px 0 8px; }
.marke {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: -0.01em; color: var(--marke);
  font-size: 1.05rem; text-decoration: none;
}
.marke .zeichen {
  /* Dasselbe Symbol wie die App, nicht eine zweite Erfindung daneben. */
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: block; object-fit: cover;
}
h1 {
  font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.15;
  letter-spacing: -0.02em; margin: 24px 0 6px; text-wrap: balance;
}
.stand { color: var(--leise); font-size: 0.94rem; margin: 0 0 36px; }
h2 {
  font-size: 1.22rem; letter-spacing: -0.01em; margin: 40px 0 10px;
  padding-top: 20px; border-top: 1px solid var(--linie); text-wrap: balance;
}
h2:first-of-type { border-top: 0; padding-top: 0; }
h3 { font-size: 1.02rem; margin: 24px 0 6px; }
p, li { color: var(--text); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 1.25rem; }
li { margin-bottom: 7px; }
a { color: var(--akzent); text-underline-offset: 2px; }
.kasten {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: 14px; padding: 20px 22px; margin: 0 0 32px;
}
.kasten p:last-child { margin-bottom: 0; }
.kasten strong { font-weight: 650; }
@media (prefers-color-scheme: dark) {
  }
dl { margin: 0 0 14px; }
dt { font-weight: 650; margin-top: 14px; }
dd { margin: 2px 0 0; color: var(--leise); }
footer {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--linie);
  color: var(--leise); font-size: 0.9rem;
}
footer a { color: var(--leise); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em; background: var(--karte);
  border: 1px solid var(--linie); border-radius: 5px; padding: 1px 5px;
}

/* Anleitungen: Adress-Tabellen. Auf dem Telefon scrollt die Tabelle für
   sich, nicht die Seite. */
.tabelle { overflow-x: auto; margin: 0 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px;
         border-bottom: 1px solid var(--linie); }
th { font-weight: 650; white-space: nowrap; }
td code { white-space: nowrap; }
/* Schmal: jede Zeile eine Karte, Spaltenname vor dem Wert. */
@media (max-width: 640px) {
  .tabelle thead { display: none; }
  .tabelle tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--linie); }
  .tabelle td { display: flex; gap: 10px; border: 0; padding: 2px 0; }
  .tabelle td::before { content: attr(data-label); flex: 0 0 7.5rem; color: var(--leise); }
  .tabelle td:first-child { font-weight: 650; }
  .tabelle td:first-child::before { content: none; }
  td code { white-space: normal; word-break: break-all; }
}
.schritte { padding-left: 1.4rem; }
.schritte li { margin-bottom: 10px; }
.weiter { list-style: none; padding: 0; }
.weiter li { margin-bottom: 14px; }
.weiter a { font-weight: 650; }
.weiter span { display: block; color: var(--leise); }

/* --- Präsentationsseite ---------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
  --schrift-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --schrift-breit: "Big Shoulders", "Arial Narrow", sans-serif;
  --live: #33c56a;
  /* Eigene Markenfarbe, absichtlich unabhängig vom Theme: Anders als der
     Text der Wortmarke (--marke, die im Dunklen hell werden muss, um lesbar
     zu bleiben) ist das hier eine Fläche – die App-Symbol-Farbe selbst, die
     in beiden Erscheinungsbildern dieselbe bleibt. */
  --marke-tief: #101a2c;
  --marke-tief-hell: #223458;
}

.stamm {
  margin: 0;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--grund);
  color: var(--text);
}
/* Diese Seite hat kein umschließendes Werkzeug, das das hier für uns
   erledigt – also selbst dafür sorgen, dass kein Bild breiter wird als
   sein Rahmen und schmale Bildschirme keinen Seitwärts-Scrollbalken
   bekommen. */
img, svg { max-width: 100%; }
.kopf { flex-wrap: wrap; row-gap: 10px; }
.kopf nav { flex-wrap: wrap; row-gap: 6px; gap: 16px; }
@media (max-width: 480px) {
  .kopf { flex-direction: column; align-items: flex-start; }
}

.blatt-breit { max-width: 74rem; margin: 0 auto; padding: 0 20px; }

/* Kopfzeile über der ganzen Seite */
.kopf {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0;
}
.kopf nav { display: flex; gap: 22px; font-size: 0.92rem; }
.kopf nav a { color: var(--leise); font-weight: 600; }
.kopf nav a:hover { color: var(--text); }

/* Hero: die Wand als Bild-in-Bild-Konzept, nicht als Metapher */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px;
  align-items: center; padding: 28px 0 56px;
}
/* Der klassische Grid-Sprengsatz: Ein Bild ohne eigene Breite lässt seine
   Spalte auf seine natürliche Pixelgröße wachsen, weil eine Grid-Spalte
   ohne diese Angabe nie schmaler wird als der Inhalt, den sie trägt – auch
   wenn das Bild selbst per `max-width` längst gehorchen würde. */
.hero > * { min-width: 0; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 8px; } }

.eyebrow {
  font-family: var(--schrift-mono); font-size: 0.78rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--akzent); display: flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 25%, transparent);
}

.hero h1 {
  font-family: var(--schrift-breit); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 5.4vw, 4rem); line-height: 0.98; letter-spacing: -0.01em;
  margin: 0 0 20px; text-wrap: balance; color: var(--marke);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--akzent), #63a9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  font-size: 1.14rem; line-height: 1.6; color: var(--leise); max-width: 34rem; margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.badge-appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--marke-tief); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 0.98rem;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--marke) 70%, transparent);
}
.badge-appstore svg { width: 20px; height: 20px; flex: none; }
.badge-appstore:hover { filter: brightness(1.12); }
/* `hidden` muss gegen `display: inline-flex` oben gewinnen. */
.badge-appstore[hidden] { display: none; }
.hero-note { font-family: var(--schrift-mono); font-size: 0.78rem; color: var(--leise); }

/* Die Bildschirm-Kachel: dasselbe Vokabular wie die App selbst */
.monitor {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #05070c; border: 1px solid var(--linie);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.55);
}
.monitor img { display: block; width: 100%; height: auto; }
/* Merkmale: kurze, faktentreue Karten – keine erfundenen Zahlen */
.merkmale {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px; margin: 0 0 60px;
}
.merkmal {
  background: var(--karte); border: 1px solid var(--linie); border-radius: 14px;
  padding: 22px 22px 20px;
}
.merkmal .kennziffer {
  font-family: var(--schrift-mono); font-size: 0.72rem; color: var(--akzent);
  letter-spacing: 0.06em; margin: 0 0 10px;
}
.merkmal h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.005em; }
.merkmal p { margin: 0; color: var(--leise); font-size: 0.94rem; line-height: 1.55; }

/* Bildschirmfoto-Reihe */
.schirme-titel { text-align: center; margin: 0 0 8px; }
.schirme-titel h2 { font-family: var(--schrift-breit); text-transform: uppercase; font-size: clamp(1.6rem,3vw,2.1rem); margin:0 0 6px; }
.schirme-titel p { color: var(--leise); margin: 0 0 34px; }
.schirme {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 60px;
  align-items: end;
}
.schirme > figure { min-width: 0; }
@media (max-width: 860px) {
  .schirme { grid-template-columns: 1fr; }
  /* Einspaltig ist die Kachel so breit wie die Seite: feste Höhen würden
     hier erst recht beschneiden. */
  .schirme .monitor { height: auto; }
  .schirme .monitor img { height: auto; object-fit: contain; }
  .schirme .monitor.hoch { height: auto; max-width: 320px; margin: 0 auto; }
}
.schirme figure { margin: 0; }
/* iPad und Fernseher behalten ihr Seitenverhältnis: Eine feste Höhe mit
   `cover` schnitt beim 4:3-iPad unten die letzte Kachelreihe samt Leiste ab.
   Die Reihe richtet die Kacheln unten aus (`align-items: end`), so stehen
   unterschiedlich hohe Bilder trotzdem auf einer Linie. */
.schirme .monitor img { width: 100%; height: auto; }
/* Das Telefon steht hochkant. `cover` schnitt davon alles unterhalb der
   ersten Kamera ab – `contain` zeigt den ganzen Bildschirm, der dunkle
   Rahmen dahinter trägt die schmalen Ränder. */
.schirme .monitor.hoch { height: 360px; }
.schirme .monitor.hoch img { height: 100%; object-fit: contain; object-position: center; }
.schirme figcaption {
  font-family: var(--schrift-mono); font-size: 0.76rem; color: var(--leise);
  margin-top: 10px; text-align: center;
}

/* Abschließender Aufruf */
.abschluss {
  text-align: center; padding: 52px 24px; margin: 0 0 60px; border-radius: 20px;
  background: linear-gradient(160deg, var(--marke-tief), var(--marke-tief-hell));
  color: #fff;
}
.abschluss h2 { font-family: var(--schrift-breit); text-transform: uppercase; font-size: clamp(1.7rem,3.4vw,2.3rem); margin: 0 0 12px; }
.abschluss p { color: #c3cede; max-width: 34rem; margin: 0 auto 26px; }
.abschluss .badge-appstore { background: #fff; color: var(--marke-tief); }

.fuss-seite {
  border-top: 1px solid var(--linie); padding: 30px 0 50px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  color: var(--leise); font-size: 0.9rem;
}
.fuss-seite .spalten { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fuss-seite a { color: var(--leise); }
.fuss-seite a:hover { color: var(--text); }

/* Sprachmenü: <details> klappt ohne JavaScript auf; lang.js merkt sich nur
   die Wahl. Die Liste liegt über dem Inhalt, damit der Kopf nicht springt. */
.sprache { position: relative; font-size: 0.92rem; }
.sprache summary {
  list-style: none; cursor: pointer; color: var(--leise); font-weight: 600;
}
.sprache summary::-webkit-details-marker { display: none; }
.sprache summary::after { content: " ▾"; font-size: 0.8em; }
.sprache summary:hover, .sprache[open] summary { color: var(--text); }
.sprache ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10;
  margin: 0; padding: 6px; list-style: none; min-width: 160px;
  background: var(--karte); border: 1px solid var(--linie); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.sprache li a {
  display: block; padding: 6px 10px; border-radius: 6px;
  color: var(--text); font-weight: 500; text-decoration: none;
}
.sprache li a:hover { background: var(--grund); }
.sprache li a[aria-current="page"] { color: var(--akzent); font-weight: 700; }
@media (max-width: 480px) { .sprache ul { right: auto; left: 0; } }
