Mix the flour, sugar and salt together for the dough. Add the butter in flakes and work it into a crumbly mass with your fingers. Wrap the dough in foil and place in the fridge for 1 hour.
In the meantime, peel and core the apples and cut into wedges. Drizzle with the lemon juice. Fry the sugar with the butter in a pan and let it caramelize slightly, add the apples and raisins. Let simmer for 5 minutes on low heat, then add a spoonful of flour and stir.
Take the dough out of the refrigerator and line the pie pan with it. An approx. 3 cm high border should be created. Spread the apples on top. Bake at 200 ° C hot air on the lowest rack for about 10 minutes, then lower the temperature to 180 ° C and bake for another 40-50 minutes.
For the topping, bring the butter with vanilla sugar and honey to the boil in the pan and add the flaked almonds. Take the cake out of the oven and spread the mixture on top. Bake for another 20 minutes at 180 °.