/* ========================================================
   LEGAL PAGES — Impressum & Datenschutz
   ======================================================== */

/* Force scrolled navbar look (no hero on these pages) */
.legal-page + .legal-footer {
  margin-top: 0;
}

.legal-page {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 70vh;
  background: var(--cream);
}

/* Back link */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  cursor: pointer;
  transition: gap var(--transition);
}

.legal-back:hover {
  gap: 12px;
  color: var(--red-dark);
}

/* Page title */
.legal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}

/* Content sections */
.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--cream-dark);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.legal-section h3 {
  font-family: 'Karla', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 28px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 720px;
}

.legal-section a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-section a:hover {
  color: var(--red-dark);
}

.legal-section ul {
  margin: 12px 0 20px 24px;
  max-width: 720px;
}

.legal-section li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.legal-section li::marker {
  color: var(--red);
}

.legal-section strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* Simple footer for legal pages */
.legal-footer {
  background: var(--charcoal);
  padding: 32px 0;
  color: rgba(255,255,255,0.5);
}

.legal-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.legal-footer-links {
  display: flex;
  gap: 24px;
}

.legal-footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  cursor: pointer;
}

.legal-footer-links a:hover {
  color: var(--white);
}

.legal-footer-links a.active {
  color: var(--red);
}

/* Responsive */
@media (max-width: 768px) {
  .legal-page {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .legal-footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .legal-section h2 {
    font-size: 20px;
  }
}
