/* =================================================
   GRUNDLAGEN
   ================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f4f4;
  color: #2a2a2a;
  line-height: 1.6;
}

a {
  color: #b11226;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =================================================
   HERO
   ================================================= */

.hero {
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("images/hero/verein.jpg") center / cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
}

.hero.small {
  padding: 60px 20px;
}

.hero.hero-home {
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("images/hero/verein.jpg") center / cover no-repeat;
  padding: 140px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 90px;
}

.hero.hero-home h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
}

.hero.hero-home p {
  font-size: 1.2rem;
}

/* =================================================
   NAVIGATION – SAUBER & STABIL
   ================================================= */

.navbar {
  background: #ffffff;
  border-bottom: 4px solid #b11226;
}

.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar li {
  margin: 0;
}

.navbar a {
  display: block;
  padding: 14px 18px;
  font-weight: 600;
  color: #2a2a2a;
}

.navbar a:hover {
  background: #b11226;
  color: #ffffff;
}

/* =================================================
   SECTIONS
   ================================================= */

.section {
  max-width: 1100px;
  margin: auto;
  padding: 64px 20px;
}

.section h2 {
  border-bottom: 3px solid #b11226;
  display: inline-block;
  margin-bottom: 24px;
}

.highlight {
  background: #ffffff;
}

.hint {
  color: #777;
  text-align: center;
}

/* =================================================
   KARTEN (KONTAKT, GRUPPEN, ETC.)
   ================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =================================================
   VORSTAND – KACHELN
   ================================================= */

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.board-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.board-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}

.board-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.board-card small {
  color: #777;
}

/* =================================================
   FOOTER
   ================================================= */

.footer {
  background: #1f1f1f;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
}

.footer a {
  color: #f2c400;
}

.footer a:hover {
  text-decoration: underline;
}

/* =================================================
   RESPONSIVE
   ================================================= */

@media (max-width: 600px) {
  .hero.hero-home {
    padding-top: 60px;
  }
}
``

/* =================================================
   Vorstand – klar nach Funktionen, 2er-Gruppen
   ================================================= */

.board-group {
  margin-top: 32px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* IMMER 2 */
  gap: 32px;
  margin-top: 24px;
}

.board-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Bild */
.board-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

/* Name */
.board-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* Funktion */
.board-card small {
  color: #777;
  font-size: 0.95rem;
}

/* Mobil: untereinander */
@media (max-width: 600px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}

/* Inhaltsbilder (z. B. Pritschenkinder, Fahnenschwenker) */
.content-image {
  max-width: 520px;      /* ← HIER steuerst du die Größe */
  margin: 32px auto;
  text-align: center;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}



/* ===============================
   Spielgruppen – große Kacheln für Bands & DJs
   =============================== */

/* Normale Kacheln (Kapellen) */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Größere Kacheln (Bands & DJs) */
.cards.large-media {
  grid-template-columns: repeat(2, 1fr); /* 💥 BREITER */
}

.cards.large-media .card img {
  height: 300px; /* 💥 SICHTBAR GRÖSSER */
}

/* Mobil: wieder untereinander */
@media (max-width: 700px) {
  .cards.large-media {
    grid-template-columns: 1fr;
  }

  .cards.large-media .card img {
    height: 220px;
  }
}

/* ===============================
   Sponsoren – eigenständiges Layout
   =============================== */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.package {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.package-price {
  font-weight: 700;
  margin-top: 16px;
}

.sponsor-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 24px 0 40px;
}

.sponsor-gallery img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: white;
  padding: 12px;
  border-radius: 8px;
}


/* =================================================
   SPONSOREN – ENDGÜLTIG STABIL
   ================================================= */

/* Hauptsponsor-Paket */
.package-main {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f9f3c0);
  border: 4px solid #e0b200;           /* ✅ RAHMEN ZURÜCK */
  text-align: center;
}

.package-main-price {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 20px;
}

.package-main-cta {
  margin-top: 24px;
}

