.mv-contact-sticker {
    position: fixed;
    z-index: 9999;
    right: clamp(0.85rem, 2vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
    font-family: var(--mvh-font, 'IBM Plex Sans', system-ui, sans-serif);
}

/* Panel */

.mv-contact-sticker__panel {
    width: min(370px, calc(100vw - 2rem));
    overflow: hidden;
    color: var(--mvh-white, #fff);
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(239, 181, 9, 0.26),
            transparent 33%
        ),
        linear-gradient(
            145deg,
            var(--mvh-navy, #16253D) 0%,
            var(--mvh-navy2, #002C54) 100%
        );
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.28),
        0 10px 26px rgba(0, 0, 0, 0.18);
    transform-origin: right bottom;
    animation: mv-contact-panel-in 220ms var(--mvh-ease, cubic-bezier(.16, 1, .3, 1)) both;
}

.mv-contact-sticker__panel[hidden] {
    display: none;
}

.mv-contact-sticker__header {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1.35rem 1.35rem 1.1rem;
}

.mv-contact-sticker__avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.mv-contact-sticker__avatar {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border: 3px solid rgba(239, 181, 9, 0.95);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.mv-contact-sticker__status {
    position: absolute;
    right: 1px;
    bottom: 2px;
    width: 15px;
    height: 15px;
    background: var(--mv-green, rgb(1, 133, 7));
    border: 3px solid var(--mvh-navy, #16253D);
    border-radius: 50%;
}

.mv-contact-sticker__intro {
    min-width: 0;
}

.mv-contact-sticker__eyebrow {
    margin: 0 0 0.2rem;
    color: var(--mvh-gold, #EFB509);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.mv-contact-sticker__title {
    margin: 0;
    color: var(--mvh-white, #fff);
    font-family: var(--mvh-display, 'Space Grotesk', sans-serif);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.15;
}

.mv-contact-sticker__text {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Kontaktaktionen */

.mv-contact-sticker__actions {
    display: grid;
    gap: 0.65rem;
    padding: 0 1.1rem;
}

.mv-contact-sticker__action {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 64px;
    padding: 0.75rem 0.85rem;
    color: var(--mvh-white, #fff) !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    transition:
        transform 180ms var(--mvh-ease, ease),
        box-shadow 180ms var(--mvh-ease, ease),
        border-color 180ms var(--mvh-ease, ease),
        background 180ms var(--mvh-ease, ease);
}

.mv-contact-sticker__action--call {
    background: linear-gradient(
        135deg,
        var(--mvh-gold, #EFB509),
        var(--mvh-gold2, #CD7213)
    );
    border-color: transparent;
    color: var(--mvh-navy, #16253D);
    box-shadow: 0 9px 20px rgba(239, 181, 9, 0.22);
}

.mv-contact-sticker__action--form {
    background: rgba(255, 255, 255, 0.08);
}

.mv-contact-sticker__action:hover {
    transform: translateY(-2px);
}

.mv-contact-sticker__action--call:hover {
    box-shadow: 0 13px 26px rgba(239, 181, 9, 0.34);
}

.mv-contact-sticker__action--form:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(239, 181, 9, 0.72);
}

.mv-contact-sticker__action strong,
.mv-contact-sticker__action small {
    display: block;
}

.mv-contact-sticker__action strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.mv-contact-sticker__action small {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    line-height: 1.2;
    opacity: 0.78;
}

.mv-contact-sticker__icon {
    display: grid ;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
}

.mv-contact-sticker__action--call .mv-contact-sticker__icon {
    background: rgba(22, 37, 61, 0.13);
}

.mv-contact-sticker__action--form .mv-contact-sticker__icon {
    background: rgba(239, 181, 9, 0.14);
    color: var(--mvh-gold, #EFB509);
}

.mv-contact-sticker__icon svg,
.mv-contact-sticker__toggle-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

/* Hinweis unten */

.mv-contact-sticker__note {
    margin: 0;
    padding: 0.95rem 1.35rem 1.2rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    text-align: center;
}

/* Runder Trigger */

.mv-contact-sticker__toggle {
    position: relative;
    display: grid;
    width: 70px;
    height: 70px;
    padding: 0;
    place-items: center;
    overflow: visible;
    cursor: pointer;
    color: var(--mvh-navy, #16253D);
    background: linear-gradient(
        135deg,
        var(--mvh-gold, #EFB509),
        var(--mvh-gold2, #CD7213)
    );
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22),
        0 0 0 5px rgba(239, 181, 9, 0.17);
    transition:
        transform 180ms var(--mvh-ease, ease),
        box-shadow 180ms var(--mvh-ease, ease),
        background 180ms var(--mvh-ease, ease);
}

.mv-contact-sticker__toggle:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.28),
        0 0 0 7px rgba(239, 181, 9, 0.2);
}

.mv-contact-sticker__toggle-avatar {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    transition:
        opacity 180ms var(--mvh-ease, ease),
        transform 180ms var(--mvh-ease, ease);
}

.mv-contact-sticker__toggle-icon {
    position: absolute;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--mvh-navy, #16253D);
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
    transition:
        opacity 180ms var(--mvh-ease, ease),
        transform 180ms var(--mvh-ease, ease);
}

.mv-contact-sticker.is-open .mv-contact-sticker__toggle-avatar {
    opacity: 0;
    transform: scale(0.72);
}

.mv-contact-sticker.is-open .mv-contact-sticker__toggle-icon {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.mv-contact-sticker__pulse {
    position: absolute;
    z-index: -1;
    inset: -8px;
    border: 2px solid rgba(239, 181, 9, 0.6);
    border-radius: 50%;
    animation: mv-contact-pulse 2.4s ease-out infinite;
}

/* Tastatur-Fokus */

.mv-contact-sticker__toggle:focus-visible,
.mv-contact-sticker__action:focus-visible {
    outline: none;
    box-shadow: var(--mv-focus, 0 0 0 3px rgba(239, 181, 9, 0.3));
}

.mv-contact-sticker__toggle:focus-visible {
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.9),
        0 0 0 8px rgba(239, 181, 9, 0.62);
}

/* Kontaktformular mit Abstand bei Sticky Header */

#kontaktformular {
    scroll-margin-top: 7rem;
}

/* Animationen */

@keyframes mv-contact-panel-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes mv-contact-pulse {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }

    70% {
        opacity: 0;
        transform: scale(1.35);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

/* Mobil */

@media (max-width: 600px) {
    .mv-contact-sticker {
        right: 0.8rem;
        bottom: calc(0.8rem + env(safe-area-inset-bottom));
    }

    .mv-contact-sticker__panel {
        width: min(360px, calc(100vw - 1.6rem));
    }

    .mv-contact-sticker__toggle {
        width: 64px;
        height: 64px;
    }

    .mv-contact-sticker__toggle-avatar {
        width: 52px;
        height: 52px;
    }

    .mv-contact-sticker__header {
        padding: 1.15rem 1.1rem 1rem;
    }

    .mv-contact-sticker__actions {
        padding: 0 0.9rem;
    }

    .mv-contact-sticker__note {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

/* Bewegungsreduktion respektieren */

@media (prefers-reduced-motion: reduce) {
    .mv-contact-sticker *,
    .mv-contact-sticker *::before,
    .mv-contact-sticker *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .mv-contact-sticker__pulse {
        display: none;
    }
}