Electronic structure theory of the superheavy elements