:root {
  --primary: #fff;
  --gme-background-color:#fff;
  --gme-primary-color:#111;
  --gme-primary-color2:#fff;
  --gme-btn-color:#111;
  --gme-btn-color2:#666;
  --gme-btn-disabled:#a2a2a2;
  --gme-btn-focus-border:#111;
  --gme-box-btn-primary:#111;
  --gme-box-btn-primary2:#fff;
  --gme-box-btn-border-color:#111;
  --gme-border-color:#e5e5e5;
  --gme-active-border-color:#000;
  --swiper-bg:#ccc;
  --swiper-active-bg:#000;
  --gme-easing:cubic-bezier(.2,1,.2,1);
  --gme-easing2:cubic-bezier(.72,0,.28,1);
  --gme-speed:.5s;
  --font-family-text-mid:"genesis-text-mid",sans-serif;
}

@font-face {
  font-family: "genesis-text";
  src: url('/_resources/fonts/GenesisSansProText-Rg.woff2') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional, verbessert Ladeverhalten */
}
@font-face {
  font-family: "genesis-head-light";
  src: url('/_resources/fonts/GenesisSansProHead-Lt.woff2') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional, verbessert Ladeverhalten */
}
@font-face {
  font-family: "genesis-head";
  src: url('/_resources/fonts/GenesisSansProHead-Rg.woff2') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optional, verbessert Ladeverhalten */
}

h1, h2 {
  margin: 0;
  font-family: "genesis-head-light", sans-serif;
  font-weight: 400;
  text-wrap: balance;
  display: block;
}

h3, h4 {
  margin: 0;
  font-family: "genesis-text", sans-serif;
  font-weight: normal;
  text-wrap: balance;
  display: block;
}

h1 {
  font-size: 64px;
  line-height: 40px;
  margin-bottom: 40px;
}
h2 {
  font-size: 32px;
  line-height: 120%;
  margin-bottom: 40px;
}
h3 {
  font-size: 24px;
  line-height: 24px;
  margin-bottom: 30px;
}

h1 {
  color: var(--primary);
  font-size: 108px;
  line-height: 110%;
}

/* New Header */

.header {
    background-color: #000;
    backdrop-filter: blur(10px);
    height: 72px;
    justify-content: space-between;
    left: 0;
    max-width: 100vw;
    padding: 0 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
    align-items: center;
    display: flex;
}
.logo {
    display: flex;
    width: 100%;
    max-width: unset;
    vertical-align: middle;
    width: 108px;
    margin-top: 3px;
    margin-left: 1px;
}
.logo img {
    width: 100%;
    height: auto;
}
.model-tabs {
    display: flex;
    gap: 48px;
    margin-left: 0;
    flex-shrink: 0;
}
.tab {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
    opacity: 0.6;
    transition: opacity 0.3s;
    white-space: nowrap;
}
.tab:hover {
    opacity: 0.8;
}
.tab.active {
    opacity: 1;
}

/* Desktop language toggle */
.language-toggle {
    display: flex;
    flex-shrink: 0;
}
.lang-btn {
    padding: 6px 16px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}
.lang-btn.active {
    background: #fff;
    color: #000;
}
.lang-btn:not(.active) {
    background: #333;
    color: #fff;
}
.lang-btn:not(.active):hover {
    background: #444;
}
.lang-btn .lang-full {
    display: inline;
}
.lang-btn .lang-short {
    display: none;
}

/* Mobile menu button (hamburger) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}



/* Mobile menu dropdown */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #000;
  border-top: 1px solid #333;
  padding: 20px;
  z-index: 1000;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.mobile-nav-item {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: normal;
  opacity: 0.6;
  transition: opacity 0.3s;
  padding: 24px 0;
  border-bottom: 1px solid #333;
}

.mobile-nav-item:hover {
  opacity: 0.8;
}

.mobile-nav-item.active {
  opacity: 1;
}

.mobile-nav-item:last-child {
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.mobile-languages {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin: 40px 0 24px 0;
}

.mobile-lang-btn {
  padding: 12px 20px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  color: #fff;
  background: #333;
  text-align: center;
  flex: 1;
  box-sizing: border-box;
}

.mobile-lang-btn.active {
  background: #fff;
  color: #000;
}

.mobile-lang-btn:hover:not(.active) {
  background: #444;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .header {
    height: 60px;
    padding: 0 16px;
  }

  .logo {
    width: 90px;
  }

  /* Hide desktop navigation and language toggle on mobile */
  .model-tabs,
  .language-toggle {
    display: none;
  }

  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header {
        height: 60px;
        padding: 0 16px;
    }

    .logo {
        width: 90px;
    }

    .model-tabs {
        gap: 16px;
    }

    .tab {
        font-size: 16px;
    }

    /* Hide desktop language toggle on mobile */
    .language-toggle {
        display: none;
    }

    /* Show mobile dropdown */
    .language-dropdown {
        display: block;
    }
}

