/* ═══════════════════════════════════════════════════════════
   ZVIS HOME PAGE — front-page.php styles
   Add this block to the bottom of style.css
   OR save as assets/css/home.css and enqueue conditionally
═══════════════════════════════════════════════════════════ */

/* ── SHARED SECTION UTILITIES ── */
.zvis-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.zvis-section-title {
    font-family: var(--zvis-font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    color: var(--zvis-dark);
    margin-top: 8px;
}
.zvis-section-title span { color: var(--zvis-blue); }
.zvis-section-title--white { color: var(--zvis-white); }
.zvis-section-title--white span { color: var(--zvis-blue-light); }

.zvis-label-tag {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--zvis-accent);
    display: block;
    margin-bottom: 4px;
}
.zvis-label-tag--accent { color: var(--zvis-accent); }
.zvis-label-tag--muted  { color: rgba(255,255,255,0.6); }

/* Ghost button for dark sections */
.zvis-btn--ghost {
    background: transparent;
    color: var(--zvis-grey-mid);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
    padding: 10px 20px;
}
.zvis-btn--ghost:hover {
    border-color: var(--zvis-white);
    color: var(--zvis-white);
}
.zvis-btn--white {
    background: var(--zvis-white);
    color: var(--zvis-blue);
}
.zvis-btn--white:hover { background: var(--zvis-blue-pale); }

.zvis-btn--outline-white {
    background: transparent;
    color: var(--zvis-white);
    border: 2px solid rgba(255,255,255,0.4);
}
.zvis-btn--outline-white:hover {
    border-color: var(--zvis-white);
    background: rgba(255,255,255,0.08);
    color: var(--zvis-white);
}

/* ── 1. HERO ── */
.zvis-hero {
    position: relative;
    min-height: 100vh;
    background: var(--zvis-dark);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

/* Video */
.zvis-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.zvis-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Fallback gradient shown when no video src */
.zvis-hero__video-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #004E85 0%, #0D1B2A 60%);
    z-index: 1;
}
/* Hide fallback when video loads */
.zvis-hero__video:not([src=""]) ~ .zvis-hero__video-fallback,
.zvis-hero__video[src]:not([src=""]) ~ .zvis-hero__video-fallback {
    display: none;
}

/* Overlays */
.zvis-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 78, 133, 0.82) 0%,
        rgba(13, 27, 42, 0.92) 60%
    );
    z-index: 2;
}

.zvis-hero__accent-bar {
    position: absolute;
    top: 0; right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--zvis-accent), var(--zvis-blue), transparent);
    z-index: 5;
}

/* Background circles */
.zvis-hero__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 99, 166, 0.25);
    z-index: 2;
    pointer-events: none;
}
.zvis-hero__circle--1 { width: 600px; height: 600px; top: -150px; right: -100px; }
.zvis-hero__circle--2 { width: 900px; height: 900px; top: -300px; right: -250px; border-color: rgba(0,99,166,0.12); }
.zvis-hero__circle--3 { width: 300px; height: 300px; bottom: 100px; left: -50px; border-color: rgba(255,107,0,0.15); }

/* Hero content */
.zvis-hero__content {
    position: relative;
    z-index: 3;
    padding: 160px 0 120px;
    max-width: 780px;
}

.zvis-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.zvis-hero__eyebrow-line {
    width: 40px;
    height: 2px;
    background: var(--zvis-accent);
    flex-shrink: 0;
}

