/* CSS Variables for Theming */
:root {
    --bg-primary: #f8f9fa;
    --bg-secondary: #fff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --accent-color: #CF0516;
    --accent-hover: #b91c1c;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
}

body.dark-mode {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #707070;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.8);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main {
    background: var(--bg-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-top {
    padding: 1.5rem 2rem 1rem;
}

.brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.brand-logo {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
    content: url('OSC_Logo_Black.png');
}

body.dark-mode .brand-logo {
    content: url('OSC_Logo_White.png');
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: absolute;
    left: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: #dc2626;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-pills-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.search-icon-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0.25rem;
    z-index: 10;
    height: calc(100% - 0.5rem);
    margin: 0.25rem;
}

.nav-pills-wrapper.search-active .search-icon-btn {
    opacity: 1;
    pointer-events: all;
    background: #dc2626;
    color: #fff;
}

.search-icon-btn:hover {
    background: #b91c1c;
    color: #fff;
}

.nav-pills {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    padding: 0.25rem;
    border-radius: 50px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.nav-items {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.nav-pills-wrapper.search-active .nav-items {
    opacity: 0;
    pointer-events: none;
}

.search-input-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.75rem 1rem;
    padding-left: 4.5rem;
    padding-right: 2.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    border-radius: 50px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.nav-pills-wrapper.search-active .search-input-overlay {
    opacity: 1;
    pointer-events: all;
}

.search-input-overlay::placeholder {
    color: var(--text-tertiary);
}

.search-close-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: absolute;
    right: 2rem;
}

.theme-toggle:hover {
    color: var(--accent-color);
    background: rgba(220, 38, 38, 0.1);
    transform: scale(1.05);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:active i {
    transform: rotate(20deg);
}

.nav-pills-wrapper.search-active .search-close-btn {
    opacity: 1;
    pointer-events: all;
}

.search-close-btn:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.nav-pill {
    position: relative;
    z-index: 2;
}

.pill-indicator {
    position: absolute;
    background: #dc2626;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    pointer-events: none;
    opacity: 1;
}

.nav-pills-wrapper.search-active .pill-indicator {
    opacity: 0;
}

.nav-pill a {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.nav-pill:hover a {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.nav-pill.active a {
    color: #fff;
    background: transparent;
    position: relative;
    z-index: 3;
}

.nav-pill.active:hover a {
    background: transparent;
    transform: translateY(-1px);
}

/* Search Component */
.nav-pill-search {
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pills-wrapper.search-active .nav-pill-search {
    opacity: 0;
    pointer-events: none;
}

.search-toggle {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.search-toggle:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}


/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: #fff;
    z-index: 2;
    position: relative;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.cta-button {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.slide-image {
    flex: 1;
    position: relative;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, transparent 30%);
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.indicator:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.5);
}

/* Sports Section */
.sports-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.sports-section .cta-button {
    display: block;
    margin: 2rem auto 0;
}

.section-subtitle {
    text-align: left;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: -2rem 0 3rem;

}

.sports-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.sports-carousel-container {
    overflow: hidden;
    position: relative;
    padding: 2px;
    margin: -2px;
}

.sports-orbit {
    display: flex !important;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    perspective: none !important;
    animation: none !important;
}

.orbit-item {
    flex: 0 0 calc(20% - 1.2rem);
    min-width: 180px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    transform-style: flat !important;
    animation: none !important;
    opacity: 1 !important;
}

.sport-card {
    background: var(--bg-secondary);
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1;
    border: 2px solid transparent;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.sports-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-secondary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sports-carousel-nav:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.sports-carousel-nav.prev {
    left: 10px;
}

.sports-carousel-nav.next {
    right: 10px;
}

.sport-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sport-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

body.dark-mode .sport-icon img {
    filter: brightness(0) invert(1);
}

.sport-card:hover .sport-icon img {
    filter: brightness(0) saturate(100%) invert(23%) sepia(89%) saturate(4367%) hue-rotate(346deg) brightness(94%) contrast(95%);
}

body.dark-mode .sport-card:hover .sport-icon img {
    filter: brightness(0) saturate(100%) invert(23%) sepia(89%) saturate(4367%) hue-rotate(346deg) brightness(94%) contrast(95%);
}

.sport-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.sport-card:hover .sport-name {
    color: var(--accent-color);
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.blog-section .container {
    max-width: 1200px;
    background: rgba(207, 5, 22, 0.15);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

body.dark-mode .blog-section .container {
    background: var(--bg-secondary);
}

.blog-section .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 1400px;
    background-image: url('osc-deer.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

body.dark-mode .blog-section .container::before {
    filter: brightness(0) invert(1);
}

.blog-section .section-title,
.blog-section .blog-grid,
.blog-section .blog-button-container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.blog-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 180px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.date {
    font-weight: 500;
}

.category {
    background: rgba(220, 38, 38, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: var(--accent-color);
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

.read-more i {
transition: transform 0.3s ease;
}

.read-more:hover i {
transform: translateX(2px);
}

.blog-button-container {
    text-align: center;
    margin-top: 2.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-form-wrapper h3,
.contact-info-box h3,
.map-wrapper h3,
.directions-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(207, 5, 22, 0.1);
}

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

/* Contact Info */
.contact-info-wrapper {
    display: block;
}

.contact-info-split {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-left,
.contact-info-right {
    display: flex;
    flex-direction: column;
}

.contact-info-box {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    width: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-hover);
}

/* Map and Directions Combined */
.map-directions-combined {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.map-directions-left,
.map-directions-right {
    display: flex;
    flex-direction: column;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 400px;
    width: 100%;
    flex-grow: 1;
    margin-top: 1.5rem;
}

.directions-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.direction-item {
    display: flex;
    gap: 1rem;
}

.direction-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    width: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.direction-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.direction-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Verein Section */
.verein-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.verein-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.verein-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-md);
}

.verein-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(207, 5, 22, 0.15));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 1;
}

.verein-card-overlay::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    background: rgba(207, 5, 22, 0.95);
    transition: height 0.4s ease;
    z-index: -1;
}

.verein-card.expanded .verein-card-overlay::after {
    height: 100%;
    top: 0;
}

.verein-card-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.verein-card-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

.verein-card-toggle:hover {
    background: var(--accent-color);
    color: white;
}

.verein-card-toggle i {
    font-size: 1.25rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.verein-card-toggle:hover i {
    color: white;
}

.verein-card:not(.expanded) .verein-card-toggle i.fa-minus {
    display: none;
}

.verein-card:not(.expanded) .verein-card-toggle i.fa-plus {
    display: block;
}

.verein-card.expanded .verein-card-toggle i.fa-plus {
    display: none;
}

.verein-card.expanded .verein-card-toggle i.fa-minus {
    display: block;
}

.verein-card-content {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.2s;
    z-index: 2;
}

.verein-card.expanded .verein-card-content {
    opacity: 1;
    pointer-events: auto;
}

.verein-card-content p {
    color: white;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.verein-weiterlesen {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding-top: 1.5rem;
    transition: opacity 0.3s ease;
}

.verein-weiterlesen:hover {
    opacity: 0.8;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.partners-section .container {
    max-width: 1200px;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease;
}

body.dark-mode .partner-logo img {
    filter: grayscale(100%) brightness(1.5);
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

body.dark-mode .partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Page Header */
.page-header {
    position: relative;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(207, 5, 22, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-align: center;
}

.page-header-subtitle {
    color: white;
    font-size: 1.25rem;
    margin: 0;
    text-align: center;
    opacity: 0.95;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.style-block {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.style-block:last-child {
    border-bottom: none;
}

/* Blockquote */
blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

blockquote p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

blockquote cite {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: normal;
}

/* Secondary Button */
.secondary-button {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
}

.secondary-button:hover {
    background: var(--accent-color);
    color: white;
}

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

.outline-button:hover {
    background: var(--accent-color);
    color: white;
}

/* Content Table */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.content-table thead {
    background: var(--accent-color);
    color: white;
}

.content-table th,
.content-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.content-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.content-table tbody tr:hover {
    background: rgba(207, 5, 22, 0.05);
}

.content-table tbody tr:last-child td {
    border-bottom: none;
}

/* Icon Showcase */
.icon-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-5px);
}

.icon-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.icon-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Alert Boxes */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.alert p {
    margin: 0;
    flex: 1;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    color: var(--text-primary);
}

.alert-info i {
    color: #3b82f6;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
    color: var(--text-primary);
}

.alert-success i {
    color: #22c55e;
}

.alert-warning {
    background: rgba(251, 146, 60, 0.1);
    border-left: 4px solid #fb923c;
    color: var(--text-primary);
}

.alert-warning i {
    color: #fb923c;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: var(--text-primary);
}

.alert-error i {
    color: #ef4444;
}

/* Info Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(207, 5, 22, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-card-icon i {
    font-size: 1.75rem;
    color: var(--accent-color);
}

.info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 0.5rem 0;
}

.info-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Example Form */
.example-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Footer */
.footer {
background: var(--bg-secondary);
color: var(--text-primary);
padding: 3rem 0 1rem;
border-top: 1px solid var(--border-color);
transition: background-color 0.3s ease;
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        padding: 1rem;
    }

    .brand-container {
        gap: 0.75rem;
    }

    .brand-logo {
        height: 40px;
    }

    .brand-title {
        display: none;
    }

    .nav-container {
        flex-wrap: wrap;
        padding: 1rem;
        justify-content: center;
    }

    .hamburger {
        display: flex;
        left: 1rem;
    }

    .theme-toggle {
        right: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 5rem 1rem 2rem;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-pills {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 0.5rem;
    }

    .pill-indicator {
        display: none;
    }

    .nav-pill a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        display: block;
        border-radius: 8px;
    }

    .nav-pill.active a {
        background: #dc2626;
        color: #fff;
    }

    .nav-pill-search {
        display: none;
    }

    .search-icon-btn {
        display: none;
    }

    .nav-pills-wrapper.search-active .nav-pills {
        padding-left: 0.25rem;
    }

    .hero-carousel {
        height: 500px;
    }

    .carousel-controls {
        display: none;
    }

    .slide-content {
        padding: 2rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .carousel-controls {
        padding: 0 1rem;
    }

    .sports-carousel-wrapper {
        padding: 0 3rem;
    }

    .orbit-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: 150px;
    }

    .sport-card {
        padding: 1.5rem 0.75rem;
    }

    .sport-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 0.75rem;
    }

    .sport-icon img {
        width: 50px;
        height: 50px;
    }

    .sport-name {
        font-size: 0.9rem;
    }

    .sports-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .sports-carousel-nav.prev {
        left: 0;
    }

    .sports-carousel-nav.next {
        right: 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form,
    .contact-info-box,
    .contact-info-split,
    .map-directions-combined {
        padding: 1.5rem;
    }

    .contact-info-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-directions-combined {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 300px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.25rem;
    }

    .hero-carousel {
        height: 400px;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
