html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--c-secondary-color);
    color: var(--c-primary-color);
    line-height: 1.5;
}

.ft-huge {
    font-size: var(--ft-heading-2);
}

section {
    min-height: 100vh;
    min-height: 100svh;
    padding: 7rem;
    box-sizing: border-box;
    /* overflow: hidden; */
}

q {
    font-style: italic;
}

a {
    color: var(--c-primary-color);
}

.hero-section {
    display: grid;
}

.hero-section > * {
    grid-area: 1 / 1;
    align-self: center;
}

.hero-section div {
    width: 50%;
}

.hero-section div h2 {
    padding-bottom: 2rem;
}

.hero-section > img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section .filter {
    /* TODO: add Filter top to bottom */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.side-img {
    padding: 0;
    object-fit: cover;
    justify-self: end;
}

#contact .side-img {
    justify-self: start;
}

#contact,
#introduction,
#crew {
    display: flex;
    flex-direction: row;
    padding: 0;
}

#contact > div,
#introduction > div,
#crew > div {
    padding: 7rem;
    box-sizing: border-box;
    width: 60%;
}

#contact > img,
#introduction > img,
#crew > img {
    width: 40%;
}

#tarife .tab {
    overflow: hidden;
    border: 2px solid var(--c-accent-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 3rem 0;
}

#tarife .tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    color: var(--c-primary-color);
    padding: 1rem 2rem;
}

.tab button:hover {
    background-color: #ddd;
}

#tarife .tab .active {
    background-color: var(--c-accent-color);
    color: var(--c-secondary-color);
}

.tabwrapper {
    display: grid;
}

.tabcontent {
    display: grid;
    opacity: 0;
    grid-template-columns: 2fr 1fr;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    grid-area: 1 / 1;
    align-self: self-start;
}

.tabcontent[active="true"] {
    opacity: 1;
}

.tabcontent img {
    justify-self: end;
    transition: all 0.3s ease-in-out;
}

.std-button {
    padding: 1rem 2rem;
    background-color: var(--c-accent-color);
    color: var(--c-secondary-color);
    box-sizing: border-box;
    margin: 2rem 0rem;
    display: block;
    width: fit-content;
}

.impressum .ft-heading-2 {
    margin: 2rem 0rem 1rem 0rem;
}

.impressum .endnote {
    margin-top: 3rem;
}

@media screen and (max-width: 768px) {
    section {
        padding: 2rem;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;

        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
    
    .tabcontent,
    #tarife .tab {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }

    .side-img {
        width: 100%;
        height: auto;
    }

    .tabcontent img {
        width: 100%;
        height: auto;
        margin-top: 1rem;
    }

    .hero-section div {
        width: 100%;
    }

    #contact,
    #introduction,
    #crew {
        flex-direction: column;
    }

    #contact > div,
    #introduction > div,
    #crew > div {
        padding: 2rem;
		width: 100%;
    }

    #contact > img,
    #introduction > img,
    #crew > img {
        width: 100%;
    }

    .ft-heading-2 {
        margin-bottom: 1rem;
    }
}