footer {
  background: #EAEAEA;
  font-size: 0.85rem;
  line-height: 23px;
  padding: 60px 0 25px 0;
}
footer * {
  color: var(--brand-accent-color-text);
  font-weight: 300;
}
footer strong{
  font-weight: 600;
}

footer a.button {
  font-size: 0.85rem;
  padding: 8px 22px;
  height: fit-content;
  width: fit-content;
}
footer .container{position: relative;}

.footer-logo {
  object-fit: contain;
  max-width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 60px;
}
.footer-title {
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.footer-contact a{
  display: block;
  margin-bottom: 15px;
  width: max-content;
}
.footer-contact a:hover{
text-decoration: underline;
}
.footer-social{
  position: absolute;
  right: 0;
  width: max-content;
}
.footer-social-link{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  transition: filter 0.3s ease;
  width: max-content;
  margin-bottom: 1rem;
}
.footer .headline{
  font-weight:600;
  font-size:115%;
  display:block;
  margin-bottom:25px;
}

footer .oeffnungszeiten{
  display: block;
}
footer .oeffnungszeiten img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.footer-social-link:hover, .footer-social-link:focus {
  filter: invert(1) brightness(1.5);
}
.footer-social-link img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid var(--brand-accent-color-text);
  padding-top: 25px;
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}


.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: end;
}

.footer-legal ul li{
  margin-left: 40px;
  margin-bottom:0;
}
.footer-copyright,
.footer-legal a{
  font-size: 90%;
  margin-bottom:0;
}


@media (max-width: 1199px) {

  .termin-popup{
    padding:25px!important;
  }

}

@media (max-width: 1199px) {

  .termin-popup .termin-popup-content .termin-link-prof{
    margin-bottom: 15px;
  }

}

@media (max-width: 768px) {
  
  .footer-legal ul {
    justify-content: start;
  }
  .footer-legal ul li:first-child{
    margin-left:0;
  }
}

@media (max-width: 600px) {
  
  .footer-legal ul li{
    margin-left:15px;
  }

  .termin-popup{
    max-width:95%!important;
  }
  .termin-popup .termin-popup-content .btn{
    font-size:85%!important;
  }
  .termin-popup .termin-popup-close{
    right:-10px!important;
  }
}


@media (max-width: 400px) {

.termin-popup .termin-popup-content .btn{
    font-size:75%!important;
  }

}