/*
Theme Name: Nutagen
Description: 
Version: 1.0.0
Author: Thomas Moegele
Author URI: 
Theme URI: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/

/* ========== Custom CSS from Generator ========== */
/*CUSTOM CSS*/


/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* Aptos Regular */
@font-face {
  font-family: "Aptos";
  src: local("Aptos"),
       url("fonts/Aptos.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Aptos Bold */
@font-face {
  font-family: "Aptos";
  src: local("Aptos Bold"),
       url("fonts/Aptos-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Aptos Italic */
@font-face {
  font-family: "Aptos";
  src: local("Aptos Italic"),
       url("fonts/Aptos-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-sans: "Aptos", system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
  font-family: var(--font-sans) !important;
}


html { font-size: 18px; } /* Default root size */


#et-main-area h1 {
   font-size: clamp(2rem, -0.65rem + 5.5vi, 3.75rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
}

/* Mobile */
@media (max-width: 768px) {
  #et-main-area h1 {
    font-size: clamp(1.6rem, -0.4rem + 4.2vi, 2.9rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
  }
}

#et-main-area h2 {
    font-size: clamp(1.3rem, 0.1rem + 3vi, 2.5rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
}

#et-main-area h3 {
    font-size: clamp(1.3rem, 0.475rem + 1.75vi, 1.875rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
}

#et-main-area h4 {
    font-size: clamp(1.3rem, 0.663rem + 1.125vi, 1.563rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
}

#et-main-area h5 {
    font-size: clamp(1.3rem, 0.85rem + 0.5vi, 1.25rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
}

#et-main-area h6,
.gradient-button {
    font-size: clamp(1.3rem, 0.925rem + 0.25vi, 1.125rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
}

#et-main-area .et_pb_text_inner,
#et-main-area p {
    font-size: clamp(1rem, 0.925rem + 0.25vi, 1.125rem);
    line-height: 1.4;
    font-family: var(--font-sans) !important;
}

#et-main-area a {
    font-size: clamp(1rem, 0.925rem + 0.25vi, 1.125rem) !important;
    font-family: var(--font-sans) !important;
}



#et-main-area .text_big .et_pb_text_inner p {
	font-size: clamp(1.3rem, 0.475rem + 1.75vi, 1.875rem) !important;
    line-height: 1.4 !important;
    font-family: var(--font-sans) !important;
}
/* Mobile */
@media (max-width: 768px) {
  #et-main-area .text_big .et_pb_text_inner p {
    font-size: clamp(1rem, 0.925rem + 0.25vi, 1.125rem) !important;
    line-height: 1.4;
    font-family: var(--font-sans) !important;
  }
  
  /*Row 90% breit bei Mobile*/
  .et_pb_row:not([class*="et_flex_column"]) {
  	width: 90%;
  	margin: auto;
  	position: relative;
  }

}

sup {
	font-size: 11px;
}



/**********************************  Language Switcher   *******************************/
  
  
 /* Wrapper */
.wpml-horizontal-switcher {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

/* Einzelnes Sprach-Element */
.wpml-horizontal-switcher .language-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
}

/* Aktive Sprache */
.wpml-horizontal-switcher .language-item.active-language {
font-weight: bold;
}

/* Flaggen */
.wpml-horizontal-switcher .lang-flag {
    width: 22px;
    height: auto;
    border: 1px solid #8a80d2;
}

/* Sprachname nur auf Desktop */
.wpml-horizontal-switcher .lang-name {
    font-size: 14px;
    white-space: nowrap;
}

/* Mobile: Nur Flaggen anzeigen */
@media (max-width: 600px) {
    .wpml-horizontal-switcher .lang-name {
        display: none;
    }

    .wpml-horizontal-switcher .language-item {
        padding: 4px;
        border-radius: 4px;
    }
}
 
  

/**********************************  Order Button  *******************************/



.menu-order-button {
  background-color: #312783;
  color: #ffffff !important;
  font-size: 1rem !important;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-width: 0px;
  border-color: #333;
  border-style: solid;
  padding-top: 10px !important;
  padding-right: 14px !important;
  padding-bottom: 10px !important;
  padding-left: 38px !important;
	
}


.menu-order-button:hover {
  background-color: #312783 !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-width: 0px;
  border-color: #333;
  border-style: solid;
  padding-top: 10px !important;
  padding-right: 14px !important;
  padding-bottom: 10px !important;
  padding-left: 38px !important;
	
}

.menu-order-button:hover::after {
  opacity: 0 !important;
  content: "";
}


.menu-order-button::before, .menu-order-button:hover::before {
  
  font-family: "FontAwesome" !important;
  font-weight: 900 !important;
  content: '';
  font-size: inherit !important;
  line-height: 1.7em !important;
  display: inline-block;
  left: 0.6em;
  opacity: 1;
  
  content: '';
  font-family: FontAwesome !important;
  line-height: 1em !important;
  

}

/**********************************  HERO SECTION   *******************************/
/**********************************  HERO SECTION   *******************************/
/**********************************  HERO SECTION   *******************************/
/**********************************  HERO SECTION   *******************************/

.et-pb-parallax-background--css {
    will-change: transform;
}
.et-pb-parallax-wrapper {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 768px) {
body #page-container .et_pb_section .et_pb_button_0_tb_header.header_button::before {
 font-size: 12px !important;
}
}



/*

.hero .herotext {
    transition: opacity 0.1s linear;
    position: sticky;
    top: 130vh;
    z-index: 10;
}

      
        .hero {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            z-index: 10;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                              url('https://www.nutagen.com/wp-content/uploads/nutagen_hero_bg_6.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transform-origin: center center;
            will-change: transform;
            transition: transform 0.1s linear;
        }
        
        
     
        
        
        

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            top: 35%;
            left: 0%;
   
            text-align: left;
            color: white;
            width: 80%;
            max-width: 800px;
            z-index: 2;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
            
            
            margin: auto;
     
            max-width: 1400px;
            
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            animation: fadeInUp 1s ease-out 0.5s forwards;
            color: #ffffff;
        }
        .hero h3 {

           margin-bottom: 35px;
            animation: fadeInUp 1s ease-out 0.5s forwards;
            color: #ffffff;
        }
        
        .hero p {
            font-size: 1.3rem;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease-out 0.8s forwards;
        }



*/


/**********************************  HERO Button  *******************************/

.button-wrapper {
            position: relative;
            display: inline-block;
            border-radius: 25px;

        }

        .gradient-button {
            position: relative;
            padding: 25px 60px;

            color: #FFFFFF;
            background: #312783;
            border: 2px solid rgba(255, 215, 255, 0.3);
            border-radius: 25px;
            cursor: pointer;
            overflow: visible;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            /*box-shadow: 
                0 6px 20px rgba(255, 215, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);*/
            min-width: 250px;
            letter-spacing: 1px;
            z-index: 2;
        }

        .gradient-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(
                circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                #29105E,
                #210E60,
                #301282,
                
                transparent 80%
            );
            opacity: var(--gradient-opacity, 0);
           /* transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);*/
            z-index: 1;
            /*filter: brightness(1.2);*/
            border-radius: 25px;
        }

        /* Korrigierte Gelbe Outer Glow Effekte */
        .glow-effect {
            position: absolute;
            border-radius: 60px;
            transition: all 0.4s ease;
            z-index: 0;
            pointer-events: none;
        }

        .glow-left {
            left: -10px;
            top: 50%;
            transform: translateY(-50%);
            width: calc(var(--glow-left, 0) * 1px);
            height: calc(100% - 20px);
            background: linear-gradient(
                to right,
                rgba(49, 38, 131, 0.9),
                rgba(135, 129, 193, 0.9),
                transparent
            );
            filter: blur(8px);
            opacity: calc(var(--glow-left, 0) / 60);
        }

        .glow-right {
            right: -10px;
            top: 50%;
            transform: translateY(-50%);
            width: calc(var(--glow-right, 0) * 1px);
            height: calc(100% - 20px);
            background: linear-gradient(
                to left,
                rgba(49, 38, 131, 0.9),
                rgba(135, 129, 193, 0.9),
                transparent
            );
            filter: blur(8px);
            opacity: calc(var(--glow-right, 0) / 60);
        }

        .glow-top {
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            height: calc(var(--glow-top, 0) * 1px);
            width: calc(100% - 20px);
            background: linear-gradient(
                to bottom,
                rgba(49, 38, 131, 0.9),
                rgba(135, 129, 193, 0.9),
                transparent
            );
            filter: blur(8px);
            opacity: calc(var(--glow-top, 0) / 40);
        }

        .glow-bottom {
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            height: calc(var(--glow-bottom, 0) * 1px);
            width: calc(100% - 20px);
            background: linear-gradient(
                to top,
                rgba(49, 38, 131, 0.9),
                rgba(135, 129, 193, 0.9),
                transparent
            );
            filter: blur(8px);
            opacity: calc(var(--glow-bottom, 0) / 40);
        }

        .gradient-button.active::before {
            --gradient-opacity: 1;
        }

        .gradient-button span {
            position: relative;
            z-index: 2;
            transition: transform 0.3s ease;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        .gradient-button.active span {
            transform: scale(1.05);
        }

        .gradient-button:hover,
        .gradient-button.active {
         /*   transform: translateY(-3px) scale(1.02);
            box-shadow: 
                0 10px 30px rgba(255, 215, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);*/
            border-color: rgba(65, 60, 150, 0.6);
        }

        .gradient-button:active {
            transform: translateY(-1px) scale(1.01);
            box-shadow: 
                0 4px 15px rgba(49, 38, 131, 0.9),
                inset 0 1px 0 rgba(135, 129, 193, 0.9);
        }



/**********************************  HERO SECTION ENDE   *******************************/
/**********************************  HERO SECTION ENDE   *******************************/
/**********************************  HERO SECTION ENDE   *******************************/
/**********************************  HERO SECTION ENDE   *******************************/



/*Formular*/

input, select {
  background-color: #f7f7f7 !important;
  border: none !important;
  width: 100% !important;
  border-radius: 0 !important;
  font-size: 16px;
  color: #242424 !important;
  padding: 16px !important;
  box-sizing: border-box;
}





/*        
        .et_pb_section {

  background-color: transparent !important;

}

.content-section {
	            min-height: 100vh;
	            border-top: 1px solid red;
	            border-bottom: 1px solid red;
}


*/





/* Textfarbe Wechsel onScroll */

  .animated-line{
  /*  font-size: 2rem; 
    max-width: 800px;
    margin: 0 auto 2rem; 
    */
    word-break: break-word;
    white-space: normal;
  }

  .word{
    display: inline-block;
    color: #888888;
    transition: color 150ms ease-out;
    transition-delay: var(--delay, 0ms);
    will-change: color;
    margin-right: 0.25em;
  }

  .in-view .word{
    color: #000000;
  }



#ablauf {
	background-color: #FEC100 !important;
	transition: background-color 1.6s ease; /* Dauer + Timing-Funktion */
	color: #fff !important;
} 

/* Mobile */
@media (max-width: 768px) {
	#ablauf {
	/*	background-color: #2b2836 !important;*/
	} 
}


#ablauf h3{
	color: #fff !important;
} 

#ablauf.red {
	background-color: #E40511 !important;
	color: #fff !important;
} 
#ablauf.red h3{
	color: #fff !important;
} 

#ablauf.green {
	background-color: #03983F !important;
	color: #fff !important;
} 
#ablauf.green h3{
	color: #fff !important;
} 





/*inhaltsverzeichnis*/


.inhaltsverzeichnis li {
	padding-bottom: 5px !important;
	padding-top: 5px !important;
	border-bottom: 1px solid #d9d9d9;
}