/* Nutzerfotos beisteuern – 22.11.2026 */

.ndfb-knopf {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: var(--ds-space-3) 0 0;
  padding: 11px 14px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ds-brand);
  background: transparent;
  border: 1px dashed var(--ds-brand);
  border-radius: var(--ds-radius-control);
  cursor: pointer;
}
.ndfb-knopf:hover { background: var(--ds-brand-soft); }
body.n30-dark .ndfb-knopf { color: #8fd6a4; border-color: #8fd6a4; }
body.n30-dark .ndfb-knopf:hover { background: #ffffff14; }

.ndfb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: grid;
  place-items: center;
  padding: var(--ds-space-4);
  background: rgba(10, 18, 13, .6);
}
.ndfb-box {
  width: min(460px, 100%);
  max-height: 88vh;
  overflow: auto;
  display: grid;
  gap: var(--ds-space-3);
  padding: var(--ds-space-5);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface-card);
  color: var(--ds-ink);
  box-shadow: 0 18px 48px rgba(10, 18, 13, .4);
}
.ndfb-box h2 { margin: 0; font-size: 20px; }
.ndfb-art { margin: 0; font-weight: 700; font-size: 14.5px; }
.ndfb-info { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ds-ink-muted); }

.ndfb-datei { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ndfb-dateilabel {
  justify-self: start;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ds-brand);
  border: 1px solid var(--ds-brand);
  border-radius: var(--ds-radius-pill);
  cursor: pointer;
}
.ndfb-vorschau img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--ds-radius-control);
  background: var(--ds-surface-sunken);
}
.ndfb-label { font-size: 12.5px; font-weight: 700; }
.ndfb-feld {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ds-ink);
  background: var(--ds-surface-sunken);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
}
.ndfb-zustimmung {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--ds-space-2);
  align-items: start;
  padding: var(--ds-space-3);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-surface-sunken);
  font-size: 12.5px;
  line-height: 1.5;
  cursor: pointer;
}
.ndfb-zustimmung input { width: 20px; height: 20px; margin-top: 1px; }
.ndfb-status { margin: 0; font-size: 12.5px; color: var(--ds-ink-muted); min-height: 1em; }

.ndfb-aktionen { display: flex; gap: var(--ds-space-2); }
.ndfb-aktionen button { flex: 1; min-height: 46px; font: inherit; font-weight: 700; border-radius: var(--ds-radius-control); cursor: pointer; }
.ndfb-abbrechen { background: transparent; border: 1px solid var(--ds-line); color: var(--ds-ink); }
.ndfb-senden { background: var(--ds-brand); border: 1px solid var(--ds-brand); color: var(--ds-brand-contrast); }
.ndfb-senden:disabled { opacity: .5; cursor: default; }

/* Founder-Prüfung */
#ndfbFounder { display: grid; gap: var(--ds-space-3); }
.ndfb-fall {
  display: grid;
  gap: var(--ds-space-2);
  padding: var(--ds-space-3);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-surface-sunken);
}
.ndfb-fall-bild { width: 100%; max-height: 240px; object-fit: cover; border-radius: var(--ds-radius-control); }
.ndfb-fall-kopf { display: flex; gap: var(--ds-space-2); align-items: baseline; flex-wrap: wrap; }
.ndfb-fall-kopf em { font-size: 12.5px; opacity: .75; }
.ndfb-fall-meta { margin: 0; font-size: 12.5px; color: var(--ds-ink-muted); }
.ndfb-fall-aktionen { display: flex; gap: var(--ds-space-2); }
.ndfb-fall-aktionen button { flex: 1; min-height: 42px; font: inherit; font-weight: 700; border-radius: var(--ds-radius-control); cursor: pointer; }
.ndfb-tun { background: var(--ds-brand); border: 1px solid var(--ds-brand); color: var(--ds-brand-contrast); }
.ndfb-lassen { background: transparent; border: 1px solid var(--ds-line); color: var(--ds-ink); }

body.n30-dark .ndfb-box { background: #16291e; color: #e9f3ec; }
body.n30-dark .ndfb-feld,
body.n30-dark .ndfb-zustimmung,
body.n30-dark .ndfb-fall { background: #1d3527; border-color: #33503c; color: #e9f3ec; }
