How to open a section on click

Hello,

I hope someone can me show the right way to do this: My client want sections that open on click, like an accordion, but I I don’t want to use the nested accordion. I want:

Section 1
Click on Section 1
Open Section 2

This is the mockup: CleanShot 2024-04-23 at 13.08.43, if one clicks on the purple bars, a new section with white background opens and the other one closes

Is that somehow possible with interactions?

Thanks!
Dirk