This would have happened without Putin as well, talks were underway well before Putin's invasion of the Ukraine.
https://www.aerotime.aero/articles/3...-united-states
The F-35 was ruled out from the beginning by the previous coalition (Merkel's party being the stronger coalition partner, Scholz's party the weaker) in order not to jeopardize the FCAS program by upsetting France, with the new coalition the focus shifted to a "European solution", i.e. not only buying from the US. Instead of 15 EA-18G and 30 F/A-18F (obviously all American) the new order will be for 35 F-35A (maybe to be built in Italy?) and 15 Typhoon ECR, the latter to be developed and built in Germany.