/* ════════════════════════════════════════════════
   Juqed Consent Banner
   Feste Farben aus dem juqed.com-Designsystem.
   Immer klar lesbar – egal was im Hintergrund liegt.
   ════════════════════════════════════════════════ */

#juqed-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 26px;
  border-radius: 16px;
  background: #f5f5f3;                       /* Hauptseiten-BG, voll deckend */
  border: 1px solid rgba(10, 10, 10, 0.16);
  box-shadow:
    0 24px 60px -16px rgba(0, 0, 0, 0.28),
    0 8px 20px -8px rgba(0, 0, 0, 0.12);
  color: #0a0a0a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

#juqed-consent.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#juqed-consent .jc-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
}

#juqed-consent .jc-title em {
  font-style: normal;
  color: #16a34a;
}

#juqed-consent p {
  margin: 0 0 16px;
  color: #1a1a1a;
}

#juqed-consent strong {
  color: #0a0a0a;
}

#juqed-consent a {
  color: #16a34a;
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 163, 74, .4);
  transition: border-color .15s, color .15s;
}

#juqed-consent a:hover {
  color: #0a0a0a;
  border-bottom-color: #0a0a0a;
}

#juqed-consent .jc-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* "Einverstanden": kräftiges dunkles Grün, weiße fette Schrift */
#juqed-consent .jc-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 14px;
  background: #16a34a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #16a34a;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(22, 163, 74, .3);
}

#juqed-consent .jc-accept:hover {
  background: #15803d;
  border-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, .4);
}

/* "Nicht einverstanden": weiß mit dezentem Rahmen */
#juqed-consent .jc-decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.18);
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s, color .2s, transform .2s;
}

#juqed-consent .jc-decline:hover {
  border-color: #0a0a0a;
  color: #0a0a0a;
  transform: translateY(-2px);
}

#juqed-consent .jc-version {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  color: #6b6b68;
}

/* Mobile: Buttons untereinander, volle Breite */
@media (max-width: 600px) {
  #juqed-consent {
    padding: 20px 20px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  #juqed-consent .jc-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  #juqed-consent .jc-accept,
  #juqed-consent .jc-decline {
    width: 100%;
  }
}
