:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --bg-muted: #141414;
  --fg: #f5f5f5;
  --fg-muted: #9a9a9a;
  --border: #242424;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, .font-display {
  font-family: "Bebas Neue", system-ui, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: #fff; color: #000; }

.announcement {
  background: #000;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px;
}
.top-util {
  display: none;
  justify-content: flex-end;
  gap: 20px;
  padding: 8px 24px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .top-util { display: flex; } }
.top-util a:hover { color: var(--fg); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,5,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 0.18em;
}
.nav-links {
  display: none;
  gap: 28px;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); border-bottom: 1px solid #fff; padding-bottom: 2px; }
.nav-icons { display: flex; align-items: center; gap: 16px; }
.nav-icons a { position: relative; }
.badge {
  position: absolute;
  top: -8px; right: -10px;
  background: #fff; color: #000;
  font-size: 10px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.menu-btn {
  background: none; border: none; color: #fff; cursor: pointer;
  padding: 0; display: inline-flex; align-items: center;
}
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* Icons: nie in Flex-Layouts strecken */
svg.icon,
.icon {
  display: inline-block !important;
  vertical-align: middle;
  flex: none !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  align-self: center !important;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  box-sizing: content-box;
}
.nav-icons svg.icon {
  width: 20px !important;
  height: 20px !important;
}
.btn-primary svg.icon,
.btn-ghost svg.icon,
.section-head svg.icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}
.add-mini svg.icon,
.qty-btn svg.icon {
  width: 12px !important;
  height: 12px !important;
  max-width: 12px !important;
  max-height: 12px !important;
}
.nav-icons a,
.nav-icons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.btn-primary .icon,
.btn-ghost .icon,
.section-head a .icon {
  margin-left: 6px;
}
a.with-icon-start {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
a.with-icon-start .icon {
  margin: 0;
}
.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(36,36,36,.5);
}

