Impact-modified epoxy resin with glassy second component