img {
  max-width: 100%; }

html {
  min-height: 100vh; }

body {
  min-height: 100vh;
  width:100vw;
  overflow-x:hidden;
  display:block;
  padding-bottom:100px;
  color: #666;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	font-family: "Red Hat Text";
	margin-top: 0;
}

h1, h2 {
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
}

h3 {
	font-size: 1.7rem;
	line-height: 1.2;
}

h5 {
	font-size: 0.8rem;
}

p {
	font-size: 0.9rem;
	line-height: 1.2;
	font-weight: 400;
	margin-top: 0;
	font-family: "Red Hat Text";
	margin-top: 0;
	margin-bottom: 2rem;
}

a {
	font-family: "Red Hat Text";
}

body .large {
	font-size: 1.5rem;
	line-height: 1.2;
	font-weight: 400;
	font-family: "Red Hat Text";
}

.italic {
	font-style: italic;
	font-size: 0.85rem;
}

.container {
	margin: 0 auto;
	padding: 0 1rem;
	transition: height 0.3s linear;
}

div.frame {
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  position: absolute;
  width: calc(70rem);
  transition: all 1s ease;
  display: block; }


  div.frame.step-1 .step:nth-child(1) > div {
    box-shadow: none; }
	
  div.frame.step-1 .step > div {}
	
  div.frame.step-1 .step:nth-child(1) > div {
    animation: first 0.4s 1 ease forwards; }
	
  div.frame.step-1.step-2 .step:nth-child(3) > div {
    animation: rotate 0.4s 1 ease forwards; }
	
  div.frame.step-1.step-2.step-3 .step:nth-child(4) > div {
    margin-top: 63.75rem;
    animation: rotate 0.4s 1 ease forwards;
    animation-delay: 0.4s;
  }
  
div.step:not(.step--0) {
	display: none;
}


@media(max-width:1023px){
	div.frame {
		transform: translate(-50%, -50%) scale(0.8);
		-webkit-transform: translate(-50%, -50%) scale(0.8);
	}
}
@media(max-width:699px){
	div.frame {
		transform: translate(-50%, -50%) scale(0.6);
		-webkit-transform: translate(-50%, -50%) scale(0.6);
	}
}
@media(max-width:599px){
	div.frame {
		transform: translate(-48%, -50%) scale(0.6);
		-webkit-transform: translate(-48%, -50%) scale(0.6);
	}
}
@media(max-width:499px){
	div.frame {
		transform: translate(-50%, -50%) scale(0.43);
		-webkit-transform: translate(-50%, -50%) scale(0.43);
	}
}
@media(max-width:369px){
	div.frame {
		transform: translate(-49%, -50%) scale(0.38);
		-webkit-transform: translate(-49%, -50%) scale(0.38);
	}
}


div.step {
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  position: absolute;
  margin: 0 auto;
  /* width: 51.25rem; */
  /* height: 25.625rem; */
  width: 63.75rem;
  height: 32rem;
  cursor:pointer;
  }
  div.step > div {
    margin: 0 auto;
    /* width: calc(51.25rem); */
    /* height: calc(25.625rem); */
	width: 63.75rem;
	height: 32rem;
    background-size: contain;
    cursor: pointer;
  }
	
  div.step div.envelope {
    background: url(../image/Umschlag_ohne_gruen.png);
    background-repeat: no-repeat;
    background-size: cover !important;
	filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    /* width: calc(56.25rem); */
    /* height: calc(28.5625rem); */
	width: 64rem;
    height: 32rem;
	
    left: 0;
    position: relative;
	top: 0;
}
div.step > .first-page .inner {
	padding: 3rem 3.1rem 3rem 2.5rem;
	text-align: right;
}

