/*
  Signature-Font
  ----------------
  Wichtig: Die hochgeladene TTF-Datei kann je nach Lizenzbits vom Browser als Webfont abgelehnt werden.
  Deshalb trennen wir lokale installierte Fonts und Webfont-Dateien in eigene Font-Families.
*/
@font-face {
  font-family: "CaktusSignatureLocal";
  src:
    local("Twang LET"),
    local("Twang LET Plain"),
    local("TwangLetPlain");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CaktusSignatureWeb";
  src: url("assets/fonts/signature.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CaktusSignatureOriginal";
  src: url("assets/fonts/92181___.TTF") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CaktusSignatureOriginalLower";
  src: url("assets/fonts/92181___.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "CaktusSignatureWoff2";
  src: url("assets/fonts/signature.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-signature: "CaktusSignatureLocal", "CaktusSignatureWeb", "CaktusSignatureOriginal", "CaktusSignatureOriginalLower", "CaktusSignatureWoff2", "Twang LET", "Arial Black", Impact, system-ui, sans-serif;
  --bg: #090d0b;
  --bg-soft: #101713;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f7f2;
  --muted: #b8c2b6;
  --line: rgba(255, 255, 255, 0.14);
  --green: #77c043;
  --green-dark: #3c8f2d;
  --warm: #f2c14e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(119, 192, 67, 0.18), transparent 35rem),
    radial-gradient(circle at 80% 10%, rgba(242, 193, 78, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button, input, textarea { font: inherit; }

/* Verhindert, dass mobile Browser die eingebundene Display-Schrift künstlich ersetzen. */
.signature-font,
h1,
.event-card h3,
.dialog-body h2,
.brand-fallback {
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section-pad {
  padding: 88px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 999;
  padding: 10px 14px;
  background: var(--green);
  color: #061006;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(9, 13, 11, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: rgba(9, 13, 11, 0.9);
}

.header-inner {
  min-height: 124px;
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: visible;
}

.brand-logo {
  width: clamp(300px, 34vw, 520px);
  height: auto;
  max-height: 112px;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: left center;
}

.brand-logo[src=""],
.brand-logo:not([src]) {
  display: none;
}

.brand-fallback {
  display: none;
  font-family: var(--font-signature);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-logo.is-broken { display: none; }
.brand-logo.is-broken + .brand-fallback { display: inline; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--surface);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: -4%;
  background-image: url("assets/video/caktus-hero-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  filter: brightness(0.52) saturate(1.08) contrast(1.08);
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.24), rgba(5, 8, 6, 0.42)),
    linear-gradient(90deg, rgba(5, 8, 6, 0.58) 0%, rgba(5, 8, 6, 0.36) 35%, rgba(5, 8, 6, 0.18) 62%, rgba(5, 8, 6, 0.42) 100%),
    radial-gradient(circle at 72% 30%, rgba(119, 192, 67, 0.13), transparent 26%),
    radial-gradient(circle at 84% 25%, rgba(242, 193, 78, 0.1), transparent 20%);
}

@keyframes heroFloat {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.09) translate3d(-1.2%, -0.8%, 0);
  }
  100% {
    transform: scale(1.07) translate3d(1%, 0.8%, 0);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  line-height: 1;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 22px;
  flex: 0 0 16px;
  transform: translateY(1px);
  background: url("assets/ui/cactus-mark.png") center / contain no-repeat;
}


h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 100%;
  margin-bottom: 16px;
  font-family: var(--font-signature);
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-shadow: 0 10px 34px rgba(119, 192, 67, 0.16);
  font-size: clamp(3rem, 5.35vw, 5.05rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.1;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.event-meta > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 9, 0.52);
  backdrop-filter: blur(10px);
}

.meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.event-meta strong {
  display: block;
  line-height: 1.2;
}


.signature-font,
.event-card h3,
.dialog-body h2 {
  font-family: var(--font-signature);
  font-synthesis: none;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.event-card h3 {
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 0.95;
}

.dialog-body h2 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 0.95;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--green), #a6e26d);
  color: #061006;
  box-shadow: 0 14px 38px rgba(119, 192, 67, 0.22);
}

.button.ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(119, 192, 67, 0.16);
  border-color: rgba(119, 192, 67, 0.5);
}

.social-icon-link img {
  width: 23px;
  height: 23px;
  color: currentColor;
}

.social-icon-link.small {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.social-icon-link.small img {
  width: 20px;
  height: 20px;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  justify-self: end;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(119, 192, 67, 0.5), rgba(242, 193, 78, 0.18));
  filter: blur(22px);
  opacity: 0.75;
}

.poster-placeholder,
.event-image {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(119, 192, 67, 0.16), rgba(242, 193, 78, 0.1)),
    linear-gradient(160deg, rgba(20, 29, 23, 0.88), rgba(7, 9, 7, 0.9));
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.poster-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.poster-placeholder::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: calc(var(--radius-lg) - 12px);
}

.event-image img,
.hero-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  background: #070907;
}

