/*******************************************************************************
 * FONTS
 ******************************************************************************/
/* ruthie-regular - latin */
@font-face {
    font-family: 'Ruthie';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ruthie-v13-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ruthie-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ruthie-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ruthie-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ruthie-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ruthie-v13-latin-regular.svg#Ruthie') format('svg'); /* Legacy iOS */
}
/* trochut-regular - latin */
@font-face {
    font-family: 'Trochut';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/trochut-v10-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/trochut-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/trochut-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/trochut-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/trochut-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/trochut-v10-latin-regular.svg#Trochut') format('svg'); /* Legacy iOS */
}
/* abel-regular - latin */
@font-face {
    font-family: 'Abel';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/abel-v12-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/abel-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/abel-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/abel-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/abel-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/abel-v12-latin-regular.svg#Abel') format('svg'); /* Legacy iOS */
}

/*******************************************************************************
 * STANDARD
 ******************************************************************************/
body {
    background-color: #11151c;
    color: #fff;
    font-family: Abel;
}
p {
    font-size: 1.5em;
    margin: 1.0rem 0 1.5rem 0;
    line-height: 1.5;
}
/* Ab Tablet wieder etwas kleinere Schriftgröße */
@media (min-width: 768px) {
    p {
        font-size: 1.25em;
    }
}
ul {
    list-style: none;
}

/*******************************************************************************
 * FARBEN
 ******************************************************************************/
/*
    #11151c     rick black fogra 29         Background
    #212D40	    prussian blue
    #364156     charcoal
    #7d4e57	    tuscan red
    #d66853	    copper red
*/

/*******************************************************************************
 * GRADIENT
 ******************************************************************************/
.border-gradient {
    border-image-slice: 1;
    border-image-source: linear-gradient(42deg, #11151c, #d66853);
    border-style: solid;
    border-width: 3px;
}
.border-white {
    border-color: #fff;
    border-style: solid;
    border-width: 3px;
}
.border-bottom-only {
    border-top: 0;
    border-left: 0;
    border-right: 0;
}
.border-top-only {
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}
.back-gradient {
    background-image: linear-gradient(42deg, #11151c, #d66853);
}
.back-tuscan {
    background-color: #7d4e57;
}

/*******************************************************************************
 * CSS-Klassen um Elemente einfach verstecken zu können
 ******************************************************************************/
.hide {
    display: none
}
@media(max-width:767px){
    .hide-sm {
        display: none !important;
    }
}
@media(min-width:768px) and (max-width:1023px){
    .hide-md {
        display: none !important;
    }
}
@media(min-width:1024px){
    .hide-lg {
        display: none !important;
    }
}
@media screen and (min-width: 767px)  {
    .mobile-break { display: none; }
}
@media screen and (max-width: 767px)  {
    .no-mobile-break { display: none; }
}

/*******************************************************************************
 * MARGIN & PADDING
 ******************************************************************************/
.padding-default {
    padding: 10px 20px;
}

/*******************************************************************************
 * TEXT-TRANSFORMATION
 ******************************************************************************/

/*******************************************************************************
 * ÜBERSCHRIFTEN
 ******************************************************************************/
h1 {
    font-family: Trochut;
    font-size: 2.25em;
    margin: 0;
}
h2 {
    font-family: Trochut;
    font-size: 2em;
    margin: 0;
}
h3 {
    font-size: 1.75em;
    margin: 0;
}
/* Ab Tablet */
@media (min-width: 768px) {
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.75em;
    }
}
.demo-subheader {
    color: #d66853;
}

/*******************************************************************************
 * HYPERLINKS
 ******************************************************************************/
a, a:active, a:visited, a:focus {
    color: #d66853;
    text-decoration: none;
}
a:hover {
    color: #d66853;
    text-decoration: underline;
}
.section-anchor {
    display: block;
    position: relative;
    top: -30px;
    visibility: hidden;
}
@media (min-width: 768px) {
    .section-anchor {
        top: -100px;
    }
}

/*******************************************************************************
 * HEADER INKLUSIVE NAVIGATION / BURGER-NAVIGATION
 ******************************************************************************/
.header {
    background-color: #11151c;
    border-width: 6px;
    font-family: Trochut;
    position: fixed;
    top: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
    z-index: 5;
}
.nav-up {
    top: -82px;
}
.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #11151c;
    font-size: 1.25em;
}
.header li {
    margin: 0;
    text-align: center;
}
.header li a {
    display: block;
    padding: 20px 20px;
    text-decoration: none;
    background-image: linear-gradient(42deg, #11151c, #11151c);
    color: #d66853;
    font-size: 1.25em;
}
.header li a:hover,
.header .menu-btn:hover {
    background-image: linear-gradient(42deg, #11151c, #d66853);
    color: #fff;
    font-size: 1.35em;
}
.header .menu .icon {
    color: #7d4e57;
}
.header li a:hover .icon,
.header .menu-btn:hover .icon {
    color: #d66853;
}
.header .title {
    color: #fff;
    display: block;
    float: left;
    padding: 15px 20px;
    text-decoration: none;

    font-size: 2.5em;
    font-family: Ruthie;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header .title:hover {
    color: #fff;
}
/* menu */
.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}
/* menu icon */
.header .menu-icon {
    cursor: pointer;
    /*display: inline-block;*/
    float: right;
    padding: 30px 20px;
    position: relative;
    user-select: none;
}
.header .menu-icon .navicon {
    background: #d66853;
    display: block;
    height: 4px;
    position: relative;
    transition: background .2s ease-out;
    width: 36px;
}
.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #d66853;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.header .menu-icon .navicon:before {
    top: 12px;
}
.header .menu-icon .navicon:after {
    top: -12px;
}
/* menu btn */
.header .menu-btn {
    display: none;
}
.header .menu-btn:checked ~ .menu {
    /*max-height: 240px;*/
    max-height: 340px;
}
.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}
.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}
.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}
@media (min-width: 768px) {
    header {
        display: flex;
        justify-content: center;
        position: unset;
    }
    header .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 1000px;
    }
    .header .title {
        font-size: 3.5em;
    }
    .header .menu {
        display: flex;
        max-height: none;
        height: 94px;
    }
    .header .menu li {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        max-height: none;
        height: 94px;
    }
    .header .menu li a {
        padding: 0 5px 0 5px;
        width: 140px;
        line-height: 94px;
        display: block;
        text-align: center;
    }
    .header .menu-icon {
        display: none;
    }
    .header li a {
        font-size: 1.5em;
    }
    .header li a:hover,
    .header .menu-btn:hover {
        font-size: 1.65em;
    }
}

