@font-face {
  font-family: "Space Grotesk Shop";
  src: url("/static/fonts/space-grotesk-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Shop";
  src: url("/static/fonts/inter-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --shop-ink: #15202b;
  --shop-muted: #5a6878;
  --shop-paper: #e8eef1;
  --shop-surface: #ffffff;
  --shop-accent: #0d6b5c;
  --shop-accent-deep: #085246;
  --shop-accent-soft: rgba(13, 107, 92, 0.09);
  --shop-line: rgba(21, 32, 43, 0.11);
  --shop-radius: 6px;
  --shop-font-display: "Space Grotesk Shop", "Avenir Next", "Segoe UI", sans-serif;
  --shop-font-body: "Inter Shop", "Avenir Next", "Segoe UI", sans-serif;
  --shop-hero-glow:
    radial-gradient(ellipse 80% 70% at 78% 42%, rgba(13, 107, 92, 0.38), transparent 58%),
    radial-gradient(ellipse 55% 50% at 12% 18%, rgba(232, 196, 120, 0.16), transparent 52%),
    linear-gradient(152deg, #101820 0%, #1a2a36 42%, #0d4a42 100%);
  --shop-shadow-soft: 0 12px 40px rgba(21, 32, 43, 0.08);
}

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

body.shop-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--shop-font-body);
  background-color: var(--shop-paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 0% -10%, rgba(13, 107, 92, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 8%, rgba(232, 196, 120, 0.08), transparent 50%),
    linear-gradient(180deg, #f2f6f8 0%, var(--shop-paper) 42%, #e4eaee 100%);
  color: var(--shop-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--shop-line);
  background: rgba(242, 246, 248, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
}

.shop-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.shop-brand {
  font-family: var(--shop-font-display);
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
  color: var(--shop-ink);
}

.shop-market {
  flex: 0 0 auto;
}

.shop-ship-to {
  min-width: 9.5rem;
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
}

.shop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.95rem;
  align-items: center;
  justify-content: flex-end;
}

.shop-nav a {
  text-decoration: none;
  opacity: 0.85;
}

.shop-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-nav a[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.1rem 3.5rem;
}

.shop-main:has(.shop-hero-bleed) {
  padding-top: 0;
  max-width: none;
}

.shop-main:has(.shop-hero-bleed) > .shop-catalog-section,
.shop-main:has(.shop-hero-bleed) > .shop-checkout-intro,
.shop-main:has(.shop-hero-bleed) > .shop-checkout-grid,
.shop-main:has(.shop-hero-bleed) > .shop-success,
.shop-main:has(.shop-hero-bleed) > h1 {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.shop-hero-bleed {
  position: relative;
  min-height: clamp(20rem, 48vh, 28rem);
  display: block;
  background: var(--shop-hero-glow);
  color: #f3f1ec;
  /* visible: Cover-Hover darf nach oben aus dem Stage ragen */
  overflow: visible;
  animation: shop-hero-in 720ms ease-out both;
}

.shop-hero-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='1' d='M0 60h120M60 0v120'/%3E%3C/svg%3E");
  pointer-events: none;
}

.shop-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  padding: clamp(2.2rem, 5vh, 3.2rem) 1.1rem;
}

.shop-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.shop-hero-copy {
  max-width: 34rem;
  min-width: 0;
}

.shop-brand-mark {
  font-family: var(--shop-font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #f3f1ec;
  animation: shop-rise 780ms 60ms ease-out both;
}

.shop-hero-title {
  font-family: var(--shop-font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 500;
  max-width: 28ch;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  color: rgba(243, 241, 236, 0.92);
  animation: shop-rise 780ms 120ms ease-out both;
}

.shop-hero-lead {
  max-width: 34rem;
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  color: rgba(243, 241, 236, 0.78);
  animation: shop-rise 780ms 180ms ease-out both;
}

.shop-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: shop-rise 780ms 240ms ease-out both;
}

.shop-hero-stage {
  position: relative;
  min-height: 16.5rem;
  height: clamp(16.5rem, 34vw, 22rem);
  /* Kein transform am Parent — Kind-Hover sonst oft „tot“. */
  animation: shop-fade-in 900ms 180ms ease-out forwards;
  overflow: visible;
  /* Lücken zwischen Covers triggern keinen Stage-Hover (CSS-Tricks Collage). */
  pointer-events: none;
}

.shop-hero-cover {
  position: absolute;
  display: block;
  border-radius: 4px;
  /* Transparent statt grauem Letterbox — Cover sitzt auf dem Hero-Grün */
  background: transparent;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 2px 6px rgba(0, 0, 0, 0.22);
  overflow: visible;
  transform-origin: 50% 85%;
  pointer-events: auto;
  /* Bücher = feste Materie: immer voll deckend (Alpha nur am Cover-Rand/3D-Freisteller) */
  opacity: 1;
  /* Einzelproperties — kein Konflikt mit Parent-animation fill-mode auf `transform` */
  translate: 0 0;
  scale: 1;
}

.shop-hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  /* contain: Cover nie croppen (wie Katalog) — Rahmen bleibt 2:3, Pad = Hero-Grün */
  object-fit: contain;
  object-position: center center;
  background: transparent;
  pointer-events: none;
  border-radius: 4px;
}

.shop-hero-cover-1 {
  width: 44%;
  aspect-ratio: 2 / 3;
  left: 6%;
  bottom: 6%;
  z-index: 3;
  rotate: -6deg;
}

.shop-hero-cover-2 {
  width: 40%;
  aspect-ratio: 2 / 3;
  left: 34%;
  bottom: 14%;
  z-index: 4;
  rotate: 3deg;
}

.shop-hero-cover-3 {
  width: 36%;
  aspect-ratio: 2 / 3;
  right: 4%;
  bottom: 4%;
  z-index: 2;
  rotate: 8deg;
}

/*
  Lift + Dimmen immer (auch bei prefers-reduced-motion): bewusst nutzergetriggert.
  Früher lag der Lift nur in (no-preference) — dann nur Z-Index/Opacity, keine Bewegung.
  Einzelne translate/rotate/scale statt transform-Kurzform.
*/
.shop-hero-stage:has(.shop-hero-cover:hover) .shop-hero-cover:not(:hover),
.shop-hero-stage:has(.shop-hero-cover:focus-visible) .shop-hero-cover:not(:focus-visible) {
  /* Dimmen ohne Opacity — sonst scheinen hintere Bücher durch */
  filter: saturate(0.65) brightness(0.72);
}

.shop-hero-cover:hover,
.shop-hero-cover:focus-visible {
  filter: none;
  z-index: 8;
  box-shadow:
    0 26px 48px rgba(0, 0, 0, 0.5),
    0 8px 14px rgba(0, 0, 0, 0.28);
  translate: 0 -22px;
  scale: 1.1;
}

.shop-hero-cover-1:hover,
.shop-hero-cover-1:focus-visible {
  rotate: -2deg;
}

.shop-hero-cover-2:hover,
.shop-hero-cover-2:focus-visible {
  rotate: 0deg;
}

.shop-hero-cover-3:hover,
.shop-hero-cover-3:focus-visible {
  rotate: 3deg;
}

@media (prefers-reduced-motion: no-preference) {
  .shop-hero-cover {
    transition:
      translate 320ms cubic-bezier(0.22, 1, 0.36, 1),
      scale 320ms cubic-bezier(0.22, 1, 0.36, 1),
      rotate 320ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 320ms ease,
      opacity 280ms ease,
      filter 280ms ease;
  }
}

.shop-catalog-section {
  padding-top: 2.4rem;
}

.shop-catalog-section-tight {
  padding-top: 1.5rem;
}

.shop-section-head {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.shop-section-head h2 {
  font-family: var(--shop-font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.025em;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.35rem;
}

/* Handy: mind. 2 Spalten — sonst eine riesige 3:4-Fläche und Cover wirkt winzig. */
@media (max-width: 640px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .shop-product-media {
    --shop-media-pad: 0.45rem;
  }

  .shop-product-body {
    padding: 0.65rem 0.7rem 0.85rem;
  }

  .shop-product-body h3 {
    font-size: 0.95rem;
  }
}

.shop-product {
  --shop-stagger: 0;
  display: flex;
  flex-direction: column;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  animation: shop-card-in 520ms ease-out both;
  animation-delay: calc(min(var(--shop-stagger), 12) * 28ms);
}

.shop-product:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 107, 92, 0.32);
  box-shadow: var(--shop-shadow-soft);
}

/* Katalog: feste Kachelhöhe, Cover nie croppen (Buchhandel-Standard: contain + Pad). */
.shop-product-media {
  --shop-media-pad: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: var(--shop-media-pad);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(13, 107, 92, 0.05), transparent 55%),
    linear-gradient(168deg, #f5f7f8 0%, #e6ebef 100%);
  overflow: hidden;
}

.shop-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 320ms ease;
  box-shadow:
    0 1px 2px rgba(21, 32, 43, 0.07),
    0 10px 22px rgba(21, 32, 43, 0.11);
}

.shop-product:hover .shop-product-media img {
  transform: scale(1.03);
}

.shop-product-media-lg img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  box-shadow:
    0 1px 2px rgba(26, 35, 48, 0.08),
    0 10px 24px rgba(26, 35, 48, 0.12);
}

