Functional Nanostructures and Metamaterials for Superconducting Spintronics