:root {
  --ground: #FBFBFD;
  --surface: #F1F2F7;
  --ink: #10164D;
  --muted: #565C7A;
  --rule: #E2E4EE;
  --accent: #3D6FC4;

  --serif: "Newsreader", ui-serif, Georgia, serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0C0E1A;
    --surface: #161A2C;
    --ink: #E9EBF4;
    --muted: #9AA0BC;
    --rule: #242942;
    --accent: #8FB2F2;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }

/* Kopfbereich */
.masthead { display: flex; flex-direction: column; gap: 1.25rem; }

.dots { display: flex; gap: .4rem; }
.dots span { width: .55rem; height: .55rem; border-radius: 50%; }
.dots span:nth-child(1) { background: #FD8E86; }
.dots span:nth-child(2) { background: #FEBA4A; }
.dots span:nth-child(3) { background: #80D7CD; }
.dots span:nth-child(4) { background: #C5A5EA; }
.dots span:nth-child(5) { background: #6D9EEB; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.12;
  letter-spacing: -0.015em; text-wrap: balance; margin: 0;
}

.lede { font-size: 1.075rem; color: var(--muted); max-width: 34rem; margin: 0; }

.stand {
  font-size: .875rem; color: var(--muted);
  padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--rule);
}

section { margin-top: 3.25rem; }

h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem;
  line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance;
  margin: 0 0 .85rem; display: flex; gap: .7rem; align-items: baseline;
}

h2 .num {
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  color: var(--accent); font-variant-numeric: tabular-nums;
  flex: none; padding-top: .15rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin: .45rem 0; }
strong { font-weight: 600; }

.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: .75rem; padding: 1.15rem 1.35rem; margin: 0 0 1rem;
}
.card p { margin: 0; }
.card .addr { line-height: 1.55; }

.table-scroll { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .925rem; }
th, td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--rule); }
th {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink);
}
td:first-child { width: 30%; }
tbody tr:last-child td { border-bottom: none; }

/* Navigation zwischen den Seiten */
nav.pages {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 2rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem;
}
nav.pages a { font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--muted); }
nav.pages a:hover, nav.pages a[aria-current="page"] { color: var(--ink); }

footer {
  margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--rule);
  font-size: .85rem; color: var(--muted);
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
footer a { color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 2.5rem 1.15rem 4rem; }
  h2 { display: block; }
  h2 .num { display: block; margin-bottom: .15rem; padding-top: 0; }
}
