:root {
  --bg: #9DA5AD;
  --ink: #141414;
  --ink-soft: rgba(20, 20, 20, .62);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ---------- Start ---------- */
.home {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo { margin: 0; width: min(62%, 300px); line-height: 0; }
.logo img { width: 100%; height: auto; display: block; }

.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 56px;
  margin: 10px 0 4px;
  text-align: center;
}
.contact { display: flex; flex-direction: column; gap: 4px; }
.contact h2 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact a {
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.contact a:hover, .contact a:focus-visible { border-bottom-color: currentColor; outline: none; }

/* ---------- Footer ---------- */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 24px 16px 32px;
}

.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.social a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: .85;
  transition: opacity .2s, transform .2s;
}
.social a:hover, .social a:focus-visible { opacity: 1; transform: translateY(-2px); outline: none; }
.social svg { width: 24px; height: 24px; fill: currentColor; }
.social svg.stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.social span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

.legal-links {
  display: flex;
  gap: 20px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legal-links a { text-decoration: none; }
.legal-links a:hover, .legal-links a[aria-current] { color: var(--ink); }

/* ---------- Unterseiten ---------- */
.page { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 48px 16px 64px; }
.page-logo { display: block; width: 90px; line-height: 0; margin-bottom: 40px; }
.page-logo img { width: 100%; height: auto; }
.back { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.back:hover { color: var(--ink); }
.page-title {
  margin: 20px 0 28px;
  font-size: clamp(34px, 8vw, 48px);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.1;
}
.prose h2 {
  margin: 32px 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; }
.prose a { text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .logo { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 420px) {
  .social { gap: 8px 10px; flex-wrap: nowrap; }
  .social svg { width: 22px; height: 22px; }
  .social span { font-size: 8px; letter-spacing: .04em; }
}
.social svg.stroke { transform: scale(1.12); }
