html,
body {
    position: relative;
    height: 100%;
}

body {
    font-family: 'Spezia Condensed';
    font-size: 30px;
    color: #000D35;
    font-weight: normal;
}

.container {
    max-width: 1400px;
}

.language-menu li:first-child::after {
    content: '/';
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    top: -1px;
}

ul.language-menu {
    float: right;
    font-size: 20px;
    padding-top: 22px;
}

ul.language-menu li {
    display: inline-block;
    list-style-type: none;
}

ul.language-menu li a {
    color: #000D35;
}

.nav li {
    padding-left: 30px;
}

a {
    color: #000D35;
}

.nav li a:hover {
    color: #000D35;
    text-decoration: none;
}

.nav li a {
    position: relative;
}

.nav li a:hover:before,
.nav li a.active:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    height: 1px;
    width: 28px;
    border-bottom: 1px solid #981008;
}
.menu{
    display: none;
    position: fixed;
    top: 0px;
    left:0px;
    background-color:#000D35;
    height:100vh;
    width: 100%;
    z-index: 5;
}
.menu ul.mobile-main{
    padding-top:120px;
}
.menu ul.mobile-main a{
    color:#fff;
}

.menu ul.mobile-main a.active{
    text-decoration:underline;
}

.menu .social{
    padding-left:18px;
}

.menu .language-menu{
    text-align:left;
    color:#fff;
}

.menu .language-menu li a{
    color:#fff;
}

.burger {
    display: inline-block;
    cursor: pointer;
    border-radius: 2px;
    padding-left: 5px;
    padding-right: 5px;
    position: absolute;
    right: 50px;
    z-index: 6;
}

.bar1,
.bar2,
.bar3 {
    width: 28px;
    height: 1px;
    background-color: #000;
    margin: 7px 0;
    transition: 0.4s;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-5px, -10px);
    transform: rotate(45deg) translate(-5px, -10px);
    background-color:#fff;
}

.change .bar2 {
    opacity: 0;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-2px, 6px);
    transform: rotate(-45deg) translate(-2px, 6px);
    background-color:#fff;
}

.grey-arrow {
    text-align: right;
    font: normal normal bold 700px/32px Spezia Extended;
    letter-spacing: 3.5px;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #AAAAA0;
    -webkit-font-smoothing: antialiased;
    opacity: 1;
    position: absolute;
    left: 140px;
    top: 12px;
    pointer-events: none;
}

.header-image img, .swiper-container img {
    max-width:100%;
}

.textcontent-free .grey-arrow {
    top: 152px;
}

.textcontent-free h5 {
    font: bold 30px 'Spezia Extended';
    padding-bottom: 20px;
}

#quote {
    background-color: #EBEBE6;
    margin-top: 156px;
    padding-top: 140px;
    padding-bottom: 140px;
    position: relative;
    margin-bottom: 125px;
}

.quote {
    letter-spacing: 0px;
    line-height: 50px;
}

.quote-name {
    display: block;
    margin-top: 45px;
    font-size: 24px;
    position: relative;
    margin-left: 70px;
}

#quote .slogan-round {
    right: 0;
    position: absolute;
    bottom: -200px;
}

#quick-start {
    padding-top: 230px;
    margin: auto;
}

#textcontent {
    position: relative;
}

.textcontent-free {
    position: relative;
    padding-top: 140px;
}


#headerpic {
    padding-top: 78px;
}

#textcontent h3,
.textcontent-free h3 {
    -webkit-text-stroke-width: 0;
    color: #000D35;
    font: bold 72px 'Spezia Extended';
    letter-spacing: -0.72px;
    position: absolute;
    left: 400px;
    top: 90px;
}

.textcontent-free h3 {
    top: 230px;
}

.listblock h3 {
    font: bold 30px 'Spezia Extended';
    padding-bottom: 20px;
}

