/*========================================================
        FULLFACES.NET
        1. Allgemeine HTML-Elemente
========================================================*/
/*



chek if table holder in menü nötig
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}
html {
    height: 100%;
    font-size: 16px;
    /* SPINNER */
    background-color: #fff;
    background-attachment: fixed;
    background-position: center center; 
    background-repeat: no-repeat;
    background-image: url('../pix/spinner.gif'); 
}

body {
    background-color: #fff;
    color: #000;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 300;
    letter-spacing: .05em;

    height: 100%;
    line-height: 1.375;
    position: relative;
    /* bei position fixed ist schrift im safari dünner*/
    /*http://stackoverflow.com/questions/22204752/mac-safari-font-rendering-changes-thinner-when-any-element-on-the-page-gets-posi*/
    -webkit-font-smoothing: subpixel-antialiased;
}

h1, h2 {
    margin: 0px;
    margin-bottom: .5em;
    font-weight: 300;
    font-size: 4rem; /* 4rem */
      
}
h1 .subline,
h2 .subline {
    display: block;
    font-size: .6em;
    padding: 0;
    margin: 0;
    margin-top: -.2em;
}   
h1 { /* titel! */
    font-size: 8rem; /* 5rem;*/
}

h2 { 
    margin-bottom: .5em; 
    /*text-transform: uppercase;*/
    font-size: 3rem;
    font-weight: 100;
}  /* ca. 20px  120%*/ 

h3 { 
    margin-bottom: .5em; 
    /*text-transform: uppercase;*/
    font-size: 2rem;
    font-weight: 100;
}  /* ca. 20px  120%*/ 
h3 .subline {
    display: block;
    font-size: .8rem;
    line-height: 1;
}

h4 {    
    font-size: 1.5rem;
    margin-bottom: 0em; 
    text-transform: uppercase;
    font-weight: 100;
     }  /* ca. 18px */  
h5 { font-size: 1.05rem; }   /* ca. 16px */ 
h6 { font-size: 1.02rem; }  /* ca. 14px */

ol, ul {
    list-style: none outside none;
}

div {
    overflow: visible;
}

a:link { text-decoration: none;   color: #000;}

a:visited { color: #000;}

a:hover, a:focus {  text-decoration: none;}

a:active{   color: #000;}

a { text-decoration: none; outline: none;}/* outline entfernt beim klicken den gepunkteten rahmen um den link*/

p, ul {
    font-size: 1rem; /*ex 1.2rem;  wegen zuwenig text vergrößert*/
    word-spacing: .1rem;
    margin: 0;
    text-align: left;
    margin-bottom: 1em;
}

ul ul {
    margin: 0;
    margin-left: 1em;
}

li {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}
img {
	border: none;
}


.kursiv {
    font-style: italic;
}
 
.fett {
    font-weight: bold; 
}
.linksbuendig {
    text-align: left;
}
.rechtsbuendig {
    text-align: right;
}
.zentriert {
    text-align: center;
}
.unterstrichen {
    text-decoration: underline;
}

 
.schatten {
    -moz-box-shadow: 0 0 25px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 25px rgba(0,0,0,0.3);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}
/* micro clearfix
http://nicolasgallagher.com/micro-clearfix-hack/ */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.cf:after {
    clear: both;
}
/**  http://nicolasgallagher.com/micro-clearfix-hack/
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

.lazy { /* lazy load per default ausgeblendet, wird nir bei aktivem js eingeblendet 
            in custom.js  ->  $("img.lazy").show().lazyload({... */
    display: none;
}


/*========================================================
        2. DIV-Bereiche
========================================================*/

body    {
    height: 100%;
}

#inhalt {
    height: 100%;
    margin-top: 0; /* bei header initial position: absolut braucht man das nicht */
    
    width: 100%;   
    position: relative;
    text-align: center;
    z-index: 10;
    hyphens: auto;
}


#holder {
    height: 100%;
    display: flex;
    padding: 30px 0;  /* !!! FIREFOX-Safari BUG ---  #face musss explizit height:100% haben und KEIN margin für weißen rand !!! hier oberer und unterer weißer rand von bild (30px) */
    padding: 20px 0;
    box-sizing: border-box;
}

