/* ============================================
   SSV Kleinsachsenheim - Sub-Pages & Dropdown Nav
   ============================================ */

/* ============================================
   Dropdown Navigation
   ============================================ */

.nav-menu > li {
    position: relative;
}

.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.nav-link.nav-link-dropdown::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    opacity: 0.7;
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    transition: transform var(--transition-fast);
}

.nav-link.nav-link-dropdown.active::after {
    content: '\f107';
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
}

.nav-link-dropdown.active {
    box-shadow: inset 0 -3px 0 var(--color-secondary);
}

.nav-item-dropdown:hover .nav-link-dropdown::after,
.nav-item-dropdown.open .nav-link-dropdown::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
    list-style: none;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hover-Brücke: kleiner unsichtbarer Streifen über dem Dropdown,
   damit der Mauszeiger nicht in die Lücke fällt */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

/* Nur das letzte Dropdown (Mitmachen) rechtsbündig, damit es nicht aus dem Viewport ragt */
.nav-item-dropdown:nth-last-child(2) .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dropdown-menu a:hover i {
    color: var(--color-accent);
}

.dropdown-menu a.active {
    background: #1a1a1a;
    color: white;
}

.dropdown-menu a.active i {
    color: var(--color-secondary);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-secondary);
}

/* Dropdown Divider */
.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

/* Mobile Dropdown */
@media (max-width: 1099px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 12px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item-dropdown.open .dropdown-menu {
        max-height: 800px;
    }

    .dropdown-menu a {
        min-height: 44px;
        padding: 10px 20px 10px 40px;
        font-size: 1rem;
        color: var(--text-secondary);
        border-radius: var(--radius-md);
        white-space: normal;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background: rgba(26, 26, 26, 0.05);
        color: var(--text-primary);
    }

    [data-theme="dark"] .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-link-dropdown {
        justify-content: space-between;
        width: 100%;
    }
}

/* ============================================
   Sub-Page Layout
   ============================================ */

.subpage {
    min-height: 100vh;
}

/* Page Header / Hero Banner */
.page-hero {
    position: relative;
    padding: 118px 0 44px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/lg-halle.webp') center/cover no-repeat;
    opacity: 0.15;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.page-hero .breadcrumb a:hover {
    color: var(--color-secondary);
}

.page-hero .breadcrumb i {
    font-size: 0.7rem;
}

.page-hero h1 {
    font-size: clamp(1.65rem, 3.5vw, 2.45rem);
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.page-hero h1 .highlight {
    color: var(--color-secondary);
    overflow-wrap: anywhere;
}

.page-hero .page-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
}

/* Accent line */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent), var(--color-secondary));
}

/* Page Content Area */
.page-content {
    padding: 44px 0 64px;
    background: var(--bg-secondary);
}

.page-content .container {
    max-width: 1100px;
}

/* Content Cards */
.content-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    min-width: 0;
}

@media (min-width: 768px) {
    .content-card {
        padding: 32px;
    }
}

.content-card h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.content-card h2 i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

.content-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    margin-top: 20px;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.content-card p {
    line-height: 1.8;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.content-card ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.content-card ul li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.compact-icon-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 16px 0;
    list-style: none;
}

.compact-icon-list li {
    display: block;
    margin: 0;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    line-height: 1.55;
}

.compact-icon-list li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    color: var(--color-secondary);
    background: #1a1a1a;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    vertical-align: middle;
}

.compact-icon-list li strong {
    color: var(--text-primary);
    margin-right: 4px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Feature Box */
.feature-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
    min-width: 0;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-box .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.1rem;
}

.feature-box h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Person Cards (Vorstand, Mannschaften) */
.person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 24px;
    min-width: 0;
}

.person-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    min-width: 0;
}

.person-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.person-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
}

.person-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.person-role {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.person-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.person-card a {
    color: var(--color-accent);
    font-size: 0.85rem;
}

/* Discipline Cards */
.discipline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .discipline-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.discipline-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.discipline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.discipline-image {
    height: 200px;
    overflow: hidden;
}

.discipline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.discipline-card:hover .discipline-image img {
    transform: scale(1.05);
}

.discipline-content {
    padding: 24px;
}

.discipline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    margin-top: 0;
}

.discipline-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.discipline-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.discipline-meta span i {
    color: var(--color-accent);
}

