toStructure not working as expected

Hello!
I thought it would be easy and it probably is but still i would like to ask for your help since i am sitting here for ours aaah, what do i wrong? i just want to loop the 2 text fields.

this is my .yml

sections:
      Text:
        type: fields
        fields:
          team:
            label: Teammember
            type: structure
            fields:
              role:
                label: Rolle
                type: text
              name:
                label: Name
                type: text

.php:

<?php foreach($page->team()->toStructure() as $member): ?>
      <?= $member->role()->kirbytextinline() ?>
      <?= $member->name()->kirbytextinline() ?>
<?php endforeach ?>

Thx in advance,
Julius

Both the blueprint and the template code look fine.

What exactly doesn’t work as expected? I.e. what is your output as compared to your expected output?