uppressing Material Loss in the Visible and Near-Infrared Range for Functional Nanophotonics Using Bandgap Engineering