/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com
Description: Ein Child Theme für das Hello Elementor Theme
Author: Leonie
Author URI: https://example.com
Template: hello-elementor
Version: 1.0.0
*/



/*_____________________ Theme Customization _____________________ */

.partner-box a {
	color: #123264 !important;
}

.hyphens {
	hyphens: auto;
}

footer .custom-logo {
	margin-bottom: 40px;
}

.highlight {
	color: var( --e-global-color-secondary );
}   


/*_____________________ Kontaktformular _____________________ */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
  {
	border: 2px solid;
	  border-color: var(--e-global-color-primary);
	  background-color: white;
	  padding: 0.9rem 1rem;
	  border-radius: 15px;
	  margin-top: 10px;
	  margin-bottom: 15px;
}

.wpcf7-form label {
	color: var( --e-global-color-000889c );
	font-family:'Lexend';
	font-size: 16px;
	width: 80%;
}


/* Aktives Eingabefeld */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none; /* Entfernt den Standard-Outline-Stil */
    border: 2px solid var(--e-global-color-secondary) !important;
    /*box-shadow: 0 0 5px rgba(197, 110, 132, 0.5);*/
}


.wpcf7 input[type="submit"] {
    background-color: var( --e-global-color-secondary );
    color: black;
    padding: 20px 52px 20px 65px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	font-family: 'Lexend';
	font-size: 19px;
	font-weight: 600;
	
	border-style: solid;
	border-color: var( --e-global-color-primary );
	border-radius: 72px;
	box-shadow: 7px 7px 0px 0px #193F7B;
	margin-top: 5px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #EEA5B7;
}

.wpcf7-acceptance .wpcf7-list-item-label {
	margin-left: 15px;
}

/* Error States */
.screen-reader-response {
	display: none;
}

.wpcf7-not-valid-tip {
	margin-top: 7px;
	color: var( --e-global-color-secondary );
}

.wpcf7-not-valid {
	border-color: var(--e-global-color-secondary) !important;
}


.datenschutz-container a {
    text-decoration: underline;
}


/* Fehlerhafte Textfelder */
.wpcf7-not-valid input[type="text"], .wpcf7-not-valid input[type="email"], .wpcf7-not-valid textarea  {
	border: 1px solid var(--e-global-color-secondary);
}

.wpcf7-response-output {
	font-family: 'Lexend';
}



/*_____________________Header_____________________*/

.site-header {
	/*position: sticky !important;*/
    top: 0;
    z-index: 999;
	padding-top:  25px;
	padding-bottom: 25px;
}

header .custom-logo {
	margin-left: -8px;
}

/* Standard Hover-Effekt */
.site-header .site-navigation ul.menu li a:hover {
    color: var(--e-global-color-secondary);
    transition: color 0.3s ease-in-out;
}

/* Aktiver Menüpunkt */
.site-header .site-navigation .current-menu-item > a,
.site-header .site-navigation .current_page_item > a {
    color: var(--e-global-color-secondary) !important; /* Farbe für aktiven Menüpunkt */
    font-weight: bold; /* Optional: Fettgedruckt */
    position: relative; /* Damit das Pseudo-Element relativ zum Link bleibt */
}

.site-header .site-navigation .current-menu-item > a::after,
.site-header .site-navigation .current_page_item > a::after {
	content: "";  
    position: absolute;
    left: 50%;  
    bottom: -5px; /* Abstand zur Schrift */
    width: 0;  
    height: 3px; /* Höhe der Unterstreichung */
    background-color: var(--e-global-color-secondary); /* Farbe der Linie */
    transition: width 0.4s ease-in-out, left 0.4s ease-in-out;
}

/* Die Unterstreichung entfaltet sich von der Mitte */
.site-header .site-navigation .current-menu-item > a.active::after,
.site-header .site-navigation .current_page_item > a.active::after {
    width: 15px;  
    left: calc(50% - 7.5px); /* Zentrierung */
}

/* Shrink-Effekt beim Scrollen */
/*.site-header.shrink {
	padding: 20px 25px;
  
    font-size: 0.5em !important; 
	transition: all 0.3s ease;
}

.site-header.shrink .site-navigation .menu li{
	font-size: 18px;
}

.site-header.shrink .custom-logo {
	width: 200px;
}*/

/*  Header Menue */
.header-inner .site-navigation-dropdown ul.menu li a {
	color: var(--e-global-color-primary);
	font-size: 20px;
	font-family:'Lexend';
	box-shadow: 0;
}

.header-inner .site-navigation-dropdown ul.menu li a:hover, .header-inner .site-navigation-dropdown ul.menu li a:active, .header-inner .site-navigation-dropdown ul.menu li a:focus {
	background: var(--e-global-color-primary);
	color: white;
}

.header-inner .site-navigation-dropdown ul.menu li.current-menu-item a {
	background: #072A62;
	color: white;
}

/* Responsiveness */
/* --- Tablet --- */
@media (max-width: 1024px) {
	.site-header {
		max-width: auto !important;
		padding: 30px 0px !important;
	}
}


/* --- Mobile --- */
@media (max-width: 767px) {
	/*_____________________ Kontaktformular _____________________ */

.wpcf7-form label {
	color: black;
	font-family:'Lexend';
	font-size: 16px;
	width: 100%;
}

}

/* Footer */
footer {
	padding-top: 60px !important;
	padding-bottom: 50px !important;
}


/* _____________________Sticky Header_____________________*/

.backtotop a {
    position: fixed !important;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);

}

/* _____________________Back To Top_____________________*/

#back-to-top {
	display: none;
}

.skip-link.screen-reader-text {
  position: absolute;
  /*left: -9999px;*/
  top: auto;
  width: 1px;
  height: 1px;
  /*overflow: hidden;*/
}

.skip-link.screen-reader-text:focus {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 1em;
  border: 2px solid #000;
  text-decoration: none;
}