01 - Preheat oven to 350°F. Line an 8-inch springform pan with parchment paper and set aside.
02 - In a mixing bowl, whisk together the flour, cocoa powder, baking powder, sugar, and salt until evenly combined.
03 - In a separate bowl, whisk the eggs, melted butter, and vanilla extract. Pour the wet mixture into the dry ingredients and fold together just until incorporated. Spread the batter evenly in the prepared springform pan.
04 - Bake for 20 to 25 minutes, or until a toothpick inserted in the center comes out clean. Allow the cake to cool completely in the pan.
05 - Soften the gelatin sheets in cold water. In a saucepan, combine the raspberries, sugar, and water. Heat over medium until the berries break down completely. Blend into a puree and strain through a sieve to remove seeds. Gently warm the strained puree and dissolve the softened gelatin into it. Let cool to room temperature, then pour over the cooled cake base. Refrigerate until set, approximately 1 hour.
06 - Melt the chopped dark chocolate using a double boiler or microwave in short intervals. Let cool slightly until lukewarm.
07 - Beat the egg yolks with 2 tablespoons of the sugar and vanilla extract until the mixture turns pale and creamy. Fold in the melted chocolate until smooth.
08 - In a clean, dry bowl, whip the egg whites with a pinch of salt until soft peaks form. Gradually add the remaining 2 tablespoons of sugar and continue beating until stiff peaks hold.
09 - In a separate chilled bowl, whip the cold heavy cream to soft peaks.
10 - Gently fold the whipped cream into the chocolate-yolk mixture. Then delicately fold in the whipped egg whites in two additions, preserving as much air as possible until the mousse is smooth and light.
11 - Pour the chocolate mousse over the set raspberry layer and smooth the top with a spatula. Cover and refrigerate for at least 4 hours, or until fully set.
12 - Release the cake from the springform pan. Arrange fresh raspberries and chocolate curls on top. Dust with powdered sugar if desired. Slice and serve chilled.