/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: > 0.2%,last 2 versions
*/

/* Ablauf Section Start */
@media screen and (max-width: 1200px){
  .ablauf-heading{
    margin-top: 30px;
  }
}

@media screen and (max-width: 980px){
  .ablauf-heading{
    text-align: center;
  }
}

@media screen and (max-width: 980px){
  .ablauf-heading p {
    margin-left: auto;
    margin-right: auto;
  }
}

.ablauf-heading h2{
  position: relative;
}

.ablauf-heading h2::before{
  content: '';
  position: absolute;
  bottom: -2px;
  height: 2px;
  width: 70px;
  background: #ffc300;
}

@media screen and (max-width: 550px){
  .ablauf-heading h2::before {
    bottom: 48px;
  }
}

.ablauf-heading figure {
    margin-bottom: 10px;
}

figure{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

figure > img {
    margin-top: -9em;
    margin-left: 30em;
    margin-bottom: 10px;
    width: 28vw;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    z-index: 1;
}

.tabs-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

@media screen and (max-width: 1400px){
  .tabs-body {
    display: none;
  }
}

::-moz-selection {
    background: #ffc300;
    color: #fff;
}

::selection {
    background: #ffc300;
    color: #fff;
}

.tabs-container {
    max-width: 67%;
    height: 500px;
    padding: 40px;
    margin-top: 15px;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.tabs-container .topic {
    font-size: 30px;
    font-weight: 500;
}

.tabs-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.tabs-content .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    min-width: 230px;
    margin-right: 50px;
    position: relative;
}

.tabs-content .list label {
    height: 60px;
    font-size: 22px;
    font-weight: 500;
    line-height: 60px;
    cursor: pointer;
    padding-left: 25px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: #333;
    z-index: 12;
}

#kontakt-button:checked ~ .list label.kontakt,
#kontakt-button:checked ~ .list svg.icon-widget-kontakt,
#vorbereitung:checked ~ .list label.vorbereitung,
#vorbereitung:checked ~ .list svg.icon-widget-vorbereitung,
#beladen:checked ~ .list label.beladen,
#beladen:checked ~ .list svg.icon-widget-beladen,
#entladen:checked ~ .list label.entladen,
#entladen:checked ~ .list svg.icon-widget-entladen,
#abschluss:checked ~ .list label.abschluss,
#abschluss:checked ~ .list svg.icon-widget-abschluss {
    color: #000;
    fill: #000;
}

.tabs-content .list label:hover {
    color: #ffc300;
}

.icon-widget-kontakt {
  width: 23px;
  height: 23px;
  vertical-align: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.tabs-content .list label:hover .icon-widget-kontakt {
  width: 23px;
  height: 23px;
  vertical-align: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #ffc300;
}

.icon-widget-vorbereitung {
  width: 23px;
  height: 23px;
  vertical-align: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.tabs-content .list label:hover .icon-widget-vorbereitung {
  width: 23px;
  height: 23px;
  vertical-align: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #ffc300;
}

.icon-widget-beladen {
  width: 27px;
  height: 22px;
  vertical-align: -4px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #333;
}

.tabs-content .list label:hover .icon-widget-beladen {
  width: 27px;
  height: 22px;
  vertical-align: -4px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #ffc300;
}

.icon-widget-entladen {
  width: 27px;
  height: 22px;
  vertical-align: -4px;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #333;
}

.tabs-content .list label:hover .icon-widget-entladen {
  width: 27px;
  height: 22px;
  vertical-align: -4px;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #ffc300;
}

.icon-widget-abschluss {
  width: 24px;
  height: 27px;
  vertical-align: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #333;
}

.tabs-content .list label:hover .icon-widget-abschluss {
  width: 24px;
  height: 27px;
  vertical-align: -5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  fill: #ffc300;
}

.tabs-content .slider {
    position: absolute;
    left: 0;
    top: 0;
    height: 60px;
    width: 100%;
    border-radius: 12px;
    background: #ffc300;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#kontakt-button:checked ~ .list .slider {
    top: 0;
}

#vorbereitung:checked ~ .list .slider {
    top: 60px;
}

#beladen:checked ~ .list .slider {
    top: 120px;
}

#entladen:checked ~ .list .slider {
    top: 180px;
}

#abschluss:checked ~ .list .slider {
    top: 240px;
}

.tabs-content {
    width: 100%;
    height: 100%;
}

.tabs-content .text {
    display: none;
}

.tabs-content .text .title {
    font-size: 25px;
    font-weight: 500;
}

.tabs-content .text p {
    display: block;
    font-size: 17px;
    margin-top: -10px;
    margin-bottom: 30px;
}

.tabs-content .kontakt p {
    color: #000;
    font-size: 1.5em;
    padding-left: 3%;
}

.kontakt-baer {
  position: relative;
  float: right;
  top: 10px;
}

.text-content h2 {
    color: #000;
    font-size: 1.5em;
    line-height: 1.2em;
}

.text-content{
    max-width: 70%;
}

.tabs-content .text-content .kontakt{
    display: block;
}

.tabs-content .text-content ul{
    padding-left: 5%;
    padding-top: 1%;
    font-size: 1.1em;
    line-height: 1.5em;
}

.tabs-content .text p:last-child {
    margin-bottom: 0px;
}

#kontakt-button:checked ~ .text-content .kontakt,
#vorbereitung:checked ~ .text-content .vorbereitung,
#beladen:checked ~ .text-content .beladen,
#entladen:checked ~ .text-content .entladen,
#abschluss:checked ~ .text-content .abschluss{
    display: block;
}
#vorbereitung:checked ~ .text-content .kontakt,
#beladen:checked ~ .text-content .kontakt,
#entladen:checked ~ .text-content .kontakt,
#abschluss:checked ~ .text-content .kontakt{
    display: none;
}
.tabs-content input{
    display: none;
}
/* Ablauf Section End */