Had the same problem with a 2007 A6 Avant, wet driver's footwell. Car completely cut off on a busy road, just died, steering locked, etc. Local dealer took 5 weeks to figure out the issue and fix it. New battery, new engine bay harness, and then finally two new injectors, ~£3K of work. Sunroof drains were blocked, and this caused corrosion. I believe this is a bad design fault by Audi, as this should not happen. Unblocking the sunrood drains is the solution but clearly was too late for my car. There is no warning from Audi that sunroof drains can get blocked up and cause so much damage. unblocking them is not part of a regular service. Audi should change the design and make the sunroof part of the regular service items.
I'm now out of pocket and Audi say there is nothing further to be done. There are many forums where this exact issue is written about, but this was a new item for my local Audi Dealer, and sounds like Audi UK have not come across it before. One forum story says Audi US paid full costs!