Searching for a tool etc which give the customer the possiblity to get discounts (depending what he buys)

i would like to give the customer the possibility that he can combine products and, depending on how many and which products he chooses, can grant discounts to himself automatically.

Like; customer buys product
A, B, C = 5 % discount
A, B, C, D = 10 % discount

A, B, X, Y = just 6% (not 10% because X and Y are small products, like a pen)

Is there a chance to get those function for my wordpress/woocommerce/impreza?

If you search for dynamic pricing on CodeCanyon, you should have a few good options available - here are some WooCommerce-specific ones:

This is the current top seller in that category: