/* ============ ACME Services – Comic Demo ============ */

:root {
  --ink: #12100e;
  --paper: #fffdf5;
  --yellow: #ffd23f;
  --red: #ff4757;
  --blue: #8ed3ff;
  --mint: #7ee0b8;
  --orange: #ff9f1c;
  --purple: #b79cff;

  /* Wüsten-Kulisse */
  --sky-top: #4ec5f2;
  --sky-mid: #ffc65c;
  --sky-low: #ff8f4d;
  --sand: #f4c96d;
  --sand-dark: #dfa84a;
  --mesa-far: #c07ad6;
  --mesa-mid: #d8624f;
  --cactus: #45b96c;
  --asphalt: #3b3733;

  --border: 4px;
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --radius: 14px;
  --wrap: 1180px;

  /* Höhe des Sandbodens im Hero – Bezugslinie für Kiste, Vogel und TNT */
  --ground: clamp(100px, 15vh, 165px);

  /* gemeinsame Standlinie von Kiste und Lieferwagen */
  --crate-right: clamp(1rem, 6vw, 5.5rem);
  /* Taktgeber der Liefer-Show: Hinbringen, Abstellen, Abholen */
  --delivery-loop: 26s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Comic Neue", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(var(--ink) 1px, transparent 1.4px),
    radial-gradient(var(--ink) 1px, transparent 1.4px);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  /* aufgehellter Papierschleier über dem Halftone-Raster */
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 253, 245, .9);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, .logo-text, .stat-num, .panel-no, .sfx, .footer-brand {
  font-family: "Bangers", "Baloo 2", cursive;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0 0 1rem; }
a { color: inherit; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.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-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--yellow); border: var(--border) solid var(--ink);
  padding: .6rem 1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 4px dashed var(--red); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  padding: .8rem 1.6rem;
  border: var(--border) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); animation: btnWobble .45s ease-in-out infinite; }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); animation: none; }
.btn-primary { background: var(--red); color: var(--paper); }
.btn-ghost { background: var(--paper); color: var(--ink); }
@keyframes btnWobble {
  0%, 100% { transform: translate(3px, 3px) rotate(-2deg); }
  50%      { transform: translate(3px, 3px) rotate(2deg); }
}

.marker {
  background: linear-gradient(transparent 58%, var(--yellow) 58% 92%, transparent 92%);
  padding-inline: .15em;
}

/* ---------- Demo-Hinweise ---------- */
.demo-banner {
  background: #1f2937;
  color: #f3f4f6;
  border-bottom: 1px solid #374151;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
}
.demo-banner-inner {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 0; flex-wrap: wrap;
}
.demo-banner p { margin: 0; font-size: .88rem; line-height: 1.5; }
.demo-chip {
  flex: none;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #6b7280; border-radius: 4px;
  padding: .18rem .55rem; color: #e5e7eb;
}

.demo-stamp {
  position: fixed; left: 14px; bottom: 14px; z-index: 40;
  font-family: "Bangers", cursive; font-size: 1.6rem; letter-spacing: 3px;
  color: var(--red); border: 4px solid var(--red); border-radius: 8px;
  padding: .1rem .7rem; transform: rotate(-14deg);
  opacity: .5; pointer-events: none;
}

/* Starburst: 22-Punkt-Polygon für die typische Comic-Zacke */
.burst {
  position: absolute; top: -6px; right: -4px; z-index: 3;
  width: 118px; height: 118px; display: grid; place-items: center;
  background: var(--red);
  clip-path: polygon(50% 0%, 58% 18%, 79% 8%, 76% 30%, 98% 30%, 82% 45%, 100% 60%,
    78% 65%, 88% 85%, 65% 80%, 60% 100%, 45% 84%, 28% 97%, 27% 76%, 5% 78%,
    16% 60%, 0% 48%, 18% 37%, 5% 20%, 27% 22%, 27% 2%, 44% 14%);
  animation: burstPulse 2.6s ease-in-out infinite;
}
.burst span {
  font-family: "Bangers", cursive; font-size: 1.2rem; line-height: 1.05;
  color: var(--paper); text-align: center; letter-spacing: 1px;
  transform: rotate(-8deg);
}
@keyframes burstPulse { 0%,100% { transform: scale(1) rotate(-4deg); } 50% { transform: scale(1.08) rotate(4deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--border) solid var(--ink);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo-mark { width: 60px; height: 60px; flex: none; transition: transform .2s ease; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }

.logo-lockup { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
.logo-text {
  font-size: 2.6rem; line-height: .9; color: var(--red); letter-spacing: 3px;
  -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--yellow);
}
.logo-sub {
  font-family: "Baloo 2", sans-serif; font-weight: 800;
  font-size: .66rem; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase;
  background: var(--ink); color: var(--yellow);
  padding: .16rem 0; border-radius: 4px; text-align: center;
}

.main-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  text-decoration: none; font-weight: 700; padding: .3rem 0;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--red); }
.main-nav .nav-cta {
  background: var(--yellow); border: 3px solid var(--ink);
  border-radius: 999px; padding: .4rem 1.1rem; box-shadow: 4px 4px 0 var(--ink);
}
.main-nav .nav-cta:hover { border-bottom-color: var(--ink); transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }

