/* Einwilligungs-Hinweis fuer Microsoft Clarity — gehoert zu einwilligung.js.
   Eigene, neutrale Farben, weil Startseite und NFC-Seite verschiedene
   Gestaltungen haben. Beide Knoepfe gleich gross und gleich gewichtet:
   „Ablehnen" darf nicht schwerer zu finden sein als „Akzeptieren". */

.einwilligung {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 22px;
  background: #ffffff;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-size: 15px;
  line-height: 1.55;
}

.einwilligung-titel {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
}

.einwilligung-text {
  margin: 0 0 16px;
  color: #3a3a3c;
}

.einwilligung-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.einwilligung-knoepfe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.einwilligung-knopf {
  min-height: 46px;
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
  color: #1d1d1f;
  background: #ffffff;
  border: 2px solid #1d1d1f;
  border-radius: 10px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.einwilligung-knopf:hover {
  background: #1d1d1f;
  color: #ffffff;
}

.einwilligung-knopf:focus-visible {
  outline: 3px solid #04a9d4;
  outline-offset: 2px;
}

/* Der Fussbereich-Knopf zum Widerrufen sieht aus wie die Links daneben. */
.einwilligung-oeffnen {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: inherit;
}

@media (max-width: 420px) {
  .einwilligung-knoepfe {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .einwilligung-knopf {
    transition: none;
  }
}
