/* ============================================================
   Startseite — atmosphärischer Hero + Homepage-Komponenten
   Nutzt die Tokens aus styles.css.
   ============================================================ */

/* ---------- Promo-Banner (datumsgesteuert, aktuell ausgeblendet) ---------- */
#shop-banner {
  width: 100%;
  background: var(--color-accent);
  color: var(--color-accent-text);
  text-align: center;
  padding: 0.7rem 3rem 0.7rem 1rem;
  position: relative;
}
#shop-banner .banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 500;
}
#shop-banner .banner-text strong { font-size: 1rem; }
#shop-banner .banner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: rgba(20, 23, 15, 0.18);
  color: inherit;
  text-decoration: none;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.86rem;
  border: 1px solid rgba(20, 23, 15, 0.3);
}
#shop-banner .banner-link:hover { background-color: rgba(20, 23, 15, 0.3); }
#shop-banner .banner-close {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  opacity: 0.7;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
#shop-banner .banner-close:hover { opacity: 1; }

/* ---------- Atmosphärischer Nacht-Hero ---------- */
.night-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 74vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 5.5rem 1.25rem clamp(4rem, 9vw, 7rem);
  color: var(--bone);
  background:
    radial-gradient(120% 75% at 68% 12%, rgba(46, 62, 42, 0.55) 0%, transparent 55%),
    linear-gradient(180deg, #080b05 0%, #10140c 50%, #1b2416 100%);
  isolation: isolate;
}
.night-hero__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 26%, rgba(238, 234, 219, 0.5), transparent),
    radial-gradient(1.4px 1.4px at 68% 20%, rgba(238, 234, 219, 0.38), transparent),
    radial-gradient(1px 1px at 38% 16%, rgba(238, 234, 219, 0.42), transparent),
    radial-gradient(1px 1px at 86% 34%, rgba(238, 234, 219, 0.3), transparent),
    radial-gradient(1.4px 1.4px at 52% 10%, rgba(238, 234, 219, 0.32), transparent),
    radial-gradient(1px 1px at 8% 40%, rgba(238, 234, 219, 0.28), transparent);
}
.night-hero__moon {
  position: absolute;
  top: 7%;
  right: 6%;
  width: clamp(112px, 15vw, 172px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%,
              #f5f2e6 0%, #e9e5d5 46%, #d7d3c0 63%, rgba(215, 211, 192, 0.28) 73%, transparent 79%);
  box-shadow:
    0 0 70px 22px rgba(224, 220, 203, 0.14),
    inset -16px -12px 34px rgba(110, 112, 96, 0.22);
  z-index: 1;
}
.night-hero__fog {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(55% 42% at 24% 90%, rgba(120, 140, 122, 0.12), transparent 70%),
    radial-gradient(46% 34% at 80% 84%, rgba(88, 108, 92, 0.09), transparent 72%);
  animation: fogDrift 26s ease-in-out infinite alternate;
}
@keyframes fogDrift {
  from { transform: translateX(-3%); }
  to   { transform: translateX(3%); }
}
.night-hero__ruins {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  color: #050703;
  z-index: 3;
}
.night-hero__content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}
.night-hero .eyebrow {
  color: rgba(238, 234, 219, 0.72);
}
.night-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  line-height: 1.05;
  margin: 0.7rem 0 1.1rem;
  max-width: 600px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.night-hero__slogan {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  color: rgba(238, 234, 219, 0.72);
  margin: 0 0 0.9rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}
.night-hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(238, 234, 219, 0.82);
  max-width: 540px;
  margin: 0 0 2rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

/* Store-Badges */
.store-badges {
  display: flex;
  gap: 0.9rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.55rem 1.3rem;
  border: 1px solid rgba(238, 234, 219, 0.35);
  border-radius: var(--radius-md);
  background: rgba(238, 234, 219, 0.06);
  color: var(--bone);
  text-decoration: none;
  line-height: 1.15;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.store-badge:hover {
  border-color: var(--bone);
  background: rgba(238, 234, 219, 0.12);
  transform: translateY(-1px);
}
.store-badge small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.store-badge span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Mono-Chips ("Kostenlos · Offline · Werbefrei") */
.chips {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(238, 234, 219, 0.75);
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(238, 234, 219, 0.2);
  border-radius: 100px;
}

/* Hero-Einblendung */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.night-hero__content > * { animation: heroRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.night-hero__content > *:nth-child(2) { animation-delay: 0.07s; }
.night-hero__content > *:nth-child(3) { animation-delay: 0.14s; }
.night-hero__content > *:nth-child(4) { animation-delay: 0.21s; }
.night-hero__content > *:nth-child(5) { animation-delay: 0.28s; }

/* ---------- Sektions-Kopf ---------- */
.section-head {
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  margin: 0.4rem 0 0.6rem;
}
.lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---------- Feature-Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 107, 86, 0.5);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--color-accent);
  border-left: 1.5px solid var(--color-accent);
  opacity: 0.65;
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(79, 107, 86, 0.14);
  margin-bottom: 0.9rem;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
}

/* ---------- Ausrüstungs-Teaser ---------- */
.teaser {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.teaser__body {
  padding: 2.25rem;
  background: var(--color-surface);
}
.teaser__body h3 {
  font-size: 1.5rem;
  margin: 0.3rem 0 0.7rem;
}
.teaser__body p {
  color: var(--color-text-muted);
  margin-bottom: 1.4rem;
}
.teaser__media {
  background:
    radial-gradient(circle at 70% 30%, rgba(224, 220, 203, 0.14), transparent 55%),
    linear-gradient(150deg, #16190f 0%, #222b1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 180px;
}

/* ---------- Sicherheitshinweis ---------- */
.safety-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-warn-bg);
  border: 1px solid var(--color-warn-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.safety-note .safety-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.safety-note h3 {
  font-size: 1.05rem;
  color: var(--color-warn-text);
  margin-bottom: 0.3rem;
}
.safety-note p {
  font-size: 0.92rem;
  color: var(--color-warn-text);
  opacity: 0.92;
}

/* ---------- Social ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 107, 86, 0.5);
}
.social-card .social-emoji { font-size: 1.5rem; }
.social-card strong { display: block; font-size: 1rem; }
.social-card span { font-family: var(--font-mono); font-size: 0.76rem; color: var(--color-text-muted); }

/* ---------- Pro-Teaser (dunkles Panel) ---------- */
.pro-teaser {
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.pro-teaser .eyebrow { color: rgba(238, 234, 219, 0.65); }
.pro-teaser h3 { color: var(--bone); font-size: 1.4rem; margin: 0.3rem 0 0.4rem; }
.pro-teaser p { color: rgba(238, 234, 219, 0.75); font-size: 0.95rem; max-width: 440px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .teaser { grid-template-columns: 1fr; }
  .teaser__media { min-height: 130px; order: -1; }
  .teaser__body { padding: 1.75rem; }
  .pro-teaser { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 600px) {
  #shop-banner { padding: 0.65rem 2.5rem 0.65rem 0.75rem; }
  .night-hero { min-height: 70vh; }
  .night-hero__moon { width: 100px; top: 4%; right: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .night-hero__content > *,
  .night-hero__fog { animation: none; }
}
