/* ==========================================================================
   STYLE.CSS - TV SCHÜTZINGEN 1908
   Version: 3.2 (Accessibility Update)
   ========================================================================== */

@import url('https://fonts.cdnfonts.com/css/opendyslexic');

/* --------------------------------------------------------------------------
   1. VARIABLEN & RESET
   -------------------------------------------------------------------------- */
:root {
    --c-bg: #ffffff;
    --c-text: #111111; 
    --c-grey-light: #f4f4f4;
    
    --c-yellow: #FFD700;    
    --c-yellow-hi: #FFFF01; 
    
    --c-red: #D50419;       
    --c-red-dark: #b00315; 

    --grad-red: linear-gradient(135deg, #e30613 0%, #b00315 100%);
    --grad-yellow: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --shadow-premium: 0 15px 35px rgba(0,0,0,0.1);
    --shadow-soft: 0 5px 15px rgba(0,0,0,0.05);

    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

html {
    font-size: 100%; 
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *:before, *:after { box-sizing: inherit; }

body {
    font-family: var(--font-body);
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin: 0;
    padding-top: 80px; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --------------------------------------------------------------------------
   2. TYPOGRAFIE
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 0.6em; 
    color: black;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.2rem); letter-spacing: -1.5px; } 
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.5px; }
h3 { font-size: 1.6rem; letter-spacing: -0.2px; }
h4 { font-size: 1.25rem; }

p, li { margin-bottom: 1.25rem; line-height: 1.7; color: #333; }
strong { font-weight: 700; color: black; }

.highlight {
    background: var(--grad-yellow);
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 2px 2px 10px rgba(255, 215, 0, 0.3);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* --------------------------------------------------------------------------
   3. LAYOUT & CONTAINER
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem; 
}

.page-content {
    padding: 3rem 0;
    flex: 1; 
}

.grid-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
/* --- FILTER BUTTONS --- */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    /* Zwingt die Schriftfarbe auf Dunkelgrau, überschreibt Browser-Blau */
    color: #222 !important; 
    border: 2px solid #ddd;
    background: transparent;
    /* Falls nicht schon vorhanden: */
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-btn.active {
    background: #e30613; /* TVS Rot */
    color: white !important;
    border-color: #e30613;
}

.filter-btn:hover {
    border-color: #e30613;
}
/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}

.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1100px; padding: 0 1.5rem;
}

.logo {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.6rem;      
    letter-spacing: 0.5px; 
    text-transform: uppercase;
    color: black;
    white-space: nowrap; 
    display: flex; align-items: center; gap: 15px;           
}
.logo span { color: var(--c-red); }
.logo img { height: 50px; width: auto; display: block; }

.burger {
    cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1002;
}
.burger span {
    display: block; width: 100%; height: 3px; background: var(--c-red);
    margin-bottom: 5px; transition: 0.3s;
}

.nav-overlay {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--c-yellow); padding: 80px 30px 40px 30px; /* Padding oben reduziert, unten hinzugefügt */
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    overflow-y: auto; /* Wichtig: Scrollbar falls Inhalt zu lang */
}
.nav-overlay.active { right: 0; }
.nav-list { list-style: none; padding: 0; }
.nav-list li { margin-bottom: 1.5rem; }
.nav-list a {
    font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: black;
}
.nav-list a:hover { color: var(--c-red); }

/* --------------------------------------------------------------------------
   5. LANDINGPAGE (HERO & FEATURES)
   -------------------------------------------------------------------------- */
/* FIX 1: Hero Abstand verkleinert */
.hero-wrapper {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    gap: 4rem; 
    margin-bottom: 1rem; /* War vorher riesig, jetzt klein zum Pfeil */
    padding-top: 1rem;
    position: relative;
    min-height: auto; /* Keine erzwungene Höhe mehr */
}

.hero-text { flex: 1; position: relative; z-index: 1; }

.hero-text::before {
    content: ""; position: absolute; top: -40px; left: -40px; width: 150px; height: 150px;
    background: var(--c-yellow); opacity: 0.2; border-radius: 50%; z-index: -1;
}

.hero-image-container { flex: 1; position: relative; }