div.step > div.third-page .two-column .left {
	width: 100%;
	padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div.step > div.third-page .two-column .left p {
	font-size: 0.85rem;
	margin-bottom: 1rem;
	font-style: italic;
}

div.step > div.third-page .two-column .left p a {
	color: #666 !important;
	font-weight: bold;
	font-style: italic;
	text-decoration: none !important;
}

div.step > div.third-page .two-column .left .logo {
	max-width: 220px;
	margin-bottom: 2rem;
  align-self: center;
}

div.step > div.third-page .two-column .left .left__inner {
	/*column-count: 2;*/
  text-align: center;
  padding: 0 86px;
}

div.step > div.third-page .two-column .right {
	min-width: 240px;
	max-width: 240px;
	margin-left: 1rem;
	padding-left: 30px;
	padding-right: 30px;
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-bottom: 9%;
}

div.step > div.third-page .two-column .right .right__top .logo {
	max-width: 133px;
}

div.step > div.third-page .two-column .right .right__top {
	color: #004884;
}

div.step > div.third-page .two-column .right .right__top h5 {
	margin-bottom: 2rem;
}

div.step > div.third-page .two-column .right .right__top a {
	text-decoration: none !important;
	color:#004884; 
	font-size: .85rem;
	font-weight: 600;
}

div.step > div.third-page .two-column .right .right__bottom {
	display: flex;
    flex-wrap: wrap;
    width: calc( 100% + 1rem );
	justify-content: center;
}

div.step > div.third-page .two-column .right .right__bottom img {
    width: calc( 50% - 1rem );
	margin-right: 1rem;
	margin-top: 1rem;
}

div.step > div.third-page .two-column .right::after {
	content: "";
	position: absolute;
	top: -3rem;
	height: 29rem;
	width: 100%;
	background-color: #d3ebf7;
	left: 0;
	z-index: -1;
}

div.step > div.third-page .two-column .right::before {
	content: "";
	position: absolute;
	top: calc( 29rem - 97px );
    left: -1px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 50px 0 0 50px;
	border-color: transparent transparent transparent #ffffff;
	z-index: 1;
}

div.step .two-column {
	padding: 3rem 1.5rem;
	display: flex;
	height: calc( 100% - 6rem );
	border-top: 1px solid rgba( 0, 0, 0, 0.1 );
}

div.step .subscription {
	display: flex;
	flex-wrap: wrap;
	width: calc( 100% + 1rem );
	max-width: 400px;
    margin: 0 auto;
	margin-top: -3rem;
}

div.step .subscription .wrap {
	text-align: center;
	width: calc( 50% - 1rem );
	font-size: 1.25rem;
	margin-right: 1rem;
}

div.step .subscription .wrap .title {
	margin-top: -1rem;
	font-family: "Red Hat Text";
	font-size: 0.9rem;
    line-height: 1.2;
}

div.step .subscription .wrap img {
	width: 90%;
	margin-bottom: -1.6rem;
}

div.step .second-page .two-column .column {
	width: 50%;
	color: #fff;
}

div.step .second-page .two-column .column:nth-child(1) {
	padding-right: 1rem;
}

div.step .second-page .two-column .column:nth-child(2) {
	padding-left: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
	
div.second-page a.content-link{
    /* background: rgba(255,255,255,0.2); */
    position: absolute;
  bottom: 3%;
    left: 3%;
    width: 20%;
    box-sizing: border-box;
    height: 5%;
    padding-top: 90%;
    padding: 8px;
    text-align: right;
    display: block;
    text-decoration: underline;
    font-family: "Red Hat Text";
    color: #FFF;
    font-weight: 100;
    font-size: 11px;
	opacity:0;
	transition: opacity 0.2s ease;
}
div.second-page:hover a.content-link{
	opacity:1;
}

div.third-page:after,
div.first-page:after,
div.second-page:after{
	content: "(Klick)";
	color:#fff;
	font-size:10px;
	width:50px;
	height:50px;
	padding-left:35px;
	background:url(./img/klapp.png) no-repeat center left transparent;
	background-size:contain;
	position: absolute;
	bottom:-20px;
	right:-60px;
	font-family: "Red Hat Text";
	display:block;
	opacity:0;
	transition: all 0.2s ease 1s;
	will-change: opacity;
}

/* div.first-page:after, */
/* div.second-page:after{ */
	/* display: none; */
/* } */

@keyframes opacwechsel{
	0%{opacity: 1;}
	50%{opacity: .3;}
	100%{opacity: 1;}
}
@-webkit-keyframes opacwechsel{
	0%{opacity: 1;}
	50%{opacity: .3;}
	100%{opacity: 1;}
}

div.third-page:after{
    content: "zur Confero Group";
    width: 50px;
    bottom: 0px;
    background-size: 50px auto;
    right: -80px;
    background-image: url(./img/klapp2.png);
    padding-left: 50px;
    padding-top: 15px;
}

.step-3 div.third-page:after,
.step-2 div.second-page:after,
.step-1 div.first-page:after{
	opacity:1;
	/* animation-duration:1.5s; */
	/* animation-name:opacwechsel; */
	/* animation-timing-function: ease; */
	/* animation-iteration-count:infinite; */
}

.step-3 div.second-page:after,
.step-2 div.first-page:after{
	display:none !important;
}



  div.step div.first-page {
    /* background: url(img/seite1-retina.png); */
	/* background-repeat:no-repeat; */
    /* background-size: contain; */
	background-color: #3AAA35;
  }
  div.step > div.second-page {
    background: url(./img/seite2-2023.png); 
    background-size: cover;
	  background-repeat:no-repeat; 
	background-color: #3AAA35;
    margin-top: 32rem;
    transform-origin: top center;
    transform: perspective(405px) rotateX(-180deg); }

    div.step > div.second-page .two-column{
      display:none;
}

  div.step > div.third-page {
    /* background: url(img/seite3-retina.png); */
    /* background-size: contain; */
	/* background-repeat:no-repeat; */
	background-color: #fff;
    transform-origin: top center;
    transform: perspective(405px) rotateX(-180deg);
    margin-top: 32rem; }

div.step:nth-child(1) {
  z-index: 100;
  color: #fff;
}

div.step:nth-child(2) {
  z-index: 90;
  color: #fff;
}

div.step:nth-child(3) {
  z-index: 80;
  /* background-color: #fff !important; */
}

div.step:nth-child(4) {
  z-index: 70; }

@keyframes first {
  0% {
    transform: translate(0px, 0px); }
  100% {
    transform: translate(-105%, 0px); } }

@keyframes rotate {
  0% {
    transform: perspective(405px) rotateX(-180deg); }
  100% {
    transform: perspective(0px) rotateX(0deg); } }

 .bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    background-size: cover !important;
}

#snowflakes .flake::before {
	top: 50% !important;
	left: 43% !important;
	transform: translate( -50%, -50% ) !important;
	background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 46%, rgba(255,255,255,0) 79%) !important;
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.8) 0%,rgba(255,255,255,0) 46%,rgba(255,255,255,0) 79%) !important;
	background: radial-gradient(ellipse at center,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0) 55%,rgba(255,255,255,0) 80%) !important;
	
}

