/* ==========================================
   Lokal gehostete Schriftarten (DSGVO: kein Google-Fonts-CDN)
========================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-variable.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit-variable.woff2') format('woff2');
}

/* ==========================================
   Typography & Utilities
   (:root, Reset, .container, .text-gradient, .text-center,
    .btn, Navbar, Hero, @keyframes → in critical.css inline)
========================================== */

.section {
    padding: var(--section-padding);
}

.section--no-top {
    padding-top: 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.text-center .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle--small {
    font-size: 0.9rem;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--clr-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    will-change: transform;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--clr-surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
}


/* ==========================================
   Sprungnavigation (Anker-Links zu Sections auf langen Seiten)
========================================== */
.quick-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    /* Sticky unter der fixed Navbar, damit die Sprungmarken beim Scrollen erreichbar bleiben.
       --navbar-height wird per JS aus der tatsächlichen Navbar-Höhe gesetzt (siehe Seiten-Script),
       der Fallback deckt den Zeitraum vor dem ersten JS-Durchlauf ab. */
    position: sticky;
    top: var(--navbar-height, 92px);
    z-index: 900;
    background: var(--clr-bg);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-jump a {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: var(--clr-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-normal);
}

.quick-jump a:hover,
.quick-jump a:focus-visible {
    /* Etwas kräftiger als --clr-surface-hover (bläulich, verschwimmt sonst leicht mit --clr-bg) —
       hellerer neutraler Overlay hebt sich klarer als "klickbar" ab, ganz ohne Rand. */
    background: rgba(255, 255, 255, 0.08);
}

/* Aktiver Zustand wie die Haupt-Nav: weißer Text + Gradient-Unterstreichung,
   kein eigener Rand/Hintergrund mehr (siehe .nav-links a::after als Vorbild). */
.quick-jump a.active {
    color: var(--clr-text);
    position: relative;
}

.quick-jump a.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-primary);
}

/* Sprungziele: Offset, damit die Section-Überschrift nicht hinter Navbar + sticky Quick-Jump verschwindet.
   --section-scroll-offset wird per JS aus Navbar- + Quick-Jump-Höhe berechnet (siehe Seiten-Script). */
.quick-jump-target {
    scroll-margin-top: var(--section-scroll-offset, 150px);
}

/* ==========================================
   Hero Section
========================================== */
.hero {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* ==========================================
   News Section
========================================== */


.news-section {
    position: relative;
    scroll-margin-top: 6rem;
}

/* Anker-Sprungziele (Sprungnavigation, interne Links) — Puffer gegen fixen Navbar */
section[id] {
    scroll-margin-top: 6rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.news-card {
    display: flex;
    flex-direction: column;
}

.highlighted-card {
    border-color: rgba(0, 229, 255, 0.3);
    background: linear-gradient(145deg, rgba(30, 41, 65, 0.8), rgba(20, 27, 45, 0.9));
}

.news-date {
    font-size: 0.875rem;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: var(--clr-text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    color: var(--clr-secondary);
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: #fff;
    gap: 0.75rem;
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--clr-text-muted);
}

/* ==========================================
   Teams Section
========================================== */
.teams-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.teams-text {
    flex: 1 1 500px;
}

.teams-mascot {
    flex: 0 0 320px;
    isolation: isolate;
}

.mascot-img {
    width: 100%;
    animation: glow-pulse 3s ease-in-out infinite;
    will-change: filter;
    transform: translateZ(0);
    isolation: isolate;
}

.teams-header-centered {
    text-align: center;
    margin-bottom: 4rem;
}

.mascot-img-centered {
    width: 380px;
    max-width: 100%;
    margin: 0 auto 2rem;
    display: block;
    animation: glow-pulse 3s ease-in-out infinite;
    will-change: filter;
}


.teams-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.category-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-secondary);
}

.team-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.team-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-primary);
}

.team-list h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-list p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   Partner Section
========================================== */
.partner-section {
    background: linear-gradient(to bottom, transparent, rgba(11, 15, 25, 0.5));
}

.partner-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 2rem;
}

.partner-card {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: center;
    display: block;
}

.partner-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text);
}

