/* Hinweis zur Einwilligung — wird von Startseite und Rechtsseiten
   gleichermaßen geladen, damit er überall gleich aussieht.
   Die Farbwerte stehen hier ausgeschrieben, weil die Startseite eigene
   Variablennamen benutzt. */
/* ---------- Einwilligung ----------
   Der Hinweis sitzt unten und verdeckt die Seite nicht vollständig — er
   muss auffallen, aber niemanden aussperren. */
.einwilligung {
  position: fixed;
  /* Rechts unten statt mittig: so bleiben die Fußzeile mit Impressum und
     Datenschutz sowie der Text links sichtbar, während der Hinweis steht. */
  right: 1.4rem; bottom: 1.4rem;
  transform: translateY(1.5rem);
  width: min(25rem, calc(100vw - 2rem));
  flex-direction: column; align-items: stretch;
  z-index: 100;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem;
  justify-content: space-between;
  background: #17191A;
  border: 1px solid rgba(228, 231, 230, 0.18);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.einwilligung.ist-da { opacity: 1; transform: translateY(0); }
.einwilligung.ist-weg { opacity: 0; transform: translateY(1rem); }

.einwilligung-text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(228, 231, 230, 0.62);
}
.einwilligung-text strong { color: #E4E7E6; font-weight: 600; }
.einwilligung-text a {
  color: #E4E7E6;
  text-decoration: none;
  border-bottom: 1px solid #C9A227;
  padding-bottom: 1px;
  white-space: nowrap;
}
.einwilligung-text a:hover { color: #C9A227; }
.einwilligung-knoepfe { display: flex; gap: 0.6rem; justify-content: flex-end; }

.knopf {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.6rem 1.15rem;
  border-radius: 13px;
  border: 1px solid #C9A227;
  background:
    linear-gradient(180deg, rgba(252, 251, 249, 0.24), rgba(252, 251, 249, 0) 58%),
    #C9A227;
  box-shadow: inset 0 1px 0 rgba(252, 251, 249, 0.28);
  color: #1D1C1A;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.knopf:hover { background: #DCB63C; }
.knopf:disabled { opacity: 0.4; cursor: default; }
.knopf-still {
  background: none;
  color: rgba(228, 231, 230, 0.62);
  border-color: rgba(228, 231, 230, 0.28);
}
.knopf-still:hover { background: rgba(228, 231, 230, 0.08); color: #E4E7E6; }

.stand {
  display: inline-block; margin-left: 0.9rem;
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; letter-spacing: 0.08em;
  color: rgba(228, 231, 230, 0.34);
}


@media (max-width: 560px) {
  .einwilligung { bottom: 0.7rem; padding: 1rem; }
  .einwilligung-knoepfe { width: 100%; }
  .einwilligung-knoepfe .knopf { flex: 1; }
}
