/* =====================================================================
   ULTRA — Redesign 16.11.2026
   Kino-Bilder (Higgsfield), Plakat-Typografie, Schal-Motiv.
   Wird als letzte Datei geladen und überschreibt die älteren Schichten.
   ===================================================================== */

:root {
    --ux-night: #12060A;
    --ux-night-2: #1B0910;
    --ux-red: #A90432;
    --ux-deep: #5E0A1E;
    --ux-gold: #FDB913;
    --ux-ember: #FF5A1F;
    --ux-cream: #F6EDE0;
    --dark-bg: #12060A;
    --dark-secondary: #1B0910;
}

html body { background: var(--ux-night); }

/* ---------- Buttons: flach, kantig, klar ---------- */
html body .btn-primary,
html body .btn-secondary {
    border-radius: 6px;
    padding: 1.05rem 1.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: none;
}
html body .btn-primary {
    background: var(--ux-gold);
    color: var(--ux-night);
}
html body .btn-primary:hover { background: #fff; color: var(--ux-night); box-shadow: none; transform: translateY(-2px); }
html body .btn-secondary {
    background: transparent;
    border: 2px solid rgba(246, 237, 224, 0.55);
    color: var(--ux-cream);
}
html body .btn-secondary:hover { border-color: var(--ux-gold); color: var(--ux-gold); background: transparent; }
html body .btn-primary:focus-visible,
html body .btn-secondary:focus-visible,
html body.ux-home .hero-action-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- Überschriften ---------- */
html body .text-gradient {
    background: none !important;
    -webkit-text-fill-color: var(--ux-gold) !important;
    color: var(--ux-gold) !important;
    filter: none !important;
}
html body .section-title {
    font-size: clamp(2.8rem, 6.6vw, 5.75rem);
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-shadow: none;
}
html body .section-header::after { display: none; }
html body.ux-home .section-badge { display: none; }
html body .section-subtitle { font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(246, 237, 224, 0.78); }

/* ---------- Hintergrund-Videos ---------- */
.ux-bgvideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* =====================================================================
   HERO
   ===================================================================== */
html body.ux-home .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 8rem clamp(1.25rem, 5vw, 5rem) clamp(1.5rem, 4vh, 3rem);
    background: var(--ux-night) !important;
}
.ux-hero-poster,
.ux-hero-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
html body.ux-home .hero-video-bg {
    position: absolute;
    inset: 0;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    min-width: 0; min-height: 0;
    object-fit: cover;
    transform: none !important;
    filter: none !important;
    opacity: 0 !important;
    transition: opacity 1.2s ease;
    z-index: 0;
}
html body.ux-home .hero-video-bg.is-playing { opacity: 1 !important; }
html body.ux-home #heroWebGL,
html body.ux-home .hero-particle-canvas,
html body.ux-home .hero-logo,
html body.ux-home .hero-meta,
html body.ux-home .scroll-down { display: none !important; }

html body.ux-home .hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(18, 6, 10, 0.82) 0%, rgba(18, 6, 10, 0.35) 55%, rgba(18, 6, 10, 0) 100%),
        linear-gradient(180deg, rgba(18, 6, 10, 0.55) 0%, rgba(18, 6, 10, 0) 28%, rgba(18, 6, 10, 0.2) 60%, rgba(18, 6, 10, 0.92) 100%);
}
html body.ux-home .hero::after { display: none; }

