When you use cold wallet devices, like Ledger and Trezor, the seed recovery phrase (12 words or 24 words) is "exposed" to an online device too, on mobile smartphone or computer.
No it's not exposed, and I can also connect hardware wallets to offline computer using Electrum wallet.
In ledger devices seed phrases are stored in secure element and it never leaves there, unless you reset your device.
Some hardware wallets like Passport, Keystone or ColdCard and air-gapped and they don't have cable connection with any devices.