/*******************************************************
  Footer – Grunddesign
*******************************************************/
#footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

/*******************************************************
  Kursbereich
*******************************************************/
.footer_kurse {
  background: transparent;
}

.footer-kurse-entries {
  /* Falls du alles verkleinern willst:
     transform: scale(0.8);
     transform-origin: top left;
  */
  display: flex;
  flex-wrap: wrap; /* Falls mehrere Einträge, damit sie umbrechen */
  justify-content: center; /* Mittige Ausrichtung */
  text-align: center;
}

.footer-kurse-title {
  color: white;
}

/*******************************************************
  Kursbilder
*******************************************************/
.footer-kurse-image {
  width: 100%;
  max-width: 150px; /* Maximalgröße */
  aspect-ratio: 1 / 1; /* Quadratische Proportion */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto; /* Automatische Zentrierung */
}

.footer-kurse-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto; /* Bild selbst mittig ausrichten */
}

/*******************************************************
  Menü-Styles
*******************************************************/
.menu-entries ul {
  list-style: none;
  padding: 0;
}

.menu-entries li a {
  color: #ecf0f1;
  text-decoration: none;
  padding: 5px 0;
  display: inline-block;
  transition: color 0.3s ease;
}

.menu-entries li a:hover {
  color: #3498db;
}

/*******************************************************
  Kontakt-Spalte
*******************************************************/
.footer-contact-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*******************************************************
  Kontakt-Button
*******************************************************/
.btn-template-main {
  background-color: #3498db;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-template-main:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.btn-small {
  font-size: 0.85rem;
  padding: 6px 12px;
}

/*******************************************************
  Responsive Anpassungen (Smartphones & Tablets)
*******************************************************/
@media (max-width: 768px) {
  .footer_kurse {
      display: flex;
      flex-direction: column;
      align-items: center; /* Ganze Sektion zentrieren */
      text-align: center;
  }

  .footer-kurse-entries {
      display: flex;
      flex-direction: column;
      align-items: center; /* Zentriert alle Einträge */
      justify-content: center;
      text-align: center;
      width: 100%;
  }

  .footer-kurse-image {
      display: flex;
      justify-content: center; /* Bild mittig ausrichten */
      align-items: center;
      width: 100%;
      max-width: 150px; /* Begrenzung beibehalten */
      margin: 10px auto; /* Automatische Zentrierung */
  }

  .footer-kurse-image img {
      display: block;
      margin: 0 auto; /* Bild selbst mittig ausrichten */
  }
}
/* Hinweis Footer Text */
footer .col-md-3.col-sm-6.footer-hinweis-col a {
  color: inherit; /* Übernimmt die Farbe des umgebenden Textes */
  text-decoration: none; /* Entfernt die Unterstreichung */
}

footer .col-md-3.col-sm-6.footer-hinweis-col {
  font-size: 11px;
}