v5
This commit is contained in:
@@ -187,7 +187,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<h3>KI-Telefonassistent</h3>
|
<h3>KI-Telefonassistent</h3>
|
||||||
<p>Rufen Sie jetzt an und erleben Sie, wie unsere KI Ihr Anliegen aufnimmt und verarbeitet.</p>
|
<p>Rufen Sie jetzt an und erleben Sie, wie unsere KI Ihr Anliegen aufnimmt und verarbeitet.</p>
|
||||||
<a href="tel:+493021927825" class="demo-btn" id="demoPhoneBtn">Jetzt anrufen</a>
|
<a href="#" class="demo-btn" id="demoPhoneBtn" onclick="event.preventDefault(); var m=document.createElement('div'); m.style.cssText='position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;z-index:10000;font-family:system-ui,sans-serif;'; m.innerHTML='<div style="background:white;padding:2rem;border-radius:12px;max-width:400px;margin:1rem;text-align:center;box-shadow:0 20px 25px -5px rgba(0,0,0,0.1)"><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">Bald verfügbar</p><button style="background:#10b981;color:white;border:none;padding:0.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:1rem">OK</button></div>'; document.body.appendChild(m); m.addEventListener('click',function(e){if(e.target===m||e.target.tagName==='BUTTON'){document.body.removeChild(m)}}); setTimeout(function(){if(document.body.contains(m))document.body.removeChild(m)},5000);">Jetzt anrufen</a>
|
||||||
<span class="demo-note">Kostenlos · Keine Wartezeit · 24/7</span>
|
<span class="demo-note">Kostenlos · Keine Wartezeit · 24/7</span>
|
||||||
|
|
||||||
<!-- Sound Visualization Animation -->
|
<!-- Sound Visualization Animation -->
|
||||||
@@ -224,6 +224,7 @@
|
|||||||
<input type="text" class="chat-input-field" placeholder="Ihre Nachricht...">
|
<input type="text" class="chat-input-field" placeholder="Ihre Nachricht...">
|
||||||
<button class="chat-send-btn">Senden</button>
|
<button class="chat-send-btn">Senden</button>
|
||||||
</div>
|
</div>
|
||||||
|
<p style="font-size: 0.75rem; color: #999999; margin: 4px 8px 0; line-height: 1.3;">Dies ist ein KI-System. Bitte geben Sie keine sensiblen personenbezogenen Daten ein.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -124,6 +124,9 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
function initPhoneCallFunctionality() {
|
function initPhoneCallFunctionality() {
|
||||||
const demoPhoneBtn = document.getElementById('demoPhoneBtn');
|
const demoPhoneBtn = document.getElementById('demoPhoneBtn');
|
||||||
|
|
||||||
|
// Phone button functionality commented out for now
|
||||||
|
// Will be implemented later
|
||||||
|
/*
|
||||||
if (demoPhoneBtn) {
|
if (demoPhoneBtn) {
|
||||||
demoPhoneBtn.addEventListener('click', function(e) {
|
demoPhoneBtn.addEventListener('click', function(e) {
|
||||||
// Check if mobile device
|
// Check if mobile device
|
||||||
@@ -134,7 +137,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
|
|
||||||
// Show desktop fallback message
|
// Show desktop fallback message
|
||||||
const phoneNumber = '+493021927825';
|
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
|
// Create a custom modal instead of alert
|
||||||
const modal = document.createElement('div');
|
const modal = document.createElement('div');
|
||||||
@@ -162,7 +165,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
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>
|
<p style="margin: 0 0 1.5rem 0; color: #666; line-height: 1.6;">${message}</p>
|
||||||
<button style="
|
<button style="
|
||||||
background: #10b981;
|
background: #10b981;
|
||||||
@@ -281,4 +284,4 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
contactForm.reset();
|
contactForm.reset();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user