/* Lutz, Assistent auf bluhorn.ch */
.lutz-btn{position:fixed;right:20px;bottom:20px;z-index:60;display:inline-flex;align-items:center;gap:10px;background:#0c1e48;color:#fff;border:0;border-radius:999px;padding:8px 18px 8px 8px;font:600 15px/1.2 Inter,system-ui,sans-serif;box-shadow:0 10px 30px rgba(12,30,72,.28);cursor:pointer}
.lutz-btn:hover{background:#3069a2}
.lutz-btn:focus-visible,.lutz-x:focus-visible,.lutz-send:focus-visible,.lutz-chip:focus-visible{outline:3px solid #7edeea;outline-offset:2px}
.lutz-av{flex:none;width:38px;height:38px;border-radius:50%;background:#fff url(/assets/lutz-avatar.png) center/100% no-repeat;box-shadow:0 0 0 2px #7edeea}
.lutz-panel{position:fixed;right:20px;bottom:20px;z-index:61;width:380px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 40px);background:#fff;border:1px solid #d3deee;border-radius:18px;box-shadow:0 24px 60px rgba(12,30,72,.25);display:none;flex-direction:column;overflow:hidden;font:15px/1.5 Inter,system-ui,sans-serif;color:#0d1b33}
.lutz-panel.open{display:flex}
.lutz-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#0c1e48;color:#fff}
.lutz-head strong{display:block;font:600 16px/1.2 Montserrat,Inter,sans-serif}
.lutz-head span.sub{display:block;font-size:12px;color:#c9d6ea;margin-top:2px}
.lutz-x{margin-left:auto;background:transparent;border:0;color:#fff;font-size:22px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:8px}
.lutz-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#f6f8fb}
.lutz-m{max-width:88%;padding:10px 13px;border-radius:14px;white-space:normal;word-wrap:break-word;text-align:left;hyphens:manual;-webkit-hyphens:manual}
.lutz-panel p,.lutz-panel li{text-align:left!important;hyphens:manual;-webkit-hyphens:manual}
.lutz-m p{margin:0 0 6px}.lutz-m p:last-child{margin:0}
.lutz-m ul{margin:4px 0;padding-left:18px}
.lutz-m a{color:#3069a2;font-weight:600}
.lutz-bot{align-self:flex-start;background:#fff;border:1px solid #e1e8f2;border-bottom-left-radius:4px}
.lutz-me{align-self:flex-end;background:#3069a2;color:#fff;border-bottom-right-radius:4px}
.lutz-err{align-self:flex-start;background:#fff4f0;border:1px solid #f1c7b8;color:#8a2c0d}
.lutz-chips{display:flex;flex-wrap:wrap;gap:6px}
.lutz-chip{background:#fff;border:1px solid #b9dfe8;color:#0c1e48;border-radius:999px;padding:6px 12px;font:500 13px/1.3 Inter,system-ui,sans-serif;cursor:pointer}
.lutz-chip:hover{background:#e9fbfd}
.lutz-dots{display:inline-flex;gap:4px}.lutz-dots i{width:6px;height:6px;border-radius:50%;background:#8ea3c4;animation:lutzb 1s infinite ease-in-out}.lutz-dots i:nth-child(2){animation-delay:.15s}.lutz-dots i:nth-child(3){animation-delay:.3s}
@keyframes lutzb{0%,80%,100%{opacity:.3}40%{opacity:1}}
.lutz-form{display:flex;gap:8px;padding:12px;border-top:1px solid #e1e8f2;background:#fff}
.lutz-form textarea{flex:1;resize:none;height:44px;max-height:110px;border:1px solid #d3deee;border-radius:12px;padding:10px 12px;font:15px/1.4 Inter,system-ui,sans-serif;color:#0d1b33}
.lutz-form textarea:focus{outline:2px solid #7edeea;border-color:#3069a2}
.lutz-send{flex:none;background:#3069a2;color:#fff;border:0;border-radius:12px;padding:0 16px;font:600 15px Inter,system-ui,sans-serif;cursor:pointer}
.lutz-send:disabled{opacity:.5;cursor:default}
.lutz-note{padding:0 12px 10px;background:#fff;font-size:11px;color:#6b7a90}
@media (max-width:520px){.lutz-panel{right:0;bottom:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0}.lutz-btn{right:14px;bottom:14px}}
@media print{.lutz-btn,.lutz-panel{display:none!important}}
@media (prefers-reduced-motion:reduce){.lutz-dots i{animation:none}}

.lutz-btn .lutz-lbl{max-width:200px;overflow:hidden;white-space:nowrap;transition:max-width .25s ease,opacity .2s ease}
.lutz-btn.lutz-mini{padding:8px;gap:0}
.lutz-btn.lutz-mini .lutz-lbl{max-width:0;opacity:0}
.lutz-btn.lutz-mini:hover,.lutz-btn.lutz-mini:focus-visible{padding:8px 18px 8px 8px;gap:10px}
.lutz-btn.lutz-mini:hover .lutz-lbl,.lutz-btn.lutz-mini:focus-visible .lutz-lbl{max-width:200px;opacity:1}
