EarthSky blog has a good description of why the hottest days of summer lag behind the maximum sunlight. It has to do with thermal inertia, the fact that it takes time for the sun to warm up land and water.  For the same reason, the hottest temperature in an average sunny day is not at noon but several hours later, in mid- to late afternoon.  For their explanation of this phenomenon, click here.