Your next pocket travel guide
score:2
Exit controls are done in Amsterdam as Berlin-Amsterdam is a Schengen domestic flight and then you will connect out of Schengen in Amsterdam
And if you leave on 08/31, you definitely have a day afterwards you can stay in case of