For the dough, put 750 g flour, sugar, vanilla sugar and 500 g butter in pieces in a large mixing bowl. Knead first with the dough hooks of the mixer, then quickly with your hands to a smooth dough. Wrap in foil and chill for about 30 minutes.
In the meantime, chop the almonds and macadamias separately. Stir the jams separately until smooth.
Preheat oven (electric cooker: 200 °C/circulating air: 180 °C/gas: see manufacturer). Grease a baking tray. Roll out the dough evenly on it. Spread one half of the dough with apricot jam, the other with strawberry jam. Sprinkle apricot side with almonds, strawberry half with macadamia nuts. Bake in a hot oven on the lowest shelf for 30-40 minutes. Remove from the oven.
Let the shortbread cool down on a cake rack for about 40 minutes. Cut into 50-60 squares and/or strips with a sharp knife. Let cool off.