Most likeky 40k/13 = 3076 euros per month + an extra "bonus" month each year. Which should give about 2000~2500 euros net per month (depending on the local taxes) + an equivalent annual bonus.
40k euro/year would still be a (slightly) above average salary for a beginner programmer in Vienna, which is significantly wealthier than Berlin, so it still sounds a bit optimistic to me.