/* Gemeinsames Aussehen der Rechtsseiten (Impressum, Datenschutz, AGB, AVV).
   Bewusst schlicht und gut lesbar — hier zaehlt Klarheit, nicht Design. */

:root {
  --bg: #f4f7f4;
  --surface: #ffffff;
  --surface-2: #eff4f0;
  --ink: #16201c;
  --muted: #566860;
  --line: #e0e8e2;
  --accent: #0c8f5e;
  --accent-ink: #0a5c3e;
  --accent-soft: #e3f3ec;
  --todo: #8a5a00;
  --todo-soft: #fdf3e0;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1512;
    --surface: #161e1a;
    --surface-2: #1c2621;
    --ink: #e8eee9;
    --muted: #93a69c;
    --line: #27302b;
    --accent: #33c088;
    --accent-ink: #7fe4b4;
    --accent-soft: #14261d;
    --todo: #e0b25c;
    --todo-soft: #241e12;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1.2rem 5rem; }

.top { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0 2rem; }
.top .logo { font-size: 1.5rem; }
.top .name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.top a { margin-left: auto; font-size: 0.92rem; text-decoration: none; color: var(--muted); }
.top a:hover { color: var(--accent-ink); }

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1.4rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 2.4rem 0 0.7rem;
}
h3 { font-size: 1.02rem; font-weight: 600; margin: 1.5rem 0 0.4rem; }
p { margin: 0 0 0.9rem; }
ul, ol { margin: 0 0 0.9rem; padding-left: 1.3rem; }
li { margin: 0.3rem 0; }
a { color: var(--accent-ink); }
strong { font-weight: 600; }

address { font-style: normal; }

table { width: 100%; border-collapse: collapse; font-size: 0.94rem; margin: 0.6rem 0 1rem; }
th, td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Platzhalter, die Henry noch ersetzen muss — sollen ins Auge springen. */
.todo {
  background: var(--todo-soft);
  color: var(--todo);
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  white-space: nowrap;
}

.note {
  background: var(--todo-soft);
  border-left: 4px solid var(--todo);
  border-radius: 0 10px 10px 0;
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.note strong { color: var(--todo); }

.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--muted); margin-right: 1rem; }
