This happens because Madrid apart from those who do have more complex player strengths, the role of the players can also still be said to be balanced in contrast to Barcelona which is not too balanced in that regard.
Losing Cortouis, Militao, Vasquez and Alaba is indeed a big loss but it can still be anticipated with several other players who are still very young and can be played anywhere like Tchouameni or their senior player Nacho who can play in the defender position and for the full defender problem filled by Vasquez actually he is an option for Carvajal so Madrid can still breathe a little different from Barcelona.
Losing Ter Stegen is a difficult situation and losing their 2 speedy wingers Gavi and Raphinha will certainly make their situation worse as time goes by because up until now, losing Gavi and Raphinha in attack alone has affected their performance because Xavi cannot find options for the 4-3-3 scheme he always uses.