/* Rechtstextseiten. Genutzt nur noch vom Impressum - die Datenschutzseite
   ist am 07.09.2026 auf Anweisung des Nutzers entfernt worden. Die Regeln
   bleiben stehen, damit die Seite ohne Aufwand zurueckkehren kann.

   Eine Rechtstextseite wird nicht gelesen, sondern durchsucht: jemand sucht
   die Firmenbuchnummer, die Adresse oder einen bestimmten Absatz. Deshalb
   zweispaltig — links ein Sprungregister, das beim Scrollen stehen bleibt,
   rechts der Text in einer schmalen Spalte (66 Zeichen).

   Die Angaben stehen als Definitionsliste in zwei Spalten: Begriff links in
   Mono und zurückgenommen — dieselbe Behandlung wie die Panel-Überschriften
   auf den Expertise-Seiten —, Wert rechts. Kein Sand: die Seite hat keine
   Hauptaktion, und Sand ist Knopf und Statement vorbehalten.

   Offene Angaben werden gestrichelt gezeichnet (`.is-open`), nicht gefüllt —
   dieselbe Regel wie bei den Projektkennzahlen auf der Detailseite. */

.lgl { padding-block: clamp(50px, 5vw, 84px); }
.lgl__in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: start; }

/* ---------- Sprungregister --------------------------------------------- */

.lgl__side { position: sticky; top: 96px; }
.lgl__nav-k {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(11, 28, 48, .62);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-hard);
}
.lgl__nav { display: flex; flex-direction: column; }
.lgl__nav a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--muted);
  transition: color .18s;
}
.lgl__nav a:hover { color: var(--ink); }

/* ---------- Textspalte -------------------------------------------------- */

.lgl__body { max-width: 66ch; }
.lgl__body h2 {
  margin-top: 52px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-hard);
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: -.015em;
}
.lgl__body h2:first-child { margin-top: 0; }
.lgl__body p { margin-top: 16px; font-size: var(--t-small); line-height: 1.7; color: var(--ink); }
.lgl__body a { border-bottom: 1px solid var(--line-hard); }
.lgl__body a:hover { border-bottom-color: var(--ink); }

/* ---------- Angaben als Definitionsliste -------------------------------- */

.lgl__dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); margin-top: 22px; }
.lgl__dl dt {
  padding: 13px 20px 13px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11, 28, 48, .62);
  line-height: 1.6;
}
.lgl__dl dd {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: var(--t-small);
  line-height: 1.6;
}
.lgl__dl dt:first-of-type, .lgl__dl dt:first-of-type + dd { border-top: 0; }

/* Offener Wert: sichtbar offen statt stillschweigend gefüllt. */
.lgl__dl dd.is-open { color: rgba(11, 28, 48, .42); }
.lgl__dl dd.is-open span { border-bottom: 1px dashed rgba(11, 28, 48, .3); padding-bottom: 2px; }

/* ---------- Hinweise an den Auftraggeber -------------------------------- */
/* Bleiben im Entwurf sichtbar und verschwinden mit der Freigabe. */

.lgl__hint { margin-top: 14px; font-size: 13px; color: var(--muted); font-style: italic; }
.lgl__flag {
  margin-top: 14px;
  padding: 9px 13px;
  background: var(--band);
  border-left: 2px solid var(--line-hard);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}
.lgl__open-block { padding: 16px 18px; background: var(--band); }
.lgl__open-k {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(11, 28, 48, .5);
}

@media (max-width: 900px) {
  .lgl__in { grid-template-columns: 1fr; gap: 34px; }
  .lgl__side { position: static; }
  .lgl__dl { grid-template-columns: 1fr; }
  .lgl__dl dd { padding-top: 0; border-top: 0; }
  .lgl__dl dt { padding-bottom: 5px; }
  .lgl__dl dt:first-of-type + dd { border-top: 0; }
}
