The starting problem sounds like fuel pressure leakdown. Commonly caused by the accumulator (pressure reservoir). The fuel pump check valve or system pressure valve leaking can also bring it down. Without pressure on a hot fuel system the fuel boils in the injectors causing a vapor lock condition.
Bosch Master, ASE Master, L1
33 years MB technician