/* ============================================================
   WD COOPERATION — Einwilligungsbanner für die Web-Analyse
   Eigene Datei, weil hero-concept.html seine gesamte Gestaltung
   inline trägt und keine brand.css einbindet. Alle Klassen mit
   Präfix wdc- , damit nichts mit bestehenden Regeln kollidiert.
   ============================================================ */

.wdc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  color: #1A1A1A;
  border: 1px solid rgba(135, 31, 130, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(26, 10, 26, 0.18);
  padding: 22px 24px;
  font-family: Inter, "Inter Fallback", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

/* Erst sichtbar, wenn das Skript ihn freigibt — sonst blitzt er
   bei Besuchern auf, die längst entschieden haben. */
.wdc-banner[hidden] { display: none; }

.wdc-banner__titel {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.wdc-banner__text {
  margin: 0 0 18px;
  color: #4A4A4A;
}

.wdc-banner__text a {
  color: #871F82;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wdc-banner__knoepfe {
  display: flex;
  gap: 10px;
}

/* Beide Knöpfe gleich groß und gleich auffällig. Eine optisch
   schwächere Ablehnung wäre ein Dark Pattern und macht die
   Einwilligung angreifbar. */
.wdc-knopf {
  flex: 1 1 0;
  min-width: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.wdc-knopf--ja {
  background: linear-gradient(135deg, #871F82 0%, #E01860 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 24, 96, 0.28);
}

.wdc-knopf--nein {
  background: #fff;
  color: #871F82;
  border: 1.5px solid rgba(135, 31, 130, 0.35);
}

.wdc-knopf:hover { transform: translateY(-1px); }
.wdc-knopf--nein:hover { background: #F8F0F8; }

.wdc-knopf:focus-visible {
  outline: 2px solid #E01860;
  outline-offset: 2px;
}

/* Widerrufs-Link in der Fußzeile */
.wdc-fuss-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.wdc-fuss-link:hover { text-decoration: underline; }

/* Kurze Rückmeldung nach dem Widerruf */
.wdc-hinweis {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 9999;
  background: #1A1A1A;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: Inter, "Inter Fallback", "Helvetica Neue", Arial, sans-serif;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
  .wdc-banner { padding: 18px 18px; border-radius: 16px; }
  .wdc-banner__knoepfe { flex-direction: column; }
}

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