/* Reset und Basis-Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0f9ff 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.slot-machine {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  font-family: Segoe UI;
  font-size: 1.2rem;
  color: #d1d5db;
  border-radius: 8px;
  padding: 6px 12px;
  width: fit-content;
  margin: 0 auto;
}

.slot-machine span {
  display: inline-block;
  width: 1ch;
  transition: transform 0.2s ease-in-out;
}

/* Animationen */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}
.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}
.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}



/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #16a34a;
}

/* Clickable Images */
.clickable-image {
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

/* Floating Membership Button */
.floating-membership-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100px);
  animation: pulse 2s infinite;
}

.floating-membership-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-membership-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(22, 163, 74, 0.4);
  animation: none;
}

.floating-membership-btn i {
  position: relative;
}

.floating-membership-btn .fa-plus {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.8rem;
  background: #fbbf24;
  color: #92400e;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Header */
.header {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #166534 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.header-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.shape-1 {
  width: 384px;
  height: 384px;
  top: -192px;
  right: -192px;
}

.shape-2 {
  width: 256px;
  height: 256px;
  bottom: -128px;
  left: -128px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  position: relative;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.logo-inner {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #16a34a, #166534);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.logo-star {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  font-size: 0.75rem;
}

.club-info h1 {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(to right, white, #dcfce7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.club-info p {
  color: #dcfce7;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.badges {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.badge-gold {
  background: #fbbf24;
  color: #92400e;
}

.badge-white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.badge:hover {
  transform: scale(1.05);
}

.next-game {
  text-align: right;
}

.next-game p {
  color: #dcfce7;
  font-size: 0.875rem;
}

.next-game h3 {
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
}

/* Navigation - FIXED */
.navbar {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 4px solid #16a34a;
  transition: all 0.3s ease;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none;
  width: 100%;
  margin: 0;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.nav-links a:hover {
  color: #16a34a;
  transform: scale(1.1);
}

.nav-links a.active {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}

/* Mobile Menü: vertikal, kleinere Abstände */
@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    gap: 0; /* Kein Abstand zwischen den Listenelementen */
    padding: 0;
    margin: 0;
  }
  .nav-links li {
    margin: 0;
    padding: 0;
  }
  .nav-links li a {
    display: flex;
    align-items: center;
    padding: 20px 20px;      /* Weniger Abstand oben/unten und seitlich */
    font-size: 1em;         /* Optional: Schriftgröße etwas kleiner */
    line-height: 1.1;
    min-height: 0;          /* Kein Mindestabstand */
  }
  .nav-links li a i {
    margin-right: 6px;      /* Icon etwas näher am Text */
    font-size: 1em;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #374151;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* Hero Section */
.hero {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(22, 163, 74, 0.1), transparent, rgba(22, 163, 74, 0.1));
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  blur: 3rem;
  animation: float 6s ease-in-out infinite;
}

.floating-1 {
  width: 288px;
  height: 288px;
  background: rgba(34, 197, 94, 0.3);
  top: 0;
  left: 25%;
}

.floating-2 {
  width: 384px;
  height: 384px;
  background: rgba(34, 197, 94, 0.2);
  bottom: 0;
  right: 25%;
  animation-delay: -3s;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 1024px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out;
}

.highlight {
  display: block;
  color: #16a34a;
  background: linear-gradient(to right, #16a34a, #166534);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #15803d, #166534);
}

.btn-outline {
  border: 2px solid #16a34a;
  color: #16a34a;
  background: transparent;
}

.btn-outline:hover {
  background: #16a34a;
  color: white;
}

.btn-full {
  width: 100%;
}

.btn-gradient {
  background: linear-gradient(135deg, #3b82f6, #16a34a);
  color: white;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.stat-card i {
  font-size: 2rem;
  color: #16a34a;
  margin-bottom: 0.75rem;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #6b7280;
  font-weight: 500;
}

/* Sections */
section {
  padding: 1rem;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 512px;
  margin: 0 auto;
}

.section-subheader {
  text-align: center;
  margin: 4rem 0;
  animation: fadeInUp 0.8s ease-out;
}

.section-subheader h3 {
  font-size: 2.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-subheader p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 512px;
  margin: 0 auto;
}

/* Teams Section */
.teams {
  background: linear-gradient(to bottom, white, #f0f9ff);
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.5s ease;
  animation: fadeInUp 0.8s ease-out;
}

.team-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.team-card::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(135deg, var(--team-color-1), var(--team-color-2));
}

.team-card[data-color="green"] {
  --team-color-1: #16a34a;
  --team-color-2: #15803d;
}

.team-card[data-color="green-light"] {
  --team-color-1: #22c55e;
  --team-color-2: #16a34a;
}

.team-card[data-color="blue"] {
  --team-color-1: #3b82f6;
  --team-color-2: #2563eb;
}

.team-card[data-color="purple"] {
  --team-color-1: #8b5cf6;
  --team-color-2: #7c3aed;
}

.team-card[data-color="orange"] {
  --team-color-1: #f97316;
  --team-color-2: #ea580c;
}

.team-card[data-color="yellow"] {
  --team-color-1: #eab308;
  --team-color-2: #ca8a04;
}

.team-card[data-color="gray"] {
  --team-color-1: #6b7280;
  --team-color-2: #4b5563;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  position: relative;
}

.team-header h3 {
  font-size: 1.25rem;
  color: #1f2937;
  transition: color 0.3s ease;
}

.team-card:hover .team-header h3 {
  color: var(--team-color-1);
}

.team-badge {
  background: linear-gradient(135deg, var(--team-color-1), var(--team-color-2));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.team-league {
  color: #16a34a;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.team-card p {
  color: #6b7280;
  line-height: 1.6;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.team-info {
  padding: 0 1.5rem 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.info-item i {
  width: 1rem;
}

/* Team Training Times */
.team-training {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  margin-top: 1rem;
  padding-top: 1rem;
}

.team-training h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.team-training .training-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.time-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: "Courier New", monospace;
}

.time-badge.blue {
  background: #dbeafe;
  color: #1e40af;
}

.time-badge.green {
  background: #dcfce7;
  color: #166534;
}

.team-contact {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Team Action Buttons - NEW SQUARE DESIGN */
.team-action-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team-action-btn {
  position: relative;
  width: 90px;
  height: 40px;
  border: 2px solid var(--team-color-1);
  background: white;
  color: var(--team-color-1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.team-action-btn .btn-icon {
  transition: all 0.3s ease;
}

.team-action-btn .btn-text {
  position: absolute;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.team-action-btn:hover {
  background: var(--team-color-1);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  width: 110px;
}

.team-action-btn:hover .btn-icon {
  opacity: 0;
  transform: translateY(-10px);
}

.team-action-btn:hover .btn-text {
  opacity: 1;
  transform: translateY(0);
}

/* Verein Section */
.verein-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.5s ease;
  animation: fadeInUp 0.8s ease-out;
}

.card:hover {
  transform: scale(1.05);
}

.card-header {
  padding: 2rem;
  background: linear-gradient(135deg, var(--header-color-1), var(--header-color-2));
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.card-header.green {
  --header-color-1: #f0f9ff;
  --header-color-2: white;
  background: linear-gradient(135deg, #f0f9ff, white);
  color: #15803d;
}

.card-header.blue {
  --header-color-1: #eff6ff;
  --header-color-2: white;
  background: linear-gradient(135deg, #eff6ff, white);
  color: #1d4ed8;
}

.card-header.purple {
  --header-color-1: #f3e8ff;
  --header-color-2: white;
  background: linear-gradient(135deg, #f3e8ff, white);
  color: #7c3aed;
}

.card-header.purple-light {
  --header-color-1: #faf5ff;
  --header-color-2: white;
  background: linear-gradient(135deg, #faf5ff, white);
  color: #8b5cf6;
}

.card-header::before {
  content: "";
  display: block;
  height: 12px;
  background: linear-gradient(135deg, #16a34a, #166534);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.card-header.blue::before {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.card-header.purple::before {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.card-header.purple-light::before {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-header i {
  font-size: 1.5rem;
}

.card-content {
  padding: 2rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.text-gray-600 {
  color: #6b7280;
}

.leading-relaxed {
  line-height: 1.625;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  text-align: center;
}

.stat .stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #16a34a;
}

.stat .stat-label {
  font-size: 0.875rem;
  color: #6b7280;
}

/* History Content Layout - CHANGED: Image above text */
.history-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.history-image {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.history-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.history-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

/* Board Navigation - SIMPLIFIED ANIMATIONS */
.board-nav-btn {
  background: none;
  border: none;
  color: #1d4ed8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: auto;
}

.board-nav-btn:hover {
  background: rgba(29, 78, 216, 0.1);
  transform: scale(1.1) rotate(90deg);
}

.board-nav-btn.rotated {
  transform: rotate(180deg);
}

.board-nav-btn.rotated:hover {
  transform: rotate(180deg) scale(1.1);
}

/* Board Members - SIMPLIFIED */
.board-members {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  min-height: 600px;
  transition: opacity 0.3s ease;
}

.board-members.transitioning {
  opacity: 0.5;
}

.member {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateX(0);
}

.member:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  align-items: center;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
}

.member-avatar img.clickable-image:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.member-info,
.member-info-j{
  flex: 1;
}

.member-info h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.member-info-j p {
    color: #8448ea;
    font-weight: 500;
}
.member-info p {
  color: #1d4ed8;
  font-weight: 500;
}

.member-since {
  color: #6b7280;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
}

/* Youth Stats */
.youth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.youth-stat {
  text-align: center;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.youth-stat:hover {
  background: #f3e8ff;
  transform: scale(1.05);
}

.stat-icon-1 {
  font-size: 2rem;
  color: #8b5cf6;
  margin-bottom: 0.75rem;
}

.youth-stat .stat-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: #7c3aed;
  margin-bottom: 0.25rem;
}

.youth-stat .stat-label {
  color: #6b7280;
  font-weight: 500;
}


/* Founder Stats */
.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.founder-stat {
  text-align: center;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.founder-stat:hover {
  background: #dcfce7;
  transform: scale(1.05);
}

.stat-icon {
  font-size: 2rem;
  color: green; /* Grün */
  margin-bottom: 0.75rem;
}

.founder-stat .stat-number {
  font-size: 1.875rem;
  font-weight: bold;
  color: green; /* Grün */
  margin-bottom: 0.25rem;
}

.founder-stat .stat-label {
  color: #047857; /* Dunkleres Grün */
  font-weight: 500;
}

/* Vereinsheim Section */
.vereinsheim {
  background: linear-gradient(to bottom, #f0f9ff, white);
}

.vereinsheim-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.vereinsheim-card::before {
  content: "";
  display: block;
  height: 12px;
  background: linear-gradient(135deg, #16a34a, #15803d, #166534);
}

.vereinsheim-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.vereinsheim-info {
  padding: 3rem;
}

.vereinsheim-info h3 {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.feature-section,
.pricing-section {
  margin-bottom: 2rem;
}

.feature-section h4,
.pricing-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #15803d;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
  transition: color 0.3s ease;
}

.feature:hover {
  color: #16a34a;
}

.dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-card.members {
  background: #f0f9ff;
}

.price-card.members:hover {
  background: #dbeafe;
}

.price-card.non-members {
  background: #f9fafb;
}

.price-card.non-members:hover {
  background: #f3f4f6;
}

.price-card.deposit {
  background: #fffbeb;
}

.price-card.deposit:hover {
  background: #fef3c7;
}

.price-label {
  font-weight: 500;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
}

.price-card.members .price {
  color: #16a34a;
}

.price-card.non-members .price {
  color: #6b7280;
}

.price-card.deposit .price {
  color: #d97706;
}

.vereinsheim-visual {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.visual-content {
  text-align: center;
}

.icon-circle {
  width: 128px;
  height: 128px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: float 6s ease-in-out infinite;
}

.icon-circle i {
  font-size: 4rem;
  color: #16a34a;
}

.visual-content h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.visual-content p {
  color: #6b7280;
  line-height: 1.6;
}

/* Sportplatz Section */
.sportplatz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
}

.address-box {
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.address-box h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.address-box p {
  color: #6b7280;
  line-height: 1.6;
}

.map-container {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.transport-info h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.transport-info p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.transport-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.transport-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
}

.transport-item .dot {
  background: #3b82f6;
}

.facilities {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.facility {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.facility:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.facility-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.facility-info h5 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.facility-info p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Sponsoren Section - ENHANCED STYLING */
.sponsoren {
  background: linear-gradient(to bottom, #f9fafb, white);
  padding: 6rem 0;
}

.sponsor-carousel-container {
  margin-bottom: 6rem;
}

/* Sponsoren Carousel */
.slider {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0f9ff 100%);
    height: 200px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1100px;
    border-radius: 1.5rem;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 200px;
  position: absolute;
  width: 300px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  animation: scroll 90s linear infinite;
  display: flex;
  width: calc(250px * 62);
}

.slide {
  height: 200px;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
    .slider {
        background: linear-gradient(135deg, #fbfcfd 0%, #ffffff 50%, #fbfcfd 100%);
    }

    .slider::before,
    .slider::after {
        width: 100px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 60));
  }
}

/* Sponsor CTA Section - STYLED LIKE OTHER SECTIONS */
.sponsor-cta-section {
  max-width: 800px;
  margin: 0 auto;
}

.sponsor-cta-section .btn {
  display: block;
  margin: 2rem auto 0;
  width: fit-content;
}

.sponsoring-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.package {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.package:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.package h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #16a34a;
  margin-bottom: 0.5rem;
}

.package p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* News Section */
.news {
  background: linear-gradient(to bottom, white, #f0f9ff);
  padding-bottom: 6rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: white;
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-align: center;
  min-width: 60px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #16a34a;
  line-height: 1;
}

.news-date .month {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
}

.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  display: inline-block;
  background: #f0f9ff;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-content p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  flex: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.news-link:hover {
  color: #15803d;
  gap: 0.75rem;
}

.news-more {
  text-align: center;
}

/* Additional News - Hidden by default */
.additional-news {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.additional-news.show {
  display: grid;
}

/* Kontakt Section */
.kontakt {
  background: linear-gradient(to bottom, #f0f9ff, white);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: #dcfce7;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: #16a34a;
  font-size: 1.5rem;
}

.contact-info h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.contact-info p {
  color: #16a34a;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-info small {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Youth Content Layout - CHANGED: Image above text */
.youth-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.youth-image {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.youth-image img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.youth-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}


@media (max-width: 680px) {
  .footergwm {
    text-align: center;
    justify-content: center; /* bei Flexbox-Layout */
    align-items: center;     /* vertikal bei Flexbox */
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1f2937, #16a34a, #1f2937);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}





.footer-logo h3 {
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-logo p {
  color: #dcfce7;
  font-size: 0.875rem;
}

.footer-section p {
  color: #d1d5db;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(8px);
}

.next-games {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game {
  transition: transform 0.3s ease;
}

.game:hover {
  transform: scale(1.05);
}

.game p {
  margin-bottom: 0.25rem;
}

.game strong {
  color: white;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #d1d5db;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: scale(1.1);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 1rem;
  width: 90%;
  max-width: 1000px;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f0f9ff, white);
}

.modal-header h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1.5rem;
}

.modal-close {
  font-size: 2rem;
  font-weight: bold;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: #16a34a;
}

.modal-body {
  padding: 2rem;
}

.modal-date {
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-tag {
  display: inline-block;
  background: #f0f9ff;
  color: #16a34a;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.modal-text {
  color: #374151;
  line-height: 1.8;
  font-size: 1.1rem;
}

.modal-text p {
  margin-bottom: 1.5rem;
}

/* Booking Form Styles */
.booking-form {
  max-width: 100%;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #16a34a;
}

.form-hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.checkbox-label:hover {
  background-color: #f9fafb;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 0.25rem;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background-color: #16a34a;
  border-color: #16a34a;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.radio-label:hover {
  background-color: #f9fafb;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-mark {
  border-color: #16a34a;
}

.radio-label input[type="radio"]:checked + .radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #16a34a;
  border-radius: 50%;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .verein-grid,
  .sportplatz-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .vereinsheim-content {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .history-content {
    grid-template-columns: 1fr;
  }

  .youth-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Mobile Menu */
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 2rem;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teams-grid {
    grid-template-columns: 1fr;
  }

  .youth-stats {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .team-action-buttons {
    gap: 0.5rem;
  }

  .team-action-btn {
    width: 75px;
    height: 35px;
    font-size: 1rem;
  }

  .team-action-btn:hover {
    width: 95px;
  }

  .team-action-btn .btn-text {
    font-size: 0.7rem;
  }

  .floating-membership-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}


@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .sponsoring-packages {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    max-height: 70vh;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.25rem;
  }

  .team-action-buttons {
    gap: 0.25rem;
  }

  .team-action-btn {
    width: 65px;
    height: 32px;
    font-size: 0.9rem;
  }

  .team-action-btn:hover {
    width: 85px;
  }

  .team-action-btn .btn-text {
    font-size: 0.65rem;
  }

  .floating-membership-btn {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Logo Image Clean Style - UPDATED: Better display with white background */
.logo-image-clean {
  width: 90px;
  height: 100px;
  padding: 8px;
  transition: transform 0.3s ease;
}

.logo-image-clean:hover {
  transform: scale(1.05);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.p-4 {
  padding: 1rem;
}

.rounded {
  border-radius: 0.5rem;
}

.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.transition {
  transition: all 0.3s ease;
}

/* Hover Effects */
.hover-scale:hover {
  transform: scale(1.05);
}

.hover-shadow:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #16a34a;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .modal,
  .floating-membership-btn {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .card,
  .team-card,
  .news-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-section {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .club-info {
    margin-top: 15px;
  }

  .next-game {
    margin-top: 20px;
    text-align: center;
  }

  /* Optional: Anpassung der Shapes für mobile Ansicht */
  .header-shapes {
    display: none; /* oder anpassen wie benötigt */
  }
}

@media (max-width: 768px) {
    .member {
        display: grid;
        grid-template-areas:
            "avatar info"
            "avatar since";
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.5rem 1rem;
    }

    .member-avatar {
        grid-area: avatar;
    }

    .member-info {
        grid-area: info;
    }

    .member-since {
        grid-area: since;
        margin: 0;
        padding: 0.25rem 0.75rem; /* Behalte den originalen Padding bei */
        border: 1px solid rgb(209, 213, 219);
        border-radius: 9999px;
        width: fit-content; /* 🔥 Wichtig: Begrenzt die Breite auf Textinhalt */
        max-width: 100%; /* Verhindert Überlauf */
        box-sizing: border-box; /* Bezieht Padding in die Breite ein */
    }
}

input[name="dsgvoAccepted"]:user-invalid ~ .dsgvo-text {
    color: red;
    font-weight: bold;
}

/* Fallback für Browser, die `:user-invalid` nicht unterstützen (z. B. Firefox) */
input[name="dsgvoAccepted"]:invalid:focus ~ .dsgvo-text {
    color: red;
    font-weight: bold;
}

.price-tag {
    display: inline;
    transition: all 0.3s ease;
}

/* Mobile Datepicker Styles */
@media screen and (max-width: 768px) {
    .flatpickr-calendar {
        width: 100% !important;
        max-width: 320px;
        font-size: 16px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .flatpickr-day {
        height: 40px !important;
        line-height: 40px !important;
        margin: 2px !important;
    }

    .flatpickr-months .flatpickr-month {
        height: 50px !important;
    }

    .flatpickr-current-month {
        padding: 10px 0 0 0 !important;
        font-size: 16px !important;
    }

    .flatpickr-monthDropdown-months {
        height: 30px !important;
    }

    .available-date, .booked-date {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .modal-tab {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        padding: 1.3rem 0;  /* von 0.75rem auf 1.25rem erhöht */
        border-bottom: 4px solid #16a34a;
    }

    .nav-links {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        margin: 2px 0;
        text-align: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .mobile-menu-toggle {
        position: absolute;
        top: 50%;
        right: 1.5rem;  /* von 1rem auf 1.5rem erhöht */
        transform: translateY(-50%);
        z-index: 1001;
        width: 35px;  /* von 30px auf 35px erhöht */
        height: 24px;  /* von 21px auf 24px erhöht */
    }

    .navbar-content {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
        .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);  /* von 9px auf 10.5px geändert */
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);  /* von -9px auf -10.5px geändert */
    }

    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #374151;
        border-radius: 3px;
        transition: all 0.3s ease;
        transform-origin: center;  /* Transformationsursprung zentriert */
    }
        .header {
        padding-top: 90px;  /* Mehr Platz für die fixierte Navbar */
    }

    .header-content {
        padding-top: 1rem;
    }

    .logo-section {
        margin-top: 1rem;
    }
}

/* Mobile Warenkorb-Icon (standardmäßig versteckt) */
.cart-icon-mobile {
    display: none;
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    color: #374151;
    font-size: 1.25rem;
    z-index: 1001;
}

/* Desktop-Only-Link (standardmäßig sichtbar) */
.desktop-only {
    display: block;
}

/* Mobile Styles (≤ 768px) */
@media screen and (max-width: 768px) {
    /* Mobile Warenkorb anzeigen */
    .cart-icon-mobile {
        display: block;
    }

    /* Desktop-Textlink ausblenden */
    .desktop-only {
        display: none !important;
    }

    /* Abstand zwischen Burger-Menü und Warenkorb */
    .mobile-menu-toggle {
        right: 1.5rem;
        left: auto;
    }

    /* Nav-Links anpassen (falls nötig) */
    .nav-links {
        top: 75px;
    }
}

/* Standard-Zustand: Chevron zeigt nach rechts */
.nav-btn {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

/* Aktiver Zustand: Chevron zeigt nach unten */
.nav-btn.rotated {
    transform: rotate(90deg);
}

.modal-navbar {
    background-color: #f8f8f8;
    padding: 10px 0;
    margin-bottom: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* Fixiert die Navbar */
    top: 0; /* Abstand zum oberen Rand */
    z-index: 1000; /* Stellt sicher, dass die Navbar über dem Content liegt */
}

/* Hintergrund für bessere Lesbarkeit */
.modal-navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}


.navbar-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.modal-tab,
 .modal-tab2{
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.modal-tab:hover,
 .modal-tab2:hover {
  color: #16a34a;
  transform: scale(1.1);
}

.modal-tab.active,
 .modal-tab2.active {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}

.tab-icon {
    font-size: 1.1rem;
}

.tab-content,
.tab-content2 {
    display: none;
    min-height: 300px;
    margin-top: 5px;
    width: 100%;
    max-width: 1200px;  /* maximale Breite */
    margin-left: auto;   /* horizontale Zentrierung */
    margin-right: auto; /* horizontale Zentrierung */
    padding: 0 1rem;    /* seitlicher Abstand */
}


.tab-content.active,
.tab-content2.active {
    display: block;
}

.fp-widget,
.fp-widget2 {
    width: 100%;
    min-height: 300px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 0 auto;    /* horizontale Zentrierung */
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding-top: 2rem; /* Abstand nach oben */
}

.team-card[data-color="white"] {
    grid-column: span 2;
    height: 450px; /* Feste Höhe */
    overflow: hidden; /* Verhindert Überlauf */
}

.team-card[data-color="white"] .team-header {
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Scrollbar wenn nötig */
}

.team-card[data-color="white"] .fussballde_widget {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .team-card[data-color="white"] {
        grid-column: span 1; /* Nimmt nur eine Spalte ein */
        margin-top: 0; /* Kein zusätzlicher Abstand */
}
}
  
.member-info-j p {
    color: #8448ea;
}

@media (max-width: 768px) {
  .card-header.purple h3 {
    font-size: 1.2rem;
  }
}

/* Standard-Größe */
.card-header h3 {
  font-size: 1.25rem;
}
