Halvor Egner Granerud held his nerve and produced a fine jump in the last spot to win the 2022/23 Four Hills opener in Oberstdorf.