/*
 * FSV 63 Luckenwalde – Startseite
 * Ausgelagerte CSS-Datei für template-home.php
 * Pfad: /assets/css/template-home.css
 */

:root {
    --fsv-blue-950: #06162d;
    --fsv-blue-900: #071d3d;
    --fsv-blue-800: #0a2a57;
    --fsv-blue-700: #0d386f;
    --fsv-cyan: #00a8ef;
    --fsv-yellow: #ffdc25;
    --fsv-white: #ffffff;
    --fsv-text: #dce9ff;
    --fsv-muted: #9db5d8;
    --fsv-border: rgba(130, 184, 236, .28);
    --fsv-card: rgba(6, 27, 58, .86);
}

.fsv-home {
    background: radial-gradient(circle at top, #0c3263 0, var(--fsv-blue-950) 42%, #041022 100%);
    color: var(--fsv-text);
    font-family: inherit;
    overflow: hidden;
}

.fsv-home__container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.fsv-hero {
    min-height: 520px;
    display: grid;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    padding: 110px 0 150px;
}

.fsv-hero__inner {
    max-width: 780px;
}

.fsv-hero__eyebrow {
    color: var(--fsv-yellow);
    font-size: clamp(2.25rem, 7vw, 4.8rem);
    font-weight: 900;
    line-height: .95;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: .02em;
    transform: rotate(-2deg);
}

.fsv-hero__title {
    color: var(--fsv-white);
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: .9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .015em;
    font-weight: 950;
}

.fsv-hero__subline {
    margin: 20px auto 6px;
    color: var(--fsv-white);
    font-weight: 800;
    font-size: 1.1rem;
}

.fsv-hero__text {
    max-width: 620px;
    margin: 0 auto;
    color: var(--fsv-text);
    font-size: 1rem;
}

.fsv-hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.fsv-hero__stats {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 1px;
    margin-top: 30px;
    border: 1px solid var(--fsv-border);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(130, 184, 236, .18);
    backdrop-filter: blur(10px);
}

.fsv-hero__stats div {
    display: grid;
    gap: 3px;
    padding: 12px 18px;
    background: rgba(4, 16, 34, .58);
    text-transform: uppercase;
}

.fsv-hero__stats strong {
    color: var(--fsv-white);
    font-size: 1.28rem;
    line-height: 1;
}

.fsv-hero__stats span {
    color: var(--fsv-muted);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.fsv-home-content {
    margin-top: -78px;
    position: relative;
    z-index: 3;
    border: 1px solid var(--fsv-border);
    border-radius: 10px;
    background: rgba(6, 27, 58, .92);
    box-shadow: 0 22px 64px rgba(0, 0, 0, .22);
    padding: 24px 30px;
}

.fsv-home-content + .fsv-next-match {
    margin-top: 24px;
}

.fsv-home-content :where(h2, h3, h4) {
    color: var(--fsv-white);
    text-transform: uppercase;
}

.fsv-home-content :where(p, li) {
    color: var(--fsv-text);
}

.fsv-home-content a {
    color: var(--fsv-cyan);
}

.fsv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 850;
    letter-spacing: .02em;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.fsv-button:hover {
    transform: translateY(-2px);
}

.fsv-home a:focus-visible,
.fsv-home button:focus-visible {
    outline: 3px solid var(--fsv-yellow);
    outline-offset: 3px;
}

.fsv-button--primary {
    background: var(--fsv-cyan);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 168, 239, .25);
}

.fsv-button--ghost {
    border: 1px solid var(--fsv-border);
    color: var(--fsv-white);
    background: rgba(4, 16, 34, .48);
}

.fsv-button--small {
    min-height: 36px;
    padding-inline: 18px;
    font-size: .82rem;
}

.fsv-section-heading,
.fsv-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.fsv-section-heading h2,
.fsv-panel h2 {
    color: var(--fsv-white);
    text-transform: uppercase;
    font-size: 1.38rem;
    margin: 0;
    letter-spacing: .02em;
}

.fsv-section-heading h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--fsv-yellow);
    margin-top: 5px;
}

.fsv-next-match__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
}

.fsv-next-match__meta span {
    border: 1px solid var(--fsv-border);
    border-radius: 999px;
    color: var(--fsv-text);
    font-size: .72rem;
    font-weight: 850;
    padding: 6px 10px;
    text-transform: uppercase;
}

.fsv-section-heading a,
.fsv-panel__head a,
.fsv-link {
    color: var(--fsv-cyan);
    text-transform: uppercase;
    font-weight: 800;
    font-size: .82rem;
    text-decoration: none;
}

