/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #C8102E;
  --gold:   #F5C400;
  --purple: #4A0072;
  --green:  #00843D;
  --dark:   #1A1A2E;
  --cream:  #FFF8EC;
  --white:  #FFFFFF;
  --gray:   #F4F4F4;
  --text:   #1A1A2E;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--purple);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  transition: background 0.3s;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo {
  height: 50px;
  width: auto;
  border-radius: 50%;
}

.navbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.navbar-title span {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--gold);
}

/* Social icons in navbar */
.nav-social {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-left: 0.5rem;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  transition: background 0.2s, transform 0.2s;
}

.nav-social a svg { width: 16px; height: 16px; }

.nav-social a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* Hero social buttons */
.hero-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--white);
}

.hero-social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero-social-insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 15px rgba(220,39,67,0.4);
}

.hero-social-fb {
  background: #1877F2;
  box-shadow: 0 4px 15px rgba(24,119,242,0.4);
}

.hero-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--purple);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--purple) 0%, #6B0099 40%, var(--red) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: fall linear infinite;
  opacity: 0.6;
}

@keyframes fall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid var(--gold);
  box-shadow: 0 0 40px rgba(245,196,0,0.4);
  margin-bottom: 1.5rem;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(245,196,0,0.4); }
  50%       { box-shadow: 0 0 60px rgba(245,196,0,0.7); }
}

.hero-helau {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--purple);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(245,196,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,196,0,0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '↓';
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTIONS ===== */
section { padding: 5rem 1.5rem; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--red);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  color: #555;
}

/* ===== ÜBER UNS ===== */
#ueber-uns { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-logo {
  width: 100%;
  max-width: 340px;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  border: 6px solid var(--gold);
  box-shadow: var(--shadow);
}

.about-deco {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.1;
  bottom: -20px;
  left: -20px;
  z-index: 0;
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 1rem;
}

.about-text p {
  color: #555;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== VORSTAND ===== */
#vorstand { background: var(--white); }

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.board-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.board-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
}

.board-role {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.board-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

/* ===== TERMINE ===== */
#termine { background: var(--cream); }

.events-list { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--red);
  transition: transform 0.2s;
}
.event-card:hover { transform: translateX(4px); }

.event-date {
  min-width: 64px;
  text-align: center;
  background: var(--red);
  color: var(--white);
  border-radius: 8px;
  padding: 0.6rem;
  line-height: 1.1;
}

.event-day {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
}

.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-info { flex: 1; }

.event-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.event-meta {
  font-size: 0.85rem;
  color: #888;
}

.event-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--gold);
  color: var(--dark);
  white-space: nowrap;
}

/* ===== GALERIE ===== */
#galerie { background: var(--dark); }

#galerie .section-title { color: var(--white); }
#galerie .section-label { color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.gallery-placeholder {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-placeholder:hover { background: rgba(255,255,255,0.08); }
.gallery-placeholder .icon { font-size: 2rem; }

.gallery-note {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* Real gallery items */
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 1.5rem 0.75rem 0.6rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ===== MITGLIEDSCHAFT ===== */
#mitgliedschaft { background: linear-gradient(135deg, var(--purple) 0%, var(--red) 100%); }

#mitgliedschaft .section-title { color: var(--white); }
#mitgliedschaft .section-label { color: var(--gold); }
#mitgliedschaft .section-line { background: var(--gold); }
#mitgliedschaft .section-intro { color: rgba(255,255,255,0.85); }

.mitmachen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mitmachen-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.mitmachen-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.mitmachen-title {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.mitmachen-text { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

.mitmachen-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--purple);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-pdf:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ===== KONTAKT ===== */
#kontakt { background: var(--gray); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.kontakt-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.kontakt-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.kontakt-icon {
  width: 42px;
  height: 42px;
  background: var(--purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.kontakt-detail strong {
  display: block;
  font-weight: 700;
  color: var(--dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.kontakt-detail a {
  color: var(--purple);
  text-decoration: none;
}
.kontakt-detail a:hover { text-decoration: underline; }

.kontakt-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.kontakt-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-send {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: 'Nunito', sans-serif;
}
.btn-send:hover { background: var(--red); transform: translateY(-1px); }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  margin-bottom: 1rem;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-reg {
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.helau-footer {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; }
  .about-logo { max-width: 200px; }
  .about-stats { justify-content: center; }

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

  .event-card { flex-wrap: wrap; }

  section { padding: 3.5rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero { padding: 7rem 1rem 3rem; }
  .hero-logo { width: 120px; height: 120px; }
}
