Heidelberg is just about 80km south from Germany’s main airport hub Frankfurt International Airport (FRA) operated by all major airlines (including Lufthansa, RyanAir etc.). On arrival at Frankfurt Airport, go to the train station “Fernbahnhof”. From there, you can take the train either to Heidelberg Central Station directly or via Mannheim Central Station where you change to the tram to Heidelberg Central Station.