/* Footer */

#footer {
  background: var(--weiss);
  bottom: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -80%;
  width: 80%;
  height: 10px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  animation: wipe 15s ease-in-out infinite;
  z-index: 1;
}

#footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--ipfRot);
  z-index: 0;
}

@keyframes wipe {
  0% {
    left: -80%;
  }
  100% {
    left: 100%;
  }
}

/* TOP FOOTER */

.footerP {
  font-size: 1.35rem;
  margin: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.newsletterMessage {
  margin-bottom: 10px;
}

.companyDetails {
  margin-bottom: 10px;
}

.topFooter {
  display: flex;
  padding: 40px 0;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footerDescription {
  max-width: 450px;
}
.footerLogo {
  cursor: pointer;
  display: flex;
  align-items: center;
  width: fit-content;
}

.footerLogo svg {
  height: 25px;
}

.footerDescription .footerBadges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 21px;
}

.badge1,
.badge2,
.badge3,
.badge4 {
  transition: cubic-bezier(0.6, 0, 0.4, 1) 0.2s all;
}

.footerDescription .footerBadges a .badge1 {
  width: 80px;
  height: auto;
}

.footerDescription .footerBadges a .badge1:hover {
  filter: drop-shadow(0px 0px 15px var(--mittelGrau));
  transform: scale(1.15);
}

.footerDescription .footerBadges a .badge2 {
  width: 80px;
  height: auto;
}

.footerDescription .footerBadges a .badge2:hover {
  filter: drop-shadow(0px 0px 15px var(--mittelGrau));
  transform: scale(1.15);
}

.footerDescription .footerBadges a .badge3 {
  width: 80px;
  height: auto;
}

.footerDescription .footerBadges a .badge3:hover {
  filter: drop-shadow(0px 0px 15px var(--mittelGrau));
  transform: scale(1.15);
}

.footerDescription .footerBadges a .badge4 {
  width: 110px;
  height: auto;
}

.footerDescription .footerBadges a .badge4:hover {
  filter: drop-shadow(0px 0px 15px var(--mittelGrau));
  transform: scale(1.15);
}

.containerColumnTitle {
  height: 25px;
  display: inline-flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

.columnTitle {
  font-family: "canaro", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.5rem;
  position: relative;
  width: fit-content;
  padding: 0;
  margin: 0;
}

.socialMediaTitle {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* socialMediaHover - start */

#googleIcon,
#facebookIcon,
#linkedInIcon,
#xingIcon,
#youtubeIcon,
#kununuIcon {
  transition: cubic-bezier(0.6, 0, 0.4, 1) 0.2s all;
}
#googleIcon {
  fill: var(--dunkelGrau);
}
#googleIcon:hover {
  fill: #34a853;
  transform: scale(1.15);
}
#facebookIcon {
  fill: var(--dunkelGrau);
}
#facebookIcon:hover {
  fill: #3b5998;
  transform: scale(1.15);
}
#linkedInIcon {
  fill: var(--dunkelGrau);
}
#linkedInIcon:hover {
  fill: #0e76a8;
  transform: scale(1.15);
}
#xingIcon {
  fill: var(--dunkelGrau);
}
#xingIcon:hover {
  fill: #126567;
  transform: scale(1.15);
}
#youtubeIcon {
  fill: var(--dunkelGrau);
}
#youtubeIcon:hover {
  fill: red;
  transform: scale(1.15);
}
#kununuIcon {
  fill: var(--dunkelGrau);
}
#kununuIcon:hover {
  fill: #fec915;
  transform: scale(1.15);
}

/* socialMediaHover - end */

.singleLinks {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.linkList {
  padding-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.singleLinks a {
  font-size: 1.35rem;
  line-height: normal;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  color: var(--schwarz);
  transition: 0.5s;
  transform: scale(1);
  transform-origin: left;
  opacity: 1;
}

.singleLinks:hover a {
  transition: 0.5s;
  opacity: 0.75;
}

.singleLinks li a:hover {
  transition: 0.5s;
  color: var(--ipfRot);
  transform: scale(1.1);
  transform-origin: left;
  opacity: 1;
}

.creditFlex a {
  font-size: 1.35rem;
  line-height: normal;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  color: var(--schwarz);
  transition: 0.5s;
  transform: scale(1);
  transform-origin: left;
  opacity: 1;
}

.creditFlex:hover a {
  transition: 0.5s;
  opacity: 0.75;
}

.creditFlex li a:hover {
  transition: 0.5s;
  color: var(--ipfRot);
  transform: scale(1.1);
  transform-origin: left;
  opacity: 1;
}

.newsletterForm {
  max-width: 300px;
}

.errorPopup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, 20px);
  background-color: var(--weiss);
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
}

