/* Homepage Precies Montage
   Bestand:
   /wp-content/themes/s55-child/assets/home.css
*/

:root {
    --pm-red: #b11226;
    --pm-red-dark: #8f0e1f;
    --pm-dark: #171c22;
    --pm-text: #20242a;
    --pm-muted: #68707a;
    --pm-soft: #f7f2f2;
    --pm-soft-red: #fff3f4;
    --pm-line: #e8e2e2;
}

.pm-homepage {
    color: var(--pm-text);
    background: #fff;
    line-height: 1.55;
    overflow: hidden;
    width: 100%;
    font-size: 16px;
}

.pm-container {
    width: min(1240px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.pm-section {
    padding: 82px 0;
}

.pm-section-soft {
    background: var(--pm-soft);
}

.pm-eyebrow {
    color: var(--pm-red);
    text-transform: uppercase;
    font-weight: 950;
    font-size: 13px;
    letter-spacing: .13em;
    margin-bottom: 12px;
}

.pm-homepage h1,
.pm-homepage h2,
.pm-homepage h3 {
    color: var(--pm-text);
    margin-top: 0;
}

.pm-homepage h1 {
    font-size: clamp(46px, 5.5vw, 82px);
    line-height: .94;
    letter-spacing: -.06em;
    margin-bottom: 24px;
    max-width: 760px;
}

.pm-homepage h2 {
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.06;
    letter-spacing: -.035em;
    margin-bottom: 16px;
}

.pm-homepage h3 {
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.pm-homepage p {
    color: var(--pm-muted);
    margin-top: 0;
}

.pm-lead {
    font-size: 17px;
    max-width: 760px;
}

.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 13px 22px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 850;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.pm-btn:hover {
    transform: translateY(-2px);
}

.pm-btn-primary {
    background: var(--pm-red);
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(177,18,38,.18);
}

.pm-btn-primary:hover {
    background: var(--pm-red-dark);
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(177,18,38,.24);
}

.pm-btn-outline {
    color: var(--pm-dark) !important;
    border-color: var(--pm-line);
    background: #fff;
}

.pm-btn-outline:hover {
    border-color: rgba(177,18,38,.35);
    color: var(--pm-red) !important;
}

.pm-home-hero {
    background:
        radial-gradient(circle at 82% 22%, rgba(177,18,38,.09), transparent 30%),
        linear-gradient(110deg, #fff 0%, #fff 58%, #faf0f1 58%, #fff 100%);
    padding: 92px 0 96px;
}

.pm-home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: stretch;
}

.pm-home-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pm-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.pm-home-checks,
.pm-home-tick {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    gap: 10px;
    font-size: 14px;
    font-weight: 760;
}

.pm-home-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-home-checks li,
.pm-home-tick li {
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: 8px;
    align-items: start;
}

.pm-home-checks li::before,
.pm-home-tick li::before {
    content: "✓";
    color: var(--pm-red);
    font-weight: 950;
    line-height: 1.4;
}

.pm-home-hero-image {
    height: 100%;
    min-height: 0;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.30)),
        linear-gradient(135deg, rgba(177,18,38,.18), rgba(23,28,34,.16)),
        #ddd center/cover no-repeat;
    background-position: center center;
    box-shadow: 0 30px 76px rgba(23,28,34,.16);
    background-size: cover;
}

.pm-home-image-label {
    position: absolute;
    top: 28px;
    left: 28px;
    background: #fff;
    color: #111;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    z-index: 1;
}

.pm-home-image-card {
    position: absolute;
    right: 28px;
    bottom: 28px;
    width: min(330px, calc(100% - 56px));
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 16px 38px rgba(0,0,0,.18);
    z-index: 1;
}

.pm-home-image-card strong {
    display: block;
    font-size: 19px;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.pm-home-image-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 7px;
    color: var(--pm-muted);
    font-size: 13px;
    font-weight: 700;
}

.pm-home-image-card li {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 7px;
}

.pm-home-image-card li::before {
    content: "✓";
    color: var(--pm-red);
    font-weight: 950;
}

.pm-home-usp-section {
    padding-top: 56px;
    padding-bottom: 56px;
}

.pm-home-top-usps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.pm-home-top-usp,
.pm-home-service-card,
.pm-home-process-card,
.pm-home-project-card,
.pm-home-about-image,
.pm-home-popular-link {
    background: #fff;
    border: 1px solid var(--pm-line);
    box-shadow: 0 14px 30px rgba(23,28,34,.04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pm-home-top-usp {
    border-radius: 18px;
    padding: 24px 16px;
    text-align: center;
    min-height: 126px;
    display: grid;
    place-items: center;
    align-content: center;
}

.pm-home-top-usp:hover,
.pm-home-service-card:hover,
.pm-home-process-card:hover,
.pm-home-project-card:hover,
.pm-home-popular-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(23,28,34,.09);
    border-color: rgba(177,18,38,.22);
}

.pm-home-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #fae8eb;
    color: var(--pm-red);
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    font-weight: 950;
}

.pm-home-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.pm-home-top-usp strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
}

