/* =========================================================
   Quantum Success Club — Legal pages (Impressum / Datenschutz)
   Same black/gold language as the landing page, readable long-form.
   ========================================================= */

:root {
  --black:       #000000;
  --gold:        #d4af37;
  --gold-bright: #f3d488;
  --off-white:   #f3efe6;
  --muted:       rgba(243, 239, 230, 0.62);
  --line:        rgba(212, 175, 55, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, #14110a 0%, #070604 46%, #000000 100%) fixed;
  color: var(--off-white);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1.4rem, 5vw, 2.5rem) 5rem;
}

/* ---------- Header ---------- */
.legal-head {
  text-align: center;
  margin-bottom: clamp(2.2rem, 6vh, 3.4rem);
}

.legal-eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: rgba(243, 239, 230, 0.45);
  margin-bottom: 1rem;
}

.legal-title {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 6vw, 3rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
  background: linear-gradient(100deg, #f6e6b4 0%, #d4af37 40%, #f3d488 60%, #b8902c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.legal-note {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--muted);
  margin-top: 1rem;
}

.legal-divider {
  width: min(260px, 60%);
  height: 1px;
  margin: clamp(1.6rem, 4vh, 2.4rem) auto 0;
  background: linear-gradient(to right, transparent, rgba(212,175,55,0.55), transparent);
}

/* ---------- Sections ---------- */
.legal-section { margin-top: clamp(1.8rem, 4vh, 2.6rem); }

.legal-section h2 {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  margin-bottom: 0.7rem;
}

.legal-section h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--off-white);
  margin: 1.2rem 0 0.4rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.94rem;
  color: rgba(243, 239, 230, 0.82);
}

.legal-section p + p { margin-top: 0.7rem; }

.legal-section ul {
  list-style: none;
  margin: 0.5rem 0 0;
}
.legal-section ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-top: 0.35rem;
}
.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px 1px rgba(212,175,55,0.5);
}

.legal-section a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.legal-section a:hover {
  color: var(--gold-bright);
  border-color: rgba(212,175,55,0.55);
}

.legal-section strong { color: var(--off-white); font-weight: 500; }

.data-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  margin-top: 0.8rem;
  background: rgba(212,175,55,0.03);
}
.data-block p { font-size: 0.92rem; }

/* ---------- Back link / footer ---------- */
.legal-foot {
  margin-top: clamp(3rem, 8vh, 4.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.back-link {
  font-family: "Montserrat", sans-serif;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: rgba(243,239,230,0.5);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.back-link:hover { color: var(--gold); }

.legal-foot .copyright {
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: rgba(243,239,230,0.4);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
