/* Eidberger Openair — shared static site styles */
:root {
  --forest-950: #102e25;
  --forest-900: #163b30;
  --forest-800: #205443;
  --forest-700: #2e6b55;
  --moss-500: #91a865;
  --sun-400: #f2bc55;
  --coral-500: #ef715c;
  --coral-600: #b54233;
  --cream-50: #fffdf7;
  --cream-100: #f7f0df;
  --cream-200: #e8dcc5;
  --ink-900: #17211d;
  --ink-700: #41514a;
  --white: #fff;
  --shadow-sm: 0 0.25rem 1rem rgb(16 46 37 / 0.1);
  --shadow-lg: 0 1.5rem 4rem rgb(16 46 37 / 0.18);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --content: 74rem;
  --header-height: 5rem;
  --font-display: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 20rem;
  color: var(--ink-900);
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--forest-700); text-underline-offset: 0.18em; }
a:hover { color: var(--coral-600); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--forest-950); background: var(--sun-400); }
:focus-visible { outline: 0.2rem solid var(--coral-500); outline-offset: 0.2rem; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--forest-950);
  border-radius: 0.4rem;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 48rem); margin-inline: auto; }
.flow > * + * { margin-top: var(--flow-space, 1.2rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  color: var(--coral-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.8rem; height: 0.16rem; content: ""; background: currentColor; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.8rem, 8vw, 6.6rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
p { margin: 0; }
.lead { max-width: 46rem; color: var(--ink-700); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.text-small { font-size: 0.9rem; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgb(255 253 247 / 0.94);
  border-bottom: 1px solid rgb(16 46 37 / 0.1);
  backdrop-filter: blur(0.8rem);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--forest-950); font-family: var(--font-display); font-weight: 900; line-height: 1; text-decoration: none; }
.brand img { width: 3rem; height: 3rem; }
.brand-text { display: grid; font-size: 1rem; letter-spacing: -0.025em; }
.brand-text span:last-child { color: var(--forest-700); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a { padding: 0.6rem 0.75rem; color: var(--ink-900); border-radius: 0.5rem; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest-800); background: var(--cream-100); }
.site-nav .nav-cta { margin-left: 0.3rem; color: var(--white); background: var(--forest-900); }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { color: var(--white); background: var(--coral-600); }
.nav-toggle { display: none; width: 2.9rem; height: 2.9rem; padding: 0; color: var(--forest-950); background: transparent; border: 0; border-radius: 50%; }
.nav-toggle span { display: block; width: 1.35rem; height: 0.13rem; margin: 0.27rem auto; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(0.4rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-0.4rem) rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}
.hero.hero-home::before {
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), url("../images/festival.jpg");
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), image-set(url("../images/festival-2000.webp") type("image/webp"), url("../images/festival.jpg") type("image/jpeg"));
}
.hero.hero-anreise::before {
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), url("../images/anreise.jpg");
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), image-set(url("../images/anreise-2000.webp") type("image/webp"), url("../images/anreise.jpg") type("image/jpeg"));
}
.hero.hero-faq::before {
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), url("../images/faq.jpg");
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), image-set(url("../images/faq-2000.webp") type("image/webp"), url("../images/faq.jpg") type("image/jpeg"));
}
.hero.hero-kontakt::before {
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), url("../images/kontakt.jpg");
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), image-set(url("../images/kontakt-2000.webp") type("image/webp"), url("../images/kontakt.jpg") type("image/jpeg"));
}
.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image: linear-gradient(90deg, rgb(7 31 25 / 0.92) 0%, rgb(7 31 25 / 0.66) 55%, rgb(7 31 25 / 0.18) 100%), var(--hero-image, linear-gradient(135deg, var(--forest-900), var(--moss-500)));
  background-position: center;
  background-size: cover;
}
.hero::after {
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -12rem;
  width: 35rem;
  height: 35rem;
  content: "";
  background: var(--coral-500);
  border-radius: 50%;
  opacity: 0.17;
  filter: blur(0.2rem);
}
.hero-inner { display: grid; align-content: center; min-height: 100%; padding-block: clamp(4rem, 9vw, 8rem); }
.hero-copy { max-width: 54rem; }
.hero h1 { max-width: 50rem; text-wrap: balance; }
.hero h1 em { color: var(--sun-400); font-style: normal; }
.hero .lead { margin-top: 1.5rem; color: rgb(255 255 255 / 0.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.status-pill { display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content; margin-bottom: 1.3rem; padding: 0.45rem 0.8rem; color: var(--white); background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.28); border-radius: 999px; font-size: 0.84rem; font-weight: 700; backdrop-filter: blur(0.5rem); }
.status-pill::before { width: 0.55rem; height: 0.55rem; content: ""; background: var(--sun-400); border-radius: 50%; box-shadow: 0 0 0 0.25rem rgb(242 188 85 / 0.18); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; padding: 0.75rem 1.15rem; border: 2px solid transparent; border-radius: 999px; font-weight: 800; line-height: 1.1; text-decoration: none; transition: transform 160ms ease, background 160ms ease, color 160ms ease; }
.btn:hover { transform: translateY(-0.12rem); }
.btn-primary { color: var(--forest-950); background: var(--sun-400); }
.btn-primary:hover { color: var(--forest-950); background: #ffd276; }
.btn-secondary { color: var(--white); background: transparent; border-color: rgb(255 255 255 / 0.52); }
.btn-secondary:hover { color: var(--forest-950); background: var(--white); }
.btn-dark { color: var(--white); background: var(--forest-900); }
.btn-dark:hover { color: var(--white); background: var(--coral-600); }
.btn-outline { color: var(--forest-900); background: transparent; border-color: var(--forest-900); }
.btn-outline:hover { color: var(--white); background: var(--forest-900); }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-soft { background: var(--cream-100); }
.section-dark { color: var(--white); background: var(--forest-950); }
.section-header { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr); align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header .lead { justify-self: end; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { position: relative; min-height: 18rem; padding: 1.6rem; overflow: hidden; color: var(--white); background: var(--forest-900); border-radius: var(--radius-md); }
.feature-card::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 10%, rgb(4 28 22 / 0.9) 100%); }
.feature-card > * { position: relative; }
.feature-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 6rem; color: var(--forest-950); background: var(--sun-400); border-radius: 50%; font-size: 1.4rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: rgb(255 255 255 / 0.76); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.photo-frame { position: relative; min-height: 34rem; overflow: hidden; background: var(--forest-800); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.photo-frame img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after { position: absolute; inset: 0; content: ""; border: 1px solid rgb(255 255 255 / 0.24); border-radius: inherit; box-shadow: inset 0 0 0 0.65rem rgb(255 253 247 / 0.12); }

.film-promo { color: var(--white); background: var(--forest-900); }
.film-promo .eyebrow { color: var(--sun-400); }
.film-promo .lead, .film-promo p { color: rgb(255 255 255 / 0.82); }
.film-promo .btn { color: var(--forest-950); }
.film-poster { margin: 0; overflow: hidden; background: var(--cream-100); border: 1px solid rgb(16 46 37 / 0.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.film-poster img { position: static; width: 100%; height: auto; object-fit: contain; border-radius: inherit; transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 350ms ease; will-change: transform; }
.film-poster-wide { background: var(--forest-900); }
.film-poster-flyer { width: min(100%, 34rem); justify-self: center; }
.film-media-stack { display: grid; gap: 1rem; }
.film-promo-dates { display: grid; gap: 0.45rem; padding: 1.1rem 1.25rem; color: var(--white); background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--radius-sm); }
.film-promo-dates time { color: var(--white); font-family: var(--font-display); font-weight: 800; }
.film-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.film-date-card { position: relative; padding: clamp(1.5rem, 4vw, 2.4rem); overflow: hidden; background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.film-date-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 0.35rem; content: ""; background: var(--coral-500); }
.film-date-label { margin-bottom: 1.1rem; color: var(--coral-600); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.film-date-card time { display: block; color: var(--forest-950); }
.film-date-location { margin-top: 1.2rem; color: var(--forest-800); font-weight: 800; }
.film-date-note { margin-top: 0.25rem; color: var(--ink-700); }
.film-ticket-notice { margin-top: 1.5rem; }

.notice { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; background: #fff4d6; border: 1px solid #edcf86; border-radius: var(--radius-sm); }
.notice-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; color: var(--forest-950); background: var(--sun-400); border-radius: 50%; font-weight: 900; }
.notice strong { display: block; margin-bottom: 0.2rem; }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(5rem, 10vw, 9rem); color: var(--white); background: var(--forest-950); }
.page-hero::after { position: absolute; right: -4rem; bottom: -9rem; width: 25rem; height: 25rem; content: ""; background: var(--coral-500); border-radius: 49% 51% 62% 38% / 48% 48% 52% 52%; opacity: 0.16; transform: rotate(-18deg); }
.page-hero h1 { max-width: 58rem; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.page-hero .lead { margin-top: 1.2rem; color: rgb(255 255 255 / 0.78); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.3rem; color: rgb(255 255 255 / 0.7); font-size: 0.85rem; font-weight: 700; }
.breadcrumb a { color: inherit; }

.error-body { color: var(--white); background: var(--forest-950); }
.error-page { position: relative; isolation: isolate; display: grid; min-height: 100svh; overflow: hidden; }
.error-page::before { position: absolute; z-index: -1; right: -10rem; bottom: -14rem; width: 36rem; height: 36rem; content: ""; background: var(--coral-500); border-radius: 50%; opacity: 0.13; }
.error-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(4rem, 9vw, 8rem); }
.error-layout h1 { max-width: 45rem; font-size: clamp(3rem, 8vw, 6.5rem); }
.error-layout .lead { color: rgb(255 255 255 / 0.78); }
.error-brand { display: inline-flex; align-items: center; gap: 0.75rem; width: fit-content; margin-bottom: clamp(2.5rem, 7vw, 5rem); color: var(--white); font-family: var(--font-display); font-weight: 900; text-decoration: none; }
.error-brand img { width: 3.25rem; height: 3.25rem; object-fit: contain; filter: brightness(0) invert(1); }
.error-code { display: flex; align-items: center; justify-content: center; color: rgb(255 255 255 / 0.12); font-family: var(--font-display); font-size: clamp(8rem, 18vw, 16rem); font-weight: 900; letter-spacing: -0.12em; line-height: 0.8; }
.error-code img { width: clamp(7rem, 15vw, 13rem); height: clamp(7rem, 15vw, 13rem); object-fit: contain; filter: brightness(0) invert(1); opacity: 0.16; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.info-card { padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.info-card-number { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1.5rem; color: var(--white); background: var(--forest-800); border-radius: 50%; font-weight: 900; }
.info-card h2, .info-card h3 { margin-bottom: 0.8rem; }
.info-card ul { padding-left: 1.2rem; color: var(--ink-700); }
.info-card li + li { margin-top: 0.4rem; }
.source-grid { align-items: stretch; }
.source-card { display: flex; flex-direction: column; }
.source-card > p:not(.source-meta) { color: var(--ink-700); }
.source-meta { margin-bottom: 0.75rem; color: var(--coral-600); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.source-link { width: fit-content; margin-top: auto; padding-top: 1.4rem; font-weight: 800; text-decoration-thickness: 0.1rem; }
.source-note { max-width: 54rem; margin: 2rem auto 0; color: var(--ink-700); font-size: 0.88rem; text-align: center; }

.archive-teaser { overflow: hidden; color: var(--white); background: var(--forest-900); }
.archive-teaser-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding-block: clamp(3rem, 7vw, 5rem); }
.archive-teaser h2 { max-width: 48rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.archive-teaser p:not(.eyebrow) { max-width: 48rem; margin-top: 0.8rem; color: rgb(255 255 255 / 0.76); }
.archive-teaser .btn { color: var(--forest-950); background: var(--sun-400); }
.archive-years { display: grid; gap: 1rem; }
.archive-year { overflow: hidden; border-radius: var(--radius-md); }
.archive-year > summary { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; padding-block: 1rem; color: var(--forest-950); font-size: clamp(1.25rem, 3vw, 1.7rem); }
.archive-year > summary:focus-visible { outline: 0.2rem solid var(--coral-500); outline-offset: -0.2rem; }
.archive-year-title { font-weight: 900; }
.archive-year-count { margin-left: auto; margin-right: 0.5rem; color: var(--ink-700); font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.archive-year[open] > summary { background: var(--cream-50); border-bottom: 1px solid var(--cream-200); }
.archive-year > .gallery-grid { padding: 1.2rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.gallery-item { grid-column: span 4; margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.gallery-item--wide { grid-column: span 8; }
.gallery-item--full { grid-column: span 12; }
.gallery-trigger { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: inherit; background: var(--forest-900); }
.gallery-item--wide .gallery-trigger { aspect-ratio: 16 / 9; }
.gallery-item--full .gallery-trigger { aspect-ratio: 16 / 7; }
.gallery-trigger img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 350ms ease; }
.gallery-trigger::after { position: absolute; right: 0.85rem; bottom: 0.85rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; content: "↗"; color: var(--forest-950); background: rgb(255 255 255 / 0.92); border-radius: 50%; font-size: 1.1rem; font-weight: 900; opacity: 0; transform: translateY(0.4rem); transition: opacity 220ms ease, transform 220ms ease; }
.gallery-trigger:hover img { transform: scale(1.025); filter: saturate(1.06); }
.gallery-trigger:hover::after, .gallery-trigger:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery-item figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem 1.15rem; }
.gallery-item figcaption span { font-family: var(--font-display); font-weight: 800; line-height: 1.25; }
.gallery-item figcaption small { flex: 0 0 auto; color: var(--ink-700); font-size: 0.75rem; }
.gallery-note { max-width: 52rem; margin: 2.5rem auto 0; color: var(--ink-700); text-align: center; }
.gallery-lightbox { width: min(calc(100% - 2rem), 78rem); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; overflow: visible; color: var(--white); background: transparent; border: 0; }
.gallery-lightbox::backdrop { background: rgb(5 24 19 / 0.92); backdrop-filter: blur(0.45rem); }
.gallery-lightbox figure { display: grid; justify-items: center; gap: 0.8rem; margin: 0; }
.gallery-lightbox img { width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 6rem); object-fit: contain; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.gallery-lightbox figcaption { max-width: 62rem; color: rgb(255 255 255 / 0.85); text-align: center; }
.gallery-close { position: fixed; z-index: 2; top: 1rem; right: 1rem; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; color: var(--forest-950); background: var(--white); border: 0; border-radius: 50%; box-shadow: var(--shadow-lg); font-size: 1.8rem; line-height: 1; }
.gallery-close:hover { background: var(--sun-400); }
body:has(.gallery-lightbox[open]) { overflow: hidden; }

.timeline { position: relative; display: grid; gap: 0; max-width: 52rem; margin-inline: auto; }
.timeline::before { position: absolute; top: 0; bottom: 0; left: 5.4rem; width: 2px; content: ""; background: var(--cream-200); }
.timeline-item { display: grid; grid-template-columns: 4rem 1fr; gap: 3rem; padding-block: 1.5rem; }
.timeline-year { color: var(--coral-600); font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; }
.timeline-content { position: relative; padding: 1.4rem; background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-sm); }
.timeline-content::before { position: absolute; top: 1.2rem; left: -1.82rem; width: 0.75rem; height: 0.75rem; content: ""; background: var(--moss-500); border: 0.25rem solid var(--cream-50); border-radius: 50%; box-sizing: content-box; }
.timeline-content h2, .timeline-content h3 { margin-bottom: 0.45rem; }
.timeline-content p { color: var(--ink-700); }

.faq-list { display: grid; gap: 0.75rem; }
details { background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
summary { position: relative; padding: 1.25rem 3.5rem 1.25rem 1.25rem; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 50%; right: 1.25rem; width: 1.6rem; height: 1.6rem; content: "+"; color: var(--white); background: var(--forest-800); border-radius: 50%; font-family: var(--font-body); font-weight: 500; line-height: 1.45rem; text-align: center; transform: translateY(-50%); }
details[open] summary::after { content: "–"; }
.details-body { padding: 0 1.25rem 1.3rem; color: var(--ink-700); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr); gap: clamp(2rem, 7vw, 6rem); }
.contact-list { display: grid; gap: 0.75rem; margin-top: 1.8rem; }
.contact-link { display: grid; grid-template-columns: 2.8rem 1fr; align-items: center; gap: 0.9rem; padding: 0.9rem; color: var(--ink-900); background: var(--white); border: 1px solid var(--cream-200); border-radius: var(--radius-sm); text-decoration: none; }
.contact-link:hover { color: var(--forest-800); border-color: var(--moss-500); }
.contact-link-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; color: var(--white); background: var(--forest-800); border-radius: 50%; }
.contact-link small { display: block; color: var(--ink-700); }
.contact-panel { padding: clamp(1.5rem, 5vw, 3rem); color: var(--white); background: var(--forest-900); border-radius: var(--radius-lg); }
.contact-panel h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.contact-panel p { color: rgb(255 255 255 / 0.78); }
.contact-panel .btn { margin-top: 1.7rem; }
address { font-style: normal; }

.cta-band { overflow: hidden; color: var(--white); background: var(--coral-600); }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { max-width: 47rem; font-size: clamp(1.8rem, 4vw, 3.5rem); }
.cta-band .btn { color: var(--forest-950); background: var(--white); }

.site-footer { color: rgb(255 255 255 / 0.74); background: #0b241d; }
.footer-main { display: grid; grid-template-columns: 1.2fr 0.7fr 0.7fr; gap: 3rem; padding-block: 4rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 1rem; color: var(--white); font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; text-decoration: none; }
.footer-brand img { width: 3.5rem; height: 3.5rem; flex: 0 0 auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-about { max-width: 25rem; margin-top: 1rem; }
.footer-heading { margin-bottom: 0.8rem; color: var(--white); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a { width: fit-content; color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--sun-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.82rem; }

/* Motion: progressive enhancement with a static reduced-motion fallback. */
.site-header { transition: box-shadow 280ms ease, background-color 280ms ease; }
.site-header.is-scrolled { background: rgb(255 253 247 / 0.98); box-shadow: 0 0.5rem 1.5rem rgb(16 46 37 / 0.1); }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(1.2rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ambient-shift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-1.5rem, -1rem, 0) scale(1.05); }
}
.hero-copy > *, .page-hero .container > * { animation: hero-enter 720ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > :nth-child(1), .page-hero .container > :nth-child(1) { animation-delay: 60ms; }
.hero-copy > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: 120ms; }
.hero-copy > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: 180ms; }
.hero-copy > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: 260ms; }
.hero-copy > :nth-child(5) { animation-delay: 340ms; }
.hero::after, .page-hero::after { animation: ambient-shift 12s ease-in-out infinite alternate; }

.reveal-item {
  opacity: 0;
  filter: blur(0.18rem);
  transform: translateY(1.5rem) scale(0.99);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-item.is-visible { opacity: 1; filter: none; transform: none; will-change: auto; }
.photo-frame img { transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1); }
.feature-card, .info-card, .contact-link { transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease; }

@media (hover: hover) and (pointer: fine) {
  .photo-frame:hover img { transform: scale(1.035); }
  .film-poster:hover img { transform: scale(1.025); filter: saturate(1.04); }
  .feature-card:hover, .info-card:hover { transform: translateY(-0.3rem); box-shadow: var(--shadow-lg); }
  .contact-link:hover { transform: translateX(0.2rem); }
}

@media (max-width: 62rem) {
  .section-header, .split, .contact-grid { grid-template-columns: 1fr; }
  .error-layout { grid-template-columns: 1fr; }
  .gallery-item { grid-column: span 6; }
  .gallery-item--wide { grid-column: span 12; }
  .section-header .lead { justify-self: start; }
  .photo-frame { min-height: 28rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 64rem) {
  .js .nav-toggle { display: block; }
  .js .site-nav { position: fixed; inset: var(--header-height) 0 auto; display: grid; align-content: start; gap: 0.4rem; height: calc(100dvh - var(--header-height)); padding: 1rem; overflow-y: auto; overscroll-behavior: contain; background: var(--cream-50); opacity: 0; visibility: hidden; transform: translateY(-0.5rem); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
  .js .site-nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
  .js .site-nav a { padding: 1rem; font-size: 1.08rem; }
  .js .site-nav .nav-cta { margin: 0.5rem 0 0; text-align: center; }
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .site-nav { position: static; inset: auto; display: flex; flex-wrap: wrap; width: 100%; height: auto; padding: 0; overflow: visible; overscroll-behavior: auto; opacity: 1; visibility: visible; transform: none; transition: none; }
}

@media (max-width: 48rem) {
  :root { --header-height: 4.5rem; }
  .brand img { width: 2.65rem; height: 2.65rem; }
  .reveal-item { opacity: 1; filter: none; transform: none; transition: none; }
  .error-code { display: none; }
  .error-brand { margin-bottom: 2.5rem; }
  .hero.hero-home::before {
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), url("../images/festival.jpg");
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), image-set(url("../images/festival-1200.webp") type("image/webp"), url("../images/festival.jpg") type("image/jpeg"));
  }
  .hero.hero-anreise::before {
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), url("../images/anreise.jpg");
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), image-set(url("../images/anreise-1200.webp") type("image/webp"), url("../images/anreise.jpg") type("image/jpeg"));
  }
  .hero.hero-faq::before {
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), url("../images/faq.jpg");
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), image-set(url("../images/faq-1200.webp") type("image/webp"), url("../images/faq.jpg") type("image/jpeg"));
  }
  .hero.hero-kontakt::before {
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), url("../images/kontakt.jpg");
    background-image: linear-gradient(180deg, rgb(7 31 25 / 0.75), rgb(7 31 25 / 0.94)), image-set(url("../images/kontakt-1200.webp") type("image/webp"), url("../images/kontakt.jpg") type("image/jpeg"));
  }
  .feature-grid, .card-grid, .film-dates { grid-template-columns: 1fr; }
  .archive-teaser-inner { grid-template-columns: 1fr; }
  .archive-teaser .btn { width: fit-content; }
  .archive-year > summary { min-height: 4rem; padding-left: 1rem; }
  .archive-year-count { margin-right: 0; font-size: 0.7rem; }
  .archive-year > .gallery-grid { gap: 0.9rem; padding: 0.9rem; }
  .gallery-item, .gallery-item--wide, .gallery-item--full { grid-column: 1 / -1; }
  .gallery-item--full .gallery-trigger { aspect-ratio: 16 / 9; }
  .feature-card { min-height: 15rem; }
  .feature-icon { margin-bottom: 3.8rem; }
  .timeline::before { left: 0.45rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; padding-left: 2rem; }
  .timeline-content::before { left: -2.22rem; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 30rem) {
  .brand-text { display: none; }
  .hero-actions .btn { width: 100%; }
  h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-copy > *, .page-hero .container > *, .hero::after, .page-hero::after { animation: none !important; }
  .reveal-item { opacity: 1 !important; filter: none !important; transform: none !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .hero-actions, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .page-hero, .hero { min-height: 0; padding-block: 2rem; color: #000; background: #fff; }
  .page-hero .lead, .hero .lead { color: #222; }
  a { color: #000; }
}
