/* ==========================================================================
   The Rock Party – Event-Website
   Dunkles Theme nach Logo-Vorlage: Neonpink, Elektroblau, Chrome auf Schwarz.
   Keine externen Ressourcen: Schriften werden lokal gehostet (DSGVO).
   ========================================================================== */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/anton-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/archivo-latin.woff2') format('woff2');
}

:root {
  --bg: #0b0b10;
  --bg-alt: #12121b;
  --line: #23232f;
  --text: #eceaf1;
  --muted: #a3a1b0;
  --pink: #ff2e6e;
  --pink-deep: #c11a4f;
  --blue: #3f6dff;
  --chrome-hi: #f4f6fb;
  --chrome-mid: #b7bfd1;
  --chrome-lo: #6d7688;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pink); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 11, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.8rem);
}

.site-nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav nav a:hover,
.site-nav nav a:focus-visible { color: var(--text); }

.site-nav .nav-cta {
  color: #fff;
  background: var(--pink);
  padding: 0.45rem 1.1rem;
  font-weight: 700;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--pink-deep);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 3rem 1rem 4rem;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* Retro-Gitterhorizont, dem Logo-Hintergrund nachempfunden */
.hero-grid {
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: 160%;
  height: 55%;
  transform: translateX(-50%) perspective(420px) rotateX(58deg);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(255, 46, 110, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 46, 110, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.32;
}

.hero-glow-pink {
  width: 44vw; height: 44vw;
  min-width: 340px; min-height: 340px;
  background: var(--pink);
  top: -12%; right: -8%;
}

.hero-glow-blue {
  width: 38vw; height: 38vw;
  min-width: 300px; min-height: 300px;
  background: var(--blue);
  bottom: -10%; left: -10%;
}

.hero-inner {
  position: relative;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-logo {
  width: min(760px, 92vw);
  /* logo.webp bringt echte Transparenz mit; der Schein folgt der Kontur. */
  filter: drop-shadow(0 10px 42px rgba(255, 46, 110, 0.28));
}

/* Typografischer Ersatz, falls assets/logo.png fehlt */
.hero-logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.95;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.hero-logo-fallback[hidden] { display: none; }

.fallback-the,
.fallback-party {
  color: var(--pink);
  font-style: italic;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(255, 46, 110, 0.55);
}

.fallback-the { font-size: clamp(1.6rem, 4vw, 2.6rem); }

.fallback-rock {
  font-size: clamp(5rem, 16vw, 11rem);
  letter-spacing: 0.02em;
  background: linear-gradient(178deg, var(--chrome-hi) 18%, var(--chrome-mid) 46%, var(--chrome-lo) 52%, var(--chrome-hi) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(63, 109, 255, 0.35));
}

.fallback-party {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  padding-bottom: 0.15em; /* Unterlängen-Reserve für kursives y */
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: var(--text);
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  transform: skewX(-6deg);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active { transform: skewX(-6deg) scale(0.97); }

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 28px rgba(255, 46, 110, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--pink-deep);
  box-shadow: 0 6px 34px rgba(255, 46, 110, 0.5);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--chrome-lo);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--text);
  color: #fff;
}

.btn-small { font-size: 0.9rem; padding: 0.5rem 1.3rem; }

.btn-big { font-size: 1.25rem; padding: 1rem 2.8rem; }

/* --------------------------------------------------------------------------
   Countdown
   -------------------------------------------------------------------------- */

.countdown-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 2rem 1rem;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(0.6rem, 3vw, 1.6rem);
}

.cd-cell { display: flex; flex-direction: column; align-items: center; min-width: 64px; }

.cd-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cd-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.cd-sep {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--pink);
}

.cd-live {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  text-transform: uppercase;
  color: var(--pink);
}

/* --------------------------------------------------------------------------
   Sektionen
   -------------------------------------------------------------------------- */

.section { padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 2.5rem); }

.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-inner { max-width: var(--max); margin: 0 auto; }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(178deg, var(--chrome-hi) 20%, var(--chrome-mid) 48%, var(--chrome-lo) 54%, var(--chrome-hi) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Infos: grosses Datum links, Fakten rechts */

.info-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.info-date {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 0.9;
  border-left: 4px solid var(--pink);
  padding-left: clamp(1.2rem, 3vw, 2rem);
}

.info-date-day { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--pink); }

.info-date-big { font-size: clamp(4.5rem, 11vw, 8rem); color: var(--text); }

.info-date-year { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--chrome-mid); }

.info-facts { display: flex; flex-direction: column; gap: 1.8rem; }

.info-fact h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.3rem;
}

.info-fact p { color: var(--muted); max-width: 52ch; }

/* Line-up */

/* Zwei DJs, zwei Karten. Das Foto trägt die Karte, darunter Name,
   Kurzbeschreibung und der Link zum Social-Profil. */
.dj-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  max-width: 900px;
}

.dj-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.dj-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* Leicht abgedunkelt, damit helle und dunkle Vorlagen zusammenpassen */
  filter: grayscale(1) contrast(1.06) brightness(0.9);
  border: 1px solid var(--line);
  /* Farbiger Schimmer am unteren Rand bindet das Foto an die Marke */
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5), inset 0 -70px 60px -60px rgba(255, 46, 110, 0.55);
}

.dj-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--text);
  border-left: 4px solid var(--pink);
  padding-left: 0.9rem;
}

.dj-desc {
  color: var(--muted);
  max-width: 42ch;
  margin-top: -0.25rem;
}

