If you study this a little deeper, you will discover that it is improper to cast Kant in the role of being a champion of reason.
On the contrary, Kant made no secret of his motive for writing those books. His aim was to make a metaphysical domain for religion.
His method was to drive a wedge between the natural world and the human mind.
In the Preface to the Second Edition of the "Critique of Pure Reason", he says "I must, therefore, abolish knowledge, to make room for belief."
To understand Kant's main gimmick, see "Introduction to Objectivist Epistemology" by Ayn Rand.