body {
  margin: 0;
}
footer {
  background-color: rgba(21,144,221,255);
  padding: 40px 20px 20px 20px;
  font-family: Arial, sans-serif;
  color: white;
}

.footer-inner-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Neue Flex-Zeile für alle Footer-Elemente außer bottom */
.footer-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-container-top {
  display: flex;
  flex-direction: row;
  gap: 30px;
}



.footer-item {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-item h4 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.footer-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: white;
}

/* Logo im Footer */
.footer-logo {
  width: 170px;
  height: auto;
  display: block;
}

/* Untere Footer-Zeile */
.footer-container-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  font-size: 14px;
}

.footer-text {
  flex: 1 1 50%;
  color: white;
}

/* Footer Bildleiste */
.footer-imagebar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 25px;
  margin-bottom: 10px;
}
.footer-imagebar-img {
  height: 90px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
  padding: 4px 8px;
  transition: transform 0.2s;
}
.footer-imagebar-img:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex: 1 1 50%;
  justify-content: flex-end;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ✅ Responsive Anpassungen */
@media (max-width: 1024px) {
  .footer-row {
    flex-direction: column;
    gap: 20px;
  }
  .footer-container-top {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 950px) {
  .footer-container-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    display: contents;
  }

  .footer-container-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-text {
    text-align: center;
  }

  .footer-item {
    width: 100%;
    flex: none !important;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-imagebar {
    flex-direction: column;
    gap: 10px;
  }
  .footer-imagebar-img {
    width: 88%;
        height: 165px;
 
  }
}
