/* SATZ · Webseiten. Gleiche Tokens wie SATZ/Design/Design.swift. Keine externen Schriften. */
:root {
  --grund: #ECEBE7;
  --flaeche: #F7F6F3;
  --hoch: #E2E1DC;
  --papier: #FAF9F6;
  --tinte: #0D0E0D;
  --leise: #5A5D59;
  --stumm: #8F928D;
  --hauch: #BDBEB9;
  --signal: #D35A2A;
  --rand: rgba(0, 0, 0, .08);
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --breite: 1120px;
  --rand-seite: 20px;
  color-scheme: light;
}

/* Sprache: alles mit lang="en" ist versteckt, solange die Seite deutsch ist, und umgekehrt */
html[lang="de"] [lang="en"],
html[lang="en"] [lang="de"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; border-radius: 6px; }
strong, b { font-weight: 500; }

.springen {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--tinte); color: var(--papier); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.springen:focus { top: 12px; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand-seite); }

/* Etikett: Mono-Versalien */
.etikett {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leise);
  margin: 0;
}
.etikett .nr { color: var(--tinte); margin-right: .9em; }
.punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); vertical-align: middle; }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.marke { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.marke img { width: 36px; height: 36px; border-radius: 9px; }
.marke span { font-size: 15px; font-weight: 300; letter-spacing: .38em; margin-right: -.38em; }
.sprachen { display: inline-flex; background: var(--flaeche); border-radius: 999px; padding: 3px; border: 1px solid var(--rand); }
.sprachen button {
  font: 500 12px/1 var(--mono); letter-spacing: .12em;
  min-width: 48px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--leise); cursor: pointer;
}
.sprachen button[aria-pressed="true"] { background: var(--tinte); color: var(--papier); }

/* Held */
.held { display: grid; gap: 40px; padding-top: 36px; padding-bottom: 64px; align-items: center; }
.held h1 {
  font-size: clamp(46px, 12vw, 116px);
  line-height: .98;
  font-weight: 200;
  letter-spacing: -.035em;
  margin: 18px 0 22px;
}
.held .unter { font-size: clamp(18px, 2.4vw, 22px); color: var(--leise); max-width: 34em; margin: 0 0 28px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px;
  font: 500 12px/1.35 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  background: var(--tinte); color: var(--papier); border: 0;
}
.knopf.aus { background: var(--hoch); color: var(--leise); cursor: default; }
.knopf.hell { background: var(--flaeche); color: var(--tinte); border: 1px solid var(--rand); }
.held .hinweis { font-size: 14px; color: var(--leise); margin: 14px 0 0; }

/* Zahlenreihe: grosse dünne Ziffern */
.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.zahlen li { background: var(--flaeche); border-radius: 22px; padding: 18px 18px 16px; }
.zahlen .gross { display: block; font-size: clamp(44px, 9vw, 64px); line-height: 1; font-weight: 200; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.zahlen .etikett { font-size: 11px; letter-spacing: .12em; }

/* Handy-Rahmen um echte Bildschirmfotos */
.handy {
  width: min(300px, 76vw);
  margin: 0 auto;
  border-radius: 46px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 0 0 9px #111, 0 0 0 10px #3a3a3a, 0 40px 90px rgba(0, 0, 0, .18);
  aspect-ratio: 640 / 1392;
}
.handy img { width: 100%; height: 100%; object-fit: cover; }
.held .handy { width: min(320px, 76vw); }

/* Abschnitte */
.abschnitt { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--rand); }
.abschnitt h2 { font-size: clamp(32px, 6vw, 56px); line-height: 1.04; font-weight: 200; letter-spacing: -.025em; margin: 14px 0 18px; }
.abschnitt .einleitung { color: var(--leise); max-width: 36em; margin: 0; }

.funktion { display: grid; gap: 36px; align-items: center; padding: 56px 0; border-top: 1px solid var(--rand); }
.funktion:first-of-type { border-top: 0; }
.funktion h3 { font-size: clamp(28px, 5vw, 44px); line-height: 1.06; font-weight: 200; letter-spacing: -.02em; margin: 12px 0 14px; }
.funktion p { color: var(--leise); margin: 0 0 16px; max-width: 32em; }
.liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rand); max-width: 32em; }
.liste li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rand); position: relative; font-size: 16px; }
.liste li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--tinte); }

.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.kacheln li { background: var(--flaeche); border-radius: 22px; padding: 20px; }
.kacheln strong { display: block; font-size: 19px; font-weight: 400; margin: 10px 0 4px; }
.kacheln li > span { color: var(--leise); font-size: 15px; }

/* Coach-Bausteine: nummeriert, grosse dünne Ziffern */
.bausteine { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bausteine li { background: var(--flaeche); border-radius: 22px; padding: 20px; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: baseline; }
.bausteine .gross { font-size: 44px; line-height: 1; font-weight: 200; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--tinte); }
.bausteine strong { display: block; font-size: 19px; font-weight: 400; margin-bottom: 2px; }
.bausteine span:not(.gross) { color: var(--leise); font-size: 15px; }

