/* Impressum und Datenschutz: breitere Karte für lange Texte (ergänzt /waitlist/page.css). */
body { place-items: start center; }

.card.legal { max-width: 760px; margin: 24px 0; }

.legal h1 { font-size: 30px; }
.legal h2 {
  font-family: "Chillax", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  margin: 8px 0 20px;
}
.legal h3 { font-size: 18px; line-height: 1.3; margin: 32px 0 10px; color: #e9e9e9; }
.legal p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.legal-text + .legal-text { margin-top: 56px; padding-top: 40px; border-top: 1px solid #3a3a3a; }

.lang-switch { display: flex; gap: 8px; margin: 0 0 32px; }
.lang-switch a {
  color: #e9e9e9;
  text-decoration: none;
  border: 1px solid #4a4a4a;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
}
.lang-switch a:hover { border-color: #85ca98; color: #85ca98; }

/* Wird eine Sprache gewählt (#de oder #en), nur diese zeigen. Ohne Auswahl stehen beide untereinander. */
.legal:has(#de:target) #en,
.legal:has(#en:target) #de { display: none; }
.legal:has(#de:target) #de,
.legal:has(#en:target) #en { margin-top: 0; padding-top: 0; border-top: 0; }

.legal .back { display: inline-block; margin-top: 24px; }

@media (max-width: 520px) { .card.legal { padding: 32px 20px 24px; } }
