:root {
  --bg: #07351d;
  --ink: #101415;
  --muted: #5d686d;
  --line: #d9e2e2;
  --paper: #f6faed;
  --white: #ffffff;
  --cyan: #f2ed86;
  --cyan-strong: #579735;
  --magenta: #d0006f;
  --magenta-soft: #ff4dae;
  --green: #97b83f;
  --yellow: #ffe57a;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

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

#programm,
#aftermovie {
  scroll-margin-top: 96px;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 18px 18px auto;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 58px rgba(7, 53, 29, 0.14);
  backdrop-filter: blur(22px) saturate(1.2);
  transition: background 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-compact {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(7, 53, 29, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.82;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--magenta);
  opacity: 1;
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(118px, 12vw, 160px) clamp(20px, 6vw, 84px) clamp(42px, 5vw, 70px);
  overflow: hidden;
  color: var(--white);
  background: #78a93d;
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("parkfest_2026_hintergrund.svg");
  background-position: center;
  background-size: cover;
  filter: saturate(1.04) contrast(1.02) brightness(1.02);
  transform: scale(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(4, 44, 23, 0.92) 0%, rgba(18, 84, 34, 0.58) 34%, rgba(176, 202, 61, 0.24) 68%, rgba(255, 230, 122, 0.2) 100%),
    radial-gradient(ellipse at 58% 39%, rgba(255, 244, 156, 0.34), transparent 35%),
    radial-gradient(ellipse at 86% 76%, rgba(255, 236, 130, 0.4), transparent 26%),
    linear-gradient(180deg, rgba(5, 45, 22, 0.02), rgba(5, 45, 22, 0.16) 62%, rgba(5, 45, 22, 0.26) 100%);
}

.hero::after {
  content: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 920px;
  min-height: calc(100svh - 250px);
}

.hero__date {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--white);
  font-size: clamp(52px, 7.8vw, 118px);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 12px 42px rgba(5, 45, 22, 0.34);
}

.hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 850;
  line-height: 1.08;
  text-shadow: 0 6px 24px rgba(5, 45, 22, 0.28);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  color: var(--white);
  background: var(--magenta);
  border-color: var(--magenta);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--magenta-soft);
  border-color: var(--magenta-soft);
}

.button--ghost {
  color: var(--white);
  background: rgba(5, 45, 22, 0.18);
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero__mark {
  position: absolute;
  z-index: 2;
  right: clamp(26px, 7vw, 118px);
  top: 50%;
  width: min(28vw, 330px);
  opacity: 0.48;
  transform: translateY(-28%);
  filter: drop-shadow(0 30px 46px rgba(5, 45, 22, 0.26));
  mix-blend-mode: multiply;
}

.hero__mark::before {
  content: none;
}

.countdown {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 6vw, 92px);
  bottom: clamp(34px, 5vw, 74px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 12px 26px rgba(5, 45, 22, 0.34));
}

.countdown span {
  color: var(--yellow);
  font-size: clamp(46px, 4.8vw, 74px);
  font-weight: 950;
  line-height: 0.8;
}

.countdown small {
  max-width: 92px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section {
  padding: clamp(74px, 10vw, 138px) clamp(20px, 6vw, 84px);
}

.section__heading {
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 66px);
}

.section__heading p,
.media-copy > p {
  display: block;
  margin: 0 0 18px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__heading h2,
.media-copy h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.96;
}

.section--program {
  background:
    radial-gradient(circle at 50% 0%, rgba(151, 184, 63, 0.16), transparent 34%),
    var(--bg);
  color: var(--white);
}

.section--program .section__heading h2 {
  color: var(--white);
}

.section--program .section__heading p {
  color: var(--yellow);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(140, 238, 255, 0.3);
  border-left: 1px solid rgba(242, 237, 134, 0.2);
}

.day-card {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid rgba(140, 238, 255, 0.18);
  border-bottom: 1px solid rgba(242, 237, 134, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 238, 140, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.03);
}

.day-card--feature {
  background:
    radial-gradient(circle at 50% 0%, rgba(208, 0, 111, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.052);
}

.day-card__header {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.day-card__header span {
  color: var(--magenta-soft);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.day-card__header strong {
  color: var(--white);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  line-height: 0.95;
}

.event {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.event time {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.event h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 900;
  line-height: 1.02;
}

.event p {
  margin: 8px 0 0;
  color: #c9d6d6;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.46;
}

.event__logo {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(242, 237, 134, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.event__logo--dark {
  background: #020404;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.event__logo--crest,
.event__logo--square {
  justify-self: center;
  width: min(48%, 160px);
  padding: 0;
  border: 0;
  background: transparent;
}

.event__logo--square {
  width: min(78%, 280px);
  max-height: 230px;
  margin-top: 28px;
}

.event--large .event__logo {
  justify-self: center;
  width: min(88%, 330px);
  max-height: 105px;
  margin-top: 34px;
  background: rgba(0, 0, 0, 0.16);
  padding: 12px;
  border-color: rgba(242, 237, 134, 0.18);
}

.event--large {
  padding-bottom: 0;
}

.event__logo--daily {
  object-fit: contain;
}

.event--untimed {
  grid-template-columns: 74px minmax(0, 1fr);
}

.event__time-spacer {
  display: block;
}

.food-list {
  display: grid;
  gap: 8px;
}

.food-list span {
  color: var(--white);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.08;
}

.media-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: center;
  background: var(--paper);
}

.media-copy {
  display: grid;
  gap: 24px;
}

.media-copy h2 {
  color: var(--ink);
}

.media-copy p:last-of-type {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.media-copy .button {
  justify-self: start;
}

.media-copy .button--primary {
  box-shadow: none;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.video-frame img,
.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-frame__label {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  padding: 9px 11px;
  color: var(--white);
  background: rgba(5, 8, 8, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-button {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid var(--magenta);
  border-radius: 50%;
  color: var(--white);
  background: var(--magenta);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.play-button:hover,
.play-button:focus-visible {
  background: var(--magenta-soft);
  transform: translate(-50%, -50%) scale(1.04);
  outline: none;
}

.play-button svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: currentColor;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 84px);
  background: #000;
  color: #9cabac;
  font-size: 13px;
  font-weight: 800;
}

.footer a {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .site-header {
    inset: 16px 16px auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
  }

  .hero {
    padding-top: 146px;
  }

  .hero__content {
    min-height: calc(100svh - 280px);
  }

  .hero__mark {
    right: 18px;
    top: 60%;
    bottom: auto;
    width: 220px;
    opacity: 0.18;
  }

  .countdown {
    left: auto;
    right: 24px;
  }

  .media-section {
    grid-template-columns: 1fr;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 10px 14px auto;
    padding: 12px 14px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    font-size: 9px;
  }

  .nav a {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero {
    min-height: 96svh;
    padding: 124px 16px 34px;
  }

  .hero__content {
    min-height: calc(96svh - 250px);
  }

  .hero h1 {
    font-size: clamp(36px, 11.8vw, 48px);
    line-height: 0.92;
  }

  .hero__lead {
    font-size: clamp(18px, 6vw, 25px);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .countdown {
    position: static;
    margin-top: 28px;
    align-self: end;
  }

  .section {
    padding-inline: 16px;
  }

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

  .event__logo--crest,
  .event__logo--square {
    justify-self: center;
    width: 150px;
  }

  .event__logo--square {
    width: min(82%, 250px);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
