Earlier quoted context omitted.
Sure, here in Finland too, but who bothers at that age? Most people couldn't care less about "learning stuff that could be useful in future", and even less ever actually start thinking that taking optional classes could be benefitical. And even less of them think so at high school, let alone elementary school. So, in essence, no one studies German in school.
When I was young my attitude was similar but in my elementary school and high school two foreign languages were mandatory (English, German or Fench) so I didn't have any other choice. I live in Czech Republic. At that age I couldn't care less but now that I'm thinking of doing a PhD in Germany (from what I've heard a very affordable country with many great life science labs) I'm very glad that I remember at least bas…
I'm not discouraging, but once you're considering a particular position, please try and talk to previous PhD students of your prospective supervisor. Germany has hardly any fully-funded PhD positions. Instead you typically get employed as staff and have to combine that with your PhD work. The problem is, often professors take on lots of PhD students to get more funding and end up having hardly any time. I've heard stories of a professor having 8 or so PhD students that still wait on him to read their thesis and give the go-ahead for their viva (PhD defense). I'm not saying this is the case everywhere, but it's something to be aware of. So try and find out beforehand.