Question: is 45 minutes enough time for a layover in frankfurt?
Answer: 45 mins for a Schengen to Non-Schengen transfer at Frankfurt seems very tight to me, too. It's OK and doable if the first flight is on time, you get a terminal position at FRA and can deboard quickly. Still, you'll have to go through passport and security controls.