Return all pages

How can I return all pages including all children?

Using <?php foreach($site->index()->visible() as $item): ?> is only returning the first level by the looks of it.

Full Code

<?php foreach($site->index()->visible() as $item): ?>
  <?php if($item->navigationinclude()->bool()): ?>
    <li class="menu-navigation__item <?= r($item->isOpen(), 'is-active') ?>">
      <a href="<?= $item->url() ?>" class="menu-navigation__link">
        <?= $item->navigationname()->html() ?>
      </a>
    </li>
  <?php endif ?>
<?php endforeach ?>

$site->index() walks through the complete tree; maybe not all of your subpages are visible or their navigationinclude field is not true or does not exist?

Yes my mistake - The panel was set to DE and I was viewing EN, haha. Long distance travelling must be getting to me.