Quantum control of light and matter – from the macroscopic to the nanoscale