Features: - Complete Luftglanz drone cleaning website - AI chat assistant integrated with OpenAI API - Expert product advice for AGO Quart and Mellerud cleaning products - Formal German language support (Sie form) - Secure PHP backend for API calls - Responsive design with mobile support - Product-specific knowledge base - Safety statements from manufacturers - Multi-page integration (index, products, services, contact) Technical components: - AI chat widget (js/ai-chat.js) - Chat styling (css/components/ai-chat.css) - Backend API (ai-chat-api.php) - Product knowledge base with detailed specifications - Demo and documentation files
585 lines
18 KiB
HTML
585 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Kontakt - Luftglanz</title>
|
|
<link rel="icon" href="../images/favicon_logo.png" type="image/png">
|
|
<link rel="stylesheet" href="../css/normalize.css">
|
|
<link rel="stylesheet" href="../css/main.css">
|
|
<link rel="stylesheet" href="../css/components/header.css">
|
|
<link rel="stylesheet" href="../css/components/footer.css">
|
|
<link rel="stylesheet" href="../css/components/hero.css">
|
|
<link rel="stylesheet" href="../css/components/forms.css">
|
|
<link rel="stylesheet" href="../css/components/ai-chat.css">
|
|
<style>
|
|
:root {
|
|
--primary-color: #3498db; /* Clean blue primary */
|
|
--accent-color: #00c2cb; /* Teal accent */
|
|
--secondary-color: #505050;
|
|
--bg-light: #f8f9fa; /* Very light background */
|
|
--card-bg: #ffffff; /* White card background */
|
|
--text-dark: #333333;
|
|
--text-medium: #505050;
|
|
--text-light: #707070;
|
|
--gradient-primary: linear-gradient(90deg, #3498db 0%, #00c2cb 100%);
|
|
--gradient-secondary: linear-gradient(90deg, #2980b9 0%, #009ea6 100%);
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
--spacing-section: 5rem 0;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
max-width: 100%;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-medium);
|
|
background-color: var(--bg-light);
|
|
background-image:
|
|
linear-gradient(120deg, rgba(0, 120, 212, 0.05) 0%, transparent 40%),
|
|
linear-gradient(240deg, rgba(0, 178, 148, 0.05) 0%, transparent 40%);
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* Header styling */
|
|
header {
|
|
padding: 1.5rem 0;
|
|
background: rgba(232, 233, 234, 0.95); /* Changed to match --bg-light variable */
|
|
backdrop-filter: blur(8px);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
|
|
height: auto;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.logo-img {
|
|
height: 40px;
|
|
width: auto;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.logo h1 {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
background: var(--gradient-primary);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
text-fill-color: transparent;
|
|
}
|
|
|
|
/* Navigation styling */
|
|
.main-nav ul {
|
|
display: flex;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.main-nav a {
|
|
color: var(--text-medium);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
font-size: 0.9rem;
|
|
letter-spacing: 0.5px;
|
|
padding: 0.5rem 0;
|
|
position: relative;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.main-nav a:hover, .main-nav a.active {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.main-nav a::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 0;
|
|
height: 2px;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: var(--gradient-primary);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.main-nav a:hover::after, .main-nav a.active::after {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Section styling */
|
|
.section-container {
|
|
padding: 2.5rem;
|
|
margin-bottom: 2rem;
|
|
position: relative;
|
|
}
|
|
|
|
.section-title {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
position: relative;
|
|
color: var(--text-dark);
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.section-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 60px;
|
|
height: 3px;
|
|
background: var(--gradient-primary);
|
|
bottom: -1rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.section-description {
|
|
text-align: center;
|
|
color: var(--text-light);
|
|
max-width: 800px;
|
|
margin: 0 auto 3rem;
|
|
font-size: 1.1rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* Contact info cards */
|
|
.contact-info {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.contact-method {
|
|
background-color: var(--card-bg);
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
border-radius: 10px;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.contact-method:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.contact-method h3 {
|
|
color: var(--text-dark);
|
|
margin-top: 0;
|
|
margin-bottom: 1rem;
|
|
font-size: 1.3rem;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.contact-method h3::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 30px;
|
|
height: 2px;
|
|
background: var(--gradient-primary);
|
|
bottom: -0.5rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.contact-method p {
|
|
color: var(--text-light);
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Contact form */
|
|
.contact-form {
|
|
background-color: var(--card-bg);
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
border-radius: 10px;
|
|
padding: 2.5rem;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--text-medium);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea,
|
|
.form-group select {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-radius: 6px;
|
|
color: var(--text-medium);
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus,
|
|
.form-group select:focus {
|
|
outline: none;
|
|
border-color: var(--accent-color);
|
|
box-shadow: 0 0 0 2px rgba(0, 194, 203, 0.2);
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--gradient-primary);
|
|
color: var(--text-dark);
|
|
border: none;
|
|
padding: 0.8rem 1.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
flex-grow: 1;
|
|
box-shadow: var(--shadow);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 0 20px rgba(0, 194, 203, 0.6);
|
|
}
|
|
|
|
.btn-primary::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: var(--gradient-secondary);
|
|
border-radius: 6px;
|
|
z-index: -1;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.btn-primary:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
color: var(--text-medium);
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
padding: 0.8rem 1.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Language Switcher - Updated to match About Us page */
|
|
.language-switcher {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.language-switcher button {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: var(--text-medium);
|
|
padding: 0.4rem 0.75rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.language-switcher button.active,
|
|
.language-switcher button:hover {
|
|
background: var(--gradient-primary);
|
|
border-color: transparent;
|
|
}
|
|
|
|
/* Stars Background */
|
|
.stars {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.star {
|
|
position: absolute;
|
|
width: 2px;
|
|
height: 2px;
|
|
background-color: white;
|
|
border-radius: 50%;
|
|
opacity: 0.5;
|
|
animation: twinkling 4s infinite;
|
|
}
|
|
|
|
@keyframes twinkling {
|
|
0% { opacity: 0.2; }
|
|
50% { opacity: 0.5; }
|
|
100% { opacity: 0.2; }
|
|
}
|
|
|
|
/* Footer styling */
|
|
footer {
|
|
background-color: rgba(255, 255, 255, 0.95);
|
|
padding: 2rem 0;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
text-align: center;
|
|
color: var(--text-light);
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
main {
|
|
padding-top: 8rem;
|
|
}
|
|
|
|
/* Mobile styles */
|
|
@media (max-width: 768px) {
|
|
.main-nav {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
width: 100%;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
padding: 1rem 0;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.main-nav.active {
|
|
display: block;
|
|
}
|
|
|
|
.main-nav ul {
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.main-nav li {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 0.5rem 0;
|
|
margin: 0;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.main-nav li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.main-nav a {
|
|
display: block;
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
.form-actions {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.contact-form {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.contact-method {
|
|
padding: 1.5rem;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Stars background -->
|
|
<div class="stars" id="stars"></div>
|
|
|
|
<header>
|
|
<div class="container">
|
|
<div class="header-content">
|
|
<div class="logo">
|
|
<img src="../images/favicon_logo.png" alt="Luftglanz Logo" class="logo-img">
|
|
<h1 data-i18n="roof_drone">Luftglanz</h1>
|
|
</div>
|
|
|
|
<nav class="main-nav" id="mainNav">
|
|
<ul>
|
|
<li><a href="../index.html" data-i18n="nav_home">Home</a></li>
|
|
<li><a href="../index.html#services" data-i18n="nav_services">Services</a></li>
|
|
<li><a href="../index.html#how-it-works" data-i18n="nav_how_it_works">How It Works</a></li>
|
|
<li><a href="../index.html#faq" data-i18n="nav_faq">FAQ</a></li>
|
|
<li><a href="#" class="active" data-i18n="nav_contact">Contact</a></li>
|
|
<li><a href="products.html" data-i18n="nav_products">Products</a></li>
|
|
<li><a href="gallery.html" data-i18n="nav_gallery">Gallery</a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<!-- Language switcher removed -->
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
<section class="section-container">
|
|
<div class="container">
|
|
<h2 class="section-title" data-i18n="contact_title">Contact Us</h2>
|
|
<p class="section-description" data-i18n="contact_page_description">Have questions about our services or want to schedule a cleaning? Get in touch with us using any of the methods below.</p>
|
|
|
|
<div class="contact-info">
|
|
<div class="contact-method">
|
|
<h3 data-i18n="contact_phone_title">Phone</h3>
|
|
<p>(555) 123-4567</p>
|
|
</div>
|
|
|
|
<div class="contact-method">
|
|
<h3 data-i18n="contact_email_title">Email</h3>
|
|
<p>info@roofdronecleaning.com</p>
|
|
</div>
|
|
|
|
<div class="contact-method">
|
|
<h3 data-i18n="contact_address_title">Address</h3>
|
|
<p>123 Cleaning Ave<br>Drone City, DC 10001</p>
|
|
</div>
|
|
</div>
|
|
|
|
<form class="contact-form">
|
|
<div class="form-group">
|
|
<label for="name" data-i18n="contact_name">Name</label>
|
|
<input type="text" id="name" name="name" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email" data-i18n="contact_email">Email</label>
|
|
<input type="email" id="email" name="email" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="phone" data-i18n="contact_phone">Phone (Optional)</label>
|
|
<input type="tel" id="phone" name="phone">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="address" data-i18n="contact_address">Address</label>
|
|
<input type="text" id="address" name="address">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="message" data-i18n="contact_message">Message</label>
|
|
<textarea id="message" name="message" required rows="4"></textarea>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="button" class="btn-secondary" id="resetForm" data-i18n="contact_reset">Reset</button>
|
|
<button type="submit" class="btn-primary" data-i18n="contact_send">Send Message</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer>
|
|
<div class="container">
|
|
<p data-i18n="footer_text">© 2023 Luftglanz. Alle Rechte vorbehalten.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="../js/translations.js"></script>
|
|
<script src="../js/language-manager.js"></script>
|
|
<script src="../js/ai-chat.js"></script>
|
|
<script>
|
|
// Add star backgrounds dynamically
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const starsContainer = document.getElementById('stars');
|
|
const starsCount = 100;
|
|
|
|
for(let i = 0; i < starsCount; i++) {
|
|
const star = document.createElement('div');
|
|
star.classList.add('star');
|
|
|
|
// Random position
|
|
star.style.left = `${Math.random() * 100}%`;
|
|
star.style.top = `${Math.random() * 100}%`;
|
|
|
|
// Random size
|
|
const size = Math.random() * 2;
|
|
star.style.width = `${size}px`;
|
|
star.style.height = `${size}px`;
|
|
|
|
// Random delay for twinkling
|
|
star.style.animationDelay = `${Math.random() * 4}s`;
|
|
|
|
starsContainer.appendChild(star);
|
|
}
|
|
|
|
// Reset form functionality
|
|
const resetButton = document.getElementById('resetForm');
|
|
const contactForm = document.querySelector('.contact-form');
|
|
|
|
if (resetButton && contactForm) {
|
|
resetButton.addEventListener('click', function() {
|
|
contactForm.reset();
|
|
});
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |