/* ============================================
   SSV Kleinsachsenheim – Hub-Page Styles
   v20260214
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */

.hub-hero {
    position: relative;
    min-height: 80vh;
    min-height: 80dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1a1a;
}

.hub-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hub-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.hub-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 16%,
        rgba(0, 0, 0, 0.75) 24%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.5) 78%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.hub-hero .container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hub-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hub-hero--identity .hub-hero-content {
    text-align: center;
}

.hub-hero-wappen {
    width: 90px;
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    animation: wappenFloat 3s ease-in-out infinite;
}

@keyframes wappenFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hub-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hub-hero h1 .highlight {
    color: var(--color-secondary);
}

.hub-hero-tagline {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Stats Row */
.hub-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hub-stat {
    text-align: center;
}

.hub-stat-number {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hub-stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Buttons */
.hub-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Scroll Indicator */
.hub-hero::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    z-index: 3;
}

.hub-hero::before {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    z-index: 4;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Image-Only Hero (kein Text, kein Overlay) – Parallax */
.hub-hero--image-only {
    min-height: auto;
    display: block;
    background: #1a1a1a;
    overflow: hidden;
}

.hub-hero--image-only .hub-hero-bg {
    position: relative;
    inset: auto;
    height: 70vh;
}

.hub-hero--image-only .hub-hero-bg img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center center;
    display: block;
    will-change: transform;
}

.hub-hero--image-only::after,
.hub-hero--image-only::before {
    display: none;
}

/* Mobile Hero: Wappen statt Banner */
.hub-hero-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hub-hero--image-only .hub-hero-bg {
        display: none;
    }

    .hub-hero-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5rem 1.5rem 2.5rem;
        background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    }

    .hub-hero-mobile-wappen {
        width: 160px;
        height: auto;
        margin-bottom: 1.5rem;
        filter: drop-shadow(0 8px 30px rgba(245, 197, 24, 0.3));
        animation: wappenFloat 3s ease-in-out infinite;
    }

    .hub-hero-mobile h1 {
        font-size: 1.75rem;
        font-weight: 800;
        color: #ffffff;
        margin: 0 0 0.5rem;
        line-height: 1.2;
    }

    .hub-hero-mobile h1 .highlight {
        color: var(--color-secondary);
    }

    .hub-hero-mobile p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.7);
        margin: 0;
        font-weight: 400;
    }

    .hub-hero--image-only {
        min-height: auto;
    }
}

/* ============================================
   QUICK-LINKS GRID
   ============================================ */

.hub-quicklinks {
    padding: 5rem 0 4rem;
    background: var(--bg-primary);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    overflow: hidden;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.hub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
    color: var(--text-primary);
}

.hub-card:hover::before {
    transform: scaleX(1);
}

.hub-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: var(--color-secondary);
    border-radius: var(--radius-md);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    transition: all var(--transition-base);
}

.hub-card:hover .hub-card-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(26, 26, 26, 0.3);
}

.hub-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hub-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.hub-card-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform var(--transition-fast);
}

.hub-card:hover .hub-card-arrow {
    transform: translateX(4px);
}

/* Dark Mode */
[data-theme="dark"] .hub-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .hub-card-icon {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
}

/* ============================================
   AKTUELLES SECTION
   ============================================ */

.hub-aktuelles {
    background: var(--bg-secondary);
}

/* ============================================
   TRAINING SECTION
   ============================================ */

.hub-training {
    padding: 5rem 0 4rem;
    background: var(--bg-primary);
}

.hub-training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.hub-training-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.hub-training-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.hub-training-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: var(--color-secondary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hub-training-youth .hub-training-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
}

