
footer {
  background-color: #111;
  color: white;
  padding: 2rem;
  height: auto;
}

footer h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}


footer img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  padding-top: 10vh;
  flex: 1;
  min-width: 20%;
}

.footer-logo {
  flex-basis: 20%;
  max-width: 20%;
  max-height: 300px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  align-items: center;
  width: 100%;
}

.footer-section.wide {
  padding-top: 10vh;
  flex-basis: 40%;
  min-width: 40%;
}


@media (max-width: 1050px) {

  .footer-container {
    flex-wrap: wrap;
  }

  .footer-logo {
    flex-basis: 50%;
    max-width: 50%;
  }

  .footer-section.impressum {
    flex-basis: 50%;
    max-width: 50%;
  }

  .footer-section.contact {
    flex-basis: 100%;
    max-width: 100%;
  }

  .footer-section.wide {
    flex-basis: 100%;
    max-width: 100%;
    padding-top: 2vh;
    padding-left: 5%;
    padding-right: 5%;
  }

}

/* Responsive Design */
@media (max-width: 530px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  } 
  .footer-section {
    flex-basis: 100%;
    max-width: 100%;
    text-align: center;
  }
  .footer-logo {
    flex-basis: 50%;
    max-width: 50%;
    margin: 0 auto;
  }


footer h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
}