/* ── Variables ────────────────────────────────── */
:root {
  --bg:       #3d3b38;
  --bg-s:     #3d3b38;
  --bg-mid:   #3d3b38;
  --bg-card:  rgba(255,255,255,0.03);
  --acc:      #A01825;
  --acc-h:    #7A1020;
  --acc-l:    #C83040;
  --red:      #A01825;
  --txt:      #EDE8DF;
  --txt-s:    #ADA49A;
  --txt-m:    #6A6260;
  --brd:      rgba(255,255,255,0.07);
  --brd-acc:  rgba(160,24,37,0.25);
  --radius:   16px;
  --tr:       0.3s ease;
  --font-d:   'Swiss 921 BT', 'Swiss921 BT', 'Helvetica Neue', Arial, sans-serif;
  --font-b:   'Jost', -apple-system, sans-serif;
  --max-w:    1100px;
}

/* ── Reset ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Utilities ────────────────────────────────── */

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 24px;
}
.section-inner--center {
  text-align: center;
  padding-top: 0;
  padding-bottom: 28px;
}

.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-d);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--txt);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

.section-sub {
  font-size: 16px;
  color: var(--txt-s);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 48px;
}

.section-watermark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(calc(var(--wm-x, -110vw) + 2vw), -50%) rotate(-9deg);
  font-family: var(--font-d);
  font-size: clamp(44px, 7vw, 130px);
  font-weight: 700;
  color: rgba(160,24,37,0.12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.06em;
  will-change: transform;
}

/* ── Buttons ──────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--acc);
  color: #18160E;
  border-radius: 100px;
  padding: 12px 28px;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--acc-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.28);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--txt);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  padding: 12px 28px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color var(--tr), color var(--tr), transform var(--tr);
}
.btn-outline:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 44px; font-size: 14px; }

/* ── Reveal ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ───────────────────────────────── */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(22,20,19,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--brd);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 28px;
}

.nav-logo { display: flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-s);
  cursor: pointer;
  transition: color var(--tr);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--txt); }
.nav-links .nav-helfer { color: var(--acc); }
.nav-links .nav-helfer:hover { color: var(--acc-l); }
.nav-links .btn-primary { margin-left: 4px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--txt);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────── */

#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}
#hero-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-video-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2a2620 0%, #1a1510 50%, #2e2820 100%);
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18,16,14,0.28) 0%,
    rgba(18,16,14,0.52) 55%,
    rgba(18,16,14,0.80) 100%
  );
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 35%, rgba(16,14,12,0.65) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: heroFadeUp 1.4s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(calc(-50% + 32px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

.hero-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(72px, 14vw, 148px);
  font-weight: 700;
  color: var(--txt);
  letter-spacing: 0.1em;
  line-height: 0.88;
  margin-bottom: 22px;
  text-align: center;
}

.hero-date {
  font-family: var(--font-d);
  font-style: italic;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 300;
  color: rgba(237,232,223,0.82);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.hero-loc {
  font-size: 11px;
  color: var(--txt);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 52px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  cursor: pointer;
  text-align: center;
  color: rgba(237,232,223,0.4);
  animation: scrollBounce 2.8s ease-in-out infinite;
  transition: color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-hint:hover { color: rgba(237,232,223,0.7); }
.scroll-hint span {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Countdown ────────────────────────────────── */

#countdown {
  background: var(--bg-s);
  position: relative;
}
#countdown::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brd-acc), transparent);
}
#countdown::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brd-acc), transparent);
}

.countdown-inner {
  text-align: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 4vw, 52px);
  flex-wrap: wrap;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.cd-num {
  font-family: var(--font-d);
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 600;
  color: var(--txt);
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}

.cd-sep {
  font-family: var(--font-d);
  font-size: clamp(40px, 7vw, 72px);
  color: var(--acc);
  opacity: 0.4;
  line-height: 1;
  padding-bottom: 22px;
  align-self: flex-start;
  margin-top: 2px;
}

.cd-label {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-m);
  margin-top: 10px;
  display: block;
}

/* ── Helfer ───────────────────────────────────── */

#helfer {
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}
#helfer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brd-acc), transparent);
}

.helfer-inner { max-width: 880px; }

.helfer-wrap {
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 60px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-s);
}

.req { color: var(--acc); }
.opt { color: var(--txt-m); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 10px; }

