/* Punta Arenas – digitale Speisekarte (speisekarte.html) */
.k-page, .k-scope { --red: #cc1026; --ink: #141414; --mute: #6b6f76; --line: #e6e3de; --paper: #faf8f5; --ease: cubic-bezier(.2, 0, 0, 1); --nav: 60px;
  background: #fff; color: var(--ink); font-family: "Open Sans", sans-serif; }
.k-page .wrap { max-width: 1120px; padding-left: 24px; padding-right: 24px; }
.k-sheet[hidden], .k-scrim[hidden] { display: none; }
html.k-lock, html.k-lock body { overflow: hidden; }
.k-main { padding-top: var(--nav); }

/* Kopf */
.k-hero { padding-top: 64px; padding-bottom: 0; }
.k-kicker { display: flex; align-items: center; gap: 14px; margin: 0; font-family: Oswald, sans-serif; font-size: 15px; letter-spacing: 5px; text-transform: uppercase; color: var(--red); }
.k-kicker span { width: 44px; height: 2px; background: var(--red); transform-origin: left; animation: k-grow 700ms var(--ease) both; }
@keyframes k-grow { from { transform: scaleX(0); } }
.k-page h1.k-title { display: block; margin: 14px 0 0; padding: 0; background: none; text-align: left; transition: none; font-family: Oswald, sans-serif; font-weight: 700; font-size: 64px; line-height: 1.02; text-transform: uppercase; letter-spacing: -.5px; color: var(--ink); animation: k-up 700ms 80ms var(--ease) both; }
.k-title em { font-style: normal; font-weight: 300; box-shadow: inset 0 -.14em 0 var(--red); }
.k-lead { max-width: 36em; margin: 22px 0 0; font-size: 18px; line-height: 1.7; font-weight: 300; color: #444; animation: k-up 700ms 160ms var(--ease) both; }
@keyframes k-up { from { opacity: 0; transform: translateY(14px); } }
.k-facts { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--mute); animation: k-up 700ms 240ms var(--ease) both; }
.k-facts li { position: relative; }
.k-facts li + li::before { content: ""; position: absolute; left: -15px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #c9c5bf; }
.k-facts a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--red); }

