/* ════════════════════════════════════════════════════════════════
   Klaassens Digital — juridische pagina's (rustige leesomgeving)
   Deelt het Ink & Grotesk design system (tokens, fonts, footer).
   ════════════════════════════════════════════════════════════════ */

/* ---------- Header ---------- */
.legal-header {
  border-bottom: 1px solid var(--border);
  background: rgba(244, 242, 236, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 10;
}
.legal-header__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 15px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-header__right { display: inline-flex; align-items: center; gap: 10px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
  padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--bg-elev);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.legal-back:hover { color: var(--accent); background: var(--surface-2); border-color: var(--border-2); }
.legal-back .ph { font-size: 1.05em; transition: transform 0.2s var(--ease); }
.legal-back:hover .ph { transform: translateX(-3px); }

/* ---------- Lees-kolom ---------- */
.legal {
  max-width: 700px; margin-inline: auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 40px) 90px;
}
.legal__eyebrow {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600;
  color: var(--accent); margin-bottom: 14px;
}
.legal__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.7rem); line-height: 1.12; letter-spacing: -0.03em;
  color: var(--text); padding-bottom: 18px; border-bottom: 2px solid var(--accent);
}
.legal__updated { color: var(--muted-2); font-size: 0.9rem; margin-top: 16px; }
.legal__lead { font-size: 1.1rem; color: var(--text); line-height: 1.7; margin: 26px 0 8px; }

/* ---------- Prose ---------- */
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.36rem; letter-spacing: -0.02em; color: var(--text); margin: 42px 0 12px; }
.legal h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--text); margin: 26px 0 8px; }
.legal p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 8px; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.legal a:hover { color: var(--accent-hover); }
.legal strong { color: var(--text); font-weight: 600; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Accent-/infoblok */
.legal__box {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: 0;
  padding: 18px 20px; margin: 18px 0;
}
.legal__box p { margin-bottom: 6px; }
.legal__box p:last-child { margin-bottom: 0; }


/* "Dit is een vertaling"-melding */
.legal__translation { border-left-color: var(--accent); background: var(--accent-subtle); }
.legal__translation p { margin-bottom: 0; color: var(--muted); }
.legal__translation strong { color: var(--text); }

@media (max-width: 520px) {
  .legal-back span { display: none; }
  .legal-back { padding: 9px 12px; }
}
