function toggleAccessoryItems() { const items = document.querySelectorAll('.accessory-item'); const button = document.getElementById('toggle-button'); let isExpanded = button.getAttribute('data-expanded') === 'true'; items.forEach((item, index) => { if (index >= 5) { item.style.display = isExpanded ? 'none' : 'block'; } }); button.innerHTML = isExpanded ? 'mehr anzeigen ' : 'weniger anzeigen '; button.setAttribute('data-expanded', !isExpanded); }