.hero-image {
    width: 100%; height: auto;
    border-radius: 30px 5px 30px 5px; 
    box-shadow: 20px 20px 0 var(--c-yellow), 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover; max-height: 500px;
    filter: none; /* Grayscale entfernt für lebendigeren Look */
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-image:hover { transform: scale(1.02); filter: brightness(1.1); }

.hero-subline { font-size: 1.2rem; margin-bottom: 2rem; color: #444; }

/* FIX 2: Scroll Pfeil mittig positioniert (Symmetrie) */
.scroll-down-wrapper {
    width: 100%; display: flex; justify-content: center;
    padding: 2rem 0 3rem 0; /* Oben 2rem Luft, unten 3rem Luft */
    position: relative; z-index: 10;
}
.scroll-link {
    display: flex; flex-direction: column; align-items: center; text-decoration: none;
    cursor: pointer; color: #999; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; transition: 0.3s;
}
.scroll-link:hover { color: var(--c-red); }
.scroll-arrow {
    font-size: 2rem; color: var(--c-red); margin-top: 5px; animation: bounce 2s infinite;
}

/* FIX 3: Features Abstand sauber */
.features-section {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 5rem;
    padding: 0 1rem;
}

.feature-box {
    background: #fff; padding: 2.5rem 2rem; 
    border-radius: 20px;
    box-shadow: var(--shadow-soft); 
    text-align: center; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative; overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03); 
}
.feature-box:hover { transform: translateY(-10px); box-shadow: var(--shadow-premium); border-color: var(--c-yellow); }

.feature-icon {
    font-size: 2rem; color: black; margin-bottom: 1.5rem;
    background: var(--c-yellow); width: 80px; height: 80px; 
    line-height: 80px; border-radius: 50%; display: inline-block;
}
.feature-box h3 { margin-bottom: 1rem; font-size: 1.4rem; }

/* News Section Wrapper */
.news-section-wrapper {
    background: var(--c-grey-light); 
    padding: 4rem 0 5rem 0; /* Padding oben/unten */
    margin-bottom: 0; /* Kein Margin nach unten, damit CTA anschließt */
    width: 100vw; position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}
.news-section-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
}

/* --- UPDATE: SPORTLICHER NEWS TICKER --- */
.news-ticker {
    width: 100%;
    background: var(--c-yellow);
    border-top: 4px solid black;
    border-bottom: 4px solid black;
    padding: 1rem 0;
    margin-bottom: 4rem; 
    overflow: hidden; 
    position: relative;
    transform: skewY(-2deg); 
    margin-top: -2rem; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.ticker-track {
    display: flex; white-space: nowrap; 
    animation: scroll-ticker 20s linear infinite; width: max-content; 
}
.ticker-item {
    font-family: var(--font-head); font-weight: 900; font-size: 3.5rem; 
    text-transform: uppercase; display: flex; align-items: center; padding-right: 2rem;
}
.text-filled { color: black; }
.text-outline { color: transparent; -webkit-text-stroke: 2px black; text-stroke: 2px black; }
@keyframes scroll-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   6. KOMPONENTEN & NEWS FEED
   -------------------------------------------------------------------------- */
.btn, .btn-outline {
    display: inline-block; font-family: var(--font-head); font-weight: 700;
    text-transform: uppercase; font-size: 0.9rem; border: none; cursor: pointer;
    transition: transform 0.2s, background 0.2s; text-align: center;
    padding: 0.8em 1.6em;
}
.btn { 
    background: var(--grad-red); 
    color: white; 
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(213, 4, 25, 0.3);
}
.btn:hover { background: var(--c-red-dark); transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 25px rgba(213, 4, 25, 0.4); }

.btn-outline { background: transparent; border: 2px solid var(--c-red); color: var(--c-red); }
.btn-outline:hover { background: var(--c-red); color: white; }

/* --- NEWS FEED GRID --- */
#news-feed-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feed-card {
    background: white;
    padding: 1.5rem; 
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
}

.meta-tag {
    display: inline-block;
    background: var(--c-red);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    width: fit-content;
}

.feed-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--c-yellow);
}

