/*--------------------------------------------------------------
# FONTS
--------------------------------------------------------------*/
/* inter-300 light - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../Fonts/inter-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../Fonts/inter-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 medium - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../Fonts/inter-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 semibold - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../Fonts/inter-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../Fonts/inter-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-display: swap; 
  font-family: 'Open Sauce One SemiBold';
  font-style: normal;
  font-weight: normal;
  src: url('../Fonts/OpenSauceOneSemiBold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
    width: 100vw!important;
    height: 100.1%!important;
    overflow-x: hidden;
}

body {
  	font-family: "Inter", sans-serif;
	font-weight: 300;
  	color: #000;
    font-size: 16px;
    line-height: 1.4;
	padding-top: 85px; /* Platz für den fixierten Header */
    /*overscroll-behavior-y: none;*/
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 991px) {
	body {
		padding-top: 66px; /* Platz für den fixierten Header */
	}
}

.modal-open {
  overscroll-behavior-y: none;
}

.bg-grey {background-color: #fdfdfd;}
.bg-brightorange {background-color: #EF870E;}
.bg-darkgreen {background-color: #49ab49;}
.bg-darkblue {background-color: #3D54A4}

.bg-light {
    background-color: #fff!important;
}

/* Breathing-Effekt für Bilder */
.frame-layout-10 {
    animation: breathing 6s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}



/* Keyframes für den Breathing-Effekt */
@keyframes breathing {
    0% {
        transform: scale(1); /* Ausgangsgröße */
        opacity: 1; /* Volle Deckkraft */
    }
    50% {
        transform: scale(1.05); /* Leichte Vergrößerung */
        opacity: 0.95; /* Geringfügig transparent */
    }
    100% {
        transform: scale(1); /* Zurück zur Ausgangsgröße */
        opacity: 1; /* Volle Deckkraft */
    }
}

@keyframes breathingCentered {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.12);
    opacity: 0.95;
  }
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}


/* abgerundete Ecken für Bilder */
.frame-10 img {border-radius: var(--bs-border-radius-xl) !important;}
/* abgerundete Ecken mit Schatten */
.frame-11 {border-radius: var(--bs-border-radius-xl) !important; box-shadow: var(--bs-box-shadow) !important;}
.frame-11 img {border-radius: var(--bs-border-radius-xl) !important; }

/* rundes Bild*/
.frame-20 img {border-radius: 50%;}
#pageid-7 .frame-20 img,
#pageid-39 .frame-20 img {/*border-radius: 50%;*/  max-height: 122px!important;
    width: auto!important;}

.zoom {transition: transform 1s ease;}
.zoom:hover {transform: scale(1.02);}

.image-embed-item {
    max-width: 100%;
    width: 100%;
    height: auto;
	object-fit: cover;
}

/*Responsive Video*/
.ce-gallery figure.video {
  display: block;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100% !important;
  height: 100% !important;
}

/* Workaround fuer Responsive Videos in Verbindung mit fluid_styled_content */
.frame-layout-20 .ce-center .ce-inner {
  position: relative;
  float: none;
  right: -50%;
}

.frame-layout-20 .ce-left .ce-gallery,
.frame-layout-20 .ce-column {
  float: none;
}

.frame-layout-20 .ce-center .ce-outer {
  position: relative;
  float: none;
  right: 50%;
}

.mt-n1 {
  margin-top: -3rem !important;
}
.mb-n1 {
  margin-bottom: -1rem !important;
}
.me-n1 {
  margin-left: -1rem !important;
}
.ms-n1 {
  margin-right: -1rem !important;
}

.ms-6 {margin-left: 6%}

.me-6 {margin-right: 6%}

@media screen and (min-width: 768px) {
	.px-6 {
		padding-left: 5rem !important;
		padding-right: 5rem !important;
	}
}

.modallink {cursor:pointer;}

.h-50 {height: calc(50% - 0.75rem)!important;}

.content-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%; /* Falls der Text nicht richtig umbricht */
}

@media screen and (max-width: 820px) {
.content-center {
    position: relative;
}
}

.content-bottom-left {
    position: absolute;
    bottom: 20px; /* Abstand zum unteren Rand */
    left: 20px; /* Abstand zum linken Rand */
    text-align: left; /* Falls nötig */
}
/*ul mit check mark*/
.check-list {
    list-style: none; /* Entfernt Standard-Punkte */
    padding-left: 0;
}


.check-list li::before {
    content: "✔"; /* Fügt das Häkchen als Symbol hinzu */
    margin-right: 10px; /* Abstand zum Text */
}

@media screen and (max-width: 992px) {
    .check-list {
        list-style-position: outside;
    }    
    
    .check-list li {
        padding-left: 25px; /* Einrückung für den gesamten Listeninhalt */
        text-indent: -25px; /* Negativer Einzug, um das Checkmark zurückzusetzen */
    }
    
    .check-list li::before {
        display: inline-block;
        width: 15px; /* Feste Breite für das Checkmark */
        text-indent: 0; /* Zurücksetzen des negativen Einzugs für das Checkmark */
    }
}

table.contenttable {width: 100%;}

/* 5 Spalten */
.col-lg-2-4 {
  flex: 0 0 auto;
  width: 20%;
}
.col-lg-3-6 {
  flex: 0 0 auto;
  width: 30%;
}

/****************************************************
** Typography
****************************************************/
h1 {
    /*letter-spacing: -.01em;*/
    margin-top: 0;
    margin-bottom: 0;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.4
}
h1.text-bold {font-weight: 600;}
h1.text-green {color: rgba(73, 171, 73, 1); font-weight: 600;}

.text-green {color: rgba(73, 171, 73, 1);}


.product-tile h1,
.product-tile .text-s1 {font-size: 38px!important; line-height: 1.2!important;}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
	h1 {font-size: 29px!important; line-height: 1.2!important;}
    .product-tile {padding-left: 1rem; padding-right: 1rem;}
    .product-tile h1,
    .product-tile .text-s1 {font-size: 29px!important; line-height: 1.2!important; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto;}
    .product-tile h1 br,
    .product-tile .text-s1 br{display: none;}
	.product-tile .text-s2 {font-size: 27px!important; line-height: 1.2!important; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto;}
    .product-tile h2 {font-size: 26px!important; line-height: 1.2!important;}
}

@media screen and (max-width: 1024px) {
	.product-tile .text-s2,
	.product-tile h2 {font-size: 30px!important; line-height: 1.2!important;}
}

@media screen and (max-width: 479px) {
    .product-tile h1,
    .product-tile .text-s1 {font-size: 26px!important; line-height: 1.2!important;}
	.product-tile .text-s2,
	.product-tile h2 {font-size: 24px!important; line-height: 1.2!important;}
}

h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2
}
h2.text-green {color: rgba(73, 171, 73, 1)}

h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.16
}

h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.25
}

h4.text-medium {font-weight: 500;}

h4.text-small {font-size: 1.25rem; font-weight: bold;}

h5 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2
}

h5.light {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
}

h6 {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.text-s1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.4
}

.text-s1-big {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 50px;
    font-weight: 500;
    line-height: 1.4
}

.text-s2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2
}

.text-s3 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.16;
}


.text-s4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.25
}

.text-s4-medium {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25
}

.text-s4-small {font-size: 1.25rem; font-weight: bold;}

.text-s4-xs {font-size: 1.3rem;  line-height: 1.4;}

.text-s5 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2
}

.text-s5-xs {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3
}

.text-s5-light {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
}