.listblock {
    max-width: 812px;
    padding-top: 100px;
    padding-left: 30px;
}

.collapse-toggle {
    display: block;
}

.list-separator {
    border-bottom: 1px solid #AAAAA0;
    padding-top: 40px;
    margin-bottom: 40px;
}

.red-arrow-small {
    display: inline-block;
    padding-right: 40px;
    color: #981008;
}

.collapse-toggle:hover {
    text-decoration: none;
    color: #000D35;
    opacity: 0.8;
}


.collapse,
.collapsing {
    padding-left: 55px;
}

.text-block {
    padding-top: 240px;
    padding-left: 40px;
    max-width: 810px;
}


.free-text-block {
    padding-top: 240px;
    padding-left: 40px;
    max-width: 810px;
}

.free-text-quote {
    padding-top: 120px;
    padding-left: 40px;
    max-width: 600px;
}

.powermail_field input[type=text], .powermail_field textarea{
    width:100%;
    border: 1px solid #000D35;
}

.powermail_input{
    border: 1px solid #000D35;
}

.powermail_fieldwrap_type_text{
    font-size:20px;
    padding-top:20px;
}

.free-text-quote h3{
    font: normal 40px 'Spezia Condensed';
    letter-spacing: 0px;
    color: #981008;
    padding-bottom: 40px;
}

.g-recaptcha{
    padding-top:30px;
}

.ref-text-block .listblock{
    padding-top:0px;
}

.ref-text-block {
    padding-top: 300px;
    padding-left: 40px;
    max-width: 810px;
}

.ref-description{
    padding-top:100px;
}

h4 {
    font: normal 40px 'Spezia Condensed';
    letter-spacing: 0px;
    color: #981008;
    padding-bottom: 40px;
}

.free-text-block h4, .ref-text-block h4 {
    padding-top: 40px;
    padding-bottom: 10px;
}

.cars {
    padding-top: 70px;
}

.cars .quick-link{
    padding-bottom:60px;
}

.car-banner {
    position: absolute;
}

.car-banner img{
    width:150px;
    height:150px;
}

.quick-link span.series {
    text-align: center;
    font: normal 19px 'Spezia Condensed';
    letter-spacing: 0px;
    color: #000D35;
    text-transform: uppercase;
    display: block;
    padding-top: 0px;
    text-decoration:none !important;
}

.quick-link a:hover{
    text-decoration:none;
}

.quick-link img {
    width: 100%;
}

.q-wrapper {
    position: relative;
    width: 100%;
}

.car-filter{
    padding-top:100px;
}

#inquiry .button {
    margin-top: 50px;
    background-color: #981008;
    color: #fff;
    max-width: 333px;
}

.free-text-quote .powermail_submit, #newsletter_form .powermail_submit {
    margin-top: 50px;
    background-color: #981008;
    color: #fff;
    max-width: 333px;
    outline:0;
    border:none;
    cursor:pointer;
}

#newsletter_form .powermail_submit{
    margin-top:20px;
}

#mce-EMAIL{
    margin-top:20px;
    font-size: 28px;
    border-radius: 81px;
    line-height: 80px;
    vertical-align: middle;
    padding-left: 30px;
    display: block;
    color:#000D35;
    border-color:#000D35;
    max-width:100%;
    width:500px;
}

#mce-EMAIL:focus{
    outline: none;
}

.free-text-block a{
    color:#000D35;
    text-decoration:underline;
}

.free-text-block a:hover{
    text-decoration:none;
}


#inquiry h3, #newsletter_form h3{
    font: bold 48px 'Spezia Extended';
    letter-spacing: -1.2px;
    color: #000D35;
}

#inquiry p {
    line-height: 40px;
}

.overlay {
    display: none;
}

.q-wrapper:hover .overlay {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 47, 99, 0.8);
    top: 0;
}

