/* ===========================
   Mstax-Farbox
   =========================== */

.mstax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
  padding: 1rem;
}

.mstax-box {
  background: #fff;
  border: 2px solid white;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  width: 250px;
  height: auto;
  margin: 0 auto;     /* zentriert in der Spalte */
  cursor: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.mstax-cover {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}


.mstax-album {
  font-size: 1.6rem;
  font-weight: 400;
  color: #111;
  margin-bottom: 0.7rem;
}

.mstax-artist {
  font-size: 1.4rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 1.2rem;
  margin-top: 0.7rem;
}

.mstax-artist a,
.mstax-artist-link {
  color: #111; 
  text-decoration: underline;
}

.mstax-artist a:hover,
.mstax-artist-link:hover {
  color: #111; 
  text-decoration: underline; 
}


.mstax-code {
  font-size: 2.2rem;       
  font-weight: 600;      
  color: #000;          
  margin: 0.9rem 0;      
  letter-spacing: 0.08em;
  text-transform: uppercase; 
  text-align: left; 
}

.mstax-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.mstax-covertype,
.mstax-releaseyear {
  font-size: 1.2rem;
  font-weight: 300;
  color: black;
  letter-spacing: 0.01em;
  text-transform: none;
}


.mstax-swatch {
  width: 100%;
  aspect-ratio: 1/1;       /* immer quadratisch */
  margin-bottom: 0rem;
  border: 2px solid white;
  border-radius: 7px;
  overflow: hidden;
  position: relative; 
}

.mstax-swatch img {
  position: absolute; /* neu */
  width: 100%;
  height: 100%;
  object-fit: cover;

}



.mstax-info {
  padding: 1rem;
  text-align: left;
}

.mstax-desc {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.mstax-name {
  color: #111;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Hover bleibt unverändert */
.mstax-box:hover {

  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Media Query für kleine Bildschirme */
@media (max-width: 700px) {
  .mstax-grid {
    grid-template-columns: repeat(2, 1fr); /* fix 2 Spalten */
    padding: 1rem; /* Abstand zum Rand beibehalten */
  }

  .mstax-info {
    min-height: 60px;
  }
}




.mstax-code [data-tooltip] {
  position: relative;
  cursor: none;
}


/* ===========================
   ALBUMSEITE-BOX
   =========================== */


.album-mstax-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 8rem 0;

  background: linear-gradient(
    to right,
    var(--stimmungsfarbe, #cccccc) 50%,
    var(--albumfarbe, #999999) 50%
  );
}

.album-mstax-container {
  display: flex;
  flex-direction: column; /* Box und Button untereinander */
  justify-content: center;
  align-items: center;
  gap: 4rem; /* Abstand zwischen Box und Button */
}

.mstax-button {
  z-index: 2; /* sicherstellen, dass er nicht vom Hintergrund überlagert wird */
}







/* ===========================
   TOOLTIP-BOX
   =========================== */

.mstax-code [data-tooltip] {
  position: relative;
  cursor: none; /* kein Fragezeichen mehr */
}

/* Tooltip-Box */
.mstax-code [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 9999;
}

/* kleiner Pfeil */
.mstax-code [data-tooltip]::before {
  content: "";
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 9998;
}

/* sichtbar bei Hover */
.mstax-code [data-tooltip]:hover::after,
.mstax-code [data-tooltip]:hover::before {
  opacity: 1;
}



/* -------------------------------------------------------------------------------- */
/*	XIII. Stimmungsskala & Farbskala & Momente
/* -------------------------------------------------------------------------------- */


.stimmung-und-albumfarbe-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}


/* ========== Section SLIDER ========== */

.artist-mstax-slider-section {
  margin-top: 40px;
  margin-bottom: 40px; /* Abstand nach unten */
  text-align: left;
}

.album-section-title {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  color: white;
  font-size: 4rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Swiper Wrapper nur für Artists */
.artist-mstax-swiper .swiper-wrapper {
  display: flex;
}

.artist-mstax-swiper {
  width: 100%;           /* volle Breite */
  margin: 0;             /* bündig links und rechts */
  padding-left: 20px;       /* keine Einrückung links */
  padding-right: 30px;   /* rechts etwas Luft */
  overflow: hidden;
  position: relative;
}

.artist-mstax-swiper .swiper-slide {
  flex: 0 0 auto;        /* Slides nebeneinander */
  width: 280px;          /* feste Breite */
}

.artist-mstax-swiper .mstax-box {
  margin: 0;
}




/* Nur Frontpage-Heldbereich mittig auf Bildschirmhöhe */
.front-hero-slider {
  min-height: 100svh;           /* zuverlässiger als 100vh auf iOS */
  display: flex;
  align-items: center;          /* vertikal zentriert */
  justify-content: center;      /* horizontal zentriert */
  margin: 0;
  padding: 0;
}

/* Der eigentliche Slider-Block soll keine eigenen Außenabstände erzwingen */
.front-hero-slider .artist-mstax-slider-section {
  margin: 0;                    /* überschreibt dein 40px bottom nur hier */
  width: 100%;
}

/* Falls du die H2 mittig haben möchtest */
.front-hero-slider .artist-section-title {
  text-align: center;
  margin-bottom: 2rem;
}


