/* Heimsafari Static Site - Main Stylesheet */

/* ========================================
   CSS Variables & Theme
   ======================================== */
:root {
  /* Colors */
  --primary: #ff8658;
  --secondary: #f56430;
  --dark: #262F5A;
  --light: #faf8f2;
  --white: #fff;
  --gray: #888;
  --gray-dark: #343a40;
  
  /* Gradients */
  --gradient: linear-gradient(to right, #f56430 0, #ff8658 51%, #f56430 100%);
  --gradient-sec: linear-gradient(to right, #e07e44 0, #f3b25d 51%, #e07e44 100%);
  
  /* Footer Colors */
  --footer-bg: #1f2471;
  --footer-bottom-bg: #141857;
  
  /* Breakpoints */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

img {
  vertical-align: middle;
  border-style: none;
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ========================================
   Layout - Container & Grid System
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row.align-items-center {
  align-items: center;
}

.row.justify-content-center {
  justify-content: center !important;
}

.row.justify-content-sm-center {
  justify-content: center;
}

[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

/* Grid Columns */
.col-sm-3 { flex: 0 0 25%; max-width: 25%; }
.col-sm-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-sm-5 { flex: 0 0 41.667%; max-width: 41.667%; }
.col-sm-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-md-8 { flex: 0 0 66.667%; max-width: 66.667%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-5 { flex: 0 0 41.667%; max-width: 41.667%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
.col-xl-3 { flex: 0 0 25%; max-width: 25%; }
.col-xl-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-xl-5 { flex: 0 0 41.667%; max-width: 41.667%; }
.col-xl-6 { flex: 0 0 50%; max-width: 50%; }

@media (max-width: 1199px) {
  .col-xl-6 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 991px) {
  .col-lg-6, .col-lg-4, .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 767px) {
  [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary) !important; }

.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-grey { background-color: #fef9f2; }

.m-b15 { margin-bottom: 15px; }
.m-b20 { margin-bottom: 20px; }
.m-b30 { margin-bottom: 30px; }
.m-r10 { margin-right: 10px; }

.d-flex { display: flex; }
.d-sm-flex { display: flex; }

.justify-content-sm-start { justify-content: flex-start; }
.align-items-center { align-items: center; }

/* ========================================
   Header Styles
   ======================================== */
.site-header {
  position: relative;
  z-index: 9999;
}

.site-header .main-bar {
  background: #fff;
  width: 100%;
  position: relative;
}

.main-bar-wraper {
  background: var(--white);
}

.main-bar {
  padding: 15px 0;
}

.main-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.logo-header {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  width: 150px;
}

.logo-header.mostion {
  display: flex;
}

.logo-header a {
  display: flex;
  align-items: center;
}

.logo-header img {
  max-height: 70px;
  height: auto;
  width: 100%;
}


/* Screen reader utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-nav {
  padding: 0;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-nav .logo-header {
  display: none;
}

.header-nav__inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-nav__close {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--dark);
  cursor: pointer;
  padding: 10px;
}



.navbar {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.navbar li {
  margin: 0;
  font-weight: 400;
  position: relative;
  display: flex;
  align-items: center;
}

.navbar li a {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 15px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  text-transform: capitalize;
  line-height: 1;
}

.navbar li a:hover {
  color: var(--primary);
  text-decoration: none;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  margin-left: auto;
}

.navbar-toggler.navicon {
  width: 20px;
  height: 18px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.navbar-toggler span,
.navicon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  background: #000;
}

.navicon span:nth-child(1) {
  top: 0px;
}

.navicon span:nth-child(2) {
  top: 7px;
}

.navicon span:nth-child(3) {
  top: 14px;
}

.navicon.open span:nth-child(1) {
  top: 7px;
  transform: rotate(135deg);
}

.navicon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.navicon.open span:nth-child(3) {
  top: 7px;
  transform: rotate(-135deg);
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
}

.navbar-expand-lg .navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}

.collapse:not(.show) {
  display: none;
}

.no-scroll {
  overflow: hidden;
}

.justify-content-end {
  justify-content: flex-end !important;
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: flex;
  }
  .header-nav {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0;
  }

  .header-nav__inner {
    position: absolute;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100vh;
    background-color: #fff;
    padding: 32px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .header-nav.show {
    opacity: 1;
    visibility: visible;
  }

  .header-nav.show .header-nav__inner {
    transform: translateX(0);
  }

  .header-nav__close {
    display: block;
    align-self: flex-end;
    color: var(--dark);
  }

  .header-nav .logo-header {
    display: block;
    padding: 0 0 12px;
    width: 180px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding-bottom: 60px;
  }

  .navbar li {
    border-bottom: none;
    width: 100%;
  }

  .navbar li a {
    display: block;
    padding: 12px 0;
    line-height: 1.5;
    width: 100%;
  }
  
  .navbar .nav-item.has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar .nav-item.has-dropdown > a::after {
    content: "" !important;
    display: none !important;
  }
  
  .logo-header.mostion {
    display: table;
  }
  
  .logo-header {
    width: 160px;
  }
}

@media (max-width: 1199px) {
  .navbar li a {
    padding: 10px 12px;
  }
}

@media (max-width: 767px) {
  .navbar li a {
    padding: 8px 20px;
  }
}

@media (max-width: 575px) {
  .logo-header {
    width: 150px;
    height: auto;
  }
  
  .logo-header img {
    max-height: 70px;
  }
}

/* ========================================
   Hero/Banner Styles
   ======================================== */
.banner-three {
  min-height: 860px;
  height: auto;
  padding-bottom: 180px;
  position: relative;
  background-position: bottom, top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.banner-three:after {
  background-image: url(../images/background/slider.webp);
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  left: 0;
  background-repeat: no-repeat;
  background-position: bottom;
  z-index: 0;
  background-size: cover;
}

.banner-inner {
  z-index: 99;
  position: relative;
  padding-top: 100px;
}

.banner-content {
  padding: 40px 0;
}

.banner-content h1, .banner-content h2, .banner-content h3, .banner-content h4, .banner-content h5, .banner-content h6 {
    color: var(--white);
    font-weight: 700;
}

.hero-row {
  justify-content: space-between;
  gap: 40px;
}

.banner-three .banner-content {
  max-width: 560px;
  padding-right: 40px;
}

.banner-three .banner-content .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}

.banner-three .banner-content .sub-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.65;
}

.banner-three .banner-content h1 {
  font-size: 3.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.banner-three .banner-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 42px;
  max-width: 55ch;
}

.downloadbtns.hero-downloads {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(26, 15, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-wrap: nowrap;
  max-width: 100%;
}

.downloadbtns.hero-downloads .store-badges {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.downloadbtns.hero-downloads .downloadbtn {
  display: flex;
  flex: 0 0 auto;
}

.downloadbtns.hero-downloads .downloadbtn img {
  height: 52px;
}


.downloadbtns.hero-downloads .hero-qr {
  position: relative;
  padding: 0 12px 0 24px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.downloadbtns.hero-downloads .hero-qr::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 1px;
}

.downloadbtns.hero-downloads .hero-qr img {
  height: 84px;
  width: auto;
  margin-left: 12px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.sub-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bgl-primary {
  background-color: rgba(255, 134, 88, 0.1);
  padding: 5px 15px;
  border-radius: 5px;
  display: inline-block;
}

.dz-media {
  position: relative;
}

.dz-media img {
  max-width: 100%;
  height: auto;
}

.move-1 {
  animation: moveUpDown 3s ease-in-out infinite;
}

@keyframes moveUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ========================================
   Download Buttons
   ======================================== */
.downloadbtns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
}



.downloadbtn img {
  transition: transform 0.3s ease;
}

.downloadbtn:hover img {
  transform: scale(1.1);
}

.downloadqrcode img {
  height: 80px;
  width: auto;
}

/* ========================================
   Partners/Clients Carousel
   ======================================== */
.content-inner-2 {
  padding: 40px 0;
}

.clients-carousel {
  padding: 20px 0;
}

.clients-logo {
  display: block;
  text-align: center;
  position: relative;
  padding: 20px;
}

.clients-logo img {
  max-width: 150px;
  height: auto;
  transition: opacity 0.3s ease;
}

.clients-logo .logo-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.clients-logo:hover .logo-main {
  opacity: 0;
}

.clients-logo:hover .logo-hover {
  opacity: 1;
}

/* ========================================
   Content Sections
   ======================================== */
.content-inner {
  padding: 60px 0;
}

.section-head {
  margin-bottom: 40px;
}

.section-head.style-3 .title {
  margin-bottom: 15px;
}

.dlab-separator {
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
}

.dlab-separator.style-2 {
  border-radius: 3px;
}

.section-full {
  padding: 60px 0;
}

/* ========================================
   Blog/Adventure Cards
   ======================================== */
/* Cards Grid Container */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}

/* Themes Overview */
.themes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  justify-content: center;
}

.theme-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

/* Theme cards with 1 story: min-width to fit 1 card */
.theme-card:has(.cards-grid > .dlab-blog:only-child) {
  flex-basis: calc(300px + 56px + 60px); /* card width + padding + extra */
  max-width: calc(300px + 56px + 60px);
}

/* Theme cards with 2 stories: min-width to fit 2 cards side by side */
.theme-card:has(.cards-grid > .dlab-blog:nth-child(2):last-child) {
  flex-basis: calc(600px + 56px + 90px); /* 2 cards + gap + padding + extra */
  max-width: calc(600px + 56px + 90px);
}

/* Theme cards with 3+ stories: full width */
.theme-card:has(.cards-grid > .dlab-blog:nth-child(3)) {
  flex-basis: 100%;
  max-width: 100%;
}

.theme-card .section-head {
  margin-bottom: 24px;
  text-align: center;
}

.theme-card .section-head .dlab-separator {
  margin: 12px auto 0;
}

.theme-card .cards-grid {
  margin-top: 12px;
}

.theme-card--wide {
  flex-basis: 100%;
  max-width: 100%;
}

@media (max-width: 1199px) {
  .cards-grid {
    gap: 25px;
  }
}

@media (max-width: 991px) {
  .theme-card {
    padding: 30px 24px;
  }

  .themes-grid {
    gap: 35px;
  }
  
  /* On tablets, force all theme cards to full width */
  .theme-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .cards-grid {
    gap: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .theme-card {
    padding: 28px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    flex-basis: 100%;
    max-width: 100%;
  }

  .themes-grid {
    gap: 30px;
    flex-direction: column;
  }
  
  /* On mobile, cards can be smaller and centered */
  .dlab-blog {
    width: min(100%, 300px);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Individual Card */
.dlab-blog {
  margin-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  width: min(100%, 300px);
  max-width: 300px;
  flex-shrink: 0;
}

.dlab-blog:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  text-decoration: none;
}

.dlab-blog:hover .dlab-title {
  text-decoration: none;
}

.dlab-blog .dlab-media {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.dlab-blog .dlab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dlab-blog:hover .dlab-media img {
  transform: scale(1.05);
}

.dlab-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dlab-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--dark);
  font-weight: 600;
}

.dlab-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
  color: var(--gray);
}

.dlab-meta {
  margin-top: auto;
}

.dlab-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.dlab-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
}

.dlab-meta svg {
  width: 15px;
  height: 15px;
  fill: var(--primary);
  flex-shrink: 0;
}

.dlab-meta i {
  color: var(--primary);
  font-size: 15px;
}

/* ========================================
   Funktionsweise (How it Works)
   ======================================== */
.about-wraper-1 {
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
}

.list-count {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: count;
}

.list-count li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.list-count li svg {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.list-count.primary li::before {
  counter-increment: count;
  content: counter(count);
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
}

/* ========================================
   Footer Styles
   ======================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding-top: 80px;
  position: relative;
}

.site-footer.style-2 {
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: auto !important;
  background-color: #161135;
  background-size: contain;
  padding-top: 0;
}

.site-footer.style-2:before {
  content: "";
  background-image: url(../images/background/pattern2.webp);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.dlab-subscribe {
  background: var(--gradient);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 50px;
  position: relative;
  margin-top: -120px;
  z-index: 10;
}

.dlab-subscribe.style-1 {
  padding: 45px 50px;
  background-color: #fff;
  z-index: 99;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0px 10px 4px rgba(31, 66, 135, 0.1);
  background-image: url(../images/background/pattern3.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 50px;
  margin-top: -50px;
  margin-bottom: 80px;
}

.dlab-subscribe .title {
  color: var(--white);
  margin: 0;
}

.dlab-subscribe.style-1 .title {
  color: var(--dark);
}

.footer-top {
  padding: 40px 0 30px;
  position: relative;
  z-index: 1;
}

.site-footer.style-2 .footer-top {
  background: transparent;
  padding-top: 240px;
}

.site-footer.style-2 .container + .footer-top {
  padding-top: 50px;
}

/* Footer Main Row */
.footer-main-row {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
}

/* Footer Contact Wrapper - Horizontal Layout */
.footer-contact-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item i {
  height: 36px;
  width: 36px;
  min-width: 36px;
  line-height: 36px;
  text-align: center;
  background-color: var(--primary);
  display: block;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item i.gradient {
  background: var(--gradient);
}

.contact-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--white);
}

/* Footer Legal Links - Below Address */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding-left: 0; /* Align at left edge of icons */
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 400;
}

.footer-legal-links a:hover {
  color: var(--white);
}

.footer-legal-links .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
}

/* Trademark Section */
.footer-trademark-row {
  margin-bottom: 30px;
  padding: 20px 0;
}

.footer-trademark {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.trademark-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Partner Logo Section */
.footer-partner-row {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-partner-content {
  text-align: center;
}

.partner-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.partner-logo-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.partner-logo-link:hover {
  transform: scale(1.05);
}

.partner-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.partner-logo-link:hover .partner-logo {
  opacity: 1;
}

@media (max-width: 1199px) {
  .site-footer.style-2 .footer-top {
    padding-top: 200px;
  }
}

@media (max-width: 991px) {
  .site-footer.style-2 .footer-top {
    padding-top: 180px;
  }
  
  .footer-main-row {
    margin-bottom: 20px;
    padding-bottom: 20px;
    justify-content: center;
  }
  
  .footer-contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .footer-logo {
    text-align: center;
  }
  
  .footer-contact-info {
    align-items: flex-start;
  }
  
  .partner-logo {
    max-width: 240px;
  }
}

@media (max-width: 767px) {
  .site-footer.style-2 .footer-top {
    padding-top: 140px;
  }
  
  .footer-top {
    padding: 30px 0 20px;
  }
  
  .footer-main-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    justify-content: center;
  }
  
  .footer-contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .footer-logo {
    text-align: center;
  }
  
  .footer-contact-info {
    align-items: flex-start;
  }
  
  .contact-item {
    justify-content: flex-start;
  }
  
  .footer-legal-links {
    margin-top: 12px;
    padding-left: 0;
    gap: 10px;
    justify-content: flex-start;
  }
  
  .footer-legal-links a {
    font-size: 14px;
  }
  
  .footer-legal-links .separator {
    font-size: 14px;
  }
  
  .footer-trademark-row {
    padding: 15px 0;
    margin-bottom: 20px;
  }
  
  .trademark-text {
    font-size: 11px;
  }
  
  .footer-partner-row {
    padding: 20px 0;
  }
  
  .partner-logo {
    max-width: 200px;
  }
  
  .partner-label {
    font-size: 12px;
  }
  
  .contact-item span {
    font-size: 13px;
  }
  
  .contact-item i {
    height: 32px;
    width: 32px;
    min-width: 32px;
    line-height: 32px;
    font-size: 14px;
  }
  
  .footer-logo img {
    max-width: 150px;
  }
}

.widget {
  margin-bottom: 20px;
}

.widget .footer-title {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  margin-bottom: 8px;
}

.widget ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.widget ul li a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 180px;
}

footer .footer-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 8px;
  margin-bottom: 15px;
  position: relative;
  color: #fff;
  line-height: 1.2;
}

footer .footer-title:before,
footer .footer-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 20px;
  background-color: #fff;
}

footer .footer-title:before {
  width: 12px;
}

footer .footer-title:after {
  width: 35px;
  left: 16px;
}

footer .widget_about p {
  margin-bottom: 20px;
  line-height: 24px;
}

.footer-bottom {
  background-color: var(--footer-bottom-bg);
  padding: 20px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-footer.style-2 .footer-bottom {
  background-color: #221a58;
  padding: 15px 0;
}

.copyright-text {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroltop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.3s ease;
  display: none;
}

.scroltop.show {
  display: inline-block;
}

.scroltop:hover {
  transform: translateY(-5px);
}

.scroltop i {
  font-size: 18px;
}

/* ========================================
   Error Page
   ======================================== */
.error-page {
  padding: 80px 0;
  text-align: center;
}

.dlab_error {
  font-size: 120px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 30px;
}

.error-head {
  font-size: 36px;
  margin-bottom: 20px;
}

/* ========================================
   Banner for Legal Pages
   ======================================== */
.dlab-bnr-inr {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.dlab-bnr-inr.overlay-primary-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ff8658;
  opacity: 0.8;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gradient-sec);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-corner {
  border-radius: 0;
}

.radius-no {
  border-radius: 0;
}

/* ========================================
   Anchor Tags for Navigation
   ======================================== */
.anchortag {
  width: 0;
  height: 0;
  position: relative;
  top: -80px;
}

/* ========================================
   Page Wrapper
   ======================================== */
.page-wraper {
  overflow-x: hidden;
}

.page-content {
  min-height: 400px;
}

/* ========================================
   Responsive Utilities
   ======================================== */
@media (max-width: 1150px) {
  .downloadbtns.hero-downloads {
    gap: 14px;
    padding: 14px 18px;
  }
  
  .downloadbtns.hero-downloads .store-badges {
    gap: 10px;
  }
  
  .downloadbtns.hero-downloads .downloadbtn img {
    height: 48px;
  }
  
  .downloadbtns.hero-downloads .hero-qr {
    padding: 0 10px 0 20px;
  }
  
  .downloadbtns.hero-downloads .hero-qr img {
    height: 72px;
    margin-left: 10px;
  }
}

@media (max-width: 991px) {
  .m-b30 {
    margin-bottom: 20px;
  }
  
  .banner-three {
    min-height: 720px;
    padding-bottom: 150px;
  }
  
  .banner-inner {
    padding-top: 140px;
  }
  
  .hero-row {
    justify-content: center;
  }
  
  .banner-three .banner-content {
    max-width: 600px;
    padding-right: 0;
  }
  
  .banner-three .banner-content h1 {
    font-size: 2.7rem;
  }
  
  .banner-three .banner-content p {
    font-size: 1rem;
    margin-bottom: 36px;
  }
  
  .downloadbtns.hero-downloads {
    gap: 24px;
    padding: 16px 20px;
  }
  
  .downloadbtns.hero-downloads .store-badges {
    gap: 14px;
  }
  
  .downloadbtns.hero-downloads .hero-qr {
    display: none;
  }
  
  .banner-three .dz-media img {
    max-width: 300px;
    transform: rotate(-5deg);
  }
  
  .content-inner,
  .section-full {
    padding: 50px 0;
  }
  
  .section-head {
    margin-bottom: 35px;
  }
}

@media (max-width: 1199px) {
  .dlab-subscribe {
    padding: 35px;
  }
  
  .dlab-subscribe.style-1 {
    margin: 0;
    padding: 40px;
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .banner-three {
    min-height: auto;
    padding-bottom: 100px;
  }
  
  .banner-inner {
    padding-top: 120px;
  }
  
  .banner-content {
    text-align: center;
  }
  
  .banner-three .banner-content {
    padding-right: 0;
  }
  
  .banner-three .banner-content h1 {
    font-size: 2.3rem;
    margin-bottom: 22px;
  }
  
  .banner-three .banner-content p {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  
  .banner-content .downloadbtns {
    justify-content: center;
  }
  
  .hero-row {
    gap: 24px;
  }
  
  .hero-downloads {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }
  
  .hero-downloads .store-badges {
    flex-direction: column;
    gap: 14px;
  }
  
  .hero-qr {
    padding-left: 0;
  }
  
  .hero-qr::before {
    display: none;
  }
  
  .hero-qr img {
    height: 88px;
  }
  
  .banner-three .dz-media {
    margin-top: 0;
  }
  
  .banner-three .dz-media img {
    max-width: 260px;
    transform: rotate(-4deg);
  }
  
  .content-inner,
  .section-full {
    padding: 40px 0;
  }
  
  /* Reduce spacing between breadcrumbs and content on adventure pages */
  .content-inner[style*="padding-top: 30px"] {
    padding-top: 15px !important;
  }
  
  .section-head {
    margin-bottom: 30px;
  }
  
  /* Center "Das könnte dir auch gefallen" cards on mobile */
  .content-inner .row,
  .section-full .row {
    justify-content: center;
  }
  
  .dlab-subscribe {
    padding: 35px 25px;
    margin-top: -80px;
  }
  
  .dlab-subscribe .title {
    font-size: 28px;
  }
  
  .dlab-subscribe.style-1 {
    margin-bottom: 50px;
  }
  
  .dlab-subscribe.style-1 .title {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .banner-three {
    min-height: auto;
    padding-bottom: 80px;
  }
  
  .banner-three .banner-content {
    margin-bottom: 50px;
  }
  
  .banner-inner {
    padding-top: 110px;
  }
  
  .hero-downloads {
    padding: 18px;
  }
  
  .hero-downloads .downloadbtn img {
    height: 50px;
  }
  
  .hero-qr img {
    height: 80px;
  }
  
  .banner-three .dz-media img {
    max-width: 220px;
  }
  
  .dlab-subscribe {
    padding: 30px 20px;
  }
  
  .dlab-subscribe .title {
    font-size: 24px;
  }
  
  .dlab-subscribe.style-1 {
    padding: 30px 20px;
    margin-bottom: 40px;
  }
  
  .dlab-subscribe.style-1 .title {
    font-size: 26px;
  }
}

/* ========================================
   WOW.js Animation Classes
   ======================================== */
.wow {
  visibility: hidden;
}

/* Animation handling delegated to animate.css and WOW.js */

/* ========================================
   Native Carousel
   ======================================== */
.clients-carousel {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll 20s linear infinite;
  width: fit-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  flex: 0 0 auto;
  min-width: 200px;
}

.clients-logo {
  display: block;
  position: relative;
  padding: 10px;
  text-align: center;
}

.clients-logo img {
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
  display: block;
  margin: 0 auto;
}

.clients-logo .logo-main {
  opacity: 1;
}

.clients-logo .logo-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.clients-logo:hover .logo-main {
  opacity: 0;
}

.clients-logo:hover .logo-hover {
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .carousel-track {
    gap: 30px;
  }
  
  .carousel-item {
    min-width: 150px;
  }
}

.banner-three .dz-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px 0;
}

.banner-three .dz-media::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px -40px;
  height: 240px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.6;
  filter: blur(0.5px);
  z-index: 0;
}

.banner-three .dz-media img {
  width: 100%;
  max-width: 340px;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(19, 10, 0, 0.32));
  transform: rotate(-6deg);
}

@media (max-width: 1199px) {
  .banner-three .dz-media img {
    max-width: 340px;
  }
}

@media (max-width: 991px) {
  .banner-three .dz-media {
    margin-top: 40px;
  }

  .banner-three .dz-media img {
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  .banner-three .dz-media {
    margin-top: 30px;
  }

  .banner-three .dz-media img {
    max-width: 240px;
  }
}

/* ========================================
   Adventure Badges & Labels
   ======================================== */
/* Adventure Gallery Main Image Container */
.adventure-gallery .main-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* Theme Logo Overlay - Bottom Left */
.theme-logo-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  height: min(30%, 80px);
  max-height: 80px;
  width: auto;
  max-width: 80px;
  aspect-ratio: 1 / 1;
  z-index: 2;
  object-fit: contain;
  object-position: center;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .theme-logo-overlay {
    padding: 0;
    left: 8px;
    bottom: 8px;
    height: min(30%, 60px);
    max-height: 60px;
    max-width: 60px;
  }
  
  /* Ensure parent container properly contains the logo */
  .adventure-gallery .main-image {
    overflow: hidden;
  }
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: transparent;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding: 0 8px;
  content: "›";
  font-size: 16px;
  color: #6c757d;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
  font-weight: 500;
}

/* Breadcrumb container styling - Override banner height */
.dlab-bnr-inr {
  background-color: #f8f9fa;
  padding: 12px 0 !important;
  border-bottom: 1px solid #e9ecef;
  height: auto !important;
  min-height: auto !important;
}

/* List styling for adventure pages */
.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  max-width: 600px;
}

.list-check li {
  padding: 8px 0 8px 35px;
  position: relative;
  line-height: 1.6;
}

.list-check li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 18px;
  color: var(--primary);
}

.list-check.primary li:before {
  color: var(--primary);
}

/* Badge positioned on top-right of card image */
.adventure-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.adventure-badge.badge-premium {
  background-color: #ffd700;
  color: #1a1a1a;
}

.adventure-badge.badge-free {
  background-color: #4caf50;
  color: var(--white);
}

/* Footer text in card */
.adventure-trial-info {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.adventure-trial-info::before {
  content: "✓";
  font-weight: 700;
  font-size: 14px;
}

/* NEW Banner - Diagonal Ribbon */
.new-banner {
  position: absolute;
  width: 160px;
  top: 22px;
  left: -45px;
  background: linear-gradient(135deg, #dc143c 0%, #b8001f 100%);
  color: var(--white);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(-45deg);
  z-index: 3;
  box-shadow: 0 4px 10px rgba(220, 20, 60, 0.4);
  text-align: center;
}

/* Ensure parent has overflow hidden and position relative */
.dlab-blog .dlab-media {
  overflow: hidden;
  position: relative;
}

@media (max-width: 767px) {
  .adventure-badge {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .new-banner {
    width: 140px;
    top: 18px;
    left: -43px;
    padding: 6px 0;
    font-size: 11px;
  }

  .adventure-trial-info {
    font-size: 12px;
  }
}

/* ========================================
   Dropdown Menu Navigation
   ======================================== */
.nav-item {
  position: relative;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown > a::after {
  content: "▼";
  font-size: 0.7em;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-item.has-dropdown.open > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 280px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 8px 0;
  margin-top: 0;
  z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu-category {
  padding: 10px 20px 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 1.4;
  text-transform: none !important;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: var(--primary);
  text-decoration: none;
  padding-left: 25px;
}

.dropdown-divider {
  height: 1px;
  background-color: #e9ecef;
  margin: 8px 0;
}

/* Desktop Navigation - Dropdown */
@media (min-width: 992px) {
  .navbar .nav-item {
    position: relative;
  }
  
  .navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
  }
}

/* Mobile Navigation - Dropdown becomes accordion */
@media (max-width: 991px) {
  .header-nav__inner .nav-item.has-dropdown {
    flex-direction: column;
    width: 100%;
  }
  
  .header-nav__inner .nav-item.has-dropdown > a {
    cursor: pointer;
    width: 100%;
  }
  
  .header-nav__inner .dropdown-menu {
    position: static !important;
    box-shadow: none;
    background: #f8f9fa;
    margin: 8px 0 12px 0;
    border-radius: 6px;
    display: block;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 0;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  
  .header-nav__inner .dropdown-menu a {
    padding: 10px 16px;
    font-size: 14px;
    white-space: normal;
    word-wrap: break-word;
    display: block;
  }
  
  .header-nav__inner .dropdown-menu a:hover {
    padding-left: 20px;
  }
  
  .header-nav__inner .dropdown-menu-category {
    padding: 10px 16px 5px 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .header-nav__inner .dropdown-menu a {
    padding: 10px 16px;
    text-align: left;
  }
  
  .header-nav__inner .dropdown-divider {
    margin: 6px 0;
  }
}