.fsv-next-match {
    position: relative;
    z-index: 2;
    margin-top: -92px;
    padding: 22px 30px;
    border: 1px solid var(--fsv-border);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(8, 38, 79, .92), rgba(4, 22, 49, .92));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.fsv-next-match__grid {
    display: grid;
    grid-template-columns: 100px 1fr 72px 1fr 310px;
    gap: 20px;
    align-items: center;
}

.fsv-match-date {
    border: 1px solid var(--fsv-border);
    border-radius: 6px;
    min-height: 126px;
    display: grid;
    place-items: center;
    align-content: center;
    text-transform: uppercase;
    color: var(--fsv-white);
}

.fsv-match-date strong {
    font-size: 2.55rem;
    line-height: 1;
}

.fsv-match-date small {
    margin-top: 10px;
    color: var(--fsv-text);
    font-weight: 800;
}

.fsv-team-card {
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    color: var(--fsv-white);
    text-transform: uppercase;
}

.fsv-team-card img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.fsv-versus {
    color: var(--fsv-white);
    font-size: 2rem;
    font-weight: 950;
    text-align: center;
}

.fsv-countdown {
    border: 1px solid var(--fsv-border);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    text-transform: uppercase;
}

.fsv-countdown--empty {
    display: grid;
    gap: 14px;
    align-content: center;
    min-height: 126px;
}

.fsv-countdown > span {
    display: block;
    margin-bottom: 8px;
    color: var(--fsv-white);
    font-weight: 800;
}

.fsv-countdown__boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.fsv-countdown__boxes div {
    border: 1px solid var(--fsv-border);
    border-radius: 5px;
    padding: 10px 4px;
    background: rgba(2, 12, 30, .35);
}

.fsv-countdown strong {
    display: block;
    color: var(--fsv-white);
    font-size: 1.7rem;
    line-height: 1;
}

.fsv-countdown small {
    color: var(--fsv-muted);
    font-size: .68rem;
}

.fsv-news,
.fsv-dashboard,
.fsv-bottom-grid,
.fsv-quicklinks {
    margin-top: 34px;
}

.fsv-quicklinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fsv-quicklink {
    position: relative;
    min-height: 118px;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--fsv-border);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(10, 42, 87, .92), rgba(4, 16, 34, .92));
    color: var(--fsv-white);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
}

.fsv-quicklink::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 5px;
    height: 100%;
    background: var(--fsv-yellow);
}

.fsv-quicklink::after {
    content: '→';
    position: absolute;
    right: 18px;
    top: 14px;
    color: var(--fsv-cyan);
    font-size: 1.5rem;
    font-weight: 950;
    transition: transform .2s ease;
}

.fsv-quicklink:hover::after {
    transform: translateX(4px);
}

.fsv-quicklink span {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    font-weight: 950;
    text-transform: uppercase;
}

.fsv-quicklink small {
    position: relative;
    z-index: 1;
    color: var(--fsv-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.fsv-news__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}

.fsv-news-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.fsv-news-card--featured .fsv-news-card__image {
    aspect-ratio: 1.65 / 1;
}

.fsv-news-card--featured .fsv-news-card__content {
    padding: 22px;
}

.fsv-news-card--featured h3 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    -webkit-line-clamp: 3;
}

.fsv-news-card--featured p {
    font-size: .96rem;
    -webkit-line-clamp: 4;
}

.fsv-news-card,
.fsv-panel {
    border: 1px solid var(--fsv-border);
    background: var(--fsv-card);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
}

.fsv-news-card__image {
    position: relative;
    display: block;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    background: var(--fsv-blue-800);
}

.fsv-news-card__image img,
.fsv-news-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.fsv-news-card:hover img {
    transform: scale(1.06);
}

.fsv-news-card__placeholder {
    background: linear-gradient(135deg, var(--fsv-blue-800), var(--fsv-blue-950));
}

.fsv-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--fsv-cyan);
    color: #fff;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 850;
    padding: 5px 8px;
    border-radius: 2px;
}

.fsv-news-card__content {
    padding: 16px;
}

.fsv-news-card time {
    color: var(--fsv-muted);
    font-size: .76rem;
    text-transform: uppercase;
    font-weight: 800;
}

