/* Datenschutzhinweis — siehe assets/hinweis.js für die Begründung.
   Kontraste geprüft am 09.09.2026 gegen WCAG 2.1 AA. */
.shny-hinweis {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #14141a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  animation: shny-hinweis-auf 0.28s ease both;
}

@keyframes shny-hinweis-auf {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.shny-hinweis__text {
  flex: 1 1 22rem;
  margin: 0;
  color: #e8e8ee;          /* 12.60:1 auf #14141a */
  font-size: 14px;
  line-height: 1.6;
}

.shny-hinweis__link {
  color: #21d9fa;          /* 8.94:1 auf #14141a */
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shny-hinweis__knopf {
  flex: 0 0 auto;
  background: #d11477;     /* weiss darauf: 5.15:1 */
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;        /* Mindest-Zielgröße für Finger, WCAG 2.5.5 */
  transition: background 0.18s ease;
}

.shny-hinweis__knopf:hover { background: #e01a80; }

.shny-hinweis__knopf:focus-visible,
.shny-hinweis__link:focus-visible {
  outline: 2px solid #21d9fa;
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .shny-hinweis { animation: none; }
  .shny-hinweis__knopf { transition: none; }
}

@media (max-width: 30rem) {
  .shny-hinweis { flex-direction: column; align-items: stretch; }
  .shny-hinweis__knopf { width: 100%; }
}