.discipline-content p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Team / Mannschaft Cards */
.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.team-header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-header h3 {
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-header h3 i {
    color: var(--color-secondary);
}

.team-league {
    background: var(--color-secondary);
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.team-body {
    padding: 24px 28px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.3;
    min-height: 52px;
}

.team-member > i {
    flex-shrink: 0;
    color: var(--color-accent);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
}

.team-member .tm-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.team-member .tm-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-member .tm-name.captain {
    color: var(--color-secondary);
}

.team-member small {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Legacy: falls captain noch als alleiniges span vorkommt */
.team-member > .captain {
    color: var(--color-secondary);
    font-weight: 600;
}

.team-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.team-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-info span i {
    color: var(--color-accent);
}

/* Results / Ergebnisse */
.results-season {
    margin-bottom: 32px;
}

.results-season h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.results-table thead {
    background: #1a1a1a;
    color: white;
}

.results-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.results-table td {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.results-table tbody tr:hover {
    background: var(--bg-secondary);
}

.results-table tbody tr:last-child td {
    border-bottom: none;
}

.result-win {
    color: #28a745;
    font-weight: 600;
}

.result-loss {
    color: #dc3545;
    font-weight: 600;
}

.result-draw {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .results-table {
        display: block;
        overflow: visible;
        white-space: normal;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .results-table thead {
        display: none;
    }

    .results-table tbody,
    .results-table tr,
    .results-table td {
        display: block;
        width: 100% !important;
        min-width: 0;
    }

    .results-table tr {
        margin-bottom: 12px;
        padding: 12px 14px;
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }

    .results-table tbody tr:hover {
        background: var(--bg-card);
    }

    .results-table th,
    .results-table td {
        white-space: normal;
    }

    .results-table td {
        display: grid;
        grid-template-columns: minmax(112px, 44%) minmax(0, 1fr);
        align-items: start;
        gap: 8px;
        padding: 9px 0;
        border-bottom: 1px solid var(--border-light);
        overflow-wrap: anywhere;
    }

    .results-table td:last-child {
        border-bottom: 0;
    }

    .results-table td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .results-table td[colspan] {
        display: block;
        text-align: left !important;
    }

    .results-table td[colspan]::before {
        display: none;
    }
}

@media (max-width: 360px) {
    .results-table td {
        display: block;
    }

    .results-table td::before {
        display: block;
        margin-bottom: 4px;
    }
}

/* Bankdaten duerfen auf Mobile nicht seitlich geschoben werden. */
.bank-details .results-table {
    table-layout: fixed;
}

.bank-details .results-table th,
.bank-details .results-table td {
    vertical-align: top;
}

.bank-details .results-table td {
    overflow-wrap: anywhere;
    word-break: normal;
}

.bank-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--color-accent);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.bank-copy-btn:hover,
.bank-copy-btn:focus-visible {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.36);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .bank-details .results-table {
        display: table;
        width: 100%;
        min-width: 0;
        overflow: visible;
        white-space: normal;
        border-spacing: 0;
    }

    .bank-details .results-table tbody,
    .bank-details .results-table tr,
    .bank-details .results-table th,
    .bank-details .results-table td {
        display: block;
        width: 100% !important;
        min-width: 0;
        white-space: normal;
    }

    .bank-details .results-table tr {
        margin-bottom: 0;
        padding: 14px 16px;
        background: transparent;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
        box-shadow: none;
    }

    .bank-details .results-table tr:last-child {
        border-bottom: 0;
    }

    .bank-details .results-table th,
    .bank-details .results-table td {
        padding: 0;
        border-bottom: 0;
    }

    .bank-details .results-table th {
        margin-bottom: 6px;
        background: transparent;
        color: var(--text-muted);
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .bank-details .results-table td {
        display: block;
        font-size: 0.95rem;
        color: var(--text-primary);
    }

    .bank-details .results-table td::before {
        display: none;
    }
}

/* Responsive Map Embed (Google Maps Iframe) */
.responsive-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 400px;
    overflow: hidden;
}
.responsive-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
@media (max-width: 600px) {
    .responsive-map {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }
}

/* Press/Presse Cards */
.press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.press-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.press-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.press-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.press-content h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.press-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.press-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.press-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
    gap: 16px;
    min-width: 0;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 1.5rem;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* Application Form (Mitglied werden) */
.application-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h3 i {
    color: var(--color-accent);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

/* Mitglied werden 2026 */
.membership-hero {
    padding: 112px 0 52px;
    background:
        radial-gradient(circle at 12% 20%, rgba(196, 30, 58, 0.28), transparent 30%),
        radial-gradient(circle at 84% 22%, rgba(245, 197, 24, 0.18), transparent 28%),
        linear-gradient(135deg, #111 0%, #202020 62%, #12100b 100%);
}

.membership-hero::before {
    display: none;
}

.membership-hero-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.membership-hero-copy {
    min-width: 0;
}

.membership-hero-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    color: #fff;
    background: rgba(14, 14, 14, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
}

.membership-hero-card img {
    width: 52px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.36));
}

.membership-hero-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.membership-hero-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.membership-hero-card ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 2px 0 4px;
    list-style: none;
}

.membership-hero-card li {
    display: flex;
    gap: 9px;
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
}

.membership-hero-card li i {
    color: var(--color-secondary);
}

.membership-hero-card .btn {
    justify-content: center;
}

.membership-hero-kicker,
.membership-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--color-secondary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.membership-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    max-width: 420px;
}

.membership-hero .btn-outline-light,
.membership-page .btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.62);
}

