Cosmic ray physics from low to extreme energies: Status and perspectives