:root {
    --primary-yellow: #fbda01;
    --primary-red: #731933;
    --primary-black: #000000;
    --primary-white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--gray-light);
}

/* Header & Navigation */
.main-nav {
    background-color: var(--primary-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    flex: 0 0 auto;
}

.nav-logo {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-dark);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #731933;
    color: white;
}

.nav-links a.active {
    background-color: #731933;
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-red);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Main Content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 100px auto 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

/* Mitglied werden Seite */
body[data-page="mitglied-werden"] main {
    margin-top: 80px;
	margin: 50px auto 0; /* 50px Abstand oben */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-black) 100%);
    color: var(--primary-white);
    padding: 40px 20px;
    border-radius: 15px;
    margin: 70px auto 0; /* 50px Abstand oben */
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}


.hero h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    word-wrap: break-word;
}

/* Content Sections */
.content-section {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Vorstand Section */
.vorstand-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.vorstand-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.vorstand-card.full-width {
    grid-column: 1 / -1;
}

.vorstand-card:hover {
    transform: translateY(-5px);
}

.vorstand-card i {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.vorstand-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--primary-red);
}

.vorstand-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Mannschaft */
.mannschaft {
    color: black;
}

.team-section {
    margin-bottom: 2rem;
}

.team-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid white;
    padding-bottom: 0.3rem;
	color: #731933;
}

.player-list {
    list-style: none;
    padding-left: 0;
}

.player-list li {
    padding: 0.2rem 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

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

.footer-section a {
    color: var(--primary-white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

 .sponsors-slider img {
    height: 80px;
    max-width: 170px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .sponsors-slider .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sponsors-slider {
    margin-top: 2rem;
    padding: 1rem 0;
    background: #fff;
  }

/* Responsive Design */
@media (max-width: 768px) {
    main {
        margin: 80px auto 0 auto;
        padding: 15px;
    }

    .nav-container {
        padding: 0.5rem;
    }

    .hero {
        padding: 30px 15px;
        margin: 70px auto 0; /* 50px Abstand oben */
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--primary-white);
        flex-direction: column;
        align-items: center;
        z-index: 999;
        padding: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 6px 0;
        font-size: 16px;
        border-bottom: none;
        margin: 0;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background-color: var(--primary-red);
        color: var(--primary-white);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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

    .nav-logo {
        height: 45px;
    }

    .vorstand-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .vorstand-card {
        padding: 0.8rem;
    }
    
    .vorstand-card i {
        font-size: 1.8rem;
    }
    
    .vorstand-card h3 {
        font-size: 1.1rem;
    }
    
    .vorstand-card p {
        font-size: 0.85rem;
    }

    .content-section {
        padding: 1rem;
    }

    .content-section img {
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-red);
    color: var(--primary-white);
    transform: translateY(-2px);
}

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

.contact-info {
    background-color: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    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: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(115, 25, 51, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:invalid {
    color: #999;
}

.form-group select option {
    color: #333;
}

.form-group input[required]::placeholder,
.form-group textarea[required]::placeholder {
    color: #999;
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.alert i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Anpassungen für Kontaktformular */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-links a {
    color: var(--primary-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-yellow);
}

.social-links i {
    font-size: 1.2rem;
    width: 1.5rem;
    text-align: center;
}

/* X (Twitter) Icon Styling */
.social-links .x-icon {
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0) invert(1); /* Macht das Icon weiß */
}

.social-links a:hover .x-icon {
    filter: brightness(0) saturate(100%) invert(83%) sepia(71%) saturate(481%) hue-rotate(358deg) brightness(103%) contrast(103%); /* Macht das Icon gelb beim Hover */
}

@media (max-width: 768px) {
    .social-links {
        gap: 0.6rem;
    }
    
    .social-links a {
        font-size: 0.9rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-buttons {
    margin-top: 15px;
}

.cookie-buttons button,
.cookie-buttons a {
    margin: 0 10px;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.accept-btn {
    background-color: #731933;
    color: white;
}

.decline-btn {
    background-color: #666;
    color: white;
}

.more-info {
    color: white;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons button,
    .cookie-buttons a {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
}

/* Datenschutzerklärung */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    color: var(--primary-red);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-content h3 {
    color: var(--primary-red);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.privacy-content p, .privacy-content ul {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.privacy-content ul {
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .privacy-content h2 {
        font-size: 1.3rem;
    }
    
    .privacy-content h3 {
        font-size: 1.1rem;
    }
}

/* Page Hero */
.page-hero {
    margin-top: 80px;
    background-color: var(--primary-red);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-hero h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
}

/* Facebook Feed */
.facebook-feed {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  padding: 20px 0 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.facebook-feed h2 {
  text-align: center;
  color: #731933;
  margin-bottom: 1rem;
}

.fb-page {
    display: block !important;
    margin: 0 auto;
}

.facebook-feed .fb-page,
.facebook-feed .fb_iframe_widget {
  width: 100% !important;
  max-width: 900px !important;
  min-width: 300px;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .facebook-feed {
        margin: 1rem;
        padding: 15px;
        width: calc(100% - 2rem);
    }
    
    .fb-page {
        width: 100% !important;
        max-width: 100% !important;
    }

    .fb-page span,
    .fb-page iframe {
        width: 100% !important;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-red);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .main-nav {
        height: 60px;
    }
    .nav-container {
        padding: 0.5rem;
        height: 60px;
        position: relative;
    }
    .nav-logo {
        height: 40px;
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2001;
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1002;
        background: none;
        border: none;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--primary-white);
        flex-direction: column;
        align-items: center;
        z-index: 1000;
        padding: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px;
        color: var(--primary-red);
        border-bottom: 1px solid rgba(115, 25, 51, 0.1);
        font-size: 16px;
        text-decoration: none;
        background: transparent;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background-color: var(--primary-red);
        color: var(--primary-white);
    }
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    .close-icon {
        display: none;
        color: var(--primary-red);
        font-size: 2rem;
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 2002;
    }
    .mobile-menu-btn.active .close-icon {
        display: block;
    }
    .nav-links {
        background: #fff !important;
        background-color: #fff !important;
        /* Keine Transparenz */
    }
    .nav-links a {
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        font-size: 16px !important;
        line-height: 1.2 !important;
        background: transparent !important;
        color: var(--primary-red) !important;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background: #731933 !important;
        color: #fff !important;
    }
    .nav-links {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .nav-links a {
        padding: 12px 0 !important;
        margin: 0 !important;
        border: none !important;
        font-size: 17px !important;
        line-height: 1.3 !important;
        background: transparent !important;
        color: var(--primary-red) !important;
        width: 90% !important;
        max-width: 350px !important;
        border-radius: 8px !important;
        transition: background 0.2s, color 0.2s;
        box-sizing: border-box !important;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background: #731933 !important;
        color: #fff !important;
        border-radius: 8px !important;
    }
} 

/* Mitglied werden: Felder nebeneinander */
.mitglied-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .mitglied-grid {
    grid-template-columns: 1fr;
  }
} 

.impressum-content {
  padding: 24px 0;
}
.impressum-content h2 {
  font-size: 1.3rem;
  color: #222;
  margin-top: 40px;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.impressum-content h3 {
  font-size: 1.08rem;
  color: #444;
  margin-top: 28px;
  margin-bottom: 8px;
  font-weight: bold;
}
.impressum-content .info-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid #ececec;
  padding: 22px 26px;
  margin-bottom: 38px;
  font-size: 1rem;
  line-height: 1.7;
}
.impressum-content p {
  margin: 0 0 10px 0;
} 