/* Reiter Speisen / Getränke */
.k-tabs { position: relative; display: flex; gap: 34px; margin-top: 44px; border-bottom: 1px solid var(--line); }
.k-tab { position: relative; padding: 0 0 14px; border: 0; background: none; cursor: pointer; font-family: Oswald, sans-serif; font-size: 30px; font-weight: 300; line-height: 1.2; text-transform: uppercase; letter-spacing: .5px; color: #a3a3a3; transition: color 250ms ease; -webkit-tap-highlight-color: transparent; }
.k-tab:hover { color: #555; }
.k-tab.is-active { color: var(--ink); font-weight: 400; }
.k-tabs-line { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--red); border-radius: 3px 3px 0 0; transition: transform 420ms var(--ease), width 420ms var(--ease); }

/* Leiste mit Suche, Filter, Kategorien */
.k-bar { position: sticky; top: var(--nav); z-index: 60; background: #fff; transition: box-shadow 250ms ease; }
.k-bar.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(0,0,0,.35); }
.k-bar-inner { position: relative; display: flex; align-items: center; gap: 8px; height: 60px; }
.k-tool { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; font: 600 13px/1 "Open Sans", sans-serif; transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, transform 150ms ease; -webkit-tap-highlight-color: transparent; }
.k-tool svg { width: 18px; height: 18px; }
.k-tool:hover { border-color: #bdb8b1; }
.k-tool:active { transform: scale(.94); }
.k-search-btn { justify-content: center; padding: 0; width: 40px; }
.k-filter-btn.is-active { border-color: var(--red); color: var(--red); }
.k-filter-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; }
.k-filter-count[hidden] { display: none; }
.k-cats { position: relative; flex: 1; min-width: 0; height: 100%; margin-left: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); transition: opacity 200ms ease; }
.k-cats::-webkit-scrollbar { display: none; }
.k-cats-track { display: flex; height: 100%; padding: 0 28px 0 12px; }
.k-cat-link { flex: none; display: flex; align-items: center; padding: 0 12px; font-family: Oswald, sans-serif; font-size: 15px; letter-spacing: .6px; text-transform: uppercase; color: #8a8a8a; text-decoration: none; white-space: nowrap; transition: color 200ms ease; }
.k-cat-link:hover { color: var(--ink); }
.k-cat-link.is-current { color: var(--ink); }
.k-cat-link[hidden] { display: none; }
.k-cats-line { position: absolute; left: 0; bottom: 10px; height: 2px; width: 0; background: var(--red); opacity: 0; transition: transform 380ms var(--ease), width 380ms var(--ease), opacity 200ms ease; pointer-events: none; }
.k-search { position: absolute; left: 72px; right: 24px; top: 10px; height: 40px; display: flex; align-items: center; opacity: 0; visibility: hidden; transform: translateX(-10px); transition: opacity 220ms ease, transform 300ms var(--ease), visibility 0s 300ms; }
.k-search input { flex: 1; min-width: 0; height: 40px; padding: 0 44px 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font: 400 16px/1 "Open Sans", sans-serif; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.k-search input::-webkit-search-cancel-button { display: none; }
.k-search-close { position: absolute; right: 4px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--mute); cursor: pointer; display: grid; place-items: center; }
.k-search-close svg { width: 18px; height: 18px; }
.k-bar.is-searching .k-search { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms ease, transform 300ms var(--ease); }
.k-bar.is-searching .k-cats, .k-bar.is-searching .k-filter-btn { opacity: 0; pointer-events: none; }
.k-bar.is-searching .k-search-btn { border-color: var(--ink); background: var(--ink); color: #fff; }

.k-status { max-height: 0; overflow: hidden; font-size: 14px; color: var(--mute); transition: max-height 300ms var(--ease), padding 300ms var(--ease); }
.k-status.is-on { max-height: 120px; padding-top: 18px; }
.k-link { padding: 0; border: 0; background: none; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Kategorien und Einträge */
.k-menu { padding-bottom: 40px; }
.k-menu.is-filtered { min-height: calc(100vh - 100px); }
.k-menu.is-swap { animation: k-fade 380ms var(--ease); }
@keyframes k-fade { from { opacity: 0; transform: translateY(8px); } }
.k-cat { padding-top: 56px; scroll-margin-top: 130px; }
.k-cat[hidden] { display: none; }
.k-cat-head { max-width: 40em; margin-bottom: 18px; }
.k-cat-kicker { margin: 0; font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--red); }
.k-cat-title { margin: 6px 0 0; font-family: Oswald, sans-serif; font-size: 40px; line-height: 1.1; font-weight: 300; text-transform: none; color: var(--ink); }
.k-cat-note { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--mute); }
.k-list { display: grid; grid-template-columns: 1fr; align-items: start; column-gap: 64px; margin: 0; padding: 0; list-style: none; }
.k-item { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.k-item[hidden] { display: none; }
.k-rv { opacity: 0; transform: translateY(16px); }
.k-rv.is-in { opacity: 1; transform: none; transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.k-photo { flex: none; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--paper); }
.k-photo.is-empty { display: grid; place-items: center; color: #d6d1ca; background: repeating-linear-gradient(135deg, #f7f5f1 0 8px, #f2efea 8px 16px); }
.k-photo.is-empty svg { width: 30px; height: 30px; }
.k-body { flex: 1; min-width: 0; }
.k-name { display: flex; align-items: baseline; gap: 8px; margin: 0; font-family: Oswald, sans-serif; font-size: 21px; line-height: 1.25; font-weight: 400; text-transform: none; color: var(--ink); }
.k-nr { flex: none; font-family: "Open Sans", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: #a09a92; font-variant-numeric: tabular-nums; }
.k-desc { margin: 5px 0 0; font-size: 15px; line-height: 1.55; font-weight: 400; color: #555; }
.k-info { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: #9a948c; }
.k-info span + span::before { content: " · "; }
.k-rows { margin-top: 8px; }
.k-row { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.k-size { flex: none; font-family: Oswald, sans-serif; font-size: 17px; color: var(--ink); }
.k-size small { margin-right: 10px; font-family: "Open Sans", sans-serif; font-size: 12px; font-weight: 600; color: #a09a92; }
.k-lead-dots { flex: 1; height: 0; border-bottom: 2px dotted #d4cfc8; transform-origin: left; transform: translateY(-3px); }
.k-rv .k-lead-dots { transform: translateY(-3px) scaleX(0); }
.k-rv.is-in .k-lead-dots { transform: translateY(-3px); transition: transform 900ms 150ms var(--ease); }
.k-price { flex: none; font-family: Oswald, sans-serif; font-size: 20px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.k-add { position: relative; flex: none; width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 150ms ease, border-radius 300ms var(--ease); -webkit-tap-highlight-color: transparent; }
.k-add svg { width: 18px; height: 18px; transition: transform 300ms var(--ease); }
@media (hover: hover) { .k-add:hover { background: var(--ink); color: #fff; } }
.k-add:active { transform: scale(.9); }
.k-add.is-pop svg { animation: k-spin 420ms var(--ease); }
@keyframes k-spin { 45% { transform: rotate(var(--r, 0deg)) scale(.7); } }
.k-add-sp { flex: none; width: 40px; }
.k-name .k-add { margin: -8px 0 -8px auto; align-self: center; }

/* Offen: das Foto wird groß, das Plus wird zum Kreuz */
.k-photo { cursor: zoom-in; }
.k-photo.is-empty { position: relative; overflow: hidden; }
.k-photo-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: Oswald, sans-serif; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: #b9b2a8; opacity: 0; transform: translateY(6px); transition: opacity 250ms ease, transform 350ms var(--ease); }
.k-photo.is-empty svg { transition: width 460ms var(--ease), height 460ms var(--ease); }
.k-item.is-open { display: block; }
.k-item.is-open .k-photo { display: grid; width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 16px; border-radius: 18px; cursor: zoom-out; }
.k-item.is-open .k-photo.is-empty svg { width: 64px; height: 64px; }
.k-item.is-open .k-photo-cap { opacity: 1; transform: none; transition-delay: 200ms; }
.k-item.is-moving .k-photo { aspect-ratio: auto; }
.k-item.is-closing .k-photo-cap { opacity: 0; transform: translateY(6px); transition-delay: 0s; }
.k-item.is-closing .k-photo.is-empty svg { width: 30px; height: 30px; }
.k-add[aria-expanded="true"] { --r: 45deg; border-color: var(--red); background: var(--red); color: #fff; }
.k-add[aria-expanded="true"] svg { transform: rotate(45deg); }
.k-add[aria-expanded="true"]:hover { background: #a90d20; border-color: #a90d20; }

/* Ein Preis: Preis und Plus stehen rechts neben dem Namen, Punktlinie dazwischen */
.k-body.single { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: start; }
.k-body.single > * { grid-column: 1; }
.k-body.single .k-rows { grid-column: 2; grid-row: 1 / span 3; margin-top: -8px; }
.k-name .k-lead-dots { min-width: 18px; align-self: flex-end; transform: translateY(-6px); margin-left: 4px; }
.k-rv .k-name .k-lead-dots { transform: translateY(-6px) scaleX(0); }
.k-rv.is-in .k-name .k-lead-dots { transform: translateY(-6px); }
.k-name-t { min-width: 0; }

/* Getränke: dichter, ohne Fotos */
.k-drinks .k-item { padding: 14px 0; }
.k-drinks .k-name { font-size: 19px; }
.k-drinks .k-desc { font-size: 14px; }

/* Legende */
.k-legend { padding-top: 56px; padding-bottom: 120px; border-top: 1px solid var(--line); margin-top: 20px; }
.k-legend-title { margin: 0; font-family: Oswald, sans-serif; font-size: 28px; font-weight: 300; text-transform: none; color: var(--ink); }
.k-legend > p { max-width: 42em; font-size: 15px; line-height: 1.6; color: #555; }
.k-legend-cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 18px; }
.k-legend h3 { margin: 0 0 8px; font-family: Oswald, sans-serif; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); }
.k-legend ul { margin: 0; padding: 0; list-style: none; columns: 2 220px; column-gap: 32px; font-size: 14px; line-height: 1.9; color: #444; }
.k-legend li span { display: inline-block; min-width: 2em; font-weight: 700; color: #a09a92; }
.k-legend-small { font-size: 13px !important; color: var(--mute) !important; margin-top: 26px; }

/* Blätter */
.k-scrim { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,.45); opacity: 0; transition: opacity 300ms ease; }
.k-scrim.is-on { opacity: 1; }
.k-sheet { position: fixed; z-index: 1200; left: 0; right: 0; bottom: 0; max-height: 86vh; display: flex; flex-direction: column; padding: 8px 22px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; background: #fff; transform: translateY(100%); transition: transform 380ms var(--ease); }
.k-sheet.is-open { transform: none; }
.k-sheet-grip { width: 40px; height: 4px; margin: 4px auto 10px; border-radius: 2px; background: #d6d2cc; }
.k-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 8px; }
.k-sheet-head h2 { margin: 0; font-family: Oswald, sans-serif; font-size: 26px; font-weight: 400; text-transform: none; color: var(--ink); }
.k-sheet-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2efea; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.k-sheet-close svg { width: 18px; height: 18px; }
.k-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin: 0 0 10px; border-radius: 999px; font: 600 16px/1 "Open Sans", sans-serif; text-decoration: none; cursor: pointer; transition: background-color 200ms ease, transform 150ms ease; }
.k-btn:active { transform: scale(.98); }
.k-btn-red { border: 0; background: var(--red); color: #fff; }
.k-btn-red:hover { background: #a90d20; }
.k-btn-red:disabled { background: #e3a3ab; cursor: default; }
.k-btn-line { border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.k-clear { display: block; margin: 4px auto 0; padding: 8px; border: 0; background: none; color: var(--mute); font: 600 14px/1 "Open Sans", sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.k-clear:disabled { opacity: .4; cursor: default; }
.k-filter-help { margin: 0 0 16px; font-size: 15px; color: var(--mute); }
.k-chips { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; overflow-y: auto; }
.k-chip { display: inline-flex; align-items: center; gap: 0; height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 600 14px/1 "Open Sans", sans-serif; cursor: pointer; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, gap 300ms var(--ease), padding 300ms var(--ease); -webkit-tap-highlight-color: transparent; }
.k-chip svg { width: 0; height: 18px; transition: width 300ms var(--ease); }
.k-chip.is-on { gap: 6px; padding-left: 12px; border-color: var(--red); background: #fdecee; color: var(--red); }
.k-chip.is-on svg { width: 18px; }
.k-filter-foot { display: flex; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.k-filter-foot .k-btn { margin: 0; flex: 1; }
.k-filter-foot .k-clear { margin: 0; }

.k-footer { margin-top: 0; }

/* Startseite: Auswahl aus der Karte im gleichen Stil */
.k-home { background: #fff; color: var(--ink); text-align: left; padding-left: 0; padding-right: 0; }
.k-home .k-list { text-align: left; }
.k-home-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.k-home .k-kicker span { animation: none; }
.k-home h2.k-home-title { margin: 14px 0 0; font-family: Oswald, sans-serif; font-weight: 700; font-size: 64px; line-height: 1.02; letter-spacing: -.5px; text-transform: uppercase; text-align: left; color: var(--ink); }
.k-home-title em { font-style: normal; font-weight: 300; box-shadow: inset 0 -.14em 0 var(--red); }
.k-home p.k-home-lead { max-width: 36em; margin: 22px 0 18px; font-size: 18px; line-height: 1.7; font-weight: 300; color: #444; }
.k-home .k-list { margin-top: 18px; border-bottom: 1px solid var(--line); }
.k-home-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.k-home .k-home-btn { width: auto; margin: 0; padding: 0 28px; gap: 12px; }
.k-home-btn svg { width: 20px; height: 20px; transition: transform 300ms var(--ease); }
.k-home-btn:hover svg { transform: translateX(4px); }
.k-home p.k-home-note { flex: 1; min-width: 260px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--mute); }
@media (max-width: 767px) {
  .k-home-wrap { padding: 0 18px; }
  .k-home h2.k-home-title { font-size: 44px; }
  .k-home p.k-home-lead { font-size: 16px; }
  .k-home .k-home-btn { width: 100%; }
}

/* Tablet und Desktop */
@media (min-width: 768px) {
  .k-hero { padding-top: 88px; }
  .k-page h1.k-title { font-size: 84px; }
  .k-cat-title { font-size: 48px; }
  .k-photo { width: 96px; height: 96px; }
  .k-item.is-open .k-photo { aspect-ratio: 3 / 2; }
  .k-legend-cols { grid-template-columns: 1fr 1fr; gap: 48px; }
  .k-sheet { left: auto; top: 0; bottom: 0; width: 440px; max-height: none; padding: 24px 28px 28px; border-radius: 24px 0 0 24px; transform: translateX(100%); }
  .k-sheet-grip { display: none; }
}
@media (min-width: 1024px) {
  .k-list { grid-template-columns: 1fr 1fr; }
  .k-list .k-item:nth-child(2) { border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .k-page { --nav: 0px; }
  .k-facts { flex-direction: column; gap: 4px; }
  .k-facts li + li::before { display: none; }
  .k-page .wrap { padding-left: 18px; padding-right: 18px; }
  .k-hero { padding-top: 40px; }
  .k-page h1.k-title { font-size: 46px; }
  .k-lead { font-size: 16px; }
  .k-tab { font-size: 24px; }
  .k-tabs { gap: 26px; margin-top: 32px; }
  .k-filter-label { display: none; }
  .k-filter-btn { width: 40px; justify-content: center; padding: 0; position: relative; }
  .k-filter-count { position: absolute; top: -5px; right: -5px; }
  .k-cats { margin-left: 2px; }
  .k-search { left: 66px; right: 18px; }
  .k-cat { padding-top: 44px; }
  .k-cat-title { font-size: 34px; }
  .k-item { gap: 14px; }
  .k-body.single .k-rows { grid-row: 1; margin-top: -9px; }
  .k-body.single .k-desc, .k-body.single .k-info { grid-column: 1 / -1; }
  .k-photo { width: 64px; height: 64px; border-radius: 12px; }
  .k-page .navbar.is-scrolled { background-color: #cc1026; }
  .k-name { font-size: 19px; }
  .k-desc { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .k-page *, .k-page *::before { animation: none !important; transition: none !important; }
}

/* v27: Tippen auf das Gericht statt Plus-Knopf.
   Der Knopf bleibt für Tastatur und Screenreader im Code, ist aber unsichtbar;
   bekommt er per Tastatur den Fokus, zeigt die ganze Zeile einen Rahmen. */
.k-item:has(.k-photo) { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.k-item .k-add { position: absolute; inset: 0; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; background: transparent; opacity: 0; pointer-events: none; }
.k-name .k-add { margin: 0; }
.k-add-sp { display: none; }
.k-item:has(.k-add:focus-visible) { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 6px; }
.k-photo, .k-item.is-open .k-photo { cursor: inherit; }
@media (hover: hover) { .k-item:has(.k-photo):hover .k-name-t { color: var(--red); transition: color 200ms ease; } }
