:root {
    --primary-color: #006ce4;
    --background-color: #ffffff;
    --text-color: #333;
    --border-color: #3d3c3c;
    --hover-color: #f5f5f5;
}
/* Global smooth scrolling */
html {
    scroll-behavior: smooth;
}
	
	body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    scroll-behavior: smooth;
}

/* Navbar Hauptcontainer */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 400px 400px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: transparent;
}

.navbar-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
	align-items: center;
}

.navbar-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.navbar-link:hover {
    color: #4a90e2;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 10001;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

/* Burger-Menü ausblenden wenn Navigation offen ist */
.mobile-nav-overlay.active ~ .navbar .mobile-menu-toggle,
body:has(.mobile-nav-overlay.active) .mobile-menu-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: white;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
    transform-origin: center;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Close Button */
.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    z-index: 10001;
}

.mobile-nav-close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-content {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 400px;
    padding: 0 2rem;
}

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

.mobile-nav-item {
    margin: 2rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.mobile-nav-overlay.active .mobile-nav-item {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-overlay.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
/* Ensure later items (e.g. Booking) also receive a staggered transition delay */
.mobile-nav-overlay.active .mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }
/* Extra safety for future items */
.mobile-nav-overlay.active .mobile-nav-item:nth-child(5) { transition-delay: 0.5s; }
/* Ensure later items (e.g. Mein Konto, Logout) also receive staggered delays */
.mobile-nav-overlay.active .mobile-nav-item:nth-child(6) { transition-delay: 0.6s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(7) { transition-delay: 0.7s; }
/* Target logout specifically (in case the item index changes) */
.mobile-nav-overlay.active .mobile-nav-item.logout-item { transition-delay: 0.6s; }

.mobile-nav-link {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 1rem 0;
    position: relative;
    outline: none; /* Entfernt die Box bei Fokus */
    border: none; /* Entfernt alle Ränder */
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-link:hover::after {
    width: 80px;
}

/* Focus-Zustand ohne Unterstreichung für bessere UX */
.mobile-nav-link:focus::after {
    width: 0; /* Keine Unterstreichung bei automatischem Focus */
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: rgba(255, 255, 255, 0.8);
    outline: none; /* Entfernt Fokus-Outline */
    box-shadow: none; /* Entfernt alle Schatten */
}

/* Scroll-to-top Button */
#scrollButton {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 16px;
    background: #0078ff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollButton.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scroll button arrow (unanimated) */
.scroll-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.scroll-arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(-45deg);
    margin-top: 4px;
}

/* Responsive Styles für Mobile */
@media (max-width: 768px) {
    .navbar-menu {
        display: none; /* Desktop Navigation verstecken auf Mobile */
    }
    
    /* Hide specific desktop-only elements on mobile (e.g., top language button) */
    .hide-on-mobile { display: none !important; }

    .mobile-menu-toggle {
        display: flex;
        position: relative;
        right: 0;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 70px;
    }
    
    .navbar-container {
        padding: 0.6rem 3rem;
        gap: 0.1rem; 
        justify-content: space-between;
    }
    
    .mobile-nav-close {
        top: 1.5rem;
        right: 1rem;
        font-size: 2rem;
    }
}

/* Language selector button (top-left) */
.lang-btn {
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    cursor: pointer;
}
.lang-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.lang-btn .lang-label{
    font-weight: 600;
    color: var(--text-color);
}

/* Modal backdrop and card */
.lang-modal{ 
    position: fixed;
    inset: 0;
    /* keep in DOM for transitions; control visibility via opacity/visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure modal sits above the mobile overlay (z-index:10000) */
    z-index: 10050;
    margin-top: 450px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 240ms ease, visibility 240ms ease;
    /* prevent blocking pointer events when hidden */
    pointer-events: none;
}
.lang-modal.show{
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.lang-modal-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 240ms ease;
}
.lang-modal.show .lang-modal-backdrop{ opacity: 1; }
.lang-modal-card{
    position: relative;
    width: 720px;
    max-width: 96%;
    background: var(--background-color);
    border-radius: 8px;
    padding: 18px 20px 22px 20px;
    max-height: 78vh;
    overflow: auto;
    /* keep card above modal backdrop but within modal stacking context */
    z-index: 10051;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    transform: translateY(12px) scale(.98);
    opacity: 0;
    transition: opacity 260ms cubic-bezier(.2,.9,.3,1), transform 260ms cubic-bezier(.2,.9,.3,1);
}
.lang-modal.show .lang-modal-card{
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lang-modal,
    .lang-modal-backdrop,
    .lang-modal-card {
        transition: none !important;
    }
}
.lang-modal-header{
    display:flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.lang-modal-header h3{ margin:0; font-size:18px; font-weight:700 }
.lang-modal-close{
    border: 0;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.lang-modal-close:hover{ background: var(--hover-color) }
.lang-modal-body{ padding-top:12px }

.lang-modal h4{ margin:14px 0 8px; font-size:13px; color:#666 }

/* Grid of languages */
.lang-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 28px;
    align-items: center;
}

.lang-item{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s, transform .08s;
    background: transparent;
    /* no external border to match the left screenshot */
    border: none;
}

.lang-item:hover{ background: var(--hover-color); transform: translateY(-2px) }

/* selected suggestion style: light pill with subtle inset */
.lang-item.selected{
    background: #f2f3f5;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
}

.lang-flag{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 36px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.lang-flag img{ width:100%; height:100%; object-fit:cover }

.lang-name{ font-size:14px; color:var(--text-color); }

/* suggested row uses horizontal layout */

.suggestions .lang-grid{ grid-template-columns: repeat(3, 1fr); }

/* For the "Alle Sprachen" grid: up to 3 items per row */
.all-langs .lang-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 28px;
    align-items: start;
}

/* ensure items span full column width in the all-langs grid */
.all-langs .lang-item{
    width: 100%;
}

@media (max-width:640px){
    .lang-grid{ grid-template-columns: repeat(2, 1fr); }
    .suggestions .lang-grid{ grid-template-columns: repeat(2, 1fr); }
    .lang-modal-card{ width: 100%; padding:12px;  margin: 25px;  }
    .all-langs .lang-grid{ grid-template-columns: repeat(1, 1fr); }
    
}

/* Tablet breakpoint */
@media (max-width:1024px){
    .lang-modal-card{
        width: 86%;
        padding: 16px;
    }
    .lang-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px 18px }
    .suggestions .lang-grid{ grid-template-columns: repeat(3, 1fr) }
    .lang-flag{ width: 36px; height: 36px }
}

/* Mobile small screens */
@media (max-width:480px){
    .lang-modal-card{
        width: 96%;
        padding: 12px;
        border-radius: 6px;
    }
    .lang-grid{ grid-template-columns: 1fr; gap: 10px 12px }
    .suggestions .lang-grid{ grid-template-columns: 1fr }
    .lang-flag{ width: 30px; height: 30px }
    .lang-item{ padding: 8px }
    .lang-btn{ left: 12px; top: 12px; padding: 6px 10px }
}

.VIpgJd-ZVi9od-aZ2wEe-OiiCO-ti6hGc
{
    display: none !important;
}

/* Account Menu Styles */
.account-menu {
    position: relative;
}

.account-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-toggle i {
    font-size: 1.2rem;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.account-menu:hover .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.account-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.account-dropdown a:hover {
    background: var(--hover-color);
    color: var(--primary-color);
}
