/* GlazeMarket v2 ------------------------------------------------------------ */
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-ext.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cocoa-950: #1D0F0B;
  --cocoa-900: #26140E;
  --cocoa-800: #331C15;
  --cocoa-700: #45291F;
  --line: #573629;
  --icing: #FFF3F6;
  --icing-dim: #DCC2C8;
  --icing-mute: #A98E95;
  --glaze: #FF6FA8;
  --glaze-hi: #FF9AC3;
  --glaze-deep: #DB4A85;
  --ink: #2A1309;
  --sun: #FFD24D;
  --mint: #7CE3B6;
  --sky: #7FD1F7;
  --lilac: #B9A0FF;
  --danger: #FF8F80;

  /* Aliase für ältere Seiten */
  --cocoa: var(--cocoa-950);
  --cocoa-2: var(--cocoa-800);
  --cocoa-3: var(--cocoa-700);
  --sprinkle-yellow: var(--sun);
  --sprinkle-mint: var(--mint);
  --sprinkle-blue: var(--sky);

  --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(3.2rem, 1.6rem + 6.4vw, 7rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--icing);
  background: var(--cocoa-950);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--glaze-hi); text-underline-offset: 3px; }
a:hover { color: var(--icing); }
code { font-family: inherit; font-weight: 650; background: rgba(255, 243, 246, 0.1); padding: 0.05em 0.4em; border-radius: 6px; }
h1, h2, h3 { line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 780; letter-spacing: -0.03em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--icing); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 1rem; }
.muted { color: var(--icing-dim); }
.small { font-size: var(--step--1); }
.mt-1 { margin-top: 0.4rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.hp-wrap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: var(--step-0); line-height: 1; text-decoration: none;
  padding: 0.85rem 1.35rem; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.08rem; }
.btn-primary { background: var(--glaze); color: var(--ink); box-shadow: 0 4px 0 var(--glaze-deep); }
.btn-primary:hover:not(:disabled) { background: var(--glaze-hi); color: var(--ink); }
.btn-primary:active { box-shadow: 0 2px 0 var(--glaze-deep); transform: translateY(2px); }
.btn-dark { background: var(--ink); color: var(--icing); box-shadow: 0 4px 0 rgba(42, 19, 9, 0.35); }
.btn-dark:hover:not(:disabled) { background: #3d1e10; color: var(--icing); }
.btn-outline-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.btn-outline-dark:hover { background: rgba(42, 19, 9, 0.08); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--icing); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--icing-dim); color: var(--icing); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--glaze-hi); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.link-btn:hover { color: var(--icing); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: transparent; border: 0; color: var(--icing); cursor: pointer; }
.icon-btn:hover { background: var(--cocoa-700); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  background: rgba(255, 111, 168, 0.86); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled { background: rgba(29, 15, 11, 0.82); color: var(--icing); box-shadow: 0 1px 0 rgba(255, 243, 246, 0.08); }
.nav-inner { display: flex; align-items: center; gap: 1.75rem; height: 100%; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.035em; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: inherit; text-decoration: none; font-weight: 600; opacity: 0.9; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-decoration-thickness: 2px; }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-ask {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: inherit;
  background: transparent; border: 0; box-shadow: inset 0 0 0 2px currentColor; border-radius: 999px; padding: 0.4rem 0.9rem 0.4rem 0.45rem; cursor: pointer;
}
.nav-ask:hover { background: rgba(255, 255, 255, 0.12); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700;
  background: var(--ink); color: var(--icing); border: 0; border-radius: 999px; padding: 0.55rem 0.6rem 0.55rem 1rem; cursor: pointer;
}
.nav.scrolled .cart-btn { background: var(--glaze); color: var(--ink); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 1.6rem; height: 1.6rem; display: grid; place-items: center; padding: 0 0.4rem;
  border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 0.85rem; font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump 0.35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--glaze); color: var(--ink); padding: 2.5rem 0 1.5rem; margin-top: calc(var(--nav-h) * -1); padding-top: calc(var(--nav-h) + 2.5rem); }
.hero-sprinkles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; min-height: 560px; }
.hero h1 {
  font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95;
  max-width: 7ch; text-wrap: balance;
}
.hero-lede { font-size: var(--step-1); line-height: 1.42; margin-top: 1.4rem; max-width: 30ch; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-facts { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-size: var(--step--1); }
.hero-facts li { display: flex; flex-direction: column; line-height: 1.3; }
.hero-facts strong { font-size: 1.05rem; font-weight: 750; }

.stage { position: relative; aspect-ratio: 560 / 480; width: 100%; max-width: 620px; justify-self: end; }
.stage-donut { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.float { position: absolute; height: auto; filter: drop-shadow(0 18px 18px rgba(122, 24, 64, 0.28)); animation: bob 5.5s ease-in-out infinite; --r: 0deg; }
.f-coin { width: 31%; left: 34.5%; top: 9%; animation-delay: -0.4s; z-index: 2; }
.f-elytra { width: 25%; left: 4%; top: 12%; --r: -8deg; animation-delay: -2.1s; }
.f-sword { width: 25%; right: 3%; top: 4%; --r: 10deg; animation-delay: -3.4s; }
.f-spawner { width: 23%; left: 9%; top: 47%; --r: -4deg; animation-delay: -1.2s; z-index: 3; }
.f-apple { width: 21%; right: 9%; top: 46%; --r: 6deg; animation-delay: -4.2s; z-index: 3; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-12px) rotate(var(--r)); }
}
.drip { position: absolute; left: 0; right: 0; top: 100%; width: 100%; height: clamp(54px, 7vw, 104px); fill: var(--glaze); pointer-events: none; z-index: 2; }

