/* ════════════════════════════════════════════════════════════════════
   Rechtsseiten (Impressum / Datenschutzerklärung)
   Ruhige Lese-Seiten in der Website-CI. Nutzt ausschließlich die
   Variablen aus global.css.
   ════════════════════════════════════════════════════════════════════ */

/* ─── Kopfzeile ─── */
.lg-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.lg-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.lg-head__brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--color-heading);
}
.lg-head__brand:hover { color: var(--color-brand-main); }
.lg-head__brand img { width: 44px; height: 38px; object-fit: contain; }
.lg-head__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-brand-main);
  min-height: 44px;
}
.lg-head__back svg { transition: transform .3s var(--ease-out); }
.lg-head__back:hover svg { transform: translateX(-3px); }

/* ─── Inhalt ─── */
.lg-main {
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 104, 80, 0.07), transparent 65%),
    var(--color-bg-light);
}
.lg-main .container { max-width: 860px; }

.lg-hero { margin-bottom: 44px; }
.lg-hero h1 {
  font-size: 52px;
  margin-top: 20px;
}
.lg-hero__meta {
  margin-top: 16px;
  font-size: 17px;
  color: var(--color-text-muted);
}

/* Lesekarte */
.lg-doc {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 56px 60px;
}
.lg-doc h2 {
  font-size: 24px;
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
}
.lg-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* h3/h4: Unterebenen der Datenschutzerklärung — abgestuft, ohne Trennlinie */
.lg-doc h3 {
  font-size: 20px;
  margin: 30px 0 10px;
  color: var(--color-heading);
}
.lg-doc h4 {
  font-size: 18px;
  margin: 22px 0 8px;
  color: var(--color-brand-main);
  font-weight: 600;
  letter-spacing: 0;
}
.lg-doc h2 + h3, .lg-doc h3 + h4 { margin-top: 18px; }
.lg-doc p { font-size: 18px; line-height: 1.75; margin-bottom: 16px; }
.lg-doc p:last-child { margin-bottom: 0; }
.lg-doc ul { margin: 0 0 18px; padding-left: 24px; }
.lg-doc li { font-size: 18px; line-height: 1.75; margin-bottom: 8px; color: var(--color-body); }
.lg-doc a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Adressblock im Impressum */
.lg-doc address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Hinweis-Kasten (Redaktionshinweis, keine Rechtsaussage) */
.lg-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-brand-subtle);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.lg-note svg { flex: none; color: var(--color-brand-main); margin-top: 3px; }
.lg-note p { font-size: 17px; margin: 0; }

/* ─── Fußzeile ─── */
.lg-foot { background: #08180F; color: var(--color-text-on-dark); }
.lg-foot__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.lg-foot address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-on-dark);
}
.lg-foot address a { color: var(--color-text-on-dark); }
.lg-foot address a:hover { color: #fff; }
.lg-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 17px;
}
.lg-foot__links a { color: var(--color-text-on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.lg-foot__links a:hover { color: #fff; }
.lg-foot__links a[aria-current] { color: #fff; font-weight: 600; }
.lg-foot__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.lg-foot__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 40px;
  font-size: 17px;
  color: rgba(201, 216, 207, 0.7);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .lg-main { padding: 52px 0 72px; }
  .lg-hero h1 { font-size: 38px; }
  .lg-doc { padding: 40px 34px; }
}
@media (max-width: 767px) {
  .lg-head__brand span { display: none; }
  .lg-hero h1 { font-size: 32px; }
  .lg-doc { padding: 30px 22px; border-radius: var(--radius); }
  .lg-doc h2 { font-size: 21px; margin-top: 34px; padding-top: 22px; }
  .lg-doc h3 { font-size: 19px; }
  .lg-doc h4 { font-size: 17px; }
  .lg-doc p, .lg-doc li, .lg-doc address { font-size: 17px; }
  .lg-foot__inner { flex-direction: column; align-items: flex-start; }
  .lg-foot__bar-inner { flex-direction: column; align-items: flex-start; padding: 20px; }
}
