/* ============================================
   GLANZWERK – Legal Pages
   Impressum & Datenschutz Styles
   ============================================ */

/* ── LEGAL HERO ── */
.legal-hero {
  padding-top: 100px;
  padding-bottom: 60px;
  padding-left: 6%;
  padding-right: 6%;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  border-bottom: 1px solid var(--accent-line);
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(62,207,207,0.05) 0%, transparent 60%),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(62,207,207,0.02) 80px, rgba(62,207,207,0.02) 81px);
  pointer-events: none;
}

.legal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.legal-hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* ── LEGAL WRAPPER ── */
.legal-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 6% 100px;
}

/* ── LEGAL BLOCK ── */
.legal-block {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(62,207,207,0.07);
}

.legal-block:last-of-type {
  border-bottom: none;
}

.legal-block h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 16px;
}

.legal-block p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block p strong {
  color: var(--text);
  font-weight: 600;
}

.legal-block a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(62,207,207,0.3);
  transition: border-color 0.2s, color 0.2s;
}

.legal-block a:hover {
  color: var(--white);
  border-color: var(--teal);
}

.legal-block ul {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-block ul li {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.legal-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.8rem;
}

/* ── BACK BUTTON ROW ── */
.legal-back {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--accent-line);
}

/* ── FOOTER LINKS ── */
.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

/* ── NAV LOGO AS LINK ── */
.nav-logo {
  text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .legal-wrapper {
    padding: 48px 5% 72px;
  }

  .legal-back {
    flex-direction: column;
  }

  .footer-links {
    gap: 16px;
  }
}
