Hybrid scattering in periodic waveguides