/* Cookie Banner (DSGVO) */
.cookie[hidden] { display: none !important; }

.cookie{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
}
.cookie.show{ display:block; }

.cookie .box{
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 90px rgba(0,0,0,0.65);
  padding: 16px 16px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie .txt{
  min-width: 260px;
  flex: 1 1 520px;
}
.cookie .txt b{ color: rgba(255,255,255,0.95); letter-spacing:1px; text-transform:uppercase; font-size:12px; }
.cookie .txt p{ margin-top:8px; color: rgba(255,255,255,0.78); font-size:13px; }
.cookie .txt a{ color: var(--accent, #00f5ff); text-decoration: underline; text-underline-offset: 3px; }

.cookie .actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  justify-content:flex-end;
  align-items:center;
  flex: 0 1 auto;
}

.cookie .btn{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 900;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cookie .btn:hover{ transform: translateY(-1px); border-color: rgba(0,245,255,0.55); background: rgba(0,245,255,0.10); }
.cookie .btn.primary{
  border-color: rgba(0,245,255,0.75);
  background: linear-gradient(90deg,#00f5ff,#6fefff);
  color:#000;
}

.cookie .prefs{
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: none;
}
.cookie .prefs.show{ display:block; }
.cookie .prefs[hidden] { display:none !important; }

.cookie .row{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  padding: 10px 0;
}
.cookie .toggle{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,0.80);
  font-size: 13px;
}

.cookie input[type="checkbox"]{
  width: 44px;
  height: 26px;
  appearance: none;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.cookie input[type="checkbox"]::after{
  content:"";
  position:absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  transition: transform .18s ease;
}
.cookie input[type="checkbox"]:checked{
  background: rgba(0,245,255,0.20);
  border-color: rgba(0,245,255,0.55);
}
.cookie input[type="checkbox"]:checked::after{
  transform: translateX(18px);
  background: rgba(0,245,255,0.95);
}
.cookie input[type="checkbox"][disabled]{
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 520px){
  .cookie{ left: 10px; right: 10px; bottom: 10px; }
}

