/* ==========================================================================
   BFSG-Checker
   Portiert aus dem WordPress-Plugin bfsg-checker-tool.php (Shortcode
   [bfsg_checker]). Farben und Bauteile auf die bestehenden Tokens
   umgestellt -- #ed6a53/#c42d4e aus dem Original SIND bereits
   --color-orange/--color-red, insofern passte die Optik im Kern schon.
   ========================================================================== */

.bfsg-checker-wrapper { margin-top: 2.5rem; }

.bfsg-checker-titel {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  text-align: center;
  color: var(--color-navy);
}

.bfsg-checker {
  max-width: 34rem;
  margin-inline: auto;
  padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;

  transition: opacity .25s ease;
}

.bfsg-checker.ist-am-wechseln { opacity: 0; }

.bfsg-frage {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.35;
}

.bfsg-erklaerung {
  margin-top: .6rem;
  font-size: .9rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

.bfsg-optionen {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.bfsg-optionen button {
  padding: .75em 2em;
  font: inherit;
  font-weight: 700;
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.bfsg-optionen button:hover { opacity: .9; }
.bfsg-optionen button:active { transform: scale(.96); }

.bfsg-ja  { background: var(--color-orange); }
.bfsg-nein { background: var(--color-red); }

/* Ergebnis: gleiches Muster wie die Formular-Rückmeldung
   (.formular-status.ist-erfolg / .ist-fehler) -- eine Farbsprache für
   "positiv" und "braucht Handlung" statt einer neuen. */
.bfsg-ergebnis {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  border-radius: var(--radius-md);
}

.bfsg-ergebnis.betroffen {
  color: var(--color-danger);
  background: #FDF2F4;
  border: 1px solid #F3D2DA;
}

.bfsg-ergebnis.nicht-betroffen {
  color: #0B5B3A;
  background: #E8F7F0;
  border: 1px solid #B9E6D2;
}

.bfsg-ergebnis small {
  display: block;
  margin-top: .75rem;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.5;
  opacity: .9;
}

.bfsg-termin {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.bfsg-termin p {
  margin: 0 0 .75rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--color-navy);
}

#bfsg-neustart {
  margin-top: 1.5rem;
  padding: .7em 1.7em;
  font: inherit;
  font-weight: 700;
  color: var(--color-white);
  background: var(--gradient-brand);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(196, 45, 78, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}

#bfsg-neustart:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(196, 45, 78, .38); }

@media (max-width: 480px) {
  .bfsg-optionen { flex-direction: column; }
  .bfsg-optionen button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bfsg-checker { transition: none; }
  #bfsg-neustart:hover { transform: none; }
}
