01 - Preheat the oven to 350°F. Grease and line three 8-inch round cake pans with parchment paper.
02 - In a medium bowl, whisk together flour, baking powder, baking soda, and salt until evenly combined.
03 - Using an electric mixer, beat the butter and granulated sugar in a large bowl until light and fluffy, about 3 minutes.
04 - Beat in the eggs one at a time, mixing thoroughly after each addition, then incorporate lemon zest and vanilla extract.
05 - Alternate adding the dry ingredients and milk to the butter mixture, beginning and ending with the dry ingredients. Mix until just combined. Stir in the lemon juice last.
06 - Divide batter evenly among the prepared pans and smooth the tops.
07 - Bake for 25 to 30 minutes or until a toothpick inserted in the center comes out clean. Let cakes cool in pans for 10 minutes before transferring to wire racks to cool completely.
08 - Beat cream cheese and butter in a large bowl until smooth and creamy. Gradually add powdered sugar, lemon zest, lemon juice, vanilla, and salt, beating until fluffy.
09 - Place one cake layer on a serving plate. Spread a thin layer of frosting, then half the raspberry preserves and fresh raspberries. Repeat with the second layer. Top with the final layer and frost the entire cake.
10 - Decorate with fresh raspberries, lemon slices, or edible flowers as desired. Chill for at least 30 minutes before slicing.