There are no immigration controls within the Schengen Area, of which both Spain and Germany are members. So FRA will work just like a DOM-INT transfer in the US. Get off the plane, go to gate. Remember that there is extra security for US bound flights, but it's still plenty of time.