/* =========================================
   Asta Scelta – Vernissage v24
   Grand Magasin + Belétage
   Vorschau · Vormerken · Beobachten · Starttermine
========================================= */

.vernissage-page main {
  background: #0b0b0e;
  color: var(--text-main);
}

.vernissage-grand-page main {
  background: #f7f3ea;
  color: #17150f;
}

.vernissage-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.vernissage-bg-grand {
  background-image: url("../img/auktion/backgrounds/passage-grand-magasin-bg.jpg");
}

.vernissage-bg-beletage {
  background-image: url("../img/auktion/backgrounds/passage-beletage-bg.jpg");
}

.vernissage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.vernissage-grand-page .vernissage-hero::before {
  background:
    linear-gradient(90deg, rgba(247,243,234,.94) 0%, rgba(247,243,234,.78) 34%, rgba(247,243,234,.40) 66%, rgba(247,243,234,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(247,243,234,.92));
}

.vernissage-beletage-page .vernissage-hero::before {
  background:
    linear-gradient(90deg, rgba(7,7,9,.92) 0%, rgba(7,7,9,.72) 36%, rgba(7,7,9,.36) 68%, rgba(7,7,9,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.42));
}

.vernissage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 124px 0 96px;
}

.vernissage-hero-content h1 {
  margin: 0 0 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .94;
  font-weight: 850;
  letter-spacing: -.055em;
}

.vernissage-grand-page .vernissage-hero-content h1 {
  color: #17120a;
}

.vernissage-beletage-page .vernissage-hero-content h1 {
  color: #f7f2e8;
}

.vernissage-hero-content .hero-subline {
  max-width: 720px;
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 1.72;
}

.vernissage-grand-page .vernissage-hero-content .hero-subline {
  color: #4f473d;
}

.vernissage-beletage-page .vernissage-hero-content .hero-subline {
  color: rgba(245,242,235,.90);
}

.vernissage-hero-note {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: .98rem;
  line-height: 1.75;
}

.vernissage-grand-page .vernissage-hero-note {
  color: #665d52;
}

.vernissage-beletage-page .vernissage-hero-note {
  color: rgba(245,242,235,.72);
}

.vernissage-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.vernissage-grand-page .btn-secondary {
  color: #17150f;
  border-color: rgba(23,18,13,.18);
  background: rgba(255,255,255,.56);
}

.vernissage-grand-page .btn-secondary:hover {
  background: rgba(255,255,255,.86);
  border-color: rgba(214,179,106,.38);
}

.vernissage-section {
  padding: 86px 0;
}

.vernissage-grand-page .vernissage-section {
  background:
    radial-gradient(circle at 80% 0%, rgba(214,179,106,.12), transparent 30%),
    #f7f3ea;
}

.vernissage-beletage-page .vernissage-section {
  background:
    radial-gradient(circle at 82% 0%, rgba(214,179,106,.11), transparent 32%),
    #0b0b0e;
}

.vernissage-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 42px;
  border-radius: 26px;
  box-shadow: 0 18px 54px rgba(0,0,0,.18);
}

.vernissage-grand-page .vernissage-signal-strip {
  border: 1px solid rgba(23,18,13,.08);
  background: rgba(23,18,13,.08);
}

.vernissage-beletage-page .vernissage-signal-strip {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.06);
}

.vernissage-signal-strip div {
  padding: 24px 26px;
}

.vernissage-grand-page .vernissage-signal-strip div {
  background: rgba(255,255,255,.76);
}

.vernissage-beletage-page .vernissage-signal-strip div {
  background: rgba(13,13,16,.86);
}

.vernissage-signal-strip strong,
.vernissage-signal-strip span {
  display: block;
}

.vernissage-signal-strip strong {
  color: var(--accent);
  font-size: 1.04rem;
  line-height: 1.2;
}

.vernissage-signal-strip span {
  margin-top: 6px;
  font-size: .88rem;
}

.vernissage-grand-page .vernissage-signal-strip span {
  color: #655d52;
}

.vernissage-beletage-page .vernissage-signal-strip span {
  color: rgba(245,242,235,.68);
}

.vernissage-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.vernissage-category-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .88rem;
  transition: var(--transition);
}

.vernissage-grand-page .vernissage-category-bar a {
  background: rgba(255,255,255,.76);
  color: #17150f;
  border: 1px solid rgba(23,18,13,.08);
}

.vernissage-beletage-page .vernissage-category-bar a {
  background: rgba(255,255,255,.045);
  color: rgba(245,242,235,.78);
  border: 1px solid rgba(255,255,255,.08);
}

.vernissage-category-bar a.active,
.vernissage-category-bar a:hover {
  color: #17150f;
  background: var(--accent);
  border-color: transparent;
}

.vernissage-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 26px;
}

.vernissage-head-row h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.vernissage-grand-page .vernissage-head-row h2 {
  color: #17150f;
}

.vernissage-beletage-page .vernissage-head-row h2 {
  color: #f7f2e8;
}

.vernissage-head-row p {
  max-width: 520px;
  margin: 10px 0 0;
}

