/* Chatassistent (assets/chat.js) */
.dc-launch {
  position: fixed; z-index: 190; right: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px;
  border: 0; border-radius: 99px; cursor: pointer;
  background: var(--navy, #061D3A); color: #fff; font: 600 15px Outfit, system-ui, sans-serif;
  box-shadow: 0 18px 40px -14px rgba(6,29,58,.7), 0 0 0 2px rgba(255,255,255,.22);
  transition: transform .2s, box-shadow .2s, opacity .25s;
}
.dc-launch:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(6,29,58,.8); }
.dc-launch:focus-visible, .dc-panel :focus-visible { outline: 3px solid var(--blue-bright, #3A8DFF); outline-offset: 2px; }
.dc-launch .dc-ava { width: 36px; height: 36px; }
.dc-launch .dc-dot { position: absolute; left: 36px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 2px var(--navy, #061D3A); }
.dc-launch[hidden], .dc-panel[hidden] { display: none; }
.dc-ava {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(140deg, var(--blue, #1B63C8), var(--navy-3, #0E2F66)); color: #fff;
}
.dc-ava svg { width: 62%; height: 62%; }

.dc-panel {
  position: fixed; z-index: 210; right: 20px; bottom: 20px;
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 40px)); height: min(640px, calc(100dvh - 40px));
  display: flex; flex-direction: column; overflow: hidden; margin: 0; padding: 0; box-sizing: border-box;
  background: #fff; color: var(--text, #334155); border-radius: 18px; border: 1px solid var(--line, #E2E8F0);
  box-shadow: 0 40px 90px -24px rgba(6,29,58,.55);
  transform-origin: bottom right; animation: dc-in .28s cubic-bezier(.22,1,.36,1);
}
@keyframes dc-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.dc-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px;
  background: var(--navy, #061D3A); color: #fff;
  background-image: radial-gradient(120% 140% at 100% 0, rgba(58,141,255,.35), transparent 60%);
}
.dc-head strong { display: block; font: 700 16.5px Outfit, sans-serif; letter-spacing: -.01em; }
.dc-head small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.dc-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.dc-head .dc-x { margin-left: auto; }
.dc-x, .dc-new {
  display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.08); color: #fff;
}
.dc-x:hover, .dc-new:hover { background: rgba(255,255,255,.18); }
.dc-new { margin-left: auto; }
.dc-new + .dc-x { margin-left: 6px; }
.dc-x svg, .dc-new svg { width: 18px; height: 18px; }

.dc-eu {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 12.5px; color: var(--navy-3, #0E2F66);
  background: var(--blue-soft, #E8F0FC); border-bottom: 1px solid #D6E3F8;
}
.dc-eu svg { flex: none; width: 18px; height: 18px; }
.dc-eu a { color: inherit; margin-left: auto; white-space: nowrap; }

.dc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt, #F5F8FD); overscroll-behavior: contain; }
.dc-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.dc-msg p { margin: 0; }
.dc-msg p + p, .dc-msg ul, .dc-msg ol { margin: 8px 0 0; }
.dc-msg ul, .dc-msg ol { padding-left: 20px; }
.dc-msg li + li { margin-top: 3px; }
.dc-msg a { color: var(--blue, #1B63C8); font-weight: 600; }
.dc-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line, #E2E8F0); border-bottom-left-radius: 6px; color: var(--text, #334155); }
.dc-me { align-self: flex-end; background: var(--blue, #1B63C8); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.dc-err { align-self: flex-start; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font-size: 14px; }
.dc-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.dc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #94A3B8; animation: dc-b 1.2s infinite; }
.dc-typing i:nth-child(2) { animation-delay: .15s; } .dc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dc-b { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.dc-chip {
  padding: 7px 12px; border-radius: 99px; border: 1px solid #BFD3F2; background: #fff; cursor: pointer;
  color: var(--blue, #1B63C8); font: 600 13px Inter, system-ui, sans-serif; text-align: left;
}
.dc-chip:hover { background: var(--blue-soft, #E8F0FC); }

.dc-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line, #E2E8F0); background: #fff; }
.dc-form textarea {
  flex: 1; resize: none; max-height: 120px; min-height: 44px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid #CBD5E1; font: 15px/1.4 Inter, system-ui, sans-serif; color: var(--ink, #061D3A); background: #fff;
}
.dc-form textarea:focus { outline: none; border-color: var(--blue, #1B63C8); box-shadow: 0 0 0 3px rgba(27,99,200,.15); }
.dc-send {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--blue, #1B63C8); color: #fff;
}
.dc-send:hover { background: #1755AD; }
.dc-send:disabled { opacity: .5; cursor: default; }
.dc-send svg { width: 20px; height: 20px; }
.dc-foot { display: flex; justify-content: space-between; gap: 10px; padding: 0 14px 10px; font-size: 11.5px; color: var(--muted, #64748B); background: #fff; }
.dc-human { border: 0; background: none; padding: 0; cursor: pointer; color: var(--blue, #1B63C8); font: 600 12px Inter, system-ui, sans-serif; white-space: nowrap; }
.dc-human:hover { text-decoration: underline; }

.dc-lead { align-self: stretch; background: #fff; border: 1px solid var(--line, #E2E8F0); border-radius: 14px; padding: 14px; display: grid; gap: 9px; font-size: 14px; }
.dc-lead strong { font: 700 15.5px Outfit, sans-serif; color: var(--ink, #061D3A); }
.dc-lead p { margin: 0; color: var(--muted, #64748B); font-size: 13.5px; }
.dc-lead input[type=text], .dc-lead input[type=email], .dc-lead input[type=tel] {
  width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid #CBD5E1; font: 14.5px Inter, system-ui, sans-serif; box-sizing: border-box;
}
.dc-lead label.dc-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text, #334155); }
.dc-lead label.dc-ok input { margin-top: 2px; }
.dc-lead .dc-hp { position: absolute; left: -9999px; }
.dc-lead .dc-row { display: flex; gap: 8px; }
.dc-lead .btn { padding: 10px 16px; font-size: 14px; cursor: pointer; }
.dc-lead .btn-primary, .dc-band .btn-primary { border: 0; cursor: pointer; }
.dc-lead .btn-outline { background: #fff; cursor: pointer; }

/* Band op de homepage */
.dc-band .ph-tag { background: rgba(34,197,94,.14); color: #15803D; }
.dc-band .dc-eu-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--navy-3, #0E2F66); }
.dc-band .dc-eu-line svg { width: 18px; height: 18px; }

@media (max-width: 560px) {
  .dc-launch { right: 14px; bottom: 14px; padding: 8px; }
  .dc-launch span.dc-lbl { display: none; }
  .dc-panel { right: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-panel, .dc-typing i { animation: none; }
  .dc-launch { transition: none; }
}
