Clean up dead code and unused assets

- Remove trust-indicators JavaScript animations from animations-enhanced.js
- Clean up translation keys for removed indicator elements
- Remove selector references from config.js
- Fix missing video reference (hero-tech-pattern.mp4)
- Remove massive unused CSS sections: timeline, digital-beat, neural network viz
- Reduce animations.css from 2669 to 272 lines (90% size reduction)

This removes code that was referencing non-existent HTML elements
and large unused visual effects from previous design iterations.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Dieser Commit ist enthalten in:
Claude Code
2025-09-05 21:13:04 +00:00
Ursprung 21a0ba0757
Commit 781216cd26
4 geänderte Dateien mit 0 neuen und 2504 gelöschten Zeilen

Datei anzeigen

@ -12,7 +12,6 @@ const EnhancedAnimations = {
this.initCardTilt();
this.initSmoothScroll();
this.initCursorEffects();
this.initNumberCounters();
this.initRevealOnScroll();
this.initNavbarEffects();
},
@ -157,55 +156,6 @@ const EnhancedAnimations = {
return;
},
// Animated number counters
initNumberCounters() {
const counters = document.querySelectorAll('.indicator-value');
const animationDuration = 2000;
let hasAnimated = false;
const animateCounters = () => {
if (hasAnimated) return;
counters.forEach(counter => {
const target = parseFloat(counter.dataset.target);
const start = 0;
const increment = target / (animationDuration / 16);
let current = start;
const updateCounter = () => {
current += increment;
if (current < target) {
counter.textContent = Math.floor(current);
requestAnimationFrame(updateCounter);
} else {
counter.textContent = target % 1 === 0 ? target : target.toFixed(1);
}
};
updateCounter();
});
hasAnimated = true;
};
// Trigger on scroll into view
const observerOptions = {
threshold: 0.5
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
animateCounters();
}
});
}, observerOptions);
const indicatorsSection = document.querySelector('.trust-indicators');
if (indicatorsSection) {
observer.observe(indicatorsSection);
}
},
// Reveal elements on scroll
initRevealOnScroll() {