/* ============================================================
   RRB LLC -- RICH RUNNER BOYS
   rrb.css -- Ein moderner Shop mit Arcade-Handschrift.
   Handgeschrieben, kein Framework. Abschnitte sind nummeriert.
   ============================================================ */

/* ---------- 1. Marken-Token ---------- */
:root {
  --gold:      #ffc61a;
  --gold-soft: #ffe089;
  --gold-dk:   #7a5a00;
  --money:     #22c55e;
  --money-dk:  #0c5c2c;
  --pink:      #ff2e88;
  --cyan:      #38dcff;

  --bg:        #08090c;
  --bg-2:      #0d0f14;
  --surface:   #12151c;
  --surface-2: #171b24;
  --line:      #242b38;
  --line-2:    #333c4d;

  --text:      #e7e9ee;
  --text-dim:  #a2abbb;
  --text-mute: #6b7484;

  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fat:  Impact, "Haettenschweiler", "Arial Narrow Bold", "Arial Black", sans-serif;

  --r:   4px;          /* Radius: gerade so weich, dass es 2026 ist */
  --r-s: 3px;
  --shadow:   0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-l: 0 20px 60px rgba(0,0,0,.55);
  --ring: 0 0 0 2px var(--cyan);
  --head-h: 64px;
  --step: 200ms cubic-bezier(.2,.7,.3,1);
}

/* GOLD MODE (Konami) */
body.gold-mode { --money: #ffc61a; --cyan: #ffd75e; --pink: #ff9c00; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* Feine Rasterstruktur -- der Kachelhintergrund von frueher, nur leiser */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("../img/tile.svg");
  background-size: 96px 96px;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* Scanlines: die Roehre, ganz dezent */
body::after {
  content: "";
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    to bottom, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 999;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-s); }

h1, h2, h3, h4 { color: var(--text); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.shell.main { padding-top: 24px; padding-bottom: 56px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--money);
  margin: 0 0 10px;
}
.muted { color: var(--text-mute); font-size: 12px; }

/* ---------- 2. Kopfzeile ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,9,12,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--head-h);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand-txt {
  font-family: var(--fat);
  font-size: 17px;
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; flex-direction: column;
}
.brand-txt b { color: var(--text); font-weight: inherit; }
.brand-txt i {
  font: 400 9px/1.4 var(--mono);
  letter-spacing: .3em;
  color: var(--text-mute);
  font-style: normal;
  margin-top: 2px;
}

.mainnav { display: flex; gap: 2px; margin-left: auto; }
.mainnav a {
  padding: 8px 12px;
  border-radius: var(--r-s);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--step), background var(--step);
}
.mainnav a:hover { color: var(--gold); background: var(--surface-2); }
.mainnav a.here { color: #000; background: var(--gold); }

.head-tools { display: flex; align-items: center; gap: 12px; flex: none; }

.langswitch { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.langswitch b { color: var(--gold); font-weight: 400; }
.langswitch a { color: var(--text-mute); text-decoration: none; margin-left: 8px; }
.langswitch a:hover { color: var(--text); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  padding: 7px 12px;
  cursor: pointer;
  transition: border-color var(--step), background var(--step);
}
.cart-btn:hover { border-color: var(--gold); background: var(--surface-2); }
.cart-badge {
  min-width: 19px; height: 19px; padding: 0 5px;
  display: inline-grid; place-items: center;
  background: var(--gold); color: #000;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
}
.cart-badge.empty { background: var(--line-2); color: var(--text-mute); }
.cart-btn.bump { animation: bump 400ms; }
@keyframes bump { 40% { transform: scale(1.09); } }

.menu-btn { display: none; }

/* ---------- 3. Laufband ---------- */
.ticker {
  overflow: hidden; white-space: nowrap;
  background: linear-gradient(90deg, var(--money-dk), #06210f);
  border-bottom: 1px solid var(--line);
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  padding: 6px 0;
}
.ticker span { display: inline-block; padding-left: 100%; animation: slide 34s linear infinite; }
.ticker:hover span { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- 4. Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0 40px;
}
.wordmark {
  font-family: var(--fat);
  font-size: clamp(46px, 8vw, 88px);
  line-height: .9;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  text-shadow: 3px 0 var(--pink), -3px 0 var(--cyan);
}
.hero-tag { font-size: 17px; color: var(--text); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 22px;
  margin: 26px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--text-mute);
}
.hero-facts b { color: var(--gold); font-size: 18px; margin-right: 5px; }

