/*
************************************************************************************************************************
Fonts
************************************************************************************************************************
*/

/* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v28-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/open-sans-v28-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v28-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v28-latin-300.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v28-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v28-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v28-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/open-sans-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v28-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v28-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/open-sans-v28-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v28-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v28-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v28-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v28-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/*
************************************************************************************************************************
Reset
************************************************************************************************************************
*/

h2 {
    margin: 0;
    padding: 0;
}

/*
************************************************************************************************************************
Variablen
************************************************************************************************************************
*/

html {
    --section-beige-bg: #eeefea;
    --red-highlight: #df0613;
}



/*
************************************************************************************************************************
Global
************************************************************************************************************************
*/


body {
    color: #333333;
    font-weight: 500;
    font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 50px 0;
}

/* Sektionen mit Farbhintergrund */
.beige {
    background-color: var(--section-beige-bg) ;
}

a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

/*
*******************************************************************************************
Text
*******************************************************************************************
*/

p:not(.cmpboxinner *) {
    font-size: 16px;
    line-height: 1.9em;
}
p.source {
    font-size: 12px;
    color: #999999;
    line-height: 1.4em;
}

aside {
    color: #999999;
    font-size: small;
}



/*
***************************************************************
Headings
***************************************************************
*/
h1 {
    font-size: 35px;
    line-height: 1.2em;
    font-weight: 500;
}
h2 {
    font-size: 30px;
    line-height: 1.1em;
    padding-bottom: 23px;
    font-weight: 500;
}

h3 {
    font-size: 21px;
    font-weight: 500;
    line-height: 39.9px;
}



/*
************************************************************************************************************************
Grund-Layout
************************************************************************************************************************
*/

.content {
    width: 80%;
    max-width: 1080px;
    margin: auto;
}
.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    flex: 0 0 100%;
}

@media screen and (min-width: 980px) {
    .column-2 {
        flex: 0 0 48%;
    }
    .column-3 {
        flex: 0 0 33%;
    }
}


/*
************************************************************************************************************************
Header
************************************************************************************************************************
*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: #fff;
    box-shadow: 0 1px rgba(0,0,0,0.1);
    z-index: 50;
}
.header-wrap {
    display: flex;
    align-items: center;
    height: 100%;
}
#logo img {
    max-height: 33px;
}

nav.mobile {
    display: none;
    flex-direction: column;

    background-color: white;
    border-top: 3px solid #ce2c2a;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    padding: 20px;

    box-sizing: border-box;

    position: absolute;
    left: 10%;
    top: 65px;
    width: 80%;

}
nav.mobile a {
    padding-bottom: 18px;
}

nav a {
    text-decoration: none;
    text-transform: uppercase;
    color: #333;
    padding-left: 22px;
    font-weight: 400;
    font-size: 14px;
}

#nav-intro {
    display: none;
}
#home-icon {
    width: 19px;
    height: auto;
}

@media screen and (min-width: 980px) {
    nav {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        flex: 1 1 0%;
    }
    #sandwich-icon {
        display: none;
    }

    #nav-intro {
        display: blocK;
    }
}



#sandwich-icon {
     flex: 1 0 20%;
     text-align: right;
}
#sandwich-icon img {
    width: 50%;
    max-height: 32px;
}

/*
************************************************************************************************************************
Main-Bereich
************************************************************************************************************************
*/

main {
    margin-top: 65px;
}


/*
*******************************************************************************************
Intro
*******************************************************************************************
*/

#intro {
    padding-top: 30px;
}


/*
*******************************************************************************************
Reichweite
*******************************************************************************************
*/

.reichweite-eintrag {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.reichweite-zahl {
    color: var(--red-highlight);
    font-size: 100px;
    font-weight: 300;
    text-shadow: 0.02em 0.1em 0.1em rgb(0 0 0 / 23%);
}



/*
*******************************************************************************************
Slider
*******************************************************************************************
*/

@media screen and (max-width: 500px) {
    #marken .content {
        width: 100%;
    }
}

.slider-buttons {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slider-button {
    width: 70px;
    height: 70px;
    background-color: rgba(255,255,255,0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
#slider-button-right:after {
    content: url('../img/slider/slider-button-arrow-right.svg');
}
#slider-button-left:after {
    content: url('../img/slider/slider-button-arrow-left.svg');
}
.dimming:after {
    opacity: 0.5;
}
#slider-button-left:hover:after {
    transform: scale(1.2);
}
#slider-button-right:hover:after {
    transform: scale(1.2);
}

/*
*******************************************************************************************
Kontakt
*******************************************************************************************
*/

.person-card img {
    border-radius: 5px;
}

.person-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media screen and (min-width: 768px) and (max-width: 980px){
    .person-card {
        flex-direction: row;
        padding-bottom: 30px;
    }
    .person-infos {
        padding-left: 30px;
    }
    .person-infos h3 {
        margin-top: 0;
        padding-top: 0;
    }
}

@media screen and (min-width: 500px) {
    .person-card img {
        max-width: 320px;
    }
}

/*
************************************************************************************************************************
Footer
************************************************************************************************************************
*/

footer {
    background-color: #343f44;
    padding: 40px 0;
}

footer .content {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    line-height: 30px;
}

footer .content * {
    padding-right: 50px;
    text-decoration: none;
    color: #818e97;
}

footer .content a {
    text-transform: uppercase;
}

#footer-logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#footer-logo img {
    max-height: 17px;
    padding-left: 10px;
}
