@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b1626;
  --bg-2: #120f0f;
  --surface: #1c1620;
  --surface-solid: #1c1620;
  --surface-hover: #241b29;
  --text: #f5f3ee;
  --muted: #93a0b4;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #e0973f;
  --accent-2: #f0b05c;
  --accent-ink: #f3c98a;
  --info: #4da3ff;
  --info-ink: #a9d2ff;
  --green: #37c98e;
  --red: #ff7a7a;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 16px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background:
    radial-gradient(1500px 950px at 10% -15%, rgba(228, 158, 69, 0.4), transparent 58%),
    radial-gradient(1300px 1000px at 95% 5%, rgba(163, 68, 99, 0.4), transparent 55%),
    radial-gradient(1200px 900px at 20% 115%, rgba(196, 120, 56, 0.28), transparent 55%),
    radial-gradient(1100px 850px at 90% 110%, rgba(84, 56, 92, 0.3), transparent 55%),
    linear-gradient(165deg, #1a1118 0%, #1c131a 22%, #161320 48%, #11141f 72%, #0d111c 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Dezente Pinselstriche im Hintergrund - angelehnt an den sichtbaren
   Pinselduktus der hochgeladenen Gemälde, nur ganz leicht angedeutet. */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  filter: blur(3px);
  background-image:
    linear-gradient(68deg, transparent 0%, transparent 15%, rgba(228, 158, 69, 0.16) 15.6%, rgba(228, 158, 69, 0.2) 17%, transparent 17.8%, transparent 100%),
    linear-gradient(74deg, transparent 0%, transparent 32%, rgba(245, 225, 200, 0.1) 32.5%, transparent 33.6%, transparent 100%),
    linear-gradient(-63deg, transparent 0%, transparent 46%, rgba(163, 68, 99, 0.18) 46.7%, rgba(163, 68, 99, 0.12) 48%, transparent 49.2%, transparent 100%),
    linear-gradient(-71deg, transparent 0%, transparent 58%, rgba(120, 150, 160, 0.14) 58.6%, transparent 60%, transparent 100%),
    linear-gradient(82deg, transparent 0%, transparent 68%, rgba(228, 158, 69, 0.12) 68.5%, transparent 70%, transparent 100%),
    linear-gradient(-58deg, transparent 0%, transparent 82%, rgba(196, 120, 56, 0.15) 82.6%, rgba(196, 120, 56, 0.1) 84%, transparent 85.4%, transparent 100%);
}

