/* ============================================================
 * Fußbereich · gilt für alle Seiten
 * ------------------------------------------------------------
 * Wird von inc/head.php nach dem seiten-eigenen CSS geladen und
 * sorgt dafür, dass der Footer überall identisch aussieht — die
 * Einzelseiten brachten vorher leicht abweichende Regeln mit.
 * ============================================================ */

.foot-bottom {
  max-width: 1400px;
  margin: 80px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  text-transform: none;
  letter-spacing: normal;
}

.foot-bottom a,
.foot-bottom .links a {
  color: rgba(255, 255, 255, .5);
  margin-left: 20px;
}

.foot-bottom a:hover,
.foot-bottom .links a:hover {
  color: var(--cream, #FAF7F2);
}

/* Überschriften der „Weitere Seiten"-Karten.
   Waren früher <h4> und erzeugten damit einen Sprung H2 → H4.
   Jetzt <h3>; Optik unverändert, weil diese Datei nach dem
   Seiten-CSS geladen wird. */
.related-card h3 {
  font-family: var(--sans, sans-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink, #1B1B1F);
  letter-spacing: -0.015em;
}
@media (max-width: 720px) {
  .related-card h3 { font-size: 19px; }
}

/* Spaltenbeschriftungen im Fußbereich.
   Ersetzen die früheren <h4>-Elemente, die in der Gliederung jeder
   Seite einen Sprung H2 → H4 verursacht haben. Optik unverändert;
   diese Datei lädt nach dem Seiten-CSS und gewinnt daher. */
footer .foot-h {
  font-family: var(--sans, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 18px;
}

/* Gestaltungsnachweis: eigene Zeile, mittig unter dem Fußbereich */
.foot-credit {
  max-width: 1400px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.foot-credit a {
  color: rgba(255, 255, 255, .55);
  margin: 0;
  text-decoration: none;
}
.foot-credit a:hover { color: var(--cream, #FAF7F2); }

/* Mobil linksbündig — passt zur gestapelten, linksbündigen Fußzeile */
@media (max-width: 640px) {
  .foot-credit { margin-top: 14px; font-size: 11px; text-align: left; }
}

@media (max-width: 640px) {
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 24px;
  }

  .foot-bottom a,
  .foot-bottom .links a {
    margin-left: 0;
    margin-right: 18px;
  }
}