.fsv-news-card h3 {
    margin: 8px 0;
    font-size: 1.02rem;
    line-height: 1.22;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fsv-news-card h3 a {
    color: var(--fsv-white);
    text-decoration: none;
}

.fsv-news-card p {
    color: var(--fsv-muted);
    font-size: .88rem;
    line-height: 1.48;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fsv-dashboard {
    display: grid;
    grid-template-columns: 1.15fr .95fr;
    gap: 18px;
}

.fsv-fanzone {
    min-height: 250px;
    border: 1px solid var(--fsv-border);
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    padding: 42px;
    display: flex;
    align-items: center;
}

.fsv-fanzone div {
    max-width: 390px;
}

.fsv-fanzone h2 {
    color: var(--fsv-white);
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: .98;
    margin: 0 0 16px;
}

.fsv-fanzone p {
    color: var(--fsv-text);
    margin: 0 0 18px;
}

.fsv-panel {
    padding: 18px;
}

.fsv-event-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.fsv-event-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(130, 184, 236, .16);
}

.fsv-event-row__date {
    border: 1px solid var(--fsv-border);
    border-radius: 4px;
    min-height: 58px;
    display: grid;
    place-items: center;
    align-content: center;
    text-transform: uppercase;
}

.fsv-event-row__date strong {
    color: var(--fsv-white);
    font-size: 1.38rem;
    line-height: 1;
}

.fsv-event-row__date span,
.fsv-event-row p,
.fsv-event-row__meta span {
    color: var(--fsv-muted);
    font-size: .72rem;
    text-transform: uppercase;
    margin: 0;
}

.fsv-event-row h3 {
    color: var(--fsv-white);
    font-size: .94rem;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.fsv-event-row h3 a {
    color: inherit;
    text-decoration: none;
}

.fsv-event-row h3 a:hover {
    color: var(--fsv-cyan);
}

.fsv-event-row__meta {
    text-align: right;
    text-transform: uppercase;
}

.fsv-event-row__meta strong {
    color: var(--fsv-white);
    display: block;
    font-size: .78rem;
}

.fsv-shortcode-output {
    color: var(--fsv-text);
}

.fsv-shortcode-output table {
    width: 100%;
}

.fsv-shortcode-output a {
    color: var(--fsv-cyan);
}

.fsv-bottom-grid {
    display: grid;
    grid-template-columns: .95fr .95fr .95fr;
    gap: 18px;
    padding-bottom: 42px;
}

.fsv-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(130, 184, 236, .14);
}

.fsv-partner-grid div {
    min-height: 78px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid rgba(130, 184, 236, .14);
    color: var(--fsv-white);
    text-transform: uppercase;
    font-weight: 950;
    font-size: 1.12rem;
    padding: 12px;
}

.fsv-partner-grid a {
    color: inherit;
    display: grid;
    place-items: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.fsv-partner-grid img {
    display: block;
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.fsv-table table {
    width: 100%;
    border-collapse: collapse;
    color: var(--fsv-text);
    font-size: .82rem;
}

.fsv-table th,
.fsv-table td {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(130, 184, 236, .14);
    text-align: left;
}

.fsv-table th {
    color: var(--fsv-muted);
    text-transform: uppercase;
    font-size: .7rem;
}

.fsv-table tr.is-fsv {
    background: var(--fsv-cyan);
    color: #fff;
    font-weight: 900;
}

.fsv-social {
    text-align: center;
}

.fsv-whatsapp {
    color: #30d158;
    font-size: 2rem;
    font-weight: 950;
    margin: 16px 0 6px;
}

.fsv-social p {
    color: var(--fsv-text);
    margin-bottom: 18px;
}

.fsv-social__links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.fsv-social__links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--fsv-border);
    border-radius: 50%;
    color: var(--fsv-white);
    text-decoration: none;
}

.fsv-empty {
    grid-column: 1 / -1;
    border: 1px solid var(--fsv-border);
    border-radius: 8px;
    padding: 24px;
    color: var(--fsv-muted);
}

@media (prefers-reduced-motion: reduce) {
    .fsv-home *,
    .fsv-home *::before,
    .fsv-home *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 1040px) {
    .fsv-next-match__grid {
        grid-template-columns: 90px 1fr 50px 1fr;
    }

    .fsv-countdown {
        grid-column: 1 / -1;
    }

    .fsv-news__grid,
    .fsv-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fsv-news-card--featured {
        grid-column: span 2;
    }

    .fsv-social {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .fsv-hero {
        min-height: 470px;
        padding: 90px 0 120px;
    }

    .fsv-next-match {
        margin-top: -76px;
        padding: 18px;
    }

    .fsv-next-match__grid,
    .fsv-dashboard,
    .fsv-bottom-grid,
    .fsv-news__grid,
    .fsv-quicklinks {
        grid-template-columns: 1fr;
    }

    .fsv-news-card--featured {
        grid-column: auto;
        grid-row: auto;
    }

    .fsv-versus {
        margin: -8px 0;
    }

    .fsv-event-row {
        grid-template-columns: 54px 1fr;
    }

    .fsv-event-row__meta {
        grid-column: 2;
        text-align: left;
    }

    .fsv-fanzone {
        padding: 28px;
    }
}

@media (max-width: 520px) {
    .fsv-hero__stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .fsv-home-content {
        margin-top: -62px;
        padding: 20px;
    }

    .fsv-home__container {
        width: min(100% - 22px, 1120px);
    }

    .fsv-hero__actions,
    .fsv-section-heading,
    .fsv-panel__head {
        align-items: stretch;
        flex-direction: column;
    }

    .fsv-next-match__meta {
        justify-content: flex-start;
    }

    .fsv-button {
        width: 100%;
    }

    .fsv-countdown__boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   FSV 63 – Layout Polish v4
   Ziel: näher am Mockup, sauberer mit Alchemists Header/Footer kombinierbar.
   -------------------------------------------------------------------------- */

body.page-template-template-home,
body.page-template-template-home .site-content,
body.page-template-template-home .site-wrapper {
    background: #041022;
}

/* Header/Navigation wird bewusst nicht angepasst.
   Das Parent Theme bleibt hier vollständig unverändert. */

.fsv-home__container {
    width: min(1180px, calc(100% - 40px));
}

.fsv-hero {
    min-height: clamp(560px, 62vw, 700px);
    padding: clamp(100px, 10vw, 140px) 0 clamp(145px, 13vw, 180px);
}

.fsv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 22%, rgba(0, 168, 239, .18), transparent 36%),
        linear-gradient(90deg, rgba(4, 16, 34, .18), transparent 26%, transparent 74%, rgba(4, 16, 34, .18));
}

.fsv-hero__inner {
    position: relative;
    z-index: 1;
}

.fsv-next-match,
.fsv-news-card,
.fsv-panel,
.fsv-quicklink {
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.fsv-next-match {
    margin-top: -110px;
    backdrop-filter: blur(8px);
}

.fsv-team-card strong {
    max-width: 160px;
    line-height: 1.2;
}

.fsv-dashboard {
    align-items: stretch;
}

.fsv-fanzone {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 310px;
    background-color: rgba(6, 27, 58, .86);
}

.fsv-fanzone::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255, 220, 37, .08), transparent 36%),
        radial-gradient(circle at right bottom, rgba(0, 168, 239, .16), transparent 42%);
}