.nav-toggle {
  display: none; width: 48px; height: 44px;
  background: var(--yellow); border: var(--border) solid var(--ink);
  border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block; width: 22px; height: 3.5px;
  background: var(--ink); border-radius: 2px; margin-inline: auto;
  transition: transform .2s ease, opacity .2s ease;
}
.bars::before, .bars::after { content: ""; position: relative; }
.bars::before { top: -7px; }
.bars::after { top: 3.5px; }
[aria-expanded="true"] .bars { background: transparent; }
[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .bars::after { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 var(--ground);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, #9ae0f7 34%, var(--sky-mid) 68%, var(--sky-low) 100%);
  border-bottom: var(--border) solid var(--ink);
}

/* --- Wüsten-Kulisse --- */
.desert { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.sun-disc {
  position: absolute; top: 10%; left: 66%; width: 190px; height: 190px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #fff3c4 0 38%, var(--yellow) 39% 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--ink);
}
.sun-rays {
  position: absolute; top: 10%; left: 66%; width: 1100px; height: 1100px;
  transform: translate(-50%, -40%);
  background: repeating-conic-gradient(from 0deg,
    rgba(255, 246, 199, .75) 0 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 12%, rgba(0, 0, 0, .35) 40%, transparent 62%);
  mask: radial-gradient(circle, #000 12%, rgba(0, 0, 0, .35) 40%, transparent 62%);
  animation: spinRays 90s linear infinite;
}
@keyframes spinRays { to { transform: translate(-50%, -40%) rotate(360deg); } }

/* Vogelschwärme, die gelegentlich vorbeiziehen */
.flock { position: absolute; left: 0; width: 110px; height: 40px; }
.flock-1 { top: 15%; animation: flyAcross 42s linear infinite; }
.flock-2 { top: 25%; scale: .72; animation: flyAcross 52s 19s linear infinite; }

.sky-bird { position: absolute; height: auto; }
.sky-bird path { fill: rgba(18, 16, 14, .72); }
.sb-wing {
  transform-box: view-box; transform-origin: 0 0;
  animation: flap .5s ease-in-out infinite alternate;
}
.b1 { left: 0; top: 0; width: 30px; }
.b2 { left: 40px; top: 15px; width: 22px; }
.b3 { left: 72px; top: 3px; width: 26px; }
.b2 .sb-wing { animation-duration: .42s; animation-delay: .11s; }
.b3 .sb-wing { animation-duration: .58s; animation-delay: .23s; }

@keyframes flap {
  from { transform: rotate(-28deg); }
  to   { transform: rotate(40deg); }
}
@keyframes flyAcross {
  0%        { transform: translate(-180px, 0); opacity: 0; }
  2%        { opacity: .9; }
  16%       { transform: translate(50vw, -28px); opacity: .9; }
  29%       { opacity: .9; }
  31%, 100% { transform: translate(calc(100vw + 180px), 10px); opacity: 0; }
}

.mesas {
  position: absolute; left: 0; right: 0; bottom: calc(var(--ground) - 6px);
  width: 100%; height: clamp(190px, 34vh, 340px); display: block;
}
.mesa-far { fill: #d3a8e4; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.mesa-mid { fill: #d9705f; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.mesa-near { fill: #a83c2a; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }
.mesa-strata { fill: none; stroke: #862e1f; stroke-width: 5; stroke-linecap: round; }

.ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--ground);
  background: var(--sand);
  border-top: 5px solid var(--ink);
}
.ground::before,
.ground::after {
  content: ""; position: absolute;
  border-top: 5px solid var(--sand-dark); border-radius: 50%;
}
.ground::before { left: 5%; top: 30%; width: 15%; height: 26%; }
.ground::after { right: 8%; top: 50%; width: 21%; height: 24%; }

.cactus {
  position: absolute; display: block;
  height: calc(var(--ground) * 1.15); width: auto; aspect-ratio: 104 / 116;
}
.cactus-l { left: 1.5%; bottom: 28%; height: var(--ground); }
/* steht hinter der TNT-Lieferung und wird im Takt der Explosion weggefegt */
.cactus-r {
  left: calc(58% - 68px); right: auto; bottom: 32%;
  height: calc(var(--ground) * .9);
  transform-box: border-box; transform-origin: bottom center;
  animation: cactusBlast 13s linear infinite;
}
@keyframes cactusBlast {
  0%, 57%     { transform: scale(1) rotate(0deg); opacity: 1; }
  58%         { transform: scale(1.12, .9) rotate(-4deg); opacity: 1; }
  60%         { transform: scale(.25) rotate(40deg); opacity: 0; }
  61%, 74%    { transform: scale(0) rotate(0deg); opacity: 0; }
  80%         { transform: scale(1.15, .82) rotate(0deg); opacity: 1; }
  85%         { transform: scale(.92, 1.1) rotate(0deg); opacity: 1; }
  90%, 100%   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.cactus path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cactus-ink { stroke: var(--ink); stroke-width: 34; }
.cactus-fill { stroke: var(--cactus); stroke-width: 24; }

.tumbleweed {
  position: absolute; left: 0; bottom: 12%;
  width: clamp(34px, 4vw, 54px); height: auto; display: block;
  animation: tumbleRoll 17s linear infinite;
}
.tumble {
  transform-box: fill-box; transform-origin: center;
  animation: tumbleSpin 1.4s linear infinite;
}
.tumble-ball { fill: #e0b878; stroke: var(--ink); stroke-width: 3; }
.tumble-twig { stroke: #a06b2e; stroke-width: 2; fill: none; }
@keyframes tumbleSpin { to { transform: rotate(360deg); } }
@keyframes tumbleRoll {
  0%        { transform: translateX(-90px); }
  55%, 100% { transform: translateX(calc(100vw + 90px)); }
}

/* --- Rennbahn --- */
.runner-lane {
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 120px; z-index: 3; pointer-events: none;
}
.runner {
  position: absolute; bottom: 0; left: 0;
  width: clamp(140px, 18vw, 220px);
  animation: dashAcross 13s linear infinite;
}
/* Vogel-Grafik ist nach rechts gezeichnet und wird für den Lauf nach links gespiegelt */
.bird { position: relative; z-index: 2; width: 100%; height: auto; display: block; transform: scaleX(-1); }
.bird-tail {
  transform-box: fill-box; transform-origin: right center;
  animation: tailFlap .28s steps(2) infinite alternate;
}
.crest {
  transform-box: fill-box; transform-origin: bottom center;
  animation: tailFlap .22s steps(2) infinite alternate;
}
@keyframes tailFlap { to { transform: rotate(-7deg); } }

/* Laufbeine: Ober- und Unterschenkel drehen um Hüfte bzw. Knie */
.limb-ink { fill: none; stroke: var(--ink); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.limb-fill { fill: none; stroke: #ffb03a; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.leg-back .limb-fill { stroke: #d3881c; }

.thigh, .shin { transform-box: view-box; transform-origin: 0 0; }
.thigh { animation: strideThigh .2s linear infinite; }
.shin { animation: strideShin .2s linear infinite; }
.leg-back .thigh, .leg-back .shin { animation-delay: -.1s; }

@keyframes strideThigh {
  0%   { transform: rotate(-28deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(32deg); }
  65%  { transform: rotate(12deg); }
  80%  { transform: rotate(-18deg); }
  100% { transform: rotate(-28deg); }
}
@keyframes strideShin {
  0%   { transform: rotate(14deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(10deg); }
  65%  { transform: rotate(76deg); }
  80%  { transform: rotate(52deg); }
  100% { transform: rotate(14deg); }
}

@keyframes dashAcross {
  0%   { transform: translateX(112vw) rotate(0deg); }
  2%   { transform: translateX(108vw) rotate(3deg); }
  24%  { transform: translateX(-30vw) rotate(3deg); }
  100% { transform: translateX(-30vw) rotate(3deg); }
}

.speed-line {
  position: absolute; left: 92%; height: 5px; border-radius: 3px;
  background: var(--ink); opacity: .8;
}
.speed-line:nth-of-type(1) { top: 26%; width: 90px; animation: streak .5s linear infinite; }
.speed-line:nth-of-type(2) { top: 48%; width: 140px; animation: streak .4s .1s linear infinite; }
.speed-line:nth-of-type(3) { top: 70%; width: 70px; animation: streak .6s .2s linear infinite; }
@keyframes streak { 0% { opacity: .85; transform: translateX(-10px); } 100% { opacity: 0; transform: translateX(40px); } }

.dust {
  position: absolute; bottom: -6px; z-index: 1;
  border-radius: 50%; background: var(--paper);
  border: 4px solid var(--ink);
}
.dust-a { left: 88%; width: 46px; height: 46px; animation: puff 1.1s ease-out infinite; }
.dust-b { left: 100%; width: 62px; height: 62px; animation: puff 1.1s .25s ease-out infinite; }
.dust-c { left: 115%; width: 78px; height: 78px; animation: puff 1.1s .5s ease-out infinite; }
@keyframes puff {
  0%   { transform: scale(.35) translateY(0); opacity: .95; }
  100% { transform: scale(1.25) translateY(-26px); opacity: 0; }
}

.runner-sfx {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%) rotate(8deg);
  font-family: "Bangers", cursive; font-size: 1.5rem; letter-spacing: 2px;
  color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
}

/* --- TNT-Sonderlieferung --- */
.tnt { position: absolute; left: 58%; bottom: 0; width: clamp(96px, 12vw, 150px); }
.tnt-drop {
  position: absolute; left: 0; bottom: -10px; width: 100%;
  opacity: 0;
  animation: tntDeliver 13s linear infinite;
}
.tnt-svg { width: 100%; height: auto; display: block; }

.chute {
  transform-box: fill-box; transform-origin: bottom center;
  animation: chuteFold 13s linear infinite;
}
.fuse {
  stroke-dasharray: 46; stroke-dashoffset: 0;
  animation: fuseBurn 13s linear infinite;
}
.spark {
  transform-box: fill-box; transform-origin: center;
  animation: sparkRun 13s linear infinite;
}

@keyframes tntDeliver {
  0%, 19%   { transform: translate(0, -460px) rotate(-8deg) scale(1); opacity: 0; }
  20%       { transform: translate(0, -440px) rotate(-8deg) scale(1); opacity: 1; }
  31%       { transform: translate(0, -30px) rotate(6deg) scale(1); opacity: 1; }
  34%       { transform: translate(0, 0) rotate(0deg) scale(1.1, .9); opacity: 1; }
  36%       { transform: translate(0, -12px) rotate(-3deg) scale(.94, 1.06); opacity: 1; }
  38%, 49%  { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  51%       { transform: translate(4px, 0) rotate(3deg) scale(1); opacity: 1; }
  53%       { transform: translate(-4px, 0) rotate(-3deg) scale(1); opacity: 1; }
  55%       { transform: translate(4px, 0) rotate(3deg) scale(1); opacity: 1; }
  56%       { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
  59%       { transform: translate(0, -20px) rotate(0deg) scale(1.5); opacity: 0; }
  100%      { transform: translate(0, -20px) rotate(0deg) scale(1.5); opacity: 0; }
}
@keyframes chuteFold {
  0%, 32%   { transform: scaleY(1); opacity: 1; }
  35%       { transform: scaleY(.18); opacity: 1; }
  38%, 100% { transform: scaleY(.05); opacity: 0; }
}
@keyframes fuseBurn {
  0%, 40%   { stroke-dashoffset: 0; }
  56%       { stroke-dashoffset: 44; }
  100%      { stroke-dashoffset: 44; }
}
@keyframes sparkRun {
  0%, 39%   { transform: translate(0, 0) scale(.6); opacity: 0; }
  41%       { transform: translate(0, 0) scale(1.1); opacity: 1; }
  48%       { transform: translate(-14px, 12px) scale(.9); opacity: 1; }
  56%       { transform: translate(-27px, 29px) scale(.6); opacity: 1; }
  57%, 100% { transform: translate(-27px, 29px) scale(.4); opacity: 0; }
}

.tnt-blast, .tnt-blast-core, .tnt-blast-core::before {
  display: grid; place-items: center;
  clip-path: polygon(50% 0%, 58% 18%, 79% 8%, 76% 30%, 98% 30%, 82% 45%, 100% 60%,
    78% 65%, 88% 85%, 65% 80%, 60% 100%, 45% 84%, 28% 97%, 27% 76%, 5% 78%,
    16% 60%, 0% 48%, 18% 37%, 5% 20%, 27% 22%, 27% 2%, 44% 14%);
}
.tnt-blast {
  position: absolute; left: 50%; bottom: -20px;
  width: clamp(190px, 24vw, 300px); aspect-ratio: 1;
  translate: -50% 0;
  background: var(--ink);
  opacity: 0;
  animation: tntBlast 13s linear infinite;
}
.tnt-blast-core { width: 91%; height: 91%; background: var(--red); }
.tnt-blast-core::before {
  content: ""; width: 62%; height: 62%; background: var(--yellow);
}

.tnt-boom {
  position: absolute; left: 50%; bottom: 40px;
  translate: -50% 0;
  font-family: "Bangers", cursive; font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 3px; white-space: nowrap;
  color: var(--paper); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill;
  opacity: 0;
  animation: tntBoom 13s linear infinite;
}

@keyframes tntBlast {
  0%, 56%   { transform: scale(0) rotate(0deg); opacity: 0; }
  58%       { transform: scale(1) rotate(10deg); opacity: 1; }
  62%       { transform: scale(1.2) rotate(-8deg); opacity: 1; }
  68%       { transform: scale(1.45) rotate(6deg); opacity: 0; }
  100%      { transform: scale(0) rotate(0deg); opacity: 0; }
}
@keyframes tntBoom {
  0%, 57%   { transform: translateY(0) scale(.2) rotate(-12deg); opacity: 0; }
  60%       { transform: translateY(-24px) scale(1.25) rotate(-8deg); opacity: 1; }
  66%       { transform: translateY(-52px) scale(1) rotate(5deg); opacity: 1; }
  72%       { transform: translateY(-78px) scale(.9) rotate(0deg); opacity: 0; }
  100%      { transform: translateY(-78px) scale(.9) rotate(0deg); opacity: 0; }
}

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}

.kicker {
  display: inline-block; font-family: "Baloo 2", sans-serif; font-weight: 800;
  font-size: .68rem; letter-spacing: 1.6px; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: .25rem .75rem; border-radius: 999px; margin-bottom: .7rem;
}

/* Caption-Box wie im Comic-Panel */
.hero-copy {
  position: relative;
  max-width: 32rem;
  background: rgba(255, 253, 245, .93);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.4vw, 1.6rem);
  transform: rotate(-1deg);
}
.hero-copy.reveal.is-visible { transform: rotate(-1deg); }

.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
.pow {
  display: inline-block; color: var(--red);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--yellow);
  transform: rotate(-3deg);
}

.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; max-width: 30ch; margin-top: .7rem; }
.lead em { font-style: normal; color: var(--red); font-family: "Bangers", cursive; letter-spacing: 1px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.1rem 0 0; }

/* Hero-Illustration */
.hero-art {
  position: relative; display: grid; place-items: center;
  min-height: clamp(240px, 30vh, 340px);
  align-self: end; margin-bottom: clamp(-2.4rem, -2vw, -1rem);
}

.speech-bubble {
  position: relative; background: var(--paper);
  border: var(--border) solid var(--ink); border-radius: 22px;
  padding: 1rem 1.3rem; box-shadow: var(--shadow);
  max-width: 330px; margin-bottom: -.5rem; transform: rotate(-2deg);
  z-index: 2;
}
.speech-bubble p { font-weight: 700; font-size: 1.1rem; margin: 0 0 .3rem; }

/* Zipfel: dunkle Outline plus schmalere Füllung, die den Rahmen überdeckt */
.speech-bubble::before,
.speech-bubble::after { content: ""; position: absolute; width: 0; height: 0; }
.speech-bubble::before {
  bottom: -30px; left: 40px;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 30px solid var(--ink);
}
.speech-bubble::after {
  bottom: -17px; left: 47px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 21px solid var(--paper);
}

/* Maskottchen als Sprecher der Sprechblase */
.mascot {
  position: relative; display: grid; justify-items: center;
  --cowboy-w: clamp(105px, 12vw, 158px);
  /* rueckt Cowboy samt Blase um eine halbe Koerpergroesse nach unten auf die Mesa */
  transform: translateY(calc(var(--cowboy-w) * .55));
}
.mascot .speech-bubble { margin-bottom: 0; }
.mascot .speech-bubble::before { left: 50%; margin-left: -16px; }
.mascot .speech-bubble::after { left: 50%; margin-left: -9px; }

.cowboy {
  width: var(--cowboy-w);
  height: auto; display: block;
}
.muzzle {
  transform-box: fill-box; transform-origin: left center;
  opacity: 0;
  animation: muzzleFlash 6.4s ease-out infinite;
}
@keyframes muzzleFlash {
  0%, 88%   { opacity: 0; transform: scale(.3); }
  90%       { opacity: 1; transform: scale(1.2); }
  93%       { opacity: 1; transform: scale(.85); }
  96%, 100% { opacity: 0; transform: scale(.4); }
}

.crate {
  position: absolute; z-index: 2;
  right: var(--crate-right);
  bottom: -20px;
  width: clamp(135px, 16vw, 225px);
  transform-origin: bottom center;
  animation: crateHandover var(--delivery-loop) linear infinite;
}
.crate svg { width: 100%; height: auto; display: block; }

/* Kiste taucht hinter dem haltenden LKW auf und verschwindet dort auch wieder */
@keyframes crateHandover {
  0%, 17%   { opacity: 0; transform: translateY(-16px) scale(.92); }
  19%, 23%  { opacity: 1; transform: translateY(-16px) scale(.92); }
  26%       { opacity: 1; transform: translateY(0) scale(1.1, .88); }
  29%       { opacity: 1; transform: translateY(0) scale(.96, 1.05); }
  32%, 66%  { opacity: 1; transform: translateY(0) scale(1); }
  69%       { opacity: 1; transform: translateY(-5px) scale(1); }
  71%, 100% { opacity: 0; transform: translateY(-18px) scale(.92); }
}

/* --- ACME-Lieferwagen --- */
.truck {
  position: absolute; z-index: 4;
  right: var(--crate-right);
  bottom: -30px;
  width: clamp(280px, 40vw, 560px);
  animation: truckRoute var(--delivery-loop) linear infinite;
}
.truck-svg { width: 100%; height: auto; display: block; }

/* Zwei Anfahrten pro Runde: erst abliefern, dann wieder einladen */
@keyframes truckRoute {
  0%          { transform: translateX(calc(-100vw - 100%)); }
  12%, 22%    { transform: translateX(0); }
  27%, 49.99% { transform: translateX(42vw); }
  50%         { transform: translateX(calc(-100vw - 100%)); }
  62%, 72%    { transform: translateX(0); }
  77%, 100%   { transform: translateX(42vw); }
}

.truck-body {
  transform-box: fill-box; transform-origin: center bottom;
  animation: truckIdle .26s steps(2) infinite alternate;
}
@keyframes truckIdle { to { transform: translateY(-3px); } }

/* Räder stehen still, solange der Laster hält */
.wheel { transform-box: fill-box; transform-origin: center; animation: wheelRoll var(--delivery-loop) linear infinite; }
@keyframes wheelRoll {
  0%          { transform: rotate(0deg); }
  12%, 22%    { transform: rotate(2160deg); }
  27%, 49.99% { transform: rotate(2880deg); }
  50%         { transform: rotate(2880deg); }
  62%, 72%    { transform: rotate(5040deg); }
  77%, 100%   { transform: rotate(5760deg); }
}

.truck-sfx {
  position: absolute; top: -6%; left: 58%;
  font-family: "Bangers", cursive; font-size: clamp(1rem, 1.6vw, 1.6rem); letter-spacing: 2px;
  color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  transform: rotate(-7deg); opacity: 0;
  animation: truckHonk var(--delivery-loop) linear infinite;
}
@keyframes truckHonk {
  0%, 11%   { opacity: 0; transform: scale(.5) rotate(-14deg); }
  13%       { opacity: 1; transform: scale(1.15) rotate(-7deg); }
  17%       { opacity: 1; transform: scale(1) rotate(-4deg); }
  20%, 60%  { opacity: 0; transform: scale(.5) rotate(-14deg); }
  63%       { opacity: 1; transform: scale(1.15) rotate(-7deg); }
  67%       { opacity: 1; transform: scale(1) rotate(-4deg); }
  70%, 100% { opacity: 0; transform: scale(.5) rotate(-14deg); }
}

.truck-puff {
  position: absolute; left: 63%; top: 4%;
  width: 14%; aspect-ratio: 1;
  border-radius: 50%; background: var(--paper);
  border: 4px solid var(--ink);
  opacity: 0;
  animation: truckPuff 1.4s ease-out infinite;
}
.puff-b { animation-delay: .45s; }
.puff-c { animation-delay: .9s; }
@keyframes truckPuff {
  0%   { opacity: .9; transform: scale(.3) translate(0, 0); }
  100% { opacity: 0; transform: scale(1.25) translate(-38px, -46px); }
}

/* --- Colt zum Mitnehmen --- */
.colt { cursor: pointer; }
.colt:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; }
.colt.is-taken { display: none; }

.colt-hint {
  position: absolute; top: 2%; right: -6%;
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: .82rem;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  padding: .18rem .7rem; box-shadow: var(--shadow-sm);
  transform: rotate(6deg); pointer-events: none; white-space: nowrap;
  animation: hintWink 3.4s ease-in-out infinite;
}
.colt-hint.is-off { display: none; }
@keyframes hintWink {
  0%, 100% { transform: rotate(6deg) scale(1); }
  50%      { transform: rotate(2deg) scale(1.08); }
}

/* Raketenstart hinter der Bergkette */
.rocket-launch {
  position: absolute; left: 55%; bottom: 8px; z-index: 0;
  width: clamp(52px, 6.5vw, 88px); height: auto; display: block;
  opacity: 0;
  animation: rocketLaunch 17s linear infinite;
}
.flame {
  transform-box: fill-box; transform-origin: top center;
  animation: flameFlicker .12s steps(2) infinite alternate;
}
@keyframes flameFlicker { to { transform: scale(.82, 1.4); } }
@keyframes rocketLaunch {
  0%, 70%   { transform: translateY(0) rotate(-3deg); opacity: 0; }
  71%       { transform: translateY(0) rotate(-3deg); opacity: 1; }
  76%       { transform: translateY(-22vh) rotate(-1deg); opacity: 1; }
  84%       { transform: translateY(-125vh) rotate(9deg); opacity: 1; }
  85%, 100% { transform: translateY(-125vh) rotate(9deg); opacity: 0; }
}

.sfx {
  position: absolute; font-size: 2rem; color: var(--paper);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}
.sfx-1 { top: 8%; left: 1%; color: var(--yellow); animation: pop 6.4s ease-in-out infinite; }
.sfx-2 { bottom: 8%; left: 0; color: var(--mint); animation: pop 6.4s 3.2s ease-in-out infinite; }
@keyframes pop {
  0%, 62%   { opacity: 0; transform: scale(.45) rotate(-16deg); }
  68%       { opacity: 1; transform: scale(1.18) rotate(7deg); }
  74%       { opacity: 1; transform: scale(1) rotate(-5deg); }
  82%, 100% { opacity: 0; transform: scale(.55) rotate(-14deg); }
}

/* ---------- Straße + Ticker ---------- */
.road {
  position: relative;
  height: 54px;
  background: var(--asphalt);
  border-bottom: var(--border) solid var(--ink);
  overflow: hidden;
}
.road::before,
.road::after {
  content: ""; position: absolute; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 253, 245, .35) 0 26px, transparent 26px 52px);
}
.road::before { top: 9px; }
.road::after { bottom: 9px; }

.ticker {
  background: var(--ink); color: var(--yellow);
  border-bottom: var(--border) solid var(--ink);
  overflow: hidden; padding: .55rem 0;
  font-family: "Baloo 2", sans-serif; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; font-size: .95rem;
}
.ticker-track { display: flex; width: max-content; animation: slide 240s linear infinite; }
.ticker-track span { padding-right: 2.5rem; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Zacken-Trenner ---------- */
.zigzag {
  height: 22px; margin-bottom: -2px;
  -webkit-mask: conic-gradient(from 135deg at 50% 0, #000 0 90deg, transparent 0) 50% / 30px 100%;
  mask: conic-gradient(from 135deg at 50% 0, #000 0 90deg, transparent 0) 50% / 30px 100%;
}
.zigzag-sky { background: var(--blue); }
.zigzag-sun { background: var(--yellow); }

/* ---------- Sections ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.section-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin-bottom: 2rem; transform: rotate(-1.5deg);
}
.title-burst { position: relative; display: inline-block; }
.title-burst::before {
  content: ""; position: absolute; z-index: -1;
  inset: -55% -22%;
  background: repeating-conic-gradient(from 0deg,
    rgba(255, 210, 63, .55) 0 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%);
  mask: radial-gradient(circle, #000 25%, transparent 68%);
  animation: spinRays 70s linear infinite reverse;
}

.services {
  background:
    linear-gradient(180deg, rgba(244, 201, 109, .55), rgba(244, 201, 109, .18));
}

/* ---------- Service-Karten ---------- */
.card-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.card {
  position: relative;
  background: var(--paper);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:nth-child(odd) { transform: rotate(-1deg); }
.card:nth-child(even) { transform: rotate(1deg); }
.card:hover {
  transform: rotate(0) translateY(-8px) scale(1.03);
  box-shadow: 12px 12px 0 var(--ink);
}
.card:hover .card-icon { animation: iconBoing .5s ease-out; }
@keyframes iconBoing {
  0%   { transform: scale(1) rotate(0); }
  35%  { transform: scale(1.25, .8) rotate(-10deg); }
  70%  { transform: scale(.9, 1.15) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}

.card-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  border: var(--border) solid var(--ink); border-radius: 50%;
  margin-bottom: 1rem; background: var(--paper);
}
.card-icon svg { width: 36px; height: 36px; }
.card[data-color="yellow"] .card-icon { background: var(--yellow); }
.card[data-color="red"]    .card-icon { background: var(--red); }
.card[data-color="blue"]   .card-icon { background: var(--blue); }
.card[data-color="mint"]   .card-icon { background: var(--mint); }

.card h3 { font-size: 1.9rem; margin-bottom: .3rem; }
.card p { margin: 0; font-size: 1.05rem; }
.card-sfx {
  position: absolute; right: 12px; bottom: 8px;
  font-family: "Bangers", cursive; font-size: 1.5rem; letter-spacing: 1px;
  color: var(--yellow); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill;
  transform: rotate(-8deg);
}

/* ---------- Comic-Strip ---------- */
.strip-section {
  position: relative;
  background: linear-gradient(180deg, var(--blue) 0%, #bde9ff 60%, var(--sand) 100%);
  border-bottom: var(--border) solid var(--ink);
}
.strip-section::before {
  content: ""; position: absolute; inset: auto 0 0; height: 90px; z-index: 0;
  background: linear-gradient(180deg, transparent 0 58%, var(--sand-dark) 58% 61%, transparent 61%);
  opacity: .7; pointer-events: none;
}
.strip-section > .wrap { position: relative; z-index: 1; }
.comic-strip { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.panel {
  position: relative; background: var(--paper);
  border: var(--border) solid var(--ink); border-radius: 6px;
  box-shadow: var(--shadow); padding: 2rem 1.4rem 1.5rem; text-align: center;
}
.panel-no {
  position: absolute; top: -20px; left: -14px;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--red); color: var(--paper); font-size: 1.6rem;
  border: var(--border) solid var(--ink); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}
.panel-art svg { width: 110px; height: auto; margin-bottom: .6rem; }
.panel h3 { font-size: 1.7rem; margin: 0; }
.panel-bubble {
  position: relative; display: inline-block;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 16px;
  padding: .35rem .9rem; margin-bottom: 1.1rem;
  font-weight: 700; font-size: .95rem;
}
.panel-bubble::after {
  content: ""; position: absolute; bottom: -13px; left: 22px; width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 14px solid var(--ink);
}

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 100%);
  border-bottom: var(--border) solid var(--ink);
}
.stats-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.stat-num { display: block; font-size: clamp(2.8rem, 7vw, 4rem); color: var(--red); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.stat-label { font-family: "Baloo 2", sans-serif; font-weight: 600; font-size: .95rem; letter-spacing: 1px; }

/* ---------- Footer ---------- */
.canyon { display: block; line-height: 0; background: var(--orange); }
.canyon svg { display: block; width: 100%; height: clamp(70px, 9vw, 130px); }
.canyon path { fill: var(--ink); }

.site-footer {
  position: relative;
  background: var(--ink); color: var(--paper); padding: 2.2rem 0;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 253, 245, .8), transparent),
    radial-gradient(1px 1px at 34% 12%, rgba(255, 253, 245, .6), transparent),
    radial-gradient(1.5px 1.5px at 58% 28%, rgba(255, 253, 245, .7), transparent),
    radial-gradient(1px 1px at 76% 16%, rgba(255, 253, 245, .55), transparent),
    radial-gradient(1.5px 1.5px at 89% 34%, rgba(255, 253, 245, .7), transparent);
}
.footer-inner { position: relative; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-brand { font-size: 1.9rem; margin: 0; }
.footer-brand span { color: var(--yellow); }
.footer-note { margin: 0; font-size: .88rem; opacity: .75; max-width: 40ch; }
.footer-links { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.footer-links a { text-decoration: none; border-bottom: 2px solid var(--yellow); }
.footer-legal {
  position: relative;
  margin: 1.4rem auto 0; padding-top: 1rem;
  border-top: 2px solid rgba(255,253,245,.25);
  font-size: .85rem; opacity: .75;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal.is-visible:nth-child(odd) { transform: rotate(-1deg); }
.card.reveal.is-visible:nth-child(even) { transform: rotate(1deg); }
.speech-bubble.reveal.is-visible { transform: rotate(-2deg); }

/* ---------- ACME Schießbude ---------- */
body.shooter-on,
body.shooter-on * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><circle cx='18' cy='18' r='13' fill='none' stroke='%2312100e' stroke-width='4'/><circle cx='18' cy='18' r='13' fill='none' stroke='%23ff4757' stroke-width='2'/><path d='M18 1v9M18 26v9M1 18h9M26 18h9' stroke='%2312100e' stroke-width='4'/><circle cx='18' cy='18' r='2.5' fill='%23ff4757'/></svg>") 18 18, crosshair;
}
body.shooter-on .shooter-hud,
body.shooter-on .shooter-hud * { cursor: pointer; }

/* fliegende Ziele werden erst im Spielmodus anklickbar */
body.shooter-on .desert,
body.shooter-on .runner-lane { pointer-events: auto; }

body.shooter-on { user-select: none; }

.shot-layer { position: fixed; inset: 0; z-index: 120; pointer-events: none; overflow: hidden; }

.shot-mark {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 4px rgba(18, 16, 14, .25);
  animation: markFade 1s ease-out forwards;
}
@keyframes markFade {
  0%   { transform: scale(.2); opacity: 1; }
  30%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

.shot-flash {
  position: absolute; width: 90px; height: 90px; margin: -45px 0 0 -45px;
  background: radial-gradient(circle, var(--yellow) 0 32%, var(--orange) 33% 58%, transparent 60%);
  animation: flashPop .28s ease-out forwards;
}
@keyframes flashPop {
  0%   { transform: scale(.3) rotate(0deg); opacity: 1; }
  100% { transform: scale(1.5) rotate(35deg); opacity: 0; }
}

.shot-word {
  position: absolute; transform: translate(-50%, -50%);
  font-family: "Bangers", cursive; font-size: 2rem; letter-spacing: 2px; white-space: nowrap;
  color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  animation: wordPop .8s ease-out forwards;
}
.shot-word.is-miss { color: var(--paper); font-size: 1.5rem; }
.shot-word.is-score { color: var(--mint); }
@keyframes wordPop {
  0%   { transform: translate(-50%, -50%) scale(.4) rotate(-12deg); opacity: 0; }
  25%  { transform: translate(-50%, -70%) scale(1.15) rotate(6deg); opacity: 1; }
  100% { transform: translate(-50%, -150%) scale(1) rotate(-4deg); opacity: 0; }
}

.shooter-hud {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 130;
  width: min(260px, calc(100vw - 2rem));
  background: var(--paper); color: var(--ink);
  border: var(--border) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .85rem 1rem 1rem;
  transform: rotate(-1.2deg);
}
.shooter-hud[hidden] { display: none; }
.hud-title { font-family: "Bangers", cursive; font-size: 1.6rem; letter-spacing: 1px; margin: 0 0 .3rem; }
.hud-row { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.hud-label { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.hud-score { font-family: "Bangers", cursive; font-size: 2rem; line-height: 1; color: var(--red); }
.hud-score.is-bump { animation: iconBoing .35s ease-out; }
.hud-ammo { display: flex; gap: 4px; }
.bullet {
  width: 10px; height: 20px; border-radius: 4px 4px 2px 2px;
  background: var(--yellow); border: 2.5px solid var(--ink);
}
.bullet.is-spent { background: transparent; opacity: .35; }
.hud-hint { font-size: .82rem; margin: .5rem 0 .7rem; line-height: 1.35; }
.hud-hint kbd {
  font-family: inherit; font-weight: 700;
  border: 2px solid var(--ink); border-radius: 5px; padding: 0 .3rem; background: var(--blue);
}
.hud-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.hud-btn {
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: .82rem;
  background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  padding: .3rem .8rem; box-shadow: var(--shadow-sm);
}
.hud-btn:hover { transform: translate(-1px, -1px); }
.hud-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.hud-btn-ghost { background: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 260px; margin-bottom: -1rem; }
  .runner-lane { height: 96px; }
  .sun-rays { width: 760px; height: 760px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: var(--border) solid var(--ink);
    display: none; padding: 1rem 1.25rem 1.4rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .9rem; }
  .main-nav a { font-size: 1.15rem; }
  .main-nav .nav-cta { text-align: center; }
}

@media (max-width: 520px) {
  .sfx { font-size: 1.5rem; }
  .logo-mark { width: 48px; height: 48px; }
  .logo-text { font-size: 2.05rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .sun-disc { width: 120px; height: 120px; }
  .runner-lane { height: 84px; }
  .runner-sfx { font-size: 1.1rem; }
  .truck { width: clamp(230px, 76vw, 300px); bottom: -22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .runner-lane, .tumbleweed, .rocket-launch, .flock, .truck { display: none; }
  .crate { animation: none !important; opacity: 1; transform: none; }
}
