Today I noticed I made a little mistake during the building of my 3d printer: the plastic holders for the rods of the y axis were mounted rotated 180 degrees and therefore the printing plate was too low:
The proper installation is as follows:
Now the endstop for the y axis also works fine: