/*allgemein*/
.heroSection{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(Bilder/DSC03677-hero.jpg);
    background-size: cover;
    background-position: center;
    height: 700px;
    width: 100%;
}

.left-white-right-img {
    position: relative;
    height: 560px;
}

.trapezoid-overlay {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 100%;
    background-color: var(--yellow);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 100% 0);
    z-index: -1;
}

.left-white-right-img-content-div{
    display: flex;
    align-items: center;
}

.left-white-right-img-content-div{
    display: flex;
    align-items: center;
    height: 100%;
    width: 90vw;
    margin-left: 5vw;
    margin-top: 25px;
}

.left-white-right-img-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
}

.left-white-right-img-text{
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-white-right-img-image-div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-white-right-img-content img{
    max-width: 95%;
    max-height: 500px;
}

.left-white-right-img-content p{
    margin-top: 25px;
}

.overlay-image-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--nearlyBlack);
    width: 100%;
}

.overlay-image-text{
    width: 90%;
    margin: 5%;
    align-self: center;
}

.image-100-fit{
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#section2{
    background-image: linear-gradient(270deg, #020202 10%, rgba(2, 2, 2, 0) 67.55%), url(Bilder/IMG_3324.JPG);
}

.card-section-wrapper h2{
    width: 90vw;
    margin-left: 5vw;
    text-align: center;
    margin-top: 10vw;
    margin-bottom: 10vw;
}

.card-wrapper{
    width: 80vw;
    margin-left: 10vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;
    margin-bottom: 10vw;
}

.card{
    background-color: var(--nearlyBlack);
    overflow: hidden;
    height: 600px;
    transition: transform 0.2s ease;
}

.card-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#card1{
    background-image: linear-gradient(1800deg, #020202 2%, rgba(2, 2, 2, 0) 27.55%), url('Bilder/DSC03575\ \(3\).JPG');
}

#card2{
    background-image: linear-gradient(1800deg, #020202 2%, rgba(2, 2, 2, 0) 27.55%),url('Bilder/COHK0238.JPG');
}

#card3{
    background-image: linear-gradient(1800deg, #020202 2%, rgba(2, 2, 2, 0) 27.55%),url('Bilder/FNWB0669.JPG');
}
#card4{
    background-image: linear-gradient(1800deg, #020202 2%, rgba(2, 2, 2, 0) 27.55%),url('Bilder/panne1.png');
}
#card5{
    background-image: linear-gradient(1800deg, #020202 2%, rgba(2, 2, 2, 0) 27.55%),url('Bilder/panne2.png');
}
#card6{
    background-image: linear-gradient(1800deg, #020202 2%, rgba(2, 2, 2, 0) 27.55%),url('Bilder/panne3.png');
}

.card-content h3 {
    color: var(--yellow);
    margin: 5%;
    width: 90%;
    text-align: left;
}

.card-content p {
    color: white;
    margin: 5%;
    width: 90%;
}


.card:hover, .icon-card:hover{
    transform: scale(1.05);
}

.card:active, .icon-card:active{
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.icon-card-wrapper {
    width: 80vw;
    margin: 0 auto 10vw auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;
}

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease;
}

.icon-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

#icon-card-partner img{
    width: 200px;
    height: 200px;
}

#pannenfall{
    margin-top: 150px;
    margin-bottom: 150px;
}

#pannen-card .card-image {
    height: 300px;
}

#pannen-card{
    height: 560px;
}

#section-Werkstatt-Reperatur{
    background-image: linear-gradient(90deg, var(--yellow) 10%, rgba(2, 2, 2, 0) 37.55%), url(Bilder/2015-09-05\ 09.59.24.jpg);
}

#fragen-wir-helfen{
    background-color: var(--nearlyBlack);
    width: 100%;
}

/* ADAC Clubmobil Section */
.adac-section {
    background-color: var(--nearlyBlack);
    padding: 80px 10vw;
    width: 100%;
    box-sizing: border-box;
}

.adac-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.adac-intro-text {
    flex: 1;
}

.adac-intro-text h2 {
    color: white;
    margin-bottom: 20px;
}

.adac-intro-text p {
    color: #cccccc;
    line-height: 1.7;
}

.adac-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    flex-shrink: 0;
    background-color: white;
    padding: 24px 32px;
    border-radius: 4px;
}

