:root {
  --bg-main: #eef6f0;
  --bg-card: #f9fdf9;
  --bg-contrast: #0c4f26;
  --ink-main: #13231a;
  --ink-soft: #355443;
  --ink-light: #eef8f0;
  --accent: #4ea965;
  --accent-strong: #006e1d;
  --line: rgba(0, 110, 29, 0.18);
  --radius-lg: 26px;
  --radius-md: 16px;
  --shadow: 0 28px 80px rgba(7, 37, 19, 0.16);
  --shell: min(1160px, 92vw);
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Gentium Book Basic", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-main);
  background:
    radial-gradient(circle at 10% 18%, rgba(0, 110, 29, 0.18), transparent 38%),
    radial-gradient(circle at 95% 4%, rgba(28, 133, 60, 0.24), transparent 26%),
    var(--bg-main);
  line-height: 1.6;
}

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(9px);
  background: rgba(238, 246, 240, 0.9);
  border-bottom: 1px solid rgba(20, 33, 31, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 10px 34px rgba(8, 22, 18, 0.14);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 12px;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(0, 110, 29, 0.12);
  color: #07511c;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 46px;
  height: 40px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink-main);
  margin: 5px auto;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.menu-toggle .sr-only {
  width: 1px;
  height: 1px;
  margin: -1px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  color: var(--ink-light);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/images/2024/07/22/bmk_head_01.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.hero::after {
  content: none;
}

.hero-grid {
  width: var(--shell);
  display: grid;
  grid-template-columns: 1.5fr minmax(250px, 320px);
  gap: clamp(20px, 4vw, 42px);
  padding: 15px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.7rem, 4.4vw, 3.7rem);
  max-width: 19ch;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  max-width: 52ch;
  color: rgba(233, 242, 235, 0.93);
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #005a18;
}

.btn-ghost {
  border-color: rgba(233, 242, 235, 0.54);
  color: #f2f8f3;
  background: rgba(233, 242, 235, 0.08);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(233, 242, 235, 0.82);
  background: rgba(233, 242, 235, 0.18);
}

.hero-panel {
  align-self: start;
  background: rgba(238, 248, 240, 0.1);
  border: 1px solid rgba(233, 242, 235, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.panel-label {
  margin: 0;
  color: rgba(233, 242, 235, 0.86);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.hero-panel h2 {
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.hero-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.hero-panel li {
  margin-top: 6px;
}

.hero-ticket {
  background: rgba(4, 38, 15, 0.62);
  border-color: rgba(233, 242, 235, 0.42);
}

.hero-ticket p {
  margin: 14px 0 0;
}

.ticket-link {
  display: inline-block;
  margin-top: 14px;
  max-width: 240px;
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.ticket-link:hover,
.ticket-link:focus-visible {
  transform: translateY(-2px) scale(1.015);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.ticket-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.ticket-banner {
  display: block;
  width: 100%;
  height: auto;
}

.ticket-mobile-wrap {
  display: none;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-contrast {
  background: var(--bg-contrast);
  color: var(--ink-light);
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

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

.news-card {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(16, 34, 30, 0.1);
}

.news-image {
  min-height: 220px;
  overflow: hidden;
  background: #dbeadf;
}

.cover-crop-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cover-focus-x, 50%) var(--cover-focus-y, 50%);
  transform: scale(var(--cover-zoom, 1));
  transform-origin: var(--cover-focus-x, 50%) var(--cover-focus-y, 50%);
  display: block;
}

.news-image.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(12, 79, 38, 0.86), rgba(78, 169, 101, 0.54)),
    #dbeadf;
  color: #eef8f0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-body {
  padding: 22px;
}

.news-type {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 700;
}

.news-card h3 {
  margin-top: 8px;
  font-size: 1.6rem;
}

.news-date {
  margin: 8px 0 10px;
  font-weight: 700;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  color: var(--accent-strong);
  border-bottom: 1px solid currentColor;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(233, 242, 235, 0.2);
  background: rgba(233, 242, 235, 0.06);
  padding: 18px;
}

.timeline-year {
  margin: 0;
  color: var(--accent);
  font-size: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.timeline-item h3 {
  margin: 6px 0 8px;
  font-size: 1.3rem;
  line-height: 1.3;
}

.timeline-item p {
  margin: 4px 0;
}

.timeline-cta {
  margin-top: 28px;
}

.timeline-cta .btn-ghost {
  border-color: rgba(233, 242, 235, 0.7);
  background: rgba(233, 242, 235, 0.08);
}

.chronik-title {
  font-size: clamp(2rem, 5vw, 4rem);
}

.chronik-page {
  padding-top: clamp(28px, 4.5vw, 56px);
}

.event-page {
  padding-top: clamp(24px, 3.2vw, 40px);
}

.event-backlink {
  margin: 0 0 16px;
}

.chronik-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 110, 29, 0.26);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 0.92rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.88);
}

.filter-chip.is-active {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #f7fef9;
}

.chronik-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.chronik-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(10, 35, 21, 0.09);
}

.chronik-cover {
  display: block;
  height: 260px;
  overflow: hidden;
  background: #dbeadf;
}

.chronik-cover.is-empty {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(12, 79, 38, 0.88), rgba(78, 169, 101, 0.58)),
    #dbeadf;
  color: #eef8f0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chronik-body {
  padding: 18px 20px 22px;
}

