/* =====================================================================
   Kleine feste Leiste "Imprint / Privacy" unten links auf jeder Seite.
   Unten links ist auf allen Seiten frei (rechts unten: FAQ-Knopf und Chat, oben links: Social-Icons).
   ===================================================================== */
.legal-links {
  position: fixed;
  left: 12px;
  bottom: 10px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 3px 9px;
  font: 14px/1.3 "Courier New", Courier, monospace;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(var(--term-rgb, 120, 205, 110), 0.35);
  border-radius: 3px;
}
.legal-links a,
.legal-links a:visited { color: var(--term-color, rgb(120, 205, 110)); text-decoration: none; }
.legal-links a:hover,
.legal-links a:focus-visible { color: var(--term-hi, rgb(190, 235, 180)); text-decoration: underline; }
.legal-links a:focus-visible { outline: 1px dashed currentColor; outline-offset: 2px; }
.legal-links span { opacity: 0.5; }
/* Schmale Bildschirme (Handy, Tablet hochkant): Auf den Seiten liegen unten die Knoepfe fuer Chat und FAQ.
   Darum steht die Leiste dort NICHT fest im Bild, sondern am Ende der Seite im normalen Fluss. */
@media (max-width: 900px) {
  .legal-links { position: static; width: fit-content; margin: 14px 8px 16px; font-size: 13px; }
}
@media (max-width: 480px) { .legal-links { gap: 0.35rem; padding: 2px 7px; font-size: 12px; } }

/* Whispernet-Seite: eigenes Layout mit Seitenmenue bis nach unten -> Leiste oben rechts in der Kopfleiste (alle Groessen) */
.legal-links--bar { position: fixed; top: 16px; right: 16px; left: auto; bottom: auto; width: auto; margin: 0; }
/* auf schmalen Bildschirmen sitzt dort das Burger-Menue oben rechts -> dann fest unten links */
@media (max-width: 900px) { .legal-links--bar { top: auto; right: auto; left: 8px; bottom: 8px; } }

/* Alte Seiten (home.php, index.php): fest oben rechts, auf allen Groessen */
.legal-links--top { position: fixed; top: 10px; right: 10px; left: auto; bottom: auto; width: auto; margin: 0; }
@media print { .legal-links { display: none; } }
