img{height:auto}
/* Steinburger Fire Rock Festival — static stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@500;600;700&family=Permanent+Marker&family=Barlow:wght@400;500;600;700&display=swap");

:root {
  --red: #C60405;
  --red-deep: #B10602;
  --red-dark: #7A0603;
  --cream: #F0E7D8;
  --cream-deep: #E3D6C0;
  --ink: #1B1615;
  --ink-soft: #4A403B;
  --white: #FFFFFF;
  --font-display: "Anton", "Oswald", Impact, sans-serif;
  --font-condensed: "Oswald", "Arial Narrow", sans-serif;
  --font-script: "Permanent Marker", "Comic Sans MS", cursive;
  --font-body: "Barlow", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--red-deep) url("img/brand/red-grunge.webp") center / 600px auto repeat;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--white); }
::selection { background: var(--ink); color: var(--cream); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { scroll-margin-top: 84px; display: grid; gap: 28px; padding-bottom: 80px; }
.section-title {
  margin: 0;
  font: 400 clamp(48px, 6vw, 80px) / .95 var(--font-display);
  text-transform: uppercase;
  color: var(--cream);
}
.panel { background: var(--cream); padding: clamp(20px, 4vw, 40px); }
.label { font: 600 15px var(--font-condensed); text-transform: uppercase; letter-spacing: .04em; color: var(--red-deep); }

/* ---------- Icons (Lucide via CSS mask) ---------- */
.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.i-instagram { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/instagram.svg"); }
.i-facebook { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/facebook.svg"); }
.i-ticket { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/ticket.svg"); }
.i-arrow-right { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/arrow-right.svg"); }
.i-menu { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/menu.svg"); }
.i-x { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/x.svg"); }
.i-plus { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/plus.svg"); }
.i-minus { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/minus.svg"); }
.i-map-pin { --i: url("https://unpkg.com/lucide-static@0.460.0/icons/map-pin.svg"); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  font: 400 21px / 1 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), background 120ms, color 120ms;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 17px; }
.btn-lg { height: 60px; padding: 0 30px; font-size: 26px; }
.btn-primary { background: var(--red); color: var(--cream); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); color: var(--cream); }
.btn-secondary { background: var(--cream); color: var(--red-deep); border-color: var(--cream); }
.btn-secondary:hover { background: var(--white); color: var(--red-deep); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-outline:hover { background: rgba(240, 231, 216, .14); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-soft); color: var(--cream); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--red-deep); border-bottom: 4px solid var(--cream); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.header-logo { display: block; line-height: 0; }
.header-logo img { width: clamp(44px, 12vw, 60px); height: clamp(44px, 12vw, 60px); border-radius: 50%; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; text-decoration: none; font: 400 19px var(--font-display); text-transform: uppercase; color: var(--cream); }
.nav a:hover { background: var(--cream); color: var(--red-deep); }
.menu-toggle, .menu-btn, .mobile-nav { display: none; }

@media (max-width: 819px) {
  .header-bar > .nav { display: none; }
  .menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--cream); color: var(--cream); cursor: pointer; font-size: 22px; }
  .menu-btn .i-x { display: none; }
  .menu-toggle:checked ~ .header-bar .menu-btn .i-x { display: inline-block; }
  .menu-toggle:checked ~ .header-bar .menu-btn .i-menu { display: none; }
  .menu-toggle:checked ~ .mobile-nav { display: grid; }
  .mobile-nav { border-top: 4px solid var(--cream); }
  .mobile-nav a { padding: 14px 20px; text-decoration: none; font: 400 26px var(--font-display); text-transform: uppercase; color: var(--cream); border-top: 2px dashed rgba(242, 230, 207, .35); }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 48px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  align-items: center;
  container-type: inline-size;
}
.hero-logo { width: 100%; max-width: 460px; aspect-ratio: 1; border-radius: 50%; justify-self: center; }
@container (max-width: 879px) { .hero-logo { display: none; } }
.hero-info { display: grid; gap: 22px; justify-items: start; }
.hero-flame { width: 150px; }
.hero-date { display: grid; gap: 4px; }
.hero-date span:first-child { font: 400 clamp(30px, 3.6vw, 44px) / 1 var(--font-display); text-transform: uppercase; }
.hero-date span:last-child { font: 400 24px / 1.1 var(--font-display); text-transform: uppercase; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.countdown { display: flex; gap: 8px; }
.countdown div { min-width: 78px; padding: 10px 8px 8px; background: var(--cream); text-align: center; }
.countdown b { display: block; font: 400 46px / 1 var(--font-display); color: var(--red-deep); font-variant-numeric: tabular-nums; }
.countdown small { display: block; margin-top: 4px; font: 600 13px var(--font-condensed); text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Line-up ---------- */
#lineup { padding-top: 24px; }
.board {
  --s: clamp(26px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: calc(var(--s) * .4);
}
.board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--s) * .08); justify-items: center; text-align: center; }
.board li { font: 400 var(--s) / 1.02 var(--font-display); text-transform: uppercase; color: var(--red-deep); }
.board ul:last-child li { color: var(--red); }
.board-rule { width: max(3px, calc(var(--s) / 16)); align-self: stretch; background: var(--red); }

.band-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.band-card { display: block; background: var(--cream); padding: 10px; text-decoration: none; transition: transform 200ms var(--ease-out); }
.band-card:hover { transform: rotate(-1deg); }
.band-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.band-card-body { padding: 12px 6px 6px; display: grid; gap: 2px; }
.band-card h3 { margin: 0; font: 400 34px / 1 var(--font-display); text-transform: uppercase; color: var(--red-deep); }
.band-handle { font: 500 15px var(--font-condensed); color: var(--ink-soft); }
.band-tagline { font: 18px var(--font-script); color: var(--ink); }

/* ---------- Band dialog (CSS :target) ---------- */
.dialog { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; overflow-y: auto; }
.dialog:target { display: grid; }
.dialog-backdrop { position: fixed; inset: 0; background: rgba(27, 22, 21, .7); }
.dialog-box {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--cream);
  border: 6px solid var(--cream);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}
.dialog-head { background: var(--red); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 14px 14px 22px; }
.dialog-head h2 { margin: 0; font: 400 34px / 1 var(--font-display); text-transform: uppercase; color: var(--cream); }
.dialog-close { width: 40px; height: 40px; display: grid; place-items: center; color: var(--cream); border: 2px solid var(--cream); font-size: 22px; text-decoration: none; }
.dialog-close:hover { background: var(--cream); color: var(--red); }
.dialog-body { padding: 20px 22px; color: var(--ink); }
.dialog-body img { width: 100%; max-height: min(60vh, calc(100vh - 220px)); object-fit: contain; background: var(--ink); margin: 0 0 16px; }
.dialog-body p { margin: 0 0 12px; line-height: 1.55; text-wrap: pretty; }
.dialog-body .live { font-weight: 600; margin-bottom: 10px; }
.dialog-body .handle { margin: 0; color: var(--ink-soft); }

/* ---------- Wann & wo ---------- */
.info-panel { display: grid; gap: 28px; overflow-x: auto; }
.event-meta {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  color: var(--red-deep);
  font-family: var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
}
.event-meta > div { display: grid; justify-items: center; gap: 4px; }
.meta-date { font-size: clamp(34px, 6vw, 71px); line-height: .95; }
.meta-venue { font-size: clamp(14px, 2.4vw, 29px); line-height: 1; }
.meta-fact { font-size: clamp(13px, 2.3vw, 27px); line-height: 1.05; }
.meta-rule { width: 4px; align-self: stretch; background: var(--red); }

.match { display: flex; align-items: center; }
.match::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--red); }
.match::after { content: ""; flex: 1; height: 6px; margin-left: -2px; border-radius: 6px; background: var(--red); }
.match-end { flex-direction: row-reverse; }
.match-end::after { margin: 0 -2px 0 0; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; color: var(--ink); }
.info-grid > div { display: grid; gap: 4px; align-content: start; }
.info-big { font: 400 40px / 1 var(--font-display); color: var(--red-deep); }
.info-text { font: 400 18px / 1.4 var(--font-body); }
.info-text a { color: var(--red); }
.info-text a:hover { color: var(--red-dark); }

/* ---------- Der Zweck ---------- */
.purpose { scroll-margin-top: 84px; background: var(--cream); color: var(--red-deep); }
.purpose .container { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); display: grid; gap: 20px; }
.purpose h2 { margin: 0; font: 400 clamp(36px, 4.5vw, 56px) / 1 var(--font-display); text-transform: uppercase; }
.purpose-body { display: grid; gap: 20px; max-width: 760px; }
.purpose-body p { margin: 0; font: 400 20px / 1.5 var(--font-body); color: var(--ink); text-wrap: pretty; }
.purpose-body strong { font: 400 28px / 1.1 var(--font-display); text-transform: uppercase; }

