#footer {
  background-color: var(--ast-global-color-0);
  margin-top: auto;
}

#footer * {
  color: white;
}

#footer .footer-cta {
  position: relative;
  background-image: url(../img/img-footer.jpg);
  height: 500px;
  background-position: center center;
}

#footer .footer-cta > .ast-container {
  z-index: 99;
  padding: var(--gap-l) calc(var(--cont-gap) * 1.5);
  gap: var(--gap-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: inherit;
}

#footer .footer-cta::after {
  content: "";
  position: absolute;
  bottom: 0;
  opacity: 0.6;
  background: var(--ast-global-color-2);
  background-repeat: no-repeat;
  width: 100vw;
  height: 100%;
  display: block;
  z-index: 9;
}

#footer .footer-cta * {
  color: white;
  text-align: center;
}

#footer .footer-cta .footer-button {
  text-transform: uppercase;
  transition: all 0.5s ease-in-out;
  border-radius: 0;
  background-color: transparent;
  border: 1px solid var(--ast-global-color-1);
  padding: var(--gap-s) var(--gap-m);
  transition: all 0.5s ease-in-out;
  border-radius: var(--border-radius);
}
#footer .footer-cta .footer-button:hover {
  background-color: var(--ast-global-color-0);
  border: 1px solid var(--ast-global-color-0);
}

#footer .footer-main {
  height: calc(var(--footer-main-height) + var(--gap-l));
  padding-bottom: var(--gap-l);
}

#footer .footer-main > .ast-container {
  display: flex;
  max-width: unset;
  justify-content: space-between;
  height: 100%;
  align-items: center;
  padding: 0 var(--gap-l);
}

#footer .footer-main img {
  max-width: 200px !important;
}
#footer .footer-main .owner p:last-child {
  margin-top: var(--gap-s);
}

#footer .footer-main .menu {
  list-style: none;
  text-align: right;
}

#footer .footer-main .menu a.menu-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  #footer .footer-cta > .ast-container {
    padding: var(--gap-l);
  }
  #footer .footer-cta {
    max-height: 80vw;
  }

  #footer .footer-main {
    height: calc(var(--footer-main-height) + var(--cont-gap) + 20px);
  }

  #footer .footer-main > .ast-container {
    flex-direction: column;
    padding: var(--gap-l) var(--gap-l) var(--cont-gap) var(--gap-l);
    gap: var(--gap-m);
  }

  #footer .footer-main .textwidget:first-child {
    order: 1;
    text-align: center;
  }

  #footer .footer-main img {
    order: 0;
    max-width: 120px !important;
  }
  #footer .footer-main .menu-footer-menue-container {
    order: 2;
  }
  #footer .footer-main #menu-footer-menue {
    display: flex;
    gap: var(--gap-l);
    margin: 0 !important;
  }
}
