/* Fonts */

/* anton-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/anton-v27-latin-regular.woff2') format('woff2');
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'); 
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'); 
}



/* Farbpalette */
:root {
  --weiss:       #FFFFFF;
  --snow:        #EFE9D3;
  --orange:      #DE6536;
  --hgrau:       #e2e2e2;
  --grau:        #686868;
  --schwarz:     #1E1916;
  --dschwarz:    #000000;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--schwarz);
    scroll-behavior: smooth;
    background-color: var(--hgrau);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*:focus, .btn.focus, .btn:focus, button:focus {
    outline: 0 none;
    border: 0;
    border-color: transparent;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0)!important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0)!important;
}
::-webkit-scrollbar {
    width: 6px
}
::-webkit-scrollbar-track {
    background: var(--hgrau);
    border-radius: 0px
}
::-webkit-scrollbar-thumb {
    background: var(--schwarz);
    border-radius: 3px
}
::selection {
    background: var(--schwarz);
    color: var(--snow);
}
::-moz-selection {
    background: var(--schwarz);
    color: var(--snow);
}

a {
    color: var(--schwarz);
    text-decoration: none;
}
a:hover {
    color: var(--grau);
}
figure {
    margin: 0;
    padding: 0;
}
strong, .strong {
    font-weight: 600;
}
.btn {
    font-weight: 600;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .loud, .postit{
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}
h1, .h1, h2, .h2 {
    font-size: 70px;
    line-height: 70px;
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6, .loud {
    font-size: 35px;
    line-height: 38px;
}


.home-gebrauchtwagen h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    text-transform: none;
    font-weight: 600;
}

.content {
        font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 24px;
}


.loud a {
    text-decoration: underline;
}

@media screen and (max-width: 992px) {
    h1, .h1, h2, .h2 {
        font-size: 35px;
        line-height: 35px;
    }
    h3, .h3, h4, .h4, h5, .h5, h6, .h6, .loud {
        font-size: 20px;
        line-height: 24px;
    }

}



.ratio169 {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ratio11 {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ratio45 {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ratio175 {
    width: 100%;
    aspect-ratio: 100 / 75;
    object-fit: cover;
}

/***********
Hintergrundfarben
************/

.bg-scratch-grau {
    background-image: url(../images/bg-scratch-grau.webp);
    background-color: var(--hgrau);
    background-position: top right;
}

.bg-scratch-schwarz {
    background-image: url(../images/bg-scratch-schwarz.webp);
    background-color: var(--schwarz);
    background-position: top center;
    color: var(--snow);
}

.bg-orange {
    background-color: var(--orange);
    color: var(--schwarz);
}   

.bg-dschwarz {
    background-color: var(--dschwarz);
    color: var(--snow);
}


.bg-weiss {
    background-color: var(--weiss);
}

.bg-snow {
    background-color: var(--snow);
}
.bg-hgrau {
    background-color: var(--hgrau);
}
.bg-grau {
    background-color: var(--grau);

}
.bg-schwarz {
    background-color: var(--schwarz);
    color: var(--snow);
}

.bg-schwarz a{
    color: var(--snow);
}
.bg-schwarz a:hover{
    color: var(--weiss);
}


.bg-orange a{
    color: var(--schwarz);
}
.bg-orange a:hover{
    color: var(--weiss);
}

/*********
Abstände
**********/
.space-xl-y {
    padding-top: 70px;
    padding-bottom: 70px;
}

.space-xl-t {
    padding-top: 70px;
}

.space-xl-b {
    padding-bottom: 70px;
}

.space-sm-y {
    padding-top: 35px;
    padding-bottom: 35px;
}

.space-sm-t {
    padding-top: 35px;
}

.space-sm-b {
    padding-bottom: 35px;
}

.space-0 {
    padding: 0 !important;
}

@media (min-width: 768px) {
    .space-xl-y {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .space-xl-t {
        padding-top: 100px;
    }

    .space-xl-b {
        padding-bottom: 100px;
    }

    .space-sm-y {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .space-sm-t {
        padding-top: 50px;
    }

    .space-sm-b {
        padding-bottom: 50px;
    }

}

/*********
Buttons
**********/

.btn {
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    padding: 10px 28px;
    border-radius: 5px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.3s ease;
}


.btn-default,
.btn-outline:hover{
    background-color: var(--schwarz);
    border: 1px solid var(--schwarz);
    color: var(--snow);
}
.btn-default:hover,
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--schwarz);
    color: var(--schwarz);
}


.bg-schwarz .btn-default,
.bg-schwarz .btn-outline:hover{
    background-color: var(--snow);
    border: 1px solid var(--snow);
    color: var(--schwarz);
}
.bg-schwarz .btn-default:hover,
.bg-schwarz .btn-outline {  
    background-color: transparent;
    border: 1px solid var(--snow);
    color: var(--snow);
}


/*********
NAV
**********/

/* Header Base */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  padding: 5px 0;
}

/* Transparent Default */
.header.transparent {
  background-color: rgba(255,255,255,0);
}

/* Scrolled State */
.header.scrolled {
  background-color: rgba(239,233,211,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--bs-box-shadow-lg) !important;
}

/* Layout */
.nav-left,
.nav-center,
.nav-right {
  flex: 1;
}

.nav-center {
  display: flex;
  justify-content: center;
}

/* Burger */
.burger {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.burger span {
  width: 25px;
  height: 2px;
  background: #000;
  display: block;
  transition: all 0.3s ease;
}

/* Overlay Menu */
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 998;
}

.overlay-menu.active {
  opacity: 1;
  visibility: visible;
}

.overlay-nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.overlay-nav li {
  margin: 20px 0;
}

.overlay-nav a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
}


/* Hero */
.hero {
position: relative;
width: 100%;
height: 80vh;
overflow: hidden;
}

.hero video,
.hero img {
width: 100%;
height: 100%;
object-fit: cover;
}


@media (min-width: 768px) {

    /* Hero */
    .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    }

    .hero video,
    .hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    }

}
.produktoverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #EFE9D3;
  background: linear-gradient(180deg, rgba(239, 233, 211, 0.5) 0%, rgba(239, 233, 211, 1) 60%, rgba(239, 233, 211, 1) 60%, rgba(239, 233, 211, 1) 100%);
}