/* Opening-soon-Hinweis */
.soon-wrap { position: relative; z-index: 2; margin-bottom: 0.5rem; }
.soon {
  display: inline-flex; align-items: center; gap: 0.6rem; background: var(--ink); color: var(--icing);
  font-weight: 650; font-size: var(--step--1); padding: 0.55rem 1rem 0.55rem 0.8rem; border-radius: 999px;
}
.soon::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 210, 77, 0.3); flex: none; }
.checkout-closed { font-size: var(--step--1); color: var(--icing-dim); background: var(--cocoa-900); border-radius: var(--r-sm); padding: 0.75rem 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0 3.5rem; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-lede { color: var(--icing-dim); font-size: 1.12rem; margin-top: 0.7rem; max-width: 46ch; }

/* ---------- Money ---------- */
.money { padding-top: 8rem; }
.money-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.money-copy h2 { max-width: 12ch; }
.money-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin: 2rem 0 0; }
.money-facts div { display: flex; flex-direction: column-reverse; }
.money-facts dt { font-size: var(--step-2); font-weight: 780; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.money-facts dd { margin: 0; color: var(--icing-mute); font-size: var(--step--1); }

.calc {
  position: relative; background: var(--cocoa-800); border-radius: var(--r-xl); padding: 2rem;
  box-shadow: 0 0 0 1px rgba(255, 243, 246, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.calc-top { display: flex; justify-content: space-between; align-items: start; }
.calc-label { font-weight: 650; color: var(--icing-dim); }
.calc-coin { width: 72px; height: 72px; margin: -0.8rem -0.6rem 0 0; }
.calc-amount {
  display: block; font-size: clamp(3.6rem, 2rem + 6vw, 6.5rem); font-weight: 800; line-height: 0.95;
  letter-spacing: -0.05em; font-variant-numeric: tabular-nums; margin: -0.6rem 0 1.4rem; color: var(--sun);
}
.range { --fill: 5%; width: 100%; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--glaze) var(--fill), var(--cocoa-700) var(--fill)); }
.range::-moz-range-track { height: 12px; border-radius: 999px; background: var(--cocoa-700); }
.range::-moz-range-progress { height: 12px; border-radius: 999px; background: var(--glaze); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -8px; border-radius: 50%; background: var(--icing); border: 5px solid var(--glaze); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--icing); border: 5px solid var(--glaze); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
.presets { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.presets button {
  font-weight: 650; font-size: var(--step--1); color: var(--icing);
  background: var(--cocoa-900); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.4rem 0.85rem; cursor: pointer;
}
.presets button:hover { border-color: var(--icing-dim); }
.presets button[aria-pressed="true"] { background: var(--icing); color: var(--ink); border-color: var(--icing); }
.calc-foot { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.calc-price { display: flex; flex-direction: column; line-height: 1.05; }
.calc-price-label { font-size: var(--step--1); color: var(--icing-mute); font-weight: 600; }
.calc-price #money-price { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-note { min-height: 1.4em; margin-top: 0.7rem; font-size: var(--step--1); color: var(--mint); }

/* ---------- Items ---------- */
.item-tools { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 0.85rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--icing-mute); pointer-events: none; }
.search input {
  font: inherit; font-size: var(--step--1); color: var(--icing); background: var(--cocoa-800); border: 1.5px solid transparent;
  border-radius: 999px; padding: 0.62rem 1rem 0.62rem 2.4rem; width: 230px;
}
.search input::placeholder { color: var(--icing-mute); }
.search input:focus-visible { outline: none; border-color: var(--sky); }
.tabs, .filters { display: flex; flex-wrap: wrap; gap: 0.25rem; background: var(--cocoa-800); padding: 0.3rem; border-radius: 999px; }
.tabs button, .filters button {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: var(--step--1); color: var(--icing-dim);
  background: transparent; border: 0; padding: 0.42rem 0.9rem; border-radius: 999px; cursor: pointer;
}
.tabs button:hover, .filters button:hover { color: var(--icing); }
.tabs button[aria-selected="true"], .filters button[aria-selected="true"] { background: var(--icing); color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cat-spawner { --cat: var(--mint); }
.cat-netherite { --cat: var(--sky); }
.cat-gear { --cat: var(--glaze); }
.cat-misc { --cat: var(--sun); }
.dot.cat-spawner, .dot.cat-netherite, .dot.cat-gear, .dot.cat-misc { background: var(--cat); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.cards-empty { grid-column: 1 / -1; color: var(--icing-dim); padding: 2.5rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.card {
  display: flex; flex-direction: column; background: var(--cocoa-800); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 243, 246, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--cat) 45%, transparent), 0 22px 40px -24px color-mix(in srgb, var(--cat) 60%, transparent); }
.card-art {
  position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center;
  background: radial-gradient(60% 65% at 50% 46%, color-mix(in srgb, var(--cat) 34%, var(--cocoa-800)) 0%, color-mix(in srgb, var(--cat) 8%, var(--cocoa-900)) 70%, var(--cocoa-900) 100%);
}
.card-art img { width: 62%; height: auto; transition: transform 0.25s ease; }
.card:hover .card-art img { transform: scale(1.06) rotate(-2deg); }
.card-art img[src*="/custom/"] { image-rendering: pixelated; }
.badge-stock {
  position: absolute; left: 0.85rem; top: 0.85rem; font-size: 0.78rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(29, 15, 11, 0.7); color: var(--icing);
}
.badge-stock.low { background: var(--danger); color: var(--ink); }
.badge-stock.out { background: var(--cocoa-700); color: var(--icing-dim); }
.card-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 1.15rem 1.15rem; flex: 1; }
.card-name { font-size: 1.12rem; font-weight: 720; line-height: 1.2; }
.card-desc { font-size: var(--step--1); color: var(--icing-dim); line-height: 1.4; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.85rem; }
.price { font-weight: 800; font-size: 1.2rem; color: var(--sun); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.card-buy { display: flex; align-items: center; gap: 0.4rem; }
.add-btn {
  font-weight: 750; font-size: var(--step--1); background: var(--icing); color: var(--ink); border: 0; border-radius: 999px;
  padding: 0.5rem 0.95rem; cursor: pointer; transition: background-color 0.15s ease;
}
.add-btn:hover:not(:disabled) { background: var(--glaze); }
.add-btn:disabled { background: var(--cocoa-700); color: var(--icing-mute); cursor: not-allowed; }
.add-btn.added { background: var(--mint); }

.stepper { display: inline-flex; align-items: center; background: var(--cocoa-900); border-radius: 999px; }
.stepper button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: transparent; color: var(--icing); cursor: pointer; border-radius: 50%; }
.stepper button:hover:not(:disabled) { background: var(--cocoa-700); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper svg { width: 14px; height: 14px; }
.stepper input {
  width: 2.2rem; text-align: center; font: inherit; font-weight: 700; font-size: var(--step--1); font-variant-numeric: tabular-nums;
  background: transparent; color: var(--icing); border: 0; padding: 0; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Custom requests ---------- */
.custom-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem;
  background: linear-gradient(160deg, #3a2032 0%, var(--cocoa-800) 55%);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 3vw, 3.25rem);
  box-shadow: 0 0 0 1px rgba(185, 160, 255, 0.18);
}
.custom-copy h2 { max-width: 14ch; }
.examples { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.example {
  font-weight: 600; font-size: var(--step--1); color: var(--icing); cursor: pointer;
  background: rgba(185, 160, 255, 0.12); border: 1.5px solid rgba(185, 160, 255, 0.35); border-radius: 999px; padding: 0.45rem 0.9rem;
}
.example:hover { background: rgba(185, 160, 255, 0.22); border-color: var(--lilac); }
.custom-steps { list-style: none; counter-reset: cs; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1rem; }
.custom-steps li { counter-increment: cs; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.85rem; align-items: center; }
.custom-steps li::before {
  content: counter(cs); grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--lilac); color: var(--ink); font-weight: 800;
}
.custom-steps strong { font-weight: 700; }
.custom-steps span { color: var(--icing-dim); font-size: var(--step--1); }
.custom-form-wrap { background: var(--cocoa-950); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: 0 0 0 1px rgba(255, 243, 246, 0.06); }
.custom-form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.75rem; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--icing-mute); font-weight: 600; }
.field .money-input input { padding-left: 1.75rem; width: 100%; }
.custom-done { text-align: center; display: grid; justify-items: center; gap: 0.8rem; padding: 1.5rem 0.5rem; }
.custom-done h3 { font-size: var(--step-2); }
.custom-done p { color: var(--icing-dim); max-width: 34ch; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 650; }
.field .opt { font-weight: 400; color: var(--icing-mute); font-size: var(--step--1); }
.field small { color: var(--icing-mute); font-size: 0.82rem; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--icing); background: var(--cocoa-900); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: 0.72rem 0.85rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: var(--icing-mute); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(127, 209, 247, 0.22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; font-size: var(--step--1); color: var(--icing-dim); line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 0.1rem; accent-color: var(--glaze); }
.form-error { color: var(--danger); font-size: var(--step--1); }
.form-error:empty { display: none; }

/* ---------- How it works ---------- */
.how { padding-top: 5rem; }
.flow { list-style: none; counter-reset: step; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.flow li { counter-increment: step; position: relative; padding-top: 4rem; }
.flow li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--glaze); color: var(--ink); font-weight: 800; font-size: 1.2rem;
}
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 1.4rem; left: 3.6rem; right: -1.2rem; border-top: 2px dashed var(--line); }
.flow h3 { margin-bottom: 0.5rem; }
.flow p { color: var(--icing-dim); max-width: 34ch; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 650; position: relative; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--glaze); border-bottom: 2.5px solid var(--glaze); transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 1.25rem; color: var(--icing-dim); max-width: 62ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 3.5rem; margin-top: 4rem; font-size: var(--step--1); color: var(--icing-dim); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.footer-brand .brand { color: var(--icing); margin-bottom: 0.9rem; }
.footer-brand p { max-width: 52ch; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--icing-dim); text-decoration: none; }
.footer-col a:hover { color: var(--icing); text-decoration: underline; }

