Why did I gather fewer resources than my opponent?

I attached the game file. I had 75 villagers including six settler wagons vs his 41 at the end, full map control, all hunts and mines, two massive villager raids, and he still gathered more resources than me and won. Why?

GermanyVsHausaWhyWorseEco.age3Yrec (7.9 MB)