With pseudo-elements :before and :after it is a bit more difficult to assign a corresponding length to a line or border. The following is a possible variant.
.linie-unten:after { background-color: #fff; bottom: 0; content: ''; display: block; height: 6px; left: 50%; position: absolute; transform: translate(-50%,0); width: 575px; }