.terrace-hero {
    --terrace-gutter: clamp(10px, 1.45vw, 26px);
    padding-inline: var(--terrace-gutter);
    background: #fff;
    color: #444c4d;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.terrace-frame {
    position: relative;
    max-width: 1920px;
    margin-inline: auto;
    container-type: inline-size;
}

.terrace-photo {
    width: 85%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-left: auto;
    object-fit: cover;
    clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
}

.terrace-crumbs, .terrace-scroll {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .7em;
    font-size: clamp(.75rem, 1cqw, 1rem);
    line-height: 1.4;
}

.terrace-crumbs { left: 3.4%; bottom: 89.5%; }
.terrace-crumbs > * + *::before {
    content: "";
    display: inline-block;
    width: .38em;
    height: .38em;
    margin: 0 .85em .1em 0;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}

.terrace-panel {
    position: absolute;
    isolation: isolate;
    inset: 12.5% auto 12.5% 0;
    width: 40.6%;
    padding: 3.4cqw;
    color: #fff;
}

.terrace-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #515858;
    clip-path: polygon(0 0, 100% 0, 64% 100%, 0 100%);
}

.mm-site .terrace-panel h1 {
    margin: 0;
    color: inherit;
    font: italic 400 clamp(1.7rem, 2.92cqw, 3.5rem)/1.11 "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -.025em;
}

.terrace-panel h1 span { display: block; }
.terrace-panel h1::after {
    content: "";
    display: block;
    width: 1.2em;
    height: 2px;
    margin: .43em 0 .64em;
    background: #a5adad;
}

.terrace-panel ul {
    display: grid;
    gap: .72em;
    width: 20cqw;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: clamp(.8125rem, 1.06cqw, 1.25rem);
    line-height: 1.45;
}

.terrace-panel li { position: relative; padding-left: 1.25em; }
.terrace-panel li::before {
    content: "";
    position: absolute;
    top: .52em;
    left: 0;
    width: .44em;
    height: .44em;
    background: #78abb1;
}

.terrace-scroll {
    bottom: 1.5%;
    left: 7%;
    gap: .35em;
    min-height: 28px;
}

.terrace-scroll .mm-icon { width: 1.2em; height: 1.2em; }
.terrace-crumbs a:hover, .terrace-scroll:hover { text-decoration: underline; }
.neher-home #familienbetrieb { scroll-margin-top: 120px; }

@media (max-width: 991px) {
    .terrace-hero { padding-inline: 0; }
    .terrace-photo {
        width: calc(100% - 2 * var(--terrace-gutter));
        margin-inline: auto;
        aspect-ratio: 1;
        object-position: 59% center;
        clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 40%);
    }
    .terrace-crumbs, .terrace-scroll { display: none; }
    .terrace-panel {
        position: relative;
        inset: auto;
        width: 100%;
        padding: clamp(18px, 3.6vw, 32px) 12% clamp(26px, 4vw, 38px) clamp(17px, 3.6vw, 32px);
    }
    .terrace-panel::before {
        clip-path: polygon(0 0, 100% 0, 100% 52%, 90% 100%, 0 100%);
    }
    .mm-site .terrace-panel h1 { font-size: clamp(1.25rem, 3vw, 1.85rem); }
    .terrace-panel h1 span { display: inline; }
    .terrace-panel h1::after { margin: .6em 0 .8em; }
    .terrace-panel ul { width: auto; gap: .8em; }
}