.partner-card p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.partner-divider {
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-primary);
    opacity: 0.5;
}

/* ==========================================
   Footer
========================================== */
.footer {
    background: #060910;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-margin-top: 6rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-col p {
    color: var(--clr-text-muted);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text);
}

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

.footer-col ul a {
    color: var(--clr-text-muted);
}

.footer-col ul a:hover {
    color: var(--clr-primary);
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

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

.social-icon {
    transition: transform var(--transition-fast);
}

.social-icon:hover,
.social-icon:focus-visible {
    transform: scale(1.1);
}

.nav-logo-img {
    height: 45px;
    width: auto;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

/* ==========================================
   Responsive Design
========================================== */
@media (max-width: 992px) {
    .teams-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 4rem 0;
    }

    .teams-mascot {
        margin: 0 auto;
        order: -1;
    }

    .teams-header {
        text-align: center;
    }

    .partner-divider {
        display: none;
    }

    .spielplan-grid {
        grid-template-columns: 1fr;
    }

    .mitmachen-card {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================
   Spielplan Section
========================================== */
.spielplan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.spielplan-embed {
    display: flex;
    flex-direction: column;
}

.spielplan-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--clr-text-muted);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    gap: 1rem;
}

.spielplan-placeholder p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.spielplan-placeholder-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--clr-primary);
    opacity: 0.7;
}

.spielplan-placeholder-text {
    max-width: 420px;
    color: var(--clr-text-muted);
}

.spielplan-placeholder-hinweis {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    opacity: 0.7;
}

/* ==========================================
   Mitmachen Section
========================================== */
.mitmachen-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
}

.mitmachen-card .section-subtitle {
    margin: 1rem auto 2.5rem;
}

.mitmachen-card .hero-cta {
    justify-content: center;
}

/* ==========================================
   Page Hero (Unterseiten-Header)
========================================== */
.page-hero {
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: cover;
}

/* ==========================================
   Mannschaften Page
========================================== */
.mannschaften-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

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

.mannschaft-card {
    display: flex;
    flex-direction: column;
}

.mannschaft-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mannschaft-title {
    font-size: 1.5rem;
}

.mannschaft-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    background: rgba(255, 42, 95, 0.15);
    border: 1px solid rgba(255, 42, 95, 0.3);
    color: #ff5c82;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.mannschaft-badge--herren {
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--clr-secondary);
}

.mannschaft-badge--damen {
    background: rgba(192, 132, 252, 0.12);
    border-color: rgba(192, 132, 252, 0.3);
    color: #c084fc;
}

.mannschaft-badge--jugend {
    background: rgba(255, 123, 0, 0.12);
    border-color: rgba(255, 123, 0, 0.3);
    color: #ff9d3f;
}

.mannschaft-badge--mini {
    background: rgba(100, 220, 100, 0.12);
    border-color: rgba(100, 220, 100, 0.3);
    color: #6ddc6d;
}

/* Trainer-Badge Abstand (ersetzt inline margin-top) */
.trainer-card .mannschaft-badge {
    margin-top: 0.75rem;
}

/* Mehrere Badges nebeneinander bei Trainern mit mehreren Teams */
.trainer-badge-gruppe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.trainer-badge-gruppe .mannschaft-badge {
    margin-top: 0;
}

/* Hallen-Grid */
.hallen-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hallen-card {
    flex: 1;
    min-width: 280px;
}

.hallen-card h3 {
    margin-bottom: 0.75rem;
}

.hallen-card p {
    color: var(--clr-text-muted);
}

.hallen-card .btn {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    display: inline-block;
}

.mannschaft-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.mannschaft-details li {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 0.5rem;
    font-size: 0.925rem;
    align-items: baseline;
}

