/* fonts */
@font-face {
    font-family: montserrat;
    src: url(../assets/font/Montserrat-Regular.ttf);
}
@font-face {
    font-family: montserrat-bold;
    src: url(../assets/font/Montserrat-Bold.ttf);
}

@font-face {
    font-family: montserrat-thin;
    src: url(../assets/font/Montserrat-Thin.ttf);
}

@font-face {
    font-family: montserrat-italic;
    src: url(../assets/font/Montserrat-Italic.ttf);
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: montserrat;

    /* disable horizontal scrollbar */
    overflow-x: hidden;
}

ul {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: black;
}

:root {
    /* Standard-Schriftgrößen für Desktop */
    --font-size-large-heading: 32px;
    --font-size-small-heading: 24px;
    --font-size-body: 16px;
    --font-size-footnote: 12px;
}

#hamburger {
    width: 32px;
    aspect-ratio: 1/1;
    background-image: url('../assets/img/hamburger.png');
    background-size: contain;
    background-repeat: no-repeat;
    visibility: hidden;
    display: none;
}

/* Anpassung für Tablets */
@media (max-width: 1023px) {

    #hamburger {
        display: block;
        visibility: visible;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    .start-icon {
        position: fixed;
        visibility: visible;
        top: 20px;
        z-index: 1001;
        display: block;
    }

    .start-icon.one {
        left: 20px;
    }

    .start-icon.two {
        left: 70px; 
    }

    #navbar {
        height: 0;
        visibility: hidden;
        display: block;
        background-color: #191919 !important;
        color: white !important;
        transition: height 0.15s ease-in-out !important; /* Höhe animieren */
    }

    #navbar.open {
        display: block;
        visibility: visible;
        height: 100vh;
    }

    #navbar.open .start-icon {
        visibility: hidden;
    }

    #navbar > ul {
        padding: 10px 15px 10px 30px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    #navbar > ul > li {
        margin: 10px 0 !important;
    }

    #navbar .start-icon {
        margin: 0 !important;
    }

    #navbar.scrolled #nav-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: #191919;
        z-index: 1000;
        visibility: visible;
        transition: background-color 0.15s;
    }

    #navbar.open #nav-bg {
        display: none;
    }


    .not-home #nav-bg {
        background-color: #191919 !important;
        color: white !important;
        visibility: visible;
        height: 70px;
    }

}

/* Anpassung für Mobilgeräte */
@media (max-width: 767px) {
    :root {
        --font-size-large-heading: 24px;
        --font-size-small-heading: 20px;
        --font-size-body: 14px;
        --font-size-footnote: 10px;
    }

    .container {
        flex-direction: column !important;
        width: 100%;
    }

    .content_left {
        max-width: 100% !important;
    }

    .content_right {
        max-width: 100% !important;
    }

    footer {
        flex-direction: column !important;
    }

    footer > .footer_left {
        max-width: 100% !important;
        margin-top: 30px !important;
        order: 2;
    }

    footer > .footer_right {
        max-width: 100% !important;
        order: 1;
    }
}

.large-heading {
    font-size: var(--font-size-large-heading);
}

.small-heading {
    font-size: var(--font-size-small-heading);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 200;
}

.body-text {
    font-size: var(--font-size-body);
}

.footnote {
    font-size: var(--font-size-footnote);
}

h1 {
    font-size: var(--font-size-large-heading);
    margin: 0;
    font-family: montserrat-bold;
}

h2 {
    font-size: var(--font-size-small-heading);
    margin: 0;
    font-family: montserrat-bold;
}

p {
    line-height: 30px;   
}

.placeholder {
    flex: 1;
    flex-grow: 1;
}

#navbar {
    width: 100%;
    background-color: transparent;
    position: fixed;
    z-index: 1000;
}

#navbar .current {
    border-bottom: 1px solid white;
}

#navbar.scrolled {
    background-color: #191919;
    color: white;
    transition: background-color 0.15s;
}

#navbar > ul{
    display: flex;
    align-items: center;
    padding: 20px 15px 20px 30px;
    background-color: transparent;
    list-style-type: none;
}

#navbar > ul > li {
    margin-right: 20px;
}

#navbar > ul > li > a {
    text-decoration: none;
    color: white;
}

#navbar > ul > li > a > img {
    width: 32px;
    aspect-ratio: 1/1;
    text-align: center;
}

.not-home #navbar {
    background-color: #191919;
    color: white;
}

.not-home #body {
    padding-top: 100px;
}

#body {
    padding-left: clamp(10px, 10vw, 200px);
    padding-right: clamp(10px, 10vw, 200px);
    padding-top: 40px;
    padding-bottom: 40px;
}

hr {
    height: 2px;
    background-color: black;
}

.bold {
    font-weight: bold;
    font-family: montserrat-bold;
}

.container {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

.content_left {
    flex: 50%;
    max-width: 50%;
    padding: 0 20px;
}

.content_right {
    flex: 50%;
    max-width: 50%;
    padding: 0 20px;
}

.container {
    margin: 50px 0;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: auto;
    margin: 30px auto;
}

.carousel img {
    width: 100%;
    display: none;
}

.carousel img.active {
    display: block;
}

.carousel .nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel .nav button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

.carousel .nav button:hover {
    background: rgba(0, 0, 0, 0.7);
}

footer {
    width: 100%;
    background-color: #191919;
    padding-left: clamp(10px, 10vw, 200px);
    padding-right: clamp(10px, 10vw, 200px);
    padding-top: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;
    color: white;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

footer h2 {
    margin-bottom: 15px;
}

footer a {
    color: white;
}

footer > .footer_left {
    flex: 50%;
    max-width: 50%;
    padding: 0 20px;
}

.footer_left p {
    margin: 0;
    line-height: 20px;
}

footer > .footer_right {
    flex: 50%;
    max-width: 50%;
    padding: 0 20px;
}

.textinput {
    width: clamp(250px, 80vw, 500px);
    height: 40px;
    max-width: 100% !important;
    background-color: rgba(201, 201, 201, 0.327);
    border: none;
    border-color: transparent;
    margin: 10px 0;
    outline: none;
    padding-left: 20px;
    color: #fff;
    box-sizing: border-box;
}

#kontakttextarea {
    width: clamp(250px, 80vw, 500px);
    max-width: 100% !important;
    height: 200px;
    background-color: rgba(201, 201, 201, 0.327);
    border: none;
    border-color: transparent;
    margin: 10px 0;
    outline: none;
    padding-left: 20px;
    color: #fff;
    resize: none;
    padding-top: 10px;
    box-sizing: border-box;
}

.submit {
    width: clamp(250px, 80vw, 500px);
    max-width: 100% !important;
    height: 40px;
    background-color: transparent;
    border: 2px solid #fff;
    padding: 10px;
    outline: none;
    color: #fff;
    cursor: pointer;
}

.mr-10 {
    margin-right: 10px;
}

.underline {
    text-decoration: underline;
}