Service history is key. Ideally it should be full service history. Check for proof of cambelt and water pump changes as well as s-tronic gearbox oil changes and oil changes for the quattro system if applicable.
Check YouTube for buyers guides.
Make sure all electronic items work as some of these such as AC components etc can be expensive to change.