﻿body {
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

.hero-section {
    background: url('images/keyvisual1.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    height: 450px;
}

.hero-title {
    font-size: 3.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 2.0rem;
    margin-bottom: 2.2rem;
    font-weight: 550;
    color: white;
}

.lead {
    font-size: 1.75rem;
    font-weight: 400;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #e9ecef;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    }

    .project-card a.project-image {
        display: block;
    }

    .project-card img {
        border-radius: 1rem;
        height: 300px;
        object-fit: cover;
        display: block;
        margin: auto;
    }

    .project-card .card-body {
        font-size: 1.2rem;
        flex-grow: 1;
        padding: 1.25rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .project-card .card-title {
        margin-bottom: 0.5rem;
    }

    .project-card .card-text {
        flex-grow: 1;
    }

.container-bg {
    position: relative;
    z-index: 1;
    max-width: 100%; /* Stellt sicher, dass der Container nicht breiter als der Viewport ist */
    margin: 0 auto; /* Zentriert den Container */
}

    .container-bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('images/bg-ohneKI-transp.png') no-repeat center center;
        background-size: cover;
        opacity: 0.5; /* Transparenz nur für das Bild */
        z-index: -1;
    }

.float-img {
    width: 200px;
    border: dashed;
}

@media (max-width: 767px) {
    .float-img {
        width: 100%;
    }
}