.chronik-body h2 {
  margin-top: 4px;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.chronik-location {
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.chronik-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.event-head {
  max-width: 72ch;
}

.event-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(300px, 520px) 1fr;
  gap: 24px;
  align-items: start;
}

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

.event-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.event-cover img {
  width: 100%;
  height: auto;
}

.event-text {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.event-text p {
  margin-top: 0;
}

.event-hoppala {
  margin-top: 28px;
}

.event-hoppala h2 {
  margin-bottom: 12px;
}

.event-hoppala-box {
  border: 1px solid rgba(182, 124, 21, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 247, 229, 0.95), rgba(255, 250, 240, 0.88));
  box-shadow: 0 14px 32px rgba(95, 67, 12, 0.08);
}

.event-hoppala-box p:last-child {
  margin-bottom: 0;
}

.event-video {
  margin-top: 28px;
}

.event-video-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.event-video-link {
  margin: 12px 0 0;
}

.event-gallery {
  margin-top: 28px;
}

.event-gallery h2 {
  margin-bottom: 12px;
}

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

.event-gallery-grid figure {
  margin: 0;
}

.event-gallery-item {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: #dfeadf;
  box-shadow: 0 12px 28px rgba(10, 35, 21, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.event-gallery-item:hover,
.event-gallery-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(10, 35, 21, 0.16);
}

.event-gallery-item:focus-visible {
  outline: 2px solid rgba(0, 110, 29, 0.5);
  outline-offset: 3px;
}

.event-gallery-grid img {
  width: 100%;
  height: clamp(200px, 23vw, 260px);
  object-fit: cover;
  transition: transform 220ms ease;
}

.event-gallery-item:hover img,
.event-gallery-item:focus-visible img {
  transform: scale(1.03);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 28px);
  background: rgba(5, 15, 11, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: 100%;
  display: grid;
  gap: 14px;
}

.gallery-lightbox-stage {
  position: relative;
  min-height: min(72vh, 680px);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(8, 23, 16, 0.98);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  height: min(72vh, 680px);
  object-fit: contain;
  background: rgba(8, 23, 16, 0.98);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3f8f4;
  background: rgba(7, 27, 17, 0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: rgba(7, 27, 17, 0.92);
  transform: translateY(-1px);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.68);
  outline-offset: 2px;
}

.gallery-lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
}

.gallery-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  font-size: 1.5rem;
}

.gallery-lightbox-nav.prev {
  left: 16px;
}

.gallery-lightbox-nav.next {
  right: 16px;
}

.gallery-lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #edf5ef;
}

.gallery-lightbox-caption {
  margin: 0;
  font-size: 0.95rem;
}

.gallery-lightbox-counter {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(237, 245, 239, 0.76);
}

body.gallery-open {
  overflow: hidden;
}

.auth-wrap {
  padding-top: 90px;
}

.internal-page .auth-wrap {
  padding-top: 22px;
}

.internal-page .chronik-title {
  font-size: clamp(1.35rem, 3.4vw, 2.6rem);
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
}

.internal-page .intern-tool-card h2 {
  font-size: 0.95rem;
}

.auth-card {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(18px, 4.2vw, 32px);
  box-shadow: var(--shadow);
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.auth-label {
  font-weight: 700;
  color: var(--ink-soft);
}

.auth-input {
  width: 100%;
  border: 1px solid rgba(0, 110, 29, 0.28);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: var(--font-body);
}

.auth-input:focus-visible {
  outline: 2px solid rgba(0, 110, 29, 0.35);
  outline-offset: 1px;
}

.auth-error {
  margin-top: 10px;
  border: 1px solid rgba(150, 23, 17, 0.32);
  background: rgba(204, 84, 73, 0.15);
  border-radius: 10px;
  color: #641a15;
  padding: 10px 12px;
  font-weight: 600;
}

.auth-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.intern-tools-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.intern-tool-card {
  display: block;
  border: 1px solid rgba(0, 110, 29, 0.2);
  border-radius: 14px;
  background: rgba(249, 253, 249, 0.95);
  padding: 14px;
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.intern-tool-card:hover,
.intern-tool-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 110, 29, 0.5);
  box-shadow: 0 12px 24px rgba(0, 52, 18, 0.08);
  text-decoration: none;
}

.intern-tool-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.intern-tool-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.legacy-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(18px, 4.2vw, 32px);
  box-shadow: var(--shadow);
}

