/* SchreinerBlick 2.8 — customer journey and roadmap */
#foto-check,
#werkstatt-intensivtag {
    scroll-margin-top: 11rem;
}

@media (min-width: 1181px) {
    #gh-head .gh-head-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: clamp(2rem, 2.5vw, 4rem);
    }

    #gh-head .gh-head-brand {
        grid-column: auto;
        max-width: none;
    }

    #gh-head .gh-head-menu {
        min-width: 0;
        justify-content: center;
    }

    #gh-head .gh-head-menu .nav {
        flex-wrap: nowrap;
        gap: clamp(1.4rem, 1.6vw, 2.8rem);
    }

    #gh-head .gh-head-menu .nav li {
        flex: 0 0 auto;
        margin: 0;
    }

    #gh-head .gh-head-menu .nav a,
    #gh-head .gh-head-actions .gh-button {
        white-space: nowrap;
    }
}

/* Five navigation items no longer fit safely in the former 900px desktop header. */
@media (min-width: 901px) and (max-width: 1180px) {
    #gh-head {
        overflow: hidden;
        transition: all .4s ease-out;
    }

    #gh-head .gh-head-inner {
        grid-template-columns: 1fr;
        height: 100%;
    }

    #gh-head .gh-head-brand {
        position: relative;
        z-index: 10;
        display: flex;
        grid-column: auto;
        align-items: center;
        justify-content: space-between;
        max-width: none;
    }

    #gh-head .gh-burger {
        display: inline-grid;
        place-items: center;
    }

    #gh-head .gh-head-menu,
    #gh-head .gh-head-actions {
        display: none;
    }

    body.gh-head-open {
        height: 100vh;
        overflow: hidden;
    }

    body.gh-head-open #gh-head {
        position: fixed;
        inset: 0;
        z-index: 900;
        height: 100vh;
        overflow-y: auto;
    }

    body.gh-head-open #gh-head .gh-head-inner {
        grid-template-rows: auto 1fr auto;
    }

    body.gh-head-open #gh-head .gh-head-menu,
    body.gh-head-open #gh-head .gh-head-actions {
        display: flex;
        justify-content: center;
    }

    body.gh-head-open #gh-head .gh-head-menu {
        align-items: center;
        align-self: center;
        margin: 0;
        text-align: center;
    }

    body.gh-head-open #gh-head .gh-head-menu .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    body.gh-head-open #gh-head .gh-head-menu .nav li {
        margin: 0;
    }

    body.gh-head-open #gh-head .gh-head-menu .nav a {
        padding: .8rem 0;
        font-size: 1.8rem;
        white-space: nowrap;
    }

    body.gh-head-open #gh-head .gh-head-actions {
        padding: 2rem 0;
    }
}

.sb-customer {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 11rem 0;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(5rem, 8vw, 12rem);
    align-items: start;
}

.sb-customer-wish {
    width: 100%;
    padding-inline: max(24px, calc((100% - 1180px) / 2));
    background: var(--ink);
    color: var(--paper);
}

.sb-customer-head h2,
.sb-journey-head h2 {
    margin: 3rem 0 2.4rem;
    font: 700 clamp(4.2rem, 4.5vw, 6.2rem)/1.02 "Archivo", sans-serif;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.sb-customer-head h2 em,
.sb-journey-head h2 em {
    color: var(--orange);
    font-style: normal;
}

.sb-customer-head > p:last-child,
.sb-journey-head > p:last-child {
    max-width: 53rem;
    color: var(--muted);
    font-size: 1.9rem;
    line-height: 1.6;
}

.sb-customer-wish .sb-customer-head > p:last-child {
    color: #c7c0b4;
}

.sb-customer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.sb-customer-wish .sb-customer-list {
    border-color: #55514a;
}

.sb-customer-list li {
    position: relative;
    padding: 2.6rem 0 2.6rem 3.2rem;
    border-bottom: 1px solid var(--line);
}

.sb-customer-wish .sb-customer-list li {
    border-color: #55514a;
}

.sb-customer-list li::before {
    position: absolute;
    top: 3.45rem;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    content: "";
}

.sb-customer-list strong,
.sb-customer-list span {
    display: block;
}

.sb-customer-list strong {
    font-size: 2rem;
    line-height: 1.35;
}

.sb-customer-list span {
    margin-top: .6rem;
    color: var(--muted);
    font-size: 1.65rem;
    line-height: 1.55;
}

.sb-customer-wish .sb-customer-list span {
    color: #b9b1a4;
}

.sb-method {
    margin-top: 0;
}

.sb-journey {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 12rem 0;
}

.sb-journey-head {
    max-width: 88rem;
}

.sb-roadmap {
    position: relative;
    display: block;
    max-width: 900px;
    margin-top: 7rem;
    border-top: 0;
}

.sb-roadmap::before {
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 2.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--orange), var(--orange) 72%, var(--line));
    content: "";
}

.sb-roadmap article,
.sb-roadmap article + article {
    position: relative;
    min-height: 18rem;
    padding: 0 0 6rem 9rem;
    border-left: 0;
}

.sb-roadmap article:last-child {
    min-height: 0;
    padding-bottom: 0;
}

.sb-roadmap article::before {
    position: absolute;
    top: .4rem;
    left: 1.6rem;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--paper);
    border: 4px solid var(--orange);
    border-radius: 50%;
    content: "";
    z-index: 1;
}

.sb-roadmap .sb-journey-number {
    color: var(--orange);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.sb-roadmap .sb-journey-label {
    margin-top: 1.6rem;
    color: var(--muted);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sb-roadmap h3 {
    margin: 1.2rem 0 1.4rem;
    font-size: clamp(2.6rem, 2.6vw, 3.6rem);
    line-height: 1.12;
}

.sb-roadmap article > p:last-child {
    max-width: 62rem;
    color: var(--muted);
    font-size: 1.65rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .sb-customer {
        grid-template-columns: 1fr;
        padding-block: 9rem;
    }

}

@media (max-width: 600px) {
    .sb-customer,
    .sb-journey {
        width: calc(100% - 36px);
        padding-block: 7rem;
    }

    .sb-customer-wish {
        width: 100%;
        padding-inline: 18px;
    }

    .sb-customer-head h2,
    .sb-journey-head h2 {
        font-size: 4.2rem;
    }

    .sb-customer-list strong {
        font-size: 1.8rem;
    }

    .sb-roadmap::before {
        left: .8rem;
    }

    .sb-roadmap article,
    .sb-roadmap article + article {
        min-height: 0;
        padding: 0 0 5rem 5rem;
        border-left: 0;
    }

    .sb-roadmap article::before {
        top: .2rem;
        left: 0;
    }
}