/* ---------- Tickets ---------- */
#tickets { padding-top: 80px; }
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; align-items: start; }
.price-stack { display: grid; gap: 22px; }
.price { background: var(--cream); padding: 28px; display: grid; gap: 8px; color: var(--red-deep); }
.price .label { font-size: 16px; }
.price-value { font: 400 96px / .9 var(--font-display); }
.price-note { color: var(--ink); }
.ticket-box {
  background: var(--cream);
  border: 3px solid var(--cream);
  outline: 3px solid var(--red-dark);
  outline-offset: -9px;
  padding: clamp(24px, 4vw, 40px);
  color: var(--ink);
  display: grid;
  gap: 18px;
}
.ticket-box h3 { margin: 0; font: 400 40px / 1 var(--font-display); text-transform: uppercase; color: var(--red-deep); }
.muted { font-size: 16px; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.ticket-head { display: grid; gap: 6px; }
.ticket-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ticket-list li { display: grid; gap: 2px; padding: 14px 0; border-top: 2px dashed var(--cream-deep); }
.ticket-list strong { font: 400 26px / 1.05 var(--font-display); text-transform: uppercase; color: var(--red-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- FAQ (native <details>) ---------- */
.faq-section { max-width: 960px; }
.faq { background: var(--cream); }
.faq details { border-bottom: 3px solid var(--cream-deep); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--red-deep);
  font: 400 26px / 1.05 var(--font-display);
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--red); font-size: 20px; }
.faq summary .i-minus, .faq details[open] summary .i-plus { display: none; }
.faq details[open] summary .i-minus { display: inline-block; }
.faq p { margin: 0; padding: 0 24px 22px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.faq-link { padding: 0 24px 24px; }
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
  font: 400 19px var(--font-display);
  text-transform: uppercase;
}
.map-btn:hover { background: var(--red-deep); color: var(--cream); }

/* ---------- Legal pages (Impressum) ---------- */
.legal { max-width: 960px; padding-top: 48px; }
.legal-body { color: var(--ink); display: grid; gap: 32px; }
.legal-body section { display: grid; gap: 8px; }
.legal-body h2 { margin: 0; font: 400 30px / 1.05 var(--font-display); text-transform: uppercase; color: var(--red-deep); }
.legal-body p, .legal-body address { margin: 0; font-style: normal; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.legal-body a { color: var(--red); }
.legal-body a:hover { color: var(--red-dark); }
.legal-body dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; }
.legal-body dt { font: 600 15px / 1.6 var(--font-condensed); text-transform: uppercase; letter-spacing: .04em; color: var(--red-deep); }
.legal-body dd { margin: 0; }
@media (max-width: 559px) { .legal-body dl { grid-template-columns: 1fr; } .legal-body dd { margin-bottom: 8px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 4px solid var(--cream); background: var(--red-deep); }
.site-footer .container { padding-top: 32px; padding-bottom: 40px; display: grid; gap: 24px; }
.sponsors { display: grid; justify-items: center; }
.powered { font: 34px / 1 var(--font-script); color: var(--cream); text-transform: uppercase; padding: 6px 0 8px; transform: rotate(-2deg); }
.sponsor-strip { width: 100%; background: var(--cream); padding: 10px 14px; }
.sponsor-strip img { width: 100%; height: auto; }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 15px var(--font-condensed); }
.footer-links { display: flex; gap: 18px; }
