@charset "utf-8";
/* CSS Document */

/* =========================================================
   KFZ-TECHNIK HECKER
   WERKSTATT.CSS
   Individuelles Seitenlayout für werkstatt.html
   ========================================================= */


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

.werkstatt-hero {
    position: relative;
    display: grid;
    grid-template-columns: 58% 42%;
    min-height: 560px;
    overflow: hidden;
    background: var(--hecker-dark);
}

.werkstatt-hero-image {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.werkstatt-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 55%,
        rgba(28, 28, 28, .75) 100%
    );
}

.werkstatt-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.werkstatt-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 8%;
    color: #ffffff;
    background: var(--hecker-dark);
}

.werkstatt-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--hecker-green);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .16em;
}

.werkstatt-hero h1 {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4.3rem);
    line-height: 1.08;
    font-weight: 700;
}

.werkstatt-hero p {
    max-width: 470px;
    margin: 0 0 32px;
    color: #dddddd;
    font-size: 1.15rem;
    line-height: 1.7;
}


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

.werkstatt-button {
    display: inline-block;
    align-self: flex-start;
    padding: 13px 24px;
    border: 2px solid var(--hecker-green);
    background: var(--hecker-green);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.werkstatt-button:hover,
.werkstatt-button:focus {
    background: var(--hecker-green-dark);
    border-color: var(--hecker-green-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.werkstatt-button-light {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--hecker-dark) !important;
}

.werkstatt-button-light:hover,
.werkstatt-button-light:focus {
    background: var(--hecker-green);
    border-color: var(--hecker-green);
    color: #ffffff !important;
}


/* ---------------------------------------------------------
   ALLGEMEINE SEITENBEREICHE
   --------------------------------------------------------- */

.werkstatt-intro,
.werkstatt-services,
.werkstatt-story {
    padding: 90px 0;
}

.werkstatt-section-label {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--hecker-green-dark);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.werkstatt-section-label.light {
    color: #ffffff;
}

.werkstatt-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.werkstatt-heading h2,
.werkstatt-intro h2 {
    margin: 0 0 20px;
    color: var(--hecker-dark);
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
}

.werkstatt-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--hecker-muted);
    font-size: 1.05rem;
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.werkstatt-intro {
    background: #ffffff;
}

.werkstatt-intro h2 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.werkstatt-lead {
    margin-bottom: 18px;
    color: var(--hecker-dark);
    font-size: 1.35rem;
    line-height: 1.5;
    font-weight: 700;
}

.werkstatt-intro p {
    color: var(--hecker-muted);
}


/* ---------------------------------------------------------
   LEISTUNGEN
   --------------------------------------------------------- */

.werkstatt-services {
    background: #f2f2f2;
}

.service-card {
    position: relative;
    height: 100%;
    padding: 30px;
    background: #ffffff;
    border-top: 4px solid var(--hecker-green);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .07);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .12);
}

.service-number {
    margin-bottom: 18px;
    color: var(--hecker-green);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.service-card h3 {
    margin: 0 0 12px;
    color: var(--hecker-dark);
    font-size: 1.35rem;
    line-height: 1.25;
}

.service-card p {
    margin: 0;
    color: var(--hecker-muted);
    line-height: 1.65;
}

.service-card-dark {
    background: var(--hecker-dark);
    border-top-color: var(--hecker-green);
}

.service-card-dark h3 {
    color: #ffffff;
}

.service-card-dark p {
    color: #dddddd;
}


/* ---------------------------------------------------------
   24H-BEREICH
   --------------------------------------------------------- */

.werkstatt-24h {
    padding: 100px 0;
    background: var(--hecker-dark);
    color: #ffffff;
}

.werkstatt-24h-image {
    position: relative;
    overflow: hidden;
}

.werkstatt-24h-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 8px solid rgba(178, 31, 36, .75);
    pointer-events: none;
}

.werkstatt-24h-image img {
    display: block;
    width: 100%;
    height: auto;
}

