Depending on which gates you get you could easily spend 40 minutes just going from arrival to departure gate (immigration is very busy early in the morning, and some gates at FRA are a loooong way apart). No time for lounge, and you better hope the LH flight to FCO is delayed.