:root {
  --bg: #f3f4f6;          /* Hintergrund hellgrau */
  --fg: #1f2937;          /* Text dunkelgrau */
  --muted: #4b5563;
  --accent: #2563eb;      /* freundliches Blau */
  --card: #ffffff;        /* Karten weiß */
  --border: #d1d5db;      /* Rahmen hellgrau */
  --link: #1d4ed8;        /* Links tiefblau */
  --maxw: 720px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header & Navigation */
header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 1rem; }
.brand { display:flex; align-items:center; justify-content:space-between; }
.brand h1 { margin: 0; font-size: 1.5rem; letter-spacing: .2px; }
.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover, .brand-link:focus { color: inherit; }

.menu-toggle {
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--fg);
}

.topnav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.topnav a { color: #374151; text-decoration: none; font-size: 1rem; }
.topnav a:hover, .topnav a:focus { color: #1f2937; }
.topnav.show { display: flex; }

/* Inhalt */
main { padding: 2.5rem 1rem; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
h2 { margin: 0 0 .5rem 0; font-size: 1.15rem; }
p { margin: .25rem 0 .5rem; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
ul { padding-left: 1.1rem; }
address { font-style: normal; }

/* Footer */
footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.foot { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; justify-content:space-between; }
.legal-text { font-size: 1rem; color: var(--fg); }
.legal-name { font-weight: 500; }
.legal-brand { color: #9ca3af; text-decoration: none; }
.legal-brand:hover, .legal-brand:focus { color: #6b7280; text-decoration: underline; }
.legal-links { font-size: 1rem; color: #9ca3af; }
.legal-links a { color: inherit; text-decoration: none; }
.legal-links a:hover, .legal-links a:focus { text-decoration: underline; }

/* Extras */
.cta { display:inline-flex; align-items:center; gap:.5rem; margin-top:.5rem; }
.pill {
  display:inline-block;
  padding:.35rem .65rem;
  border:1px solid var(--border);
  border-radius:999px;
  font-size:.85rem;
  color: var(--muted);
}
.email-address {
  color: #9ca3af;
  text-decoration: none;
}
.email-address:hover, .email-address:focus {
  color: #6b7280;
  text-decoration: underline;
}
.mail-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.45rem .75rem;
  border-radius:999px;
  background:#dbe3f5;
  color:#1f2937;
  text-decoration:none;
  box-shadow:inset 0 0 0 1px rgba(37,99,235,.15);
}
.mail-pill:hover, .mail-pill:focus {
  background:#c9d7f0;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}
