Whenever I checked, trains from north Germany to Austria and back were always significantly cheaper on the ÖBB site. It was bizarre.
The fact that there might be a wage difference between different countries might be interesting, but it us utterly irrelevant to the fact that there is a price difference between tickets sold for the exact same train. Not an Austrian vs. a Polish train -- literally the same actual train with the same finite, exact seats for sale.