/* Schwarze Karte: was ins Netz geht */
.dunkel { background: var(--tinte); color: var(--papier); border-radius: 30px; padding: clamp(24px, 5vw, 48px); margin-top: 32px; }
.dunkel .etikett { color: #B9BBB6; }
.dunkel ol { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: n; }
.dunkel li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.dunkel li::before { content: "0" counter(n); font: 500 12px/1.9 var(--mono); letter-spacing: .14em; color: #B9BBB6; }
.dunkel li strong { display: block; font-weight: 400; font-size: 18px; }
.dunkel li span { color: #CFD0CB; font-size: 15px; }
.dunkel p:not(.etikett) { color: #CFD0CB; margin: 18px 0 0; font-size: 15px; }
.dunkel a { color: var(--papier); }

/* Roadmap */
.roadmap { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.roadmap li { background: var(--flaeche); border-radius: 22px; padding: 18px 18px 18px 20px; display: grid; grid-template-columns: 14px 1fr auto; gap: 4px 14px; align-items: start; }
.roadmap .status { width: 9px; height: 9px; border-radius: 50%; margin-top: 9px; background: transparent; border: 1.5px solid var(--hauch); }
.roadmap .status.arbeit { background: var(--signal); border-color: var(--signal); }
.roadmap .status.fertig { background: var(--tinte); border-color: var(--tinte); }
.roadmap strong { font-size: 18px; font-weight: 400; display: block; }
.roadmap .text { color: var(--leise); font-size: 15px; display: block; margin: 2px 0 8px; }
.roadmap .etikett { font-size: 10px; }
.stimme {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--grund); color: var(--tinte); text-decoration: none;
  font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.stimme:hover { background: var(--hoch); }
.roadmap-fuss { font-size: 14px; color: var(--leise); margin: 16px 0 0; }

/* Zitat */
.zitat { font-size: clamp(30px, 5.6vw, 54px); line-height: 1.1; font-weight: 200; letter-spacing: -.02em; margin: 16px 0 0; max-width: 18em; }

/* Fuss */
.fuss { border-top: 1px solid var(--rand); padding-top: 32px; padding-bottom: 48px; display: grid; gap: 22px; }
.fuss nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss nav a { text-decoration: none; display: inline-block; padding: 6px 0; }
.fuss nav a:hover { text-decoration: underline; }
.fuss .quellen { font-size: 13px; color: var(--leise); margin: 0; max-width: 60em; }

/* Textseiten: Datenschutz, Support */
.text-seite { max-width: 760px; padding-top: 28px; padding-bottom: 72px; }
.text-seite h1 { font-size: clamp(40px, 9vw, 72px); line-height: 1; font-weight: 200; letter-spacing: -.03em; margin: 16px 0 18px; }
.text-seite .einleitung { font-size: 19px; color: var(--leise); margin: 0 0 12px; }
.text-seite h2 { font-size: clamp(22px, 4vw, 28px); font-weight: 300; letter-spacing: -.01em; line-height: 1.2; margin: 48px 0 12px; padding-top: 22px; border-top: 1px solid var(--rand); }
.text-seite h2 .etikett { display: block; margin-bottom: 8px; }
.text-seite h3 { font-size: 18px; font-weight: 500; margin: 26px 0 6px; }
.text-seite p, .text-seite li { color: #2C2E2B; }
.text-seite ul { padding-left: 1.2em; }
.text-seite li { margin: 6px 0; }
.text-seite .karte { background: var(--flaeche); border-radius: 22px; padding: 20px 22px; margin: 18px 0; }
.text-seite .karte p:first-child { margin-top: 0; }
.text-seite .karte p:last-child { margin-bottom: 0; }
.platzhalter { background: #FBE3D8; color: #7A2E10; padding: 0 .3em; border-radius: 4px; font-family: var(--mono); font-size: .88em; }
.tabelle { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rand); }
.tabelle th { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--leise); }
.tabelle-huelle { overflow-x: auto; }

/* Fragen auf der Support-Seite */
.fragen details { background: var(--flaeche); border-radius: 22px; margin: 10px 0; }
.fragen summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-size: 18px; font-weight: 400; min-height: 44px;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--grund);
  font: 300 20px/30px var(--schrift); text-align: center; color: var(--tinte);
}
.fragen details[open] summary::after { content: "\2212"; }
.fragen .antwort { padding: 0 22px 20px; }
.fragen .antwort p:first-child { margin-top: 0; }
.fragen .antwort p:last-child { margin-bottom: 0; }

/* Schmal: Knopftexte passen in eine Zeile */
@media (max-width: 400px) {
  .knopf { letter-spacing: .1em; padding: 14px 20px; }
}

/* Breiter */
@media (min-width: 720px) {
  :root { --rand-seite: 32px; }
  .zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .held { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); padding-top: 56px; padding-bottom: 88px; }
  .held .zahlen { grid-column: 1 / -1; }
  .funktion { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 80px 0; }
  .funktion.links .bild { order: -1; }
  .funktion.breit { align-items: start; }
  .fuss { grid-template-columns: 1fr auto; align-items: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .fragen summary::after { transition: background .15s ease; }
}

@media print {
  .sprachen, .springen, .knoepfe { display: none !important; }
  body { background: #fff; }
}
