Theorem 1.1
TONLLet X be a Stein manifold of complex dimension n>1 endowed with a Riemannian metric \mathfrak{g}. For every integer k with \left[\frac{n}{2}\right] \le k \le n-1 there exists a nonsingular holomorphic foliation of dimension k on X all of whose leaves are closed and \mathfrak{g}-complete. The same holds if 1\le k<\left[\frac{n}{2}\right] provided that there is a complex vector bundle epimorphism TX\to X\times\mathbb{C}^{n-k}. In particular, if X is parallelizable then it admits a nonsingular holomorphic foliation of any dimension k\in\{1,\ldots,n-1\} with closed \mathfrak{g}-complete leaves.
Proof (Proof of Theorem 1.1) of Theorem 1.1
We embed the Stein manifold X as a closed complex submanifold in a Euclidean space \mathbb{C}^N; see [Forstneric2017E, Theorems 2.4.1 and 9.3.1] for a survey of the classical embedding theorems. For every i\in\mathbb{N} the set X_i=X\cap i \overline \mathbb{B}^N is compact and \mathscr{O}(X)-convex, i.e., holomorphically convex in X. Pick a number c_i>0 such that
Here, |v| denotes the Euclidean length of a tangent vector v\in T_xX\subset T_x\mathbb{C}^N\cong \mathbb{C}^N. In every spherical shell S_i=\{z\in\mathbb{C}^N: i<|z|<i+1\} (i\in\mathbb{N}) we choose a labyrinth \Gamma_i satisfying Lemma 2.1 with a constant M_i>0, chosen such that
We explain the basic case with k=n-1. Using the Oka–Weil type approximation theorem for noncritical holomorphic functions (see [Forstneric2003AM, Theorem 2.1]) inductively, we find a holomorphic function f:X\to\mathbb{C} without critical points such that condition (?) holds for all i\in \mathbb{N} with \Gamma_i replaced by \Gamma'_i:=\Gamma_i\cap X. To be precise, choose constants C_i>0 (i\in \mathbb{N}) with \lim_{i\to\infty} C_i=+\infty. In the induction step, we are given a noncritical holomorphic function f_i on a neighbourhood of X_i in X. Next, we define f_i on a neighbourhood of \Gamma'_{i} in X to be an arbitrary noncritical holomorphic function satisfying \min_{\Gamma'_i}|f_{i}| >C_i. Since X_i\cup \Gamma'_i is a compact \mathscr{O}(X)-convex set, we can apply [Forstneric2003AM, Theorem 2.1] to find a noncritical holomorphic function f_{i+1} on a neighbourhood of X_{i+1} in X which approximates f_i on X_i\cup \Gamma'_i. Assuming that the approximation is close enough at every step, the sequence f_i converges uniformly on compacts in X to a noncritical holomorphic function f:X\to \mathbb{C} satisfying \min_{\Gamma'_i} |f| > C_i for every i\in\mathbb{N}. Pick a divergent path \gamma:[0,1)\to X contained in a level set of f and choose i_0\in\mathbb{N} such that \gamma(0)\in i_0\mathbb{B}^N. Note that \gamma also diverges in \mathbb{C}^N since X is a closed noncompact submanifold. We see as before that there is an integer i_1\ge i_0 such that \gamma avoids the labyrinth \Gamma'_i, and hence also the labyrinth \Gamma_i\subset\mathbb{C}^N for all i\ge i_1. From (Proof) and (Proof) it follows that
Hence, every nonempty level set f^{-1}(c) is a closed complete complex hypersurface in X, which is smooth since f has no critical points.
The same argument gives nonsingular \mathfrak{g}-complete holomorphic foliations of X of any dimension k\ge \left[\frac{n}{2}\right]. In this case, one inductively uses the Oka-Weil type approximation theorem for holomorphic submersions (see [Forstneric2003AM, Theorem 2.5]) in the above proof; we leave out the obvious details. The same holds for 1\le k< \left[\frac{n}{2}\right] if we assume the existence of a surjective complex vector bundle map TX\to X\times \mathbb{C}^q with q=n-k > \left[\frac{n+1}{2}\right].