/* -------------------------- start fonts footer -------------------------- */

footer p,
footer li {
  font-size: clamp(1.313rem, 1.236rem + 0.24vw, 1.5rem);
  font-family: var(--headlinefont);
  color: var(--ast-global-color-3);
  line-height: 1.25;
  font-weight: 400;
  font-style: normal;
}

footer li {
  list-style: none;
}

#footer-logos a {
  color: var(--ast-global-color-3);
  font-family: var(--mainfont);
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 2.15;
}
/* 
#footer-links .textwidget:first-of-type strong {
  color: var(--ast-global-color-0);
  font-family: var(--headlinefont);
  font-size: 40.5px;
  letter-spacing: 0.405px;
  line-height: 1.2;
} */

/* #footer-links .textwidget:nth-of-type(2) p {
  color: var(--ast-global-color-2);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}
 */
/* -------------------------- start footer -------------------------- */
#footer {
  --footer-gap: 2.5rem;

  position: relative;
  padding: calc(var(--gap-m) * 2.7) var(--gap-xl) calc(var(--gap-m) * 2.2);
  background-color: var(--ast-global-color-0);
}

#footer .wrap {
  display: flex;
  justify-content: center;
  position: relative;
  flex-direction: column;
  align-items: center;
}

#footer .wrap .inner-wrap {
  gap: var(--gap-l);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#footer-links,
#footer-mitte,
#footer-rechts {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
}

footer a {
  text-decoration: none;
  transition: all 0.5s ease 0s;
  color: inherit;
}

#footer a {
  display: block;
  flex-direction: column;
  position: relative;
}

#footer a:hover {
  color: var(--ast-global-color-2);
}

#footer a:hover:after {
  width: 100%;
}

/*
#footer::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 16px;
  top: 0;
  left: 0;
  transform: translateY(-16px);

  background: url("/wp-content/themes/astra-impuls-child/img/footer-deco.svg")
    repeat-x top left;
  pointer-events: none;
}
*/

#footer-mitte p .contact {
  display: flex;
  gap: 5px;
}

/* -------------------------- Footer links -------------------------- */

#footer-links > a {
  height: 120px;
  width: 248px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

div#footer-links {
  width: clamp(162px, 8.493rem + 5.68vw, 234px);
}
#footer-links > a img {
  display: block;
  max-height: 100%;
  width: auto;
}

#menu-footer-menu {
  margin: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap-l);
}

.textwidget {
  text-align: center;
}

/* -------------------------- Footer Logos -------------------------- */

#footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--gap-l);
  max-width: 90vw;
}

#footer-logos a:hover {
  color: var(--ast-global-color-2);
}

@media (max-width: 1500px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
@media (max-width: 1025px) {
  #footer {
    margin-bottom: calc(var(--btn-font-size) * 1.4 + 2rem - 2px);
  }
}

@media (max-width: 1200px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
  div#mobile-bar {
    display: flex;
  }
}

@media (max-width: 768px) {
}

@media (max-width: 576px) {
  #menu-footer-menu {
    gap: 12px;
    flex-direction: column;
  }

  .footer-rechts-inner-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-s) var(--gap-l);
  }
}

@media (max-width: 420px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
  /*----------------- ELEMENT -------------*/
  /*----------------- END ELEMENT ---------*/
}
