/* Hilfe-Chat – dieselbe Datei in App und Homepage (hailaz-website/static/chat.css).
   Seiten stellen Lage mit --hzc-abstand (Knopf von unten) und --hzc-rechts ein. */
.hzc-knopf, .hzc-fenster { font-family: Jost, system-ui, sans-serif; color: #06152E; }
.hzc-knopf[hidden], .hzc-fenster[hidden], .hzc-form[hidden] { display: none !important; }
.hzc-knopf { position: fixed; z-index: 60; right: var(--hzc-rechts, 16px); bottom: calc(var(--hzc-abstand, 20px) + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 18px 6px 8px; border: 2px solid #fff; border-radius: 40px; background: #9656B2; color: #fff; font-size: 16px; font-weight: 500; cursor: pointer; box-shadow: 0 8px 22px rgba(6,21,46,.35); }
.hzc-knopf b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #9656B2; font-size: 20px; font-weight: 600; }
.hzc-fenster { position: fixed; z-index: 2000; right: var(--hzc-rechts, 16px); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 380px; height: min(580px, calc(100vh - 32px)); display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(6,21,46,.35); text-align: left; line-height: 1.45; }
.hzc-kopf { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 18px; background: #06152E; color: #fff; font-size: 18px; }
.hzc-kopf strong { font-weight: 500; }
.hzc-zu { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.hzc-inhalt { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f4f1f8; }
.hzc-blase { max-width: 88%; flex-shrink: 0; padding: 10px 14px; border-radius: 16px; font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.hzc-er { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.hzc-ich { align-self: flex-end; background: #9656B2; color: #fff; border-bottom-right-radius: 4px; }
.hzc-fehler { border: 1px solid #c05050; }
.hzc-blase a, .hzc-fuss { color: #7a3d96; }
.hzc-hinweis { margin: auto 0; flex-shrink: 0; background: #fff; border-radius: 16px; padding: 18px; font-size: 16px; }
.hzc-hinweis p { margin: 0 0 14px; }
.hzc-start { width: 100%; min-height: 48px; border: 0; border-radius: 30px; background: #9656B2; color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.hzc-ziel { align-self: flex-start; flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 18px; border: 0; border-radius: 30px; background: #06152E; color: #fff; font: inherit; font-size: 15px; text-decoration: none; text-align: left; cursor: pointer; }
.hzc-chips { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.hzc-chips button { min-height: 40px; padding: 6px 14px; border: 1px solid #BB90D1; border-radius: 30px; background: #fff; color: #06152E; font: inherit; font-size: 15px; cursor: pointer; }
.hzc-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e4dfec; }
.hzc-form input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; border: 1px solid #c9c2d6; border-radius: 30px; font: inherit; font-size: 16px; color: #06152E; background: #fff; }
.hzc-form button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 30px; background: #06152E; color: #fff; font: inherit; font-size: 16px; cursor: pointer; }
.hzc-form button:disabled { opacity: .5; }
.hzc-fuss { display: block; padding: 4px 0 8px; text-align: center; font-size: 13px; }
.hzc-knopf:focus-visible, .hzc-fenster button:focus-visible, .hzc-fenster input:focus-visible, .hzc-fenster a:focus-visible { outline: 3px solid #BB90D1; outline-offset: 2px; }
@media (max-width: 480px) {
  .hzc-fenster { left: 0; right: 0; width: auto; bottom: var(--hzc-unten, 0px); height: calc(var(--hzc-hoehe, 100vh) - 24px); border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media print { .hzc-knopf, .hzc-fenster { display: none !important; } }
