@font-face {
    font-family: 'Avenir LT Std 35 Light';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: local('Avenir LT Std 35 Light'), url('../fonts/AvenirLTStd-Light.woff') format('woff');
}

@font-face {
    font-family: 'Avenir LT Std 65 Medium';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: local('Avenir LT Std 65 Medium'), url('../fonts/AvenirLTStd-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Avenir LT Std 85 Heavy';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: local('Avenir LT Std 85 Heavy'), url('../fonts/AvenirLTStd-Heavy.woff') format('woff');
}
/**
*
**/



/** Agenda Frontpage Widget **/

.agenda-widget .agenda-item {
    background: #ddd;
}
/*!
 * baguetteBox.js
 * @author  feimosi
 * @version 1.11.0
 * @url https://github.com/feimosi/baguetteBox.js
 */#baguetteBox-overlay{display:none;opacity:0;position:fixed;overflow:hidden;top:0;left:0;width:100%;height:100%;z-index:1000000;background-color:#222;background-color:rgba(0,0,0,.8);-webkit-transition:opacity .5s ease;transition:opacity .5s ease}#baguetteBox-overlay.visible{opacity:1}#baguetteBox-overlay .full-image{display:inline-block;position:relative;width:100%;height:100%;text-align:center}#baguetteBox-overlay .full-image figure{display:inline;margin:0;height:100%}#baguetteBox-overlay .full-image img{display:inline-block;width:auto;height:auto;max-height:100%;max-width:100%;vertical-align:middle;-webkit-box-shadow:0 0 8px rgba(0,0,0,.6);-moz-box-shadow:0 0 8px rgba(0,0,0,.6);box-shadow:0 0 8px rgba(0,0,0,.6)}#baguetteBox-overlay .full-image figcaption{display:block;position:absolute;bottom:0;width:100%;text-align:center;line-height:1.8;white-space:normal;color:#ccc;background-color:#000;background-color:rgba(0,0,0,.6);font-family:sans-serif}#baguetteBox-overlay .full-image:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}#baguetteBox-slider{position:absolute;left:0;top:0;height:100%;width:100%;white-space:nowrap;-webkit-transition:left .4s ease,-webkit-transform .4s ease;transition:left .4s ease,-webkit-transform .4s ease;transition:left .4s ease,transform .4s ease;transition:left .4s ease,transform .4s ease,-webkit-transform .4s ease,-moz-transform .4s ease}#baguetteBox-slider.bounce-from-right{-webkit-animation:bounceFromRight .4s ease-out;animation:bounceFromRight .4s ease-out}#baguetteBox-slider.bounce-from-left{-webkit-animation:bounceFromLeft .4s ease-out;animation:bounceFromLeft .4s ease-out}@-webkit-keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}}@keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}}@-webkit-keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}}@keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}}.baguetteBox-button#next-button,.baguetteBox-button#previous-button{top:50%;top:calc(50% - 30px);width:44px;height:60px}.baguetteBox-button{position:absolute;cursor:pointer;outline:0;padding:0;margin:0;border:0;-moz-border-radius:15%;border-radius:15%;background-color:#323232;background-color:rgba(50,50,50,.5);color:#ddd;font:1.6em sans-serif;-webkit-transition:background-color .4s ease;transition:background-color .4s ease}.baguetteBox-button:focus,.baguetteBox-button:hover{background-color:rgba(50,50,50,.9)}.baguetteBox-button#next-button{right:2%}.baguetteBox-button#previous-button{left:2%}.baguetteBox-button#close-button{top:20px;right:2%;right:calc(2% + 6px);width:30px;height:30px}.baguetteBox-button svg{position:absolute;left:0;top:0}.baguetteBox-spinner{width:40px;height:40px;display:inline-block;position:absolute;top:50%;left:50%;margin-top:-20px;margin-left:-20px}.baguetteBox-double-bounce1,.baguetteBox-double-bounce2{width:100%;height:100%;-moz-border-radius:50%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:bounce 2s infinite ease-in-out;animation:bounce 2s infinite ease-in-out}.baguetteBox-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce{0%,100%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}}
/**
*
**/

footer {
    background: #333;
    display: flex;
    justify-content: center;
    padding: 2em 0;
}

footer .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer, footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #888;
}

