/* ============================================================
   landing.css — Öffentliche Startseite
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.landing-hero {
    position: relative;
    min-height: 36vh;
    overflow: hidden;
    display: block;
}

/* Override style.css: opacity:0.35 + filter würden das Video fast unsichtbar machen */
.landing-page .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 108%;          /* etwas breiter ziehen, damit horizontal Spielraum entsteht */
    left: -8%;            /* Video nach links rücken → Tor/Eisfläche rechts besser sichtbar */
    right: auto;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    filter: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.82) 40%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 40px 24px;
    min-height: 36vh;
    box-sizing: border-box;
}

/* Left text */
.hero-left { flex: 1; }

.hero-eyebrow {
    display: inline-block;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.4);
    color: var(--kev-yellow);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Override style.css .hero-name (font-weight:900 global, kein strong-split) */
.landing-page .hero-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 12px;
}
.landing-page .hero-name strong {
    display: block;
    color: var(--kev-yellow);
    font-weight: 900;
}

/* Override style.css .hero-tagline (color:#aaa, margin-top:12px) */
.landing-page .hero-tagline {
    font-size: 0.88rem;
    color: #ccc;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--kev-yellow);
    color: var(--kev-black);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.cta-primary:hover { background: var(--kev-yellow-dark); color: var(--kev-black); transform: translateY(-1px); }

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    color: var(--kev-white);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.cta-secondary:hover { border-color: var(--kev-yellow); color: var(--kev-yellow); background: rgba(255,215,0,0.05); }

/* Right photo */
.hero-right { flex-shrink: 0; }

.hero-photo-wrap {
    position: relative;
    display: inline-block;
}

.hero-portrait {
    width: 150px;
    height: 195px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid var(--kev-yellow);
    display: block;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.hero-photo-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--kev-yellow);
    color: var(--kev-black);
    border-radius: 10px;
    padding: 6px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}
.badge-num { font-size: 1.6rem; font-weight: 900; font-family: 'Roboto Condensed', sans-serif; }
.badge-txt { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Stats Bar ──────────────────────────────────────────────── */
.landing-statsbar {
    display: flex;
    background: #0d0d0d;
    border-top: 2px solid var(--kev-yellow);
    border-bottom: 1px solid #222;
}

.statbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    border-right: 1px solid #1e1e1e;
    transition: background 0.15s;
}
.statbar-item:last-child { border-right: none; }
.statbar-item:hover { background: #151515; }
.statbar-item.highlight { background: #120f00; }
.statbar-item.highlight:hover { background: #1a1500; }

.statbar-val {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--kev-yellow);
    line-height: 1;
    margin-bottom: 4px;
}
.statbar-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ── Feature Cards ──────────────────────────────────────────── */
.landing-features {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-card {
    background: #111;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: 16px;
}
.feature-card h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--kev-yellow);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2d2d2d;
}
.feature-card p {
    color: #ccc;
    line-height: 1.65;
    font-size: 0.92rem;
}

.feature-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--kev-yellow);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: opacity 0.15s;
}
.feature-link:hover { opacity: 0.75; color: var(--kev-yellow); }

