/* Liefo landing page. Tokens mirror restaurateur-client/src/styles/theme.css (rt-*)
   and restaurateur-kitchen/src/styles/kds.css (k-*), so the site matches both apps. */

:root {
  /* Guest app (light) */
  --rt-accent: #1f4d3a;
  --rt-accent-dark: #163828;
  --rt-accent-soft: #e3ece5;
  --rt-saffron: #e9b44c;
  --rt-ink: #1f1d1a;
  --rt-ink-2: #5c5853;
  --rt-ink-3: #8c877f;
  --rt-bg: #f7f2e6;
  --rt-bg-alt: #f4eedf;
  --rt-surface: #ffffff;
  --rt-line: #e7dfcc;
  --rt-success: #2f9e6b;
  --rt-radius-sm: 10px;
  --rt-radius: 16px;
  --rt-radius-lg: 24px;
  --rt-shadow-sm: 0 1px 2px rgba(31, 29, 26, 0.06), 0 2px 8px rgba(31, 29, 26, 0.04);
  --rt-shadow: 0 6px 24px rgba(31, 29, 26, 0.10);
  --rt-shadow-xl: 0 30px 60px -20px rgba(31, 29, 26, 0.35), 0 12px 24px -12px rgba(31, 29, 26, 0.2);

  /* Kitchen display (dark) */
  --k-bg: #141210;
  --k-surface: #1e1b18;
  --k-surface-2: #27231f;
  --k-line: #36312b;
  --k-ink: #f4efe7;
  --k-ink-2: #c9c1b5;
  --k-ink-3: #8f877b;
  --k-ok: #2f9e6b;
  --k-warn: #e0a42b;
  --k-late: #e5484d;
  --k-note-bg: #3b3220;
  --k-note-ink: #ffd88a;
  --k-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);

  --wa-green: #25d366;
  --wa-dark: #128c4b;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55;
  background: var(--rt-bg); color: var(--rt-ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 800; }
p { margin: 0; }
a { color: var(--rt-accent); }
a:hover { color: var(--rt-accent-dark); }
:focus-visible { outline: 3px solid rgba(31, 77, 58, 0.45); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--rt-ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--rt-accent-soft); color: var(--rt-accent-dark); padding: 0.05em 0.4em; border-radius: 6px; white-space: nowrap; }

/* Buttons (pill shape like both apps) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.6rem 1.25rem; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.08s ease-out;
}
.btn--sm { padding: 0.45rem 1rem; font-size: 0.88rem; }
.btn--lg { padding: 0.85rem 1.5rem; font-size: 1.02rem; }
.btn--primary { background: var(--rt-accent); color: #fff; }
.btn--primary:hover, .btn--primary:active { background: var(--rt-accent-dark); color: #fff; }
.btn--ghost { background: var(--rt-surface); color: var(--rt-ink); border-color: var(--rt-line); }
.btn--ghost:hover, .btn--ghost:active { border-color: var(--rt-ink-3); color: var(--rt-ink); }
.btn--light { background: #fff; color: var(--rt-ink); }
.btn--light:hover, .btn--light:active { background: var(--rt-bg); color: var(--rt-ink); }
.btn--wa { background: var(--wa-dark); color: #fff; }
.btn--wa:hover, .btn--wa:active { background: #0e7a40; color: #fff; }
.btn__icon { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 230, 0.92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rt-line);
}
.site-header__row { display: flex; align-items: center; gap: 1rem; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--rt-ink); }
.brand:hover { color: var(--rt-ink); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #6e9c82 0%, var(--rt-accent) 55%, #12301f 100%);
  color: #fff; font-weight: 900; font-size: 1.15rem; box-shadow: var(--rt-shadow-sm);
}
.brand__name { font-weight: 900; font-size: 1.3rem; letter-spacing: -0.03em; }
.site-nav { display: none; gap: 0.25rem; margin-inline-start: auto; }
.site-nav a { color: var(--rt-ink-2); text-decoration: none; font-weight: 600; font-size: 0.93rem; padding: 0.4rem 0.75rem; border-radius: 999px; }
.site-nav a:hover, .site-nav a:active { color: var(--rt-ink); background: var(--rt-surface); }
.site-header__row > .btn { margin-inline-start: auto; }

/* Mobile chip nav (same pattern as the guest app category bar) */
.chipnav { border-top: 1px solid var(--rt-line); }
.chipnav__scroll { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.55rem var(--gutter); scrollbar-width: none; }
.chipnav__scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  color: var(--rt-ink-2); background: var(--rt-surface); border: 1px solid var(--rt-line); text-decoration: none; white-space: nowrap;
}
.chip:hover, .chip:active { border-color: var(--rt-ink-3); color: var(--rt-ink); }

