How can Electrum restore a wallet?
1)2)
Electrum uses so called "Deterministic wallets". In short this basically means that your entire wallet can be recovered using the seed.

Even if you delete the wallet file/ have no private keys, the seed will give you full access.

3) Either every private key of each adress that you used, or the seed.