/* ============================================================
   GOLDEN BROTHERS — sections.css
   Hero, Zierband, Preisliste, Ritual, Galerie, Kontakt, Footer
   ============================================================ */

/* ---------- 01 Hero — Qasr al-Dhahab ---------- */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 140px 0 230px;
  text-align: center;
  position: relative; overflow: clip;
}
.hero .glow-spot { top: 8%; left: 50%; transform: translateX(-50%); }

.gestirn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 34%, transparent 78%);
  mask-image: radial-gradient(closest-side at 50% 46%, #000 34%, transparent 78%);
}
.gestirn svg {
  width: clamp(680px, 88vw, 1400px); aspect-ratio: 1;
  color: var(--gold);
  animation: slow-rotate 120s linear infinite;
}

.hero-ar {
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(170px, 26vw, 430px);
  opacity: 0.12;
}

.hero-content { position: relative; z-index: 2; display: grid; justify-items: center; }
.hero-seal { width: clamp(88px, 10vw, 122px); margin-bottom: clamp(1.6rem, 3vh, 2.6rem); }
.hero .eyebrow { margin-bottom: 1.4rem; }
.hero-sub {
  max-width: 52ch;
  margin-top: clamp(1.4rem, 3vh, 2rem);
}
.hero-ctas {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  margin-top: clamp(2rem, 4.5vh, 3rem);
}

/* Gold-Sheen ueber dem Monument */
.sheen {
  background-image: var(--grad-sheen);
  background-size: 240% 100%;
  background-position: 50% 0;
  -webkit-background-clip: text;
  background-clip: text;
}
.js.loaded .sheen { animation: sheen-sweep 1.4s var(--ease-luxe) 1.35s both; }
.sheen:hover { animation: sheen-sweep 1.4s var(--ease-luxe); }
@keyframes sheen-sweep {
  0% { background-position: 108% 0; }
  100% { background-position: -8% 0; }
}

.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-block: 16px;
  border-top: 1px solid var(--hairline-dim);
  z-index: 2;
}
.hero-ticker .outline-word { font-size: clamp(1.05rem, 2.3vw, 1.6rem); opacity: 0.6; }
.hero-ticker .ar { font-size: clamp(1.15rem, 2.5vw, 1.75rem); color: rgba(212, 175, 55, 0.55); -webkit-text-stroke: 0; }

/* ---------- 02 Zierband — kinetischer Marquee ---------- */
.zierband {
  padding-block: 1.35rem;
  border-top: 1px solid var(--hairline-dim);
  border-bottom: 1px solid var(--hairline-dim);
  background: rgba(15, 11, 7, 0.35);
}
.zierband .outline-word { font-size: clamp(1.35rem, 3vw, 2.15rem); }
.zierband .gold-text { -webkit-text-stroke: 0; }
.zierband .ar { font-size: clamp(1.5rem, 3.2vw, 2.35rem); color: var(--gold); -webkit-text-stroke: 0; }

/* ---------- 03 Leistungen & Preisliste ---------- */
.prices { background: radial-gradient(90% 70% at 50% 20%, rgba(23, 17, 10, 0.55), transparent 70%); }
.prices .glow-spot { top: 0; left: 50%; transform: translateX(-50%); }
.prices .ar-shadow {
  top: -4%; right: -6%;
  font-size: clamp(190px, 23vw, 400px);
  opacity: 0.08;
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
  position: relative; z-index: 2;
  align-items: stretch;
}
.price-foot {
  margin-top: 2.6rem; text-align: center;
  position: relative; z-index: 2;
}

/* ---------- 04 Erlebnis — Das Ritual ---------- */
.ritual-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  position: relative; z-index: 2;
  align-items: start;
}
.ritual-copy { position: sticky; top: 140px; }
.ritual-copy .display-2 { margin: 1.1rem 0 1.6rem; }
.ritual-copy p + p { margin-top: 1.1rem; }
.about-text {
  font-family: var(--font-edit); font-weight: 500;
  font-size: 1.22rem; line-height: 1.72; color: var(--text);
}
.about-text em { color: var(--gold-light); font-style: italic; }
.karam {
  display: flex; align-items: center; gap: 18px;
  margin-top: 2.2rem; padding-top: 1.8rem;
  border-top: 1px solid var(--hairline-dim);
}
.karam .ar {
  font-size: 3rem; font-weight: 700; line-height: 1;
  color: var(--gold);
}
.karam .note { max-width: 30ch; }

.steps { position: relative; display: grid; gap: 1.35rem; }
.steps::before {
  content: ''; position: absolute; left: -30px; top: 24px; bottom: 24px;
  width: 1px; background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transform-origin: top;
  transition: transform 1.8s var(--ease-wipe) 0.3s;
}
.js .steps:not(.in)::before { transform: scaleY(0); }
.steps.in::before { transform: scaleY(1); }
.step-core { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 1.8rem); padding: clamp(1.2rem, 2.4vw, 1.7rem) clamp(1.3rem, 2.6vw, 2rem); }
.step .ord { flex: none; width: 2ch; }
.mini-arch {
  flex: none; width: 72px; aspect-ratio: 3 / 3.8;
  border: 1px solid var(--hairline);
  border-radius: 999px 999px 12px 12px;
  display: grid; place-items: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(140, 100, 32, 0.25), transparent 60%),
    linear-gradient(180deg, #1A130B, #0C0906);
}
.mini-arch svg { width: 32px; height: 32px; color: var(--gold); }
.step h3 {
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.98rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.step p { color: var(--muted); font-size: 0.96rem; margin-top: 2px; }

/* ---------- 05 Galerie — Fenster des Palasts ---------- */
.gallery .section-head { text-align: center; }
.gallery .section-head .eyebrow { justify-content: center; }
.gallery-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 25vw, 315px);
  gap: clamp(1.2rem, 2.4vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 26px 6px 44px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}
