Connecting device , comprising a first connecting part which comprises has a first base body and at least one engagement protrusion arranged rigidly on the first base body , and a second connecting part which can be placed against the first connecting part in a closing direction (X) and comprises a second base body with an engagement section arranged rigidly on the second base body , wherein the engagement section is engageable along an engagement direction (Y) different from the closing direction (X) with the at least one engagement protrusion of the first connecting part , so that in a connected position of the first connecting part and the second connecting part the engagement section is engaged with the at least one engagement protrusion of the first connecting part , wherein the first connecting part comprises a first magnetic device and the second connecting part comprises a second magnetic device , wherein the first magnetic device and the second magnetic device cooperate in a magnetically attracting manner to support the attachment of the first connecting part and the second connecting part to one another along the closing direction (X), characterized in that the first base body comprise a positive-locking section against which the second base body abuts in the connected position of the first connecting part and the second connecting part in order to counteract tilting of the second connecting part relative to the first connecting part , wherein the second base body in the connected position abuts against the first base body in a first region and does not abut against the first base body in a second region adjoining the first region in the engagement direction (Y), so that, viewed along the closing direction (X), a free space is formed between the first base body and the second base body , and a third region , which is adjacent to or spaced from the second region in the engagement direction (Y), is supported on the positive-locking section . a first connecting part which comprises has a first base body and at least one engagement protrusion arranged rigidly on the first base body , and a second connecting part which can be placed against the first connecting part in a closing direction (X) and comprises a second base body with an engagement section arranged rigidly on the second base body , wherein the engagement section is engageable along an engagement direction (Y) different from the closing direction (X) with the at least one engagement protrusion of the first connecting part , so that in a connected position of the first connecting part and the second connecting part the engagement section is engaged with the at least one engagement protrusion of the first connecting part , wherein the first connecting part comprises a first magnetic device and the second connecting part comprises a second magnetic device , wherein the first magnetic device and the second magnetic device cooperate in a magnetically attracting manner to support the attachment of the first connecting part and the second connecting part to one another along the closing direction (X), characterized in that the first base body comprise a positive-locking section against which the second base body abuts in the connected position of the first connecting part and the second connecting part in order to counteract tilting of the second connecting part relative to the first connecting part , wherein the second base body in the connected position abuts against the first base body in a first region and does not abut against the first base body in a second region adjoining the first region in the engagement direction (Y), so that, viewed along the closing direction (X), a free space is formed between the first base body and the second base body , and a third region , which is adjacent to or spaced from the second region in the engagement direction (Y), is supported on the positive-locking section . <EOS>