/* --- HERO SEARCH STYLES --- */
.h1-accent-line{
    color: var(--brand-);
    font-size: x-large;
}
.hero-search-wrap {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-color: var(--brand-blue-dark);
    margin: 0;
}

#heroBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

#heroBg.is-loaded {
    opacity: 1;
}

/* Optional: Ein Overlay über das Bild, damit die Schrift lesbar bleibt */
.hero-bg-image::after {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 41, 59, 0.6), rgba(30, 41, 59, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hero-content h1 {
    color: white;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin: 0;
}

/* --- MODERN SEARCH INPUT GROUP 2026 --- */
.search-input-group {
    display: flex;
    align-items: center;
    position: relative;
    background: white;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: var(--transition-standard);
}

.search-input-group:focus-within {
    box-shadow: 0 15px 50px rgba(71, 117, 189, 0.2);
    transform: translateY(-2px);
}

/* Die Lupe links im Feld */
.search-icon-left {
    position: absolute;
    left: 25px;
    font-size: 1.4rem;
    color: var(--brand-orange);
    pointer-events: none;
    z-index: 5;
}

/* Das Eingabefeld */
#tourSearch {
    width: 100%;
    border: 1px solid var(--brand-blue);
    padding: 15px 60px 15px 20px !important; /* Platz für Lupe links und Button rechts */
    font-size: 1.2rem;
    background: transparent;
    margin-bottom: 0 !important;
}

#tourSearch:focus {
    box-shadow: none;
    transform: none;
}

/* Der Button rechts (als Icon-Button) */
.btn-search-trigger {
    position: absolute;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: var(--brand-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border: none;
}

.btn-search-trigger:hover {
    background: var(--brand-orange);
    transform: scale(1.05);
}
.btn-search-trigger:focus-visible {
    border: none;;
}
/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 15px;
    }

    #tourSearch {
        background: white;
        border-radius: 16px;
        padding: 20px 20px 20px 10px !important;
        box-shadow: var(--shadow-sm);
        height: 65px;
    }

    .search-icon-left {
        top: 22px; /* Zentrierung im höheren Mobile-Input */
    }

    .btn-search-trigger {
        position: relative;
        right: 0;
        width: 100%;
        height: 60px;
        border-radius: 16px;
    }
    
    .btn-search-trigger::after {
        content: 'Tour finden'; /* Auf Mobile zeigen wir wieder Text für bessere Klickrate */
        margin-left: 10px;
        font-weight: 700;
        font-size: 1.1rem;
    }
}

/* Die Suchbox */
.main-search-container {
    background: white;
    padding: 15px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgb(208 194 25 / 52%);
    position: relative;
    z-index: 2;
}

/* Das Icon wird fest im Input verankert */
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--brand-orange);
    z-index: 10;
    pointer-events: none; /* Klicks gehen "durch" das Icon in den Input */
}

/* Die Kacheln unter der Suche */
.search-suggestions {
    /* margin-top: 20px; */
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    text-align: left;
}

.suggestion-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.suggest-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-blue-light);
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--brand-blue-dark) !important;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.2s;
}

.suggest-tile:hover {
    background: var(--brand-blue);
    color: white !important;
}

.suggest-tile i {
    font-size: 1.2rem;
}

.link-arrow {
    font-weight: 700;
    text-decoration: none;
    color: var(--brand-orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.link-arrow::after {
    content: "\e933";
    font-family: 'enjoy-nepal';
    font-size: 0.8rem;
}

/* Mobil-Umbruch */
@media (max-width: 768px) {
    .suggestion-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-search-wrap { height: auto; padding: 100px 0; }
}
#tourSearch.active-flash {
    border-color: #d32f2f;
    background-color: #fffdfd;
    transition: all 0.2s;
}


