/* Delpix-Chat – Chatfenster für Besucher */
.dxc{--dxc-b:#3457D5; --dxc-line:#e3e6ef; --dxc-muted:#5d6275; --dxc-grad:linear-gradient(135deg,#A65BFF 0%,#5D86F2 50%,#22CDEE 100%);
  position:fixed; right:clamp(16px,2vw,28px); bottom:clamp(16px,2vw,28px); z-index:90; font:15px/1.45 'Inter',system-ui,sans-serif; color:#0c0c12}
.dxc [hidden]{display:none!important}
.dxc-defs{position:absolute; width:0; height:0; overflow:hidden}
.dxc strong,.dxc b{color:inherit}
.dxc .dxc-head,.dxc .dxc-head strong,.dxc .dxc-head small,.dxc .dxc-head span{color:#fff!important}
.dxc button{font:inherit; cursor:pointer}
.dxc-btn{position:relative; width:64px; height:64px; border-radius:50%; border:0; background:#fff; display:grid; place-items:center; padding:0;
  box-shadow:0 10px 28px rgba(40,50,130,.22), 0 0 0 1px rgba(52,87,213,.10); transition:box-shadow .3s, transform .3s}
.dxc-btn:hover{box-shadow:0 12px 34px rgba(40,50,130,.30), 0 0 0 1px rgba(52,87,213,.18)}
.dxc-btn:focus-visible{outline:3px solid #0477B8; outline-offset:3px}
.dxc-star{width:36px; height:36px; transition:transform .5s cubic-bezier(.3,1.4,.5,1)}
.dxc-btn:hover .dxc-star{transform:rotate(12deg) scale(1.07)}
.dxc-x{width:22px; height:22px; color:var(--dxc-b); display:none}
.dxc.offen .dxc-star{display:none} .dxc.offen .dxc-x{display:block}
.dxc-neu{position:absolute; top:2px; right:2px; width:14px; height:14px; border-radius:50%; background:#e5346b; box-shadow:0 0 0 2px #fff}
/* Ansprache */
.dxc-teaser{position:absolute; right:0; bottom:78px; display:flex; align-items:flex-start; gap:2px; animation:dxc-auf .45s cubic-bezier(.2,.9,.3,1.2)}
.dxc-teaser-txt{border:0; background:#fff; color:#0c0c12; padding:13px 18px; font-weight:500; white-space:nowrap; text-align:left;
  box-shadow:0 10px 30px rgba(30,40,110,.18), 0 0 0 1px rgba(52,87,213,.10); position:relative}
.dxc-teaser-txt::after{content:""; position:absolute; right:24px; bottom:-7px; width:14px; height:14px; background:#fff; transform:rotate(45deg); box-shadow:3px 3px 6px rgba(30,40,110,.06)}
.dxc-teaser-x{border:0; background:#fff; color:var(--dxc-muted); width:26px; height:26px; border-radius:50%; font-size:17px; line-height:1; box-shadow:0 4px 12px rgba(30,40,110,.15); margin-top:-10px}
@keyframes dxc-auf{from{opacity:0; transform:translateY(8px) scale(.96)} to{opacity:1; transform:none}}
/* Fenster */
.dxc-win{position:absolute; right:0; bottom:80px; width:392px; max-height:min(620px, calc(100vh - 130px)); background:#fff; display:flex; flex-direction:column;
  box-shadow:0 28px 80px rgba(25,35,100,.28), 0 0 0 1px rgba(52,87,213,.10); animation:dxc-auf .3s cubic-bezier(.2,.9,.3,1)}
.dxc-head{flex:none; background:var(--dxc-grad); color:#fff; padding:22px 14px 20px 24px; display:flex; gap:12px; align-items:flex-start}
.dxc-ht{flex:1; min-width:0}
.dxc-ht strong{font-family:'Space Grotesk',sans-serif; font-size:19px; line-height:1.2; display:block; letter-spacing:.005em}
.dxc-ht small{font-size:13px; display:flex; align-items:center; gap:8px; margin-top:6px; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dxc-dot{width:8px; height:8px; border-radius:50%; background:#fff; opacity:.75; flex:none}
.dxc-dot.online{background:#7CF0B0; opacity:1; box-shadow:0 0 0 3px rgba(124,240,176,.32)}
.dxc-zu{border:0; background:none; color:#fff; width:36px; height:36px; display:grid; place-items:center; flex:none; margin-top:-4px; opacity:.9}
.dxc-zu:hover{opacity:1}
.dxc-zu svg{width:20px; height:20px}
.dxc-msgs{flex:1 1 auto; min-height:230px; overflow:auto; padding:22px 20px 16px; background:#f4f5f9; display:flex; flex-direction:column; gap:10px; overscroll-behavior:contain}
.dxc-m{max-width:86%; padding:12px 15px; font-size:15px; line-height:1.5; white-space:pre-wrap; word-wrap:break-word}
.dxc-wir{background:#fff; border:1px solid #e6e9f1; align-self:flex-start; box-shadow:0 1px 2px rgba(20,30,80,.04)}
.dxc-gruss{max-width:100%; padding:16px 18px}
.dxc-du{background:linear-gradient(135deg,#5a4ff0,#3457D5); color:#fff; align-self:flex-end; transition:opacity .2s}
.dxc-wartet{opacity:.6}
.dxc-m time{display:block; font-size:11px; opacity:.6; margin-top:4px}
.dxc-chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:8px}
.dxc-chips-l{width:100%; font-family:'Space Grotesk',sans-serif; font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--dxc-muted); margin-bottom:2px}
.dxc-chips button{display:inline-flex; align-items:center; gap:8px; border:1px solid #dfe3ee; background:#fff; color:#1d2340; padding:9px 13px; font-size:13.5px; font-weight:500; line-height:1.2; transition:border-color .2s, background .2s}
.dxc-chips button i{width:8px; height:8px; flex:none}
.dxc-chips button:hover{border-color:#3457D5; background:#f5f7ff}
.dxc-hinweis{align-self:center; font-size:12.5px; color:var(--dxc-muted); text-align:center; max-width:92%}
.dxc-fehler{color:#b4233c}
.dxc-karte{background:#fff; border:1px solid #e6e9f1; border-left:3px solid var(--dxc-b); padding:14px 16px; font-size:14px; line-height:1.45}
.dxc-karte label{display:block; color:var(--dxc-muted); font-size:13px; margin:3px 0 10px}
.dxc-row{display:flex; gap:6px}
.dxc-row input{flex:1; min-width:0; border:1px solid #d4d8e6; padding:9px 11px; font:14px 'Inter',sans-serif}
.dxc-row button{border:0; background:#0c0c12; color:#fff; padding:0 16px; font-weight:600; font-size:13px}
.dxc-karte.ok{color:#1f7a45}
.dxc-in{flex:none; display:flex; align-items:center; gap:6px; padding:12px 12px 12px 20px; border-top:1px solid var(--dxc-line); background:#fff}
.dxc-in textarea{flex:1; border:0; resize:none; padding:10px 0; font:15px/1.4 'Inter',sans-serif; min-height:42px; max-height:120px; outline:none; background:#fff; box-shadow:none}
.dxc-in button{width:42px; height:42px; border:0; border-radius:50%; background:var(--dxc-grad); display:grid; place-items:center; color:#fff; flex:none; transition:transform .2s}
.dxc-in button:hover{transform:scale(1.06)}
.dxc-in button svg{width:19px; height:19px; margin-left:-2px}
.dxc-foot{flex:none; font-size:11.5px; color:var(--dxc-muted); padding:0 20px 14px; background:#fff; line-height:1.4}
.dxc-foot a{color:var(--dxc-muted)}
html.menu-open .dxc{display:none}
@media (max-width:600px){
  .dxc-btn{width:58px; height:58px} .dxc-star{width:32px; height:32px}
  .dxc-teaser{bottom:70px}
  .dxc-win{position:fixed; inset:auto 0 0 0; width:100%; max-height:88dvh; bottom:0}
  .dxc-msgs{min-height:260px}
  .dxc.offen .dxc-btn{display:none}
  .dxc-in textarea{font-size:16px}
}
@media print{.dxc{display:none}}
@media (prefers-reduced-motion:reduce){.dxc *{animation:none!important; transition:none!important}}
/* Knopf als Verlaufs-Chip am rechten Rand (Wunsch 03.12.2026) */
.dxc{right:0}
.dxc-btn{width:62px; height:62px; border-radius:0; background:var(--dxc-grad); box-shadow:0 10px 28px rgba(52,60,180,.32); transition:width .3s cubic-bezier(.2,.9,.3,1), box-shadow .3s; margin-left:auto}
.dxc-btn:hover{width:72px; box-shadow:0 12px 34px rgba(52,60,180,.42)}
.dxc-btn:focus-visible{outline:3px solid #0c0c12; outline-offset:2px}
.dxc-star{width:32px; height:32px; fill:#fff}
.dxc-x{color:#fff}
.dxc-neu{top:6px; right:6px; box-shadow:0 0 0 2px rgba(255,255,255,.9)}
.dxc-teaser{right:clamp(12px,1.5vw,20px); bottom:76px}
.dxc-win{right:0; bottom:74px}
@media (max-width:600px){.dxc-btn{width:56px; height:56px} .dxc-btn:hover{width:56px} .dxc-star{width:28px; height:28px} .dxc-teaser{bottom:68px}}
.dxc-in button{border-radius:0}
.dxc-neustart{display:block; border:0; background:none; padding:6px 0 0; color:#3457D5; font-size:12px; font-weight:500; text-decoration:underline; text-underline-offset:2px}
.dxc-neustart[hidden]{display:none}
.dxc-btn:hover .dxc-star{transform:scale(1.08)}
