/* 
Theme Name: Supersaxo Media AG – Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child Theme.
Author: Supersaxo Media AG
Author URI: https://www.supersaxo.media/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Custom Styles Valpix */

html, body {
	font-size: 17px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.home:not(.scrolling) #main-nav {
	position: fixed;
	background: transparent;
	box-shadow: none;
}
.logged-in.home:not(.scrolling) #main-nav {
	top: 32px;
}
.scrolling #main-nav .e-con-inner {
  	padding-top: 28px !important;
  	padding-bottom: 20px !important;
}
.logo-sub img {
	-webkit-transition: .3s ease-out;
	-moz-transition: .3s ease-out;
	-o-transition: .3s ease-out;
	transition: .3s ease-out;
}
.scrolling .logo-sub img {
  	width: 210px !important;
}
.home #main-nav .logo-white {
	display: none;
}
.home:not(.scrolling) #main-nav .logo-white  {
	display: block;
}
.home:not(.scrolling) #main-nav * {
	color: #fff !important;
	fill: #fff !important;
}
.home:not(.scrolling) #main-nav .elementor-item:after {
	background-color: #fff !important;
}
.home:not(.scrolling) #main-nav {
	background: rgba(0, 0, 0, 0.8);
	background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 49%, rgba(0, 0, 0, 0) 100%);
	background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 49%, rgba(0, 0, 0, 0) 100%);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 49%, rgba(0, 0, 0, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000CC", endColorstr="#000000", GradientType=0);
}
.home:not(.scrolling) #main-nav .logo-sub:not(.logo-white) {
	display: none;
}
.home .section-hero{
    height: 90vh;
    min-height: 700px;
}
.home .section-hero h2 {
	color: #fff;
	font-size: 53px;
}
.home .section-hero p {
	color: #fff;
	font-size: 22px;
}
ol + p, ul + p {
  	margin-top: 30px;
}
h3 {
	margin-bottom: 15px;
}
p + h3 {
  	margin-top: 30px;	
}
nav {
	top: 0;
	-webkit-transition: .2s ease-out;
	-moz-transition: .2s ease-out;
	-o-transition: .2s ease-out;
	transition: .2s ease-out;
}
.scrolling nav {
	top: -10px;
	position: relative;
}
.breadcrumbs * {
	color: #fff;
	font-size: 15px;
}
.breadcrumbs span span:not(:last-child) {
  	margin-right: 3px;
}
.breadcrumbs span span:not(:first-child) {
  	margin-left: 3px;
}
.breadcrumbs span span:first-child a:before {
  	content: '';
	position: absolute;
	background-image: url('assets/img/home.svg');
	background-size: cover;
	background-position: center;
	width: 13px;
  	height: 13px;
  	top: 6px;
  	left: 0;
}
.breadcrumbs span span:first-child a {
	padding-left: 20px;
}
.seperator {
	font-size: 13px;
	top: -2px;
	position: relative;
}
b, strong {
  	font-weight: 800;
}
.page-content section:not(.section-hero), .elementor-page section:not(.section-hero, .section-contact), .single section:not(.section-hero), footer {
  	margin-top: 100px;
}
.page-content section.mt-small, .elementor-page section.mt-small {
	margin-top: 50px;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  	margin-top: 0;
}
h1 {
	position: relative;
	margin-bottom: 30px;
}
h1::after {
  	content: '';
  	position: absolute;
  	bottom: -15px;
  	width: 60px;
  	height: 4px;
  	background: var( --e-global-color-primary );
  	left: 0;
	border-radius: 2px;
}
.section-hero h1 {
  	color: #fff;
}
.section-hero h1::after {
  	background: #fff;
}
.credits ul {
  	display: flex;
  	list-style-type: none;
  	gap: 30px;
  	padding: 0;
	font-size: 15px;
}
.elementor-button, nav a {
  	text-decoration: none !important;
}
.lead p {
	font-size: 22px;
	font-weight: 700;
	color: var(--e-global-color-primary);
}
.lead {
	margin-bottom: 30px;
}
.cta-image, .team-image, .statement-image {
	margin-bottom: 30px;
}
.subpage-container .elementor-widget-image {
	padding-top: 100%;
	overflow: hidden;
}
.subpage-container img {
	height: 100% !important;
	width: 100% !important;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	object-fit: cover;
	transform: scale(1.02);
	transition: all .3s ease-in-out !important;
}
.subpage-container {
	border-radius: 0;
	overflow: hidden;
}
.topics-container .page-title p::after, .subpage-container .page-title p::after {
  	font-family: "Font Awesome 5 Free";
  	font-weight: 900;
  	content: "\f054";
	margin-left: 12px;
	display: inline;
}
.breadcrumbs a, .elementor-button, footer a, footer h5 {
	color: #fff !important;
}
.elementor-field-label {
  	font-size: 17px;
}
.section-intro {
  	margin-top: 150px !important;
  	margin-bottom: 150px !important;
}
.section-intro h1::after {
  	display: none;
}
.section-intro h1 {
	margin-bottom: 20px;
}
.elementor-widget-button {
	margin-top: 35px;
}
.cta-sidebar .elementor-widget-button {
  margin-top: 0 !important;
}