.fsv-events .fsv-event-list {
    gap: 0;
}

.fsv-event-row {
    min-height: 82px;
}

.fsv-event-row:last-child {
    border-bottom: 0;
}

.fsv-event-row__meta {
    min-width: 116px;
}

.fsv-partner-grid {
    gap: 12px;
    border: 0;
}

.fsv-partner-grid div {
    background: rgba(255, 255, 255, .94);
    border: 0;
    border-radius: 5px;
    min-height: 92px;
    color: #092047;
}

.fsv-partner-grid img {
    max-height: 64px;
}

.fsv-table .fsv-shortcode-output,
.fsv-table table {
    max-height: 300px;
    overflow: auto;
}

.fsv-social {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 300px;
    overflow: hidden;
}

.fsv-social::before {
    content: '';
    position: absolute;
    inset: auto -60px -100px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(48, 209, 88, .14);
}

.fsv-whatsapp {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: .95;
}

.fsv-social .fsv-button {
    justify-self: center;
}

@media (max-width: 1040px) {
    .fsv-home__container {
        width: min(100% - 28px, 1180px);
    }

    .fsv-next-match__grid {
        grid-template-columns: 92px 1fr 56px 1fr;
    }
}

@media (max-width: 760px) {
    .fsv-hero {
        min-height: 520px;
        padding-bottom: 130px;
    }

    .fsv-next-match {
        margin-top: -86px;
    }

    .fsv-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --------------------------------------------------------------------------
   FSV 63 – Mockup-Abgleich v5
   Navigation bleibt vollständig beim Parent Theme. Nur Startseitenbereiche.
   -------------------------------------------------------------------------- */

.fsv-home {
    background:
        radial-gradient(circle at 50% 0, rgba(12, 50, 99, .95) 0, rgba(6, 22, 45, .98) 38%, #041022 100%);
}

.fsv-home__container {
    width: min(1160px, calc(100% - 42px));
}

.fsv-hero {
    min-height: clamp(430px, 42vw, 560px);
    padding: clamp(70px, 7vw, 105px) 0 clamp(110px, 9vw, 145px);
    background-position: center center;
}

.fsv-hero__inner {
    max-width: 820px;
}

.fsv-hero__eyebrow {
    font-size: clamp(2.4rem, 5.4vw, 4.5rem);
    text-shadow: 0 8px 25px rgba(0, 0, 0, .38);
}

.fsv-hero__title {
    font-size: clamp(3.2rem, 6.8vw, 6.1rem);
    text-shadow: 0 10px 32px rgba(0, 0, 0, .4);
}

.fsv-hero__stats,
.fsv-quicklinks {
    display: none !important;
}

.fsv-next-match {
    margin-top: -78px;
    padding: 20px 30px 24px;
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(8, 42, 86, .94), rgba(5, 25, 55, .96));
}

.fsv-next-match__grid {
    grid-template-columns: 102px 1fr 70px 1fr 320px;
    gap: 22px;
}

.fsv-match-date {
    min-height: 122px;
    background: rgba(3, 16, 36, .22);
}

.fsv-team-card img {
    width: 92px;
    height: 92px;
}

.fsv-team-card strong {
    max-width: 190px;
    font-size: .96rem;
}

.fsv-countdown {
    padding: 18px 20px;
    background: rgba(3, 16, 36, .2);
}

.fsv-news,
.fsv-dashboard,
.fsv-bottom-grid {
    margin-top: 26px;
}

.fsv-news__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fsv-news-card--featured {
    grid-column: auto;
    grid-row: auto;
}

.fsv-news-card--featured .fsv-news-card__image,
.fsv-news-card__image {
    aspect-ratio: 1.58 / 1;
}

.fsv-news-card--featured .fsv-news-card__content,
.fsv-news-card__content {
    padding: 15px 16px 17px;
}

.fsv-news-card--featured h3,
.fsv-news-card h3 {
    font-size: .98rem;
    line-height: 1.25;
    -webkit-line-clamp: 2;
}

.fsv-news-card--featured p,
.fsv-news-card p {
    font-size: .84rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
}

.fsv-dashboard {
    grid-template-columns: minmax(0, 1.17fr) minmax(0, .98fr);
    gap: 18px;
}

.fsv-fanzone {
    min-height: 255px;
    padding: 34px 42px;
}

.fsv-fanzone h2 {
    max-width: 370px;
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.fsv-events .fsv-event-row {
    grid-template-columns: 58px minmax(0, 1fr) 118px;
    min-height: 68px;
    padding: 9px 0;
}

.fsv-event-row h3 {
    font-size: .88rem;
    line-height: 1.22;
}

.fsv-bottom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fsv-panel {
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(7, 32, 70, .9), rgba(5, 24, 53, .94));
}

.fsv-social {
    min-height: 255px;
}

.fsv-whatsapp {
    font-size: clamp(2rem, 3vw, 2.75rem);
}

@media (max-width: 1040px) {
    .fsv-news__grid,
    .fsv-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fsv-next-match__grid {
        grid-template-columns: 92px 1fr 54px 1fr;
    }

    .fsv-countdown {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .fsv-home__container {
        width: min(100% - 24px, 1160px);
    }

    .fsv-hero {
        min-height: 460px;
        padding-bottom: 110px;
    }

    .fsv-next-match {
        margin-top: -66px;
        padding: 18px;
    }

    .fsv-news__grid,
    .fsv-dashboard,
    .fsv-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   FSV 63 – Feinschliff v6
   Ziel: noch näher ans Mockup, ohne Navigation/Header anzufassen.
   -------------------------------------------------------------------------- */

.fsv-home-content {
    display: none;
}

.fsv-hero {
    min-height: clamp(455px, 44vw, 590px);
    padding-top: clamp(78px, 7vw, 112px);
    padding-bottom: clamp(118px, 9vw, 155px);
}

.fsv-hero__eyebrow {
    margin-bottom: 6px;
}

.fsv-hero__title {
    max-width: 760px;
    margin-inline: auto;
}

.fsv-hero__subline {
    margin-top: 18px;
}

.fsv-next-match {
    margin-top: -88px;
    padding: 21px 30px 23px;
}

.fsv-next-match .fsv-section-heading {
    margin-bottom: 18px;
}

.fsv-next-match__grid {
    grid-template-columns: 104px minmax(0, 1fr) 64px minmax(0, 1fr) 320px;
}

.fsv-team-card strong {
    min-height: 2.4em;
    display: grid;
    place-items: start center;
    line-height: 1.15;
}

.fsv-news__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.fsv-news-card--featured {
    grid-column: auto !important;
    grid-row: auto !important;
}

.fsv-news-card__image,
.fsv-news-card--featured .fsv-news-card__image {
    aspect-ratio: 1.52 / 1;
}

.fsv-dashboard {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}

.fsv-fanzone {
    min-height: 255px;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: stretch;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(7, 32, 70, .9), rgba(5, 24, 53, .94));
}

.fsv-fanzone__media {
    min-height: 255px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.fsv-fanzone__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 18, 42, .08), rgba(3, 18, 42, .72));
}

