/* General Styles for Navigation */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background-color: #fff; /* White background */
    color: #333; /* Dark grey text */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 100px; /* Increased height by approximately one third */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.logo-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px; /* Adjust the max-width as needed */
}

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

.logo {
    height: 70px; /* Increased logo height */
    margin-right: 1rem;
}

.logo-text {
    height: 50px; /* Increased logo text height */
}

/* Media Query for mobile devices */
@media (max-width: 600px) {
    .logo-text  {
        height: 30px; /* Reduced logo text height */
    }
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 50px;
    color: #333; /* Dark grey text */
}

.menu-toggle-logo {
    display: none;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.desktop-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-menu ul li {
    position: relative;
}

.desktop-menu ul li a {
    color: #333; /* Dark grey text */
    text-decoration: none;
    position: relative;
    padding: 5px 10px;
    transition: color 0.3s;
    font-weight: normal; /* Not bold */
}

.desktop-menu ul li a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FFA500; /* Orange underline */
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.desktop-menu ul li a:hover::before,
.desktop-menu ul li a.active::before {
    visibility: visible;
    width: 100%;
}

.desktop-menu ul li a:hover,
.desktop-menu ul li a:focus,
.desktop-menu ul li a:active,
.desktop-menu ul li a.active {
    color: #007b8a; /* Petrol green color */
}

.desktop-menu ul li.nav-divider {
    width: 1px;
    background-color: #ccc; /* Line color */
    height: 24px;
    margin: 0 1rem; /* Add space around the divider */
}

.desktop-menu ul li:not(:last-child):not(.logo-item)::after {
    content: "|";
    color: #ccc; /* Separator color */
    margin: 0 1rem;
}

.desktop-menu ul li.first-link {
    margin-left: 2rem; /* Add additional space to the first link */
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    position: absolute;
    width: calc(100% - 6rem); /* Ensure it covers full width minus padding */
    top: 100px; /* Adjust based on header height */
    left: 2rem; /* Add padding to the left */
    right: 4rem; /* Add padding to the right */
    background-color: #fff; /* White background */
    z-index: 999;
    padding: 1rem; /* Add padding for better layout */
}

.mobile-menu.open {
    display: block;
}

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

.mobile-menu ul li {
    padding: 10px;
    text-align: center;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #333; /* Dark grey text */
    display: block;
    padding: 10px;
}

/* Ensure mobile logo and menu toggle are aligned */
.mobile-logo-menu {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        padding: 50px; /* Ensure padding for better visibility */
        outline: none; /* Remove blue focus outline */
        -webkit-tap-highlight-color: transparent; /* Remove blue highlight on mobile devices */
    }

    .mobile-logo-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .desktop-menu {
        display: none;
    }

    .logo-item {
        display: none;
    }
}

/* Booking Button im mobilen Menü */
@media (max-width: 768px) {
    .mobile-menu ul li a.mainStyle-button {
        color: white !important;
        background-color: #1d4ed8;
        padding: 8px 16px;
        border-radius: 6px;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 400;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-menu ul li a.mainStyle-button .button-icon {
        margin-right: 8px;
        width: 24px;
        height: 24px;
    }
}

/* Booking Button im Desktop-Menü */
.desktop-menu ul li a.mainStyle-button {
    color: white !important;
    background-color: #1d4ed8;
    padding: 12px 48px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.desktop-menu ul li a.mainStyle-button:hover {
    background-color: #1e40af;
}

.desktop-menu ul li a.mainStyle-button:active {
    background-color: #162b7f;
}

/* CASHBACK ... */
/* === Highlight für den Cashback-Link === */
a.cashback-link.pill {
  position: relative;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 9999px;                /* vollrunde „Pill“ */
  font-weight: 600;
  color: #fff !important;               /* Weißer Text */
  background: linear-gradient(
    120deg,
    #ffb703 0%,  /* helles Gold */
    #ff8500 50%, /* sattes Orange */
    #ffb703 100%
  );
  background-size: 200% 200%;
  transition:
    background-position .6s ease,
    transform            .25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

a.cashback-link.pill:hover,
a.cashback-link.pill:focus {
  background-position: 100% 0;          /* dezentes Farb-„Wischen“ */
  transform: translateY(-2px);          /* leichter Lift */
}

@media (prefers-reduced-motion: no-preference) {
  /* Pulsierender Glow – sehr subtil, nur wenn Motion OK */
  @keyframes cashbackGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(255,133,0,0); }
    50%      { box-shadow: 0 0 8px 3px rgba(255,133,0,.45); }
  }
  a.cashback-link.pill {
    animation: cashbackGlow 3s ease-in-out infinite;
  }
}

/* Mobile → breite Buttons sehen besser aus */
@media (max-width: 768px) {
  .mobile-menu a.cashback-link.pill {
    display: block;
    margin: 6px 0;
  }
}

/*ENDE CASHBACK */