

body {
    font-family: Arial, sans-serif;
}
body {
    margin: 0px;
}
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
       -o-box-sizing: border-box;
          box-sizing: border-box;
}
#clicktag {
    cursor: pointer;
}

/* Fläche im CTA weiss fuellen */
#clicktag:hover .cta .txtline {
    z-index: inherit;
    width: 181px;
    height: 1px;
    -webkit-transition: width 0.3s ease-out 0s;
    transition: width 0.3s ease-out 0s;
    visibility: visible;
}

#ad {
    background-color: #e10a1a;
    border: 1px solid #bebebe;
    display: block;
    overflow: hidden;
    position: absolute;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 300px;
    height: 250px;
    top: 0;
    left: 0;
    cursor: pointer;
}

.frame1 {
    position: absolute;
    overflow: visible;
    left: 0px;
    top: 0px;
    width: 300px;
    height: 250px;
    opacity:1;
    -webkit-animation: fadeOut 0.5s linear 14.5s 1 normal forwards;
    -moz-animation: fadeOut 0.5s linear 14.5s 1 normal forwards;
    -ms-animation: fadeOut 0.5s linear 14.5s 1 normal forwards;
    -o-animation: fadeOut 0.5s linear 14.5s 1 normal forwards;
    animation: fadeOut 0.5s linear 14.5s 1 normal forwards;
}

.logo {
    z-index: 1;
    background-image: url("../images/logo.svg");
    background-size: 134px 41px;
    background-repeat: no-repeat;
    position: absolute;
    left: 14px;
    top: 10px;
    width: 134px;
    height: 41px;
    opacity:1;
}

