After reading all the horrors for connecting thru FRA

, I'm flying in July: CDG-FRA on LH and connecting to FRA-SFO on UA. The CDG-FRA flight seems to use A-XX gates and FRA-SFO uses Z-XX gates. What's the best path for connecting?
PS: Which lounge for UA PG?