/* Feines Korn über der ganzen Seite - nimmt die samtige, leicht raue
   Anmutung der Produktfotos auf, statt reinem flachem Verlauf. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #06111f; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(13, 10, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { font-weight: 800; font-size: 1.15rem; text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; flex: none; }
.logo-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--gradient); box-shadow: 0 0 0 1px rgba(224, 151, 63, 0.4), 0 6px 18px rgba(224, 151, 63, 0.45); }
.nav-search { flex: 1; max-width: 480px; }
.nav-search input {
  width: 100%; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(6px); color: var(--text); font: inherit; font-size: 0.92rem;
}
.nav-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 151, 63, 0.18); }
.nav-links { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.92rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) {
  .nav-links { display: none; }
  /* Auf dem Handy scrollt die Leiste normal mit weg, statt oben zu kleben. */
  .nav { position: relative; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 0;
  background: var(--gradient); color: #061320 !important; font: inherit; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; cursor: pointer; box-shadow: 0 10px 26px rgba(224, 151, 63, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(224, 151, 63, 0.4); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-light { background: var(--surface); border: 1px solid var(--line-strong); color: var(--text) !important; box-shadow: none; }
.btn-light:hover { background: var(--surface-hover); box-shadow: none; }
.btn-small { padding: 8px 16px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 760px; height: 760px;
  right: -240px; top: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 158, 69, 0.32), rgba(163, 68, 99, 0.18) 55%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(224, 151, 63, 0.35); background: rgba(224, 151, 63, 0.1);
  color: var(--accent-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-text h1 { font-size: clamp(2.3rem, 4.8vw, 3.4rem); margin: 0 0 14px; letter-spacing: -0.03em; font-weight: 800; line-height: 1.1; }
.hero-text > p { color: var(--muted); margin: 0 0 26px; font-size: 1.06rem; max-width: 36em; }

.hero-search {
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); max-width: 480px; margin-bottom: 22px;
}
.hero-search svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-search input {
  border: 0; background: transparent; padding: 10px 0; font: inherit; font-size: 0.95rem; color: var(--text); flex: 1; min-width: 0;
}
.hero-search input:focus { outline: none; box-shadow: none; }
.hero-search-submit {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--gradient);
  color: #2a1403; display: grid; place-items: center; cursor: pointer;
}
.hero-search-submit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-stage-row { display: flex; align-items: center; gap: 22px; text-decoration: none; color: inherit; }
.hero-frame {
  position: relative; flex: 1; min-width: 0; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 0 70px rgba(0, 0, 0, 0.5);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.hero-meta { flex: none; width: 150px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; transition: opacity 0.35s ease; }
.hero-meta strong { font-size: 1.02rem; line-height: 1.25; }
.hero-meta-link { color: var(--accent-ink); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }
@media (max-width: 560px) {
  .hero-stage-row { flex-direction: column; align-items: stretch; }
  .hero-meta { width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
}

.hero-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.hero-nav {
  width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color 0.15s, color 0.15s;
}
.hero-nav:hover { border-color: var(--accent); color: var(--accent); }
.hero-dots { display: flex; justify-content: center; gap: 7px; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); border: 0; cursor: pointer; padding: 0; }
.hero-dot.active { background: var(--gradient); width: 20px; border-radius: 4px; }

.section-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 8px 0 22px; }
.section-head-row h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Horizontal scrollbare Reihe (z. B. "Neu") ---------- */
.row-scroll-wrap { position: relative; }
.row-scroll {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 26px;
  scrollbar-width: none;
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .listing-card { flex: 0 0 220px; scroll-snap-align: start; }
.row-nav {
  position: absolute; top: 40%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--muted); font-size: 1.2rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: border-color 0.15s, color 0.15s; box-shadow: var(--shadow); z-index: 2;
}
.row-nav:hover { border-color: var(--accent); color: var(--accent); }
.row-nav.prev { left: -19px; }
.row-nav.next { right: -19px; }
@media (max-width: 760px) { .row-nav { display: none; } }
.section-head-link { color: var(--accent-ink); font-size: 0.88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-head-link:hover { text-decoration: underline; }

/* ---------- Kategorie-Chips ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.chip {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px);
  color: var(--muted); font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.chip:hover { color: var(--text); border-color: var(--text); transform: translateY(-1px); }
.chip.active { background: var(--gradient); color: #061320; border-color: transparent; box-shadow: 0 8px 20px rgba(224, 151, 63, 0.35); }

/* ---------- Bilder-Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  padding: 8px 0 80px;
}
.listing-card {
  display: block; text-decoration: none; color: inherit; position: relative;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.listing-card:hover { transform: translateY(-6px); border-color: rgba(224, 151, 63, 0.4); box-shadow: 0 18px 40px rgba(224, 151, 63, 0.18); }
.listing-thumb { position: relative; aspect-ratio: 42 / 59.7; background: var(--bg-2); overflow: hidden; box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45); }
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.listing-thumb.fit-contain img, .hero-frame.fit-contain img, .item-image.fit-contain .frame img, .item-image.fit-contain .item-thumb img {
  object-fit: contain; background: var(--surface-solid);
}
.listing-card:hover .listing-thumb img { transform: scale(1.06); }
.listing-thumb .unavailable-badge {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 17, 32, 0.72);
  color: #fff; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.listing-thumb .set-badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--gradient); color: #061320; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.listing-thumb .new-badge {
  position: absolute; top: 10px; right: 10px; padding: 3px 11px; border-radius: 999px;
  background: var(--green); color: #052016; font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 10px rgba(55, 201, 142, 0.55);
  animation: new-badge-pulse 2.4s ease-in-out infinite;
}
@keyframes new-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 10px rgba(55, 201, 142, 0.55); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 2px 16px rgba(55, 201, 142, 0.85); }
}
.listing-info { padding: 14px 16px 16px; }
.listing-info .category { color: var(--accent-ink); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.listing-info h3 { margin: 4px 0 2px; font-size: 1rem; font-weight: 600; }
.listing-info .artist { color: var(--muted); font-size: 0.8rem; margin-bottom: 8px; }
.listing-info-row { display: flex; justify-content: space-between; align-items: center; }
.listing-info .price-from { color: var(--muted); font-size: 0.88rem; }
.go-arrow {
  width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center;
  font-size: 0.9rem; color: var(--muted); transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.listing-card:hover .go-arrow { background: var(--gradient); color: #061320; border-color: transparent; }

/* Auf dem Handy zwei Anzeigen nebeneinander, mit etwas kompakterem Text. */
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .listing-info { padding: 10px 10px 12px; }
  .listing-info .category { font-size: 0.66rem; }
  .listing-info h3 { font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .listing-info .artist { font-size: 0.74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .listing-info .price-from { font-size: 0.8rem; }
  .go-arrow { width: 22px; height: 22px; font-size: 0.8rem; }
  .listing-thumb .set-badge, .listing-thumb .new-badge { top: 6px; padding: 2px 8px; font-size: 0.62rem; }
  .listing-thumb .set-badge { left: 6px; }
  .listing-thumb .new-badge { right: 6px; }
}

.grid-empty {
  text-align: center; color: var(--muted); padding: 90px 24px; margin: 8px 0 60px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02);
}
.grid-empty .icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; background: var(--gradient);
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(224, 151, 63, 0.3);
}
.grid-empty .icon svg { width: 26px; height: 26px; stroke: #061320; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grid-empty strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- Material ---------- */
/* Bewusst ohne Kasten/Border: haebt sich so vom CTA-Banner direkt darunter ab,
   statt wie ein zweiter, fast identischer Block direkt drunter zu wirken. */
.material-section { margin-block: 70px; }
.material-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 0;
}
@media (max-width: 760px) { .material-grid { grid-template-columns: 1fr; } }
.material-photos { display: flex; gap: 16px; }
.material-photo {
  flex: 1; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.material-photo img { width: 100%; height: 100%; object-fit: cover; }
.material-text h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 10px 0 14px; font-weight: 700; letter-spacing: -0.01em; }
.material-text p:not(.eyebrow) { color: var(--muted); margin: 0; }