.fsv-fanzone__content {
    padding: 34px 38px;
    display: grid;
    align-content: center;
    justify-items: start;
}

.fsv-fanzone div {
    max-width: none;
}

.fsv-fanzone h2 {
    max-width: 360px;
    margin-bottom: 14px;
}

.fsv-fanzone p {
    max-width: 390px;
}

.fsv-events .fsv-event-row {
    grid-template-columns: 58px minmax(0, 1fr) 106px 34px;
    gap: 12px;
}

.fsv-event-row__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--fsv-border);
    border-radius: 5px;
    color: var(--fsv-cyan);
    text-decoration: none;
    font-size: .95rem;
    line-height: 1;
}

.fsv-event-row__icon:hover {
    color: var(--fsv-white);
    border-color: rgba(0, 168, 239, .72);
}

.fsv-bottom-grid {
    align-items: stretch;
}

.fsv-partners,
.fsv-table,
.fsv-social {
    min-height: 285px;
}

.fsv-partner-grid {
    height: calc(100% - 44px);
}

.fsv-social__links:empty {
    display: none;
}

@media (max-width: 1040px) {
    .fsv-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .fsv-next-match__grid {
        grid-template-columns: 92px 1fr 56px 1fr;
    }

    .fsv-countdown {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .fsv-hero {
        min-height: 500px;
        padding-bottom: 116px;
    }

    .fsv-next-match {
        margin-top: -72px;
    }

    .fsv-news__grid,
    .fsv-dashboard,
    .fsv-bottom-grid,
    .fsv-fanzone {
        grid-template-columns: 1fr !important;
    }

    .fsv-fanzone__media {
        min-height: 210px;
    }

    .fsv-fanzone__content {
        padding: 28px;
    }

    .fsv-events .fsv-event-row {
        grid-template-columns: 54px 1fr 34px;
    }

    .fsv-event-row__meta {
        grid-column: 2;
    }

    .fsv-event-row__icon {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 520px) {
    .fsv-news__grid {
        grid-template-columns: 1fr !important;
    }
}


/* --------------------------------------------------------------------------
   FSV 63 – Mockup-Feinschliff v8
   Navigation bleibt weiterhin komplett unangetastet. Diese Regeln betreffen
   nur die Startseitenbereiche innerhalb von .fsv-home.
   -------------------------------------------------------------------------- */

body.page-template-template-home,
body.page-template-template-home #page,
body.page-template-template-home .site-wrapper,
body.page-template-template-home .site-content,
body.page-template-template-home .content-area,
body.page-template-template-home .page-content {
    background: #041022;
}

.fsv-home {
    position: relative;
    z-index: 0;
    padding-bottom: 56px;
}

.fsv-home__container {
    width: min(1140px, calc(100% - 44px));
}

.fsv-hero {
    min-height: clamp(520px, 48vw, 650px);
    padding-top: clamp(96px, 8vw, 132px);
    padding-bottom: clamp(132px, 10vw, 168px);
    background-position: center 42%;
}

.fsv-hero__inner {
    max-width: 790px;
}

.fsv-hero__eyebrow {
    font-size: clamp(2.65rem, 5.4vw, 4.75rem);
    line-height: .92;
}

.fsv-hero__title {
    font-size: clamp(3.2rem, 6.2vw, 5.85rem);
    line-height: .9;
}

.fsv-hero__text {
    max-width: 600px;
}

.fsv-next-match {
    margin-top: -92px;
    padding: 22px 30px 24px;
}

.fsv-next-match__grid {
    grid-template-columns: 104px minmax(0, 1fr) 64px minmax(0, 1fr) 310px;
    gap: 20px;
}

.fsv-team-card img {
    width: 88px;
    height: 88px;
}

.fsv-news,
.fsv-dashboard,
.fsv-bottom-grid {
    margin-top: 28px;
}

.fsv-news__grid {
    gap: 18px;
}

.fsv-news-card {
    min-height: 100%;
}

.fsv-news-card__content {
    min-height: 188px;
    display: grid;
    align-content: start;
}

.fsv-news-card .fsv-link {
    align-self: end;
    margin-top: 4px;
}

.fsv-dashboard {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 18px;
}

/* Fanzone wie im Mockup: Bildfläche im Hintergrund, Textblock rechts. */
.fsv-fanzone {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 260px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}

.fsv-fanzone__media {
    position: absolute;
    inset: 0;
    min-height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.fsv-fanzone__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 18, 42, .18) 0%, rgba(3, 18, 42, .52) 42%, rgba(3, 18, 42, .94) 70%, rgba(3, 18, 42, .96) 100%),
        radial-gradient(circle at 14% 82%, rgba(0, 168, 239, .18), transparent 38%);
}

