/* Kilimanjaro Food — shared styles. Fonts are self-hosted (no Google requests, DSGVO). */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/bricolage-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/bricolage-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #FFF8EC;
  --paper: #FFFFFF;
  --ink: #1B1A15;
  --ink2: #55524A;
  --line: rgba(27, 26, 21, .13);
  --sun: #FFC21A;
  --sun-soft: #FFEDB8;
  --green: #0B6B3A;
  --green-dk: #073F23;
  --lime: #8CC63F;
  --orange: #F08A24;
  --chili: #E2401C;
  --hib: #8E1B3A;
  --hib-dk: #5E0F25;
  --mango: #F7A600;
  --mara: #EF5F86;
  --pink-soft: #FFE8EE;
  --bgreen: #2E8B2E;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* layout */
.w { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.sec { padding: 96px 0; }
.sec-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; gap: 56px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* type */
.d { font-family: var(--display); letter-spacing: -.025em; }
.eb { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.h1 { font-family: var(--display); font-size: clamp(42px, 6vw, 90px); line-height: .96; font-weight: 800; letter-spacing: -.04em; }
.h2 { font-family: var(--display); font-size: clamp(32px, 4.2vw, 58px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
.h3 { font-family: var(--display); font-size: 28px; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.h1, .h2, .h3 { overflow-wrap: break-word; }
.lead { font-size: 20px; color: var(--ink2); max-width: 33em; }
.muted { color: var(--ink2); }
.small { font-size: 15px; }
.mark { background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%); }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 22px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.link { font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 17px; border: 2px solid transparent; white-space: nowrap; cursor: pointer; background: transparent; color: inherit; }
.btn-sun { background: var(--sun); color: #1B1A15; }
.btn-green { background: var(--green); color: #fff; }
.btn-hib { background: var(--hib); color: #fff; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-line { border-color: currentColor; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.ic { width: 20px; height: 20px; flex: none; }

/* bits */
.veg { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #0B5A31; background: #E2F1E3; border-radius: 999px; padding: 2px 9px 2px 7px; align-self: flex-start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.pill { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.tag { position: absolute; left: 12px; bottom: 12px; background: var(--cream); padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.kente { height: 28px; background-color: var(--green); background-image: conic-gradient(from 135deg at 50% 0, var(--sun) 90deg, transparent 0), conic-gradient(from -45deg at 50% 100%, var(--orange) 90deg, transparent 0); background-size: 28px 14px, 28px 14px; background-position: 0 0, 14px 100%; background-repeat: repeat-x, repeat-x; }
.tri { height: 16px; background: linear-gradient(90deg, var(--mango) 0 33.34%, var(--mara) 33.34% 66.67%, var(--hib) 66.67% 100%); }
.stars { color: #F2A100; }
.photo { border-radius: 26px; overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* header (components/nav.js) */
.k-info { background: var(--green-dk); color: #FFF8EC; font-size: 14px; }
.k-info .w { display: flex; align-items: center; gap: 26px; min-height: 42px; flex-wrap: wrap; }
.k-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); display: inline-block; }
.k-dot.closed { background: #E8A39A; }
.k-head { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.k-head .w { display: flex; align-items: center; gap: 30px; height: 84px; }
.k-logo { display: flex; align-items: center; gap: 10px; }
.k-logo span { font-family: var(--display); font-weight: 800; font-size: 29px; color: var(--green); letter-spacing: -.035em; }
.k-nav { display: flex; gap: 26px; font-weight: 600; font-size: 16px; margin-left: 12px; }
.k-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sun); }
.k-nav .k-bol { color: var(--hib); }
.k-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.k-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.k-drawer { display: none; }
.k-drawer.open { display: block; background: var(--cream); border-bottom: 1px solid var(--line); }
.k-drawer nav { display: flex; flex-direction: column; padding: 8px 18px 22px; }
.k-drawer nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 19px; }

/* footer (components/footer.js) */
.k-foot { background: #1B1A15; color: #EDE8DC; padding: 64px 0 32px; font-size: 15px; }
.k-foot .g4 { gap: 32px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.k-foot h2 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(237, 232, 220, .55); margin-bottom: 10px; }
.k-foot .col { display: flex; flex-direction: column; gap: 6px; }
.k-foot .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(237, 232, 220, .15); font-size: 13px; color: rgba(237, 232, 220, .6); }
.k-mbar { display: none; }

/* forms */
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border: 1.5px solid rgba(27, 26, 21, .25); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.ck { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 9px 14px; border: 1.5px solid rgba(27, 26, 21, .22); border-radius: 999px; background: #fff; cursor: pointer; }
.ck input { width: 18px; height: 18px; accent-color: #0B6B3A; margin: 0; }
.hp { display: none; }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > p, .faq details > div { padding: 0 0 22px; color: var(--ink2); max-width: 46em; }

/* menu (Imbiss) */
.menu-cat { padding-top: 48px; }
.menu-cat > header { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.menu-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 10px; }
.mi { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mi img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; }
.mi .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mi .top { display: flex; gap: 12px; align-items: baseline; }
.mi .code { font-size: 13px; font-weight: 700; color: var(--ink2); min-width: 40px; font-variant-numeric: tabular-nums; }
.mi h4 { font-size: 18px; font-weight: 700; flex: 1; }
.mi .price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mi .desc { font-size: 15px; color: var(--ink2); line-height: 1.4; padding-left: 52px; }
.mi .veg { margin-left: 52px; }
.mi.simple .veg { margin-left: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 28px 36px; }
.stats b { font-size: 34px; line-height: 1; }
.only-vegan .mi:not([data-vegan]) { display: none; }
.only-vegan .menu-cat[data-always] .mi { display: flex; }
.chip { font-size: 16px; font-weight: 700; min-height: 46px; padding: 0 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; border: 2px solid rgba(27, 26, 21, .25); background: transparent; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip.veg-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* map (click to load) */
.map { height: 220px; border-radius: 18px; background-color: #EDE6D6; background-image: linear-gradient(90deg, rgba(255,255,255,.7) 2px, transparent 2px), linear-gradient(rgba(255,255,255,.7) 2px, transparent 2px), linear-gradient(35deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%); background-size: 46px 46px, 46px 46px, 100% 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; border-radius: 18px; }
.map button { font-size: 15px; font-weight: 700; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }

@media (max-width: 1060px) {
  .k-nav, .hide-m { display: none !important; }
  .k-burger { display: inline-flex; }
}
@media (max-width: 900px) {
  .split, .g2, .g3, .g4, .menu-items, .k-foot .g4 { grid-template-columns: minmax(0, 1fr) !important; }
  .w { padding-left: 18px; padding-right: 18px; }
  .sec { padding: 64px 0; }
  .k-head .w { height: 68px; gap: 12px; }
  .k-logo span { font-size: 24px; }
  .k-cta .btn { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .h1, .h2 { hyphens: auto; -webkit-hyphens: auto; }
  .lead { font-size: 18px; }
  .k-mbar { display: flex; position: sticky; bottom: 0; z-index: 30; gap: 8px; padding: 10px 12px; background: var(--cream); border-top: 1px solid var(--line); }
  .k-mbar a { flex: 1; min-height: 48px; padding: 0 8px; font-size: 15px; }
  .mi .desc, .mi .veg { padding-left: 0; margin-left: 0; }
  .stats { gap: 18px 24px; }
  .stats b { font-size: 26px; }
  .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Dark mode: follows the visitor's system setting. No toggle by design. ── */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --cream: #15130F;
    --paper: #1F1C17;
    --ink: #F2EDE3;
    --ink2: #B8B1A3;
    --line: rgba(242, 237, 227, .14);
    --pink-soft: #2A1219;
  }
  /* Light islands: yellow, mango, pink and peach surfaces stay light with dark text */
  [style*="background:var(--sun)"], [style*="background:var(--mango)"], [style*="background:var(--mara)"], [style*="background:var(--sun-soft)"], [style*="background:#FFF0EA"], .btn-sun {
    --cream: #FFF8EC; --paper: #FFFFFF; --ink: #1B1A15; --ink2: #4A473F; --line: rgba(27, 26, 21, .13); --pink-soft: #FFE8EE;
    color: var(--ink);
  }
  /* Brand colours that are too dark on a dark page get a lighter tint */
  .eb:not([style*="color"]), .link:not([style*="color"]), .k-logo span, body .yr h2, body .rz h3 { color: #7FD49B; }
  [style*="color:var(--green)"] { color: #7FD49B !important; }
  [style*="color:var(--hib)"], .k-nav .k-bol { color: #F38BA8 !important; }
  [style*="color:#B42F10"] { color: #FF8A6B !important; }
  body .ck-head:not([style*="color"]) { color: #E8B04B; }
  [style*="background:var(--sun)"] [style*="color:var(--green)"], [style*="background:var(--mango)"] [style*="color:var(--green)"], [style*="background:var(--mara)"] [style*="color:var(--green)"], [style*="background:var(--sun-soft)"] [style*="color:var(--green)"], [style*="background:#FFF0EA"] [style*="color:var(--green)"], .btn-sun [style*="color:var(--green)"] { color: #0B6B3A !important; }
  [style*="background:var(--sun)"] [style*="color:var(--hib)"], [style*="background:var(--mango)"] [style*="color:var(--hib)"], [style*="background:var(--mara)"] [style*="color:var(--hib)"], [style*="background:var(--sun-soft)"] [style*="color:var(--hib)"], [style*="background:#FFF0EA"] [style*="color:var(--hib)"], .btn-sun [style*="color:var(--hib)"] { color: #8E1B3A !important; }
  [style*="background:var(--sun)"] .eb:not([style*="color"]), [style*="background:var(--mango)"] .eb:not([style*="color"]), [style*="background:var(--mara)"] .eb:not([style*="color"]), [style*="background:var(--sun-soft)"] .eb:not([style*="color"]), [style*="background:#FFF0EA"] .eb:not([style*="color"]), .btn-sun .eb:not([style*="color"]) { color: #0B6B3A; }
  .mark { background: none; color: var(--sun); }
  .veg { background: rgba(127, 212, 155, .14); color: #8FDDA8; }
  .map { background-color: #25211A; background-image: linear-gradient(90deg, rgba(255,255,255,.06) 2px, transparent 2px), linear-gradient(rgba(255,255,255,.06) 2px, transparent 2px), linear-gradient(35deg, transparent 46%, rgba(255,255,255,.1) 46%, rgba(255,255,255,.1) 54%, transparent 54%); }
  .fld input, .fld select, .fld textarea, .ck { background: var(--paper); color: var(--ink); border-color: rgba(242, 237, 227, .25); }
  .k-foot { background: #0E0D0B; }
  img { filter: brightness(.94); }
}
