/* ========================================
   NXT-LVL.INK Legal Pages
   Shared styles for Impressum, AGB, Datenschutz
   ======================================== */

body {
  background: var(--dark, #0A1119) !important;
  color: #e0e0e0;
}

/* --- Page Header (Logo + Nav) --- */
.legal-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 17, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-header__logo {
  height: 28px;
  opacity: 0.9;
}

.legal-header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.legal-header__nav a {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-header__nav a:hover,
.legal-header__nav a.active {
  color: #B8860B;
}

/* --- Page Hero --- */
.legal-hero {
  padding: 120px 24px 48px;
  text-align: center;
  position: relative;
}

.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #B8860B;
}

.legal-hero__badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #B8860B;
  margin-bottom: 16px;
}

.legal-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0;
}

/* --- Content --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 40px 0 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.legal-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #d0d0d0;
  margin: 20px 0 8px;
}

.legal-content p,
.legal-content li {
  font-family: 'Open Sans', sans-serif;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.legal-content a {
  color: #B8860B;
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal-content a:hover {
  opacity: 0.7;
}

.legal-content strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content ul li {
  list-style-type: disc;
  margin-bottom: 6px;
}

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

.legal-content ol ol {
  list-style-type: lower-alpha;
  margin-top: 8px;
}

/* Notice box (used in AGB) */
.legal-notice {
  background: rgba(184, 134, 11, 0.08);
  border-left: 3px solid #B8860B;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.legal-notice strong {
  color: #B8860B;
}

.legal-stand {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

/* --- Footer --- */
.legal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.legal-footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-footer__links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-footer__links a:hover {
  color: #B8860B;
}

.legal-footer__copyright {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  .legal-header {
    padding: 14px 16px;
  }
  .legal-header__nav {
    gap: 16px;
  }
  .legal-header__nav a {
    font-size: 11px;
  }
  .legal-hero {
    padding: 100px 16px 40px;
  }
  .legal-content {
    padding: 36px 16px 60px;
  }
}
