/* legal.css — Vantech IT-Beratung v4
   Gemeinsames Stylesheet für Impressum, Datenschutz, AGB
   Dark look, passend zu draft-index.html
   ---------------------------------------------------- */

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

/* Design Tokens (spiegelt :root aus draft-index.html) */
:root {
  --bone:     #EEEEEE;
  --ink:      #000208;
  --ink2:     #05080f;
  --steel:    #7d8aa3;
  --steel-lo: #9aa3b6;
  --line:     rgba(238,238,238,.10);
  --line2:    rgba(238,238,238,.16);
  --blue:     #4f7fd6;
  --blue-lo:  #86a3cf;
  --gut:      clamp(24px, 5vw, 68px);
}

/* Base */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Filmkorn-Overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 230px 230px;
}

/* Vignette */
.vign {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 130% 100% at 50% 0%, transparent 55%, rgba(0,1,5,.65) 100%);
}

/* Links */
a { color: var(--blue-lo); text-decoration: none; }
a:hover { color: var(--bone); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--gut);
  background: rgba(2,4,9,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav .bm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: .07em;
  font-size: 16px;
  color: var(--bone);
  text-decoration: none;
}
.nav .bm__mark { height: 24px; width: auto; display: block; }

.nav .back-link {
  font-size: 12.5px;
  color: var(--steel-lo);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .25s;
  text-decoration: none;
}

.nav .back-link:hover { color: var(--bone); }

/* ── MAIN CONTENT ── */
.legal-wrap {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 120px var(--gut) 80px;
}

/* Page header */
.legal-wrap .page-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line2);
}

.legal-wrap .page-header .updated {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-lo);
  margin-bottom: 14px;
}

/* Headlines */
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--bone);
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--bone);
  margin-top: 44px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--bone);
  margin-top: 28px;
  margin-bottom: 8px;
}

/* Paragraphs & text */
p {
  color: #aab2c2;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}

p + p { margin-top: 4px; }

strong { color: var(--bone); font-weight: 600; }

/* Lists */
ul, ol {
  margin: 12px 0 16px 22px;
  color: #aab2c2;
  font-size: 15.5px;
  line-height: 1.75;
}

li { margin-bottom: 6px; }

/* Section blocks */
.legal-section {
  margin-bottom: 8px;
}

/* Inline links inside content */
.legal-wrap a {
  color: var(--blue-lo);
  border-bottom: 1px solid rgba(134,163,207,.25);
  transition: color .2s, border-color .2s;
}

.legal-wrap a:hover {
  color: var(--bone);
  border-color: rgba(238,238,238,.35);
}

/* Nav links override (no underline) */
.nav a { border-bottom: none; }

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 2;
  background: var(--ink2);
  border-top: 1px solid var(--line);
  padding: 32px var(--gut);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer .copy {
  font-size: 12px;
  color: #5a6378;
}

.footer .foot-links {
  display: flex;
  gap: 22px;
}

.footer .foot-links a {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-lo);
  border-bottom: none;
  text-decoration: none;
  transition: color .25s;
}

.footer .foot-links a:hover { color: var(--bone); }

/* Responsive */
@media (max-width: 600px) {
  .legal-wrap { padding: 100px 20px 60px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

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