Sevilla grabs 2-0 advantage into the second leg of their Copa del Rey semi-final with Barcelona.
Kounde opened the scoring for Lopetegui’s charges with a fine solo strike and Rakitic fired in a second five minutes from time against his former side.
Barca had a penalty shout rejected at 1-0 and Messi was denied by three impressive Bounou saves in a lively tie.
The sides will meet again at Camp Nou on March 3 for the second leg. Barcelona will play five games before then, starting with Saturday’s visit of Deportivo Alaves in LaLiga. Sevilla will play host to Huesca the same day on their return to league action.
Barcelona started the game well enough. They should have snatched the lead on 10 minutes but when Lionel Messi ran on to Antoine Griezmann’s clever lofted pass he could not drive the ball past Bono.
Messi entered into the game having scored 28 goals in 29 games against them but this was one the host got away with thanks to their keeper’s outstretched left foot.
Jules Kunde had Sevilla’s best early chance hitting wide on 19 minutes and when on 25 minutes the home side went ahead it was the centre-back who scored it.
Not that ‘centre-back’ proceeds to describe the 22-year-old who Manchester City looked at in the summer but baulked at paying more than 55m euros for.
Sevilla dominated the game and earned a second before the break. It nearly came when Papu Gomez rolled the ball to the unmarked Sergio Escudero.
The left-back did not scramble his shot and got the strength and accuracy behind it but Ter Stegen bent it over his bar.
Kounde can defend as well. He reminded everyone of that six minutes into the second half when he strolled in front of Frenkie de Jong just as the Dutchman was about to finish from Ousmane Dembele’s cross.
Sevilla had the opportunity to double the lead as Youssef En-Nesyri was put through after an error from Mingueza. He delayed his shot and Umtiti came away with the ball.
The game was open few minutes later and Barcelona went directly at the other end where Bono again saved from Messi who had been teed-up by De Jong.
Dembele tried to score quickly from the corner but Bono saved again. Barcelona pushed for another corner but this time Dembele hit it long and out of play.
Dembele was flying and Escudero crushed him down in full-flight and was booked.
Barcelona was hurling so much at Sevilla to get the away goal the spaces were emerging at the back will the home side unsure of whether to stick or twist.