Existence, multiplicity, and regularity for sub-Riemannian geodesics by variational methods