Shengen passport control is always at the first point of entry. Customs are always at the final destination so there is no need to pick up bags to go thru customs like in the US. ( unless you have to pick it up due to AA not checking it all the way to GOA)