/* KI-Assistent – Schwarz Heizungsfachbetrieb */
.sa-knopf{position:fixed;right:20px;bottom:20px;z-index:9000;display:flex;align-items:center;gap:8px;padding:12px 18px;border:0;border-radius:999px;background:#C2410C;color:#fff;font:600 16px/1.2 "Source Sans 3",system-ui,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.22);cursor:pointer}
.sa-knopf:hover{filter:brightness(1.08)}
.sa-knopf svg{width:22px;height:22px;flex:none}
.sa-fenster{position:fixed;right:20px;bottom:84px;z-index:9001;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 110px);display:none;flex-direction:column;background:#fff;color:#1d1d1f;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.25);overflow:hidden;font:16px/1.45 "Source Sans 3",system-ui,sans-serif}
.sa-fenster.offen{display:flex}
.sa-kopf{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;background:#23282E;color:#fff}
.sa-kopf strong{font:700 17px/1.2 "Barlow Semi Condensed","Source Sans 3",sans-serif;letter-spacing:.2px}
.sa-kopf small{display:block;opacity:.75;font-size:13px}
.sa-zu{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:4px 8px}
.sa-verlauf{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#f4f5f6}
.sa-msg{max-width:88%;padding:9px 12px;border-radius:12px;white-space:pre-wrap;word-wrap:break-word}
.sa-msg.bot{align-self:flex-start;background:#fff;border:1px solid #e1e4e8}
.sa-msg.ich{align-self:flex-end;background:#C2410C;color:#fff}
.sa-msg a{color:#C2410C;font-weight:600}
.sa-msg.ich a{color:#fff}
.sa-tipp{align-self:flex-start;color:#6b7280;font-size:14px;padding:2px 4px}
.sa-vorschlaege{display:flex;flex-wrap:wrap;gap:6px}
.sa-vorschlaege button{border:1px solid #C2410C;background:#fff;color:#C2410C;border-radius:999px;padding:6px 11px;font:inherit;font-size:14px;cursor:pointer}
.sa-start{padding:14px;font-size:14px;color:#374151;background:#fff;border-top:1px solid #e1e4e8}
.sa-start p{margin:0 0 10px}
.sa-start a{color:#C2410C}
.sa-start button{width:100%;padding:10px;border:0;border-radius:10px;background:#C2410C;color:#fff;font-family:inherit;font-weight:600;font-size:15px;cursor:pointer}
.sa-eingabe{display:none;gap:8px;padding:10px;border-top:1px solid #e1e4e8;background:#fff}
.sa-eingabe.aktiv{display:flex}
.sa-eingabe textarea{flex:1;resize:none;height:44px;max-height:120px;padding:10px;border:1px solid #cfd4da;border-radius:10px;font:inherit;font-size:16px}
.sa-eingabe button{border:0;border-radius:10px;background:#C2410C;color:#fff;padding:0 14px;font-family:inherit;font-weight:600;font-size:15px;cursor:pointer}
.sa-eingabe button:disabled{opacity:.5;cursor:default}
.sa-fuss{padding:6px 12px 8px;font-size:12px;color:#6b7280;background:#fff;text-align:center}
@media (max-width:520px){
  .sa-knopf{right:12px;bottom:12px;padding:11px 15px}
  .sa-knopf span{display:none}
  .sa-fenster{right:0;bottom:0;width:100vw;max-width:100vw;height:100%;max-height:100%;border-radius:0}
}
@media print{.sa-knopf,.sa-fenster{display:none!important}}