A window on stochastic processes and γ-ray cosmology through spectral and temporal studies of AGN observed with H.E.S.S.