/* ============================================
   TSV Alemannia Stuttgart 1921 e.V. - Stylesheet
   ============================================ */

/* ----- CSS Variables ----- */
:root {
    --primary-color: #116530;
    --primary-dark: #0d4f26;
    --primary-light: #1a7a44;
    --accent-color: #e67e22;
    --accent-gold: #f39c12;
    --accent-warm: #d35400;
    --white: #FFFFFF;
    --dark-gray: #222222;
    --light-gray: #F9F7F2;
    --warm-white: #FFFEF8;
    --gray: #666666;
    --shadow: 0 4px 20px rgba(17, 101, 48, 0.15);
    --shadow-hover: 0 12px 40px rgba(17, 101, 48, 0.25);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --max-width: 1200px;
}

/* ----- Reset & Base ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-gold));
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ----- Header & Navigation ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #116530;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.header .logo-text {
    color: #FFFFFF;
}

.header .logo-text span {
    color: #FFFFFF;
    opacity: 0.9;
}

.header .nav-link {
    color: #FFFFFF;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: #FFFFFF;
}

.header .nav-link::after {
    background-color: #FFFFFF;
}

.header .hamburger span {
    background-color: #FFFFFF;
}

.header.scrolled {
    padding: 10px 0;
}

/* Hide header on scroll down */
.header {
    transition: transform 0.3s ease-in-out;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.logo-text span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-cta {
    margin-left: 20px;
    background: #FFFFFF;
    color: #116530;
    border: 2px solid #FFFFFF;
}

.nav-cta:hover {
    background: transparent;
    color: #FFFFFF;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 3px;
    transition: var(--transition);
}

/* ----- Hero Section ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1551958219-acbc608c6377?w=1600');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(17, 101, 48, 0.92) 0%, 
        rgba(26, 122, 68, 0.85) 50%,
        rgba(230, 126, 34, 0.3) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="150" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="50"/></svg>');
    background-size: cover;
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-gold));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--white), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ----- About Section ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(17, 101, 48, 0.1), rgba(230, 126, 34, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 500;
}

/* ----- Teams Section ----- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.team-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(17, 101, 48, 0.8) 100%);
}

.team-content {
    padding: 25px;
}

.team-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.team-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.team-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.team-info-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* ----- Events Section ----- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
}

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

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-day {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-details {
    padding: 25px;
    flex: 1;
}

.event-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-details p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--gray);
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ----- News Section ----- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(17, 101, 48, 0.6) 100%);
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 15px;
}

.news-link:hover {
    gap: 12px;
}

/* ----- Stats Section ----- */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.2) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--white), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ----- Gallery Section ----- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(17, 101, 48, 0.7) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ----- CTA Section ----- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="150" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: cover;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- Footer ----- */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about .logo-text {
    color: var(--white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ----- Page Header ----- */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><circle cx="200" cy="200" r="150" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: cover;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ----- Teams Page ----- */
.teams-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.team-detail-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.team-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 30px;
    color: var(--white);
}

.team-detail-header h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 5px;
}

.team-detail-header span {
    font-size: 1rem;
    opacity: 0.9;
}

.team-detail-body {
    padding: 30px;
}

.team-detail-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-block h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 10px;
}

.info-block p {
    font-size: 1rem;
    color: var(--dark-gray);
}

.trainer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trainer-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.trainer-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
}

.trainer-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(17, 101, 48, 0.7) 100%);
}

.trainer-info {
    padding: 20px;
}

.trainer-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.trainer-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.trainer-contact {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ----- Verein Page ----- */
.history-timeline {
    position: relative;
    padding-left: 40px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 30px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-year {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-item p {
    color: var(--gray);
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(17, 101, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray);
    line-height: 1.6;
}

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

.board-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.board-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.board-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.board-role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.board-contact {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ----- Events Page ----- */
.events-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.calendar-event {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
}

.calendar-event:hover {
    box-shadow: var(--shadow-hover);
}

.calendar-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendar-day {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.calendar-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.calendar-details {
    padding: 20px;
    flex: 1;
}

.calendar-details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.calendar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.calendar-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(17, 101, 48, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    margin-top: 10px;
}

/* ----- Mitglied Page ----- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.6;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 30px;
    color: var(--white);
    text-align: center;
}

.pricing-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.pricing-body {
    padding: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--primary-color);
    font-weight: bold;
}

.registration-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.registration-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    min-width: 200px;
}

/* ----- Kontakt Page ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(17, 101, 48, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--gray);
    line-height: 1.6;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--gray);
}

.map-placeholder svg {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Mobile Styles ----- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Bottom Navigation - Hidden on Desktop by default */
.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    /* Bottom Navigation Bar - replaces hamburger menu */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        padding: 10px 5px 15px;
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-light);
        font-size: 0.7rem;
        gap: 4px;
        padding: 5px 10px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .bottom-nav-item:hover,
    .bottom-nav-item.active {
        color: var(--primary);
    }
    
    .bottom-nav-item.active {
        background: rgba(17, 101, 48, 0.1);
    }
    
    .bottom-nav-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .bottom-nav-icon svg {
        width: 20px;
        height: 20px;
    }
    
    /* Hide header nav and hamburger on mobile */
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
    
    /* Add padding to body for bottom nav */
    body {
        padding-bottom: 70px;
    }
    
    /* Adjust header for bottom nav */
    .header {
        padding: 15px 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .header.header-hidden {
        transform: translateY(-100%);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        padding: 15px;
        gap: 10px;
    }
    
    .event-day {
        font-size: 1.5rem;
    }
    
    /* Gallery Carousel Mobile */
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-item {
        min-width: 80%;
        scroll-snap-align: center;
        aspect-ratio: 4/3;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-more {
        min-width: 80%;
    }
    
    /* Hide scroll-to-top button on mobile - conflicts with bottom nav */
    .scroll-to-top {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .events-calendar {
        grid-template-columns: 1fr;
    }
    
    .calendar-event {
        flex-direction: column;
    }
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--light-gray);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2,
.map-wrapper h2,
.training-times-wrapper h2,
.contacts-wrapper h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.contact-intro {
    margin-bottom: 30px;
    color: var(--gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background: var(--white);
    color: var(--dark-gray);
    transition: var(--transition);
}

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

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

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-info-content p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-info-content a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-info-content a:hover {
    color: var(--primary-dark);
}

.map-wrapper {
    margin-bottom: 60px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.training-times-wrapper {
    margin-bottom: 60px;
}

.training-times-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.training-time-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.training-time-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.training-time-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.training-day {
    font-weight: 600;
    margin-bottom: 5px;
}

.training-hours {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.training-location {
    color: var(--gray);
    font-size: 14px;
}

.contacts-wrapper {
    margin-bottom: 60px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.contact-person-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.contact-person-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.person-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.contact-person-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.person-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.person-email a {
    color: var(--gray);
    font-size: 14px;
    transition: var(--transition);
}

.person-email a:hover {
    color: var(--primary-color);
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .training-times-grid,
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .training-times-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
    }
}