/* Cookie-Banner & Settings-Modal — passt zur Glas/Gold-Designsprache der Site */

.cookie-banner,
.cookie-modal { font-family: 'Barlow', system-ui, sans-serif; }
.cookie-banner[hidden],
.cookie-modal[hidden] { display: none !important; }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 24px;
  max-width: 560px;
  margin-left: auto;
  z-index: 9998;
}

.cookie-card,
.cookie-modal-card {
  background: rgba(15, 15, 18, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 215, 130, 0.25);
  border-radius: 18px;
  padding: 24px;
  color: #f5f5f5;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.cookie-card h3,
.cookie-modal-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.cookie-card p,
.cookie-cats p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.82);
  margin: 0 0 16px;
}

.cookie-card a { color: #f5c97b; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.cookie-actions .btn-primary,
.cookie-actions .btn-secondary {
  font-size: 13px;
  padding: 10px 18px;
}

.cookie-link {
  background: none;
  border: 0;
  color: rgba(245, 245, 245, 0.75);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px 4px;
}
.cookie-link:hover { color: #f5c97b; }

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.cookie-modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
}

.cookie-cats {
  list-style: none;
  margin: 12px 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-cats li {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}
.cookie-cats label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.cookie-cats label input[type="checkbox"] {
  margin-left: auto;
  width: 38px;
  height: 22px;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-cats label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #f5c97b, #d29a3a);
}
.cookie-cats label input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-cats label input[type="checkbox"]:checked::before { transform: translateX(16px); }
.cookie-cats label input[type="checkbox"]:disabled { opacity: 0.55; cursor: not-allowed; }

.cookie-cats .cookie-cat-state {
  font-weight: 400;
  color: rgba(245, 245, 245, 0.6);
  font-size: 13px;
}
.cookie-cats p { margin: 8px 0 0; font-size: 13px; }

@media (max-width: 600px) {
  .cookie-banner { right: 12px; left: 12px; bottom: 12px; }
  .cookie-card,
  .cookie-modal-card { padding: 18px; border-radius: 14px; }
  .cookie-actions { gap: 8px; }
}
