body {
    font-family: 'Lato', sans-serif;
    padding: 70px 0 0;
    margin: 0;
    overflow-x: hidden;
}

footer {
    position: sticky;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--foucault-primary);
}

.heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lined-heading {
    position: relative;
    display: inline-block;
    padding: 0 60px;
    text-align: center;
    box-sizing: border-box;
}

.lined-heading::before,
.lined-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(40px, 20vw, 140px);
    height: 3px;
    background-color: var(--foucault-primary);
    transform: translateY(-50%);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 50%);
}

.lined-heading::before {
    left: -100px;
}

.lined-heading::after {
    right: -100px;
    transform: translateY(-50%) scaleX(-1);
}

@media (max-width: 768px) {
    .lined-heading {
        padding: 0 50px;
    }

    .heading-container:has(.lined-heading) {
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 576px) {
    .lined-heading {
        padding: 0 20px;
    }

    .heading-container:has(.lined-heading) {
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 450px) {
    .lined-heading {
        padding: 0 10px;
    }

    .heading-container:has(.lined-heading) {
        max-width: 40%;
        margin-left: auto;
        margin-right: auto;
    }

    .lined-heading::before,
    .lined-heading::after {
        width: clamp(10px, 80vw, 70px);
    }

    .lined-heading::before {
        left: -75px;
    }

    .lined-heading::after {
        right: -75px;
    }
}

header img,
footer img,
nav img {
    border-radius: 0;
    margin-bottom: 0;
}

.content-container {
    margin-top: 3rem;
    padding: 12px;
}


.navbar li {
    margin-bottom: unset;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
}

@media (min-width: 1081px) and (max-width: 1130px) {
    .navbar-brand img {
        width: 250px!important;
    }
}

@media (min-width: 992px) and (max-width: 1080px) {
    .navbar-brand img {
        width: 220px !important;
    }
}

@media (min-width: 992px) and (max-width: 1055px) {
    .navbar-nav .nav-link {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .blauer-rand {
        border-left: 3px solid var(--foucault-primary);
        padding-left: 2em;
    }
}


.parallax {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
    clip-path: inset(0);
}

.parallax-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

@media (min-width: 992px) {
    .parallax {
        margin-top: 5rem!important;
        margin-bottom: 3rem!important;
    }
}


.parallax-content {
    background-color: transparent;
}

.blurred-background {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}


#contactFormSubmitButton {
    width: 50%;
}

@media (max-width: 768px) {
    #contactFormSubmitButton {
        width: 100%;
    }
}

#galleryOverview .tab-content .bg-body {
    border-bottom-right-radius: var(--bs-border-radius);
    border-bottom-left-radius: var(--bs-border-radius);
    background-color: var(--bs-secondary-bg-subtle) !important;
}

#galleryOverview .nav-item:has(.nav-link.active) button {
    background-color: var(--bs-secondary-bg-subtle) !important;
    border-bottom-color: var(--bs-secondary-bg-subtle);
}


#galleryOverview .nav-item button {
    border-color: var(--bs-border-color);
}

@media (min-width: 1400px) {
    .cms-structure {
        width: 30%!important;
    }
}

.list-container-s li {
    margin-bottom: 0.4rem!important;
}

.list-container-m li {
    margin-bottom: 0.8rem!important;
}

.list-container-l li {
    margin-bottom: 1.2rem!important;
}

.list-container-s li > ol,
.list-container-s li > ul {
    margin-top: 0.8rem!important;
}

.list-container-m li > ol,
.list-container-m li > ul {
    margin-top: 1rem!important;
}

.list-container-l li > ol,
.list-container-l li > ul {
    margin-top: 1.2rem!important;
}

.grid-container {
    column-count: 4;
    column-gap: 10px;
}

.grid-container-item {
    width: 100%;
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 991px) {
    .grid-container {
        column-count: 2;
    }
}

.event-card {
    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


.no-link-decoration a[href^="tel"],
.no-link-decoration a[href^="mailto"] {
    color: inherit;
    text-decoration: none;
}

