/* ============================================================
   BILANZO CTA-BUTTON BRANDING (sitewide)
   ------------------------------------------------------------
   Einheitliche Primaerfarbe fuer alle Download-/CTA-Buttons.
   Basis  #2563EB  (Weiss darauf = 5.17:1, WCAG AA)
   Hover  #1D4ED8  (Weiss darauf = 7.0:1)

   WARUM !important:
   Das Plugin "Bexio-AI-Agent-WordPress" laedt sitewide
   (ui-components.css / frontend.css / registration-form.css)
   eigene .btn-primary-Regeln, teils mit hoeherer Spezifitaet
   (.btn-primary:hover:not(:disabled)) und Gradients. Dazu setzen
   mehrere Templates inline `a { color: inherit !important; }`,
   was die weisse Buttonschrift killt. Diese Datei ist der
   bewusste Override-Layer und wird mit Prio 1000 als letztes
   Stylesheet geladen.

   Bewusst NICHT betroffen: Footer, dunkle Panels/Heroes,
   Code-Bloecke und die aktive Konto-Navigation (alle --slate).
   ============================================================ */

:root {
  --cta:       #2563EB;
  --cta-hover: #1D4ED8;
}

.btn-primary,
a.btn-primary,
.btn.btn-primary,
button.btn-primary,
.btn-cta-primary,
.btn.btn-cta-primary,
.tk-btn,
.nav-btn,
.bzs-btn {
  background: var(--cta) !important;
  background-color: var(--cta) !important;
  background-image: none !important;
  color: #fff !important;
  border-color: var(--cta) !important;
}

.btn-primary:hover:not(:disabled),
a.btn-primary:hover,
.btn.btn-primary:hover,
button.btn-primary:hover:not(:disabled),
.btn-cta-primary:hover,
.btn.btn-cta-primary:hover,
.tk-btn:hover,
.nav-btn:hover,
.bzs-btn:hover {
  background: var(--cta-hover) !important;
  background-color: var(--cta-hover) !important;
  background-image: none !important;
  color: #fff !important;
  border-color: var(--cta-hover) !important;
}

/* Schatten in Markenblau statt Schwarz */
.btn-primary:hover,
.btn-cta-primary:hover,
.tk-btn:hover,
.nav-btn:hover {
  box-shadow: 0 6px 24px rgba(37, 99, 235, .30) !important;
}

/* Disabled bleibt neutral, nicht blau */
.btn-primary:disabled,
button.btn-primary[disabled],
.bzs-btn:disabled {
  background: #94A3B8 !important;
  background-color: #94A3B8 !important;
  border-color: #94A3B8 !important;
  cursor: not-allowed;
}

/* Gefahren-Buttons behalten Rot (Key erneuern etc.) */
.bzs-btn--danger,
.btn-primary.is-danger {
  background: #DC2626 !important;
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
}
.bzs-btn--danger:hover,
.btn-primary.is-danger:hover {
  background: #B91C1C !important;
  background-color: #B91C1C !important;
  border-color: #B91C1C !important;
}

/* Buttons auf dunklem Grund (weisse Variante) bleiben weiss */
.btn-white,
.btn-ghost-white,
.plan-featured .plan-cta {
  background-image: none;
}
