/* Spielzeugparadies branding, Safari-safe stacking and tier exclusives (Version 2.99). */
.activation-option{padding:16px;border:1px solid rgba(20,91,255,.16);border-radius:16px;background:rgba(255,255,255,.7)}
.activation-option h3{margin:0 0 12px;color:#14214a;font-size:1rem}
.activation-option form{margin:0}
.activation-divider{display:flex;align-items:center;gap:12px;margin:14px 0;color:#697394;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.activation-divider::before,.activation-divider::after{content:"";height:1px;flex:1;background:rgba(20,91,255,.16)}
.theme-collector .activation-option{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08)}
.theme-collector .activation-option h3{color:#fff}
.theme-collector .activation-divider{color:#dfe5ff}
.theme-collector .activation-divider::before,.theme-collector .activation-divider::after{background:rgba(255,255,255,.22)}
.activation-requirement{margin:16px 0;padding:14px 15px;border:1px solid #f0cf6a;border-radius:13px;background:#fff8d8;color:#65520c}
.activation-requirement strong{font-size:10px;letter-spacing:.02em}
.activation-requirement p{margin:5px 0 0;color:#65520c!important;font-size:9px;line-height:1.55}
.theme-collector .activation-requirement{border-color:rgba(217,180,91,.5);background:rgba(217,180,91,.12);color:#f1d88d}
.theme-collector .activation-requirement p{color:#e7d59f!important}
.logo-star {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #ff003d url("spielzeugparadies-logo-original.jpg") center / cover no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transform: none;
  box-shadow: 0 8px 18px rgba(255, 0, 61, .2);
}

/* Zweijähriger Kundenumsatz-Import (Version 2.34). */
.csv-mapping-grid{display:grid;grid-template-columns:1fr;gap:8px}
.csv-field-group{padding:8px;border:1px solid #d7e1f3;border-radius:10px;background:#fff}
.csv-field-group h4{margin:0 0 6px;color:#20345f;font-size:9px}
.csv-field-group>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:6px}
.csv-field-group label{display:grid;gap:3px;min-width:0;color:#4d5876;font-size:8px;font-weight:750}
.csv-field-current{border-color:#9dbaff;background:#eef4ff}
.csv-field-previous{border-color:#d7c892;background:#fff9df}
.turnover-year-links{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.turnover-year-links a{padding:4px 7px;border:1px solid #c7d5ef;border-radius:999px;background:#f4f7ff;color:#145bff;font-size:8px;font-weight:800}
.turnover-year-links a.active{background:#145bff;color:#fff}
@media(max-width:520px){.csv-field-group>div{grid-template-columns:1fr 1fr}}

.auth-visual .logo-star {
  width: 64px;
  height: 64px;
}

.admin-sidebar .logo-star {
  width: 54px;
  height: 54px;
}

.admin-sidebar .brand b {
  margin-left: 65px;
}

.logo-line .logo-star {
  width: 58px;
  height: 58px;
}

/*
 * WebKit/Safari paints positioned grid children in a separate stacking context.
 * Fixed layers keep the decorative red circle behind the copy and its buttons.
 */
.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero-actions,
.hero-actions .btn {
  position: relative;
  z-index: 4;
}

.hero-art {
  position: relative;
  z-index: 1;
  min-width: 0;
  isolation: isolate;
  pointer-events: none;
}

.hero-art::after {
  z-index: 0;
  pointer-events: none;
}

.hero-art img {
  z-index: 1;
}

.hero-cards {
  position: relative;
  z-index: 1;
  width: min(760px, 96%);
  height: 100%;
  padding: 24px 2% 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.3vw, 20px);
}

.hero-art .hero-cards img {
  width: min(30%, 225px);
  height: auto;
  max-width: none;
  max-height: 365px;
  object-fit: contain;
  border-radius: 3.8%;
  filter: drop-shadow(0 18px 22px rgba(10, 30, 80, .24));
}

.hero-art .arrival {
  z-index: 2;
  right: 50%;
  bottom: 18px;
  transform: translateX(50%);
  white-space: nowrap;
}

.order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.order-actions form {
  margin: 0;
}

.cancel-reservation {
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #f0b4b4;
  border-radius: 7px;
  background: #fff5f5;
  color: #b4232a;
  font-size: 8px;
  font-weight: 850;
}

.cancel-reservation:hover,
.cancel-reservation:focus-visible {
  border-color: #d64b51;
  background: #ffe6e7;
  outline: none;
}

.cancellation-confirmation-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 30px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #14214a;
  box-shadow: 0 28px 90px rgba(5, 18, 55, .38);
}

.cancellation-confirmation-dialog::backdrop {
  background: rgba(4, 13, 38, .76);
  backdrop-filter: blur(6px);
}

.cancellation-dialog-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff0f0;
  color: #b4232a;
  font-size: 24px;
  font-weight: 900;
}

.cancellation-confirmation-dialog h2 {
  margin: 0 0 8px;
  font-size: clamp(23px, 4vw, 30px);
  letter-spacing: -.035em;
}

.cancellation-dialog-product {
  margin: 0 0 18px;
  color: #405172;
  font-size: 15px;
  font-weight: 850;
}

.cancellation-dialog-warning {
  margin: 0 0 18px;
  padding: 17px;
  border: 1px solid #ef9b9f;
  border-radius: 14px;
  background: #fff3f3;
  color: #6f171c;
}

.cancellation-dialog-warning > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.cancellation-dialog-warning p {
  margin: 5px 0 0;
  line-height: 1.55;
}

.cancellation-dialog-points {
  padding-top: 9px;
  border-top: 1px solid #efc1c3;
}

.cancellation-dialog-acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid #d7deec;
  border-radius: 12px;
  background: #f7f9fd;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.cancellation-confirmation-dialog [hidden] {
  display: none !important;
}

.cancellation-dialog-acknowledgement input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: #b4232a;
}

.cancellation-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.cancellation-dialog-actions .danger {
  border-color: #b4232a;
  background: #b4232a;
  color: #fff;
}

.cancellation-dialog-actions .danger:hover,
.cancellation-dialog-actions .danger:focus-visible {
  background: #8e151b;
}

.cancellation-dialog-actions .danger:disabled {
  border-color: #c9ced8;
  background: #c9ced8;
  cursor: not-allowed;
  opacity: .75;
}

@media (max-width: 560px) {
  .cancellation-confirmation-dialog {
    padding: 23px 18px;
    border-radius: 18px;
  }

  .cancellation-dialog-actions {
    display: grid;
  }

  .cancellation-dialog-actions .danger {
    grid-row: 1;
  }
}

.password-help {
  margin: -7px 0 14px;
  text-align: right;
  font-size: 12px;
  font-weight: 750;
}

.password-help a {
  color: #145bff;
}

.push-template-form {
  display: grid;
  gap: 18px;
}

.push-template-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  background: #f8faff;
}

.push-template-card legend {
  padding: 0 8px;
  color: #14214a;
  font-weight: 850;
}

.push-template-card small {
  color: #667085;
  line-height: 1.5;
}

.restock-push-template {
  border-color: #b8e3d3;
  background: linear-gradient(145deg,#f1fcf7,#eef7ff);
}

.push-group-counts {
  margin: 4px 0 20px;
  display: grid;
  grid-template-columns: repeat(6,minmax(90px,1fr));
  gap: 9px;
}

.push-group-counts span {
  padding: 12px 10px;
  display: grid;
  gap: 3px;
  border: 1px solid #dbe4f4;
  border-radius: 11px;
  background: #f5f8ff;
  text-align: center;
}

.push-group-counts strong,.push-group-counts small {color:#66738e;font-size:8px}
.push-group-counts b {color:#145bff;font-size:21px}
.custom-group-push-form,.custom-customer-push-form {max-width:850px}
.group-recipient-preview {margin:0;padding:11px 13px;border-left:4px solid #145bff;border-radius:8px;background:#edf3ff;color:#17366f;font-size:10px;font-weight:800}

@media(max-width:900px){.push-group-counts{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){.push-group-counts{grid-template-columns:repeat(2,1fr)}}

/* Black-Card Kundenkarte, Installationsassistent und Admin-Meldungen (Version 2.48). */
.dashboard.orders-only{grid-template-columns:minmax(0,1fr)}
.black-card-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:58px 24px 24px;border:1px solid rgba(255,255,255,.16);border-radius:28px;background:rgba(5,7,10,.96);box-shadow:0 34px 110px rgba(0,0,0,.66)}
.black-card-dialog::backdrop{background:rgba(2,4,9,.82);backdrop-filter:blur(10px)}
.black-card-dialog .customer-card-dialog-body{padding:0}
.black-card-dialog .customer-card-close,.black-card-dialog .customer-card-download{position:absolute;z-index:3;top:12px;width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:#11151b;color:#f5f7fa;font-size:22px;line-height:1}
.black-card-dialog .customer-card-close{right:12px}
.black-card-dialog .customer-card-download{right:60px;font-size:19px;font-weight:850}
.black-customer-card{--black-card-accent:#4e7dff;--black-card-accent-two:#fe3158;position:relative;aspect-ratio:1.588/1;min-height:0;padding:30px;overflow:hidden;border:1px solid rgba(255,255,255,.17);border-radius:24px;background:linear-gradient(135deg,#030405 0%,#15191e 54%,#030405 100%);color:#fff;box-shadow:inset 0 1px 1px rgba(255,255,255,.16),0 24px 54px rgba(0,0,0,.46)}
.black-customer-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(126deg,transparent 0 25px,color-mix(in srgb,var(--black-card-accent-two) 11%,transparent) 26px,color-mix(in srgb,var(--black-card-accent-two) 11%,transparent) 27px,transparent 28px 52px);opacity:.42}
.black-customer-card::after{content:"";position:absolute;left:30px;right:30px;top:24px;height:3px;border-radius:4px;background:linear-gradient(90deg,var(--black-card-accent),var(--black-card-accent-two));box-shadow:0 0 20px color-mix(in srgb,var(--black-card-accent) 50%,transparent)}
.theme-collector .black-customer-card{--black-card-accent:#d9b45b;--black-card-accent-two:#eef2f7}
.black-customer-card>*{position:relative;z-index:1}
.black-customer-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}
.black-customer-card header img{width:52px;height:52px;padding:5px;object-fit:contain;border-radius:13px;background:#fff}
.black-customer-card header strong{color:#f7f8fa;font-size:20px;letter-spacing:-.02em}
.black-customer-card header span{min-width:54px;padding:7px 10px;border:1px solid var(--black-card-accent);border-radius:6px;color:var(--black-card-accent);font-size:12px;font-weight:900;letter-spacing:.14em;text-align:center}
.black-customer-card>section{margin:auto 0 22px;display:grid;gap:5px}
.black-customer-card>section small{color:#9299a3;font-size:8px;font-weight:800;letter-spacing:.17em}
.black-customer-card>section strong{color:#fff;font-size:24px;letter-spacing:.015em}
.black-customer-card footer{margin:0;display:block}
.black-customer-card footer>div{padding:10px 18px 7px;border-radius:12px;background:#fff;text-align:center}
.black-customer-card footer svg{width:100%;height:62px;fill:#07090c}
.black-customer-card footer strong{display:block;color:#07090c;font-size:10px;letter-spacing:.19em}

.app-install-onboarding{width:min(650px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:34px;border:0;border-radius:28px;background:#fff;color:#15213d;box-shadow:0 32px 110px rgba(4,15,45,.48)}
.app-install-onboarding::backdrop{background:rgba(3,10,29,.78);backdrop-filter:blur(8px)}
.theme-collector .app-install-onboarding{border:1px solid rgba(217,180,91,.45);background:linear-gradient(145deg,#151b25,#080b11);color:#edf1f7}
.app-install-close{position:absolute;top:14px;right:14px;width:40px;height:40px;padding:0;border:1px solid #d8e1ef;border-radius:50%;background:#fff;color:#243454;font-size:22px}
.theme-collector .app-install-close{border-color:#394455;background:#101620;color:#fff}
.app-install-brand{display:flex;align-items:center;gap:11px;color:#145bff;font-size:9px;font-weight:900;letter-spacing:.13em}
.theme-collector .app-install-brand{color:#e1c678}
.app-install-brand img{width:46px;height:46px;padding:4px;border-radius:12px;background:#fff;object-fit:contain}
.app-install-onboarding h2{margin:20px 0 10px;color:#0d1c3d;font-size:34px;line-height:1.08;letter-spacing:-.045em}
.theme-collector .app-install-onboarding h2{color:#f5f7fa}.app-install-onboarding h2 em{color:#145bff;font-style:normal}.theme-collector .app-install-onboarding h2 em{color:#e1c678}
.app-install-onboarding>p{margin:0;color:#65718a;font-size:11px;line-height:1.65}.theme-collector .app-install-onboarding>p{color:#aeb8c8}
.app-install-onboarding ol{margin:24px 0;padding:0;display:grid;gap:9px;list-style:none}
.app-install-onboarding li{padding:13px;display:grid;grid-template-columns:35px 1fr 28px;align-items:center;gap:11px;border:1px solid #dce4f2;border-radius:14px;background:#f7f9fd}
.theme-collector .app-install-onboarding li{border-color:#303a49;background:#111822}
.app-install-onboarding li>b{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e8efff;color:#145bff;font-size:12px}.theme-collector .app-install-onboarding li>b{background:#2b261a;color:#e1c678}
.app-install-onboarding li span{display:grid;gap:2px}.app-install-onboarding li strong{font-size:11px}.app-install-onboarding li small{color:#6d7890;font-size:8px;line-height:1.45}.theme-collector .app-install-onboarding li small{color:#99a5b6}
.app-install-onboarding li>i{color:#9aa5b8;font-size:20px;font-style:normal;text-align:center}.app-install-onboarding li.complete{border-color:#9edbc0;background:#f0fbf6}.app-install-onboarding li.complete>i{color:#0e9a65}.theme-collector .app-install-onboarding li.complete{border-color:#547d68;background:#13251f}
.app-install-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.app-install-actions .btn{width:100%}.app-install-later{grid-column:1/-1;padding:8px;border:0;background:transparent;color:#6a7690;font-size:9px;font-weight:800}.theme-collector .app-install-later{color:#aab4c3}
.app-install-status{margin-top:13px!important;padding:10px 12px;border-radius:9px;background:#edf3ff;color:#244b98!important;font-weight:800;text-align:center}.app-install-status[data-type="success"]{background:#eaf9f1;color:#08764e!important}.app-install-status[data-type="warning"]{background:#fff6df;color:#835d05!important}

.app-install-notifications .panel-head{align-items:center}.app-install-unread{padding:7px 11px;border-radius:999px;background:#fe0036;color:#fff;font-size:9px;font-weight:900}.app-install-list{margin:5px 0 18px;display:grid;gap:8px}.app-install-list article{padding:12px 14px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:12px;border:1px solid #dce4f1;border-radius:12px;background:#f7f9fc}.app-install-list article.unread{border-color:#8eb1ff;background:#eef4ff}.app-install-list article>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#dff7ec;color:#08764e;font-weight:900}.app-install-list article>div{display:grid;gap:3px}.app-install-list article small{color:#6a7690;font-size:8px}.app-install-list article>b{color:#08764e;font-size:8px;line-height:1.45;text-align:right}
.admin-sidebar nav a{position:relative}.admin-nav-unread{position:absolute;right:9px;top:50%;min-width:20px;height:20px;padding:0 6px;display:grid;place-items:center;transform:translateY(-50%);border-radius:999px;background:#fe3158;color:#fff;font-size:8px;font-weight:900;box-shadow:0 4px 12px rgba(254,49,88,.34)}

@media(max-width:620px){
  .black-card-dialog{padding:54px 10px 10px;border-radius:20px}
  .black-customer-card{padding:20px;border-radius:18px}
  .black-customer-card::after{left:20px;right:20px;top:16px}
  .black-customer-card header img{width:39px;height:39px;border-radius:9px}
  .black-customer-card header strong{font-size:14px}
  .black-customer-card header span{min-width:43px;padding:5px 7px;font-size:9px}
  .black-customer-card>section{margin-bottom:12px}.black-customer-card>section strong{font-size:17px}
  .black-customer-card footer>div{padding:6px 10px 4px}.black-customer-card footer svg{height:42px}.black-customer-card footer strong{font-size:7px}
  .app-install-onboarding{padding:27px 18px 20px;border-radius:21px}.app-install-onboarding h2{padding-right:26px;font-size:27px}.app-install-actions{grid-template-columns:1fr}.app-install-later{grid-column:auto}
  .app-install-list article{grid-template-columns:32px 1fr}.app-install-list article>b{grid-column:2;text-align:left}
}

.push-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #145bff;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.audience-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.audience-badge.gold {
  border: 1px solid #e3bd43;
  background: linear-gradient(135deg, #fff6c7, #f3cd55);
  color: #634b00;
}

.audience-badge.bronze {
  border: 1px solid #b97a4d;
  background: linear-gradient(135deg, #f6e3d1, #c98a5b);
  color: #57341e;
}

.audience-badge.silver {
  border: 1px solid #aab3c0;
  background: linear-gradient(135deg, #f8fafc, #c6ccd5);
  color: #374151;
}

.audience-badge.platinum {
  border: 1px solid #aab8cc;
  background: linear-gradient(135deg, #f7faff, #cad5e5);
  color: #33415a;
}

.audience-badge.ultimate {
  border: 1px solid #7c5cff;
  background: linear-gradient(135deg,#ffdf69,#ff4778 48%,#7c5cff);
  color: #fff;
}

.discount-badge {
  display: inline-flex;
  width: fit-content;
  margin-left: 6px;
  padding: 5px 8px;
  border: 1px solid #86cda9;
  border-radius: 6px;
  background: #e8fff2;
  color: #176b45;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.quota-badge {
  display:inline-flex;
  width:fit-content;
  margin-left:6px;
  padding:5px 8px;
  border:1px solid #9fbaff;
  border-radius:6px;
  background:#eef3ff;
  color:#174fbd;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
}

.reservation-start {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8d6;
  color: #6a5200;
  font-size: 9px;
  font-weight: 800;
}

.request-note {
  display: block;
  margin-top: 8px;
  color: #63708e;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.4;
}

.member-price { display:flex; align-items:baseline; gap:7px; flex-wrap:wrap; }
.member-price del { color:#7c879f; font-size:10px; }
.blurred-product-price{display:inline-grid;gap:3px;position:relative;min-width:76px;color:var(--navy)}
.blurred-product-price b{display:block;filter:blur(6px);opacity:.72;user-select:none;pointer-events:none;font-size:15px;line-height:1.05;white-space:nowrap}
.blurred-product-price small{color:var(--muted);font-size:7px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.blurred-product-price.detail b{font-size:24px;filter:blur(8px)}
.theme-collector .blurred-product-price{color:#fff}
.theme-collector .blurred-product-price small{color:#c3cede}
.mini-btn:disabled { opacity:.55; cursor:not-allowed; box-shadow:none; }
.reserve-form { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:6px; }
.reserve-quantity { width:48px; min-height:34px; padding:5px; border:1px solid #c9d7f2; border-radius:8px; background:#fff; color:#14214a; text-align:center; }
.reserve-quantity-field{display:grid;gap:2px;color:#6a7690;font-size:7px;font-weight:850;text-align:center;text-transform:uppercase}.reserve-quantity-field .reserve-quantity{font-size:12px;font-weight:800}.theme-collector .reserve-quantity-field{color:#b6c0d2}.theme-collector .reserve-quantity{border-color:rgba(213,224,241,.25);background:#17243a;color:#fff}
.request-priority-select{max-width:155px;min-height:34px;padding:5px 8px;border:1px solid #c9d7f2;border-radius:8px;background:#fff;color:#14214a;font-size:8px;font-weight:800}
.request-priority-badge{display:inline-flex;margin-top:4px;padding:3px 7px;border:1px solid #d3a81e;border-radius:999px;background:#fff5c7;color:#684b00;font-size:7px;font-weight:900;letter-spacing:.02em}
.repeat-request-badge{display:inline-flex;width:max-content;margin-top:4px;padding:3px 7px;border:1px solid #77a0ec;border-radius:999px;background:#edf3ff;color:#174ca8;font-size:7px;font-weight:900;letter-spacing:.02em}
.order-row.priority-request{margin-inline:0;border-radius:0;background:transparent;box-shadow:none}
.order-row.priority-request>i{background:linear-gradient(145deg,#ffe66e,#ffd229);color:#5f4c00;box-shadow:inset 0 0 0 1px rgba(161,122,0,.2)}
.theme-collector .request-priority-select{border-color:#4a5a74;background:#111b2c;color:#fff}
.theme-collector .request-priority-badge{border-color:#d9b83e;background:#342d10;color:#ffe985}
.theme-collector .repeat-request-badge{border-color:#6689c8;background:#172b4d;color:#dbe8ff}

.push-device-status {
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 9px;
  line-height: 1.45;
}

.push-device-status[data-type="success"] { border-color: rgba(111,231,171,.55); background: rgba(29,160,99,.22); color: #d8ffea; }
.push-device-status[data-type="warning"] { border-color: rgba(255,215,83,.5); color: #fff1b7; }
.push-device-status[data-type="error"] { border-color: rgba(255,129,135,.55); background: rgba(157,31,40,.25); color: #ffd7da; }
.admin-registration-push .push-device-status{display:block;border-color:#cbd7ec;background:#f5f8fd;color:#53627f}
.admin-registration-push .push-device-status[data-type="success"]{border-color:#9fd4b6;background:#eaf8f0;color:#17613d}
.admin-registration-push .push-device-status[data-type="warning"]{border-color:#e4c778;background:#fff8df;color:#765708}
.admin-registration-push .push-device-status[data-type="error"]{border-color:#e0aaae;background:#fff0f1;color:#8d2830}
.admin-push-optin-form{max-width:760px}

.push-icon-note {
  display: flex;
  align-items: center;
  gap: 13px;
}

.push-icon-note img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 14px;
  object-fit: cover;
}

.push-icon-note p {
  margin: 4px 0 0;
}

.logo-star.brand-logo {
  overflow: hidden;
  background: #fff;
  color: transparent;
}

.logo-star.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.branding-manager {
  max-width: 920px;
}

.branding-layout {
  display: grid;
  grid-template-columns: minmax(210px,.75fr) minmax(320px,1.25fr);
  gap: 22px;
  align-items: start;
}

.branding-preview {
  display: grid;
  gap: 8px;
  color: #4d5876;
  font-size: 9px;
  font-weight: 750;
}

.branding-preview img {
  width: 100%;
  height: 190px;
  padding: 16px;
  border: 1px solid #d8e1f2;
  border-radius: 15px;
  background: #f8faff;
  object-fit: contain;
}

.branding-layout > div:last-child {
  display: grid;
  gap: 14px;
}

.branding-help {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: #edf3ff;
  color: #52617e;
  font-size: 9px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .site-header .logo-star {
    width: 40px;
    height: 40px;
  }

  .auth-visual .logo-star {
    width: 52px;
    height: 52px;
  }

  .hero-cards {
    width: 100%;
    padding: 10px 3% 62px;
    gap: 12px;
  }

  .hero-art .hero-cards img {
    width: 46%;
    max-height: 220px;
  }

  .hero-art .hero-cards img:nth-child(3) {
    display: none;
  }

  .hero-art .arrival {
    bottom: 10px;
  }

  .order-actions {
    align-items: flex-end;
    flex-direction: column;
  }
}

.account-section {
  width: min(1320px, 92vw);
  margin: 65px auto 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  scroll-margin-top: 100px;
}

.membership-overview,
.profile-editor {
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(18, 42, 102, .11);
}

.membership-overview {
  background: linear-gradient(145deg, #071a50, #145bff 72%, #529eff);
  color: #fff;
}

.profile-editor {
  border: 1px solid var(--line);
  background: #fff;
}

.membership-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.membership-heading h2,
.profile-editor h2,
.profile-onboarding-card h1 {
  margin: 6px 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.05em;
}

.tier-orb {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: linear-gradient(135deg,#6aa9ff,#145bff 58%,#073a9e);
  color: #fff;
  font-size: 25px;
  text-shadow: 0 2px 6px rgba(0,0,0,.28);
  box-shadow: 0 12px 24px rgba(0,0,0,.16),0 0 0 4px rgba(255,255,255,.08);
}

.tier-orb.basis { background:linear-gradient(135deg,#6aa9ff,#145bff 58%,#073a9e);color:#fff; }
.tier-orb.bronze { background:linear-gradient(135deg,#f5c49c,#b76635 58%,#663018);color:#fff7ed; }
.tier-orb.silber { background:linear-gradient(135deg,#fff,#b8c2cc 55%,#697683);color:#263544; }
.tier-orb.gold { background:linear-gradient(135deg,#fff2a1,#d7a10d 58%,#805700);color:#604400; }
.tier-orb.platin { background:linear-gradient(135deg,#f2fbff,#9eb7c9 55%,#526d80);color:#22394a; }
.tier-orb.ultimate { background:linear-gradient(135deg,#282b31,#050608 62%,#000);color:#f2cc69;border-color:#d8bd78; }

.membership-stats {
  margin: 25px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.membership-stats.kp-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }

.reward-settings { max-width:1120px; }
.reward-settings fieldset,
.product-benefit-settings { padding:16px; border:1px solid #d5dff0; border-radius:13px; background:#f8faff; }
.reward-settings legend,
.product-benefit-settings legend { padding:0 7px; color:#22345d; font-size:11px; font-weight:900; }
.field-help { margin:0 0 13px; color:#687492; font-size:9px; line-height:1.55; }
.reward-config-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.tier-benefit-grid { display:grid; grid-template-columns:1fr 1fr 1.4fr; gap:8px; align-items:center; }
.tier-benefit-grid b { font-size:9px; color:#536174; }
.tier-benefit-grid strong { font-size:10px; }
.tier-benefit-grid input { width:100%; min-width:0; }
.quota-config { margin-top:14px; padding-top:13px; border-top:1px solid #d5dff0; }
.quota-config > strong { font-size:10px; }
.quota-config > p { margin:4px 0 10px; color:#687492; font-size:8px; line-height:1.5; }
.quota-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; margin-bottom:10px; }
.quota-grid label { min-width:0; }
.quota-grid input { width:100%; min-width:0; }

@media(max-width:900px){
  .membership-stats.kp-stats { grid-template-columns:1fr 1fr; }
  .reward-config-grid { grid-template-columns:1fr 1fr; }
  .quota-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media(max-width:600px){
  .membership-stats.kp-stats,.reward-config-grid { grid-template-columns:1fr; }
  .tier-benefit-grid { grid-template-columns:1fr 1fr 1fr; overflow-x:auto; }
  .quota-grid { grid-template-columns:1fr 1fr; }
}

.membership-stats article {
  padding: 17px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.09);
}

.membership-stats span,
.membership-stats small,
.membership-next span,
.membership-targets,
.membership-note,
.membership-ultimate span {
  color: rgba(255,255,255,.7);
  font-size: 9px;
  line-height: 1.5;
}

.membership-stats strong {
  max-width:100%;
  margin:5px 0 2px;
  font-size:clamp(19px,2vw,25px);
  line-height:1.08;
  letter-spacing:-.035em;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.membership-next { display:flex; flex-wrap:wrap; justify-content:space-between; gap:15px; align-items:flex-end; }
.membership-next div { min-width:0; display:flex; flex:1 1 250px; flex-direction:column; gap:4px; }
.membership-next span,.membership-targets span{overflow-wrap:anywhere}
.membership-next b { color:var(--yellow); font-size:18px; white-space:nowrap; }
.membership-progress { height:10px; margin:13px 0 8px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.16); }
.membership-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#ffd229,#ffef95); }
.membership-targets { display:flex; justify-content:space-between; gap:12px; }
.membership-note { margin:20px 0 0; padding-top:16px; border-top:1px solid rgba(255,255,255,.14); }
.status-protection { margin-top:14px; padding:10px 12px; border:1px solid rgba(255,210,41,.35); border-radius:9px; background:rgba(255,210,41,.12); color:#fff0a8; font-size:9px; line-height:1.5; }
.membership-ultimate { padding:18px; display:flex; flex-direction:column; gap:5px; border-radius:14px; background:rgba(255,210,41,.14); }

.profile-editor > p,
.profile-onboarding-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.customer-profile-form { display:grid; gap:15px; }
.profile-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.profile-form-grid label { display:grid; gap:6px; color:#4d5876; font-size:9px; font-weight:750; }
.profile-form-grid label.wide { grid-column:1/-1; }
.profile-form-grid input,
.profile-form-grid select {
  width:100%;
  min-height:43px;
  padding:10px 11px;
  border:1px solid #cdd7eb;
  border-radius:9px;
  background:#fff;
  color:var(--navy);
  outline:0;
}
.profile-form-grid input:focus,
.profile-form-grid select:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(20,91,255,.1); }
.profile-privacy { margin:0; color:var(--muted); font-size:8px; line-height:1.5; }
.customer-profile-form .btn { justify-self:start; }

.profile-onboarding-body { min-height:100vh; padding:35px 0 70px; background:linear-gradient(145deg,#eaf1ff,#fff); }
.profile-onboarding-shell { width:min(920px,92vw); margin:auto; }
.profile-onboarding-shell > header { margin-bottom:24px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.profile-onboarding-shell > header > a { color:var(--blue); font-size:11px; font-weight:800; }
.profile-onboarding-card { padding:clamp(25px,5vw,48px); border:1px solid var(--line); border-radius:28px; background:#fff; box-shadow:var(--shadow); }

.theme-collector .membership-overview { background:linear-gradient(145deg,#090d14,#1c2635 72%,#3e4b60); border:1px solid rgba(232,211,151,.25); }
.theme-collector .profile-editor { background:#111823; border-color:#313b4b; color:#edf1f7; }
.theme-collector .profile-editor > p { color:#9da9b9; }

@media(max-width:860px){
  .account-section{grid-template-columns:1fr}
}

@media(max-width:560px){
  .account-section{width:94vw}
  .membership-overview,.profile-editor{padding:23px}
  .membership-stats,.profile-form-grid{grid-template-columns:1fr}
  .profile-form-grid label.wide{grid-column:auto}
  .membership-targets{flex-direction:column}
  .profile-onboarding-shell > header .brand b{display:none}
}

.tier-thresholds {
  padding: 18px;
  border: 1px solid #cdd7eb;
  border-radius: 13px;
  background: #f7faff;
}

.tier-thresholds legend {
  padding: 0 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.tier-thresholds > p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.tier-threshold-grid {
  display: grid;
  grid-template-columns: minmax(90px,.7fr) 1fr 1.25fr;
  gap: 8px 10px;
  align-items: center;
}

.tier-threshold-grid > b {
  color: #56627e;
  font-size: 8px;
  text-transform: uppercase;
}

.tier-threshold-grid > strong {
  font-size: 11px;
}

.tier-threshold-grid input {
  min-width: 0;
}

.preorder-delete {
  padding: 7px 9px;
  border: 1px solid #efb1b4;
  border-radius: 7px;
  background: #fff3f3;
  color: #b4232a;
  font-size: 9px;
  font-weight: 850;
}

/* Filter und Mehrfachstatus für Reservierungsanfragen (Version 2.67). */
.preorder-filter-toolbar{margin:18px 0 12px;padding:15px;display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(170px,1.2fr) repeat(3,minmax(125px,.75fr)) auto;align-items:end;gap:11px;border:1px solid #d8e2f2;border-radius:14px;background:#f7f9fd}
.preorder-filter-toolbar label,.preorder-bulk-toolbar label{display:grid;gap:6px;color:#596784;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.preorder-filter-toolbar input,.preorder-filter-toolbar select,.preorder-bulk-toolbar select{width:100%;min-height:41px;padding:9px 11px;border:1px solid #cbd7eb;border-radius:9px;background:#fff;color:#172750;font-size:10px}
.preorder-filter-reset{min-height:41px;padding:9px 13px;border:1px solid #aebfdd;border-radius:9px;background:#eef3fb;color:#234170;font-size:9px;font-weight:850;white-space:nowrap}
.preorder-filter-toolbar>[data-preorder-filter-result]{grid-column:1/-1;color:#687492;font-size:9px;font-weight:750}
.preorder-bulk-toolbar{margin-bottom:14px;padding:13px 15px;display:grid;grid-template-columns:auto minmax(140px,1fr) minmax(180px,240px) auto;align-items:end;gap:12px;border:1px solid #b9d3c9;border-radius:14px;background:#f0faf6}
.preorder-bulk-toolbar .preorder-select-all{min-height:41px;display:flex;align-items:center;gap:8px;text-transform:none}
.preorder-select-all input{width:17px;height:17px;accent-color:#145bff}
.preorder-bulk-toolbar>[data-preorder-selection-count]{align-self:center;color:#2d6752;font-size:9px;font-weight:850}
.preorder-table-wrap{width:100%;max-width:100%;overflow:hidden}
.preorder-table-wrap table{width:100%;min-width:0;table-layout:fixed;white-space:normal;font-size:8px}
.preorder-table-wrap th,.preorder-table-wrap td{padding:7px 6px;overflow-wrap:anywhere;vertical-align:top}
.preorder-table-wrap th:nth-child(1){width:5%}.preorder-table-wrap th:nth-child(2){width:8%}.preorder-table-wrap th:nth-child(3){width:18%}.preorder-table-wrap th:nth-child(4){width:22%}.preorder-table-wrap th:nth-child(5){width:13%}.preorder-table-wrap th:nth-child(6){width:10%}.preorder-table-wrap th:nth-child(7){width:12%}.preorder-table-wrap th:nth-child(8){width:12%}
.preorder-table-wrap td small{display:block;margin-top:3px;line-height:1.35}
.preorder-table-wrap td select{width:100%;min-width:0}
.preorder-table-wrap td:last-child{display:grid;gap:5px}
.preorder-table-wrap td:last-child form,.preorder-table-wrap td:last-child .icon-link,.preorder-table-wrap td:last-child button{width:100%;margin:0}
.preorder-select{width:28px;height:28px;display:grid;place-items:center;cursor:pointer}
.preorder-select input{position:absolute;opacity:0;pointer-events:none}
.preorder-select span{width:18px;height:18px;border:1px solid #a9b8d1;border-radius:5px;background:#fff;box-shadow:inset 0 1px 2px rgba(16,39,82,.08)}
.preorder-select input:checked+span{border-color:#145bff;background:#145bff;box-shadow:inset 0 0 0 4px #fff}
.preorder-select input:focus-visible+span{outline:3px solid rgba(20,91,255,.18)}
.preorder-table-wrap td:nth-child(3) .pill{width:max-content;margin-top:5px}
.preorder-filter-empty{margin-top:12px}
.theme-collector .preorder-filter-toolbar{border-color:rgba(213,224,241,.16);background:#101a2d}
.theme-collector .preorder-filter-toolbar label,.theme-collector .preorder-filter-toolbar>[data-preorder-filter-result],.theme-collector .preorder-bulk-toolbar label{color:#aebbd0}
.theme-collector .preorder-filter-toolbar input,.theme-collector .preorder-filter-toolbar select,.theme-collector .preorder-bulk-toolbar select{border-color:rgba(213,224,241,.2);background:#17243a;color:#fff}
.theme-collector .preorder-filter-reset{border-color:rgba(217,180,91,.38);background:#1b2940;color:#f0ce78}
.theme-collector .preorder-bulk-toolbar{border-color:rgba(104,196,155,.25);background:rgba(24,72,55,.24)}
@media(max-width:1050px){.preorder-filter-toolbar{grid-template-columns:1fr 1fr}.preorder-bulk-toolbar{grid-template-columns:1fr 1fr}.preorder-bulk-toolbar .btn{width:100%}}
@media(max-width:1180px){
  .preorder-table-wrap{overflow:visible}
  .preorder-table-wrap table,.preorder-table-wrap tbody{width:100%;display:block}
  .preorder-table-wrap thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .preorder-table-wrap tr{width:100%;padding:7px 10px;display:grid;grid-template-columns:.55fr .75fr 1.6fr 2fr;column-gap:13px;border:0;border-bottom:1px solid #d8e1f1;background:#fff}
  .preorder-table-wrap tr:nth-child(even){background:#f8faff}
  .preorder-table-wrap tr[hidden]{display:none!important}
  .preorder-table-wrap td{min-width:0;padding:4px 0;display:grid;grid-template-columns:minmax(70px,.65fr) minmax(0,1.35fr);align-items:center;gap:6px;border:0;text-align:left}
  .preorder-table-wrap td::before{color:#74809d;font-size:7px;font-weight:850;letter-spacing:.035em;text-transform:uppercase}
  .preorder-table-wrap td:nth-child(1)::before{content:"Auswahl"}.preorder-table-wrap td:nth-child(2)::before{content:"Datum"}.preorder-table-wrap td:nth-child(3)::before{content:"Kunde"}.preorder-table-wrap td:nth-child(4)::before{content:"Artikel"}.preorder-table-wrap td:nth-child(5)::before{content:"Preis"}.preorder-table-wrap td:nth-child(6)::before{content:"Abholcode"}.preorder-table-wrap td:nth-child(7)::before{content:"Status"}.preorder-table-wrap td:nth-child(8)::before{content:"Aktion"}
  .preorder-table-wrap td:nth-child(7),.preorder-table-wrap td:nth-child(8){grid-column:span 2}
  .preorder-table-wrap td:last-child{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(0,1fr)}
  .preorder-table-wrap td:last-child::before{align-self:center}
}
@media(max-width:760px){.preorder-table-wrap tr{grid-template-columns:1fr 1fr}.preorder-table-wrap td:nth-child(7),.preorder-table-wrap td:nth-child(8){grid-column:1/-1}}
@media(max-width:620px){.preorder-filter-toolbar,.preorder-bulk-toolbar{grid-template-columns:1fr;padding:12px}.preorder-filter-toolbar>[data-preorder-filter-result]{grid-column:auto}.preorder-bulk-toolbar .preorder-select-all{min-height:auto}}
@media(max-width:480px){.preorder-table-wrap tr{grid-template-columns:1fr;padding:6px 8px}.preorder-table-wrap td:nth-child(7),.preorder-table-wrap td:nth-child(8){grid-column:auto}.preorder-table-wrap td{grid-template-columns:86px minmax(0,1fr)}.preorder-table-wrap td:last-child{grid-template-columns:86px minmax(0,1fr);}.preorder-table-wrap td:last-child .icon-link,.preorder-table-wrap td:last-child form{grid-column:2}}

/* Erweiterte Reservierungsfilter und gezielter Ausdruck (Version 2.92). */
.preorder-filter-toolbar{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.preorder-filter-summary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.preorder-filter-summary>[data-preorder-filter-result]{color:#687492;font-size:9px;font-weight:750}
.preorder-selection-print{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.preorder-selection-print .btn{min-height:38px;padding:8px 12px;font-size:9px}
.preorder-selection-print .disabled{pointer-events:none;opacity:.45;filter:grayscale(1)}
.theme-collector .preorder-filter-summary>[data-preorder-filter-result]{color:#aebbd0}
@media(max-width:620px){.preorder-filter-summary{align-items:stretch}.preorder-selection-print{display:grid;grid-template-columns:1fr;width:100%}.preorder-selection-print .btn{width:100%}}

@media(max-width:640px){
  .tier-threshold-grid{grid-template-columns:1fr 1fr}
  .tier-threshold-grid>b:first-child{display:none}
  .tier-threshold-grid>strong{grid-column:1/-1;margin-top:7px}
}

.header-refresh {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #cdd9f3;
  border-radius: 50%;
  background: #eef3ff;
  color: #145bff;
  box-shadow: 0 7px 18px rgba(20,91,255,.12);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.header-refresh:hover,
.header-refresh:focus-visible {
  border-color: #145bff;
  background: #145bff;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.header-refresh svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-refresh.is-refreshing svg {
  animation: header-refresh-spin .55s linear infinite;
}

@keyframes header-refresh-spin {
  to { transform: rotate(360deg); }
}

@media(max-width:1100px){
  .header-refresh{margin-left:auto}
}

@media(max-width:760px){
  .site-header{gap:10px}
  .header-refresh{flex-basis:38px;width:38px;height:38px}
  .branding-layout{grid-template-columns:1fr}
}

/* Artikelbilder erhalten Luft innerhalb der unverändert großen Bildfläche. */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image {
  flex: 0 0 220px;
  height: 220px;
  overflow: hidden;
  isolation: isolate;
}

.product-image > img,
.theme-collector .product-image > img {
  width: 84%;
  height: 84%;
  max-width: 84%;
  max-height: 84%;
  display: block;
  position: relative;
  z-index: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 15px rgba(13, 29, 76, .18));
}

.theme-collector .product-image > img {
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .44));
}

.product-image-preview {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e8edf5 25%, transparent 25%),
    linear-gradient(-45deg, #e8edf5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e8edf5 75%),
    linear-gradient(-45deg, transparent 75%, #e8edf5 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.product-transparency-action {
  margin: 0;
}

.product-transparency-action .btn {
  white-space: nowrap;
}

.product-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-meta-row {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-meta-row .heart-form {
  position: static;
  margin: 0 0 0 auto;
  flex: 0 0 auto;
}

.product-body > .audience-badge {
  align-self: flex-start;
}

.product-foot {
  margin-top: auto;
}

@media(max-width:760px){
  .product-image{flex-basis:240px;height:240px}
  .product-transparency-action,
  .product-transparency-action .btn{width:100%}
}

/* Rolloutmodus und Sammelaktionen (Version 2.33). */
.maintenance-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(36,103,255,.32), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(254,193,0,.22), transparent 30%),
    #07173d;
  color: #fff;
}

.maintenance-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.maintenance-card {
  width: min(620px, 100%);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(9,27,72,.92);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  text-align: center;
}

.maintenance-brand { justify-content: center; margin-bottom: 36px; }
.maintenance-brand strong { color: #fff; }
.maintenance-brand b { color: #a9c0ff; }
.maintenance-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #c8d7ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}
.maintenance-status i { width: 8px; height: 8px; border-radius: 50%; background: #ffc400; box-shadow: 0 0 0 5px rgba(255,196,0,.12); }
.maintenance-card h1 { margin: 23px auto 14px; color: #fff; font-size: clamp(34px, 7vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.maintenance-card > p { max-width: 500px; margin: 0 auto; color: #c8d4f3; font-size: 15px; line-height: 1.7; }
.maintenance-card > small { display: block; margin-top: 24px; color: #91a5d6; }
.maintenance-until { width: fit-content; margin: 25px auto 0; padding: 13px 18px; border-radius: 14px; background: rgba(255,255,255,.08); }
.maintenance-until span { display: block; color: #91a5d6; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.maintenance-until strong { display: block; margin-top: 5px; color: #fff; font-size: 14px; }
.maintenance-card > .btn { margin-top: 28px; }
.maintenance-admin-link { display: inline-block; margin-top: 20px; color: #91a5d6; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }

.rollout-settings { border-color: #c5d5fb; background: linear-gradient(145deg,#fff,#f5f8ff); }
.rollout-state { padding: 8px 11px; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.rollout-state.online { background: #e5f7ed; color: #187144; }
.rollout-state.offline { background: #fff0d8; color: #9a5900; }
.rollout-switch { display: flex!important; grid-template-columns: none!important; align-items: flex-start!important; gap: 13px; padding: 16px; border: 1px solid #d5dff5; border-radius: 14px; background: #fff; }
.rollout-switch input { width: 20px!important; height: 20px; min-height: 20px!important; margin-top: 1px; accent-color: #145bff; }
.rollout-switch span { display: grid; gap: 4px; }
.rollout-switch strong { color: #14214a; font-size: 11px; }
.rollout-switch small { color: #6b7593; font-size: 9px; line-height: 1.55; }
.rollout-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

/* Mitgliedschaftsfilter und schnelle Artikelzuweisung (Version 2.36). */
.membership-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid #d7e1f7;
  border-radius: 13px;
  background: #f7f9ff;
}
.membership-filter > strong { margin-right: 3px; color: #26365d; font-size: 9px; }
.membership-filter button {
  min-height: 31px;
  padding: 6px 11px;
  border: 1px solid #cbd7ef;
  border-radius: 999px;
  background: #fff;
  color: #4d5c7e;
  font-family: inherit;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.membership-filter button:hover { border-color: #145bff; color: #145bff; }
.membership-filter button.active { border-color: #145bff; background: #145bff; color: #fff; box-shadow: 0 5px 13px rgba(20,91,255,.2); }
.membership-filter .phone-issue-filter{margin-left:4px;border-color:#e5bd75;background:#fff8df;color:#7a570f}
.membership-filter .phone-issue-filter:hover{border-color:#d49218;color:#744d00}
.membership-filter .phone-issue-filter.active{border-color:#d98b00;background:#d98b00;color:#fff;box-shadow:0 5px 13px rgba(217,139,0,.22)}
.membership-filter [data-membership-result] { margin-left: auto; color: #6b7593; font-size: 8px; font-weight: 750; }
.product-membership-filter { margin-top: 2px; }

.product-bulk-toolbar {
  display: grid;
  grid-template-columns: auto minmax(130px,1fr) minmax(175px,1fr) auto minmax(190px,1fr) auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #d7e1f7;
  border-radius: 13px;
  background: #f4f7ff;
}
.product-bulk-toolbar label { display: grid; gap: 5px; color: #65708e; font-size: 8px; font-weight: 800; }
.product-bulk-toolbar .product-select-all { display: flex; align-items: center; gap: 8px; align-self: center; color: #24345e; font-size: 9px; }
.product-bulk-toolbar input[type="checkbox"],.product-select input { width: 17px; height: 17px; min-height: 17px; accent-color: #145bff; }
.product-bulk-toolbar [data-product-selection-count] { align-self: center; color: #6b7593; font-size: 9px; }
.product-bulk-toolbar select { min-height: 38px; padding: 8px 10px; border: 1px solid #cbd7ef; border-radius: 8px; background: #fff; }
.product-bulk-toolbar .btn:disabled { opacity: .45; cursor: not-allowed; }
.product-bulk-help { grid-column: 1/-1; color: #697694; font-size: 8px; line-height: 1.5; }
.product-admin-list > div { grid-template-columns: auto auto minmax(0,1fr) auto auto auto; }
.product-select { display: grid; place-items: center; }

@media(max-width:900px){
  .product-bulk-toolbar{grid-template-columns:1fr 1fr}
  .product-admin-list>div{grid-template-columns:auto auto 1fr}
  .product-admin-list form,.product-admin-list .icon-link{grid-column:3}
}

@media(max-width:600px){
  .maintenance-card{border-radius:22px}
  .maintenance-brand{flex-wrap:wrap}
  .maintenance-brand b{width:100%;margin-left:0}
  .rollout-settings .panel-head{align-items:flex-start;gap:10px}
  .product-bulk-toolbar{grid-template-columns:1fr}
  .membership-filter{align-items:flex-start}
  .membership-filter [data-membership-result]{width:100%;margin-left:0}
  .product-admin-list>div{grid-template-columns:auto auto minmax(0,1fr)}
}

/* Vollständige Artikeltexte und sichtbare Admin-Version (Version 2.33). */
.product-description-preview,
.product-body > .product-description-preview {
  height: auto;
  min-height: 42px;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.product-description-open {
  width: fit-content;
  margin: 8px 0 2px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(20,91,255,.28);
  background: transparent;
  color: var(--blue);
  font-size: 9px;
  font-weight: 850;
}
.product-description-open:hover,.product-description-open:focus-visible { color: #073fb8; border-color: currentColor; outline: none; }
.product-description-open span { display: inline-block; margin-left: 3px; transition: transform .18s ease; }
.product-description-open:hover span { transform: translateX(3px); }

.product-dialog-open { overflow: hidden; }
.product-detail-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: min(780px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 25px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 35px 100px rgba(5,18,55,.42);
}
.product-detail-dialog[open] { position: fixed; inset: 50% auto auto 50%; margin: 0; transform: translate(-50%,-50%); z-index: 1000; }
.product-detail-dialog::backdrop { background: rgba(4,15,45,.72); backdrop-filter: blur(7px); }
.product-detail-layout { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.15fr); min-height: 520px; }
.product-detail-art { min-height: 420px; display: grid; place-items: center; padding: 42px; overflow: hidden; background: radial-gradient(circle,#fff7bd,#e8efff 58%,#dce7fb); }
.product-detail-art > img { width: 88%; height: 88%; max-width: 340px; max-height: 430px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(13,29,76,.2)); }
.product-detail-content { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(34px,5vw,58px); }
.product-detail-content > small { margin-top: 15px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-detail-content h2 { margin: 8px 0 20px; color: var(--navy); font-size: clamp(28px,4vw,42px); line-height: 1.04; letter-spacing: -.045em; }
.product-detail-text { width: 100%; color: #465374; font-size: 13px; line-height: 1.75; white-space: normal; }
.product-detail-content footer { width: 100%; margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.product-detail-content footer > div { display: grid; gap: 5px; }
.product-detail-content footer span { color: var(--muted); font-size: 9px; }
.product-detail-content footer strong { color: var(--navy); font-size: 24px; }
.product-detail-close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 39px; height: 39px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(20,36,77,.12); border-radius: 50%; background: rgba(255,255,255,.94); color: #26365f; box-shadow: 0 7px 20px rgba(8,25,66,.12); font-size: 24px; line-height: 1; }
.product-detail-close:hover,.product-detail-close:focus-visible { background: var(--blue); color: #fff; outline: none; }

.theme-collector .product-description-open { color: #f0ce78; border-color: rgba(240,206,120,.35); }
.theme-collector .product-detail-dialog { background: #101a2d; color: #fff; }
.theme-collector .product-detail-art { background: radial-gradient(circle,#243554,#111a2c 68%,#0a101d); }
.theme-collector .product-detail-content h2,.theme-collector .product-detail-content footer strong { color: #fff; }
.theme-collector .product-detail-text { color: #d3dbea; }
.theme-collector .product-detail-content > small,.theme-collector .product-detail-content footer span { color: #aebbd0; }
.theme-collector .product-detail-content footer { border-color: rgba(255,255,255,.14); }

.admin-header-meta { display: flex; align-items: center; gap: 9px; }
.admin-version-badge { padding: 9px 12px; border: 1px solid #c8d7f5; border-radius: 999px; background: #eaf1ff; color: #145bff; font-size: 9px; font-weight: 900; white-space: nowrap; }

@media(max-width:760px){
  .product-detail-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:20px}
  .product-detail-layout{grid-template-columns:1fr}
  .product-detail-art{min-height:250px;height:250px;padding:24px}
  .product-detail-art>img{max-height:210px}
  .product-detail-content{padding:28px 24px 25px}
  .product-detail-content h2{font-size:30px}
  .product-detail-content footer{margin-top:28px;align-items:stretch;flex-direction:column}
  .product-detail-content footer .btn{width:100%}
  .admin-header-meta{margin-left:auto}
  .admin-version-badge{padding:8px 10px;font-size:8px}
}

/* Digitale Kundenkarte (Version 2.41). */
.customer-pass-preview{min-height:405px;position:relative}
.customer-pass-preview footer{margin-top:28px;gap:18px}
.member-pass-code{width:255px;padding:8px 10px 5px;display:grid;gap:3px;border-radius:10px;background:#fff;color:#071538;text-align:center}
.member-pass-code svg{width:100%;height:48px;fill:#071538}
.member-pass-code small{color:#071538!important;font-size:8px!important;font-weight:900;letter-spacing:.18em}
.member-pass-missing{padding:12px;border:1px solid rgba(255,255,255,.25);border-radius:10px;color:#fff;font-size:9px}
.member-card-open{width:100%;min-height:42px;margin-top:16px;border:1px solid rgba(255,255,255,.35);border-radius:11px;background:rgba(255,255,255,.13);color:#fff;font-size:10px;font-weight:900}
.member-card-open:hover,.member-card-open:focus-visible{background:#fff;color:#145bff;outline:none}
.member-card-hint{display:block;margin-top:16px;color:rgba(255,255,255,.72);font-size:9px;line-height:1.5}
.customer-card-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:0;border-radius:25px;background:#fff;color:#14214a;box-shadow:0 30px 100px rgba(5,18,55,.38)}
.customer-card-dialog::backdrop{background:rgba(4,13,38,.75);backdrop-filter:blur(6px)}
.customer-card-dialog-body{padding:34px}
.customer-card-dialog h2{margin:6px 0;font-size:31px;letter-spacing:-.04em}
.customer-card-dialog-body>p{margin:0 0 21px;color:#687492;font-size:11px}
.customer-card-close{position:absolute;z-index:3;top:14px;right:14px;width:39px;height:39px;padding:0;border:1px solid #d8e1f1;border-radius:50%;background:#fff;color:#20345d;font-size:23px;line-height:1}
.digital-customer-card{--card-bg:#145bff;aspect-ratio:1.588/1;padding:26px;display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:linear-gradient(135deg,#071a50,var(--card-bg) 68%,#2f80ff);color:#fff;box-shadow:0 20px 45px rgba(14,66,179,.24)}
.digital-customer-card header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px}
.digital-customer-card header img{width:54px;height:54px;object-fit:contain;border-radius:13px;background:rgba(255,255,255,.94)}
.digital-customer-card header div{display:grid;gap:2px}
.digital-customer-card header small,.digital-customer-card section small{color:#c7d8ff;font-size:8px;font-weight:800;letter-spacing:.08em}
.digital-customer-card header strong{font-size:20px}
.digital-customer-card header>span{padding:6px 9px;border-radius:7px;background:#ffd229;color:#5f4b00;font-size:9px;font-weight:950}
.digital-customer-card>section{margin:24px 0 18px;display:flex;align-items:end;justify-content:space-between;gap:18px}
.digital-customer-card>section>div{display:grid;gap:4px}
.digital-customer-card>section>div:last-child{text-align:right}
.digital-customer-card>section strong{font-size:18px}
.digital-customer-card footer{margin-top:auto;display:grid;gap:7px}
.digital-customer-card footer>div{padding:10px 18px 7px;display:grid;gap:4px;border-radius:13px;background:#fff;color:#071538;text-align:center}
.digital-customer-card footer svg{width:100%;height:72px;fill:#071538}
.digital-customer-card footer strong{font-size:12px;letter-spacing:.18em}
.digital-customer-card footer>small{color:rgba(255,255,255,.72);font-size:8px;text-align:center}
.customer-card-actions{margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.customer-card-actions>*{width:100%;min-height:44px}
.customer-card-actions>a[href*="install-guide"]{grid-column:1/-1}
.customer-card-privacy{display:block;margin-top:13px;color:#697590;font-size:8px;line-height:1.55;text-align:center}
html.customer-card-open{overflow:hidden}
.customer-card-state{padding:7px 10px;border-radius:999px;background:#e8f8f0;color:#14704c;font-size:9px;font-weight:850}
@media(max-width:760px){
  .customer-pass-preview{min-height:390px}
  .customer-pass-preview footer{align-items:stretch;flex-direction:column}
  .member-pass-code{width:100%}
  .customer-card-dialog-body{padding:28px 18px 22px}
  .customer-card-dialog h2{padding-right:34px;font-size:25px}
  .digital-customer-card{padding:18px;border-radius:17px}
  .digital-customer-card header img{width:43px;height:43px}
  .digital-customer-card header strong{font-size:15px}
  .digital-customer-card header small{font-size:6px}
  .digital-customer-card>section{margin:15px 0 12px}
  .digital-customer-card>section strong{font-size:13px}
  .digital-customer-card footer svg{height:49px}
  .digital-customer-card footer>div{padding:7px 10px 5px}
  .digital-customer-card footer strong{font-size:9px}
  .customer-card-actions{grid-template-columns:1fr}
}

/* Restock, Safari-sicheres Abmelden und Admin-Kundenansicht (Version 2.41). */
.status.restock{background:linear-gradient(135deg,#13a86f,#0b7d98);color:#fff;box-shadow:0 5px 12px rgba(18,151,112,.2)}
.restock-section{position:relative;margin-top:34px;padding:58px 3vw 54px;border:1px solid #cce9df;border-radius:28px;background:linear-gradient(145deg,#effcf6,#eaf5ff)}
.restock-section .section-head{align-items:center}
.restock-section .section-head p{max-width:620px;margin:8px 0 0;color:#5f7084;font-size:11px;line-height:1.55}
.restock-count{padding:8px 12px;border-radius:999px;background:#d9f7e9;color:#08774e;font-size:9px;font-weight:850}
.restock-card{border-color:#bfe6d8;box-shadow:0 12px 30px rgba(20,120,90,.1)}
.restock-card .product-image{background:radial-gradient(circle,#fff,#e6faf1 58%,#dceffc)}
.restock-empty{border-color:#a9dbc9;background:rgba(255,255,255,.72)}
.admin-preview-bar{position:relative;z-index:60;min-height:48px;padding:8px max(4vw,calc((100vw - 1320px)/2));display:flex;align-items:center;justify-content:space-between;gap:14px;background:#071538;color:#fff}
.admin-preview-bar span{font-size:10px}.admin-preview-bar strong{color:#ffd229}
.admin-preview-bar form{margin:0}.admin-preview-bar button,.account-menu form button{padding:8px 11px;border:0;border-radius:8px;background:#ffd229;color:#5a4700;font-family:inherit;font-size:9px;font-weight:850;cursor:pointer}
.account-menu form{margin:0;padding:0}.account-menu form button{width:100%;padding:10px;text-align:left;border-radius:8px}
.admin-header-action{min-height:34px;padding:8px 11px;display:inline-flex;align-items:center;border:1px solid #cbd7ef;border-radius:9px;background:#fff;color:#145bff;font-size:9px;font-weight:850;touch-action:manipulation}
.admin-header-action.logout{border-color:#f0c8cb;color:#b22f3a}
.customer-preview{padding:7px 9px;border:1px solid #9fbaff;border-radius:7px;background:#edf3ff;color:#145bff;font-size:8px;font-weight:850;white-space:nowrap;touch-action:manipulation}
.customer-preview-picker{margin:0 0 14px;padding:12px;display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:10px;border:1px solid #cbdaf4;border-radius:13px;background:#eef4ff}
.customer-preview-picker label{display:grid;gap:5px;color:#405174;font-size:9px;font-weight:800}.customer-preview-picker select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #b8c9ea;border-radius:9px;background:#fff;color:#24345e}
[data-logout]{touch-action:manipulation}

@media(max-width:760px){
  .admin-header-meta{display:grid;grid-template-columns:1fr 1fr;width:100%;margin:12px 0 0}
  .admin-header-meta .admin-version-badge{grid-column:1/-1}
  .admin-header-action{justify-content:center;min-height:42px}
  .admin-main>header{flex-direction:column}
  .admin-preview-bar{align-items:stretch;flex-direction:column;padding:10px 4vw}
  .admin-preview-bar button{width:100%;min-height:40px}
  .customer-preview-picker{grid-template-columns:1fr}.customer-preview-picker .btn{width:100%}
  .restock-section{width:94vw;padding:38px 4vw}
  .restock-section .section-head{align-items:flex-start;flex-direction:column;gap:12px}
}

/* Kundenkarte in der Kopfzeile und scannerfreundlicher Kassenmodus (Version 2.41). */
.header-customer-card{
  min-height:42px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  border:1px solid #a9bff0;
  border-radius:11px;
  background:#edf3ff;
  color:#145bff;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}
.header-customer-card:hover,.header-customer-card:focus-visible{border-color:#145bff;background:#145bff;color:#fff;outline:none}
.header-customer-card svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.checkout-card-dialog{overflow:auto}
.checkout-mode-toolbar{margin:-34px -34px 27px;padding:14px 60px 14px 34px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #dce4f2;background:#f2f6ff}
.checkout-mode-toolbar>div{display:flex;align-items:center;gap:10px;min-width:0}
.checkout-live-dot{width:10px;height:10px;flex:0 0 auto;border-radius:50%;background:#1ca76d;box-shadow:0 0 0 5px rgba(28,167,109,.13)}
.checkout-mode-toolbar p{margin:0;display:grid;gap:2px}
.checkout-mode-toolbar strong{color:#13366d;font-size:11px}
.checkout-mode-toolbar small{color:#687492;font-size:8px;line-height:1.35}
.checkout-mode-toolbar button{min-height:35px;padding:0 11px;border:1px solid #b8c8e7;border-radius:9px;background:#fff;color:#145bff;font-size:9px;font-weight:850;white-space:nowrap}
.checkout-scanner-hint{padding:10px 12px;border-left:4px solid #ffd229;border-radius:7px;background:#fff9de;color:#5d501d!important;line-height:1.5}
.checkout-card-dialog .digital-customer-card footer svg{height:102px}
.checkout-card-dialog .digital-customer-card footer strong{font-size:16px}
.checkout-card-dialog.checkout-fullscreen{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0}
.checkout-card-dialog.checkout-fullscreen .customer-card-dialog-body{width:min(920px,100%);min-height:100dvh;margin:auto;display:flex;flex-direction:column;justify-content:center}
.checkout-card-dialog.checkout-fullscreen .digital-customer-card{width:100%;aspect-ratio:auto;min-height:min(620px,68dvh)}
.checkout-card-dialog.checkout-fullscreen .digital-customer-card footer svg{height:min(180px,22dvh)}
.checkout-card-dialog.checkout-fullscreen .customer-card-actions,.checkout-card-dialog.checkout-fullscreen .customer-card-privacy{display:none}
.checkout-card-dialog.checkout-fullscreen .checkout-mode-toolbar{margin-top:0}

@media(max-width:1100px){
  .header-customer-card{margin-left:auto}
  .header-customer-card+.header-refresh{margin-left:0}
}
@media(max-width:760px){
  .site-header{padding-left:3vw;padding-right:3vw}
  .site-header>.brand{min-width:0}
  .site-header>.brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .header-customer-card{width:42px;height:42px;padding:0;border-radius:50%}
  .header-customer-card span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .checkout-mode-toolbar{margin:-28px -18px 23px;padding:13px 54px 13px 18px}
  .checkout-mode-toolbar small{max-width:180px}
  .checkout-card-dialog .digital-customer-card{aspect-ratio:auto;min-height:430px}
  .checkout-card-dialog .digital-customer-card footer svg{height:105px}
  .checkout-card-dialog .digital-customer-card footer strong{font-size:15px}
  .checkout-card-dialog.checkout-fullscreen .customer-card-dialog-body{padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .checkout-card-dialog.checkout-fullscreen .digital-customer-card{min-height:66dvh}
}
@media(max-width:430px){
  .site-header>.brand strong{display:none}
  .checkout-mode-toolbar small{max-width:140px}
}

/* Card overrides must remain after the legacy customer-card rules. */
.customer-card-dialog.black-card-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:58px 24px 24px;border:1px solid rgba(255,255,255,.16);border-radius:28px;background:rgba(5,7,10,.96);color:#fff;box-shadow:0 34px 110px rgba(0,0,0,.66)}
.black-card-dialog .customer-card-dialog-body{padding:0}
.digital-customer-card.black-customer-card{--black-card-accent:#4e7dff;--black-card-accent-two:#fe3158;position:relative;aspect-ratio:1.588/1;min-height:0;padding:30px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.17);border-radius:24px;background:linear-gradient(135deg,#030405 0%,#15191e 54%,#030405 100%);color:#fff;box-shadow:inset 0 1px 1px rgba(255,255,255,.16),0 24px 54px rgba(0,0,0,.46)}
.theme-collector .digital-customer-card.black-customer-card{--black-card-accent:#d9b45b;--black-card-accent-two:#eef2f7;background:linear-gradient(135deg,#030405 0%,#17191c 54%,#030405 100%)}
.digital-customer-card.black-customer-card header img{width:52px;height:52px;padding:5px;border-radius:13px;background:#fff}
.digital-customer-card.black-customer-card header strong{color:#f7f8fa;font-size:20px}
.digital-customer-card.black-customer-card header span{min-width:54px;padding:7px 10px;border:1px solid var(--black-card-accent);border-radius:6px;background:transparent;color:var(--black-card-accent);font-size:12px}
.digital-customer-card.black-customer-card>section{margin:auto 0 22px;display:grid;align-items:initial;justify-content:initial;gap:5px}
.digital-customer-card.black-customer-card>section small{color:#9299a3}.digital-customer-card.black-customer-card>section strong{color:#fff;font-size:24px}
.digital-customer-card.black-customer-card footer{margin:0;display:block}.digital-customer-card.black-customer-card footer>div{padding:10px 18px 7px;border-radius:12px;background:#fff}.digital-customer-card.black-customer-card footer svg{height:62px;fill:#07090c}.digital-customer-card.black-customer-card footer strong{color:#07090c;font-size:10px}
@media(max-width:620px){.customer-card-dialog.black-card-dialog{padding:54px 10px 10px;border-radius:20px}.digital-customer-card.black-customer-card{padding:20px;border-radius:18px}.digital-customer-card.black-customer-card header img{width:39px;height:39px}.digital-customer-card.black-customer-card header strong{font-size:14px}.digital-customer-card.black-customer-card header span{min-width:43px;padding:5px 7px;font-size:9px}.digital-customer-card.black-customer-card>section{margin-bottom:12px}.digital-customer-card.black-customer-card>section strong{font-size:17px}.digital-customer-card.black-customer-card footer>div{padding:6px 10px 4px}.digital-customer-card.black-customer-card footer svg{height:42px}.digital-customer-card.black-customer-card footer strong{font-size:7px}}

/* Bildschirmfüllende Kundenkarte mit wählbarem Format (Version 2.48). */
.customer-card-dialog.black-card-dialog{
  width:100vw;
  max-width:none;
  height:100dvh;
  max-height:none;
  margin:0;
  padding:10px;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:#020305;
}
.black-card-dialog .customer-card-dialog-body{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
}
.black-card-dialog .customer-card-close,.black-card-dialog .customer-card-download{
  position:fixed;
  top:max(12px,env(safe-area-inset-top));
  z-index:10;
  background:rgba(12,15,20,.88);
  backdrop-filter:blur(10px);
}
.black-card-dialog .customer-card-close{right:max(12px,env(safe-area-inset-right))}
.black-card-dialog .customer-card-download{right:max(60px,calc(env(safe-area-inset-right) + 60px))}
.customer-card-layout-landscape .digital-customer-card.black-customer-card{
  width:calc(100vw - 20px);
  height:calc(100dvh - 20px);
  aspect-ratio:auto;
  padding:clamp(24px,4.5vmin,62px);
  border-radius:clamp(18px,3vmin,40px);
}
.customer-card-layout-portrait .digital-customer-card.black-customer-card{
  width:min(calc(100vw - 20px),calc((100dvh - 20px)/1.45));
  height:calc(100dvh - 20px);
  aspect-ratio:auto;
  padding:clamp(24px,4.5vmin,52px);
  border-radius:clamp(18px,3vmin,40px);
}
.digital-customer-card.black-customer-card .customer-card-identity{
  width:100%;
  margin:auto 0 clamp(18px,3.4vmin,38px);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(230px,auto);
  align-items:end;
  gap:clamp(20px,5vw,90px);
}
.digital-customer-card.black-customer-card .customer-card-identity>div{display:grid;gap:6px;min-width:0}
.digital-customer-card.black-customer-card .customer-card-identity small{
  color:#9299a3;
  font-size:clamp(9px,1.3vmin,16px);
  font-weight:850;
  letter-spacing:.17em;
}
.digital-customer-card.black-customer-card .customer-card-identity>div>strong{
  overflow-wrap:anywhere;
  color:#fff;
  font-size:clamp(24px,4.3vmin,58px);
  line-height:1.05;
}
.digital-customer-card.black-customer-card .customer-card-number{text-align:right}
.digital-customer-card.black-customer-card .customer-card-number>strong{
  color:var(--black-card-accent);
  font-size:clamp(38px,7.2vmin,92px);
  font-variant-numeric:tabular-nums;
  letter-spacing:.08em;
}
.digital-customer-card.black-customer-card footer>div{padding:clamp(9px,1.8vmin,20px)}
.digital-customer-card.black-customer-card footer svg{height:clamp(82px,18dvh,190px)}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-identity{
  margin:auto 0 clamp(24px,4vh,48px);
  grid-template-columns:1fr;
  align-items:start;
  gap:clamp(34px,7vh,84px);
}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-number{text-align:left}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-number>strong{
  font-size:clamp(42px,10vw,82px);
  letter-spacing:.06em;
}
.customer-card-layout-portrait .digital-customer-card.black-customer-card footer svg{height:clamp(125px,19dvh,220px)}
@media(orientation:portrait){
  .customer-card-layout-landscape .customer-card-dialog-body{overflow:hidden}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card{
    width:calc(100dvh - 20px);
    height:calc(100vw - 20px);
    transform:rotate(90deg);
  }
}
@media(max-width:620px){
  .customer-card-dialog.black-card-dialog{padding:10px;border-radius:0}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card,
  .customer-card-layout-portrait .digital-customer-card.black-customer-card{padding:clamp(20px,5vmin,34px);border-radius:18px}
  .digital-customer-card.black-customer-card header img{width:clamp(40px,10vmin,58px);height:clamp(40px,10vmin,58px)}
  .digital-customer-card.black-customer-card header strong{font-size:clamp(15px,4vmin,23px)}
  .digital-customer-card.black-customer-card header span{min-width:45px;padding:6px 8px;font-size:10px}
  .digital-customer-card.black-customer-card .customer-card-identity>div>strong{font-size:clamp(20px,5.6vmin,34px)}
  .digital-customer-card.black-customer-card .customer-card-number>strong{font-size:clamp(32px,9vmin,56px)}
  .digital-customer-card.black-customer-card footer svg{height:clamp(62px,17vmin,110px)}
  .customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-number>strong{font-size:clamp(40px,11vw,70px)}
  .customer-card-layout-portrait .digital-customer-card.black-customer-card footer svg{height:clamp(115px,18dvh,190px)}
}

/* Schwarze Metallkarte, Prägung und Hologramm (Version 2.48). */
.digital-customer-card.black-customer-card{
  isolation:isolate;
  border:1px solid rgba(230,236,244,.38);
  background:
    radial-gradient(circle at 18% 13%,rgba(255,255,255,.16),transparent 24%),
    radial-gradient(circle at 82% 82%,rgba(118,133,151,.11),transparent 31%),
    repeating-linear-gradient(103deg,rgba(255,255,255,.018) 0 1px,transparent 1px 4px),
    linear-gradient(145deg,#020304 0%,#16191d 43%,#060709 72%,#12151a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(0,0,0,.92),
    inset 18px 18px 44px rgba(255,255,255,.025),
    inset -22px -24px 50px rgba(0,0,0,.58),
    0 30px 80px rgba(0,0,0,.7);
}
.digital-customer-card.black-customer-card::before{
  z-index:-2;
  opacity:.72;
  background:
    linear-gradient(116deg,transparent 0 37%,rgba(255,255,255,.055) 44%,transparent 51%),
    repeating-radial-gradient(circle at 50% 45%,transparent 0 8px,rgba(255,255,255,.014) 9px,transparent 10px 18px);
}
.digital-customer-card.black-customer-card::after{
  z-index:4;
  left:clamp(22px,4vmin,58px);
  right:clamp(22px,4vmin,58px);
  top:clamp(18px,3vmin,42px);
  height:2px;
  background:linear-gradient(90deg,transparent,#929ba7 16%,#f5f7fa 50%,#76818e 84%,transparent);
  box-shadow:0 1px 0 rgba(0,0,0,.85),0 0 16px rgba(210,225,243,.2);
}
.digital-customer-card.black-customer-card header img{
  border:1px solid rgba(226,231,237,.8);
  background:linear-gradient(145deg,#fff,#ccd2d9);
  box-shadow:inset 0 1px 0 #fff,0 2px 7px rgba(0,0,0,.8);
}
.digital-customer-card.black-customer-card header strong,
.digital-customer-card.black-customer-card header span,
.digital-customer-card.black-customer-card .customer-card-identity>div>strong,
.digital-customer-card.black-customer-card .customer-card-custom-content>*{
  color:#d9dde2;
  text-shadow:-1px -1px 0 rgba(255,255,255,.24),1px 1px 0 #000,0 3px 7px rgba(0,0,0,.95);
}
@supports((-webkit-background-clip:text) or (background-clip:text)){
  .digital-customer-card.black-customer-card header strong,
  .digital-customer-card.black-customer-card header span,
  .digital-customer-card.black-customer-card .customer-card-identity>div>strong,
  .digital-customer-card.black-customer-card .customer-card-custom-content>*{
    color:transparent;
    background:linear-gradient(168deg,#fff 4%,#707984 34%,#e8ebef 55%,#5e6670 78%,#d9dde2 100%);
    -webkit-background-clip:text;
    background-clip:text;
  }
}
.digital-customer-card.black-customer-card header span{
  border-color:#9099a5;
  box-shadow:inset 1px 1px 0 rgba(255,255,255,.18),inset -1px -1px 0 rgba(0,0,0,.9);
}
.digital-customer-card.black-customer-card .customer-card-identity small{
  color:#8d949d;
  text-shadow:0 1px 0 #000;
}
.digital-customer-card.black-customer-card .customer-card-number>strong{
  color:#dce1e6;
  font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;
  font-weight:800;
  -webkit-text-stroke:.35px rgba(255,255,255,.35);
  text-shadow:-1px -1px 0 rgba(255,255,255,.38),1px 1px 0 #000,0 4px 9px rgba(0,0,0,.9);
}
@supports((-webkit-background-clip:text) or (background-clip:text)){
  .digital-customer-card.black-customer-card .customer-card-number>strong{
    color:transparent;
    background:linear-gradient(180deg,#f6f8fa 0%,#707883 35%,#dfe3e8 55%,#5c646e 78%,#eef0f3 100%);
    -webkit-background-clip:text;
    background-clip:text;
  }
}
.customer-card-hologram{
  position:absolute!important;
  z-index:0!important;
  left:50%;
  top:48%;
  width:min(34vmin,390px);
  aspect-ratio:1/1;
  transform:translate(-50%,-50%);
  opacity:.34;
  pointer-events:none;
  mix-blend-mode:screen;
  filter:saturate(1.28) contrast(1.08) drop-shadow(0 0 12px rgba(116,226,255,.24));
}
.customer-card-hologram::before,.customer-card-hologram::after{
  content:"";
  position:absolute;
  inset:4%;
  z-index:2;
  border-radius:50%;
  background:conic-gradient(from 35deg,transparent,rgba(117,238,255,.18),transparent,rgba(215,130,255,.2),transparent,rgba(255,218,112,.16),transparent);
  mix-blend-mode:screen;
  animation:customer-card-hologram-shimmer 7s linear infinite;
}
.customer-card-hologram::after{inset:17%;animation-direction:reverse;animation-duration:5.5s}
.customer-card-hologram img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;filter:brightness(1.2)}
@keyframes customer-card-hologram-shimmer{to{transform:rotate(1turn)}}
.digital-customer-card.black-customer-card .customer-card-identity,
.digital-customer-card.black-customer-card .customer-card-custom-content,
.digital-customer-card.black-customer-card footer{position:relative;z-index:2}
.digital-customer-card.black-customer-card .customer-card-custom-content{
  margin:0 0 clamp(12px,2.2vmin,26px);
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  min-height:24px;
  font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:.15em;
}
.digital-customer-card.black-customer-card .customer-card-custom-content strong{font-size:clamp(10px,1.7vmin,20px)}
.digital-customer-card.black-customer-card .customer-card-custom-content span{font-size:clamp(8px,1.3vmin,15px);text-align:right}
.digital-customer-card.black-customer-card footer>div{
  border:1px solid rgba(255,255,255,.72);
  background:linear-gradient(145deg,#f7f8fa 0%,#c9cdd2 47%,#fff 69%,#aeb4bb 100%);
  box-shadow:inset 0 1px 0 #fff,inset 0 -2px 4px rgba(45,52,60,.28),0 4px 12px rgba(0,0,0,.55);
}
.customer-card-layout-portrait .customer-card-hologram{top:43%;width:min(66%,390px)}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-custom-content{
  display:grid;
  justify-items:start;
  gap:7px;
}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-custom-content span{text-align:left}
@media(prefers-reduced-motion:reduce){.customer-card-hologram::before,.customer-card-hologram::after{animation:none}}
@media(max-width:620px){
  .customer-card-hologram{width:min(36vmin,280px);opacity:.31}
  .customer-card-layout-portrait .customer-card-hologram{width:min(70%,320px)}
  .digital-customer-card.black-customer-card .customer-card-custom-content{margin-bottom:10px;gap:12px}
  .digital-customer-card.black-customer-card .customer-card-custom-content strong{font-size:clamp(8px,2.5vmin,13px)}
  .digital-customer-card.black-customer-card .customer-card-custom-content span{font-size:clamp(7px,2vmin,10px)}
}

/* Kartenkopf ohne Icon, mit geprägtem Mitgliederstatus (Version 2.48). */
.digital-customer-card.black-customer-card header{
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(18px,4vw,64px);
}
.digital-customer-card.black-customer-card header>strong{min-width:0}
.digital-customer-card.black-customer-card header .customer-card-tier{
  min-width:clamp(130px,18vw,230px);
  padding:0;
  display:grid;
  justify-items:end;
  gap:4px;
  border:0;
  border-radius:0;
  background:none;
  color:#d9dde2;
  box-shadow:none;
  text-align:right;
  letter-spacing:normal;
}
.digital-customer-card.black-customer-card header .customer-card-tier small{
  color:#8d949d;
  font-size:clamp(7px,1.05vmin,12px);
  font-weight:800;
  letter-spacing:.16em;
  text-shadow:0 1px 0 #000;
}
.digital-customer-card.black-customer-card header .customer-card-tier b{
  color:#dce1e6;
  font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;
  font-size:clamp(18px,3vmin,36px);
  line-height:1;
  letter-spacing:.11em;
  text-shadow:-1px -1px 0 rgba(255,255,255,.38),1px 1px 0 #000,0 4px 9px rgba(0,0,0,.9);
}
@supports((-webkit-background-clip:text) or (background-clip:text)){
  .digital-customer-card.black-customer-card header .customer-card-tier b{
    color:transparent;
    background:linear-gradient(180deg,#f6f8fa 0%,#707883 35%,#dfe3e8 55%,#5c646e 78%,#eef0f3 100%);
    -webkit-background-clip:text;
    background-clip:text;
  }
}
@media(max-width:620px){
  .digital-customer-card.black-customer-card header{gap:12px}
  .digital-customer-card.black-customer-card header .customer-card-tier{min-width:105px}
  .digital-customer-card.black-customer-card header .customer-card-tier small{font-size:6px}
  .digital-customer-card.black-customer-card header .customer-card-tier b{font-size:clamp(15px,4.6vmin,24px)}
}

/* Mehrlagiger Metallrahmen und kompakte Querformatkarte (Version 2.50). */
.digital-customer-card.black-customer-card .customer-card-ornament{
  position:absolute!important;
  z-index:6!important;
  inset:clamp(10px,1.75vmin,24px);
  pointer-events:none;
  border:1px solid rgba(235,238,241,.88);
  border-radius:clamp(12px,2.2vmin,29px);
  background:
    conic-gradient(from 0deg at 0 0,transparent 0 12.5%,#cdd2d7 13% 18%,#5d636a 18.5% 24%,transparent 24.5%) left top/48px 48px no-repeat,
    conic-gradient(from 90deg at 100% 0,transparent 0 12.5%,#cdd2d7 13% 18%,#5d636a 18.5% 24%,transparent 24.5%) right top/48px 48px no-repeat,
    conic-gradient(from 270deg at 0 100%,transparent 0 12.5%,#cdd2d7 13% 18%,#5d636a 18.5% 24%,transparent 24.5%) left bottom/48px 48px no-repeat,
    conic-gradient(from 180deg at 100% 100%,transparent 0 12.5%,#cdd2d7 13% 18%,#5d636a 18.5% 24%,transparent 24.5%) right bottom/48px 48px no-repeat,
    repeating-linear-gradient(90deg,#555c64 0 3px,#e4e7ea 3px 5px,#777f88 5px 7px,transparent 7px 13px) center top/calc(100% - 82px) 3px no-repeat,
    repeating-linear-gradient(90deg,#555c64 0 3px,#e4e7ea 3px 5px,#777f88 5px 7px,transparent 7px 13px) center bottom/calc(100% - 82px) 3px no-repeat,
    repeating-linear-gradient(0deg,#555c64 0 3px,#e4e7ea 3px 5px,#777f88 5px 7px,transparent 7px 13px) left center/3px calc(100% - 82px) no-repeat,
    repeating-linear-gradient(0deg,#555c64 0 3px,#e4e7ea 3px 5px,#777f88 5px 7px,transparent 7px 13px) right center/3px calc(100% - 82px) no-repeat;
  box-shadow:
    0 0 0 2px rgba(5,7,9,.96),
    0 0 0 4px rgba(168,175,183,.9),
    0 0 0 6px rgba(17,20,24,.96),
    inset 0 0 0 2px rgba(68,74,81,.96),
    inset 0 0 0 4px rgba(223,227,231,.72),
    inset 0 0 18px rgba(229,235,242,.12),
    0 4px 12px rgba(0,0,0,.72);
}
.digital-customer-card.black-customer-card .customer-card-ornament::before,
.digital-customer-card.black-customer-card .customer-card-ornament::after{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(111,119,128,.78);
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(8,10,13,.9),0 0 0 1px rgba(226,230,234,.18);
}
.digital-customer-card.black-customer-card .customer-card-ornament::after{
  inset:14px;
  border-color:rgba(206,211,216,.5);
  box-shadow:none;
}

@media(orientation:portrait) and (max-width:900px){
  .customer-card-layout-landscape .customer-card-dialog-body{
    padding:max(58px,calc(env(safe-area-inset-top) + 50px)) 8px max(10px,env(safe-area-inset-bottom));
    overflow:auto;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card{
    width:min(calc(100vw - 16px),720px);
    height:auto;
    max-height:none;
    aspect-ratio:1.588/1;
    padding:clamp(18px,4.6vw,30px);
    border-radius:clamp(16px,4vw,24px);
    transform:none;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card header{
    gap:10px;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card header>strong{
    font-size:clamp(12px,4vw,18px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card header .customer-card-tier{
    min-width:88px;
    gap:2px;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card header .customer-card-tier small{
    font-size:clamp(5px,1.55vw,7px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card header .customer-card-tier b{
    font-size:clamp(13px,4.2vw,20px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{
    margin:auto 0 clamp(7px,2.5vw,12px);
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity>div{
    gap:2px;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity small{
    font-size:clamp(5px,1.55vw,7px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity>div>strong{
    font-size:clamp(12px,3.8vw,18px);
    line-height:1;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-number>strong{
    font-size:clamp(20px,6.8vw,34px);
    letter-spacing:.05em;
  }
  .customer-card-layout-landscape .customer-card-hologram{
    top:49%;
    width:min(31vw,150px);
    opacity:.27;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-custom-content{
    min-height:10px;
    margin-bottom:clamp(5px,1.8vw,9px);
    gap:8px;
    letter-spacing:.1em;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-custom-content strong{
    font-size:clamp(6px,2vw,9px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-custom-content span{
    font-size:clamp(5px,1.7vw,8px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card footer>div{
    padding:4px 8px 2px;
    border-radius:7px;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card footer svg{
    height:clamp(30px,9.5vw,46px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-ornament{
    inset:7px;
    border-radius:12px;
    background-size:34px 34px,34px 34px,34px 34px,34px 34px,calc(100% - 58px) 2px,calc(100% - 58px) 2px,2px calc(100% - 58px),2px calc(100% - 58px);
    box-shadow:0 0 0 1px #080a0d,0 0 0 3px rgba(174,181,188,.9),0 0 0 4px #111419,inset 0 0 0 1px #4e555d,inset 0 0 0 3px rgba(224,228,232,.62),0 3px 8px rgba(0,0,0,.72);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-ornament::before{inset:5px}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-ornament::after{inset:9px}
}

.admin-panel .panel-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
@media(max-width:760px){.admin-panel .panel-actions,.admin-panel .panel-actions .btn{width:100%}}

/* Kundenkarten-Anordnung und Anfragenavigation (Version 2.52). */
#bestellungen{scroll-margin-top:110px}
.digital-customer-card.black-customer-card{
  --card-content-inset:clamp(48px,6vmin,86px);
  --card-hologram-size:min(30vmin,340px);
  padding:var(--card-content-inset);
}
.digital-customer-card.black-customer-card header{
  position:relative;
  z-index:3;
  grid-template-columns:minmax(0,1fr);
  padding:0 4px;
}
.digital-customer-card.black-customer-card header>strong{font-size:clamp(18px,3.2vmin,42px)}
.digital-customer-card.black-customer-card .customer-card-hologram{
  top:47%;
  width:var(--card-hologram-size);
}
.digital-customer-card.black-customer-card .customer-card-identity,
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-identity{
  position:absolute;
  z-index:3;
  left:var(--card-content-inset);
  right:var(--card-content-inset);
  top:47%;
  width:auto;
  margin:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(150px,28vw,500px);
  transform:translateY(-50%);
}
.digital-customer-card.black-customer-card .customer-card-identity>div{align-content:center}
.digital-customer-card.black-customer-card .customer-card-identity .customer-card-number{text-align:right}
.digital-customer-card.black-customer-card .customer-card-identity>div>strong{
  font-size:clamp(20px,3.5vmin,48px);
}
.digital-customer-card.black-customer-card .customer-card-number>strong,
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-number>strong{
  font-size:clamp(30px,5.4vmin,72px);
}
.digital-customer-card.black-customer-card>.customer-card-tier{
  position:absolute;
  z-index:3;
  left:50%;
  top:70%;
  min-width:clamp(150px,21vw,280px);
  display:grid;
  justify-items:center;
  gap:4px;
  transform:translateX(-50%);
  color:#d9dde2;
  text-align:center;
}
.digital-customer-card.black-customer-card>.customer-card-tier small{
  color:#8d949d;
  font-size:clamp(7px,1.05vmin,12px);
  font-weight:800;
  letter-spacing:.16em;
  text-shadow:0 1px 0 #000;
}
.digital-customer-card.black-customer-card>.customer-card-tier b{
  color:#dce1e6;
  font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;
  font-size:clamp(18px,3vmin,36px);
  line-height:1;
  letter-spacing:.11em;
  text-shadow:-1px -1px 0 rgba(255,255,255,.38),1px 1px 0 #000,0 4px 9px rgba(0,0,0,.9);
}
@supports((-webkit-background-clip:text) or (background-clip:text)){
  .digital-customer-card.black-customer-card>.customer-card-tier b{
    color:transparent;
    background:linear-gradient(180deg,#f6f8fa 0%,#707883 35%,#dfe3e8 55%,#5c646e 78%,#eef0f3 100%);
    -webkit-background-clip:text;
    background-clip:text;
  }
}
.digital-customer-card.black-customer-card .customer-card-custom-content{margin-top:auto}
.digital-customer-card.black-customer-card footer{margin-top:auto}
.digital-customer-card.black-customer-card .customer-card-custom-content+footer{margin-top:0}

.customer-card-layout-portrait .digital-customer-card.black-customer-card{
  --card-content-inset:clamp(42px,6vmin,72px);
  --card-hologram-size:min(42vw,300px);
}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-hologram,
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-identity{top:42%}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-identity{gap:clamp(110px,22vw,230px)}
.customer-card-layout-portrait .digital-customer-card.black-customer-card>.customer-card-tier{top:64%}
.customer-card-layout-portrait .digital-customer-card.black-customer-card .customer-card-custom-content span{text-align:left}

@media(orientation:portrait) and (max-width:900px){
  .customer-card-layout-landscape .digital-customer-card.black-customer-card{
    --card-content-inset:clamp(28px,7vw,40px);
    --card-hologram-size:min(19vw,82px);
    padding:var(--card-content-inset);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card header>strong{font-size:clamp(12px,4vw,18px)}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-hologram,
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{top:44%}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{
    gap:clamp(55px,23vw,100px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity small,
  .customer-card-layout-landscape .digital-customer-card.black-customer-card>.customer-card-tier small{font-size:clamp(5px,1.55vw,7px)}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity>div>strong{font-size:clamp(12px,3.7vw,18px)}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-number>strong{font-size:clamp(20px,6.5vw,32px)}
  .customer-card-layout-landscape .digital-customer-card.black-customer-card>.customer-card-tier{
    top:67%;
    min-width:90px;
    gap:2px;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card>.customer-card-tier b{font-size:clamp(13px,4.2vw,20px)}
}

/* Zentrierte Angaben und groessere Randabstaende der Querformatkarte (Version 2.55). */
.customer-card-layout-landscape .digital-customer-card.black-customer-card{
  --card-content-inset:clamp(64px,8vmin,110px);
  --card-identity-inset:clamp(130px,20%,320px);
}
.customer-card-layout-landscape .digital-customer-card.black-customer-card header{
  padding-inline:clamp(4px,1vmin,12px);
}
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{
  left:var(--card-identity-inset);
  right:var(--card-identity-inset);
  gap:calc(var(--card-hologram-size) + clamp(24px,4vmin,58px));
}
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity>div:first-child{
  text-align:right;
}
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity .customer-card-number{
  text-align:left;
}
@media(orientation:portrait) and (max-width:900px){
  .customer-card-layout-landscape .digital-customer-card.black-customer-card{
    --card-content-inset:clamp(36px,10vw,48px);
    --card-identity-inset:clamp(44px,14vw,66px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{
    gap:calc(var(--card-hologram-size) + clamp(14px,4vw,24px));
  }
}

/* Ausgewogene Kundenkarte fuer beide Handy-Ausrichtungen (Version 2.58). */
.customer-card-layout-landscape .digital-customer-card.black-customer-card{
  --card-horizontal-inset:var(--card-content-inset);
  padding-inline:var(--card-horizontal-inset);
}
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{
  left:var(--card-horizontal-inset);
  right:var(--card-horizontal-inset);
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:calc(var(--card-hologram-size) + clamp(32px,5vmin,70px));
}
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity>div,
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity>div:first-child,
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity .customer-card-number{
  justify-items:center;
  text-align:center;
}
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity small,
.customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity>div>strong{
  width:100%;
  max-width:100%;
  text-align:center;
}
@media(orientation:landscape) and (max-width:1200px) and (max-height:700px){
  .customer-card-layout-landscape .digital-customer-card.black-customer-card{
    --card-horizontal-inset:clamp(72px,10vw,96px);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{
    gap:calc(var(--card-hologram-size) + clamp(22px,5vmin,34px));
  }
}
@media(orientation:portrait) and (max-width:900px){
  .customer-card-layout-landscape .digital-customer-card.black-customer-card{
    --card-content-inset:clamp(22px,6.5vw,30px);
    --card-horizontal-inset:var(--card-content-inset);
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card header{
    padding-inline:0;
  }
  .customer-card-layout-landscape .digital-customer-card.black-customer-card .customer-card-identity{
    gap:calc(var(--card-hologram-size) + clamp(14px,4vw,22px));
  }
}

/* Statusfarben der Premium-Kundenkarte (Version 2.67). */
.digital-customer-card.black-customer-card[data-card-tier="Basis"],
.customer-card-tier-preview[data-card-tier="Basis"]{
  --tier-card-start:#0a2d6f;--tier-card-mid:#176bd2;--tier-card-end:#071d4d;--tier-card-glow:rgba(56,139,255,.42);--tier-card-label:#c8dcff;
}
.digital-customer-card.black-customer-card[data-card-tier="Bronze"],
.customer-card-tier-preview[data-card-tier="Bronze"]{
  --tier-card-start:#4b2413;--tier-card-mid:#ad6233;--tier-card-end:#3a1b0f;--tier-card-glow:rgba(206,116,65,.4);--tier-card-label:#f2c7a5;
}
.digital-customer-card.black-customer-card[data-card-tier="Silber"],
.customer-card-tier-preview[data-card-tier="Silber"]{
  --tier-card-start:#414b56;--tier-card-mid:#919da8;--tier-card-end:#303943;--tier-card-glow:rgba(200,214,226,.35);--tier-card-label:#f0f4f7;
}
.digital-customer-card.black-customer-card[data-card-tier="Gold"],
.customer-card-tier-preview[data-card-tier="Gold"]{
  --tier-card-start:#684404;--tier-card-mid:#c79720;--tier-card-end:#4c3003;--tier-card-glow:rgba(241,192,62,.4);--tier-card-label:#fff0b0;
}
.digital-customer-card.black-customer-card[data-card-tier="Platin"],
.customer-card-tier-preview[data-card-tier="Platin"]{
  --tier-card-start:#294052;--tier-card-mid:#7893a8;--tier-card-end:#203242;--tier-card-glow:rgba(157,211,237,.36);--tier-card-label:#dff3fb;
}
.digital-customer-card.black-customer-card[data-card-tier]:not([data-card-tier="Ultimate"]){
  background:
    radial-gradient(circle at 18% 13%,rgba(255,255,255,.24),transparent 25%),
    radial-gradient(circle at 82% 82%,var(--tier-card-glow),transparent 34%),
    repeating-linear-gradient(103deg,rgba(255,255,255,.025) 0 1px,transparent 1px 4px),
    linear-gradient(145deg,var(--tier-card-start) 0%,var(--tier-card-mid) 44%,var(--tier-card-end) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(0,0,0,.75),
    inset 18px 18px 44px rgba(255,255,255,.045),
    inset -22px -24px 50px rgba(0,0,0,.35),
    0 30px 80px var(--tier-card-glow);
}
.digital-customer-card.black-customer-card[data-card-tier]:not([data-card-tier="Ultimate"]) .customer-card-identity small,
.digital-customer-card.black-customer-card[data-card-tier]:not([data-card-tier="Ultimate"])>.customer-card-tier small{
  color:var(--tier-card-label);
  text-shadow:0 1px 2px rgba(0,0,0,.72);
}

/* Kompakte Statusvorschau im Adminbereich (Version 2.67). */
.customer-card-overview{margin-top:28px;padding-top:24px;border-top:1px solid #d8e1ef}
.customer-card-overview-head{margin-bottom:16px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.customer-card-overview-head h3{margin:0 0 5px;color:#172750;font-size:17px}
.customer-card-overview-head p{margin:0;color:#65718b;font-size:10px;line-height:1.55}
.customer-card-overview-head>span{padding:7px 10px;border-radius:999px;background:#eaf1ff;color:#2451a4;font-size:8px;font-weight:900;white-space:nowrap}
.customer-card-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:16px}
.customer-card-tier-preview{
  --tier-card-start:#020304;--tier-card-mid:#17191d;--tier-card-end:#050608;--tier-card-glow:rgba(0,0,0,.48);--tier-card-label:#dce1e6;
  isolation:isolate;position:relative;aspect-ratio:1.588/1;min-width:0;overflow:hidden;padding:25px 27px;border:1px solid rgba(240,244,248,.38);border-radius:17px;
  background:radial-gradient(circle at 18% 13%,rgba(255,255,255,.22),transparent 25%),radial-gradient(circle at 82% 82%,var(--tier-card-glow),transparent 34%),repeating-linear-gradient(103deg,rgba(255,255,255,.024) 0 1px,transparent 1px 4px),linear-gradient(145deg,var(--tier-card-start),var(--tier-card-mid) 44%,var(--tier-card-end));
  color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -1px 0 rgba(0,0,0,.85),0 13px 30px var(--tier-card-glow);
}
.customer-card-tier-preview-frame{position:absolute;z-index:5;inset:9px;border:1px solid rgba(238,242,246,.85);border-radius:12px;box-shadow:0 0 0 2px rgba(7,9,12,.9),0 0 0 3px rgba(173,181,190,.8),inset 0 0 0 2px rgba(39,44,50,.8);pointer-events:none}
.customer-card-tier-preview-title{position:relative;z-index:2;display:block;max-width:62%;overflow:hidden;color:#eef1f4;font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;font-size:12px;letter-spacing:.09em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;text-shadow:-1px -1px rgba(255,255,255,.25),1px 1px #000}
.customer-card-tier-preview-hologram{position:absolute;z-index:0;left:50%;top:46%;width:31%;aspect-ratio:1;transform:translate(-50%,-50%);opacity:.3;mix-blend-mode:screen;filter:saturate(1.3) drop-shadow(0 0 7px rgba(116,226,255,.25))}
.customer-card-tier-preview-hologram::after{content:"";position:absolute;inset:3%;border-radius:50%;background:conic-gradient(transparent,rgba(117,238,255,.2),transparent,rgba(215,130,255,.2),transparent);mix-blend-mode:screen}
.customer-card-tier-preview-hologram img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;display:block}
.customer-card-tier-preview-holder,.customer-card-tier-preview-number,.customer-card-tier-preview-status{position:absolute;z-index:2;display:grid;gap:3px;font-family:"Arial Narrow","Roboto Condensed",Arial,sans-serif;text-transform:uppercase}
.customer-card-tier-preview-holder{left:27px;top:46%;max-width:31%;transform:translateY(-50%)}
.customer-card-tier-preview-number{right:27px;top:46%;max-width:31%;transform:translateY(-50%);text-align:right}
.customer-card-tier-preview-status{left:50%;bottom:31px;transform:translateX(-50%);text-align:center}
.customer-card-tier-preview small{color:var(--tier-card-label);font-size:6px;font-weight:800;letter-spacing:.13em;text-shadow:0 1px #000}
.customer-card-tier-preview b{overflow-wrap:anywhere;color:#eef1f4;font-size:11px;letter-spacing:.08em;line-height:1.05;text-shadow:-1px -1px rgba(255,255,255,.28),1px 1px #000}
.customer-card-tier-preview-number b{font-size:16px;letter-spacing:.12em}
.customer-card-tier-preview-status b{font-size:10px;letter-spacing:.14em}
.customer-card-tier-preview-custom{position:absolute;z-index:2;left:27px;right:27px;bottom:15px;display:flex;justify-content:space-between;gap:10px;color:#dce1e6;font-size:5px;letter-spacing:.1em;text-transform:uppercase;text-shadow:1px 1px #000}
.customer-card-tier-preview-custom>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.theme-collector .customer-card-overview{border-top-color:rgba(213,224,241,.16)}
.theme-collector .customer-card-overview-head h3{color:#fff}
.theme-collector .customer-card-overview-head p{color:#aebbd0}
.theme-collector .customer-card-overview-head>span{background:#1b2940;color:#f0ce78}
@media(max-width:1100px){.customer-card-tier-grid{grid-template-columns:repeat(2,minmax(230px,1fr))}}
@media(max-width:620px){.customer-card-overview-head{display:grid}.customer-card-tier-grid{grid-template-columns:1fr}.customer-card-tier-preview{padding:23px 25px}.customer-card-tier-preview-holder{left:25px}.customer-card-tier-preview-number{right:25px}.customer-card-tier-preview-custom{left:25px;right:25px}}

/* Kombinierbare Artikel- und Releasefilter (Version 2.53). */
.product-catalog{display:grid;gap:18px}
.product-catalog-filters,.product-list-filters{
  padding:15px;
  display:grid;
  grid-template-columns:minmax(240px,2fr) minmax(150px,1fr) minmax(145px,1fr) minmax(145px,1fr) auto;
  align-items:end;
  gap:10px;
  border:1px solid #d8e2f2;
  border-radius:16px;
  background:#fff;
  box-shadow:0 9px 24px rgba(25,52,111,.06);
}
.product-list-filters{margin:16px 0 12px;background:#f7f9fd;box-shadow:none}
.product-catalog-filters label,.product-list-filters label{display:grid;gap:6px;min-width:0}
.product-catalog-filters label>span,.product-list-filters label>span{
  color:#596784;
  font-size:8px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.product-catalog-filters input,.product-catalog-filters select,
.product-list-filters input,.product-list-filters select{
  width:100%;
  min-height:42px;
  padding:9px 11px;
  border:1px solid #cbd7eb;
  border-radius:9px;
  background:#fff;
  color:#172750;
  font-size:10px;
}
.product-filter-reset{
  min-height:42px;
  padding:9px 13px;
  border:1px solid #aebfdd;
  border-radius:9px;
  background:#eef3fb;
  color:#234170;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
}
.product-filter-reset:hover,.product-filter-reset:focus-visible{border-color:#145bff;color:#145bff;outline:3px solid rgba(20,91,255,.13)}
.product-filter-result{grid-column:1/-1;color:#687492;font-size:9px;font-weight:750}
.product-filter-empty{margin-top:0}
.product-admin-list>[hidden],.product-grid>[hidden]{display:none!important}
.theme-collector .product-catalog-filters{border-color:rgba(213,224,241,.16);background:#101a2d;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.theme-collector .product-catalog-filters label>span,.theme-collector .product-filter-result{color:#aebbd0}
.theme-collector .product-catalog-filters input,.theme-collector .product-catalog-filters select{border-color:rgba(213,224,241,.2);background:#17243a;color:#fff}
.theme-collector .product-filter-reset{border-color:rgba(217,180,91,.38);background:#1b2940;color:#f0ce78}
@media(max-width:1120px){
  .product-catalog-filters,.product-list-filters{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(140px,1fr))}
  .product-catalog-filters .product-filter-reset,.product-list-filters .product-filter-reset{width:100%}
}
@media(max-width:700px){
  .product-catalog-filters,.product-list-filters{grid-template-columns:1fr 1fr;padding:12px}
  .product-filter-search{grid-column:1/-1}
  .product-catalog-filters label:nth-of-type(2),.product-list-filters label:nth-of-type(2){grid-column:1/-1}
  .product-catalog-filters .product-filter-reset,.product-list-filters .product-filter-reset{grid-column:1/-1}
}

/* Verpflichtende TOTP-Zwei-Faktor-Anmeldung (Version 2.53). */
.admin-totp-settings{scroll-margin-top:24px}
.totp-state{padding:7px 10px;border-radius:999px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.totp-state.active{background:#daf4e8;color:#126747}
.totp-state.required{background:#fff0bd;color:#765800}
.totp-setup-layout{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.28fr);gap:28px;align-items:start}
.totp-qr-card{padding:22px;display:grid;justify-items:center;gap:12px;border:1px solid #d7e0ef;border-radius:18px;background:#f7f9fd;text-align:center}
.totp-qr-card [data-totp-qr]{width:min(100%,290px);padding:12px;border-radius:12px;background:#fff;color:#4e5b76;font-size:10px;line-height:1.5}
.totp-qr-card svg{width:100%;height:auto;display:block}
.totp-qr-card small{color:#5d6984;font-size:8px;font-weight:800}
.totp-setup-steps{display:grid;gap:15px}
.totp-setup-steps ol{margin:0;padding-left:22px;color:#3e4c6c;font-size:11px;line-height:1.75}
.totp-setup-steps details,.totp-reset{padding:14px;border:1px solid #d8e1f0;border-radius:12px;background:#f8faff}
.totp-setup-steps summary,.totp-reset summary{cursor:pointer;color:#1f4585;font-size:10px;font-weight:850}
.totp-secret{margin-top:12px;padding:10px;display:block;overflow-wrap:anywhere;border-radius:8px;background:#101a2d;color:#fff;font-size:13px;letter-spacing:.14em;text-align:center}
.totp-confirm-form{max-width:460px}
.totp-active-info{padding:18px;border:1px solid #b8dfcf;border-radius:14px;background:#f0faf6;color:#214c3c}
.totp-active-info p{margin:0 0 8px;line-height:1.55}.totp-active-info small{font-size:8px}
.totp-reset{margin-top:16px}.totp-reset form{max-width:580px;margin-top:14px}
.totp-recovery-panel{margin-bottom:22px;padding:20px;border:2px solid #e6b51f;border-radius:15px;background:#fff8d9}
.totp-recovery-panel>p{color:#655c3d;font-size:10px;line-height:1.55}
.totp-recovery-codes{margin:14px 0;display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.totp-recovery-codes code{padding:9px;border:1px solid #dbc86f;border-radius:7px;background:#fff;color:#2b3346;font-size:11px;font-weight:800;text-align:center}
@media(max-width:800px){.totp-setup-layout{grid-template-columns:1fr}.totp-recovery-codes{grid-template-columns:repeat(2,1fr)}}
@media print{.admin-totp-settings~*,.admin-sidebar,.admin-main>header,.admin-totp-settings .panel-head,.admin-totp-settings .totp-active-info,.admin-totp-settings .totp-reset{display:none!important}.admin-main{margin:0!important}.admin-totp-settings{border:0!important;box-shadow:none!important}.totp-recovery-panel{border:1px solid #000;background:#fff}.totp-recovery-panel .btn{display:none!important}}
.customer-admin-edit-note{margin-bottom:20px;padding:17px;border:1px solid #b9d5c8;border-radius:13px;background:#f0faf5;color:#234c3b}
.customer-admin-edit-note strong{font-size:12px}.customer-admin-edit-note p{margin:6px 0 0;font-size:9px;line-height:1.6}
.customer-important-check{min-height:48px;padding:10px 12px;display:flex!important;align-items:flex-start;gap:9px;border:1px solid #d4b437;border-radius:10px;background:#fff9d8}.customer-important-check input{width:18px;height:18px;margin-top:2px;accent-color:#d49b00}.customer-important-check span{display:grid;gap:2px}.customer-important-check strong{color:#654d00}.customer-important-check small{color:#75662e}.customer-admin-notes{margin:14px 0;padding:13px;display:grid;gap:6px;border:1px solid #c9d5e8;border-radius:11px;background:#f7f9fd}.customer-admin-notes textarea{width:100%;min-height:110px;resize:vertical}.customer-admin-notes small{color:#687492;font-size:8px}.preorder-table-wrap tr[data-preorder-important="1"]{box-shadow:inset 4px 0 #e2b400;background:#fffdf0}
.preorder-table-wrap tr[data-preorder-priority="priority"]{box-shadow:inset 4px 0 #c89100;background:#fff8d9}

/* Storno-CP und kritische Kunden (Version 2.93). */
.critical-customer-notice{max-width:1180px;margin:18px auto 0;padding:14px 18px;display:flex;align-items:flex-start;gap:12px;border:1px solid #e39a9a;border-left:5px solid #bd2424;border-radius:12px;background:#fff0f0;color:#6e1d1d}.critical-customer-notice strong{white-space:nowrap}.critical-customer-notice span{line-height:1.45}.customer-critical-badge{display:inline-flex;margin:3px 0 0 6px;padding:3px 7px;border:1px solid #d86b6b;border-radius:999px;background:#ffe4e4;color:#941d1d;font-size:7px;font-weight:900;line-height:1.2;white-space:nowrap}.customer-penalty-note{display:block;margin-top:3px;color:#a12b2b;font-weight:800}.theme-collector .critical-customer-notice{border-color:rgba(255,116,116,.5);border-left-color:#ff6767;background:#32191f;color:#ffd7d7}.theme-collector .customer-critical-badge{border-color:rgba(255,115,115,.55);background:#3b1b22;color:#ffb8b8}.theme-collector .customer-penalty-note{color:#ffaaa9}@media(max-width:700px){.critical-customer-notice{margin:12px 12px 0;display:grid;gap:5px}.critical-customer-notice strong{white-space:normal}}

/* Kundenumsatz-Synchronisation (Version 2.92). */
.sales-sync-stats strong{font-size:clamp(16px,2vw,25px)}
.sales-sync-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.sales-sync-actions form{margin:0}
.sales-sync-cron-url{display:block;margin:9px 0;padding:11px 13px;overflow-wrap:anywhere;border:1px solid #c7d5ea;border-radius:9px;background:#fff;color:#18325e;font-size:9px;line-height:1.55}
.sales-comparison-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.sales-comparison-grid article{padding:15px;border:1px solid #d6e1f1;border-radius:12px;background:#f8faff}.sales-comparison-grid span{display:block;color:#65738e;font-size:8px;font-weight:850;text-transform:uppercase}.sales-comparison-grid strong{display:block;margin-top:7px;color:#172750;font-size:17px}.sales-comparison-grid .has-difference{color:#a24c00}.sales-source-badge{padding:7px 10px;border-radius:999px;background:#eef3fb;color:#38517b;font-size:8px;font-weight:900}.sales-source-badge.source-portal{background:#d9f3e7;color:#146143}.sales-source-badge.source-sync_once{background:#fff0c7;color:#765400}.sales-source-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.sales-source-buttons form{margin:0}
@media(max-width:900px){.sales-comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.sales-sync-actions,.sales-sync-actions form,.sales-sync-actions button{width:100%}}
@media(max-width:700px){.sales-comparison-grid{grid-template-columns:1fr}.sales-source-buttons,.sales-source-buttons form,.sales-source-buttons button{width:100%}}

/* Reservierungsanfragen ohne Seitenwechsel (Version 2.54). */
.reserve-form[aria-busy="true"]{opacity:.72;pointer-events:none}
.mini-btn.request-sent,.mini-btn.request-sent:disabled{background:#daf4e8;color:#126747;opacity:1;cursor:default}
.product-card.request-completed{border-color:#9bd0b9;box-shadow:0 12px 30px rgba(20,130,88,.12)}
.product-card.request-completed .request-note{color:#18704f;font-weight:800}
.request-toast{width:min(560px,calc(100vw - 28px));text-align:center;line-height:1.45}
.request-toast.success{background:#126747;color:#fff}
@media(max-width:600px){.request-toast{bottom:max(14px,env(safe-area-inset-bottom));padding:12px 15px;font-size:10px}}

/* Vollständige Kundenansicht aller Reservierungsanfragen (Version 2.67). */
.orders .order-row{grid-template-columns:44px minmax(0,1fr) auto;padding:10px 0}
.orders .order-row>p{min-width:0;margin:0}
.orders .order-row>p strong,.orders .order-row>p span{white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.orders .order-row>p span{display:block}
.orders .order-row-new{animation:request-row-arrival .5s ease-out}
@keyframes request-row-arrival{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.orders .order-row-new{animation:none}}
@media(max-width:620px){
  .orders .order-row{grid-template-columns:38px minmax(0,1fr);align-items:start}
  .orders .order-row>i{width:38px;height:42px}
  .orders .order-actions{grid-column:2;align-items:flex-start;justify-content:flex-start;flex-direction:row}
}

/* Prüfansicht alte und neue Kundenumsätze (Version 2.92). */
.sales-audit-panel{display:grid;gap:16px}
.sales-audit-baseline{padding:7px 10px;border-radius:999px;background:#e7eef9;color:#29466f;font-size:8px;font-weight:900;white-space:nowrap}
.sales-audit-totals{margin:0;grid-template-columns:repeat(5,minmax(0,1fr))}
.sales-audit-totals .protected-turnover,.sales-audit-record .protected-turnover{color:#126747!important}
.sales-audit-notes{padding:14px 16px;display:grid;gap:7px;border:1px solid #c9d7eb;border-radius:12px;background:#f7f9fd;color:#3d4f70}
.sales-audit-notes p{margin:0;font-size:9px;line-height:1.6}
.sales-audit-filters{display:grid;grid-template-columns:minmax(230px,2fr) minmax(120px,.7fr) minmax(190px,1fr) auto auto;gap:10px;align-items:end}
.sales-audit-filters label{display:grid;gap:6px;color:#596784;font-size:8px;font-weight:850;text-transform:uppercase}
.sales-audit-filters input,.sales-audit-filters select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #cbd7eb;border-radius:9px;background:#fff;color:#172750;font-size:10px;text-transform:none}
.sales-audit-filters .btn{min-height:42px;white-space:nowrap}
.sales-audit-result-head{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#334968}
.sales-audit-result-head strong{font-size:10px}.sales-audit-result-head small{color:#6b7891;font-size:8px}
.sales-audit-list{display:grid;gap:9px}
.sales-audit-record{overflow:hidden;border:1px solid #d1ddec;border-left:5px solid #c0ccdc;border-radius:12px;background:#fff}
.sales-audit-record.status-equal{border-left-color:#2a9a6b}.sales-audit-record.status-different{border-left-color:#d98b00}.sales-audit-record.status-missing_cash,.sales-audit-record.status-missing_portal{border-left-color:#c94c43}
.sales-audit-record>summary{padding:13px 14px;display:grid;grid-template-columns:minmax(190px,1.55fr) 64px repeat(4,minmax(100px,.75fr)) minmax(130px,.85fr);gap:12px;align-items:center;cursor:pointer;list-style-position:inside}
.sales-audit-record>summary:hover{background:#f8faff}.sales-audit-record[open]>summary{border-bottom:1px solid #d8e2f0;background:#f7f9fd}
.sales-audit-record>summary>span{min-width:0;display:grid;gap:4px}.sales-audit-record>summary small{color:#6c7890;font-size:7px;font-weight:800;text-transform:uppercase}.sales-audit-record>summary strong{color:#172750;font-size:10px;overflow-wrap:anywhere}.sales-audit-record>summary strong.has-difference{color:#a24c00}
.sales-audit-customer strong{font-size:11px!important}.sales-audit-customer small{text-transform:none!important;white-space:normal}
.sales-audit-status{justify-self:start;padding:6px 8px;border-radius:999px;background:#e9eef6;color:#385071;font-size:8px;font-weight:900;text-align:center}
.status-equal .sales-audit-status{background:#daf4e8;color:#126747}.status-different .sales-audit-status{background:#fff0c7;color:#765400}.status-missing_cash .sales-audit-status,.status-missing_portal .sales-audit-status{background:#fde5e2;color:#8b302a}
.sales-audit-detail{padding:14px}.sales-audit-timestamp{margin:0 0 12px;color:#66738c;font-size:8px;line-height:1.5}
.sales-audit-months{width:100%;min-width:900px}.sales-audit-months th,.sales-audit-months td{padding:8px 11px;text-align:right}.sales-audit-months th:first-child,.sales-audit-months td:first-child{text-align:left}.sales-audit-months .month-different{background:#fff8e5}.sales-audit-year-total{border-top:2px solid #9fb1cb;background:#eef3fa}.sales-audit-year-total small{display:block;margin-top:3px;color:#57705f;font-size:7px;white-space:nowrap}
.sales-audit-pagination{display:flex;justify-content:center;align-items:center;gap:14px}.sales-audit-pagination span{color:#596784;font-size:9px;font-weight:800}
@media(max-width:1200px){
  .sales-audit-totals{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sales-audit-filters{grid-template-columns:2fr 1fr 1.3fr}.sales-audit-filters .btn{width:100%}
  .sales-audit-record>summary{grid-template-columns:minmax(190px,1.4fr) 70px repeat(2,minmax(110px,1fr));}.sales-audit-record>summary>span:nth-child(5),.sales-audit-record>summary>span:nth-child(6){grid-column:auto}
}
@media(max-width:760px){
  .sales-audit-totals{grid-template-columns:1fr 1fr}
  .sales-audit-filters{grid-template-columns:1fr 1fr}.sales-audit-filters label:first-of-type,.sales-audit-filters label:nth-of-type(3){grid-column:1/-1}
  .sales-audit-record>summary{grid-template-columns:1fr 1fr;gap:10px}.sales-audit-customer,.sales-audit-status{grid-column:1/-1}.sales-audit-status{justify-self:stretch}
  .sales-audit-result-head{align-items:flex-start;flex-direction:column}.sales-audit-pagination{flex-wrap:wrap}.sales-audit-pagination .btn{flex:1 1 140px}
}
@media(max-width:520px){.sales-audit-totals{grid-template-columns:1fr}.sales-audit-filters{grid-template-columns:1fr}.sales-audit-filters label{grid-column:1!important}.sales-audit-filters .btn{grid-column:1}.sales-audit-record>summary{padding:11px}.sales-audit-detail{padding:10px}}

/* Zustellprotokoll für Reservierungs-Pushes (seit Version 2.95). */
.preorder-push-problem-summary{margin:14px 0;padding:13px 15px;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(300px,1.5fr) auto;align-items:center;gap:14px;border:1px solid #e5a3a3;border-left:5px solid #bd3030;border-radius:12px;background:#fff3f3;color:#721f1f}
.preorder-push-problem-summary>div{display:grid;gap:3px}.preorder-push-problem-summary span{font-size:8px}.preorder-push-problem-summary ul{margin:0;padding-left:18px;display:grid;gap:3px;font-size:8px}.preorder-push-problem-summary form{margin:0}
.preorder-table-wrap tr[data-preorder-push-status="failed"],.preorder-table-wrap tr[data-preorder-push-status="skipped"],.preorder-table-wrap tr[data-preorder-push-status="unknown"]{border-right:4px solid #c83232}
.preorder-push-state{margin-top:7px;width:100%;font-size:8px;font-weight:850}.preorder-push-state.problem{padding:6px 8px;border:1px solid #e4aaaa;border-radius:8px;background:#fff0f0;color:#852727}.preorder-push-state.problem summary{cursor:pointer}.preorder-push-state.problem small{padding-top:6px;display:block;font-weight:600;line-height:1.45}.preorder-push-state.delivered,.preorder-push-state.pending{padding:5px 7px;display:inline-block;border-radius:999px}.preorder-push-state.delivered{background:#dff4e8;color:#126747}.preorder-push-state.pending{background:#e7eefb;color:#31578c}
.push-delivery-log-panel{display:grid;gap:14px}.push-delivery-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.push-delivery-counts span{padding:12px;display:flex;align-items:baseline;gap:7px;border-radius:11px;background:#eef3fa;color:#385071;font-size:9px;font-weight:850}.push-delivery-counts b{font-size:17px}.push-delivery-counts .delivered{background:#def4e8;color:#126747}.push-delivery-counts .problem{background:#fde7e5;color:#8a2d27}
.push-delivery-log-table table{min-width:900px}.push-delivery-log-table td{vertical-align:top}.push-delivery-log-table td strong,.push-delivery-log-table td small{display:block}.push-delivery-log-table td small{margin-top:4px;color:#66738c;font-size:8px;line-height:1.45}.push-delivery-log-table tr.push-log-failed,.push-delivery-log-table tr.push-log-skipped,.push-delivery-log-table tr.push-log-unknown{background:#fff7f6}
.push-delivery-badge{margin-bottom:4px;padding:5px 8px;display:inline-block;border-radius:999px;background:#e7eef8;color:#365477;font-size:8px;font-weight:900}.push-delivery-badge.delivered{background:#daf3e6;color:#126747}.push-delivery-badge.failed,.push-delivery-badge.skipped,.push-delivery-badge.unknown{background:#f9deda;color:#8a2d27}.push-delivery-badge.accepted{background:#e7eefb;color:#31578c}
.preorder-push-problem-actions,.push-delivery-head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.preorder-push-problem-actions form,.push-delivery-head-actions form,.push-retry-form{margin:0}.preorder-push-problem-actions .btn,.push-delivery-head-actions .btn{white-space:nowrap}.push-retry-form{margin-top:8px!important}.push-retry-form .btn{min-height:32px;padding:6px 9px;font-size:8px}
@media(max-width:900px){.preorder-push-problem-summary{grid-template-columns:1fr}.preorder-push-problem-summary .btn{width:100%}}
@media(max-width:620px){.push-delivery-counts{grid-template-columns:1fr}.push-delivery-log-panel .panel-head{align-items:stretch;flex-direction:column}.push-delivery-log-panel .panel-head .btn,.push-delivery-head-actions form{width:100%}.preorder-push-problem-actions{justify-content:stretch}.preorder-push-problem-actions form{width:100%}}

/* Eindeutige manuelle und automatische Umsatzübernahme (Version 2.99). */
.sales-auto-apply-check{padding:13px 14px!important;align-items:flex-start!important;border:1px solid #9fc5b3!important;border-radius:11px;background:#f0faf5}.sales-auto-apply-check small{margin-top:3px;display:block;color:#4f6f61;font-size:8px;font-weight:650;line-height:1.45}.sales-last-applied{border-color:#9fcbb4;background:#effaf4;color:#205b3f}.sales-source-buttons .btn.primary{font-weight:900}
