/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Falls man den Header fixed und immer sichtbar haben möchte braucht man das*/


.ehf-header #masthead {
    z-index: 9999;
}

/* Header */

#header,
#header .logo img {
    z-index: 99980;
    transition: all .8s ease;
}

body #header {
    background-color: #fff;
	width: 100% !important;
}

body.scrolled #header {
    background-color: #fff;
}

body.scrolled #header .logo img {
    width:220px;
}

body #header .e-con-inner {
    transition: all .8s ease;
}

body.scrolled #header .e-con-inner {
    padding: 0;
}


/* Menü Handling */

.an-menu-container {
    width: 50px;
    padding: 5px 0;
    max-width: 100%;
}

.an-menu-container > div {
        height: 4.5px;
        background-color: #6e6e6e;
        margin: 6px 0px;
        transition: all .4s ease;
    }

.an-menu,
.an-menu-container:hover {
    cursor: pointer;
}

.an-menu-container div:nth-child(2) {
    width: 80%;
	justify-self: end;
}


.an-menu:hover + .open-navigation .an-menu-container div:nth-child(2) {
    width: 100%;
}

/* .an-menu-container.clicked div:nth-child(1) {
    transform: rotate(45deg) translateY(7.5px);
}

.an-menu-container.clicked div:nth-child(2) {
    transform: rotate(-45deg) translateY(-7px);
    width: 100%;
} */
.an-menu-container div {
    transform-origin: center;
}

.an-menu-container.clicked div:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.an-menu-container.clicked div:nth-child(2) {
    transform: rotate(-45deg) translateY(-7px);
	width: 100%;
}

.an-menu-container.clicked div:nth-child(3) {
    display: none;
}



/* Overlay Navigation */

.overlay-navigation {
    position: fixed;
    z-index: 999;
    top: -120vh; /* simuliert versteckt */
    height: 100dvh; /* mobiles zuverlässiger als 100vh */
    width: 100vw;
    transition: all .8s ease;
    opacity: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE 10+ */
}

/* Tablet: z.B. zwischen 768px und 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .overlay-navigation {
        height: 65dvh;
    }
}


.overlay-navigation::-webkit-scrollbar {
    display: none;               /* Chrome, Safari */
}

body.elementor-editor-active .overlay-navigation {
    position: relative;
    top: auto;
    opacity: 1;
    transform: none; /* sicherheitshalber */
}

.overlay-navigation.active {
    top: 0;
    opacity: 1;
}



/* Mittlere Linie Gradient (Right) */

.border-gradient-right {
    position: relative;
    border-right: 2px solid transparent !important;
    background: none !important; /* Keine Hintergrundfarbe */
}

.border-gradient-right::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #fff, #009EE3, #fff);
}

@media (max-width: 768px) {
    .border-gradient-right {
        border: none !important;
    }

    .border-gradient-right::after {
        display: none;
    }
}

/* Obere Linie Gradient (Top) */

.border-gradient-top {
    position: relative;
    border-top: 2px solid transparent !important;
    background: none !important; /* Keine Hintergrundfarbe */
}

.border-gradient-top::after {
    content: "";
    position: absolute;
    top: 0;
   	left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #fff, #009EE3, #fff);
}

@media (max-width: 768px) {
    .border-gradient-top {
        border: none !important;
    }

    .border-gradient-top::after {
        display: none;
    }
}

/* Zeichenabstand H6 */

h6 {
	letter-spacing: 0.03em;
}

/* Zeichenabstand p */

p {
	letter-spacing: 0.01em;
}

/* h2 Subline nach h1 vor Headerbild */

.second-h2 h2 {
    font-weight: 300;
    font-size: 40px;
    color: #ffffff;
}


/* Tablet */
@media (max-width: 1024px) {
	.second-h2 h2 {
        font-size: 30px;
    }
}

/* Handy */
@media (max-width: 768px) {
    .second-h2 h2 {
        font-size: 24px;
    }
}


/* p auf farbigen Hintergrund, große Schrift */

.font-big {
    color: #ffffff;
    font-weight: 500;
    font-size: 22px;
}

@media (max-width: 1024px) {
    .font-big {
        font-size: 21px;
    }
}

@media (max-width: 768px) {
    .font-big {
        font-size: 20px;
    }
}


/* Bullets normal */
.ue-description li::marker {
  color: #009EE3;
}

/* Borlabs Anpassungen */
.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed {
    display: block;
    text-align: center;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-thumbnail {
    display: inline-block;
}

