/* cookie-banner.css - Dunkles Design mit weißem Text + Hover-Effekten */
.cb-container {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1e1893; /* Hintergrundfarbe */
  box-shadow: 0 -6px 24px rgba(0,0,0,0.3);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  z-index: 10000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #ffffff;
}

.cb-logo {
  width: 189px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.cb-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 220px;
}

.cb-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.cb-text {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.25;
}

.cb-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.cb-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s, color 0.25s;
}

/* Primärer Button */
.cb-btn-primary {
  background: #ffffff;
  color: #1e1893;
}
.cb-btn-primary:hover {
  background: #4da6ff; /* Hellblau beim Hover */
  color: #ffffff;
}

/* Sekundärer Button */
.cb-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.cb-btn-secondary:hover {
  background: rgba(77,166,255,0.2); /* halbtransparentes Hellblau */
  border-color: #4da6ff;
  color: #4da6ff;
}

/* Datenschutzerklärung / Einstellungen-Link */
.cb-settings {
  background: transparent;
  border: none;
  color: #ffffff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.25s;
}
.cb-settings:hover {
  color: #4da6ff; /* Hellblauer Hover-Effekt */
}

.cb-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #1e1893;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  border-radius: 10px;
  z-index: 10001;
  max-width: 820px;
  width: calc(100% - 40px);
  max-height: 85vh;
  overflow: auto;
  padding: 18px;
  display: none;
  color: #ffffff;
}

.cb-modal.open { display: block; }

.cb-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.cb-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
}

/* Kleine Bildschirme */
@media (max-width:700px) {
  .cb-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .cb-logo { width: 56px; height: 36px; }
  .cb-actions { justify-content: space-between; }
}