/* =========================
   BASE = MOBILE
========================= */

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-block: 20px !important;
    width: 100%;
    box-sizing: border-box !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box !important;
    /* padding-inline: 20px; */
    max-width: none !important;
    margin: 0 20px !important;
}

.page-header .entry-title, .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
    }

/* Logo */

.header-logo img {
    height: 50px;
    width: fit-content;
}

/* Burger sichtbar */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 10px 10px !important;
    background-color: #d4af37 !important;
    box-shadow: none !important;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    display: block;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Navigation = hidden by default */
.header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;

    display: none;
    flex-direction: column;
    padding: 20px;
}

/* Active state */
.header-nav.active {
    display: flex;
     
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);

    z-index: 10;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu items */
.nav-list {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-inner .header-nav .nav-list a {
    text-decoration: none;
    color: #0E0101;
    font-size: 16px !important;
    font-weight: 500;
}

.nav-list a:hover {
    color: #7A0000 !important;
}

/* CTA */
.nav-list .kontakt a {
    background: #7A0000;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    display: inline-block;
    font-weight: 800 !important;
    transition: box-shadow 0.3s ease;
}

.nav-list .kontakt a:hover {
    -webkit-box-shadow: 0px 0px 10px 2px #7A0000; 
box-shadow: 0px 0px 10px 2px #7A0000;
}

/* =========================
   TABLET (ab 767px)
========================= */

@media (min-width: 767px) {

    /* .site-header {
        margin: 0px !important;
    } */

    .header-inner {
        max-width: 1400px;
        padding-inline: 40px;
        margin: 0 !important;
    }

    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 1400px !important;
    }

    /* Burger aus */
    .menu-toggle {
        display: none;
    }

    .header-logo img{
        height: 80px;
    }

    /* Navigation sichtbar */
    .header-nav {
        position: static;
        display: flex !important;
        flex-direction: row;
        padding: 0;
        border: none;
        width: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: 30px;
        align-items: center;
    }

    .nav-list .kontakt a {
        padding: 8px 16px;
    }
}

/* =========================
   DESKTOP (ab 1024px)
========================= */

@media (min-width: 1024px) {

    .site-header {
    padding-block: 30px !important;
    
}
    .header-inner {
    padding-inline: 40px;
    }
    .header-inner .header-nav .nav-list a {
    font-size: 18px !important;
}
    .header-logo img{
        height: 100px;
    }
}

/* =========================
   Breitbild (ab 1400 px)
========================= */

@media (min-width: 1400px) {
    .header-inner {
        margin: 0 auto !important;
        padding-inline: clamp(
            0px,
            calc((1480px - 100vw) * 0.5),
            40px
        );
    }
}

@media (max-width: 575px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        padding-inline-end: 0px !important;
        padding-inline-start: 0px !important;
    }
}