I had a similar problem that’s posted somewhere further back in the forum. It turned out to be the crankshaft sensor. When it was cold the car started fine and would run perfectly. Let it warm up then parked it and the car wouldn’t restart. It would just turn over and over. I had to leave it to cool down a bit before it would start. Vcds showed no faults. Very intermittent and really annoying.
When you drive the car and turn it off the temp under the bonnet carry’s on rising as there’s no airflow. Sometimes mine would start after 10 mins others times 30 mins. No warning lights were ever displayed and once it was running it would perform perfectly until you turned it off.