.hero-card .event-image {
  min-height: 0;
  aspect-ratio: auto;
  background: transparent;
}

.hero-card .event-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  background: transparent;
}

.hero-card .poster-placeholder {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.hero-card .poster-placeholder img {
  min-height: 0;
  height: 100%;
}


.signature-heading {
  font-family: var(--font-signature);
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  line-height: 0.9;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.join-card p,
.contact-grid p,
.event-card p,
.dialog-body p {
  color: var(--muted);
}

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

.event-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  min-height: 245px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.event-card.has-thumb {
  grid-template-columns: 118px minmax(0, 1fr) minmax(104px, 136px);
}

.event-card-content {
  min-width: 0;
}

.event-thumb {
  align-self: stretch;
  width: 100%;
  min-height: 168px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.event-thumb:hover,
.event-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(119, 192, 67, 0.62);
  box-shadow: 0 22px 46px rgba(119, 192, 67, 0.12);
}

.event-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-card.highlight {
  border-color: rgba(119, 192, 67, 0.55);
}

.date-badge {
  align-self: start;
  min-height: 118px;
  border-radius: 24px;
  background: #111b14;
  border: 1px solid rgba(119, 192, 67, 0.36);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px;
}

.date-badge .day {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.date-badge .month {
  margin-top: 4px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.date-badge .year {
  color: var(--muted);
  font-size: 0.85rem;
}

.event-card h3 {
  font-family: var(--font-signature);
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 0.95;
}

.event-card .place {
  display: block;
  margin: 10px 0 14px;
  color: var(--text);
  font-weight: 800;
}


.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-actions .button {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.section-shell,
.join-card,
.contact-copy,
.social-card,
.loading,
.error {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.contact-copy,
.social-card {
  padding: clamp(24px, 4vw, 32px);
}

.contact-copy > :last-child,
.social-card > :last-child,
.join-card > div > :last-child {
  margin-bottom: 0;
}

.join-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 48px);
  background:
    radial-gradient(circle at right, rgba(119, 192, 67, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.social-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.social-card a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 900;
}

.social-card-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-card-link img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.social-card a:hover,
.social-card a:focus-visible {
  background: rgba(119, 192, 67, 0.16);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner div {
  display: flex;
  gap: 16px;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--text);
}

.event-dialog {
  width: min(920px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  background: #0d130f;
  color: var(--text);
  box-shadow: var(--shadow);
}

.event-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  color: var(--text);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.dialog-hero {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    linear-gradient(135deg, rgba(119, 192, 67, 0.22), rgba(242, 193, 78, 0.12)),
    #121b15;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.dialog-hero.placeholder {
  min-height: 220px;
}

.dialog-hero.has-image {
  padding: 10px;
  background: #070907;
}

.dialog-hero img {
  width: 100%;
  height: auto;
  max-height: 65dvh;
  object-fit: contain;
}

.dialog-body {
  padding: clamp(22px, 5vw, 36px);
}

.dialog-body h2 {
  margin-bottom: 10px;
  font-family: var(--font-signature);
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 0.95;
}

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

.dialog-details div {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.loading,
.error {
  grid-column: 1 / -1;
  padding: clamp(24px, 4vw, 30px);
  color: var(--muted);
}


@media (max-width: 1180px) and (min-width: 1061px) {
  .event-card.has-thumb {
    grid-template-columns: 96px minmax(0, 1fr) 112px;
  }

  .event-thumb {
    min-height: 150px;
  }
}

@media (max-width: 1060px) {
  .header-inner { min-height: 104px; padding-block: 10px; }
  .brand-logo {
    width: min(72vw, 390px);
    max-height: 84px;
    transform: scale(1.08);
  }

  .menu-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(9, 13, 11, 0.96);
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .site-nav a { padding: 13px 14px; }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
    justify-self: center;
    width: min(100%, 520px);
  }

  .poster-placeholder {
    min-height: 320px;
  }

  .event-image {
    min-height: 0;
  }

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

  .join-card {
    align-items: stretch;
    flex-direction: column;
  }

  .join-card .button { width: fit-content; }

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

@media (max-width: 620px) {
  .container { width: min(100% - 22px, var(--max)); }
  .section-pad { padding: 62px 0; }
  .header-inner { min-height: 96px; padding-block: 10px; }
  .brand-logo {
    width: min(76vw, 340px);
    max-height: 76px;
    transform: scale(1.08);
  }
  h1 { font-size: clamp(2.75rem, 14vw, 4.65rem); }
  .event-meta { grid-template-columns: 1fr; }
  .event-card,
  .event-card.has-thumb { grid-template-columns: 1fr; }
  .event-thumb {
    min-height: 0;
    aspect-ratio: 16 / 9;
    order: -1;
  }
  .date-badge {
    width: 128px;
    min-height: 96px;
    padding: 10px 14px;
    border-radius: 20px;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }
  .date-badge .day { font-size: 1.5rem; }
  .date-badge .month { font-size: 0.82rem; }
  .date-badge .year { font-size: 0.8rem; }
  .button-row .button { width: 100%; }
  .hero-actions .social-icon-link,
  .social-row .social-icon-link {
    width: 48px;
    flex-basis: 48px;
  }
  .dialog-details { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}


@media (prefers-reduced-motion: reduce) {
  .hero-bg-image {
    animation: none;
    transform: scale(1.05);
  }

  html {
    scroll-behavior: auto;
  }
}


/* Mobile: Hero-Hintergrund stärker sichtbar */
@media (max-width: 620px) {
  .hero-bg-image {
    filter: brightness(0.7) saturate(1.22) contrast(1.12);
    background-position: 58% center;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(5, 8, 6, 0.12), rgba(5, 8, 6, 0.3)),
      linear-gradient(90deg, rgba(5, 8, 6, 0.34) 0%, rgba(5, 8, 6, 0.18) 46%, rgba(5, 8, 6, 0.28) 100%),
      radial-gradient(circle at 72% 26%, rgba(119, 192, 67, 0.1), transparent 28%),
      radial-gradient(circle at 86% 22%, rgba(242, 193, 78, 0.08), transparent 22%);
  }

  .hero-copy {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
  }

  .event-meta > div {
    background: rgba(8, 12, 9, 0.44);
  }
}

@media (min-width: 621px) and (max-width: 1060px) {
  .hero-bg-image {
    filter: brightness(0.62) saturate(1.16) contrast(1.1);
    background-position: 58% center;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(5, 8, 6, 0.18), rgba(5, 8, 6, 0.34)),
      linear-gradient(90deg, rgba(5, 8, 6, 0.44) 0%, rgba(5, 8, 6, 0.24) 45%, rgba(5, 8, 6, 0.34) 100%),
      radial-gradient(circle at 72% 28%, rgba(119, 192, 67, 0.12), transparent 28%),
      radial-gradient(circle at 86% 22%, rgba(242, 193, 78, 0.09), transparent 22%);
  }
}

/* Kleine Diagnosefläche für font-test.html */
.font-test-sample {
  font-family: var(--font-signature);
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.font-status {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--muted);
}


/* V25 Test: etwas markanter / mehr Festival, ohne den alten Stil zu verlieren */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(119, 192, 67, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(242, 193, 78, 0.16), transparent 26rem),
    radial-gradient(circle at 50% 44%, rgba(119, 192, 67, 0.07), transparent 38rem),
    var(--bg);
}

.section-pad {
  position: relative;
}

.events-section::before,
.join-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  left: max(18px, calc((100vw - var(--max)) / 2));
  right: max(18px, calc((100vw - var(--max)) / 2));
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(119, 192, 67, 0.34), rgba(242, 193, 78, 0.18), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.section-heading {
  position: relative;
}

.section-heading h2 {
  text-shadow:
    0 0 28px rgba(119, 192, 67, 0.14),
    0 12px 34px rgba(0, 0, 0, 0.24);
}

.signature-heading::after {
  content: "";
  display: block;
  width: min(180px, 48vw);
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--green), rgba(242, 193, 78, 0.88), transparent);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(119, 192, 67, 0.28);
}

.event-card,
.join-card,
.contact-copy,
.social-card,
.loading,
.error {
  position: relative;
  overflow: hidden;
}

.event-card::before,
.join-card::before,
.contact-copy::before,
.social-card::before,
.loading::before,
.error::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(119, 192, 67, 0.95), rgba(242, 193, 78, 0.78), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.event-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(119, 192, 67, 0.14), transparent 16rem),
    radial-gradient(circle at 12% 90%, rgba(242, 193, 78, 0.08), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-card:hover,
.event-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(119, 192, 67, 0.48);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(119, 192, 67, 0.08);
}

.date-badge {
  box-shadow:
    inset 0 0 0 1px rgba(119, 192, 67, 0.08),
    0 0 30px rgba(119, 192, 67, 0.08);
}

.event-thumb {
  background:
    radial-gradient(circle at center, rgba(119, 192, 67, 0.10), rgba(0, 0, 0, 0.22));
}

.button.primary {
  background: linear-gradient(135deg, #91dc57, #f0c45a);
  box-shadow:
    0 16px 42px rgba(119, 192, 67, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

.join-card {
  background:
    radial-gradient(circle at right, rgba(119, 192, 67, 0.20), transparent 24rem),
    radial-gradient(circle at 16% 100%, rgba(242, 193, 78, 0.10), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
}

.contact-copy,
.social-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(119, 192, 67, 0.13), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
}

.social-card a {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.055));
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.social-card a:hover,
.social-card a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(119, 192, 67, 0.45);
  background: rgba(119, 192, 67, 0.16);
}

@media (max-width: 620px) {
  .events-section::before,
  .join-section::before,
  .contact-section::before {
    left: 11px;
    right: 11px;
    top: 18px;
  }

  .event-card:hover,
  .event-card:focus-within {
    transform: none;
  }
}