.feed-img {
    display: block; 
    width: 100%; 
    aspect-ratio: 4 / 5; /* Festes Hochformat */
    object-fit: cover; 
    object-position: center; 
    border-radius: 12px; 
    margin-bottom: 1.5rem; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feed-card-teaser {
    flex: 1 1 auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.feed-card-link {
    display: block;
    margin-top: 1.5rem;
    text-decoration: underline;
    font-weight: 700;
    color: var(--c-red);
}

/* --- PAGINATION NAVIGATION --- */
.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #444;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    flex-shrink: 0;
}

.page-link:hover {
    background: var(--c-red);
    color: white;
    border-color: var(--c-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(213, 4, 25, 0.2);
}

.page-link.active {
    background: var(--c-red);
    color: white;
    border-color: var(--c-red);
    box-shadow: 0 5px 15px rgba(213, 4, 25, 0.3);
}


/* --- SPORTBERICHTE FEED DESIGN (UPDATE) --- */
.reports-feed {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Größerer Abstand zwischen den Berichten */
    margin-bottom: 5rem;
}

.report-card-horizontal {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 300px;
}

.report-card-horizontal:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--c-yellow);
}

.report-img-box {
    flex: 0 0 400px; /* Feste Breite für das Bild auf Desktop */
    background: #f4f4f4;
    overflow: hidden;
}

.report-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Sorgt dafür, dass alle Bilder den Bereich füllen */
    display: block;
}

.report-content-box {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1; /* Nimmt den restlichen Platz ein */
}

.report-title {
    font-size: 1.6rem;
    margin: 0.5rem 0;
    line-height: 1.3;
}

.report-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
    display: block;
}

.report-content-box p {
    color: #444;
    margin-bottom: 2rem;
    flex-grow: 1; /* Schiebt den Button nach unten, falls der Text kurz ist */
}

/* Button-Fix: Verhindert das "Kleben" am nächsten Element */
.report-content-box .btn-outline {
    align-self: flex-start; /* Button bleibt linksbündig */
    margin-top: auto; /* Schiebt den Button ans Ende der Box */
    padding: 0.8rem 2rem;
}

