/* Content Section */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.ueberuns-content {
    padding: 3rem 0;
    background-color: var(--background-white);
    flex: 1;
}

.footer {
    margin-top: auto;
}

.ueberuns-grid {
    margin-top: 10rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-column {
    display: flex;
    justify-content: center;
}

.ueberuns-video {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.text-column h2 {
    font-family: var(--heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.text-column p {
    line-height: 1.7;
    color: var(--text-light);
    text-align: justify;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-image-section {
        padding: 2rem 1rem;
    }

    .company-image {
        max-width: 100%;
    }

    .ueberuns-content {
        padding: 2rem 0;
    }

    .ueberuns-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-column {
        order: 2; /* Image below text on mobile */
    }

    .text-column {
        order: 1;
    }

    .ueberuns-video {
        max-width: 100%;
    }

    .text-column h2 {
        font-size: 1.5rem;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .ueberuns-grid {
        gap: 2rem;
    }

    .ueberuns-video {
        max-width: 350px;
    }
}