Spin-wave resonances of ferromagnetic films with spatially modulated anisotropy