.pm-home-about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.pm-home-about-image {
    min-height: 640px;
    border-radius: 28px;
    background: #ddd center/cover no-repeat;
    overflow: hidden;
}

.pm-home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pm-home-service-card {
    border-radius: 22px;
    overflow: hidden;
        display: flex;
    flex-direction: column;
    height: 100%;
}

.pm-home-service-img {
    height: 280px;
    background: #ddd center/cover no-repeat;
}

.pm-home-service-body {
    padding: 24px;
        display: flex;
    flex-direction: column;
    flex: 1;
}

.pm-home-service-body .pm-text-link {
    margin-top: auto;
    padding-top: 22px;
}

.pm-text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--pm-red) !important;
    font-weight: 900;
    text-decoration: none !important;
    font-size: 14px;
    transition: transform .2s ease, color .2s ease;
}

.pm-text-link:hover {
    transform: translateX(3px);
    color: var(--pm-red-dark) !important;
}

.pm-home-popular-section {
    padding-top: 0;
    padding-bottom: 64px;
    margin-top: -30px;
    background: var(--pm-soft);
}

.pm-home-popular-section .pm-section-head {
    margin-bottom: 18px;
}

.pm-home-popular-section .pm-eyebrow {
    margin-bottom: 8px;
}

.pm-home-popular-section h2 {
    font-size: clamp(16px, 1.5vw, 24px);
    margin-bottom: 0!important;
}

.pm-home-popular-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pm-home-popular-section .pm-container {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: center;
}

.pm-home-popular-section .pm-section-head {
    margin-bottom: 0;
}

.pm-home-popular-links {
    align-items: center;
}

.pm-home-popular-link {
    display: inline-flex;
    border-radius: 999px;
    padding: 12px 18px;
    color: var(--pm-text) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 850;
}

.pm-home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pm-home-process-card {
    border-radius: 18px;
    padding: 26px;
}

.pm-home-process-card span {
    display: block;
    color: rgba(177,18,38,.22);
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
    margin-bottom: 16px;
}

.pm-home-project-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.pm-home-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.pm-home-project-card {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    color: var(--pm-text) !important;
    text-decoration: none !important;
}

.pm-home-project-img {
    height: 220px;
    background: #ddd center/cover no-repeat;
}

.pm-home-project-body {
    padding: 24px;
}

.pm-home-project-category {
    color: var(--pm-red);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pm-cta {
    background: var(--pm-dark);
    color: #fff;
    border-radius: 28px;
    padding: 58px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.pm-cta::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    top: -170px;
    background: rgba(177,18,38,.45);
    border-radius: 999px;
}

.pm-cta h2,
.pm-cta p,
.pm-cta .pm-btn {
    color: #fff;
    position: relative;
    z-index: 1;
}

.pm-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.pm-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .pm-home-top-usps {
        grid-template-columns: repeat(3, 1fr);
    }

    .pm-home-service-grid,
    .pm-home-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .pm-home-hero-grid,
    .pm-home-about-grid,
    .pm-cta {
        grid-template-columns: 1fr;
    }
    
     .pm-home-hero-grid {
        align-items: initial;
    }
    
    .pm-home-hero-image {
        height: auto;
        min-height: 420px;
    }

    .pm-home-project-head {
        display: block;
    }

    .pm-home-project-head .pm-btn {
        margin-top: 20px;
    }
    
    
}

@media (max-width: 720px) {
    .pm-home-project-grid {
        grid-template-columns: 1fr;
    }

    .pm-home-top-usps,
    .pm-home-service-grid,
    .pm-home-process-grid {
        grid-template-columns: 1fr;
    }
    
    .pm-home-popular-section .pm-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 620px) {
    .pm-container {
        width: min(100% - 28px, 1240px);
    }

    .pm-home-hero,
    .pm-section {
        padding: 50px 0;
    }

    .pm-home-hero-image {
        min-height: 340px;
    }
    
    .pm-homepage h1 {
        font-size: clamp(40px, 13vw, 56px);
    }

    .pm-home-checks {
        grid-template-columns: 1fr;
    }

    .pm-home-actions {
        flex-direction: column;
    }

    .pm-btn {
        width: 100%;
    }

    .pm-home-about-image {
        min-height: 340px;
    }

    .pm-cta {
        padding: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pm-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}