@charset "utf-8";

:root {
  --bg: #7f1010;
  --bg-dark: #561010;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --card-border: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --accent: #ffd166;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.2), transparent 28%),
    linear-gradient(180deg, #c81d25 0%, var(--bg) 45%, var(--bg-dark) 100%);
}

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

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

.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero__logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
}

.hero__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow,
.section__eyebrow {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
}

.hero__lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--text);
  color: #8c1111;
}

.button--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.section {
  margin-top: 40px;
}

.section__header {
  margin-bottom: 22px;
}

.section h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.program-grid {
  display: grid;
  gap: 22px;
}

.event-card,
.info-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.event-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.event-card__date {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.08);
  border-right: 1px solid var(--card-border);
}

.event-card__day {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
}

.event-card__full-date {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.event-card__content {
  padding: 28px;
}

.event-card__content h3 {
  margin: 0;
  font-size: 1.6rem;
}

.event-card__time {
  margin: 10px 0 10px;
  font-weight: 700;
  color: var(--accent);
}

.event-card__content p {
  margin: 0 0 14px;
  line-height: 1.65;
  color: var(--muted);
}

.artist-image {
  width: min(100%, 340px);
  margin-top: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
}

.artist-image--small {
  width: min(100%, 250px);
}

.section--compact {
  margin-top: 32px;
}

.info-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 28px;
}

.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  padding: 26px 12px 0;
  text-align: center;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__logo-link,
  .hero__actions {
    justify-content: center;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card__date {
    border-right: 0;
    border-bottom: 1px solid var(--card-border);
  }

  .info-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--content-width));
    padding-top: 8px;
  }

  .hero,
  .event-card__content,
  .event-card__date,
  .info-card {
    padding: 20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero__lead,
  .event-card__content p,
  .info-card p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }
}


.section__header--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 24px;
  align-items: end;
}

.section__intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.anfahrt-section {
  scroll-margin-top: 24px;
}

.anfahrt-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 22px;
  align-items: stretch;
}

.location-card,
.shuttle-section {
  align-items: flex-start;
  height: 100%;
}

.location-card {
  justify-content: flex-start;
}

.location-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 209, 102, 0.18);
  font-size: 1.7rem;
}

.location-card h3,
.shuttle-section h3,
.fahrplan-header h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.shuttle-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 260px);
  gap: 24px;
  overflow: hidden;
}

.shuttle-content p:last-child {
  margin-top: 12px;
}

.mim-board {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
}

.mim-board img {
  width: min(240px, 100%);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

.fahrplan-section {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.fahrplan-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.fahrplan-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.shuttle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.shuttle-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shuttle-card:hover,
.shuttle-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 102, 0.7);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}

.shuttle-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.shuttle-card:hover img,
.shuttle-card:focus-visible img {
  transform: scale(1.03);
}

.shuttle-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: block;
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(86, 16, 16, 0.9);
  color: #fff;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 18px 28px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  color: #7f1010;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 900px) {
  .section__header--split,
  .anfahrt-layout,
  .shuttle-section,
  .shuttle-grid {
    grid-template-columns: 1fr;
  }

  .section__header--split {
    align-items: start;
  }

  .mim-board {
    min-height: 130px;
  }

  .fahrplan-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .fahrplan-section {
    padding: 20px;
  }

  .location-card__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 1.4rem;
  }

  .shuttle-card {
    min-height: 220px;
  }
}
