Assuming that the 10% price raise is equal to the increase of the electricity cost, that implies that after the increase the cost of the electricity represents slightly more than 25% of the price (which must also include the profit, besides the other costs).
So the electricity is not really dominating the costs, but it might still be the largest component of the cost.
There is an estimate that Amazon has a 61% profit margin for cloud services. Hetzner must have a lower profit margin, but nonetheless the electricity could be as much as half of the costs.