01 - Preheat 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. Set aside.
03 - Using an electric mixer, cream butter and sugar until light and fluffy, approximately 3 minutes.
04 - Beat in eggs one at a time, mixing well after each addition. Add lemon zest, lemon juice, and vanilla extract; blend thoroughly.
05 - Add dry ingredients in three parts, alternating with buttermilk, beginning and ending with flour mixture. Mix until just combined.
06 - Distribute batter evenly among prepared pans, smoothing the tops.
07 - Bake for 25 to 30 minutes, or until a toothpick inserted in the center comes out clean. Allow cakes to cool in pans for 10 minutes, then transfer to wire racks to cool completely.
08 - Combine raspberries, sugar, cornstarch, water, and lemon juice in a saucepan. Cook over medium heat, stirring gently until thickened and raspberries break down, about 5 minutes. Cool completely.
09 - Beat butter until creamy. Gradually add powdered sugar, beating well. Add lemon juice, lemon zest, and salt. Beat in heavy cream one tablespoon at a time until desired consistency is reached.
10 - Place one cake layer on a serving plate. Spread a thin layer of buttercream, then half the raspberry filling. Repeat with second layer. Top with final cake layer and cover with remaining buttercream on top and sides. Decorate with fresh raspberries and lemon zest if desired.