/* ---------- Cart drawer ---------- */
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(450px, 100%);
  border: 0; padding: 0; background: var(--cocoa-800); color: var(--icing); display: none; flex-direction: column;
}
.drawer[open] { display: flex; animation: slide-in 0.22s ease-out; }
.drawer::backdrop { background: rgba(20, 8, 5, 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: var(--step-1); }
.drawer-body { padding: 1.25rem; overflow-y: auto; flex: 1; }
.cart-lines { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 0.2rem 0.85rem; align-items: center; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--cat) 30%, var(--cocoa-700)), var(--cocoa-900)); }
.cart-thumb img { width: 42px; height: 42px; }
.cart-thumb img[src*="/custom/"] { image-rendering: pixelated; }
.cart-line-name { font-weight: 650; line-height: 1.25; }
.cart-line-price { font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.cart-line-controls { grid-column: 2 / span 2; display: flex; align-items: center; justify-content: space-between; }
.remove-btn { font-size: var(--step--1); background: none; border: 0; color: var(--icing-mute); text-decoration: underline; cursor: pointer; padding: 0.2rem; }
.remove-btn:hover { color: var(--danger); }
.cart-empty { display: grid; justify-items: center; gap: 0.75rem; text-align: center; color: var(--icing-dim); padding: 2.5rem 0 1rem; }
.cart-empty[hidden] { display: none; }
.checkout { margin-top: 1.5rem; display: grid; gap: 1rem; }
.checkout[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.cart-total strong { font-size: var(--step-2); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* Zahlungsart */
.pay-methods { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.5rem; }
.pay-methods legend { font-weight: 650; padding: 0; margin-bottom: 0.45rem; }
.pay-option {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: start;
  padding: 0.85rem 0.95rem; border-radius: var(--r-md); background: var(--cocoa-900); box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer; transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
.pay-option:hover { box-shadow: inset 0 0 0 1.5px var(--icing-mute); }
.pay-option:has(input:checked) { background: color-mix(in srgb, var(--glaze) 12%, var(--cocoa-900)); box-shadow: inset 0 0 0 2px var(--glaze); }
.pay-option:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.pay-option input { width: 18px; height: 18px; margin: 0.15rem 0 0; accent-color: var(--glaze); }
.pay-option-body { display: grid; gap: 0.15rem; }
.pay-option-body strong { font-weight: 700; }
.pay-option-body small { color: var(--icing-mute); font-size: 0.84rem; line-height: 1.4; }
.pay-methods.single .pay-option { grid-template-columns: minmax(0, 1fr); cursor: default; }
.pay-methods.single .pay-option:hover { box-shadow: inset 0 0 0 2px var(--glaze); }
.pay-methods.single .pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.checkout-next { font-size: var(--step--1); color: var(--icing-mute); text-align: center; margin-top: -0.35rem; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%);
  background: var(--icing); color: var(--ink); font-weight: 650; padding: 0.75rem 1.2rem; border-radius: 999px;
  transition: transform 0.25s ease, visibility 0s linear 0.25s; z-index: 60; max-width: calc(100% - 2rem); visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform 0.25s ease; }

/* ---------- Assistant ---------- */
.ask-launcher {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 750; color: var(--ink);
  background: var(--glaze); border: 0; border-radius: 999px; padding: 0.45rem 1.1rem 0.45rem 0.45rem; cursor: pointer;
  box-shadow: 0 4px 0 var(--glaze-deep), 0 16px 40px -10px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease;
}
.ask-launcher:hover { transform: translateY(-2px); }
.ask-launcher img { width: 40px; height: 40px; }
.ask-launcher[aria-expanded="true"] { display: none; }
.ask-panel {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45; width: min(400px, calc(100vw - 2.5rem)); height: min(620px, calc(100dvh - 2.5rem));
  display: flex; flex-direction: column; background: var(--cocoa-800); color: var(--icing); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 243, 246, 0.08), 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  transform-origin: bottom right; animation: pop 0.2s ease-out;
}
.ask-panel[hidden] { display: none; }
@keyframes pop { from { transform: scale(0.94) translateY(10px); opacity: 0; } }
.ask-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 0.85rem 0.85rem 1rem; background: var(--glaze); color: var(--ink); }
.ask-head img { width: 42px; height: 42px; }
.ask-title { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.ask-title strong { font-size: 1.08rem; }
.ask-title span { font-size: 0.8rem; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; }
.ask-title span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f9d63; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); }
.ask-head .icon-btn { color: var(--ink); }
.ask-head .icon-btn:hover { background: rgba(42, 19, 9, 0.12); }
.ask-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 0.65rem 0.9rem; border-radius: 18px; font-size: 0.97rem; line-height: 1.45; overflow-wrap: anywhere; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: 0.45rem; }
.msg ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }
.msg-bot { align-self: flex-start; background: var(--cocoa-700); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--glaze); color: var(--ink); border-bottom-right-radius: 6px; font-weight: 550; }
.msg-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 0.4rem; max-width: 92%; }
.msg-actions button, .msg-actions a {
  font-size: var(--step--1); font-weight: 700; border-radius: 999px; padding: 0.5rem 0.9rem; cursor: pointer; text-decoration: none; border: 0;
}
.act-primary { background: var(--sun); color: var(--ink); }
.act-primary:hover:not(:disabled) { background: #ffe07f; color: var(--ink); }
.act-primary:disabled { background: var(--mint); cursor: default; }
.act-ghost { background: transparent; color: var(--icing); box-shadow: inset 0 0 0 1.5px var(--line); }
.act-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--icing-dim); color: var(--icing); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 0.8rem 0.95rem; background: var(--cocoa-700); border-radius: 18px; border-bottom-left-radius: 6px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--icing-dim); animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ask-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.75rem; }
.ask-quick button {
  font-size: 0.85rem; font-weight: 650; color: var(--icing); background: var(--cocoa-900); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.38rem 0.8rem; cursor: pointer;
}
.ask-quick button:hover { border-color: var(--glaze); }
.ask-form { display: flex; gap: 0.5rem; align-items: end; padding: 0.75rem; border-top: 1px solid var(--line); background: var(--cocoa-900); }
.ask-form textarea {
  flex: 1; font: inherit; font-size: 0.97rem; color: var(--icing); background: var(--cocoa-800); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 0.6rem 0.8rem; resize: none; max-height: 7.5rem; line-height: 1.4;
}
.ask-form textarea:focus-visible { outline: none; border-color: var(--sky); }
.ask-send { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--glaze); color: var(--ink); cursor: pointer; }
.ask-send:disabled { opacity: 0.5; cursor: default; }
.ask-send svg { width: 20px; height: 20px; }
.ask-note { font-size: 0.75rem; color: var(--icing-mute); text-align: center; padding: 0 1rem 0.6rem; background: var(--cocoa-900); }