main { flex: 1; }

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: .2s;
}
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e8e8e8; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-ghost:hover { background: #fff; color: #000; }

.input, .textarea, select.input {
  width: 100%;
  background: #0c0c0c;
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.input:focus, .textarea:focus { border-color: #666; }
.textarea { min-height: 120px; resize: vertical; }
.label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 45%, rgba(0,0,0,.25) 100%),
              linear-gradient(0deg, rgba(0,0,0,.7), transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 720px;
}
.hero-tag {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 80px);
  line-height: 0.92;
  margin: 0 0 24px;
}
.hero p {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 420px;
  line-height: 1.6;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.section { padding: 64px 24px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.section-head h2 { font-size: clamp(32px, 5vw, 48px); margin: 0; }
.section-head a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.section-head a:hover { color: var(--fg); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 16px;
  align-items: start;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
  }
}
@media (min-width: 900px) {
  .product-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .product-grid.cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  position: relative;
}
.product-card .img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-muted);
  overflow: hidden;
  flex-shrink: 0;
}
.product-card .img-wrap img,
.product-card .img-wrap .img-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.product-card .img-wrap .img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--bg-muted);
}
.product-card:hover .img-wrap img { transform: scale(1.04); }
.pill {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
  pointer-events: none;
}
.pill.sale {
  left: auto;
  right: 12px;
  background: rgba(0,0,0,.8);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.product-meta {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  align-items: flex-start;
}
.product-meta .name {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.product-meta .price {
  font-size: 14px;
  line-height: 1.4;
}
.product-meta .old {
  color: var(--fg-muted);
  text-decoration: line-through;
  font-size: 12px;
  margin-left: 8px;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 14px;
}
.swatch {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  flex: 0 0 14px;
  box-sizing: border-box;
}
.product-meta form {
  margin: 0;
  padding-top: 4px;
  width: auto;
  border: 0;
}
.add-mini {
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--fg-muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}
.add-mini:hover { color: var(--fg); }
.add-mini .cart-plus {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
}

.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; }
.trust-item strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.trust-item span { font-size: 14px; color: var(--fg-muted); }

.site-footer { border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 56px 24px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 16px;
  font-family: inherit;
  font-weight: 600;
}
.footer-grid a { display: block; font-size: 14px; margin-bottom: 8px; }
.footer-grid a:hover { opacity: .7; }
.footer-bottom {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.page { padding: 48px 24px; max-width: 1100px; margin: 0 auto; }
.page.narrow { max-width: 640px; }
.page h1 { font-size: clamp(40px, 6vw, 56px); margin: 0 0 8px; }
.page .lead { color: var(--fg-muted); margin-bottom: 40px; }
.muted { color: var(--fg-muted); }
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.account-section-title {
  font-size: 28px;
  margin: 0 0 16px;
}
.text-back {
  display: inline-flex;
  align-items: center;
  color: var(--fg-muted);
  font-size: 13px;
}
.text-back:hover { color: var(--fg); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  align-items: center;
}
.filters > a,
.filters > .status-btn {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  background: transparent;
  white-space: nowrap;
  line-height: 1.2;
  flex: 0 0 auto;
}
.filters > a.active,
.filters > a:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-card,
.order-detail {
  display: block;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 18px 20px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}
.order-card.is-active,
.order-detail {
  border-color: #555;
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.order-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
.order-card-info strong { font-size: 15px; }
.order-card-meta {
  color: var(--fg-muted);
  font-size: 13px;
}
.order-card-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  text-align: right;
}
.order-card-items {
  color: var(--fg-muted);
  font-size: 13px;
  margin: 12px 0 0;
  line-height: 1.45;
  word-break: break-word;
}
.order-card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.order-card-link:hover { color: var(--fg); border-color: #fff; }
.order-subhead {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 28px 0 12px;
  color: var(--fg-muted);
}
.order-item-placeholder {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: var(--bg-muted);
}

.address-block .address-lines {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
}
.address-form {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 20px;
}

.order-loading {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  opacity: 1;
  transition: opacity .4s ease;
}
.order-loading.is-done {
  opacity: 0;
  pointer-events: none;
}
.order-loading-inner {
  text-align: center;
  max-width: 320px;
}
.order-loading-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 24px;
  border: 2px solid var(--border);
  border-top-color: #fff;
  border-radius: 50%;
  animation: order-spin .7s linear infinite;
}
.order-loading-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.order-loading-sub {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
}
.order-loading-dots::after {
  content: "";
  animation: order-dots 1.2s steps(4, end) infinite;
}
.order-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.order-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes order-spin {
  to { transform: rotate(360deg); }
}
@keyframes order-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
  100% { content: ""; }
}

.alert {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  margin-bottom: 20px;
  font-size: 14px;
}
.alert.error { border-color: #662222; color: #ff8a8a; }
.alert.ok { border-color: #226633; color: #8dffb0; }

.form-stack { display: flex; flex-direction: column; gap: 18px; }
.product-detail {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-detail .img-wrap {
  aspect-ratio: 1;
  background: var(--bg-muted);
  overflow: hidden;
}
.product-detail .img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.cart-row {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.cart-row img { width: 80px; height: 80px; object-fit: cover; background: var(--bg-muted); }
.qty-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  background: transparent; color: #fff;
  cursor: pointer;
}
.notice-box {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 16px;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr 1fr; } }
.team-card .img-wrap {
  aspect-ratio: 4/5;
  background: var(--bg-muted);
  overflow: hidden;
  margin-bottom: 16px;
}
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 28px; margin: 0; }
.team-card .role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 4px;
}

.community-cta {
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.community-cta h2 { font-size: 48px; margin: 0 0 16px; }
.community-cta p { color: var(--fg-muted); margin-bottom: 28px; }
.community-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Admin */
.admin-wrap {
  display: flex;
  flex-direction: column;
  min-height: 70vh;
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .admin-wrap { flex-direction: row; align-items: stretch; }
}
.admin-side {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .admin-side {
    width: 220px;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
}
.admin-side nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
@media (min-width: 900px) {
  .admin-side nav {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
  }
}
.admin-side a,
.admin-side button.linkish {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  max-width: 100%;
}
.admin-side a.nav-sep { margin-top: 16px; }
.admin-side a:hover,
.admin-side button.linkish:hover { color: var(--fg); }
.admin-main {
  flex: 1;
  min-width: 0;
  padding: 24px;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}
.admin-card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 20px;
  margin-bottom: 16px;
  overflow: hidden;
}
.admin-grid-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .admin-grid-stats { grid-template-columns: repeat(3, 1fr); } }
.stat-card {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 24px;
}
.stat-card .n { font-family: "Bebas Neue", sans-serif; font-size: 36px; line-height: 1; }
.stat-card .l { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-muted); margin-top: 8px; }
.preview-img { width: 112px; height: 112px; object-fit: cover; margin-top: 12px; background: var(--bg-muted); }
.row-2 { display: grid; gap: 12px; }
@media (min-width: 700px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.status-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.status-offen { color: #f0c060; border-color: #6a5420; background: rgba(240,192,96,.08); }
.status-bezahlt { color: #7ec8ff; border-color: #2a4a66; background: rgba(126,200,255,.08); }
.status-geliefert { color: #b39cff; border-color: #4a3a6a; background: rgba(179,156,255,.08); }
.status-erledigt { color: #8dffb0; border-color: #2a5538; background: rgba(141,255,176,.08); }
.status-storniert { color: #ff8a8a; border-color: #662222; background: rgba(255,138,138,.08); }

.status-btn {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  font-family: inherit;
}
.status-btn:hover { color: var(--fg); border-color: #666; }
.status-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.status-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--border);
}
.status-timeline li {
  position: relative;
  padding: 0 0 18px 20px;
  color: var(--fg-muted);
  font-size: 14px;
}
.status-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  border: 2px solid #111;
}
.status-timeline li.done { color: var(--fg); }
.status-timeline li.done::before { background: #fff; }
.status-timeline li.current { font-weight: 700; }
.status-timeline li:last-child { padding-bottom: 0; }

