/* ==========================================
   DACHREPARATUR
========================================== */
.repair-dark{
    background: #374151;
}

.repair-light{
    background: #f3f1ee;
}

/* Dark sections */

.repair-dark .repair-content p,
.repair-dark .repair-content h3{
    color: #fff;
}

/* Light sections */

.repair-light .repair-content p{
    color: #374151;
}

.repair-light .repair-content h3{
    color: #272b31;
}

.repair-light .repair-content h2{
    color: #F97316;
}

.repair-light .repair-number{
    color: #ad6321;
}

.repair-main{
    background: #4B5563;
}

.repair-container{
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}


/* ---------- HERO ---------- */

.repair-hero{
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.repair-hero-content{
    max-width: 1180px;
}

.repair-kicker,
.repair-number{
    color: #F97316;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.repair-hero h1{
    max-width: 950px;
    margin: .5rem 0 1.5rem;
    line-height: 1.08;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.repair-lead{
    max-width: 900px;
    color: #fff;
    line-height: 1.6;
}


/* ---------- HERO PROBLEMS ---------- */

.repair-problems{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;

    margin-top: 3rem;

    background: rgba(255,255,255,.15);
}

.repair-problem{
    display: flex;
    gap: 1rem;

    background: #4B5563;
    padding: 1.5rem;
}

.repair-problem > span{
    color: #F97316;
    font-family: FiraSans;
    font-size: 1rem;
}

.repair-problem h3{
    margin-top: 0;
    color: #fff;
}

.repair-problem p{
    color: #fff;
    line-height: 1.5;
    font-size: clamp(15px, 1.5vw, 19px);
}


/* ---------- EMERGENCY CTA ---------- */

.repair-emergency{
    margin-top: 1px;

    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    background: #F97316;
    padding: 1.5rem;
}

.repair-emergency h2,
.repair-emergency p{
    color: #fff;
}

.repair-emergency p{
    max-width: 750px;
    font-size: clamp(15px, 1.5vw, 19px);
}


/* ---------- CONTENT SECTIONS ---------- */

.repair-section{
    padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.repair-split{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.repair-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.repair-content h2{
    color: #F97316;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.repair-content h3{
    color: #fff;
    margin-top: 1.8rem;
    line-height: 1.25;
}

.repair-content p{
    color: #fff;
    line-height: 1.65;
    font-size: clamp(16px, 1.8vw, 21px);
}


/* ---------- IMAGE ---------- */

.repair-image{
    min-height: 320px;
}

.repair-image img{
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;

    object-fit: cover;
}


/* Temporary until images are ready */

.repair-image-placeholder{
    width: 100%;
    min-height: 320px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255,255,255,.18);

    background:
        linear-gradient(
            135deg,
            rgba(249,115,22,.18),
            rgba(0,0,0,.22)
        );

    color: rgba(255,255,255,.8);
    font-family: FiraSans;
    font-size: 1.3rem;
}

.repair-image-placeholder span{
    margin-bottom: .5rem;

    color: #F97316;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}


/* ---------- BUTTON ---------- */

.repair-btn{
    align-self: flex-start;

    margin-top: 1.8rem;

    border-radius: 2px;

    background: #ad6321;
    color: #fff;

    padding: .75rem 1.1rem;

    font-size: clamp(15px, 1.6vw, 19px);

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

.repair-btn:hover{
    background: #874205;
    color: #fff;
    transform: translateY(-2px);
}


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

@media screen and (min-width: 700px){

    .repair-problems{
        grid-template-columns: repeat(3, 1fr);
    }

    .repair-emergency{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        padding: 2rem;
    }

    .repair-emergency .repair-btn{
        flex-shrink: 0;
        margin-top: 0;
    }

}


/* ==========================================
   DESKTOP
========================================== */

@media screen and (min-width: 992px){

    .repair-container{
        width: min(1180px, calc(100% - 5rem));
    }

    .repair-split{
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(3rem, 6vw, 7rem);
        align-items: stretch;
    }

    /*
       HTML-ben a kép van először.
       reverse esetén desktopon átkerül jobbra.
    */

    .repair-split-reverse .repair-image{
        order: 2;
    }

    .repair-split-reverse .repair-content{
        order: 1;
    }

    .repair-image{
        min-height: 560px;
    }

    .repair-image img,
    .repair-image-placeholder{
        min-height: 560px;
    }

}

.repair-number{
    display: flex;
    align-items: center;
    gap: .8rem;

    margin-bottom: .7rem;

    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.repair-number::before{
    content: "";
    display: block;

    width: 42px;
    height: 3px;

    border-radius: 2px;
    background: #F97316;
}

.repair-content h3{
    position: relative;
    padding-left: 1rem;
}

.repair-content h3::before{
    content: "";

    position: absolute;
    left: 0;
    top: .2em;

    width: 3px;
    height: 1.15em;

    border-radius: 2px;
    background: #F97316;
}

.repair-image,
.repair-image img,
.repair-image-placeholder{
    border-radius: 3px;
}

.repair-image{
    position: relative;
}

/* narancs dekoráció a kép mögött */

.repair-image::before{
    content: "";

    position: absolute;
    width: 55%;
    height: 45%;

    left: -10px;
    bottom: -10px;

    background: #F97316;
    border-radius: 3px;

    z-index: 0;
}

.repair-image img,
.repair-image-placeholder{
    position: relative;
    z-index: 1;
}

@media screen and (min-width: 992px){

    .repair-split-reverse .repair-image::before{
        left: auto;
        right: -10px;
    }

}

.repair-btn{
    align-self: flex-start;

    margin-top: 1.8rem;

    border-radius: 3px;
    border: 1px solid #F97316;

    background: #F97316;
    color: #fff;

    padding: .75rem 1.2rem;

    font-size: clamp(15px, 1.6vw, 19px);

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

.repair-btn:hover{
    background: #ad6321;
    border-color: #ad6321;
    color: #fff;

    transform: translateY(-2px);
}

.repair-hero{
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(249,115,22,.18) 0%,
            transparent 35%
        ),
        #374151;
}

.repair-hero::after{
    content: "";

    position: absolute;
    right: -120px;
    top: -180px;

    width: 420px;
    height: 420px;

    border: 2px solid rgba(249,115,22,.18);
    border-radius: 50%;

    pointer-events: none;
}