/* ============================================================
   KSW Werkzeugkasten – Gemeinsamer Druck-/PDF-Stil
   Ziel: Im Ausdruck IMMER weißer, neutraler Hintergrund.
   Am Bildschirm ändert sich nichts (nur @media print).
   In jedem Programm einbinden:
     <link rel="stylesheet" href="assets/ksw-print.css" media="print">
   ============================================================ */
@media print {
  /* Seiten-/Grundhintergrund immer weiß, keine Verläufe */
  html, body {
    background: #ffffff !important;
    background-image: none !important;
  }
  body::before, body::after {
    content: none !important;
    background: none !important;
  }

  /* Dekorative Hintergründe / Schaltkreis-Overlays ausblenden */
  .circuit-bg, #circuit, .ksw-circuit, [class*="circuit"],
  #bg, .bg-anim, .backdrop {
    display: none !important;
  }

  /* Fixe Kopfleiste (BU-Topbar) nicht mitdrucken */
  .ksw-topbar { display: none !important; }

  /* Farbige Seiten-Kopfbalken / Hero: Inhalt bleibt, Farbe raus */
  header.hero, .hero, .appbar, .app-header {
    background: #ffffff !important;
    background-image: none !important;
    color: #1E1B4B !important;
    box-shadow: none !important;
    border-bottom: 1px solid #E1E5F5 !important;
  }
  header.hero *, .hero *, .appbar *, .app-header * { color: #1E1B4B !important; }

  /* Große farbige Ergebnis-/Verdict-Boxen neutralisieren */
  .verdict {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #E1E5F5 !important;
    color: #1E1B4B !important;
    box-shadow: none !important;
  }
  .verdict * { color: #1E1B4B !important; }
}
