Mix 300 grams flour, 1 tablespoon sugar, and a pinch of salt. Add 175 grams soft butter in small flakes and work into a crumbly mixture with your fingers. Wrap in foil and refrigerate for 1 hour.
While the dough chills, peel, core, and cut the apples into wedges. Drizzle with lemon juice. In a pan over medium heat, fry roughly equal parts sugar and butter until slightly caramelized. Add the apples and a handful of raisins, simmer for 5 minutes on low heat, then stir in 1 tablespoon of flour.
Remove dough from refrigerator and line a pie pan with it, creating a roughly 3 cm (1.2 inch) border. Spread the apple mixture on top. Bake at 200°C (392°F) on the lowest rack for 10 minutes. Lower temperature to 180°C (356°F) and bake for 40-50 minutes.
For the topping, heat butter, vanilla sugar, and honey in a pan over medium-high heat until boiling. Stir in flaked almonds. Remove the pie from the oven and spread the topping over it. Bake for 20 minutes more at 180°C (356°F).