A two-step transition description of underdamped phase diffusion