.intern-tool-nav {
  margin: 18px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intern-tool-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.intern-tool-copy {
  min-width: 0;
}

.intern-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0, 110, 29, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: #0b4f26;
  font-weight: 700;
}

.intern-nav-toggle-icon {
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.intern-nav-toggle-icon::before,
.intern-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.intern-nav-toggle-icon::before {
  top: -5px;
}

.intern-nav-toggle-icon::after {
  top: 5px;
}

.intern-tool-nav a {
  display: inline-block;
  border: 1px solid rgba(0, 110, 29, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
  color: #0b4f26;
  font-weight: 700;
  background: #fff;
}

.intern-tool-nav a.is-active {
  background: #006e1d;
  color: #fff;
  border-color: #006e1d;
}

.legacy-content {
  border-top: 1px solid rgba(0, 110, 29, 0.16);
  padding-top: 14px;
  overflow-x: auto;
}

.auth-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 12px;
}

.auth-meta-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: clamp(20px, 5vw, 56px);
  align-items: center;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #09130d;
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.split-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.split-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.split-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 14px;
}

.verein-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr) minmax(0, 1.45fr);
  gap: 16px;
  align-items: stretch;
}

.verein-card {
  border: 1px solid rgba(233, 242, 235, 0.23);
  border-radius: 24px;
  padding: 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(233, 242, 235, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.verein-card-kicker {
  margin: 0 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 242, 235, 0.82);
  font-weight: 700;
}

.verein-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.verein-list li {
  margin: 0;
  line-height: 1.5;
}

.verein-list strong {
  color: #ffffff;
}

.verein-card-wide p:last-child {
  margin-bottom: 0;
}

.section-contact {
  background:
    linear-gradient(100deg, rgba(12, 79, 38, 0.14), rgba(78, 169, 101, 0.18)),
    var(--bg-main);
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(249, 253, 249, 0.86);
  padding: clamp(20px, 5vw, 50px);
  box-shadow: var(--shadow);
}

.contact-box h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.site-footer {
  background: #006e1d;
  color: var(--ink-light);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 700;
  border-bottom: 1px solid rgba(233, 242, 235, 0.6);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.18, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.18, 1);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 15px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .event-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-meta-grid {
    grid-template-columns: 1fr;
  }

  .intern-tools-grid {
    grid-template-columns: 1fr;
  }

  .verein-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verein-card-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 86px 0 auto 0;
    background: rgba(245, 239, 226, 0.97);
    border-bottom: 1px solid rgba(20, 33, 31, 0.1);
    padding: 12px 4vw 20px;
    display: grid;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 220ms ease,
      opacity 220ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav a {
    padding: 12px;
  }

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

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

  .verein-card-wide {
    grid-column: auto;
  }

  .hero-grid .hero-ticket {
    display: none;
  }

  .ticket-mobile-wrap {
    display: block;
    padding: 10px 0 14px;
  }

  .ticket-mobile-wrap .hero-ticket {
    display: block;
    max-width: 300px;
  }

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

  .internal-page .shell {
    width: min(1160px, calc(100vw - 12px));
  }

  .internal-page .legacy-panel,
  .internal-page .auth-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .internal-page .legacy-content {
    border-top: 0;
    padding-top: 8px;
  }

  .internal-page .intern-tool-head {
    align-items: flex-start;
  }

  .internal-page .intern-nav-toggle {
    display: inline-flex;
    margin: 0 0 10px auto;
    align-self: flex-start;
  }

  .internal-page .intern-tool-nav {
    display: none;
    margin: 0 0 12px;
  }

  .internal-page .intern-tool-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .internal-page .intern-tool-nav a {
    width: 100%;
    border-radius: 10px;
    text-align: left;
  }

  .internal-page .legacy-content .col-edit {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .event-page {
    padding-top: 12px;
  }

  .event-backlink {
    margin-bottom: 10px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-grid {
    padding: 12px 0 26px;
    gap: 14px;
  }

  h1 {
    font-size: clamp(1.25rem, 6.8vw, 1.9rem);
  }

  .internal-page .chronik-title {
    white-space: normal;
    text-wrap: balance;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-ticket {
    max-width: 240px;
    width: 100%;
    margin-top: 0;
  }

  .ticket-link {
    max-width: 170px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-image {
    min-height: 150px;
  }

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

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

  .gallery-lightbox {
    padding: 10px;
  }

  .gallery-lightbox-stage,
  .gallery-lightbox-image {
    height: min(62vh, 460px);
    min-height: 0;
  }

  .gallery-lightbox-nav {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .gallery-lightbox-nav.prev {
    left: 10px;
  }

  .gallery-lightbox-nav.next {
    right: 10px;
  }

  .gallery-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .gallery-lightbox-meta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .intern-tool-nav {
    gap: 8px;
  }

  .intern-tool-nav a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
