/* ============================================================
   ZAUBERGASSE — Angebote-Übersicht & Laden-Detailseiten
   Nächtliche Gasse mit leuchtenden Zauberläden (Rainbow Luxe, dunkel)
   ============================================================ */

.zg {
  --night: #120A24;
  --night-2: #1E1238;
  --glow: rgba(245,200,66,0.35);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(139,92,246,0.35), transparent 70%),
    radial-gradient(ellipse 50% 30% at 10% 60%, rgba(255,22,147,0.12), transparent 70%),
    radial-gradient(ellipse 50% 30% at 90% 80%, rgba(13,148,136,0.14), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #F5F0E8;
  position: relative;
  overflow: hidden;
}
.zg-stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 37% 8%, #F5C842 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 22%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 71% 10%, #FFB3DE 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 28%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 15% 55%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 48%, #F5C842 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 62%, #fff 50%, transparent 51%);
  animation: zgTwinkle 5s ease-in-out infinite alternate;
}
@keyframes zgTwinkle { from { opacity: .55; } to { opacity: 1; } }

/* ── Kopf ── */
.zg-head { text-align: center; padding: 90px 0 50px; position: relative; z-index: 2; }
.zg-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: #F5C842; margin-bottom: 18px;
}
.zg-title {
  font-family: var(--font-serif); font-weight: 600; font-style: italic;
  font-size: clamp(44px, 8vw, 84px); line-height: 1;
  background: linear-gradient(135deg, #F5C842 10%, #FFB3DE 50%, #67E8F9 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.zg-lead {
  font-family: var(--font-serif); font-size: clamp(19px, 2.4vw, 23px); font-style: italic;
  color: rgba(245,240,232,0.78); max-width: 620px; margin: 0 auto;
}

/* ── Laternen-Girlande ── */
.zg-lanterns { display: flex; justify-content: center; gap: clamp(28px, 7vw, 90px); margin-top: 38px; }
.zg-lantern {
  width: 10px; height: 10px; border-radius: 50%; background: #F5C842;
  box-shadow: 0 0 14px 5px var(--glow), 0 0 40px 12px rgba(245,200,66,0.15);
  animation: zgFlicker 3s ease-in-out infinite;
}
.zg-lantern:nth-child(2n) { animation-delay: -1.2s; background: #FFB3DE; box-shadow: 0 0 14px 5px rgba(255,22,147,.35); }
.zg-lantern:nth-child(3n) { animation-delay: -2.1s; background: #67E8F9; box-shadow: 0 0 14px 5px rgba(103,232,249,.35); }
@keyframes zgFlicker { 0%,100% { opacity: 1; } 45% { opacity: .7; } 50% { opacity: .9; } }

/* ── Schaufenster-Raster ── */
.zg-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 56px 36px; padding: 30px 0 110px;
}
.zg-shop { display: block; position: relative; color: inherit; text-decoration: none; }

/* Aushängeschild über dem Fenster */
.zg-sign {
  text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,200,66,0.85); margin-bottom: 12px;
}
.zg-sign::before, .zg-sign::after { content: ' ✧ '; color: rgba(255,179,222,0.7); }

/* Fenster mit Rundbogen */
.zg-window {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: 999px 999px 18px 18px / 46% 46% 18px 18px;
  padding: 8px;
  background: linear-gradient(160deg, #F5C842, #B8860B 40%, #F5C842 70%, #8B6914);
  box-shadow: 0 0 0 1px rgba(245,200,66,0.3), 0 20px 50px rgba(0,0,0,0.45), 0 0 60px rgba(245,200,66,0.08);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.zg-window-inner {
  width: 100%; height: 100%; overflow: hidden;
  border-radius: 999px 999px 12px 12px / 46% 46% 12px 12px;
  background: #0b0618;
}
.zg-shop:hover .zg-window,
.zg-shop:focus-visible .zg-window {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(245,200,66,0.6), 0 30px 60px rgba(0,0,0,0.5), 0 0 80px rgba(245,200,66,0.3);
}

/* Cover-Bild */
.zg-cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.zg-shop:hover .zg-cover-img { transform: scale(1.05); }

/* Magischer Platzhalter, solange kein Produktbild da ist */
.zg-cover-ph {
  width: 100%; height: 100%; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 55%),
    radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 55%),
    linear-gradient(180deg, #1a0f33, #0b0618);
}
.zg-ph-stars { position: absolute; top: 16%; font-size: 12px; letter-spacing: 1.2em; color: rgba(245,200,66,0.7); }
.zg-ph-symbol { font-size: 64px; line-height: 1; filter: drop-shadow(0 0 18px var(--c1)); transition: transform .6s; }
.zg-shop:hover .zg-ph-symbol { transform: scale(1.12) rotate(-4deg); }
.zg-ph-name {
  font-family: var(--font-serif); font-size: 26px; font-weight: 600; font-style: italic; line-height: 1.1;
  color: #FFFDF5; text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

/* Preisschild – hängt schräg am Fenster */
.zg-tag {
  position: absolute; top: 18%; right: -14px; z-index: 3;
  background: linear-gradient(135deg, #FF1693, #8B5CF6);
  color: #fff; font-weight: 600; font-size: 19px; letter-spacing: .01em;
  padding: 9px 18px 9px 22px; border-radius: 6px 12px 12px 6px;
  box-shadow: 0 8px 24px rgba(255,22,147,0.45);
  transform: rotate(4deg); transform-origin: left center;
  transition: transform .45s;
}
.zg-tag::before {
  content: ''; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: #120A24;
}
.zg-shop:hover .zg-tag { transform: rotate(-2deg); }
.zg-tag s { opacity: .65; font-weight: 400; font-size: 14px; margin-right: 6px; }
.zg-tag-soft { background: linear-gradient(135deg, #0D9488, #8B5CF6); box-shadow: 0 8px 24px rgba(13,148,136,0.4); font-size: 15px; }

.zg-deal {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3;
  background: #CCFF00; color: #120A24; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; white-space: nowrap;
}

/* Text unter dem Fenster */
.zg-shop-name { font-family: var(--font-serif); font-size: 27px; font-weight: 600; text-align: center; margin-top: 20px; line-height: 1.15; }
.zg-shop-kurz { font-size: 15px; line-height: 1.6; text-align: center; color: rgba(245,240,232,0.65); margin-top: 8px; padding: 0 8px; }
.zg-shop-enter { display: block; text-align: center; margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #F5C842; }
.zg-shop:hover .zg-shop-enter { color: #FFB3DE; }

/* Fußzeile der Gasse */
.zg-foot { position: relative; z-index: 2; text-align: center; padding: 0 0 100px; }
.zg-foot p { font-family: var(--font-serif); font-style: italic; font-size: 21px; color: rgba(245,240,232,0.75); margin-bottom: 20px; }

/* ============================================================
   LADEN — Detailseite
   ============================================================ */
.zl { padding: 60px 0 110px; position: relative; z-index: 2; }
.zl-back { display: inline-block; font-size: 14px; color: rgba(245,240,232,0.7); margin-bottom: 40px; }
.zl-back:hover { color: #F5C842; }
.zl-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 70px; align-items: center; }
.zl-grid .zg-window { max-width: 440px; }
.zl-sign { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #F5C842; margin-bottom: 14px; }
.zl-title { font-family: var(--font-serif); font-size: clamp(40px, 6vw, 64px); font-weight: 600; line-height: 1.02; margin-bottom: 20px; }
.zl-text { font-size: 17px; line-height: 1.8; color: rgba(245,240,232,0.82); margin-bottom: 26px; }
.zl-list { list-style: none; margin-bottom: 32px; }
.zl-list li { padding: 7px 0 7px 30px; position: relative; font-size: 16px; }
.zl-list li::before { content: '✦'; position: absolute; left: 0; color: #F5C842; }
.zl-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.zl-price-num { font-family: var(--font-serif); font-size: 52px; font-weight: 600; line-height: 1; color: #F5C842; }
.zl-price s { font-size: 22px; color: rgba(245,240,232,0.45); }
.zl-price-info { font-size: 14px; color: rgba(245,240,232,0.6); margin-bottom: 30px; }
.zl-deal { display: inline-block; background: #CCFF00; color: #120A24; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 14px; }
.zl-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.zl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 32px; border-radius: 100px; font-weight: 600; font-size: 16px;
  transition: transform .25s, box-shadow .25s;
}
.zl-btn:hover { transform: translateY(-2px); }
.zl-btn-copecart { background: linear-gradient(135deg, #F5C842, #D4A017); color: #120A24; box-shadow: 0 8px 30px rgba(245,200,66,0.35); }
.zl-btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 8px 30px rgba(37,211,102,0.3); }
.zl-more { font-size: 15px; color: #FFB3DE; text-decoration: underline; text-underline-offset: 4px; }
.zl-more:hover { color: #fff; }
.zl-hint { font-size: 13px; color: rgba(245,240,232,0.5); margin-top: 22px; }

.zl-nearby { margin-top: 100px; }
.zl-nearby h2 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 32px; text-align: center; margin-bottom: 40px; color: rgba(245,240,232,0.85); }
.zl-nearby .zg-grid { grid-template-columns: repeat(3, 1fr); padding-bottom: 0; }

@media (max-width: 900px) {
  .zl-grid { grid-template-columns: 1fr; gap: 40px; }
  .zl-grid .zg-window { margin: 0 auto; width: 100%; }
  .zl-nearby .zg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .zg-head { padding: 64px 0 30px; }
  .zg-grid { gap: 48px; }
  .zg-tag { right: -6px; font-size: 17px; }
  .zl-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   KOMPAKTE ÜBERSICHT — kleine Schaufenster mit Symbol, Preis, Name
   ============================================================ */
.zg-tiles {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 44px 28px; max-width: 900px; margin: 0 auto; padding: 20px 0 90px;
}
.zg-tile { text-align: center; }
.zg-tile .zg-window { padding: 6px; }
.zg-tile .zg-ph-symbol { font-size: 52px; }
.zg-tile .zg-ph-name, .zg-tile .zg-ph-stars { display: none; }
.zg-tile-price { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; color: #FFB3DE; }
.zg-tile-price s { font-weight: 400; font-size: 13px; opacity: .6; margin-right: 2px; }
.zg-tile-name { font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.2; margin-top: 4px; color: #F5F0E8; }
.zg-tile-deal { display: inline-block; margin-top: 8px; background: #CCFF00; color: #120A24; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.zg-tile:hover .zg-tile-name { color: #F5C842; }
@media (max-width: 600px) {
  .zg-tiles { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .zg-tile .zg-ph-symbol { font-size: 42px; }
  .zg-tile-name { font-size: 18px; }
}

/* ── Abschnitte der Gasse (Kleine Zauber, Live-Magie, …) ── */
.zg-abschnitt { position: relative; z-index: 2; padding-bottom: 20px; }
.zg-abschnitt + .zg-abschnitt { border-top: 1px solid rgba(245,200,66,0.15); padding-top: 50px; }
.zg-abschnitt-head { text-align: center; margin-bottom: 34px; }
.zg-abschnitt-symbol { display: block; font-size: 28px; margin-bottom: 6px; }
.zg-abschnitt-titel {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(30px, 4.5vw, 42px); line-height: 1.1; color: #F5C842;
}
.zg-abschnitt-text { font-size: 15px; color: rgba(245,240,232,0.65); margin-top: 6px; }
.zg-abschnitt .zg-tiles { padding-bottom: 60px; }

/* Unvollständige Reihen (z.B. Turmzimmer mit 2 Läden) mittig ausrichten */
.zg-tiles { display: flex; flex-wrap: wrap; justify-content: center; }
.zg-tiles .zg-tile { width: 190px; }
@media (max-width: 600px) {
  .zg-tiles .zg-tile { width: calc(50% - 9px); }
}
