/*
 * footer.css
 * ─────────────────────────────────────────────────────────────────
 * Stile für den globalen Footer.
 * Mobile First:
 *   – Mobil: Spalten untereinander
 *   – Tablet (768px+): Spalten nebeneinander
 *   – Desktop (1024px+): Mehr Innenabstand
 * ─────────────────────────────────────────────────────────────────
 */


/* ════════════════════════════════════════
   FOOTER-CONTAINER
════════════════════════════════════════ */

.site-footer {
  background-color: var(--weiss);
  border-top: 1px solid var(--trennlinie);
  margin-top: 0;
}

.footer-innen {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 56px var(--aussen-mobil) 28px;
}

@media (min-width: 768px) {
  .footer-innen {
    padding: 60px var(--aussen-tablet) 32px;
  }
}

@media (min-width: 1024px) {
  .footer-innen {
    padding: 64px var(--aussen-desktop) 36px;
  }
}


/* ════════════════════════════════════════
   DREI-SPALTEN-LAYOUT
════════════════════════════════════════ */

/* MOBIL: untereinander */
.footer-spalten {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

/* TABLET+: nebeneinander */
@media (min-width: 768px) {
  .footer-spalten {
    flex-direction: row;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 52px;
  }

  .footer-spalte {
    flex: 1;
    min-width: 0;   /* verhindert Überlaufen langer E-Mail-Adressen */
  }
}


/* ════════════════════════════════════════
   SPALTEN-INHALT
════════════════════════════════════════ */

/* Spalten-Titel ("Kontakt", "Nadine Gumball", "Find me on") */
.footer-titel {
  font-family: var(--font-sans);
  font-size: var(--fs-label);      /* 10px */
  font-weight: 500;
  letter-spacing: var(--ls-label); /* 0.20em */
  text-transform: uppercase;
  color: var(--schwarz);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--trennlinie);
}

/* Adress-Block */
.footer-adresse {
  font-style: normal;
}

.footer-adresse p {
  font-size: var(--fs-klein);   /* 13px */
  font-weight: 300;
  color: var(--textgrau);
  line-height: 1.65;
  margin-bottom: 10px;
}
.footer-adresse p:last-child {
  margin-bottom: 0;
}

.footer-adresse a {
  color: var(--textgrau);
  text-decoration: none;
  transition: color var(--transition-standard);
}
.footer-adresse a:hover,
.footer-adresse a:focus {
  color: var(--schwarz);
  opacity: 1;
}


/* ════════════════════════════════════════
   FOOTER-LINKS (Navigation + Social)
════════════════════════════════════════ */

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links li {
  border-bottom: 1px solid var(--trennlinie-hell);
  margin-bottom: 0;
}
.footer-links li:last-child {
  border-bottom: none;
}

.footer-links a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: var(--fs-klein);   /* 13px */
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--textgrau);
  text-decoration: none;
  transition: color var(--transition-standard);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--schwarz);
  opacity: 1;
}


/* ════════════════════════════════════════
   UNTERZEILE (Copyright + Datenschutz)
════════════════════════════════════════ */

.footer-unten {
  border-top: 1px solid var(--trennlinie);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--textgrau-hell);
  letter-spacing: 0.05em;
}

.footer-recht {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-recht a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--textgrau-hell);
  text-decoration: none;
  transition: color var(--transition-standard);
}
.footer-recht a:hover,
.footer-recht a:focus {
  color: var(--schwarz);
  opacity: 1;
}

.footer-trenner {
  font-size: 11px;
  color: var(--trennlinie);
  margin: 0 4px;
  user-select: none;
}

/* TABLET+: Unterzeile einzeilig, links/rechts */
@media (min-width: 768px) {
  .footer-unten {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
  }
}
