For the dough, first stir the butter with the sugar until frothy.
Stir in the flour, cocoa and baking powder, add 1-2 tablespoons of water if necessary, so that a coarse, crumbly dough is formed.
Now put about 2/3 of the crumbs in the prepared form and line it with it (simply distribute the dough as evenly as possible and press on with your fingers)
Put the lined mold and the rest of the batter in the refrigerator.
For the filling, stir the butter with the sugar until frothy. Stir in the quark and cream with the flour, baking powder and vanilla flavor, then stir in the milk. Finally fold in the cream.
Meanwhile preheat the oven to 180 ° C top / bottom heat.
Now put the filling in the lined mold and smooth it out.
Crush the remaining crumbly dough into small flakes and distribute them on the filling.