/* ===========================================
   Cookie-Consent-Banner – Styling
   Passe Farben/Schriftarten gerne an dein Design an
   =========================================== */

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #3c3c3b;
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: none; /* wird per JS eingeblendet, wenn keine Entscheidung vorliegt */
}

#cookie-consent-banner.visible {
  display: block;
}

.cookie-consent-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-consent-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.cookie-consent-text a {
	text-decoration: none;
	color: inherit;
}

.cookie-consent-text a:hover,
.cookie-consent-text a.active {
	color: var(--color-green);
}

.cookie-consent-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
}

.cookie-consent-category {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-consent-category input[type="checkbox"] {
  accent-color: #4E9733; /* hier deine Wunschfarbe eintragen */
}

.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent-buttons button {
  cursor: pointer;
  border: none;
  padding: 8px 6px;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.cookie-consent-buttons button:hover {
    transform: scale(1.05);
}

#cookie-consent-accept-all {
  background: #4E9733;
  color: #ffffff;
}

#cookie-consent-accept-selected {
  background: #808080;
  color: #ffffff;
}

#cookie-consent-reject-all {
 	background: #d9d9d9;
    color: #4a4a4a;
}

/* Platzhalter für blockierte Inhalte (z.B. YouTube-Video vor Zustimmung) */
.cookie-blocked-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ededed;
  border: 1px dashed #373736;
  padding: 30px 15px;
  min-height: 200px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1d1d1d;
}

.cookie-blocked-placeholder button {
  margin-top: 10px;
  cursor: pointer;
  background: #4E9733;
  color: #fff;
  border: none;
  padding: 8px 6px;
  font-size: 14px;
	transition: transform 0.2s ease;
}

.cookie-blocked-placeholder button:hover {
	transform: scale(1.05);
}

/* Kleiner Link, um die Einstellungen später wieder zu öffnen (z.B. im Footer) */
#cookie-consent-settings-link {
  cursor: pointer;
  text-decoration: underline;
}
