I gotta say, anything the Ostwind can do the p4 can do. Ostwind might be a little better against blobs, but it will almost never wipe squads, like the p4 can with some rng. For just a little more fuel you can get out the p4 and also have it counter tanks. It is just not worth it to get the Ostwind as Ostheer. It's the same thing with the scott, you are better off saving your time and fuel waiting for the extra fuel for the sherman.
Ostwind deals massive damage in minimum time while Pz4 deals a bit more consistent damage in more time. With an Ostwind, you get in position, unload your firepower, move and reload, stop and unload, etc... With a stug around or a pak, this unit is a much more bigger threat than a Pz4 because you can't really kill it with your medium unless you are already in superior position.
Facing a blob, an HMG42 + Ostwind is just incomparable with a HMG42 and a Pz4.
Facing usual non-blobbing strategy, Ostwind is a defensive asset able to lock down a territory in a much reliable way than a Pz4.
the turret is moving faster, shot faster, better scatter, the unit itself isn't slower than a Pz4.
I don't really know what you want more. 1 Stug + 1 Ostwind is much less expensive than 2 Pz4 or 1 stug + 1 Pz4. they are just specialized unit that need a bit more of micro than Pz4 to be performing well.
As mainly USF player around rank 150 I prefer to see 1 or 2 Pz4 than Stug and Ostwind in front of me. Now maybe it changes a lot around rank 50.
I also think it is a question of preference, I understand the need for a generalist unit you can rely on to counter armor and infantry but when I play Ostheer I like more using specialized units