#menueHolder { 
    position: absolute; /* ex RELATIVE*/
    position: fixed;
    right: 0;
    top: 0;
    width: 100%; 
    margin-left:auto; 
    margin-right: auto; 
    z-index: 999;
}

input#hamburger { display: none; }
label.hamburger {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    position: absolute;
    top: 23px;
    left: 21px;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
    text-align: center;
    margin-top: -5px;
}

.hamburger {
    text-align: right;
    color: #000;
    padding-top: .2rem;
    font-size: 2rem;
}

.hamburgerLinie { 
    display: block; 
    position: absolute; 
    right: 0;
    margin-right: 10px;
    height: 2px; /*5px*/
    width: 30px;
    background: #000;
    transition: 0.3s; 
    transform-origin: center; 
    border-bottom: 1px solid #fff;

}

#hamburgerLinie1 { top: 12px; }
#hamburgerLinie2 { top: 22px; }
#hamburgerLinie3 { top: 32px; }

    
#hamburger:checked + .hamburger #hamburgerLinie1 {
    transform: translateY(10px) rotate(-45deg);
}

#hamburger:checked + .hamburger #hamburgerLinie2 {
    opacity: 0;
}

#hamburger:checked + .hamburger #hamburgerLinie3 {
    transform: translateY(-10px) rotate(45deg);
}

#menue { 
    transform: scale(0) /*rotate(360deg)*/;
    opacity: 0;
    padding-top: 2.5rem;
    padding-top: 10px;
    /* damit menue oben den #navi bereich überdeckt  aber logo liegt drüber*/
    max-height: 0; 
    overflow: auto; 
    background: rgba(255,255,255,.98); /* entweder scrollIn oder fade In */
    text-align: center;
    -webkit-transition: all .3s;
       -moz-transition: all .3s;
         -o-transition: all .3s;
            transition: all .3s;
    margin-left: 1rem;
    box-sizing: border-box;
    margin: 0;
    padding-left: 220px;
}


#hamburger:checked + .hamburger  + #menue { 
    height: 3000px;    
    height: 100vh;
    transform: scale(1);
    opacity: 1;
    /* krücke weil #menueholder darf nicht height:100% sein, sonst überdeckt er steuerelemete von slideshow. 
    so "dehnt" #menue den #menueholder nur bei #hamburger:checked  */
    max-height: 0;
    max-height: 100%; /* entweder scrollIn oder fade In */
    background: rgba(255,255,255,.98); 
}

#menue div  { 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    justify-content: space-evenly;

}

#menue div a { 
    position: relative;
}

#menue div a  span { 
    position: absolute;
    display: inline-block;
    transform: rotate(-90deg) /*translate(-5px, -3px)*/;
    transform-origin: 0% 0%;
    bottom: 0;
    left: 0;
}  

#menue div a img { 
    width: 12vw;
    max-width: 150px;
    margin: 20px;


}
#menue div a:link { }

#menue div a:visited { }

#menue div a:hover span { 
    /*letter-spacing: .1em;*/
}

#menue div a:focus { }

#menue div a:active { }

#menue div a { }

#navi, 
#mobilNavi  {
    position: relative;
    height: 100%;
    min-width: 220px;
    width: 220px;
    overflow-y: auto;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#navi h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: left; 
    margin: 30px;  /* !!! FIREFOX-Safari BUG ---  #face musss explizit height:100% haben und KEIN margin für weißen rand !!! hier linker weißer rand von bild (30px) */
    line-height: 1em;
    line-height: .9em;
    margin-top: 80px;/* damit flexbox die mittleren elemente -info -kontakt sauber vertikal zentriert*/
    z-index: 9999;  /* damit bei overlay menüe diese links klickbar bleiben */
    margin-left: 0;
    text-align: right;
}