.membership-hero .btn-outline-light:hover,
.membership-page .btn-outline-light:hover,
.membership-hero .btn-outline-light:focus-visible,
.membership-page .btn-outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.membership-page .container {
    max-width: 1240px;
}

.membership-page .membership-page-narrow {
    max-width: 980px;
}

.membership-hero-simple .membership-hero-grid {
    max-width: 860px;
}

.membership-layout {
    display: grid;
    gap: 30px;
}

.membership-sidebar {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 24px;
    color: var(--text-primary);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.membership-sidebar img {
    width: 74px;
    height: auto;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.38));
}

.membership-sidebar h2 {
    color: var(--text-primary);
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.15;
}

.membership-sidebar p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.58;
}

.membership-mini-steps {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: member-step;
}

.membership-mini-steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    color: var(--text-secondary);
}

.membership-mini-steps li::before {
    counter-increment: member-step;
    content: counter(member-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #111;
    background: var(--color-secondary);
    border-radius: 999px;
    font-weight: 800;
}

.membership-mini-steps strong,
.membership-mini-steps span {
    display: block;
}

.membership-mini-steps strong {
    color: var(--text-primary);
    margin-bottom: 2px;
}

.membership-contact-card {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    line-height: 1.55;
}

.membership-contact-card strong,
.membership-contact-card span {
    color: var(--text-primary);
}

.membership-contact-card a {
    color: var(--color-secondary);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.membership-main {
    min-width: 0;
}

.membership-section {
    margin-bottom: 30px;
}

.membership-section-heading {
    margin-bottom: 18px;
}

.membership-section-heading h2 {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--text-primary);
    font-size: clamp(1.35rem, 5vw, 2rem);
}

.membership-feature-grid,
.membership-pricing-grid,
.membership-detail-grid,
.membership-training-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.membership-feature,
.membership-price-card,
.membership-info-panel,
.membership-training-grid article {
    min-width: 0;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.membership-feature i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    color: var(--color-secondary);
    background: #1a1a1a;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
}

.membership-feature h3,
.membership-price-card h3,
.membership-info-panel h3,
.membership-training-grid h3,
.membership-steps h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.membership-feature p,
.membership-training-grid p,
.membership-steps p {
    margin: 0;
    color: var(--text-secondary);
}

.membership-price-card {
    position: relative;
    overflow: hidden;
}

.membership-price-card.is-featured {
    border-color: rgba(196, 30, 58, 0.38);
    box-shadow: 0 14px 34px rgba(196, 30, 58, 0.12);
}

.membership-price-card.is-featured::before {
    content: 'Aktuell';
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 10px;
    color: #fff;
    background: var(--color-accent);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.membership-price-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.membership-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.membership-price strong {
    color: var(--text-primary);
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1;
}

.membership-price span {
    color: var(--text-muted);
}

.membership-price-card ul,
.membership-info-panel ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.membership-price-card li,
.membership-info-panel li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: var(--text-secondary);
    line-height: 1.5;
}

.membership-price-card li i,
.membership-info-panel h3 i {
    color: var(--color-accent);
}

.membership-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 16px 0 0;
    padding: 14px 16px;
    color: var(--text-secondary);
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.32);
    border-radius: var(--radius-md);
}