.fsv-fanzone__content {
    width: min(45%, 430px);
    margin-left: auto;
    padding: 34px 38px 34px 28px;
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: start;
}

.fsv-fanzone h2 {
    font-size: clamp(2rem, 3.15vw, 2.85rem);
    line-height: 1;
    margin-bottom: 14px;
}

.fsv-fanzone p {
    font-size: .92rem;
    line-height: 1.5;
}

.fsv-events {
    min-height: 260px;
}

.fsv-events .fsv-event-row {
    grid-template-columns: 58px minmax(0, 1fr) 108px 34px;
    min-height: 74px;
    padding: 10px 0;
}

.fsv-event-row__meta {
    min-width: 0;
}

.fsv-event-row__meta strong,
.fsv-event-row__meta span {
    line-height: 1.15;
}

.fsv-event-row__icon {
    font-size: 0;
    align-self: center;
}

.fsv-event-row__icon span,
.fsv-event-row__icon::before {
    font-size: 1.05rem;
    line-height: 1;
}

.fsv-bottom-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, .95fr) minmax(0, .95fr);
    gap: 18px;
    padding-bottom: 0;
}

.fsv-partners,
.fsv-table,
.fsv-social {
    min-height: 292px;
}

.fsv-table table {
    font-size: .8rem;
}

