Wagner 's soaring crypto-religious pageant , in gestation for more than 30 years and finished in 1882 , was to be a kind of house opera : its performance restricted to the composer 's own festival in Bayreuth , Germany ; its function , a vernal reawakening in music and stage pictures , somewhere between a church service and an ancient rite of spring .