According to analysts' estimates, the MDax still has a potential increase of 11.4% this year and the SDax even a plus of 26%.
Suitable index funds could be
iShares MDax $EXID (-0.21%) which directly tracks the index of 50 medium-sized companies.
If you want to invest in smaller companies, you can, for example, invest in the Amundi SDax ETF $C005 (+0.77%) for example.
If you want to invest in individual stocks, you should take a look at these stocks.

Source (excerpt) and chart: World, 27.02.2025