.fsv-social {
    padding: 24px;
}

.fsv-social .fsv-button {
    margin-top: 4px;
}

@media (max-width: 1040px) {
    .fsv-next-match__grid {
        grid-template-columns: 92px 1fr 56px 1fr;
    }

    .fsv-countdown {
        grid-column: 1 / -1;
    }

    .fsv-fanzone__content {
        width: min(52%, 430px);
    }
}

@media (max-width: 760px) {
    .fsv-home__container {
        width: min(100% - 24px, 1140px);
    }

    .fsv-hero {
        min-height: 500px;
        padding-bottom: 116px;
    }

    .fsv-next-match {
        margin-top: -72px;
    }

    .fsv-fanzone__media {
        position: relative;
        min-height: 210px;
        z-index: 0;
    }

    .fsv-fanzone__media::after {
        background: linear-gradient(180deg, rgba(3, 18, 42, .1), rgba(3, 18, 42, .84));
    }

    .fsv-fanzone__content {
        width: auto;
        margin-left: 0;
        padding: 28px;
    }

    .fsv-events .fsv-event-row {
        grid-template-columns: 54px 1fr 34px;
    }
}

/* v9 extras: Kalender, Banner und letztes Spiel */
.fsv-extra-grid {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(360px, 1.25fr) minmax(300px, .95fr);
    gap: 18px;
    margin-top: 18px;
    padding-bottom: 44px;
}

.fsv-calendar-card,
.fsv-home-banners,
.fsv-last-match {
    min-height: 292px;
}

.fsv-calendar {
    border-top: 1px solid rgba(130, 184, 236, .14);
    padding-top: 16px;
}

.fsv-calendar__month {
    color: var(--fsv-white);
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fsv-calendar__weekdays,
.fsv-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    text-align: center;
}

.fsv-calendar__weekdays span {
    color: var(--fsv-muted);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.fsv-calendar__days {
    margin-top: 10px;
}

.fsv-calendar__days span,
.fsv-calendar__days a {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--fsv-white);
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none;
}

.fsv-calendar__days .is-empty {
    opacity: 0;
}

.fsv-calendar__days .has-event {
    background: var(--fsv-cyan);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 168, 239, .25);
}

.fsv-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fsv-banner-card {
    min-height: 108px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(130, 184, 236, .18);
    border-radius: 6px;
    background: rgba(2, 12, 30, .42);
    overflow: hidden;
    padding: 14px;
}

.fsv-banner-card a {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: inherit;
    text-decoration: none;
}

.fsv-banner-card img {
    width: 100%;
    max-height: 92px;
    object-fit: contain;
    display: block;
}

