
/* ### Hervorhebung Menü je nach Seite - current page ### */
a.menue-company{
	color:#229fc2 !important;
}

/* ### CFN SEITE  ### */

#cfnFirst{
	z-index:1;
	margin-top:-70px !important;
	position:relative;
}
/*  HINTERGRUND BILD UND KAMERA SCHWENK */
#cfnFirst:before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 115%;
    height: 115%;
    background-image: url(/wp-content/uploads/cfn/cfn-bg.webp);
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: rotateBackground 6s infinite alternate;
}
@keyframes rotateBackground {
    0% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1.1) rotate(0deg);
    }
}
/*  Mobile  version */
@keyframes mobilePan {
    0% {
        transform: scale(1.08) translateX(0);
    }
    100% {
        transform: scale(1.08) translateX(-50vw);
    }
}
@media (max-width: 1000px) {

#cfnFirst:before {
    height: 100vh;
    width: 170vw;
    animation: mobilePan 15s infinite alternate cubic-bezier(.45,.05,.55,.95);
}
} /* MOBILE ENDE */











.cfn-overlay{ 
	position:relative; 
	z-index:3; 
	background-color:#fff; 
}
.one-network{
	padding-right:3rem;
}

/* ### CFN SLIDER  ### */
.cfn-slider{
	display:flex;
	gap:1.5rem;
	align-items:center;
	flex-direction: row;
}
.cfn-slider p{
	
}
.cfn-slider img{
	border-radius:50%;
	width:100px;
	height:100px;
	object-fit:cover;
}


/* FAKTEN HORIZIONTAL SCROLL */
.fakten-horiz{
	position:relative;
	z-index:10;
	display:flex;
	flex-direction: row;
	justify-content: center;
	width:90vw;
	margin:0 auto 0  auto;
  margin-left: 30vw; 
}
@media (max-width: 2100px) {
.fakten-horiz {
    justify-content: space-evenly;
}
}
.fakten-item{
	width:20%;
}
.fakten-item h2 {
    font-size: 2.3rem !important;
    line-height: normal !important;
	margin-bottom:6px;
}
.fakten-item img{
		width:70px;
	margin-bottom:-30px;
}	


.cfn-infobox{
	height:auto;
	padding:1.5rem 0rem;
	display:block;
	margin-bottom:100px !important;
	align-items:center;
}
.cfn-infobox.first{
	margin-top:20px !important;
}

.cfn-logo{
	max-width: 350px !important; 
}
.white{
	color: #fff !important;
}
.sub-small{
	font-size: 2.3rem !important;
	line-height:3rem !important;
}
.cfn-sebastian{
	border-radius:50%;
}

h2.Become-abstand-oben {
	margin-top:-14px;
}

.scroll-swap {
  position: relative;
  width: 100%;    
  aspect-ratio: 16/9;
}
.swap-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.image-1 {
  opacity: 1;
  z-index: 1;
}
.image-2 {
  opacity: 0;
  z-index: 2;
}

@media only screen and (max-width:1000px) {
	
	/* ### CFN ### */
	.cfn-sebastian {
   max-width: 50% !important;
}
	.cfn-logo{
	max-width: 285px !important;	}
	.sub-small {
    font-size: 1.6rem !important;
    line-height: 2.2rem !important;
}
	.sebastian-name div p{
		text-align: left !important;
	}
	.one-network {
    padding-right: 0rem;
}
	.cfn-infobox {
 margin: 0px 0px 50px 0px !important;
}
	
.fakten-horiz{
	flex-wrap: wrap;
	gap:20px;
	justify-content:center;
}
#side-effekt {
    margin-top: 0px;
}
.fakten-item{
	width:40%;
	margin-bottom:20px;
}
.fakten-item h2 {
    font-size: 1.25rem !important;
	margin-top:10px;
}	
	.owl-item{
		width:290px  !important;
	}	
	
}
