Knead flour, nuts, 100 g sugar, fat in small pieces and egg in a bowl to a smooth dough. Wrap the dough in foil and chill for about 1/2 hour. For the cream, stir pudding powder, remaining sugar and approx. 100 ml milk until smooth.
Bring the rest of the milk to the boil. Stir in pudding powder, bring to the boil again. Peel, quarter and core apples. Cut quarters into thin slices. Sprinkle with lemon juice. Roll out the dough on a floured work surface to a circle (approx. 34 cm Ø).
Place in a greased tart dish (approx. 30 cm Ø). Prick several times with a fork, sprinkle with breadcrumbs. Place parchment on top and add legumes. Pre-bake the base in a preheated oven (electric cooker: 200°C/ gas: level 3) for approx. 10 minutes.
Mix the custard, vanilla sugar and quark. Add the raisins. Remove pulses and paper. Spread the cream on the floor. Cover with apple wedges and bake for another 35 minutes. Stir jam until smooth, spread on the warm cake.
Let it cool down. Serve sprinkled with hazelnut leaves and icing sugar. Makes about 16 pieces.