html body.ux-home .hero-content {
    max-width: none;
    text-align: left;
    margin: 0;
}
html body.ux-home .hero-tag {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--ux-gold);
    margin-bottom: 0.75rem;
}
html body.ux-home .hero-title {
    font-size: clamp(4.2rem, 18.5vw, 20rem);
    line-height: 0.8;
    letter-spacing: 0;
    margin: 0 0 1.5rem -0.03em;
    text-shadow: none;
}
html body.ux-home .hero-title .line-1,
html body.ux-home .hero-title .line-2 {
    display: block;
    text-shadow: 0 6px 40px rgba(18, 6, 10, 0.55);
    filter: none;
    animation: uxRise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both !important;
}
html body.ux-home .hero-title .line-1 { color: var(--ux-cream); }
html body.ux-home .hero-title .line-2 {
    font-size: 0.42em;
    line-height: 1;
    margin-top: 0.12em;
    background: none;
    -webkit-text-fill-color: var(--ux-gold);
    color: var(--ux-gold);
    animation-delay: 0.15s !important;
}
@keyframes uxRise {
    from { opacity: 0; transform: translateY(0.35em); clip-path: inset(0 0 100% 0); }
    to   { opacity: 1; transform: translateY(0);      clip-path: inset(-20% 0 -20% 0); }
}
html body.ux-home .hero-subtitle {
    max-width: 36rem;
    margin: 0 0 1.75rem;
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.55;
    color: var(--ux-cream);
}
html body.ux-home .hero-subtitle strong { display: block; color: var(--ux-gold); }
html body.ux-home .hero-buttons { justify-content: flex-start; margin-bottom: clamp(2rem, 6vh, 4rem); }

/* Schnellzugriffe: ruhige Zeile statt Glas-Kacheln */
html body.ux-home .hero-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: none;
    margin: 0;
    border-top: 1px solid rgba(246, 237, 224, 0.28);
    opacity: 1;
    transform: none;
}
html body.ux-home .hero-action-card {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1.1rem 1.25rem 0.4rem 0;
    min-height: 0;
    transform: none;
    gap: 0.85rem;
    align-items: flex-start;
}
html body.ux-home .hero-action-card + .hero-action-card { padding-left: 1.25rem; border-left: 1px solid rgba(246, 237, 224, 0.18); }
html body.ux-home .hero-action-icon {
    background: none;
    border: 0;
    box-shadow: none;
    width: auto; height: auto;
    color: var(--ux-gold);
    font-size: 1.15rem;
    margin-top: 0.15rem;
}
html body.ux-home .hero-action-card strong { color: var(--ux-cream); font-size: 0.95rem; letter-spacing: 0.02em; text-transform: none; }
html body.ux-home .hero-action-card small { color: rgba(246, 237, 224, 0.7); font-size: 0.82rem; }
html body.ux-home .hero-action-card:hover strong { color: var(--ux-gold); }

/* =====================================================================
   SCHAL-BAND
   ===================================================================== */
.ux-scarf {
    position: relative;
    z-index: 6;
    overflow: hidden;
    background: var(--ux-gold);
    transform: rotate(-1.4deg) scale(1.04);
    margin: -1.2rem 0 -1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.ux-scarf::after {
    /* Fransen */
    content: '';
    display: block;
    height: 12px;
    background: repeating-linear-gradient(90deg, var(--ux-red) 0 5px, var(--ux-night) 5px 7px, var(--ux-gold) 7px 12px, var(--ux-night) 12px 14px);
}
.ux-scarf__track {
    display: flex;
    width: max-content;
    animation: uxScarf 60s linear infinite;
}
.ux-scarf__track span {
    flex: none;
    padding: 0.5em 1.1em 0.38em;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 2.9rem);
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
    background: var(--ux-red);
    color: var(--ux-gold);
}
.ux-scarf__track span:nth-child(even) { background: var(--ux-gold); color: var(--ux-red); }
@keyframes uxScarf { to { transform: translateX(-25%); } }

/* =====================================================================
   ZUHAUSE IN ULM
   ===================================================================== */
