Knead 350 g flour, 175 g sugar, 1 pinch of salt, 200 g butter in pieces and 1 egg first with a hand mixer and then briefly with your hands until smooth. Cover and chill for about 30 minutes.
Grease a fat pan (approx. 32 x 39 cm; at least 3.5 cm deep) and dust with flour. Peel, quarter, core and cut apples into slices. Sprinkle with the juice of one lemon. Roll out the dough on the fat pan and press up the edge a little
Cream 150 g butter, 250 g sugar and vanillin sugar. Stir in cream cheese, quark, 4 eggs, the rest lemon juice and pudding powder. Spread on the dough. Place apples on top of the dough like roof tiles close together. Sprinkle with almond slivers. Bake in the preheated oven (electric cooker: 200 °C/circulating air: 175 °C/gas: level 3) on the lowest shelf (gas: see cooker manufacturer) for approx. 50 minutes
Warm the jam and pass through a sieve. Spread on the apples about 10 minutes before the end of the baking time. Let the cake cool down. Whipped cream tastes good with it