/* FIX 4: CTA Banner Abstand repariert */
.cta-banner {
    background: var(--c-yellow); padding: 4rem 0; text-align: center;
    /* Hier war der Fehler: */
    margin-top: 0;      /* Schließt direkt an den grauen Bereich an */
    margin-bottom: 0;   /* Schließt an den Footer an */
    
    border-top: 5px solid black; border-bottom: 5px solid black;
    display: block; 
}
.cta-banner h3 { font-size: 2.2rem; margin-bottom: 1rem; color: black; }
.cta-banner p { max-width: 600px; margin: 0 auto 2rem auto; font-size: 1.1rem; color: #111; }
.cta-banner .btn {
    background: black; color: var(--c-yellow); box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: inline-flex; align-items: center; justify-content: center; min-width: 250px;
}

/* --------------------------------------------------------------------------
   7. ABTEILUNGEN & TABELLEN
   -------------------------------------------------------------------------- */
.dept-card {
    border: 1px solid #eee; padding: 2rem; transition: 0.3s;
    background: #fff; display: flex; flex-direction: column; height: 100%;
    scroll-margin-top: 100px; 
}
.dept-card:hover { border-color: var(--c-yellow); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.dept-card h4 {
    font-size: 1.15rem; margin-bottom: 0.5rem;
    overflow-wrap: break-word; word-wrap: break-word; hyphens: auto;
}
.dept-card p:last-child { margin-top: auto; }

.schedule-container {
    margin-bottom: 4rem; background: #fff; border: 1px solid #eee; 
}
.schedule-header {
    display: flex; background-color: var(--c-yellow); font-family: var(--font-head); font-weight: 700; padding: 12px 15px;
}
.col-day { width: 130px; font-weight: 800; font-family: var(--font-head); text-transform: uppercase; color: var(--c-red); }
.col-time { width: 140px; font-weight: 600; }
.col-group { width: 280px; font-weight: 700; }
.col-info { flex: 1; color: #666; font-size: 0.95rem; }
.col-group a { border-bottom: 2px solid transparent; }
.col-group a:hover { border-bottom-color: var(--c-red); color: var(--c-red); }

.day-card { display: flex; border-bottom: 1px solid #eee; }
.day-card:last-child { border-bottom: none; }
.day-label { width: 130px; padding: 12px 15px; flex-shrink: 0; border-right: 1px solid #eee; }
.day-content { flex: 1; }
.course-row { display: flex; padding: 12px 15px; border-bottom: 1px solid #eee; align-items: center; }
.course-row:last-child { border-bottom: none; }

/* Termine Seite (Rahmen) */
.event-row {
    display: flex; flex-wrap: wrap; background: #ffffff; border: 1px solid #e0e0e0;
    border-left: 5px solid var(--c-yellow); border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    margin-bottom: 1.5rem; padding: 1.5rem; gap: 2rem; align-items: flex-start; transition: all 0.2s ease;
}
.event-row:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: var(--c-yellow); }
.event-date {
    flex: 0 0 70px; font-family: var(--font-head); font-weight: 800; color: var(--c-red);
    font-size: 1.1rem; line-height: 1.2; text-transform: uppercase; text-align: center;
    border-right: 1px solid #f0f0f0; padding-right: 2rem; margin-right: -1rem; 
}
.event-info { flex: 1; }
.event-info h4 { margin-bottom: 0.5rem; }
.event-info p { margin-bottom: 0.5rem; font-size: 0.95rem; color: #555; }

/* PROBETRAINING CTA IN ABTEILUNGEN */
.probetraining-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: #fafafa;
    border-radius: 15px;
    margin-top: 4rem;
}

.btn-primary-cta {
    display: inline-block;
    background: var(--c-red);
    color: white !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(213, 4, 25, 0.2);
}


.main-footer {
    background: #111; /* Tieferes Schwarz für mehr Kontrast */
    color: #fff !important;
    padding: 5rem 0 2rem 0;
    margin-top: auto;
    border-top: 6px solid var(--c-yellow);
    font-size: 0.95rem;
}

.main-footer p,
.main-footer li,
.main-footer a {
    color: #fff !important;
}

/* --- SPONSOREN SEKTION --- */
.footer-sponsors {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #222;
    text-align: center;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    width: 100%;
}

.sponsor-item {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
    transition: all 0.3s ease;
    filter: grayscale(1);
    opacity: 0.6;
    text-decoration: none;
}

.sponsor-item img {
    max-height: 80px;
    max-width: 160px;
    object-fit: contain;
    width: auto;
    height: auto;
}

@media (max-width: 768px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
}

.sponsor-item:hover {
    filter: grayscale(0);
    opacity: 1;
    background: rgba(255,255,255,0.1);
    border-color: var(--c-yellow);
    transform: translateY(-5px);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--c-yellow);
    width: 16px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

/* Der gelbe Unterstrich für Überschriften */
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: var(--c-yellow);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #fff !important;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--c-yellow);
    padding-left: 5px; /* Kleiner Animationseffekt */
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

.footer-col.branding p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-bar { display: flex; gap: 15px; margin-top: 1rem; }
.social-icon {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: 0.3s; color: white;
}
.social-icon:hover { background: var(--c-yellow); color: black; transform: scale(1.1); }

/* --- FOOTER SOCIAL LINKS KORREKTUR --- */
/* Stellt sicher, dass die Icons nebeneinander stehen */
.main-footer .social-links {
    display: flex !important;
    flex-direction: row !important; /* Erzwingt die horizontale Ausrichtung */
    gap: 15px;
    margin-top: 1rem;
}

.main-footer .social-links a {
    width: 42px;
    height: 42px;
    background: #222;
    border-radius: 50%;
    display: flex !important; /* Wichtig für die Zentrierung des Icons */
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.main-footer .social-links a i {
    font-size: 1.2rem;
    line-height: 1; /* Verhindert Verschiebung durch Zeilenhöhe */
}

.main-footer .social-links a:hover {
    background: var(--c-red);
    transform: translateY(-3px);
}

/* --- DESIGN BY THOM7E STYLING --- */
.footer-bottom small {
    font-size: 0.75rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    color: #fff !important;
    opacity: 1;
    font-family: var(--font-head);
    font-weight: 600;
}

/* Optional: Ein kleiner Link-Effekt für deinen Namen */
.footer-bottom small::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: var(--c-yellow);
    transition: width 0.3s;
}

.footer-bottom:hover small::after {
    width: 100%;
}

/* Kontakt Icons */
.footer-col i {
    color: var(--c-yellow);
    width: 15px;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: #fff;
    font-weight: 600;
}

/* --- PRICING GRID & CARDS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.price-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--c-yellow);
}

.price-card.featured {
    border: 2px solid var(--c-red);
    position: relative;
    transform: scale(1.05);
}

.price-card.featured .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-red);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-header h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.price { font-size: 2.5rem; font-weight: 900; font-family: var(--font-head); color: var(--c-red); }
.price span { font-size: 1rem; color: #666; font-weight: 400; }

.price-features {
    list-style: none !important;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.price-features li { font-size: 0.9rem; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; }
.price-features i { color: #2ecc71; font-size: 0.8rem; }

/* DIGITAL CTA BOX */
.digital-cta-box {
    background: var(--c-grey-light);
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    border-left: 6px solid var(--c-yellow);
}

.cta-content h3 { margin-bottom: 0.5rem; }
.cta-content p { margin-bottom: 0; max-width: 500px; }

@media (max-width: 768px) {
    .price-card.featured { transform: scale(1); margin: 1rem 0; }
    .digital-cta-box { text-align: center; justify-content: center; }
}
/* --------------------------------------------------------------------------
   9. MOBILE OPTIMIERUNG (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    /* Hero stacked */
    .hero-wrapper { flex-direction: column-reverse; gap: 3rem; text-align: center; margin-bottom: 2rem; }
    .hero-wrapper .btn, .hero-wrapper .btn-outline { width: 100%; justify-content: center; }
    .hero-image { box-shadow: 10px 10px 0 var(--c-yellow); max-height: 300px; }
    /* Tablet-Ansicht: Grid auf zwei Spalten aufteilen */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

}

@media (max-width: 768px) {
    /* Layout Basics */
    .container, .header-inner { padding: 0 1.2rem; }
    header { height: 60px; }
    body { padding-top: 60px; }
    
    /* Typo & Spacing */
    h1 { font-size: 2.2rem; margin-bottom: 1.5rem; } 
    h2 { font-size: 1.8rem; margin-top: 2.5rem; border-bottom: 2px solid var(--c-yellow); padding-bottom: 0.5rem; }
    h3 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: 1rem; }
    p, li { font-size: 1.05rem; margin-bottom: 1.5rem; }

    /* Sections & Forms */
    .section-title { 
        margin-top: 3.5rem !important; 
        margin-bottom: 1.5rem !important; 
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
    }
    
    .form-group { margin-bottom: 1.8rem !important; }
    
    /* Grid elements should stack more aggressively on small screens */
    div[style*="display:grid"] { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
    }

    .page-content { 
        padding-top: 2rem; 
        padding-bottom: 4rem; 
    }

    /* Header & Nav */
    .logo { font-size: 1.25rem; gap: 10px; }
    .logo img { height: 40px; }
    .nav-list a { font-size: 1.4rem; font-weight: 700; }
    
    /* Hero & Ticker */
    .hero-subline { font-size: 1rem; }
    .ticker-item { font-size: 2.2rem; }
    .news-ticker { transform: skewY(-2deg); margin-top: 0; }

    /* Feed & Karten */
    .feed-card { padding: 1.5rem; }
    .feed-img { margin: 1rem 0; width: 100%; height: auto; }

    /* Wochenplan Mobil */
    .desktop-only { display: none !important; }
    .schedule-container { border: none; background: transparent; }
    .day-card { display: block; background: white; margin-bottom: 1.5rem; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-left: 5px solid var(--c-yellow); overflow: hidden; }
    .day-label { width: 100%; background: var(--c-grey-light); border-right: none; border-bottom: 1px solid #eee; font-size: 1.1rem; letter-spacing: 1px; }
    .day-content { display: block; }
    .course-row { flex-wrap: wrap; padding: 1rem; position: relative; }
    .col-time { width: 100%; margin-bottom: 0.2rem; font-size: 0.9rem; color: #555; }
    .col-group { width: 100%; font-size: 1.1rem; margin-bottom: 0.3rem; }
    .col-info { width: 100%; font-size: 0.9rem; font-style: italic; }
    .col-group a::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; }

    /* Komponenten Stack */
    .btn, .btn-outline { width: 100%; display: block; margin-bottom: 10px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Termine Mobil */
    .event-row { gap: 1rem; flex-direction: column; padding: 1.2rem; }
    .event-date { 
        flex-direction: row; gap: 10px; align-items: baseline; text-align: left;
        border-right: none; padding-right: 0; margin-right: 0;
        border-bottom: 1px solid #eee; padding-bottom: 0.8rem; width: 100%; margin-bottom: 0.5rem;
    }

    /* --- SPEZIAL FIX FÜR STARTSEITE --- */
    /* Da .page-content jetzt unten 3rem Platz hat, würde auf der Startseite 
       eine Lücke zum gelben Banner entstehen. Das gleichen wir hier aus. */
    
    .news-section-wrapper {
        padding-top: 2rem;    
        padding-bottom: 0;    
        margin-bottom: -3rem; /* Zieht das gelbe Banner um den Padding-Wert hoch */
    }

    .cta-banner {
        padding-top: 3rem;    
        padding-bottom: 3rem;
    }
    
    .news-section-inner {
        padding-bottom: 2rem; 
    }
/* Versteckt "Sportangebot" und "Der Verein" nur auf Mobilgeräten */
    .footer-grid .footer-col:nth-child(2),
    .footer-grid .footer-col:nth-child(3) {
        display: none !important;
    }

    /* Das Grid passt sich an die verbleibenden Spalten an */
    .footer-grid {
        grid-template-columns: 1fr; /* Stapelt Branding und Kontakt untereinander */
        text-align: center;
        gap: 3rem;
    }

    /* Zentrierung der Branding-Elemente */
    .footer-col.branding, .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Ausrichtung der Kontakt-Icons im mobilen Modus */
    .footer-col p {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    /* Footer Bottom (Copyright & Design) untereinander */
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    /* Kontakt Icons */
    .footer-col i {
        width: 40px;
    }

}

/* --- MOBILE ANPASSUNG (KORRIGIERT) --- */
@media (max-width: 850px) {
    .report-card-horizontal {
        flex-direction: column;
        min-height: auto;
    }
    
    .report-img-box {
        flex: 0 0 250px; /* Bildhöhe auf Handy */
        width: 100%;
    }
    
    .report-content-box {
        padding: 1.5rem;
    }

    .reports-feed {
        gap: 3rem; /* Etwas kompakter auf Mobile, aber immer noch genug Luft */
    }
    .legal-content {
        padding: 0 15px; /* Seitenabstand auf Handy */
    }

    .legal-block h1 {
        font-size: 2rem; /* Überschrift etwas kleiner */
        word-wrap: break-word;
    }

    .legal-block p, 
    .legal-block li {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Verhindert, dass lange E-Mail-Adressen oder Links das Layout sprengen */
    .legal-block a {
        word-break: break-all; 
    }
}
/* --------------------------------------------------------------------------
   10. CALL-TO-ACTIONS & FEEDBACK
   -------------------------------------------------------------------------- */

/* Header CTA */
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-btn {
    background: var(--c-red);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(213, 4, 25, 0.2);
}
.header-btn:hover { background: var(--c-red-dark); transform: scale(1.05); }


/* ==========================================================================
   BARRIEREFREIHEIT & LEGASTHENIKER-MODUS
   ========================================================================== */
.accessibility-mode-only {
    display: none;
}

body.accessibility-mode {
    font-family: 'OpenDyslexic', sans-serif !important;
    background-color: #fdfaf0 !important; /* Leichtes Creme für weniger Blendung */
    color: #000 !important;
    font-size: 1.15rem; /* Etwas größere Grundschrift */
    line-height: 1.8 !important;
    letter-spacing: 0.05em !important;
    word-spacing: 0.1em !important;
}

.accessibility-mode h1, 
.accessibility-mode h2, 
.accessibility-mode h3, 
.accessibility-mode h4,
.accessibility-mode .logo {
    font-family: 'OpenDyslexic', sans-serif !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-align: left !important; /* Linksbündig ist besser bei Legasthenie */
}

.accessibility-mode p, 
.accessibility-mode li, 
.accessibility-mode div {
    text-align: left !important;
    color: #111 !important;
}

.accessibility-mode .accessibility-mode-only {
    display: block !important;
}

.accessibility-mode .burger span {
    background: #000 !important;
    height: 4px !important; /* Etwas dicker im Barrierefrei-Modus */
}

.accessibility-mode a {
    text-decoration: underline !important; /* Links deutlicher machen */
    font-weight: 700 !important;
}

.accessibility-mode .btn,
.accessibility-mode .header-btn {
    border: 3px solid #000 !important;
    background: #000 !important;
    color: #fff !important;
}

.accessibility-mode .main-footer {
    background: #000 !important;
    border-top: 10px solid var(--c-yellow) !important;
}

.accessibility-mode .main-footer p,
.accessibility-mode .main-footer a,
.accessibility-mode .main-footer h4 {
    color: #fff !important;
}

.accessibility-mode .social-icon,
.accessibility-mode #accessibility-toggle {
    border: 3px solid #000 !important;
    background: var(--c-yellow) !important;
    color: #000 !important;
}

/* Zusätzliche Optimierungen nur im Barrierefrei-Modus */
.accessibility-mode *:focus {
    outline: 5px solid #000 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 10px var(--c-yellow) !important;
}

.accessibility-mode a, 
.accessibility-mode button, 
.accessibility-mode .btn,
.accessibility-mode input,
.accessibility-mode select {
    cursor: pointer !important;
    min-height: 44px; /* Mindestgröße für Touch-Targets nach WCAG */
    padding: 10px !important;
}

.accessibility-mode .nav-overlay {
    background: #fff !important;
    border-left: 10px solid #000 !important;
    padding-top: 60px !important; /* Weniger Platz oben für den großen Font */
}

.accessibility-mode .nav-list li {
    margin-bottom: 0.5rem !important; /* Kompakter wegen Font-Größe */
}

.accessibility-mode .nav-list a {
    font-size: 1.8rem !important;
    text-decoration: underline !important;
    color: #000 !important;
}

.accessibility-mode .nav-list a:hover,
.accessibility-mode .nav-list a:focus {
    background: var(--c-yellow) !important;
    color: #000 !important;
}

/* Kontrast-Verstärkung für Formulare und Karten */
.accessibility-mode .feed-card,
.accessibility-mode .dept-card,
.accessibility-mode .event-row,
.accessibility-mode .feature-box {
    border: 3px solid #000 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.accessibility-mode .meta-tag {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

/* Floating Action Button (Mobile) */
.fab-mobile {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--grad-red);
    color: white !important;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(213, 4, 25, 0.4);
    z-index: 999;
    display: none; /* Nur mobil */
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fab-mobile i { font-size: 1.2rem; }
.fab-mobile:hover { transform: scale(1.1) translateY(-5px); }

/* Newsletter / Membership Section Home */
.membership-cta-box {
    background: #1e293b;
    color: white;
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}
.membership-cta-box .cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.membership-cta-box h2 { color: white; margin-bottom: 0.5rem; }
.membership-cta-box p { color: #94a3b8; font-size: 1.1rem; margin: 0; }
.membership-cta-box .btn { background: var(--c-yellow); color: black; box-shadow: none; }
.membership-cta-box .btn:hover { background: white; }

/* Existing CTA Banner Grid Fix */
.cta-banner .cta-card h3 { color: black; margin-bottom: 0.5rem; }
.cta-banner .cta-card p { font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Alerts */
.alert-success {
    animation: slideInDown 0.5s both;
}

@keyframes slideInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse-white {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .fab-mobile { display: flex; }

    .membership-cta-box { padding: 2rem; border-radius: 20px; text-align: center; }
    .membership-cta-box .cta-inner { flex-direction: column; }

    .cta-banner .container { padding-left: 1.5rem; }
    .cta-banner .cta-card { padding-left: 0 !important; border-left: none !important; }
}