.form1 {
    z-index: 2;
    background-image: url("../images/form1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 150px;
    top: 89px;
    height: 102px;
    width: 401px;
    opacity:0;
    -webkit-animation: moveInfromRight .3s linear 1s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -moz-animation: moveInfromRight .3s linear 1s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -ms-animation: moveInfromRight .3s linear 1s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -o-animation: moveInfromRight .3s linear 1s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    animation: moveInfromRight .3s linear 1s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
}

.form1shw {
    z-index: 1;
    background-image: url("../images/form1shw.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 2px;
    top: 0px;
    width: 409px;
    height: 110px;
    opacity:1;
}

.headline1 {
    z-index: 3;
    background-image: url("../images/headline1.svg");
    background-size: 69px 11px;
    background-repeat: no-repeat;
    position: absolute;
    left: 14px;
    top: 114px;
    width: 69px;
    height: 11px;
    opacity:0;
    -webkit-animation: moveInfromRight .4s linear 1.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -moz-animation: moveInfromRight .4s linear 1.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -ms-animation: moveInfromRight .4s linear 1.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -o-animation: moveInfromRight .4s linear 1.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    animation: moveInfromRight .4s linear 1.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
}

.headline2 {
    z-index: 3;
    background-image: url("../images/headline2.svg");
    background-size: 99px 13px;
    background-repeat: no-repeat;
    position: absolute;
    left: 14px;
    top: 134px;
    width: 99px;
    height: 13px;
    opacity:0;
    -webkit-animation: moveInfromRight .4s linear 2s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -moz-animation: moveInfromRight .4s linear 2s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -ms-animation: moveInfromRight .4s linear 2s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -o-animation: moveInfromRight .4s linear 2s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    animation: moveInfromRight .4s linear 2s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
}

.headline3 {
    z-index: 3;
    background-image: url("../images/headline3.svg");
    background-size: 88px 11px;
    background-repeat: no-repeat;
    position: absolute;
    left: 14px;
    top: 156px;
    width: 88px;
    height: 11px;
    opacity:0;
    -webkit-animation: moveInfromRight .4s linear 2.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -moz-animation: moveInfromRight .4s linear 2.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -ms-animation: moveInfromRight .4s linear 2.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    -o-animation: moveInfromRight .4s linear 2.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
    animation: moveInfromRight .4s linear 2.5s 1 normal forwards, moveOutToLeft .4s linear 5s 1 normal forwards;
}

.form2 {
    z-index: 4;
    background-image: url("../images/form2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 124px;
    top: 89px;
    height: 102px;
    width: 400px;
    opacity:0;
    -webkit-animation: moveInfromLeft .4s linear 1.5s 1 normal forwards, moveOutToRight .4s linear 5s 1 normal forwards;
    -moz-animation: moveInfromLeft .4s linear 1.5s 1 normal forwards, moveOutToRight .4s linear 5s 1 normal forwards;
    -ms-animation: moveInfromLeft .4s linear 1.5s 1 normal forwards, moveOutToRight .4s linear 5s 1 normal forwards;
    -o-animation: moveInfromLeft .4s linear 1.5s 1 normal forwards, moveOutToRight .4s linear 5s 1 normal forwards;
    animation: moveInfromLeft .4s linear 1.5s 1 normal forwards, moveOutToRight .4s linear 5s 1 normal forwards;
}

.form2shw {
    z-index: 1;
    background-image: url("../images/form2shw.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -4px;
    top: -2px;
    width: 408px;
    height: 110px;
    opacity:1;
}

.stab {
    z-index: 10;
    background-image: url("../images/stab.png");
    background-size: 53px 478px;
    background-repeat: no-repeat;
    position: absolute;
    left: 200px;
    top: 15px;
    width: 53px;
    height: 478px;
    opacity:0;
    -webkit-animation: moveInfromBottom 2s linear 0.5s 1 normal forwards, moveOutToBottom .4s linear 5s 1 normal forwards;
    -moz-animation: moveInfromBottom 2s linear 0.5s 1 normal forwards, moveOutToBottom .4s linear 5s 1 normal forwards;
    -ms-animation: moveInfromBottom 2s linear 0.5s 1 normal forwards, moveOutToBottom .4s linear 5s 1 normal forwards;
    -o-animation: moveInfromBottom 2s linear 0.5s 1 normal forwards, moveOutToBottom .4s linear 5s 1 normal forwards;
    animation: moveInfromBottom 2s linear 0.5s 1 normal forwards, moveOutToBottom .4s linear 5s 1 normal forwards;
}

.subline1 {
    z-index: 3;
    background-image: url("../images/subline1.svg");
    background-size: 248px 17px;
    background-repeat: no-repeat;
    position: absolute;
    left: 25px;
    top: 90px;
    width: 248px;
    height: 17px;
    opacity:0;
    -webkit-animation: moveInfromLeft .5s linear 5s 1 normal forwards;
    -moz-animation: moveInfromLeft .5s linear 5s 1 normal forwards;
    -ms-animation: moveInfromLeft .5s linear 5s 1 normal forwards;
    -o-animation: moveInfromLeft .5s linear 5s 1 normal forwards;
    animation: moveInfromLeft .5s linear 5s 1 normal forwards;
}

.subline2 {
    z-index: 3;
    background-image: url("../images/subline2.svg");
    background-size: 169px 17px;
    background-repeat: no-repeat;
    position: absolute;
    left: 67px;
    top: 112px;
    width: 169px;
    height: 17px;
    opacity:0;
    -webkit-animation: moveInfromLeft .5s linear 5.3s 1 normal forwards;
    -moz-animation: moveInfromLeft .5s linear 5.3s 1 normal forwards;
    -ms-animation: moveInfromLeft .5s linear 5.3s 1 normal forwards;
    -o-animation: moveInfromLeft .5s linear 5.3s 1 normal forwards;
    animation: moveInfromLeft .5s linear 5.3s 1 normal forwards;
}

.cta {
    z-index: 1;
    border-radius: 5px;
    background-color: #ffffff;
    position: absolute;
    left: 37px;
    top: 159px;
    width: 226px;
    height: 39px;
    opacity:0;
    -webkit-animation: ctaMoveIn 1s linear 5s 1 normal forwards, ctaMove 1s linear 8s 2 normal forwards, ctaMove 1s linear 12s 2 normal forwards;
    -moz-animation: ctaMoveIn 1s linear 5s 1 normal forwards, ctaMove 1s linear 8s 2 normal forwards, ctaMove 1s linear 12s 2 normal forwards;
    -ms-animation: ctaMoveIn 1s linear 5s 1 normal forwards, ctaMove 1s linear 8s 2 normal forwards, ctaMove 1s linear 12s 2 normal forwards;
    -o-animation: ctaMoveIn 1s linear 5s 1 normal forwards, ctaMove 1s linear 8s 2 normal forwards, ctaMove 1s linear 12s 2 normal forwards;
    animation: ctaMoveIn 1s linear 5s 1 normal forwards, ctaMove 1s linear 8s 2 normal forwards, ctaMove 1s linear 12s 2 normal forwards;
}

.ctatxt {
    z-index: inherit;
    background-image: url("../images/ctatxt.svg");
    background-size: 180px 14px;
    background-repeat: no-repeat;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    width: 180px;
    height: 14px;
}

.txtline {
    z-index: inherit;
    background-color: #e10a1a;
    position: absolute;
    bottom: 7px;
    left: 23px;
    width: 0;
    height: 1px;
    -webkit-transition: width 0.3s ease-in 0s;
    -moz-transition: width 0.3s ease-in 0s;
    -ms-transition: width 0.3s ease-in 0s;
    -o-transition: width 0.3s ease-in 0s;
    transition: width 0.3s ease-in 0s, background-color 4s linear 0s;
}


/* Animation */


@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes moveInfromBottom {
    0% {
        opacity: 0;
        -webkit-transform: translate(50px,600px) rotate(-45deg);
    }
    75% {
        opacity: 1;
        -webkit-transform: translate(10px,-100px) ;
    }
    100% {
        opacity: 1;
        -webkit-transform: translate(0,0); 
    }
}
@keyframes moveInfromBottom {
    0% {
        opacity: 0;
        transform: translate(50px,600px) rotate(-45deg);
    }
    75% {
        opacity: 1;
        transform: translate(10px,-100px) ;
    }
    100% {
        opacity: 1;
        transform: translate(0,0); 
    }
}

@-webkit-keyframes moveOutToBottom {
    0% {
        opacity: 1;
        -webkit-transform: translate(0,0); 
    }
    100% {
        opacity: o;
        -webkit-transform: translate(50px,600px) rotate(-45deg);
    }
}
@keyframes moveOutToBottom {
    0% {
        opacity: 1;
        transform: translate(0,0); 
    }
    100% {
        opacity: 0;
        transform: translate(50px,600px) rotate(-45deg);
    }
}

@-webkit-keyframes moveInfromRight {
    0% {
        opacity: 0;
        -webkit-transform: translate(-100px,0); 
    }
    100% {
        opacity: 1;
        -webkit-transform: translate(0,0); 
    }
}
@keyframes moveInfromRight {
    0% {
        opacity: 0;
        transform: translate(-100px,0); 
    }
    100% {
        opacity: 1;
        transform: translate(0,0); 
    }
}

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

@-webkit-keyframes moveOutToRight {
    0% {
        -webkit-transform: translate(0,0);
    }
    100% {
        -webkit-transform: translate(200px,0);
    }
}
@keyframes moveOutToRight {
    0% {
        transform: translate(0,0);
    }
    100% {
        transform: translate(200px,0);
    }
}

@-webkit-keyframes moveInfromLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate(100px,0); 
    }
    100% {
        opacity: 1;
        -webkit-transform: translate(0,0); 
    }
}
@keyframes moveInfromLeft {
    0% {
        opacity: 0;
        transform: translate(100px,0); 
    }
    100% {
        opacity: 1;
        transform: translate(0,0); 
    }
}

@-webkit-keyframes moveOutToLeft {
    0% {
        -webkit-transform: translate(0,0);
    }
    100% {
        -webkit-transform: translate(-200px,0);
    }
}
@keyframes moveOutToLeft {
    0% {
        transform: translate(0,0);
    }
    100% {
        transform: translate(-200px,0);
    }
}

@-webkit-keyframes ctaMoveIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
    }
    75% {
        opacity: 1;
        -webkit-transform: scale(1.2);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}
@keyframes ctaMoveIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    75% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes ctaMove {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
    15% {
        opacity: 1;
        -webkit-transform: scale(0.8);
    }
    30% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}
@keyframes ctaMove {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    15% {
        opacity: 1;
       transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
