Security for US flights can take long. But LH has people at the lines looking for passengers where the flights leave soon and put them in front of the line. They are fairly well organized there.
So even with a short connection you should be able to make it.