/* ============================================================
   Projekte — seiten-eigene Ergänzungen (Liste + Detailseiten)
   Nutzt ausschließlich vorhandene Tokens aus style.css.
   ============================================================ */

/* Kompakte dunkle CTA-Karte im Page-Hero der Projektliste */
.cta-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-4);
  padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px;
}
.cta-card .eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 0; }
.cta-card__title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500; line-height: 1.15;
  letter-spacing: -0.015em; color: #fff;
  margin: 0;
}
.cta-card p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.72); margin: 0; }
.cta-card .btn { margin-top: 8px; }

/* Prominenter Fortschrittsbalken (Need-Bar der Detailseiten) */
.progress--thick { height: 6px; }

/* Bedarfsliste: erfüllte Zeilen ausgegraut */
.list-row.is-done,
.list-row.is-done:hover { opacity: 0.45; }
.list-row.is-done .list-row__title { text-decoration: line-through; text-decoration-thickness: 1px; }

/* Rollen-Karten: besetzte Rolle gedimmt */
.card.is-muted { opacity: 0.55; }

/* Person auf dunkler Fläche (Ministry-Banner) */
.cta-banner .person__name { color: #fff; }
.cta-banner .person__role { color: rgba(255,255,255,0.6); }
.cta-banner--sand .person__name { color: var(--ink); }
.cta-banner--sand .person__role { color: var(--muted); }

/* ============================================================
   Funding-Block — Kennzahlen-Reihe, Status, Verantwortliche
   ============================================================ */

/* Sekundäre Kennzahlen neben/unter dem großen Stand/Ziel */
.fund-metrics {
  display: flex; flex-wrap: wrap;
  gap: 22px 44px; align-items: baseline;
  margin-top: 24px;
}
.fund-metric__num {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500; line-height: 1;
  letter-spacing: -0.02em; color: var(--ink);
}
.fund-metric__lbl {
  font-size: 13px; color: var(--muted);
  margin-top: 8px; letter-spacing: 0.01em;
}

/* Status-Zeile (Mono, bewusst kein Countdown) */
.fund-status {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.01em;
  color: var(--blue);
  margin-top: 22px;
}

/* Verantwortlichen-Zeile */
.fund-owner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fund-owner__who { font-size: 14px; color: var(--muted); line-height: 1.4; }
.fund-owner__who strong { color: var(--ink); font-weight: 600; }
.fund-owner__link {
  font-size: 14px; font-weight: 500; color: var(--blue);
  text-decoration: none; white-space: nowrap;
}
.fund-owner__link:hover { text-decoration: underline; }

/* Aktionszeile (Spenden/Fürbitte) – deutlich Luft zur Verantwortlichen-Zeile */
.fund-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 30px;
}

/* ============================================================
   Mittelverwendung — Posten-Liste ("Wofür genau")
   ============================================================ */
.cost-list { list-style: none; margin: 0; padding: 0; }
.cost-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; padding: 15px 0;
  border-bottom: 1px solid var(--line-onW);
}
.cost-list li:first-child { padding-top: 0; }
.cost-list__label { font-size: 16px; color: var(--ink); line-height: 1.4; }
.cost-list__amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px; font-weight: 500; color: var(--ink);
  white-space: nowrap;
}
.cost-list__total {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; padding-top: 16px; margin-top: 2px;
}
.cost-list__total .cost-list__label { font-weight: 600; }
.cost-list__total .cost-list__amount { font-weight: 700; }

/* Datierte Neuigkeiten (kompakt, reused list-rows) */
.news-row { grid-template-columns: 120px 1fr; align-items: baseline; }
.news-row__date { margin: 0; white-space: nowrap; }
.news-row__text { font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.news-foot { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ============================================================
   Kanal-CTAs im Projekt-Hero (Spende/Material/Mitarbeit/Fürbitte)
   ============================================================ */
.kanal-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ============================================================
   F8 — Neuigkeiten als Feed-Cards (Avatar/Datum/Text/optionales Foto)
   ============================================================ */
.feed { display: grid; gap: 18px; }
.feed-card {
  background: #fff;
  border: 1px solid var(--line-onW);
  border-radius: var(--r-4);
  padding: 22px 24px;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.feed-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.feed-card__avatar { flex: 0 0 auto; }
.feed-card__who { display: flex; flex-direction: column; line-height: 1.25; }
.feed-card__author { font-weight: 600; color: var(--ink); font-size: 15px; }
.feed-card__date {
  font-size: 12px; color: var(--muted);
  font-family: var(--font-mono); letter-spacing: 0.01em; margin-top: 2px;
}
.feed-card__text p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
/* Foto läuft bis zur Kante (negative Innen-Margins + Breiten-Ausgleich) */
.feed-card__img {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  height: auto;
  margin: 18px -24px -22px;
  border-top: 1px solid var(--line-onW);
}
.feed-card--enter { opacity: 0; transform: translateY(12px); }

.feed-more { margin-top: 24px; display: flex; justify-content: center; }

@media (max-width: 560px) {
  .feed-card { padding: 20px 18px; }
  .feed-card__img { width: calc(100% + 36px); margin: 16px -18px -20px; }
}

/* ============================================================
   Sticky In-Page-Jumpnav – Anker-Ziele unter Header + Leiste
   (--jump-offset wird von DetailJumpNav live gesetzt; Fallback 128px)
   ============================================================ */
.jump-target { scroll-margin-top: var(--jump-offset, 128px); }