.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--txt);
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--txt-m); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--acc);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-field input.error { border-color: var(--red) !important; }

.form-field textarea { resize: vertical; min-height: 112px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--txt-m);
  pointer-events: none;
}
.form-field select { cursor: pointer; padding-right: 46px; }
.form-field select option { background: #2a2826; color: var(--txt); }

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-s);
  transition: all var(--tr);
  white-space: nowrap;
  user-select: none;
}
.check-item:hover { background: rgba(255,255,255,0.07); color: var(--txt); }
.check-item input[type="checkbox"] { display: none; }
.check-item.checked {
  background: rgba(201,168,76,0.14);
  border-color: var(--acc);
  color: var(--acc);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--brd);
  flex-wrap: wrap;
}

.form-note {
  font-size: 11.5px;
  color: var(--txt-m);
  line-height: 1.6;
  max-width: 400px;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 64px 24px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--brd-acc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--acc);
}
.form-success h3 {
  font-family: var(--font-d);
  font-size: 36px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 12px;
}
.form-success p { font-size: 15px; color: var(--txt-s); line-height: 1.65; }

/* ── Programm ─────────────────────────────────── */

#programm {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.prog-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.prog-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--brd);
  border-radius: 12px;
  padding: 16px 28px;
  cursor: pointer;
  transition: all var(--tr);
  min-width: 108px;
}
.prog-tab:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}
.prog-tab.active {
  background: rgba(201,168,76,0.1);
  border-color: var(--brd-acc);
}

.tab-day {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 600;
  color: var(--txt);
  line-height: 1;
}
.prog-tab.active .tab-day { color: var(--acc); }

.tab-date {
  font-size: 10.5px;
  color: var(--txt-m);
  letter-spacing: 0.06em;
}
.prog-tab.active .tab-date { color: rgba(201,168,76,0.65); }

.prog-card {
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.prog-card-ox {
  position: absolute;
  top: 20px; right: 20px;
  width: 130px; height: 104px;
  opacity: 0.05;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.prog-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.prog-icon { color: var(--acc); }
.prog-icon svg { display: block; }

.prog-dayname {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 6px;
}

.prog-title {
  font-family: var(--font-d);
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 600;
  color: var(--txt);
  line-height: 1.05;
}

.prog-items { list-style: none; }

.prog-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--brd);
}
.prog-item:last-child { border-bottom: none; }
.prog-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  flex-shrink: 0;
}
.prog-item span { font-size: 16px; color: var(--txt-s); line-height: 1.45; }

/* ── Lageplan ─────────────────────────────────── */

#lageplan { background: var(--bg-s); position: relative; overflow: hidden; }

.map-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.map-filter {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--brd);
  border-radius: 100px;
  padding: 9px 18px;
  font-family: var(--font-b);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--txt-s);
  cursor: pointer;
  transition: all var(--tr);
}
.map-filter:hover { background: rgba(255,255,255,0.07); color: var(--txt); }
.map-filter.active {
  background: rgba(201,168,76,0.13);
  border-color: var(--brd-acc);
  color: var(--acc);
  font-weight: 600;
}

.map-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-color: #1e2a1e;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,12,8,0.38);
  pointer-events: none;
}

.map-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

.map-street {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

.map-poi {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
}

.map-poi-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.map-poi:hover .map-poi-dot {
  transform: scale(1.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.map-poi-inner {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
}

.map-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12,10,8,0.94);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  backdrop-filter: blur(8px);
  z-index: 5;
}
.map-poi:hover .map-tooltip { opacity: 1; }
.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(12,10,8,0.94);
}

/* ── Highlights ───────────────────────────────── */

#highlights {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.highlights-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.highlights-grid > .reveal { height: 100%; }
.highlights-grid > .reveal > .hl-card { height: 100%; }

.hl-card {
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--brd);
  position: relative;
  overflow: hidden;
  min-height: 272px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}
.hl-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.38);
}

.hl-card--gold { background: linear-gradient(138deg, rgba(160,24,37,0.18), rgba(160,24,37,0.1)); }
.hl-card--blue { background: linear-gradient(138deg, rgba(59,130,246,0.18), rgba(139,92,246,0.1)); }
.hl-card--green { background: linear-gradient(138deg, rgba(34,197,94,0.18), rgba(201,168,76,0.1)); }

