* {
    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: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

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

header nav a {
    color: black;
    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: white;
    text-align: center;
}

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

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

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

.info-card {
    background-color: gainsboro;
    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;
}

.info-section-split {
    background-color: gainsboro;
}

.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: 1700px;
    transform: translateX(400px);
}

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

.info-section-split-small {
    background-color: gainsboro;
}

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

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

.split-view-small a {
    font-size: 32px;
    width: 400px;
    font-weight:  bold;
    transform: translateX(00px);
    color: black;
}

.review-section {
    background-color: whitesmoke;
    color: black;
    padding-bottom: 60px;
    padding-top: 40px;
    overflow: hidden;
}

.reviews {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 150px;
    transform: translateX(270px);
    transition: transform 1s ease;
}

.review-section h1 {
    margin-top: 20px;
    margin-bottom: 50px;
}

.review {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: whitesmoke;
    min-width: 400px;
    min-height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.4s;
}

.review-out {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: whitesmoke;
    width: 300px;
    height: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transform: scale(70%);
    opacity: 70%;
}

.review-section ion-icon {
    color: goldenrod;
}



/* 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: white;
    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;
    color: #4a90e2;
}

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

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

.offer-card p {
    color: rgb(33, 33, 33);
    font-size: 16px;
    line-height: 1.6;
}

.service-section {
    padding: 80px 10%;
    background-color: #f9f9f9;
    text-align: center;
}

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

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.service-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 10px;
}

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

.split-cta {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center; margin-top: 60px; 
    margin-bottom: 60px;
}

.column {
    width: 600px;
}

/* Responsives Design */
@media (max-width: 1200px) {
    .service-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}



/* 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;
    }

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

    .split-view-small img {
        width: 300px;
    }

    .split-view-small a {
        font-size: 24px;
        text-align: center;
    }

    .reviews {
        transform: translateX(0px);
    }

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

    .cta-split {
        display: none;
    }

    .column {
        width: 80vw;
    }

    .mobile-spacer {
        margin-top: 25px;
        margin-bottom: 25px;
        width: 80vw;
        height: 1px;
        background-color: white;
    }
}
