I’m sorry for the late answer. I tried doing your solution, it mostly worked out, but I needed some more tweaking for my very specific case.
After reworking on it for a few days, I finally got what I wanted and completly forgot about this thread, but thank you for your awesome help and guidance