Get terms cross-taxonomy query

All right, few hours of figuring it out, but I made it:
I had to wrap the whole thing into a wp_query, querying the current ‘category’ term and then use get_the_terms instead of get_terms to get the terms for the current post query, then remove duplicates and echo it in a foreach loop similar to the initial one.