/* ============================================================
   lp4-public.css  –  Zentrales Design-System für Outer Pages
   (gilt nur für nicht eingeloggte / public Seiten)
   ============================================================ */

:root {
  --primary: #635bff;
  --primary-dark: #4339ed;
  --text: #2e2e3a;
  --text-light: #616174;
  --background: #fff;
  --light-bg: #f6f9fc;
  --border: #e6e8eb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: var(--background);
}

/* ── Header ── */
.lp4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container .logo img,
.logo img {
  height: 32px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--primary);
}

.btn-login {
  color: var(--primary) !important;
  font-weight: 500;
}

.btn-signup {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-signup:hover {
  background: var(--primary-dark) !important;
}

/* ── Hero ── */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

/* ── Legal (gemeinsam für Impressum, AGB, Datenschutz) ── */
.legal-section {
  padding: 4rem 2rem 5rem;
  background: var(--background);
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

.legal-card h2 {
  color: var(--text);
  font-size: 1.3rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

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

.legal-card h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.legal-card p,
.legal-card address {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  font-style: normal;
}

.legal-card a {
  color: var(--primary);
  word-break: break-all;
}

/* ── Footer ── */
footer {
  background: #0d1117;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo img {
  height: 36px;
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-heading {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 1.75rem;
  }
  .legal-card {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .header-nav a:not(.btn-login):not(.btn-signup) {
    display: none;
  }
}