/* ---------- CTA-Banner ---------- */
.cta-banner {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line); margin: 20px 0 80px;
  background:
    radial-gradient(520px 320px at 0% 0%, rgba(224, 151, 63, 0.18), transparent 65%),
    radial-gradient(420px 320px at 100% 100%, rgba(61, 98, 120, 0.2), transparent 60%),
    var(--bg-2);
}
@media (max-width: 760px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner-text { padding: 56px; }
.cta-banner-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; font-weight: 700; letter-spacing: -0.02em; }
.cta-banner-text p { color: var(--muted); margin: 0 0 26px; max-width: 30em; }
.cta-banner-text .btn span { display: inline-block; transition: transform 0.2s; }
.cta-banner-text .btn:hover span { transform: translateX(3px); }
.cta-banner-art {
  align-self: stretch; min-height: 260px; background-size: cover; background-position: center;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%, 0% 22%, 9% 14%, 4% 6%);
  transition: opacity 0.4s ease;
}
@media (max-width: 760px) { .cta-banner-art { clip-path: none; min-height: 200px; } .cta-banner-text { padding: 40px 28px; } }

.cta-banner.reverse { grid-template-columns: 0.9fr 1.1fr; }
.cta-banner.reverse .cta-banner-text { order: 2; }
.cta-banner.reverse .cta-banner-art { order: 1; clip-path: polygon(82% 0, 0% 0, 0% 100%, 100% 100%, 100% 22%, 91% 14%, 96% 6%); }
@media (max-width: 760px) { .cta-banner.reverse .cta-banner-art { clip-path: none; } }

