Photoelectron spectroscopy with very high energy resolution reveals both dramatic and subtle changes in the electronic density of states of the quasi-2D material 1T-TaS2, in coincidence with transitions between different charge density wave phases. Our results are consistent with the occurrence of a zero-gap Mott transition at approximately 185 K and of a subsequent Anderson localization in the pseudogap between the Hubbard subbands, and provide new insight into the unusual electronic properties of this material.