/* ===========================================================================
   Night-Bites — 24h-Lieferdienst München. Helles, warmes Doodle-Design.
   STRIKT die Night-Bites-Palette (rechts vom Namen in Farbpalette.xlsx):
     #D5C7BC BG · #F4EDE8 Flächen · #CB793A Orange · #E5B769 Gold
     #8C0A19 Rot · #45050C Tiefrot · #7A542E Braun · #000000 Schwarz
   Assets: _Bilder/_NightBites_Header-1.jpeg, _NightBites_Leiste-unten.png.
   =========================================================================== */

:root {
    --nb-bg:       #d5c7bc;   /* Seite + Karten-Kopf/Fuß */
    --nb-surface:  #f4ede8;   /* Karten / Flächen */
    --nb-orange:   #cb793a;   /* Primär (Buttons, Preise, Marke) */
    --nb-orange-dk:#b0612a;   /* Hover (dunkleres Orange) */
    --nb-amber:    #e5b769;   /* Gold-Akzent */
    --nb-red:      #8c0a19;   /* Rot-Akzent */
    --nb-deep:     #45050c;   /* Tiefrot: Headings, Footer, Text */
    --nb-brown:    #7a542e;   /* Braun: gedämpfter Text */
    --nb-text:     #45050c;
    --nb-mut:      #7a542e;
    --nb-line:     rgba(69,5,12,.16);
    --nb-line2:    rgba(69,5,12,.30);

    --radius:    14px;
    --radius-sm: 9px;
    --top-h:     62px;
    --font:      "Raleway", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-brand:"Poppins", "Segoe UI Semibold", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--nb-bg); color: var(--nb-text); font-family: var(--font); font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb { background: rgba(69,5,12,.28); border-radius: 6px; border: 3px solid var(--nb-bg); }

/* ---------------------------------------------------------------- Top-Bar */
.nb-top {
    position: sticky; top: 0; z-index: 40; height: var(--top-h);
    display: flex; align-items: center; gap: 22px;
    padding: 0 clamp(16px, 4vw, 48px);
    background: rgba(244, 237, 232, .94); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--nb-line);
}
.nb-brand { font-family: var(--font-brand); font-weight: 800; font-size: 27px; letter-spacing: .2px; line-height: 1; color: var(--nb-orange); white-space: nowrap; }
.nb-nav { display: flex; gap: 4px; margin-left: 8px; }
.nb-nav a { padding: 8px 13px; border-radius: 999px; color: var(--nb-text); font-size: 14px; font-weight: 600; }
.nb-nav a:hover { background: var(--nb-surface); color: var(--nb-orange-dk); }
.nb-badge24 { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--nb-orange); color: var(--nb-orange-dk); font-weight: 700; font-size: 13px; white-space: nowrap; }
.nb-badge24 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nb-orange); box-shadow: 0 0 0 3px rgba(203,121,58,.22); }
@media (max-width: 780px) { .nb-nav { display: none; } }

/* ---------------------------------------------------------------- Hero */
.nb-hero { position: relative; overflow: hidden; background-size: cover; background-position: center; border-bottom: 3px solid var(--nb-orange); }
.nb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(213,199,188,.5) 0%, rgba(213,199,188,.62) 45%, rgba(213,199,188,.95) 100%); }
.nb-hero-in { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 74px clamp(16px, 4vw, 48px) 78px; text-align: center; }
.nb-hero .kicker { display: inline-block; color: var(--nb-orange-dk); font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; font-size: 12.5px; margin-bottom: 14px; }
.nb-hero h1 { font-family: var(--font-brand); font-weight: 800; font-size: clamp(36px, 6vw, 64px); line-height: 1.02; margin: 0; color: var(--nb-deep); text-wrap: balance; text-shadow: 0 2px 16px rgba(244,237,232,.85); }
.nb-hero h1 em { color: var(--nb-orange); font-style: normal; }
.nb-hero p { max-width: 620px; margin: 18px auto 0; color: var(--nb-brown); font-size: 17px; }
.nb-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.nb-btn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--nb-orange); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 6px 18px rgba(69,5,12,.18); }
.nb-btn:hover { background: var(--nb-orange-dk); }
.nb-btn.ghost { background: var(--nb-surface); color: var(--nb-text); border: 1px solid var(--nb-line2); box-shadow: none; }
.nb-btn.ghost:hover { border-color: var(--nb-orange); color: var(--nb-orange-dk); }
.nb-btn svg { width: 19px; height: 19px; }

