/*---------------------------------------------------------------------------------

 Theme Name:   Divi Child Theme
 Theme URI:    https://lukas-fischer.de/
 Description:  Child Theme für Divi erstellt von Lukas Fischer.
 Author:       Lukas Fischer
 Author URI:   https://lukas-fischer.de
 Template:     Divi
 Version:      1.1.9


------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* ===============================
   Grundlayout – alle Brevo Formulare
================================ */
.sib_signup_form {
    max-width: 100%;
    font-family: "Montserrat", sans-serif;
}

/* ===============================
   Labels oberhalb der Felder
================================ */
.sib_signup_form .sib-label {
    display: block;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 600;
}

/* ===============================
   Text- & E-Mail-Felder
================================ */
.sib_signup_form input[type="text"],
.sib_signup_form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Fokus */
.sib_signup_form input[type="text"]:focus,
.sib_signup_form input[type="email"]:focus {
    outline: none;
    border-color: #E9550D;
    box-shadow: 0 0 0 2px rgba(233, 85, 13, 0.15);
}

/* ===============================
   Submit Button
================================ */
.sib_signup_form .sib-default-btn {
    width: 100%;
    padding: 16px;
    margin: 24px 0;
    background-color: #E9550D;
    color: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 22px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Hover */
.sib_signup_form .sib-default-btn:hover {
    background-color: #cf4c0c;
}

/* ===============================
   Checkbox + Text (minimal)
================================ */
.sib_signup_form .sib-terms {
    font-size: 14px;
    line-height: 1.5;
}

.sib_signup_form .sib-terms input[type="checkbox"] {
    margin-right: 8px;
}

/* Datenschutz-Link */
.sib_signup_form .sib-privacy-policy {
    color: #E9550D;
    text-decoration: underline;
}







/* Abstand für h2 nach unten im Blog*/

h2.wp-block-heading {
 	margin-top: 7px !important;
	margin-bottom: 16px !important;
}


/* Abstand für h3 nach unten im Blog*/

h3.wp-block-heading {
 	margin-top: 7px !important;
	margin-bottom: 16px !important;
}

/* Abstand für h4 nach unten im Blog*/

h4.wp-block-heading {
  	margin-top: 7px !important;
	margin-bottom: 16px !important;
}




/* Divi + Gutenberg: Überschriften sicher umbrechen */
.wp-block-post-content .wp-block-heading,
.et_pb_post_content .wp-block-heading,
.entry-content .wp-block-heading,
.wp-block-heading {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}






/* Erste und zweite Ebene im Dropdown-Menü: Trennlinie zwischen Listenelementen */
#top-menu .sub-menu li {
  border-bottom: 2px solid #e0e0e0; /* dezente graue Linie */
 padding: 8px 12px;
}

/* Letztes Element ohne Linie */
#top-menu .sub-menu li:last-child {
  border-bottom: none;
}


/* Increase inner width of drop-down menu */
.et-menu li li a {
    padding: 6px 20px; 
    width: 320px;
}
/* Increase width of drop-down menu*/
.nav li ul {
    position: absolute;
    padding: 20px 0; 
    width: 360px;
    
}

#top-menu li li a {
padding: 6px 20px;
width: 320px;
}

/*Kontaktformular*/

.et_contact_bottom_container {
    float: none;
    text-align: right;
    display: block !important;
  margin-top:30px;
  margin-left:20px;
}

@media (min-width: 768px) and (max-width: 991.98px){
  .et_contact_bottom_container {
     margin-top: -17px;
  }
}

@media (min-width: 300px) and (max-width: 767.98px){
  .et_contact_bottom_container {
     margin:25px;
    text-align:center;
  }
}




/*design back to top button*/

.et_pb_scroll_top.et-pb-icon {
	    background: rgba(233, 86, 13, 0.5);
		bottom: 280px;
		right: 20px;
    	border-radius: 25px;
}

.et_pb_scroll_top.et-pb-icon:hover {
	    background: #E9550D;
		bottom: 280px;
		right: 20px;
    	border-radius: 25px;
}

.et_pb_scroll_top.et-visible {
    opacity: 1;
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
} 


/*mobil reihenfolge ändern anleitung:

display: flex;
flex-wrap: wrap;   ->  in mobile custom css der entsprechenden row einfügen

dann: order:1; order:2; usw bei den entsprechenden spalten in die mobile custom css einfügen

*/


/*place button modules next to each other in the same column -> klasse .inline-buttons in divi row einfügen, damit aktiv*/

.inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}

.inline-buttons {
text-align: center !important;
}




/* CSS for buttons - Attention Grabber - Pulse */
#page-container .et-l .et_pb_section .dl-pulse {
  animation: button-pulse 2.0s infinite;
}

@keyframes button-pulse {

  0%,
  30%,
  60%,
  100% {
    transform: scale(1);
  }

  8%,
  12% {
    transform: scale(1.03);
  }
}

#page-container .et-l .et_pb_section .dl-pulse:hover {
  animation: none;
}




/*prevent horizontal scroll on mobile*/

@media all and (max-width: 980px) {
	html,
	body {
		overflow-x: hidden;
	}
	body {
		position: relative
	}
}

@media all and (max-width: 980px) {
#page-container {overflow:hidden;}	
}