/*******************************************************************************
 * MAIN
 ******************************************************************************/
main {
    margin-top: 82px;
    /*padding: 0 20px 0 20px;*/
    padding: 0;
}
.section-portrait {
    background-attachment: fixed;
    background-position: 50% 82px;
    background-repeat: no-repeat;
    background-size: inherit;
    height: 640px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.section-portrait-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 5px 10px;
    margin-top: 450px;
    background-color: rgba(0, 0, 0, 0.5);
}
.section-portrait-separator {
    height: 5px;
    width: 260px;
}
.section-header {
    padding: 10px 20px;
}
.section-content {
    /*padding: 10px 0 10px 0;*/
    padding: 0px;
}
.content-centered {
    display: flex;
    justify-content: center;
}
@media (min-width: 768px) {
    main {
        display: flex;
        justify-content: center;
        position: unset;
        margin-top: 100px;
    }
    main .container {
        width: 1000px;
    }
    .section-portrait {
        align-items: flex-start;
        background-position: 50% 100px;
        height: 1000px;
    }
    .section-portrait-text {
        margin-top: 650px;
    }
    .section-portrait-separator {
        width: 350px;
    }
    .section-content {
        display: flex;
        flex-direction: row;
    }
    .container-full {
        flex: 1 1 100%;
        /*margin: 0 25px;*/
    }
    .container-half {
        flex: 1 1 50%;
        /*margin: 0 25px;*/
    }
    /*.container-half:first-child {
        margin-left: 0px;
    }
    .container-half:last-child {
        margin-right: 0px;
    }*/
}

/*******************************************************************************
 * MAIN: VITA
 ******************************************************************************/
.content-vita-image {
    display: flex;
    justify-content: center;
    width: 100%;
}
@media (min-width: 768px) {
    .content-vita p {
        font-size: 1.5em;
        margin: 1.75rem 0 1.75rem 0;
    }
}

/*******************************************************************************
 * MAIN: TIMELINE
 ******************************************************************************/
.timeline {
    display: flex;
    flex-direction: column;
    position: relative;
}
/* Vertikaler Timeline-Strich */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #d66853;
    top: 0;
    bottom: 0;
    left: 90px;
    margin-left: -1px;
}
/* Container für einen Timeline-Eintrag */
.timeline-container {
    margin: 15px 0 15px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.timeline-container:first-child {
    margin-top: 30px;
}
.timeline-container:last-child {
    margin-bottom: 30px;
}
/* Weißer Punkt in Timeline */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    /*top: calc(50% - 8px);*/
    left: 80px;
    background: #ffffff;
    border: 2px solid #d66853;
    border-radius: 16px;
    z-index: 3;
}
/* Datum */
.timeline-date {
    color: #d66853;
    letter-spacing: 1px;
    padding-left: 25px;
}
/* Inhalt */
.timeline-content {
    font-size: 0.7em;
    margin-left: 75px;
    width: 100%;
    padding: 25px 10px 5px 50px;
    background: #7d4e57;
    border: 2px solid #d66853;
    border-radius: 500px 0 0 500px;
}
/* Horizontaler Timeline-Strich */
.timeline-container::before {
    content: '';
    position: absolute;
    width: 37px;
    height: 2px;
    left: 100px;
    background: #d66853;
    z-index: 2;
}
@media (min-width: 768px) {
    .timeline {
        width: 100%;
    }
    /* Vertikaler Timeline-Strich */
    .timeline::after {
        left: 50%;
    }
    /* Weißer Punkt in Timeline */
    .timeline-container::after {
        left: 49%;
    }
    /* Datum */
    .timeline-date {
        font-size: 2em;
        padding-left: unset;
        position: absolute;
        right: 55%;
        order: 1;
    }
    /* Inhalt */
    .timeline-content {
        font-size: 1em;
        margin-left: 55%;
        width: 50%;
        order: 2;
    }
    /* Horizontaler Timeline-Strich */
    .timeline-container::before {
        left: 50%;
        width: 50px;
    }
    .timeline-container.timeline-left::before {
        left: unset;
        right: 50%;
        width: 50px;
    }
    .timeline-container.timeline-left .timeline-content {
        margin-left: unset;
        margin-right: 55%;
        border-radius: 0 500px 500px 0;
    }
    .timeline-container.timeline-left .timeline-date {
        left: 55%;
        right: unset;
    }
}