/* Bronze / Silber / Gold – eigenes Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.package {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}

/* Paketfarben */
.package.bronze {
  background: linear-gradient(135deg, #f5d5b5, #cd7f32);
}

.package.silber {
  background: linear-gradient(135deg, #f5f5f5, #dcdcdc);
}

.package.gold {
  background: linear-gradient(135deg, #fff4b8, #f2c400);
}

/* Preis */
.package-price {
  margin-top: 18px;
  font-weight: 800;
  font-size: 1.2rem;
}

/* =================================================
   Sponsoring-Pakete – Preis immer unten, zentriert
   ================================================= */

/* Einzelnes Paket */
.package {
  display: flex;
  flex-direction: column;   /* vertikale Struktur */
  justify-content: flex-start;
}

/* Inhalt wächst nach oben */
.package ul {
  flex-grow: 1;             /* 👈 DAS ist entscheidend */
  margin-bottom: 12px;
  padding-left: 18px;
}

/* Preis immer unten */
.package-price {
  margin-top: auto;         /* 👈 schiebt Preis nach unten */
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
}

/* Hauptsponsor-Paket ebenfalls sauber */
.package-main {
  display: flex;
  flex-direction: column;
}

.package-main ul {
  flex-grow: 1;
}

.package-main-price {
  margin-top: auto;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
}

/* =================================================
   Sponsoren – Farbschema identisch zu Paketen
   ================================================= */

/* Grundlayout Sponsor-Galerie */
.sponsor-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 28px;
  border-radius: 14px;
}

/* LOGOKACHELN */
.sponsor-gallery img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #ffffff;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* ===============================
   GOLD
   =============================== */
.sponsor-gallery.gold {
  background: linear-gradient(135deg, #fff4b8, #f2c400);
}

/* ===============================
   SILBER
   =============================== */
.sponsor-gallery.silber {
  background: linear-gradient(135deg, #f5f5f5, #dcdcdc);
}

/* ===============================
   BRONZE
   =============================== */
.sponsor-gallery.bronze {
  background: linear-gradient(135deg, #f5d5b5, #cd7f32);
}

/* Optional: Hover */
.sponsor-gallery a:hover img {
  transform: scale(1.04);
  transition: transform 0.15s ease;
}
``
/* =================================================
   Hauptsponsoren – Premium-Darstellung
   ================================================= */

.sponsor-gallery.main {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;

  padding: 36px;
  margin-top: 24px;

  background: linear-gradient(135deg, #ffffff, #f9f3c0);
  border: 4px solid #e0b200;      /* ✅ Rahmen */
  border-radius: 18px;
}

.sponsor-gallery.main img {
  max-width: 320px;
  max-height: 160px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Hauptsponsoren – klare Trennung */
.main-sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.main-sponsor-item {
  padding: 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f9f3c0);
  border: 4px solid #e0b200;
  text-align: center;
}

.main-sponsor-item + .main-sponsor-item {
  margin-top: 16px;
}

.main-sponsor-item img {
  max-width: 520px;
  max-height: 380px;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
}

.main-sponsor-link a {
  font-weight: 700;
}
``

/* =================================================
   Gold-Sponsoren – Logos größer
   ================================================= */


.sponsor-gallery.gold img {
  width: auto;              /* ⬅️ hebt width:100% auf */
  height: auto;

  max-width: 380px;         /* Größe hier steuern */
  max-height: 280px;

  margin: auto;
}

/* =================================================
   GOLD-SPONSOREN – 2 KACHELN, GRÖSSERE LOGOS
   ================================================= */

/* Genau 2 Sponsoren pro Zeile */
.sponsor-gallery.gold {
  grid-template-columns: repeat(2, 1fr);
}

/* Logos bei Gold bewusst größer */
.sponsor-gallery.gold img {
  width: auto !important;      /* hebt width:100% auf */
  height: auto !important;

  max-width: 500px;
  max-height: 400px;

  margin: auto;
}

/* Mobil: untereinander & etwas kleiner */
@media (max-width: 650px) {
  .sponsor-gallery.gold {
    grid-template-columns: 1fr;
  }

  .sponsor-gallery.gold img {
    max-width: 440px;
    max-height: 350px;
  }
}

/* =================================================
   Sponsoren – Lightbox & Hover
   ================================================= */

/* Hover-Effekt (zeigt Klickbarkeit) */
.sponsor-gallery img,
.main-sponsor-item img {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-gallery img:hover,
.main-sponsor-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Lightbox-Hintergrund */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Aktiv */
#lightbox.active {
  display: flex;
}

/* Großes Bild */
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  object-fit: contain;
}


/* =================================================
   Silber-Sponsoren – etwas größer als Bronze
   ================================================= */

.sponsor-gallery.silber img {
  width: auto;        /* hebt width:100% auf */
  height: auto;

  max-width: 320px;   /* größer als Bronze */
  max-height: 240px;

  margin: auto;
}

/* =================================================
   Bronze-Sponsoren – 4 Kacheln & etwas größere Logos
   ================================================= */

/* Genau 4 Sponsoren pro Zeile */
.sponsor-gallery.bronze {
  grid-template-columns: repeat(4, 1fr);
}

/* Bronze-Logos etwas größer, aber kleiner als Silber */
.sponsor-gallery.bronze img {
  width: auto;        /* hebt width:100% auf */
  height: auto;

  max-width: 240px;   /* größer als vorher */
  max-height: 200px;

  margin: auto;
}

/* Tablet: 2 pro Zeile */
@media (max-width: 900px) {
  .sponsor-gallery.bronze {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil: untereinander */
@media (max-width: 600px) {
  .sponsor-gallery.bronze {
    grid-template-columns: 1fr;
  }

  .sponsor-gallery.bronze img {
    max-width: 250px;
    max-height: 180px;
  }
}
/* =================================================
   Bronze-Sponsoren – Kacheln & Logos einheitlich
   ================================================= */

/* 4 Kacheln pro Zeile */
.sponsor-gallery.bronze {
  grid-template-columns: repeat(4, 1fr);
}

/* Jede Bronzekachel gleich hoch */
.sponsor-gallery.bronze a,
.sponsor-gallery.bronze div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;             /* ⬅️ HIER steuerst du die Einheitlichkeit */
}

/* Logo IMMER gleich skaliert */
.sponsor-gallery.bronze img {
  max-width: 250px;
  max-height: 180px;

  width: auto;
  height: auto;
  object-fit: contain;
}
``

/* =================================================
   Galerie – 2 Kacheln, gleiche Größe, ganzes Bild sichtbar
   ================================================= */

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ immer 2 */
  gap: 24px;
  margin-top: 24px;
}

/* Einheitliche Kachel */
.image-item {
  height: 240px;               /* ✅ ALLE gleich hoch */
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Bild: immer komplett sichtbar */
.image-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;         /* ✅ GANZES BILD */
  cursor: zoom-in;
}

/* Tablet & Mobil */
@media (max-width: 800px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-item {
    height: 200px;
  }
}

/* =================================================
   Galerie – feste 2x2-Kacheloptik (Gold-Logik)
   ================================================= */

.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 5px;
  margin-top: 5px;
}

/* Einheitliche Kachel */
.gallery-grid .image-item {
  height: 240px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Ganzes Bild sichtbar */
.gallery-grid .image-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