.q-arrow {
    display: none;
    position: absolute;
    width:auto !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.quick-link a, .quick-link > span {
    text-align: center;
    color: #981008;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
}

.quick-link a span, .quick-link > span {
    padding-top: 15px;
    display: inline-block;
    margin:auto;
    width:100%;
}

.quick-link a:hover span{
    text-decoration:none;
}

#quick-start h2 {
    text-align: center;
    font: bold 72px 'Spezia Extended';
    letter-spacing: -0.72px;
    color: #000D35;
}

.quote-name:before {
    content: "";
    display: block;
    width: 62px;
    height: 1px;
    background-color: #981008;
    position: absolute;
    left: -72px;
    top: 24px;
}

#slider {
    padding-top: 80px;
}

.swiper-container {
    width: 100%;
    height: 100%;
}



.gallery-thumbs{
    height:200px;
}

.head-ref{
    position:relative;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
}
.swiper-slide {
    background-size: cover; 
    background-repeat:no-repeat;
    background-position: center;
  }

  .gallery-thumbs .swiper-slide{
    background-size:cover;
  }

  .gallery-thumbs {
    height: 200px;
    padding: 10px 0;
  }
  .gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
  }
  .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
  }

.swiper-pagination-bullet {
    background: transparent;
}

.swiper-pagination-bullet-active .path {
    display: inline-block !important;
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
    -webkit-animation: dash linear 120s;
    animation: dash linear 120s;
    -webkit-animation-iteration-count: unset;
    animation-iteration-count: unset;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: 'Spezia Extended';
    font-size: 72px;
    color: #EBEBE6;
}


.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
    content: '»';
}

.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
    content: '«';
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: 50px;
    left: auto;
    outline: 0;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    left: 50px;
    right: auto;
    outline: 0;
}

.swiper-button-prev:hover:after .swiper-button-next:hover:after {
    color: #981008;
}

.swiper-pagination-bullet {
    outline: 0;
    width: 20px;
    height: 20px;
}

.swiper-pagination {
    padding-top: 50px;
    width: 100%;
}

.red-arrow {
    text-align: right;
    font: normal normal bold 700px/32px Spezia Extended;
    letter-spacing: 3.5px;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #981008;
    -webkit-font-smoothing: antialiased;
    opacity: 1;
    position: absolute;
    right: 195px;
    top: 220px;
    z-index: 4;
    pointer-events: none;
}

.head-ref h4{
    position:relative;
    left: 400px;
    top: 310px;
    max-width: 400px;
}


.path {
    display: none;
}

@-webkit-keyframes dash {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    from {
        stroke-dashoffset: 1000;
    }

    to {
        stroke-dashoffset: 0;
    }
}

a.button, .powermail_submit {
    width: 398px;
    background-color: #fff;
    color: #000D35;
    font-family: 'Spezia Extended';
    font-size: 24px;
    border-radius: 81px;
    line-height: 80px;
    vertical-align: middle;
    padding-left: 30px;
    display: block;
}

a.button:hover,  .powermail_submit:hover {
    text-decoration: none;
}

a.button i {
    float: right;
    padding-right: 30px;
    vertical-align: middle;
}

a.button:after, .powermail_submit:after {
    background-color: #981008;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin: top left;
    transition: 0.2s transform ease-out;
    will-change: transform;
    z-index: -1;
}

a.button:hover::after,  .powermail_submit:hover:after {
    transform: translate(0, 0);
}

a.button:hover, .powermail_submit:hover {
    color: #981008;
    transform: scale(1.05);
    will-change: transform;
}

a.button, .powermail_submit {
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: 0.2s transform ease-in-out;
    will-change: transform;
    z-index: 0;
}

.social {
    display: inline-block;
    float: right;
}

.social a {
    padding-left: 25px;
}

.social a:first-child{
    padding-left:0px;
}

.social img{
    max-width:39px;
}

footer {
    margin-top:80px;
    padding-top: 60px;
    padding-bottom: 42px;
    background-color: #000D35;
    color: #fff;
}

