/* ── Hofer.Consult — Detailseiten (Forschungszulage, ZIM) ──
   Loaded after base.css and legal.css; reuses the legal page layout
   and adds tables, status callout, FAQ, CTA box and source list. */

/* Status callout (z. B. ZIM-Antragsstopp) — same red as the home page chip */
.legal-callout.warn { background: #FBF0EE; border-color: #EBC9C3; }
.legal-callout.warn .callout-icon { color: var(--signal-red); }

/* Tables */
.detail-table-wrap { overflow-x: auto; margin: 18px 0 22px; }
.detail-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--border-subtle); border-radius: 8px;
  font-size: 14.5px; line-height: 1.5;
}
.detail-table th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; text-align: left;
  color: var(--fg-tertiary); padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
}
.detail-table td {
  padding: 12px 16px; color: var(--fg-secondary); vertical-align: top;
  border-bottom: 1px dashed var(--border-subtle);
}
.detail-table tr:last-child td { border-bottom: none; }
.detail-table td:first-child { color: var(--fg-primary); font-weight: 500; }
.detail-table tr.is-current td { background: var(--brass-100); color: var(--fg-primary); }
@media (max-width: 600px) {
  .detail-table { font-size: 13px; }
  .detail-table th, .detail-table td { padding: 10px; hyphens: auto; overflow-wrap: anywhere; }
  .detail-table th { font-size: 10px; letter-spacing: .02em; }
  .detail-table td:first-child { overflow-wrap: normal; }
}

/* Numbered steps */
.detail-steps { list-style: none; counter-reset: step; margin: 14px 0 18px; }
.detail-steps li {
  counter-increment: step; position: relative;
  padding: 0 0 18px 44px; font-size: 15px; line-height: 1.6; color: var(--fg-secondary);
}
.detail-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--font-mono); font-size: 12px; color: var(--brass-600);
}
.detail-steps li strong { display: block; color: var(--fg-primary); font-weight: 600; }

/* FAQ */
.faq-item { padding: 18px 0; border-bottom: 1px dashed var(--border-subtle); }
.faq-item:last-child { border-bottom: none; }
.legal-section .faq-item h3 { margin-top: 0; }
.legal-section .faq-item p { margin-bottom: 0; }

/* CTA box */
.detail-cta {
  background: var(--forest-900); border-radius: 8px;
  padding: 32px; margin: 8px 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.detail-cta-t {
  font-family: var(--font-serif); font-size: 24px; line-height: 1.2;
  letter-spacing: -0.014em; color: var(--paper-50); max-width: 440px;
}
.detail-cta-d { font-size: 14px; color: var(--paper-300); margin-top: 8px; max-width: 440px; }

/* Sources */
.detail-sources { font-size: 14px; }
.detail-sources li { font-size: 14px; }
