Hello Tim,
Here is a code I quickly wrote to show you the concept of the Sitemap and its nodes, as well as Sitefinity page structure:
The code is showing the parent page of the page. The same way you can take the parent of the parent. You can also use recursion and limit it to the level of depth you want.
I hope this helps.
Greetings,
Georgi
the Telerik team