* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
}

:root {
    --swiper-theme-color: rgb(255, 255, 255) !important;
}

::-webkit-scrollbar {
    width: 20px;
    border-left: solid gray 1px;
    background-color: white;
}

::-webkit-scrollbar-thumb {
    background-color: #011F26;
}

@media (prefers-color-scheme: dark) {
     
}

body {
    font-family: 'Barlow';
    color: #616161;
}

header {
    position: relative;
}

#nameRichten {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

h1 {
    font-family: 'Bereitbold';
    font-style: normal;
    font-weight: 300;
    font-size: 2em;
    color: #011F26;
    text-transform: uppercase;
    margin-bottom: 2em;
}

.homepage h1 {
    font-family: 'Bereitbold';
    font-style: normal;
    font-weight: 300;
    font-size: 2.5em;
    background-color: #026873;
    color: white;
    padding: 4px 8vw 4px 8vw;
    text-transform: uppercase;
    margin-bottom: 0;
}

@media (min-height: 678px) {
    #nameRichten {
        position: absolute;
        bottom: 8vw;
        right: 8vw;
        left: 8vw;
        z-index: 1;
    }

    h1 {
        font-size: 3em;
    }

    .homepage h1 {
        background-color: #026873;
        color: white;
        padding: 4px 32px 4px 27px;
        line-height: 1.6em;
        display: inline;
        white-space: pre-line;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        margin-bottom: 0;
    }
}

@media (min-width: 500px) {
    #nameRichten {
        position: absolute;
        bottom: 8vw;
        right: 8vw;
        left: 8vw;
        z-index: 1;
    }

    h1 {
        font-size: 3em;
    }

    .homepage h1 {
        background-color: #026873;
        color: white;
        padding: 4px 32px 4px 27px;
        line-height: 1.6em;
        display: inline;
        white-space: pre-line;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        margin-bottom: 0;
    }
}


h2 {
    font-family: 'Bereitbold';
    color: #011F26;
    font-size: 1.6em;
    margin-top: 2.4em;
    margin-bottom: 1em;
}

.homepage h2 {
    font-size: 2em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 40px;
    display: inline-block;
}

h3{
    font-family: 'Barlow';
    font-weight: 600;
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.homepage h3 {
    font-family: 'Bereitbold';
    text-transform: uppercase;
    text-align: center;
    font-weight: 300;
    font-size: 1.4em;
    color: #011F26;
    margin-top: 0;
    margin-bottom: 0;
}

.zumHome {
    position: fixed;
    justify-content: center;
    display: flex;
    width: 100%;
    bottom: 0;
    background-color: #dcc7da;
}

.swiper {
    width: 100%;
    height: 80vh;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    backdrop-filter: brightness(0.5);
    padding: 20px;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    backdrop-filter: brightness(0.5);
    padding: 20px;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: 15px;
    left: auto;
}

.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: 15px;
    right: auto;
}

#teilenBox {
    display: none;
}

#teilenButton {
    display: none;
}

/*#spendenBox {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 292px;
    padding: 60px 40px;
    background-color: #dcc7da;
    z-index: 9;
}*/

#spendenBox {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 0px;
    bottom: 5px;
    width: 400px;
    min-height: 400px;
    padding: 60px 70px;
    background-color: #ffffff00;
    background-image: url(../images/Notizzettel-hellpink-02.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9;
    transform: scale(0.6);
    transform-origin: right bottom;
}

.spendenBox-rotate {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-7deg);
}

#spendenBox a {
    background-color: #026873;
    padding: 18px 64px;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    border: none;
    margin-top: 40px;
    transition: 0.4s ease;
}

#spendenBox svg {
    position: absolute;
    right: 70px;
    top: 35px;
    cursor: pointer;
}

/*#spendenBox svg {
    position: absolute;
    right: 20px;
    top: 20px;
}*/

#spendenBox.hiddenSpendenBox {
    display: none;
}

.hiddenSpendenBox ~ .gridContainer {
    margin-bottom: 0;
}

.cta {
    /*text-align: center;*/
    padding: 20vw 8vw;
}

.cta p {
    font-size: 0.9em;
}

.cta h2 {
    font-size: 2em;
}

.gridItem-1 img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

.gridItem-13 h2 {
    color: white;
}

.gridItem-15 h2 {
    color: white;
}

.textLink {
    font-family: 'Barlow';
    font-size: 1em;
    color: #026873;
    transition: 0.3s all ease-in;
    text-decoration: underline;
}

.textLink:hover {
    color: black;
}

p {
    margin-bottom: 2rem;
    line-height: 1.6em;
    font-size: 1em;
}

