/* Drop page: quiet editorial framing for the 27 ARCHIVE waitlist. */
.drop-section {
  --gap: 18px;
  --paint: #f2f1ec;
  --flyer: #f2f1ec;
  --flyer-ink: #171817;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080808;
  isolation: isolate;
}

.drop-gate {
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 58px) var(--gutter);
}

/* The old shutter illustration remains in the markup for the drop flow, but the layout is now an editorial feature. */
.drop-housing,
.drop-opening::before,
.drop-opening::after,
.drop-inside,
.drop-bottom-bar,
.drop-floor,
.drop-sticker,
.drop-tape {
  display: none;
}

.drop-gate::before,
.drop-face::before,
.drop-face::after {
  display: none;
}

.drop-opening {
  position: relative;
  overflow: visible;
}

.drop-shutter {
  position: relative;
  z-index: 1;
  margin: 0;
  background: none;
  box-shadow: none;
  transition: transform .7s cubic-bezier(.2,.75,.25,1);
}

.drop-shutter::before { display: none; }

.drop-face {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
  padding: 0;
  border: 1px solid rgba(255,255,255,.17);
  background: #111211;
  box-shadow: 0 28px 80px rgba(0,0,0,.27);
}

.drop-copy {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 610px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5.4vw, 84px);
  isolation: isolate;
}

.drop-copy::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-right: 1px solid rgba(255,255,255,.13);
  background-image:
    linear-gradient(90deg, rgba(8,9,9,.97) 0%, rgba(8,9,9,.9) 34%, rgba(8,9,9,.55) 70%, rgba(8,9,9,.34) 100%),
    linear-gradient(0deg, rgba(8,9,9,.24), rgba(8,9,9,.08)),
    url("assets/rented-editorial.jpg");
  background-position: center, center, 63% center;
  background-size: cover;
  content: "";
  filter: grayscale(.36) contrast(1.06);
}

.drop-copy > * { position: relative; z-index: 1; }

.drop-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(22px, 3vw, 38px);
  color: rgba(242,241,236,.72);
  font: 9px/1.4 var(--mono);
  letter-spacing: .18em;
}

