body.modal-open {
  overflow: hidden!important;
}
.modal-content {
  position: relative;
  z-index: 999999999;
}
.modal {
  z-index: 99999999;
}
#cookieImg {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80px;
}
#consentBadge {
  position: fixed;
  z-index: 9999;
  bottom: 60px;
  left: 60px;
  width: 64px;
  height: 66px;
  background: #fff;
  border-radius: 50%;
  padding: 12px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 4px;
  cursor: pointer;
}

#consentBadge,
#consentBadge img {
  scale: 1;
  transition: all 0.3s ease;
}
#consentBadge:hover,
#consentBadge:hover img {
  scale: 1.05;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  #consentBadge {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 46px;
    padding: 8px;
  }
}

.modal-title {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  font-weight: 900;
}
.modal-content {
  border-radius: 14px;
  padding: 24px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
#closedCookies {
  position: absolute;
  top: 15px;
  right: 15px;
}
.modal-footer,
.modal-body,
.modal-header {
  border: none;
}
@media (max-width: 991px) {
  .modal-footer {
    display: flex;
    flex-direction: column;
  }
  .modal-footer button {
    width: 100%;
  }
}

.cookieButton {
  display: inline-block;
  border-radius: 12px;
  background-color: #3d405b;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 14px;
  padding: 16px 30px;
  position: relative;
  max-width: 100%;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  overflow: hidden; /* Verhindert Einfluss auf die Button-Größe */
}

.cookieButton span {
  cursor: pointer;
  display: inline-block;
  transition: 0.5s;
  position: relative;
}

.cookieButton span:after {
  content: '»';
  position: absolute;
  opacity: 0;
  top: 0;
  right: 0;
  transition: 0.5s;
}

.cookieButton:hover span {
  transform: translateX(-15px); /* Bewegung nach links */
}

.cookieButton:hover span:after {
  opacity: 1;
  right: -15px; /* Startet 15px rechts von der Position */
}

.necessaryWrapper,
.functionalWrapper,
.statisticWrapper {
  width: calc(100% - 40px);
}


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
  z-index: 999;
}
.switch.small {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 20px;
  z-index: 999;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ed5050;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.switch.small .slider:before {
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
}

input:checked + .slider {
  background-color: #0cd161;
}

input:focus + .slider {
  box-shadow: 0 0 1px #0cd161;
}

.yellow input:checked + .slider {
  background-color: orange;
}

.yellow input:focus + .slider {
  box-shadow: 0 0 1px orange;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}
.disabled {
    pointer-events: none;
    opacity: 0.3;
}
.switch.small input:checked + .slider:before {
  -webkit-transform: translateX(10px)!important;
  -ms-transform: translateX(10px)!important;
  transform: translateX(10px)!important;
}

/* Rounded sliders */
.slider.rounded {
  border-radius: 12px;
}

.slider.rounded:before {
  border-radius: 50%;
}

#acceptCookies {
background-color: #18345d;
}
#editCookies {
background-color: #18345d;
}
#rejectCookies {
  background-color: #ed5050;
}
.consentModalBody {
  max-height: 70vh;
  overflow: hidden;
}
.consentModalWrapper {
    max-height: 50vh;
    overflow-x: hidden;
}
.consentWrapper {
  background: #f0f4f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 6px;
}
.consentHeader {
  font-weight: 600;
  color: #000;
}
.consentHeader svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-bottom: -5px;
}
.consentWrapper p {
  margin-bottom: 0px;
}
.consentDuration,
.consentDescription,
.consentName {
  font-size: 85%;
  line-height: 1.5;
}
.consentName {
  width: 30%;
}
.consentDescription {
  width: 50%;
}
.consentDuration {
  width: 20%;
}
.collapse  {
  max-width: 100%;
}
.content-sub.subbing p {
  font-size: 14px;
}
.content-sub.subbing b {
  font-weight: 600;
  color: #434343;
}
.content-sub.subbing {
  margin-top: 15px;
  margin-bottom: 30px;
}
.consentWrapper p.mb-4 {
    margin-top: 15px;
}
.companyInfoStyle {
  margin-bottom: 15px!important;
}
.companyInfoStyle img {
  width: 120px;
  height: auto;
}
table th {
  color: #434343;
}
.borderWrapper {
  border: 1px solid #d0d9de;
  padding: 15px 15px 15px 15px;
  border-radius: 10px;
  line-height: 1;
  margin-bottom: 10px;
}
.consentWrapper table td {
    border: 1px solid #e5e5e5;
    padding: 7px 10px;
}
.consentWrapper p {
    font-size: 14px;
    line-height: 1.6;
}
.serviceHeader {
  display: flex;
  align-items: center;
  width: 100%;
}
.serviceHeader img {
  width: 30px;
  height: auto;
  margin-right: 8px;
}

.noteCard {
  width: 400px;
  max-width: 100%;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 13px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
  border-radius: 12px;
}
.cookieHeading {
  text-align: center;
}
#cookieSvg {
  width: 50px;
}

#cookieSvg g path {
  fill: rgb(97, 81, 81);
}
.consentImg {
  display: block;
  margin: 15px auto;
  max-width: 100px;
}

.cookieHeading {
  font-size: 1.2em;
  font-weight: 800;
  color: rgb(26, 26, 26);
  margin-bottom: 10px;
}

.cookieDescription {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: rgb(99, 99, 99);
}

.buttonContainer {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.acceptButton {
  background-color: #0cd161;
  padding: 4px 12px;
  transition-duration: .2s;
  border: none;
  color: rgb(241, 241, 241);
  cursor: pointer;
  font-weight: 600;
  border-radius: 20px;
}

.declineButton {
  padding: 4px 12px;
  background-color: #ed5050;
  transition-duration: .2s;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 20px;
}

.declineButton:hover {
  background-color: #c93535;
  transition-duration: .2s;
}

.acceptButton:hover {
  background-color: #08b553;
  transition-duration: .2s;
}

.title::first-letter {
    text-transform: uppercase;
}