Are you flying in from the US? I don't think there are direct flights into TXL, so you'll either change planes and go through customs in other Europe airports in the Schengen zone, or through UK, and clear immigration/customs in Berlin.
From what I've read in other posts, you won't have amy problem with cooked food items in other European airports.