Grease a rectangular springform pan (approx. 24 x 35 cm or see tip). Break white and dark chocolate into pieces. Mix cream cheese, 50 g sugar, vanilla flavour and 1 egg to a smooth glaze.
Let raspberries thaw slightly.
Preheat oven (electric cooker: 175 °C/circulating air: 150 °C/gas: see manufacturer). Carefully melt butter and chocolate in a pot, remove from heat and pour into a bowl. Using a whisk, stir in cocoa and 350 g sugar.
Whisk 4 eggs and stir into the chocolate mixture. Mix flour and baking powder and fold in. Spread the dough into the mould.
Carefully fold the raspberries into the cream cheese mixture. Spread on the dough. Bake in a hot oven for 40-45 minutes. Let it cool down.