Knead the butter, flour, sugar, ground almonds, and lemon zest and juice into a dough on a board.
Shape into three equal balls, roll each out to the thickness of a knife-back, and bake on a baking sheet at 180°C.
Once cool, prepare the filling: cook the sugar, flour, and egg yolks with the milk and vanilla over a water bath, stirring constantly, into a thick cream.
Divide the cream into three equal parts: color one with red food coloring, mix melted chocolate into another, and coffee into the third.
Fill the pastry layers with the three creams, stacking them.
Coat the cake with a rum glaze (icing sugar mixed with rum into a thick glaze).
Based on: Malatinszky Fanny szakácskönyve (a classic Hungarian cookbook), modernised. Calories and protein are estimated.