/* Huck Media – Website-Live-Chat (Mensch zu Mensch, keine KI), 27.11.2026 (HM-18).
   Lime #98C218 nur als Fläche/Punkt; Schrift auf Grün immer weiß (dunkler Modus: #7BA013 + Weiß). */
.hm-lc { max-width: 640px; --hm-lc-line: rgba(152, 194, 24, 0.35); --hm-lc-bg: rgba(152, 194, 24, 0.06); }
html[data-theme="dark"] .hm-lc { --hm-lc-line: rgba(152, 194, 24, 0.45); --hm-lc-bg: rgba(152, 194, 24, 0.08); }
.hm-lc-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 14px 8px 12px; border-radius: 999px; border: 1px solid var(--line, #ececec); font-size: 14px; font-weight: 700; color: var(--mute, #8a8a8a); line-height: 1.3; }
.hm-lc-dot { width: 11px; height: 11px; border-radius: 50%; background: #b5b5b5; flex: 0 0 auto; }
.hm-lc-status.is-on { border-color: #98C218; color: var(--ink, #626262); background: var(--hm-lc-bg); }
html[data-theme="dark"] .hm-lc-status.is-on { color: #fff; }
.hm-lc-status.is-on .hm-lc-dot { background: #98C218; box-shadow: 0 0 0 3px rgba(152, 194, 24, .28); animation: hm-lc-pulse 2.4s ease-in-out infinite; }
@keyframes hm-lc-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(152, 194, 24, .28); } 50% { box-shadow: 0 0 0 7px rgba(152, 194, 24, .06); } }
@media (prefers-reduced-motion: reduce) { .hm-lc-status.is-on .hm-lc-dot { animation: none; } }
.hm-lc-lead { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--mute, #8a8a8a); }
.hm-lc-offline { margin: 0 0 6px; padding: 14px 16px; border: 1px solid var(--hm-lc-line); border-radius: 12px; background: var(--hm-lc-bg); font-size: 14px; line-height: 1.55; color: var(--ink, #626262); }
html[data-theme="dark"] .hm-lc-offline { color: #ddd; }
.hm-lc-offline p { margin: 0; }
.hm-lc-offline a, .hm-lc-fallback a, .hm-lc-consent a { color: #7BA013; font-weight: 700; text-decoration: underline; }
.hm-lc .field textarea { min-height: 84px; }
.hm-lc-consent { margin-top: 6px; }
.hm-lc .send { margin-top: 14px; }
.hm-lc-note { margin: 8px 0 0; font-size: 13px; color: var(--mute, #8a8a8a); }
.hm-lc-note.is-error { color: #c0392b; }
.hm-lc-log { display: flex; flex-direction: column; gap: 10px; max-height: 360px; min-height: 120px; overflow-y: auto; padding: 14px; border: 1px solid var(--line, #ececec); border-radius: 12px; background: var(--mist, #f4f6f0); scroll-behavior: smooth; }
html[data-theme="dark"] .hm-lc-log { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.hm-lc-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 85%; }
.hm-lc-msg.is-visitor { align-self: flex-end; align-items: flex-end; }
.hm-lc-msg.is-system { align-self: center; align-items: center; max-width: 95%; }
.hm-lc-who { font-size: 11px; letter-spacing: .02em; color: var(--mute, #8a8a8a); margin: 0 4px 3px; }
.hm-lc-bubble { padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--paper, #fff); color: var(--ink, #626262); border: 1px solid var(--line, #ececec); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
html[data-theme="dark"] .hm-lc-bubble { background: rgba(255, 255, 255, .08); color: #eee; border-color: rgba(255, 255, 255, .12); }
.hm-lc-msg.is-visitor .hm-lc-bubble { background: #7BA013; border-color: #7BA013; color: #fff; border-radius: 14px 14px 4px 14px; }
html[data-theme="dark"] .hm-lc-msg.is-visitor .hm-lc-bubble { background: #7BA013; color: #fff; }
.hm-lc-msg.is-system .hm-lc-bubble { background: transparent; border: 0; font-size: 12px; color: var(--mute, #8a8a8a); padding: 2px 8px; text-align: center; }
.hm-lc-fallback { margin: 12px 0 0; padding: 14px 16px; border: 1px solid #98C218; border-radius: 12px; background: var(--hm-lc-bg); font-size: 14px; line-height: 1.5; }
.hm-lc-fallback > p { margin: 0 0 10px; color: var(--ink, #626262); }
html[data-theme="dark"] .hm-lc-fallback > p { color: #eee; }
.hm-lc-fallback .form-grid { margin-bottom: 4px; }
.hm-lc-thanks { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #7BA013; color: #fff; font-weight: 700; font-size: 14px; }
.hm-lc-form { margin-top: 12px; }
.hm-lc-row { display: flex; align-items: flex-end; gap: 12px; }
.hm-lc-row textarea { flex: 1 1 auto; min-height: 52px; }
.hm-lc-row .send { margin-top: 0; flex: 0 0 auto; }
.hm-lc-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hm-lc-link { appearance: none; background: none; border: 0; padding: 0; margin: 10px 0 0; font: inherit; font-size: 13px; font-weight: 700; color: #7BA013; text-decoration: underline; cursor: pointer; }
.hm-lc-link:hover { color: #98C218; }
.hm-lc-closed { margin-top: 12px; font-size: 14px; color: var(--mute, #8a8a8a); }
.hm-lc-closed p { margin: 0; }
.hm-lc [hidden] { display: none !important; }
html[data-theme="dark"] .hm-lc button.send { background: #7BA013 !important; color: #fff !important; }
@media (max-width: 640px) {
  .hm-lc-row { flex-direction: column; align-items: stretch; }
  .hm-lc-row .send { width: 100%; }
  .hm-lc-log { max-height: 50vh; }
  .hm-lc-msg { max-width: 92%; }
}
