Electronic structure of the ladder-chain compound Sr14−xCaxCu24O41