body {
    margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: fff;
background: #161616;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

p {
    font-size: 0.9em;
    max-width: 35em;
    line-height: 27px;
}

h1, h2 {
    font-weight: 300;
}

h1 {
    margin: 0.5em 0;
    font-size: 3em;
}

.specs h2, .about h2 {
    font-size: 2em;
    padding-left: 1.2em;
    border-left: 0.1em #0ed145 solid;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
}

section {
    padding: 2.5em;
}

nav, .infos, .info, 
.specs-header, .specs li,
.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.specs, .icon,
.panel:first-child,
.panel:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-body h1 {
    font-weight: 500;
    text-align: right;
    margin-right: 0

}

.header-body {
    background-image: url(img/img_spec.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 500px;
    padding: 2.5em;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end; /* Schriftzug nach rechts verschieben */
    position: relative;
    text-align: right; /* Text rechtsbündig ausrichten */
}

.header-body p {
    text-align: right;
    margin-right: 0
}


.heading h2 {
    margin-bottom: 1em;
}

.heading p {
    margin-left: 3em;
    display: inline-block;
}

.infos {
    gap: 3em;
    justify-content: center;
}

.infos, .heading {
    padding: 5em 1em;
}

.info img {
    max-width: 6em;
    margin-right: 1em;
}

.info h3 {
    margin-bottom: 0,5em;
}

.info p {
    max-width: 15em;
}

.about {
    background-color: rgb(39, 39, 39);
}

.specs {
    background: 
    url(img/banner2.jpg)
    no-repeat center;
    background-size: cover;
    min-height: 40em;
    position: relative;
    padding-top: 8em;
    padding-bottom: 8em;
}

.specs-header, .specs ul {
    position: relative;
    z-index: 1;
}

.specs-header h2 {
    font-weight: 300;
}

.specs ul {
    width: 40em;
    margin-top: 3em;
}

.specs li {
    padding: 0.6em 0;
    border-bottom: #555 1px solid;
}

.specs li span:first-child {
    color: #ffffff;
}

.specs::before {
    content: '';
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.icon {
    font-size: 2em;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
}

.car-stats {
    padding: 5em 1em;
    background-color: rgb(39, 39, 39);
}

.stats {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stats > div {
    margin-bottom: 1em;
    position: relative;
    min-width: 10em;
}

.stats > div h1:nth-child(2) {
    color: #00ff0d;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 2.5em;
    font-weight: 700;
}

.stats h5 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.7em;
}

.counter {
    margin: 0.1em 0;
}

.car {
    padding:  4em 1em 4em 1em;
    margin-top: 8em;
}

.circle {
    border: 2px #ccc solid;
    border-radius: 50%;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: #161616;
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}

.car img {
    width: 70%;
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.img {
    size: 50px;
    justify-content: center;
    text-align: center;
}


@-webkit-keyframes glow {
    0% {
        box-shadow: 0 0 1em #5bc7ca;
    }

    50% {
        box-shadow: 0 0 1em #5bc7ca;
    }

    100% {
        box-shadow: 0 0 1em #5bc7ca;
    }
}

h6 {
    font-size: 100px;
    text-align: center;
    margin-top: 150px;
}

@media screen and (max-width: 900px) {
    h6 {
        font-size: xx-large;
        text-align: center;
        margin-top: 150px;
    }

    h6 {
        font-size: 100px;
        text-align: center;
        margin-top: 150px;
    }

}
    
    @media screen and (max-width: 900px) {
        h6 {
            font-size: xx-large;
            text-align: center;
            margin-top: 150px;
        }

    .specs ul {
        width: 80vw;
    }

    .infos, .info, .stats {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .infos {
        gap: 3em;
    }

    .info img {
        margin: 0 0 1em 0;
    }

    header {
        height: 50vh;
        min-height: 30vh;
        display: flex;
        flex-direction: column;
        background: #161616;
    }
}

@media screen and (max-width: 600px) {
    html {
        font-size: 14px;
    }
}