/* A single persistent contact link, using the existing Kirchgasser palette. */
#kg-floating-contact.kg-floating-contact {
    position: fixed;
    right: max(28px, env(safe-area-inset-right));
    bottom: max(28px, env(safe-area-inset-bottom));
    z-index: 11000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    padding: 15px 21px;
    border: 1px solid #fff;
    border-radius: 0;
    background: #494948;
    color: #fff;
    box-shadow: 0 5px 22px rgba(0, 0, 0, .16);
    font-family: 'apercu-bold', Arial, sans-serif;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: .15px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: background-color .18s ease, box-shadow .18s ease;
}
#kg-floating-contact.kg-floating-contact:hover {
    color: #fff;
    background: #252523;
    border-color: #fff;
    text-decoration: none;
    box-shadow: 0 7px 25px rgba(0, 0, 0, .23);
}
#kg-floating-contact.kg-floating-contact:focus-visible {
    outline: 3px solid #494948;
    outline-offset: 4px;
}
#kg-floating-contact.kg-floating-contact svg {
    display: block;
    flex: 0 0 19px;
    position: static;
    width: 19px;
    height: 19px;
    margin: 0;
    padding: 0;
    color: inherit;
}
/* Keep the template's back-to-top control separate from the new CTA. */
body:has(#kg-floating-contact) .scrollup { bottom: 102px; }
@media(max-width:767px) {
    #kg-floating-contact.kg-floating-contact {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        gap: 14px;
        min-height: 49px;
        padding: 13px 17px;
        font-size: 14px;
    }
    body:has(#kg-floating-contact) .scrollup { bottom: 82px; }
}
@media(prefers-reduced-motion:reduce) {
    #kg-floating-contact.kg-floating-contact { transition: none; }
}
@media print { #kg-floating-contact.kg-floating-contact { display: none !important; } }
