:root {
    --green: #30624b;
    --green-deep: #244a39;
    --green-light: #94b768;
    --text: #f6f0e4;
    --muted: rgba(246, 240, 228, 0.8);
    --subpage-text: #1f2f28;
    --subpage-muted: #5b6d64;
    --subpage-line: rgba(48, 98, 75, 0.16);
    --surface-soft: #f7f3ea;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.header-inner {
    width: min(1220px, calc(100% - 2rem));
    margin: 0 auto;
    padding: calc(1.25rem + 55px) 0 1.25rem;
    display: grid;
    justify-items: center;
    gap: 2.4rem;
}

.brand {
    width: min(186px, 31.9vw);
}

.brand img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
}

.nav a {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.2rem;
}

.nav a:hover {
    border-color: rgba(255, 255, 255, 0.45);
}

.hero {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(48, 98, 75, 0.56) 0%, rgba(36, 74, 57, 0.92) 100%),
        linear-gradient(90deg, rgba(48, 98, 75, 0.72) 0%, rgba(48, 98, 75, 0.28) 45%, rgba(48, 98, 75, 0.7) 100%),
        url('img/optimized/feucht-hofladen-header-1800.jpg') center/cover;
}

.hero-inner {
    width: min(1220px, calc(100% - 2rem));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    align-items: end;
    padding: 15rem 0 2.5rem;
}

.section-kicker {
    color: var(--green-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.content-title,
.content-subtitle {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 0.95;
    font-weight: 700;
}

.hero-spacer {
    min-height: 14rem;
}

.content-shell,
.footer-light {
    background: #ffffff;
    color: var(--subpage-text);
}

.content-section {
    border-top: 1px solid var(--subpage-line);
}

.content-inner {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4.5rem 0;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.editorial-copy {
    max-width: 40rem;
}

.editorial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-media {
    min-height: 360px;
}

.editorial-media-small {
    min-height: 280px;
}

.content-title {
    max-width: 10ch;
    font-size: clamp(2.6rem, 5vw, 4.9rem);
    color: var(--green);
}

.content-subtitle {
    max-width: 12ch;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--green);
    margin-bottom: 1rem;
}

.content-text {
    max-width: 42rem;
    margin: 0 0 1rem;
    color: var(--subpage-muted);
    font-size: 1rem;
}

.egg-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
    gap: clamp(2rem, 4vw, 4.2rem);
    align-items: end;
    padding: 2.2rem 0 3.8rem;
}

.egg-showcase-copy {
    display: grid;
    align-content: start;
    max-width: 38rem;
    align-self: end;
}

.egg-showcase-kicker,
.egg-showcase-title {
    margin: 0;
    color: var(--green);
    text-transform: uppercase;
    line-height: 0.88;
    letter-spacing: -0.06em;
}

.egg-showcase-kicker {
    font-size: clamp(2.2rem, 4vw, 3.9rem);
    font-weight: 300;
}

.egg-showcase-title {
    font-size: clamp(4.9rem, 9.2vw, 8.2rem);
    font-weight: 700;
}

.egg-showcase-packshot {
    width: min(100%, 100%);
    margin: 2.8rem 0 1.35rem;
}

.egg-showcase-packshot img {
    width: 100%;
    height: auto;
}

.egg-showcase-text {
    max-width: 24rem;
    margin: 0;
    color: var(--subpage-muted);
    font-size: clamp(1rem, 1.18vw, 1.08rem);
    line-height: 1.74;
}

.egg-showcase-stage {
    position: relative;
    width: 100%;
    min-height: 42rem;
    margin-top: 0.25rem;
    align-self: end;
}

.egg-showcase-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(228px, 24vw, 278px);
    transform: translate(-38%, 0);
    color: #ffffff;
    z-index: 2;
    pointer-events: none;
}

.egg-showcase-badge > img {
    width: 100%;
    height: auto;
}

.egg-showcase-badge-copy {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 52% auto auto 1fr;
    justify-items: center;
    text-align: center;
    padding: 0.2rem 0.45rem 0.2rem;
}