.section-topics .e-loop-item:nth-of-type(1) .elementor-container:before,
.section-topics .e-loop-item:nth-of-type(6) .elementor-container:before {
    padding-top: calc(50% - 15px)
}

.subpage-container {
  border-radius: 12px !important;
  overflow: hidden !important;
}
.subpage-container img {
  margin: 0 !important;
}

.section-topics .e-loop-item .elementor-container:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.section-topics .e-loop-item:hover .title-container {
  background-color: var( --e-global-color-primary ) !important;
}

.page-listing-image {
  height: 100%;
}

.section-topics section {
	margin-top: 0 !important;
}
.section-topics .page-listing-image img {
  height: 100% !important;
  width: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
	transition: all .3s ease-in-out !important;
}
.topics-container .elementor-loop-container {
  right: -15px !important;
  position: relative;
}
.section-topics h5 {
    margin-bottom: 0;
    color: #fff;
}
.topics-container .e-loop-item {
  border-radius: 12px;
  overflow: hidden;
}

input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
  padding: 13px 10px !important;
}
.cta-box-content .elementor-widget-button {
  margin-top: 0;
}
.elementor-field-type-acceptance {
  margin-bottom: 5px !important;
}
.elementor-field-type-submit {
	margin-top: 20px;
}

.e-loop-item:not(.mitarbeiterstatement, .ansprechpartner, .teammitglied):hover img, .subpage-container:hover img {
  	transform: scale(1.05);
}

.fadeInUp {
  	animation-name:fadeInUpCustom!important
}
.animated {
  	animation-duration:1.5s!important
}
@keyframes fadeInUpCustom {
  from {
    opacity:0;
    transform:translate3d(0,40px,0)
  }
  to {
    opacity:1;
    transform:none
  }
}

.team-image, .cta-image {
    margin-bottom: 20px !important;
    position: relative;
}

