:root {
  --bg:#0e0b13;
  --panel:#181424;
  --accent1:#8a2be2; /* Neon Lila */
  --accent2:#32cd32; /* Neon Grün */
  --text:#f4f4f4;
}

body {
  margin:0;
  font-family:system-ui;
  background:var(--bg);
  color:var(--text);
}

/* HEADER */
header {
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items:  center;
  padding: 0px 30px;
  background: var(--panel);
  border-bottom: 2px solid var(--accent1);
}


.logo{
  display: flex;
  align-items: center;
}

/* LOGO LEFT */
.logo img {
  max-height: 200px;  
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.searchbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* echte Zentrierung */
  width: 40%;                  /* gute Größe */
  max-width: 450px;
}

.searchbar form {
  width: 100%;
}

.searchbar input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 2px solid var(--accent1);
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

/* RIGHT – Register */
.header-right {
  text-align: right;
}

.header-right a {
  color: var(--accent2);
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
}




/* NAVBAR */
.navbar {
  background: var(--accent1);
  padding: 12px 25px; 
  display: flex;
  justify-content: center;
  gap: 25px;
}

.navbar a {
  color:white;
  text-decoration:none;
  font-weight:500;
}

.navbar a:hover {
  color:var(--accent2);
}

/* LAYOUT */
.page-layout {
  display:flex;
  padding:25px;
  gap:25px;
}

/* SIDEBAR */
.sidebar {
  width:230px;
  background:var(--panel);
  padding:18px;
  border-radius:12px;
  border:1px solid #2a2342;
}

.sidebar h3 {
  color:var(--accent1);
}

.sidebar a {
  display:block;
  margin:6px 0;
  color:var(--accent2);
  text-decoration:none;
}

.sidebar a:hover {
  color:white;
}

/* MAIN CONTENT */
.main-content {
  flex:1;
}

/* DATE FILTER */
.date-filter {
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.date-filter input {
  width:180px;
}

/* EVENT CARD */
.event-card {
  background:var(--panel);
  padding:20px;
  border-radius:12px;
  margin-bottom:18px;
  border:1px solid #2a2342;
}

.event-card h3 {
  margin-top:0;
  color:var(--accent1);
}

.btn {
  background:var(--accent1);
  border:none;
  padding:10px 14px;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
}

.btn:hover {
  background:var(--accent2);
  color:black;
}

/* FOOTER */
footer {
  background:var(--panel);
  border-top:2px solid var(--accent1);
  margin-top:40px;
  padding:20px;
  text-align:center;
}

footer a {
  color:var(--accent2);
}