/* auto schiebt den Button ans Kartenende, damit beide auf einer Höhe sitzen */
.dj-card .btn { margin-top: auto; }

/* Tattoo */

.tattoo-lead {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 46ch;
}

.tattoo-time {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--pink);
  margin-bottom: 0.4rem;
}

/* Drei Spalten über die volle Breite: Porträt, Text, Studio-Logo.
   Die Spalten sind fest zugewiesen, damit die Aufteilung stehen bleibt,
   falls ein Bild fehlt. */
.tattoo-split {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(320px, 1fr) minmax(180px, 250px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.tattoo-portrait {
  grid-column: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* Gleiche Behandlung wie die DJ-Porträts, damit alle Personenfotos
     zusammengehören und das Studio-Logo die einzige Farbe daneben bleibt. */
  filter: grayscale(1) contrast(1.06) brightness(0.9);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

.tattoo-text {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

/* Freigestellt, ohne Rahmen: Der Drache steht direkt auf dem Seitengrund. */
.tattoo-logo {
  grid-column: 3;
  width: 100%;
  height: auto;
  justify-self: center;
}

.tattoo-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text);
  border-left: 4px solid var(--pink);
  padding-left: 1rem;
  max-width: 30ch;
}

.tattoo-text > p { color: var(--muted); max-width: 46ch; }

/* Location */

.location-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.location-venue {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.location-text address {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0.6rem 0 1.2rem;
  color: var(--pink);
}

.location-text > p { color: var(--muted); max-width: 56ch; }

.location-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.location-privacy-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.location-visual { display: flex; }

.visual-frame {
  flex: 1;
  min-height: 260px;
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 30%, rgba(63, 109, 255, 0.18), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255, 46, 110, 0.18), transparent 55%),
    var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-city {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  text-align: center;
  color: var(--text);
  opacity: 0.9;
}

.visual-coord {
  position: absolute;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.visual-coord:first-child { top: 0.8rem; left: 1rem; }
.visual-coord:nth-child(2) { bottom: 0.8rem; right: 1rem; }

/* Tickets */

.section-tickets { text-align: center; }

.section-tickets h2 { margin-bottom: 1rem; }

.tickets-copy { color: var(--muted); margin-bottom: 2.2rem; }

/* Partner */

#partner { text-align: center; }

#partner h2 { margin-bottom: 1rem; }

.partner-copy { color: var(--muted); }

/* Flex statt Raster: Sponsorenlogos haben sehr verschiedene Formate, vom
   breiten Banner bis zum Quadrat. Die Kacheln bekommen eine feste Höhe und
   richten ihre Breite nach dem Logo, so wirken alle gleich gewichtet. */
.partner-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.partner-card {
  display: grid;
  place-items: center;
  height: 104px;
  padding: 1.2rem 2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: 0 16px 40px rgba(255, 46, 110, 0.25);
}

.partner-logo {
  max-height: 100%;
  max-width: min(340px, 62vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Ersatz, solange oder falls keine Logodatei da ist */
.partner-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.footer-social { display: flex; gap: 1.1rem; }

.footer-social a {
  display: block;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social svg { width: 28px; height: 28px; display: block; }

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--pink);
  transform: translateY(-2px);
}

.footer-nav { display: flex; gap: 1.5rem; }

.footer-nav a { color: var(--muted); text-decoration: none; }

.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--text); text-decoration: underline; }

.footer-note {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Rechtsseiten (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */

.legal-page { max-width: 760px; margin: 0 auto; padding: 3.5rem clamp(1rem, 4vw, 2rem) 5rem; }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2.2rem 0 0.7rem;
  color: var(--text);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.legal-page p, .legal-page li { color: var(--muted); }

.legal-page p { margin-bottom: 1rem; }

.legal-page p:last-child { margin-bottom: 0; }

.legal-page ul { padding-left: 1.2rem; margin: 0.5rem 0 1rem; }

.legal-address {
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
  margin: 0.6rem 0 1.2rem;
}

.legal-placeholder {
  border: 1px dashed var(--pink);
  padding: 1rem 1.2rem;
  color: var(--text);
  margin: 0.8rem 0 1.4rem;
}

.legal-back { display: inline-block; margin-bottom: 2rem; color: var(--muted); text-decoration: none; }

.legal-back:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   Scroll-Reveal (per JS, respektiert prefers-reduced-motion)
   -------------------------------------------------------------------------- */

/* Ohne JS ist alles sichtbar; mit JS blenden sich die Elemente eines
   Abschnitts gestaffelt ein (Reihenfolge über --stagger aus main.js). */
.js-reveal .reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

.js-reveal .reveal.is-visible .reveal-item {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .info-split, .location-split { grid-template-columns: 1fr; }
  .dj-list { grid-template-columns: 1fr; gap: 3rem; }
  .dj-card { max-width: 420px; }
  .tattoo-split { grid-template-columns: 1fr; justify-items: start; }
  .tattoo-portrait,
  .tattoo-text,
  .tattoo-logo { grid-column: 1; }
  .tattoo-portrait { width: min(420px, 100%); }
  .tattoo-logo { width: min(240px, 60%); }
  .location-visual { min-height: 220px; }
}

@media (max-width: 640px) {
  .site-nav nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 2.5rem 1rem 3rem; }
  .hero-inner { gap: 1.4rem; }
  /* Umgebrochen steht die Fussleiste links: rechtsbündige Symbole wären
     gegenüber den Textlinks darunter eingerückt. */
  .footer-right { align-items: flex-start; }
}