.shop-media-fallback {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  background:
    linear-gradient(135deg, #d9d2c4, #efe9dc 45%, #c9c0b0);
}

.shop-product-body {
  padding: 0.85rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.shop-product-meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shop-accent-deep);
  opacity: 0.9;
}

.shop-product-body h3 {
  font-family: var(--shop-font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.28;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-product-body h3 a {
  text-decoration: none;
}

.shop-product-body h3 a:hover {
  color: var(--shop-accent-deep);
}

.shop-price {
  font-family: var(--shop-font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0.15rem 0 0;
  letter-spacing: -0.02em;
}

.shop-price-lg {
  font-family: var(--shop-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0.4rem 0;
}

.shop-price-note {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--shop-muted);
}

.shop-product-actions {
  margin-top: auto;
}

.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid transparent;
  border-radius: var(--shop-radius);
  padding: 0.65rem 1.05rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.shop-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-btn-primary {
  background: var(--shop-accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.shop-btn-primary:hover:not(:disabled) {
  background: var(--shop-accent-deep);
}

.shop-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #f3f1ec;
  border-color: rgba(243, 241, 236, 0.38);
}

.shop-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.shop-btn-block {
  width: 100%;
}

.shop-btn-secondary {
  background: transparent;
  border-color: var(--shop-line);
  color: var(--shop-ink);
}

.shop-muted {
  color: var(--shop-muted);
}

.shop-link {
  color: var(--shop-accent-deep);
}

.shop-empty,
.shop-alert {
  border: 1px dashed var(--shop-line);
  padding: 1.25rem;
  background: rgba(255, 253, 248, 0.7);
}

.shop-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  padding-top: 1.5rem;
}

.shop-product-media-lg {
  --shop-media-pad: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: var(--shop-media-pad);
  background:
    linear-gradient(165deg, #f3f5f6 0%, #e7ecef 100%);
  border: 1px solid var(--shop-line);
  overflow: hidden;
}

.shop-checkout-intro {
  padding-top: 1.5rem;
}

.shop-checkout-notice {
  border-left: 3px solid var(--shop-accent);
  padding: 0.75rem 1rem;
  background: rgba(15, 107, 92, 0.06);
  margin: 0.75rem 0 1.25rem;
}

.shop-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.shop-checkout-form,
.shop-checkout-aside,
.shop-success,
.shop-bank-box {
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  padding: 1.15rem 1.2rem 1.35rem;
}

.shop-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.shop-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.shop-span-2 {
  grid-column: span 2;
}

.shop-input {
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: #fff;
}

.shop-checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.92rem;
}

.shop-checkout-highlight {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  background: rgba(26, 35, 48, 0.04);
  border: 1px solid var(--shop-line);
}

.shop-checkout-lines {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.shop-checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--shop-line);
  font-size: 0.95rem;
}

.shop-cart-lines {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.shop-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  padding: 0.85rem 1rem;
}

.shop-cart-summary {
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  padding: 1rem 1.15rem;
}

.shop-footer {
  border-top: 1px solid var(--shop-line);
  margin-top: 2rem;
  padding: 2.2rem 1.1rem 2.8rem;
  background: #e4eaed;
}

.shop-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.shop-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.shop-footer-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.shop-footer-nav a:hover {
  text-decoration: underline;
}

.shop-legal-imprint-card {
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--shop-line);
  line-height: 1.55;
}

.shop-legal-imprint-card p {
  margin: 0 0 0.85rem;
}

.shop-legal-imprint-card p:last-child {
  margin-bottom: 0;
}

.shop-bank-dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.35rem 0.75rem;
  margin: 1rem 0 0;
}

