/* Gemeinsames Stylesheet der statischen Seiten (Session 68). Systemschrift, keine externen Dateien, keine Skripte.
   Farben: Text auf Hintergrund mindestens 4,5:1 (hell: #1a1d24 auf #ffffff, dunkel: #eef0f4 auf #14161b). */
:root {
  --bg: #ffffff;
  --bg-alt: #f2f4f8;
  --text: #1a1d24;
  --muted: #4a5160;
  --link: #1a4fa0;
  --border: #c5cad5;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161b;
    --bg-alt: #1e2128;
    --text: #eef0f4;
    --muted: #b5bbc8;
    --link: #8db4f5;
    --border: #3a3f4b;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg-alt);
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip:focus {
  left: 0;
}

header,
main,
footer {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

header nav a {
  display: inline-block;
  padding: 0.5rem 0;
  min-height: 44px;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 1.5rem 0 0.5rem;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 1.5rem 0 0.5rem;
}

.meta {
  color: var(--muted);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.15rem;
}

.notice {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
}

.second-language {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.language-switch {
  margin: 1rem 0 0;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin: 0.4rem 0;
}

.table-wrap {
  margin: 1rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--bg-alt);
}

tbody th {
  font-weight: 600;
}

@media (max-width: 40rem) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    position: absolute;
    left: -999px;
  }

  tr {
    border: 1px solid var(--border);
    margin: 0 0 1rem;
  }

  th,
  td {
    border: 0;
    border-bottom: 1px solid var(--border);
  }

  td::before,
  tbody th::before {
    content: attr(data-label);
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 400;
  }
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
