:root {
  --bg:        #1a1a1a;
  --bg-2:      #232323;
  --fg:        #f1eee6;
  --fg-mute:   #b9b5ab;
  --red:       #c8302d;
  --yellow:    #f6c844;
  --green:     #3f8a3a;
  --border:    rgba(255,255,255,.08);
  --radius:    12px;
  --max:       1100px;
  --shadow:    0 8px 24px rgba(0,0,0,.4);
  --font-head: 'Bungee', 'Permanent Marker', 'Impact', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: .5px; line-height: 1.1; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--yellow); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,20,20,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0;
}
.brand { font-family: var(--font-head); font-size: 1.1rem; color: var(--yellow); text-decoration: none; }
.main-nav { display: flex; gap: 18px; }
.main-nav a { color: var(--fg); text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--yellow); }
.btn-cta {
  background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 50%, var(--green) 100%);
  color: #fff; padding: 10px 16px;
  border-radius: 999px; text-decoration: none; font-weight: 700;
  border: none; cursor: pointer; text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.btn-cta:hover {
  background: linear-gradient(90deg, #e03530 0%, #ffd957 50%, #4aa344 100%);
  color: #fff;
}
@media (max-width: 500px) { .btn-text-long { display: none; } }
.nav-toggle { display: none; background: none; color: var(--fg); border: none; font-size: 1.6rem; }
@media (max-width: 720px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 56px; right: 12px;
    background: var(--bg-2); padding: 14px; border-radius: var(--radius); border: 1px solid var(--border);
  }
  .nav-toggle { display: inline-block; }
}

section { padding: 80px 0; border-top: 1px solid var(--border); }
section .section-label {
  display: inline-block; font-family: var(--font-head); color: var(--red);
  background: rgba(200,48,45,.12); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}

.hero { padding: 0; border: 0; }
.hero-img { width: 100%; margin: 0 auto; display: block; }
.hero-wrap { text-align: center; padding: 0; }
.countdown { display: flex; justify-content: center; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.cd-cell {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; min-width: 80px;
}
.cd-num { font-family: var(--font-head); font-size: 2rem; color: var(--yellow); display: block; }
.cd-label { font-size: .8rem; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 1px; }
.event-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 12px; margin: 0; padding: 18px 20px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px);
  font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 600;
}
.em-date {
  font-family: var(--font-head); font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  color: var(--yellow); letter-spacing: 1px;
}
.em-time  { color: var(--fg); }
.em-place { color: #9ad596; }
.em-sep   { color: var(--red); font-weight: 900; font-size: 1.2em; line-height: 1; }

.lineup-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .lineup-grid { grid-template-columns: repeat(3, 1fr); } }
.act-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.act-name { font-family: var(--font-head); color: var(--yellow); font-size: 1.4rem; margin-bottom: 6px; }
.act-genres { color: var(--fg-mute); font-size: .9rem; }
.lineup-teaser { margin-top: 20px; text-align: center; color: var(--fg-mute); font-style: italic; }

.map-img { cursor: zoom-in; border-radius: var(--radius); border: 1px solid var(--border); }
.anfahrt-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .anfahrt-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.anfahrt-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn-link {
  display: inline-block; padding: 10px 14px; background: var(--bg-2);
  color: var(--fg); text-decoration: none; border-radius: var(--radius); border: 1px solid var(--border);
}
.btn-link:hover { border-color: var(--yellow); color: var(--yellow); }

.form {
  display: grid; gap: 14px; max-width: 540px; margin: 0 auto;
  background: var(--bg-2); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border);
}
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.field input, .field select {
  width: 100%; padding: 10px 12px; background: #141414; color: var(--fg);
  border: 1px solid var(--border); border-radius: 8px; font: inherit;
}
.field.has-error input { border-color: var(--red); }
.field-error { color: var(--red); font-size: .85rem; margin-top: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .row-2 { grid-template-columns: 1fr; } }

/* Radio als Auswahl-Karten */
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label {
  flex: 1; min-width: 130px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  background: #141414; color: var(--fg);
  border: 2px solid var(--border); border-radius: 999px;
  cursor: pointer; font-weight: 600;
  transition: border-color .15s, background .15s, color .15s;
  user-select: none;
}
.radio-row label:hover { border-color: rgba(246,200,68,.4); }
.radio-row input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-row label:has(input:checked) {
  border-color: var(--yellow);
  background: rgba(246,200,68,.12);
  color: var(--yellow);
}

/* Custom Checkbox */
.checkbox label {
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 400; cursor: pointer; user-select: none;
}
.checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 2px;
  background: #141414; border: 2px solid var(--border); border-radius: 5px;
  cursor: pointer; transition: border-color .15s, background .15s;
  position: relative;
  padding: 9px;
}
.checkbox input[type="checkbox"]:checked {
  background: var(--yellow); border-color: var(--yellow);
}
.checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute; left: 4px; top: 1px;
  width: 8px; height: 12px;
  border: 2px solid #111; border-top: 0; border-left: 0;
  transform: rotate(45deg);
}
.form .btn-cta { width: 100%; padding: 14px; font-size: 1.1rem; }

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none;
  align-items: center; justify-content: center; padding: 20px; z-index: 200;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; }
.lightbox-close { position: absolute; top: 16px; right: 20px; color: #fff; background: none; border: 0; font-size: 2rem; cursor: pointer; }

.site-footer { padding: 30px 0; color: var(--fg-mute); font-size: .85rem; text-align: center; border-top: 1px solid var(--border); }

.gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #0e0e0e, #1e0a0a); padding: 20px;
}
.gate-card {
  background: var(--bg-2); padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--border); max-width: 360px; width: 100%; text-align: center;
}

.admin { padding: 30px 0; }
.kpi-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
@media (min-width: 640px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--bg-2); padding: 16px; border-radius: var(--radius); border: 1px solid var(--border); }
.kpi-label { color: var(--fg-mute); font-size: .8rem; text-transform: uppercase; }
.kpi-num { font-family: var(--font-head); font-size: 2rem; color: var(--yellow); }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); }
.admin-table th { color: var(--fg-mute); font-size: .8rem; text-transform: uppercase; }
@media (max-width: 720px) {
  .admin-table thead { display: none; }
  .admin-table tr { display: block; margin-bottom: 12px; border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
  .admin-table td { display: flex; justify-content: space-between; border: 0; padding: 4px 0; }
  .admin-table td::before { content: attr(data-label); color: var(--fg-mute); }
}
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; }
.tag-camping  { background: rgba(63,138,58,.18); color: #9ad596; }
.tag-festival { background: rgba(246,200,68,.18); color: var(--yellow); }
.btn-danger { background: transparent; color: var(--red); border: 1px solid var(--red); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