/* ---------- Einfache Seiten (Bestellung, Anfrage, Rechtliches) ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--glaze); color: var(--ink); }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.simple-top .topbar-inner { height: 64px; }
.page { padding: 3.5rem 0 5rem; }
.page-narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.page h1 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.9rem; }
.page h2 { font-size: var(--step-1); margin: 2rem 0 0.6rem; }
.page p, .page li { color: var(--icing-dim); max-width: 68ch; }
.page p + p { margin-top: 0.8rem; }
.panel { background: var(--cocoa-800); border-radius: var(--r-lg); padding: 1.75rem; margin-top: 1.5rem; box-shadow: 0 0 0 1px rgba(255, 243, 246, 0.05); }
.fill { background: rgba(255, 210, 77, 0.18); color: var(--sun); padding: 0 0.3em; border-radius: 4px; }
.status-track { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.status-track li { padding-top: 0.9rem; border-top: 4px solid var(--cocoa-700); font-weight: 650; color: var(--icing-dim); font-size: var(--step--1); }
.status-track li.done { border-color: var(--mint); color: var(--icing); }
.status-track li.current { border-color: var(--glaze); color: var(--icing); }
.order-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.order-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); color: var(--icing); }
.order-lines li span:last-child { font-variant-numeric: tabular-nums; }
.order-total { display: flex; justify-content: space-between; padding-top: 0.9rem; font-weight: 750; font-size: var(--step-1); }
.badge { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: var(--cocoa-700); color: var(--icing); }
.badge-pending, .badge-open, .badge-payment_pending { background: rgba(255, 210, 77, 0.18); color: var(--sun); }
.badge-paid, .badge-quoted { background: rgba(255, 111, 168, 0.2); color: var(--glaze-hi); }
.badge-delivered, .badge-accepted { background: rgba(124, 227, 182, 0.18); color: var(--mint); }
.badge-cancelled, .badge-refunded, .badge-declined, .badge-expired { background: rgba(220, 194, 200, 0.14); color: var(--icing-dim); }
.req-text, .page .req-text { white-space: pre-wrap; color: var(--icing); max-width: none; background: var(--cocoa-900); border-radius: var(--r-sm); padding: 0.9rem 1rem; margin-top: 0.6rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 1rem; color: var(--icing-dim); font-size: var(--step--1); }
.meta strong { color: var(--icing); font-weight: 650; }
.quote-card { margin-top: 1.5rem; border-radius: var(--r-lg); padding: 1.5rem; background: linear-gradient(160deg, #3a2032, var(--cocoa-800)); box-shadow: 0 0 0 1px rgba(185, 160, 255, 0.25); }
.page .quote-price { font-size: var(--step-3); font-weight: 800; color: var(--sun); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.page .quote-title { font-size: var(--step-1); font-weight: 700; color: var(--icing); margin-top: 0.3rem; }
.quote-form { display: grid; gap: 0.9rem; margin-top: 1.25rem; }

/* Überweisungsbeleg auf der Bestellseite: hell wie Zuckerguss, damit IBAN und QR-Code klar lesbar sind */
.transfer {
  position: relative; margin-top: 1.75rem; background: var(--icing); color: var(--ink);
  border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.25rem; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7);
}
.transfer::after {
  content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: -7px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--cocoa-950) 6px, transparent 6.5px) 0 0 / 22px 14px space no-repeat;
}
.page .transfer p, .page .transfer li { color: inherit; max-width: none; }
.page .transfer-head h2 { font-size: var(--step--1); font-weight: 700; letter-spacing: 0; margin: 0; color: rgba(42, 19, 9, 0.66); }
.page .transfer-amount { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-top: 0.25rem; font-variant-numeric: tabular-nums; }
.page .transfer .transfer-deadline { margin-top: 0.5rem; font-weight: 650; color: #b02f66; }
.transfer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: start; margin-top: 1.25rem; }
.transfer-rows { margin: 0; display: grid; }
.transfer-row { padding: 0.7rem 0; border-top: 1px dashed rgba(42, 19, 9, 0.22); }
.transfer-row dt { font-size: 0.82rem; font-weight: 650; color: rgba(42, 19, 9, 0.62); }
.transfer-row dd { margin: 0.1rem 0 0; display: flex; align-items: center; gap: 0.4rem 0.75rem; flex-wrap: wrap; font-weight: 700; font-size: 1.08rem; overflow-wrap: anywhere; }
.transfer-row dd .muted { color: rgba(42, 19, 9, 0.6); font-weight: 500; }
.transfer-ref { background: rgba(255, 210, 77, 0.45); border: 0; border-radius: var(--r-sm); padding: 0.75rem 0.85rem; margin-top: 0.4rem; }
.page .transfer .transfer-ref-note { font-size: 0.84rem; color: rgba(42, 19, 9, 0.74); margin-top: 0.35rem; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
.copy-btn {
  font: inherit; font-size: 0.78rem; font-weight: 700; color: var(--icing); background: var(--ink); border: 0;
  border-radius: 999px; padding: 0.28rem 0.7rem; cursor: pointer; letter-spacing: 0; flex: none;
}
.copy-btn:hover { background: #4a2414; }
.copy-btn.copied { background: #1f9d63; }
.giro { margin: 0; display: grid; justify-items: center; gap: 0.5rem; width: 188px; }
.giro img { width: 188px; height: 188px; background: #fff; border-radius: var(--r-sm); box-shadow: 0 0 0 1px rgba(42, 19, 9, 0.12); }
.giro figcaption { font-size: 0.8rem; text-align: center; color: rgba(42, 19, 9, 0.66); line-height: 1.35; }
.transfer-notes { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.transfer-notes li { position: relative; padding-left: 1.2rem; line-height: 1.45; }
.transfer-notes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--glaze-deep); }
.transfer-notes strong { font-weight: 750; }
.transfer-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px dashed rgba(42, 19, 9, 0.22); }
.page .transfer-foot .muted { color: rgba(42, 19, 9, 0.62); }
.transfer .link-btn { color: var(--glaze-deep); }
.transfer .link-btn:hover { color: var(--ink); }
.transfer :focus-visible { outline-color: #1d6fa5; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 1rem; }
  .hero h1 { max-width: none; }
  .stage { justify-self: center; max-width: 520px; }
  .money-grid, .custom-panel, .faq-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .flow li { padding: 0 0 0 4rem; min-height: 2.8rem; }
  .flow li:not(:last-child)::after { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav-inner { gap: 0.75rem; }
  .brand-name { font-size: 1.15rem; }
  .nav-ask span, .cart-label { display: none; }
  .hero-sprinkles { display: none; }
  .nav-ask { padding: 0.3rem; }
  .hero { padding-bottom: 0.5rem; }
  .hero-lede { font-size: 1.12rem; }
  .hero-ctas .btn { flex: 1; }
  .section { padding: 4.5rem 0 2.5rem; }
  .money { padding-top: 6rem; }
  .calc { padding: 1.35rem; border-radius: var(--r-lg); }
  .item-tools, .search, .search input { width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .tabs button { flex: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .card-body { padding: 0.85rem; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .card-buy { justify-content: space-between; }
  .card-buy .stepper { display: none; }
  .add-btn { flex: 1; }
  .field-row { grid-template-columns: 1fr; }
  .custom-form-wrap { padding: 1.1rem; }
  .transfer { padding: 1.25rem 1.15rem 1rem; }
  .transfer::after { left: 1.15rem; right: 1.15rem; }
  .transfer-grid { grid-template-columns: 1fr; }
  .giro { width: auto; grid-template-columns: 112px 1fr; justify-items: start; align-items: center; gap: 0.85rem; }
  .giro img { width: 112px; height: 112px; }
  .giro figcaption { text-align: left; }
  .transfer-row dd:has(.copy-btn) { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .ask-launcher { right: 0.9rem; bottom: 0.9rem; padding-right: 0.45rem; }
  .ask-launcher span { display: none; }
  .ask-panel { inset: 0; width: 100%; height: 100dvh; border-radius: 0; }
}

/* ---------- Konto, Einladungen, Discord ---------- */
.nav-account {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: inherit; text-decoration: none;
  border-radius: 999px; padding: 0.4rem 0.85rem 0.4rem 0.55rem; box-shadow: inset 0 0 0 2px currentColor; font-variant-numeric: tabular-nums;
}
.nav-account svg { width: 20px; height: 20px; }
.nav-account:hover { background: rgba(255, 255, 255, 0.12); color: inherit; }
.topbar-link { margin-left: auto; color: var(--ink); font-weight: 700; text-decoration: none; }
.topbar-link:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }

/* Giveaways & Einladungen auf der Startseite */
.community { padding-top: 4.5rem; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.community-card {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem;
  min-height: 300px; border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); color: var(--ink);
}
.cc-discord { background: var(--sky); }
.cc-invite { background: var(--sun); }
.community-card h3 { font-size: var(--step-2); font-weight: 780; letter-spacing: -0.03em; max-width: 13ch; }
.community-card p { max-width: 36ch; font-weight: 500; line-height: 1.45; }
.community-card .btn { margin-top: auto; }
.cc-icon { position: absolute; z-index: -1; right: -22px; top: -22px; width: 170px; height: 170px; opacity: 0.17; transform: rotate(12deg); }
@media (max-width: 640px) { .cc-icon { width: 118px; height: 118px; right: -18px; top: -18px; opacity: 0.12; } }

/* Warenkorb: angemeldet, Guthaben, Summen, Anmelde-Hinweis */
.checkout-fields { display: grid; gap: 1rem; }
.account-line {
  display: flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); color: var(--icing-dim);
  background: var(--cocoa-900); border-radius: var(--r-sm); padding: 0.6rem 0.8rem;
}
.account-line svg { width: 18px; height: 18px; flex: none; color: var(--glaze-hi); }
.account-line strong { color: var(--icing); font-weight: 650; overflow-wrap: anywhere; }
.account-line a { margin-left: auto; font-weight: 650; flex: none; }
.credit-check {
  display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: center; cursor: pointer; font-weight: 600;
  padding: 0.8rem 0.9rem; border-radius: var(--r-md);
  background: color-mix(in srgb, var(--mint) 12%, var(--cocoa-900)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--mint) 45%, transparent);
}
.credit-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--mint); }
.credit-check strong { color: var(--mint); font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-sums { margin: 0; display: grid; gap: 0.3rem; font-size: var(--step--1); color: var(--icing-dim); }
.cart-sums div { display: flex; justify-content: space-between; gap: 1rem; }
.cart-sums dd { margin: 0; color: var(--icing); font-variant-numeric: tabular-nums; }
#sum-discount-row dd, #sum-credit-row dd { color: var(--mint); font-weight: 650; }
.checkout-login {
  display: grid; gap: 0.6rem; padding: 1.1rem; border-radius: var(--r-md);
  background: linear-gradient(160deg, #3a2032, var(--cocoa-900)); box-shadow: 0 0 0 1px rgba(185, 160, 255, 0.25);
}
.checkout-login-title { font-weight: 750; font-size: 1.1rem; }
.checkout-login-text { color: var(--icing-dim); font-size: var(--step--1); line-height: 1.45; }
.checkout-login-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.2rem; }
.checkout-login-actions .btn { flex: 1; padding-inline: 1rem; }

/* Anmelden & Registrieren */
.acct-loading { text-align: center; }
.auth { width: min(100% - 2.5rem, 480px); margin-inline: auto; }
.page .auth-lead { color: var(--icing-dim); }
.invite-note {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; padding: 0.85rem 1rem;
  background: var(--sun); color: var(--ink); border-radius: var(--r-md); font-weight: 650; line-height: 1.4;
}
.invite-note svg { width: 30px; height: 30px; flex: none; }
.page .invite-note p { color: var(--ink); }
.auth-tabs { margin-top: 1.5rem; width: fit-content; }
.auth-form { display: grid; gap: 1rem; margin-top: 1rem; }
.pw-wrap { position: relative; }
.field .pw-wrap input { padding-right: 4.4rem; }
.pw-toggle {
  position: absolute; right: 0.45rem; top: 50%; transform: translateY(-50%); cursor: pointer;
  background: var(--cocoa-700); color: var(--icing); border: 0; border-radius: 999px; font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.7rem;
}
.pw-toggle:hover { background: var(--line); }
.page .auth-foot { font-size: var(--step--1); text-align: center; margin-inline: auto; }

/* Kundenbereich */
.dash { width: min(100% - 2.5rem, 880px); margin-inline: auto; }
.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.page .dash-head h1 { margin-bottom: 0.15rem; }
.dash .panel h2 { margin-top: 0; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 1.25rem; }

/* Einladungscode als Ticket: das auffälligste Element der Seite */
.ticket {
  --pad: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.25rem;
  margin-top: 1.75rem; padding: var(--pad); background: var(--sun); color: var(--ink);
  border-radius: var(--r-lg); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7);
}
.page .ticket p { color: inherit; max-width: none; }
.page .ticket h2 { font-size: var(--step--1); font-weight: 700; letter-spacing: 0; margin: 0; color: rgba(42, 19, 9, 0.68); }
.page .ticket-code {
  font-size: clamp(2.8rem, 1.9rem + 4vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums; margin-top: 0.35rem; overflow-wrap: anywhere;
}
.page .ticket-how { margin-top: 0.9rem; max-width: 46ch; font-weight: 550; line-height: 1.45; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.ticket-actions .btn.copied { background: #1f9d63; color: #fff; box-shadow: none; }
.ticket-stats {
  position: relative; margin: 0; display: grid; align-content: center; gap: 1.25rem;
  padding-left: 2.25rem; border-left: 2px dashed rgba(42, 19, 9, 0.32); min-width: 150px;
}
.ticket-stats::before, .ticket-stats::after {
  content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--cocoa-950);
}
.ticket-stats::before { top: calc(-1 * var(--pad) - 14px); }
.ticket-stats::after { bottom: calc(-1 * var(--pad) - 14px); }
.ticket-stats div { display: flex; flex-direction: column-reverse; }
.ticket-stats dt { font-size: var(--step--1); font-weight: 650; color: rgba(42, 19, 9, 0.68); }
.ticket-stats dd { margin: 0; font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.page .credit-amount { font-size: var(--step-3); font-weight: 800; color: var(--mint); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-bottom: 0.4rem; }
.page .credit-amount.negative { color: var(--danger); }
.page .friend-note { margin-top: 0.8rem; color: var(--sun); font-weight: 650; }
.add-ref { display: grid; gap: 0.45rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.add-ref label { font-weight: 650; }
.add-ref-row { display: flex; gap: 0.5rem; }
.add-ref-row input {
  flex: 1; min-width: 0; font: inherit; color: var(--icing); background: var(--cocoa-900); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: 0.6rem 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.add-ref-row input::placeholder { text-transform: none; letter-spacing: 0; color: var(--icing-mute); }
.add-ref-row input:focus-visible { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(127, 209, 247, 0.22); }
.discord-panel { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.discord-panel .btn { margin-top: auto; }
.discord-panel-icon { position: absolute; z-index: -1; right: -26px; top: -26px; width: 116px; height: 116px; color: var(--sky); opacity: 0.18; transform: rotate(12deg); }
.discord-panel h2, .discord-panel p { max-width: 30ch; }
.acct-orders { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.acct-order {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 0.3rem 1rem; align-items: center;
  padding: 0.85rem 0.3rem; border-bottom: 1px solid var(--line); color: var(--icing); text-decoration: none; border-radius: 6px;
}
.acct-order:hover { background: rgba(255, 243, 246, 0.04); color: var(--icing); }
.acct-order-no { font-weight: 750; font-variant-numeric: tabular-nums; }
.acct-order-date { font-size: var(--step--1); }
.acct-order-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.settings-form { display: grid; gap: 1rem; max-width: 420px; margin-top: 0.4rem; }
.settings-form .btn { justify-self: start; }
.danger-zone { box-shadow: 0 0 0 1px rgba(255, 143, 128, 0.28); }
.page .danger-zone h2 { color: var(--danger); }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px var(--danger); }
.btn-danger:hover:not(:disabled) { background: rgba(255, 143, 128, 0.12); color: var(--danger); }

/* Bestellseite: Rabatt und Guthaben */
.order-adjust { display: grid; gap: 0.3rem; margin-top: 0.9rem; font-size: var(--step--1); }
.order-adjust div { display: flex; justify-content: space-between; gap: 1rem; color: var(--icing-dim); }
.order-adjust .minus { color: var(--mint); font-weight: 650; font-variant-numeric: tabular-nums; }

/* Schlanke Fußzeile (Kontoseite) */
.footer-slim { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.footer-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-row a { color: var(--icing-dim); text-decoration: none; }
.footer-row a:hover { color: var(--icing); text-decoration: underline; }

@media (max-width: 920px) {
  .footer-slim { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-account { padding: 0.4rem; }
  .nav-account span { display: none; }
  .community-card { min-height: 0; }
  .community-card .btn { margin-top: 0.4rem; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-stats { grid-template-columns: 1fr 1fr; padding: 1.25rem 0 0; border-left: 0; border-top: 2px dashed rgba(42, 19, 9, 0.32); min-width: 0; }
  .ticket-stats::before, .ticket-stats::after { top: -15px; bottom: auto; }
  .ticket-stats::before { left: calc(-1 * var(--pad) - 14px); }
  .ticket-stats::after { left: auto; right: calc(-1 * var(--pad) - 14px); }
  .ticket-actions .btn { flex: 1 1 auto; white-space: nowrap; padding-inline: 1.1rem; }
  .acct-order { grid-template-columns: auto minmax(0, 1fr) auto; }
  .acct-order .badge { grid-column: 2 / -1; justify-self: start; }
  .add-ref-row { flex-direction: column; }
}