.drop-eyebrow i {
  width: 23px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.drop-eyebrow b { color: var(--paint); font-weight: 700; }

.drop-title {
  margin: 0 0 0 -.045em;
  color: var(--paint);
  font: 900 clamp(58px, 6.3vw, 126px)/.82 var(--display);
  letter-spacing: -.075em;
  text-shadow: 0 2px 24px rgba(0,0,0,.32);
}

.drop-tag { display: block; white-space: nowrap; }
.drop-tag + .drop-tag { margin: .12em 0 0; }
.drop-letter { position: relative; display: inline-block; line-height: 1.05; }
.drop-letter-ink { position: relative; display: inline-block; }
.drop-letter::before { display: none; }

.drop-deck {
  max-width: 410px;
  margin: 24px 0 30px;
  color: rgba(242,241,236,.82);
  font: 13px/1.7 var(--sans);
  text-shadow: 0 1px 7px rgba(0,0,0,.55);
}

.drop-countdown {
  display: inline-grid;
  justify-items: start;
  gap: 11px;
  align-self: flex-start;
}

.drop-countdown-label,
.drop-when {
  margin: 0;
  color: rgba(242,241,236,.72);
  font: 9px/1.3 var(--mono);
  letter-spacing: .16em;
}

.drop-when { color: var(--paint); font-weight: 700; }

.drop-clock {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: flex-start;
  gap: clamp(7px, .9vw, 13px);
  padding: 10px 12px 9px;
  border: 1px solid rgba(255,255,255,.19);
  background: rgba(8,9,9,.74);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

.drop-clock:empty { display: none; }
.drop-unit { display: grid; justify-items: center; gap: 6px; }
.drop-unit small { color: #a4a49f; font: 8px/1 var(--mono); letter-spacing: .14em; }
.drop-flaps { display: flex; gap: 2px; }
.drop-sep { align-self: flex-start; margin-top: .12em; color: #777873; font: 700 clamp(24px, 3vw, 40px)/1 var(--sans); }

.flap {
  position: relative;
  display: block;
  width: .7em;
  height: 1.06em;
  color: #f3f2ed;
  font: 700 clamp(27px, 3.1vw, 48px)/1 var(--sans);
  font-variant-numeric: tabular-nums;
  perspective: 4.5em;
}

.flap-half { position: absolute; right: 0; left: 0; height: 50%; overflow: hidden; background: #202120; }
.flap-top { top: 0; border-radius: 2px 2px 0 0; box-shadow: inset 0 1px rgba(255,255,255,.1); }
.flap-bottom { bottom: 0; border-radius: 0 0 2px 2px; background: #191a19; }
.flap-half b { position: absolute; right: 0; left: 0; display: grid; height: 200%; place-items: center; font: inherit; }
.flap-top b { top: 0; }
.flap-bottom b { bottom: 0; }
.flap-fold-top { z-index: 2; transform-origin: 50% 100%; backface-visibility: hidden; }
.flap-fold-bottom { z-index: 2; transform: rotateX(90deg); transform-origin: 50% 0; backface-visibility: hidden; }
.flap::after { position: absolute; z-index: 3; top: calc(50% - .5px); right: 0; left: 0; height: 1px; background: rgba(0,0,0,.75); content: ""; }
.flap.is-flipping .flap-fold-top { animation: flap-fall .26s ease-in forwards; }
.flap.is-flipping .flap-fold-bottom { animation: flap-land .3s .26s cubic-bezier(.3,1.25,.55,1) forwards; }
@keyframes flap-fall { to { transform: rotateX(-90deg); filter: brightness(1.5); } }
@keyframes flap-land { from { transform: rotateX(90deg); filter: brightness(.65); } to { transform: rotateX(0); filter: brightness(1); } }

.drop-flyer {
  position: relative;
  z-index: 3;
  justify-self: stretch;
  width: 100%;
  max-width: 420px;
  align-self: center;
  margin-right: 0;
  padding: clamp(24px, 2.8vw, 36px);
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 3px;
  color: var(--flyer-ink);
  background: var(--flyer);
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
  transform: none;
}

.drop-flyer-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(23,24,23,.3);
  font: 9px/1.3 var(--mono);
  letter-spacing: .13em;
}

.drop-flyer-head b { font-weight: 800; }
.drop-form, .drop-ticket { display: grid; gap: 0; }
.drop-flyer h3 { margin: 0; font: 800 clamp(26px, 2.3vw, 32px)/1.05 var(--display); letter-spacing: -.055em; }
.drop-form-copy { margin: 8px 0 20px; color: #555650; font: 12px/1.55 var(--sans); }
.drop-label, .drop-wish legend { color: #555650; font: 700 9px/1.2 var(--mono); letter-spacing: .13em; }

.drop-email {
  width: 100%;
  min-height: 46px;
  margin: 2px 0 19px;
  padding: 8px 2px 7px;
  border: 0;
  border-bottom: 1px solid rgba(23,24,23,.55);
  border-radius: 0;
  outline: 0;
  color: var(--flyer-ink);
  background: transparent;
  font: 15px/1.2 var(--sans);
  transition: background-color .18s, border-color .18s;
}

.drop-email::placeholder { color: #888780; }
.drop-email:focus { border-bottom-color: var(--flyer-ink); background: rgba(23,24,23,.035); }
.drop-email:focus-visible { outline: 2px solid var(--flyer-ink); outline-offset: 3px; }
.drop-email[aria-invalid="true"] { border-bottom-color: #a12620; }
.drop-wish { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.drop-wish legend { margin-bottom: 8px; padding: 0; }
.drop-wish legend small { margin-left: 6px; color: #777770; font-size: 8px; font-weight: 400; letter-spacing: .08em; }
.drop-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.drop-chip { position: relative; display: inline-flex; }
.drop-chip input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.drop-chip span { display: inline-block; padding: 7px 9px 6px; border: 1px solid rgba(23,24,23,.32); border-radius: 2px; color: var(--flyer-ink); background: transparent; font: 700 9px/1 var(--mono); letter-spacing: .035em; text-transform: uppercase; transition: color .16s, background-color .16s, border-color .16s; }
.drop-chip:hover span { border-color: var(--flyer-ink); background: rgba(23,24,23,.055); }
.drop-chip input:checked + span { border-color: var(--flyer-ink); color: var(--flyer); background: var(--flyer-ink); }
.drop-chip input:focus-visible + span { outline: 2px solid var(--flyer-ink); outline-offset: 2px; }

.drop-consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 17px; color: #555650; font: 11px/1.5 var(--sans); cursor: pointer; }
.drop-consent input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: var(--flyer-ink); }
.drop-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.drop-submit {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 0 17px;
  border: 1px solid var(--flyer-ink);
  border-radius: 2px;
  color: var(--flyer);
  background: var(--flyer-ink);
  font: 700 10px/1 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .18s, background-color .18s, transform .18s;
}

.drop-submit > span:last-child { font-size: 17px; transition: transform .18s; }
.drop-submit:hover { color: var(--flyer-ink); background: transparent; transform: translateY(-1px); }
.drop-submit:hover > span:last-child { transform: translate(2px, -2px); }
.drop-submit:active { transform: translateY(1px); }
.drop-submit:disabled { cursor: progress; opacity: .68; }
.drop-submit:focus-visible { outline: 2px solid var(--flyer-ink); outline-offset: 3px; }
.drop-error { margin: 12px 0 0; color: #a12620; font: 700 11px/1.5 var(--sans); }

.drop-ticket-index { margin: 0 0 12px; color: #65655f; font: 700 9px/1 var(--mono); letter-spacing: .17em; }
.drop-ticket h3:focus { outline: none; }
.drop-ticket-copy { max-width: 300px; margin: 12px 0 16px; color: #555650; font: 12px/1.55 var(--sans); }
.drop-ticket-wishes { display: flex; max-width: calc(100% - 145px); flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.drop-ticket-wishes:empty { display: none; }
.drop-ticket-wishes span { padding: 6px 8px 5px; border: 1px solid rgba(23,24,23,.3); border-radius: 2px; font: 700 9px/1 var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.drop-ticket { min-height: 320px; flex-direction: column; align-items: flex-start; }
.drop-again { justify-self: start; margin-top: auto; padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; color: #555650; background: none; font: 11px/1.3 var(--sans); }
.drop-again:hover { color: var(--flyer-ink); }
.drop-stamp { position: absolute; z-index: 5; right: 24px; bottom: 27px; display: grid; justify-items: center; gap: 6px; padding: 10px 12px 9px; border: 1px solid rgba(23,24,23,.74); color: rgba(23,24,23,.82); font: 800 13px/1 var(--display); letter-spacing: .025em; opacity: 0; pointer-events: none; transform: rotate(-7deg); }
.drop-stamp i { font: 700 9px/1 var(--mono); font-style: normal; letter-spacing: .12em; }
.drop-stamp em { font-size: 16px; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.drop-flyer.has-ticket .drop-stamp { opacity: 1; }
.drop-flyer.is-stamping .drop-stamp { animation: drop-stamp .42s cubic-bezier(.2,1.35,.35,1) both; }
@keyframes drop-stamp { 0% { opacity: 0; transform: scale(1.4) rotate(-11deg); } 65% { opacity: 1; transform: scale(.96) rotate(-6deg); } 100% { opacity: 1; transform: scale(1) rotate(-7deg); } }
.drop-flyer.is-stamping { animation: drop-thud .3s ease-out; }
@keyframes drop-thud { 0%, 100% { transform: none; } 35% { transform: translateY(2px); } }

/* A restrained rise and staggered text reveal mark the moment the drop comes into view. */
.drop-section.is-armed .drop-shutter { transform: translateY(var(--gap)); }
.drop-section.is-armed .drop-letter,
.drop-section.is-armed .drop-flyer,
.drop-section.is-armed :is(.drop-eyebrow, .drop-deck, .drop-countdown) { opacity: 0; }
.drop-section.is-armed .drop-flyer { transform: translateY(14px); }
.drop-section.is-entering .drop-shutter { animation: drop-lift .72s cubic-bezier(.2,.75,.25,1) both; }
@keyframes drop-lift { from { transform: translateY(var(--gap)); } to { transform: none; } }
.drop-section.is-entering .drop-letter { animation: drop-letter-reveal .34s calc(var(--d) * .34) both; }
@keyframes drop-letter-reveal { from { opacity: 0; filter: blur(4px); transform: translateY(.08em); } to { opacity: 1; filter: none; transform: none; } }
.drop-section.is-entering .drop-flyer { animation: drop-post .55s .1s cubic-bezier(.2,.75,.25,1) both; }
@keyframes drop-post { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.drop-section.is-entering :is(.drop-eyebrow, .drop-deck, .drop-countdown) { animation: drop-fade-in .35s .12s both; }
@keyframes drop-fade-in { from { opacity: 0; } to { opacity: 1; } }
.drop-shutter { transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.drop-section.is-entered .drop-shutter { transform: translateY(calc(var(--gap) * -.62)); }

/* The separate drop view only lists pieces that have already sold. */
/* Das Herz (Merkliste) bleibt auch im Drop (28.10.2026, Micha), Tasche und Suche haben dann nichts zu tun. */
html[data-modus="drop"]:not([data-kaufbar]) :is(.search-open, .bag-open, .mobile-search) { display: none; }
html[data-modus="drop"] .announcement a { display: inline-flex; gap: .5em; color: inherit; }
html[data-modus="drop"] .announcement a:hover { color: var(--paper); }
html[data-modus="drop"] .shop-section :is(.category-row, .shop-toolbar, .results-line, .photo-note, .empty-results, .shop-bottom) { display: none; }
html[data-modus="drop"] .shop-heading { margin-bottom: clamp(26px, 3.4vw, 44px); }
html[data-modus="drop"] .product-card.is-sold .sold-badge { padding: 11px 16px 10px; border-width: 2px; font-size: 13px; font-weight: 700; letter-spacing: .28em; transform: translate(-50%, -50%) rotate(-9deg); }
html[data-modus="drop"] .product-card.is-sold:not(.has-photo) .photo-slot { justify-content: flex-start; padding-top: 16%; opacity: .75; }
html[data-modus="drop"] .product-card.is-sold:not(.has-photo) .photo-slot i { position: absolute; bottom: 14%; margin: 0; }
html[data-modus="drop"] .product-card.is-sold:not(.has-photo) .sold-badge { top: 56%; }

@media (max-width: 980px) {
  .drop-face { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .drop-copy { min-height: 480px; padding: clamp(36px, 7vw, 72px); }
  .drop-copy::before { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .drop-title { font-size: clamp(60px, 12vw, 112px); }
  .drop-flyer { justify-self: center; width: min(calc(100% - 48px), 520px); max-width: 520px; margin: 30px 0; }
}

@media (max-width: 680px) {
  .drop-section { --gap: 12px; }
  .drop-gate { padding: 18px clamp(16px, 4.5vw, 28px); }
  .drop-face { gap: 0; }
  .drop-copy { min-height: 390px; padding: 34px 24px 30px; }
  .drop-copy::before {
    background-image:
      linear-gradient(90deg, rgba(8,9,9,.96), rgba(8,9,9,.7) 66%, rgba(8,9,9,.45)),
      linear-gradient(0deg, rgba(8,9,9,.3), rgba(8,9,9,.08)),
      url("assets/rented-editorial.jpg");
    background-position: center, center, 62% center;
  }
  .drop-eyebrow { gap: 8px; margin-bottom: 24px; font-size: 8px; letter-spacing: .14em; }
  .drop-eyebrow i { width: 14px; }
  .drop-title { font-size: clamp(52px, 13.8vw, 88px); }
  .drop-deck { max-width: 350px; margin: 20px 0 24px; font-size: 12px; }
  .drop-countdown-label, .drop-when { font-size: 8px; }
  .drop-clock { gap: 6px; padding: 8px 9px 7px; }
  .flap { font-size: clamp(24px, 7vw, 32px); }
  .drop-sep { font-size: clamp(20px, 6vw, 27px); }
  .drop-unit small { font-size: 7px; letter-spacing: .1em; }
  .drop-flyer { width: calc(100% - 32px); margin: 18px 0; padding: 24px 19px 21px; }
  .drop-flyer-head { font-size: 8px; }
  .drop-form-copy { margin-bottom: 18px; }
  .drop-wish { margin-bottom: 14px; }
  .drop-chip span { padding: 7px 8px 6px; font-size: 9px; }
  .drop-ticket { min-height: 0; padding-bottom: 78px; }
  .drop-ticket-wishes { max-width: none; }
  .drop-stamp { right: 14px; bottom: 18px; font-size: 12px; }
}

@media (max-width: 380px) {
  .drop-copy { min-height: 365px; padding-inline: 19px; }
  .drop-title { font-size: 13.4vw; }
  .drop-flaps { gap: 1px; }
  .drop-clock { gap: 4px; }
  .drop-chip span { padding-inline: 7px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .drop-shutter { transition: none; }
  .drop-section.is-armed .drop-shutter,
  .drop-section.is-entering .drop-shutter,
  .drop-section.is-entering .drop-letter,
  .drop-section.is-entering .drop-flyer,
  .drop-section.is-entering :is(.drop-eyebrow, .drop-deck, .drop-countdown) { animation: none; }
  .drop-section.is-armed .drop-letter,
  .drop-section.is-armed .drop-flyer,
  .drop-section.is-armed :is(.drop-eyebrow, .drop-deck, .drop-countdown) { opacity: 1; }
  .drop-section.is-armed .drop-shutter { transform: none; }
  .drop-section.is-armed .drop-flyer { transform: none; }
  .drop-chip input:checked + span { animation: none; }
  .flap.is-flipping :is(.flap-fold-top, .flap-fold-bottom) { animation-duration: 1ms; animation-delay: 0s; }
}

/* Keep the archive's existing light theme while using the same image and layout. */
:root[data-theme="light"] .drop-section { --paint: #171817; --flyer: #fbfaf6; background: #efeee9; }
:root[data-theme="light"] .drop-face { border-color: rgba(16,17,16,.16); background: #e6e5df; box-shadow: 0 20px 55px rgba(16,17,16,.11); }
:root[data-theme="light"] .drop-copy::before {
  border-color: rgba(16,17,16,.13);
  background-image:
    linear-gradient(90deg, rgba(239,238,233,.97) 0%, rgba(239,238,233,.9) 34%, rgba(239,238,233,.59) 70%, rgba(239,238,233,.35) 100%),
    linear-gradient(0deg, rgba(239,238,233,.2), rgba(239,238,233,.02)),
    url("assets/rented-editorial.jpg");
  filter: grayscale(.65) brightness(1.18) contrast(.9);
}
:root[data-theme="light"] .drop-eyebrow { color: rgba(23,24,23,.68); }
:root[data-theme="light"] .drop-deck { color: rgba(23,24,23,.77); text-shadow: none; }
:root[data-theme="light"] :is(.drop-countdown-label, .drop-when) { color: rgba(23,24,23,.67); }
:root[data-theme="light"] .drop-when { color: var(--paint); }
:root[data-theme="light"] .drop-clock { border-color: rgba(23,24,23,.19); background: rgba(251,250,246,.75); }
:root[data-theme="light"] .flap { color: #f3f2ed; }
:root[data-theme="light"] .drop-flyer { border-color: rgba(16,17,16,.12); box-shadow: 0 18px 40px rgba(16,17,16,.14); }
:root[data-theme="light"] .drop-copy::before { border-bottom-color: rgba(16,17,16,.13); }

@media (max-width: 680px) {
  :root[data-theme="light"] .drop-copy::before {
    background-image:
      linear-gradient(90deg, rgba(239,238,233,.96), rgba(239,238,233,.72) 66%, rgba(239,238,233,.5)),
      linear-gradient(0deg, rgba(239,238,233,.25), rgba(239,238,233,.03)),
      url("assets/rented-editorial.jpg");
  }
}