/* Typography helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rt-accent-dark);
  margin-bottom: 0.85rem;
}
.eyebrow--dark { color: #e9b44c; }
.step-pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.7rem; height: 1.7rem; padding: 0 0.4rem;
  border-radius: 999px; background: var(--rt-accent); color: #fff; font-size: 0.78rem; letter-spacing: 0;
}
.hero h1 .accent { color: var(--rt-accent); display: block; }
.lead { font-size: 1.1rem; color: var(--rt-ink-2); margin-top: 1rem; max-width: 36rem; }

/* Hero */
.hero { padding: 2.5rem 0 3rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -40% auto auto; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 77, 58, 0.16) 0%, rgba(31, 77, 58, 0) 65%); pointer-events: none;
}
.hero__grid { display: grid; gap: 2.5rem; position: relative; }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.5rem); letter-spacing: -0.035em; max-width: 18ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--rt-ink-2); font-size: 0.92rem; font-weight: 600; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__facts li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto;
  background: var(--rt-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.hero__visual { position: relative; display: flex; justify-content: center; padding-bottom: 2.5rem; }

/* Phone mockup with the guest app */
.phone {
  position: relative; width: 300px; max-width: 100%; border-radius: 44px; padding: 12px;
  background: #1f1d1a; box-shadow: var(--rt-shadow-xl);
}
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #1f1d1a; border-radius: 0 0 14px 14px; z-index: 2; }
.phone__screen { position: relative; border-radius: 33px; overflow: hidden; background: var(--rt-bg); height: 600px; }
.phone__screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(to bottom, rgba(247,242,230,0) 0%, var(--rt-bg) 45%); }
.m-dock, .m-cartbar { z-index: 1; }
.m-cover { height: 118px; background: linear-gradient(135deg, #6e9c82 0%, var(--rt-accent) 60%, #12301f 100%); position: relative; }
.m-lang { position: absolute; top: 32px; right: 12px; font-size: 0.7rem; font-weight: 700; background: rgba(255,255,255,0.92); border-radius: 999px; padding: 0.15rem 0.55rem; }
.m-head { padding: 0 14px 8px; margin-top: -30px; position: relative; }
.m-logo {
  width: 58px; height: 58px; border-radius: 16px; background: var(--rt-surface); border: 3px solid var(--rt-bg);
  box-shadow: var(--rt-shadow-sm); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--rt-accent);
}
.m-title { font-size: 1.15rem; font-weight: 800; margin-top: 0.35rem; letter-spacing: -0.01em; }
.m-meta { display: flex; gap: 0.35rem; margin-top: 0.3rem; flex-wrap: wrap; }
.m-chip { font-size: 0.66rem; padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--rt-surface); border: 1px solid var(--rt-line); color: var(--rt-ink-2); }
.m-catnav { display: flex; gap: 0.35rem; padding: 0.45rem 14px; border-top: 1px solid var(--rt-line); border-bottom: 1px solid var(--rt-line); overflow: hidden; background: rgba(247,242,230,0.95); }
.m-cat { flex: 0 0 auto; font-size: 0.7rem; font-weight: 600; padding: 0.22rem 0.65rem; border-radius: 999px; background: var(--rt-surface); border: 1px solid var(--rt-line); color: var(--rt-ink-2); }
.m-cat.is-active { background: var(--rt-ink); color: #fff; border-color: var(--rt-ink); }
.m-items { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.6rem 12px; }
.m-item {
  display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; padding: 0.6rem;
  background: var(--rt-surface); border: 1px solid var(--rt-line); border-radius: 13px; box-shadow: var(--rt-shadow-sm);
}
.m-item__name { font-weight: 700; font-size: 0.82rem; }
.m-item__desc { color: var(--rt-ink-3); font-size: 0.68rem; line-height: 1.35; margin-top: 0.1rem; }
.m-item__bottom { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem; }
.m-price { color: var(--rt-accent); font-weight: 700; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.m-from { font-size: 0.62rem; color: var(--rt-ink-3); }
.m-badge { font-size: 0.56rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.08rem 0.4rem; border-radius: 999px; background: var(--rt-accent-soft); color: var(--rt-accent-dark); }
.m-img { position: relative; width: 66px; height: 66px; border-radius: 9px; }
.m-img--a { background: radial-gradient(circle at 35% 40%, #fff6d8 0 9%, #f7c548 10% 15%, transparent 16%), radial-gradient(circle at 65% 62%, #fff6d8 0 9%, #f7c548 10% 15%, transparent 16%), radial-gradient(circle at 50% 50%, #d9482b 0 50%, #a8321a 70%, #6b4a33 72%); }
.m-img--b { background: radial-gradient(circle at 40% 35%, #6c2bd9 0 6%, transparent 7%), radial-gradient(circle at 62% 45%, #c2185b 0 6%, transparent 7%), radial-gradient(circle at 50% 55%, #f3c27a 0 42%, #d99a4e 43% 52%, #f8efe2 53%); }
.m-img--c { background: radial-gradient(circle at 35% 40%, #7cb342 0 18%, transparent 19%), radial-gradient(circle at 65% 40%, #fff3c4 0 10%, #f9a825 11% 15%, transparent 16%), radial-gradient(circle at 50% 70%, #e8d8b0 0 22%, transparent 23%), radial-gradient(circle at 50% 50%, #3e6b3a 0 55%, #e9e2d5 56%); }
.m-add {
  position: absolute; right: -5px; bottom: -5px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--rt-accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; box-shadow: 0 2px 6px rgba(31, 77, 58, 0.45);
}
.m-dock { position: absolute; left: 12px; right: 12px; bottom: 62px; display: flex; gap: 0.4rem; }
.m-dock__btn { flex: 1; text-align: center; font-size: 0.7rem; font-weight: 700; padding: 0.45rem; border-radius: 999px; background: var(--rt-surface); border: 1px solid var(--rt-line); box-shadow: var(--rt-shadow-sm); }
.m-cartbar {
  position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; align-items: center; gap: 0.5rem;
  background: var(--rt-accent); color: #fff; border-radius: 999px; padding: 0.55rem 0.7rem; font-size: 0.76rem; font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 77, 58, 0.35);
}
.m-cartbar__count { background: rgba(255,255,255,0.25); border-radius: 999px; min-width: 1.4rem; text-align: center; padding: 0.05rem 0.35rem; }
.m-cartbar__sum { margin-inline-start: auto; font-variant-numeric: tabular-nums; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.95rem;
  background: var(--k-surface); color: var(--k-ink); border: 1px solid var(--k-line); border-radius: var(--rt-radius);
  box-shadow: var(--k-shadow); font-size: 0.82rem; line-height: 1.3;
}
.float-card strong { display: block; font-size: 0.9rem; }
.float-card span { color: var(--k-ink-3); }
.float-card--ticket { left: 50%; bottom: -2.4rem; transform: translateX(-50%); white-space: nowrap; z-index: 3; border-top: 4px solid var(--k-ok); }
.float-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--k-ok); box-shadow: 0 0 0 4px rgba(47, 158, 107, 0.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47, 158, 107, 0); } }

/* Sections */
.section { padding: 4rem 0; }
.section--alt { background: var(--rt-bg-alt); border-top: 1px solid var(--rt-line); border-bottom: 1px solid var(--rt-line); }
.section__head { max-width: 44rem; margin-bottom: 2.25rem; }
.section h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); text-wrap: balance; }
.section__lead { color: var(--rt-ink-2); font-size: 1.05rem; margin-top: 0.9rem; }

/* Suite overview */
.suite { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.suite__card {
  position: relative; background: var(--rt-surface); border: 1px solid var(--rt-line); border-radius: var(--rt-radius-lg);
  padding: 1.5rem; box-shadow: var(--rt-shadow-sm); transition: box-shadow 0.1s, transform 0.1s;
}
.suite__card:hover { box-shadow: var(--rt-shadow); transform: translateY(-2px); }
.suite__step {
  display: inline-flex; width: 2.4rem; height: 2.4rem; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--rt-accent-soft); color: var(--rt-accent-dark); font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem;
}
.suite__card h3 { font-size: 1.2rem; }
.suite__card p { color: var(--rt-ink-2); margin: 0.5rem 0 1rem; }
.suite__card a { font-weight: 700; text-decoration: none; }
.suite__card a::after { content: " \2192"; }
.suite__plus { display: flex; justify-content: center; align-items: center; color: var(--rt-accent); font-weight: 900; font-size: 1.6rem; line-height: 1; }

/* Split layout */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__visual { display: flex; justify-content: center; }

.features { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.9rem; }
.features li { position: relative; padding-inline-start: 2rem; color: var(--rt-ink-2); }
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.15rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--rt-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23163828' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.features strong { color: var(--rt-ink); }

/* Digital menu visual */
.menu-demo { position: relative; display: flex; align-items: flex-end; gap: 1rem; width: 100%; max-width: 480px; justify-content: center; }
.qr-tent {
  flex: 0 0 auto; width: 150px; background: var(--rt-surface); border: 1px solid var(--rt-line); border-radius: var(--rt-radius);
  padding: 0.9rem; text-align: center; box-shadow: var(--rt-shadow); transform: rotate(-4deg); margin-bottom: 1.5rem;
}
.qr-tent__label { font-weight: 900; font-size: 1rem; }
.qr { width: 100%; height: auto; display: block; margin: 0.6rem 0; border-radius: 6px; }
.qr-tent__hint { font-size: 0.72rem; color: var(--rt-accent-dark); font-weight: 700; }
.sheet {
  flex: 1 1 auto; min-width: 0; max-width: 300px; background: var(--rt-surface); border: 1px solid var(--rt-line);
  border-radius: var(--rt-radius-lg); padding: 1rem; box-shadow: var(--rt-shadow-xl);
}
.sheet__langs { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.lang { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid var(--rt-line); color: var(--rt-ink-2); }
.lang.is-active { background: var(--rt-accent); border-color: var(--rt-accent); color: #fff; }
.sheet__hero { height: 110px; border-radius: var(--rt-radius-sm); }
.sheet__title { font-size: 1.15rem; font-weight: 800; margin-top: 0.7rem; }
.sheet__desc { font-size: 0.82rem; color: var(--rt-ink-2); }
.sheet__group { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rt-ink-3); margin: 0.8rem 0 0.35rem; }
.choice { display: flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.6rem; border: 1px solid var(--rt-line); border-radius: var(--rt-radius-sm); margin-bottom: 0.35rem; font-size: 0.82rem; }
.choice.is-active { border-color: var(--rt-accent); background: var(--rt-accent-soft); }
.choice__check { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--rt-line); flex: 0 0 auto; }
.choice--box .choice__check { border-radius: 5px; }
.choice.is-active .choice__check { background: var(--rt-accent); border-color: var(--rt-accent); box-shadow: inset 0 0 0 2px #fff; }
.choice__label { font-weight: 600; }
.choice__price { margin-inline-start: auto; color: var(--rt-ink-2); font-variant-numeric: tabular-nums; }
.sheet__allergen { margin-top: 0.6rem; font-size: 0.72rem; color: var(--rt-ink-2); background: var(--rt-bg); border: 1px dashed var(--rt-line); border-radius: 8px; padding: 0.35rem 0.55rem; }
.sheet__cta { margin-top: 0.75rem; text-align: center; background: var(--rt-accent); color: #fff; font-weight: 700; font-size: 0.85rem; border-radius: 999px; padding: 0.6rem; }

/* Dark kitchen section */
.section--dark { background: var(--k-bg); color: var(--k-ink); }
.section--dark h2 { color: var(--k-ink); }
.section--dark .section__lead { color: var(--k-ink-2); }
.kds {
  background: var(--k-bg); border: 1px solid var(--k-line); border-radius: var(--rt-radius-lg); overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
}
.kds__bar {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.7rem 1rem;
  background: rgba(30, 27, 24, 0.9); border-bottom: 1px solid var(--k-line);
}
.kds__brand { display: flex; align-items: center; gap: 0.6rem; }
.kds__logo { width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--rt-accent); font-weight: 900; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.kds__name { font-weight: 800; font-size: 0.95rem; line-height: 1.1; }
.kds__sub { color: var(--k-ink-3); font-size: 0.72rem; }
.kds__tabs { display: flex; gap: 0.25rem; background: var(--k-surface); border: 1px solid var(--k-line); padding: 0.2rem; border-radius: 999px; order: 3; }
.kds__tab { color: var(--k-ink-2); font-weight: 600; font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.35rem; }
.kds__tab.is-active { background: var(--k-ink); color: var(--k-bg); }
.kds__count { background: var(--rt-accent); color: #fff; border-radius: 999px; font-size: 0.68rem; padding: 0 0.42rem; }
.kds__right { margin-inline-start: auto; display: flex; align-items: center; gap: 0.75rem; }
.kds__status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--k-ink-2); }
.kds__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--k-ok); box-shadow: 0 0 0 3px rgba(47, 158, 107, 0.25); }
.kds__clock { font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.kds__reqs { padding: 1rem 1rem 0; display: grid; gap: 0.6rem; }
.kreq {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.7rem 0.6rem 0.8rem; background: var(--k-surface-2); border: 1px solid var(--k-line);
  border-inline-start: 5px solid var(--k-warn); border-radius: var(--rt-radius);
}
.kreq--bill { border-inline-start-color: #8fd6b3; }
.kreq__icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--k-note-bg); color: var(--k-note-ink); font-size: 0.95rem; }
.kreq--bill .kreq__icon { background: #173326; color: #8fd6b3; font-weight: 800; }
.kreq__table { font-size: 1.1rem; font-weight: 900; line-height: 1.1; }
.kreq__kind { font-size: 0.82rem; font-weight: 700; color: var(--k-ink-2); }
.kreq__timer { font-weight: 800; font-variant-numeric: tabular-nums; }

.kds__board { padding: 1rem; display: grid; gap: 0.9rem; align-items: start; }
.ticket { background: var(--k-surface); border: 1px solid var(--k-line); border-radius: var(--rt-radius); overflow: hidden; box-shadow: var(--k-shadow); display: flex; flex-direction: column; }
.ticket__head {
  display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 0.75rem; align-items: center;
  padding: 0.8rem 0.95rem; border-bottom: 1px solid var(--k-line); border-top: 5px solid var(--k-ink-3);
}
.ticket[data-age="fresh"] .ticket__head { border-top-color: var(--k-ok); }
.ticket[data-age="warn"] .ticket__head { border-top-color: var(--k-warn); }
.ticket[data-age="late"] .ticket__head { border-top-color: var(--k-late); }
.ticket[data-age="fresh"] { animation: arrive 1.6s ease-out 2; }
@keyframes arrive { 0% { box-shadow: 0 0 0 0 rgba(31, 77, 58, 0.8); } 100% { box-shadow: 0 0 0 18px rgba(31, 77, 58, 0); } }
.ticket__no { font-size: 1.45rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.ticket__table { font-size: 0.92rem; font-weight: 700; color: var(--k-ink-2); margin-top: 0.15rem; }
.ticket__timer { font-size: 1.2rem; font-weight: 800; text-align: end; font-variant-numeric: tabular-nums; }
.ticket[data-age="warn"] .ticket__timer { color: var(--k-warn); }
.ticket[data-age="late"] .ticket__timer { color: var(--k-late); }
.ticket__meta { grid-column: 1 / -1; display: flex; gap: 0.4rem; flex-wrap: wrap; font-size: 0.74rem; color: var(--k-ink-3); }
.kchip { border: 1px solid var(--k-line); border-radius: 999px; padding: 0.05rem 0.5rem; color: var(--k-ink-2); }
.kchip--cash { border-color: #5a4a2e; color: #f0cf8f; }
.kchip--online { border-color: #2e5a49; color: #8fd6b3; }
.kchip--wa { border-color: #1f6b4a; color: #5fd68a; }
.kfulfil { display: inline-block; margin-top: 0.25rem; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: #2f6fb3; }
.ticket__body { padding: 0.4rem 0; flex: 1; }
.kcat { padding: 0.45rem 0.95rem 0.15rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-ink-3); }
.kline { display: grid; grid-template-columns: 2.3rem 1fr; gap: 0.55rem; align-items: start; padding: 0.45rem 0.95rem; }
.kline__qty { font-size: 1.02rem; font-weight: 900; text-align: center; border-radius: 8px; background: var(--k-surface-2); border: 1px solid var(--k-line); }
.kline__name { font-size: 0.98rem; font-weight: 700; line-height: 1.3; }
.kline__mod { font-size: 0.82rem; color: var(--k-ink-2); margin-top: 0.05rem; }
.kline__note { margin-top: 0.3rem; padding: 0.25rem 0.5rem; border-radius: 8px; font-size: 0.8rem; font-weight: 600; background: var(--k-note-bg); color: var(--k-note-ink); border-inline-start: 3px solid var(--k-warn); }
.kline.is-done .kline__name, .kline.is-done .kline__mod { text-decoration: line-through; color: var(--k-ink-3); }
.kline.is-done .kline__qty { background: var(--k-ok); border-color: var(--k-ok); color: #fff; }
.kdel { margin: 0.4rem 0.95rem 0.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.kdel__note { padding: 0.4rem 0.6rem; border-radius: 8px; font-size: 0.84rem; font-weight: 600; background: var(--k-note-bg); color: var(--k-note-ink); border-inline-start: 3px solid var(--k-warn); }
.kdel__label { display: block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.kdel__map { align-self: flex-start; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid #2f6fb3; color: #8fc1f0; font-weight: 700; font-size: 0.8rem; }
.ticket__foot { display: flex; gap: 0.5rem; padding: 0.75rem 0.95rem; border-top: 1px solid var(--k-line); }
.kbtn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; font-size: 0.84rem; padding: 0.45rem 0.9rem; white-space: nowrap; }
.kbtn--ok { background: var(--k-ok); color: #fff; }
.kbtn--ghost { border: 1px solid var(--k-line); color: var(--k-ink-2); }
.kbtn--grow { flex: 1; }
.ticket--hide-sm, .kds__tab--hide-sm { display: none; }

.features--dark { margin-top: 2.5rem; }
.features--dark li { color: var(--k-ink-2); }
.features--dark strong { color: var(--k-ink); }
.features--dark li::before {
  background-color: rgba(31, 77, 58, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e9b44c' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E");
}
.note { margin-top: 2rem; font-size: 0.9rem; color: var(--rt-ink-3); }
.note--dark { color: var(--k-ink-3); border-top: 1px solid var(--k-line); padding-top: 1.25rem; }

/* WhatsApp mockup */
.wa {
  width: 100%; max-width: 380px; border-radius: var(--rt-radius-lg); overflow: hidden; box-shadow: var(--rt-shadow-xl);
  border: 1px solid var(--rt-line); background: #efeae2;
}
.wa__head { display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem 1rem; background: #075e54; color: #fff; }
.wa__avatar { width: 38px; height: 38px; border-radius: 50%; background: #d1d7db; color: #54656f; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.wa__name { font-weight: 700; font-size: 0.95rem; }
.wa__sub { font-size: 0.74rem; opacity: 0.8; }
.wa__body {
  padding: 0.9rem 0.8rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(31, 29, 26, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa__day { align-self: center; font-size: 0.7rem; background: #fff; color: #54656f; padding: 0.15rem 0.6rem; border-radius: 8px; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }
.wa__bubble {
  position: relative; align-self: flex-start; max-width: 92%; background: #fff; border-radius: 0 10px 10px 10px;
  padding: 0.5rem 0.65rem 0.35rem; box-shadow: 0 1px 1px rgba(0,0,0,0.1); font-size: 0.82rem; line-height: 1.45; color: #111b21;
}
.wa__bubble--in { align-self: flex-end; background: #d9fdd3; border-radius: 10px 0 10px 10px; }
.wa__line--title { font-weight: 800; }
.wa__line--strong { font-weight: 700; }
.wa__line--warn { margin-top: 0.3rem; background: #fff4d6; color: #7a5300; border-radius: 6px; padding: 0.2rem 0.45rem; font-weight: 600; }
.wa__sep { height: 1px; background: #e9edef; margin: 0.35rem 0; }
.wa__link { color: #027eb5; text-decoration: underline; word-break: break-all; }
.wa__time { text-align: end; font-size: 0.66rem; color: #667781; margin-top: 0.15rem; }

/* Delivery flow */
.flow { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 0.75rem; counter-reset: flow; }
.flow li { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--rt-surface); border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 1rem 1.1rem; box-shadow: var(--rt-shadow-sm); }
.flow__no { flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; background: var(--rt-ink); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow strong { display: block; }
.flow span:not(.flow__no) { color: var(--rt-ink-2); font-size: 0.92rem; }

/* Why */
.why { display: grid; gap: 1rem; }
.why__card { background: var(--rt-surface); border: 1px solid var(--rt-line); border-radius: var(--rt-radius-lg); padding: 1.5rem; box-shadow: var(--rt-shadow-sm); }
.why__icon { width: 2.75rem; height: 2.75rem; border-radius: 14px; background: var(--rt-accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.why__icon svg { width: 22px; height: 22px; fill: var(--rt-accent-dark); }
.why__card h3 { font-size: 1.12rem; }
.why__card p { color: var(--rt-ink-2); margin-top: 0.45rem; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; }
.faq details { background: var(--rt-surface); border: 1px solid var(--rt-line); border-radius: var(--rt-radius); padding: 0 1.15rem; box-shadow: var(--rt-shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq summary:active { color: var(--rt-accent-dark); }
.faq summary:hover::after, .faq summary:active::after { background: var(--rt-accent); color: #fff; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--rt-accent-soft); color: var(--rt-accent-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--rt-ink-2); padding-bottom: 1.1rem; margin-top: -0.25rem; }

/* CTA */
.section--cta { padding-top: 0; padding-bottom: 3rem; }
#fragen { padding-bottom: 3.5rem; }
.cta {
  display: grid; gap: 1.5rem; padding: 2rem 1.5rem; border-radius: var(--rt-radius-lg); color: #fff;
  background: linear-gradient(135deg, #4f876a 0%, var(--rt-accent) 45%, #12301f 100%);
  box-shadow: 0 24px 50px -20px rgba(22, 56, 40, 0.6);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.9); margin-top: 0.7rem; font-size: 1.05rem; max-width: 34rem; }
.cta__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.cta__actions .btn { width: 100%; }

/* Footer */
.site-footer { border-top: 1px solid var(--rt-line); padding: 2.5rem 0 1.5rem; }
.site-footer__row { display: grid; gap: 1.5rem; }
.site-footer__claim { color: var(--rt-ink-3); font-size: 0.92rem; margin-top: 0.6rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer__links a { color: var(--rt-ink-2); text-decoration: none; font-weight: 600; }
.site-footer__links a:hover { color: var(--rt-accent); }
.site-footer__base { color: var(--rt-ink-3); font-size: 0.85rem; margin-top: 2rem; }

/* Legal placeholder pages */
.legal { padding: 4rem 0 2rem; min-height: 60vh; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.legal__badge { display: inline-block; margin-top: 1rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--rt-accent-soft); color: var(--rt-accent-dark); font-weight: 700; font-size: 0.9rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2.25rem; }
.legal p { color: var(--rt-ink-2); margin-top: 1rem; max-width: 40rem; }
.legal .btn { margin-top: 1.75rem; }

/* Phones: QR card as a compact row above the item sheet */
@media (max-width: 639px) {
  .menu-demo { flex-direction: column; align-items: stretch; }
  .qr-tent {
    width: auto; margin: 0 1.5rem -1.25rem; position: relative; z-index: 1;
    display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 0.9rem; align-items: center; text-align: start;
    padding: 0.7rem 0.9rem; transform: rotate(-2deg);
  }
  .qr { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .qr-tent__label { grid-column: 2; grid-row: 1; align-self: end; }
  .qr-tent__hint { grid-column: 2; grid-row: 2; align-self: start; }
  .sheet { max-width: none; padding-top: 1.75rem; }
}

/* Tablet and up */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .kds__reqs { grid-template-columns: 1fr 1fr; }
  .kds__board { grid-template-columns: 1fr 1fr; }
  .kds__tabs { order: 0; }
  .kds__tab--hide-sm { display: inline-flex; }
  .why { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .features--grid { grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .cta__actions .btn { width: auto; }
  .site-footer__row { grid-template-columns: 1fr auto; align-items: start; }
  .qr-tent { width: 170px; }
}

/* Desktop */
@media (min-width: 960px) {
  html { scroll-padding-top: 76px; }
  .chipnav { display: none; }
  .site-nav { display: flex; }
  .site-header__row > .btn { margin-inline-start: 0.5rem; }
  .hero { padding: 4.5rem 0 5rem; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
  .hero__visual { padding-bottom: 0; }
  .float-card--ticket { left: auto; right: -4.5rem; bottom: auto; top: 64px; transform: none; }
  .section { padding: 6rem 0; }
  .suite { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split__visual { order: -1; }
  .kds__board { grid-template-columns: repeat(3, 1fr); }
  .ticket--hide-sm { display: flex; }
  .kds__reqs { grid-template-columns: repeat(2, minmax(0, 420px)); }
  .why { grid-template-columns: repeat(4, 1fr); }
  .features--grid { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 3rem; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Touch feedback: taps react instantly (no double-tap wait, no grey tap flash, immediate
   pressed state). Hover colours switch without a transition so the pointer never waits. */
a, button, .btn, summary, [role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn:active, button:active, [role="button"]:active { transform: scale(0.97); transition-duration: 0s; }
