/* ==========================================================
   Cherry Tuesday – Farben aus dem Logo, Aquarell aus dem Cover
   ========================================================== */
:root {
  --kirschmark: #520201;   /* Logo-Hintergrund */
  --kirschmark-tief: #3a0101;
  --kirsche: #c8102e;
  --stiel: #a3c23a;        /* Logo-Grün, aufgehellt für Lesbarkeit */
  --stiel-dunkel: #58700a;
  --rosa: #fbeef1;
  --tinte: #2b0708;

  --font-display: "Bagel Fat One", system-ui, sans-serif;
  --font-body: "Rethink Sans", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--rosa);
  background: var(--kirschmark);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--stiel); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
p { margin: 0 0 1em; max-width: 38em; }

.skip {
  position: absolute; left: -999px; top: .5rem; z-index: 100;
  background: var(--stiel); color: var(--tinte); padding: .5rem 1rem;
}
.skip:focus { left: .5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem var(--gutter);
  background: color-mix(in srgb, var(--kirschmark) 92%, transparent);
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: auto; }
.nav { display: flex; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 600; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--stiel); }
.nav-toggle {
  display: none; font: inherit; font-weight: 600; color: inherit;
  background: none; border: 2px solid currentColor; border-radius: 99px; padding: .3rem .9rem; cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--kirschmark-tief);
    padding: .5rem var(--gutter) 1rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.hero-logo { margin: 0; }
.hero-logo img { width: min(100%, 26rem); margin-inline: auto; }

.sleeve-wrap {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  margin-right: 22%;   /* Platz für die herausgezogene Platte */
}
.sleeve {
  position: relative; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
}
.vinyl {
  position: absolute; z-index: 1;
  inset: 3%;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--tinte) 0 2.5%, transparent 2.6%),
    radial-gradient(circle, transparent 0 17%, #111 17.3% 18%, transparent 18.3%),
    repeating-radial-gradient(circle, #1a1a1a 0 1px, #0a0a0a 1.5px 3px),
    #111;
  box-shadow: inset 0 0 0 2px #000;
  transform: translateX(38%) rotate(0deg);
  animation: slide-out 1.4s cubic-bezier(.2, .8, .2, 1) .3s both;
}
.vinyl::after {  /* Glanz */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 15%, rgb(255 255 255 / .09) 20%, transparent 28% 65%, rgb(255 255 255 / .07) 70%, transparent 78%);
}
.vinyl-label {
  position: absolute; inset: 32%;
  border-radius: 50%;
  background: url("../assets/img/pancakes.jpg") center / 150% no-repeat;
}
@keyframes slide-out {
  from { transform: translateX(0) rotate(-40deg); }
  to   { transform: translateX(38%) rotate(0deg); }
}

.album-info { margin-top: 2rem; }
.album-kicker { font-weight: 600; color: var(--stiel); margin-bottom: .25rem; }
.album-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .75rem 1.4rem; border-radius: 99px;
  border: 2px solid var(--stiel);
  transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--stiel); color: var(--tinte); }
.btn-primary:hover { background: var(--rosa); border-color: var(--rosa); }
.btn-ghost:hover { background: var(--stiel); color: var(--tinte); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-logo img { width: min(70%, 18rem); margin: 0; }
  .sleeve-wrap { width: 72%; }
}