.membership-note i {
    color: var(--color-secondary-dark);
    margin-top: 4px;
}

.membership-steps {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.membership-steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.membership-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #111;
    background: var(--color-secondary);
    border-radius: 999px;
    font-weight: 900;
}

.membership-steps a {
    color: var(--color-accent);
    font-weight: 700;
}

.membership-training-grid article {
    border-left: 4px solid var(--color-secondary);
}

.membership-final-cta {
    display: grid;
    gap: 18px;
    align-items: center;
    margin-top: 12px;
    padding: 26px;
    color: #fff;
    background: linear-gradient(135deg, #151515, #2c2323);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.membership-final-cta h2,
.membership-final-cta p {
    color: #fff;
}

.membership-final-cta h2 {
    margin-bottom: 8px;
}

.membership-final-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.membership-final-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.membership-final-actions .btn {
    width: 100%;
}

/* Jugendarbeit 2026 */
.youth-page-hero .page-subtitle {
    max-width: 620px;
}

.youth-page .youth-page-narrow {
    max-width: 980px;
}

.youth-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.youth-facts article,
.youth-age-grid article,
.youth-safety,
.youth-contact {
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.youth-facts article {
    padding: 16px;
}

.youth-facts span {
    display: block;
    margin-bottom: 4px;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.youth-facts strong {
    color: var(--text-primary);
    font-size: clamp(1.05rem, 4vw, 1.35rem);
}

.youth-section {
    margin-bottom: 30px;
}

.youth-section-heading {
    margin-bottom: 16px;
}

.youth-section-heading h2,
.youth-safety h2,
.youth-contact h2 {
    margin-bottom: 8px;
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.youth-section-heading p,
.youth-safety p,
.youth-contact p {
    margin: 0;
    color: var(--text-secondary);
}

.youth-age-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.youth-age-grid article {
    padding: 20px;
    border-top: 4px solid var(--color-secondary);
}

.youth-age-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--color-secondary);
    background: #1a1a1a;
    border-radius: var(--radius-md);
}

.youth-age-grid h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.youth-age-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-accent);
}

.youth-age-grid p {
    margin: 0;
    color: var(--text-secondary);
}

.youth-safety {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.youth-safety .compact-icon-list {
    margin: 0;
}

.youth-contact {
    display: grid;
    gap: 18px;
    align-items: center;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #151515, #2c2323);
}

.youth-contact h2,
.youth-contact p {
    color: #fff;
}

.youth-contact p {
    color: rgba(255, 255, 255, 0.78);
}

.youth-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.youth-contact .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.68);
}

@media (min-width: 640px) {
    .membership-hero-actions,
    .membership-final-actions {
        flex-direction: row;
        max-width: none;
    }

    .membership-final-actions .btn {
        width: auto;
    }

    .membership-feature-grid,
    .membership-detail-grid,
    .membership-training-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .youth-facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .youth-age-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .youth-contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 900px) {
    .membership-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.58fr);
    }

    .membership-hero-simple .membership-hero-grid {
        grid-template-columns: minmax(0, 820px);
    }

    .membership-hero-copy {
        max-width: 680px;
    }

    .membership-hero-simple .membership-hero-copy {
        max-width: 820px;
    }

    .membership-hero-card {
        justify-self: end;
        max-width: 330px;
    }

    .membership-layout {
        grid-template-columns: minmax(310px, 0.34fr) minmax(0, 1fr);
        align-items: start;
    }

    .membership-sidebar {
        position: sticky;
        top: 100px;
    }

    .membership-feature-grid,
    .membership-pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .membership-steps-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .membership-steps-compact li {
        grid-template-columns: 1fr;
    }

    .membership-final-cta {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .youth-safety,
    .youth-contact {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    }
}

/* Pricing Table (Mitglied werden) */
.pricing-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

@media (min-width: 600px) {
    .pricing-compare {
        grid-template-columns: 1fr 1fr;
    }
}

.price-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
}

.price-card.featured {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.price-card.featured::before {
    content: 'Beliebt';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.price-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.price-amount small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 16px 0;
}

.price-card ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.price-card ul li:last-child {
    border-bottom: none;
}

.price-card ul li i {
    color: #28a745;
    font-size: 0.8rem;
}

/* Timeline (Vereinsgeschichte) */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    border: 3px solid var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.timeline-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
    min-width: 0;
}