.hl-card-ox {
  position: absolute;
  top: 14px; right: 14px;
  width: 88px; height: 70px;
  opacity: 0.06;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.hl-icon { color: var(--acc); margin-bottom: 22px; }
.hl-icon svg { display: block; }

.hl-card h3 {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 12px;
  line-height: 1.15;
}

.hl-card p {
  font-size: 14px;
  color: var(--txt-s);
  line-height: 1.72;
  margin: 0;
}

/* ── Sponsoren ────────────────────────────────── */

#sponsoren {
  background: var(--bg-s);
  padding-top: 80px;
  padding-bottom: 72px;
  overflow: hidden;
  position: relative;
}
#sponsoren .section-inner--center { padding-top: 0; }

.ticker-wrap {
  position: relative;
  overflow: hidden;
  margin: 36px 0;
  padding: 20px 0;
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 28s linear infinite;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

.ticker-item {
  flex-shrink: 0;
  min-width: 180px;
  height: 72px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--brd);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--txt-m);
  transition: background 0.2s, color 0.2s;
}
.ticker-item:hover { background: rgba(255,255,255,0.07); color: var(--txt-s); }

.ticker-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker-fade--l { left: 0; background: linear-gradient(90deg, var(--bg-s), transparent); }
.ticker-fade--r { right: 0; background: linear-gradient(-90deg, var(--bg-s), transparent); }

/* ── Aktuelles ────────────────────────────────── */

#aktuelles {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.news-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-grid > .reveal { height: 100%; }

.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brd);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.32);
}

.news-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-thumb--1 { background: linear-gradient(135deg, #2e2418 0%, #1e180e 100%); }
.news-thumb--2 { background: linear-gradient(135deg, #241e2a 0%, #181218 100%); }
.news-thumb--3 { background: linear-gradient(135deg, #182420 0%, #0e1812 100%); }

.news-ox {
  width: 72px;
  height: 58px;
  opacity: 0.14;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.news-body { padding: 24px 28px 28px; flex: 1; }

time.news-date {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--acc);
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--txt);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-card p {
  font-size: 13.5px;
  color: var(--txt-m);
  line-height: 1.65;
  margin: 0;
}

/* ── Über uns ─────────────────────────────────── */

#ueber-uns { background: var(--bg-s); }

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 68px);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}

.about-ox-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 192px;
  opacity: 0.04;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.about-card p {
  font-size: 17px;
  color: var(--txt-s);
  line-height: 1.9;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.about-card p:last-of-type { margin-bottom: 0; }
.about-card strong { color: var(--txt); font-weight: 600; }
.about-card .gold { color: var(--acc); font-style: italic; }

.stats-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--brd);
  position: relative;
  z-index: 1;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 7px; }

.stat-n {
  font-family: var(--font-d);
  font-size: 44px;
  font-weight: 700;
  color: var(--acc);
  line-height: 1;
}

.stat-l {
  font-size: 10px;
  color: var(--txt-m);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Footer ───────────────────────────────────── */

footer {
  background: #0e0d0c;
  border-top: 1px solid var(--brd);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.footer-brand { max-width: 320px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p {
  font-size: 13px;
  color: var(--txt-m);
  line-height: 1.7;
}

.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 110px;
}

.footer-col-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--txt-m);
  cursor: pointer;
  transition: color var(--tr);
}
.footer-col a:hover { color: var(--txt-s); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--brd);
}
.footer-bottom > span {
  font-size: 11.5px;
  color: var(--txt-m);
}

.footer-social { display: flex; gap: 20px; }
.footer-social a {
  font-size: 11.5px;
  color: var(--txt-m);
  cursor: pointer;
  transition: color var(--tr);
}
.footer-social a:hover { color: var(--acc); }

/* ── Helfer Slide-in ──────────────────────────── */

#helfer-slide {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 300px;
  background: var(--bg-mid);
  border: 1px solid var(--brd-acc);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease;
  overflow: hidden;
}
#helfer-slide.visible {
  transform: translateY(0);
  opacity: 1;
}
#helfer-slide-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--txt-s);
  transition: background var(--tr), color var(--tr);
}
#helfer-slide-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--txt);
}
.hs-ox {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 90px;
  height: 72px;
  opacity: 0.06;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
.hs-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 10px;
}
.hs-text {
  font-size: 13.5px;
  color: var(--txt-s);
  line-height: 1.6;
  margin-bottom: 20px;
}
.hs-text strong { color: var(--txt); }
.hs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 10px 20px;
}

