/* Google Font Einbindung (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Tailwind-inspirierte CSS Custom Properties */
:root {
  --primary: #1e40af;
  --primary-hover: #1d4ed8;
  --secondary: #64748b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --background: #f9fafb;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-700: #374151;
  --gray-900: #111827;
  --blue-100: #dbeafe;
  --blue-800: #1e40af;
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--gray-50);
  color: var(--gray-900);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: 50;
}

nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: var(--primary-hover);
}

.desktop-nav {
  display: none;
  margin-left: 2.5rem;
}

.nav-links {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--gray-100);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background-color: rgba(30, 64, 175, 0.1);
}

.mobile-menu-button {
  display: block;
  color: var(--gray-700);
  font-size: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-button:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  padding: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
  background-color: var(--white);
  border-top: 1px solid #e5e7eb;
}

.mobile-menu.show {
  display: block;
}

.mobile-nav-link {
  display: block;
  color: var(--gray-700);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* Desktop Navigation anzeigen ab md Breakpoint */
@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }
  
  .mobile-menu-button {
    display: none;
  }
}

/* Main Content */
main {
  min-height: calc(100vh - 120px);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--blue-800));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--blue-100);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.hero-button:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.hero-button i {
  margin-right: 0.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
}

/* Content Sections */
.section {
  padding: 5rem 0;
}

.section.white {
  background-color: var(--white);
}

.section.gray {
  background-color: var(--gray-50);
}

.section.primary {
  background-color: var(--primary);
  color: var(--white);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  text-align: center;
}

.section.primary .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--secondary);
  max-width: 32rem;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section.primary .section-subtitle {
  color: var(--blue-100);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* Two Column Layout */
.two-column {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

/* Three Column Grid */
.three-column {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .three-column {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.card-icon {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
}

.timeline-date {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Toggle Sections */
.toggle-section {
  margin-bottom: 1rem;
}

.toggle-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background-color: var(--gray-100);
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: left;
}

.toggle-button:hover {
  background-color: #e5e7eb;
}

.toggle-arrow {
  color: var(--primary);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.toggle-arrow.rotated {
  transform: rotate(90deg);
}

.toggle-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.toggle-content {
  display: none;
  margin-top: 1rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb;
}

.toggle-content.show {
  display: block;
}

.toggle-content p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Vereine Grid */
.vereine-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
}

@media (min-width: 640px) {
  .vereine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vereine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vereine-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--white);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.vereine-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.vereine-item i {
  color: var(--primary);
  font-size: 1.25rem;
}

/* Image */
.image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  transition: box-shadow 0.3s ease;
}

.image:hover {
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.25);
}

.portrait {
  width: 20rem;
  height: 24rem;
  object-fit: cover;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .portrait {
    margin: 0;
  }
}

/* Contact Section */
.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 24rem;
  margin: 0 auto;
  text-align: center;
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.contact-header i {
  color: var(--accent);
  font-size: 1.5rem;
}

.contact-header span {
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--accent);
}

/* Footer */
footer {
  background-color: var(--gray-900);
  color: #d1d5db;
  padding: 2rem 0;
}

.footer-content {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-contrast {
  background-color: var(--accent);
  color: var(--white);
}

.btn-contrast:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.prose {
  max-width: none;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.prose strong {
  font-weight: 600;
  color: var(--gray-900);
}