:root {
  --bg: #05040a;
  --bg-alt: #11111a;
  --accent: #f2a93b;
  --accent-soft: rgba(242, 169, 59, 0.18);
  --text: #f7f7f7;
  --muted: #b5b5c5;
  --border: #292935;
  --card-bg: #151521;
  --danger: #ff5a5f;
  --radius: 10px;
  --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #191933 0, #05040a 55%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(10, 10, 20, 0.7), rgba(5, 4, 10, 0.9));
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(5, 4, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

/* NEU: Container und Größe für das Header-Logo rechts */

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  position: relative;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
}

.nav-links a:hover {
  color: var(--text);
  background-color: rgba(242, 169, 59, 0.08);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: 55vh;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Buttons */

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f2a93b, #ffcc70);
  color: #1a1207;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.7);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(21, 21, 33, 0.9);
}

.btn-secondary:hover {
  background: rgba(35, 35, 52, 0.9);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-soft);
}

/* Section headers */

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  max-width: 550px;
  margin: 0 auto;
}

/* Events */

.event-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: rgba(10, 10, 20, 0.9);
  color: var(--muted);
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background-color: var(--accent-soft);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.event-card {
  background: radial-gradient(circle at top left, rgba(242, 169, 59, 0.12), #151521 50%);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.55);
  position: relative;
}

.event-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 169, 59, 0.6);
  color: var(--accent);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.1rem;
}

.event-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.event-desc {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.event-extra {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.event-actions {
  display: flex;
  justify-content: flex-start;
}

/* Two-column layout */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.highlight-box,
.contact-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.48);
}

.mini-event-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.mini-event-list li {
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.mini-event-list span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Lists */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}

.checklist li {
  margin-bottom: 0.4rem;
  padding-left: 1.3rem;
  position: relative;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  top: 0;
  color: var(--accent);
}

/* About / Board / Address */

.board ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 1rem;
}

.board li {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.address p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact form */

.contact-form {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.55);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0b0b16;
  color: var(--text);
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(242, 169, 59, 0.4);
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 1.4rem;
  background-color: #05040a;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  gap: 0.6rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 2.5rem;
    background-color: rgba(5, 4, 10, 0.98);
    flex-direction: column;
    padding: 0.6rem;
    min-width: 180px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-content {
    min-height: auto;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}
