/* ==========================================
   GRID
========================================== */

.cards{
    width:min(1700px,92%);
    margin:0 auto 90px;
    padding-top:38px;

    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:30px;
}

.cards > .card{
    grid-column:span 2;
}

/* ==========================================
   BASIS-KARTE
========================================== */

.card{
    position:relative;
    overflow:hidden;

    min-height:680px;

    border-radius:24px;
    background:#111822;
    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 24px 55px rgba(0,0,0,.35);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.card:hover{
    transform:translateY(-8px);
    border-color:rgba(0,157,255,.45);
    box-shadow:0 30px 70px rgba(0,157,255,.18);
}

/* ==========================================
   SOCIAL CARDS
========================================== */

.social-card{
    display:flex;
    flex-direction:column;
}

.social-image{
    aspect-ratio:16/9;
    overflow:hidden;
    background:#0b111a;
}

.social-image img{
    width:100%;
    height:100%;
    object-fit:cover;
     object-position:center;
    display:block;
    transition:.45s ease;
}

.social-card:hover .social-image img{
    transform:scale(1.05);
}

.social-content{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:28px;
}

.social-platform{
    display:flex;
    align-items:center;
    gap:12px;

    font-family:"Bebas Neue",sans-serif;
    font-size:34px;
    letter-spacing:1.5px;

    margin-bottom:14px;
}

.social-platform i{
    font-size:30px;
    color:#009DFF;
}

.social-platform-combined{
    flex-wrap:wrap;
    column-gap:22px;
    row-gap:10px;
}

.social-platform-combined span{
    display:inline-flex;
    align-items:center;
    gap:9px;
}

.social-platform-combined .fa-instagram{
    color:#E4405F;
}

.social-date{
    font-size:14px;
    color:#8e9bad;
    margin-bottom:18px;
}

.social-content h3{
    font-size:31px;
    line-height:1.25;
    margin-bottom:18px;
}

.social-content p{
    color:#c7d0dc;
    line-height:1.75;
    font-size:16px;
    margin-bottom:auto;
}

.social-content p[data-facebook-text]{
    min-height:196px;
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:7;
    white-space:pre-line;
}
/* ==========================================
   BUTTONS IN SOCIAL CARDS
========================================== */

.social-button{
    margin-top:24px;

    min-height:44px;
    width:100%;
    padding:8px 14px;

    border-radius:6px;
    border:1px solid rgba(0,157,255,.32);

    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;

    background:rgba(0,157,255,.08);
    color:#dcefff;

    font-size:13px;
    font-weight:700;
    line-height:1.3;
    text-decoration:none;

    transition:background .25s ease, border-color .25s ease, color .25s ease;
}

.social-button::after{
    content:"\2192";
    margin-left:auto;
    font-size:17px;
    font-weight:400;
}

.social-button:hover{
    background:rgba(0,157,255,.16);
    border-color:rgba(0,157,255,.62);
    color:#ffffff;
}

.social-actions{
    display:grid;
    gap:8px;
    margin-top:24px;
}

.social-actions .social-button{
    margin-top:0;
}

.social-button-instagram{
    background:rgba(228,64,95,.07);
    border-color:rgba(228,64,95,.3);
    color:#ffe4e9;
}

.social-button-instagram:hover{
    background:rgba(228,64,95,.15);
    border-color:rgba(228,64,95,.58);
    color:#ffffff;
}


/* ==========================================
   MITMACHEN-KARTE
========================================== */

.mitmachen-card{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    color:#ffffff;
}

.mitmachen-image{
    aspect-ratio:16/9;
    overflow:hidden;
    background:#0b111a;
}

.mitmachen-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    transition:.45s ease;
}

.mitmachen-card:hover .mitmachen-image img{
    transform:scale(1.05);
}

.mitmachen-content{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:28px;
    background:#111822;
}

.mitmachen-platform i{
    color:#25D366;
}

.mitmachen-content h3{
    font-size:31px;
    line-height:1.25;
    margin-bottom:18px;
}

.mitmachen-content p{
    color:#c7d0dc;
    line-height:1.75;
    font-size:16px;
}

.mitmachen-content ul{
    list-style:none;
    padding:0;
    margin:24px 0 32px;
}

.mitmachen-content li{
    margin-bottom:12px;
    color:#e3ebf5;
    font-size:16px;
}

.mitmachen-button{
    margin-top:auto;

    min-height:44px;
    width:100%;
    padding:8px 14px;

    border-radius:6px;
    border:1px solid rgba(37,211,102,.32);

    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;

    background:rgba(37,211,102,.08);
    color:#e5ffed;

    font-size:13px;
    font-weight:700;
    line-height:1.3;
    text-decoration:none;

    transition:background .25s ease, border-color .25s ease, color .25s ease;
}

.mitmachen-card:hover .mitmachen-button{
    background:rgba(37,211,102,.16);
    border-color:rgba(37,211,102,.62);
    color:#ffffff;
}

.mitmachen-button .fa-whatsapp{
    color:#25D366;
}

.mitmachen-button .fa-arrow-right{
    margin-left:auto;
    transition:transform .25s ease;
}

.mitmachen-card:hover .mitmachen-button .fa-arrow-right{
    transform:translateX(3px);
}

/* ==========================================
   PLATTFORM-AKZENTE
========================================== */

.facebook-card{
    border:2px solid rgba(24,119,242,.68);
}

.mitmachen-card{
    border:2px solid rgba(37,211,102,.68);
}

/* ==========================================
   RESPONSIVE CARDS
========================================== */

@media(max-width:1200px){

    .cards{
        grid-template-columns:1fr;
        max-width:720px;
    }

    .cards > .card{
        grid-column:auto;
    }

    .card{
        min-height:0;
    }

}

@media(max-width:768px){

    .cards{
        width:calc(100% - 32px);
        gap:20px;
        margin-bottom:64px;
        padding-top:28px;
    }

    .card{
        min-height:0;
    }

    .social-content,
    .mitmachen-content{
        padding:22px;
    }

    .social-content p[data-facebook-text]{
        min-height:0;
    }

    .social-platform{
        font-size:28px;
    }

    .social-platform i{
        font-size:26px;
    }

    .social-content h3,
    .mitmachen-content h3{
        font-size:27px;
    }

    .mitmachen-content ul{
        margin:20px 0 26px;
    }

}

@media(max-width:480px){

    .cards{
        width:calc(100% - 24px);
        gap:18px;
    }

    .card{
        min-height:0;
        border-radius:16px;
    }

    .social-content,
    .mitmachen-content{
        padding:20px;
    }

    .social-content h3,
    .mitmachen-content h3{
        font-size:25px;
    }

    .social-platform{
        font-size:27px;
    }

}

@media(hover:none){

    .card:hover{
        transform:none;
    }

    .social-card:hover .social-image img,
    .mitmachen-card:hover .mitmachen-image img{
        transform:none;
    }

}

.cards .card:hover,
.cards .card:focus-within{
    border-color:var(--red) !important;
    outline:2px solid rgba(215,25,32,.9);
    outline-offset:-2px;
    box-shadow:
        0 0 0 2px rgba(215,25,32,.2),
        0 30px 70px rgba(215,25,32,.2);
}
