/* ============================================================
   WEBLIFY — legal-style.css
   Gedeelde stijlen voor juridische/informatieve pagina's
============================================================= */

.legal-page-wrapper {
  min-height: 100vh;
  padding-top: 80px;
  background: #f6f5f3;
}

/* Hero van de juridische pagina */
.legal-hero {
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
  padding: 56px 0 40px;
}

.legal-hero .container {
  max-width: 780px;
}

.legal-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 .78rem/1 var(--font);
  color: var(--ink-40);
  margin-bottom: 20px;
  transition: color .15s;
}

.legal-hero .back-link:hover { color: var(--ink); }

.legal-hero .eyebrow {
  margin-bottom: 10px;
}

.legal-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.legal-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-meta span {
  font: 400 .77rem/1 var(--font);
  color: var(--ink-40);
}

/* Inhoudsopgave */
.legal-toc {
  background: var(--ink-03);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-l);
  padding: 24px 28px;
  margin-bottom: 36px;
}

.legal-toc p {
  font: 600 .72rem/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-40);
  margin-bottom: 14px;
}

.legal-toc ol {
  padding-left: 0;
  list-style: none;
  columns: 2;
  gap: 30px;
}

.legal-toc li {
  padding: 4px 0;
}

.legal-toc a {
  font: 400 .82rem/1.5 var(--font);
  color: var(--ink-60);
  transition: color .13s;
}

.legal-toc a:hover { color: var(--red); }

/* Hoofdinhoud */
.legal-body {
  padding: 48px 0 80px;
}

.legal-body .container {
  max-width: 780px;
}

.legal-content {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-10);
  padding: 48px 52px;
}

/* Secties */
.legal-section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--ink-06);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-label {
  font: 700 .62rem/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 10px;
}

.legal-section h2 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-section p {
  font: 400 .88rem/1.8 var(--font);
  color: var(--ink-60);
  margin-bottom: 14px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul,
.legal-section ol {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 14px 0;
}

.legal-section ul li,
.legal-section ol li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font: 400 .87rem/1.65 var(--font);
  color: var(--ink-60);
}

.legal-section ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 8px;
}

.legal-section ol {
  counter-reset: legal-counter;
}

.legal-section ol li {
  counter-increment: legal-counter;
}

.legal-section ol li::before {
  content: counter(legal-counter) '.';
  font: 600 .78rem/1 var(--font);
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 18px;
}

.legal-section strong {
  font-weight: 600;
  color: var(--ink);
}

.legal-section a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover { color: var(--red-dk); }

/* Highlight box */
.legal-highlight {
  background: var(--red-bg);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font: 400 .85rem/1.7 var(--font);
  color: var(--ink-60);
}

.legal-highlight strong { color: var(--red); }

/* Info box */
.legal-info {
  background: var(--ink-03);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-l);
  padding: 18px 22px;
  margin: 20px 0;
  font: 400 .84rem/1.7 var(--font);
  color: var(--ink-60);
}

/* Contactblok onderaan */
.legal-contact-block {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-contact-block h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.legal-contact-block p {
  color: rgba(255,255,255,.4);
  font-size: .83rem;
  margin: 0;
}

.legal-contact-block a.btn-legal-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  font: 600 .85rem/1 var(--font);
  padding: 12px 22px;
  border-radius: var(--r-l);
  flex-shrink: 0;
  transition: background .18s, transform .2s;
  box-shadow: 0 4px 14px rgba(201,49,42,.3);
}

.legal-contact-block a.btn-legal-contact:hover {
  background: var(--red-dk);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .legal-content { padding: 28px 22px; }
  .legal-toc ol { columns: 1; }
  .legal-contact-block { flex-direction: column; text-align: center; }
  .legal-contact-block a.btn-legal-contact { width: 100%; justify-content: center; }
}

@media (max-width: 540px) {
  .legal-hero { padding: 36px 0 28px; }
  .legal-content { padding: 20px 16px; }
}