/* =============================================================
   Fidesa Finanz — Refinement layer (v2)
   Goal: cleaner, quieter, no gold accents except in the brand mark.
   Strips decorative gold lines/dots, mutes italic serif emphasis,
   keeps typography honest and restrained.
   ============================================================= */

/* ---------- Re-map gold accent tokens to neutral ink ---------- */
:root {
  --ff-accent: var(--ff-navy-800);
  --ff-accent-soft: var(--ff-ink-400);
  --ff-accent-line: var(--ff-ink-200);
}

/* ---------- Eyebrow: drop the gold tick, neutral mono label ---------- */
.ff-eyebrow {
  color: var(--ff-ink-500) !important;
  letter-spacing: 0.12em !important;
  font-weight: 600;
}
.ff-eyebrow::before {
  background: var(--ff-ink-300) !important;
  height: 1px !important;
  width: 24px !important;
}
.ff-eyebrow.on-dark { color: rgba(255,255,255,0.65) !important; }
.ff-eyebrow.on-dark::before { background: rgba(255,255,255,0.35) !important; }

/* ---------- Headlines: remove italic-serif gold emphasis ---------- */
.ff-hero-title em,
.ff-hero-parallax-title em,
.ff-hero-logo-title em,
.ff-section-head h2 em,
.ff-positioning-copy h2 em,
.ff-pillar h3 em,
.ff-impact-section .ff-section-head h2 em,
.ff-cta-strip h2 em,
.ff-leistung h2 em {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: 800 !important;
  color: inherit !important;
  font-size: inherit !important;
}
.ff-hero-parallax-title em,
.ff-impact-section .ff-section-head h2 em,
.ff-cta-strip h2 em { color: #fff !important; }

/* Optional: keep one subtle "soft" treatment — slightly lighter weight,
   nothing decorative. Disabled for now; uncomment if desired. */

/* ---------- Hero meta: thin line stays, no gold ---------- */
.ff-hero-meta::before { background: var(--ff-ink-300) !important; }
.ff-hero-meta-on-image::before { background: rgba(255,255,255,0.45) !important; }
.ff-hero-meta-on-image .ff-hero-meta-dot { background: rgba(255,255,255,0.55) !important; }
.ff-hero-meta-dot { background: var(--ff-ink-400) !important; }

/* ---------- Parallax hero: tone down. Less heroic, more honest ---------- */
.ff-hero-parallax {
  height: clamp(580px, 80vh, 760px) !important;
}
.ff-hero-parallax-scrim {
  background:
    linear-gradient(180deg, rgba(8, 32, 64, 0.55) 0%, rgba(8, 32, 64, 0.40) 50%, rgba(8, 32, 64, 0.85) 100%),
    linear-gradient(95deg, rgba(8, 32, 64, 0.60) 0%, rgba(8, 32, 64, 0.20) 65%, rgba(8, 32, 64, 0.05) 100%) !important;
}
.ff-hero-parallax-quote {
  border-left: 1px solid rgba(255,255,255,0.35) !important;
  background: rgba(8, 32, 64, 0.72) !important;
}
.ff-hero-parallax-quote-num {
  font-family: var(--ff-sans) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-size: 40px !important;
}
.ff-hero-parallax-title {
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}
.ff-hero-title { font-weight: 700 !important; }

/* ---------- Logo hero quote: neutral lines ---------- */
.ff-hero-logo-quote {
  border-top: 1px solid var(--ff-ink-200) !important;
  border-bottom: 1px solid var(--ff-ink-200) !important;
}
.ff-hero-logo-quote-num {
  font-family: var(--ff-sans) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  color: var(--ff-navy-800) !important;
}
.ff-hero-logo-mark::before,
.ff-hero-logo-mark::after { display: none !important; }

/* ---------- Thread / 50-50 divider: kill the gold half-line ---------- */
.ff-thread::before { background: var(--ff-ink-300) !important; height: 1px !important; }
.ff-thread-label { color: var(--ff-ink-500) !important; font-weight: 600 !important; }
.ff-thread-label .gold-dot { display: none !important; }

/* ---------- Hero impact card (overlay variants): neutral navy ---------- */
.ff-hero-impact-card {
  border-bottom: 1px solid rgba(255,255,255,0.20) !important;
}
.ff-hero-impact-card .label { color: rgba(255,255,255,0.6) !important; }
.ff-hero-impact-card .label::before { background: rgba(255,255,255,0.45) !important; }
.ff-hero-impact-card .num small { color: rgba(255,255,255,0.65) !important; }

/* ---------- Positioning pillars: replace the × divider ---------- */
.ff-pillars-divider { color: var(--ff-ink-300) !important; }
.ff-pillar-stat-num.gold { color: var(--ff-navy-800) !important; }
.ff-pillar-key strong { color: var(--ff-navy-800) !important; }

/* ---------- Service tiles ---------- */
.ff-service-num { color: var(--ff-ink-500) !important; }
.ff-service-arrow { color: var(--ff-navy-700) !important; }

/* ---------- Impact section (dark): no gold top edge, no gold accents ---------- */
.ff-impact-section::before { display: none !important; }
.ff-impact-section .ff-section-head h2 em { color: #fff !important; }
.ff-visualizer-meta { color: rgba(255,255,255,0.6) !important; }
.ff-vis-card { border-left: 1px solid rgba(255,255,255,0.18) !important; }
.ff-vis-result-row .num.gold { color: #fff !important; }
.ff-slider-row input[type="range"]::-webkit-slider-thumb {
  background: #fff !important;
  border: 2px solid var(--ff-navy-900) !important;
}
.ff-slider-row input[type="range"]::-moz-range-thumb {
  background: #fff !important;
  border: 2px solid var(--ff-navy-900) !important;
}

.ff-impact-card:hover {
  border-color: var(--ff-navy-600) !important;
}
.ff-impact-card-tag {
  color: rgba(255,255,255,0.65) !important;
  border-left: 1px solid rgba(255,255,255,0.30) !important;
}
.ff-impact-card-num { color: #fff !important; }
.ff-impact-disclosure {
  border-left: 1px solid rgba(255,255,255,0.25) !important;
}
.ff-impact-disclosure a {
  color: rgba(255,255,255,0.9) !important;
}

/* ---------- About / Quote ---------- */
.ff-about-quote-mark { color: var(--ff-ink-200) !important; }
.ff-about-attr-line { background: var(--ff-ink-300) !important; }

/* ---------- Process ---------- */
.ff-process-step-num { color: var(--ff-navy-200, var(--ff-ink-300)) !important; }

/* ---------- USP / accents ---------- */
.ff-usp-item:nth-child(4) { border-top-color: var(--ff-ink-200) !important; }
.ff-usp-item .key { color: var(--ff-ink-500) !important; }

/* ---------- CTA strip: navy edge, no gold ---------- */
.ff-cta-strip {
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}
.ff-cta-strip h2 em { color: rgba(255,255,255,0.85) !important; }
.ff-btn-gold {
  background: #fff !important;
  color: var(--ff-navy-900) !important;
}
.ff-btn-gold:hover { background: rgba(255,255,255,0.9) !important; }

/* ---------- Forms ---------- */
.ff-form-section {
  border-top: 1px solid var(--ff-ink-200) !important;
}
.ff-form-step.active { border-top-color: var(--ff-navy-700) !important; }
.ff-form-step.done {
  color: var(--ff-navy-700) !important;
  border-top-color: var(--ff-navy-700) !important;
}
.ff-field label .req { color: var(--ff-navy-700) !important; }
.ff-field input:focus,
.ff-field textarea:focus,
.ff-field select:focus {
  border-color: var(--ff-navy-700) !important;
  box-shadow: 0 0 0 3px rgba(8, 62, 96, 0.12) !important;
}
.ff-form-legal {
  border-left: 1px solid var(--ff-ink-200) !important;
}

/* ---------- Footer ---------- */
.ff-footer {
  border-top: 1px solid rgba(255,255,255,0.10) !important;
}
.ff-footer-tagline {
  font-family: var(--ff-sans) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px !important;
}
.ff-footer-col h4 {
  color: rgba(255,255,255,0.55) !important;
  font-family: var(--ff-sans) !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
}
.ff-footer-col a:hover { color: #fff !important; }
.ff-footer-nav a:hover { color: #fff !important; }

/* ---------- Cookie banner ---------- */
.ff-cookie {
  border-left: 1px solid var(--ff-ink-200) !important;
}

/* ---------- Sub-page (Leistungen) accents ---------- */
.ff-toc-item .num { color: var(--ff-ink-500) !important; }
.ff-leistung-number {
  font-family: var(--ff-sans) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  color: var(--ff-ink-200) !important;
}
.ff-leistung-bullets li {
  border-left: 1px solid var(--ff-ink-200) !important;
}
.ff-leistung-bullets li .key { color: var(--ff-ink-500) !important; }
.ff-positioning-copy h2 em { color: inherit !important; }

/* ---------- Pillar stat numbers in the positioning section ---------- */
.ff-pillar-stat-num { color: var(--ff-navy-800) !important; }

/* ---------- Inline serif quote ornaments (about page etc) ---------- */
.ff-pull-quote::before { color: var(--ff-ink-200) !important; }

/* ---------- Reduce overall section padding spread slightly for calmer rhythm ---------- */
.ff-section { padding-top: 88px; padding-bottom: 88px; }

/* ---------- Headlines: friendlier weight, less display-y ---------- */
h2, .ff h2 { font-weight: 700 !important; }

/* ---------- Positioning headline: drop italic, neutralize ---------- */
.ff-positioning-copy h2 {
  font-weight: 700 !important;
  letter-spacing: -0.005em !important;
}

/* ---------- Hero parallax inner: subtler scrim spotlight ---------- */
.ff-hero-parallax-inner::before {
  background: radial-gradient(ellipse at left center,
    rgba(8, 32, 64, 0.45) 0%,
    rgba(8, 32, 64, 0.20) 45%,
    transparent 80%) !important;
}

/* ============================================================
   IMPACT LEDGER — editorial project list (v1 / refined)
   Mirrors the structure in styles-v2.css with v1's color tone.
   ============================================================ */
.ff-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.ff-ledger-row {
  display: grid;
  grid-template-columns: 56px 200px 1fr 140px;
  gap: 32px;
  padding: 24px 0 26px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  align-items: baseline;
  position: relative;
  transition: background 180ms ease;
}
.ff-ledger-row:hover { background: rgba(255,255,255,0.02); }
.ff-ledger-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--ff-navy-600);
  opacity: 0;
  transition: opacity 180ms ease;
}
.ff-ledger-row:hover::before { opacity: 1; }

.ff-ledger-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.ff-ledger-tag-place {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 2px;
}
.ff-ledger-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ff-ledger-place {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.ff-ledger-body { min-width: 0; }
.ff-ledger-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.ff-ledger-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 560px;
  text-wrap: pretty;
}
.ff-ledger-amount {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  padding-top: 2px;
  white-space: nowrap;
}
.ff-ledger-amount .cur {
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-right: 6px;
  font-size: 18px;
}
.ff-ledger-total {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  margin-top: 8px;
  padding: 28px 0 30px;
}
.ff-ledger-total::before { display: none; }
.ff-ledger-amount-total {
  font-size: 30px;
  color: #fff;
}
@media (max-width: 1080px) {
  .ff-ledger-row {
    grid-template-columns: 40px 1fr;
    gap: 12px 20px;
    padding: 20px 0;
  }
  .ff-ledger-num { grid-row: 1; }
  .ff-ledger-tag-place { grid-row: 1; flex-direction: row; gap: 12px; align-items: baseline; }
  .ff-ledger-body { grid-column: 2; grid-row: 2; }
  .ff-ledger-amount {
    grid-column: 2; grid-row: 3;
    text-align: left;
    padding-top: 12px;
    font-size: 22px;
  }
}
