#CO--cookie-policy {
  z-index: 200;
  position: fixed;
  bottom: 0;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.19) 0px -10px 20px,
    rgba(0, 0, 0, 0.23) 0px -6px 6px;
  background-color: #ffffff;
}

#CO--cookie-policy p {
  vertical-align: baseline;
  text-align: center;
  display: block;
  margin: auto 0;
  padding: 20px;
  color: black;
  text-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
}

#CO--cookie-policy a {
  color: white;
  text-shadow: none;
  text-decoration: none;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  margin: 4px;
}

#CO--cookie-policy a.cta-close {
  background-color: hsl(204, 100%, 37%);
  color: white;
  transition: background-color 0.3s ease;
}
#CO--cookie-policy a.cta-close:hover {
  background-color: hsl(204, 100%, 45%);
}

#CO--cookie-policy a.cta-deny {
  background-color: hsl(27, 7%, 27%);
  color: white;
  transition: background-color 0.3s ease;
}
#CO--cookie-policy a.cta-deny:hover {
  background-color: hsl(27, 7%, 35%);
}

#CO--cookie-policy a.cta-more {
  background-color: hsl(220, 4%, 85%);
  color: #212121;
  transition: background-color 0.3s ease;
}
#CO--cookie-policy a.cta-more:hover {
  background-color: hsl(220, 4%, 70%);
}

#coDialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

#coDialog {
  max-width: 500px;
  width: auto;
  margin: auto;
  border: none;
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  max-height: calc(100vh-20px);
  max-height: calc(100svh-20px);
  min-height: 200px;
}

#coDialog .cookie-policy-links {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100px, 100%), 1fr));
}

#coDialog .cookie-policy-links a {
  display: flex; /* Flexbox für vertikale und horizontale Zentrierung */
  justify-content: center; /* Zentriert den Inhalt horizontal */
  align-items: center; /* Zentriert den Inhalt vertikal */
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  padding: 10px;
  color: white;
  background-color: #ccc;
  text-decoration: none; /* Entfernt Unterstreichung bei Links */
}

#coDialog a.cta-close {
  background-color: hsl(204, 100%, 37%);
  color: white;
  transition: background-color 0.3s ease;
}
#coDialog a.cta-close:hover {
  background-color: hsl(204, 100%, 45%);
}

#coDialog a.cta-deny {
  background-color: hsl(27, 7%, 27%);
  color: white;
  transition: background-color 0.3s ease;
}
#coDialog a.cta-deny:hover {
  background-color: hsl(27, 7%, 35%);
}

#coDialog a.cta-more {
  background-color: hsl(220, 4%, 85%);
  color: #212121;
  transition: background-color 0.3s ease;
}
#coDialog a.cta-more:hover {
  background-color: hsl(220, 4%, 70%);
}

#coDialog .co-dp-link {
  text-align: center;
  display: block;
  margin-top: 0.5rem;
  font-size: smaller;
}
