/* Paragon Security — Legal pages (Impressum, Datenschutz)
   Matches main site V1 dark style. Token-aligned with styles/site.css. */

:root {
  --accent: #c5a572;
  --bg: #0a0a0a;
  --bg-alt: #060606;
  --bg-card: #121212;
  --text: #ededed;
  --text-mute: #a8a8a8;
  --text-dim: #6a6a6a;
  --rule: #1f1f1f;
  --rule-strong: #2a2a2a;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter Tight', 'Helvetica Neue', system-ui, sans-serif;
  --container-max: 1400px;
  --pad-x: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }

.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.italic { font-style: italic; }
.accent { color: var(--accent); }

/* ─── TOPBAR ──────────────────────────────────────────────────────────── */
.topbar {
  background: var(--bg-alt);
  color: var(--text-mute);
  padding: 12px var(--pad-x);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
}
.topbar a:hover { color: var(--accent); }

/* ─── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 40px; }
.nav-logo .wm { font-family: var(--font-serif); font-size: 20px; letter-spacing: 0.32em; line-height: 1; }
.nav-logo .sub { font-size: 9px; letter-spacing: 0.4em; color: var(--text-dim); margin-top: 4px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid var(--rule-strong);
  font-weight: 600;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-logo .sub { display: none; }
}

/* ─── HEADER ──────────────────────────────────────────────────────────── */
.legal-head {
  padding: clamp(60px, 9vw, 120px) var(--pad-x) clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.legal-head::before {
  content: '';
  position: absolute;
  right: -10%;
  top: 0;
  width: clamp(400px, 50vw, 700px);
  height: 100%;
  background: url('../assets/paragon-shield-white.png') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
}
.legal-head-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  position: relative;
  z-index: 2;
}
.legal-head .eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.legal-head .eyebrow .line { width: 40px; height: 1px; background: var(--text-dim); }
.legal-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
}
.legal-head h1 .italic { font-style: italic; color: var(--accent); }
.legal-head .toc {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule-strong);
  padding-left: 32px;
  font-size: 14px;
}
.legal-head .toc .toc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--text-mute);
  transition: color 0.2s ease;
  border-bottom: 1px solid var(--rule);
}
.legal-head .toc .toc-row:last-child { border-bottom: none; }
.legal-head .toc .toc-row:hover { color: var(--accent); }
.legal-head .toc .toc-row .num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-dim);
}
@media (max-width: 800px) {
  .legal-head-inner { grid-template-columns: 1fr; }
  .legal-head .toc { border-left: none; padding-left: 0; border-top: 1px solid var(--rule-strong); padding-top: 20px; margin-top: 20px; }
}

/* ─── CONTENT ─────────────────────────────────────────────────────────── */
.legal-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 100px) var(--pad-x) clamp(80px, 10vw, 120px);
}
.legal-content > .intro {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.45;
  color: var(--text);
  max-width: 800px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}
.legal-content > .intro em { color: var(--accent); }
.legal-content section {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.legal-content section:last-child { border-bottom: none; }
.legal-content .sect-label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.legal-content .sect-label .num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 72px);
  font-style: italic;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.legal-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  margin: 32px 0 10px;
  color: var(--text);
}
.legal-content p { margin: 0 0 16px; color: var(--text-mute); }
.legal-content p strong, .legal-content strong { color: var(--text); font-weight: 600; }
.legal-content ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 16px;
}
.legal-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-mute);
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px; height: 1px;
  background: var(--accent);
}
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.data-card {
  background: var(--bg-card);
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  margin: 16px 0 24px;
}
.data-card .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.data-card .v {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--text);
  line-height: 1.3;
}
.data-card .v a { color: inherit; text-decoration: none; }
.data-card .v a:hover { color: var(--accent); }
.data-card .v + .k { margin-top: 18px; }

@media (max-width: 720px) {
  .legal-content section { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .legal-content .sect-label .num { font-size: 56px; }
}

/* ─── CTA BAND ────────────────────────────────────────────────────────── */
.legal-cta {
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.legal-cta::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(400px, 50vw, 700px);
  height: clamp(400px, 50vw, 700px);
  background: url('../assets/paragon-shield-white.png') no-repeat center;
  background-size: contain;
  opacity: 0.03;
}
.legal-cta-inner { position: relative; z-index: 2; }
.legal-cta .label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.legal-cta .label::before { content: ''; width: 40px; height: 1px; background: var(--text-dim); }
.legal-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  font-weight: 400;
  margin: 0 0 32px;
  letter-spacing: -0.025em;
}
.legal-cta h2 .italic { font-style: italic; color: var(--accent); }
.legal-cta a.phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--text);
  padding: clamp(14px, 2vw, 22px) clamp(28px, 4vw, 48px);
  border: 1px solid var(--rule-strong);
  transition: all 0.2s ease;
}
.legal-cta a.phone:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.legal-cta a.phone .icon { color: var(--accent); font-size: 0.6em; }
.legal-cta a.phone:hover .icon { color: var(--bg); }

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
.footer {
  background: #050505;
  padding: 80px var(--pad-x) 32px;
}
.footer-inner { max-width: var(--container-max); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 50px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand img { height: 72px; width: auto; margin-bottom: 20px; }
.footer-brand .wm { font-family: var(--font-serif); font-size: 22px; letter-spacing: 0.3em; }
.footer-brand .motto { font-family: var(--font-serif); font-style: italic; color: var(--accent); margin-top: 14px; font-size: 18px; }
.footer-brand .desc { font-size: 13px; line-height: 1.7; color: var(--text-mute); margin-top: 16px; max-width: 320px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin: 0 0 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mute);
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
}
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
}
