/*
 * Hinweis zur Webanalyse (services/webanalyse.py), auf der Landingpage und
 * der Anmeldeseite. Eigene Farben statt der Variablen der Seiten, weil er auf
 * zwei verschiedenen Layouts steht. Ablehnen und Erlauben sind absichtlich
 * gleich gestaltet: gleiche Größe, gleiche Farbe, gleiches Gewicht.
 *
 * Lage: unten links in der Ecke, 360 px breit (Jan, 07.11.2026, vorher unten
 * mittig bis 560 px). Auf dem Handy über die volle Breite, sonst würden die
 * Knöpfe zu schmal.
 */
.wa-hinweis {
  position: fixed;
  z-index: 2147483000;
  left: 16px;
  bottom: 16px;
  box-sizing: border-box;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 0;
  padding: 16px 18px 14px;
  background: #fff;
  color: #111b23;
  border: 1px solid rgba(17, 27, 35, .18);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(17, 27, 35, .18), 0 2px 6px rgba(17, 27, 35, .08);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}
.wa-hinweis[hidden] { display: none; }
.wa-hinweis:focus { outline: 3px solid #0f766e; outline-offset: 3px; }
.wa-hinweis p { margin: 0; }
.wa-hinweis .wa-titel { margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.wa-hinweis .wa-text { color: #2f3c47; }
.wa-hinweis .wa-stand { margin-top: 8px; font-weight: 600; }
.wa-hinweis .wa-stand[hidden] { display: none; }
.wa-hinweis .wa-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.wa-hinweis .wa-knopf {
  flex: 1 1 120px;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border: 1.5px solid #0f766e;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.wa-hinweis .wa-knopf:hover { background: #0a5650; border-color: #0a5650; }
.wa-hinweis .wa-knopf:focus-visible { outline: 3px solid #111b23; outline-offset: 2px; }
.wa-hinweis .wa-mehr { margin-top: 10px; font-size: 13px; }
.wa-hinweis a { color: #0a5650; text-decoration: underline; text-underline-offset: 2px; }
.wa-hinweis a:focus-visible { outline: 3px solid #0f766e; outline-offset: 2px; border-radius: 2px; }

/* Der Knopf im Fuß sieht aus wie die Verweise daneben. */
.wa-einstellungen {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.wa-einstellungen:hover { text-decoration: underline; }
.wa-einstellungen:focus-visible { outline: 2px solid #0f766e; outline-offset: 2px; border-radius: 2px; }
[data-wa-sichtbar][hidden] { display: none; }

.wa-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[data-theme="dark"] .wa-hinweis { background: #1d2939; color: #f2f4f7; border-color: rgba(255, 255, 255, .16); }
[data-theme="dark"] .wa-hinweis .wa-text { color: #d0d5dd; }
[data-theme="dark"] .wa-hinweis a { color: #5eead4; }

@media (max-width: 480px) {
  .wa-hinweis { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; padding: 14px; }
}
