/* Rechtstexte auf rypox.com (Impressum, Datenschutz).
 *
 * Eigenes Stylesheet statt styles.css: Fließtext braucht eine begrenzte
 * Zeilenlänge, nicht das Karten- und Grid-Layout der Landingpages. Die Farben
 * sind bewusst dieselben wie dort, damit die Seiten zur Site gehören.
 *
 * CSP: die Site liefert "style-src 'self'" ohne 'unsafe-inline' — ein
 * <style>-Block im HTML wird live verworfen (lokal nicht reproduzierbar).
 * Deshalb externe Datei.
 *
 * CACHE: nginx liefert *.css mit "immutable, max-age=30d". Diese Datei nicht
 * unter gleichem Namen ändern, sondern legal.v2.css anlegen UND die <link>-
 * Referenz in impressum.html und datenschutz.html mitziehen — das HTML selbst
 * ist nicht immutable, die neue Referenz greift also sofort.
 */

:root {
  --bg: #0b0f17;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --border: rgba(255, 255, 255, 0.14);
  --brand: #ffb15a;
  --code: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  max-width: 46rem;
  padding: 2.5rem 1.2rem 4rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--brand); }
a:hover { text-decoration: none; }

h1 { font-size: 1.65rem; line-height: 1.3; margin: 0 0 .4rem; }
h2 { font-size: 1.15rem; margin: 2.4rem 0 .6rem; }
h3 { font-size: 1rem; margin: 1.8rem 0 .4rem; }

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.3rem; }
li { margin-bottom: .3rem; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--code);
  padding: .1em .35em;
  border-radius: 4px;
}

.back, .updated, .langswitch { color: var(--muted); font-size: .9rem; }
.back { margin-bottom: 1.8rem; }
.updated { margin-bottom: .2rem; }
.langswitch { margin-bottom: 2rem; }

.address { line-height: 1.5; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 4rem 0 2.5rem;
}
