/* ================================================================
   24uur Taxi — Legal pages (Privacy + Algemene voorwaarden)
   Mirrors Klassieker.html design system
   ================================================================ */

:root {
  --brand-orange: #f5a623;
  --brand-orange-deep: #e8951a;
  --bg: #fbf6ed;
  --surface: #ffffff;
  --surface-2: #f0e8d6;
  --text: #1a1612;
  --muted: rgba(26, 22, 18, 0.6);
  --border: rgba(26, 22, 18, 0.1);
  --accent: #1a1612;
  --accent-text: var(--brand-orange);

  --pad-x: 20px;
  --section-y: 64px;
  --max: 1280px;
}
@media (min-width: 640px) { :root { --pad-x: 32px; --section-y: 88px; } }
@media (min-width: 1024px) { :root { --pad-x: 56px; --section-y: 96px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.legal-content a { color: var(--text); text-decoration: underline; text-decoration-color: var(--brand-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--brand-orange-deep); }

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

/* === LOGO === */
.logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #000;
  border: 2.5px solid var(--brand-orange);
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
}
.logo .l1 { color: var(--brand-orange); font-size: 10px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 1px; }
.logo .l2 { background: var(--brand-orange); color: #000; font-size: 6.5px; font-weight: 800; padding: 1.5px 4px; }
.logo.lg { width: 72px; height: 72px; }
.logo.lg .l1 { font-size: 13px; }
.logo.lg .l2 { font-size: 8.5px; padding: 2px 5px; }

/* === TOPBAR === */
.topbar {
  background: #1a1612;
  color: var(--brand-orange);
  padding: 8px var(--pad-x);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}
.topbar span + span { display: none; }
@media (min-width: 768px) {
  .topbar { display: flex; justify-content: space-between; }
  .topbar span + span { display: inline; }
}

/* === NAV === */
header.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 100;
  backdrop-filter: blur(8px);
}
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta-desktop { display: none; align-items: center; gap: 6px; }
.nav-cta-desktop .btn { padding: 10px 16px; font-size: 13px; font-weight: 500; min-height: 40px; border-radius: 10px; }
.nav-cta-desktop .btn.ghost { border: 1px solid rgba(26,22,18,0.16); color: var(--text); background: transparent; }
.nav-cta-desktop .btn.ghost:hover { background: rgba(26,22,18,0.04); border-color: rgba(26,22,18,0.28); }
.nav-cta-desktop .btn.primary { background: #1a1612; color: var(--brand-orange); }
.nav-burger {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.nav-burger svg { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  .nav-links, .nav-cta-desktop { display: flex; }
  .nav-burger { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  font-size: 14px; font-weight: 600;
  border-radius: 10px;
  transition: opacity 0.15s;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none !important;
}
.btn:hover { opacity: 0.9; }
.btn.primary { background: #1a1612; color: var(--brand-orange); }
.btn.ghost { border: 1px solid var(--border); color: var(--text); background: transparent; }

/* === HERO === */
.legal-hero {
  padding: 64px var(--pad-x) 56px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .legal-hero { padding: 96px var(--pad-x) 80px; }
}
.legal-hero .container { padding: 0; }
.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.legal-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400; letter-spacing: -2px;
  line-height: 0.98;
  font-size: clamp(48px, 8vw, 96px);
  margin-bottom: 24px;
}
.legal-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6; color: var(--muted);
  max-width: 560px;
}

/* === BODY GRID === */
.legal-body { padding: var(--section-y) 0 var(--section-y); border-bottom: 1px solid var(--border); }
.legal-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 1024px) {
  .legal-grid { grid-template-columns: 240px 1fr; gap: 96px; align-items: start; }
}

/* === TOC === */
.legal-toc { position: relative; }
@media (min-width: 1024px) {
  .legal-toc { position: sticky; top: 96px; }
}
.toc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.legal-toc ol { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.legal-toc a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.legal-toc a:hover { color: var(--text); }

/* === CONTENT === */
.legal-content { max-width: 720px; }
.legal-content h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400; letter-spacing: -0.8px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  margin-top: 48px;
  margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 16px;
  scroll-margin-top: 96px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2 .ix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 1.5px;
  color: var(--brand-orange);
  font-weight: 400;
  flex-shrink: 0;
}
.legal-content h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: -0.3px;
  margin-top: 28px;
  margin-bottom: 8px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
}
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { font-weight: 600; }

.legal-list, .legal-meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.legal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.65;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--brand-orange);
}

.legal-meta {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 24px;
  border-radius: 4px;
  margin: 20px 0 24px;
}
.legal-meta li {
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.2px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.legal-meta li:last-child { border-bottom: 0; }
.legal-meta li strong {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  display: inline-block;
  min-width: 140px;
}

/* === FOOTER CARD === */
.legal-footer-card {
  margin-top: 56px;
  padding: 28px;
  background: #1a1612;
  color: var(--brand-orange);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 640px) {
  .legal-footer-card {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 32px 36px;
  }
}
.legal-footer-card .lf-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: -0.4px;
  color: #fff;
}
.legal-footer-card .lf-sub {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
  color: #fff;
}
.legal-footer-card .lf-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.legal-footer-card .btn.primary { background: var(--brand-orange); color: #1a1612; }
.legal-footer-card .btn.ghost { border-color: rgba(255,255,255,0.2); color: #fff; }
.legal-footer-card .btn.ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }

/* === SITE FOOTER === */
footer.site {
  padding: 48px var(--pad-x);
  display: grid; grid-template-columns: 1fr; gap: 32px;
  font-size: 13px; color: var(--muted);
}
@media (min-width: 640px) { footer.site { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { footer.site { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 56px var(--pad-x); } }
footer.site .col-title { color: var(--text); font-weight: 600; margin-bottom: 12px; }
footer.site .col-list { display: flex; flex-direction: column; gap: 8px; }
footer.site .col-list a:hover { color: var(--text); }
footer.site .about p { max-width: 320px; line-height: 1.6; margin-top: 14px; }

.footer-legal {
  border-top: 1px solid var(--border);
  padding: 20px var(--pad-x);
  font-size: 12px; color: var(--muted);
  display: flex; flex-direction: column; gap: 10px;
  text-align: center;
}
.footer-legal a:hover { color: var(--text); }
@media (min-width: 640px) {
  .footer-legal { flex-direction: row; justify-content: space-between; text-align: left; }
}
