/* Cookie-Consent-Banner mit echter Opt-in-Wahl (Alle akzeptieren / Nur notwendige).
   Ersetzt den reinen Hinweis-Banner des Plugins alpenpeptides-cookie-consent, das nur
   "Verstanden" ohne Kategorien-Auswahl anbot – seit GA4/Meta Pixel dazugekommen sind,
   braucht es eine echte, gleichwertige Entscheidung (DSGVO). */
.ap-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  background: #1F3A5F;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.ap-consent-banner__text {
  margin: 0;
  max-width: 640px;
}

.ap-consent-banner__text a {
  color: #ffffff;
  text-decoration: underline;
}

.ap-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Beide Buttons gleich prominent – keine "Alle akzeptieren" im Kontrastdesign gegen
   einen unauffälligen Link für "Ablehnen", das wäre kein gültiges Opt-in. */
.ap-consent-banner__btn {
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #ffffff;
}

.ap-consent-banner__btn--all {
  background: #ffffff;
  color: #1F3A5F;
}

.ap-consent-banner__btn--all:hover {
  background: #f0f0f0;
}

.ap-consent-banner__btn--necessary {
  background: transparent;
  color: #ffffff;
}

.ap-consent-banner__btn--necessary:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .ap-consent-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .ap-consent-banner__actions {
    flex-direction: column;
  }
}
