body.no-scroll { overflow: hidden; }


#cookie-banner[hidden] { display: none !important; }

#cookie-banner {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 11000;

  box-sizing: border-box;
  text-align: center;

  padding: 16px;
  color: rgb(0,84,134);
  border-top: 1px solid rgb(204,204,204);
  font-size: 14px;
}


/* Hellmodus – Container */
/* Hellmodus – Container (Glass) */
@media (prefers-color-scheme: light) {
  #cookie-banner {
    background: rgba(240, 240, 240, 0.55);     /* 👈 Transparenz */
    color: rgb(0, 0, 0);
    backdrop-filter: blur(40px);               /* 👈 Glass-Effekt */
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(0, 84, 134, 0.25);  /* optional weich */
  }
}

/* Dunkelmodus – Container (Glass) */
@media (prefers-color-scheme: dark) {
  #cookie-banner {
    background: rgba(60, 60, 60, 0.55);        /* 👈 Transparenz */
    color: rgb(242, 242, 242);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(242, 242, 242, 0.18);
  }
}

#cookie-banner::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: 15px; /* gleich wie Container */

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.06) 40%,
    rgba(0,0,0,0.00) 100%
  );
}

@media (prefers-color-scheme: dark){
  #cookie-banner::after{
    background: linear-gradient(
      to top,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.06) 40%,
    rgba(0,0,0,0.00) 100%
    );
  }
}

#cookie-banner #cookie-reject {
  background: rgb(204,27,83);
  border-color: rgb(204,27,83);
  color: rgb(255,255,255);
}

#cookie-banner img {
  height: 50px;
  width: auto;
  display: inline-block;
  margin-bottom: 12px;
}

#cookie-banner p {
  margin: 0px;
  padding: 0px 10px;
  line-height: 20px;
  font-size: 14px;
  color: inherit;
}


#cookie-banner .button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

#cookie-banner button {
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid rgb(170,170,170);
  border-radius: 4px;
  color: rgb(255,255,255);
  background: rgb(0,84,134);
}

#cookie-banner button[data-variant="reject"] {
  background: rgb(204,27,83);
  border-color: rgb(204,27,83);
}

#cookie-banner .links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

#cookie-banner .links a {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit;
  text-decoration: underline;
  font-size: 14px;
}

@media (max-width: 480px) {
  #cookie-banner { padding: 12px; }
  #cookie-banner .links { gap: 10px; }
}
