/* ═══════════════════════════════════════════════
   LEGAL PAGES – Impressum & Datenschutzerklärung
   Extracted from inline <style> blocks
═══════════════════════════════════════════════ */

@font-face { font-family: 'Inter'; src: url('../Inter-4.1/web/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../Inter-4.1/web/Inter-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../Inter-4.1/web/Inter-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../Inter-4.1/web/Inter-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg:     #222222;
  --card:   #161616;
  --border: rgba(255,255,255,0.06);
  --text:   #f1f5f9;
  --muted:  #64748b;
  --cyan:   #00b2ff;
  --cyan-glow: rgba(0,178,255,0.25);
  --font:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --px:     max(24px, calc((100% - 1200px) / 2));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: #222222;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  background: rgba(28,28,28,0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: 0 1px 20px rgba(0,0,0,0.5);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.9rem; color: var(--text);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { height: 32px; width: auto; object-fit: contain; }
.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-icon svg { width: 17px; height: 17px; color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--cyan); color: #000 !important;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 8px 18px; border-radius: 8px; text-decoration: none;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 0 32px var(--cyan-glow); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer;
  padding: 8px; align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(28,28,28,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px var(--px);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a { font-size: 0.95rem; font-weight: 500; color: var(--text); text-decoration: none; }
.mobile-menu .nav-cta { display: inline-flex; margin-top: 6px; }

/* ── CONTENT ── */
.page-wrap {
  padding-top: 64px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

.page-header {
  padding: 72px var(--px) 48px;
  border-bottom: 1px solid var(--border);
}
.page-header p {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 12px;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15; color: var(--text);
}

.page-content {
  padding: 56px var(--px) 80px;
  max-width: calc(1200px + 2 * max(24px, calc((100% - 1200px) / 2)));
  flex: 1;
}

.legal-section {
  margin-bottom: 48px;
}
.legal-section h2 {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  margin: 20px 0 8px;
}
.legal-section p {
  font-size: 0.925rem; color: rgba(241,245,249,0.75);
  margin-bottom: 10px;
}
.legal-section ul {
  margin: 8px 0 10px 20px;
  font-size: 0.925rem; color: rgba(241,245,249,0.75);
}
.legal-section ul li { margin-bottom: 4px; }
.legal-section address {
  font-style: normal;
  font-size: 0.925rem; color: rgba(241,245,249,0.75);
  line-height: 1.8;
}
.legal-section a { color: var(--cyan); }

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  padding: 36px var(--px);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; font-size: 0.875rem;
  text-decoration: none;
}
.footer-logo img { height: 28px; width: auto; object-fit: contain; }
.footer-logo-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-logo-icon svg { width: 15px; height: 15px; color: var(--cyan); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── UTILITY ── */
.hidden    { display: none; }
.text-main { color: var(--text); }
