/* Rockclub Nordbayern – Basis (mobile-first) */

:root {
  color-scheme: dark;
  --bg: #0c0c0e;
  --bg-card: #15151a;
  --text: #f2f2f5;
  --muted: #a8a8b8;
  --accent: #e04540;
  --accent-soft: #ff7a76;
  --border: #2c2c36;
  --focus: #ffd666;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --space: clamp(1rem, 4vw, 1.75rem);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

code {
  font-size: 0.9em;
  background: var(--bg-card);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 14, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.65rem;
  overflow: visible;
}

.site-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: min(320px, 56vw);
  height: 2.65rem;
  line-height: 0;
  text-decoration: none;
  overflow: visible;
}

.site-brand:focus-visible {
  outline-offset: 4px;
}

.site-brand__logo {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  transform: translateY(-50%) scale(1.26);
  transform-origin: left center;
}

.brand-text {
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.2rem);
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.brand-text small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-nav a {
  display: block;
  min-height: 44px;
  line-height: 44px;
  padding-inline: 0.75rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--bg-card);
  color: var(--accent-soft);
}

.site-nav {
  display: none;
  width: 100%;
  padding-block: 0.5rem 0.75rem;
}

.site-nav.is-open {
  display: block;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    width: auto;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.1rem;
  }

  .site-nav a {
    line-height: 1.4;
    min-height: unset;
    padding: 0.45rem 0.6rem;
  }

  /* Logo deutlich größer (~2×), Leiste bleibt schlank: visuelles Wachstum per transform */
  .site-brand {
    width: min(540px, 52vw);
    height: 3rem;
  }

  .site-brand__logo {
    height: 2.5rem;
    transform: translateY(-50%) scale(2);
    transform-origin: left center;
  }
}

/* Unterseiten: etwas mehr „Rock“-Atmosphäre (Foto-Banner + Panel) */
.theme-subpage {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 110% 55% at 50% -8%, rgba(224, 69, 64, 0.14), transparent 52%),
    linear-gradient(185deg, #070709 0%, var(--bg) 38%, #0a0a0d 100%);
  background-attachment: fixed;
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .theme-subpage {
    background-attachment: scroll;
  }
}

.subpage-masthead {
  position: relative;
  z-index: 0;
  min-height: clamp(148px, 26vw, 268px);
  background-color: #141016;
  background-image: var(--subpage-photo);
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--accent);
  box-shadow: inset 0 -24px 48px rgba(0, 0, 0, 0.55);
}

.subpage-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(12, 12, 14, 0.2) 0%,
    rgba(12, 12, 14, 0.55) 45%,
    rgba(12, 12, 14, 0.92) 100%
  );
  pointer-events: none;
}

.subpage-masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(224, 69, 64, 0.35) 20%,
    var(--accent-soft) 50%,
    rgba(224, 69, 64, 0.35) 80%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.95;
}

.subpage-masthead--news {
  --subpage-photo: url("../images/parallax3.jpg");
}

.subpage-masthead--archiv {
  --subpage-photo: url("../images/parallax9.jpg");
}

.subpage-masthead--tickets {
  --subpage-photo: url("../images/parallax10.jpg");
}

.subpage-masthead--band {
  --subpage-photo: url("../images/parallax10.jpg");
}

.subpage-masthead--rockclub {
  --subpage-photo: url("../images/parallax.jpg");
}

.subpage-masthead--kontakt {
  --subpage-photo: url("../images/parallax8.jpg");
}

.subpage-masthead--impressum {
  --subpage-photo: url("../images/parallax6.jpg");
}

.subpage-masthead--datenschutz {
  --subpage-photo: url("../images/parallax4.jpg");
}

.subpage-masthead--patch {
  --subpage-photo: url("../images/parallax8.jpg");
}

.subpage-masthead--mieten {
  --subpage-photo: url("../images/parallax6.jpg");
}

.subpage-surface {
  position: relative;
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(224, 69, 64, 0.18);
  background: linear-gradient(168deg, rgba(224, 69, 64, 0.07) 0%, rgba(21, 21, 26, 0.97) 38%, var(--bg-card) 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 16px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.subpage-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    -14deg,
    transparent,
    transparent 14px,
    rgba(255, 255, 255, 0.02) 14px,
    rgba(255, 255, 255, 0.02) 15px
  );
  pointer-events: none;
  opacity: 0.85;
}

.subpage-surface > * {
  position: relative;
  z-index: 1;
}

.theme-subpage .page-main {
  padding-block: clamp(1.35rem, 3.5vw, 2.25rem);
}

