Restructure page: pricing after hero, FAQ section, text updates

- Move Hinnat section right after Palvelut for better visibility
- Add FAQ section with 6 colocation questions and toggle animation
- Update nav order: Palvelut, Hinnat, Konesali, Yhteystiedot
- Rewrite "Paikallinen palvelu" text (remove staff meeting mention)
- Rewrite "Nopeat yhteydet" to emphasize direct fast connection
- Change Yhteystiedot to light background for better alternation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 15:07:55 +02:00
parent 0333611037
commit 67fa9ba099
3 changed files with 285 additions and 147 deletions

View File

@@ -43,11 +43,20 @@ document.addEventListener('DOMContentLoaded', () => {
}, observerOptions);
// Add fade-in to sections
document.querySelectorAll('.service-card, .feature, .pricing-card, .contact-form, .contact-info').forEach(el => {
document.querySelectorAll('.service-card, .feature, .pricing-card, .faq-item, .contact-form, .contact-info').forEach(el => {
el.classList.add('fade-in');
observer.observe(el);
});
// === FAQ toggle ===
document.querySelectorAll('.faq-question').forEach(btn => {
btn.addEventListener('click', () => {
const expanded = btn.getAttribute('aria-expanded') === 'true';
btn.setAttribute('aria-expanded', !expanded);
btn.nextElementSibling.classList.toggle('open');
});
});
// === Contact form ===
const form = document.getElementById('contact-form');
const formStatus = document.getElementById('form-status');