For the dough, mix the flour with a pinch of salt, mix the butter and sugar in a bowl with a wooden spoon.
Gradually sprinkle the flour over it and stir in with a wooden spoon.
Finally, briefly shape the dough into a ball with your hands without too much pressure, wrap in cling film and place in the refrigerator for 2 hours.
In the meantime, preheat the oven to 200 °. For the topping, wash, peel and quarter the apples, remove the core and cut the quarters in half crosswise.
Put 6 tablespoons of sugar in a saucepan and let melt over medium heat. Add 50 g butter and caramelize while stirring until golden yellow.
Spread the caramel quickly on the bottom of the pan. Spread the apples close together in the pan.
Mix the rest of the sugar with 3 pinches of cinnamon and pour over it, spread the rest of the butter on top in small flakes.
Cook the apples in the oven for approx. 35 minutes. Take the apples out of the oven and let them cool in the tin.
Roll out the dough on a lightly floured work surface. Place on the apples and gently press the edge into the mold. Then bake in the oven for 15-20 minutes.