/* Hero title */
.zvis-hero__title {
    font-family: var(--zvis-font-display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.88;
    color: var(--zvis-white);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.zvis-hero__title-l1 {
    font-size: clamp(56px, 10vw, 120px);
    display: block;
    letter-spacing: -0.02em;
}
.zvis-hero__title-l2 {
    font-size: clamp(32px, 5vw, 68px);
    display: block;
    color: var(--zvis-blue-light);
    line-height: 0.95;
}
.zvis-hero__title-l3 {
    font-size: clamp(14px, 2vw, 22px);
    display: block;
    font-weight: 400;
    color: var(--zvis-grey-mid);
    letter-spacing: 0.06em;
    margin-top: 12px;
    line-height: 1.4;
    text-transform: none;
}

.zvis-hero__desc {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 36px;
}

.zvis-hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Stats panel */
.zvis-hero__stats {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 4;
}
.zvis-hero__stat {
    padding: 24px 36px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: right;
    background: rgba(13,27,42,0.65);
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}
.zvis-hero__stat:hover { background: rgba(0,99,166,0.3); }
.zvis-hero__stat-num {
    font-family: var(--zvis-font-display);
    font-size: 44px;
    font-weight: 900;
    color: var(--zvis-white);
    line-height: 1;
}
.zvis-hero__stat-num sup { font-size: 26px; color: var(--zvis-accent); }
.zvis-hero__stat-lbl {
    font-family: var(--zvis-font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* Scroll indicator */
.zvis-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.35);
    font-family: var(--zvis-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.zvis-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
}

/* ── 2. SPORTS SECTION ── */
.zvis-sports-section {
    padding: 80px 0;
    background: var(--zvis-dark);
    position: relative;
}
.zvis-sports-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--zvis-blue), transparent);
}

.zvis-sports-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
}

.zvis-sport-card {
    position: relative;
    background: var(--zvis-dark-mid);
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
}
.zvis-sport-card:hover .zvis-sport-card__overlay { opacity: 1; }
.zvis-sport-card:hover .zvis-sport-card__hover-label { opacity: 1; transform: translateY(0); }
.zvis-sport-card:hover .zvis-sport-card__icon { background: var(--zvis-accent); transform: scale(1.1); }
.zvis-sport-card:hover .zvis-sport-card__border { transform: scaleX(1); }
.zvis-sport-card:hover .zvis-sport-card__bg { opacity: 0.06; transform: scale(1.1); }

