/* Assistent „Hallbi“ – kleines Flugzeug unten links */
.hb { position: fixed; left: 16px; bottom: 16px; z-index: 55; font-family: inherit; }
.hb-launch { position: relative; display: block; width: 78px; height: 64px; border: 0; padding: 0; background: transparent; cursor: pointer; filter: drop-shadow(0 8px 14px rgba(15, 29, 51, .35)); }
.hb-launch .hb-svg { width: 100%; height: 100%; overflow: visible; }
.hb-name { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); background: #0f1d33; color: #C9A24B; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 1px 8px; border-radius: 999px; white-space: nowrap; border: 1px solid rgba(201,162,75,.6); }
.hb-launch:hover .hb-body, .hb-launch:focus-visible .hb-body { animation-duration: 1.2s; }
.hb-launch:focus-visible { outline: 3px solid #C9A24B; outline-offset: 4px; border-radius: 14px; }

/* Animationen: schweben, Propeller, blinzeln */
.hb-body { transform-origin: 60px 50px; animation: hb-bob 3.2s ease-in-out infinite; }
.hb-prop { transform-origin: 106px 51px; animation: hb-prop .16s linear infinite; }
.hb-eyes { transform-origin: 81px 45px; animation: hb-blink 4.5s infinite; }
@keyframes hb-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes hb-prop { 0% { transform: scaleY(1); } 50% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
@keyframes hb-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.hb.open .hb-launch { transform: scale(.9); }

/* Sprechblase (Teaser) */
.hb-teaser { position: absolute; left: 4px; bottom: 76px; width: min(270px, calc(100vw - 40px)); background: #fff; color: #0f1d33; border-radius: 16px 16px 16px 4px; padding: 12px 30px 12px 14px;
    font-size: 13.5px; line-height: 1.45; font-weight: 600; box-shadow: 0 12px 30px -8px rgba(15,29,51,.45); border: 2px solid #C9A24B; cursor: pointer; animation: hb-pop .35s ease-out; }
.hb-teaser[hidden] { display: none; }
.hb-teaser p { margin: 0; }
.hb-x { position: absolute; top: 4px; right: 6px; border: 0; background: transparent; font-size: 18px; line-height: 1; color: #64748b; cursor: pointer; padding: 2px 4px; }
@keyframes hb-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* Chat-Fenster */
.hb-panel { position: absolute; left: 0; bottom: 78px; width: 370px; max-width: calc(100vw - 32px); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column;
    background: #f8fafc; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px -12px rgba(15,29,51,.55); border: 1px solid rgba(15,29,51,.12); animation: hb-pop .25s ease-out; }
.hb-panel[hidden] { display: none; }
.hb-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; background: linear-gradient(135deg, #0f1d33, #1e3a6e); color: #fff; }
.hb-avatar { width: 50px; height: 40px; flex: 0 0 auto; }
.hb-avatar .hb-svg { width: 100%; height: 100%; }
.hb-hgroup { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hb-title { color: #C9A24B; font-size: 16px; }
.hb-sub { color: #cbd5e1; font-size: 11.5px; }
.hb-icon { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 32px; height: 32px; border-radius: 10px; font-size: 18px; line-height: 1; cursor: pointer; }
.hb-icon:hover { background: rgba(255,255,255,.22); }
.hb-log { flex: 1; overflow-y: auto; padding: 14px 12px 6px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.hb-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; animation: hb-pop .2s ease-out; }
.hb-msg p { margin: 0 0 4px; } .hb-msg p:last-child { margin-bottom: 0; }
.hb-msg.bot { align-self: flex-start; background: #fff; color: #1e293b; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }
.hb-msg.user { align-self: flex-end; background: #0f1d33; color: #fff; border-bottom-right-radius: 4px; }
.hb-rtitle { font-weight: 800; color: #0f1d33; font-size: 14.5px; margin-bottom: 6px !important; }
.hb-typing { display: flex; gap: 4px; padding: 12px 14px; }
.hb-typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: hb-dot 1s infinite; }
.hb-typing i:nth-child(2) { animation-delay: .15s; } .hb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hb-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.hb-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hb-btn { display: inline-flex; align-items: center; gap: 6px; background: #C9A24B; color: #0f1d33 !important; font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.hb-btn:hover { background: #b38c3a; }
.hb-btn.hb-ghost { background: #eef2f7; color: #0f1d33 !important; font-weight: 700; }
.hb-choices { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 12px 10px; justify-content: flex-end; max-height: 45%; overflow-y: auto; }
.hb-choices:empty { display: none; }
.hb-chip { border: 1.5px solid #C9A24B; background: #fff; color: #0f1d33; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; }
.hb-chip:hover, .hb-chip:focus-visible { background: #C9A24B; outline: none; }
.hb-ask { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid #e2e8f0; background: #fff; }
.hb-ask input { flex: 1; min-width: 0; border: 1px solid #cbd5e1; border-radius: 10px; padding: 8px 10px; font-size: 14px; color: #0f1d33; }
.hb-ask input:focus { outline: 2px solid #C9A24B; border-color: transparent; }
.hb-ask button { border: 0; background: #0f1d33; color: #C9A24B; border-radius: 10px; width: 40px; font-size: 16px; cursor: pointer; }
.hb-foot { display: flex; justify-content: center; gap: 14px; padding: 6px 10px 9px; background: #fff; font-size: 12px; }
.hb-foot:empty { display: none; }
.hb-mini { color: #0f1d33 !important; font-weight: 700; text-decoration: none; opacity: .8; }
.hb-mini:hover { opacity: 1; text-decoration: underline; }
.hb-mini i { color: #C9A24B; }
.hb-flash { animation: hb-flash 2.4s ease-out; border-radius: 16px; }
@keyframes hb-flash { 0%, 60% { box-shadow: 0 0 0 4px rgba(201,162,75,.9); } 100% { box-shadow: 0 0 0 4px rgba(201,162,75,0); } }

@media (max-width: 640px) {
    .hb { left: 10px; bottom: 10px; }
    .hb-launch { width: 66px; height: 54px; }
    .hb-panel { position: fixed; left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; height: min(78vh, 620px); }
    .hb.open .hb-launch { display: none; }
    .hb.open { z-index: 75; }
    body.hb-open #contactFabs, body.hb-open .fab { display: none !important; }
    .hb-teaser { bottom: 66px; }
}
@media (prefers-reduced-motion: reduce) {
    .hb-body, .hb-prop, .hb-eyes, .hb-teaser, .hb-panel, .hb-msg, .hb-typing i, .hb-flash { animation: none !important; }
}

/* ===== Update D: größer, Leuchtring, Auftritt, Stups, Sofort-Antwort ===== */
.hb-large .hb-launch { width: 118px; height: 96px; }
.hb-large .hb-name { font-size: 13px; padding: 2px 10px; bottom: -8px; }
.hb-large .hb-panel { bottom: 108px; }
.hb-large .hb-teaser { bottom: 112px; }
.hb-launch::before { content: ''; position: absolute; left: 50%; top: 52%; width: 86%; height: 86%; border-radius: 50%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201,162,75,.55) 0%, rgba(201,162,75,.15) 55%, rgba(201,162,75,0) 72%); animation: hb-glow 2.4s ease-in-out infinite; z-index: -1; }
@keyframes hb-glow { 0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .7; } 50% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; } }
.hb.open .hb-launch::before { animation: none; opacity: 0; }
.hb-landed .hb-launch { animation: hb-land .8s cubic-bezier(.2,1.6,.4,1); }
@keyframes hb-land { 0% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
.hb-wiggle .hb-launch { animation: hb-wiggle 1s ease-in-out 2; }
@keyframes hb-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg) translateY(-6px); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-8deg) translateY(-3px); } 80% { transform: rotate(5deg); } }
.hb-nudge { position: absolute; left: 100%; bottom: 40px; margin-left: 6px; white-space: nowrap; background: #C9A24B; color: #0f1d33; font-weight: 900; font-size: 15px; padding: 8px 14px;
    border-radius: 14px 14px 14px 4px; box-shadow: 0 10px 24px -8px rgba(15,29,51,.6); cursor: pointer; animation: hb-pop .3s ease-out; }
.hb-nudge[hidden] { display: none; }

/* Flug-Auftritt */
.hb-fly { position: fixed; z-index: 2147470000; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(15,29,51,.45)); }
.hb-fly .hb-svg { width: 100%; height: 100%; overflow: visible; }
.hb-bigq { position: fixed; left: 50%; bottom: 46vh; z-index: 2147470001; pointer-events: none; background: #fff; color: #0f1d33; border: 4px solid #C9A24B; border-radius: 26px;
    padding: 14px 28px; font-weight: 900; font-size: clamp(26px, 5vw, 46px); line-height: 1.1; white-space: nowrap; box-shadow: 0 24px 60px -12px rgba(15,29,51,.55); opacity: 0; }

/* Sprechblase größer mit Ja/Nein */
.hb-teaser { width: min(320px, calc(100vw - 40px)); padding: 16px 34px 14px 18px; font-size: 14px; font-weight: 500; }
.hb-tq { display: block; font-size: 21px; font-weight: 900; color: #0f1d33; margin-bottom: 4px; }
.hb-tbtns { display: flex; gap: 8px; margin-top: 10px; }
.hb-tbtns button { border: 0; border-radius: 10px; padding: 8px 12px; font-weight: 800; font-size: 13px; cursor: pointer; }
.hb-tyes { background: #C9A24B; color: #0f1d33; }
.hb-tno { background: #eef2f7; color: #475569; }

/* Sofort-Antwort vom Hotelteam */
.hb-staff { background: #fff8e6; border-bottom: 1px solid #f1dfb0; padding: 9px 12px; font-size: 12.5px; line-height: 1.45; color: #5b4510; }
.hb-staff[hidden] { display: none; }
.hb-staff p { margin: 0 0 7px; }
.hb-staffbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.hb-sbtn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-weight: 800; font-size: 12.5px; text-decoration: none; }
.hb-sbtn.call { background: #0f1d33; color: #fff !important; }
.hb-sbtn.wa { background: #25D366; color: #fff !important; }

@media (max-width: 640px) {
    .hb-large .hb-launch { width: 92px; height: 75px; }
    .hb-large .hb-teaser { bottom: 88px; }
    .hb-nudge { font-size: 13px; bottom: 30px; }
    .hb-bigq { bottom: 52vh; }
}
@media (prefers-reduced-motion: reduce) { .hb-launch::before, .hb-landed .hb-launch, .hb-wiggle .hb-launch { animation: none !important; } }
