/* OMS-Startseite. Farben nach 00 Kontext/Branding.md, an einer Stelle tauschbar.
   Schrift: Systemschrift (Arial-Familie), keine Webfonts von aussen. */
:root {
  --lila: #8764B8;          /* Flaechen */
  --lila-dunkel: #6B4A9E;   /* Text, Links, Fokus (6,78:1 auf Weiss) */
  --orange: #EF8F18;        /* nur Flaeche: Trennlinie Fusszeile */
  --text: #222;
  --grau: #555;
  --weiss: #fff;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--weiss);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar wie bei den Dashboards: lila Flaeche, weisse Logo-Fassung */
.topbar {
  background: var(--lila);
  color: var(--weiss);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  height: 64px;
}
.topbar img { height: 36px; width: auto; display: block; }

/* Der Schalter erscheint erst, wenn sprache.js laeuft - ohne Skript
   bliebe er ein Knopf ohne Wirkung. */
.sprache { margin-left: auto; display: inline-flex; visibility: hidden;
           border: 1px solid rgba(255,255,255,.45); border-radius: 5px; overflow: hidden; }
.js .sprache { visibility: visible; }
.sprache button { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .3px;
  padding: 5px 10px; border: 0; background: transparent; color: var(--weiss); cursor: pointer; }
.sprache button + button { border-left: 1px solid rgba(255,255,255,.45); }
.sprache button[aria-pressed="true"] { background: var(--weiss); color: var(--lila-dunkel); }
.sprache button:focus-visible { outline: 2px solid var(--weiss); outline-offset: 2px; }

.inhalt {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px;
}
.inhalt h1 {
  color: var(--lila-dunkel);
  font-size: 28px;
  margin: 0 0 18px;
}
.inhalt p { margin: 0 0 12px; }

a { color: var(--lila-dunkel); }
a:focus-visible { outline: 2px solid var(--lila-dunkel); outline-offset: 2px; }

.fuss {
  border-top: 3px solid var(--orange);
  padding: 14px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--grau);
}
.rechtliches a { margin-left: 18px; }
.rechtliches a:first-child { margin-left: 0; }

@media (max-width: 480px) {
  .topbar { padding: 0 14px; }
  .topbar img { height: 28px; }
  .inhalt { padding: 36px 16px; }
  .inhalt h1 { font-size: 24px; }
}
