/* Ondro – Website.
   Keine externen Schriften, keine Skripte, keine Einbettungen: die Seite trägt die
   Datenschutzerklärung, also darf sie selbst nichts an Dritte senden. Systemschriften
   laden aus dem Gerät und verraten niemandem einen Besuch. */

/* Dieselben Farben wie die App: neutrale Flächen aus Apples Systemwerten, und
   Farbe genau an einer Stelle – dem Petrol der Wortmarke. Vorher trug die Seite
   ein Nachtblau mit Cyan, das es in der App nicht mehr gibt. */
:root {
  --ground: #000000;   /* systemBackground, dunkel */
  --surface: #1c1c1e;  /* secondarySystemBackground, dunkel */
  --line: #2c2c2e;
  --text: #f2f2f7;
  --muted: #98989d;
  --accent: #0f766e;         /* Petrol, die Standard-Akzentfarbe der App */
  --accent-bright: #3db8a8;  /* aufgehellt, damit Verweise auf Schwarz lesbar bleiben */
  --todo: #f2a93b;
  --max: 44rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem 5rem; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap { padding: 1.1rem 1.25rem; display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; }
header.site a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.site a:hover, header.site a:focus-visible { color: var(--text); }
header.site .brand { color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; margin-right: auto;
  display: inline-flex; align-items: center; gap: 0.5rem; }
/* Das Zeichen erbt die Textfarbe, damit es in beiden Erscheinungsbildern sitzt –
   nur das Dreieck behält sein Warmgelb. */
header.site .brand .mark { width: 1.6em; height: 1.6em; flex: 0 0 auto; color: var(--accent-bright); }

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.4rem; text-wrap: balance; }
h2 { font-size: 1.3rem; margin: 2.6rem 0 0.6rem; text-wrap: balance; }
h3 { font-size: 1.05rem; margin: 1.8rem 0 0.4rem; color: var(--accent-bright); }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.35rem; }

a { color: var(--accent-bright); }
a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; border-radius: 3px; }

.lede { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.stamp { color: var(--muted); font-size: 14px; margin: 0 0 2.5rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }

hr.section { border: 0; border-top: 1px solid var(--line); margin: 3.5rem 0 2.5rem; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding: 1.5rem 1.25rem 2.5rem; }
footer.site a { color: var(--muted); }

.todo { color: var(--todo); }

@media (prefers-color-scheme: light) {
  :root {
    --ground: #f2f2f7;   /* systemGroupedBackground, hell */
    --surface: #ffffff;
    --line: #d8d8dd;
    --text: #1c1c1e;
    --muted: #6c6c70;
    --accent-bright: #0b5d55;  /* abgedunkelt, damit Verweise auf Weiss lesbar bleiben */
    --todo: #8a5a00;
  }
}
