/* ============================================================
   Portfolio – Legal-Stylesheet (Impressum & Datenschutz)
   Ordner: css/legal.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --bg:        #0d1117;
  --bg2:       #161b22;
  --highlight: #7fa4f7;
  --text:      #e6edf3;
  --muted:     #8b949e;
  --border:    rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  border: 1.5px solid rgba(127,164,247,0.4);
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-name {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: -0.3px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── Legal Content ── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 5vw 100px;
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--highlight); text-decoration: none; font-size: 14px;
  margin-bottom: 48px;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; letter-spacing: -1.5px;
  color: var(--text); margin-bottom: 8px;
  line-height: 1.1;
}
.legal-date {
  color: var(--muted); font-size: 14px;
  margin-bottom: 60px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--text);
  margin: 40px 0 12px;
}
.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 20px; margin-bottom: 12px;
}
.legal-content li {
  color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 6px;
}
.legal-content a { color: var(--highlight); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  padding: 36px 5vw;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 700px) {
  .nav-links { display: none; }
}