.hero-art { margin: 0; position: relative; }
.hero-art img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--bg-2) 70%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10%;
}
.hero-art img.photo { object-fit: cover; padding: 0; }
.hero-art figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(8,9,12,.85);
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  padding: 5px 10px;
  font-family: var(--mono); font-size: 11px; color: var(--gold);
}

/* ---------- 5. Seitenkopf ---------- */
.page-head { padding: 12px 0 26px; max-width: 62ch; }
.page-head h1 { font-family: var(--fat); font-size: clamp(30px,4.6vw,46px); text-transform: uppercase; color: var(--gold); }
.lead { font-size: 17px; color: var(--text); }

/* ---------- 6. Karten & Panels ---------- */
.card, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.card { padding: 20px; }
.card-title, h2.slab { font-family: var(--fat); font-size: 21px; text-transform: uppercase; color: var(--gold); letter-spacing: .02em; }
h3.slab { font-family: var(--fat); font-size: 17px; text-transform: uppercase; color: var(--money); letter-spacing: .02em; margin-top: 22px; }

/* Fenstertitel-Leiste: das Retro-Zitat, sauber gesetzt */
.panel > .head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r) var(--r) 0 0;
  padding: 10px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
}
.panel > .head .knobs { color: var(--text-mute); letter-spacing: .04em; }
.panel > .body { padding: 18px 16px; }

.columns { display: grid; grid-template-columns: 2.1fr 1fr; gap: 18px; align-items: start; }
.col-main, .col-side { min-width: 0; }

.notice {
  display: block;
  border: 1px solid var(--gold-dk);
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(255,198,26,.07), transparent 60%);
  border-radius: var(--r-s);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 22px;
}
.notice b { color: var(--gold); }
.open-note {
  border-left: 3px solid var(--pink);
  padding-left: 12px;
  font-size: 12px; color: var(--text-mute);
}
.open-note b { color: var(--pink); }
.soon-note {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 10px 0 0;
  font-size: 12px; color: var(--text-mute);
}
.soon-note b { color: var(--gold); }

/* ---------- 7. Knöpfe ---------- */
.btn, button {
  font-family: var(--mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #000; background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--r-s);
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform var(--step), background var(--step), box-shadow var(--step);
}
.btn:hover, button:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,198,26,.22); }
.btn:active, button:active { transform: translateY(0); }
.btn-lg { padding: 13px 22px; font-size: 13px; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 8px; }

button[disabled], .btn[disabled] { opacity: .5; cursor: not-allowed; }
button[disabled]:hover, .btn[disabled]:hover {
  background: var(--gold); transform: none; box-shadow: none;
}

.ghost, button.ghost {
  background: transparent; color: var(--gold);
  border-color: var(--line-2);
}
.ghost:hover, button.ghost:hover { background: var(--surface-2); border-color: var(--gold); box-shadow: none; }

.icon-btn {
  background: transparent; border: 1px solid var(--line-2); color: var(--text-dim);
  width: 32px; height: 32px; padding: 0; line-height: 1;
  display: grid; place-items: center;
}
.icon-btn:hover { background: var(--surface-2); color: var(--gold); transform: none; box-shadow: none; }

/* ---------- 8. Produktraster ---------- */
.goods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.goods.teaser { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.good {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform var(--step), border-color var(--step), box-shadow var(--step);
}
.good:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }
.good .pic {
  aspect-ratio: 1/1;
  background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--bg-2) 72%);
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
}
.good .pic img { width: 45%; height: auto; }
.good .pic img.photo { width: 100%; height: 100%; object-fit: cover; }
.good-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.good-body h3, .good h4 {
  font-family: var(--fat); font-size: 18px; text-transform: uppercase;
  color: var(--text); letter-spacing: .02em; margin-bottom: 6px;
}
.good .desc { font-size: 13px; color: var(--text-mute); flex: 1; margin-bottom: 12px; }
.good-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.price { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--gold); }
.price s { color: var(--text-mute); font-size: 12px; font-weight: 400; margin-left: 6px; }

