/* ============================================
   LEGAL PAGES STYLES (Impressum & Datenschutz)
   ============================================ */

/* Hero Section für Legal Pages */
.hero--simple {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  position: relative;
  text-align: center;
}

.hero--simple .hero__content {
  max-width: 100%;
}

.hero--simple .hero__headline {
  color: white;
  margin-bottom: var(--space-3);
  font-size: var(--text-5xl);
}

.hero--simple .hero__subline {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  max-width: 600px;
  margin-inline: auto;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-neutral-200);
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.legal-content p,
.legal-content address {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.7;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.legal-content a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.legal-content ul li {
  list-style: disc;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Table of Contents (für Datenschutz) */
.toc {
  background: var(--color-neutral-100);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
}

.toc h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-4);
}

.toc ol {
  margin: 0;
  padding-left: var(--space-6);
  color: var(--text-secondary);
}

.toc li {
  margin-bottom: var(--space-1);
}

.toc a {
  text-decoration: none;
  color: var(--text-secondary);
}

.toc a:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero--simple {
    min-height: 30vh;
  }

  .hero--simple .hero__headline {
    font-size: var(--text-3xl);
  }

  .hero--simple .hero__subline {
    font-size: var(--text-base);
  }

  .legal-content h2 {
    font-size: var(--text-lg);
  }

  .legal-content ul,
  .legal-content ol {
    padding-left: var(--space-4);
  }
}