.text-s5-regular {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.text-s5-medium {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .text-s1, .text-s2, .text-s3, .text-s4, .text-s4-medium, .text-s4-small, .text-s5, .text-s5-light, .text-s5-medium {
    -webkit-animation: fadeIn 0.45s ease backwards;
    animation: fadeIn 0.45s ease backwards;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

@media screen and (max-width: 1024px) {
    h1,
    .text-s1 {
        font-size:50px
    }

    h2,
    .text-s2 {
        font-size: 46px
    }

    h3,
    .text-s3 {
        font-size: 42px
    }
}


@media screen and (max-width: 479px) {
    h1,
    .text-s1 {
        font-size:26px;
        line-height: 1.4;
    }

    h2,
    .text-s2 {
        font-size: 24px
    }

    h3,
    .text-s3 {
        font-size: 22px
    }

    h4,
    .text-s4 {
        font-size: 20px
    }

    h5,
    h5.light,
    .text-s5,
    .text-s5-light {
        font-size: 18px
    }
}

.heading-small {
    letter-spacing: -.01em;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
}

@media screen and (max-width: 479px) {
    .heading-small {
        font-size: 26px;
    } 
}

ul {
    padding-left: 20px
}

li {
    margin-bottom: 5px
}

@media screen and (max-width: 768px) {
    br.no_mobile {
        display: none;
    }
}
@media screen and (max-width: 479px) {
    br.no_mobile {
        display: none;
    }
    .frame-space-after-extra-small {
        margin-bottom: 0;
    }
    /*.frame-space-after-extra-small h1 p {
        margin-bottom: 0;
    }*/
}

/****************************************************
** Links
****************************************************/
a {
  color: rgba(73, 171, 73, 1);
  text-decoration: none;
}
a:hover,
a:focus,
a:active{
  outline: 0;
  color: rgba(88, 197, 88, 1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar-brand {padding-top: 0; padding-bottom: 0;}

@media (max-width: 480px) {
.navbar-brand img {height: 60px; width: auto;}
}

@media (max-width: 768px) {
.navbar-brand img {height: 80px; width: auto;}
} 
.navbar-nav {
    --bs-nav-link-color: #9ca3af;
    --bs-nav-link-hover-color: #222222;
	font-weight: 500;
    -webkit-animation: fadeIn 0.45s ease backwards;
    animation: fadeIn 0.45s ease backwards;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

/*.navbar {
    --bs-navbar-toggler-focus-width: 0rem;
}*/

.nav-item:focus,.nav-item:hover {
    background-color: transparent;
}
li.nav-item.dropdown a:hover {
    background-color: transparent!important;
}

.dropdown-toggle::after {
    font-family: "Font Awesome 5 Free"; /* Font Awesome Familie */
    font-weight: 900; /* Für solid Icons */
    content: "\f078"; /* Unicode für Chevron Down */
    display: inline-block;
    margin-left: 0.5em; /* Abstand zum Text */
    vertical-align: middle;
    font-size: 0.5em; /* Größe des Icons */    
	border:0;
	transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg); 
	transform-style: preserve-3d;
	transition: transform 0.3s ease; /* Optional: weicher Übergang */
}

@media (min-width: 992px) {
	#mobileNavbar.d-lg-none.collapse.navbar-collapse {display: none!important;}
	.nav-item.dropdown {
		position: relative;
	}	
	.nav-item.dropdown .show.dropdown-menu {
		display: block;
	}	
	.nav-item.dropdown .dropdown-toggle {
		position: relative;
	}
	.nav-item > .dropdown-toggle.show::after {
		transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(-180deg) skew(0deg, 0deg); 
		transform-style: preserve-3d;
		transition: transform 0.3s ease; /* Optional: weicher Übergang */
	}	
	ul.navbar-nav { 
		height: 85px;
	}		
	.navbar .nav-link {
		margin: 1.9rem 1.5rem ;
		padding: 0!important;
		font-size: 16px;
		font-weight: 400;
		line-height: 1.5;
		
	}	
	.nav-link.nav-link {transition: none;}
	.navbar-nav.navbar-nav {animation: none; animation-delay: 0;}
	
	.nav-item .animate.dropdown-menu {
		display: none;    
		visibility: hidden;
		transform: rotateX(0deg); 
		top: 100%;	
		/* transition: transform 0.15s ease-in-out; */
	}
	
	.nav-item .animate.show.dropdown-menu {
		display: block;    
		visibility: visible;
		transform: rotateX(0deg); 
		top: 90%;	
		/* transition: transform 0.15s ease-in-out; */
	}
}

#navbarNav img.fa-li {
	margin-top: -5px;
	width: 40px;
}
#navbarNav li.nav-item {margin-bottom: 0;}

@media (min-width: 992px) {
    #navbarNav .mainmenuitem-8 .megamenu .container {
        max-width: 1400px;
    }
}

@media (min-width: 1400px) {
    #navbarNav .mainmenuitem-8 .megamenu .container {
        max-width: 1400px;
    }
}

@media (min-width: 1680px) {
    #navbarNav .mainmenuitem-8 .megamenu .container {
        max-width: 1680px;
    }
}

#navbarNav .mmcontent {
    opacity: 0; /* Unsichtbar zu Beginn */
    transform: translateY(-10px); /* Leicht nach oben verschoben */
    transition: opacity 0.3s ease-in-out, transform 0.8s ease-in-out; /* Sanfter Übergang */
    visibility: hidden;
}
 
#navbarNav .nav-item .show .mmcontent {
    opacity: 1; /* Sichtbar, wenn gehovert */
    transform: translateY(10px); /* Auf die normale Position */
    visibility: visible; /* Sichtbar */
}

#navbarNav .mmcontent ul.fa-ul  {margin-left: -0.5em}
#navbarNav .mmcontent ul.fa-ul li {margin-bottom: 16px;}
#navbarNav .mmcontent ul.fa-ul li:last-child {
    margin-bottom: 0; 
}

.dropdown-menu.megamenu {border-radius: 0; border: 0px; background-color: #fff; box-shadow: 0 0.5rem 1rem -0.5rem rgba(0, 0, 0, 0.20); padding-bottom: 3.5rem;}

#navbarNav .mmcontent .ce-bodytext a,
#navbarNav .mmcontent .ce-bodytext a:hover,
#navbarNav .mmcontent .ce-bodytext a:focus,
#navbarNav .mmcontent .ce-bodytext a:active  {color: #9ca3af;}
#navbarNav .mmcontent .ce-bodytext a::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f105"; 
	font-size: 0.8em; 
	padding-left: 0.5em
}
#navbarNav .mmcontent .video-embed iframe, #navbarNav .mmcontent .video-embed {padding-bottom: 36.25%;}
#navbarNav .mmcontent .video-embed iframe, #navbarNav .mmcontent .video-embed video {
    width: 234px!important;
    height: 148px!important;
}
#navbarNav .mmcontent h6,
#navbarNav .mmcontent .text-s6 {font-size: 16px; margin-bottom: 0;}
#navbarNav .mmcontent .ce-bodytext {font-size: 14px; color: #9ca3af;}
#navbarNav .mmcontent .ce-below .ce-gallery {margin-top: 0;}
#navbarNav .mmcontent .dropdown-link {
    z-index: 2;
    grid-column-gap: 17px;
    grid-row-gap: 17px;
    align-items: flex-start;
    display: flex;
    position: relative;
	padding: 0.5em;
	border-radius: 15px;
	transition: background-color 0.3s ease-in-out;
}

#navbarNav .mmcontent .dropdown-link:hover {background: rgb(246, 246, 246)!important}

.dropdown-link-icon {
    justify-content: center;
    align-items: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    display: flex;
}

.dropdown-link-text {
	font-family: 'Inter';
    color: #9ca3af;
    font-size: 0.85em;
	font-weight: 300!important;
    line-height: 1.4;
	letter-spacing: 0.025em;
}

.dropdown-heading {
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    color: #000!important;
    flex-wrap: wrap;
    align-items: center;
	font-weight: 400!important;
	font-size: 16px!important;
	line-height: 1.5;
	letter-spacing: 0.025em;
    display: flex;
	padding-bottom: 2px;
}

.mmcontent .card.mmbox {
	color: #9ca3af;
    font-size: 0.85em;
	font-weight: 300!important;
    line-height: 1.4;
	letter-spacing: 0.025em;
	background: transparent!important;
	transition: transform 1s ease-in-out, color 0.3s ease-in-out;
		
}

#navbarNav .mmcontent .card.mmbox:hover {color: #000!important; transform: scale(1.03); }
.mmcontent .card.mmbox h5,
.mmcontent .card.mmbox .text-s5 {color: #000; font-size: 16px; font-weight: 400!important; line-height: 1.5;}

.navbar-toggler {
    border: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.navbar-toggler:focus {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
	.menu-open .navbar {padding-bottom: 0;}
	#mobileNavbar.navbar-collapse {margin-left: -1rem; margin-right: -1rem;}
	#mobileNavbar .navbar-collapse.show {
    	overflow-y: scroll !important;
    	max-height: 93vh;	
	}
	
	#mobileNavbar ul {margin-top: 1em; }
	#mobileNavbar li.nav-item {
    	/**/
		margin-bottom: 0;
		border-bottom: 1px solid #dddddd;
        background-color: #ededed;
	}
    #mobileNavbar ul.nav.navbar-nav {opacity: 0;}
    #mobileNavbar.show ul.nav.navbar-nav {
        opacity: 1; 
        transition: opacity 1s ease-in-out;
    }
	#mobileNavbar ul.nav.navbar-nav li.nav-item.active,
	#mobileNavbar ul.nav.navbar-nav li.nav-item.dropdown a.nav-link.dropdown-toggle.menu-open {background-color: #F5F5F5!important;}
	#mobileNavbar a.nav-link {color: #141414; font-weight: 400; padding: 0.7em 2em; font-size: 14px}
	#mobileNavbar .dropdown-toggle {
		align-items: center;
		display: flex;
		justify-content: space-between; /* Text links, Icon rechts */
		width: 100%; /* Optional: Falls Button volle Breite haben soll */
	}	
	#mobileNavbar .dropdown-toggle::after {
		font-family: "Font Awesome 5 Free"; /* Font Awesome Familie */
		font-weight: 900; /* Für solid Icons */
		content: "\f078"; /* Unicode für Chevron Down */
		display: inline-block;
		margin-left: auto;
		vertical-align: middle;
		font-size: 0.5em; /* Größe des Icons */    
		border:0;
		transform: rotate(0deg);
    	transition: transform 0.3s ease-in-out;
	}
 	/* Wenn das Dropdown geöffnet ist */
	#mobileNavbar .dropdown-toggle.menu-open::after {
		transform: rotate(-180deg);
	}
	
	#mobileNavbar .dropdown-menu {box-shadow: none; border-radius: 0; border: 0;}
	
	/*submenu*/
	#mobileNavbar.d-lg-none.navbar-collapse.collapse.show ul.nav.navbar-nav li.nav-item.dropdown ul.dropdown-menu.animate.fade-down {
		display: block;
		max-height: 0;
		min-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: all 1s ease-in-out;
		padding: 0;
		margin: 0;
		will-change: max-height, opacity;
	}

	#mobileNavbar.d-lg-none.navbar-collapse.collapse.show ul.nav.navbar-nav li.nav-item.dropdown ul.dropdown-menu.animate.fade-down.show {
        max-height: 100vh;
        max-height: max-content;
        overflow-y: auto;
        opacity: 1;
    }

    #mobileNavbar > ul > li.nav-item.dropdown > ul > li.nav-item {background-color: transparent;}
	#mobileNavbar a.dropdown-item {font-size: 14px; font-weight: 300; padding: 0.7em 3em;}
	#mobileNavbar a.dropdown-item.active {background-color: #F5F5F5!important; color: #141414;}
	#mobileNavbar ul.dropdown-menu.show li.nav-item:last-child {
		border-bottom: none !important;
	}
}

