in an almost kaleidoscopic variety of roles , ranging from charismatic young mayor of berlin to his latter years as elder statesman , brandt gave shape and direction to german politics during four post-war decades .