#navi h1 img,
#mobilNavi h1 img {
    width: 173px;
    height: auto;
}

#navi p,
#mobilNavi p {
    text-align: center;

}

#navi p img,
#mobilNavi p img {
    height: 20px; /*kleinerer pfeil*/
    width: auto;
}

#navi .naviItem, 
#mobilNavi .naviItem {
    z-index: 9999;  /* damit bei overlay menüe diese links klickbar bleiben */
}

#navi p.textMen, 
#mobilNavi p.textMen {
    font-size: .9rem;
    letter-spacing: .05em;
    margin: 0;/* damit flexbox die mittleren elemente -info -kontakt sauber vertikal zentriert*/
    margin-bottom: 15px; 
    /* damit flexbox die mittleren elemente -info -kontakt sauber vertikal zentriert*/
}
#navi p.textMen span, 
#mobilNavi p.textMen span {
    display: inline-block;
    font-size: 1.1em;
    transform: translateY(-0.15em);
}

#navi p.legal,
#mobilNavi p.legal {
    color: #333;
    text-align: center;
    font-size: .7rem;
    text-transform: uppercase;
    margin: 0;  /* !!! FIREFOX-Safari BUG ---  #face musss explizit height:100% haben und KEIN margin für weißen rand !!!p.legal hier unten bündig */
}

#navi #arrowHolder,
#mobilNavi #arrowHolder {

} 

#navi p.arrows,
#mobilNavi p.arrows {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 30px;
}

#face {
    height: 100%; /* !!! FIREFOX-Safari BUG ---  #face musss explizit height:100% haben und KEIN margin für weißen rand !!!*/
    /*margin: 30px;*/  /* !!! FIREFOX-Safari BUG ---  #face musss explizit height:100% haben.  deswegen hier kein margin für weißen rand  sonst ist #face höher als 100% (100% + margin)*/
    box-sizing: border-box;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
    position: relative;
}


#face img {
    height: 100%;
    width: auto;
    opacity: 0;
}

#face a.unsichtbar {
    display: none;
}
#face a #morePictures {
    background: rgba(255,255,255, .98);
    padding:   .5em 0;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    opacity: 0;
    -webkit-transition: all .3s;
       -moz-transition: all .3s;
         -o-transition: all .3s;
            transition: all .3s;
    font-size: 1.5rem;
    text-align: left;
    text-align: center;
    text-transform: uppercase;
}

body.multiPictures #face a:hover #morePictures {
    opacity: 1;
}

#nameDate {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
    font-size: 1.1rem;
    text-align: center;
    text-transform: uppercase;
    padding: 0 30px;  /* !!! FIREFOX-Safari BUG ---  #face musss explizit height:100% haben und KEIN margin für weißen rand !!! hier rechter weißer rand von bild  (30px) */
}
#nameDate span {
    font-size: 8rem;
    display: block;
    text-align: center;
    transform: translateY(-30px);
    transform: translateY(-30px) scaleX(1.5);
    line-height: .6em;
}
#nameDate img {
    margin-bottom: 10px;
    height: 40px;
    height: 25px;
    width: auto;
}

#mobilNavi {
    display: none;
    width: initial;
    height: initial;
}

#mobilAnchor {
    border: 0!important;
    padding: 0;
    border: none;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    padding-top: 42px;
    margin-top: -42px;
    position: relative;
    display: block;
    visibility: hidden;
    z-index: -333;
}



/*========================================================
        intro
========================================================*/



#intro label.hamburger {
    height: 60px;
    top: -4px;
    background-color: #fff;
    padding-bottom: 0;
}
#intro #hamburgerLinie1 {
    top: 39px;
}
#intro #hamburgerLinie2 {
    top: 49px;
}
#intro #hamburgerLinie3 {
    top: 59px;
}
#intro #navi {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: initial;
    min-width: initial;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
#intro #menue {
    padding-left: 20px;
    padding-top: 50px;
}