@media (max-width: 520px) {
  #helfer-slide { right: 16px; bottom: 16px; width: calc(100vw - 32px); }
}

/* ── Impressionen ─────────────────────────────── */

#impressionen {
  position: relative;
  overflow: hidden;
}

.impr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.impr-card {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.impr-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.impr-card:hover img {
  transform: scale(1.04);
}

.impr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.impr-placeholder--1 {
  background: linear-gradient(135deg, #3a2e1a 0%, #1e190f 40%, #2e2010 100%);
}
.impr-placeholder--2 {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 40%, #1a1020 100%);
}
.impr-placeholder--3 {
  background: linear-gradient(135deg, #1a2e1a 0%, #0f1e0f 40%, #102010 100%);
}
.impr-card:hover .impr-placeholder {
  transform: scale(1.04);
}

.impr-placeholder-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.35);
}

.impr-cta {
  text-align: center;
}

/* ── Responsive ───────────────────────────────── */

@media (max-width: 960px) {
  .impr-grid { grid-template-columns: repeat(3, 1fr); }
  .highlights-grid,
  .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(20,18,17,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 22px;
    border-bottom: 1px solid var(--brd);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

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

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

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

  .footer-nav { flex-direction: column; gap: 28px; }
  .footer-top { flex-direction: column; }

  .cd-sep { font-size: 28px; align-self: center; padding-bottom: 0; margin-bottom: 20px; }
  .hero-content { top: calc(50% + 36px); }
  .hero-title { font-size: clamp(48px, 11vw, 84px); }

  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 300px; justify-content: center; }

  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .btn-primary { justify-content: center; }

  .stats-grid { gap: 28px; }
  .section-inner { padding-top: 64px; padding-bottom: 64px; }
  .countdown-inner { padding-top: 52px; padding-bottom: 52px; }

  /* Tablets: 2 Spalten statt 1 */
  .impr-grid { grid-template-columns: 1fr 1fr; }
  .highlights-grid,
  .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .highlights-grid,
  .news-grid { padding-bottom: 64px; grid-template-columns: 1fr; }
  .impr-grid { grid-template-columns: 1fr; }
  .prog-tabs { gap: 6px; }
  .prog-tab { min-width: 80px; padding: 12px 16px; }
  .hero-title { font-size: clamp(34px, 10vw, 50px); }
  .cd-block { min-width: 60px; }
  .cd-sep { font-size: 22px; margin-bottom: 18px; }
  .countdown-grid { gap: clamp(6px, 2vw, 14px); }
  .countdown-inner { padding-top: 40px; padding-bottom: 40px; }
  .section-inner { padding: 48px 16px; }
}

/* ── Schichtplan ──────────────────────────────── */

.bereich-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bereich-tab {
  padding: 10px 28px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-s);
  cursor: pointer;
  transition: all var(--tr);
  background: transparent;
}
.bereich-tab:hover { border-color: rgba(255,255,255,0.25); color: var(--txt); }
.bereich-tab.active {
  background: rgba(160,24,37,0.15);
  border-color: var(--acc);
  color: var(--acc);
}

.rolle-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 36px;
}

.rolle-pill {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--txt-s);
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}
.rolle-pill:hover { background: rgba(255,255,255,0.08); color: var(--txt); }
.rolle-pill.active {
  background: rgba(160,24,37,0.15);
  border-color: var(--acc);
  color: var(--txt);
}

.rolle-name {
  font-size: 13px;
  color: var(--txt-s);
  margin-bottom: 32px;
  min-height: 20px;
  line-height: 1.5;
}
.rolle-name strong { color: var(--acc); font-weight: 600; }

.shift-calendar { display: flex; flex-direction: column; gap: 28px; }

.shift-day-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brd);
  width: 100%;
}
.shift-day-label::after {
  content: attr(data-datum);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--txt-m);
  text-transform: uppercase;
}

.shift-day-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.shift-card {
  flex: 1 1 180px;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--tr);
}
.shift-card:not(.shift-card--belegt):not(.shift-card--loading):hover {
  border-color: rgba(255,255,255,0.14);
}

.shift-card--belegt { opacity: 0.48; }
.shift-card--loading { opacity: 0.35; pointer-events: none; }

.shift-schicht-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--txt-m);
}

