/* ============================================================
   Carvuro – gemeinsames Styling der Rechtstext-Seiten
   Designsprache identisch zur Landingpage (index.html):
   Hanken Grotesk · Teal #7B6CF2 · BG #1A102E
   ============================================================ */

:root {
  --bg:           #1A102E;
  --text:         #EAF0F4;
  --heading:      #F4F8FA;
  --muted:        #A7B2BD;
  --muted-2:      #9AA5AF;
  --soft:         #8C97A2;
  --teal:         #7B6CF2;
  --teal-light:   #9C8FF5;
  --border:       rgba(255, 255, 255, 0.08);
  --border-soft:  rgba(255, 255, 255, 0.06);
  --border-strong:rgba(255, 255, 255, 0.16);
  --card:         rgba(255, 255, 255, 0.02);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal); color: #FFFFFF; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Hintergrund-Glows (wie auf der Landingpage) */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  top: -180px; left: -140px;
  width: 620px; height: 560px;
  background: radial-gradient(circle, rgba(123,108,242,0.18), rgba(123,108,242,0) 65%);
}
.glow-2 {
  top: 320px; right: -180px;
  width: 580px; height: 560px;
  background: radial-gradient(circle, rgba(79,123,240,0.12), rgba(79,123,240,0) 65%);
}

.container {
  width: min(960px, calc(100% - 52px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------------- Header / Navigation ---------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(26, 16, 46, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #7B6CF2, #4F7BF0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

/* ---------------- Inhalt ---------------- */
main { padding: 72px 0 96px; }

.legal-hero {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(123,108,242,0.3);
  background: rgba(123,108,242,0.06);
  color: var(--teal-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #FFC83A;
  box-shadow: 0 0 10px #FFC83A;
}

.legal-hero h1 {
  margin: 20px 0 12px;
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--heading);
}

.legal-hero > p {
  margin: 0;
  color: var(--muted-2);
  font-size: 15px;
}

h2, h3 {
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--heading);
}

h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.4rem, 3vw, 1.95rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
  font-weight: 700;
}

p, li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

p { margin: 0 0 16px; }
ul, ol { margin: 12px 0 20px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: var(--text); font-weight: 700; }
em { color: var(--muted-2); }

a[data-legal-email],
.legal-content a {
  color: var(--teal-light);
  text-decoration: none;
  font-weight: 600;
}
.legal-content a:hover { text-decoration: underline; }

.legal-content {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
}
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }

/* ---------------- Footer ---------------- */
footer {
  padding: 30px 0 54px;
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--soft);
  font-size: 13.5px;
}

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

.footer-links a {
  color: var(--muted-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 13.5px;
}
.footer-links a:hover { color: #fff; }

/* ---------------- Responsive ---------------- */
@media (max-width: 560px) {
  .container { width: min(100% - 32px, 960px); }
  main { padding: 48px 0 72px; }
  .legal-content { padding: 24px; border-radius: 20px; }
  .navbar-inner { min-height: 64px; }
  .logo { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
