@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/geist-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/geist-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/geist-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand-primary:  #0066CC;
  --brand-dark:     #002952;
  --brand-pale:     #D6EBFF;
  --brand-whisper:  #EFF6FF;

  --bg-primary:     #FFFFFF;
  --text-primary:   #000A14;
  --text-secondary: #37464F;

  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --space-1: 4px;  --space-2: 8px;   --space-3: 12px;
  --space-4: 16px; --space-5: 24px;  --space-6: 32px;
  --space-7: 48px; --space-8: 64px;  --space-9: 96px;

  --radius-sm: 8px;  --radius-md: 12px;

  --nav-height: 80px;
  --container-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-padding-top: var(--nav-height); overflow-x: hidden; }
body {
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--brand-whisper);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }

/* ── Skip-Link (a11y) ─ visuell versteckt bis Tastatur-Fokus ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}
.skip-link:focus {
  left: var(--space-3);
  top: var(--space-3);
  width: auto;
  height: auto;
  padding: var(--space-2) var(--space-4);
  background: var(--text-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(214,235,255,0.6);
}
.nav-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-7);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-7);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: 17px;
  color: var(--brand-dark);
}
.brand-logo { display: block; }
.nav-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { display: flex; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: transform 150ms ease, background 200ms ease, border-color 200ms ease;
}
.btn-primary {
  background: linear-gradient(to top right, #0066CC, #0088DD);
  color: #fff;
}
.btn-primary:hover { background: linear-gradient(to top right, #0052a3, #0070bb); transform: translateY(-1px); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-7);
}
main.legal {
  flex: 1;
  padding: var(--space-9) 0;
}
.legal-eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.legal-h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-7);
}
.legal-body {
  max-width: 68ch;
  color: var(--text-secondary);
}
.legal-body h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-7) 0 var(--space-3);
  letter-spacing: -0.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: var(--space-4); }
.legal-body p + p { margin-top: 0; }
.legal-body address {
  font-style: normal;
  margin-bottom: var(--space-4);
}
.legal-body a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal-body a:hover { text-decoration-thickness: 2px; }
.legal-body ul {
  list-style: disc;
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}
.legal-body li { margin-bottom: var(--space-2); }
.legal-placeholder {
  display: inline-block;
  padding: 1px 6px;
  background: #FEF3E7;
  border: 1px dashed #D97706;
  border-radius: 4px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: #B45309;
}

.footer { background: var(--brand-dark); color: #fff; }
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-8) var(--space-7) var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-4);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 200ms;
}
.footer-links a:hover { color: #fff; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 var(--space-5); gap: var(--space-4); }
  .nav-links { display: none; }
  .container { padding: 0 var(--space-5); }
  main.legal { padding: var(--space-8) 0; }
  .footer-inner { padding: var(--space-7) var(--space-5) var(--space-5); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bar { flex-direction: column; gap: var(--space-3); align-items: flex-start; }
}