@media (min-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.responsive-map:has(.maps-consent) {
    aspect-ratio: auto;
    max-height: none;
}

.location-map-compact.responsive-map:has(.maps-consent) {
    height: auto;
    min-height: 0;
    overflow: visible !important;
}

.stat-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.stat-box .number,
.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.stat-box .label,
.stat-box .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

@media (max-width: 420px) {
    .stats-row {
        gap: 12px;
    }

    .stat-box {
        padding: 16px 12px;
    }

    .stat-box .number,
    .stat-box .stat-number {
        font-size: clamp(1.45rem, 8vw, 1.8rem);
    }

    .stat-box .label,
    .stat-box .stat-label {
        font-size: 0.72rem;
    }
}

@media (max-width: 360px) {
    .stats-row {
        grid-template-columns: 1fr;
    }

    .stat-box {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 4px 14px;
        text-align: left;
    }

    .stat-box .number,
    .stat-box .stat-number {
        min-width: 72px;
        margin-bottom: 0;
        text-align: center;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    color: white;
    margin-top: 28px;
}

.cta-section h3 {
    color: white;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sub-page Footer (Same as index) */
.subpage-footer {
    margin-top: auto;
}

/* Tabs for Results */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Placeholder/Coming soon */
.placeholder-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: var(--border-color);
}

.placeholder-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Youth Section Special */
.youth-highlight {
    background: linear-gradient(135deg, #fff7e6, #fff3d6);
    border: 1px solid #f5c518;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 18px;
    min-width: 0;
}

[data-theme="dark"] .youth-highlight {
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.3);
}

.youth-highlight h3 {
    color: #b8900a;
    margin-top: 0;
}

[data-theme="dark"] .youth-highlight h3 {
    color: var(--color-secondary);
}

/* Contact block for subpages */
.contact-block {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.contact-block i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.contact-block a {
    color: var(--color-accent);
    font-weight: 600;
}

/* Badge / Tag */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: #1a1a1a;
    color: white;
}

.badge-accent {
    background: var(--color-accent);
    color: white;
}

.badge-secondary {
    background: var(--color-secondary);
    color: #1a1a1a;
}

.badge-success {
    background: #28a745;
    color: white;
}

/* Vereinsheim Gallery */
.vereinsheim-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin: 20px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.vereinsheim-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.vereinsheim-gallery .gallery-side {
    display: grid;
    gap: 12px;
}

@media (max-width: 600px) {
    .vereinsheim-gallery {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for subpages */
@media (max-width: 768px) {
    .page-hero {
        padding: 104px 0 32px;
    }

    .page-hero .breadcrumb {
        gap: 8px;
        flex-wrap: wrap;
    }

    .page-hero .breadcrumb a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .page-content {
        padding: 30px 0 48px;
    }
    
    .content-card {
        padding: 18px;
        border-radius: var(--radius-md);
        margin-bottom: 16px;
    }

    .content-card h2 {
        font-size: clamp(1.2rem, 6.2vw, 1.45rem);
        line-height: 1.2;
    }

    .content-card p {
        line-height: 1.65;
    }

    .feature-box {
        padding: 20px;
    }

    .feature-box:hover,
    .person-card:hover,
    .team-card:hover,
    .press-card:hover,
    .sponsor-tile:hover {
        transform: none;
    }
    
    .team-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .person-card > a,
    .team-info a,
    .press-card a,
    .feature-box p a,
    .placeholder-content a,
    .form-note a,
    .contact-block a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    
    .press-card {
        flex-direction: column;
    }
    
    .cta-section {
        padding: 28px 20px;
    }
}

/* === Neue Komponenten 2026 === */

/* Vakante Vorstandsposten - gedimmt darstellen */
.person-card--vacant {
    opacity: 0.65;
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
}
.person-card--vacant .person-name,
.person-card--vacant h4 {
    color: #64748b;
    font-style: italic;
}
.person-card--vacant::before {
    content: "Vakant";
    display: inline-block;
    padding: 2px 10px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Mannschafts-Platzhalter "In Aufbau" */
.team-card--placeholder {
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    opacity: 0.85;
}
.team-card--placeholder h4 {
    color: #475569;
}

/* Sponsoren-Platzhalterkarten */
.sponsor-card--placeholder {
    border: 2px dashed #cbd5e1;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    transition: all 0.25s ease;
}
.sponsor-card--placeholder:hover {
    border-color: var(--color-primary, #1e3a8a);
    transform: translateY(-3px);
}
.sponsor-card--placeholder h4 {
    color: #475569;
}

/* Sponsoren-Tiles (echte Sponsoren mit Logo) */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem;
}

.sponsor-tile {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-left: 4px solid var(--color-secondary, #f5c518);
    border-radius: var(--radius-lg, 14px);
    box-shadow: var(--shadow-sm, 0 2px 6px rgba(0, 0, 0, 0.06));
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sponsor-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-left-color: var(--color-primary, #c41e3a);
}

.sponsor-tile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    min-height: 110px;
    border: 1px solid #f1f5f9;
}

.sponsor-tile-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.sponsor-tile-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.sponsor-tile-body p {
    margin: 0 0 0.6rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.sponsor-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-primary, #c41e3a);
}

.sponsor-tile:hover .sponsor-tile-link {
    text-decoration: underline;
}

@media (max-width: 540px) {
    .sponsor-tile {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem;
    }
    .sponsor-tile-logo {
        max-width: 220px;
        margin: 0 auto;
    }
    .sponsor-tile-link {
        justify-content: center;
        min-height: 44px;
    }
}

/* FAQ Items - native <details> Styling */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #fff;
    transition: box-shadow 0.2s ease;
}
.faq-item[open] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}
.faq-item summary {
    padding: 16px 48px 16px 18px;
    cursor: pointer;
    list-style: none;
    position: relative;
    font-size: 1rem;
    line-height: 1.45;
    user-select: none;
    color: #1e293b;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary, #1e3a8a);
    transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
    content: "−";
}
.faq-item summary:hover {
    background: #f8fafc;
    border-radius: 10px;
}
.faq-item > p,
.faq-item > ul {
    padding: 0 18px 16px;
    margin-top: 0;
    color: #475569;
    line-height: 1.7;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.faq-item > ul {
    padding-left: 38px;
}

/* Kontakt-Block (für Hinweise, gestaltet wie Info-Box) */
.contact-block {
    display: flex;
    gap: 14px;
    padding: 14px 18px;
    background: #eff6ff;
    border-left: 4px solid var(--color-primary, #1e3a8a);
    border-radius: 6px;
    align-items: flex-start;
}
.contact-block i {
    color: var(--color-primary, #1e3a8a);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-block strong {
    color: #1e293b;
}

@media (max-width: 600px) {
    .contact-block {
        padding: 14px;
        gap: 12px;
    }

    .contact-block i {
        font-size: 1.15rem;
    }

    .youth-highlight {
        display: block;
        padding: 18px;
    }

    .youth-highlight h3 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        overflow-wrap: anywhere;
    }

    .youth-info,
    .contact-info-grid,
    .contact-info-item {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .youth-highlight p {
        margin-bottom: 0;
    }

    .badge {
        margin-bottom: 6px;
    }
}

/* Maps Click-to-Load (DSGVO) */
.maps-consent {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #fff;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.maps-consent::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/map-placeholder.svg') center/cover no-repeat;
    opacity: 0.15;
    border-radius: 12px;
    pointer-events: none;
}
.maps-consent > * {
    position: relative;
    z-index: 1;
}
.maps-consent i.fa-map-location-dot {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.9;
    color: #fff;
}
.maps-consent h4 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #fff;
}
.maps-consent p {
    margin: 0 0 18px;
    max-width: 500px;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.92);
}
.maps-consent .btn {
    background: #fff;
    color: #1e3a8a;
    border-color: #fff;
    min-height: 44px;
}
.maps-consent .btn:hover {
    background: #f1f5f9;
}

@media (max-width: 600px) {
    .maps-consent {
        min-height: auto;
        padding: 28px 18px;
    }

    .maps-consent i.fa-map-location-dot {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    .maps-consent p {
        margin-bottom: 16px;
    }
}

/* Spendenkonto-Karte hervorgehoben */
.donation-card {
    border-left: 5px solid var(--color-accent, #dc2626);
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}
.donation-card h2 i {
    color: var(--color-accent, #dc2626);
}
.donation-card .results-table th {
    text-align: left;
    background: rgba(220, 38, 38, 0.06);
    color: #1e293b;
    font-weight: 600;
}
.donation-card .results-table td {
    word-break: break-word;
}