ul {
    margin-top: 1em; 
    margin-bottom: 2em; 
    margin-left: 0; 
    margin-right: 0; 
    padding-left: 40px;
}

ul li {
    font-size: 1em;
    line-height: 1.6em;
}

.zurWebseite {
    font-family: 'Bereitbold';
    letter-spacing: 0.03rem;
    text-transform: uppercase;
    text-decoration: none;
}

.greenCta {
    background-color: #dcc7da;
    padding: 18px 64px;
    color: #011F26;
    border: none;
}

.yellowCta {
    background-color: #dcc7da;
    padding: 20px 72px;
    color: #011F26;
    border: none;
}

.linkRichten {
    margin-top: 60px;
    margin-bottom: 20px;
}

#socialmedia {
    margin-top: 4em;
}

#socialmedia svg {
    margin-right: 20px;
    width: 50px;
    height: 50px;
}

#facebook .cls-1 {
    fill:#fff;
}

#twitter .cls-1 {
    fill:#1d9bf0;
}

#linkedin .cls-1 {
    fill:#2867b2;
}

#teilenTwitter .cls-1 {
    fill:#1d9bf0;
}

#datenschutz {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #011F26;
}

#datenschutz a {
    margin: 20px;
    color: white;
    font-size: 0.9em;
}

#datenschutzBox {
    padding: 10vh 8vw;
    max-width: 76rem;
}

.paralax {
    background-attachment: scroll;
}

/*------------------------------------------------------------------------------------------------------*/

.gridItem {
    padding: 20vw 8vw;
}