/* ---------- Band ---------- */
.band {
  background: var(--rosa);
  color: var(--tinte);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.band > * { min-width: 0; }
.band h2 { color: var(--kirschmark); }
.lead { font-size: 1.3rem; line-height: 1.5; font-weight: 600; }
.band-photo { margin: 0; }
.band-photo img { border-radius: 3px; }

.studio-heading {
  grid-column: 1 / -1;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--kirschmark);
  margin: 2rem 0 0;
}
.studio {
  grid-column: 1 / -1;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.studio img {
  aspect-ratio: 3 / 4; width: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  border-radius: 3px;
}
.studio span { display: block; margin-top: .5rem; font-weight: 600; }

@media (max-width: 820px) {
  .band { grid-template-columns: 1fr; }
  .studio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Konzerte ---------- */
.gigs {
  background: url("../assets/img/watercolor.jpg") center / cover;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
}
.gigs-panel {
  max-width: 50rem; margin: 0 auto;
  background: var(--rosa); color: var(--tinte);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border-radius: 6px;
  transform: rotate(-1deg);   /* wie ein angepinnter Flyer */
  box-shadow: 0 20px 50px -20px rgb(43 7 8 / .5);
}
.gigs-panel > * { transform: rotate(1deg); }
.gigs h2 { color: var(--kirschmark); }

.gig-list { list-style: none; margin: 0; padding: 0; }
.gig {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem; align-items: center;
  padding: 1rem 0;
  border-top: 2px solid rgb(82 2 1 / .15);
}
.gig:first-child { border-top: 0; }
.gig-date { font-family: var(--font-display); color: var(--kirsche); line-height: 1; }
.gig-date .day { display: block; font-size: 2.2rem; }
.gig-date .month { font-size: 1rem; }
.gig-where strong { display: block; font-size: 1.15rem; }
.gig-where span { color: rgb(43 7 8 / .75); }
.gig-link {
  font-weight: 700; text-decoration: none; white-space: nowrap;
  padding: .45rem 1rem; border-radius: 99px;
  background: var(--kirschmark); color: var(--rosa);
}
.gig-link:hover { background: var(--kirsche); }
.gig-empty { padding: 1rem 0; }

.past { margin-top: 2rem; }
.past summary { cursor: pointer; font-weight: 700; color: var(--kirschmark); }
.gig-list--past .gig { grid-template-columns: 5.5rem 1fr; opacity: .7; }
.gig-list--past .gig-date .day { font-size: 1.5rem; }

@media (max-width: 560px) {
  .gig { grid-template-columns: 4rem 1fr; }
  .gig-link { grid-column: 2; justify-self: start; }
}

/* ---------- Live-Galerie ---------- */
.live { padding: clamp(4rem, 8vw, 7rem) var(--gutter); max-width: var(--max); margin: 0 auto; }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem;
}
.gallery a { display: block; overflow: hidden; border-radius: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery a:nth-child(2),
.gallery a:nth-child(3) { grid-column: span 3; aspect-ratio: 3 / 2; }
.gallery a:nth-child(4),
.gallery a:nth-child(5) { grid-column: span 3; aspect-ratio: 4 / 3; }

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery a:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 2 / 3; }
  .gallery a:nth-child(1) { grid-column: span 2; aspect-ratio: 4 / 5; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgb(20 0 0 / .92); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 3rem 4rem; }
.lb-btn {
  position: absolute; font: 2.2rem/1 var(--font-body);
  color: var(--rosa); background: rgb(82 2 1 / .6);
  border: 0; border-radius: 50%; width: 3rem; height: 3rem; cursor: pointer;
}
.lb-btn:hover { background: var(--kirsche); }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-close { right: 1rem; top: 1rem; }
@media (max-width: 640px) { .lightbox img { padding: 3.5rem .5rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; } }

/* ---------- Kontakt & Footer ---------- */
.contact {
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--kirschmark-tief);
}
.contact p { margin-inline: auto; }
.contact-mail {
  display: inline-block; margin: 1rem 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2.6rem);
  color: var(--stiel); text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-mail:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.contact-mail { margin-bottom: 0; }

/* ---------- Impressum & Datenschutz ---------- */
.back-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--stiel); }
.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}
.legal h1 { font-size: clamp(2.5rem, 8vw, 4rem); margin-bottom: 1.5rem; }
.legal h2 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 1.2rem; line-height: 1.3;
  color: var(--stiel);
  margin: 2.5rem 0 .5rem;
}
.legal a { color: var(--stiel); }
.legal-date { margin-top: 3rem; color: rgb(251 238 241 / .7); }
.site-footer a[aria-current="page"] { text-decoration: none; color: var(--rosa); }

.site-footer {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
  padding: 1.5rem var(--gutter);
  font-size: .9rem; color: rgb(251 238 241 / .7);
  background: var(--kirschmark-tief);
  border-top: 1px solid rgb(255 255 255 / .08);
}
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vinyl { animation: none; }
  .gallery img { transition: none; }
}
