﻿body[data-page="home"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 14% 20%, rgba(228, 126, 74, 0.42), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(120, 82, 146, 0.3), transparent 38%),
    radial-gradient(circle at 50% 14%, rgba(236, 182, 96, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(26, 16, 14, 0.92), rgba(42, 27, 20, 0.9) 42%, rgba(18, 16, 28, 0.9));
}

body[data-page="home"] .site-footer {
  background: #080606;
}

body[data-page="home"] .site-footer::before {
  background: linear-gradient(180deg, rgba(8, 6, 6, 0), rgba(8, 6, 6, 1));
}

.home-page {
  position: relative;
  flex: 1;
  padding-bottom: 0;
}




.landing {
  position: relative;
  min-height: calc(100vh - 7.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-top: 1px solid rgba(242, 178, 121, 0.08);
  border-bottom: 0;
}

.landing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(5rem, 10vw, 7rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 16, 28, 0), rgba(8, 6, 6, 0.78));
  z-index: 0;
}

.landing-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(228, 126, 74, 0.42), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(120, 82, 146, 0.3), transparent 38%),
    radial-gradient(circle at 50% 14%, rgba(236, 182, 96, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(26, 16, 14, 0.92), rgba(42, 27, 20, 0.9) 42%, rgba(18, 16, 28, 0.9));
}

.landing-logo-blur {
  position: absolute;
  inset: -10% auto auto 50%;
  width: min(109rem, 146vw);
  height: min(109rem, 146vw);
  transform: translateX(-50%);
  background: url("../../assets/images/Mälscher_NK_transparent_ohne schrift.png") center/contain no-repeat;
  opacity: 0.24;
  filter: blur(8px);
  pointer-events: none;
}

.landing-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.02), transparent 30%, transparent 72%, rgba(255, 255, 255, 0.02));
}

.landing-center {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: clamp(3.6rem, 11vh, 8.2rem) clamp(1.2rem, 4vw, 2rem) 4.4rem;
  text-align: center;
}

.landing-logo {
  width: clamp(7rem, 16vw, 10rem);
  margin: 0 auto 0.9rem;
  opacity: 0.95;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.36));
}

.landing-center h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.landing-center p {
  margin: 0.6rem auto 1.1rem;
  max-width: 30rem;
  font-size: 0.98rem;
  color: #ebd4bd;
}

.landing-info {
  position: relative;
  z-index: 1;
  width: min(100%, 66rem);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(5rem, 11vh, 8rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4.4rem;
}

.running-band {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 3.6rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(242, 178, 121, 0.16);
  border-bottom: 1px solid rgba(242, 178, 121, 0.16);
  background: rgba(7, 7, 10, 0.42);
  overflow: hidden;
}

.running-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: band-scroll 26s linear infinite;
}

.running-track-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2rem;
  padding: 1.35rem 1.1rem;
}

.running-track span {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(235, 212, 189, 0.86);
  font-weight: 700;
}

.band-separator {
  color: rgba(242, 178, 121, 0.62);
  font-size: 0.92rem;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.band-heart {
  color: #050505;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.next-event {
  padding: 0 clamp(1rem, 3vw, 3rem) clamp(6rem, 12vh, 8.5rem);
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0 auto;
}

.event-tile {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  justify-self: center;
  display: grid;
  grid-template-columns: clamp(8.5rem, 18vw, 11rem) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.6rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.event-image-wrap {
  width: clamp(8.5rem, 18vw, 11rem);
  aspect-ratio: 1 / 1;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 0;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  image-rendering: auto;
}

.event-content h2 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.event-meta p {
  margin: 0.25rem 0;
  font-size: 0.97rem;
  color: #ebd4bd;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.info-card {
  position: relative;
  padding: 1.55rem 1.5rem;
  border-radius: 1rem;
  background: rgba(20, 16, 22, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

@keyframes band-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.info-card:hover,
.info-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(242, 178, 121, 0.34);
  background: rgba(30, 21, 32, 0.64);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

.info-card:hover::before,
.info-card:focus-within::before {
  opacity: 1;
}

.info-card .section-label {
  margin: 0 0 0.35rem;
}

.info-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.05;
}

.info-card p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .landing {
    min-height: auto;
  }

  .landing-logo-blur {
    width: min(67.5rem, 172vw);
    height: min(67.5rem, 172vw);
    inset: -4% auto auto 50%;
    transform: translateX(-50%);
    opacity: 0.2;
  }

  .landing-center {
    padding-top: calc(env(safe-area-inset-top, 0px) + 8.5rem);
    padding-bottom: 2.6rem;
  }

  .landing-info {
    grid-template-columns: 1fr;
    width: min(100%, 34rem);
    gap: 2.2rem;
    padding-bottom: 3.2rem;
  }

  .event-tile {
    width: min(100%, 34rem);
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    text-align: center;
    gap: 0.9rem;
  }

  .event-image-wrap {
    width: min(100%, 13rem);
    margin-inline: auto;
  }

  .event-content {
    width: 100%;
    text-align: center;
  }

  .running-track {
    animation-duration: 22s;
  }

  .running-track-group {
    gap: 1.7rem;
    padding-block: 1.15rem;
  }
}



















