/* =========================
   RESET / BASE
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --bg: #0b0b0b;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.78);
  --card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --accent: #ff2f92;
  --max: 1200px;
}

html, body { height: 100%; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{
  max-width: 100%;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

/* =========================
   LAYOUT HELPERS
   ========================= */
section{
  padding: 80px 20px;
}

section > *{
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

h2{
  margin-bottom: 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(18px, 2.2vw, 26px);
}

/* =========================
   HERO
   ========================= */
/* HERO – Farbfix */
#hero h1{
  color: var(--accent);

}
	  
#hero{
  min-height: 100vh;
  background: url('../img/hero.jpg') center / cover no-repeat;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;
  text-align: center;
  overflow: hidden;
}

#hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.70) 100%
  );
}

.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 900px;
}

#hero h1{
  font-size: clamp(44px, 7vw, 84px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#hero p{
  margin-top: 10px;
  font-size: clamp(15px, 2.2vw, 20px);
  opacity: 0.85;
}
/* HERO – Link-Fix */
#hero a{
  color: var(--text);
}

/* =========================
   GALLERY / GRID (generic)
   ========================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery img{
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #0a0a0a;
}

/* =========================
   VISUALS
   ========================= */

/* Grid bleibt – korrekt */
.visual-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.visual-item{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0a;
  aspect-ratio: 16 / 9;
}

.visual-item img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* =========================
   FOOTER
   ========================= */
footer{
  padding: 46px 20px 56px;
  font-size: 14px;
  opacity: 0.9;
  border-top: 1px solid rgba(255,255,255,0.06);
}
/* FOOTER – Inhalt untereinander */
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px){
  section{ padding: 70px 20px; }
  .visual-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual-item{ aspect-ratio: 4 / 3; }
}

@media (max-width: 720px){
  #hero{ min-height: 88vh; }
  .visual-grid{ grid-template-columns: 1fr; }
  .visual-item{ aspect-ratio: 3 / 4; }
}

/* =========================
   ADDITIONS
   ========================= */

body { overflow-x: hidden; }

/* ---------- FEATURED RELEASE ---------- */
.release{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}

/* ---------- VISUALS SECTION GRID ---------- */
/* FIX: vorher repeat(4) → jetzt korrekt für 3 Bilder */
#visuals{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

#visuals > h2{
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

#visuals .visual-item{
  width: 100%;
}

/* ---------- RESPONSIVE VISUALS ---------- */
@media (max-width: 1100px){
  #visuals{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px){
  #visuals{
    grid-template-columns: 1fr;
  }
}
footer a{
  display: block;
}