.theme-subpage .site-footer {
  border-top: 1px solid rgba(224, 69, 64, 0.22);
  background: linear-gradient(180deg, rgba(14, 14, 18, 0.98) 0%, #060608 100%);
}

.theme-subpage .news-card {
  background: rgba(8, 8, 12, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.theme-subpage .event-block {
  border-bottom-color: rgba(224, 69, 64, 0.12);
}

.theme-subpage .subpage-header,
.theme-subpage .news-page-header {
  border-bottom: 1px solid rgba(224, 69, 64, 0.15);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.theme-subpage .archiv-page-header {
  border-bottom-color: rgba(224, 69, 64, 0.2);
}

/* Hero */
.hero-stage {
  position: relative;
  min-height: min(92vh, 920px);
  background: #060608;
}

#hero-root {
  position: relative;
  min-height: inherit;
}

.panel-error,
.panel-empty {
  padding: clamp(2rem, 6vw, 3rem) var(--space);
  color: var(--muted);
  text-align: center;
}

.home-hero-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  display: flex;
  align-items: stretch;
}

.home-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.home-hero-slide__backdrop {
  position: absolute;
  inset: 0;
  background: #08080a;
  overflow: hidden;
}

.home-hero-slide__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% 38%, rgba(8, 8, 10, 0.15) 0%, rgba(5, 5, 6, 0.9) 70%);
  pointer-events: none;
}

.home-hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 2px;
}

.home-hero-collage--empty {
  background: linear-gradient(160deg, #1a1418 0%, #0a0a0c 50%, #12101a 100%);
}

.home-hero-collage__cell {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.home-hero-collage__cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.32;
  transform: scale(1.04);
}

.home-hero-collage__cell--top img {
  opacity: 0.44;
}

.home-hero-collage__cell--support img {
  opacity: 0.36;
}

.home-hero-collage__cell--top {
  box-shadow: inset 0 0 0 2px rgba(224, 69, 64, 0.35);
}

.home-hero-collage__cell--support {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.home-hero-collage--1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.home-hero-collage--2t {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.home-hero-collage--1t1s {
  grid-template-columns: 1fr;
  grid-template-rows: 2.1fr 1fr;
}

.home-hero-collage--2t1s {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.15fr 0.85fr;
}

.home-hero-collage--2t1s .home-hero-collage__cell:nth-child(3) {
  grid-column: 1 / -1;
}

.home-hero-collage--1t2s {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.home-hero-collage--1t2s .home-hero-collage__cell:nth-child(1) {
  grid-row: 1 / -1;
}

.home-hero-collage--3t {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 0.9fr;
}

.home-hero-collage--3t .home-hero-collage__cell:nth-child(3) {
  grid-column: 1 / -1;
}

.home-hero-collage--3eq {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.home-hero-collage--3eq .home-hero-collage__cell:nth-child(3) {
  grid-column: 1 / -1;
}

.home-hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
  padding-block: clamp(1.25rem, 4vw, 2.25rem);
  padding-inline: 0;
}

@media (min-width: 900px) {
  .home-hero-slide__content {
    grid-template-columns: minmax(220px, 34vw) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }
}

.home-hero-poster-frame {
  justify-self: center;
  width: 100%;
  max-width: min(100%, 400px);
  aspect-ratio: 210 / 297;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  background: #111;
}

@media (min-width: 900px) {
  .home-hero-poster-frame {
    justify-self: end;
    max-width: min(38vw, 420px);
    max-height: min(78vh, 800px);
    width: auto;
    height: auto;
    aspect-ratio: 210 / 297;
  }
}

.home-hero-poster-frame--empty {
  min-height: 11rem;
  background: linear-gradient(145deg, #2a2228, #121016);
}

.home-hero-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.home-hero-copy {
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius);
  background: rgba(10, 10, 12, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 40rem;
}

@media (min-width: 900px) {
  .home-hero-copy {
    justify-self: start;
  }
}

.home-hero-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
}

.home-hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 3.6vw, 2rem);
  line-height: 1.15;
  text-wrap: balance;
}

.home-hero-meta {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(12, 12, 14, 0.8);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hero-nav:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.hero-nav--prev {
  left: var(--space);
}

.hero-nav--next {
  right: var(--space);
}

.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 767px) {
  .hero-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide {
    transition: none;
  }
}

/* Main */
.page-main {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.event-block {
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.event-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.ticket-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.archive-section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.5) 0%, var(--bg) 100%);
}

.section-heading-archive {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

.archive-intro {
  margin: 0 0 1.75rem;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.event-block--archive {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.event-block--archive .event-title {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.archive-past-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.archiv-page-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.archiv-page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.archiv-page-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
}

.archive-teaser {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.archive-teaser__card {
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.85rem);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-card) 55%);
  max-width: 36rem;
}

.archive-teaser__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.archive-teaser__lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.archive-teaser__cta {
  margin: 0;
}

.event-header {
  margin-bottom: 1.5rem;
}

.event-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.event-meta {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.045) 0%, rgba(21, 21, 26, 0.98) 55%);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--accent);
}

