If the budget allows, the best solution would be to buy a car at a car dealership, because this guarantees an impeccable technical condition. Zero mileage, paint in perfect condition, an undamaged interior and a warranty on the basis of which most maintenance and repair work can be carried out for free all this speaks in favor of choosing Mercedes from a dealer.
Importantly, the associated costs are not as high as you think.