:root {
  --text: #1c1e21;
  --muted: #5b6169;
  --border: #e3e5e8;
  --bg: #ffffff;
  --max-width: 640px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  margin-bottom: 2.5rem;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

main {
  flex: 1;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.25rem;
  color: var(--text);
}

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
}

.contact {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact dt {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.contact dd {
  margin: 0 0 1rem;
  font-size: 1rem;
}

a {
  color: var(--text);
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: currentColor;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

footer a {
  color: var(--muted);
}

.impressum-section {
  margin-bottom: 2rem;
}

.impressum-section h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.impressum-section p {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f0f1f3;
    --muted: #9aa0a8;
    --border: #2c2f33;
    --bg: #121314;
  }
}
