.rsc-section {
    position:relative;
    width:100%;
    background:#f6f6f2;
    color:#090909;
    font-family:Arial,Helvetica,sans-serif;
}

.rsc-section *,
.rsc-section *::before,
.rsc-section *::after {
    box-sizing:border-box;
}


/* ==========================================================
   INNER
========================================================== */

.rsc-inner {
    width:100%;
    max-width:1320px;
    margin:0 auto;

    padding:
        95px
        25px
        105px;

    display:grid;

    grid-template-columns:
        .80fr
        1.20fr;

    gap:78px;

    align-items:start;
}


/* ==========================================================
   LINKS
========================================================== */

.rsc-intro {
    position:sticky;
    top:105px;
    align-self:start;
}


.rsc-kicker {
    display:inline-flex;
    align-items:center;
    gap:11px;

    margin-bottom:19px;

    color:#090909;

    font-size:13px;
    line-height:1;
    font-weight:700;

    letter-spacing:.9px;
    text-transform:uppercase;
}


.rsc-kicker::before {
    content:"";

    width:38px;
    height:4px;

    flex:0 0 38px;

    background:#FEEE02;
}


.rsc-title {
    max-width:510px;

    margin:
        0
        0
        23px;

    color:#090909;

    font-size:
        clamp(
            38px,
            3.4vw,
            50px
        );

    line-height:1.04;

    letter-spacing:-1.6px;

    font-weight:700;
}


.rsc-text {
    max-width:480px;

    color:#555;

    font-size:17px;

    line-height:1.72;
}


.rsc-text + .rsc-text {
    margin-top:17px;
}


.rsc-text p {
    margin:0;
}


.rsc-text strong {
    color:#090909;
    font-weight:700;
}


/* ==========================================================
   CTA
========================================================== */

.rsc-cta {
    position:relative;

    margin-top:30px;

    padding:
        24px
        25px
        25px
        30px;

    background:#090909;

    color:#fff;
}


.rsc-cta::before {
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:7px;
    height:100%;

    background:#FEEE02;
}


.rsc-cta > strong {
    display:block;

    margin-bottom:6px;

    color:#fff;

    font-size:17px;
    line-height:1.3;

    font-weight:700;
}


.rsc-cta > span {
    display:block;

    color:
        rgba(255,255,255,.67);

    font-size:13px;

    line-height:1.55;
}


