/* Legal pages (Impressum, Privacy notice).
   Header, footer, background and fonts come from /assets/belt.css, the same
   file the main site uses, so the banners look and behave identically.
   This file only styles the text column and the EN / DE switch. */
/* Header and footer stay pinned while the text scrolls between them
   (their frosted background comes from belt.css). */
html, body { height: auto; }
.site-header { position: sticky; top: 0; z-index: 3; }
.site-footer { position: sticky; bottom: 0; z-index: 3; }
.page-main { flex: 1; padding: 2rem 1rem 3rem; }
.wrap { width: 100%; max-width: 40em; margin: 0 auto; line-height: 1.6; font-size: calc(1rem / var(--s, 1)); }
.wrap h1 { font-size: 1.5em; font-weight: 700; color: #fff; margin: 0 0 0.5rem; }
.sub { color: #64748b; font-size: 0.875em; margin: 0 0 2rem; }
.wrap h2 {
  font-size: 0.875em;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.9rem 0 0.5rem;
}
.wrap p, .wrap li { color: #cbd5e1; font-size: 0.9em; }
.wrap p { margin: 0 0 0.75rem; }
.wrap ul { margin: 0 0 0.75rem; padding-left: 1.2rem; }
.wrap li + li { margin-top: 0.2rem; }
.wrap strong { color: #e2e8f0; }
.wrap a { color: #38bdf8; text-decoration: none; overflow-wrap: anywhere; }
.wrap a:hover { text-decoration: underline; }
.note { color: #64748b !important; font-size: 0.8em !important; margin-top: 2rem !important; }

/* EN / DE switch (shown only when JavaScript runs; without it both
   languages are simply shown one after the other) */
.lang-switch {
  display: none;
  float: right;
  margin: 0.1rem 0 1rem 1rem;
  padding: 2px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 0.35rem;
  background: rgba(15, 23, 42, 0.72);
}
.js .lang-switch { display: inline-flex; }
.lang-switch button {
  appearance: none;
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-switch button:hover { color: #e2e8f0; }
.lang-switch button[aria-pressed="true"] { background: #38bdf8; color: #020617; }
.lang-switch button:focus-visible { outline: 2px solid #38bdf8; outline-offset: 3px; border-radius: 2px; }
[data-lang] + [data-lang] { margin-top: 3rem; }
.js [data-lang] + [data-lang] { margin-top: 0; }
