/* ══════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--gray-800);
  border-top: 1px solid rgba(124,58,237,0.3);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-text { flex: 1; }
.cookie-text h3 {
  font-size: 0.95rem; font-weight: 800;
  margin-bottom: 0.4rem; text-transform: uppercase;
}
.cookie-text p {
  font-size: 0.82rem; color: var(--gray-400);
  line-height: 1.6; max-width: 680px;
}
.cookie-text a { color: var(--purple-light); }

.cookie-toggles {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin: 0.75rem 0;
}
.cookie-toggle-row {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: var(--gray-300);
}
.cookie-toggle-row input[type=checkbox] {
  width: 15px; height: 15px;
  accent-color: var(--purple); cursor: pointer;
}
.cookie-toggle-row input[type=checkbox]:disabled {
  opacity: 0.5; cursor: not-allowed;
}

.cookie-btns {
  display: flex; flex-direction: column; gap: 0.6rem;
  flex-shrink: 0; min-width: 180px;
}
.cookie-btn-accept {
  background: var(--purple); color: var(--white);
  border: none; border-radius: 7px;
  padding: 0.7rem 1.2rem; font-size: 0.88rem;
  font-weight: 700; cursor: pointer; font-family: 'Inter',sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.cookie-btn-accept:hover { background: var(--purple-light); }
.cookie-btn-save {
  background: transparent; color: var(--gray-300);
  border: 1.5px solid var(--gray-600); border-radius: 7px;
  padding: 0.65rem 1.2rem; font-size: 0.88rem;
  font-weight: 600; cursor: pointer; font-family: 'Inter',sans-serif;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.cookie-btn-save:hover { border-color: var(--purple-light); color: var(--white); }
.cookie-btn-reject {
  background: transparent; color: var(--gray-500);
  border: none; font-size: 0.78rem; cursor: pointer;
  font-family: 'Inter',sans-serif; text-align: center;
  text-decoration: underline; padding: 0.3rem;
}
.cookie-btn-reject:hover { color: var(--gray-300); }

/* ── Cookie-Einstellungen öffnen ── */
#cookie-settings-btn {
  position: fixed; bottom: 1rem; left: 1rem; z-index: 9990;
  background: var(--gray-700); border: 1px solid var(--gray-600);
  color: var(--gray-400); font-size: 0.75rem; font-family: 'Inter',sans-serif;
  padding: 0.45rem 0.85rem; border-radius: 20px; cursor: pointer;
  transition: all 0.2s; display: none;
}
#cookie-settings-btn:hover { border-color: var(--purple); color: var(--white); }

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column; gap: 1rem; padding: 1.25rem;
  }
  .cookie-btns { flex-direction: row; flex-wrap: wrap; min-width: unset; }
  .cookie-btn-accept, .cookie-btn-save { flex: 1; }
}
