.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: linear-gradient(135deg, #25d366, #128c7e); border-radius: 50%; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 999997; transition: all 0.3s ease; border: none; color: white; font-size: 32px; animation: whatsapp-pulse 3s infinite; } .whatsapp-float:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6); } .whatsapp-float i { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); } @keyframes whatsapp-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1); } } .whatsapp-float::before { content: 'WhatsApp Kontakt'; position: absolute; right: 75px; background: rgba(17, 24, 39, 0.95); color: white; padding: 8px 16px; border-radius: 8px; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; font-family: 'Montserrat', sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,0.2); } .whatsapp-float:hover::before { opacity: 1; } .whatsapp-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99999999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .whatsapp-modal.show { opacity: 1; visibility: visible; } .whatsapp-modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .whatsapp-modal-content { position: relative; background: linear-gradient(135deg, #1A1A2E, #0F0F1A); border-radius: 20px; max-width: 450px; width: 90%; padding: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); border: 1px solid rgba(209, 173, 111, 0.32); transform: scale(0.9); transition: transform 0.3s ease; z-index: 99999999; overflow: hidden; } .whatsapp-modal.show .whatsapp-modal-content { transform: scale(1); } .whatsapp-modal-header { background: linear-gradient(135deg, #99317F, #4F1A41); padding: 24px; text-align: center; position: relative; } .whatsapp-modal-close { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); color: white; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; font-size: 18px; z-index: 10; } .whatsapp-modal-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); } .whatsapp-modal-icon { font-size: 56px; color: white; margin-bottom: 12px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); } .whatsapp-modal-title { color: white; font-size: 24px; font-weight: 700; margin: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.1); } .whatsapp-modal-body { padding: 32px 24px; text-align: center; } .whatsapp-modal-description { color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.6; margin-bottom: 24px; } .whatsapp-qr-container { background: white; border-radius: 16px; padding: 20px; margin-bottom: 24px; border: 2px solid #E5E7EB; display: inline-block; } .whatsapp-qr-container img { width: 200px; height: 200px; display: block; border-radius: 8px; } .whatsapp-modal-button { background: linear-gradient(135deg, #E4D4B4, #D1AD6F 55%, #B89855); color: #1A1A2E; padding: 14px 32px; border-radius: 12px; border: none; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 4px 12px rgba(209, 173, 111, 0.32); text-decoration: none; } .whatsapp-modal-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(209, 173, 111, 0.5); } .whatsapp-modal-button i { font-size: 20px; } @media (max-width: 768px) { .whatsapp-float { width: 55px; height: 55px; font-size: 28px; bottom: 20px; right: 20px; } .whatsapp-float::before { display: none; } .whatsapp-modal-content { width: 95%; max-width: 95%; } .whatsapp-modal-header { padding: 20px; } .whatsapp-modal-icon { font-size: 48px; } .whatsapp-modal-title { font-size: 20px; } .whatsapp-modal-body { padding: 24px 20px; } .whatsapp-qr-container img { width: 180px; height: 180px; } } @media (max-width: 480px) { .whatsapp-float { width: 50px; height: 50px; font-size: 24px; } .whatsapp-modal-icon { font-size: 40px; } .whatsapp-modal-title { font-size: 18px; } .whatsapp-qr-container { padding: 16px; } .whatsapp-qr-container img { width: 160px; height: 160px; } .whatsapp-modal-button { padding: 12px 24px; font-size: 14px; } }