.fsv-banner-card strong {
    color: var(--fsv-white);
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.fsv-last-match__date {
    color: var(--fsv-muted);
    font-size: .86rem;
    font-weight: 900;
    margin: 6px 0 20px;
    text-align: center;
    text-transform: uppercase;
}

.fsv-last-match__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.fsv-last-match__teams img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.fsv-last-match__teams strong {
    color: var(--fsv-white);
    display: block;
    font-size: .9rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.fsv-last-match__score {
    display: grid;
    gap: 6px;
    min-width: 92px;
}

.fsv-last-match__score strong {
    color: var(--fsv-white);
    font-size: 2rem;
    line-height: 1;
    white-space: nowrap;
}

.fsv-last-match__score span {
    color: var(--fsv-muted);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.fsv-last-match > .fsv-link {
    display: table;
    margin: 22px auto 0;
}

.fsv-empty--compact {
    padding: 14px;
    margin: 0;
}

@media (max-width: 1040px) {
    .fsv-extra-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fsv-home-banners {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 760px) {
    .fsv-extra-grid,
    .fsv-banner-grid {
        grid-template-columns: 1fr;
    }

    .fsv-last-match__teams {
        grid-template-columns: 1fr;
    }

    .fsv-last-match__score {
        order: -1;
    }
}

/* v10: WhatsApp-Karte wie im Mockup mit Footer-Leiste und Social Icons */
.fsv-social {
    position: relative;
    display: grid !important;
    grid-template-rows: 1fr auto;
    align-content: stretch;
    min-height: 292px;
    padding: 0 !important;
    overflow: hidden;
    text-align: center;
}

.fsv-social::before {
    content: '';
    position: absolute;
    right: -72px;
    bottom: -96px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(48, 209, 88, .14);
    pointer-events: none;
}

.fsv-social__main {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 30px 24px 22px;
}

.fsv-social h2 {
    margin-bottom: 16px;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.fsv-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 8px !important;
    color: #30d158;
    font-size: clamp(2.15rem, 4vw, 3.05rem) !important;
    font-weight: 950;
    line-height: 1;
}

.fsv-whatsapp__icon {
    display: inline-grid;
    place-items: center;
    width: .95em;
    height: .95em;
    border: 4px solid currentColor;
    border-radius: 50%;
    font-size: .5em;
    line-height: 1;
}

.fsv-social p {
    max-width: 320px;
    margin: 0 0 18px !important;
    color: var(--fsv-text);
    font-size: .98rem;
}

.fsv-social .fsv-button {
    justify-self: center;
    min-width: 156px;
}

.fsv-social__footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 22px;
    border-top: 1px solid rgba(130, 184, 236, .22);
    background: rgba(3, 16, 38, .22);
}

.fsv-social__footer > span {
    color: var(--fsv-cyan);
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fsv-social__links {
    display: flex !important;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 0 !important;
}

.fsv-social__links:empty {
    display: flex !important;
}

.fsv-social__link {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center;
    border: 1px solid rgba(220, 233, 255, .34) !important;
    border-radius: 50%;
    background: rgba(2, 12, 30, .16);
    color: var(--fsv-white) !important;
    text-decoration: none;
    font-weight: 950;
    font-size: 1.05rem;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.fsv-social__link:hover {
    transform: translateY(-2px);
    border-color: var(--fsv-cyan) !important;
    background: rgba(0, 168, 239, .12);
}

.fsv-social__link--facebook span {
    font-family: Arial, sans-serif;
    font-size: 1.35rem;
    line-height: 1;
}

.fsv-social__link--instagram span {
    font-size: 1.45rem;
    line-height: .85;
}

.fsv-social__link--youtube span {
    font-size: 1rem;
    transform: translateX(1px);
}

.fsv-social__link--whatsapp span {
    font-size: 1.25rem;
}

@media (max-width: 760px) {
    .fsv-social__footer {
        flex-direction: column;
        justify-content: center;
    }

    .fsv-social__links {
        justify-content: center;
    }
}


/* v11: echte SVG-Social-Icons statt Text/Emoji */
.fsv-whatsapp__icon {
    width: .9em;
    height: .9em;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: inherit !important;
}

.fsv-whatsapp__icon svg,
.fsv-social__link svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.fsv-social__link span {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
}

.fsv-social__link--facebook span,
.fsv-social__link--instagram span,
.fsv-social__link--youtube span,
.fsv-social__link--whatsapp span {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: 1 !important;
    transform: none !important;
}

.fsv-social__link--facebook span {
    width: 20px;
    height: 20px;
}

.fsv-social__link--instagram span {
    width: 21px;
    height: 21px;
}

.fsv-social__link--youtube span {
    width: 23px;
    height: 23px;
}

.fsv-social__link--whatsapp span {
    width: 22px;
    height: 22px;
}
