/* -----------------------------------
   FLOATING BUTTON – unten rechts
----------------------------------- */

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transition: opacity 0.35s ease, transform 0.45s ease;
    opacity: 1;
}

.floating-button a {
    display: inline-block;
    background: #3AAADD;
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: 0.25s ease;
}

.floating-button a:hover {
    background: #96BA3B;
    transform: translateY(-2px);
}

/* Floating Button nach unten raus sliden */
.floating-button.hide {
    opacity: 0;
    transform: translateY(60px);
    pointer-events: none;
}

/* -----------------------------------
   END-CONTAINER – im Layout, zentriert
----------------------------------- */

.floating-button-end-container {
    max-width: 1440px;
    margin: 24px 2% auto;
    padding: 14px 22px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.floating-button-end-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-button-end-container a {
    background: #3AAADD;
    color: #fff;
    padding: 16px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s ease;
}

/* Hover-Farbe wie rechts */
.floating-button-end-container a:hover {
    background: #96BA3B;
}

/* -----------------------------------
   MOBILE
----------------------------------- */

@media (max-width: 800px) {

    .floating-button {
        bottom: 15px;
        right: 15px;
    }

    .floating-button-end-container {
        margin: 40px auto 30px;
        padding: 30px 20px;
    }

    .floating-button-end-container a {
        padding: 14px 24px;
        font-size: 18px;
    }
}