footer ul a {
    text-transform: uppercase;
}

ul.language,
.address,
ul.imprint {
    flex: 1 100%;
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: center;
}

ul.language li {
    list-style: none;
    padding: 0 1em 2em 1em;
}

ul.language a {
    font-size: 0.8em;
}

ul.language {
    border-bottom: 1px solid #444;
}

/** address **/

.address {
    margin-top: 2em;
}

footer .logo {
    width: 100px;
    height: 100px;
    margin-right: 10px;
}

footer address {
    margin-left: 10px;
    font-style: normal;
    font-size: 0.8em;
}

ul.social-media {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: left;
    margin-top: 1em;
}

ul.social-media li {
    list-style: none;
    padding-right: 1em;
}

ul.social-media a {
    font-size: 1.3em;
}

/** imprint **/
ul.imprint {
    margin-top: 2em;
    border-top: 1px solid #444;
}

ul.imprint li {
    list-style: none;
    padding: 2em 2em 0 2em;
}

ul.imprint a {
    font-size: 0.8em;
}

div.sphair {
    flex: 1 100%;
    text-align: center;
    margin-top: 2em;
}

div.copyright {
    flex: 1 100%;
    font-size: 0.8em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 2em;
}

@media all and (min-width: 768px) {
    .address {
        flex: 1 40%;
        margin-top: 0;
        justify-content: flex-end;
    }

    ul.language {
        flex: 1 40%;
        border: 0;
        flex-direction: column;
        justify-content: flex-start;
    }

    ul.language li {
        text-align: left;
        padding: 0.5em 0;
    }

    ul.language li:first-child {
        padding-top: 0;
    }

    ul.imprint {
        grid-column: viewport;
    }

}
header {
    max-height: 500px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    header img {
        width: 100%;
        -webkit-animation: fadein 1.5s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: fadein 1.5s; /* Firefox < 16 */
        -ms-animation: fadein 1.5s; /* Internet Explorer */
        -o-animation: fadein 1.5s; /* Opera < 12.1 */
        animation: fadein 1.5s;
    }

    @keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* Firefox < 16 */
    @-moz-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* Safari, Chrome and Opera > 12.1 */
    @-webkit-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* Internet Explorer */
    @-ms-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* Opera < 12.1 */
    @-o-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
}
figure.headerimage {
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

#headerimage {
    display: block;
    width: 100%;
}

/**
* default images
* 1920x470 , ratio 0.2447916666666667
*
*    ['width' => 640, 'height' => 140]
*    ['width' => 768, 'height' => 180]
*    ['width' => 1024, 'height' => 250]
*    ['width' => 1366, 'height' => 250]
*    ['width' => 1600, 'height' => 300]
*    ['width' => 1920, 'height' => 300]
*/

figure.headerimage {
    height: 80px;
}

@media screen and (min-width: 400px) {
    figure.headerimage {
        height: 120px;
    }
}

@media screen and (min-width: 540px) {
    figure.headerimage {
        height: 140px;
    }
}

@media screen and (min-width: 768px) {
    figure.headerimage {
        height: 180px;
    }
}

@media screen and (min-width: 1024px) {
    figure.headerimage {
        height: 250px;
    }
}

@media screen and (min-width: 1600px) {
    figure.headerimage {
        height: 300px;
    }
}

/**
* large header
*   1920x491 0.2562225475841874
*
*    ['width' => 640, 'height' => 140],
*    ['width' => 768, 'height' => 180],
*    ['width' => 1024, 'height' => 250],
*    ['width' => 1366, 'height' => 350],
*    ['width' => 1600, 'height' => 400],
*    ['width' => 1920, 'height' => 470]
**/

