/* Design C: Accordion-Speisekarte mit Warenkorb (Basis: Design B) */
.design-toggle .dot { background: #8a8fa8; }
.design-toggle[data-d="b"] .dot { background: #e8b25a; }
.design-toggle[data-d="c"] .dot { background: #ee3a45; }
.design-toggle[data-d] { color: #fff; background: rgba(13,16,40,.92); border-color: rgba(255,255,255,.25); }

#c-root { display: none; }
html[data-design="c"] #c-root { display: block; }
html[data-design="c"] main > .menu-section,
html[data-design="c"] .menu-jump { display: none; }
html[data-design="c"] { scroll-behavior: auto;
  --b-bg: #0c1026; --b-bg2: #121836; --b-cream: #f3e9d8; --b-muted: rgba(243,233,216,.66);
  --b-gold: #e8b25a; --b-red: #c62230; --b-line: rgba(243,233,216,.1); }
html.c-lock, html.c-lock body { overflow: hidden; }

#c-root {
  color: var(--b-cream); padding-bottom: 3rem;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(232,120,60,.16), transparent 60%),
    radial-gradient(900px 500px at 0% 40%, rgba(217,30,46,.10), transparent 60%),
    linear-gradient(180deg, var(--b-bg) 0%, var(--b-bg2) 50%, var(--b-bg) 100%);
}

/* Kacheln */
.c-wrap { max-width: 1320px; margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem) 1rem; }
.c-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .6rem 2rem; margin-bottom: 1.4rem; }
.c-title { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; margin: 0; color: var(--b-cream); }
.c-lead { color: var(--b-muted); max-width: 46ch; margin: 0; font-size: .95rem; }
.c-hint { color: var(--b-muted); font-size: .78rem; margin: 1rem 0 0; }
.c-tiles { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 168px; }
.c-tile { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--b-line); display: block; color: #fff; isolation: isolate; }
.c-tile--feat { grid-column: span 2; }
.c-tile-img { position: absolute; inset: 0; z-index: -2; background: linear-gradient(140deg, #232b5e, #3a1a28); display: grid; place-items: center; transition: transform .5s ease; }
body.demo-photos-on .c-tile-img { background: var(--img) center/cover; }
.c-tile-letter { font-family: var(--display); font-style: italic; font-size: 5rem; color: rgba(232,178,90,.35); transform: translateY(-14%); }
body.demo-photos-on .c-tile-letter { display: none; }
.c-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,28,.05) 25%, rgba(8,10,28,.88) 100%); }
.c-tile:hover .c-tile-img { transform: scale(1.06); }
.c-tile:hover { border-color: rgba(232,178,90,.55); }
.c-tile-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.c-tile-count { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--b-gold); font-weight: 700; }
.c-tile-name { font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1.05; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.c-tile-sub { color: rgba(243,233,216,.85); font-size: .85rem; max-width: 40ch; }
.c-tile-go { position: absolute; right: 1rem; bottom: 1.05rem; width: 34px; height: 34px; border-radius: 999px; background: var(--b-red); }
.c-tile-go::after { content: ""; position: absolute; left: 11px; top: 12px; width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.c-tile--feat .c-tile-name { font-size: 2rem; }
@media (min-width: 700px) { .c-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; } }
@media (min-width: 1000px) {
  .c-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vh, 200px); gap: .9rem; }
  .c-tile--feat { grid-row: span 2; }
  .c-tile--feat .c-tile-name { font-size: 2.6rem; }
  .c-tile-name { font-size: 1.75rem; }
}
@media (max-width: 420px) { .c-tiles { grid-auto-rows: 150px; } .c-tile-name { font-size: 1.3rem; } .c-tile-go { width: 28px; height: 28px; right: .7rem; bottom: .8rem; } .c-tile-go::after { left: 8px; top: 9px; } }

