@font-face {
    font-family: 'Futura Md BT';
    src: url('../font/futura-md-bt-medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Futura Std Schriftarten */
@font-face {
    font-family: 'Futura Std';
    src: url('../font/Futura Std/Futura Std Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Std';
    src: url('../font/Futura Std/Futura Std Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Std';
    src: url('../font/Futura Std/Futura Std Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Std';
    src: url('../font/Futura Std/Futura Std Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Std Condensed';
    src: url('../font/Futura Std/Futura Std Bold Condensed.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Std Condensed';
    src: url('../font/Futura Std/Futura Std Medium Condensed.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Std Condensed';
    src: url('../font/Futura Std/Futura Std Bold Condensed Oblique.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

.logo {
    height: 100px;
    display: block;
}

.navbar {
    background-color: transparent !important;
    z-index: 600;
}

body {
    background-color: #FFFFFF;
}

.btn-primary {
    background-color: #EC6608;
    border-color: #EC6608;
}

.btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
}

.container {
    max-width: 1920px;
    background-color: #EC6608;
}

section {
    min-height: 100vh;
}

footer {
    background-color: #ffffff !important;
    margin-top: -2rem;
}

footer a {
    text-decoration: none;
    color: black;
}

footer img {
    max-height: 75px;
    width: 100%;
}

h1 {
    font-family: Futura Std;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 66px;
    line-height: 66px;
    letter-spacing: 3px;
    text-align: center;

}

h1 span {
    font-family: Futura Std;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 50px;
    line-height: 73px;
    letter-spacing: 3px;
    text-align: center;
}

p {
    font-family: Futura Std;
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;


}

ul li {
    font-family: Futura Std;
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: left;
    text-transform: uppercase;
    color: #000;
    margin-left: 5rem;
}

b {
    font-family: Futura Std;
    font-weight: 700;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;

}

h2 {
    font-family: Futura Std;
    font-weight: 400;
    font-size: 29px;
    line-height: 35px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
}

.section-participant{
    margin-top: -20%;
    background-color: #EC6608;
}

.participant-header{
    max-width: 800px;
}

.participant-header h3{
font-weight: 500;
font-size: 30px;
line-height: 34px;
letter-spacing: 1px;
text-align: center;
    color: #FFFFFF;

}
.container {
    padding: 0;
}

.header-troublemaker {
    width: 100%;
    bottom: 0;
    right: 0;
    padding: 0;
    margin: 0;
    background: linear-gradient(to right bottom, transparent 50%, #EC6608 50.3%);
}

.header-section {
    background-image: url(../img/MIO_Topper_Bild.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 20% 40%;
    padding-top: 4rem;
}

.wappen-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wappen {
    display: block;
    max-height: 70px;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.wappen-container::before,
.wappen-container::after {
    content: "";
    height: 2px;
    background-color: white;
    flex-grow: 1;
}

/* Allgemeine Galerie-Stile */
.gallery {
    margin: 2rem 2rem 10rem;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
}

.gallery-item {
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Erstes Bild im Mobilmodus lannggezogen mit Abständen */
@media (max-width: 991px) {
    .gallery-item {
        flex-basis: 50%;
        width: 50%;
    }

}

/* Desktop: 5 Bilder nebeneinander */
@media (min-width: 992px) {
    .gallery-item {
        flex-basis: 20%;
        width: 20%;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1; /* Garantiert quadratische Bilder */
}

/* Das erste Bild kann ein anderes Seitenverhältnis haben im Mobilmodus */
@media (max-width: 991px) {
    .gallery-item:first-child img {
        aspect-ratio: 2 / 1; /* Breiter als hoch für das erste Bild im Mobilmodus */
    }
}


.feature-section {
    margin: 50px 0;
    background: #FFFFFF45;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-image {
    width: 100px; /* Bildgröße anpassen nach Bedarf */
    margin-right: 30px;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-family: Futura Std;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #1D1D1B;

}


.products-section {
    overflow: auto;
    background: linear-gradient(153deg, #EC6608 50%, transparent 50.3%);
}

.products-section div {
    padding: 1rem;
    z-index: 600;
}


.products-section h2 {
}

.products-section div h2 {
    color: #fff;
}

.products-section figcaption {
}

.products-section figure {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.products-section img {
    font-family: Futura Std;
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;

}

.products-section h2 {
    color: #000;
    z-index: 600;
    position: relative;
    margin-bottom: 3rem;
}

.form-section {
    z-index: 600;
    position: relative;
    background-color: #FFFFFF;
    min-height: 0vh;
}

.form-section h2 {
    color: #000;
}

.features-section {
    min-height: auto;
}

.form-container {
    background-color: #ffffff; /* Eigene Hintergrundfarbe */
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 2rem auto; /* zentriert das Formular */
}

.section-imprint {
    background-color: #FFFFFF;
}

.container-md{
    max-width: 1200px;
}

.section-imprint h2 {
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1px;
    text-align: center;

}

.section-imprint h3 {
    color: #000;
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 1px;
    text-align: left;
    margin-top: 2rem;

}

.section-imprint p {
    font-family: Futura Std;
    text-align: left !important;
    color: #000 !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

}

.section-imprint b {
    text-align: left !important;
    color: #000 !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-transform: capitalize;
}

.section-imprint h1 {
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 2rem;

}

.section-imprint h1 span {
    font-weight: 400;
    font-size: 20px;
    line-height: 31px;
    letter-spacing: 1px;
    text-align: center;

}

@media (max-width: 768px) {
    .feature-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .form-container {
        border-radius: 0px;
        margin-left: 10px;
        margin-right: 10px;
    }


    .products-section div {
        padding: 1rem;
    }

    .logo {
        height: 100px;
        margin-top: 3rem;
        margin-bottom: 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    h1 {
        font-weight: 500;
        font-size: 22px;
        line-height: 24px;
        letter-spacing: 1px;
        text-align: center;

    }

    h1 span {
        font-weight: 400;
        font-size: 17px;
        line-height: 25px;
        letter-spacing: 1px;
        text-align: center;

    }

    .gallery {
        margin: 2rem 0rem 10rem;
    }

}

@media (min-width: 991px) {
    .feature-item {
        flex-direction: column;
        width: 25%;
    }

    .feature-image {
        margin-right: 0px;
    }

    .feature-section {
        max-width: 100%;
        display: flex;
    }

    .feature-content {
        margin-top: 1rem;
    }


    .header-troublemaker {
        height: 55%;
    }
}

@media (min-width: 1400px) {
    .products-section div {
        margin-top: 16rem;
    }

    .gallery {
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

.success-banner {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 5rem;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.success-banner p {
    color: #155724;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-banner {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.alert-danger p {
    color: #58151c;
}

.alert-danger li {
    color: #58151c;
}

.alert-info p{
    color: #000000 !important;
}