:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --text: #1b2733;
  --muted: #5a6876;
  --brand: #1f4e79;
  --brand-contrast: #ffffff;
  --border: #dde4ea;
  --todo: #b45309;
  --radius: 12px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181f;
    --bg-alt: #182230;
    --text: #e6edf3;
    --muted: #9fb0c0;
    --brand: #5aa0e0;
    --brand-contrast: #0b1219;
    --border: #2a3846;
    --todo: #f59e0b;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--brand); }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible { color: var(--brand); }

/* Einstieg */
.hero { padding: 5rem 0 4rem; }

.eyebrow {
  color: var(--brand);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  max-width: 20ch;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
}

.button {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-contrast);
}

.button:hover,
.button:focus-visible { filter: brightness(1.08); }

/* Abschnitte */
.section { padding: 4rem 0; }

.section.alt { background: var(--bg-alt); }

.section h2 {
  font-size: 1.85rem;
  margin: 0 0 .5rem;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg);
}

.card h3 { margin: 0 0 .5rem; }

.card p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.facts li {
  border-left: 4px solid var(--brand);
  padding: .25rem 0 .25rem 1rem;
}

.facts strong { display: block; }

.facts span { color: var(--muted); }

.contact p { margin: 0 0 .75rem; }

.label {
  display: inline-block;
  min-width: 6.5rem;
  color: var(--muted);
}

/* Rechtstexte */
.prose { max-width: 760px; }

.prose h1 { margin-top: 0; }

.todo {
  color: var(--todo);
  font-weight: 600;
}

/* Fußzeile */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: .95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p { margin: 0; }

@media (max-width: 720px) {
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3rem 0; }
  .split { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; padding: .5rem 0; }
}
