/* Haupt-Container: Positioniert in der rechten Bildschirmhälfte */
#redim-cookiehint-bottom {
  position: fixed;
  bottom: 0px;
  right: 5%;
  width: 40%;
  max-width: 40%;
  z-index: 9999;
  background-color: #3C3C3B;
  border-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: block;
  animation: slideUp 0.5s ease-out;
  color: #fff;
}
@keyframes slideUp {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}
/* CSS FÜR DAS LAYOUT (OHNE HTML-ÄNDERUNG)
           Wir nutzen Flexbox auf dem inneren Container #redim-cookiehint
        */
#redim-cookiehint {
  padding: 15px;
  display: flex;
  flex-direction: row;
  /* Text links, Buttons rechts */
  align-items: center;
  /* Vertikal mittig ausrichten */
  justify-content: space-between;
  gap: 15px;
}
/* Der Text-Container nimmt den restlichen Platz ein */
.cookie-text-container {
  flex: 1;
}
.cookiehead .headline {
  display: none;
}
.cookiecontent p {
  font-size: 0.9rem;
  color: #f39c12;
  margin: 0;
  line-height: 1.5;
}
.cookiecontent p a {
  color: #f39c12;
}
/* BUTTON-STEUERUNG:
           Hier erzwingen wir das Stapeln untereinander (column)
        */
.cookiebuttons {
  display: flex;
  flex-direction: column;
  /* Buttons untereinander */
}
/* Button Design */
.cookiebuttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  margin: 0 0 5px 0;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
#cookiehintsubmit {
  color: white;
  border: 1px solid #5B5B5A;
}
#cookiehintsubmitno {
  color: white;
  border: 1px solid #5B5B5A;
}
.clr {
  display: none;
  /* Nicht mehr nötig dank Flexbox */
}
/* --- MOBILE RESPONSIVE --- */
@media (max-width: 991px) {
  #redim-cookiehint-bottom {
    width: 90%;
    right: 5%;
    left: 5%;
    max-width: none;
  }
}
@media (max-width: 767px) {
  /* Auf Tablets/Handys untereinander */
  #redim-cookiehint {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookiebuttons {
    flex-direction: row;
    /* Auf kleinen Screens nebeneinander platzsparend */
    justify-content: center;
  }
  .btn {
    flex: 0;
  }
}
@media (max-width: 576px) {
  .cookiebuttons {
    flex-direction: column;
    /* Auf sehr schmalen Screens wieder untereinander */
  }
  .btn {
    width: 100%;
    padding: 14px;
  }
}
