@SteveS Thank you very much for your help, with the help of your code example I managed to get mine to work
If you have the time, could you check my current version if it would be possible to make the "end" property depending to the height of the text container? Because the text container could probably be more or less than 50vh. Also, would it be possible to start the scrolling up of the text a little bit earlier?
Here is the link to the dev project: https://p645224.mittwaldserver.info/leistungen/planung/