In Germany funding doesn't vary much for schools in the same region and is basically based on size of the student body.
The last two years of school are generally a prep course for the German SAT equivalent (and grades in those two years account for around two thirds of the final score).