figure.headerimage.large {
    height: 80px;
}

@media screen and (min-width: 400px) {
    figure.headerimage.large {
        height: 120px;
    }
}

@media screen and (min-width: 540px) {
    figure.headerimage.large {
        height: 140px;
    }
}

@media screen and (min-width: 768px) {
    figure.headerimage.large {
        height: 180px;
    }
}

@media screen and (min-width: 1024px) {
    figure.headerimage.large {
        height: 250px;
    }
}

@media screen and (min-width: 1366px) {
    figure.headerimage.large {
        height: 350px;
    }
}

@media screen and (min-width: 1600px) {
    figure.headerimage.large {
        height: 400px;
    }
}

@media screen and (min-width: 1920px) {
    figure.headerimage.large {
        height: 491px;
    }
}
/**
*
**/

main {
    background: #fff;
    display: flex;
    justify-content: center;
    padding: 2em 0;
    font-size: 0.9em;
    margin-bottom: 4em;
}

main .grid {
    grid-auto-rows: min-content;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
}

p {
    line-height: 1.7em;
    margin-bottom: 1em;
}

h1, h2 {
    font-family: 'Avenir LT Std 65 Medium', sans-serif;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #000;
    line-height: 1.4em;
}


main h1 {
    grid-column: viewport;
    letter-spacing: 0.25em;
    font-size: 1em;
    font-family: 'Avenir LT Std 85 Heavy', sans-serif;
    margin-bottom: 0.5em;
}

main h2  {
    grid-column: viewport;
    letter-spacing: 0.25em;
    font-size: 1em;
    font-family: 'Avenir LT Std 35 Light', sans-serif;
}


.text1 {
    grid-column: 1 / span 8;
}

.text1 > h1 {

}

.text2 {
    grid-column: 9 / span 4;
}


/**
*   Breakpoint for hambuger nav is (min-width: 768px)
**/

nav {
    position: relative;
    z-index: 1000;
    background: #333;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav .container {
    margin: 0;
}

/** ---- Logo --- **/

nav .logo {
    color: #fff;
    text-transform: uppercase;
    display: block;
    width: 90%;
    height: 3.5rem;
    overflow: hidden;
    margin-left: 1.5em;
}

nav .logo img {
    display: block;
    float: left;
    height: 2.7em;
    width: 2.7em;
    margin-top: 0.3em;
}

nav .logo .text {
    display: block;
    float: left;
    margin-left: 1em;
}

nav .logo .saf {
    margin-top: 2em;
    display: block;
    font-size: 0.5em;
    letter-spacing: 0.2em;
    line-height: 0.5em;
}

nav .logo .team {
    display: block;
    font-family: 'Avenir LT Std 65 Medium', sans-serif;
    font-size: 1.2em;
    letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
    nav {
        background: #fff;
    }

    nav .logo {
        display: flex;
        justify-content: flex-start; /** todo **/
        color: #000;
        margin-left: 0;
        padding-top: 1em;
        width: 20em;
        height: 8em;
    }

    nav .logo img {
        height: 90px;
        width: 90px;
        margin-top: 0;
    }

    nav .logo .text {
        margin-left: 1.5em;
    }

    nav .logo .saf {
        margin-top: 2.3em;
        font-size: 0.7em;
        letter-spacing: 0.2em;
        line-height: 0.5em;
    }

    nav .logo .team {
        font-size: 2em;
        letter-spacing: 0.1em;
        font-family: 'Avenir LT Std 85 Heavy', sans-serif;
    }
}

.topnav a {
    text-decoration: none;
}

/** hamburger **/
.topnav .icon {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    font-size: 1em;
    padding: 1em 2em 1em 1em;
}

/** navigation **/

.topnav {
    overflow: hidden;
    display: block;
    width: 100%;

}

