/* HH Voice/Video (WebRTC) — Overlays + Call-Bar (dunkel) */

.hh-call-overlay {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(10,10,12,.82); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
}
.hh-call-box { text-align: center; color: #fff; padding: 30px 26px; }
.hh-call-ava {
    width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%;
    background: linear-gradient(135deg, #e4002b, #ff5030); display: flex; align-items: center; justify-content: center;
    font-size: 40px; box-shadow: 0 12px 40px rgba(228,0,43,.4); animation: hh-call-pulse 1.4s ease-in-out infinite;
}
@keyframes hh-call-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.hh-call-name { font-size: 24px; font-weight: 700; }
.hh-call-sub { font-size: 14px; opacity: .8; margin-top: 4px; }
.hh-call-actions { display: flex; gap: 30px; justify-content: center; margin-top: 26px; }

.hh-call-btn {
    border: 0; cursor: pointer; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    width: 62px; height: 62px; font-size: 24px; transition: transform .12s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,.45);
}
.hh-call-btn:hover { transform: translateY(-3px) scale(1.05); }
.hh-call-btn:active { transform: scale(.94); }
.hh-call-accept { background: #2ecc71; }
.hh-call-decline, .hh-call-end { background: #e4002b; }
.hh-call-mute, .hh-call-cam { background: #33333a; width: 54px; height: 54px; font-size: 20px; }
.hh-call-btn.off { background: #6a6a74; }

/* In-Call Stage */
.hh-call-stage {
    position: fixed; inset: 0; z-index: 100000; background: #0c0c0e;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hh-call-remote { width: 100%; height: 100%; object-fit: cover; background: #000; }
.hh-call-voice {
    width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg,#e4002b,#ff5030);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 48px;
    animation: hh-call-pulse 1.6s ease-in-out infinite;
}
.hh-call-localvid {
    position: absolute; right: 16px; top: 16px; width: 150px; max-width: 34vw;
    border-radius: 12px; border: 2px solid rgba(255,255,255,.25); background: #000;
    object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.5); transform: scaleX(-1);
}
.hh-call-status {
    position: absolute; top: 18px; left: 0; right: 0; text-align: center; color: #fff;
    font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.7); pointer-events: none;
}
.hh-call-bar {
    position: absolute; bottom: 30px; left: 0; right: 0;
    display: flex; gap: 22px; justify-content: center;
}

/* Call-Bar im Messenger (erscheint bei offenem Chat) */
.hh-callbar {
    position: fixed; right: 20px; bottom: 84px; z-index: 9500;
    display: flex; gap: 10px;
}
.hh-callbar-btn {
    border: 0; cursor: pointer; width: 46px; height: 46px; border-radius: 50%;
    background: #242428; color: #fff; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .12s ease, background .12s ease;
}
.hh-callbar-btn:hover { transform: translateY(-2px); background: #e4002b; }

/* Anruf-Buttons auf dem Profil */
.hh-profile-call { display: inline-flex; gap: 8px; }
.hh-profile-call .btn i { margin-right: 6px; }

@media (max-width: 576px) {
    .hh-callbar { bottom: 74px; right: 12px; }
    .hh-call-localvid { width: 110px; }
}