/*--------------------------------------------------------------
# Sections/Container General
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    h5.light.ce-headline-center.w-75.m-auto,
    .text-s5-light.ce-headline-center.w-75.m-auto {
        width: 100% !important;
        word-wrap: break-word; /* Ermöglicht Wortumbruch bei langen Wörtern */
        overflow-wrap: break-word; /* Alternative Unterstützung für Wortumbruch */
        hyphens: auto; /* Aktiviert automatische Silbentrennung */ 
        hyphenate-limit-chars: 7 5 2;      
    }
}
@media (min-width: 480px) and (max-width: 820px) {
	.container {
		padding-left: 2rem;
		padding-right: 2rem;
	}

    h5.light.ce-headline-center.w-75.m-auto,
    .text-s5-light.ce-headline-center.w-75.m-auto {
        width: 100% !important;
        text-align: left;
        word-wrap: break-word; /* Ermöglicht Wortumbruch bei langen Wörtern */
        overflow-wrap: break-word; /* Alternative Unterstützung für Wortumbruch */
        hyphens: auto; /* Aktiviert automatische Silbentrennung */
        -webkit-hyphens: auto; /* Safari Unterstützung */
        -ms-hyphens: auto; /* IE Unterstützung */
        hyphenate-limit-chars: 7 5 2; /* Minimum 7 Zeichen bevor getrennt wird */
        font-size: 1.125rem;
    }
    h5.light br ,
    .text-s5-light br{
        display: none;
    }
    h5.light button,
    .text-s5-light button {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 479px) {
    .container {
		padding-left: 2rem;
		padding-right: 2rem;
	}

    #pageid-11 .card.bg-card h5.light,
    #pageid-11 .card.bg-card .text-s5-light {
        text-align: left;
        word-wrap: break-word; /* Ermöglicht Wortumbruch bei langen Wörtern */
        overflow-wrap: break-word; /* Alternative Unterstützung für Wortumbruch */
        hyphens: auto; /* Aktiviert automatische Silbentrennung */
        -webkit-hyphens: auto; /* Safari Unterstützung */
        -ms-hyphens: auto; /* IE Unterstützung */
        hyphenate-limit-chars: 7 5 2; /* Minimum 7 Zeichen bevor getrennt wird */
    }
    h5.light.ce-headline-center.w-75.m-auto,
    .text-s5-light.ce-headline-center.w-75.m-auto {
        width: 100% !important;
        text-align: left;
        font-size: 1.125rem;
    }
    h5.light br,
    .text-s5-light br {
        display: none;
    }
    h5.light button,
    .text-s5-light button {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
    
/*--------------------------------------------------------------
# Button
--------------------------------------------------------------*/
header .btn {font-family: Verdana, Geneva, sans-serif;}
.btn:focus-visible, .btn:focus {
    color: #fff;
}
.btn.active,.btn.show,.btn:first-child:active {
    color: #fff;
}
.btn-primary,
.btn-primary:active,
.btn-primary[aria-pressed="true"],
.btn-primary:focus {
	background-color: rgba(73, 171, 73, 1)!important;
	border-color: rgba(73, 171, 73, 1)!important; 
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);    
	transition: transform 1s ease;
}
.btn-primary:hover {
	background-color: rgba(88, 197, 88, 1)!important;
	border-color: rgba(88, 197, 88, 1)!important;
	transform: scale(1.03);
} 
.btn-secondary,
.btn-secondary:active,
.btn-secondary[aria-pressed="true"],
.btn-secondary:focus {
	background-color: rgba(201, 122, 96, 1)!important;
	border-color: rgba(201, 122, 96, 1)!important; 
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);   
}
.btn-secondary:hover {
	background-color: rgba(214, 130, 104, 1);
	border-color: rgba(214, 130, 104, 1);
} 

.btn-info,
.btn-info:active,
.btn-info[aria-pressed="true"],
.btn-info:focus {
	color: #fff!important;
	background-color: rgba(61, 84, 164, 1)!important;
	border-color: rgba(61, 84, 164, 1)!important; 
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);   
}
.btn-info:hover {
	background-color: rgba(70, 97, 186, 1);
	border-color: rgba(70, 97, 186, 1);
} 

/* Position und Animation für den Zurück-zur-Aktion-Button */
.return-to-aktion {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    padding: 12px 22px;
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-size: x-large;
    line-height: 1.2;
    white-space: normal;         
    word-wrap: break-word;
    text-align: center;
    animation: 
        slideInFromRight 0.6s ease-out forwards,
        breathingCentered 6s cubic-bezier(0.25, 0.1, 0.25, 1) infinite 0.6s;
}

/* --- Media Queries --- */

/* Standard (Desktop & große Screens) */
@media (min-width: 769px) {
    .return-to-aktion {
        max-width: 380px;
    }
}

/* Tablet & kleinere Bildschirme */
@media (max-width: 768px) {
    .return-to-aktion {
        max-width: 210px;
        font-size: large;
		/* Position unten rechts statt mittig */
        top: auto;
        transform: none;
        bottom: -25px;   /* Abstand vom unteren Rand */
    }
}

/* Smartphones */
@media (max-width: 480px) {
    .return-to-aktion {
        max-width: 150px;
        font-size: initial;
        padding: 10px 16px;
    }
}




/* Orange Button Style */
.btn-orange,
.btn-orange:active,
.btn-orange[aria-pressed="true"],
.btn-orange:focus {
    color: #fff !important;
    background-color: #EF870E !important;
    border-color: #EF870E !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    /*transition: transform 0.3s ease;*/
}

.btn-orange:hover {
    background-color: #ff9b32 !important;
    border-color: #ff9b32 !important;
    /*transform: scale(1.03);*/
}

