/* Rechtsseiten (Impressum, Datenschutz, Nutzungsbedingungen).
   Tokens, Nav und Footer-Band entsprechen gefaehrte-shk.html. */
:root {
  --ink: #10283a;
  --ink-muted: #4a6072;
  --ink-soft: #7d8f9d;
  --bg: #ffffff;
  --bg-tint: #f2f7fa;
  --border: #e1e9ef;
  --mint: #1fae8a;
  --mint-strong: #168a6d;
  --navy: #0e2436;
  --navy-2: #163349;
  --navy-ink: #e9f2f8;
  --navy-muted: #a9bfcf;
  --radius-md: 14px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: 999px; border: 0;
  font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover { background: var(--mint-strong); }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 999px; }

/* Brand */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 30px; width: auto; }
@media (max-width: 420px) { .brand-logo { height: 24px; } }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--ink-muted); }
.nav-link:hover { color: var(--ink); }
.nav-cta { min-height: 42px; padding: 0.55rem 1.2rem; font-size: 0.92rem; }
@media (max-width: 560px) { .nav-cta { display: none; } }

/* Inhalt */
main.legal-page { background: var(--bg-tint); padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-head { max-width: 700px; margin-bottom: 1.6rem; }
.page-head h1 { font-size: clamp(2rem, 3.5vw, 2.6rem); }
.prose-block {
  max-width: 760px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
}
.prose-block p { color: var(--ink-muted); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.prose-block p + p { margin-top: 1.15rem; }
.prose-block strong { color: var(--ink); }
.prose-block a { color: var(--mint-strong); text-decoration: underline; text-underline-offset: 2px; }
.prose-block a:hover { color: var(--ink); }

/* Footer-Band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--navy-ink); }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none; /* Deko-Kreis lag mobil ueber den Footer-Links */
}
.cta-band::before { width: 520px; height: 520px; left: -220px; top: -260px; }
.cta-band::after { width: 640px; height: 640px; right: -180px; bottom: -420px; }
.cta-inner { position: relative; display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 820px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band .brand-logo { height: 26px; filter: brightness(0) invert(1); }
.cta-band p { color: var(--navy-muted); margin-top: 0.8rem; max-width: 52ch; }
.legal {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding-block: 1.25rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem; color: var(--navy-muted);
}
.legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.legal a { text-decoration: none; }
.legal a:hover, .legal a[aria-current="page"] { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Footer bei kurzen Seiten unten halten */
body { min-height: 100vh; display: flex; flex-direction: column; }
main.legal-page { flex: 1; }
