/* ═══════════════════════════════════════════════════════
   COOKIE-BANNER - DSGVO/TDDDG-konform (SlideOcean Palette)
   Wichtig: Ablehnen und Akzeptieren visuell gleichwertig.
   ═══════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: #f4f5fa;
  border: 1px solid #d8dae8;
  border-radius: 16px;
  box-shadow: 0 24px 60px -10px rgba(32, 31, 43, 0.35);
  z-index: 1000;
  padding: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
    border-radius: 12px;
  }
}

.cookie-banner__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 500;
  color: #201F2B;
  margin-bottom: 12px;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.55;
  color: #4a4660;
  margin-bottom: 20px;
}

.cookie-banner__categories {
  margin: 20px 0;
  padding: 16px;
  background: #ebecf3;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #7272C5;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-option input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.cookie-option__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.cookie-option__label strong {
  color: #201F2B;
  font-weight: 600;
}

.cookie-option__label small {
  color: #4a4660;
  font-size: 12px;
  line-height: 1.45;
}

/* ═══ WICHTIG: Buttons gleichwertig ═══ */
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cookie-btn {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #201F2B;
  font-family: inherit;
  transition: all 0.15s;
  text-align: center;
  min-height: 44px;
}

.cookie-btn--secondary {
  background: transparent;
  color: #201F2B;
}

.cookie-btn--secondary:hover {
  background: #201F2B;
  color: #f4f5fa;
}

.cookie-btn--primary {
  background: #201F2B;
  color: #f4f5fa;
  border-color: #201F2B;
}

.cookie-btn--primary:hover {
  background: #7272C5;
  border-color: #7272C5;
  color: #fff;
}

.cookie-banner__links {
  font-size: 12px;
  color: #4a4660;
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid #d8dae8;
}

.cookie-banner__links a {
  color: #4a4660;
  text-decoration: underline;
  margin: 0 8px;
}

.cookie-banner__links a:hover { color: #7272C5; }

.cookie-banner.is-visible {
  display: block !important;
}
.cookie-banner[hidden] {
  display: none;
}
