Einstein is a bit famous for punching well above his weight compared to his own mathematical background. Most of his great work involves beautiful arguments that requiring only maths that a good-but-not-genius high school student could understand.
The GR paper is a bit disappointing in comparison, because after setting out as much as he can of the physics, he just dives into big equations one after another. That probably roughly follows his own trajectory: first he had some intuition for how space-time curvature could cause some gravity-like effects. But to nail it down he just had to buckle-up and learn the mathematics of non-euclidean geometry.
The nice thing about the paper is that it was one of the first applications of such mathematics to physics, so Einstein takes the time to explain it (which also blows out the equation count).