/* Shared styling for legal pages: impressum, datenschutz, agb, nutzungsbedingungen */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #2D3E50;
  --red: #C8232C;
  --anthracite: #3a3a3a;
  --mid: #6b6b6b;
  --light: #f5f5f3;
  --white: #ffffff;
  --beige: #f0ece4;
  --border: #e0dcd5;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--anthracite); background: var(--white); }

/* NAV (azonos az index.html-lel) */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(45,62,80,0.97); backdrop-filter: blur(8px);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.lang-switcher { display: flex; gap: 8px; }
.lang-btn { background: none; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; transition: all 0.2s; }
.lang-btn.active, .lang-btn:hover { background: white; color: var(--navy); border-color: white; }

/* LEGAL CONTENT */
main.legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 48px 96px;
}
main.legal .page-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
main.legal h1 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--navy);
  line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 8px;
}
main.legal .last-updated {
  font-size: 13px; color: var(--mid); margin-bottom: 48px;
}
main.legal h2 {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin-top: 48px; margin-bottom: 16px; line-height: 1.3;
}
main.legal h3 {
  font-size: 17px; font-weight: 700; color: var(--navy);
  margin-top: 28px; margin-bottom: 10px;
}
main.legal p {
  font-size: 15px; line-height: 1.75; color: var(--anthracite);
  margin-bottom: 14px;
}
main.legal ul, main.legal ol {
  margin: 0 0 14px 24px;
  font-size: 15px; line-height: 1.75; color: var(--anthracite);
}
main.legal li { margin-bottom: 6px; }
main.legal a { color: var(--red); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
main.legal a:hover { border-bottom-color: var(--red); }
main.legal .data-block {
  background: var(--light); border-left: 3px solid var(--red);
  padding: 20px 24px; margin: 16px 0 24px;
  font-size: 15px; line-height: 1.85;
}
main.legal .placeholder {
  background: #fff3cd; color: #856404;
  padding: 2px 6px; border-radius: 3px; font-size: 13px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
main.legal .lang-block { display: none; }
main.legal .lang-block.active { display: block; }

/* FOOTER (azonos az index.html-lel) */
footer {
  background: var(--navy); color: rgba(255,255,255,0.5);
  padding: 48px; font-size: 13px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { color: white; font-weight: 700; font-size: 16px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 24px; max-width: 1160px; margin-left: auto; margin-right: auto; line-height: 1.6; }

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  main.legal { padding: 120px 24px 64px; }
  footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