/* ---------- Item-Seite ---------- */
.item-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr); gap: 32px; padding: 18px 0 40px; align-items: start; }
@media (max-width: 860px) { .item-page { grid-template-columns: minmax(0, 1fr); } }
.item-image { position: sticky; top: calc(80px + env(safe-area-inset-top, 0px)); }
.item-image .frame {
  position: relative; aspect-ratio: 42 / 59.7; max-height: calc(100vh - 100px); border-radius: var(--radius); overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 0 90px rgba(0, 0, 0, 0.5); margin-inline: auto;
}
.item-image .frame img { width: 100%; height: 100%; object-fit: cover; }
.item-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(10, 10, 12, 0.55); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background 0.15s;
}
.item-nav:hover { background: rgba(10, 10, 12, 0.8); }
.item-nav.prev { left: 10px; }
.item-nav.next { right: 10px; }
.item-thumbs { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.item-thumb {
  width: 48px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid transparent;
  padding: 0; cursor: pointer; opacity: 0.6; transition: opacity 0.15s, border-color 0.15s;
}
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-thumb:hover { opacity: 0.9; }
.item-thumb.active { opacity: 1; border-color: var(--accent); }
@media (max-width: 860px) { .item-image { position: static; max-width: 300px; margin-inline: auto; } }

.item-category-row { display: flex; align-items: center; gap: 10px; }
.item-category { color: var(--accent-ink); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.new-badge-inline {
  padding: 2px 9px; border-radius: 999px; background: var(--green); color: #052016;
  font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.item-info h1 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 4px 0 6px; letter-spacing: -0.02em; }
.item-info .description { color: var(--muted); margin: 0 0 12px; white-space: pre-line; font-size: 0.9rem; line-height: 1.45; }
.item-info .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.item-info .tags span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 0.74rem; color: var(--muted); }

.size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
@media (max-width: 420px) { .size-grid { grid-template-columns: 1fr; } }
.size-option {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px;
  padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; background: var(--surface);
  transition: border-color 0.15s, background 0.15s;
}
.size-option:hover { border-color: var(--text); }
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option.selected { border-color: var(--accent); background: rgba(224, 151, 63, 0.1); box-shadow: 0 0 0 3px rgba(224, 151, 63, 0.12); }
.size-option .label { font-weight: 600; font-size: 0.86rem; }
.size-option .dims { color: var(--muted); font-size: 0.72rem; }
.size-option .price { font-weight: 700; font-family: inherit; font-size: 0.9rem; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.qty-row .stepper { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.qty-row .stepper button { background: var(--surface); border: 0; color: var(--text); width: 30px; height: 30px; font-size: 1.05rem; cursor: pointer; }
.qty-row .stepper button:hover { background: var(--surface-hover); }
.qty-row .stepper span { width: 34px; text-align: center; font-weight: 600; }

.unavailable-note {
  padding: 12px 14px; border-radius: 10px; background: rgba(255, 122, 122, 0.1); border: 1px solid rgba(255, 122, 122, 0.3);
  color: var(--red); font-size: 0.88rem; font-weight: 600; margin-bottom: 18px;
}
.set-info {
  padding: 10px 14px; border-radius: 10px; background: rgba(224, 151, 63, 0.1); border: 1px solid rgba(224, 151, 63, 0.3);
  color: var(--muted); font-size: 0.86rem; margin-bottom: 18px;
}
.set-info strong { color: var(--text); }
.set-info a { color: var(--accent-ink); text-decoration: underline; }

/* ---------- Formulare ---------- */
label { font-weight: 600; font-size: 0.88rem; display: block; margin-bottom: 8px; color: #c9cfdc; }
input[type='text'], input[type='email'], input[type='number'], input[type='password'], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  font: inherit; font-size: 0.95rem; background: rgba(0, 0, 0, 0.22); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 151, 63, 0.16); }
input:disabled { opacity: 0.5; }
select option { background: var(--surface-solid); }
textarea { resize: vertical; min-height: 84px; }
input[type='checkbox'] { accent-color: var(--accent); width: 17px; height: 17px; }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { color: var(--muted); font-size: 0.84rem; margin: 6px 0 0; }
.error {
  color: var(--red); background: rgba(255, 122, 122, 0.1); border: 1px solid rgba(255, 122, 122, 0.3);
  border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; font-weight: 500;
}

.panel { background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.panel h2 { font-size: 1.05rem; margin: 0 0 18px; }

.summary { border-top: 1px dashed var(--line-strong); padding-top: 10px; margin-top: 4px; margin-bottom: 14px; }
.summary-line { display: flex; justify-content: space-between; margin: 4px 0; color: var(--muted); font-size: 0.88rem; }
.summary-line.total { color: var(--text); font-weight: 800; font-size: 1.1rem; margin-top: 6px; }

.success {
  text-align: center; padding: 56px 24px; max-width: 560px; margin: 64px auto; position: relative; overflow: hidden;
  background:
    radial-gradient(420px 280px at 50% 0%, rgba(224, 151, 63, 0.22), transparent 65%),
    radial-gradient(360px 260px at 100% 100%, rgba(163, 68, 99, 0.18), transparent 60%),
    var(--surface-solid);
}
.success .big { font-size: 3rem; }
.success p { color: var(--muted); }
.success strong { color: var(--text); }

.legal { padding: 64px 0 96px; max-width: 760px; }
.legal p { color: var(--muted); }
.legal h2 { font-size: 1.15rem; margin: 32px 0 10px; letter-spacing: -0.01em; }
.legal ol, .legal ul { color: var(--muted); padding-left: 20px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal .legal-note {
  padding: 12px 16px; border-radius: 10px; background: rgba(224, 151, 63, 0.1); border: 1px solid rgba(224, 151, 63, 0.3);
  color: var(--accent-ink); font-size: 0.88rem; margin-bottom: 28px;
}

.footer { border-top: 1px solid var(--line); padding: 44px 0 28px; color: var(--muted); font-size: 0.9rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer-top { display: flex; align-items: center; padding-bottom: 28px; }
.footer-top .logo { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; }

/* ---------- Bezahlung ---------- */
.paypal-buttons { margin: 18px 0 12px; color-scheme: normal; min-height: 10px; }
.pay-test {
  margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 0.88rem;
  color: var(--info-ink); background: rgba(77, 163, 255, 0.1); border: 1px solid rgba(77, 163, 255, 0.3);
}
.test-banner {
  padding: 6px 16px; text-align: center; font-size: 0.82rem; color: var(--info-ink);
  background: rgba(77, 163, 255, 0.12); border-bottom: 1px solid rgba(77, 163, 255, 0.3);
}

/* ---------- Admin ---------- */
.admin-login { max-width: 400px; margin: 96px auto; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 36px 0 20px; }
.toolbar h1 { margin: 0; letter-spacing: -0.02em; }
.tabs { display: flex; gap: 8px; }
.tab-btn { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.tab-btn.active { background: var(--gradient); border-color: transparent; color: #061320; }
.tab-btn .badge { margin-left: 6px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: rgba(77, 163, 255, 0.14); color: var(--info-ink); }
.badge.in_produktion { background: rgba(77, 163, 255, 0.14); color: var(--info-ink); }
.badge.versendet { background: rgba(55, 201, 142, 0.16); color: var(--green); }
.badge.storniert { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.badge.zahlung_offen { background: rgba(255, 122, 122, 0.14); color: var(--red); }
.badge.neu { background: rgba(77, 163, 255, 0.14); color: var(--info-ink); }
.badge.offen { background: rgba(255, 122, 122, 0.14); color: var(--red); }
.badge.beantwortet { background: rgba(77, 163, 255, 0.14); color: var(--info-ink); }
.badge.geschlossen { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.badge.verfuegbar { background: rgba(55, 201, 142, 0.16); color: var(--green); }
.badge.nicht_verfuegbar { background: rgba(255, 122, 122, 0.14); color: var(--red); }
.error-text { color: var(--red); }

.orders, .tickets, .listings-admin { display: grid; gap: 16px; padding-bottom: 60px; }
.order, .ticket, .listing-row {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.ticket { grid-template-columns: 1fr; }
@media (max-width: 640px) { .order, .listing-row { grid-template-columns: 1fr; } }
.order-preview, .listing-thumb-admin {
  aspect-ratio: 42 / 59.7; background: var(--bg-2); border-radius: 12px; overflow: hidden; display: grid; place-items: center;
}
.order-preview img, .listing-thumb-admin img { width: 100%; height: 100%; object-fit: cover; }
.order h3, .listing-row h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order dl, .listing-row dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0; font-size: 0.9rem; }
.order dt, .listing-row dt { color: var(--muted); }
.order dd, .listing-row dd { margin: 0; }
.order-actions, .listing-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.order-actions select { width: auto; padding: 8px 12px; }

.ticket h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1rem; }
.ticket .hint { margin-bottom: 14px; }
.thread { display: grid; gap: 10px; margin: 14px 0; }
.msg { padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; white-space: pre-line; max-width: 85%; }
.msg.kunde { background: var(--bg-2); border: 1px solid var(--line); justify-self: start; }
.msg.shop { background: rgba(224, 151, 63, 0.12); border: 1px solid rgba(224, 151, 63, 0.25); justify-self: end; }
.msg .meta { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.reply-box { display: grid; gap: 10px; margin-top: 14px; }
.reply-box textarea { min-height: 80px; }

.upload-form { display: grid; gap: 14px; }
.file-drop {
  display: block; border: 2px dashed var(--line-strong); border-radius: 12px; padding: 24px; text-align: center;
  cursor: pointer; color: var(--muted); transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--accent); color: var(--text); background: rgba(224, 151, 63, 0.06); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 0; color: var(--text); cursor: pointer; }

.create-mode-tabs { display: flex; gap: 8px; margin-bottom: 18px; }

.listing-form-layout { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 28px; }
.listing-form-image { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 20px; }
.listing-form-image .file-drop {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; flex: 1; min-height: 280px; padding: 20px;
}
#file-drop-text { position: relative; z-index: 2; }
#file-drop-text.file-drop-hint {
  align-self: flex-end; margin: 0 0 10px; padding: 5px 14px; border-radius: 999px;
  background: rgba(10, 10, 12, 0.72); font-size: 0.78rem; font-weight: 500;
}
.main-drop-preview { position: absolute; inset: 0; z-index: 1; }
.main-drop-preview .main-drop-thumb { width: 100%; height: 100%; border-radius: inherit; }
.main-drop-preview .main-drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-form-fields { display: grid; gap: 14px; align-content: start; }
@media (max-width: 760px) {
  .listing-form-layout { grid-template-columns: 1fr; }
  .listing-form-image { position: static; }
}

.file-preview-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-top: -4px; }
.file-preview-grid .thumb { position: relative; width: 130px; height: 130px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); }
.file-preview-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb { position: relative; }
.thumb .thumb-actions { position: absolute; top: 4px; right: 4px; display: flex; gap: 4px; }
.thumb button {
  width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(10, 10, 12, 0.75); color: #fff; font-size: 0.85rem; line-height: 1; cursor: pointer;
}

.size-check-list { display: grid; gap: 8px; }
.size-check-row {
  display: grid; grid-template-columns: auto 1fr 90px; align-items: center; gap: 10px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 500;
}
.size-check-row span { font-size: 0.86rem; color: var(--text); }
.size-check-row input[type='checkbox'] { accent-color: var(--accent); width: 16px; height: 16px; }
.size-check-row input[type='number'] { padding: 6px 8px; font-size: 0.82rem; }
.size-check-row:has(input[type='checkbox']:not(:checked)) { opacity: 0.5; }

.bulk-draft { display: grid; grid-template-columns: 160px 1fr; gap: 16px; margin-top: 14px; }
.bulk-draft-images { display: grid; gap: 8px; align-content: start; }
.bulk-draft-images .bd-images-grid { margin-top: 0; }
.bulk-draft .bulk-draft-fields { display: grid; gap: 10px; }
@media (max-width: 560px) { .bulk-draft { grid-template-columns: 1fr; } }

.edit-image-gallery { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.edit-image-gallery .thumb { position: relative; width: 130px; height: 130px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); }
.edit-image-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-drop.small { padding: 10px; font-size: 0.82rem; }

.set-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; max-height: 320px; overflow-y: auto; padding: 4px; }
.set-picker-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; border-radius: 10px;
  border: 2px solid var(--line); cursor: pointer; text-align: center; background: var(--surface);
}
.set-picker-item.selected { border-color: var(--accent); background: rgba(224, 151, 63, 0.1); }
.set-picker-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
.set-picker-item span { font-size: 0.74rem; color: var(--muted); line-height: 1.3; }
.set-picker-item input { position: absolute; opacity: 0; pointer-events: none; }

.focus-picker-overlay {
  position: fixed; inset: 0; background: rgba(5, 5, 8, 0.78); display: grid; place-items: center;
  z-index: 1000; padding: 20px; overflow-y: auto;
}
.focus-picker { max-width: 420px; width: 100%; display: grid; gap: 14px; margin: auto; }
.focus-picker h3 { margin: 0; font-size: 1.05rem; }
.focus-picker-frame {
  position: relative; width: 100%; aspect-ratio: 42 / 59.7; max-height: 70vh; background: #000; border-radius: 10px;
  overflow: hidden; cursor: grab; touch-action: none; margin: 0 auto;
}
.focus-picker-frame.dragging { cursor: grabbing; }
.focus-picker-frame img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.focus-picker-grid { position: absolute; inset: 0; pointer-events: none; }
.fp-grid-line { position: absolute; background: rgba(255, 255, 255, 0.35); }
.fp-grid-line.fp-grid-v { top: 0; bottom: 0; width: 1px; }
.fp-grid-line.fp-grid-h { left: 0; right: 0; height: 1px; }
.focus-picker-zoom { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.focus-picker-zoom input[type='range'] { flex: 1; }
.focus-picker-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- "Baue dein eigenes Set" ---------- */
.set-builder-page { padding-bottom: 120px; }
.set-builder-intro { max-width: 640px; margin: 32px 0 24px; }
.set-builder-intro h1 { margin: 0 0 10px; }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; padding: 8px 0; }
.pick-card {
  display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; padding: 0; appearance: none; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.pick-card:hover { transform: translateY(-4px); border-color: rgba(224, 151, 63, 0.4); }
.pick-card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.pick-card .pick-check {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(10, 10, 12, 0.55); border: 2px solid rgba(255, 255, 255, 0.6); color: transparent;
  display: grid; place-items: center; font-size: 0.9rem; font-weight: 700; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pick-card.selected .pick-check { background: var(--gradient); border-color: transparent; color: #061320; }

.set-builder-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(8px); border-top: 1px solid var(--line);
}
.set-builder-bar-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.set-builder-bar-row #builder-count { font-weight: 600; }
.set-builder-bar-row .error { margin: 0; }
.set-builder-bar-row .btn { margin-left: auto; }
.set-builder-bar-row .btn:disabled { opacity: 0.5; cursor: not-allowed; }
