Quantum translation invariance and the superconducting transition in layered bulk materials