2024 C300 vs 2025 CLA250

Hey everyone! I’m in the market for a new Mercedes and am considering either the C300 or CLA250.

Which one in terms of build quality and reliability is better given that I do all the routine maintenances for them?

Any other advice on how to take care of a Mercedes for it to last long and have minimal issues? This will be my first ever German car!

Thanks in advance everyone.