.werkstatt-24h-number {
    margin: -5px 0 0;
    color: var(--hecker-green);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: .9;
    font-weight: 800;
}

.werkstatt-24h h2 {
    margin: 12px 0 25px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.05;
}

.werkstatt-24h p {
    max-width: 600px;
    color: #dddddd;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   BILDGESCHICHTE / GALERIE
   --------------------------------------------------------- */

.werkstatt-story {
    background: #ffffff;
}

.werkstatt-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.werkstatt-gallery-item {
    position: relative;
    min-height: 300px;
    margin: 0;
    overflow: hidden;
    background: var(--hecker-dark);
}

.werkstatt-gallery-item.gallery-large {
    min-height: 470px;
    grid-row: span 2;
}

.werkstatt-gallery-item.gallery-wide {
    min-height: 360px;
}

.werkstatt-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.werkstatt-gallery-item:hover img {
    transform: scale(1.04);
}

.werkstatt-gallery-item figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 25px;
    color: #ffffff;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, .85)
    );
}

.werkstatt-gallery-item figcaption strong,
.werkstatt-gallery-item figcaption span {
    display: block;
}

.werkstatt-gallery-item figcaption strong {
    margin-bottom: 3px;
    font-size: 1.2rem;
}

.werkstatt-gallery-item figcaption span {
    color: #dddddd;
}


/* ---------------------------------------------------------
   ABSCHLUSS / CTA
   --------------------------------------------------------- */

.werkstatt-cta {
    padding: 100px 20px;
    text-align: center;
    background: var(--hecker-green-dark);
    color: #ffffff;
}

.werkstatt-cta h2 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.1;
}

.werkstatt-cta p {
    margin: 0 auto 30px;
    color: #ffffff;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

    .werkstatt-hero {
        grid-template-columns: 1fr;
    }

    .werkstatt-hero-image {
        min-height: 400px;
    }

    .werkstatt-hero-content {
        padding: 55px 8%;
    }

    .werkstatt-intro,
    .werkstatt-services,
    .werkstatt-story {
        padding: 75px 0;
    }

    .werkstatt-24h {
        padding: 75px 0;
    }

    .werkstatt-gallery-item.gallery-large {
        min-height: 400px;
    }
}


/* ---------------------------------------------------------
   SMARTPHONE
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .werkstatt-hero-image {
        min-height: 300px;
    }

    .werkstatt-hero-content {
        padding: 45px 25px;
    }

    .werkstatt-hero h1 {
        font-size: 2.35rem;
    }

    .werkstatt-hero p {
        font-size: 1rem;
    }

    .werkstatt-intro,
    .werkstatt-services,
    .werkstatt-story {
        padding: 60px 0;
    }

    .werkstatt-heading {
        margin-bottom: 35px;
    }

    .service-card {
        padding: 25px;
    }

    .werkstatt-24h {
        padding: 60px 0;
    }

    .werkstatt-24h-number {
        margin-top: 30px;
        font-size: 4.5rem;
    }

    .werkstatt-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .werkstatt-gallery-item,
    .werkstatt-gallery-item.gallery-large,
    .werkstatt-gallery-item.gallery-wide {
        min-height: 300px;
        grid-row: auto;
    }

    .werkstatt-gallery-item img {
        min-height: 300px;
    }

    .werkstatt-cta {
        padding: 70px 20px;
    }

}


/* ---------------------------------------------------------
   KLEINES SMARTPHONE
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

    .werkstatt-hero-image {
        min-height: 250px;
    }

    .werkstatt-hero-content {
        padding: 40px 20px;
    }

    .werkstatt-hero h1 {
        font-size: 2rem;
    }

    .werkstatt-section-label {
        font-size: .72rem;
    }

    .werkstatt-intro,
    .werkstatt-services,
    .werkstatt-story,
    .werkstatt-24h {
        padding: 50px 0;
    }

    .werkstatt-gallery-item figcaption {
        padding: 18px;
    }

}