Ljusternik-Schnirelmann theory on $C^1$-manifolds