/* =========================================
   Banner (Standard: rechts)
========================================= */
#consent-banner {
  position: fixed;
  bottom: 20px;
  right: -380px;
  width: 340px;
  padding: 20px;
  background: #202020bb;
  color: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  font-family: system-ui, sans-serif;
  z-index: 999999;
  transition: right 0.4s ease, left 0.4s ease;
  font-size: 13px;
}

/* Banner sichtbar */
#consent-banner.show {
  right: 20px;
}

/* Banner wieder ausblenden */
#consent-banner.hide {
  right: -380px;
}

/* =========================================
   Banner: Links-Variante
========================================= */
#consent-banner.position-left {
  left: -380px;
  right: auto;
}

#consent-banner.position-left.show {
  left: 20px;
}

#consent-banner.position-left.hide {
  left: -380px;
}

/* =========================================
   Banner Inhalte
========================================= */
#consent-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #f5f5f5;
}

#consent-content p {
  margin: 0 0 10px;
  line-height: 1.4;
}

/* Kategorien */
#consent-categories {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#consent-categories .consent-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
}

#consent-categories .consent-item input {
  margin-top: 3px;
}

.consent-title {
  font-weight: 600;
  display: block;
}

.consent-desc {
  opacity: 0.8;
}

/* =========================================
   Buttons
========================================= */
#consent-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

#consent-actions button {
  border: none;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

#consent-actions .primary {
  background: #0a84ff;
  color: #fff;
}

#consent-actions .primary:hover {
  background: #006fe0;
}

#consent-actions .secondary {
  background: #333;
  color: #f5f5f5;
}

#consent-actions .secondary:hover {
  background: #444;
}

#consent-actions .ghost {
  background: transparent;
  color: #ddd;
  border: 1px solid #444;
}

#consent-actions .ghost:hover {
  border-color: #666;
}

/* =========================================
   Reiter (Tab) Standard: rechts
========================================= */
#consent-tab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: #00000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999998;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#consent-tab img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

#consent-tab.show {
  opacity: 0.6;
  transform: scale(0.5);
}

#consent-tab.hidden {
  opacity: 0;
  pointer-events: none;
}

#consent-tab:hover {
  opacity: 1;
  transform: scale(1.5);
}

/* =========================================
   Reiter: Links-Variante
========================================= */
#consent-tab.position-left {
  left: 20px;
  right: auto;
}
