/* =============================================================================
   legal.css — Styling der statischen Rechtsseiten (Impressum, Datenschutz,
   Widerruf). Alles hier sind PLATZHALTER-Seiten der geschlossenen Beta.
   Nutzt die gemeinsamen Tokens aus tokens.css und die Shell aus shell.css.
   ========================================================================== */

.h-md { font-size: 20px; line-height: 24px; font-weight: 600;
        letter-spacing: var(--track); margin: 0; }

.legalback {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  color: var(--content-base-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.legalback:hover { background: rgba(255, 255, 255, 0.9); }

.legalpage {
  max-width: 720px;
  margin: var(--sp-6) auto 0;
  padding: var(--sp-8);
  color: var(--content-base-primary);
  font-family: var(--font);
  line-height: 1.6;
}
.legalpage h2 { margin-top: var(--sp-6); }
.legalpage p  { margin: var(--sp-2) 0; color: var(--content-base-secondary); }
.legalpage a  { color: var(--content-action-primary); }

/* Deutlich als Dummy markieren. */
.legalpage__flag {
  margin: 0 0 var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-card);
  background: rgba(184, 118, 20, 0.12);
  border: 1px dashed var(--c-yellow-700);
  color: var(--c-yellow-700) !important;
  font-size: 14px;
  font-weight: 500;
}
.legalpage__note {
  margin-top: var(--sp-6) !important;
  font-size: 13px;
  color: var(--content-base-tertiary) !important;
}

/* Fußzeile mit den Rechtslinks (nutzt .stagefoot aus shell.css als Basis). */
.legalfoot { display: flex; gap: var(--sp-4); justify-content: center; }
.legalfoot a {
  color: var(--content-base-tertiary);
  text-decoration: none;
}
.legalfoot a:hover { color: var(--content-base-secondary); text-decoration: underline; }

/* Auf der Chat-Bühne (index.html) liegt die Eingabeleiste fixiert am unteren
   Rand — die Fußzeile bekommt Abstand, damit die Links darüber erreichbar
   bleiben, und einen leichten Grund, damit sie über dem Hintergrund lesbar ist. */
.legalfoot--stage {
  position: relative;
  z-index: 60;
  margin-top: var(--sp-10);
  padding-bottom: 88px;
}
