Time to go either the CPO or inventory car route.
An inventory car will have some mileage, but you are eligible for the $7,500 federal tax refund, plus any applicable state tax refund.
Lots of other features than retractable mirrors, parking sensors, rear trunk cover have been added to cars since the S40.
And you will have the full 4 year warranty.
And you won't have the worry about repairing existing body damage.
Sell your A7 to Carmax or trade your car with Tesla.