.detail-label {
    color: var(--clr-text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mannschaft-details a {
    color: var(--clr-secondary);
}

.mannschaft-details a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .mannschaft-details li {
        grid-template-columns: 100px 1fr;
    }

    .jugend-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Trainer Section
========================================== */
.trainer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.trainer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.trainer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 1rem;
}

.recruiting-banner {
    background: linear-gradient(135deg, rgba(255, 42, 95, 0.15) 0%, rgba(0, 119, 255, 0.1) 100%);
    border: 1px solid rgba(255, 42, 95, 0.25);
    border-radius: 1.5rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.recruiting-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.recruiting-subtitle {
    color: var(--clr-text-muted);
    font-size: 1rem;
    max-width: 540px;
}

.recruiting-action {
    flex-shrink: 0;
}

.recruiting-banner--b {
    background: var(--clr-surface);
    border: var(--glass-border);
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem 2rem;
}

.recruiting-banner--c {
    background: var(--clr-surface);
    border: var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

.recruiting-banner--c .recruiting-accent {
    width: 8px;
    background: var(--grad-primary);
    flex-shrink: 0;
    min-height: 100%;
}

.recruiting-banner--c .recruiting-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    flex: 1;
    padding: 2.5rem 3rem;
}

.recruiting-banner--c .recruiting-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
}

.recruiting-banner--c .recruiting-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.recruiting-banner--c .recruiting-subtitle {
    max-width: 480px;
}

.recruiting-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 42, 95, 0.12);
    border: 1px solid rgba(255, 42, 95, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--clr-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.recruiting-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.5rem;
    max-width: 340px;
}

.recruiting-card .recruiting-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.recruiting-card .recruiting-subtitle {
    max-width: 100%;
    font-size: 0.9rem;
}

.recruiting-card .recruiting-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.trainer-avatar--recruiting {
    background: rgba(255, 42, 95, 0.12);
    border-color: rgba(255, 42, 95, 0.35);
    color: var(--clr-primary);
}

.trainer-card--recruiting {
    border-color: rgba(255, 42, 95, 0.2);
}

.trainer-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.trainer-role {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

@media (max-width: 600px) {
    .trainer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .trainer-card {
        padding: 1.25rem 0.75rem;
    }

    .trainer-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .trainer-name {
        font-size: 1rem;
    }

    .trainer-role {
        font-size: 0.78rem;
    }
}

/* ==========================================
   Über uns Page
========================================== */
.ueber-uns-lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.ueber-uns-body {
    color: var(--clr-text-muted);
    line-height: 1.8;
}

.heilige-lok-card {
    padding: 3rem;
}

.heilige-lok-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.heilige-lok-badge {
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.heilige-lok-badge p {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-primary);
    line-height: 1.3;
}

.werte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.wert-card {
    text-align: center;
}

.wert-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--clr-secondary);
}

.wert-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .ueber-uns-intro {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .ueber-uns-intro {
        grid-template-columns: 1fr;
    }

    .werte-grid {
        grid-template-columns: 1fr;
    }

    .heilige-lok-content {
        flex-direction: column;
        text-align: center;
    }

    .page-hero-title {
        font-size: 2.25rem;
    }
}

/* ==========================================
   Spielplan Page
========================================== */
.spielplan-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.spielplan-embed-card {
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.spielplan-sidebar {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .spielplan-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Datenschutz / Legal Pages
========================================== */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    color: var(--clr-secondary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    color: var(--clr-text-muted);
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--clr-secondary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: #fff;
}

/* ==========================================
   Anreise Page
========================================== */
.anreise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.adresse-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.adresse-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--clr-secondary);
}

.adresse-card p {
    color: var(--clr-text-muted);
    line-height: 1.8;
}

.anreise-optionen {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.anreise-option-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
}

.anreise-option-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.anreise-option-card p {
    color: var(--clr-text-muted);
    font-size: 0.925rem;
    line-height: 1.7;
}

.anreise-karte {
    position: sticky;
    top: 100px;
}

.karte-placeholder {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.karte-placeholder-inner {
    text-align: center;
    padding: 2.5rem;
}

.karte-placeholder-inner h3 {
    font-size: 1.375rem;
}

.karte-placeholder-inner p {
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.karte-placeholder-inner a {
    color: var(--clr-secondary);
    text-decoration: underline;
}

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

    .anreise-karte {
        position: static;
    }
}


/* ==========================================
   Bildgalerie
========================================== */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.galerie-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--clr-surface);
    border: var(--glass-border);
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.galerie-item:hover img,
.galerie-item:focus-visible img {
    transform: scale(1.05);
}

