/* MR. CRUNCHY – Shop-Design passend zur Mr.-Crunchy-Webseite
   Comic-Look: Tinten-Schwarz, Creme, Knall-Gelb und Rot, dicke Ränder, harte versetzte Schatten.
   Schriften: Dela Gothic One (Überschriften), Space Grotesk (Text). */
:root {
  --mc-ink: #17120e; --mc-ink-2: #221a14; --mc-cream: #fff8ec; --mc-yellow: #ffc629; --mc-red: #c8201a; --mc-red-hot: #ff4a3d;
  --bg: var(--mc-ink); --card: var(--mc-cream); --ink: var(--mc-cream); --muted: #d9ccb4;
  --line: rgba(255, 248, 236, .16); --line-2: rgba(255, 248, 236, .3);
  --accent: var(--mc-yellow); --accent-ink: var(--mc-ink); --on-accent: var(--mc-ink);
  --accent-bg: var(--mc-yellow); --accent-soft: rgba(255, 198, 41, .14); --chip: var(--mc-ink-2);
  --ok: #4fd18b; --warn: #ffc629; --err: #ff6b5e; --err-bg: rgba(200, 32, 26, .18);
  --radius: 18px; --shadow: none;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Dela Gothic One", "Archivo Black", system-ui, sans-serif; --head-weight: 400; --head-spacing: -.01em;
  --field: var(--mc-ink-2); --field-ink: var(--mc-cream); --box: var(--mc-ink-2);
  --overlay: rgba(10, 7, 5, .75); --header-bg: var(--mc-ink);
  --img-ph: var(--mc-ink-2); --img-ph-ink: var(--mc-yellow);
  --toast-bg: var(--mc-yellow); --toast-ink: var(--mc-ink);
  --pop: 5px 5px 0 var(--mc-red);
  color-scheme: dark;
}

/* Hintergrund mit feinem Comic-Raster */
body {
  background: radial-gradient(rgba(255, 248, 236, .07) 1.2px, transparent 1.4px) 0 0 / 14px 14px, var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--mc-yellow); color: var(--mc-ink); }
a { color: var(--mc-yellow); }

/* Kopfzeile */
header.top { border-bottom: 3px solid var(--mc-red); }
.logo .word { font-family: var(--font-head); font-weight: 400; font-size: 21px; letter-spacing: 0; color: var(--mc-cream); }
.logo small { color: var(--mc-yellow); letter-spacing: .2em; font-size: 8.5px; font-weight: 700; margin-top: 4px; }
.mode-btn { background: var(--mc-red); color: var(--mc-cream); border: 2px solid var(--mc-cream); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.icon-btn .dot { border-color: var(--mc-ink); }

/* Knöpfe: Gelb mit dicker Kante und hartem Schatten */
.btn {
  border: 2.5px solid var(--mc-ink); box-shadow: 4px 4px 0 var(--mc-red); text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  transition: transform .12s, box-shadow .12s;
}
.btn:not(:disabled):hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--mc-red); }
.btn:not(:disabled):active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--mc-red); }
.btn.ghost { background: transparent; color: var(--mc-cream); border-color: var(--mc-cream); box-shadow: none; }
.btn.light { background: var(--mc-ink-2); color: var(--mc-cream); border-color: var(--line-2); box-shadow: none; }

/* Kategorie-Leiste */
.chip { background: var(--mc-ink-2); border: 2px solid var(--line); color: var(--mc-cream); font-weight: 600; }
.chip:hover { border-color: var(--mc-yellow); }
.chip.active { border-color: var(--mc-ink); box-shadow: 3px 3px 0 var(--mc-red); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: 13px; }