#intro #navi h1 {
    z-index: 99;
    margin: 0;
    padding: 0;
    transform: translateX(-4%);  /*optisch zentriert ... wegen dem punkt links*/
}

#intro #navi h1 img {
    width: 42vw;
    max-width: 1500px;
    min-width: 250px;
    height: auto;
    opacity: 1;
    -webkit-animation: 3s linear 1 logoFade;
    animation: 3s linear 1 logoFade;
}

#intro #face img {
    opacity: 0!important;
    height: 100vh;
    width: 100vw;
}

#intro #cover {
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    animation: 6s linear 1 coverFade; 
    /* display: none; */
    /* display: block; */
    background-color: #fff;
}

#intro #face {
    width: 100vw;
    background-size: cover;
    background-position: 50% 0% ;
    border: 0!important;
/*animation-name: MOVE-BG;
    animation-duration: 10s;

    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;*/


/* @keyframes duration | easing-function | delay |
iteration-count | direction | fill-mode | play-state | name */
/*-webkit-animation: 10s ease-in-out 1s infinite faceMove;
animation: 30s ease-in-out 1s infinite faceMove;*/

/*-webkit-animation: 60s ease-in-out infinite faceMove;
animation: 60s ease-in-out infinite faceMove;*/

-webkit-animation: 60s linear infinite faceMove;
animation: 60s linear infinite faceMove;
}

@-webkit-keyframes faceMove {
    50% {background-position: 50% 100% ;}
}
@keyframes faceMove {
    50% {background-position: 50% 100% ;}
}
@-webkit-keyframes logoFade {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes logoFade {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@-webkit-keyframes coverFade {
    0% {opacity: 1;}
    15% {opacity: 1;}
    100% {opacity: 0;}
}
@keyframes coverFade {
    0% {opacity: 1;}
    15% {opacity: 1;}
    100% {opacity: 0;}
}

#intro #footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2em;
    background-color: white;
    padding: 0px 1em;
    line-height: 2em;
}

#intro #footer p {
    text-align: center;
    font-size: .9rem;
    font-weight: 400;
    color: #000;
    /*https://stackoverflow.com/questions/23968961/css-how-can-i-make-a-font-readable-over-any-color*/
    /* text-shadow: 0.05em 0 #fff, 0 0.05em #fff, -0.05em 0 #fff, 0 -0.05em #fff, -0.05em -0.05em #fff, -0.05em 0.05em #fff, 0.05em -0.05em #fff, 0.05em 0.05em #fff;
    text-shadow: 0.05em 0 rgba(255, 255, 255, .5), 0 0.05em rgba(255, 255, 255, .5), -0.05em 0 rgba(255, 255, 255, .5), 0 -0.05em rgba(255, 255, 255, .5), -0.05em -0.05em rgba(255, 255, 255, .5), -0.05em 0.05em rgba(255, 255, 255, .5), 0.05em -0.05em rgba(255, 255, 255, .5), 0.05em 0.05em rgba(255, 255, 255, .5);*/
    /*  text-shadow: .1em 0 rgba(255, 255, 255, .3), 0 .1em rgba(255, 255, 255, .3), -.1em 0 rgba(255, 255, 255, .3), 0 -.1em rgba(255, 255, 255, .3), -.1em -.1em rgba(255, 255, 255, .3), -.1em .1em rgba(255, 255, 255, .3), .1em -.1em rgba(255, 255, 255, .3), .1em .1em rgba(255, 255, 255, .3);
    text-shadow: .073em 0 rgba(255, 255, 255, .3), 0 .073em rgba(255, 255, 255, .3), -.073em 0 rgba(255, 255, 255, .3), 0 -.073em rgba(255, 255, 255, .3), -.073em -.073em rgba(255, 255, 255, .3), -.073em .073em rgba(255, 255, 255, .3), .073em -.073em rgba(255, 255, 255, .3), .073em .073em rgba(255, 255, 255, .3);*/
    /*text-shadow: 0.05em 0 rgba(255, 255, 255, .5), 0 0.05em rgba(0, 0, 0, .5), -0.05em 0 rgba(255, 255, 255, .5), 0 -0.05em rgba(0, 0, 0, .5), -0.05em -0.05em rgba(255, 255, 255, .5), -0.05em 0.05em rgba(0, 0, 0, .5), 0.05em -0.05em rgba(255, 255, 255, .5), 0.05em 0.05em rgba(0, 0, 0, .5);*/
    /*https://stackoverflow.com/questions/23968961/css-how-can-i-make-a-font-readable-over-any-color*/
}


