Hi @marvin.bernd ! Welcome to Prismic's Community. I'm a fellow Prismic user and fan.
I've read through your post and done my best to digest it.
When you say "group field," do you mean the "repeatable zone" in a slice? In particular, it looks like your using the repeatable zone in your Company Grid slice to allow content editors to link to specific Company documents. Is that accurate?
What you describe about seeing the data but then lose other slice's data lines up with my experience. And, believe it or not, that is by design. With graphQuery, you're telling Prismic exactly what you want, if you don't see it in your Query, you're not going to get it. Often times, I rely on "fetchLinks" instead of GraphQuery. I use GraphQuery when I need it or if I'm "feeling fancy."
So my recommendation would be to ensure your graphQuery has all the fields you want in your returned data object, OR... use fetchLinks and see if that works. See my fetchLinks example below:
const page = await client
.getByUID('page', params.uid, {
lang: params.lang,
fetchLinks: ['company.logo', 'company.name'],
})
See if that works (I think it will). If you need the GraphQuery, you just need to add the bits you're looking for back into the query.