/* ---------- Sprachumschalter (inc/sprache.php) ---------- */
#fw-lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0;
  font-size: .8rem;
  color: #5b6770;
}
#fw-lang ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
#fw-lang li { margin: 0; padding: 0; }
#fw-lang a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 .7em;
  border: 1px solid #cfdde3;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #006f8c;
  background: #fff;
  text-decoration: none;
}
#fw-lang a:hover, #fw-lang a:focus-visible { background: #e8f4f8; color: #005b73; }
#fw-lang .aktiv a { background: #00809f; border-color: #006f8c; color: #fff; }
#fw-lang .fw-lang-voll { display: none; }
.fw-lang-icon { flex: none; color: #006f8c; }

#content p.fw-hinweis {
  margin: 0 0 1.4em;
  padding: .7em 1em .7em 1.1em;
  border-left: 4px solid #00809f;
  background: #f1f7f9;
  border-radius: 0 4px 4px 0;
  font-size: .9rem;
  color: #3a4a52;
}
#content p.fw-hinweis a { white-space: nowrap; }

@media screen and (min-width: 1101px) {
  #fw-lang .fw-lang-voll { display: inline; }
  #fw-lang .fw-lang-voll { margin-left: .45em; font-weight: 400; letter-spacing: 0; }
  #fw-lang a { padding: 0 .9em; }
}
@media screen and (max-width: 680px) {
  #fw-lang { justify-content: center; padding: 10px 0 0; }
  #fw-lang a { min-height: 40px; min-width: 44px; justify-content: center; }
}

/* Zaehler in der Seitenleiste bleibt am letzten Wort (lange Titel in es/fr) */
#secondary .menu-count { white-space: nowrap; }
#secondary li.cat-item > a { overflow-wrap: anywhere; }

/* ---------- Spendenaufruf (unter dem Inhalt jeder Seite) ---------- */
.fw-spende {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0 0;
  padding: 26px clamp(18px, 3vw, 36px);
  border-radius: 6px;
  background: linear-gradient(135deg, #00809f, #005b73);
  color: #fff;
}
.fw-spende h2, .fw-spende p.fw-spende-titel { margin: 0 0 .25em; padding: 0; font-family: 'Noto Sans', system-ui, sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1.25; color: #fff; text-transform: none; letter-spacing: 0; }
.fw-spende p { margin: 0; padding: 0; color: #e8f4f8; max-width: 60ch; }
.fw-spende p.fw-spende-titel { max-width: none; color: #fff; }
a.fw-spende-knopf {
  flex: none;
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: #ffd23f;
  color: #1d2a30;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
a.fw-spende-knopf:hover, a.fw-spende-knopf:focus-visible { background: #ffe07a; color: #1d2a30; }
a.fw-spende-knopf:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- Fuss ---------- */
#colophon { margin-top: 0; padding: 28px 0 0; border-top: 0; }
.fw-fuss {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 28px 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3e8ec;
}
.fw-fuss h2, .fw-fuss p.fw-fuss-titel {
  margin: 0 0 .6em;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3a4a52;
}
.fw-fuss p, .fw-fuss dl, .fw-fuss ul { margin: 0 0 .6em; padding: 0; }
.fw-fuss .fw-klein { font-size: .82rem; color: #5b6770; }
.fw-fuss dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; }
.fw-fuss dt { font-weight: 700; color: #3a4a52; }
.fw-fuss dd { margin: 0; overflow-wrap: anywhere; }
.fw-fuss ul { list-style: none; }
.fw-fuss li { margin: 0; padding: 3px 0; }
.fw-fuss a { color: #006f8c; }
p.fw-copy { margin: 14px 0 0; padding: 0; font-size: .82rem; color: #5b6770; text-align: center; }

@media screen and (max-width: 1000px) {
  .fw-fuss { grid-template-columns: 1fr 1fr; }
  .fw-fuss nav { grid-column: 1 / -1; }
}
@media screen and (max-width: 680px) {
  .fw-spende { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; padding: 22px 18px; }
  .fw-spende p { max-width: none; }
  a.fw-spende-knopf { padding: 1em; }
  .fw-fuss { grid-template-columns: 1fr; gap: 20px; }
}