/* Slide-in Animation */
@keyframes slideInFromRight {
    0% {
        transform: translateY(-50%) translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}


/*--------------------------------------------------------------
# Checkliste
--------------------------------------------------------------*/ 
.checklist {font-size: 1.25em; font-weight: 500;}
.checklist .fa-ul.horizontal {
    margin-left: var(--fa-li-margin, 2.5em);
	padding-left: 20px;
} 
.checklist .fa-ul .fa-li .fa-check {
    color: rgba(73, 171, 73, 1);
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
/*.swiper-container {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 50px 0;
	z-index: 0 !important;
}
@media screen and (max-width: 768px) {
    .swiper-container {
		height: 500px;
	}
}
@media screen and (max-width: 479px) {
    .swiper-container {
		height: 560px;
	}
}

.swiper-slide {
	width: 80%;
    height: 100%;
    will-change: transform;
    animation: jump 0s cubic-bezier(0.57, -0.7, 0.36, 1.46);
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
    animation-delay: 0.2s;
}

  @-webkit-keyframes jump {
    from {
      -webkit-transform: scale(0.9);
    }
    to {
      -webkit-transform: scale(1);
    }
  }
  @keyframes jump {
    from {
      transform: scale(0.9);
    }
    to {
      transform: scale(1);
    }
  }

.swiper-slide-active {
    transform: scale(1.2) translateX(0)!important;
    z-index: 3;
    opacity: 1;
}

.swiper-slide-prev {
    transform: scale(1) translateX(60%)!important;
    z-index: 2;
    opacity: 1;
}

.swiper-slide-next {
    transform: scale(1) translateX(-60%)!important;
    z-index: 2;
    opacity: 1;
}


.swiper-slide a,
.swiper-slide a:link,
.swiper-slide a:visited,
.swiper-slide a:hover
 {color: #fff; text-decoration: underline;}

.carousel-content-wrapper {
    padding: 20px;
    color: #fff;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.carousel-description {
    font-size: 1em;
    margin-bottom: 20px;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    z-index: 10;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    color: #000;
}
*/
/*--------------------------------------------------------------
# Partner-Logos
--------------------------------------------------------------*/
.client-logos-wrapper {
    z-index: 0;
    position: relative;
    overflow: hidden;
}

.client-logos-list {
    flex: none
}

.client-logos-list-before {
    z-index: 2;
    background-image: linear-gradient(90deg,#fff,#fff0);
    width: 160px;
    position: absolute;
    inset: 0% auto 0% 0%
}

.client-logos-list-after {
    z-index: 3;
    background-image: linear-gradient(270deg,#fff,#fff0);
    width: 160px;
    position: absolute;
    inset: 0% 0% 0% auto
}

@media (max-width: 479px) {
    .client-logos-list-before,
    .client-logos-list-after {
        width: 80px;
    }
}

.client-logos-list-inner {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    display: flex
}

.client-logos-list {
    -webkit-animation: marquee 30s linear infinite;
    animation: marquee 30s linear infinite;
	flex: none;
}

.client-logos-grid {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.client-logos-grid.is-scrolling {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-wrap: nowrap;
    display: flex;
}

.client-logos-item {
    flex: none;
    width: 100%;
}

.client-logos-item.is-scrolling {
    width: auto;
}

.client-logo-img {
    width: auto;
    height: 56px;
	/*filter: grayscale(100%);*/
}


@-webkit-keyframes marquee {
  from {
     transform: translateX(0) translateZ(0);
  }
  to {
     transform: translateX(-100%) translateZ(0);
  }
}
@keyframes marquee {
  from {
    transform: translateX(0) translateZ(0);
  }
  to {
    transform: translateX(-100%) translateZ(0);
  }
}

/*--------------------------------------------------------------
# Video Modal
--------------------------------------------------------------*/
[id^="Video"].modal,
[id^="Video2"].modal,
[id^="PopupVideo"].modal {
    background: rgba(0,0,0,0.7)!important; 
}
[id^="Video"] .modal-dialog,
[id^="Video2"] .modal-dialog,
[id^="PopupVideo"] .modal-dialog {
	--bs-modal-width: 980px!important;
    max-height: 95vh;  
	--bs-modal-margin: 2rem!important;
}

[id^="Video"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img,
[id^="Video2"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img,
[id^="PopupVideo"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img {
    max-height: 122px;
    width: auto;
	border-radius: 50%;
}
[id^="PopupVideo"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img {
	border-radius: 50%;
}
@media screen and (max-width: 992px) {
    [id^="Video"] .modal-dialog .col-12, 
	[id^="Video2"] .modal-dialog .col-12,
	[id^="PopupVideo"] .modal-dialog .col-12 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/*--------------------------------------------------------------
# Beratungstermin Modal
--------------------------------------------------------------*/
[id^="Beratungstermin"].modal {
    background: rgba(0,0,0,0.7)!important; 
}
[id^="Beratungstermin"] .modal-dialog {
	--bs-modal-width: 880px!important;
    max-height: 95vh;  
	--bs-modal-margin: 2rem!important;
}

[id^="Beratungstermin"] .modal-content {
	max-width: 100%;
	margin: 0 auto !important;
	border: 0;
}
[id^="Beratungstermin"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img {max-height: 122px; width: auto;}

[id^="Beratungstermin"] .modal-content .frame-type-powermail_pi1 {
    padding: 0!important;
}

[id^="Beratungstermin"] .modal-content .frame-type-powermail_pi1 .container-fluid {
    padding-left: 0;
	padding-right: 0;
}

[id^="Beratungstermin"] .modal-content .powermail_fieldwrap_kontaktaufnahme .checkbox { padding-top: 1em; padding-bottom: 1em;}
[id^="Beratungstermin"] .modal-content .powermail_fieldwrap_type_captcha .control-label {padding-bottom: 1em;}
[id^="Beratungstermin"] .modal-content .powermail_fieldwrap_type_captcha img { padding-top: 1em; padding-bottom: 1em;}

@media screen and (max-width: 992px) {

[id^="Beratungstermin"] .modal-dialog .col-12 {
    flex: 0 0 auto;
    width: 50%;
}
}

@media screen and (max-width: 479px) {
    [id^="Beratungstermin"] .modal-dialog {
		--bs-modal-margin: 2rem 1rem!important;
		max-height: 95vh; 
	}
	[id^="Beratungstermin"] .modal-dialog-scrollable {
    	height: 93vh;
	}
	[id^="Beratungstermin"] .modal-content {
    	max-width: 100%;
	}
}


/*--------------------------------------------------------------
# Kontakt Angebot Modal
--------------------------------------------------------------*/
[id^="KontaktAngebot"].modal {
    background: rgba(0,0,0,0.7)!important; 
}
[id^="KontaktAngebot"] .modal-dialog {
	--bs-modal-width: 980px!important;
    max-height: 85vh;  
	--bs-modal-margin: 10rem!important;
}

[id^="KontaktAngebot"] .modal-content {
	max-width: 80%;
	margin: 0 auto !important;
	border: 0;
}
[id^="KontaktAngebot"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img {max-height: 122px; width: auto;}

[id^="KontaktAngebot"] .modal-content .frame-type-powermail_pi1 {
    padding: 0!important;
}

[id^="KontaktAngebot"] .modal-content .frame-type-powermail_pi1 .container-fluid {
    padding-left: 0;
	padding-right: 0;
}

@media screen and (max-width: 992px) {
	[id^="KontaktAngebot"] .modal-dialog .col-12 {
		flex: 0 0 auto;
		width: 50%;
	}
}

@media screen and (max-width: 479px) {
    [id^="KontaktAngebot"] .modal-dialog {
		--bs-modal-margin: 2rem 1rem!important;
		max-height: 95vh; 
	}
	[id^="KontaktAngebot"] .modal-dialog-scrollable {
    	height: 93vh;
	}
	[id^="KontaktAngebot"] .modal-content {
    	max-width: 100%;
	}
}

/*--------------------------------------------------------------
# Kontakt Aktion Modal
--------------------------------------------------------------*/
[id^="KontaktAktion"].modal {
    background: rgba(0,0,0,0.7)!important; 
}
[id^="KontaktAktion"] .modal-dialog {
	--bs-modal-width: 980px!important;
    max-height: 85vh;  
	--bs-modal-margin: 10rem!important;
}

[id^="KontaktAktion"] .modal-content {
	max-width: 80%;
	margin: 0 auto !important;
	border: 0;
}
[id^="KontaktAktion"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img {max-height: 122px; width: auto;}

[id^="KontaktAktion"] .modal-content .frame-type-powermail_pi1 {
    padding: 0!important;
}

[id^="KontaktAktion"] .modal-content .frame-type-powermail_pi1 .container-fluid {
    padding-left: 0;
	padding-right: 0;
}

@media screen and (max-width: 768px) {
	[id^="KontaktAktion"] .modal-dialog .col-12 {
		flex: 0 0 auto;
		width: 50%;
	}
}

@media screen and (max-width: 479px) {
    [id^="KontaktAktion"] .modal-dialog {
		--bs-modal-margin: 2rem 1rem!important;
		max-height: 95vh; 
	}
	[id^="KontaktAktion"] .modal-dialog-scrollable {
    	height: 93vh;
	}
	[id^="KontaktAktion"] .modal-content {
    	max-width: 100%;
	}
}

/*--------------------------------------------------------------
# Angebotstext Modal
--------------------------------------------------------------*/
[id^="AngebotText1"].modal,
[id^="AngebotText2"].modal,
[id^="AngebotText3"].modal {
    background: rgba(0,0,0,0.7)!important; 
}
[id^="AngebotText1"] .modal-dialog,
[id^="AngebotText2"] .modal-dialog,
[id^="AngebotText3"] .modal-dialog {
	--bs-modal-width: 880px!important;
    max-height: 95vh;  
	--bs-modal-margin: 2rem!important;
}

[id^="AngebotText1"] .modal-content,
[id^="AngebotText2"] .modal-content,
[id^="AngebotText3"] .modal-content {
	max-width: 100%;
	margin: 0 auto !important;
	border: 0;
}
[id^="AngebotText1"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img,
[id^="AngebotText2"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img,
[id^="AngebotText3"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img {max-height: 122px; width: auto;}

[id^="AngebotText1"] .modal-content .frame-type-powermail_pi1,
[id^="AngebotText2"] .modal-content .frame-type-powermail_pi1,
[id^="AngebotText3"] .modal-content .frame-type-powermail_pi1 {
    padding: 0!important;
}

[id^="AngebotText1"] .modal-content .frame-type-powermail_pi1 .container-fluid,
[id^="AngebotText2"] .modal-content .frame-type-powermail_pi1 .container-fluid,
[id^="AngebotText2"] .modal-content .frame-type-powermail_pi1 .container-fluid {
    padding-left: 0;
	padding-right: 0;
}

@media screen and (max-width: 992px) {

[id^="AngebotText1"] .modal-dialog .col-12,
[id^="AngebotText2"] .modal-dialog .col-12,
[id^="AngebotText3"] .modal-dialog .col-12 {
    flex: 0 0 auto;
    width: 50%;
}
}

@media screen and (max-width: 479px) {
    [id^="AngebotText1"] .modal-dialog,
	[id^="AngebotText2"] .modal-dialog,
	[id^="AngebotText3"] .modal-dialog {
		--bs-modal-margin: 2rem 1rem!important;
		max-height: 95vh; 
	}
	[id^="AngebotText1"] .modal-dialog-scrollable,
	[id^="AngebotText2"] .modal-dialog-scrollable,
	[id^="AngebotText3"] .modal-dialog-scrollable {
    	height: 93vh;
	}
	[id^="AngebotText1"] .modal-content,
	[id^="AngebotText2"] .modal-content,
	[id^="AngebotText3"] .modal-content {
    	max-width: 100%;
	}
}

/*--------------------------------------------------------------
# Angebots-Card
--------------------------------------------------------------*/
.offer-card {
    display: block;
    text-decoration: none;
    color: inherit;
    /*transition: transform 0.2s ease, box-shadow 0.2s ease;*/
}
.offer-card:hover {
    transform: scale(1.02);
    /*box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);*/
}

.offer-card .img-overlay .btn-primary:hover {opacity: 1!important;}
.offer-card .img-overlay .btn h5 {margin-bottom: 0;}
.offer-card .card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.offer-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}
.offer-card .card-body {
    font-size: 0.8rem!important;
    color: #555;
}
.offer-card.card-color1 h4.price-title {color: rgba(73, 171, 73, 1);}
.offer-card.card-color1 .btn-primary {
    background-color: rgba(73, 171, 73, 1);
    border-color: rgba(73, 171, 73, 1); 
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);   
}
.offer-card.card-color1 .btn-primary:hover {
    background-color: rgba(73, 171, 73, 0.8);
    border-color: rgba(73, 171, 73, 0.8);
}
.offer-card.card-color2 h4.price-title {color: rgba(80, 153, 80, 1);}
.offer-card.card-color2 .btn-primary {
    background-color: rgba(80, 153, 80, 1)!important;
    border-color: rgba(80, 153, 80, 1)!important; 
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);   
}
.offer-card.card-color2 .btn-primary:hover {
    background-color: rgba(80, 153, 80, 0.8)!important;
    border-color: rgba(80, 153, 80, 0.8)!important;
} 
.offer-card.card-color3 h4.price-title {color: rgba(73, 138, 73, 1);}
.offer-card.card-color3 .btn-primary {
    background-color: rgba(73, 138, 73, 1)!important;
    border-color: rgba(73, 138, 73, 1)!important; 
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);   
}
.offer-card.card-color3 .btn-primary:hover {
    background-color: rgba(73, 138, 73, 0.8)!important;
    border-color: rgba(73, 138, 73, 0.8)!important;
} 
.offer-card.card-color4 h4.price-title {color: rgba(0, 154, 255, 1); font-weight: 600;}
.offer-card.card-color4 .btn-primary {
    background-color: rgba(0, 154, 255, 1)!important;
    border-color: rgba(0, 154, 255, 1)!important; 
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);   
}
.offer-card.card-color4 .btn-primary:hover {
    background-color: rgba(0, 154, 255, 0.8)!important;
    border-color: rgba(0, 154, 255, 0.8)!important;
}

.offer-card.card-color1 .img-overlay .btn-primary:hover {background-color: rgba(73, 171, 73, 1)!important;}
.offer-card.card-color2 .img-overlay .btn-primary:hover {background-color: rgba(80, 153, 80, 1)!important;}
.offer-card.card-color3 .img-overlay .btn-primary:hover {background-color: rgba(73, 138, 73, 1)!important;}
.offer-card.card-color4 .img-overlay .btn-primary:hover {background-color: rgba(0, 154, 255, 1)!important;}
/*--------------------------------------------------------------
# Aktions-Card
--------------------------------------------------------------*/
.offer-card.aktion .card-body {
    padding: 4em 1em 3em 1em;
}
.offer-card.aktion .card-title {
    font-size: 1.25rem;
}
.offer-card.aktion H4.price-title {
    font-size: 1.25rem;
	font-weight: bold;
}

.offer-card.aktion H4.price-compare {
    font-size: 0.9rem;
	font-weight: bold;
	opacity: 0.7;
}

/*--------------------------------------------------------------
# Job-Card
--------------------------------------------------------------*/
.job-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 1s ease, box-shadow 1s ease;
}

.job-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.job-card .card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.job-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.job-card .card-body {
    font-size: 0.8rem!important;
    color: #555;
}

[id^="jobModal-"] .modal-dialog ,
#jobModal2 .modal-dialog{
	--bs-modal-width: 880px!important;
    max-height: 95vh;  
	--bs-modal-margin: 2rem!important;
	
}

[id^="jobModal-"] .modal-header,
#jobModal2 .modal-header{
	border-bottom: 0;
}

[id^="jobModal-"] .modal-content,
#jobModal2 .modal-content {
	max-width: 100%;
	margin: 0 auto !important;
	border: 0;
}

[id^="jobModal-"] .modal-content strong,
#jobModal2 .modal-content strong {font-weight: 600;}

[id^="jobModal-"] .modal-footer,
#jobModal2 .modal-footer{
	border-top: 0;
	justify-content: center;
}
@media screen and (max-width: 1023px) {
	[id^="jobModal-"] .modal-content .col-12,
	#jobModal2 .modal-content .col-12 {
		flex: 0 0 auto;
		width: 50%;
	}
}

[id^="jobModal-"] .modal-content .col-12.col-lg-6 .ce-image.ce-right img,
#jobModal2 .modal-content .col-12.col-lg-6 .ce-image.ce-right img {max-height: 122px; width: auto;}

[id^="jobModal-"] .modal-content section .container {padding-left: 0; padding-right: 0;}

[id^="jobModal-"] .modal-content .frame-type-powermail_pi1 .container-fluid,
[id^="jobModal-"] .modal-content .frame-type-powermail_pi1,
#jobModal2 .modal-content .frame-type-powermail_pi1 .container-fluid,
#jobModal2 .modal-content .frame-type-powermail_pi1 {
    padding-left: 0!important;
	padding-right: 0!important;
}
[id^="jobModal-"] .tx-powermail label.control-label {font-size: 1em; padding-bottom: 5px;}
[id^="jobModal-"] .tx-powermail .checkbox {padding-bottom: 3px; font-size: 15px}
[id^="jobModal-"] .tx-powermail input.form-control {font-size: 15px}
[id^="jobModal-"] .tx-powermail span.mandatory2 {color: #DB2A3A;}

@media screen and (max-width: 479px) {
    [id^="jobModal-"] .modal-dialog,
	#jobModal2 .modal-dialog {
		--bs-modal-margin: 2rem 1rem!important;
		max-height: 95vh; 
	}
	[id^="jobModal-"] .modal-dialog-scrollable,
	#jobModal2 .modal-dialog-scrollable {
    	height: 93vh;
	}
	[id^="jobModal-"] .modal-content,
	#jobModal2 .modal-content {
    	max-width: 100%;
	}
}

/*--------------------------------------------------------------
# bunte Tiles
--------------------------------------------------------------*/
/*Tile 1*/
.bg-yellow {background-color: #f9f9db;}
.bg-orange {background-color: #faf1e3;}
.bg-green {background-color: #e8ffe5;}
.bg-blue {background-color: #e4f1ff;}
.bg-grey2 {background-color: #F5F5F5}

.gradient-background {
	background: 
		radial-gradient(
		  farthest-side at bottom left,
		  rgba(73, 171, 73, 1), 
		  rgba(254, 189, 14, 0.2) 50%,
		  transparent 70%
		),
		radial-gradient(
		  farthest-corner at bottom right, 
		  rgba(2, 118, 194, 1), 
		  rgba(254, 189, 14, 0.2) 50%,
		  transparent 70%
		),
		radial-gradient(
			circle at center top, /* Kreisförmiger Gradient, zentriert */
			rgba(255, 255, 255, 1) 40%, 
			rgba(254, 189, 14, 0.2) 100%
		),
		/* Linearer Verlauf von oben */
        linear-gradient(
			to bottom,
			rgba(255, 255, 255, 1), /* Weiß */
			rgba(255, 255, 255, 0) 100% /* Transparent */
        );
	background-blend-mode: screen; /* Farbmischung für bessere Sichtbarkeit */
	min-height: 400px;
}

.gradient-grey {
	background: 
		/* Linearer Verlauf von oben */
		linear-gradient(
			to bottom,
			rgba(255, 255, 255, 1), /* Weiß */
			rgba(245, 245, 245, 1) 100% /* Grau */
		);
}

.card.tile1,
.card.tile2 {
    transition: transform 1s ease, box-shadow 1s ease;
}

.card.tile1:hover,
.card.tile2:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.col-lg-6 .card.tile1 .card-body {max-width: 400px; padding: 64px 0 0 0; margin-left: auto; margin-right: auto;}
.card.tile1 .card-body {max-width: 60%; padding: 64px 0 0 0; margin-left: auto; margin-right: auto;}
.card.tile1 .card-body .card-text {font-weight: 300; font-size: 20px; line-height: 30px;}
.card.tile1.gradient-background .img-fluid {max-width: 60%; margin-left: auto; margin-right: auto; display: block;}
.card.tile1.gradient-grey .img-fluid {max-width: 75%; margin-left: auto; margin-right: auto; display: block;}
.card.tile2  {min-height: 390px;}
.card.tile2 .card-body {max-width: 400px;}

.card.tile1 .card-body .text-center ul,
.card.tile2 .card-body .text-center ul {text-align: left!important;}

@media screen and (max-width: 991px) {

    .card.tile1 .card-body {max-width: 86%; padding: 48px 0 0 0;}
	.card.tile1 .img-fluid {max-width: 400px; margin-left: auto; margin-right: auto; display: block;}
	.card.tile2 .card-body {padding: 48px 0 0 0;}
	.card.tile2 .img-fluid{max-width: 400px; margin-left: auto; margin-right: auto; display: block;}

    .card.tile1.gradient-grey .img-fluid {
        max-width: 92%;
    }
}

@media screen and (max-width: 767px) {
	/*.card.tile1,
	.card.tile2 {padding-bottom: 48px;}*/
    .card.tile1 .card-body {max-width: 86%; padding: 48px 0 0 0;}
	.card.tile1 .img-fluid {max-width: 400px; margin-left: auto; margin-right: auto; display: block;}
	.card.tile2 .card-body {padding: 48px 0 0 0;}
	.card.tile2 .img-fluid{max-width: 400px; margin-left: auto; margin-right: auto; display: block;}
}

@media screen and (max-width: 479px) {
	/*.card.tile1,
	.card.tile2 {padding-bottom: 40px;}*/
	.card.tile1 .card-body {max-width: 94%;  padding: 40px 0 0 0;}
	.card.tile1 .img-fluid {max-width: 360px; margin-left: auto; margin-right: auto; display: block;}
	.card.tile2 .card-body {padding: 40px 0 0 0;}
	.card.tile2 .img-fluid{max-width: 100%; margin-left: auto; margin-right: auto; display: block;}

    .card.tile1.gradient-grey .img-fluid {
        max-width: 96%;
    }
}
/*--------------------------------------------------------------
# Box mit Hintergrundfarbe
--------------------------------------------------------------*/
.card.bg-card{
    transition: transform 1s ease, box-shadow 1s ease;
}

.card.bg-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card.bg-card a {color: #000;}
.card.bg-card a.btn-primary {color: #fff;}

@media screen and (max-width: 1024px) {
	.card.bg-card h2,
    .card.bg-card .text-s2 {
        font-size: 26px!important;
        margin-bottom: 10px;
    }
	.card.bg-card h3,
    .card.bg-card .text-s3 {
        font-size: 22px!important;
    }
}

@media screen and (max-width: 479px) {
    .card.bg-card h2,
    .card.bg-card .text-s2 {
        font-size: 24px!important;
        margin-bottom: 10px;
    }
	.card.bg-card h3,
    .card.bg-card .text-s3 {
        font-size: 22px!important;
    }
 
}
/*--------------------------------------------------------------
# Box mit Hintergrundbild (Default)
--------------------------------------------------------------*/
.frame-type-imgboxdefault  {height: 100% !important;}
.card.img-boxdefault{
    transition: transform 1s ease, box-shadow 1s ease;
}

.card.img-boxdefault:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.img-boxdefault .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Höhe des Verlaufs */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)); /* Verlauf von Weiß zu Transparent */
    z-index: 1; /* Über dem Bild */
    pointer-events: none; /* Interaktionen mit dem Verlauf verhindern */
}

.img-boxdefault img {
    width: 100%; /* Füllt die Breite des Containers */
    height: 100%; /* Passt die Höhe des Containers an */
    object-fit: cover; /* Schneidet das Bild zu, ohne es zu verzerren */
    object-position: center; /* Zentriert das Bild im Container */
    min-height: 400px; /* Mindesthöhe für größere Bildcontainer */
}

/*.img-box .card-img-overlay {
	display: flex; 
	flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}*/
.img-boxdefault .card-img-overlay h1,
.img-boxdefault .card-img-overlay .text-s1 {
	font-size: 56px;
    font-weight: 600;
	line-height: 72px;
}
@media screen and (min-width: 1024px) and (max-width: 1200px) {
	.img-boxdefault img {
        min-height: 100%; /* Mindesthöhe für größere Bildcontainer */
    }
}
@media screen and (max-width: 1024px) {

	.img-boxdefault .card-img-overlay h1,
    .img-boxdefault .card-img-overlay .text-s1 {
		font-size: 40px;
		font-weight: 600;
	}

}	
@media screen and (max-width: 768px) {

	.img-boxdefault .card-img-overlay h1,
    .img-boxdefault .card-img-overlay .text-s1 {
		font-size: 40px;
		font-weight: 600;
        line-height: 1.2;
	}
}
@media screen and (max-width: 479px) {
	.img-boxdefault .card-img-overlay h1,
    .img-boxdefault .card-img-overlay .text-s1 {
		font-size: 26px;
        line-height: 1.4;
	}
}
/*--------------------------------------------------------------
# Box mit Hintergrundbild (Content zentriert)
--------------------------------------------------------------*/
.frame-type-imgbox {height: 100% !important;}
.card.img-box{
    transition: transform 1s ease, box-shadow 1s ease;
}

.card.img-box:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.img-box .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Höhe des Verlaufs */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)); /* Verlauf von Weiß zu Transparent */
    z-index: 1; /* Über dem Bild */
    pointer-events: none; /* Interaktionen mit dem Verlauf verhindern */
}

.img-box img {
    width: 100%; /* Füllt die Breite des Containers */
    height: 100%; /* Passt die Höhe des Containers an */
    object-fit: cover; /* Schneidet das Bild zu, ohne es zu verzerren */
    object-position: center; /* Zentriert das Bild im Container */
    min-height: 400px; /* Mindesthöhe für größere Bildcontainer */
}

.img-box .card-img-overlay {
	display: flex; /* Aktiviert Flexbox */
	flex-direction: column;
    justify-content: center; /* Zentriert horizontal */
    align-items: center; /* Zentriert vertikal */
    text-align: center; /* Zentriert den Text-Inhalt */
}

.img-box .card-img-overlay h1,
.img-box .card-img-overlay h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 479px) {
    .img-box .card-img-overlay h1,
    .img-box .card-img-overlay h2 {
        font-size: 26px;
    }  
}

/*Text-Box mit grünem Hintergrund*/
.img-box .text-box {
    position: absolute;
    bottom: 85px; /* Abstand vom unteren Rand */
    left: 0; /* Abstand von der linken Seite */
    background-color: rgba(73, 171, 73, 1); /* Grüne Farbe */
    color: white; /* Textfarbe */
    padding: 10px 40px; /* Innenabstand */
    border-radius: 0 0.375rem 0.375rem 0; /* Keine abgerundeten Ecken */
    font-size: 16px; /* Schriftgröße */
	line-height: 1.5;
    text-align: left; /* Text linksbündig */
    box-shadow: none; /* Kein Schatten */
    z-index: 2; /* Überlagerung über anderen Elementen */
	min-width: 55%;
    max-width: 80%; /* Begrenzte Breite, falls der Text länger ist */
    /*text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);*/
    letter-spacing: 0.015em;
}

.img-box .text-boxbtn {
    position: absolute;
    bottom: 85px; /* Abstand vom unteren Rand */
    left: 50%; /* Abstand von der linken Seite */
	transform: translateX(-50%);
    background-color: transparent;
    color: white; /* Textfarbe */
    padding: 0; /* Innenabstand */
    border-radius: 0; /* Keine abgerundeten Ecken */
    font-size: 16px; /* Schriftgröße */
    text-align: left; /* Text linksbündig */
    box-shadow: none; /* Kein Schatten */
    z-index: 2; /* Überlagerung über anderen Elementen */
	min-width: 55%;
    max-width: 80%; /* Begrenzte Breite, falls der Text länger ist */
}

.img-box .text-boxbtn .btn-primary {padding: 10px 40px; font-weight: 400;}

@media screen and (max-width: 768px) {
	.img-box img {
        min-height: 560px; /* Mindesthöhe für größere Bildcontainer */
    }
    #pageid-6 .img-box .card-img-overlay h1 {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}
@media screen and (max-width: 479px) {
	.img-box img {
        min-height: 340px; /* Mindesthöhe für größere Bildcontainer */
    }
    #pageid-6 .img-box .card-img-overlay h1 {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}
			
/*--------------------------------------------------------------
# Perspective Video
--------------------------------------------------------------*/
.about-video-header-menu video {
    width: auto;
	max-height: 147px;
	border-radius: 1rem;
}

.about-video-loop-menu {
	z-index: 1;
	object-fit: cover;
	border-radius: 1rem;
	align-items: center;
	width: auto;
	height: 100%;
	display: flex;
	position: absolute;
	inset: 0%;
	overflow: hidden;
}

.about-video-header {
	color: #fff;
	text-align: center;
	background-color: #030303;
	border-radius: 1rem;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 560px;
	padding-left: 275px;
	padding-right: 275px;
	display: flex;
	position: relative;
	overflow: hidden;
}
@media screen and (max-width: 479px) {
	.about-video-header  {
        min-height: 340px; 
    }
}

.tile-video-header {
	color: #fff;
	text-align: center;
	background-color: #030303;
	border-radius: 1rem;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	padding-left: 80px;
	padding-right: 80px;
	display: flex;
	position: relative;
	overflow: hidden;
}

.about-video-loop {
	z-index: 1;
	object-fit: cover;
	border-radius: 1rem;
	align-items: center;
	width: 100%;
	height: 100%;
	display: flex;
	position: absolute;
	inset: 0%;
	overflow: hidden;
}
.about-video-header-content {
	z-index: 3;
	position: relative;
	top: 30%;
}

.about-video-heading {
	font-size: 34px;
	font-weight: 400;
	line-height: 1.14;
}
.is-pulsed {
	-webkit-box-shadow: 0 0 0 0 rgba(255,255,255,.35);
	box-shadow: 0 0 0 0 rgba(255,255,255,.35);
	animation: pulse 3s infinite;
	-webkit-animation: pulse 3s infinite;
	animation-delay: 2s
}
.is-pulsed:hover {
	animation-duration: 50s;
	-webkit-animation-duration: 50s
}

@media screen and (max-width: 768px) {
.about-video-header {
	padding-left: 100px;
	padding-right: 100px;
}
.about-video-heading {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.14;
}
}

@media screen and (max-width: 479px) {
    .about-video-heading {
        font-size: 26px;
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(.975);
        transform: scale(.975)
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 25px transparent;
        box-shadow: 0 0 0 25px transparent
    }
    to {
        -webkit-transform: scale(.975);
        transform: scale(.975);
        -webkit-box-shadow: 0 0 0 0 transparent;
        box-shadow: 0 0 0 0 transparent
    }
}
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(.975);
        transform: scale(.975)
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 25px transparent;
        box-shadow: 0 0 0 25px transparent
    }

    to {
        -webkit-transform: scale(.975);
        transform: scale(.975);
        -webkit-box-shadow: 0 0 0 0 transparent;
        box-shadow: 0 0 0 0 transparent
    }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {font-size: 0.875em;}
footer li.nav-item a.nav-link:hover {text-decoration: underline;}					

/*--------------------------------------------------------------
# NEWS
--------------------------------------------------------------*/
/* ==========================================
   Navigation Controls for Carousel
========================================== */
@media (max-width: 1024px) {
	.news .newsslider .carousel-control-next,
	.news .newsslider .carousel-control-prev,
	.newsslider-test .carousel-control-next,
	.newsslider-test .carousel-control-prev,
	.newscarousel .carousel-control-next,
	.newscarousel .carousel-control-prev {
        display: none;
    }
}

.news .newsslider .carousel-control-next,
.news .newsslider .carousel-control-prev,
.newsslider-test .carousel-control-next,
.newsslider-test .carousel-control-prev {
    width: 50px;
    background: #fff;
    opacity: 1;
}

.news .newsslider .carousel-control-prev,
.newsslider-test .carousel-control-prev {
    left: -4em;
}

.news .newsslider .carousel-control-next,
.newsslider-test .carousel-control-next {
    right: -4em;
}

.news .newsslider .carousel-control-next-icon,
.news .newsslider .carousel-control-prev-icon,
.newsslider-test .carousel-control-next-icon,
.newsslider-test .carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.news .newsslider .carousel-control-prev-icon,
.newsslider-test .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.news .newsslider .carousel-control-next-icon,
.newsslider-test .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ==========================================
   Card Styling
========================================== */
.news .newsslider-test .card.h-100,
.news .newscarousel .card.h-100,
.news .newsslider .card.h-100 {
    position: relative;
    overflow: hidden;
    transition: transform 1s ease, overflow 0.1s ease;
}

.news .newsslider-test .card.h-100:hover,
.news .newscarousel .card.h-100:hover,
.news .newsslider .card.h-100:hover {
    transform: scale(1.03);
    overflow: visible;
}

.news .newsslider .card.h-100 img,
.news .newscarousel .card.h-100 img,
.news .newsslider-test .card.h-100 img {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem; /* Matches the card's rounding */
}

@media (max-width: 767px) {
    .news .newsslider .card.h-100 img,
    .news .newscarousel .card.h-100 img{
        box-shadow: none;
    }

    .news .newscarousel .card.h-100 {
        min-height: 380px;
    }
}

/* Gradient Overlay */
.news .newsslider .card .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    z-index: 1;
    pointer-events: none;
}

/* Hover Effects */
.news .newsslider .card.h-100.hovereffect,
.news .newscarousel .card.h-100.hovereffect,
.news .newsslider-test .card.h-100.hovereffect {
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 0;	
}

.news .newsslider .card.h-100.hovereffect .overlay,
.news .newscarousel .card.h-100.hovereffect .overlay,
.news .newsslider-test .card.h-100.hovereffect .overlay {
    position: absolute;
    top: 0;
    right: 1em;
    bottom: 1.5em;
    left: 1em;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.24s ease-out;		
}

.news .newsslider .card.h-100.hovereffect .overlay:hover,
.news .newscarousel .card.h-100.hovereffect .overlay:hover,
.news .newsslider-test .card.h-100.hovereffect .overlay:hover {
    opacity: 1;	
}

.news .newsslider .card.h-100.hovereffect .overlay h3,
.news .newsslider .card.h-100.hovereffect .overlay p,
.news .newsslider .card.h-100.hovereffect .overlay .extra,
.news .newscarousel .card.h-100.hovereffect .overlay h3,
.news .newscarousel .card.h-100.hovereffect .overlay p,
.news .newscarousel .card.h-100.hovereffect .overlay .extra,
.news .newsslider-test .card.h-100.hovereffect .overlay h3,
.news .newsslider-test .card.h-100.hovereffect .overlay p,
.news .newsslider-test .card.h-100.hovereffect .overlay .extra {
    color: #fff;
}

.news .newsslider .card.h-100.hovereffect .overlay a,
.news .newscarousel .card.h-100.hovereffect .overlay a,
.news .newsslider-test .card.h-100.hovereffect .overlay a {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: #ffffff;
}

.news .newsslider .card.h-100.hovereffect .overlay .card-body,  
.news .newscarousel .card.h-100.hovereffect .overlay .card-body,
.news .newsslider-test .card.h-100.hovereffect .overlay .card-body {
    height: 100%;
    padding: 1.5em;
}

/* ==========================================
   Text Utilities
========================================== */
.news .newsslider .text-hide,
.news .newscarousel .text-hide,
.news .newsslider-test .text-hide {
    font: 0 / 0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

/* ==========================================
   Carousel Responsiveness
========================================== */
@media (max-width: 1024px) {
    .news .newsslider-test .card-title,
    .news .newscarousel .card-title {
        font-size: 1.15rem; /* kleinere Schriftgröße für mobile Geräte */
        word-wrap: break-word; /* Wortumbruch für lange Wörter */
        overflow-wrap: break-word; /* zusätzliche Unterstützung für Wortumbruch */
        hyphens: auto; /* aktiviert automatische Silbentrennung */
        line-height: 1.2; /* kompaktere Zeilenhöhe für mobile Ansicht */
    }
    
    .news .newsslider-test .teaser,
    .news .newscarousel .teaser {
        font-size: 0.9rem; /* kleinere Schriftgröße für den Teaser-Text */
        line-height: 1.4; /* angepasste Zeilenhöhe */
        display: none;
    }
}

@media (max-width: 767px) {
    .news .newsslider .carousel-inner .carousel-item > div {
        display: none;
    }

    .news .newsslider .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

.news .newsslider .carousel-inner .carousel-item.active,
.news .newsslider .carousel-inner .carousel-item-next,
.news .newsslider .carousel-inner .carousel-item-prev{
    display: flex;
}

@media (min-width: 768px) {
    .news .newsslider .carousel-inner .carousel-item-end.active,
    .news .newsslider .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .news .newsslider .carousel-inner .carousel-item-start.active,
    .news .newsslider .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

.news .newsslider .carousel-inner .carousel-item-end,
.news .newsslider .carousel-inner .carousel-item-start {
    transform: translateX(0);
}
/* ==========================================
   News Grid
========================================== */
.news .grid .card-body {padding-bottom: 0;}
.news .grid .card .card-footer {
    padding: 0 1rem 1rem 1rem;
    background-color: rgba(255,255,255,0);
    border-top: 1px solid rgba(0,0,0,0);
  }
.news .grid .card .card-footer:last-child {border-radius: 0;}
.news .grid .card .card-footer a {font-weight: 600;}
.news .grid .card .card-footer a::before {
    content: "\f054"!important;
    font-family: 'Font Awesome 5 Free'!important;
    font-weight: 900!important;
    font-size: .8em;
    padding-right: .5em;
  }
.news .grid .card .card-footer a:hover {color: rgba(88, 197, 88, 1);}

/* ==========================================
   News Detail
========================================== */
@media screen and (max-width: 1024px) {
    .news-single h1 {
        font-size: 38px !important;
        word-wrap: break-word; /* Ermöglicht Wortumbruch bei langen Wörtern */
        overflow-wrap: break-word; /* Alternative Unterstützung für Wortumbruch */
        hyphens: auto; /* Aktiviert automatische Silbentrennung */
        -webkit-hyphens: auto; /* Safari Unterstützung */
        -ms-hyphens: auto; /* IE Unterstützung */
        hyphenate-limit-chars: 5 2 2; /* Minimum 5 Zeichen vor dem Trennstrich */
    }
}



/*** REFERENZEN ***/

.news .work .card{
    transition: transform 1s ease;
}

.news .work .card:hover {
    transform: scale(1.03);
}

/* Allgemeine Hover-Effekte für Karten */
.news .work .card.h-100.hovereffect {
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 0;
}

.news .work .card.h-100.hovereffect .card-img,
.news .work .card.h-100.hovereffect .card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Overlay-Styling */
.news .work .card.h-100.hovereffect .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.24s ease-out;
}

.news .work .card.h-100.hovereffect .overlay:hover {
    opacity: 1;
}

.news .work .card.h-100.hovereffect .overlay h4,
.news .work .card.h-100.hovereffect .overlay {
    color: #fff;
    line-height: 1.2;
}

.news .work .card.h-100.hovereffect .overlay a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: #ffffff;
}

.news .work .card.h-100.hovereffect .overlay .card-body {
    height: 100%;
    padding: 1em 1.5em;
}

/* Responsive Anpassungen */
@media only screen and (max-width: 1440px) {
    .news .work .card.hovereffect h4.card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .news .work .card.hovereffect p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .news .work .card.hovereffect h4.card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .news .work .card.hovereffect p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 768px) {
    .news .work .card.hovereffect h4.card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .work .card.hovereffect p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 640px) {
    .news .work .card.hovereffect h4.card-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .news .work .card.hovereffect p {
        font-size: 1rem;
        margin-bottom: 0;
    }
}




/*--------------------------------------------------------------
# POWERMAIL
--------------------------------------------------------------*/

.frame-type-powermail_pi1 {
	padding: 1rem !important;
}
	
.frame-type-powermail_pi1 header {margin-bottom: 2em;}

.frame-type-powermail_pi1 header h1 {
    -webkit-animation: fadeIn 0.45s ease backwards;
    animation: fadeIn 0.45s ease backwards;
    -webkit-animation-delay: 0.0s;
    animation-delay: 0.1s;
}

.tx-powermail span.mandatory {color: #DB2A3A; padding-left: 5px;}

@media screen and (max-width: 1024px) {
    .frame-type-powermail_pi1 header h1 {
        font-size: 64px;
    }
}
@media screen and (max-width: 479px) {
    .frame-type-powermail_pi1 header h1 {
        font-size: 36px;
    }
}

/*.row .powermail_fieldwrap_mehr_infos {
    max-height: 0; 
    opacity: 0; 
    overflow: hidden;
    transition: opacity 1s ease, transform 1s ease, max-height 1s ease; 
}

.row .powermail_fieldwrap_mehr_infos.show {
    max-height: 800px; 
    opacity: 1; 
    transform: translateY(0); 
}*/

/* Anfangszustand: Felder sind verborgen */
.row .powermail_fieldwrap_hb_ziegel,
.row .powermail_fieldwrap_marker_05,
.row .powermail_fieldwrap_marker_06,
.row .powermail_fieldwrap_marker_07,
.row .powermail_fieldwrap_fotodeszaehlerkastens,
.row .powermail_fieldwrap_fotoderpotentialausgleichsschieneerdung,
.row .powermail_fieldwrap_hb_ziegel_02,
.row .powermail_fieldwrap_marker_05_02,
.row .powermail_fieldwrap_marker_06_02,
.row .powermail_fieldwrap_marker_07_02,
.row .powermail_fieldwrap_fotodeszaehlerkastens_02,
.row .powermail_fieldwrap_fotoderpotentialausgleichsschieneerdung_02 {
    max-height: 0; /* Starthöhe auf 0 setzen */
    opacity: 0; /* Unsichtbar */
    /*overflow: hidden;*/ /* Verhindert Überlauf */
    transition: opacity 1s ease, max-height 1s ease, transform 1s ease; /* Animiert opacity, height und transform */
}

/* Wenn 'show' Klasse hinzugefügt wird, sichtbar machen */
.row .powermail_fieldwrap_hb_ziegel.show,
.row .powermail_fieldwrap_marker_05.show,
.row .powermail_fieldwrap_marker_06.show,
.row .powermail_fieldwrap_marker_07.show,
.row .powermail_fieldwrap_fotodeszaehlerkastens.show,
.row .powermail_fieldwrap_fotoderpotentialausgleichsschieneerdung.show,
.row .powermail_fieldwrap_hb_ziegel_02.show,
.row .powermail_fieldwrap_marker_05_02.show,
.row .powermail_fieldwrap_marker_06_02.show,
.row .powermail_fieldwrap_marker_07_02.show,
.row .powermail_fieldwrap_fotodeszaehlerkastens_02.show,
.row .powermail_fieldwrap_fotoderpotentialausgleichsschieneerdung_02.show {
    max-height: 300px; /* Setze eine angemessene Höhe für das Element, wenn es sichtbar ist */
    opacity: 1; /* Sichtbar */
    transform: translateY(0); /* Bewege das Element in seine Position */
    /*margin-bottom: 1rem !important;*/
}



/*range*/
.range-container {
	position: relative;
	width: auto;
}
.range-container.me-4 {
	margin-right: 1.7rem!important;
}

/* Styling des Schiebereglers */
input[type="range"] {
	-webkit-appearance: none;
	appearance: none;  /* Standard-Eigenschaft hinzugefügt */
	width: 100%;
	height: 8px;
	background: #ddd;
	border-radius: 5px;
	outline: none;
	margin: 0;
	cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;  /* Standard-Eigenschaft hinzugefügt */
	width: 20px;
	height: 20px;
	background: rgba(73, 171, 73, 1);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: rgba(73, 171, 73, 1);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Styling der Bubble */
.bubble {
	position: absolute;
	top: auto;
	left: 50%;
	bottom: 1.8rem;
	transform: translate(-50%, 0);
	text-align: center;
	background-color: rgba(73, 171, 73, 1);
	padding: 0.2rem 0.5rem;
	color: #fff;
	width: auto;
	margin: 0;
	white-space: nowrap;
	border-radius: 5px; 
}

.bubble::before {
	content: "";
	width: 0;
	height: 0;
	border-left: 0.5rem solid transparent;
	border-right: 0.5rem solid transparent;
	border-top: 0.5rem solid rgba(73, 171, 73, 1);
	position: absolute;
	top: auto;
	left: 50%;
	bottom: -0.5rem;
	transform: translateX(-50%);
}

input[type="range"]::-webkit-slider-thumb {
    transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb {
    transition: all 0.2s ease;
}

.bubble {
    transition: all 0.2s ease;
}

/****************************************************
** Quick-Access Menu (right)
****************************************************/
.quick-access {
    display: none;
    position: fixed;
    top: 50%;
    z-index: 1100;
    right: 0; 
    transform: translateY(-50%) translateX(calc(100% - 50px));
}
@media (min-width: 1024px) {
	/*.quick-access {display: block;}*/
}
.quick-access ul {
    margin: 0;
    padding: 0;
}
.quick-access li {
    margin-bottom: 2px;
    transition: transform .4s ease-in-out;
    overflow: hidden;
}
.quick-access li:hover {
    transform: translateX(calc(-100% + 50px));
}

/* Gemeinsame Stile für Links und .beratung */
.quick-access li a,
.quick-access li.beratung {
    display: flex;
    height: 50px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

/* Gemeinsame Stile für Spans */
.quick-access li a span,
.quick-access li.beratung span {
    flex: 1;
    padding: 0 20px;
    line-height: 50px;
    background: rgb(246, 246, 246);
    order: 2;
}

/* Gemeinsame Stile für Icons */
.quick-access li a i,
.quick-access li.beratung i {
    width: 50px;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    color: #000;
    background: rgb(246, 246, 246);
    border-left: 3px solid rgba(73, 171, 73, 1);
}

/* Hover-Effekte */
.quick-access li:hover a span,
.quick-access li:hover a i,
.quick-access li.beratung:hover span,
.quick-access li.beratung:hover i {
    background: rgba(73, 171, 73, 1);
    color: #fff;
}