.topnav ul {
    display: flex;
    list-style: none;
    flex-direction: column;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    -webkit-transition : visibility 0s, opacity 0.3s linear;
    -moz-transition : visibility 0s, opacity 0.3s linear;
    -o-transition : visibility 0s, opacity 0.3s linear;
    transition: visibility 0s, opacity 0.3s linear;
    height: 0;
}

.topnav.open ul {
    visibility: visible;
    opacity: 1;
    height: auto;
}

.topnav ul a {
    display: block;
    width: 100%;
    padding: 0.8em 1em 0.5em 2em;
    color: #000;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.9em;
}

.topnav ul li:hover {
    background-color: #f7f7f7;
    color: #354179;
}

.dropdown {
    overflow: hidden;
}

.dropdown-toggle:after {
    content: url('../images/pc7icon-navblack.png');
    float: right;
    padding-right: 1.3em;
}

.dropdown-content a:before {
    content: url('../images/pc7icon-navblack.png');
    margin-right: 1em;
    padding-left: 1em;
}

.topnav .language.first {
    border-top: 1px solid #000;
}

.topnav .language a:hover {
    background: transparent ;
}

.dropdown:hover .dropdown-content { /* das macht die navigation auf */
    display: block;
}

.topnav .dropdown-content { /* das schliesst sie */
    display: none;
}



@media screen and (min-width: 768px) {

    nav .container {
        margin-left: 4vw;
        margin-right: 4vw;
        margin-top: 1em;
    }

    .topnav .icon {
        display: none;
    }

    .topnav ul {
        height: auto;
        visibility: visible;
        opacity: 1;
        flex-direction: row;
    }

    .topnav ul a {
        display: block;
        width: auto;
        padding: 0.8em 1.5em 0.5em 1.5em;
        border: none;
    }

    li.dropdown {
        padding-right: 1em;
    }

    .dropdown-toggle {
        position: relative;
    }

    .dropdown-toggle:after {
        position: absolute;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        margin: 0.45em 0 0 0.5em;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #000;
        padding: 0;
    }

    .dropdown-content {
        position: absolute;
        border-left: 1px solid #aaa;
        border-bottom: 1px solid #aaa;
        border-right: 1px solid #aaa;
        box-shadow: 2px 3px 3px 1px rgba(0,0,0,0.1);
        margin-top: -1px;
    }

    .dropdown-content li a {
        padding-left: 0.5em !important;
        padding-right: 2em;
        padding-top: 0.7em;
        padding-bottom: 0.7em;
        text-transform: none;
        border: 0;
    }

    .topnav li.language a {
        padding-left: 0.5em;
        padding-right: 0.5em;
        text-transform: uppercase;
        border: 0;
    }

    .topnav .language.first {
        margin-left: auto;
        border: 0;
    }
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a:active,
a:hover {
    outline: 0;
}
/**
*   1 rem = 16px (browser default)
*
*   Mobile first
*   @media all and  (min-width: 575px)
*   @media all and  (min-width: 768px)
*   @media all and  (min-width: 991px)
*   @media all and  (min-width: 1199px)
*   grösser.
*
@media screen and (min-width: 575px) {}     tiny
@media screen and (min-width: 768px) {}     small
@media screen and (min-width: 991px) {}     medium
@media screen and (min-width: 1199px) {}    large
*
*   http://fontawesome.io/icons/


*flex-grow: 0;      do not grow   - initial value: 0
*flex-shrink: 0;    do not shrink - initial value: 1
*flex-basis: 25em;  width/height  - initial value: auto

Grau:
    - background: #f7f7f7
    - lines: #e9e9e9


**/

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    color: #000;
    background: #fff;
    font: normal 100%/1.4 'Avenir LT Std 35 Light', sans-serif;
    height: 100vh;
    display: grid;
    grid-template-columns: [viewport-start] 1fr [viewport-end];
    grid-template-rows: 3.5rem minmax(min-content, max-content) auto minmax(min-content, max-content);
}