/* ---------------------------------------------------------------- Sections */
.nb-wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.nb-sec { padding: 62px 0; }
.nb-sec-h { text-align: center; margin-bottom: 34px; }
.nb-sec-h .k { color: var(--nb-orange-dk); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 12.5px; }
.nb-sec-h h2 { font-family: var(--font-brand); font-weight: 800; font-size: clamp(26px, 4vw, 38px); margin: 8px 0 0; color: var(--nb-deep); }
.nb-sec-h p { color: var(--nb-mut); margin: 8px 0 0; }

/* Speisekarte */
.nb-menu-nav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.nb-menu-nav button { height: 36px; padding: 0 16px; border: 1px solid var(--nb-line2); border-radius: 999px; background: var(--nb-surface); color: var(--nb-text); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.nb-menu-nav button:hover { border-color: var(--nb-orange); }
.nb-menu-nav button.on { background: var(--nb-orange); color: #fff; border-color: var(--nb-orange); }
.nb-cat { margin-bottom: 40px; }
.nb-cat > h3 { font-family: var(--font-brand); font-weight: 800; font-size: 23px; color: var(--nb-orange); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.nb-cat > h3::after { content: ""; flex: 1; height: 2px; background: var(--nb-line); border-radius: 2px; }
.nb-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.nb-item { display: flex; gap: 12px; align-items: baseline; padding: 15px 17px; background: var(--nb-surface); border: 1px solid var(--nb-line); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(69,5,12,.06); }
.nb-item .txt { min-width: 0; }
.nb-item .n { font-weight: 700; font-size: 15.5px; }
.nb-item .b { color: var(--nb-mut); font-size: 13px; margin-top: 3px; }
.nb-item .p { margin-left: auto; font-family: var(--font-brand); font-weight: 800; color: var(--nb-orange); white-space: nowrap; font-size: 16px; }
.nb-item .dots { flex: 1; border-bottom: 2px dotted var(--nb-line2); align-self: center; min-width: 16px; }

/* So funktioniert's */
.nb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.nb-step { background: var(--nb-surface); border: 1px solid var(--nb-line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: 0 2px 10px rgba(69,5,12,.06); }
.nb-step .ico { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: rgba(203,121,58,.16); color: var(--nb-orange); }
.nb-step .ico svg { width: 28px; height: 28px; }
.nb-step h4 { font-family: var(--font-brand); font-weight: 800; font-size: 18px; margin: 0 0 6px; color: var(--nb-deep); }
.nb-step p { color: var(--nb-mut); font-size: 14px; margin: 0; }

/* ------------------------------------------------- Bestellung einsehen */
.nb-lookup { background: var(--nb-surface); border-top: 1px solid var(--nb-line); border-bottom: 1px solid var(--nb-line); }
.nb-lookup-box { max-width: 640px; margin: 0 auto; }
.nb-form { display: flex; gap: 10px; margin-top: 4px; }
.nb-form input { flex: 1; height: 52px; padding: 0 18px; background: var(--nb-bg); border: 1px solid var(--nb-line2); border-radius: 999px; color: var(--nb-text); font-size: 16px; outline: 0; }
.nb-form input:focus { border-color: var(--nb-orange); }
.nb-form input::placeholder { color: var(--nb-mut); }
.nb-hint { text-align: center; color: var(--nb-mut); font-size: 13px; margin-top: 12px; }
.nb-fehler { text-align: center; color: var(--nb-red); margin-top: 18px; font-weight: 600; }

.nb-orders { margin-top: 26px; }
.nb-order { background: var(--nb-surface); border: 1px solid var(--nb-line); border-radius: var(--radius); overflow: hidden; margin-top: 14px; box-shadow: 0 3px 14px rgba(69,5,12,.1); }
.nb-order.beweis { border-color: var(--nb-orange); }
.nb-order-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--nb-bg); border-bottom: 1px solid var(--nb-line); }
.nb-order-h .nr { font-family: var(--font-brand); font-weight: 800; color: var(--nb-orange); }
.nb-order-h .dt { color: var(--nb-mut); font-size: 13.5px; }
.nb-order-h .status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--nb-orange-dk); }
.nb-order-h .status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nb-amber); }
.nb-order-b { padding: 15px 18px; }
.nb-line2 { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; color: var(--nb-mut); margin-bottom: 5px; }
.nb-line2 b { color: var(--nb-text); font-weight: 600; }
.nb-line2 svg { width: 15px; height: 15px; color: var(--nb-orange); flex: 0 0 auto; }
.nb-items-list { margin: 12px 0 4px; border-top: 1px dashed var(--nb-line2); padding-top: 12px; }
.nb-il { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; }
.nb-il .p { color: var(--nb-mut); font-variant-numeric: tabular-nums; }
.nb-il .zusatz { color: var(--nb-mut); font-size: 12px; }
.nb-sum { border-top: 1px solid var(--nb-line); margin-top: 10px; padding-top: 10px; }
.nb-sum .row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--nb-mut); padding: 2px 0; }
.nb-sum .row.total { color: var(--nb-deep); font-weight: 800; font-size: 17px; margin-top: 4px; }
.nb-order-f { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--nb-line); background: var(--nb-bg); }
.nb-order-f .pay { font-size: 13px; color: var(--nb-mut); }
.nb-order-f .pay b { color: var(--nb-text); }
.nb-dl { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 20px; background: var(--nb-orange); color: #fff; font-weight: 700; border-radius: 999px; font-size: 14px; box-shadow: 0 5px 14px rgba(69,5,12,.18); }
.nb-dl:hover { background: var(--nb-orange-dk); }
.nb-dl svg { width: 18px; height: 18px; }
.nb-noinv { margin-left: auto; font-size: 13px; color: var(--nb-mut); font-style: italic; }

/* ---------------------------------------------------------------- Footer (tiefrot) */
.nb-foot-strip { height: 96px; background: var(--nb-bg) url("../_Bilder/_NightBites_Header-2.jpeg") no-repeat center / cover; }
.nb-foot { background: var(--nb-bg); color: var(--nb-text); border-top: 3px solid var(--nb-orange); }
.nb-foot-in { max-width: 1120px; margin: 0 auto; padding: 34px clamp(16px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.nb-foot .brand { font-family: var(--font-brand); font-weight: 800; font-size: 23px; color: var(--nb-orange); }
.nb-foot .brand .ort { color: var(--nb-text); font-weight: 400; font-family: var(--font); }
.nb-foot .sub { color: var(--nb-mut); font-size: 13.5px; margin-top: 6px; max-width: 320px; }
.nb-foot .col h5 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--nb-orange-dk); margin: 0 0 10px; }
.nb-foot .col a, .nb-foot .col p { display: block; color: var(--nb-mut); font-size: 13.5px; margin: 5px 0; }
.nb-foot .col a:hover { color: var(--nb-orange-dk); }
.nb-copy { text-align: center; color: var(--nb-mut); font-size: 12px; padding: 16px; border-top: 1px solid var(--nb-line); }

@media (max-width: 620px) {
    .nb-form { flex-direction: column; }
    .nb-form .nb-btn { width: 100%; justify-content: center; }
    .nb-order-f { flex-direction: column; align-items: stretch; }
    .nb-dl, .nb-noinv { margin-left: 0; text-align: center; justify-content: center; }
}