.adac-logo-block span {
    font-size: 15px;
    color: #111;
    line-height: 1.4;
}

.adac-logo-block img {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.adac-cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.adac-car-card {
    background-color: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease;
}

.adac-car-card:hover {
    transform: scale(1.03);
}

.adac-car-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background-color: white;
    padding: 16px;
    box-sizing: border-box;
}

.adac-car-card p {
    color: #cccccc;
    padding: 12px 16px;
    font-size: 14px;
    margin: 0;
}

.adac-benefits-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.adac-benefits h3 {
    color: var(--yellow);
    margin-bottom: 20px;
}

.adac-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.adac-benefits ul li {
    color: #cccccc;
    padding: 8px 0;
    border-bottom: 1px solid #2a2a2a;
    padding-left: 28px;
    position: relative;
}

.adac-benefits ul li::before {
    content: "✓";
    color: var(--yellow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.adac-tip {
    color: #aaaaaa;
    font-size: 14px;
    margin-top: 16px;
}

.adac-cta h3 {
    color: var(--yellow);
    margin-bottom: 16px;
}

.adac-cta p {
    color: #cccccc;
    margin-bottom: 28px;
    line-height: 1.6;
}

.adac-cta .anruf-button {
    display: inline-flex;
    align-items: center;
}

.adac-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.adac-section .adac-tel-button {
    background-color: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
}

.adac-section .anruf-button {
    margin-top: 0;
}

@media only screen and (max-width: 1000px) {
    .adac-section {
        padding: 60px 5vw;
    }

    .adac-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .adac-logo-block {
        align-self: stretch;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .adac-cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .adac-benefits-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media only screen and (max-width: 480px) {
    .adac-cars-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .adac-car-card img {
        height: 120px;
    }
}

/*PC*/

@media only screen and (min-width: 1201px){
    .heroText{
        padding-top: 400px;
        width: 60vw;
        margin-left: 5vw;
    }
    .heroSection h5{
        margin-top: 15px;
    }

    .card{
        height: 870px;
    }

    .card-image {
        height: 360px;
    }

    .card-content h3 {
        font-size: 24px;
    }

    .card-content p {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1001px) and (max-width: 1200px){
    .heroText{
        padding-top: 400px;
        width: 60vw;
        margin-left: 5vw;
    }
    .heroSection h5{
        margin-top: 15px;
    }

    .card{
        height: 900px;
    }

    .card-image {
        height: 350px;
    }

    .card-wrapper{
        grid-template-columns: 1fr 1fr;
    }

    .card-content h3 {
        font-size: 24px;
    }

    .card-content p {
        font-size: 18px;
    }
}

/*mobile */

@media only screen and (max-width: 1000px){
    .heroSection{
        height: 300px;
    }
    .heroText{
        padding-top: 90px;
        width: 90vw;
        margin-left: 5vw;
    }
    .heroSection h5{
        margin-top: 15px;
    }

    .left-white-right-img {
        position: relative;
        height: auto;
    }

    .left-white-right-img-content{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 5vw;
    }

    .left-white-right-img-content-div{
        margin-top: 15vw;
    }

    .trapezoid-overlay {
        position: absolute;
        top: auto;
        right: 0;
        bottom: 0;
        width: 200px;
        height: 50%;
        background-color: var(--yellow);
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 100% 0);
        z-index: -1;
    }

    .left-white-right-img-content img{
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .overlay-image-wrapper{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .image-100-fit{
        height: 320px;
    }

    #section2{
        background-image: linear-gradient(1800deg, #020202 2%, rgba(2, 2, 2, 0) 27.55%), url(Bilder/145_1105.JPG);
        margin-bottom: 50px;
    }

    .card-wrapper{
        display: grid;
        grid-template-columns: 1fr;
        gap: 5vw;
        margin-bottom: 10vw;
    }

    .icon-card-wrapper {
        grid-template-columns: 1fr;
        width: 90vw;
    }
    
    .icon-card img {
        width: 100px;
        height: 100px;
    }

    .icon-card p {
        font-size: 16px;
    }

    #section-Werkstatt-Reperatur{
        background-image: linear-gradient(180deg, var(--yellow) 5%, rgba(2, 2, 2, 0) 27.55%), url(Bilder/2015-09-05\ 09.59.24.jpg);
    }

    #icon-card-partner img{
        width: 120px;
        height: 120px;
    }
}