Look for roads underneath bridges, then lower their z-order. OSM tags bridges and tunnels, but not the roads that pass under bridges.