<?php

declare(strict_types=1);

/**
 * Master-Shell. Erwartet: $meta (array), $content (string), $current (Slug der aktiven Route).
 */
?>
<!doctype html>
<html lang="de">
<head>
<?php component('meta', ['meta' => $meta, 'current' => $current]); ?>
</head>
<body>
    <a class="skip-link" href="#main">Zum Inhalt springen</a>
<?php component('header', ['current' => $current]); ?>
    <main id="main" tabindex="-1">
<?= $content ?>
    </main>
<?php component('footer'); ?>
    <a class="back-to-top" href="#main" hidden>
        <?= icon('arrow-up') ?><span class="visually-hidden">Zurück nach oben</span>
    </a>
</body>
</html>
