I'm a student on my university year abroad. I was in Germany, where I got a residence permit valid until 31st March 2024, but I got that issued on the 10th January. I had to complete the second part of my year abroad in Spain, so when I left Germany on 10th February to go to the UK, I assumed I had to wait 90 days to re-enter Spain.
However I didn't realise that the German Residence Permit could help here. My question is, if my residence permit is valid until 31st March in Germany, what does my 90/180-day period legally need to look like to complete my year abroad? BTW, I'm only going to Spain for less than 90 days.