Coating or impregnation layers comprising different type of functional groups or interactions