.gridItem-1 {
    padding: 0;
   grid-area: eins;
   xbackground-image: url(../images/01-800-handy.webp);
   width: 100%;
   min-height: 80vh;
   background-position: center;
   background-size: cover;
   position: relative;
}
.gridItem-2 {
   grid-area: zwei;
}
.gridItem-3 {
   grid-area: drei;
   background-image: url(../images/02-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: center;
   background-size: cover;
   xfilter: grayscale(1);
}
.gridItem-4 {
   grid-area: vier;
   background-image: url(../images/03-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: top center;
   background-size: cover;
}
.gridItem-5 {
   grid-area: fünf;
}
.gridItem-6 {
   grid-area: sechs;
   background-image: url(../images/04-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: center;
   background-size: cover;
   xfilter: grayscale(1);
}
.gridItem-7 {
   grid-area: sieben;
   background-image: url(../images/05-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: top center;
   background-size: cover;
}
.gridItem-8 {
   grid-area: acht;
}
.gridItem-9 {
   grid-area: neun;
   background-image: url(../images/06-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: center;
   background-size: cover;
   xfilter: grayscale(1);
}
.gridItem-10 {
   grid-area: zehn;
   background-image: url(../images/07-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: center;
   background-size: cover;
}
.gridItem-11 {
   grid-area: elf;
}
.gridItem-12 {
   grid-area: zwölf;
   background-image: url(../images/08-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: center;
   background-size: cover;
   xfilter: grayscale(1);
}
.gridItem-13 {
   grid-area: dreizehn;
   background-color: #026873;
   color: white;
}
.gridItem-13 p{
   color: white;
}
.gridItem-14 {
   grid-area: vierzehn;
   background-color: #ffffff;
}
.gridItem-15 {
   grid-area: fünfzehn;
   background-color: #026873;
   color: white;
}
.gridItem-15 p {
   color: white;
}
.gridItem-16 {
   grid-area: sechszehn;
   background-color: #ffffff;
}
.gridItem-17 {
   grid-area: siebzehn;
   background-image: url(../images/09-800-handy.webp);
   width: 100%;
   height: 100%;
   background-position: top center;
   background-size: cover;
}
.gridItem-18 {
   grid-area: achtzehn;
   position: relative;
   padding-bottom: 36vw;
}

/*------------------------------------------------------------------------------------------------------*/

.gridContainer {
    margin-bottom: 292px;
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: minmax(100vw, auto);
    grid-template-areas: 
        "eins"
        "zwei"
        "drei"  
        "fünf"
        "sechs"  
        "acht"
        "neun"
        "elf"
        "zwölf"
        "dreizehn"
        "zehn"
        "vierzehn"
        "sieben"
        "fünfzehn"
        "vier"
        "sechszehn"
        "siebzehn"
        "achtzehn"
    ;
}


@media (min-width: 768px) {

    @media (min-height: 550px) {
        .homepage h1 {
            font-size: 4em;
        }
    }
    
    @media (min-height: 670px) {
        .homepage h1 {
            font-size: 5em;
        }
    }
    
    @media (min-height: 800px) {
        .homepage h1 {
            font-size: 6em;
        }
    }

    .homepage h2 {
        font-size: 3em;
        margin-bottom: 80px;
    }

    p {
        font-size: 1.3em;
    }

    ul li {
        font-size: 1.3em;
    }

    .zumHome {
        position: fixed;
        justify-content: flex-end;
        display: flex;
        width: 100%;
        top: 0;
        bottom: auto;
        background-color: inherit;
    }

    .cta p {
        font-size: 1.2em;
    }

    .homepage h3 {
        font-family: 'Bereitbold';
        text-transform: uppercase;
        text-align: center;
        font-weight: 300;
        font-size: 1.4em;
        color: #011F26;
    }

    #teilenBox {
        display: block;
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 60px;
        height: 60px;
        transition: 0.4s ease;
        padding: 10px 20px;
        background-color: #ffffff;
        z-index: 8;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    }
    
    #teilenSocialmedia {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        height: 40px;
    }
    #teilenSocialmedia a {
        position: absolute;
        margin-right: 20px;
    }

    #teilenFacebook {
        margin-left: 0px;
        transition: 0.4s ease;
    }
    #teilenMail {
        margin-left: 0px;
        transition: 0.4s ease;
    }
    #teilenTwitter {
        margin-left: 0px;
        transition: 0.4s ease;
    }

    #teilenSocialmedia svg {
        width: 40px;
        height: 40px;
    }
    
    #teilenButton {
        position: fixed;
        right: 20px;
        bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        background-color: #011F26;
        cursor: pointer;
        transition: 0.3s ease;
        border: none;
        z-index: 99;
    }

    #teilenButton svg {
        fill: white;
    }
    
    #teilenButton:hover {
        background-color: #026873;
    }
    
    #teilenButton:hover > svg {
        fill: white;
        transition: 0.3s ease;
    }
    
    #spendenBox {
        right: 20px;
        left: auto;
        bottom: 20px;
        transform: scale(1);
    }

    /*.spendenBox-rotate {
        transform: rotate(-7deg);
    }*/
    
    #spendenBox a {
        background-color: #026873;
        padding: 18px 64px;
        text-align: center;
        color: #ffffff;
        text-decoration: none;
        border: none;
        margin-top: 40px;
        transition: 0.4s ease;
        box-shadow: inset 0px 0px 0px #011F26;
    }
    
    #spendenBox a:hover {
        box-shadow: inset 500px 0px 0.09px #011F26;
    }
    
    #spendenBox svg {
        position: absolute;
        right: 70px;
        top: 35px;
        cursor: pointer;
    }

    .gridItem-13 h2, .gridItem-14 h2, .gridItem-15 h2, .gridItem-16 h2 {
        font-size: 2.2em;
    }

    /*
    #socialmediaRichten {
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        left: 0;
        bottom: 0;
        height: 100%;
        width: 130px;
    }

    #socialmedia {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        xborder: 1px solid #a766f2;
        width: 100%;
        margin: 20px;
    }
    */

    .linkRichten {
        margin-top: 100px;
    }

    .gridItem {
        padding: 10vw 8vw;
    }

    .gridItem-1 {
        padding: 0;
    }
    .gridItem-4 {
        min-height: 50vh;
    }
    .gridItem-7 {
        min-height: 50vh;
    }
    .gridItem-10 {
        min-height: 50vh;
    }
    .gridItem-17 {
        min-height: 50vh;
    }
    .gridItem-18 {
        padding-bottom: 15vw;
     }

    .gridContainer {
        margin-bottom: 0;
        display: grid;
        grid-template-columns: 50% 50%;
        grid-auto-rows: minmax(50vw, auto);
        grid-template-areas: 
            "eins eins"
            "zwei drei"
            "vier vier"
            "sechs fünf"
            "sieben sieben"
            "acht neun"
            "zehn zehn"
            "zwölf elf"
            "dreizehn dreizehn"
            "vierzehn vierzehn"
            "fünfzehn fünfzehn"
            "sechszehn sechszehn"
            "siebzehn siebzehn"
            "achtzehn achtzehn"
        ;
    }
}

