-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkontakt.html
More file actions
418 lines (358 loc) · 18.5 KB
/
Copy pathkontakt.html
File metadata and controls
418 lines (358 loc) · 18.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kontakt - ValCode</title>
<link rel="icon" type="image/png" href="/assets/logo_w.png">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="/styles/global.css">
<link rel="stylesheet" href="/styles/kontakt.css">
</head>
<body>
<nav>
<div class="logo">
<a href="https://valcode.ch">
<img src="/assets/VClogo_dark.png" alt="ValCode Logo">
</a>
</div>
<button class="menu-toggle" aria-label="Menu">
<span></span>
<span></span>
<span></span>
</button>
<ul class="nav-menu">
<li><a href="https://valcode.ch#services">Services</a></li>
<li><a href="https://valcode.ch#portfolio">Portfolio</a></li>
<li><a href="https://valcode.ch#about">Über uns</a></li>
<li><a href="https://valcode.ch/kontakt">Kontakt</a></li>
</ul>
</nav>
<section class="hero">
<div class="hero-content">
<h1>Lass uns zusammenarbeiten</h1>
<p class="subtitle">Wir freuen uns auf deine Nachricht</p>
<p class="tagline">Hast du eine Idee oder ein Projekt im Kopf? Melde dich unverbindlich bei uns und wir besprechen gemeinsam, wie wir dir helfen können.</p>
</div>
</section>
<section class="contact">
<div class="contact-wrapper">
<div class="contact-info">
<div class="info-card">
<i class="fa-solid fa-envelope info-icon"></i>
<h3>E-Mail</h3>
<a href="mailto:info@valcode.ch">info@valcode.ch</a>
<p>Wir antworten in der Regel innerhalb von 24 Stunden</p>
</div>
<div class="info-card">
<i class="fa-solid fa-location-dot info-icon"></i>
<h3>Standort</h3>
<p>Wallis, Schweiz</p>
<p class="info-detail">Remote & lokal verfügbar</p>
</div>
<div class="info-card">
<i class="fa-solid fa-clock info-icon"></i>
<h3>Verfügbarkeit</h3>
<p>Flexibel nach Vereinbarung</p>
</div>
<div class="info-highlight">
<h3>Was du erwarten kannst:</h3>
<ul>
<li><i class="fa-solid fa-check"></i> Kostenlose Erstberatung</li>
<li><i class="fa-solid fa-check"></i> Schnelle & direkte Kommunikation</li>
<li><i class="fa-solid fa-check"></i> Transparente Abläufe</li>
<li><i class="fa-solid fa-check"></i> Persönlicher Support</li>
</ul>
</div>
</div>
<div class="contact-form-container">
<form class="contact-form" id="contactForm" name="contactForm">
<div class="form-header">
<h2>Schreib uns eine Nachricht</h2>
<p>Fülle das Formular aus oder schreibe uns direkt an <a href="mailto:info@valcode.ch">info@valcode.ch</a></p>
</div>
<div id="formMessage" class="form-message" style="display: none;"></div>
<div class="form-group">
<label for="name">Name *</label>
<input type="text" id="name" name="name" required placeholder="Dein Name" autocomplete="off">
</div>
<div class="form-group">
<label for="email">E-Mail *</label>
<input type="email" id="email" name="email" required placeholder="deine@email.ch" autocomplete="off">
</div>
<div class="form-group">
<label for="phone">Telefon (optional)</label>
<input type="tel" id="phone" name="phone" placeholder="+41 XX XXX XX XX" autocomplete="off">
</div>
<div class="form-group">
<label for="project">Projekttyp</label>
<select id="project" name="project" autocomplete="off">
<option value="">Bitte auswählen</option>
<option value="webseite">Webseite</option>
<option value="webapp">Webapplikation</option>
<option value="mobile">Mobile App</option>
<option value="software">Software-Entwicklung</option>
<option value="hosting">Hosting</option>
<option value="api">API & Integrationen</option>
<option value="design">UI/UX Design</option>
<option value="andere">Andere</option>
</select>
</div>
<div class="form-group">
<label for="message">Nachricht *</label>
<textarea id="message" name="message" rows="6" required placeholder="Erzähle uns von deinem Projekt..." autocomplete="off"></textarea>
</div>
<button type="submit" class="btn-primary">
<i class="fa-solid fa-paper-plane"></i>
Nachricht senden
</button>
<p class="form-note">* Pflichtfelder</p>
</form>
</div>
</div>
</section>
<section class="faq">
<div class="section-header">
<h2 class="section-title">Häufig gestellte Fragen</h2>
<p class="section-subtitle">Antworten auf die wichtigsten Fragen</p>
</div>
<div class="faq-container">
<div class="faq-item">
<div class="faq-question">
<h3>Wie lange dauert die Entwicklung eines Projekts?</h3>
<i class="fa-solid fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Die Dauer hängt vom Projektumfang ab. Eine einfache Webseite kann in 1-2 Wochen fertig sein, während komplexere Webapps oder Mobile Apps mehrere Wochen bis Monate in Anspruch nehmen. Wir besprechen den Zeitrahmen individuell mit dir.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>Was kostet ein Projekt bei ValCode?</h3>
<i class="fa-solid fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Die Kosten variieren je nach Projektgrösse und Komplexität. Wir erstellen dir nach einer kostenlosen Erstberatung ein individuelles Angebot. Durch unsere Arbeitsweise als Freizeit-Entwickler können wir oft günstigere Preise als grosse Agenturen anbieten.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>Bietet ihr auch Wartung und Support nach Projektabschluss?</h3>
<i class="fa-solid fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Ja, wir bieten Wartung, Updates und Support auch nach Projektabschluss an. Das können wir als einmalige Leistung oder als laufenden Service vereinbaren – ganz nach deinen Bedürfnissen.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>Arbeitet ihr nur mit Kunden aus der Schweiz?</h3>
<i class="fa-solid fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Nein, wir arbeiten mit Kunden aus der gesamten DACH-Region und darüber hinaus. Dank digitaler Kommunikation ist der Standort kein Problem. Wir sind flexibel und können uns an deine Zeitzone anpassen.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>Kann ich auch nur einen Teil meines Projekts auslagern?</h3>
<i class="fa-solid fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Absolut! Wir können dich bei spezifischen Aufgaben unterstützen, etwa bei der Frontend-Entwicklung, API-Integration oder beim Design. Du entscheidest, wo wir helfen sollen.</p>
</div>
</div>
<div class="faq-item">
<div class="faq-question">
<h3>Wie läuft die Zusammenarbeit ab?</h3>
<i class="fa-solid fa-chevron-down"></i>
</div>
<div class="faq-answer">
<p>Nach deiner Anfrage führen wir ein kostenloses Erstgespräch, um dein Projekt zu verstehen. Dann erstellen wir ein Angebot und Zeitplan. Während der Entwicklung halten wir dich regelmässig auf dem Laufenden und holen dein Feedback ein.</p>
</div>
</div>
</div>
</section>
<footer>
<div class="footer-content">
<div class="footer-section">
<h3>ValCode</h3>
<p>Digitale Lösungen aus dem Wallis</p>
<p>Von Entwicklern, für alle die digitale Projekte brauchen</p>
</div>
<div class="footer-section">
<h3>Services</h3>
<a href="https://valcode.ch#services">Webseiten & Webapps</a>
<a href="https://valcode.ch#services">Mobile Apps</a>
<a href="https://valcode.ch#services">Software-Entwicklung</a>
<a href="https://valcode.ch#services">Hosting</a>
</div>
<div class="footer-section">
<h3>Kontakt</h3>
<a href="mailto:info@valcode.ch">info@valcode.ch</a>
<p>Wallis, Schweiz</p>
</div>
</div>
<div class="footer-bottom">
<p>© 2025 ValCode. Alle Rechte vorbehalten.</p>
</div>
</footer>
<script>
// Mobile Menu Toggle
const menuToggle = document.querySelector('.menu-toggle');
const navMenu = document.querySelector('.nav-menu');
const body = document.body;
menuToggle.addEventListener('click', function() {
menuToggle.classList.toggle('active');
navMenu.classList.toggle('active');
body.classList.toggle('menu-open');
});
// Close menu when clicking on a link
document.querySelectorAll('.nav-menu a').forEach(link => {
link.addEventListener('click', function() {
menuToggle.classList.remove('active');
navMenu.classList.remove('active');
body.classList.remove('menu-open');
});
});
// Close menu when clicking on overlay
document.addEventListener('click', function(e) {
if (body.classList.contains('menu-open') &&
!navMenu.contains(e.target) &&
!menuToggle.contains(e.target)) {
menuToggle.classList.remove('active');
navMenu.classList.remove('active');
body.classList.remove('menu-open');
}
});
// Navigation Hintergrund beim Scrollen
const nav = document.querySelector('nav');
window.addEventListener('scroll', function() {
if (window.scrollY > 50) {
nav.classList.add('scrolled');
} else {
nav.classList.remove('scrolled');
}
});
// FAQ Accordion
const faqItems = document.querySelectorAll('.faq-item');
faqItems.forEach(item => {
const question = item.querySelector('.faq-question');
question.addEventListener('click', () => {
const isActive = item.classList.contains('active');
// Close all items
faqItems.forEach(faqItem => {
faqItem.classList.remove('active');
});
// Open clicked item if it wasn't active
if (!isActive) {
item.classList.add('active');
}
});
});
// Telefonnummer-Formatierung
const phoneInput = document.getElementById('phone');
phoneInput.addEventListener('input', function(e) {
// Speichere die Cursor-Position
let cursorPos = e.target.selectionStart;
let oldValue = e.target.value;
let value = e.target.value.replace(/\D/g, ''); // Entferne alle Nicht-Zahlen
// Wenn es mit 41 beginnt (internationale Schweizer Nummer)
if (value.startsWith('41')) {
value = value.substring(2);
}
// Wenn es mit 0 beginnt (nationale Schweizer Nummer)
if (value.startsWith('0')) {
value = value.substring(1);
}
// Begrenze auf maximal 9 Ziffern
if (value.length > 9) {
value = value.substring(0, 9);
}
// Formatiere die Nummer: +41 XX XXX XX XX
let formatted = '+41';
if (value.length > 0) {
formatted += ' ' + value.substring(0, 2);
}
if (value.length > 2) {
formatted += ' ' + value.substring(2, 5);
}
if (value.length > 5) {
formatted += ' ' + value.substring(5, 7);
}
if (value.length > 7) {
formatted += ' ' + value.substring(7, 9);
}
e.target.value = formatted;
});
// Contact Form Submission
const contactForm = document.getElementById('contactForm');
const formMessage = document.getElementById('formMessage');
contactForm.addEventListener('submit', function(e) {
e.preventDefault();
// Get form values
const name = document.getElementById('name').value.trim();
const email = document.getElementById('email').value.trim();
const phone = document.getElementById('phone').value.trim();
const project = document.getElementById('project').value;
const message = document.getElementById('message').value.trim();
// Validate required fields
if (!name || !email || !message) {
showMessage('Bitte fülle alle Pflichtfelder aus.', 'error');
return;
}
// Validate email format
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
if (!emailRegex.test(email)) {
showMessage('Bitte gib eine gültige E-Mail-Adresse ein.', 'error');
return;
}
// Project type translations
const projectTypes = {
'webseite': 'Webseite',
'webapp': 'Webapplikation',
'mobile': 'Mobile App',
'software': 'Software-Entwicklung',
'hosting': 'Hosting',
'api': 'API & Integrationen',
'design': 'UI/UX Design',
'andere': 'Andere'
};
const projectDisplay = project ? projectTypes[project] || project : 'Nicht angegeben';
// Build email body
const emailSubject = 'Kontaktanfrage von ' + name;
const emailBody = 'Neue Kontaktanfrage über valcode.ch\n\n' +
'Name: ' + name + '\n' +
'E-Mail: ' + email + '\n' +
'Telefon: ' + (phone || 'Nicht angegeben') + '\n' +
'Projekttyp: ' + projectDisplay + '\n\n' +
'Nachricht:\n' + message + '\n\n' +
'---\n' +
'Diese E-Mail wurde über das Kontaktformular auf valcode.ch gesendet.';
// Create mailto link
const mailtoLink = 'mailto:info@valcode.ch' +
'?subject=' + encodeURIComponent(emailSubject) +
'&body=' + encodeURIComponent(emailBody);
// Open email client
window.location.href = mailtoLink;
// Show success message
showMessage('Dein E-Mail-Programm wird geöffnet. Bitte sende die E-Mail ab.', 'success');
// Reset form after a short delay
setTimeout(function() {
contactForm.reset();
}, 2000);
});
// Show message function
function showMessage(text, type) {
formMessage.textContent = text;
formMessage.className = 'form-message ' + type;
formMessage.style.display = 'block';
// Hide message after 5 seconds
setTimeout(function() {
formMessage.style.display = 'none';
}, 5000);
}
</script>
</body>
</html>