#snowflakes .flake > .inner-container {
	width: 80% !important;
	height: 80% !important;
	opacity: 1;
}



#sternschnuppe.start {
    top: 60vh;
    left: -100%;
}
#sternschnuppe {
    display: block;
    width: 20px;
    position: absolute;
    height: 20px;
    background: url(../image/stern.png) no-repeat center transparent;
    background-size: contain;
    border-radius: 100%;
    transition: all 10s ease-in 1s;
    top: 0vh;
    left: 110%;
    z-index: 999999;
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.stars, .twinkling{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars {
  background:url(../image/stars.png) repeat top center;
  z-index:0;
  
  mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
	
}

.twinkling{
  background:transparent url(../image/twinkling.png) repeat top center;
  z-index:1;

background-blend-mode: multiply;


  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}

div.column{
	margin-top: -30px;
}

@media(max-width: 1023px) {
  .step--2 .column p,
  .step--2 .column p strong,
  .step--2 .column p span {
    font-family: "Red Hat Text", sans-serif !important;
  }
}

@media(max-width: 699px) {
  .step--2 .column p,
  .step--2 .column p strong,
  .step--2 .column p span {
    font-family: "Red Hat Text", sans-serif !important;
  }
}

/* Füge bei Bedarf weitere Media Queries hinzu */
