/* Legal Pages Styling - Wohnmobil-Servicepoint */
/* Font-Loading optimiert: nur 3 Cormorant- und 3 Inter-Weights */

:root {
  --bg-cream: #faf8f3;
  --bg-ivory: #f5f1e8;
  --bg-warm: #ede6d3;
  --bg-dark: #1a1612;
  --bg-deep: #0f0d0a;
  --text-dark: #1a1612;
  --text-muted: #7a6f5f;
  --text-light: #f5f1e8;
  --gold: #b89968;
  --gold-light: #d4b87e;
  --gold-dark: #8a7248;
  --border-subtle: rgba(184, 153, 104, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  font-weight: 300;
}

a { color: var(--gold-dark); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--gold); }

/* ===== NAVIGATION (copied from main) ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 640px) { .nav-inner { padding: 14px 22px; } }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}
.nav-logo .accent { color: var(--gold); font-style: italic; }
.nav-logo .est {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 2px;
}
.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 11px;
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-menu a:hover::after { width: 100%; }
@media (max-width: 900px) { .nav-menu { display: none; } }

/* ===== LEGAL PAGE HEADER ===== */
.legal-header {
  padding: 180px 48px 80px;
  text-align: center;
  background: var(--bg-ivory);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.legal-header::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 80px;
  background: var(--gold);
  transform: translateX(-50%);
  opacity: 0.4;
}
@media (max-width: 640px) { .legal-header { padding: 140px 22px 60px; } }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 24px;
  font-weight: 500;
}
.eyebrow::before,
.eyebrow::after {
  content: "—";
  margin: 0 12px;
  color: var(--gold);
}
.legal-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.legal-header h1 em { font-style: italic; color: var(--gold); }
.legal-header-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto;
  max-width: 200px;
}
.divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.divider-ornament {
  margin: 0 16px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}
@media (max-width: 640px) { .legal-content { padding: 60px 22px 80px; } }

.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-top: 64px;
  margin-bottom: 8px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2 .number {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  margin-right: 12px;
}

.legal-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 300;
}
.legal-content p.muted {
  color: var(--text-muted);
  font-size: 14px;
}

.legal-content strong {
  font-weight: 500;
  color: var(--text-dark);
}

.legal-content a {
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(184, 153, 104, 0.3);
  transition: all 0.3s ease;
}
.legal-content a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.legal-content ul {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
.legal-content ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  font-weight: 300;
}
.legal-content ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 2;
}

/* Info Card for Impressum */
.info-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 36px 40px;
  margin: 24px 0 40px;
}
@media (max-width: 640px) { .info-card { padding: 28px 24px; } }

.info-card .company-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
@media (max-width: 640px) {
  .info-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
}
.info-row .label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  padding-top: 3px;
}
.info-row .value {
  color: var(--text-dark);
  line-height: 1.6;
}

/* Disclaimer box */
.disclaimer-box {
  background: rgba(184, 153, 104, 0.06);
  border-left: 2px solid var(--gold);
  padding: 24px 28px;
  margin: 32px 0;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}
.disclaimer-box strong {
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 11px;
  display: block;
  margin-bottom: 8px;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-top: 48px;
  border: none;
  padding-bottom: 2px;
}
.back-link::before {
  content: "←";
  transition: transform 0.3s ease;
}
.back-link:hover {
  color: var(--gold);
  border: none;
}
.back-link:hover::before {
  transform: translateX(-4px);
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0806;
  color: rgba(245, 241, 232, 0.5);
  padding: 60px 48px 40px;
  border-top: 1px solid rgba(184, 153, 104, 0.15);
}
@media (max-width: 640px) { .footer { padding: 48px 22px 32px; } }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(184, 153, 104, 0.15);
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--gold-light);
  font-weight: 400;
}
.footer-logo em { font-style: italic; }
.footer-logo .est {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(184, 153, 104, 0.6);
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(245, 241, 232, 0.5);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
}
.footer-links a:hover { color: var(--gold-light); border: none; }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(245, 241, 232, 0.3);
}