.shop-bank-dl dt {
  color: var(--shop-muted);
}

.shop-bank-dl dd {
  margin: 0;
  font-weight: 600;
  word-break: break-all;
}

@keyframes shop-hero-in {
  from {
    opacity: 0.65;
    filter: saturate(0.85);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

@keyframes shop-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shop-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shop-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .shop-product-detail,
  .shop-checkout-grid,
  .shop-form-grid {
    grid-template-columns: 1fr;
  }

  .shop-span-2 {
    grid-column: span 1;
  }

  .shop-hero-split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .shop-hero-stage {
    order: -1;
    min-height: 13.5rem;
    height: 14.5rem;
  }

  .shop-hero-cover-1 {
    width: 38%;
    left: 8%;
  }

  .shop-hero-cover-2 {
    width: 36%;
    left: 34%;
  }

  .shop-hero-cover-3 {
    width: 34%;
    right: 6%;
  }

  .shop-hero-inner {
    padding: 1.75rem 1.1rem 2rem;
  }
}

/* —— 2026 design system extensions —— */
:root {
  --shop-focus: #0f6b5c;
  --shop-motion: 200ms;
  --shop-touch: 2.75rem;
}

.shop-skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--shop-ink);
  color: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: var(--shop-radius);
  text-decoration: none;
}

