/* ==========================================================================
   LIGABO – Rechtliche Seiten (Impressum / Legal notice, Datenschutz / Privacy)
   Wird nach styles.css geladen.
   ========================================================================== */

/* Fußzeile bei kurzem Inhalt am unteren Rand halten */
.legal-page {
  display: flex;
  flex-direction: column;
}

.legal {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 88px 24px 104px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.legal--privacy { max-width: 820px; gap: 40px; }

.legal__head { display: flex; flex-direction: column; gap: 18px; }
.legal__title {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* Unterstrichene Links (Telefon, E-Mail) */
.legal-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}

/* Platzhalter für noch fehlende Angaben */
.placeholder {
  display: inline-block;
  padding: 2px 10px;
  border: 1px dashed var(--orange);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Impressum: Angaben als Label links / Inhalt rechts
   -------------------------------------------------------------------------- */
.legal-dl {
  margin: 0;
  border-top: 2px solid var(--navy);
}
.legal-dl__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 6px 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.legal-dl__term { font-size: 15px; font-weight: 700; }
.legal-dl__desc {
  margin: 0;
  grid-column: span 2;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.legal-note {
  margin: 0;
  padding: 22px 24px;
  background: var(--soft);
  border-top: 3px solid var(--orange);
  border-radius: 0 0 6px 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Datenschutz: nummerierte Abschnitte
   -------------------------------------------------------------------------- */
.legal-sections {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--navy);
}
.legal-sec {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.legal-sec__title {
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
}
.legal-sec__num {
  flex: none;
  min-width: 28px;
  font-size: 15px;
  color: var(--orange);
}
.legal-sec__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 42px;
}

.legal-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  text-wrap: pretty;
}
.legal-text--block { text-wrap: wrap; }          /* Adressblöcke */
.legal-text--navy { color: var(--navy); text-wrap: wrap; }
.legal-text--em { color: var(--navy); font-weight: 600; text-wrap: wrap; }
.legal-text strong { color: var(--navy); }

.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}
.legal-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  background: var(--orange);
}