/* Größenwahl */
.sizes { display: flex; flex-wrap: wrap; gap: 5px; }
.size {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--line-2); border-radius: var(--r-s);
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .04em;
  padding: 6px 9px; min-width: 34px; text-transform: none;
}
.size:hover { border-color: var(--gold); color: var(--gold); background: transparent; transform: none; box-shadow: none; }
.size[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 700; }
.sizes.needed { animation: shake 360ms; }
.sizes.needed .size { border-color: var(--pink); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.onesize { font-family: var(--mono); font-size: 11px; color: var(--text-mute); margin: 0; }

/* ---------- 9. Warenkorb-Schublade ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
  animation: fade var(--step);
}
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(400px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  transform: translateX(101%);
  transition: transform 260ms cubic-bezier(.2,.7,.3,1);
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--fat); font-size: 19px; text-transform: uppercase; color: var(--gold); margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 18px; background: var(--surface); }

.cart-line, .cart-total {
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: 12px; padding: 3px 0;
}
.cart-total { font-size: 15px; font-weight: 700; color: var(--gold); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }

.cart-item { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 54px; height: 54px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-s); }
.cart-item .ci-name { color: var(--text); font-size: 13px; }
.cart-item .ci-size { font-family: var(--mono); font-size: 11px; color: var(--text-mute); }
.cart-item .ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-s); }
.qty button {
  background: transparent; color: var(--text-dim); border: 0;
  width: 26px; height: 26px; padding: 0; font-size: 14px; line-height: 1;
}
.qty button:hover { color: var(--gold); background: var(--surface-2); transform: none; box-shadow: none; }
.qty span { font-family: var(--mono); font-size: 12px; min-width: 22px; text-align: center; color: var(--text); }
.cart-empty { color: var(--text-mute); font-family: var(--mono); font-size: 12px; padding: 24px 0; text-align: center; }

/* ---------- 10. Tabellen ---------- */
.tablewrap { overflow-x: auto; border-radius: var(--r-s); }
table.grid { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; min-width: 380px; }
table.grid caption { text-align: left; color: var(--text-mute); font-size: 11px; padding-bottom: 8px; }
table.grid th {
  background: var(--surface-2); color: var(--gold);
  text-align: left; text-transform: uppercase; letter-spacing: .08em;
  padding: 9px 11px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
}
table.grid td { padding: 9px 11px; border-bottom: 1px solid var(--line); color: var(--text-dim); }
table.grid tr:hover td { background: var(--surface-2); }
table.grid td b { color: var(--money); }

/* ---------- 11. Listen & Beschreibungen ---------- */
ul.dots, ol.dots { margin: 0 0 1em; padding-left: 20px; }
ul.checks { list-style: none; margin: 0 0 1em; padding: 0; }
ul.checks li { position: relative; padding-left: 24px; margin-bottom: 8px; }
ul.checks li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 10px; height: 2px; background: var(--money);
}
ul.checks b, ul.dots b { color: var(--text); }

dl.spec, .side-note dl { font-family: var(--mono); font-size: 12px; margin: 0; }
dl.spec dt, .side-note dt { color: var(--gold); margin-top: 10px; }
dl.spec dd, .side-note dd { margin: 2px 0 0; color: var(--text-dim); }
.side-note { font-size: 13px; }

/* ---------- 12. Formulare ---------- */
label {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute);
  margin: 14px 0 5px;
}
input[type="text"], input[type="number"], input[type="email"], select, textarea {
  width: 100%;
  font-family: var(--mono); font-size: 13px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  padding: 10px 12px;
  transition: border-color var(--step);
}
input:hover, textarea:hover, select:hover { border-color: var(--text-mute); }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: var(--ring); outline: none; }
.formrow { display: flex; gap: 12px; flex-wrap: wrap; }
.formrow > div { flex: 1 1 110px; }

/* ---------- 13. Retro-Bausteine ---------- */
.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.new-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em;
  color: #000; background: var(--pink);
  padding: 1px 6px; border-radius: 2px;
  vertical-align: 2px;
}

.counter { display: inline-flex; gap: 3px; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-s); }
.counter i {
  font: 700 18px/1 var(--mono); font-style: normal;
  color: var(--money); background: #04140a;
  padding: 5px 6px; border-radius: 2px;
  text-shadow: 0 0 10px rgba(34,197,94,.55);
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.webring { font-family: var(--mono); font-size: 12px; text-align: center; }
.webring .ringnav { display: flex; justify-content: space-between; margin-top: 10px; }

.entry {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 14px;
  margin-bottom: 12px;
}
.entry .meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--text-mute);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px; margin-bottom: 10px;
}
.entry .meta b { color: var(--gold); font-size: 13px; }
.entry .text { white-space: pre-wrap; color: var(--text); font-size: 14px; }
.entry .stamp { font-family: var(--mono); font-size: 11px; color: var(--pink); margin-top: 8px; }

