The train to the main station is taking only 15 minutes, but you should plan a good 60 minutes for exiting the airport; note that Frankfurt Airport has two train stations; a first class ticket would also give you lounge access at Frankfurt (apart from the "Super Sparpreis")