.shop-skip-link:focus {
  top: 0.75rem;
}

.shop-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.shop-body :focus-visible {
  outline: 2px solid var(--shop-focus);
  outline-offset: 2px;
}

.shop-header-inner {
  flex-wrap: wrap;
}

.shop-search {
  position: relative;
  display: flex;
  gap: 0.4rem;
  flex: 1 1 14rem;
  max-width: 22rem;
}

.shop-search-input {
  flex: 1;
  min-height: var(--shop-touch);
}

.shop-search-submit {
  min-height: var(--shop-touch);
  min-width: var(--shop-touch);
}

.shop-search-suggest {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  box-shadow: 0 12px 28px rgba(26, 35, 48, 0.12);
  max-height: 18rem;
  overflow: auto;
}

.shop-suggest-item {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  border-bottom: 1px solid var(--shop-line);
}

.shop-suggest-item:last-child {
  border-bottom: 0;
}

.shop-suggest-item img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 2px;
}

.shop-suggest-item strong {
  display: block;
  font-size: 0.92rem;
}

.shop-suggest-item small {
  color: var(--shop-muted);
}

.shop-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: end;
  margin-bottom: 1.45rem;
  padding: 1.05rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  box-shadow: var(--shop-shadow-soft);
}

.shop-toolbar-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--shop-muted);
  min-width: 8rem;
}

.shop-toolbar-search {
  flex: 1 1 12rem;
  min-width: 11rem;
}

.shop-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.shop-result-count {
  margin: 0 0 0.95rem;
  font-size: 0.92rem;
}

.shop-catalog-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
  margin: 2.1rem 0 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--shop-line);
  border-radius: 10px;
}

.shop-pager-status {
  font-family: var(--shop-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--shop-ink);
  min-width: 5.5rem;
  text-align: center;
}

.shop-breadcrumb {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--shop-muted);
}

.shop-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.shop-gallery-thumb {
  border: 1px solid var(--shop-line);
  padding: 0.25rem;
  background: #f3f5f6;
  cursor: pointer;
  border-radius: var(--shop-radius);
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-gallery-thumb.is-active {
  border-color: var(--shop-accent);
}

.shop-gallery-thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.shop-buy-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shop-atc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: end;
}

.shop-qty-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.shop-qty-label {
  font-size: 0.85rem;
  color: var(--shop-muted);
}

.shop-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.shop-qty-btn {
  width: 2.4rem;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  color: var(--shop-ink, #1a1a1a);
}

.shop-qty-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.04);
}

.shop-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.shop-qty-input {
  width: 3.2rem;
  border: 0;
  border-left: 1px solid var(--shop-line);
  border-right: 1px solid var(--shop-line);
  border-radius: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  padding: 0.55rem 0.25rem;
  -moz-appearance: textfield;
}

.shop-qty-input::-webkit-outer-spin-button,
.shop-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 520px) {
  .shop-atc-row {
    grid-template-columns: 1fr;
  }
}

.shop-total-line {
  margin: 0;
  font-size: 1.05rem;
}

