/* =========================================
   BASIS
========================================= */
html,
body {
    margin: 0;
    padding: 0;
}

.transition {
    transition: all 0.3s ease;
}

.transition-2 {
    transition: all 0.6s ease;
}


/* =========================================
   MENU LAYOUT
========================================= */
.menu-layout {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


/* =========================================
   MENU LEFT
========================================= */
.menu-left {
    position: relative;
    width: 35%;
    padding: 0;
    overflow: visible;
}


/* =========================================
   MENU LEFT BACKGROUND
========================================= */
.menu-left-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.menu-left-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition:
        opacity 0.6s ease,
        transform 0.8s ease;
}

.menu-left-bg-img.menu-img-visible {
    opacity: 1;
    transform: scale(1);
}

.menu-left-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.45)
        );
}


/* =========================================
   MENU IMAGES
========================================= */
.menu-img-a-con {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.menu-img-a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.menu-img-a picture,
.menu-img-a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-img-a.menu-img-visible {
    opacity: 1 !important;
    transform: none;
}

.menu-img-a-grad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.05) 100%
        );
}


/* =========================================
   NAVIGATION LAYER
========================================= */
.navigation {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    background-color: #111;
    z-index: 993;
}

.header-open .navigation {
    opacity: 1;
    pointer-events: all;
}


/* =========================================
   MENU CONTAINER
========================================= */

#menu-container {
    position: relative;
    z-index: 10;
}

.menu {
    position: absolute;
    top: 14rem;
    left: 3rem;
    display: block;
    box-sizing: border-box;
    text-align: left;
    background: transparent;
    z-index: 994;
}


/* =========================================
   MENU LISTEN
========================================= */
.menu-list,
.menu-submenu {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================
   HAUPTMENÜ LINKS
========================================= */
.menu-list .menu-link {
    position: relative;
    display: block;
    box-sizing: border-box;
    margin-left: 2rem;
    padding: 0.75rem 0.5rem;

    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;

    color: #fff;

    font-family: "Tenor Sans", sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}


.menu-list .menu-link {
    position: relative;
    display: block;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    margin-left: 2rem;
}


/* =========================================
   MENU FADE IN
========================================= 
.menu a {
    opacity: 0;
    transform: translateY(20%);
    transition: all 0.3s ease;
}

.header-open .menu a {
    opacity: 1;
    transform: translateY(0);
}

.header-open #menu-1 { transition-delay: 0s; }
.header-open #menu-2 { transition-delay: 0.1s; }
.header-open #menu-3 { transition-delay: 0.2s; }
.header-open #menu-4 { transition-delay: 0.3s; }
.header-open #menu-5 { transition-delay: 0.4s; }
.header-open #menu-6 { transition-delay: 0.5s; }
.header-open #menu-7 { transition-delay: 0.6s; }
*/



/* =========================================
   MENU FADE IN
========================================= */
.menu a,
.menu button {
    opacity: 0;
    transform: translateY(20%);
    transition: all 0.3s ease;

    visibility: hidden;
    pointer-events: none;
}

.header-open .menu a,
.header-open .menu button {
    opacity: 1;
    transform: translateY(0);

    visibility: visible;
    pointer-events: auto;
}

.header-open #menu-1 { transition-delay: 0s; }
.header-open #menu-2 { transition-delay: 0.1s; }
.header-open #menu-3 { transition-delay: 0.2s; }
.header-open #menu-4 { transition-delay: 0.3s; }
.header-open #menu-5 { transition-delay: 0.4s; }
.header-open #menu-6 { transition-delay: 0.5s; }
.header-open #menu-7 { transition-delay: 0.6s; }







/* =========================================
   ACCORDION
========================================= */
.menu-list .accordion-toggle {
    position: relative;
}

.menu-list .accordion-content {
    display: none;
}

/* geöffnet */
.menu-list .accordion-toggle.open > .accordion-content {
    display: block;
}


/* =========================================
   AKTIVER MENÜPUNKT
========================================= */
.menu-list .open > .menu-link {
    color: #978e84;
}
/* Direkter Hauptlink – aktiven Zustand merken */
.menu-list .menu-direct > .menu-link.loadImg {
    color: #978e84;
}

/* Direkter Hauptlink auf aktuell aktive Seite */
.menu-list .menu-direct > .menu-link.active {
    color: #978e84;
}

/* =========================================
   LINIE UNTER HAUPTMENÜPUNKT
========================================= */
.menu-list .menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #978e84;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Bild aktiv */
.menu-list .menu-link.loadImg::after {
    transform: scaleX(1);
}

/* Direkter Hauptlink ohne Untermenü: keine Linie */
.menu-list .menu-direct > .menu-link::after,
.menu-list .menu-direct > .menu-link.loadImg::after {
    transform: scaleX(0) !important;
}


/* aktiver Accordion-Menüpunkt */
.menu-list
li.accordion-toggle.active.open
> .menu-link::after {
    transform: scaleX(1);
}


/* =========================================
   SUBMENU
========================================= */
.menu-list .menu-submenu .menu-sublink {
    display: block;
    box-sizing: border-box;
    padding: 0.5rem 1rem;
    color: #fff;
    font-family: "Tenor Sans", sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.25s ease;
}

.menu-list .menu-submenu .menu-sublink:hover,
.menu-list .menu-submenu .menu-sublink:focus {
    xxxcolor: #aa8f7b;	
	color:#008494;
}


/* =========================================
   MENU NOTE / SCHREIBSCHRIFT #aa8f7b
========================================= */
#menu-7 {
    margin-bottom: 50px;
}

