.cookie-legal-link-container {
  display: flex;
  flex-direction: row; /* Buttons immer untereinander */
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding-top: 1rem;
}

.cookie-group-form {
  display: block;
  padding: 0.5rem 0.5rem;
  text-align: justify;
}

.cookie-group-form button {
    display: block;
    margin: 1rem auto;
    width: 90vw;
    height: 3rem;
    background-color: white;
    color: black;
    font-weight: bold;
    border-radius: 0.2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.cookie-group-form span {
  font-size: 1.5rem;
  font-family: Verdana, Geneva, sans-serif;
} 



/* Tablet (ab 601px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .cookie-bar {
    top: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("/static/core/img/logo.png");
    background-repeat: no-repeat;
    background-position: 97% 95%;
    background-size: 5rem auto;
    bottom: 2rem;
    padding-top: 1rem;
    margin: 0 1rem;
  }

  .cookie-bar p {
    padding: 0;
  }

  .cookie-button-container {
    height: auto;
    align-items: center;
  }

  .cookie-button-container {
    flex-direction: row;
    width: auto;
    gap: 0.5rem;
  }

  .cookie-button-container a {
    width: 160px; /* Feste Breite für Buttons auf Tablet */
  }

  .cookie-legal-link-container {
    display: flex;
    flex-direction: row; /* Buttons immer untereinander */
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    padding-top: 1rem;
  }
}

/* Desktop (ab 1025px) */
@media (min-width: 1025px) { 
  .cookie-bar {
    top: 50%;
    left:50%;
    transform: translateX(-50%); /* Verschiebung um die Hälfte der eigenen Breite nach links für horizontale Zentrierung */

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-image: url("/static/core/img/logo.png");
    background-repeat: no-repeat;
    background-position: 98% 92%;
    background-size: 5rem auto;
    min-width: 50rem;
    max-width: 75rem;
    margin: 0 auto;
  }

  .cookie-bar p {
    margin: 0;
    padding-right: 0;
  }

  .cookie-button-container {
    flex-direction: row;
    margin-top: 1rem;
    width: auto;
    gap: 0.5rem;
  }

  .cookie-button-container a {
    width: 200px; /* Etwas breitere Buttons auf Desktop */
  }
}
