The first of two 2019 Women's World Cup semifinals is set after England and the US women's national team each advanced this week, leaving just two spots up for grabs.
Germany, who miss out on a chance to defend their Olympic crown as a result of the defeat, went close late on through Hegering but the Swedes held out for a merited victory.
Sweden had a handful of chances to take the lead before the break as Germany couldn't deal with their pace and directness, but the sides went in level.
With the win, Sweden also secured a spot in the 2020 Olympics, along with the Netherlands and Great Britain.
Germany manager Martina Voss-Tecklenburg introduced Maroszan at half-time in a bid to turn the tide but she found herself 2-1 behind inside two minutes. "So I'm not surprised, but I knew we had to play and perform at our best on the offense and the defense". The Germans looked the sharper side in the opening exchanges, and they took the lead on 15 minutes through Magull. Magdalena Eriksson sloppily gave the ball straight to Sara Daebritz and the midfielder drove towards the box and fed Magull, who took a touch before volleying through Hedvig Lindahl's legs.
Germany had not conceded a single goal in the tournament but their defence surprisingly failed to deal with a long ball down the middle from Linda Sembrant which Jakobsson latched onto and slotted home past goalkeeper Almuth Schult.
The German goalkeeper kept her side in the game with several more saves in the first half, but could do nothing to stop Sweden's victor just after the break. But Sweden stuck to their plan - lofting deep balls to their speedy forward trio of Jakobsson, Blackstenius and Rolfo.
Dzsenifer Marozsan returned to the bench for Germany after missing three matches with a broken toe on her left foot.
Blackstenius had scored Sweden's victor against Canada in the last round and also netted against the Germans in that Olympic final defeat in 2016.
The Women's World Cup semi-finals will feature the Netherlands for the first time, along with Sweden, but Germany and Italy are both out. A good sign is that we're now qualified for the Olympics, which was hanging over our heads for a while.
So did Stefanie van der Gragt 10 minutes later, powering in a towering header when Spitse swung in a free kick from the right. "Our football, we could also play a little bit more and could score goals but it's nice to score from set pieces as well".
If you haven't played the Mozzart Lucky Super 6, then you haven't played the best Lotto. 'It was really, really warm out there, but I'm just trying to tell myself that it's not hot, said Dominique Bloodworth, one of four Arsenal players in the Dutch team.