The unpolarized twist-2 (leading) and twist-3 (subleading), T-even, transverse-momentum dependent quark distributions in the pion are evaluated for the first time by using the actual solution of a dynamical equation in Minkowski space. The adopted theoretical framework is based on the 4D homogeneous Bethe–Salpeter integral equation with an interaction kernel given by a one-gluon exchange, featuring an extended quark-gluon vertex. The masses of quark and gluon as well as the interaction-vertex scale have been chosen in a range suggested by lattice-QCD calculations, and calibrated to reproduce both pion mass and decay constant. The sum rules to be fulfilled by the transverse-momentum dependent distributions are carefully investigated, particularly the leading-twist one, that has to match the collinear parton distribution function, and hence can be scrutinized in terms of existing data as well as theoretical predictions. Noteworthy, the joint use of the Fock expansion of the pion state facilitates an in-depth analysis of the content of the pion Bethe–Salpeter amplitude, allowing to calculate the gluon contribution to the quark average longitudinal fraction, that results to be ∼6%\\documentclass[12pt]{minimal} \\usepackage{amsmath} \\usepackage{wasysym} \\usepackage{amsfonts} \\usepackage{amssymb} \\usepackage{amsbsy} \\usepackage{mathrsfs} \\usepackage{upgreek} \\setlength{\\oddsidemargin}{-69pt} \\begin{document}$$\\sim 6\\%$$\\end{document}. The current analysis highlights the role of the gluon exchanges through quantitative analysis of collinear and transverse-momentum distributions, showing, e.g. for both leading and subleading-twists, an early departure from the widely adopted exponential fall-off, for |k⊥|2>m2\\documentclass[12pt]{minimal} \\usepackage{amsmath} \\usepackage{wasysym} \\usepackage{amsfonts} \\usepackage{amssymb} \\usepackage{amsbsy} \\usepackage{mathrsfs} \\usepackage{upgreek} \\setlength{\\oddsidemargin}{-69pt} \\begin{document}$$|\ extbf{k}_\\perp |^2> m^2$$\\end{document}, with the quark mass ∼ΛQCD\\documentclass[12pt]{minimal} \\usepackage{amsmath} \\usepackage{wasysym} \\usepackage{amsfonts} \\usepackage{amssymb} \\usepackage{amsbsy} \\usepackage{mathrsfs} \\usepackage{upgreek} \\setlength{\\oddsidemargin}{-69pt} \\begin{document}$$\\sim {\\varLambda }_{QCD}$$\\end{document}.