/* Hero Hub — community-first, kompakt, zentriert */
#home .hero-content {
    align-items: center;
}

.hero-text--hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    gap: 0.65rem;
}

.hero-text--hub .hero-quick-tags {
    justify-content: center;
}

.hero-text--hub .hero-buttons--single {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 22rem;
}

/* Panel — glass + glow */
.hero-panel--hub {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(22, 18, 38, 0.92) 0%, rgba(14, 14, 28, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem 1.1rem 0.9rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 140, 0, 0.12) inset,
        0 0 40px rgba(255, 100, 50, 0.08);
}

.hero-panel--hub::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -30%, rgba(255, 140, 0, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(192, 132, 252, 0.14), transparent 50%);
    pointer-events: none;
}

.hero-panel--hub > * {
    position: relative;
    z-index: 1;
}

.hero-panel--hub .hero-badge {
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 220, 160, 0.95);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.hero-panel--hub h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 4.5vw, 2rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-headline-accent {
    display: block;
    margin-top: 0.12rem;
    background: linear-gradient(92deg, #ffb347 0%, #ff6b9d 45%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.48;
    max-width: 36ch;
    margin-inline: auto;
}

/* Hub-Kacheln — 4×N Grid */
.hero-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.15rem;
}

.hero-hub-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.65rem 0.4rem 0.55rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.hero-hub-tile:hover,
.hero-hub-tile:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 165, 0, 0.45);
    background: rgba(255, 165, 0, 0.1);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.15);
    outline: none;
}

.hero-hub-tile:active {
    transform: translateY(0);
}

.hero-hub-tile__icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.2), rgba(255, 100, 50, 0.08));
    font-size: 0.95rem;
    color: #ffc966;
}

.hero-hub-tile__label {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.hero-hub-tile__desc {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.2;
}

/* Coins — dezent, nicht im Fokus */
.hero-hub-footnote {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
    max-width: 34ch;
}

.hero-hub-footnote-link {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    color: rgba(255, 200, 100, 0.85);
    font-size: inherit;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-hub-footnote-link:hover {
    color: #ffd54a;
}

@media (max-width: 520px) {
    .hero-text--hub {
        max-width: 100%;
        gap: 0.55rem;
    }

    .hero-panel--hub {
        padding: 0.85rem 0.9rem 0.75rem;
        border-radius: 16px;
    }

    .hero-panel--hub h1 {
        font-size: 1.35rem;
    }

    .hero-lead {
        font-size: 0.82rem;
    }

    .hero-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .hero-hub-tile {
        padding: 0.55rem 0.35rem 0.5rem;
    }

    .hero-hub-tile__icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 521px) and (max-width: 768px) {
    .hero-hub-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 769px) {
    .hero-text--hub {
        max-width: 760px;
    }

    #home .hero-content {
        gap: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-hub-tile {
        transition: none;
    }
}