.shop-stock-line {
  margin: 0;
  color: var(--shop-accent-deep);
  font-weight: 600;
}

.shop-trust-row {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--shop-muted);
}

.shop-editorial h2,
.shop-related h2 {
  font-family: var(--shop-font-display);
  font-size: 1.2rem;
  margin: 1rem 0 0.4rem;
}

.shop-specs {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
}

.shop-specs > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
  border-bottom: 1px solid var(--shop-line);
  padding-bottom: 0.35rem;
}

.shop-specs dt {
  color: var(--shop-muted);
  margin: 0;
}

.shop-specs dd {
  margin: 0;
}

.shop-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(255, 253, 248, 0.96);
  border-top: 1px solid var(--shop-line);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  backdrop-filter: blur(8px);
}

.shop-sticky-atc-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.shop-sticky-title {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.shop-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.shop-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 28, 0.45);
}

.shop-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(24rem, 100%);
  height: 100%;
  background: var(--shop-surface);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  animation: shop-drawer-in var(--shop-motion) ease-out;
}

.shop-drawer-head,
.shop-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.shop-drawer-head {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.shop-drawer-lines {
  flex: 1;
  overflow: auto;
  margin: 1rem 0;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.shop-drawer-line {
  border-bottom: 1px solid var(--shop-line);
  padding-bottom: 0.55rem;
}

.shop-drawer-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
}

.shop-drawer-qty input {
  width: 3.5rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--shop-line);
  border-radius: 6px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.shop-drawer-line-sum {
  margin: 0.2rem 0 0.45rem;
  font-weight: 600;
}

.shop-drawer-actions {
  display: grid;
  gap: 0.5rem;
}

.shop-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.shop-badge-pulse {
  animation: shop-badge-pulse 420ms ease;
}

.shop-fagg-block {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--shop-ink);
  background: #fff;
}

.shop-fagg-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.shop-fagg-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.shop-form-error {
  color: #8a1f1f;
  margin-top: 0.75rem;
}

.shop-checkout-aside-sticky {
  position: sticky;
  top: 4.5rem;
}

.shop-warranty-label {
  font-size: 0.9rem;
  color: var(--shop-muted);
  margin: 0.75rem 0 0;
}

.shop-footer-emphasis {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-brand-mark-sm {
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  animation: none;
  color: var(--shop-ink);
}

.shop-timeline {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.shop-timeline li {
  padding: 0.55rem 0.75rem;
  border-left: 3px solid var(--shop-line);
  background: rgba(255, 255, 255, 0.7);
}

.shop-timeline li.is-done {
  border-left-color: var(--shop-accent);
  font-weight: 600;
}

.shop-status-lookup,
.shop-withdrawal .shop-checkout-form {
  max-width: 32rem;
  display: grid;
  gap: 0.75rem;
}

.shop-related {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--shop-line);
}

.shop-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}

.shop-btn {
  min-height: var(--shop-touch);
}

@keyframes shop-drawer-in {
  from {
    transform: translateX(1.25rem);
    opacity: 0.7;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes shop-badge-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-hero-bleed,
  .shop-hero-stage,
  .shop-brand-mark,
  .shop-hero-title,
  .shop-hero-lead,
  .shop-hero-cta,
  .shop-drawer-panel,
  .shop-badge-pulse,
  .shop-product,
  .shop-hero-cover {
    animation: none !important;
    transition: none !important;
  }

  .shop-product:hover .shop-product-media img {
    transform: none;
  }

  /* Hero-Cover: Lift bleibt (translate/scale oben) — nur Transition aus */
}

@media (max-width: 860px) {
  .shop-nav {
    width: 100%;
    justify-content: space-between;
  }

  .shop-search {
    order: 3;
    max-width: none;
    width: 100%;
  }

  .shop-sticky-price {
    display: none;
  }
}

/* Scroll-Lock auf allen Viewports (nicht nur Handy) — WAI-ARIA Modal */
html.shop-drawer-open,
body.shop-drawer-open {
  overflow: hidden;
}

.shop-drawer-remove {
  margin-top: 0.35rem;
  min-height: 2.25rem;
  font-size: 0.85rem;
}

@supports (view-transition-name: none) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 180ms;
  }
}

