/* ============================================================
   Rechtsseiten in der Optik des Werks (Farben und Schrift aus
   public/v4/ok.css). Vorher trugen sie einen gruenen Verlauf mit
   weissem Kasten aus der Produktphase — das las sich wie ein
   SaaS-Angebot und widersprach allem, was die Startseite tut.

   Bewusst nuechtern: die Seiten sprechen NICHT im Ton der Maschine
   (docs/stimme-und-inhalt.md Paragraph 7 — neben Aviso legal liest
   sich eine erfundene Amtsformel wie eine echte Rechtsaussage).
   Sie sehen nur aus wie das Werk.
   ============================================================ */
:root {
  --bg: #08090c;
  --bg-lift: #0e1015;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9ecf2;
  --text-dim: #7d8494;
  --text-faint: #4a5060;
  --think: #f0b849;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  padding: 40px 22px 90px;
}
.container { max-width: 760px; margin: 0 auto; }

/* Kopf: Werk und Seitentitel, keine Amtsformel */
.kopf {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 36px;
}
.kopf .werk {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}
.kopf .werk:hover { color: var(--text-dim); }
h1 { font-size: 25px; font-weight: 600; letter-spacing: -0.01em; }

/* Sprachwahl */
.sprachen {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 14px;
}
.sprachen a { color: var(--text-dim); text-decoration: none; }
.sprachen a:hover { color: var(--text); }
.sprachen a[aria-current="true"] { color: var(--think); }
.sprachen .sep { padding: 0 7px; color: var(--text-faint); }

h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-family: var(--mono);
  color: var(--text-dim);
  margin: 40px 0 14px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 26px 0 10px;
  color: var(--text);
}
p { margin-bottom: 14px; color: var(--text-dim); font-size: 15px; }
p strong, li strong, td strong { color: var(--text); font-weight: 600; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; color: var(--text-dim); font-size: 15px; }
a { color: var(--think); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hervorhebung ohne Kasten und ohne Schatten: nur eine Linie */
.merk {
  border-left: 2px solid var(--think);
  padding: 4px 0 4px 18px;
  margin: 22px 0;
}
.merk p:last-child { margin-bottom: 0; }
.merk p { color: var(--text); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 14.5px;
}
th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-faint);
  padding: 0 14px 9px 0;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-dim);
}
td:first-child { color: var(--text); }
.scroll { overflow-x: auto; }

.stand {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-faint);
}
.zurueck {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: none;
}
.zurueck:hover { color: var(--think); }

@media (max-width: 640px) {
  body { padding: 28px 18px 70px; }
  h1 { font-size: 21px; }
  p, li { font-size: 14.5px; }
}
