html, body{
	width:100%; 
	height:auto;
	padding:0;
	margin:0;
	font-size: 20px;
	line-height:140%;
	font-weight:300;
	color: #000;
	font-family: 'Roboto', Helvetica, Helvetica Neue, Arial;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
    background-image: url(../images/bg-footer.png);
    background-repeat: no-repeat;
    background-position: right bottom 6%;
    background-size: 45%;   
	}
#page{
	width:100%;
	height:auto;
    padding-bottom: 120px;
    clear: both;
    overflow: hidden;
        max-width: 2560px;
        margin: 0 auto;
	}


/* \\\\\\\\\\\\\\\\\\\\ HEADER ///////////////////// */


div#logo img {
    width: 100%;
    display: block;
}

div#logo {
    width: 240px;
    position: fixed;
    left: 100px;
    z-index: 100;
    background: #fff;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

@media screen and (max-width:1660px){ 
div#logo {
    width: 200px;
}
}

@media screen and (max-width:1340px){ 
    html, body{
	font-size: 18px;
	}
}

@media screen and (max-width:1080px){ 
	
}
@media screen and (max-width:768px){ 
	

}


	
	
/* \\\\\\\\\\\\\\\\\\\\ NAVIGATION ///////////////////// */	

/* =========================================================
   1) DEIN ORIGINAL-CSS — 1:1 unverändert, keine Werte angepasst
   ========================================================= */

ul#menu-hauptmenue {
    position: fixed;
    top: 0;
    width: 960px;
    right: 100px;
    z-index: 100000;
    margin: 0;
    padding: 30px;
    background: #fff;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    text-align: center;
}

ul#menu-hauptmenue li {
    list-style: none;
    padding: 0 40px 0 0;
    margin: 0;
    display: inline-block;
    font-weight:600;
    position: relative;
}

ul#menu-hauptmenue li a:link, ul#menu-hauptmenue li a:visited, ul#menu-hauptmenue li a:active, ul#menu-hauptmenue li a:hover {
    color: #000;
    font-size: 20px;
    font-weight: 500;
}
ul#menu-hauptmenue li:last-child {
    padding: 0;
}

/* Erzeuge das ::before NUR direkt am Haupt-li (nicht an Nachfahren) */
ul#menu-hauptmenue > li::before {
    background-color: #a0ad64;
    content: "";
    display: block;
    height: 37px;
    width: 10px;
    position: absolute;
    top: -140px;
    right: 50%;
    margin-right: 15px;
    border-radius: 15px;
    -webkit-transition: .3s ease-in-out all;
    transition: .3s ease-in-out all;
}

/* Hover & Active Zustand nur auf das direkte Haupt-li anwenden */
ul#menu-hauptmenue > li:hover::before,
ul#menu-hauptmenue > li.current-menu-item::before {
    top: -40px;
}


ul#menu-hauptmenue li.current-menu-item a:link,
ul#menu-hauptmenue li.current-menu-item a:visited,
ul#menu-hauptmenue li.current-menu-item a:active,
ul#menu-hauptmenue li.current-menu-item a:hover {
    color:#264571 !important;
}


/* =========================================================
   2) NEU: Flyout-Untermenü (Desktop)
   WordPress erzeugt bei Menüpunkten mit Kindern automatisch:
   li.menu-item-has-children > ul.sub-menu
   Diese Regeln greifen nur bei vorhandenem Untermenü und
   verändern nichts an bestehenden Menüpunkten ohne Kinder.
   ========================================================= */

/* kleiner Pfeil nur bei Punkten mit Untermenü */
ul#menu-hauptmenue li.menu-item-has-children > a::after {
    content: "▾";
    font-size: 11px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
}

ul#menu-hauptmenue .sub-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    text-align: left;

    /* standardmäßig unsichtbar, damit sich am Grundlayout nichts ändert */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease-in-out, visibility .2s;
}

ul#menu-hauptmenue .sub-menu li {
    display: block;
    padding: 0;
}

ul#menu-hauptmenue .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 16px !important;
    white-space: nowrap;
    color: #000;
}

ul#menu-hauptmenue .sub-menu li:hover > a,
ul#menu-hauptmenue .sub-menu li.current-menu-item > a {
    background: #dbe2c4;
    color: #264571;
}

