/* ========================================================================
   Header & Navigation
 ========================================================================== */

.leda-header {
    background: var(--leda-white);
    padding: 0.7rem 0;
    box-shadow: 0 0.2rem 0.2rem #0003;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.leda-logo {
    display: flex;
    align-items: center;
}/*
.leda-logo img {
    height: 50px;
    width: auto;
}
*/
.leda-logo img {
    width: 12.653rem;   /* 202.45px / 16 */
    height: 2.654rem;   /* 42.46px / 16 */
}

.leda-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.leda-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.leda-nav a {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;                     /* 20px (20/16 = 1.25rem) */
    font-weight: 500;                       /* Medium = 500 */
    text-transform: uppercase;
    color: var(--leda-font);
    text-decoration: none;
    transition: color 0.3s;
}

.leda-nav a:hover, .leda-header-actions a.leda-dealer-link:hover, .leda-nav li.uk-active a {
    color: var(--leda-red);
}

.leda-header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.leda-lang {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--leda-font);
}

.leda-dealer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;                     /* 20px (20/16 = 1.25rem) */
    font-weight: 500;                       /* Medium = 500 */
    text-transform: uppercase;
    color: var(--leda-font);
    text-decoration: none;
}

.leda-dealer-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile Navigation Toggle */
.leda-nav-toggle {
    display: none;
}

/* ============================================
   MOBILE: Bis 767px
   ============================================ */
@media (max-width: 767px) {
    .leda-logo img {
        width: 7.5rem;
        height: auto;
    }
    .leda-dealer-link {
        font-size: 1rem;
        font-weight: 400;
    }
}

/* ========================================================================
   Search Overlay Dropdown
   ========================================================================== */

.leda-search-nav-item {
    position: relative;
}

.leda-search-drop {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    width: 300px;
    background: #fff;
    border-top: 3px solid var(--leda-red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    padding: 18px 20px;
    z-index: 1010;
    /* Animationszustand: geschlossen */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.leda-search-drop.is-open {
    margin-top: 9px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.leda-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1.5px solid #ddd;
    padding-bottom: 4px;
    transition: border-color 0.15s;
}

.leda-search-form:focus-within {
    border-color: var(--leda-red);
}

.leda-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: var(--leda-font);
    background: transparent;
    padding: 4px 0;
}

.leda-search-input::placeholder {
    color: #bbb;
    font-style: italic;
}

.leda-search-submit {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 0 4px 6px;
    color: var(--leda-red);
    transition: transform 0.15s ease;
}

.leda-search-submit:hover {
    transform: translateX(3px);
}

/* Lupe-Button aktiv (Drop offen) */
.leda-search-toggle[aria-expanded="true"] {
    color: var(--leda-red) !important;
}