
/* ═══════════════════════════════════════════════════════
   Cookie Consent Banner
═══════════════════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0F2342;
  border-top: 3px solid #1D6EE8;
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 32px rgba(0,0,0,.25);
}
#cookie-banner.visible {
  transform: translateY(0);
}
.cookie-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 260px;
}
.cookie-text h3 {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.cookie-text p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}
.cookie-text a {
  color: #60A5FA;
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn-all {
  background: #1D6EE8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.cookie-btn-all:hover { background: #1558C0; }
.cookie-btn-nec {
  background: transparent;
  color: #94A3B8;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}
.cookie-btn-nec:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.cookie-btn-details {
  background: none;
  border: none;
  color: #60A5FA;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: 'Source Sans 3', sans-serif;
}

/* Details-Panel */
#cookie-details {
  display: none;
  width: 100%;
  margin-top: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 18px 20px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: 16px;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-cat-info { flex: 1; }
.cookie-cat-info strong { font-size: 14px; color: #fff; display: block; margin-bottom: 3px; }
.cookie-cat-info span { font-size: 13px; color: #64748B; }
.cookie-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748B;
}
.toggle-always {
  font-size: 12px;
  color: #22C55E;
  font-weight: 700;
  background: rgba(34,197,94,.1);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Einstellungen öffnen (Footer-Link) */
.cookie-settings-link {
  cursor: pointer;
  color: #64748B;
  font-size: 14px;
  transition: color .15s;
}
.cookie-settings-link:hover { color: #CBD5E1; }

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-btns { flex-direction: column; }
  .cookie-btn-all, .cookie-btn-nec { width: 100%; text-align: center; }
}