.gallery-row.dragging {
  cursor: grabbing; scroll-snap-type: none;
  user-select: none; -webkit-user-select: none;
}
.gallery-row::-webkit-scrollbar { height: 6px; }
.g-item { scroll-snap-align: start; }
.g-item:nth-child(even) { transform: translateY(34px); }
.gallery-note { text-align: center; margin-top: 2.6rem; }

.ig-arch .arch-core { display: grid; place-items: center; gap: 0; }
.ig-inner { display: grid; justify-items: center; gap: 18px; padding: 1rem; position: relative; z-index: 1; text-align: center; }
.ig-inner .ig-handle {
  font-size: 0.8rem; letter-spacing: 0.14em; color: var(--text);
  font-weight: 500; word-break: break-all;
}

/* ---------- 06 Kontakt — Der Majlis ---------- */
.contact .ar-shadow {
  top: -3%; left: 50%; transform: translateX(-50%);
  font-size: clamp(160px, 22vw, 380px);
  opacity: 0.07;
}
.contact .glow-spot { bottom: -10%; left: 60%; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
  position: relative; z-index: 2;
  align-items: stretch;
}
.contact-stack { display: grid; gap: clamp(1.4rem, 2.6vw, 2.2rem); align-content: start; }
.contact-ctas { display: grid; gap: 14px; margin-top: 1.6rem; }
.contact-lines { margin-top: 1.5rem; display: grid; gap: 4px; }
.contact-lines .note strong { color: var(--gold-light); font-weight: 500; }

.hours-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 0.9rem; flex-wrap: wrap;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status-pill.is-open { color: var(--gold-light); border-color: rgba(212, 175, 55, 0.5); }
.status-pill.is-open .st-dot {
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(212, 175, 55, 0.6);
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse { 50% { opacity: 0.45; } }

.hours-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 0.58rem 0;
  color: var(--muted); font-weight: 400; font-size: 0.98rem;
}
.hours-row .price-lead { opacity: 0.55; }
.hours-day { min-width: 104px; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 9px; }
.today-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(212, 175, 55, 0.55);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.5s var(--ease-luxe), transform 0.5s var(--ease-luxe);
}
.hours-row.today { color: var(--text); font-weight: 500; }
.hours-row.today .today-dot { opacity: 1; transform: none; animation: dot-pulse 2.2s ease-in-out infinite; }
.hours-row.today .hours-val { color: var(--gold-light); }

.addr-block { display: grid; gap: 4px; margin-bottom: 1.2rem; }
.addr-block strong { font-weight: 500; letter-spacing: 0.04em; }
.map-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--hairline-dim); }
.map-svg { width: 100%; height: auto; display: block; background: #0A0705; }
.map-pin-ring { transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.6s ease-out infinite; }
@keyframes pin-pulse {
  0% { opacity: 0.85; transform: scale(0.35); }
  100% { opacity: 0; transform: scale(1.9); }
}
.route-link { margin-top: 1.2rem; }

/* ---------- 07 Footer — Das Siegel ---------- */
.footer {
  position: relative;
  padding: 4.5rem 0 6.5rem;
  text-align: center;
  overflow: clip;
}
.footer-fries { margin-bottom: 4rem; }
.footer-inner { display: grid; justify-items: center; gap: 1.5rem; position: relative; z-index: 2; }
.footer-seal { width: 108px; }
.footer-sign {
  font-family: var(--font-edit); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--gold-light);
}
.footer-claim { color: var(--muted); font-size: 0.96rem; letter-spacing: 0.05em; }
.footer-nav { display: flex; gap: clamp(16px, 3vw, 30px); flex-wrap: wrap; justify-content: center; margin-top: 0.6rem; }
.footer-nav a {
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s var(--ease-luxe);
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-ar { font-size: 1.5rem; color: var(--gold-deep); opacity: 0.8; }
.legal {
  margin-top: 1rem;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  color: var(--muted); font-size: 0.8rem;
}
.legal a { text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.legal a:hover { color: var(--gold-light); }
.footer .glow-spot { bottom: -40%; left: 50%; transform: translateX(-50%); }

.to-top {
  position: absolute; right: 28px; bottom: 28px; z-index: 3;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  background: rgba(15, 11, 7, 0.5);
  transition: transform 0.4s var(--ease-luxe), border-color 0.4s var(--ease-luxe);
}
.to-top:hover { transform: translateY(-3px); border-color: rgba(212, 175, 55, 0.6); }
.to-top .pole { width: 9px; height: 26px; border-radius: 5px; }

.footer-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 1.5s var(--ease-wipe);
}
.js .footer-line:not(.in) { transform: scaleX(0); }

@media (min-width: 900px) {
  /* Platz fuer das fixe Siegel-Fab rechts unten */
  .to-top { right: 112px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ritual-grid, .contact-grid { grid-template-columns: 1fr; }
  .ritual-copy { position: static; }
  .steps::before { display: none; }
  .price-cards { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .hero .eyebrow { font-size: 0.66rem; letter-spacing: 0.24em; white-space: nowrap; }
  .hero .eyebrow::before, .hero .eyebrow::after { width: 18px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: space-between; }
  .gallery-row {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: unset;
    overflow-x: visible;
    cursor: default;
  }
  .g-item:nth-child(even) { transform: translateY(22px); }
  .ig-arch { grid-column: 1 / -1; }
  .ig-arch .arch-core { aspect-ratio: 3 / 2.6; }
  .step-core { flex-wrap: wrap; }
  .to-top { right: 18px; bottom: 18px; }
  .contact .container, .prices .container { width: 94vw; }
}
