:root { color-scheme: dark; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #0a0a0a;
  color: #f5f5f5;
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}
a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 3px; transition: text-decoration-color 0.15s; }
a:hover, a:focus-visible { text-decoration-color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-nav__logo {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.legal-nav__back {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.legal-nav__back:hover { color: #fff; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2rem) 6rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.92);
}

p { margin-bottom: 1rem; color: rgba(255,255,255,0.78); }
p strong, address strong { color: #fff; font-weight: 600; }

address {
  font-style: normal;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.78);
}
address div { margin-bottom: 0.15rem; }

ul {
  margin: 0 0 1rem 1.25rem;
  color: rgba(255,255,255,0.78);
}
ul li { margin-bottom: 0.4rem; }

hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 2rem 0;
}

.muted { color: rgba(255,255,255,0.5); font-size: 0.875rem; }

/* Capslock paragraphs (Widerspruchsrecht) — render as small caps block */
.uppercase {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid rgba(255,255,255,0.2);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1rem;
}

footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: #fff; }
footer .footer__links { display: flex; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