html body .ux-home-ulm {
    position: relative;
    min-height: min(92vh, 900px);
    display: flex;
    align-items: flex-end;
    padding: 10rem clamp(1.25rem, 5vw, 5rem) clamp(2.5rem, 6vh, 4.5rem);
    border: 0;
    box-shadow: none;
    background:
        linear-gradient(180deg, rgba(18, 6, 10, 0.75) 0%, rgba(18, 6, 10, 0) 30%, rgba(18, 6, 10, 0.15) 55%, rgba(18, 6, 10, 0.95) 100%),
        url('../images/hf/ulm.webp') center 35% / cover no-repeat;
}
html body .ux-home-ulm::before { display: none; }
.ux-home-ulm__inner { width: 100%; }
.ux-home-ulm__title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(3.2rem, 9.5vw, 9.5rem);
    line-height: 0.86;
    color: var(--ux-cream);
    margin: 0 0 2.25rem;
}
.ux-home-ulm__title span { display: block; }
.ux-gold { color: var(--ux-gold); }
.ux-home-ulm__facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(246, 237, 224, 0.3);
}
.ux-home-ulm__facts li { padding: 1.25rem 1.5rem 0 0; }
.ux-home-ulm__facts li + li { padding-left: 1.5rem; border-left: 1px solid rgba(246, 237, 224, 0.18); }
.ux-home-ulm__facts strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    line-height: 1;
    color: var(--ux-gold);
    margin-bottom: 0.4rem;
}
.ux-home-ulm__facts span { color: rgba(246, 237, 224, 0.82); font-size: 0.98rem; line-height: 1.45; }

/* =====================================================================
   COUNTDOWN
   ===================================================================== */
html body.ux-home .countdown-banner {
    background: var(--ux-red);
    box-shadow: none;
    border: 0;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 5rem);
}
html body.ux-home .countdown-banner::before,
html body.ux-home .countdown-banner::after { display: none; }
html body.ux-home .countdown-container { max-width: 1500px; gap: 2rem; }
html body.ux-home .countdown-team-name { font-size: clamp(1.6rem, 3.2vw, 3rem); letter-spacing: 0.02em; color: var(--ux-cream); }
html body.ux-home .countdown-team-name.gs { color: var(--ux-gold); }
html body.ux-home .countdown-vs { display: none; }
html body.ux-home .countdown-timer { gap: clamp(0.75rem, 2.5vw, 2.5rem); justify-content: center; }
html body.ux-home .countdown-unit {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
}
html body.ux-home .countdown-number {
    font-size: clamp(3.4rem, 8.5vw, 8rem);
    line-height: 0.85;
    color: var(--ux-cream);
    text-shadow: none;
    font-variant-numeric: tabular-nums;
}
html body.ux-home .countdown-label { color: var(--ux-gold); font-size: 0.8rem; letter-spacing: 0.12em; }
html body.ux-home .countdown-info { color: var(--ux-cream); opacity: 0.9; margin-top: 1.25rem; font-size: 0.9rem; letter-spacing: 0.08em; }

/* =====================================================================
   MATCHDAY
   ===================================================================== */
html body.ux-home .matchday-hub {
    background:
        linear-gradient(90deg, rgba(18, 6, 10, 0.94) 0%, rgba(18, 6, 10, 0.78) 45%, rgba(18, 6, 10, 0.55) 100%),
        linear-gradient(180deg, var(--ux-night) 0%, rgba(18, 6, 10, 0) 18%, rgba(18, 6, 10, 0) 82%, var(--ux-night) 100%),
        url('../images/hf/viewing.webp') center / cover no-repeat;
    padding-top: clamp(5rem, 10vw, 9rem);
    padding-bottom: clamp(5rem, 10vw, 9rem);
}
html body.ux-home .matchday-hub::before,
html body.ux-home .matchday-hub::after { display: none; }

/* =====================================================================
   ERFOLGE — der Löwe
   ===================================================================== */
