We have had figs in southern Germany for decades. Not all varieties grow well here of course but just having figs growing doesn't really tell you much.
(I took Budapest, for the sake of generality, from [1] it is clear that there are significant variations in Hungary)
You can see that the mean temperatures from April to October are about 2 degrees higher in Budapest than in Stuttgart, which is really significant. To give you an idea, that's a lot closer to Avignon (France) [2], which is a Mediterranean climate, than to Stuttgart which is considered oceanic.
I also remember people saying that they could get 2 harvests of figs a year in Moravia (CZ), which you will not get in Germany. Moravia is not Hungary, but it's getting there, climate-wise, and it illustrates nicely the difference a few degrees (mean) make.