/* WICHTIG: Bug-Fix für den grünen Balken.
   Die Original-Regel "ul#menu-hauptmenue li ::before" ist ein
   Nachfahren-Selektor (Leerzeichen) und trifft dadurch auch auf
   die a::before der Submenü-Punkte, weil die ebenfalls Nachfahren
   des äußeren li sind. Da :hover an Vorfahren "durchgereicht" wird,
   lösten sich beim Hovern des Hauptpunkts ODER eines Submenü-Punkts
   ALLE Balken gleichzeitig aus und positionierten sich relativ zum
   Dropdown falsch. Hier deaktivieren wir den Balken im Submenü
   komplett (höhere Spezifität gewinnt automatisch gegen die
   Original-Regeln) - danach funktioniert der Hauptpunkt wieder
   exakt wie jeder andere Top-Level-Menüpunkt. */
ul#menu-hauptmenue .sub-menu li a::before,
ul#menu-hauptmenue .sub-menu li::before {
    display: none !important;
    content: none !important;
}



/* Flyout einblenden: per Hover (Desktop) oder per JS-Klasse "is-open" (Touch/Mobil) */
ul#menu-hauptmenue li.menu-item-has-children:hover > .sub-menu,
ul#menu-hauptmenue li.menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Untermenü der 3. Ebene klappt seitlich raus statt darunter */
ul#menu-hauptmenue .sub-menu .sub-menu {
    top: -10px;
    left: 100%;
    transform: translateX(10px);
}


/* =========================================================
   3) NEU: Burger-Button, standardmäßig unsichtbar
   (wird erst per Media Query ab Tablet/Mobil eingeblendet)
   ========================================================= */

.menu-toggle {
    display: none;
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 100001;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: #264571;
    position: relative;
    margin: 0 auto;
    transition: .25s ease-in-out;
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after  { position: absolute; top: 7px; }
.menu-toggle.is-active span { background: transparent; }
.menu-toggle.is-active span::before { transform: rotate(45deg); top: 0; }
.menu-toggle.is-active span::after  { transform: rotate(-45deg); top: 0; }


/* =========================================================
   4) RESPONSIVE — greift erst, wenn das feste 960px-Layout
   (960px Breite + 100px Abstand rechts = braucht min. 1160px)
   nicht mehr passt. Bis dahin exakt wie im Original.
   ========================================================= */


@media screen and (max-width:1660px){ 

   ul#menu-hauptmenue {
    width: 768px;
    right: 60px;
    padding: 23px 10px;
}
ul#menu-hauptmenue li {
    padding: 0 30px 0 0;
}
ul#menu-hauptmenue li a:link, ul#menu-hauptmenue li a:visited, ul#menu-hauptmenue li a:active, ul#menu-hauptmenue li a:hover {

    font-size: 15px;
}
}

@media (max-width: 1160px) {
      ul#menu-hauptmenue {
    width: 500px;
    right: 0px;
    padding: 23px 10px;
}
ul#menu-hauptmenue li {
    padding: 0 10px 0 0;
}
ul#menu-hauptmenue li a:link, ul#menu-hauptmenue li a:visited, ul#menu-hauptmenue li a:active, ul#menu-hauptmenue li a:hover {

    font-size: 12px;
}
    div#logo {
        width: 200px;
        left: 0;
                z-index: 100000;
    }
}


/* Ab hier: Burger-Menü statt Flyout-Leiste */
@media (max-width: 768px) {

    .menu-toggle { display: block; }

    ul#menu-hauptmenue {
        top: 0;
        right: 0;
        width: 100%;
        border-radius: 0 0 15px 15px;
        padding: 70px 20px 20px;
        text-align: left;

        max-height: 100vh;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform .3s ease-in-out, opacity .3s ease-in-out, visibility .3s;
    }
    ul#menu-hauptmenue {
        padding: 100px 30px;
        box-sizing: border-box;
    }
    ul#menu-hauptmenue.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    ul#menu-hauptmenue li {
        display: block;
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #eee;
    }
    ul#menu-hauptmenue li:last-child { border-bottom: none; }

    ul#menu-hauptmenue li a:link,
    ul#menu-hauptmenue li a:visited,
    ul#menu-hauptmenue li a:active,
    ul#menu-hauptmenue li a:hover {
        display: block;
        padding: 14px 4px;
        font-size: 18px;
    }



    /* Den grünen Indikator-Balken mobil für Haupt- und Unterpunkte sicher ausblenden */
    ul#menu-hauptmenue > li::before,
    ul#menu-hauptmenue li::before {
        display: none !important;
        content: none !important;
    }


    /* Untermenüs werden mobil zu ausklappbaren Listen statt Flyout */
    ul#menu-hauptmenue .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        background: #f7f7f2;
        border-radius: 8px;
        margin: 4px 0 10px;

        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        transition: max-height .25s ease-in-out;
    }
    ul#menu-hauptmenue li.menu-item-has-children.is-open > .sub-menu {
        max-height: 500px;
        padding: 4px 0;
    }

    ul#menu-hauptmenue .sub-menu .sub-menu {
        left: 0;
        transform: none;
    }

    ul#menu-hauptmenue li.menu-item-has-children > a::after {
        float: right;
        transition: transform .2s ease-in-out;
    }
    ul#menu-hauptmenue li.menu-item-has-children.is-open > a::after {
        transform: rotate(180deg);
    }
    button.menu-toggle {
    padding: 0;
}
}
    