.menu-note {
    display: inline-block;
    margin-top: 10px;
    margin-left: 1rem;
    font-family: "Intervensi", cursive;
    font-size: 3.0em;
    letter-spacing: 1px;
    color: #e1ac3b;
    opacity: 0;
    transform: translateY(20px);
    line-height:1.65em;
    transition: all 0.6s ease;
}

.menu-note span {
    display: inline-block;
    background: url("../Images/button-texture.jpg") no-repeat center top;
      
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-open .menu-note {
    opacity: 0.75;
    transform: translateY(0);
    transition-delay: 0.7s;
}


/* =========================================
   MENU BUTTON
========================================= */
.menu_button {
    position: relative;
    display: inline-block;
    padding: 12px;

    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
    vertical-align: middle;
    z-index: 9910;
}

.menu_button-lines {
    position: relative;
    display: block;
    width: 36px;
    height: 20px;
    z-index: 9910;
}

.menu_button-lines span {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.menu_button-lines span:nth-child(1) {
    top: 0;
}

.menu_button-lines span:nth-child(2) {
    top: calc(50% - 1px);

    width: 70%;
}

.menu_button-lines span:nth-child(3) {
    right: 0;
    bottom: 0;
    left: auto;
    width: 100%;
}

/* X bei geöffnetem Menü etwas tiefer */
.header-open .menu_button-lines {
    transform: rotate(90deg);
	xxxtop: 2.5rem;
}

.header-open .menu_button-lines span:nth-child(1) {
    top: 48%;
    width: 100%;
    transform: rotate(45deg);
}

.header-open .menu_button-lines span:nth-child(2) {
    opacity: 0;
}

.header-open .menu_button-lines span:nth-child(3) {
    bottom: 46%;
    width: 100%;
    transform: rotate(-45deg);
}


/* =========================================
   HEADER
========================================= */
.header {
    position: fixed;
    width: 100%;
    height: 75px;    
    z-index: 994;

		transition:
        transform 0.35s ease,
        background-color 0.35s ease;

}

.header-left {    
	position: absolute;   /* vorher fixed */
    top: -0.5rem;
    left: 0.5rem;
    z-index: 994;
}

.header-right {   
	position: absolute;   /* vorher fixed */
    top: 1.5rem;
    right: 0.5rem;
    z-index: 4;
}

.header-logo {    
	position: absolute;   /* vorher fixed */
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.header-logo img {
    display: inline-block;
    width: 200px;
    height: auto;
}



/* Logo-Wechsel beim Scrollen */
.header-logo-light {
    display: inline-block !important;
}

.header-logo-dark {
    display: none !important;
}

.header.header-scrolled .header-logo-light {
    display: none !important;
}

.header.header-scrolled .header-logo-dark {
    display: inline-block !important;
}



/* Header beim Zurückscrollen */
.header.header-scrolled {
    background-color: #fff;	
    box-shadow: 0px 3px 6px rgba(0,0,0,.16);
}

.header.header-hidden {
    transform: translateY(-120px);
}


/* Hamburger schwarz */
.header.header-scrolled .menu_button-lines span {
    background-color: #000;
}


.header.header-open .menu_button-lines span {
    background-color: #fff;	
}

/* Anfrage schwarz */
.header.header-scrolled .btn-header {
    color: #000;
}




/* =========================================
   BUTTON HEADER
========================================= */
.btn-header {
    display: none;
    font-family: "Tenor Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #fff;
    text-transform: uppercase;
}

.btn-header:hover {
    color: #e1ac3b;
}



/* =========================================
   SPRACHBUTTON
========================================= */
.navigation-button-lang a {
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
    padding: 10px;
    color: #e1ac3b;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
}


/* =========================================
   SUBLINK PADDING BIS 1200px
========================================= */
@media (max-width: 1200px) {
    .menu-list .menu-submenu .menu-sublink {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}



@media (max-width: 767px) {
    .menu-note {
        overflow: visible;
        font-size: 2.8em;
    }

    .menu-note-second {
        display: block;
        margin-left: 55px;        
    }
}


/* =========================================
   MOBILE / TABLET   bis 991px
========================================= */
@media (max-width: 991px) {
    .menu-left {
        width: 100%;
        padding: 0;
        overflow: visible;
    }

    .menu {
        top: 7rem;
        left: 0;
        width: 100%;
        padding-right: 1.5rem;
    }

    .menu-list .menu-link {
        margin-left: 2rem;
        font-size: 25px;
        font-weight: 400;
    }

    .menu-list .accordion-content {
        position: static !important;
        width: auto;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 1rem;
        margin-left: 2rem;
    }

    .menu-list .menu-submenu .menu-sublink {
        padding: 0.45rem 0.75rem;
        font-size: 22px;
    }

    .header-left {
        top: 1.0rem;
        left: 1.5rem;
    }

    .header-logo {
        top: 8px;
    }
}



/* =========================================
   AB 576px
========================================= */
@media (min-width: 576px) {

    .btn-header {
        display: inline-block;
    }

    .header-right {
        right: 0.95rem;
    }

    .navigation-button-lang {
        display: none;
    }
}



/* TABLET / SMALL DESKTOP */
@media (min-width: 768px) and (max-width: 1200px) {
.menu-left {
    position: relative;
    width: 55%;
    padding: 0;
    overflow: visible;
  }

   .menu {
     top: 9rem;
	 left: 0;	 
	 padding-left: 3.5rem;
	 width: 100%;
	 padding-right: 1.5rem;
	 
    }
   
   .menu-list .menu-link {
        margin-left: 2rem;
        font-size: 25px;
        font-weight: 400;
    }
	.xxxheader-open .xxxmenu_button-lines {
    top: 1.5rem;
    }
}


/* =========================================
   DESKTOP AB 992px
========================================= */
@media (min-width: 992px) {

    .xxmenu {
        top: 50%;
        left: 0;
        padding-left: 3rem;
        transform: translateY(-50%);
    }

    .xxmenu-list .xxmenu-link {
        padding-right: 6rem;
        font-size: 30px;
        font-weight: 400;
        letter-spacing: 2px;
    }


    /* Untermenü rechts vom Hauptpunkt */
    .menu-list .accordion-content {
        position: absolute !important;
        top: 10px;
        left: 100%;
        width: 600px;
        margin-top: -1.5rem;
        margin-left: 4rem;
    }

	#menu-7 > .accordion-content {
		top: auto;
		bottom: -40px;
		margin-top: 0;
	}


    .menu-list .menu-submenu .menu-sublink {
        font-size: 23px;
    }


    /* Header Desktop */
    .header {
        height: 0;
        background-color: transparent;
    }

    .header.header-scrolled {
        height: 75px;
        background-color: #fff;
    }

    .header.header-scrolled .header-left,
    .header.header-scrolled .header-right,
    .header.header-scrolled .header-logo {
        top: 50%;
        transform: translateY(-50%);
    }

    .header.header-scrolled .header-logo {
        left: 50%;
        transform: translate(-50%, -50%);
        padding-top: 0;
    }

    .header.header-scrolled .header-logo img {
        width: 180px;
    }

    .header-left {
        top: 4rem;
        left: 6rem;
    }

    .header-right {
        top: 4rem;
        right: 6rem;
    }

    .header-logo {
        top: 20px;
        padding-top: 1rem;
    }

    .header-logo img {
        width: 220px;
    }   
}


/* =========================================
   TABLET 
========================================= */
@media (min-width: 992px) and (max-width: 1024px) {
    .menu {
      padding-left: 3rem;  		
    }

   .menu-note {
        overflow: visible;
        font-size: 2.8em;
    }

}

/* =========================================
   AB 1050px
========================================= */

@media (min-width: 1050px) {
    .header-logo img {
        width: 250px;
    }   
}





