<?php

declare(strict_types=1);

/**
 * Kennzahlen-Band. Props: $stats array{items: array{value, label}[]}
 */
?>
        <section class="section stats" aria-label="Der Verein in Zahlen">
            <div class="container">
                <ul class="stats__list">
<?php foreach ($stats['items'] as $item): ?>
                    <li class="stats__item">
                        <span class="stats__value"><?= e($item['value']) ?></span>
                        <span class="stats__label"><?= e($item['label']) ?></span>
                    </li>
<?php endforeach; ?>
                </ul>
            </div>
        </section>