html body.ux-home #trophies {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 5vw, 5rem) clamp(3rem, 7vh, 5rem);
    background: var(--ux-night) url('../images/hf/lion.webp') center / cover no-repeat;
}
html body.ux-home #trophies::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(18, 6, 10, 0.86) 0%, rgba(18, 6, 10, 0.3) 50%, rgba(18, 6, 10, 0) 100%),
        linear-gradient(180deg, var(--ux-night) 0%, rgba(18, 6, 10, 0) 22%, rgba(18, 6, 10, 0.1) 55%, rgba(18, 6, 10, 0.96) 100%);
}
html body.ux-home #trophies::after { display: none; }
html body.ux-home #trophies .section-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
}
html body.ux-home #trophies .section-header { text-align: left; margin: 0 0 clamp(2rem, 5vw, 4rem); max-width: 44rem; }
html body.ux-home #trophies .section-subtitle { margin-left: 0; }
html body.ux-home .trophies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    max-width: none;
    border-top: 1px solid rgba(246, 237, 224, 0.3);
}
html body.ux-home .trophy-card {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    text-align: left;
    padding: 1.25rem 1.25rem 0 0;
    transform: none !important;
}
html body.ux-home .trophy-card + .trophy-card { padding-left: 1.25rem; border-left: 1px solid rgba(246, 237, 224, 0.18); }
html body.ux-home .trophy-card::before,
html body.ux-home .trophy-card::after,
html body.ux-home .trophy-icon { display: none; }
html body.ux-home .trophy-num {
    font-size: clamp(3.6rem, 9vw, 9rem);
    line-height: 0.85;
    color: var(--ux-gold);
    -webkit-text-fill-color: var(--ux-gold);
    background: none;
    text-shadow: none;
    margin: 0 0 0.5rem;
}
html body.ux-home .trophy-name { color: var(--ux-cream); font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: 0.04em; }
html body.ux-home .trophy-detail { color: rgba(246, 237, 224, 0.72); font-size: 0.85rem; }

/* =====================================================================
   MITGLIEDSCHAFT
   ===================================================================== */
html body.ux-home #membership {
    background:
        linear-gradient(180deg, var(--ux-night) 0%, rgba(18, 6, 10, 0.86) 20%, rgba(18, 6, 10, 0.9) 75%, var(--ux-night) 100%),
        url('../images/hf/scarf.webp') center / cover no-repeat;
}

/* =====================================================================
   SPONSOREN — helle Wand
   ===================================================================== */
html body.ux-home #sponsors {
    background: var(--ux-cream);
    color: var(--ux-night);
    padding-top: clamp(5rem, 9vw, 8rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
}
html body.ux-home #sponsors .section-title span { color: var(--ux-night) !important; }
html body.ux-home #sponsors .section-title .text-gradient {
    color: var(--ux-red) !important;
    -webkit-text-fill-color: var(--ux-red) !important;
}
html body.ux-home #sponsors .section-subtitle { color: rgba(18, 6, 10, 0.75); }
html body.ux-home #sponsors .sponsor-card {
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(18, 6, 10, 0.08), 0 14px 30px -18px rgba(94, 10, 30, 0.35);
    transform: none !important;
}
html body.ux-home #sponsors .sponsor-card::before { display: none; }
html body.ux-home #sponsors a.sponsor-card:hover { box-shadow: 0 0 0 3px var(--ux-red); }
html body.ux-home #sponsors .sponsor-logo-wrap { border: 0; background: #fff; }
html body.ux-home #sponsors .sponsor-name { color: var(--ux-night); }
html body.ux-home #sponsors .sponsor-tag { color: var(--ux-red); }
html body.ux-home #sponsors .sponsors-cta p { color: var(--ux-night); }
html body.ux-home #sponsors .btn-primary { background: var(--ux-red); color: #fff; }
html body.ux-home #sponsors .btn-primary:hover { background: var(--ux-night); color: #fff; }

/* =====================================================================
   ABSCHLUSS-BAND
   ===================================================================== */
html body.ux-home .parallax-band {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem clamp(1.25rem, 5vw, 5rem);
    background: var(--ux-night) url('../images/hf/hands.webp') center / cover no-repeat;
}
html body.ux-home .parallax-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--ux-night) 0%, rgba(18, 6, 10, 0.45) 25%, rgba(18, 6, 10, 0.55) 70%, var(--ux-night) 100%);
}
html body.ux-home .parallax-band::after { display: none; }
html body.ux-home .parallax-band__content { position: relative; z-index: 2; max-width: 70rem; }
html body.ux-home .parallax-band .eyebrow { display: none; }
html body.ux-home .parallax-band h2 {
    font-size: clamp(3.2rem, 10vw, 9.5rem);
    line-height: 0.86;
    color: var(--ux-cream);
    text-shadow: 0 6px 40px rgba(18, 6, 10, 0.6);
    margin-bottom: 1.5rem;
}
html body.ux-home .parallax-band p { color: var(--ux-cream); font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 40rem; margin-left: auto; margin-right: auto; }

