html{
    scroll-behavior: smooth; /* ✅ smooth scroll */
}

/* Wrapper */
.menu-wrap{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px 28px;
}

/* Sticky Navigation */
.menu-nav{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0d3c4;
    padding: 10px 6px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.chip{
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #e0d3c4;
    background: #fff;
    color: #111;
    font-size: 0.9rem;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.chip:hover{
    transform: translateY(-1px);
    border-color: rgba(215, 38, 61, 0.45);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.menu-content{
    padding-top: 14px;
}

/* Section */
.menu-section{
    padding: 18px 0 6px;
    scroll-margin-top: 90px;
}

.section-head{
    margin: 0 0 14px;
    display: grid;
    gap: 6px;
}

.section-title{
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

.section-desc{
    margin: 0;
    max-width: 62ch;
    font-size: 0.96rem;
    line-height: 1.45;
    color: rgba(0,0,0,0.62);
    padding-left: 2px;
}

/* optional: bei Ramen-Sektionen etwas mehr Luft nach unten,
   damit der Übergang zur Card nicer wirkt */
.ramen-block .section-head{
    margin-bottom: 18px;
}

.section-head h2{
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: .2px;
}
.section-line{
    height: 1px;
    flex: 1;
    background: #e0d3c4;
}

/* Reveal Animation */
.section-reveal{
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}
.section-reveal.in{
    opacity: 1;
    transform: translateY(0);
}

/* Standard Box (Vorspeisen, Salate, Donburi etc.) */
.section-box{
    border: 1px solid #e0d3c4;
    border-radius: 16px;
    background: #fff;
    padding: 10px 14px;
    overflow: hidden;
}

.menu-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #eee2d6;
}
.menu-row:last-child{
    border-bottom: none;
}
.menu-name{
    font-weight: 600;
}


/* RAMEN HERO BOX */
.ramen-hero{
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 16px;
    align-items: center;
    border: 1px solid #e0d3c4;
    border-radius: 16px;
    background: #fff;
    padding: 14px;
    overflow: hidden;
    position: relative;
}

/* Alternate: from-right => Bild rechts */
.ramen-hero.from-right{
    grid-template-columns: 1.2fr 1.1fr;
}
.ramen-hero.from-right .ramen-hero-img{ order: 2; }
.ramen-hero.from-right .ramen-hero-list{ order: 1; }

/* Bildcontainer */
.ramen-hero-img{
    position: relative;
    min-height: 240px;
}

/* Placeholder */
.menu-img-ph{
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(0,0,0,0.55);
    font-size: 0.85rem;
    background: linear-gradient(135deg, rgba(215,38,61,0.06), rgba(0,0,0,0.02));
}


/* Startzustand: Bild ist außerhalb */
.ramen-section[data-side="from-left"] .ramen-hero-img{
    transform: translateX(-120%);
    opacity: 0;
}
.ramen-section[data-side="from-right"] .ramen-hero-img{
    transform: translateX(120%);
    opacity: 0;
}

/* Wenn Sektion sichtbar => Bild fliegt rein und bleibt */
.ramen-section.ramen-in .ramen-hero-img{
    transform: translateX(0);
    opacity: 1;
    transition: transform 700ms cubic-bezier(.2,.9,.25,1), opacity 500ms ease;
}

/* Ramen Liste */
.ramen-hero-list{
    padding: 4px 6px;
}
.ramen-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ramen-row:last-child{
    border-bottom: none;
}

.ramen-name{
    font-weight: 600;
}
.ramen-price{
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 999px;

    background: rgba(215,38,61,0.08);
    border: 1px solid rgba(215,38,61,0.25);

    font-weight: 700;
    font-size: 0.95rem;
}

/* Footer */
.menu-footer{
    margin-top: 20px;
    border-top: 1px solid #e0d3c4;
    padding: 18px 6px;
    color: rgba(0,0,0,0.6);
}

/* Mobile */
@media (max-width: 900px){
    .ramen-hero{
        grid-template-columns: 1fr;
    }
    .ramen-hero.from-right .ramen-hero-img,
    .ramen-hero.from-right .ramen-hero-list{
        order: initial;
    }
    .ramen-hero-img{
        min-height: 200px;
    }
    .hero-ph{
        height: 200px;
    }
}



/* PILL um alles */
.brand-pill{
    display: inline-block;
    padding: 4px 8px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #e0d3c4;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Layout innen */
.brand{
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LOGO – bleibt wie bei dir */
.brand-mark{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e0d3c4;
}

.brand-mark img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover subtil */
.brand-mark:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* TEXT */
.brand-text{
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

/* Haupttitel */
.brand-main{
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Untertitel grau */
.brand-sub{
    margin-top: 2px;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: rgba(0,0,0,0.55);
    white-space: nowrap;
}

.brand-mark-link{
    display: inline-flex;
    text-decoration: none;
    color: inherit;
}

.ramen-hero{
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 28px;
    align-items: center;

    padding: 26px 30px;
    border-radius: 28px;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);

    box-shadow:
            0 18px 45px rgba(0,0,0,0.06),
            0 2px 6px rgba(0,0,0,0.04);
}

.ramen-hero-img{
    display: grid;
    place-items: center;
}

.ramen-img{
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px){
    .ramen-hero{
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .ramen-img{
        max-width: 220px;
    }
}

.menu-item{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.menu-item-prices{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.menu-price-pill{
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    border: 1px solid rgba(215,38,61,0.35);
    background: rgba(215,38,61,0.06);
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.price-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #f2b3b3;
    background: #fff7f7;
    font-weight: 600;
}

.price-chip .chip-label{
    font-weight: 500;
    color: rgba(0,0,0,0.65);
    font-size: 0.85rem;
}

.price-chip .chip-price{
    white-space: nowrap;
}

/* Sticky Bar */
.menu-nav{
    position: sticky;
    top: 12px;                 /* passt zu deinem Layout */
    z-index: 30;

    margin: 12px 0 18px;
    padding: 10px 10px;

    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(10px);
}

/* Horizontal track without scrollbar */
.menu-nav-track{
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
}
.menu-nav-track::-webkit-scrollbar{
    display: none;                  /* Chrome/Safari */
}

/* Chips */
.menu-chip{
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;

    border: 1px solid rgba(0,0,0,0.14);
    background: rgba(255,255,255,0.75);
    color: rgba(0,0,0,0.78);

    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;

    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.menu-chip:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    border-color: rgba(215,38,61,0.25);
}

/* Active state (wird per JS gesetzt) */
.menu-chip.is-active{
    border-color: rgba(215,38,61,0.40);
    background: rgba(255,240,243,0.85);
    color: rgba(0,0,0,0.92);
}