.event-meta--external {
  border-left-color: #d4a826;
  background: linear-gradient(152deg, rgba(212, 168, 38, 0.11) 0%, rgba(21, 21, 26, 0.97) 52%);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(212, 168, 38, 0.1);
}

.event-meta__grid {
  display: grid;
  gap: 0.85rem 1.1rem;
  grid-template-columns: 1fr 1fr;
}

.event-meta__cell--date {
  grid-column: 1 / -1;
}

.event-meta__cell--venue {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .event-meta__grid {
    grid-template-columns: minmax(11rem, 1.35fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.55fr);
  }

  .event-meta__cell--date,
  .event-meta__cell--venue {
    grid-column: auto;
  }
}

.event-meta__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.event-meta__value {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.38;
}

.event-meta__value--date {
  font-size: clamp(1.06rem, 2.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.event-meta--external .event-meta__cell--away .event-meta__value--venue {
  color: #f4ecc8;
}

.event-meta--external .event-meta__cell--away .event-meta__label {
  color: rgba(244, 236, 200, 0.8);
}

.event-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose {
  max-width: 48rem;
}

.prose p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.bands-section {
  margin-top: 2.5rem;
}

.bands-heading {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.band-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .band-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.band-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.band-card--top {
  border-color: rgba(224, 69, 64, 0.35);
}

.band-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}

.band-role {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.band-card--support .band-role {
  color: var(--muted);
}

.band-figure {
  margin: 0 0 0.85rem;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
}

.band-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.band-text p {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.link-out {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.link-out:hover {
  color: var(--text);
}

.tickets-block {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  max-width: 40rem;
}

.tickets-block h3 {
  margin: 0 0 0.5rem;
}

.tickets-block p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #0c0c0e;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}

.btn-ticket-muted {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-color: rgba(168, 168, 184, 0.4);
  font-weight: 500;
}

.btn-ticket-muted:hover {
  color: var(--text);
  border-color: var(--muted);
}

/* Tickets-Übersichtsseite */
.tickets-page__lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.tickets-page__lead .link-out {
  color: var(--accent-soft);
}

.tickets-page__head {
  display: none;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.tickets-page__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tickets-page__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, rgba(12, 12, 18, 0.65) 100%);
}

.tickets-page__cell {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.tickets-page__cell--cult,
.tickets-page__cell--evim {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.tickets-page__date {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}

.tickets-page__title {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  text-decoration: none;
}

.tickets-page__title:hover {
  color: var(--accent-soft);
}

.tickets-page__btn {
  min-height: 42px;
  padding-inline: 0.85rem;
  font-size: 0.9rem;
}

.tickets-page__empty {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.tickets-page__actions {
  margin: 1.75rem 0 0;
}

@media (min-width: 768px) {
  .tickets-page__head {
    display: grid;
    grid-template-columns: minmax(12rem, 2.2fr) minmax(7rem, 1fr) minmax(7rem, 1fr);
    align-items: end;
  }

  .tickets-page__row {
    grid-template-columns: minmax(12rem, 2.2fr) minmax(7rem, 1fr) minmax(7rem, 1fr);
    align-items: center;
    gap: 0.75rem 1rem;
  }

  .tickets-page__cell--event {
    padding-right: 0.5rem;
  }

  .tickets-page__cell--cult,
  .tickets-page__cell--evim {
    justify-content: flex-start;
  }
}

.site-footer {
  margin-top: 3rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-sponsored {
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-sponsored__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.references-logos.logo-grid--footer {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .references-logos.logo-grid--footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .references-logos.logo-grid--footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.logo-item.reference-logo--footer {
  min-height: 76px;
  padding: 0.55rem 0.65rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.logo-item.reference-logo--footer img {
  max-width: 140px;
  max-height: 48px;
}

.home-aside-links {
  margin-top: 2rem;
  padding-block: 0.35rem;
  text-align: center;
}

.home-aside-links__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.home-aside-links__text a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-aside-links__text a:hover {
  color: var(--accent-soft);
}

.home-aside-links__sep {
  margin-inline: 0.35rem;
  opacity: 0.55;
}

.rockclub-extras {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.rockclub-extras a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rockclub-extras a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--accent-soft);
}

/* Startseiten-Hinweis (data/home-notice.json) */
.home-notice-host {
  border-bottom: 1px solid var(--border);
}

.home-notice {
  padding-block: 0.55rem 0.65rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.home-notice__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.home-notice__badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.home-notice__text {
  margin: 0;
  flex: 1 1 12rem;
  color: var(--text);
  text-wrap: balance;
}

.home-notice__link {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.home-notice__link:hover {
  color: var(--text);
}

.home-notice--info {
  background: linear-gradient(90deg, rgba(80, 120, 200, 0.18) 0%, rgba(12, 12, 14, 0.96) 28%);
  border-left: 4px solid rgba(120, 170, 255, 0.65);
}

.home-notice--warning {
  background: linear-gradient(90deg, rgba(224, 69, 64, 0.22) 0%, rgba(12, 12, 14, 0.96) 32%);
  border-left: 4px solid var(--accent);
}

.home-notice--highlight {
  background: linear-gradient(90deg, rgba(255, 214, 102, 0.14) 0%, rgba(12, 12, 14, 0.96) 30%);
  border-left: 4px solid var(--focus);
}

.home-notice--highlight .home-notice__text {
  color: #f8f6f0;
}

/* News-Seite */
/* Statische Unterseiten */
.subpage {
  padding-bottom: 2rem;
}

.subpage-header {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.subpage-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.subpage-lead {
  margin: 0;
  color: var(--muted);
  max-width: 44rem;
}

.subpage-main address {
  margin: 0 0 1.25rem;
  font-style: normal;
  color: var(--muted);
  line-height: 1.5;
}

.subpage-main .marked-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.subpage-main .marked-list li {
  margin-bottom: 0.65rem;
}

.subpage-section {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.subpage-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
}

.subpage-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.prose h4 {
  margin: 1rem 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}

.patch-product-figure {
  max-width: 22rem;
  margin: 0 auto 1.25rem;
  padding: 0;
}

.patch-product-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.references-logos.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .references-logos.logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .references-logos.logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.logo-item.reference-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

a.logo-item.reference-logo:hover,
a.logo-item.reference-logo:focus-visible {
  border-color: rgba(224, 69, 64, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  outline: none;
}

.logo-item.reference-logo img {
  max-width: 180px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.95) brightness(1.08);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a.logo-item.reference-logo:hover img,
a.logo-item.reference-logo:focus-visible img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
}

.reference-logo--static {
  cursor: default;
  min-height: 132px;
}

.reference-logo--static img {
  max-width: min(200px, 100%);
  max-height: 110px;
  filter: none;
  opacity: 1;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.35fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  font: inherit;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form .contact-form__consent {
  font-weight: 500;
}

.contact-form .contact-form__consent input {
  margin-right: 0.5rem;
  width: auto;
  align-self: flex-start;
  margin-top: 0.25rem;
}

.contact-form .contact-form__consent span {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.contact-form-status--ok {
  border-color: rgba(80, 180, 120, 0.45);
  background: rgba(80, 180, 120, 0.12);
  color: var(--text);
}

.contact-form-status--err {
  border-color: rgba(224, 69, 64, 0.5);
  background: rgba(224, 69, 64, 0.1);
  color: var(--text);
}

.news-page-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 42rem;
}

.news-page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
}

.news-page-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.news-card {
  margin-bottom: 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.news-details {
  border: none;
  margin: 0;
}

.news-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-weight: 600;
}

.news-summary::-webkit-details-marker {
  display: none;
}

.news-summary::after {
  content: "＋";
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--accent-soft);
  margin-left: auto;
}

.news-details[open] .news-summary::after {
  content: "－";
}

.news-summary-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: min(100%, 52rem);
}

.news-summary-title {
  font-size: 1.02rem;
  line-height: 1.35;
}

.news-summary-meta {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.news-card-date {
  color: inherit;
}

.news-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.news-badge--konzert {
  border-color: rgba(224, 69, 64, 0.45);
  color: var(--accent-soft);
}

.news-badge--verein {
  color: var(--muted);
}

.news-badge--info {
  border-color: rgba(140, 180, 255, 0.35);
  color: #b8c8ff;
}

.news-body {
  padding: 0 1rem 1.1rem;
  border-top: 1px solid var(--border);
}

.news-teaser {
  margin: 0.85rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-prose {
  margin-top: 0.25rem;
}

.news-prose p {
  margin: 0 0 0.75rem;
}

.news-links {
  margin: 0.75rem 0 0;
}

.news-links .link-out {
  margin-right: 1rem;
}

.news-figure {
  margin: 1rem 0 0;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  background: #000;
}

.news-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 520px);
  object-fit: contain;
}

.news-block-html img {
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

.news-footer-actions {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .news-summary {
    flex-wrap: nowrap;
    align-items: center;
  }

  .news-summary-main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
  }
}
