It would have to be considerably cheaper for me to ever route via Germany when going to Spain ! I'd far rather pay more for the direct alternative, I am not sure any amount of saving would have me do as you did, but I understand that different people do have different priorities.