@import url('../fonts/fonts.css');
/* ═══════════════════════════════════════════
   Aurelia — Legal Pages (Datenschutz / Widerruf / AGB)
   Shared editorial design — Moonlit Garden
   ═══════════════════════════════════════════ */

:root {
  --mg-night-teal: #162d3a;
  --mg-deep-teal: #1b3a4b;
  --mg-ocean-teal: #2a6171;
  --mg-sage: #7a9e8e;
  --mg-copper: #c48a5c;
  --mg-copper-light: #d4a373;
  --mg-cream: #faf7f2;
  --mg-mint: #c8ddd3;
  --mg-font-display: 'DM Serif Display', Georgia, serif;
  --mg-font-accent: 'Playfair Display', Georgia, serif;
  --mg-font-body: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--mg-night-teal);
  color: var(--mg-cream);
  font-family: var(--mg-font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q35 15 30 30 Q25 15 30 5Z' fill='%237a9e8e' opacity='0.5'/%3E%3Cpath d='M10 35 Q15 25 20 35 Q15 45 10 35Z' fill='%237a9e8e' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 28px 96px;
  position: relative;
  z-index: 1;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mg-copper);
  text-decoration: none;
  margin-bottom: 56px;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.legal-back:hover { opacity: 1; }

.legal-eyebrow {
  font-family: var(--mg-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mg-copper);
  text-align: center;
  margin-bottom: 14px;
}

.legal-title {
  font-family: var(--mg-font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--mg-cream);
  text-align: center;
  margin-bottom: 16px;
}

.legal-rule {
  width: 48px;
  height: 1px;
  background: var(--mg-copper);
  margin: 0 auto 28px;
  opacity: 0.7;
}

.legal-intro {
  font-family: var(--mg-font-accent);
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
  color: var(--mg-mint);
  opacity: 0.75;
  margin-bottom: 64px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.legal-body {
  padding-top: 16px;
}

.legal-body h2 {
  font-family: var(--mg-font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--mg-cream);
  margin: 48px 0 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 97, 113, 0.25);
  position: relative;
}

.legal-body h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--mg-font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--mg-cream);
  margin: 28px 0 10px;
  letter-spacing: 0.01em;
}

.legal-body p,
.legal-body li {
  font-family: var(--mg-font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(200, 221, 211, 0.85);
  margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body li::marker {
  color: var(--mg-copper);
}

.legal-body strong {
  color: var(--mg-cream);
  font-weight: 500;
}

.legal-body a {
  color: var(--mg-copper-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 138, 92, 0.3);
  transition: border-color 0.2s ease;
}

.legal-body a:hover {
  border-bottom-color: var(--mg-copper);
}

.legal-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 138, 92, 0.25), transparent);
  margin: 40px 0;
}

.legal-body .address-block {
  background: linear-gradient(145deg, rgba(27, 58, 75, 0.4) 0%, rgba(22, 45, 58, 0.55) 100%);
  border: 1px solid rgba(122, 158, 142, 0.12);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 16px 0;
}

.legal-body .address-block p {
  margin-bottom: 0;
}

.legal-body .highlight-box {
  background: linear-gradient(145deg, rgba(196, 138, 92, 0.06) 0%, rgba(122, 158, 142, 0.04) 100%);
  border: 1px solid rgba(196, 138, 92, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-body .highlight-box p:last-child { margin-bottom: 0; }

.legal-body .revocation-form {
  background: rgba(22, 45, 58, 0.55);
  border: 1px dashed rgba(196, 138, 92, 0.3);
  border-radius: 12px;
  padding: 26px 28px;
  margin: 28px 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--mg-mint);
}

.legal-body .revocation-form p {
  color: rgba(200, 221, 211, 0.85);
}

.legal-body .form-field {
  display: block;
  border-bottom: 1px solid rgba(122, 158, 142, 0.25);
  padding-bottom: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(200, 221, 211, 0.55);
  letter-spacing: 0.02em;
}

/* Footer */
.legal-footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(42, 97, 113, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.legal-footer-brand {
  font-family: var(--mg-font-display);
  font-size: 1rem;
  color: var(--mg-cream);
  opacity: 0.6;
}

.legal-footer-copy {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(200, 221, 211, 0.35);
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.legal-footer-links a {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(196, 138, 92, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Responsive */
@media (max-width: 520px) {
  .legal-page {
    padding: 56px 20px 72px;
  }
  .legal-title {
    font-size: 1.9rem;
  }
  .legal-body h2 {
    font-size: 1.2rem;
    margin: 36px 0 10px;
  }
}
