Backbending is a typical phenomenon in the rotational spectra of superfluid nuclei. It is caused by the rotational alignment of a pair of nucleons and depends on topological properties of the Hartree-Fock-Bogoliubov spectrum in the rotating frame characterized by diabolic points and Berry phases.