.header-row {
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    max-width: 100%;
    height: auto;
}

.header-btn-collapse-nav {
    position: absolute;
    top: 10px; /* Abstand vom oberen Rand */
    right: 10px; /* Abstand vom rechten Rand */
    z-index: 1000; /* Damit der Button über dem Bild liegt */
}


.check-border{
    border: 2px solid red;
}

@media (max-width: 768px) {
    .header-logo img {
        width: 100%;
        height: auto;
    }

    .header-btn-collapse-nav {
        top: 10px; /* Passe den Abstand nach Bedarf an */
        right: 10px; /* Passe den Abstand nach Bedarf an */
    }
}


 .iframe-container,
 .iframe-container-short {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Verhältnis 16:9 */
    height: 0;
    overflow: hidden;
}

.iframe-container iframe,
.iframe-container img,
.iframe-container-short iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-container img {
    width: 100%;
    height: auto !important;
}

.video-container {
    cursor: pointer;
}

.video-container img {
    width: 100%;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../img/play-button.png') no-repeat;
    width: 64px;
    height: 64px;
}


@media (max-width: 768px) {
    .iframe-container.desktop {
        display: none;
    }
    
    .isMobile {
        margin-top: -140px !important;
    }
}

@media (min-width: 769px) {
    .iframe-container-short.mobile {
        display: none;
    }
}




.iframe-container-short {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* Verhältnis 9:16 */
    height: 0;
    overflow: hidden;
}

.iframe-container-short iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



.styled-input {
    width: 100%;  /* Füllt die gesamte Breite des Containers */
    /* padding: 10px;  /* Polsterung für besseren Abstand im Inneren */
    /* margin: 10px 0;  /* Vertikaler Abstand zwischen den Feldern */
    /* font-size: 16px;  /* Schriftgröße */
    border: 1px solid #ccc;  /* Leichte graue Umrandung */
    border-radius: 5px;  /* Abgerundete Ecken */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);  /* Leichter innerer Schatten */
    transition: border-color 0.3s, box-shadow 0.3s;  /* Sanfte Übergänge bei Hover und Fokus */
}

.styled-input:focus {
    border-color: #66afe9;  /* Farbe der Umrandung bei Fokus */
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);  /* Schattierung bei Fokus */
    outline: none;  /* Entfernt die Standardumrandung bei Fokus */
}


.marquee {
    background: orangered;
    /* Höhe des Containers */
    color: white;
}


@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}




/* Modales Fenster-Inhalt */
.modal-content {
    position: relative;
    margin: auto;
    top: 5vh;
    padding: 0;
    width: 90%; /* Could be more or less, depending on screen size */
    max-width: 1000px;
    max-height: 90vh; /* 90% of viewport height */
    background-color: #fefefe;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    animation-name: animatetop;
    animation-duration: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video-Stil */
#modalVideo,
#modalVideoVerdienst {
   width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

/* Schließen-Schaltfläche */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.carusell_img{
    width: 70% !important;
}

.openVorstellung,
.openVerdienst {
    display: grid;
    place-items: center;

}

.text-container {
    display: inline-block; /* Passt die Größe an den Inhalt an */
    background-color: rgba(255, 255, 255, 0.7); /* Weißer, leicht transparenter Hintergrund */
    padding: 5px 5px; /* Abstände um den Text */
    border-radius: 5px; /* Optional: Abgerundete Ecken */
    text-align: center; /* Zentriert den Text innerhalb des Containers */
    font-size: 0.8em; /* Beispiel-Schriftgröße */
    color: #000; /* Textfarbe */
}