Electronic states dressed by an out-of-plane supermodulation in the quasi-two-dimensional kagome superconductor CsV3Sb5