A capacitive sensor, comprising - a first electrically conductive wire that is flexible and stretchable, - a compressible layer, and - a first electrode for measuring a capacitance and coupled to the first electrically conductive wire, wherein the capacitive sensor comprises - a first part extending through the sensor in a direction (Sz) of thickness of the sensor, comprising • a first part of the first electrically conductive wire, and • a first part of the compressible layer, such that • at least a part of the first part of the compressible layer overlaps with at least a part of the first part the first electrically conductive wire in the direction (Sz) of thickness of the sensor, and - a second part extending through the sensor in a direction (Sz) of thickness of the sensor, comprising • a second part of the first electrically conductive wire, wherein - the first electrically conductive wire is attached to a first joint for connecting the first wire to another electrically conductive structure, such as a flexible circuit board or a connector, - the first electrically conductive wire extends from the first joint via the second part to the first part and further to the first electrode, and characterized in that the capacitive sensor comprises - an integral reinforcement structure, wherein • the first part comprises a first part of the reinforcement structure, • at least a part of the first part of the reinforcement structure overlaps with at least a part of the first part of the compressible layer in the direction (Sz) of thickness of the sensor, and • the second part comprises a second part of the reinforcement structure, and - the second part comprises a second part of the compressible layer, wherein - an in-plane stiffness of the second part of the compressible layer is less than an in-plane stiffness of the first part of the compressible layer, or - the compressible layer does not extend to the second part - a first electrically conductive wire that is flexible and stretchable, - a compressible layer, and - a first electrode for measuring a capacitance and coupled to the first electrically conductive wire, wherein the capacitive sensor comprises - a first part extending through the sensor in a direction (Sz) of thickness of the sensor, comprising • a first part of the first electrically conductive wire, and • a first part of the compressible layer, such that • at least a part of the first part of the compressible layer overlaps with at least a part of the first part the first electrically conductive wire in the direction (Sz) of thickness of the sensor, and • a first part of the first electrically conductive wire, and • a first part of the compressible layer, such that • at least a part of the first part of the compressible layer overlaps with at least a part of the first part the first electrically conductive wire in the direction (Sz) of thickness of the sensor, and - a second part extending through the sensor in a direction (Sz) of thickness of the sensor, comprising • a second part of the first electrically conductive wire, wherein • a second part of the first electrically conductive wire, wherein - the first electrically conductive wire is attached to a first joint for connecting the first wire to another electrically conductive structure, such as a flexible circuit board or a connector, - the first electrically conductive wire extends from the first joint via the second part to the first part and further to the first electrode, and - an integral reinforcement structure, wherein • the first part comprises a first part of the reinforcement structure, • at least a part of the first part of the reinforcement structure overlaps with at least a part of the first part of the compressible layer in the direction (Sz) of thickness of the sensor, and • the second part comprises a second part of the reinforcement structure, and - the second part comprises a second part of the compressible layer, wherein - an in-plane stiffness of the second part of the compressible layer is less than an in-plane stiffness of the first part of the compressible layer, or - the compressible layer does not extend to the second part • the first part comprises a first part of the reinforcement structure, • at least a part of the first part of the reinforcement structure overlaps with at least a part of the first part of the compressible layer in the direction (Sz) of thickness of the sensor, and • the second part comprises a second part of the reinforcement structure, and - the second part comprises a second part of the compressible layer, wherein - an in-plane stiffness of the second part of the compressible layer is less than an in-plane stiffness of the first part of the compressible layer, or - the compressible layer does not extend to the second part - the second part comprises a second part of the compressible layer, wherein - an in-plane stiffness of the second part of the compressible layer is less than an in-plane stiffness of the first part of the compressible layer, or - the second part comprises a second part of the compressible layer, wherein - an in-plane stiffness of the second part of the compressible layer is less than an in-plane stiffness of the first part of the compressible layer, or - the compressible layer does not extend to the second part - the compressible layer does not extend to the second part