The generalized Riemann problem for the Aw–Rascle model with phase transitions☆