<?php

declare(strict_types=1);

/**
 * Turnen → Step Aerobic, Fitness & Pilates. Inhalt: data/turnen.json
 * (disciplines.step-aerobic-fitness-pilates). Struktur: Hero → Kurse/Zeiten → CTA.
 */
$slug = 'turnen/step-aerobic-fitness-pilates';
$d = json_load('turnen')['disciplines']['step-aerobic-fitness-pilates'];

$meta = [
    'title'       => 'Step Aerobic, Fitness & Pilates in Kulmbach',
    'description' => 'Ausdauer, Kräftigung und Beweglichkeit für Erwachsene: Step Aerobic, Fitness & Pilates beim TSV 08 Kulmbach in der Max-Hundt-Schule. Zeiten und Kontakt.',
    'og_image'    => 'img/pages/vereinsgelaende-1600.jpg',
    'schema'      => page_schema([
        ['name' => 'Startseite', 'slug' => ''],
        ['name' => 'Turnen', 'slug' => 'turnen'],
        ['name' => 'Step Aerobic, Fitness & Pilates', 'slug' => $slug],
    ]),
];

component('hero', ['hero' => $d['hero']]);
component('group-schedule', [
    'groupsTitle' => 'Unsere Kurse',
    'location'    => $d['location'] ?? [],
    'lead'        => $d['lead'] ?? '',
    'groups'      => $d['groups'] ?? [],
]);