/* Hide conflicting mobile styles */
@media (max-width: 768px) {
  .language-dropdown {
    display: none !important;
  }
  
  .dropdown-trigger,
  .dropdown-menu,
  .dropdown-item {
    display: none !important;
  }
}

.btn-primary {
  background:linear-gradient(to right,var(--gme-box-btn-primary2) 50%,var(--gme-box-btn-primary) 50%) 99% 100%/210% 100%;
  background-position:99% 102%;
  border: solid 1px #111;
  color: #fff;
  font-family: "genesis-text";
  font-size: 1.2rem;
  transition:background-position .25s ease-in-out,color .25s ease-in-out;
}

.btn-default {
  background:linear-gradient(to right,var(--gme-box-btn-primary) 50%,var(--gme-box-btn-primary2) 50%) 99% 100%/210% 100%;
  background-position:99% 102%;
  color: #fff;
  border: solid 2px #fff;
  font-family: "genesis-text";
  font-size: 1.2rem;
  transition:background-position .25s ease-in-out,color .25s ease-in-out;
}

.trust-box {
  border-radius: 0;
}

.hero {
  position: relative;
  width: 100%;
  height: 95vh; /* Adjust as needed */
  overflow: hidden;
  min-height: 600px;
}

.hero-headline {
  font-size: 3em;
  margin-bottom: 12px;
}

.hero-subheadline {
  font-size: 1.6em;
  font-family: "genesis-text", sans-serif;
  margin-bottom: 2em;
}

.hero-copytext {
  color: #ffffff;
  font-family: "genesis-head-light", sans-serif;
  font-size: 2em;
  font-weight: normal;
  line-height: 100%;
  margin-top: 1.2em;
  text-wrap: balance;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video covers entire container */
  z-index: -1; /* Places video behind other content */
  cursor: pointer;
  transition: opacity 0.3s;
}

@media (max-width: 1024px) {
  .hero-gv60 img {
    content: url('../../_resources/img/GV60/gv60-hero-mob.webp');
    object-position: center;
    object-fit: cover;
  }
  
  .hero-gv70 img {
    content: url('../../_resources/img/GV70/gv70-hero-mob.webp');
    object-position: center;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .hero-content .btn {
    width: 100%;
    box-sizing: border-box;
  }
}



/*
 .hero-video.video-ended {
  /* Glow effect when replayable */
/*  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

/* .hero-video.waiting {
  opacity: 0.9; 
  transition: opacity 0.6s;
}

.replay-timer {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

@media screen and (max-width:768px) {
  .replay-timer {
    display: none;
  }
}


.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.video-container {
  position: relative;
  display: inline-block;
}

*/

@media screen and (max-width:1023.98px) {
  .hero-content {
    font-size: 11px;
    line-height: 100%;
    width: 100%;
    height: 90vh;
  }
}

.link-section {
  width: 100%;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: auto;
  margin-bottom: 80px;
}

.link-box {
  position: relative;
  flex: 1 1 250px;
  max-width: 600px;
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 0;
  text-align: left;
  transition: transform 0.2s ease;
}
.link-box :hover {
  color: #999;
  text-decoration: none;
}

.link-box a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.link-box h3 {
  font-size: 1.5rem;
  margin-bottom: 48px;
}  

.link-icon {
  position: absolute;
  bottom: 2rem; 
  right: 2rem; 
  width: 28px;
  height: 28px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.link-box:hover .link-icon {
  opacity: 0.5;
}


/* Carousel Container */
.carousel-container {
  max-width: 1600px;
  width: 100%; /* Add this to prevent margin collapse */
  margin: 80px auto;
  padding: 20px;
  box-sizing: border-box; /* Include padding in width calculation */
}

/* Carousel Base */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 62.5%; /* 16:10 aspect ratio (10/16 = 0.625) */
}

/* Images Container */
.carousel-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Individual Images */
.carousel-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-images img.active {
  opacity: 1;
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.footer {
  border-top: 1px solid #1e1e1e;
  padding-top: 32px;
  margin-bottom: 32px;
}

cardess-web-chat .web-chat-container {
  font-family: "genesis-text" !important;
}