How do you beat Sturm in Resident Evil Village?

Quick answer: Wait for Prototype Sturm to charge, sidestep, then chase it to the wall it hit. While it is stunned, shoot the red core on its back with your strongest guns.
Show walkthrough (quest spoilers)
Where you fight it
Prototype Sturm waits in the large room behind the door on B1 that Heisenberg’s Key opens. Save at the typewriter nearby and stock up with the Duke at the cargo elevator first. Earlier in the factory Sturm only chases you and cannot be fought.
Dodge the charge
Sturm charges in a straight line and smashes through walls. It cannot steer mid-charge, so step to the side at the last moment. Its triple charge is blind for the first two runs, but the third aims at you, so jump aside again.
Hit the core
After a charge it is stunned for a moment at the wall it hit. Run up behind it and shoot the red core on its back with the magnum, grenade launcher or shotgun. Repeat this patiently instead of shooting it head on.
Flamethrower
Once it overheats, it switches to a flamethrower. Take cover behind walls and stay out of the burning patches it leaves on the floor.
Reward
Sturm drops the Complex Mechanical Heart, which sells to the Duke for 45,000 Lei. An exit opens and you move on toward the Scrapheap.
