It's best the make the dandelion sugar and dandelion syrup the day before you plan to make the rest of the cake.
For the dandelion sugar:
1. Gently wash dandelions and leave on a towel-lined sheet to dry.
2. Once dry, remove dandelion petals from their base. You can do this by holding the green base of the flower and twisting, or you can use a knife to cut the petals off.
3. Add sugar and dandelion petals to a food processor and blend until thoroughly mixed.
4. Pour dandelion sugar onto a baking sheet and bake on the lowest setting of your oven (around 170° F) until dry, about 20-30 minutes. Allow to cool completely.
5. To break up any clumps, you can pour the dried sugar back into the food processor (cleaned and thoroughly dried). Pulse a few times until clumps are broken down and sugar has a fairly even consistency.
For the dandelion syrup:
1. Combine sugar and water in a saucepan and bring to a boil. Turn heat down and simmer until sugar dissolves, about 5 minutes.
2. Remove from heat. Add dandelion petals; stir to saturate petals with the syrup. Allow to cool slightly.
3. Pour syrup into a container and leave to infuse at least a few hours or overnight.
4. Before using, strain syrup through a cheesecloth, wringing out with your hands or pressing with the back of a wooden spoon to extract as much syrup as possible.
For the dandelion cake:
1. Preheat oven to 350° F. Butter two 6-inch cake pans and line the bottoms with parchment paper.
2. Whisk together flour, dandelion sugar, baking powder, and salt in the bowl of a stand mixer.
3. Beat soft butter into flour mixture until it resembles coarse crumbs, about 3-4 minutes.
4. Whisk milk, egg whites, and vanilla bean seeds together. Pour milk mixture into butter-flour mixture and beat on medium speed until fluffy, about 3 minutes. Add remaining milk mixture and blend until just combined.
5. Distribute batter between pans and bake until lightly golden brown around the edges and starting to pull away from the sides of the pan, about 25-30 minutes. Allow cakes to cool; invert to remove from pans and remove parchment paper.
For the dandelion buttercream:
1. Pour dandelion syrup into a saucepan and cook over medium-low heat until it reaches 235 - 240° F.
2. Meanwhile, while syrup cooks, place egg whites into a clean bowl of a stand mixer fitted with the whisk attachment. Whip on high until soft peaks form. If soft peaks form before syrup is ready, turn mixture on low but keep them moving.
3. Once syrup is ready, remove it from heat and let it sit for about a minute, until bubbles subside. Pour it into egg whites in a very slow and gradual stream, with mixer on medium. Once all syrup is in, continue to whisk on medium for about 5 minutes, or until mixture has cooled slightly.
4. Start adding in soft butter, about a tablespoon at a time, until all the butter is in. Allow to beat a few more minutes until buttercream is silky and smooth.
5. Add elderflower extract or St. Germaine, if using.
To assemble the dandelion cake:
1. Slice each cake in half horizontally to create 4 layers.
2. Place first layer of cake onto a cake plate. Add about 1/3 cup of buttercream and spread evenly onto cake, leaving a little bit of space around the edges.
3. Repeat with the next two layers of cake, adding a cake layer and spreading buttercream on top. Add final cake layer on top, pressing gently to adhere.
4. Frost cake in a very thin layer of buttercream on top and sides. Place in the refrigerator to chill for at least 20 minutes.
5. Remove cake from refrigerator and finish frosting with remaining buttercream. Sprinkle cake with additional dandelion sugar if desired.
6. Slice and serve! Cake will keep in the refrigerator for about 4 days. For best flavor, allow cake to warm up to room temperature before serving.