.zvis-sport-card__bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    opacity: 0.12;
    transition: opacity 0.3s, transform 0.4s;
}
.zvis-sport-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,99,166,0.88), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}
.zvis-sport-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    z-index: 3;
}
.zvis-sport-card__icon {
    width: 52px; height: 52px;
    background: var(--zvis-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
    transition: background 0.2s, transform 0.2s;
}
.zvis-sport-card__title {
    font-family: var(--zvis-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zvis-white);
    line-height: 1.2;
}
.zvis-sport-card__hover-label {
    position: absolute;
    bottom: 14px; left: 0; right: 0;
    text-align: center;
    font-family: var(--zvis-font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--zvis-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s;
    z-index: 4;
}
.zvis-sport-card__border {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--zvis-accent);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
    z-index: 5;
}

/* ── 3. VERBAND STRIP ── */
.zvis-verband-strip {
    background: var(--zvis-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.zvis-verband-strip__watermark {
    position: absolute;
    right: -20px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--zvis-font-display);
    font-size: 220px;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.zvis-verband-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.zvis-verband-strip__title {
    font-family: var(--zvis-font-display);
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--zvis-white);
    line-height: 0.95;
    margin: 10px 0 20px;
}
.zvis-verband-strip__desc {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 28px;
}
.zvis-verband-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.zvis-verband-stat {
    background: rgba(0,0,0,0.15);
    padding: 28px 20px;
    text-align: center;
    transition: background 0.2s;
}
.zvis-verband-stat:hover { background: rgba(0,0,0,0.25); }
.zvis-verband-stat__num {
    font-family: var(--zvis-font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--zvis-white);
    line-height: 1;
    margin-bottom: 4px;
}
.zvis-verband-stat__lbl {
    font-family: var(--zvis-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

/* ── 4. EVENTS SECTION ── */
.zvis-events-section {
    padding: 80px 0;
    background: var(--zvis-grey-light);
}
.zvis-events-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zvis-event-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    background: var(--zvis-white);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border-left: 3px solid transparent;
}
.zvis-event-item:hover {
    background: var(--zvis-blue-pale);
    border-left-color: var(--zvis-blue);
    transform: translateX(4px);
    box-shadow: var(--zvis-shadow);
}
.zvis-event-item:hover .zvis-event-item__arrow {
    color: var(--zvis-blue);
    transform: translateX(4px);
}
.zvis-event-item__date {
    background: var(--zvis-blue);
    border-radius: var(--zvis-radius);
    padding: 10px;
    text-align: center;
    flex-shrink: 0;
}
.zvis-event-item__day {
    font-family: var(--zvis-font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--zvis-white);
    line-height: 1;
}
.zvis-event-item__month {
    font-family: var(--zvis-font-display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.zvis-event-item__info { min-width: 0; }
.zvis-event-item__sport {
    display: inline-block;
    background: var(--zvis-blue-pale);
    color: var(--zvis-blue);
    font-family: var(--zvis-font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 5px;
}
.zvis-event-item__title {
    font-family: var(--zvis-font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--zvis-dark);
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zvis-event-item__meta {
    font-size: 12px;
    color: var(--zvis-grey-text);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.zvis-event-item__arrow {
    color: var(--zvis-grey-mid);
    font-size: 18px;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.zvis-events-empty {
    padding: 40px;
    text-align: center;
    background: var(--zvis-white);
    color: var(--zvis-grey-text);
    font-size: 14px;
}

/* ── 5. SPONSORS ── */
.zvis-sponsors-section {
    padding: 48px 0;
    background: var(--zvis-white);
    border-top: 1px solid var(--zvis-grey-mid);
    border-bottom: 1px solid var(--zvis-grey-mid);
}
.zvis-sponsors-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.zvis-sponsors-label {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--zvis-grey-text);
    white-space: nowrap;
    flex-shrink: 0;
}
.zvis-sponsors-divider {
    width: 1px;
    height: 40px;
    background: var(--zvis-grey-mid);
    flex-shrink: 0;
}
.zvis-sponsors-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    flex-wrap: wrap;
}
.zvis-sponsor-ph {
    height: 36px;
    background: var(--zvis-grey-mid);
    border-radius: 2px;
    opacity: 0.4;
}
.zvis-sponsors-cta {
    font-family: var(--zvis-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--zvis-blue);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    transition: color 0.2s;
}
.zvis-sponsors-cta:hover { color: var(--zvis-blue-dark); }

/* ── 6. CONTACT CTA ── */
.zvis-home-cta {
    background: var(--zvis-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.zvis-home-cta__radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,99,166,0.22), transparent 70%);
    pointer-events: none;
}
.zvis-home-cta__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.zvis-home-cta__title {
    font-family: var(--zvis-font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--zvis-white);
    line-height: 0.95;
    margin: 10px 0 16px;
}
.zvis-home-cta__title span { color: var(--zvis-blue-light); }
.zvis-home-cta__desc {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}
.zvis-home-cta__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .zvis-sports-grid { grid-template-columns: repeat(3, 1fr); }
    .zvis-hero__stats { position: static; flex-direction: row; justify-content: center; background: rgba(0,0,0,0.4); }
    .zvis-hero__stat { border-top: none; border-right: 1px solid rgba(255,255,255,0.08); text-align: center; flex: 1; }
    .zvis-hero__stat:last-child { border-right: none; }
    .zvis-hero__content { padding-bottom: 40px; }
}
@media (max-width: 900px) {
    .zvis-verband-strip__inner { grid-template-columns: 1fr; gap: 40px; }
    .zvis-event-item { grid-template-columns: 64px 1fr auto; padding: 16px; }
}
@media (max-width: 640px) {
    .zvis-sports-grid { grid-template-columns: repeat(2, 1fr); }
    .zvis-verband-stats { grid-template-columns: repeat(3, 1fr); }
    .zvis-section-header { flex-direction: column; align-items: flex-start; }
    .zvis-hero__scroll { display: none; }
    .zvis-sponsors-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
