/* Juridische pagina's: zelfde huisstijl als de homepage (tokens uit clean.css) */
.legal-page { min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.legal-page::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 70vh; pointer-events: none;
  background: url("/assets/new/n-bg.jpg") 50% 30% / cover no-repeat; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent); mask-image: linear-gradient(180deg, #000 20%, transparent);
}

/* Bovenbalk met logo en Terug-knop: blijft in beeld, schuift niet over de tekst heen */
.legalbar { position: sticky; top: 0; z-index: 30; background: rgba(11, 5, 5, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.legalbar__inner { max-width: 1320px; margin: 0 auto; height: var(--nav-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legalbar__logo img { width: 128px; }
.legalbar__back { gap: 10px; }
.legalbar__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.legal { flex: 1; max-width: 820px; width: 100%; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(64px, 9vw, 120px); }
.legal h1 { font: 400 clamp(26px, 4vw, 44px)/1.15 var(--f-display); text-transform: uppercase; color: #fff; margin-bottom: 14px; text-wrap: balance; }
.legal__version { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 36px; display: flex; align-items: center; gap: 12px; }
.legal__version::before { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, var(--ice), var(--ember)); }
.legal h2 { font: 400 clamp(17px, 1.8vw, 21px)/1.3 var(--f-display); text-transform: uppercase; color: #fff; margin: 48px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: #d9d1cc; }
.legal p + p { margin-top: 14px; }
.legal ol, .legal ul { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 8px; }
.legal ol { list-style: decimal; }
.legal ul { list-style: none; padding-left: 0; }
.legal ul > li { position: relative; padding-left: 22px; }
.legal ul > li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--ember); rotate: 45deg; }
.legal ol ol { list-style: lower-alpha; margin-top: 8px; }
.legal li::marker { color: var(--ember); font-family: var(--f-mono); font-size: .9em; }
.legal strong { color: #fff; font-weight: 600; }
.legal a { color: #fff; text-underline-offset: 3px; }
.legal a:hover { color: var(--ignite); }

/* Tabel: op desktop een tabel, op mobiel per rij een blok */
.legal-table { width: 100%; border-collapse: collapse; margin: 20px 0 8px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: #d9d1cc; line-height: 1.5; }
.legal-table th { font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); border-bottom-color: var(--line-strong); }
.legal-table td:first-child { color: #fff; font-weight: 600; }
@media (max-width: 720px) {
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
  .legal-table td { border: 0; padding: 4px 0; }
  .legal-table td::before { content: attr(data-label); display: block; font: 500 10px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
  .legal-table td:first-child::before { display: none; }
  .legal-table td:first-child { font-size: 17px; padding-bottom: 6px; }
}
@media (max-width: 380px) { .legalbar__logo img { width: 104px; } }
