/**** ALLGEMEIN ****/

.only-mobile {
    display: none;
}

@media (max-width: 768px) {

    .logo {
        content: url('../img/esass-logo-e.png');
        width: 48px;
        height: 48px;
    }

    .only-web {
        display: none;
    }

    .only-mobile {
        display: inline;
    }

    h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

}

/**** STARTSEITE ****/

.header-video-wrapper {
    left: -350px;
}

.info-banner {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    padding: 0 15px;
}

.info-banner-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: #fff !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-logo-steinbrecher {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.partner-logo-baum {
    width: 195px;
    height: 60px;
    margin-bottom: 20px;
}

.partner-logo-wuerkner {
    width: 197px;
    height: 46px;
    margin-bottom: 20px;
}

.align-testimonials {
    padding-left: 1rem !important;
}

@media (max-width: 768px) {

    .header-video-wrapper {
        left: -20%;
    }

    .header-video-wrapper video {
        object-position: 30% 0%;
    }

    .tablet-esass {
        display: none;
    }

    .testimonial p {
        font-size: 0.8rem !important;
    }
}

/**** UNSERE BAUSOFTWARE ****/

#about-esass {
    margin-bottom: -80px;
}

.responsive-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.responsive-image {
    width: 100%;
    display: block;
    cursor: zoom-in;
}

#telekom-b2b {
    margin-bottom: 50px;
}

@media (max-width: 768px) {

    .esass-web-header .position-absolute {
        font-size: 1.4rem !important;
    }

    #about-esass {
        margin-bottom: 60px;
    }

    .responsive-image {
        cursor: default;
        pointer-events: none;
    }

    .overlay-icon {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
        background: rgba(0, 0, 0, 0.7);
        border-radius: 20px;
        padding: 6px 10px;
        pointer-events: auto;
        text-decoration: none;
        animation: pulse 2.5s infinite;
    }

    .responsive-image-container:hover .responsive-image {
        transform: none;
        box-shadow: none;
    }

    @keyframes pulse {
        0% {
            transform: translateX(-50%) scale(1);
        }

        50% {
            transform: translateX(-50%) scale(1.1);
        }

        100% {
            transform: translateX(-50%) scale(1);
        }
    }
}

/**** UNSERE APP ****/

#about-app {
    margin-bottom: 20px;
}

.app-store-badge img {
    width: auto;
    height: 50px;
}

@media (max-width: 768px) {

    .esass-app-header .position-absolute {
        font-size: 1.4rem !important;
    }

    .app-store-badge img {
        height: 45px;
    }
}

/**** ÜBER UNS ****/

.about-link {
    color: var(--dark);
    text-decoration: underline;
    text-decoration-color: var(--secondary);
}

.about-link:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {

    .about-us-header h1.position-absolute {
        font-size: 1.4rem !important;
    }

}

/**** IMPRESSUM ****/

.legal-link {
    color: var(--dark);
    text-decoration: underline;
    text-decoration-color: var(--secondary);
}

.legal-link:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {

    .legal-header .position-absolute {
        font-size: 1.4rem !important;
    }
}

/**** 404 ****/

@media (max-width: 768px) {

    .error-header .position-absolute {
        font-size: 1.2rem !important;
    }
}

/**** TELEKOM B2B ****/

.b2b-highlight {
    border: 3px solid #EA0A8E;
    padding: 20px;
    background: linear-gradient(to bottom right, #FFFFFF, #F7F7F7);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.b2b-header {
    display: flex;
    align-items: center;
}

.svg-telekom-logo-title {
    width: auto;
    height: 35px;
    margin-right: 15px;
}

.magenta-icon {
    color: #EA0A8E;
}

/**** KONTAKTFORMULAR ****/

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-form-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.rounded-image {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .rounded-image {
        width: 120px;
        height: 120px;
    }
}

.contact-form-container {
    margin: 0 auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/**** NEWSLETTER ****/

.newsletter {
    position: relative;
    z-index: 1000;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/**** MOBILE NAV-MENU ****/

@media (max-width: 991px) {

    .secondary-theme #header .header-nav-main nav>ul>li>a {
        color: var(--secondary);
    }

    .secondary-theme #header .header-nav-main nav>ul>li>a.active {
        background: var(--secondary);
    }

    .secondary-theme #header .header-nav-main nav>ul>li>a:focus,
    .secondary-theme #header .header-nav-main nav>ul>li>a:hover {
        background: var(--secondary);
    }

    .secondary-theme #header .header-nav-main nav>ul>li>a.active {
        color: var(--dark) !important;
    }

}