/* Kopfbereich: gelbes Comic-Feld, Mr. Crunchy rechts */
.hero-inner {
  min-height: clamp(250px, 30vw, 340px); padding: clamp(24px, 4vw, 48px); justify-content: center; border-radius: 22px;
  background: radial-gradient(rgba(23, 18, 14, .14) 1.6px, transparent 1.8px) 0 0 / 12px 12px, var(--mc-yellow);
  border: 4px solid var(--mc-ink); box-shadow: 8px 8px 0 var(--mc-red);
}
.hero { padding-right: 24px; }
.hero-inner::before {
  inset: 6% 3% 0 auto; width: 40%;
  background: var(--hero-img) right bottom / contain no-repeat;
  filter: drop-shadow(6px 6px 0 rgba(23, 18, 14, .9));
}
@media (min-width: 641px) { .hero .hero-inner > * { max-width: 58%; } }
.hero h1 { color: var(--mc-ink); font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; }
.hero h1 em { color: var(--mc-red); }
.hero-kicker { color: var(--mc-red); font-weight: 700; letter-spacing: .14em; }
.hero-text { color: var(--mc-ink); font-weight: 500; max-width: 44ch; }
.hero-status { background: var(--mc-ink); color: var(--mc-cream); border: 2px solid var(--mc-ink); }

/* Hinweis-Zeile */
.banner div { border: 2px solid var(--mc-yellow); color: var(--mc-cream); }

/* Kategorie-Überschriften */
.cat h2 { font-size: clamp(24px, 3.2vw, 34px); color: var(--mc-cream); display: flex; align-items: center; gap: 12px; }
.cat h2::before { content: "//"; color: var(--mc-red-hot); font-size: .8em; }

/* Produktkarten: Creme, dicke schwarze Kante, roter Comic-Schatten */
.card {
  color: var(--mc-ink); border: 3px solid var(--mc-ink); box-shadow: var(--pop); padding: 9px 9px 14px;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--mc-red); }
.card .img { border-radius: 11px; border: 2.5px solid var(--mc-ink); }
.card .add { top: 17px; right: 17px; border: 2.5px solid var(--mc-ink); box-shadow: 2px 2px 0 var(--mc-ink); font-weight: 800; }
.card h3 { font-family: var(--font); font-weight: 700; color: var(--mc-ink); font-size: 15px; letter-spacing: -.01em; }
.card .price { color: var(--mc-red); font-weight: 800; }
.card p, .card .info, .card .allergens { color: #5a4c3e; }
.card .info { color: var(--mc-ink); }

/* Warenkorb + Dialoge */
aside.cart { background: var(--mc-ink-2); border: 3px solid var(--mc-cream); box-shadow: 6px 6px 0 var(--mc-red); }
.dialog { background: var(--mc-ink-2); border: 3px solid var(--mc-cream); box-shadow: 8px 8px 0 var(--mc-red); border-radius: 20px; }
.box { border-color: var(--line-2); }
.seg button { border: 2px solid var(--line); }
.seg button.active { border-color: var(--mc-ink); }
input, select, textarea { border: 2px solid var(--line-2); }
input::placeholder, textarea::placeholder { color: rgba(217, 204, 180, .6); }
input:focus, select:focus, textarea:focus { outline-color: var(--mc-yellow); }
select option { background: var(--mc-ink-2); color: var(--mc-cream); }
footer.legal a:hover { color: var(--mc-yellow); }

@media (max-width: 900px) {
  aside.cart { border-radius: 20px 20px 0 0; box-shadow: none; }
}
@media (max-width: 640px) {
  .hero { padding-right: 22px; }
  .hero-inner { padding: 22px 18px 20px; box-shadow: 6px 6px 0 var(--mc-red); }
  .hero-inner::before { inset: auto -6px -4px auto; width: 38%; height: 62%; opacity: .95; }
  .hero .hero-inner > h1, .hero .hero-inner > .hero-kicker { max-width: 72%; }
  .hero .hero-inner > .hero-text { max-width: 62%; }
  .mode-btn { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
  .logo .word { font-size: 17px; white-space: nowrap; }
  .hero h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .btn { transition: none; }
  .card:hover, .btn:not(:disabled):hover { transform: none; }
}
