* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    border: none;
    font-weight: 100;
    font-size: 18px;
    scroll-behavior: smooth;
    font-family: "geomanist", sans-serif;
    color: white;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

@font-face {
    font-family: 'geomanist';
    src: url('../assets/geomanist/geomanistregular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'geomanist';
    src: url('../assets/geomanist/geomanistregularitalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'geomanist';
    src: url('../assets/geomanist/geomanistbold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'geomanist';
    src: url('../assets/geomanist/geomanistbolditalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'geomanist';
    src: url('../assets/geomanist/geomanistmedium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'geomanist';
    src: url('../assets/geomanist/geomanistmediumitalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

.lilamitte {
    color: #59476F;
}

.liladunkel {
    color: #30253D;
}

.lilahell {
    color: #7A6C8C;
}

.orange {
    color: #ECA694;
}

.blau {
    color: #9EC8DD;
}

.pink {
    color: #E35072;
}

h1 {
    font-size: 3.815rem;
    font-weight: bold;
    line-height: 4rem;
}

h2 {
    font-size: 3.815rem;
    font-weight: 400;
}

h3 {
    font-size: 2.441rem;
    font-weight: bold;
}

h4 {
    font-size: 2.441rem;
    font-weight: 400;
    /* font-style: italic; */
}

h5 {
    font-size: 1.563rem;
    font-weight: bold;
}

h6 {
    font-size: 1.563rem;
    font-weight: 400;
}

.h7 {
    font-size: 1.25rem;
    font-weight: bold;
}

.h8 {
    font-size: 1.25rem;
    font-weight: 400;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3rem;
}

.smol {
    font-size: .8rem;
    font-weight: 400;
}

.bold {
    display: inline;
    font-weight: bold;
}

header {
    display: flex;
    width: 100%;
    height: 25vh;
    padding: 3rem;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 3rem;
}

.name {
    height: 5rem;
}

.logobox {
    display: flex;
    align-items: center;
    width: 50%;
}

/* .logobox:last-of-type {
    padding-left: 1.5rem;
} */

.logobox h5 {
    margin-left: .5rem;
}

.header-links {
    display: flex;
    flex-direction: row;
    padding-right: 1.5rem;
    min-width: 50%;
}

.header-rechts {
    display: flex;
    flex-direction: column;
    padding-left: 1.5rem;
    max-width: 50%;
}

.body {
    height: 75vh;
    width: 100%;
    background-clip: content-box;
    padding: .5rem .25rem;
    display: flex;
}

.karte {
    width: 25%;
    display: flex;
    flex-direction: column;
    padding: 0 .25rem;
    background-clip: content-box;
    height: 100%;
}

/* .story2 {
    background: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%), url(../assets/grafiken/uebersicht/StoryB1Licht.jpg);
    background-size: cover;
    background-clip: content-box;
}

.story3 {
    background: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%), url(../assets/grafiken/uebersicht/StoryC1Licht.jpg);
    background-size: cover;
    background-clip: content-box;
}

.story4 {
    background: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%), url(../assets/grafiken/uebersicht/StoryD1Licht.jpg);
    background-size: cover;
    background-clip: content-box;
} */

.karte p {
    padding-top: 3rem;
    padding-left: 3rem;
}

.karte h5 {
    padding-top: .5rem;
    padding-left: 3rem;
}

.karte p {
    position: absolute;
}

.karte h5 {
    margin-top: 4.5rem;
    position: absolute;
}

.bildbox {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.karte1 {
    background-image: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%), url(../assets/grafiken/uebersicht/StoryA1Licht.jpg);
    background-size: cover;
}

.karte2 {
    background-image: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%), url(../assets/grafiken/uebersicht/StoryB1Licht.jpg);
    background-size: cover;
}

.karte3 {
    background-image: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%), url(../assets/grafiken/uebersicht/StoryC1Licht.jpg);
    background-size: cover;
}

.karte4 {
    background-image: linear-gradient(150deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%), url(../assets/grafiken/uebersicht/StoryD1Licht.jpg);
    background-size: cover;
}

.bildbox img {
    position: relative;
    z-index: -1;
    display: block;
    min-height: 100%;
    min-width: 100%;
    aspect-ratio: 118.5 / 175;
}

.bildbox:hover > img {
    /* transform: scale(1.1); */
    animation: dance 1s ease-in-out;
    /* transition: all .5s ease-in-out; */
}

@keyframes dance {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ausklappbar {
    display: none;
}

.infotext * {
    color: #30253D;
}

.infopfeil {
    cursor: pointer;
}


@media only screen and (max-width: 1200px) {

    * {
        font-size: 15px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        height: fit-content;
    }

    .header-rechts {
        padding-left: 0;
        margin-top: 3rem;
        max-width: 100%;
        margin-bottom: .5rem;
    }

    .infotext {
        max-width: 40rem;
    }

    .karte {
        width: 50%;
        margin-bottom: .5rem;
        aspect-ratio: 1 / 1;
    }

    .body {
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 0;
    }

    .logobox {
        width: auto;
    }

    .header-links {
        width: 100%;
        padding: 0;
        justify-content: space-between;
    }

    .bildbox img {
        height: auto;
        width: 100%;
    }

}

@media only screen and (max-width: 700px) {

    * {
        font-size: 10px;
    }

    .bold {
        font-size: 1.3rem;
    }

    p {
        max-width: 40rem;
        font-size: 1.3rem;
        line-height: 1.7rem;
    }

    .orange {
        font-size: 1.3rem;
        line-height: 1.7rem;
    }

    .header-rechts {
        width: 100%;
        margin-bottom: 0;
    }
    
    .ausklappbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 100%;
        padding-top: 1.5rem;
        border-top: 2px solid #30253D;
    }

    .infotext {
        margin-top: 1.5rem;
        display: none;
    }

    .ausklappbar * {
        color: #30253D;
    }

    .ausklappbar img {
        width: 1.5rem;
        transition: all .5s;
    }

    header {
        padding: 2rem;
    }
    
    .header-links {
        align-items: flex-start;
        flex-direction: column;
    }

    /* .logobox:first-of-type {
        padding-right: 1.5rem;
    } */

    .logobox:last-of-type {
        padding-top: 3rem;
    }

    .karte {
        width: 100%;
    }

    .logobox {
        max-width: 15rem;
    }

    .logobox img {
        width: 100%;
        height: auto;
    }

}