.rsc-button {
    min-height:54px;

    margin-top:19px;

    padding:
        0
        22px;

    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    background:#FEEE02 !important;

    border:
        2px solid
        #FEEE02 !important;

    border-radius:0 !important;

    color:#090909 !important;

    text-decoration:none !important;

    font-size:14px;

    line-height:1;

    font-weight:700;

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


.rsc-button:hover {
    transform:
        translateY(-2px);

    background:#fff !important;

    border-color:#fff !important;

    color:#090909 !important;
}


/* ==========================================================
   RECHTS
========================================================== */

.rsc-right {
    min-width:0;
}


.rsc-overview {
    position:relative;

    padding:
        31px
        34px;

    margin-bottom:16px;

    background:#fff;

    border:
        1px solid
        rgba(0,0,0,.08);
}


.rsc-overview::before {
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:150px;
    height:7px;

    background:#FEEE02;
}


.rsc-overview h3 {
    margin:
        0
        0
        13px;

    color:#090909;

    font-size:27px;

    line-height:1.15;

    letter-spacing:-.6px;

    font-weight:700;
}


.rsc-overview-text {
    max-width:700px;

    color:#555;

    font-size:15px;

    line-height:1.7;
}


.rsc-overview-text p {
    margin:0;
}


/* ==========================================================
   KARTEN
========================================================== */

.rsc-grid {
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:16px;
}


.rsc-card {
    position:relative;

    min-height:235px;

    padding:
        29px
        28px
        27px;

    background:#fff;

    border:
        1px solid
        rgba(0,0,0,.08);

    overflow:hidden;

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


.rsc-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(0,0,0,.15);

    box-shadow:
        10px
        10px
        0
        rgba(254,238,2,.32);
}


.rsc-card::before {
    content:"";

    position:absolute;

    top:-70px;
    right:-48px;

    width:130px;
    height:150px;

    background:#FEEE02;

    transform:
        rotate(25deg);
}


.rsc-icon {
    position:relative;

    z-index:2;

    width:54px;
    height:54px;

    margin-bottom:28px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#090909;

    color:#FEEE02;

    font-size:19px;
}


.rsc-icon i {
    display:block;

    color:#FEEE02;

    font-size:19px;

    line-height:1;
}


.rsc-card h3 {
    position:relative;

    z-index:2;

    margin:
        0
        0
        10px;

    color:#090909;

    font-size:22px;

    line-height:1.2;

    letter-spacing:-.4px;

    font-weight:700;
}


.rsc-card p {
    position:relative;

    z-index:2;

    margin:0;

    color:#5c5c5c;

    font-size:14px;

    line-height:1.65;
}


/* ==========================================================
   GALERIE
========================================================== */

.rsc-gallery-full {
    grid-column:
        1 / -1;

    min-width:0;
}


.rsc-gallery-wrap {
    width:100%;

    margin-top:34px;
}


.rsc-gallery-title {
    margin:
        0
        0
        22px;

    color:#090909;

    font-size:29px;

    line-height:1.15;

    letter-spacing:-.6px;

    font-weight:700;
}


.rsc-gallery-grid {
    display:grid;

    gap:14px;
}


.rsc-gallery-cols-2
.rsc-gallery-grid {
    grid-template-columns:
        repeat(2,minmax(0,1fr));
}


.rsc-gallery-cols-3
.rsc-gallery-grid {
    grid-template-columns:
        repeat(3,minmax(0,1fr));
}


.rsc-gallery-cols-4
.rsc-gallery-grid {
    grid-template-columns:
        repeat(4,minmax(0,1fr));
}


.rsc-gallery-item {
    position:relative;

    display:block;

    width:100%;

    overflow:hidden;

    background:#090909;

    border:0 !important;
    border-radius:0 !important;

    text-decoration:none !important;

    box-shadow:none !important;
}


.rsc-gallery-ratio-4-3
.rsc-gallery-item {
    aspect-ratio:4 / 3;
}


.rsc-gallery-ratio-3-2
.rsc-gallery-item {
    aspect-ratio:3 / 2;
}


.rsc-gallery-ratio-1-1
.rsc-gallery-item {
    aspect-ratio:1 / 1;
}


.rsc-gallery-image {
    position:absolute;

    inset:0;

    display:block;
}


.rsc-gallery-image img {
    display:block !important;

    width:100% !important;
    height:100% !important;

    max-width:none !important;

    object-fit:cover !important;

    object-position:center !important;

    border-radius:0 !important;

    transform:
        scale(1.001);

    transition:
        transform .45s
        cubic-bezier(.22,.8,.24,1),
        filter .3s ease;
}


.rsc-gallery-hover {
    position:absolute;

    inset:0;

    display:block;

    background:
        rgba(9,9,9,0);

    pointer-events:none;

    transition:
        background .3s ease;
}


.rsc-gallery-hover::after {
    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:0;
    height:7px;

    background:#FEEE02;

    transition:
        width .35s
        cubic-bezier(.22,.8,.24,1);
}


.rsc-gallery-item:hover
.rsc-gallery-image img {
    transform:
        scale(1.055);

    filter:
        brightness(.78);
}


.rsc-gallery-item:hover
.rsc-gallery-hover {
    background:
        rgba(9,9,9,.12);
}


.rsc-gallery-item:hover
.rsc-gallery-hover::after {
    width:100%;
}


/* ==========================================================
   LIGHTBOX
========================================================== */

.rsc-lightbox {
    position:fixed;

    inset:0;

    z-index:2147483500;

    display:none;

    align-items:center;
    justify-content:center;

    padding:
        70px
        85px;

    background:
        rgba(5,5,5,.96);
}


.rsc-lightbox.is-open {
    display:flex;
}


.rsc-lightbox::before {
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:7px;

    background:#FEEE02;
}


.rsc-lightbox-stage {
    position:relative;

    width:100%;
    height:100%;

    display:flex;

    align-items:center;
    justify-content:center;
}


.rsc-lightbox-image {
    display:block;

    max-width:100%;
    max-height:100%;

    object-fit:contain;
}


.rsc-lightbox-close,
.rsc-lightbox-prev,
.rsc-lightbox-next {
    appearance:none;

    position:absolute;

    z-index:5;

    padding:0;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#FEEE02 !important;

    color:#090909 !important;

    border:0 !important;
    border-radius:0 !important;

    cursor:pointer;
}


.rsc-lightbox-close {
    top:20px;
    right:20px;

    width:54px;
    height:54px;

    font-size:32px;
}


.rsc-lightbox-prev,
.rsc-lightbox-next {
    top:50%;

    width:58px;
    height:70px;

    transform:
        translateY(-50%);

    font-size:35px;
}


.rsc-lightbox-prev {
    left:20px;
}


.rsc-lightbox-next {
    right:20px;
}


.rsc-lightbox-counter {
    position:absolute;

    left:50%;
    bottom:19px;

    transform:
        translateX(-50%);

    padding:
        8px
        13px;

    background:#FEEE02;

    color:#090909;

    font-size:12px;

    line-height:1;

    font-weight:800;
}


html.rsc-lightbox-lock,
body.rsc-lightbox-lock {
    overflow:hidden !important;
}


/* ==========================================================
   TABLET
========================================================== */

@media(max-width:950px) {

    .rsc-inner {
        grid-template-columns:
            1fr;

        gap:48px;

        padding:
            75px
            20px
            80px;
    }


    .rsc-intro {
        position:relative;
        top:auto;
    }


    .rsc-text,
    .rsc-cta {
        max-width:700px;
    }


    .rsc-gallery-full {
        grid-column:auto;
    }


    .rsc-gallery-cols-3
    .rsc-gallery-grid,

    .rsc-gallery-cols-4
    .rsc-gallery-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:700px) {

    .rsc-inner {
        padding:
            60px
            18px
            65px;

        gap:40px;
    }


    .rsc-title {
        font-size:36px;
    }


    .rsc-text {
        font-size:16px;
    }


    .rsc-grid {
        grid-template-columns:1fr;
    }


    .rsc-card {
        min-height:auto;
    }


    .rsc-overview {
        padding:
            29px
            24px;
    }


    .rsc-overview h3 {
        font-size:24px;
    }


    .rsc-button {
        width:100%;
    }


    .rsc-gallery-grid {
        grid-template-columns:
            1fr !important;

        gap:10px;
    }


    .rsc-gallery-hover {
        display:none;
    }


    .rsc-lightbox {
        padding:
            68px
            14px
            76px;
    }


    .rsc-lightbox-close {
        top:13px;
        right:13px;

        width:46px;
        height:46px;
    }


    .rsc-lightbox-prev,
    .rsc-lightbox-next {
        top:auto;
        bottom:13px;

        width:50px;
        height:50px;

        transform:none;
    }


    .rsc-lightbox-prev {
        left:13px;
    }


    .rsc-lightbox-next {
        right:13px;
    }


    .rsc-lightbox-counter {
        bottom:25px;
    }

}


@media(max-width:390px) {

    .rsc-title {
        font-size:32px;
    }


    .rsc-card {
        padding:
            25px
            22px;
    }

}


/* ==========================================================
   RUFFUS LEISTUNGSINHALT
   GALERIE / STICKY LAYOUT FIX
========================================================== */

/*
 * INNER übernimmt nur noch Breite und Außenabstände.
 * Das eigentliche 2-Spalten-Layout sitzt in .rsc-main.
 */

.rsc-inner {
    display: block !important;
}


/* ==========================================================
   OBERER 2-SPALTEN-BEREICH
========================================================== */

.rsc-main {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, .80fr)
        minmax(0, 1.20fr);

    gap: 78px;

    align-items: start;
}


/*
 * Wichtig:
 * Sticky wird nun durch .rsc-main begrenzt.
 * Sobald die Galerie beginnt, endet auch das Sticky-Verhalten.
 */

.rsc-main .rsc-intro {
    position: sticky;

    top: 105px;

    align-self: start;

    min-width: 0;
}


.rsc-main .rsc-right {
    min-width: 0;
}


/* ==========================================================
   VOLLBREITEN-GALERIE
========================================================== */

.rsc-gallery-full {
    width: 100%;

    margin-top: 52px;

    grid-column: auto !important;

    position: relative;

    z-index: 2;

    background: #f6f6f2;
}


.rsc-gallery-full .rsc-gallery-wrap {
    margin-top: 0;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .rsc-main {
        grid-template-columns:
            1fr;

        gap: 48px;
    }


    .rsc-main .rsc-intro {
        position: relative;

        top: auto;
    }


    .rsc-gallery-full {
        margin-top: 42px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .rsc-main {
        display: block;
    }


    .rsc-main .rsc-right {
        margin-top: 40px;
    }


    .rsc-gallery-full {
        margin-top: 38px;
    }

}