.hero .container {
    top: 80%;
    z-index: 2;
    position: relative;
}


/* Burger Animation zu X */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #fff;
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: #fff;
}

/* Standard Farbe */
.burger span {
  background: #000;
}

/* Wenn Overlay aktiv → Burger weiß */
.burger.active span {
  background: #fff;
}

/* Overlay aktiv → Header bleibt transparent */
.header.overlay-open {
  background-color: rgba(0,0,0,0) !important;
  backdrop-filter: none !important;
}


/*********
ELSE
**********/

.large-karo {
    width: 100%;
    height: 30px;
    background-image: url(../images/large-karo.webp);
    background-repeat: repeat-x;
    background-position: center;
    margin: 0;
    padding: 0;
    opacity: 1;
    border: none;
}

.smalldots {
    width: 100%;
    height: 5px;
    background-image: url(../images/smalldots.webp);
    background-repeat: repeat-x;
    background-position: center;
    padding: 0;
    opacity: 1;
    border: none;
}


.f-carousel {
    --f-carousel-slide-width: calc(100% / 1.5);
    --f-carousel-gap: 8px;
}

@media (max-width: 767px) {
    .is-horizontal .f-button.is-arrow.is-prev, .is-horizontal .f-button.is-arrow.is-next {
        display: none;
    }
}


@media (min-width: 768px) {
  .f-carousel {
    --f-carousel-slide-width: calc((100% - var(--f-carousel-gap) * 2) / 3);
    --f-carousel-gap: 16px;
  }

    .is-horizontal .f-button.is-arrow.is-prev svg, 
    .is-horizontal .f-button.is-arrow.is-next svg{
        display: none;
    }

    .is-horizontal .f-button.is-arrow.is-prev, .is-horizontal .f-button.is-arrow.is-next {
        inset: calc(100% + 100px) auto auto;
        transform: translateY(0%);
        border:0px solid #fff;
        width: 40px;
        height: 50px;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 35px auto;
    }

    .is-horizontal.is-ltr .f-button.is-arrow.is-prev {
        left: calc(100% - 120px);
        background-image: url(../images/prev.svg);
    } 
    
    .is-horizontal.is-ltr .f-button.is-arrow.is-next {
        background-image: url(../images/next.svg);
    }  
    
}






.home-gebrauchtwagen a {
    color: var(--snow);
}

.home-gebrauchtwagen a:hover {
    color: var(--orange);
}



.vertical-center {
    display: flex;
    flex-direction: column;
    justify-content: center;

}



.gallery-container a:hover {
    cursor: zoom-in;
}

.mod-breadcrumbs.breadcrumb.px-3{
    padding-left: 0!important;
    padding-right: 0!important;
   }

@media (max-width: 767px) {
    .mod-breadcrumbs__here {
        display: none;
    }
}


.postit {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(../images/bg-postit.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    width: 238px;
    height: 121px;
    padding-top: 45px;
    color: var(--schwarz);
    text-align: center;
    z-index: 1;
    font-size: 20px;
}