:root {
  --bg: #f6f4ef;
  --ink: #1c1f24;
  --muted: #6b6f76;
  --line: #c9c3b6;
  --accent: #1f4e79;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --ink: #e9e6df;
    --muted: #9a9ea6;
    --line: #3a3d42;
    --accent: #8fb6dc;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Startseite */
.brand { padding-top: 22vh; }
.brand h1 {
  font-weight: normal;
  font-size: clamp(30px, 7vw, 46px);
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.15;
}
.brand h1 span { color: var(--muted); }
.tagline {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 12px 0 0;
}
.rule {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 28px 0;
}
.card { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; }
.addr { margin: 0 0 14px; }
.contact { margin: 0; }

/* Textseiten */
.text { padding-top: 48px; padding-bottom: 40px; }
.text h1 { font-weight: normal; font-size: 32px; margin: 8px 0 24px; }
.text h2 {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 28px 0 6px;
}
.text p { margin: 0 0 12px; }
.back { font-family: system-ui, sans-serif; font-size: 14px; }
.small { color: var(--muted); font-size: 14px; margin-top: 32px; }

.foot {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding: 18px 20px;
  display: flex;
  gap: 22px;
  justify-content: center;
}
.foot a { color: var(--muted); }