/*========================================================
        impressum datenschutz
========================================================*/

.textSeite #wrapper {
    background-color: #fff;
}

.textSeite #logo {
    padding: 30px;
    text-align: center;
}

.textSeite #logo h1 {
    margin-bottom: 0;
}

.textSeite #logo img {
    width: 200px;
    height: auto;
}

.textSeite #navi ul {
    display: none;
}

.textSeite #inhalt {
    border: 0;
}

.textSeite .fliesstext {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    padding-top: 20px;
    font-weight: 300;
    letter-spacing: .05em;
    word-spacing: .1rem;


}

.textSeite .fliesstext h2 {
    text-transform: uppercase;
    font-size: 2em;
    font-weight: 300;
    text-align: center;
    margin-bottom: .5em;
}

.textSeite .fliesstext h3 {
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 300;
    text-align: left;
    margin-bottom: .5em;
    margin-top: 2.5em;
}

.textSeite .fliesstext p {
    font-size: 1.2em;
    text-align: left;
    margin-bottom: 1em;
}

.textSeite .fliesstext ul li {
   list-style-type: square;
   font-size: 1.2em;
   margin-left: 1.2em;
}



/*========================================================
        3. media query
========================================================*/

@media only screen and (min-width: 0px)  and (max-width: 780px), 
only screen and (max-aspect-ratio: 1/1) {

/*https://stackoverflow.com/questions/66626536/how-to-apply-aspect-ratio-media-query */ /*881 1000*/

    #face {
        border-right: 20px solid #fff;

        }
    #nameDate {
        position: absolute;
        top: 0;
        width: 160px;
    }

    #nameDate img {
        padding-top: 15vh;
    }
}

@media only screen and (min-width: 0px)  and (max-width: 700px) { /*881 1000*/

    #holder {
        display: initial;
    }

    label.hamburger {
        left: 50%;
        right: initial;
        transform: translateX(-50%);
    }

    #navi {
        position: relative;
        height: 100%;
        min-width: initial;
        width: initial;
        display: initial;
    }

    #navi h1 {
        text-align: left;
        padding-left: 6px;
        margin-top: 30px;
        margin-bottom: 60px;
    }

    #navi h1 img {
        width: 140px;
    }

    #navi #menue {
        padding-left: 0;
        padding-top: 40px;
    }

    #menue div a img {
        width: 17vw;
    }

    #navi #arrowHolder {
        padding: 0px 20px;
    } 

    #navi .legal,
    #navi .textMen  {
        display: none;
    }

    #holder #face {
     background-image: none;
     height: initial;
     padding: 0 20px;
     border: none;
    }

    #face img {
        width:  100%;
        height: auto;
        opacity: 1;
    }

    #nameDate {
        position: relative;
        width: 100%;
        height: initial;
        padding: 0;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    #nameDate img {
        padding-top: 0;
    }

    #mobilNavi {
        display: initial;
    }

    #mobilNavi p.arrows {
        display: none;
    } 

    #mobilNavi p.legal {
        font-size: .8rem;
    }

}

@media only screen and (min-height: 0px)  and (max-width: 560px) { /*881 1000*/

    #menue div a img {
        width: 24vw;
    }
}

@media only screen and (min-height: 0px)  and (max-width: 440px) { /*881 1000*/

    #menue div a img {
        width: 50vw;
    }
}

@media only screen and (min-height: 0px)  and (max-width: 390px) { /*881 1000*/

    #menue div a img {
        width: 38vw;
    }
}

/* PSICOs ND */



