* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header h1 {
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 1.5px;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

header nav a:hover {
    color: #4a90e2;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-background {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    filter: brightness(60%);
    position: absolute;
}

.hero-content {
    text-align: center;
    z-index: 2;
    filter: brightness(100%);
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #d3d3d3;
    animation: fadeIn 2s ease-in-out;
}

.hero a {
    text-decoration: none;
    color: #fff;
    background-color: #4a90e2;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    animation: fadeIn 2s ease-in-out;
    transition: background-color 0.3s;
    box-shadow: 0px 0px 10px black;
}

.hero a:hover {
    background-color: #357ABD;
}

.parallax-section {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1573080496219-6cc31bfa0b52') no-repeat center center/cover;
    position: relative;
}

@keyframes parallaxMove {
    from {
        background-position: center;
    }
    to {
        background-position: center 20%;
    }
}

.info-section {
    padding: 80px 20px;
    background-color: #181818;
    text-align: center;
}

.info-section-split {
    background-color: #181818;
    text-align: center;
}

.info-section h3 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffffff;
}

.info-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info-card {
    background-color: #242424;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    cursor: help;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 22px;
}

.info-card p {
    color: #b0b0b0;
    font-size: 16px;
    line-height: 1.6;
}

.cta-section {
    padding: 50px 20px;
    background-color: #333333;
    text-align: center;
}

.cta-section h4 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-section button {
    padding: 15px 30px;
    font-size: 18px;
    color: #ffffff;
    background-color: #4a90e2;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-section button:hover {
    background-color: #357ABD;
}

footer {
    background-color: #1a1a1a;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    color: #b0b0b0;
    font-size: 14px;
}

.split-view {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: 800px;
    overflow-x: hidden;
    overflow-y: visible;
}

.split-view img {
    width: 1200px;
    transform: translateX(400px);
}

.split-view a {
    font-size: 52px;
    font-weight:  bold;
    transform: translateX(200px);
}

/* NEW */

#experten-angebot {
    padding-top: 20px;
}

.offer-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.offer-card {
    background-color: #242424;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    cursor: default;
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.offer-card h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 22px;
}

.offer-card h3 {
    width: 80%;
}

.offer-card p {
    color: #b0b0b0;
    font-size: 16px;
    line-height: 1.6;
}


/* Animation for fade in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1400px) {
    .split-view {
        height: 500px;
    }

    .split-view a {
        font-size: 24px;
        width: 80vw;
        transform: translateX(100px);
    }

    .split-view img {
        width: 700px;
        transform: translateX(200px);
    }
}
.footer-p-mobile {
    display: none;
}
@media (max-width: 768px) {
    header nav {
        display: none;
    }

    header {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .hero h2 {
        font-size: 26px;
        width: 80vw;
    }

    .hero p {
        font-size: 16px;
        width: 80vw;
    }

    .hero a {
        font-size: 16px;
        padding: 15px 30px;
        width: 80vw;
    }

    .info-section {
        padding: 0;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .info-section h3 {
        font-size: 24px;
    }

    .cta-section h4 {
        font-size: 22px;
    }

    .cta-section button {
        font-size: 16px;
    }

    .split-view {
        flex-direction: column;
    }

    .split-view a {
        font-size: 20px;
        width: 80vw;
        transform: translateX(0px);
    }

    .split-view img {
        width: 500px;
        transform: translateX(50px);
    }

    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    footer p {
        display: none;
    }

    footer .footer-p-mobile {
        display: flex;
    }

    .split-view {
        height: 500px;
    }
}
