Question: how long does it take to clear customs at frankfurt airport?
Answer: Allow 45 minutes to get off the plane, go through passport control, slide through the green line at customs and then find the long distance rail station. How much time to allow for an unexpected flight delay is up to you.