.hub-training-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hub-training-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.hub-training-times {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.hub-training-times li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hub-training-times li:last-child {
    border-bottom: none;
}

.hub-training-times li i {
    color: var(--color-secondary);
    font-size: 0.75rem;
    width: 16px;
}

.hub-training-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.hub-training-note i {
    color: var(--color-accent);
    margin-right: 0.35rem;
}

.hub-training-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hub-training-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a7a3a;
    background: rgba(26, 122, 58, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.hub-training-badges span i {
    font-size: 0.65rem;
}

[data-theme="dark"] .hub-training-badges span {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
}

/* Training CTA */
.hub-training-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hub-training-cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* ============================================
   PARTNERS / VERBÄNDE
   ============================================ */

.hub-partners {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.hub-partners-title {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.hub-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hub-partners-grid a {
    display: flex;
    align-items: center;
    opacity: 0.5;
    transition: opacity var(--transition-base);
    filter: grayscale(100%);
}

.hub-partners-grid a:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.hub-partners-grid img {
    height: 40px;
    width: auto;
}

/* ============================================
   KONTAKT INFO GRID (für kontakt.html)
   ============================================ */

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
    min-width: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-info-item:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.contact-info-item a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--color-accent);
}

/* ============================================
   KONTAKT FORM STYLES (für kontakt.html)
   ============================================ */

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form .form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ============================================
   RESPONSIVE – MOBILE FIRST
   ============================================ */

@media (max-width: 1099px) {
    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero */
    .hub-hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hub-hero--image-only {
        min-height: auto;
    }

    .hub-hero .container {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .hub-hero-wappen {
        width: 70px;
    }

    .hub-hero-stats {
        gap: 1.25rem;
    }

    .hub-stat-number {
        font-size: 1.5rem;
    }

    .hub-stat-label {
        font-size: 0.7rem;
    }

    .hub-hero::after,
    .hub-hero::before {
        display: none;
    }

    /* Quick-Links */
    .hub-quicklinks {
        padding: 3rem 0 2.5rem;
    }

    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .hub-card {
        padding: 1.25rem 1rem;
    }

    .hub-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .hub-card h3 {
        font-size: 0.95rem;
    }

    .hub-card p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    /* Training */
    .hub-training {
        padding: 3rem 0;
    }

    .hub-training-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hub-training-card {
        padding: 1.5rem;
    }

    /* Partners */
    .hub-partners-grid {
        gap: 1.5rem;
    }

    .hub-partners-grid img {
        height: 30px;
    }

    /* Kontakt Form */
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hub-grid {
        grid-template-columns: 1fr;
    }

    .hub-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hub-hero-buttons .btn,
    .hub-hero-buttons .btn-outline-light {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hub-hero-stats {
        gap: 1rem;
    }
}

/* ============================================
   2026 Home Redesign
   ============================================ */

.hub-hero--identity {
    min-height: clamp(640px, 78vh, 760px);
    display: flex;
    align-items: center;
    margin-top: 76px;
    background: radial-gradient(circle at 10% 10%, #2c2c2c 0%, #121212 55%, #0a0a0a 100%);
}

.hub-hero--identity::after,
.hub-hero--identity::before {
    display: none;
}

.hub-hero-layer {
    position: absolute;
    border-radius: 999px;
    filter: blur(16px);
    opacity: 0.45;
    pointer-events: none;
}

.hub-hero-layer--one {
    width: 260px;
    height: 260px;
    top: 8%;
    left: -60px;
    background: rgba(196, 30, 58, 0.65);
}

.hub-hero-layer--two {
    width: 320px;
    height: 320px;
    right: -80px;
    bottom: -40px;
    background: rgba(245, 197, 24, 0.6);
}

.hub-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    grid-template-areas:
        "content visual";
    gap: 1.5rem 2.25rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: clamp(1.75rem, 4vw, 3rem);
    padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.hub-hero--identity .hub-hero-grid {
    padding-top: clamp(1.75rem, 4vw, 3rem);
    padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

.hub-hero--identity .hub-hero-content {
    grid-area: content;
    width: 100%;
}

.hub-hero-followup {
    grid-area: followup;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.hub-hero-wappen-large {
    display: block;
    width: clamp(110px, 14vw, 170px);
    height: auto;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(245, 197, 24, 0.18));
    animation: heroWappenFloat 4s ease-in-out infinite;
}

@keyframes heroWappenFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-6px) rotate(1deg); }
}

@media (max-width: 768px) {
    .hub-hero-wappen-large {
        margin-left: auto;
        margin-right: auto;
    }
}

.hub-hero-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.hub-hero--identity h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.hub-hero-title-line {
    display: block;
    white-space: nowrap;
}

.hub-hero-lead {
    color: rgba(255, 255, 255, 0.86);
    max-width: 54ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.hub-hero-slogan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    margin: 0;
    padding: 0.55rem 1rem;
    color: #171717;
    background: var(--color-secondary);
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(245, 197, 24, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hub-hero-slogan:hover,
.hub-hero-slogan:focus-visible {
    color: #171717;
    background: #ffd737;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(245, 197, 24, 0.26);
}

.hub-hero-slogan:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 4px;
}

.hero-event-panel {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 1rem;
    color: #fff;
    background: rgba(16, 16, 16, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(14px);
}

.hero-event-details {
    min-width: 0;
}

.hero-event-panel-copy {
    text-align: left;
    margin-bottom: 0.85rem;
}

.hero-event-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.35rem;
    color: var(--color-secondary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-event-panel h2 {
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.12;
    margin: 0 0 0.35rem;
}

.hero-event-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero-event-date-list {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0;
}

.hero-event-date-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "icon date action"
        "icon time action"
        "icon age action";
    align-items: center;
    gap: 0.08rem 0.6rem;
    min-height: 66px;
    padding: 0.5rem 0.58rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 197, 24, 0.26);
    border-radius: 14px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-event-date-card:hover,
.hero-event-date-card:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(245, 197, 24, 0.72);
    transform: translateY(-1px);
}

.hero-event-date-card > i {
    grid-area: icon;
    color: var(--color-secondary);
}

.hero-event-date-card > span {
    grid-area: date;
    min-width: 0;
    color: #fff;
    font-weight: 700;
}

.hero-event-date-card strong {
    grid-area: time;
    color: var(--color-secondary);
    font-size: 0.88rem;
    white-space: nowrap;
}

.hero-event-date-card em {
    grid-area: age;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
    font-style: normal;
}

.hero-event-date-card b {
    grid-area: action;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.5rem 0.65rem;
    color: #171717;
    background: var(--color-secondary);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.hub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hub-hero-actions .btn,
.hub-hero-actions .btn-outline-light {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
}

.hub-hero-stats {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hub-hero-stats li {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 0.6rem 0.85rem;
    min-width: 120px;
}

.hub-hero-stats strong {
    display: block;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.hub-hero-stats span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
}

.hub-hero-visual {
    grid-area: visual;
    position: relative;
    transform-style: preserve-3d;
    perspective: 900px;
}

.hub-hero-visual > picture > img {
    width: 100%;
    max-width: 560px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
    transform: rotateY(-8deg) rotateX(2deg);
    transition: transform 220ms ease;
}

.hub-hero-visual:hover > picture > img {
    transform: rotateY(-4deg) rotateX(1deg);
}

.hub-hero-event {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-event-image,
.hero-event-image img {
    display: block;
}

.hub-hero-event > .hero-event-image > img {
    width: 100%;
    max-width: min(100%, 430px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
}

.hero-registration-actions .btn {
    min-width: 172px;
    min-height: 52px;
}

.hero-floating-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(14, 14, 14, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.hero-floating-card i {
    color: var(--color-secondary);
}

.hero-floating-card.card-one {
    top: 10%;
    left: -18px;
}

.hero-floating-card.card-two {
    top: 58%;
    left: -30px;
}

.hero-floating-card.card-three {
    right: -18px;
    bottom: 16%;
}

.hub-identity {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hub-identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.identity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.identity-card h3 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.identity-card h3 i {
    color: var(--color-secondary);
}

.identity-card p {
    margin: 0;
    color: var(--text-secondary);
}

.hub-membership {
    background: var(--bg-secondary);
}

.hub-membership-box {
    background: linear-gradient(140deg, #131313 0%, #272727 62%, #3a3131 100%);
    border-radius: var(--radius-xl);
    color: #fff;
    padding: 1.7rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.hub-membership-box h2 {
    color: #fff;
    margin-bottom: 0.4rem;
}

.hub-membership-box p {
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
}

.hub-membership-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary) !important;
    margin-bottom: 0.4rem !important;
}

.hub-membership-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

/* CTAs auf dunkler Membership-Box hell darstellen, sonst unleserlich */
.hub-membership-box .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.hub-membership-box .btn-secondary:hover,
.hub-membership-box .btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .hub-hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "visual";
        gap: 1.15rem;
    }

    .hub-hero-visual > picture > img {
        max-width: 100%;
        transform: none;
    }

    .hub-hero-event > .hero-event-image > img {
        max-width: 100%;
        transform: none;
    }

    .hero-floating-card.card-one,
    .hero-floating-card.card-two,
    .hero-floating-card.card-three {
        position: static;
        margin-top: 0.5rem;
        display: inline-flex;
    }

    .hub-identity-grid {
        grid-template-columns: 1fr;
    }

    .hub-membership-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hub-hero--identity {
        min-height: calc(100vh - 72px);
        min-height: calc(100dvh - 72px);
        margin-top: 72px;
    }

    .hub-hero--identity .hub-hero-grid {
        grid-template-areas:
            "content"
            "visual";
        padding-top: 1.25rem;
        padding-bottom: 2rem;
    }

    .hub-hero-wappen-large {
        width: clamp(82px, 28vw, 108px);
        margin-bottom: 0.8rem;
    }

    .hub-hero-badge {
        margin-bottom: 0.65rem;
        font-size: 0.72rem;
    }

    .hub-hero--identity h1 {
        font-size: clamp(1.45rem, 8vw, 1.9rem);
    }

    .hub-hero-lead {
        margin-bottom: 0.75rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .hub-hero-slogan {
        min-height: 38px;
        padding: 0.5rem 0.8rem;
        font-size: 0.88rem;
    }

    .hub-hero-visual {
        margin-top: 0;
    }

    .hero-registration-actions .btn,
    .hero-registration-actions .btn-outline-light {
        width: 100%;
        justify-content: center;
    }

    .hero-event-panel {
        width: min(100%, 370px);
        padding: 0.75rem;
        border-radius: 20px;
    }

    .hero-event-panel-copy {
        text-align: center;
    }

    .hero-event-date-card {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "icon date"
            "icon time"
            "icon age"
            "action action";
        gap: 0.1rem 0.55rem;
        padding: 0.62rem;
    }

    .hero-event-date-card strong {
        white-space: normal;
    }

    .hero-event-date-card b {
        width: 100%;
        margin-top: 0.45rem;
    }

}

@media (max-width: 380px) {
    .hero-event-panel {
        width: 100%;
    }
}
