This commit is contained in:
2026-03-03 17:11:20 +01:00
parent 35929cc932
commit 15808b533d
2 changed files with 8 additions and 4 deletions

View File

@@ -124,6 +124,9 @@ document.addEventListener("DOMContentLoaded", function() {
function initPhoneCallFunctionality() {
const demoPhoneBtn = document.getElementById('demoPhoneBtn');
// Phone button functionality commented out for now
// Will be implemented later
/*
if (demoPhoneBtn) {
demoPhoneBtn.addEventListener('click', function(e) {
// Check if mobile device
@@ -134,7 +137,7 @@ document.addEventListener("DOMContentLoaded", function() {
// Show desktop fallback message
const phoneNumber = '+493021927825';
const message = `Bitte rufen Sie uns direkt an: ${phoneNumber}\n\nOder nutzen Sie das Kontaktformular für eine schriftliche Anfrage.`;
const message = `Bald verfügbar`;
// Create a custom modal instead of alert
const modal = document.createElement('div');
@@ -162,7 +165,7 @@ document.addEventListener("DOMContentLoaded", function() {
text-align: center;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
">
<h3 style="margin: 0 0 1rem 0; color: #333;">Telefonnummer</h3>
<h3 style="margin: 0 0 1rem 0; color: #333;">Bald verfügbar</h3>
<p style="margin: 0 0 1.5rem 0; color: #666; line-height: 1.6;">${message}</p>
<button style="
background: #10b981;
@@ -281,4 +284,4 @@ document.addEventListener("DOMContentLoaded", function() {
contactForm.reset();
});
}
});
});