/*******************************************************************************
 * MAIN: GALERIE
 ******************************************************************************/
.gallery-container {
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
@media (min-width: 400px) {
    .gallery-container img {
        margin: 10px;
    }
}
@media (min-width: 768px) {
    .gallery-container {
        padding-left: 47px;
        padding-right: 47px;
    }
}

/*******************************************************************************
 * MAIN: DEMO
 ******************************************************************************/
.demo-video {
    width: 320px;
    height: 180px;
    margin: 0;
    padding: 0;
}
@media (min-width: 360px) {
    .demo-video {
        padding: 10px 20px;
    }
}
@media (min-width: 768px) {
    .demo-video {
        width: 640px;
        height: 360px;
    }
}
@media(min-width:1024px){
    .demo-video {
        width: 960px;
        height: 540px;
    }
}

/*******************************************************************************
 * MAIN: KONTAKT
 ******************************************************************************/
.contact ul {
    list-style: disc;
    font-size: 1.25em;
}
.contact-social {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.contact-social-icon {
    color: #fff;
    font-size: 2.75em;
}
.contact-social-icon:hover {
    color: #d66853;
}
.contact-social-icons {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 15px;
    width: 150px;
}
@media (min-width: 768px) {
    .contact {
        margin-top: 20px;
    }
    .contact-social-icon {
        font-size: 3.25em;
    }
}

/*******************************************************************************
 * FOOTER
 ******************************************************************************/
footer {
    font-size: 1em;
    margin: 25px 0 10px 0;
    padding-top: 5px;
    display: flex;
    justify-content: center;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-copyright {
    order: 2;
}
.footer-links {
    order: 1;
}
.footer-credits {
    order: 3;
}
/* Ab Tablet */
@media(min-width:768px){
    footer .container {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0px;
        justify-content: space-between;
        width: 1000px;
    }
    .footer-copyright {
        order: 1;
    }
    .footer-links {
        order: 2;
    }
    .footer-credits {
        order: 3;
    }
}

/*******************************************************************************
 * ANIMATION: WECHSELNDES VITA-BILD
 * TODO: IDs umbenennen
 ******************************************************************************/
#cf {
    position: relative;
    height: 720px;
    width: 480px;
    margin:0 auto;
    display: flex;
    align-items: flex-start;
}
#cf img {
    position: absolute;
    /*left: 0;*/
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}
#cf img.top:hover {
    opacity: 0;
}
@-webkit-keyframes cf3FadeInOut {
    0% { opacity: 1; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 1; }
    60% { opacity: 0.1; }
    100% { opacity: 0; }
}
@-moz-keyframes cf3FadeInOut {
    0% { opacity: 1; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 1; }
    60% { opacity: 0.1; }
    100% { opacity: 0; }
}
@-o-keyframes cf3FadeInOut {
    0% { opacity: 1; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 1; }
    60% { opacity: 0.1; }
    100% { opacity: 0; }
}
@keyframes cf3FadeInOut {
    0% { opacity: 1; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 1; }
    40% { opacity: 1; }
    60% { opacity: 0.1; }
    100% { opacity: 0; }
}
#cf2 {
    position: relative;
    height: 540px;
    width: 360px;
    margin: 0;
    /*display: flex;
    align-items: flex-start;*/
}
#cf2 img {
    position: absolute;
    left: 0;
    /*-webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;*/
}
#cf2 img.top {
    -webkit-animation-name: cf3FadeInOut;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 5s;
    -webkit-animation-direction: alternate;

    -moz-animation-name: cf3FadeInOut;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 5s;
    -moz-animation-direction: alternate;

    -o-animation-name: cf3FadeInOut;
    -o-animation-timing-function: ease-in-out;
    -o-animation-iteration-count: infinite;
    -o-animation-duration: 5s;
    -o-animation-direction: alternate;

    animation-name: cf3FadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 5s;
    animation-direction: alternate;
}