@media screen and (max-width:1340px){ }	

@media screen and (max-width:768px){ 


        ul#menu-hauptmenue li a:link, ul#menu-hauptmenue li a:visited, ul#menu-hauptmenue li a:active, ul#menu-hauptmenue li a:hover {
        display: block;
        padding: 15px;
        font-size: 18px;
    }

    
}		







	
/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ CONTENT /////////////////////////*/



#wrapper{
	width:100%;
	min-height:100%;
	float:left;
	}	
#content {
    width: 1280px;
    height: auto;
    padding: 170px 0 30px 0;
    margin: 0 auto;
    overflow: hidden;
}
div#content .con > .c01{
    position: relative;
    top: 120px; 
    opacity:0;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
div#content.ani .con > .c01{
    top: 0px; 
    opacity:1;
}
.page-template-default #content .con,  .page-template #content .con{ width: 850px; }
.blog #content .con{width:1280px;}




@media screen and (max-width:1340px){ 
	#content{
		width:100%; 
        padding: 170px 30px 30px 30px;    
	}
    #page {
        padding-bottom: 60px;
    }
}


@media screen and (max-width:910px){ 

	.page-template-default #content .con, .page-template #content .con {
		width: 100%;
	}
	
}


@media screen and (max-width:768px){ 
#content {
        padding: 120px 30px 30px 30px;
    }
}




/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\  LIGHTBOX ///////////////////////// */

.kontakt-icons {
    position: fixed;
    right: 12px;
    top: 250px;
    z-index: 1000;
}
.kontakt-icon {
    width: 60px;
    height: 60px;
    background: #ab7084;
    padding: 12px;
    cursor: pointer;
    border-radius: 3px;
}
.kontakt-icon img{width: 100%;}
.lightbox-kontakt-wrapper, .lightbox-info-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: #fff;
    z-index: 9999;
	    overflow: scroll;
    padding: 30px;
	-webkit-transition: 1s all ease-in-out;
	transition: 1s all ease-in-out;
}
.kontakt-visible .lightbox-kontakt-wrapper {
    left: 0;
    padding-top: 120px;
}
.info-visible .lightbox-info-wrapper{left:0;}
.lightbox-kontakt.con h2 {
    text-align: center;
}
.lightbox-kontakt.con {
    width: 850px;
	text-align: center;
}
.lightbox-kontakt input.wpcf7-form-control.wpcf7-submit {
    margin: 0 auto;
}
.close {
    position: absolute;
    right: 20px;
    top: 110px;
    width: 40px;
}
.close img {
    width: 100%;
}

@media screen and (max-width:1140px){ 
	.lightbox-kontakt.con {
		width: 100%;
	}
}



/*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\  FOOTER ///////////////////////// */



.menu-footer-menue-container {
    width: 100%;
    text-align: center;
    padding: 30px;
}

.menu-footer-menue-container ul, .menu-footer-menue-container li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

.menu-footer-menue-container li {
    padding: 0 30px;
}

.c02.footer-kontakt-form h2 {
    margin-top: -10px;
}
.c02.footer-kontakt-form {
    padding: 0 120px;
}
div#footer h3 {
    color: #000;
    font-weight: 600;
}
div#footer {
    border: 30px solid transparent;
    clear: both;
    overflow: hidden;
    border-bottom:0;
}
.footer-inner-wrapper {
    background: #f9eddf;
    clear: both;
    overflow: hidden;
    padding: 80px 60px;
    border-radius: 30px;
}
.c02.footer-data .c66 {
    padding-right: 30px;
}



@media screen and (max-width:1340px){ 
    .c02.footer-kontakt-form {
        padding: 0 30px;
    }
}

@media screen and (max-width:768px){ 
.footer-inner-wrapper {
    background: #f9eddf;
    clear: both;
    overflow: hidden;
    padding: 30px;
    border-radius: 30px;
}
    .c02.footer-kontakt-form {
        padding: 30px 0 0;
    }
}