.shift-time {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 600;
  color: var(--txt);
  line-height: 1.1;
}

.shift-slots {
  font-size: 12px;
  color: var(--txt-m);
  margin-top: auto;
}
.shift-slots strong { color: var(--txt-s); }

.shift-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--txt-m);
  border: 1px solid rgba(255,255,255,0.08);
  align-self: flex-start;
}

.shift-btn {
  padding: 10px 18px;
  background: var(--acc);
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  border: none;
  align-self: flex-start;
}
.shift-btn:hover { background: var(--acc-l); transform: translateY(-1px); }

.shift-empty {
  text-align: center;
  padding: 52px 24px;
  color: var(--txt-m);
  font-size: 14px;
  line-height: 1.6;
  background: var(--bg-card);
  border: 1px solid var(--brd);
  border-radius: var(--radius);
}

/* ── Modal ────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,9,8,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #2a2826;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(14px);
  transition: transform 0.22s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-title {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 600;
  color: var(--txt);
  line-height: 1.1;
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--txt-s);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--tr), color var(--tr);
  border: none;
  font-family: inherit;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--txt); }

.modal-schicht-info {
  background: rgba(160,24,37,0.08);
  border: 1px solid var(--brd-acc);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--txt-s);
  line-height: 1.55;
}
.modal-schicht-info strong { color: var(--txt); display: block; font-size: 14px; margin-bottom: 2px; }

.modal-form { display: flex; flex-direction: column; gap: 18px; }

.modal-field { display: flex; flex-direction: column; gap: 8px; }
.modal-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-s);
}
.modal-field input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--txt);
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  width: 100%;
}
.modal-field input:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(160,24,37,0.12);
}
.modal-field input.error { border-color: var(--red); }
.modal-field input::placeholder { color: var(--txt-m); }

.modal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 13px 40px 13px 16px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--txt);
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.modal-field select:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(160,24,37,0.12);
}
.modal-field select option { background: #2a2826; color: var(--txt); }
.modal-field .select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--txt-m);
  pointer-events: none;
}

.modal-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--txt-s);
  line-height: 1.55;
}
.modal-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all var(--tr);
  margin-top: 2px;
}
.modal-checkbox-label input[type="checkbox"]:checked {
  background: var(--acc);
  border-color: var(--acc);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}
.modal-checkbox-label input.error { border-color: var(--red); }

.modal-checkbox-error {
  font-size: 11.5px;
  color: var(--red);
  min-height: 16px;
  margin-top: 4px;
}

.modal-footer {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-success-wrap {
  text-align: center;
  padding: 20px 0;
}
.modal-success-wrap .success-icon { margin-bottom: 18px; }
.modal-success-wrap h3 {
  font-family: var(--font-d);
  font-size: 28px;
  color: var(--txt);
  margin-bottom: 10px;
}
.modal-success-wrap p { font-size: 14px; color: var(--txt-s); line-height: 1.65; }

@media (max-width: 520px) {
  .shift-day-cards { flex-direction: column; }
  .shift-card { flex-basis: auto; }
  .modal-footer { flex-direction: column; }
  .modal-footer .btn-primary,
  .modal-footer .btn-outline { justify-content: center; width: 100%; }
}

/* ── View Tabs (Admin) ───────────────────────────── */
.view-tabs {
  display: flex;
  border: 1px solid var(--brd);
  border-radius: 12px;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 28px;
}
.view-tab {
  padding: 11px 28px;
  background: transparent;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--txt-s);
  cursor: pointer;
  transition: all var(--tr);
  border: none;
  border-right: 1px solid var(--brd);
}
.view-tab:last-child { border-right: none; }
.view-tab:hover { background: rgba(255,255,255,0.05); color: var(--txt); }
.view-tab.active { background: rgba(160,24,37,0.15); color: var(--acc); }

/* ── Stammdaten Action Buttons ───────────────────── */
.action-btn--assign {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
  color: #c8a020;
}
.action-btn--assign:hover { background: rgba(201,168,76,0.2); }
.action-btn--delete {
  background: rgba(160,24,37,0.08);
  border-color: var(--brd-acc);
  color: var(--acc-l);
}
.action-btn--delete:hover { background: rgba(160,24,37,0.18); }

/* ── Slot Modal (breiter als Standard) ───────────── */
.modal--wide { max-width: 540px; }
