
header .navbar-brand img {
    max-height: 100px;
}

.stadtwerke{
    max-width: 190%;
    position: relative;
    right: 40vh;
}

.cover-background {
    position: relative !important; /* Erzwingt die Position */
    z-index: 10 !important; /* Höherer z-index */
    

}

.cover-background .container {
    position: relative !important;
    z-index: 11 !important; /* Noch höherer z-index für den Content */
}

.background-position-center-top {
    position: relative;
    z-index: 5 !important; /* Die nächste Section liegt hinter der vorherigen */
}
.background-position-left-top {
    position: absolute !important;
    z-index: -1 !important; /* Hintergrund unter allem */
}
.alt-font {
    width: 100%; /* Stellt sicher, dass der Textblock die gesamte Breite des übergeordneten Containers nutzt */
}

.cover-background-hero{
    background-position: center -250px !important;
}
.cover-background-top{
    background-position: top !important; /* Setzt das Hintergrundbild an den oberen Rand */
    background-size: cover; 
    min-height: 100vh;
}

.custom-banner {
    text-align: left;
    width: 100%;
    max-width: none;
}
.overlapping-text-container {
    position: relative;
}
.overlapping-text-container > div {
    position: absolute;
    top: 0; /* Überlappen beginnt von oben */
    left: 0; /* Gleiche horizontale Ausrichtung */
    z-index: 1;
}
.overlapping-text-container > div:nth-child(2) {
    z-index: 2; /* Zweites Element über dem ersten */
    opacity: 0.8; /* Optionale Transparenz, um den Text besser sichtbar zu machen */
}
header .navbar [class*=col-] .navbar-nav .nav-item a{
    color: #FFFFFF;
}

.mt-lg-200{
    margin-top: 17%;
}
.cover-background-feature1{
    background-position: unset !important;
}
.cover-background-feature2{
   min-height: 100vh;
}
.enerplus-btn-bakground1{
    background: linear-gradient(#40A5E5 46.5%, #488BDB 100%);
}
.cover-background-feature1 {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}

.feature-img {
    position: relative;
    max-width: 50%; /* Passe die Breite an, je nachdem, wie groß das Bild sein soll */
    transform: translateY(-50%); /* Hebt das Bild an, um es halb über das andere Bild zu legen */
    z-index: 2; /* Stellt sicher, dass das Bild über dem Rechteck liegt */
}

.rectangle-img {
    position: absolute;
    bottom: 0;
    left: 5%; /* Offset für Zentrierung, passe dies nach Bedarf an */
    width: 90%; /* 90% der gesamten Breite */
    max-width: 100%; /* Sorgt dafür, dass es nicht die Breite überschreitet */
    z-index: 1; /* Liegt unter dem Feature-Bild */
}

.product-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.tablet-image {
    flex: 1;
    max-width: 600px;
    transform: rotate(-5deg);
}

.tablet-image img {
    width: 100%;
    height: auto;
}

.text-content {
    flex: 1;
    color: white;
    padding: 2rem;
}

.text-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4a90e2;
    color: white;
    border: none;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .tablet-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .text-content {
        padding: 1rem;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .button-group {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .text-content h1 {
        font-size: 1.5rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

.overlap-section {
    position: relative;
    margin-top: -250px;
    width: 100%;
    overflow: visible;
}

.rectangle-container {
    position: relative;
    z-index: 2; /* Höherer z-index damit es über dem anderen div liegt */
}

.rectangle-container img {
    width: 100%;
    height: auto;
    max-width: none;
    position: relative;
}

.circles-background {
    position: relative;
    z-index: 1;
    min-height: 1400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .overlap-section {
        margin-top: -150px; /* Kleinerer Abstand auf mobilen Geräten */
    }
    
    .circles-background {
        min-height: 1000px;
    }
}
.footer-logo {
    img {
        max-height: 50px !important;
    }
}
.footer-dark p, .footer-dark a{
    color: #FFFFFF !important;
}
@media (max-width: 991.98px) {
    .md-lh-13 {
        line-height: 13px;
    }
}