/* ---------- 14. Team-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.card .avatar, .cards .avatar {
  width: 100%; aspect-ratio: 1/1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  display: block;
}
.cards .role { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.cards h4 { font-family: var(--fat); font-size: 20px; text-transform: uppercase; color: var(--gold); margin: 12px 0 2px; }
.cards dt { color: var(--text-mute); float: left; clear: left; width: 92px; }
.cards dd { margin: 0 0 3px 96px; color: var(--money); }
.cards dl { font-family: var(--mono); font-size: 11px; margin-top: 10px; }

/* ---------- 15. Spielhalle ---------- */
.arcade { text-align: center; }
#sprint {
  width: 100%; max-width: 680px;
  aspect-ratio: 2/1;
  background: #04060a;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow), 0 0 60px rgba(56,220,255,.06);
  image-rendering: pixelated;
  touch-action: none;
}
.scoreboard {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  font-family: var(--mono); font-size: 13px; color: var(--text-mute);
  margin: 14px 0;
}
.scoreboard b { color: var(--gold); }

/* ---------- 16. Fußzeile ---------- */
footer.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 8px;
  font-family: var(--mono); font-size: 12px; color: var(--text-mute);
  text-align: center;
}
footer.foot .rows { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 16px; }
footer.foot a { color: var(--text-dim); text-decoration: none; }
footer.foot a:hover { color: var(--gold); }
footer.foot b { color: var(--text-dim); }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 34px 0 0; }

/* ---------- 17. Schuhspur & Toast ---------- */
.trail { position: fixed; width: 15px; height: 15px; pointer-events: none; z-index: 900; transition: opacity 320ms; }

/* Bei offener Schublade rutschen die Meldungen daneben, statt darunter zu liegen */
body.drawer-open #toast { right: calc(min(400px, 100%) + 16px); }
@media (max-width: 460px) { body.drawer-open #toast { display: none; } }
#toast { position: fixed; right: 16px; bottom: 16px; transition: right var(--step); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
#toast div {
  font-family: var(--mono); font-size: 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--money);
  border-radius: var(--r-s);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  animation: toastin 220ms;
}
@keyframes toastin { from { opacity: 0; transform: translateY(6px); } }

/* ---------- 18. Kleine Schirme ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero-art { order: -1; max-width: 380px; }
  .columns { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-left: auto;
    background: transparent; color: var(--text-dim);
    border: 1px solid var(--line-2);
    padding: 8px 12px;
  }
  .menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after {
    display: block; width: 14px; height: 2px; background: currentColor; content: "";
  }
  .menu-btn .bars { position: relative; }
  .menu-btn .bars::before { position: absolute; top: -5px; }
  .menu-btn .bars::after  { position: absolute; top: 5px; }
  .menu-btn:hover { color: var(--gold); background: transparent; transform: none; box-shadow: none; }

  .head-inner { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .mainnav {
    display: none;
    order: 3; width: 100%;
    flex-direction: column; gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 8px; margin-left: 0;
  }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 11px 8px; border-radius: 0; }
  .head-tools { margin-left: 0; order: 2; }
  .brand-txt { font-size: 15px; }
}

@media (max-width: 520px) {
  body { font-size: 14px; }
  .shell { padding: 0 14px; }
  .goods { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .good-body { padding: 12px; }
  .good-body h3 { font-size: 15px; }
  .good .desc { display: none; }
  .good-foot { flex-direction: column; align-items: stretch; }
  .size { min-width: 30px; padding: 5px 7px; font-size: 10px; }
  .langswitch { display: none; }
}

/* ---------- 19. Bewegung aus, wenn gewünscht ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .ticker span { padding-left: 0; }
  body::after { display: none; }
}

/* ---------- 20. Druck ---------- */
@media print {
  body { background: #fff; color: #000; }
  body::before, body::after, .site-head, .ticker, #toast, .trail, .drawer, .scrim { display: none; }
  .card, .panel { border-color: #ccc; box-shadow: none; }
}