/* Kategorie-Panel */
.c-panel { position: fixed; inset: 0; z-index: 150; background: rgba(5,7,20,.72); backdrop-filter: blur(6px); display: flex; --b-cream: #f3e9d8; --b-muted: rgba(243,233,216,.66); --b-gold: #e8b25a; --b-red: #c62230; --b-line: rgba(243,233,216,.1); color: var(--b-cream); }
.c-panel[hidden] { display: none; }
html:not([data-design="c"]):not([data-design="d"]) .c-panel { display: none !important; }
.c-p-box { position: relative; flex: 1; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; background: linear-gradient(180deg, #0c1026, #121836); overflow: hidden; }
@media (min-width: 1000px) { .c-panel { padding: 2.5vh 2.5vw; } .c-p-box { border-radius: 22px; border: 1px solid var(--b-line); grid-template-columns: 250px 1fr; grid-template-rows: auto 1fr; max-width: 1440px; margin: 0 auto; box-shadow: 0 30px 90px rgba(0,0,0,.6); } }
.c-p-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--b-line); }
.c-back { display: inline-flex; align-items: center; gap: .55rem; background: none; border: 1px solid var(--b-line); color: var(--b-cream); border-radius: 999px; padding: .55rem .95rem; font: 600 .82rem var(--font); cursor: pointer; white-space: nowrap; }
.c-back span { width: 8px; height: 8px; border-left: 2px solid var(--b-gold); border-bottom: 2px solid var(--b-gold); transform: rotate(45deg); }
.c-back:hover { border-color: var(--b-gold); }
.c-p-title { flex: 1; margin: 0; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--b-cream); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-side { display: flex; gap: .45rem; overflow-x: auto; padding: .65rem 1rem; border-bottom: 1px solid var(--b-line); scrollbar-width: none; }
.c-side::-webkit-scrollbar { display: none; }
.c-side a { flex: 0 0 auto; display: flex; align-items: center; gap: .5rem; padding: .3rem .8rem .3rem .3rem; border-radius: 999px; border: 1px solid var(--b-line); color: var(--b-muted); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.c-side-img { width: 28px; height: 28px; border-radius: 999px; background: linear-gradient(140deg, #232b5e, #3a1a28); flex: 0 0 auto; }
body.demo-photos-on .c-side-img { background: var(--img) center/cover; }
.c-side a:hover { color: var(--b-cream); }
.c-side a.is-active { background: var(--b-gold); border-color: var(--b-gold); color: #14183a; }
@media (min-width: 1000px) {
  .c-side { flex-direction: column; overflow-x: hidden; overflow-y: auto; border-bottom: 0; border-right: 1px solid var(--b-line); padding: 1rem .8rem; gap: .3rem; }
  .c-side a { border: 0; border-radius: 12px; padding: .45rem .6rem; font-size: .92rem; }
  .c-side-img { width: 40px; height: 40px; border-radius: 10px; }
  .c-p-title { text-align: left; }
}
.c-p-main { overflow-y: auto; padding: 1rem; min-height: 0; }
@media (min-width: 1000px) { .c-p-main { padding: 1.4rem 1.6rem 2rem; } }
.c-p-hero { position: relative; border-radius: 16px; overflow: hidden; min-height: 120px; display: flex; align-items: flex-end; padding: 1.1rem 1.2rem; margin-bottom: 1rem; background: linear-gradient(140deg, #232b5e, #3a1a28); }
body.demo-photos-on .c-p-hero { background: linear-gradient(90deg, rgba(8,10,28,.92) 0%, rgba(8,10,28,.55) 60%, rgba(8,10,28,.2)), var(--img) center/cover; }
.c-p-hero h3 { margin: 0; font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; color: var(--b-cream); line-height: 1; }
.c-p-hero p { margin: .3rem 0 0; color: var(--b-muted); font-size: .88rem; }
.c-p-hero .b-kicker { margin: 0 0 .3rem; color: var(--b-gold); }
.c-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .c-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1250px) { .c-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; } }
.c-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--b-line); min-width: 0; }
.c-card:hover { border-color: rgba(232,178,90,.35); }
.c-card-img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(140deg, #1d2452, #2b1b30); font-family: var(--display); font-style: italic; font-size: 2.6rem; color: rgba(232,178,90,.55); }
body.demo-photos-on .c-card-img:not(.c-noimg) { background: var(--img) center/cover; }
body.demo-photos-on .c-card-img:not(.c-noimg) span { display: none; }
.c-card-body { padding: .7rem .8rem .8rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.c-card h4 { margin: 0; font-size: .98rem; font-weight: 600; color: var(--b-cream); line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.c-card p { margin: 0; color: var(--b-muted); font-size: .8rem; line-height: 1.35; flex: 1; }
.c-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: .5rem; }
.c-dish-price { color: var(--b-gold); font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 420px) { .c-card-body { padding: .6rem .65rem .7rem; } .c-card h4 { font-size: .9rem; } .c-card-foot .c-add, .c-card-foot .c-pm { width: 32px; height: 32px; font-size: 1.1rem; } .c-card-foot .c-qty { gap: .15rem; } .c-card-foot .c-q { min-width: 1.1rem; } .c-card-foot { flex-wrap: wrap; } }

.c-qty { flex: 0 0 auto; display: flex; align-items: center; gap: .35rem; }
.c-add, .c-pm { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(238,58,69,.75); background: transparent; color: var(--b-cream); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; font-family: inherit; }
.c-add { background: var(--b-red); border-color: var(--b-red); position: relative; }
.c-add::before, .c-add::after { content: ""; position: absolute; width: 14px; height: 2px; background: #fff; border-radius: 2px; }
.c-add::after { transform: rotate(90deg); }
.c-add:hover, .c-pm:hover { background: #dc2b39; border-color: #dc2b39; }
.c-q { min-width: 1.6rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }


.c-fab { position: fixed; z-index: 120; right: 1rem; bottom: calc(72px + 1rem); display: flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem .75rem .9rem; border-radius: 999px; border: 1px solid rgba(232,178,90,.5); background: #0c1026; color: #f3e9d8; font: 600 .9rem/1 var(--font); box-shadow: 0 14px 40px rgba(0,0,0,.45); cursor: pointer; }
.c-fab.has-items { background: var(--b-red, #c62230); border-color: #c62230; }
.c-fab-ico { width: 20px; height: 16px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 5px 5px; position: relative; margin-top: 4px; }
.c-fab-ico::before { content: ""; position: absolute; left: 3px; right: 3px; top: -8px; height: 8px; border: 2px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; }
.c-fab-n { background: #f3e9d8; color: #14183a; border-radius: 999px; min-width: 1.4rem; padding: .2rem .35rem; text-align: center; font-size: .78rem; }
html:not([data-design="c"]):not([data-design="d"]) .c-fab, html:not([data-design="c"]):not([data-design="d"]) .c-drawer, html:not([data-design="c"]):not([data-design="d"]) .c-overlay { display: none !important; }
@media (min-width: 880px) { .c-fab { bottom: 1.5rem; right: 1.5rem; } }

.c-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5,7,20,.6); }
.c-drawer { position: fixed; z-index: 210; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: #10153a; color: #f3e9d8; border-radius: 20px 20px 0 0; border: 1px solid rgba(243,233,216,.12); box-shadow: 0 -20px 60px rgba(0,0,0,.5); --b-muted: rgba(243,233,216,.66); --b-gold: #e8b25a; --b-red: #c62230; --b-line: rgba(243,233,216,.1); --b-cream: #f3e9d8; }
.c-drawer[hidden], .c-overlay[hidden] { display: none; }
@media (min-width: 880px) { .c-drawer { left: auto; top: 0; width: 440px; max-height: none; border-radius: 0; } }
.c-dr-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--b-line); }
.c-dr-head h2 { margin: 0; color: #f3e9d8; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.8rem; }
.c-close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--b-line); background: none; position: relative; cursor: pointer; }
.c-close::before, .c-close::after { content: ""; position: absolute; left: 11px; top: 19px; width: 16px; height: 2px; background: #f3e9d8; transform: rotate(45deg); }
.c-close::after { transform: rotate(-45deg); }
.c-dr-body { overflow-y: auto; padding: .5rem 1.3rem 1rem; flex: 1; }
.c-lines { list-style: none; margin: 0; padding: 0; }
.c-line { display: grid; grid-template-columns: 1fr auto; gap: .35rem .8rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--b-line); }
.c-line-main { display: flex; flex-direction: column; min-width: 0; }
.c-line-name { font-weight: 600; overflow-wrap: break-word; }
.c-line-unit { color: var(--b-muted); font-size: .8rem; }
.c-line-sum { color: var(--b-gold); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.c-line .c-qty { grid-column: 1; }
.c-line .c-pm { width: 34px; height: 34px; font-size: 1.1rem; }
.c-rm { grid-column: 2; grid-row: 1; justify-self: end; background: none; border: 0; color: #ff9a8f; font-size: .78rem; text-decoration: underline; cursor: pointer; padding: .3rem 0; font-family: inherit; }
.c-empty { color: var(--b-muted); padding: 1.5rem 0; }
.c-form { padding-top: 1rem; display: grid; gap: .9rem; }
.c-form[hidden], .c-field[hidden] { display: none; }
.c-type { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.c-type legend { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--b-gold); font-weight: 600; margin-bottom: .5rem; }
.c-type label { display: flex; align-items: center; gap: .5rem; padding: .7rem .8rem; border: 1px solid var(--b-line); border-radius: 12px; cursor: pointer; font-weight: 600; }
.c-type label:has(input:checked) { border-color: var(--b-gold); background: rgba(232,178,90,.1); }
.c-type input { accent-color: #e8b25a; }
.c-field { display: grid; gap: .35rem; font-size: .85rem; color: var(--b-muted); }
.c-field input, .c-field textarea { width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 1px solid rgba(243,233,216,.22); background: #0b1030; color: #f3e9d8; font: inherit; font-size: 16px; resize: vertical; }
.c-dr-foot { padding: 1rem 1.3rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--b-line); background: #0c1030; }
.c-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.c-sum strong { font-size: 1.4rem; color: #f3e9d8; font-variant-numeric: tabular-nums; }
.c-min { margin: .5rem 0 .8rem; font-size: .84rem; min-height: 1.2em; }
.c-min.is-warn { color: #ffb08a; }
.c-min.is-ok { color: #9fd49a; }
.c-send { display: block; text-align: center; padding: 1rem; border-radius: 999px; background: #c62230; color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.c-send:hover { background: #dc2b39; }
.c-send.is-disabled { background: #3a3f5c; color: rgba(255,255,255,.7); cursor: not-allowed; }

@media (max-width: 879px) { .c-fab { bottom: calc(72px + 3.4rem); } }
body.vw-locked .c-fab { visibility: hidden; }
.c-fab { z-index: 180; }
.c-p-main { padding-bottom: 6rem; }
@media (max-width: 879px) { html.c-lock .c-fab { bottom: 1rem; } }
.c-tiles { grid-auto-flow: dense; }
.c-tile--wide { grid-column: span 2; }
.c-tile--wide .c-tile-name { font-size: 1.9rem; }
@media (max-width: 999px) { .c-tile-sub { display: none; } }
@media (min-width: 1000px) { .c-tile--feat { grid-column: span 2; grid-row: span 2; } }
.design-toggle[data-d="d"] .dot { background: #9fd49a; }