/* About card — spans full width */
.feature-about {
    grid-column: 1 / -1;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.feature-text { flex: 1; }
.feature-attrs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-shrink: 0;
    min-width: 240px;
}
.fattr {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fattr span { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.fattr strong { font-size: 0.9rem; color: var(--kev-white); }

/* Games list */
.landing-games {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lg-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #1a1a1a;
    font-size: 0.85rem;
    border-left: 3px solid #333;
}
.lg-row.win  { border-left-color: #4caf50; }
.lg-row.loss { border-left-color: #f44336; }
.lg-row.draw { border-left-color: #ff9800; }
.lg-date { color: var(--text-muted); min-width: 76px; font-size: 0.78rem; }
.lg-opp  { flex: 1; font-weight: 600; }
.lg-res  { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 1rem; }
.lg-row.win  .lg-res { color: #4caf50; }
.lg-row.loss .lg-res { color: #f44336; }
.lg-row.draw .lg-res { color: #ff9800; }

/* ── ASE Cup Media Grid ──────────────────────────────────────── */
.ase-media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: start;
}
.ase-media-info {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

/* ── Telč Media Grid ─────────────────────────────────────────── */
.telc-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 12px;
    align-items: start;
}

/* Gallery grid */
.landing-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 4px;
}
.lg-photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: opacity 0.2s;
}
.lg-photo img:hover { opacity: 0.85; }

/* Contact card — spans full width */
.feature-contact { grid-column: 1 / -1; text-align: center; }
.feature-contact p { max-width: 520px; margin: 0 auto; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 24px 20px;
    color: var(--text-muted);
    font-size: 0.82rem;
    border-top: 1px solid #2d2d2d;
}
.site-footer a { color:#9a9a9a; }
.site-footer a:hover { color: #888; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-body { flex-direction: column-reverse; align-items: center; padding: 32px 20px 20px; text-align: center; }
    .hero-ctas { justify-content: center; }
    .hero-portrait { width: 120px; height: 155px; }

    .landing-statsbar { flex-wrap: wrap; }
    .statbar-item { min-width: 33%; border-bottom: 1px solid #1e1e1e; }

    .landing-features { grid-template-columns: 1fr; }
    .feature-about { flex-direction: column; grid-column: 1; }
    .feature-attrs { grid-template-columns: repeat(4, 1fr); min-width: unset; }
    .feature-contact { grid-column: 1; }
}

/* ── Mobile: Bildgrids responsiv machen (iPhone Portrait) ────── */
@media (max-width: 768px) {
    /* ASE Cup: 4 Spalten → 2 Spalten; Info-Block volle Breite */
    .ase-media-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ase-media-info {
        grid-column: 1 / -1;
    }

    /* Telč: 4 Spalten → 3 Hochformat-Fotos nebeneinander, Video volle Breite darunter */
    .telc-media-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .telc-video-cell {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9; /* Querformat bleibt erhalten */
    }
}

@media (max-width: 500px) {
    .statbar-item { min-width: 50%; }
    .feature-attrs { grid-template-columns: 1fr 1fr; }
    .landing-gallery { grid-template-columns: 1fr 1fr; }
}

/* ── Pre-Season Cup Streifen (kompakt, silber) ───────────────── */
.preseason-strip {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, #0e0e10 0%, #16161a 100%);
    border: 1px solid #33343a;
    border-left: 3px solid #b9bcc4;
    border-radius: 10px;
    padding: 16px 20px;
}
.preseason-body  { flex: 1; min-width: 0; }
.preseason-eyebrow {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b9bcc4;
    margin-bottom: 4px;
}
.preseason-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
}
.preseason-team { color: #b9bcc4; font-size: 0.85em; margin-left: 6px; }
.preseason-text { color: #b6b6b6; font-size: 0.85rem; line-height: 1.55; margin: 0 0 10px; }
.preseason-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.preseason-chip {
    background: rgba(185, 188, 196, .1);
    border: 1px solid rgba(185, 188, 196, .4);
    color: #d2d4d9;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}
@media (max-width: 640px) {
    .preseason-strip { padding: 14px; gap: 12px; flex-direction: column; }
}

/* Maxis Einzelergebnis hervorheben — das ist der Teil, der ihn betrifft */
.preseason-maxi {
    color: #e8e8e8;
    font-size: 0.86rem;
    line-height: 1.55;
    margin: 0 0 10px;
    padding-left: 10px;
    border-left: 2px solid var(--kev-yellow);
}
.preseason-chip-maxi {
    background: rgba(200, 164, 0, .14);
    border-color: rgba(200, 164, 0, .55);
    color: #e8c840;
}

/* Award-Karte rechts im Streifen; auf schmalen Schirmen rutscht sie unter
   den Text (siehe Media Query oben). */
.preseason-award {
    width: 210px;
    height: auto;
    flex-shrink: 0;
    border-radius: 8px;
    display: block;
}
@media (max-width: 900px) and (min-width: 641px) {
    .preseason-award { width: 170px; }
}

/* Muss NACH der Basisregel stehen: gleiche Spezifitaet, es gewinnt die
   spaetere Regel. Zuvor blieb das Bild auf Mobil bei 210px haengen. */
@media (max-width: 640px) {
    .preseason-award { width: 100%; max-width: 340px; align-self: center; }
}
