Irreversible thermodynamics—a tool to describe phase transitions far from global equilibrium