/* Minimales, barrierearmes Design – Feinschliff folgt in der Design-Runde (Phase 3) */
:root {
  --text: #1c1c1e;
  --muted: #4a4a4f;
  --accent: #175e63;      /* Kontrast auf Weiß > 7:1 */
  --accent-dark: #0f4246;
  --bg: #ffffff;
  --bg-soft: #f4f6f6;
  --border: #d9dee0;
}

* { box-sizing: border-box; }

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

.aufbau-hinweis {
  background: #fff8e1;
  border-bottom: 2px solid #b98a00;
  padding: 0.75rem 1rem;
  text-align: center;
}
.aufbau-hinweis p {
  margin: 0 auto;
  max-width: 46rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip-link:focus { left: 0; }

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

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

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

section {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem 1rem;
  margin: 1.5rem 0;
}

.aktuelles { white-space: pre-line; }

footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 1rem;
}
footer ul { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0; }

form p { margin: 0.75rem 0; }
label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
input[type="password"], input[type="text"], input[type="number"], textarea {
  font: inherit;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  max-width: 100%;
}
textarea { width: 100%; max-width: 36rem; }
button {
  font: inherit;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 0.25rem;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
button:hover { background: var(--accent-dark); }

[role="alert"] { color: #8a1c1c; font-weight: 600; }
[role="status"] { color: var(--accent-dark); font-weight: 600; }

@media (max-width: 30rem) {
  h1 { font-size: 1.5rem; }
}
