.whatsapp-float {
    position: fixed !important;
    left: auto !important;
    right: 30px !important;
    bottom: 30px !important;
    z-index: 9999;
    display: inline-flex;
    min-width: 230px;
    height: 60px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border-radius: 10px;
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-2px);
    background-color: #1ebe5d;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.whatsapp-float svg {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .whatsapp-float {
        left: auto !important;
        right: 15px !important;
        bottom: 15px !important;
        min-width: 205px;
        height: 54px;
        padding: 0 14px;
        font-size: 15px;
    }

    .whatsapp-float svg {
        width: 29px;
        height: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: none;
    }
}

/* Positionskorrektur 2026-09-07 */
.whatsapp-float {
    right: max(30px, env(safe-area-inset-right)) !important;
    bottom: max(30px, env(safe-area-inset-bottom)) !important;
}
@media (max-width: 600px) {
    .whatsapp-float {
        right: max(15px, env(safe-area-inset-right)) !important;
        bottom: max(15px, env(safe-area-inset-bottom)) !important;
        max-width: calc(100vw - 30px);
    }
}
.visitor-counter {
  display: inline-block;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.visitor-counter strong {
  font-weight: 700;
}