/* =====================================================================
   UNTERSEITEN — Kopfbereich mit Bild
   ===================================================================== */
html body .page-hero {
    min-height: min(62vh, 560px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 9rem clamp(1.25rem, 5vw, 5rem) clamp(2rem, 5vh, 3.5rem);
    background-color: var(--ux-night);
    background-size: cover;
    background-position: center;
}
html body .page-hero::before,
html body .page-hero::after { display: none; }
html body .page-hero__content { max-width: 60rem; margin: 0; text-align: left; }
html body .page-hero__badge { background: none; border: 0; padding: 0; color: var(--ux-gold); letter-spacing: 0.08em; }
html body .page-hero__title {
    font-size: clamp(3.4rem, 11vw, 10rem);
    line-height: 0.84;
    color: var(--ux-cream);
    background: none;
    -webkit-text-fill-color: var(--ux-cream);
    text-shadow: 0 6px 40px rgba(18, 6, 10, 0.6);
    margin: 0.4rem 0 1rem;
}
html body .page-hero__desc { color: var(--ux-cream); max-width: 38rem; margin: 0 0 1rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }
html body .page-hero .breadcrumb,
html body .page-hero__breadcrumb { justify-content: flex-start; }

/* =====================================================================
   MOBIL
   ===================================================================== */
@media (max-width: 900px) {
    html body.ux-home .trophies-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
    html body.ux-home .trophy-card:nth-child(odd) { padding-left: 0; border-left: 0; }
    html body.ux-home .trophy-card:last-child { grid-column: 1 / -1; }
    html body.ux-home #trophies { background-position: 68% center; }
}
@media (max-width: 768px) {
    html body.ux-home .hero { padding-top: 6.5rem; }
    html body.ux-home .hero-overlay {
        background: linear-gradient(180deg, rgba(18, 6, 10, 0.6) 0%, rgba(18, 6, 10, 0) 25%, rgba(18, 6, 10, 0.35) 50%, rgba(18, 6, 10, 0.96) 100%);
    }
    html body.ux-home .hero-title { font-size: clamp(3.9rem, 20.5vw, 9rem); }
    html body.ux-home .hero-title .line-2 { font-size: 0.5em; }
    html body.ux-home .hero-buttons { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 1.75rem; }
    html body.ux-home .hero-buttons a { justify-content: center; text-align: center; }
    html body.ux-home .hero-actions { grid-template-columns: repeat(2, 1fr); }
    html body.ux-home .hero-action-card { padding: 0.9rem 0.75rem 0.5rem 0; }
    html body.ux-home .hero-action-card:nth-child(odd) { padding-left: 0; border-left: 0; }
    html body.ux-home .hero-action-card:nth-child(even) { padding-left: 0.9rem; }
    html body.ux-home .hero-action-card:nth-child(n+3) { border-top: 1px solid rgba(246, 237, 224, 0.18); }
    html body.ux-home .hero-action-card small { display: none; }

    html body .ux-home-ulm { min-height: 80vh; padding-top: 6rem; background-position: 58% 30%; }
    .ux-home-ulm__facts { grid-template-columns: 1fr; }
    .ux-home-ulm__facts li { padding: 1rem 0; }
    .ux-home-ulm__facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(246, 237, 224, 0.18); }

    html body.ux-home .countdown-container { flex-direction: column; gap: 1.25rem; }
    html body.ux-home .countdown-number { font-size: clamp(3rem, 17vw, 5rem); }

    html body .page-hero { min-height: 52vh; padding-top: 7rem; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
    .ux-scarf__track { animation: none; }
    html body.ux-home .hero-title .line-1,
    html body.ux-home .hero-title .line-2 { animation: none !important; }
}

/* ---------- Unterseiten: Bild je Seite (data-ux-hero) ---------- */
html body [data-ux-hero] {
    background-color: var(--ux-night) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
html body .premium-hero {
    min-height: min(62vh, 560px);
    padding: 9rem clamp(1.25rem, 5vw, 5rem) clamp(2rem, 5vh, 3.5rem);
}
html body .premium-hero__inner { width: 100%; max-width: none; }
html body .premium-hero h1 {
    font-size: clamp(3.2rem, 10vw, 9rem);
    line-height: 0.86;
    color: var(--ux-cream);
    text-shadow: 0 6px 40px rgba(18, 6, 10, 0.6);
    max-width: 18ch;
}
html body .premium-hero p { color: var(--ux-cream); }
html body [data-ux-hero="ball"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/ball.webp') !important; }
html body [data-ux-hero="bus"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/bus.webp') !important; }
html body [data-ux-hero="drum"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/drum.webp') !important; }
html body [data-ux-hero="flag"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/flag.webp') !important; }
html body [data-ux-hero="ulm"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/ulm.webp') !important; }
html body [data-ux-hero="family"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/family.webp') !important; }
html body [data-ux-hero="viewing"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/viewing.webp') !important; }
html body [data-ux-hero="scarf"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/scarf.webp') !important; }
html body [data-ux-hero="crowd"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/crowd.webp') !important; }
html body [data-ux-hero="hands"] { background-image: linear-gradient(90deg, rgba(18,6,10,.82) 0%, rgba(18,6,10,.35) 60%, rgba(18,6,10,.15) 100%), linear-gradient(180deg, rgba(18,6,10,.6) 0%, rgba(18,6,10,0) 35%, rgba(18,6,10,.95) 100%), url('../images/hf/hands.webp') !important; }

/* Kein seitliches Scrollen durch das schräge Schal-Band */
html, body { overflow-x: clip; }

/* Sponsoren: keine Aurora-Wolke auf der hellen Wand */
html body.ux-home #sponsors .aurora-bg::before,
html body.ux-home #sponsors .aurora-bg::after { display: none; }
html body.ux-home #sponsors .sponsors-cta { background: none; border: 0; box-shadow: none; }

/* Unterseiten-Titel in der Plakat-Schrift */
html body .premium-hero h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.01em; }
html body .premium-hero .section-badge,
html body .page-hero .section-badge { background: none; border: 0; padding: 0; color: var(--ux-gold); }

/* =====================================================================
   FIXES 17.11.2026 (Durchsicht Desktop + 390 px)
   ===================================================================== */

/* 1 · Nächste Spiele: Karte nimmt die volle Breite, wenn nur ein Spiel kommt */
html body #homepageNextMatches.events-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 1.25rem;
}
html body #homepageNextMatches.events-grid > * { flex: 1 1 320px; min-width: 0; }
html body #homepageNextMatches.events-grid > .data-source { flex-basis: 100%; }

/* 2 · Countdown: Team | Uhr | Team, kein doppelter Countdown im Matchday-Board */
html body.ux-home .countdown-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "home clock away";
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    flex-wrap: nowrap;
}
html body.ux-home .countdown-container > .countdown-team:first-child { grid-area: home; justify-content: flex-end; }
html body.ux-home .countdown-container > .countdown-center { grid-area: clock; }
html body.ux-home .countdown-container > .countdown-team:last-child { grid-area: away; justify-content: flex-start; }
html body.ux-home .countdown-vs {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--ux-gold);
    text-shadow: none;
    margin-bottom: 0.5rem;
}
html body.ux-home .countdown-timer { display: flex; }
html body.ux-home #matchdayCountdown { display: none !important; }

/* 4 · Schwebende Buttons: Cookie-Einstellungen sitzen jetzt im Footer */
.cookie-settings-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 0.25rem;
    background: none;
    border: 0;
    color: rgba(246, 237, 224, 0.75);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}
.cookie-settings-link:hover { color: var(--ux-gold); }
.cookie-settings-link:focus-visible { outline: 2px solid var(--ux-gold); outline-offset: 2px; }
html body .scroll-top { width: 42px; height: 42px; right: 1.25rem; bottom: 1.25rem; }
html body.menu-open .scroll-top,
html body.menu-open .cookie-settings-button { display: none !important; }

/* 5 · Hero mobil: Schnellzugriffe als festes 2×2-Raster, nichts läuft aus dem Bild */
@media (max-width: 768px) {
    html body.ux-home .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        overflow: visible !important;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }
    html body.ux-home .hero-action-card { width: auto; min-width: 0; flex: none; }
}

/* 2 · Countdown mobil: Teams nebeneinander oben, Uhr darunter */
@media (max-width: 768px) {
    html body.ux-home .countdown-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "home away" "clock clock";
        gap: 1.25rem 0.75rem;
    }
    html body.ux-home .countdown-container > .countdown-team:first-child,
    html body.ux-home .countdown-container > .countdown-team:last-child {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.5rem;
        text-align: center;
    }
    html body.ux-home .countdown-container > .countdown-team:last-child .countdown-team-name { order: 2; }
    html body.ux-home .countdown-team-logo { width: 56px; height: 56px; }
    html body.ux-home .countdown-team-name { font-size: 1.5rem; }
    html body.ux-home .countdown-timer { justify-content: center; gap: 0.9rem; }
    html body .scroll-top { display: none !important; }
}

/* 9 · Galerie-Vorschau: 1 großes + 4 kleine Bilder, ohne Lücken */
html body.ux-home .ux-gallery {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: clamp(160px, 16vw, 240px) !important;
}
html body.ux-home .ux-gallery .gallery-item.big { grid-column: span 2 !important; grid-row: span 2 !important; }
.ux-gallery-more { text-align: center; margin-top: 2rem; }
@media (max-width: 768px) {
    html body.ux-home .ux-gallery { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 150px !important; gap: 0.5rem; }
    html body.ux-home .ux-gallery .gallery-item { grid-column: auto !important; grid-row: auto !important; height: auto !important; }
    html body.ux-home .ux-gallery .gallery-item.big { grid-column: 1 / -1 !important; grid-row: span 1 !important; }
}

/* 10 · Mindestgröße für kleine Beschriftungen */
html body .countdown-label,
html body .stat-label,
html body .star-position,
html body .star-stat-label,
html body .trophy-detail,
html body .hero-meta-lbl,
html body .social-stat-label,
html body .data-source,
html body .event-date-label,
html body .section-badge,
html body .matchday-board small,
html body .event-card small { font-size: max(0.75rem, 12px) !important; }
html body .star-stat-value { font-size: max(0.85rem, 13px); }

/* 11 · Instagram-Kennzahlen mobil mit Luft */
@media (max-width: 480px) {
    html body .social-stats { gap: 0.75rem; padding-left: 0.75rem; padding-right: 0.75rem; flex-wrap: wrap; justify-content: space-around; }
    html body .social-stat { min-width: 0; }
}

/* 12 · Größere Tap-Ziele im Footer und bei Kontaktdaten */
@media (max-width: 768px) {
    html body .footer-links li { margin-bottom: 0; }
    html body .footer-links a,
    html body .footer-social a,
    html body .footer-external,
    html body .contact-item a,
    html body .contact-info a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* 13 · Schal-Band: auf schmalen Bildschirmen breiter als der Bildschirm, keine dunkle Kante */
.ux-scarf { width: calc(100% + 60px); margin-left: -30px; transform: rotate(-1.4deg); }

/* =====================================================================
   FIX 22.11.2026: Ulm-Bild hinter dem Schal-Band wieder sichtbar.
   enhancements.css (main > section:not(.hero):nth-of-type(even), Spezifitaet 0,2,2)
   hat den Hintergrund von .ux-home-ulm (0,1,2) ueberschrieben -> Bereich war leer/dunkel.
   ===================================================================== */
html body main > section#stats.ux-home-ulm {
    background:
        linear-gradient(180deg, rgba(18, 6, 10, 0.75) 0%, rgba(18, 6, 10, 0) 30%, rgba(18, 6, 10, 0.15) 55%, rgba(18, 6, 10, 0.95) 100%),
        url('../images/hf/ulm.webp') center 35% / cover no-repeat;
}
@media (max-width: 768px) {
    html body main > section#stats.ux-home-ulm { background-position: 58% 30%; }
}
