So there's the mistake. I didn't know my PC saved my seed phrase and password. Everyone says you have to keep them off the PC. That's why I thought they weren't saved.
I think you misunderstand something here. Your Electrum wallet file has the seed mnemonic words in plaintext when you didn't use a wallet encryption password or passphrase (not to confuse with a mnemonic passphrase which extends the mnemonic recovery words).
Even when the Electrum wallet is encrypted, it contains the details to recreate the seed recovery words, of course. And in both cases a non-watch-only wallet contains the master extended private key which can derive all private keys of your wallet.
As an example, I just created a new standard wallet with Electrum and got the mnemonic recovery words
icon axis arrow cotton auto also issue kingdom despair silent seek bamboo
I left the wallet encryption password/phrase empty which leaves the Electrum wallet file completely in plaintext (don't do this, terrible non-existant security). The JSON "keystore" object in the wallet file has the recovery words in "seed", see here as copied out of the Electrum wallet file:
...
"keystore": {
"derivation": "m/0h",
"pw_hash_version": 1,
"root_fingerprint": "0125db3c",
"seed": "icon axis arrow cotton auto also issue kingdom despair silent seek bamboo",
"seed_type": "segwit",
"type": "bip32",
"xprv": "zprvAYaAR9g4qDVi8pnLKzX7too4Ph6LxSwnJN47HqdRKxpyPPVhH63WQVigiVLp9M28zw5wq7GtRfXiWfDe5vGjxvTBRwyct12QTVJghx4soeP",
"xpub": "zpub6mZWpfCxfb41MJroS248FwjnwivqMufdfayi6E32tJMxGBpqpdMkxJ3AZobfXY3uFVXBfeimutfhQzBzP1JYgPCwuYCsGMkB2YnTHrUJXK2"
},
...
IIRC, you didn't answer if your Electrum wallet was encrypted. Was it?
Your computer could've been compromised when you had setup your Electrum wallet initially.
You're right, that it's highly recommended to only make an analog backup of your wallet's recovery words. But some people do also the mistake to take digital pictures with their smartphones of the written analog backup. Digital pictures which often are then synced to some picture clouds and computer clouds are just other people's computers where you loose control and possession of your digital files. Imagine fancy AI picture classification tools of some picture clouds, imagine OCR tools that picture clouds offer...
This isn't helping you now, but it may help in the future, and I don't think it can be said often enough: DO NOT keep high value in a hot wallet! This isn't the first and unfortunately won't be the last time something like this happens.
I would've already used a hardware wallet for a tenth of the lost coins of OP. Really, I don't know what some are thinking...
A luxury hardware wallet is not more than a 1/100
th or less than the roughly lost quarter Bitcoin.
Sure, you can also loose coins with a hardware wallet if you don't check transaction output addresses thoroughly for every transaction that you're going to sign and broadcast. But that would be gross negligence and ignoring best practices.