.footer-background {
  /* Hintergrundfarbe aus deinen Variablen */
  background-color: var(--background-menuecolor);
  width: 100%;
  /* Sanfter Übergang bei Theme-Wechsel */
  transition: background-color 0.3s ease;
}



.footer {
  max-width: var(--website-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px;
  /* Sorgt für bündigen Abschluss links und rechts */
  justify-content: space-between; 
  align-items: flex-start;
  color: var(--text-color-menue);
  font-family: 'menue', sans-serif;
}

/* Die 4 Haupt-Bereiche: Absolut gleich verteilt */
.footer-nav, 
.footer-social, 
.footer-law, 
.footer-zertifikate {
  flex: 1; 
  display: flex;
  flex-direction: column;
}

/* Ausrichtung der Inhalte innerhalb der 4 Spalten */
.footer-nav { align-items: flex-start; }
.footer-social { align-items: flex-start; }
.footer-law { align-items: flex-start; }

/* Die Siegel ganz nach rechts rücken */
.footer-zertifikate {
  align-items: flex-end; 
}

/* Listen-Styling */
.footer-nav ul, 
.footer-social ul, 
.footer-law ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-zertifikate ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end; /* Siegel innerhalb des Viertels rechts */
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

/* Link-Farben und Effekte */
.footer a {
  font-size: 14px;
  color: var(--text-color-menue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  text-decoration: underline;
  color: var(--link-hover);
}

/* Siegel-Bilder */
.seal { 
  width: 80px; 
  height: auto; 
  min-width: 40px; 
  flex-shrink: 1;
  display: block;
  object-fit: contain;
}


/* Responsive: Umbruch auf Mobilgeräten */
@media (max-width: 768px) {
  .footer-nav, .footer-social, .footer-law, .footer-zertifikate {
    flex: 1 1 100%; /* Stapeln sich untereinander */
    align-items: flex-start; /* Alles wieder linksbündig */
  }
  .footer-zertifikate ul {
    justify-content: flex-start;
  }
}