Stuttgart have wrapped up a deal for Adam Hlousek, taking him from Nurnberg following their relegation out of the Bundesliga.