/* Cookie consent — gleichwertige Erstauswahl (kein dunkles Accept-first) */
.shop-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.85rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--shop-line);
  box-shadow: 0 -8px 28px rgba(26, 35, 48, 0.08);
}

.shop-cookie-banner[hidden],
.shop-cookie-settings[hidden] {
  display: none !important;
}

.shop-cookie-banner-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 860px) {
  .shop-cookie-banner-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1.25rem;
  }
}

.shop-cookie-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.shop-cookie-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--shop-muted);
  max-width: 46rem;
}

.shop-cookie-desc a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Gleichwertig: keine „Alle akzeptieren“-Bevorzugung */
.shop-cookie-actions .shop-cookie-choice {
  flex: 1 1 9.5rem;
  min-width: 9.5rem;
}

.shop-cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: end center;
  padding: 1rem;
}

@media (min-width: 640px) {
  .shop-cookie-settings {
    place-items: center;
  }
}

.shop-cookie-settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 48, 0.45);
}

.shop-cookie-settings-panel {
  position: relative;
  width: min(32rem, 100%);
  max-height: min(90vh, 40rem);
  overflow: auto;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  box-shadow: 0 18px 48px rgba(26, 35, 48, 0.18);
  display: flex;
  flex-direction: column;
}

.shop-cookie-settings-head,
.shop-cookie-settings-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--shop-line);
}

.shop-cookie-settings-foot {
  border-bottom: 0;
  border-top: 1px solid var(--shop-line);
  justify-content: flex-end;
  flex-wrap: wrap;
}

.shop-cookie-settings-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.shop-cookie-settings-body {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.shop-cookie-category {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
}

.shop-cookie-category legend {
  padding: 0 0.25rem;
  font-weight: 650;
  font-size: 0.95rem;
}

.shop-cookie-toggle {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--shop-muted);
}

.shop-cookie-toggle input {
  margin-top: 0.2rem;
}

.shop-footer-cookie-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-footer-cookie-btn:hover {
  color: var(--shop-accent-deep);
}

body.shop-cookie-banner-visible .shop-main {
  padding-bottom: 8rem;
}

/* Handy Querformat: wenig Höhe — Header/Hero/Cookie nicht den Katalog verdrängen */
@media (max-height: 520px) and (orientation: landscape) {
  .shop-header-inner {
    flex-wrap: nowrap;
    padding: 0.35rem 0.85rem;
    gap: 0.65rem;
  }

  .shop-brand {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  /* Suche sitzt auch in der Katalog-Toolbar */
  .shop-search {
    display: none;
  }

  .shop-nav {
    width: auto;
    gap: 0.65rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .shop-hero-bleed {
    min-height: 0;
  }

  .shop-hero-inner {
    padding: 0.75rem 1rem 0.9rem;
  }

  .shop-hero-split {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .shop-hero-stage {
    display: none;
  }

  .shop-brand-mark {
    font-size: 1.25rem;
    margin: 0 0 0.2rem;
  }

  .shop-hero-title {
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
    max-width: none;
  }

  .shop-hero-lead {
    display: none;
  }

  .shop-hero-cta {
    gap: 0.4rem;
  }

  .shop-hero-cta .shop-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
    min-height: 0;
  }

  .shop-catalog-section,
  .shop-catalog-section-tight {
    padding-top: 0.55rem;
  }

  .shop-section-head {
    margin-bottom: 0.45rem;
  }

  .shop-section-head p {
    display: none;
  }

  .shop-catalog-toolbar {
    margin-bottom: 0.55rem;
    padding: 0.55rem 0.7rem;
    gap: 0.45rem;
  }

  .shop-toolbar-field {
    min-width: 6.5rem;
    font-size: 0.8rem;
  }

  .shop-main {
    padding-bottom: 1.25rem;
  }

  body.shop-cookie-banner-visible .shop-main {
    padding-bottom: 4.5rem;
  }

  .shop-cookie-banner {
    padding: 0.45rem 0.75rem 0.55rem;
  }

  .shop-cookie-banner-inner {
    gap: 0.45rem;
  }

  .shop-cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .shop-footer {
    margin-top: 1rem;
    padding: 1rem 1rem 1.25rem;
  }

  .shop-sticky-atc {
    padding: 0.4rem 0.85rem calc(0.4rem + env(safe-area-inset-bottom));
  }

  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-cookie-banner,
  .shop-cookie-settings-panel {
    transition: none !important;
  }
}
