<div id="mobile-menu" class="mobile-menu"><button type="button" id="close-menu" class="close-menu">×</button><ul><li><a href="#home" class="active">Home</a></li><li><a href="#about">About</a></li><li><a href="#courses">Courses</a></li><li><a href="#testimonials">Testimonials</a></li><li><a href="#contact">Contact</a></li></ul></div><section id="home" class="hero"><div class="hero-content"><h1>Herzlich Willkommen!</h1><p>Welcome to your premier German Learning Education Center – your gateway to mastering the German language and immersing yourself in its rich culture. Whether you're a complete beginner eager to say 'Guten Tag,' a student preparing for academic or professional pursuits, or an enthusiast seeking deeper cultural understanding, our center is designed to guide you every step of the way.</p><p>We believe that learning German should be an engaging and rewarding journey, and we've crafted our programs to make it just that.</p><div><a href="#courses" class="btn">Start Learning</a><a href="#contact" class="btn btn-outline">Contact Us</a></div></div></section><section id="unlock-potential" class="section"><div class="container"><div class="section-title"><h2>Unlock Your German Potential</h2><p>Our comprehensive curriculum spans all proficiency levels, from foundational A1 to advanced C2, ensuring a tailored learning path for everyone.</p></div><div class="features-container"><div class="feature-box"><div class="feature-icon">🎯</div><h3>Dynamische Intensive Kurse</h3><p>Intensive courses designed to accelerate your language learning with focused, practical instruction.</p></div><div class="feature-box"><div class="feature-icon">🌙</div><h3>Flexible Abendkurse</h3><p>Catering to busy schedules, our evening courses provide quality learning without disrupting your day.</p></div><div class="feature-box"><div class="feature-icon">💼</div><h3>Spezialisierte Geschäftsdeutsch</h3><p>Business German programs to enhance your professional communication in international settings.</p></div><div class="feature-box"><div class="feature-icon">📝</div><h3>Exam Preparation</h3><p>Specialized preparation for certificates like Goethe-Zertifikat and TestDaF for academic and professional success.</p></div></div></div></section><section id="why-us" class="section why-us"><div class="container"><div class="section-title"><h2>Why Choose Our German Learning Center?</h2><p>We stand out as a beacon of German language education, driven by a passion for teaching and a commitment to your success.</p></div><div class="features-container"><div class="feature-box"><div class="feature-icon">👩‍🏫</div><h3>Native-Sprecher Lehrkräfte</h3><p>Highly qualified, native-speaking instructors with years of experience and enthusiasm, ensuring authentic language exposure.</p></div><div class="feature-box"><div class="feature-icon">👥</div><h3>Kleine Klassengrößen</h3><p>Maintaining small class sizes so every student receives individual attention and ample practice opportunities.</p></div><div class="feature-box"><div class="feature-icon">🌎</div><h3>Kulturelle Aktivitäten</h3><p>Beyond the classroom, we organize cultural events and workshops to experience Germany's vibrant spirit firsthand.</p></div><div class="feature-box"><div class="feature-icon">📖</div><h3>Interaktive Methodik</h3><p>Using interactive and communicative teaching methodologies, we make learning effective and enjoyable.</p></div></div></div></section><section id="testimonials" class="section testimonials"><div class="container"><div class="section-title"><h2>Hear From Our Happy Learners</h2><p>The success stories of our students are what drive us to continually improve our curriculum and teaching methods.</p></div><div class="features-container"><div class="testimonial"><p class="testimonial-text">"Learning German felt daunting, but this center made it incredibly fun and manageable. I passed my B1 exam with confidence and made wonderful friends!"</p><p class="testimonial-author">— Sarah M.</p></div><div class="testimonial"><p class="testimonial-text">"The teachers are truly fantastic, and the small class size really helped me improve my speaking skills quickly. Highly recommend!"</p><p class="testimonial-author">— David L.</p></div></div></div></section><section class="section"><div class="container"><div class="section-title"><h2>Begin Your German Adventure Today</h2><p>Ready to embark on your journey to fluency? Explore our diverse course offerings and find the perfect program that fits your goals and schedule.</p></div></div></section><section id="cta" class="cta-section"><div class="container"><h2>Join Our Vibrant Community</h2><p>Beyond our structured courses, become part of a dynamic network of German learners and enthusiasts.</p><a href="#contact" class="btn btn-outline">Contact Us</a></div></section><footer id="contact"><div class="container"><p class="footer-text">
                German Learning Education Center<br>
                Your gateway to mastering the German language.<br>
                Email: info@german-learning-center.com<br>
                Phone: +123 456 7890<br></p><div class="social-icons"><a href="#" class="social-icon">f</a><a href="#" class="social-icon">t</a><a href="#" class="social-icon">in</a><a href="#" class="social-icon">ig</a></div><p>© 2023 German Learning Education Center. All rights reserved.</p></div></footer><script>
        document.addEventListener('DOMContentLoaded', function() {
            // Header scroll effect
            const header = document.getElementById('header');
            const mobileMenuBtn = document.querySelector('.mobile-menu-btn');
            const closeMenuBtn = document.getElementById('close-menu');
            const mobileMenu = document.getElementById('mobile-menu');
            const navLinks = document.querySelectorAll('nav a, .mobile-menu a');
            const smoothScrollLinks = document.querySelectorAll('a[href^="#"]');
            
            window.addEventListener('scroll', () => {
                if (window.scrollY > 100) {
                    header.classList.add('scrolled');
                } else {
                    header.classList.remove('scrolled');
                }
            });
            
            // Mobile menu toggle
            mobileMenuBtn.addEventListener('click', () => {
                mobileMenu.classList.add('active');
                document.body.style.overflow = 'hidden';
                
                // Highlight active nav link on mobile
                updateActiveLink();
            });
            
            closeMenuBtn.addEventListener('click', () => {
                mobileMenu.classList.remove('active');
                document.body.style.overflow = '';
            });
            
            function updateActiveLink() {
                const sections = document.querySelectorAll('section');
                const navHeight = header.offsetHeight;
                
                let currentSection = '';
                
                sections.forEach(section => {
                    const sectionTop = section.offsetTop - navHeight;
                    const sectionHeight = section.offsetHeight;
                    const sectionId = section.getAttribute('id');
                    
                    if (window.scrollY >= sectionTop && window.scrollY < sectionTop + sectionHeight) {
                        currentSection = sectionId;
                    }
                });
                
                navLinks.forEach(link => {
                    link.classList.remove('active');
                    if (link.getAttribute('href') === '#' + currentSection) {
                        link.classList.add('active');
                    }
                });
            }
            
            // Smooth scrolling for in-page anchor links
            smoothScrollLinks.forEach(link => {
                link.addEventListener('click', function(e) {
                    if (this.getAttribute('href') === '#') return;
                    
                    e.preventDefault();
                    
                    // Close mobile menu if open
                    mobileMenu.classList.remove('active');
                    
                    // Record active navigation
                    updateActiveLink();
                    
                    const targetId = this.getAttribute('href');
                    if (targetId === '#') return;
                    
                    const targetElement = document.querySelector(targetId);
                    if (targetElement) {
                        // Ensure the target element is in view after scrolling
                        const targetPosition = targetElement.getBoundingClientRect().top + window.pageYOffset;
                        const offsetPosition = targetPosition - window.innerHeight + 100;
                        
                        window.scrollTo({
                            top: offsetPosition,
                            behavior: 'smooth'
                        });
                    }
                });
            });
            
            // Highlight active nav links based on scroll position
            window.addEventListener('scroll', updateActiveLink);
            
            // Initial call to set active link
            updateActiveLink();
        });
    </script>