@media (min-width: 1024px) {

    .gridItem-1 {
        padding: 0;
    }
    .gridItem-13 {
        background-color: #ffffff;
        color: #616161;
    }
    .gridItem-13 p{
        color: #616161;
    }
    .gridItem-14 {
        background-color: #026873;
        color: white;
    }
    .gridItem-14 p {
        color: white;
    }
    .gridItem-15 {
        background-color: #026873;
        color: white;
    }
    .gridItem-16 {
        background-color: #ffffff;
        color: #616161;
    }

    .gridItem-13 h2 {
        color: #011F26;
    }
    .gridItem-14 h2 {
        color: white;
    }
    .gridItem-15 h2 {
        color: white;
    }



    .gridContainer {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-auto-rows: minmax(25vw, auto);
        grid-template-areas: 
            "eins eins"
            "zwei drei"
            "vier vier"
            "sechs fünf"
            "sieben sieben"
            "acht neun"
            "zehn zehn"
            "zwölf elf"
            "dreizehn vierzehn"
            "fünfzehn sechszehn"
            "siebzehn siebzehn"
            "achtzehn achtzehn"
        ;
    }

}

@media (min-width: 1200px) {

    #nameRichten {
        bottom: 11vh;
        right: 6vw;
        left: 70vw;
        text-align: start;
    }

    .gridItem {
        padding: 10vw 10vw;
    }

    .gridItem-1 {
        padding: 0;
    }

    #spendenBox {
        right: auto;
        left: 40px;
        bottom: 40px;
        transform: scale(1);
    }

}


@media (min-width: 1400px) {

    .gridContainer {
        padding-top: 60px;
    }

}


@media (min-width: 1500px) {
    
    .gridItem-18 {
        padding-bottom: 11vw;
    }
}













/*--iOS----------------------------------------------------*/


@supports (-webkit-touch-callout: none) {
    div .paralax {
        background-attachment: scroll;
        background-size: auto;
        background-position: 70% 10%;
        background-repeat: no-repeat;
    }
}


/*------------------------------------------------------*/














/*--Bildergrößen-----------------------------------------*/


@media (min-width: 600px) {
    .paralax {
        background-attachment: fixed;
    }
    .gridItem-1 {
        xbackground-image: url(../images/01-1200.webp);
        background-position: 16%;
     }
    .gridItem-3 {
        background-image: url(../images/02-1200.webp);
     }
    .gridItem-4 {
        background-image: url(../images/03-1920.webp);
        background-position: top 75%;
     }
    .gridItem-6 {
        background-image: url(../images/04-1200.webp);
     }
    .gridItem-7 {
        background-image: url(../images/05-1200.webp);
     }
    .gridItem-9 {
        background-image: url(../images/06-1200.webp);
     }
    .gridItem-10 {
        background-image: url(../images/07-1200.webp);
     }
    .gridItem-12 {
        background-image: url(../images/08-1200.webp);
     }
    .gridItem-17 {
        background-image: url(../images/09-1200.webp);
     }
}


@media (min-width: 768px) {
    .gridItem-1 {
        xbackground-image: url(../images/01-1920.webp);
     }
    .gridItem-4 {
        background-image: url(../images/03-1920.webp);
        background-position: top 82%;
     }
    .gridItem-6 {
        background-image: url(../images/04-2560.webp);
     }
    .gridItem-9 {
        background-image: url(../images/06-1920.webp);
     }
    .gridItem-12 {
        background-image: url(../images/08-1920.webp);
     }
    .gridItem-17 {
        background-image: url(../images/09-1920.webp);
     }
}


@media (min-width: 1200px) {
    .gridItem-1 {
        xbackground-image: url(../images/01-1920.webp);
        background-position: 50%;
     }
    .gridItem-3 {
        background-image: url(../images/02-1920.webp);
     }
    .gridItem-4 {
        background-image: url(../images/03-1920.webp);
     }
    .gridItem-6 {
        background-image: url(../images/04-1920.webp);
     }
    .gridItem-7 {
        background-image: url(../images/05-1920.webp);
     }
    .gridItem-9 {
        background-image: url(../images/06-1920.webp);
     }
    .gridItem-10 {
        background-image: url(../images/07-1920.webp);
     }
    .gridItem-12 {
        background-image: url(../images/08-1920.webp);
     }
     .gridItem-17 {
        background-image: url(../images/09-1920.webp);
     }
}


@media (min-width: 1920px) {
    .gridItem-1 {
        xbackground-image: url(../images/01-2560.webp);
     }
    .gridItem-3 {
        background-image: url(../images/02-2560.webp);
     }
    .gridItem-4 {
        background-image: url(../images/03-2560.webp);
     }
    .gridItem-6 {
        background-image: url(../images/04-2560.webp);
     }
    .gridItem-7 {
        background-image: url(../images/05-2560.webp);
     }
    .gridItem-9 {
        background-image: url(../images/06-2560.webp);
     }
    .gridItem-10 {
        background-image: url(../images/07-2560.webp);
     }
    .gridItem-12 {
        background-image: url(../images/08-2560.webp);
     }
     .gridItem-17 {
        background-image: url(../images/09-2560.webp);
     }
}