footer a.button:hover{
    color:#000D35;
}

.footer-logo {
    display: inline-block;
    padding-right: 46px;
}

footer .footer-slogan {
    padding-bottom: 115px;
}

footer .copyright {
    padding-top: 135px;
}

footer .slogan {
    font: normal normal bold 20px/32px 'Spezia Extended';
    letter-spacing: 1px;
    color: #FFFFFF;
    text-transform: uppercase;
}

footer ul {
    display: inline;
}

footer ul li {
    display: inline-block;
    list-style-type: none;
    padding-right: 40px;
}

footer li a:hover {
    color: #fff;
    text-decoration: none;
}

footer li a {
    color: #fff;
    position: relative;
}

footer li a:hover:before,
footer li a.active:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    height: 1px;
    width: 28px;
    border-bottom: 1px solid #fff;
}

.ref-text-block a{
    cursor:default;
    pointer-events:none;
}

.car-element{
    display:none;
}

.tx-powermail{
    margin: auto;
    max-width: 810px;
}

.car-element.active {
    opacity: 1;
    display: block;
    -webkit-animation: fadeIn 0.65s ease forwards;
    animation: fadeIn 0.65s ease forwards;
  }
  
  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }


@media only screen and (max-width: 1200px) {
    .footer-down {
        text-align: center;
    }

    .footer-logo {
        display: block;
        padding-right:0px;
    }

    footer .footer-slogan {
        padding-bottom: 50px;
    }

    footer a.button {
        margin: auto;
        margin-top: 40px;
    }

    footer ul {
        display: block;
    }

    footer .copyright {
        padding-top: 60px;
    }

    .social {
        float: inherit;
    }
    ul.language-menu{
        float:inherit;
        text-align:center;
    }
    .themenu{
        padding-top:60px;
    }

    .red-arrow{
        font-size:400px;
        top:190px;
    }

    .grey-arrow{
        left:-180px;
    }
    #textcontent h3, .textcontent-free h3{
        left:80px;
    }

    .textcontent-free h4{
        left:80px;
    }

    #quote .slogan-round{
        right:50px;
    }
}

@media only screen and (max-width: 800px) {
    #quick-start h2{
        font-size:50px;
    }
    a.button {
        width: 345px;
    }
    #quote .slogan-round{
        bottom:-220px;
    }
    #textcontent h3, .textcontent-free h3 {
        font-size:50px;
        left:20px;
    }
    .textcontent-free h4{
        left:20px;
        top: 280px;
    }
}



@media only screen and (max-width: 500px) {
    #quick-start h2{
        font-size:50px;
    }
    a.button {
        width: 345px;
    }
    #quote .slogan-round{
        bottom:-220px;
    }
    #textcontent h3, .textcontent-free h3 {
        font-size:37px;
        left:20px;
    }
    .textcontent-free h4{
        left:20px;
        top: 280px;
       font-size: 34px;
    }
}
/* Smaller button variant for long labels (e.g. Gewährleistungsrechte popup) */
a.gbutton {
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 0;
    max-width: 100%;
    padding: 0 30px;
    background-color: #981008;
    color: #fff;
    font-family: 'Spezia Extended';
    font-size: 18px;
    line-height: 56px;
    border-radius: 81px;
    margin-top:20px;
    text-decoration: none;
    vertical-align: middle;
    transition: 0.2s transform ease-in-out;
    will-change: transform;
}

a.gbutton:after {
    background-color: #981008;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin: top left;
    transition: 0.2s transform ease-out;
    will-change: transform;
    z-index: -1;
}

a.gbutton:hover {
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}

a.gbutton:hover::after {
    transform: translate(0, 0);
}

@media only screen and (max-width: 500px) {
    a.gbutton {
        font-size: 15px;
        line-height: 1.3;
        padding: 14px 24px;
    }
}