.egg-showcase-badge strong {
    grid-row: 2;
    display: block;
    font-size: clamp(4.05rem, 6.1vw, 6.35rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
}

.egg-showcase-badge span {
    grid-row: 3;
    display: block;
    margin-top: 0.08rem;
    font-size: clamp(0.86rem, 1.37vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.egg-showcase-media {
    width: calc(100% - 1.8rem);
    margin-left: auto;
    aspect-ratio: 21 / 33;
}

.egg-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.pasta-showcase {
    padding: 4.25rem 0 0;
}

.pasta-showcase-head {
    max-width: 36rem;
    margin-bottom: 2.75rem;
}

.pasta-showcase-kicker,
.pasta-slide-label {
    margin: 0;
    color: var(--green-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pasta-showcase-title,
.pasta-slide-title {
    margin: 0;
    color: var(--green);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 700;
}

.pasta-showcase-title {
    max-width: 11ch;
    font-size: clamp(2.6rem, 4.8vw, 4.6rem);
}

.pasta-showcase-text,
.pasta-slide-text {
    margin: 0;
    color: var(--subpage-muted);
}

.pasta-showcase-text {
    max-width: 32rem;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.pasta-slider {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.pasta-slider-viewport {
    overflow: hidden;
}

.pasta-slider-track {
    display: flex;
    transition: transform 320ms ease;
    will-change: transform;
}

.pasta-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) minmax(240px, 1.05fr);
    gap: 2rem;
    align-items: center;
    padding: 2.4rem 2.5rem;
    border: 1px solid var(--subpage-line);
    background: linear-gradient(180deg, rgba(148, 183, 104, 0.06), rgba(48, 98, 75, 0.02));
}

.pasta-slide-pattern {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px solid rgba(48, 98, 75, 0.08);
}

.pasta-slide-pattern img {
    width: 74%;
    height: auto;
}

.pasta-slide-copy {
    display: grid;
    gap: 0.85rem;
    align-content: center;
}

.pasta-slide-title {
    font-size: clamp(2.5rem, 4vw, 4.25rem);
}

.pasta-slide-text {
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.7;
}

.pasta-slider-arrow {
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid var(--subpage-line);
    background: #ffffff;
    color: var(--green);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.pasta-slider-arrow span {
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-0.08rem);
}

.pasta-slider-arrow:hover:not(:disabled) {
    background: var(--green);
    color: #ffffff;
    border-color: var(--green);
}

.pasta-slider-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.pasta-slider-meta {
    margin-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.pasta-slider-count {
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pasta-slider-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem 1rem;
}

.pasta-slider-name {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--subpage-muted);
    font: inherit;
    font-size: 0.98rem;
    cursor: pointer;
    transition: color 180ms ease;
}

.pasta-slider-name.is-active {
    color: var(--green);
}

.footer {
    padding: 1.5rem 1rem 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--green);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subpage {
    background: #ffffff;
    color: var(--subpage-text);
}

.subpage a {
    color: var(--green-light);
    text-underline-offset: 0.16em;
    text-decoration-thickness: 1px;
}

.subpage-page {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.25rem 0 4rem;
}

.subpage-header {
    display: grid;
    justify-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.subpage .brand {
    width: min(186px, 31.9vw);
    margin: 0 auto;
}

.subpage .brand img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(19%) saturate(906%) hue-rotate(106deg) brightness(94%) contrast(91%);
}

.subpage-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
}

.subpage-nav a {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.2rem;
}

.subpage-nav a:hover {
    border-color: rgba(48, 98, 75, 0.35);
}

.subpage-title {
    margin: 0 0 1.5rem;
    color: var(--green);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 700;
}

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

.subpage-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--subpage-line);
    color: var(--subpage-muted);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.credit-image {
    width: 100%;
    margin: 0;
}

.credit-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: auto;
}

.item-title {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--subpage-text);
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
}

.credit-copy {
    display: grid;
    gap: 0.45rem;
    padding-top: 0.1rem;
    font-size: 0.98rem;
    line-height: 1.5;
}

.credit-copy a {
    width: fit-content;
}

@media (max-width: 900px) {
    .header {
        position: relative;
        background: var(--green);
    }

    .header-inner {
        padding: calc(1rem + 28px) 0 1rem;
        gap: 1.5rem;
    }

    .brand {
        width: min(160px, 42vw);
    }

    .nav,
    .subpage-nav {
        gap: 1rem;
    }

    .nav a,
    .subpage-nav a {
        font-size: 0.76rem;
        letter-spacing: 0.13em;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        min-height: calc(100svh - 140px);
        grid-template-columns: 1fr;
        align-items: end;
        padding: 3rem 0 1.5rem;
    }

    .editorial-grid,
    .egg-showcase {
        grid-template-columns: 1fr;
    }

    .egg-showcase {
        gap: 2rem;
        padding: 1rem 0 2.8rem;
        grid-template-columns: 1fr;
    }

    .egg-showcase-copy {
        max-width: none;
    }

    .content-inner,
    .subpage-page {
        width: calc(100% - 1.5rem);
    }

    .content-inner {
        padding: 3rem 0;
    }

    .egg-showcase-stage {
        min-height: 34rem;
        width: min(100%, 420px);
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
    }

    .egg-showcase-media {
        width: calc(100% - 1.2rem);
        aspect-ratio: 21 / 28;
    }

    .egg-showcase-media img {
        object-position: center top;
    }

    .egg-showcase-badge {
        left: 0;
        bottom: 0;
        transform: translate(-22%, 0);
        width: 207px;
    }

    .egg-showcase-badge-copy {
        grid-template-rows: 52% auto auto 1fr;
        padding: 0.16rem 0.38rem 0.18rem;
    }

    .egg-showcase-badge strong {
        font-size: 3.85rem;
    }

    .egg-showcase-badge span {
        font-size: 0.78rem;
    }

    .pasta-showcase {
        padding-top: 3.25rem;
    }

    .pasta-showcase-head {
        margin-bottom: 2rem;
    }

    .pasta-slide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.75rem;
    }

    .pasta-slide-pattern {
        width: min(100%, 280px);
        margin: 0 auto;
    }

    .pasta-slide-copy {
        justify-items: center;
        text-align: center;
    }

    .pasta-slide-text {
        max-width: 28rem;
    }

    .pasta-slider-meta {
        justify-content: center;
    }

    .pasta-slider-names {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .header-inner {
        padding: calc(0.85rem + 18px) 0 0.9rem;
        gap: 1.1rem;
    }

    .brand {
        width: min(148px, 48vw);
    }

    .nav,
    .subpage-nav {
        gap: 0.8rem 1rem;
    }

    .nav a,
    .subpage-nav a {
        font-size: 0.72rem;
        letter-spacing: 0.11em;
    }

    .hero-inner {
        width: calc(100% - 1.25rem);
        min-height: calc(100svh - 126px);
        padding: 2rem 0 1rem;
    }

    .hero-spacer {
        min-height: 10rem;
    }

    .content-inner,
    .subpage-page {
        width: calc(100% - 1.25rem);
    }

    .content-inner {
        padding: 2.5rem 0;
    }

    .egg-showcase-kicker {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }

    .egg-showcase-title {
        font-size: clamp(3.6rem, 18vw, 5.6rem);
    }

    .egg-showcase-packshot {
        width: min(100%, 930px);
        margin: 1rem 0 1.15rem;
    }

    .egg-showcase-text {
        max-width: none;
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .egg-showcase-media {
        width: calc(100% - 0.8rem);
        aspect-ratio: 21 / 26;
    }

    .egg-showcase-media img {
        object-position: center top;
    }

    .egg-showcase-badge {
        width: 167px;
        left: 0;
        bottom: 0;
        transform: translate(-14%, 0);
    }

    .egg-showcase-badge-copy {
        grid-template-rows: 50% auto auto 1fr;
        padding: 0.12rem 0.28rem 0.14rem;
    }

    .egg-showcase-badge strong {
        font-size: 3rem;
    }

    .egg-showcase-badge span {
        font-size: 0.64rem;
    }

    .pasta-showcase {
        padding-top: 2.6rem;
    }

    .pasta-showcase-title {
        max-width: none;
        font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .pasta-showcase-text {
        margin-top: 0.8rem;
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .pasta-slider {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .pasta-slider-arrow {
        width: 2.9rem;
        height: 2.9rem;
    }

    .pasta-slider-arrow-prev {
        order: 2;
        justify-self: start;
    }

    .pasta-slider-viewport {
        order: 1;
    }

    .pasta-slider-arrow-next {
        order: 3;
        justify-self: end;
        margin-top: -2.9rem;
    }

    .pasta-slide {
        padding: 1.45rem 1.1rem;
    }

    .pasta-slide-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .pasta-slide-text {
        font-size: 0.95rem;
        line-height: 1.58;
    }

    .pasta-slider-meta {
        margin-top: 1rem;
        justify-content: center;
    }

    .pasta-slider-names {
        gap: 0.45rem 0.8rem;
    }

    .pasta-slider-name {
        font-size: 0.92rem;
    }

    .footer-nav {
        gap: 0.8rem 1rem;
    }

    .subpage-list li {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .credit-image {
        width: min(220px, 100%);
    }
}