@media all and (min-width: 768px) {
    body {
        grid-template-rows: auto minmax(min-content, max-content) auto minmax(min-content, max-content);
    }
}

a {
    color: #4173b7;
    text-decoration: none;
}

a:hover {
    color: #354179;
}

strong {
    font-family: 'Avenir LT Std 65 Medium', sans-serif;
}

.container {
    width: 100%;
    max-width: 991px;
    text-align: left;
    margin-left: 4vw;
    margin-right: 4vw;
    display: block;
}

.grid {
    display: grid;
    grid-template-columns:
            [viewport-start] repeat(12, 1fr) [viewport-end];
    grid-column-gap: 0.5rem;
    margin-top: 1rem;
}

.viewport {
    grid-column: viewport;
}


/* Smallest */
body > * {
    grid-column: viewport;
}

.emoji {
    font-family: "Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols,"EmojiOne Mozilla";
}

/** prevent animation before loaded **/
.loading *,
.loading *:before,
.loading *:after {
    animation-play-state: paused !important;
}

.info {
    grid-column: viewport;
    border: 1px solid #ddd;
    padding: 1em 1em 0 1em;
    background: #eee;
}

.instagram-button {
    padding: 0.5em;
    margin: 0.5em 1em 0.5em 1em;
    border-radius: 3px;
    display: flex;
    flex-direction: row;
    font-size: 1.5em;
    text-decoration: none;
}

.instagram-button img {
    width: 3em;
    height: 3em;
    margin-right: 0.4em;
    margin-left: -0.35em;
}

.instagram-button span {
    display: block;
    align-self: center;
}

.facebook-button {
    padding: 0.5em;
    margin: 0.5em 1em 0.5em 1em;
    display: flex;
    flex-direction: row;
    font-size: 1.5em;
    text-decoration: none;
}

.facebook-button .fa-facebook {
    color: #3c5a99;
    font-size: 2.3em;
    padding-top: 0.1em;
}

.facebook-button span {
    display: block;
    align-self: center;
    white-space: nowrap;
    padding-left: 1em;
}

.youtube-button {
    padding: 0.5em;
    margin: 0.5em 1em 0.5em 1em;
    border-radius: 3px;
    display: flex;
    flex-direction: row;
    font-size: 1.5em;
    text-decoration: none;
}

.youtube-button img {
    width: 3em;
    height: 3em;
    margin-right: 0.4em;
    margin-left: -0.35em;
}

.youtube-button span {
    display: block;
    align-self: center;
}


.teaser {
    max-width: 41em;
    padding-bottom: 4em;
}

.teaser > p {
    position: relative;
}

.teaser > p:last-of-type::before {
    position: absolute;
    font-size: .75rem;
    border-top: 4px solid #e7e7e7;
    padding-top: .45rem;
    bottom: -3.5rem;
    font-weight: 400;
    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
    content: "\A0";
    width: 2rem;
}

.special {
    flex: 1 100%;
}

.special h2 {
    margin-bottom: 1em;
}

.special img {
    width: 29%;
    min-width: 12em;
    margin-right: 1em;
    margin-bottom: 1em;
}

@media screen and (min-width: 768px) {

    .special p {
        padding-right: 3em;
    }

    .special img {
        margin-right: 3em;
    }
}


.trailer {
    margin-bottom: 3em;
}

.trailer .video {
    position: relative;
    padding-top: 56.25%;
}

.trailer .iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.trailer .caption {
    margin: 2em 1em 1em 1em;
}

.trailer h2 {
    margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
    .trailer {
        display: flex;
        width: 100%;
    }

    .trailer .video {
        flex: 1;
        padding-top: 28.125%;
    }

    .trailer .caption {
        flex: 1;
        margin-top: 0;
        margin-left: 3em;
    }
}