.errorPopup.show {
  transform: translate(-50%, -10px);
  opacity: 1;
  visibility: visible;
}

.errorPopup:hover {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='black'%3E%3Cpath d='m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z'/%3E%3C/svg%3E")
      12 12,
    auto;
}

@keyframes rotateWiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.inputGroup.wiggle {
  animation: rotateWiggle 0.6s ease-in-out;
}

.inputGroup.wiggle input {
  border-color: var(--ipfRot);
}

.popupStroke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.popupStroke rect {
  fill: none;
  stroke: var(--ipfRot);
  stroke-width: 2;
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  transition: none;
}

.errorPopup.paused .popupStroke rect {
}

.inputGroup input {
  padding: 10px 40px 10px 40px;
  box-sizing: border-box;
  height: 40px;
  border-radius: 10px;
  border: none;
  padding-left: 50px;
  box-shadow: 0 0 10px var(--dunkelGrau);
  color: var(--schwarz);
  width: 100%;
  border: 1px solid var(--weiss);
}

.footerInput {
  position: relative;
}

.emailIcon,
.sendButton {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.emailIcon {
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emailIcon svg {
  width: 100%;
  height: 100%;
  fill: var(--schwarz);
  transition: transform 0.3s;
}

.sendButton {
  right: 10px;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sendButton:hover {
  right: 10px;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formIcon {
  fill: var(--schwarz);
  transition: cubic-bezier(0.6, 0, 0.4, 1) 0.2s all;
}

.formIcon:hover {
  fill: var(--ipfRot);
  transition: cubic-bezier(0.6, 0, 0.4, 1) 0.2s all;
}

.newsletterForm .icons {
  display: flex;
  gap: 15px;
}

.newsletterForm .icons a svg {
  width: 35px;
  height: 35px;
  fill: black;
  transition: fill 0.3s ease;
}

/* END TOP FOOTER */

/* BOTTOM FOOTER */
.footerCredit {
  padding-bottom: 20px;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footerCredit ul {
  padding: 0;
  margin: 0;
  gap: 20px;
}

.creditFlex {
  list-style: none;
  display: flex;
}

.creditFlex li a {
  cursor: pointer;
  text-decoration: none;
}

.footerCreditRight {
  font-size: 1.35rem;
  line-height: normal;
  align-self: flex-end;
  text-align: right;
  /* min-height: 4rem; */
  align-items: end;
  display: flex;
}

/* END BOTTOM FOOTER */

/* RESPONSIVE SCREEN */

@media (min-width: 1200px) and (max-width: 1400px) {
  .topFooter {
    display: flex;
    padding: 40px 12px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .footerDescription {
    max-width: 45%;
    order: 1;
  }
  .newsletterForm {
    max-width: 45%;
    order: 4;
  }
  .footerLinks {
    order: 2;
  }
  .footerContact {
    order: 3;
  }
}

@media (max-width: 1200px) {
  .topFooter {
    display: flex;
    padding: 40px 12px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .footerDescription {
    max-width: 30%;
    order: 1;
  }
  .newsletterForm {
    max-width: 50%;
    order: 4;
  }
  .footerLinks {
    order: 2;
  }
  .footerContact {
    order: 3;
  }
}

@media (max-width: 1100px) {
  .topFooter {
    display: flex;
    padding: 40px 12px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .mainFooter {
    padding: 0 50px;
  }
  .footerDescription {
    min-width: 100%;
    order: 1;
  }
  .newsletterForm {
    max-width: 495px;
    order: 4;
  }
  .footerLinks {
    order: 2;
  }
  .footerContact {
    order: 3;
  }
}

@media (max-width: 768px) {
  .topFooter {
    display: flex;
    padding: 40px 12px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .mainFooter {
    padding: 0 25px;
  }
  .footerCreditLeft ul {
    flex-direction: column;
    gap: 5px;
  }

  .footerDescription {
    max-width: 100%;
    order: 1;
  }
  .newsletterForm {
    max-width: 100%;
    order: 4;
  }
  .footerLinks {
    order: 3;
  }
  .footerContact {
    order: 4;
  }
}
/* END RESPONSIVE SCREEN */
