You will clear immigration at the first point of Schengen entry. Your second flight would be inside Schengen and is akin to an internal flight. If you have booked through a cheap third party seller rather than an airline direct on a seamless booking, the former often cobble together separate...