// Use an IIFE (Immediately Invoked Function Expression) to avoid global scope pollution
(function() {
// Scope variables to the specific section to avoid conflicts with plentymarkets
const section = document.querySelector('.animalixs-category-section');
if (!section) return;
// Add smooth scroll indicator for mobile
const categoryScroll = section.querySelector('#categoryScroll');
const scrollHint = section.querySelector('#scrollHint');
if (!categoryScroll) return;
// Track scroll position for visual feedback
function checkScrollPosition() {
const scrollLeft = categoryScroll.scrollLeft;
const scrollWidth = categoryScroll.scrollWidth;
const clientWidth = categoryScroll.clientWidth;
// Show hint if there is more content to scroll to the right
// (adding a small 2px buffer for rounding errors)
if (scrollWidth - clientWidth - scrollLeft > 2 && scrollLeft < 20) {
if(scrollHint) scrollHint.classList.remove('hidden');
} else {
if(scrollHint) scrollHint.classList.add('hidden');
}
}
categoryScroll.addEventListener('scroll', checkScrollPosition);
// Also check on window resize
window.addEventListener('resize', checkScrollPosition);
// Mobile-specific: Add touch scroll hint for first load
window.addEventListener('load', function() {
checkScrollPosition(); // Check initially on load
// Removed the window.innerWidth <= 768 check so it animates on all devices
categoryScroll.style.animation = 'pulse-scroll 2s ease-in-out';
});
// Add keyboard navigation support (only when mouse is over the container)
section.addEventListener('mouseenter', function() {
document.addEventListener('keydown', handleKeydown);
});
section.addEventListener('mouseleave', function() {
document.removeEventListener('keydown', handleKeydown);
});
function handleKeydown(e) {
if (e.key === 'ArrowLeft') {
categoryScroll.scrollBy({ left: -100, behavior: 'smooth' });
} else if (e.key === 'ArrowRight') {
categoryScroll.scrollBy({ left: 100, behavior: 'smooth' });
}
}
// Dynamically inject the keyframes animation to ensure isolation
const styleId = 'animalixs-category-animations';
if (!document.getElementById(styleId)) {
const styleEl = document.createElement('style');
styleEl.id = styleId;
styleEl.textContent = `
@keyframes pulse-scroll {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
`;
document.head.appendChild(styleEl);
}
})();
Lecksteine-Bar
Mit einer Lecksteine-Bar wird dem Tier gleichzeitig eine Auswahl an verschiedenen Lecksteinen angeboten, sodass es nach freiem Willen seinen individuellen Bedarf an Mineralien, Spurenelementen und Vitaminen ideal ausgleichen kann.
Jeder einzelne unserer Lecksteine ist explizit für Pferde entwickelt worden und weist je nach Sorte eine spezielle Rezeptur auf, wobei der Mineralstoffbedarf der Tiere stets berücksichtigt wird.
Durch das Anbieten verschiedener Lecksteine, kann das Tier auf seinen natürlichen Instinkt zurückgreifen und verschiedene Nährstoffquellen aufsuchen.
Eine LECKSTEINE-BAR ist wohl das Highlight in jedem Offenstall, auf dem Paddock oder der Koppel!

- Top-ArtikelLecksteine-Bar Starter-Set, 4x 3kg, mit BIOTIN+, ZINCOBLOCK, SUPERMAG, MEDITERRANEO42,00 € *12 Kilogramm | 3,50 € / Kilogramm* inkl. ges. MwSt. zzgl. Versandkosten
- Lecksteine-Bar PREMIUM-Set mit KRÄUTERBLOCK, PROBIOTIC, VitaminPlus Selen und PREMIUMBLOCK51,00 € *12 Kilogramm | 4,25 € / Kilogramm* inkl. ges. MwSt. zzgl. Versandkosten
- Top-Artikel[Paket] Pflanzenkraft Bundle, 3x 3kg, mit KräuterBlock, Pro Immun Natural, Spirulina Plus46,00 € *9 Kilogramm | 5,11 € / Kilogramm* inkl. ges. MwSt. zzgl. Versandkosten
- Top-Artikel[Paket] Fell & Huf Bundle, 3x 3kg, mit Zincoblock, Biotin+, Spirulina Plus37,00 € *9 Kilogramm | 4,11 € / Kilogramm* inkl. ges. MwSt. zzgl. Versandkosten
- Top-Artikel[Paket] DarmWohl Bundle, 3x 3kg, mit Probiotic, KräuterBlock, SuperMag45,00 € *9 Kilogramm | 5,00 € / Kilogramm* inkl. ges. MwSt. zzgl. Versandkosten
- Top-Artikel[Paket] Atemwege Bundle, 2x 3kg, mit MultiVitamin Bronchial und Pro Immun Natural27,50 € *6 Kilogramm | 4,58 € / Kilogramm* inkl. ges. MwSt. zzgl. Versandkosten
- Top-Artikel[Paket] Senioren Vital Bundle, 2x 3kg, mit Probiotic und Pro Immun Natural32,00 € *6 Kilogramm | 5,33 € / Kilogramm* inkl. ges. MwSt. zzgl. Versandkosten