.team-image::before, .statement-image::before, .cta-image::before {
	content: '';
	background: #F2F2F2;
	background: -webkit-linear-gradient(0deg, rgba(242, 242, 242, 1) 0%, rgba(242, 242, 242, 0) 100%);
	background: -moz-linear-gradient(0deg, rgba(242, 242, 242, 1) 0%, rgba(242, 242, 242, 0) 100%);
	background: linear-gradient(0deg, rgba(242, 242, 242, 1) 0%, rgba(242, 242, 242, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F2F2F2", endColorstr="#F2F2F2", GradientType=0);
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	height: 50%;
	width: 100%;
}



/* Basis-Grid mit 3 Spalten und Abstand rechts/unten */
.section-topics .grid-sizer,
.section-topics .e-loop-item {
  width: calc(33.333% - 30px);  /* 3 Spalten minus spacing */
  margin-right: 30px !important;
  margin-bottom: 30px !important;
  float: left;
  display: block !important;
  height: auto;
}

/* Container fixen (Masonry braucht clear) */
.section-topics .topics-container::after {
  content: "";
  display: block;
  clear: both;
}

/* Big-Width (2 Spalten breit) */
.section-topics .e-loop-item:nth-of-type(1),
.section-topics .e-loop-item:nth-of-type(6) {
  width: calc(66.666% - 30px);
}

/* Big-Height: via ::before Trick */
.section-topics .e-loop-item:nth-of-type(2) .elementor-container::before {
  content: "";
  display: block;
  padding-top: calc(200% + 30px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .section-topics .grid-sizer,
  .section-topics .e-loop-item {
    width: calc(50% - 30px);
  }
  .section-topics .e-loop-item:nth-of-type(1),
  .section-topics .e-loop-item:nth-of-type(6) {
    width: calc(100% - 30px);
  }
  .section-topics .e-loop-item:nth-of-type(2) .elementor-container::before {
    padding-top: 100% !important; /* auf kleineren Screens normal */
  }
}

@media (max-width: 767px) {
	.section-topics .e-loop-item:nth-of-type(1) .elementor-container:before,
	.section-topics .e-loop-item:nth-of-type(6) .elementor-container:before {
		padding-top: calc(100% - 15px)
	}
}
@media (max-width: 640px) {
  .section-topics .grid-sizer,
  .section-topics .e-loop-item,
  .section-topics .e-loop-item:nth-of-type(1),
  .section-topics .e-loop-item:nth-of-type(6) {
    width: calc(100% - 30px);
    margin-right: 0 !important;
  }
}








@media screen and (max-width: 1600px) {
	.e-con-full.e-parent, .e-con-boxed.e-parent .e-con-inner {
  		padding-left: 48px;
  		padding-right: 48px;
	}
	.e-con-full.section-fullwidth {
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (max-width: 1200px) {
	.e-con-full.e-parent, .e-con-boxed.e-parent .e-con-inner {
		padding-left: 40px;
		padding-right: 40px;
	}
	.e-con-full.section-fullwidth, .dialog-widget .e-con-boxed.e-parent .e-con-inner, .subpage-container .e-con-inner{
		padding-left: 0;
		padding-right: 0;
	}
	.scrolling nav {
	  	top: 0;
	}
	.scrolling #main-nav .e-con-inner {
	  	padding-top: 20px !important;
	}
}
@media screen and (max-width: 768px) {
	html, body {
		font-size: 17px;
	}
	.scrolling .logo-sub img {
	  	width: 150px !important;
	}
	.lead p {
	  	font-size: 19px;
	}
	.e-con-full.e-parent, .e-con-boxed.e-parent .e-con-inner {
  		padding-left: 20px;
  		padding-right: 20px;
	}
	.e-con-full.section-fullwidth, .dialog-widget .e-con-boxed.e-parent .e-con-inner, .e-con-boxed.subpage-container .e-con-inner{
		padding-left: 0;
		padding-right: 0;
	}
	.page-content section:not(.section-hero), .elementor-page section:not(.section-hero), footer {
		margin-top: 50px;
	}
	.page-content section.mt-small, .elementor-page section.mt-small {
		margin-top: 30px;
	}
}
@media screen and (max-width: 767px) {
	.subpage-container .elementor-widget-image {
		padding-top: 0;
	}
	.section-topics .grid-sizer, .section-topics .e-loop-item, .section-topics .e-loop-item:nth-of-type(1), .section-topics .e-loop-item:nth-of-type(6) {
        width: calc(100% - 30px);
        margin-right: 0 !important;
    }
}