Investigating the microscopic properties of strongly interacting matter with HADES