/* ================================================
   AGB — Extrahiert aus mockups/astromantie-agb.jsx
   Gemeinsames Legal-Styling fuer AGB, Datenschutz, Impressum, Widerruf
   ================================================ */

/* ===== LEGAL PAGE BASE ===== */
.astro-legal-page {
  padding: 48px 48px 80px;
  max-width: 760px;
  margin: 0 auto;
  animation: fadeUp 0.5s ease-out both;
}

.astro-legal-heading {
  font-family: 'Cinzel', serif;
  font-size: 42px;
  font-weight: 500;
  color: var(--astro-text);
  line-height: 1.3;
  margin-bottom: 14px;
}

.astro-legal-intro {
  font-size: 14px;
  color: var(--astro-text-mid);
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ===== LEGAL SECTIONS ===== */
.astro-legal-section {
  margin-bottom: 40px;
}

.astro-legal-section-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--astro-text);
  margin-bottom: 12px;
}

.astro-legal-section-content {
  font-size: 14px;
  color: var(--astro-text-mid);
  line-height: 1.8;
  border-left: 3px solid rgba(167,139,250,0.3);
  padding-left: 20px;
}

body.astro-light-theme .astro-legal-section-content {
  border-left-color: rgba(201,168,76,0.2);
}

/* ===== LEGAL LIST ===== */
.astro-legal-list {
  padding-left: 20px;
  list-style: disc;
}

.astro-legal-list-item {
  font-size: 14px;
  color: var(--astro-text-mid);
  line-height: 1.8;
  margin-bottom: 8px;
  list-style: disc;
}

/* ===== LEGAL CTA ===== */
.astro-legal-cta {
  margin-top: 56px;
  padding: 44px 36px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(232,201,106,0.04) 100%);
  border: 1px solid rgba(124,58,237,0.15);
}

body.astro-light-theme .astro-legal-cta {
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.02) 100%);
  border-color: rgba(201,168,76,0.1);
}

.astro-legal-cta-text {
  font-size: 14px;
  color: var(--astro-text-mid);
  margin-bottom: 20px;
  line-height: 1.7;
}

.astro-legal-cta-btn {
  display: inline-block;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  background: var(--astro-btn-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 30px var(--astro-accent-glow);
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}

.astro-legal-cta-btn:hover {
  transform: translateY(-1px);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .astro-legal-page {
    padding: 40px 20px 60px;
  }

  .astro-legal-heading {
    font-size: clamp(24px, 7vw, 32px);
    overflow-wrap: break-word;
    hyphens: auto;
  }
}