.galerie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.galerie-item:hover .galerie-overlay,
.galerie-item:focus-visible .galerie-overlay {
    opacity: 1;
}

.galerie-overlay p {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin: 0;
}

/* Lightbox */
.galerie-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    overscroll-behavior: contain;
}

.galerie-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.galerie-lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

.galerie-lightbox p {
    margin-top: 1rem;
    color: #e0e8f0;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 0.5rem;
}

.lightbox-next {
    right: 0.5rem;
}

@media (min-width: 768px) {
    .lightbox-prev {
        left: 1.5rem;
    }

    .lightbox-next {
        right: 1.5rem;
    }
}

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

.chat-wrapper {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 80%;
}

.chat-bubble--left {
    align-self: flex-start;
    background: var(--clr-text);
    color: var(--clr-bg);
    border-bottom-left-radius: 4px;
    position: relative;
}

.chat-bubble--left::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    background: var(--clr-text);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.chat-bubble--right {
    align-self: flex-end;
    background: var(--grad-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    text-align: right;
    position: relative;
}

.chat-bubble--right::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    background: #ff7b00;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

@media (max-width: 600px) {
    .chat-bubble {
        max-width: 90%;
    }
}

/* ==========================================
   Partner-Logos
========================================== */
.partner-logo-box {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: box-shadow 0.3s ease;
}

.partner-card:hover .partner-logo-box {
    box-shadow: 0 4px 20px rgba(255, 42, 95, 0.2);
}

.partner-logo-img {
    max-width: 180px;
    max-height: 60px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.9);
}

.partner-card:hover .partner-logo-img {
    transform: scale(1.08);
    filter: brightness(1);
}

/* ==========================================
   Mitmachen / Timeline
========================================== */
.tl-wrapper {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

/* Leuchtende Linie */
.tl-wrapper::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--clr-primary) 0%,
        var(--clr-secondary) 60%,
        #22c55e 100%);
    box-shadow: 0 0 20px rgba(255, 42, 95, 0.4);
    border-radius: 3px;
}

.tl-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

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

.tl-seite--links,
.tl-seite--rechts {
    flex: 1;
    min-width: 0;
    padding: 0;
}

.tl-seite--links:empty,
.tl-seite--rechts:empty {
    display: none;
}

.tl-mitte {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    order: -1;
    flex-shrink: 0;
    width: 56px;
    padding-top: 0.5rem;
}

.tl-kreis {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--grad-primary);
    box-shadow: 0 0 0 6px rgba(255, 42, 95, 0.15),
                0 0 36px rgba(255, 42, 95, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tl-kreis svg {
    width: 24px;
    height: 24px;
}

.tl-kreis--finish {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15),
                0 0 36px rgba(34, 197, 94, 0.45);
}

.tl-card {
    position: relative;
    overflow: hidden;
}

.tl-card--links,
.tl-card--rechts {
    border-left: 3px solid transparent;
}

.tl-card--links::after,
.tl-card--rechts::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--grad-primary);
    border-radius: 3px 0 0 3px;
}

.tl-card--finish::after {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

.schritt-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: 0.4rem;
}

.schritt-titel {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--clr-text);
}

.tl-card p {
    color: var(--clr-text-muted);
    line-height: 1.8;
    font-size: 0.9rem;
}

.schritt-hinweis {
    margin-top: 0.75rem;
    font-size: 0.85rem !important;
    opacity: 0.65;
}

.schritt-btn-gruppe {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.schritt-btn-gruppe .btn {
    flex: 1;
    text-align: center;
    margin-top: 0;
    padding: 0.75rem 1rem;
}

.tl-card .btn {
    margin-top: 1.5rem;
    display: inline-block;
    font-size: 0.875rem;
    word-break: break-word;
}

/* ==========================================
   Accessibility
========================================== */
:focus-visible {
    outline: 2px solid var(--clr-secondary);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: fixed;
    top: -9999px;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--clr-secondary);
    color: #0b0f19;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #0b0f19;
}

.heilige-lok-card .section-title {
    margin-bottom: 1.5rem;
}

.trainer-card--recruiting .btn {
    margin-top: 1rem;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
}

.spielplan-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}
