Croatia is not a member of the Schengen-Area, so in FRA you will be able to stay within the non-Schengen part of the Airport (make sure to follow the signs - if you arrive at a passport control, you have gone wrong) and therefore not need a visa for Germany.