/* Förder-/Zuschuss-Wegweiser — Stil gespiegelt an potenzial-check.css / ersparnis-rechner.css */

.fc-wrap { max-width: 820px; margin-inline: auto; }

/* JS-/No-JS-Sichtbarkeit */
.js-only { display: none; }
.js .js-only { display: block; }
.nojs-note { display: block; }
.js .nojs-note { display: none; }
.nojs-note { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.nojs-note a { color: var(--blue-2); }

/* Unverbindlich-Hinweis-Box (kein Side-Tab-Akzent) */
.fc-note {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid var(--line-d-strong);
  border-radius: 14px;
  background: var(--panel-2);
}
.fc-note p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }
.fc-note b { color: var(--ice); font-weight: 600; }

/* Eingabe-Felder */
.fc-form {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(20px, 3.4vw, 32px);
}
.fc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fc-fields .field { display: block; min-width: 0; }
.fc-fields .field > label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ice);
  margin-bottom: 8px;
}
.fc-fields .field select { width: 100%; }
.fc-optional { color: var(--muted); font-weight: 400; font-size: .85em; }
.fc-field-note { margin: 8px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.5; }

.fc-actions { margin-top: 20px; }
.fc-hint { color: var(--blue-2); font-size: .9rem; margin: 12px 0 0; min-height: 1em; }

.fc-privacy {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--slate-text);
}

/* Ergebnis */
.fc-result { margin-top: 26px; }
.fc-result-card {
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}
.fc-result-card .fc-result-h {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 4px 0 18px;
  color: var(--ice);
}
.fc-result-card .fc-result-h:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 4px; border-radius: 6px; }

.fc-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.fc-item {
  border: 1px solid var(--line-d);
  border-radius: 14px;
  background: var(--panel-2);
  padding: 16px 18px;
}
.fc-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--blue-2);
  text-decoration: none;
  line-height: 1.4;
}
.fc-link:hover { text-decoration: underline; }
.fc-link:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
.fc-ext { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .03em; color: var(--slate-text); font-weight: 400; white-space: nowrap; }
.fc-quelle { margin: 6px 0 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .03em; color: var(--slate-text); }
.fc-warum { margin: 8px 0 0; color: var(--muted); line-height: 1.55; font-size: .95rem; }
.fc-filter {
  margin: 10px 0 0;
  padding: 10px 13px;
  border: 1px solid var(--line-d);
  border-radius: 10px;
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: .76rem;
  line-height: 1.6;
  color: var(--ice);
  word-break: break-word;
}

.fc-result-card .fc-reset { margin-top: 14px; }
.fc-disclaimer { margin-top: 18px; font-size: .8rem; color: var(--slate-text); line-height: 1.6; }
.fc-stand {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .03em;
  line-height: 1.6;
  color: var(--slate-text);
}

@media (max-width: 620px) {
  .fc-fields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* lange Button-Beschriftungen dürfen auf schmalen Screens umbrechen statt zu überlaufen */
  .fc-actions .btn, .fc-result-card .fc-reset { width: 100%; justify-content: center; white-space: normal; }
  .fc-ext { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .field input, .field select, .field textarea { transition: none; }
}
