/* --- Blauer Balken --- */
.blue-bar {
  position: relative;
  width: 100%;
  height: 80px;
  background-color: #00a2ff;
  overflow: hidden;
}

.blue-bar-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s ease-out;
}

.blue-icon {
  font-size: 1.6rem;
  color: #ffffff;
  opacity: 0.9;
  transition: transform 0.3s ease-out;
}

/* --- Footer Bereich --- */
.main-footer {
  background-color: #ffffff; /* weißer Hintergrund */
  color: #000000;            /* schwarzer Text */
  width: 100%;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid #ddd; /* feine graue Linie oben */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* dezente Trennung unten */
  padding-bottom: 2rem;
}

.footer-block h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  color: #000; /* Überschrift schwarz */
}

.footer-block h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #000; /* schwarze Linie unter Überschrift */
}

.footer-block a,
.footer-block p {
  color: #333; /* dunkles Grau für Text */
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-block a:hover {
  color: #0077ff; /* dezentes Blau beim Hover */
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #555;
}

.footer-bottom span {
  color: #0077ff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer-grid {
    text-align: center;
  }

  .footer-block h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}




/* =============================
   FOOTER – Einheitlich linksbündig, auch auf Handy
============================= */

.main-footer {
  background-color: #ffffff;
  color: #000000;
  width: 100%;
  padding: 3rem 2rem;
  border-top: 1px solid #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 2rem;
}

.footer-block {
  text-align: left; /* <<< Wichtig: immer linksbündig */
}

.footer-block h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  color: #000;
}

.footer-block h4::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #000;
}

.footer-block a,
.footer-block p {
  color: #333;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.footer-block a:hover {
  color: #0077ff;
}

/* "Made by" Bereich unten */
.footer-bottom {
  text-align: left; /* <<< auch linksbündig am Handy */
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #555;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom span {
  color: #0077ff;
}

/* =============================
   RESPONSIVE (Mobile)
============================= */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* untereinander, aber linksbündig */
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-block {
    text-align: left !important; /* überschreibt alte Center-Regeln */
    padding-left: 0.5rem;
  }

  .footer-block h4::after {
    left: 0;
    transform: none;
  }

  .footer-bottom {
    text-align: left !important;
    padding-left: 0.5rem;
  }
}