I tried a lot to solve the problem. Nothing changed. So I decided to delete everything and install everything new. That was ok so far and the layout now is fine again.
But I am looking for the custom footer html code. Where can I find it? I did a ftp and database backup before. Could you please help me.