.vernissage-grand-page .vernissage-head-row p {
  color: #655d52;
}

.vernissage-beletage-page .vernissage-head-row p {
  color: rgba(245,242,235,.68);
}

.vernissage-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.vernissage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  overflow: hidden;
  border-radius: 24px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.vernissage-grand-page .vernissage-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,18,13,.08);
  box-shadow: 0 16px 36px rgba(32,25,15,.10);
  color: #17150f;
}

.vernissage-beletage-page .vernissage-card {
  background: rgba(15,15,18,.88);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 44px rgba(0,0,0,.26);
  color: #f7f2e8;
}

.vernissage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(0,0,0,.24);
}

.vernissage-card:hover {
  border-color: rgba(214,179,106,.36);
}

.vernissage-visual {
  min-height: 138px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.vernissage-grand-page .vernissage-visual {
  background:
    radial-gradient(circle at 72% 28%, rgba(214,179,106,.26), transparent 32%),
    linear-gradient(135deg, #efe3ce, #faf7ef);
}

.vernissage-beletage-page .vernissage-visual {
  background:
    radial-gradient(circle at 68% 28%, rgba(214,179,106,.18), transparent 34%),
    linear-gradient(135deg, #171719, #070709);
}

.vernissage-visual span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  font-size: 1.9rem;
  color: var(--accent);
}

.vernissage-grand-page .vernissage-visual span {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(214,179,106,.26);
}

.vernissage-beletage-page .vernissage-visual span {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(214,179,106,.20);
}

.vernissage-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.vernissage-label {
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .70rem;
  font-weight: 900;
}

.vernissage-card h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  line-height: 1.16;
}

.vernissage-card p {
  margin: 0 0 16px;
  font-size: .92rem;
  line-height: 1.58;
}

.vernissage-grand-page .vernissage-card p {
  color: #655d52;
}

.vernissage-beletage-page .vernissage-card p {
  color: rgba(245,242,235,.66);
}

.vernissage-start {
  margin-top: auto;
  display: grid;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid rgba(128,128,128,.16);
}

.vernissage-start strong {
  color: var(--accent);
  font-size: .88rem;
}

.vernissage-start span {
  font-size: .82rem;
}

.vernissage-grand-page .vernissage-start span {
  color: #655d52;
}

.vernissage-beletage-page .vernissage-start span {
  color: rgba(245,242,235,.58);
}

.vernissage-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.vernissage-card-actions a,
.vernissage-card-actions button {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(214,179,106,.34);
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-weight: 850;
  cursor: pointer;
  transition: var(--transition);
}

.vernissage-card-actions a:hover,
.vernissage-card-actions button:hover {
  background: var(--accent);
  color: #17150f;
  border-color: var(--accent);
}

.vernissage-close {
  padding-top: 18px;
  margin-top: 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.vernissage-grand-page .vernissage-close {
  border-top: 1px solid rgba(23,18,13,.10);
  color: #655d52;
}

.vernissage-beletage-page .vernissage-close {
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(245,242,235,.66);
}

@media (max-width: 1180px) {
  .vernissage-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vernissage-signal-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .vernissage-hero {
    min-height: auto;
  }

  .vernissage-hero-content {
    padding: 96px 0 72px;
  }

  .vernissage-head-row,
  .vernissage-close {
    flex-direction: column;
    align-items: flex-start;
  }

  .vernissage-card-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   v25.1 – Vernissage Quick-Fix
   Nur neue Vernissage-Seiten
   - CSS-Placeholder ohne Bildabhängigkeit stabilisiert
   - Button-Umbruch korrigiert
========================================= */

.vernissage-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vernissage-card {
  min-height: auto;
}

.vernissage-visual {
  min-height: 168px;
  position: relative;
  overflow: hidden;
}

.vernissage-grand-page .vernissage-visual {
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.82), rgba(255,255,255,.18) 34%, transparent 60%),
    linear-gradient(135deg, rgba(214,179,106,.22), rgba(255,255,255,.55));
}

.vernissage-beletage-page .vernissage-visual {
  background:
    radial-gradient(circle at 50% 18%, rgba(214,179,106,.20), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(214,179,106,.055));
}

.vernissage-visual span {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1.85rem;
  line-height: 1;
}

.vernissage-grand-page .vernissage-visual span {
  background: rgba(255,255,255,.76);
  color: #b48f49;
  border: 1px solid rgba(23,18,13,.08);
}

.vernissage-beletage-page .vernissage-visual span {
  background: rgba(7,7,9,.72);
  color: #d6b36a;
  border: 1px solid rgba(214,179,106,.20);
}

.vernissage-card-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vernissage-card-actions a,
.vernissage-card-actions button {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: .86rem;
  line-height: 1.1;
}

@media (min-width: 1320px) {
  .vernissage-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .vernissage-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vernissage-card-grid,
  .vernissage-card-actions {
    grid-template-columns: 1fr;
  }

  .vernissage-card-actions a,
  .vernissage-card-actions button {
    white-space: normal;
  }
}
