Try checking the contactors at the bootom of the car. Most likely it is bad contact/s. It happened to my 328 a couple of times once at home and the mechanics just came around again after I filled it with petrol. The mechanics went under and checked all the contacts and walla the car started. It was embaressing because I was stranded at the pump station for all to see. 