@font-face {
    font-family: Oswald;
    src: url("../fonts/oswald-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    background: #f6f3f0;
    color: #1c1c1e;
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.45;
}

main,
.siteFooter {
    position: relative;
    z-index: 1;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: Oswald, "Arial Narrow", "Helvetica Neue", sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.siteHeader {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e4ddd8;
}

.headRow {
    width: min(1170px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.headTools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #1c1c1e;
}

.menuButton {
    display: none;
    min-height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: #a41623;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.mainMenu {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.mainMenu > a,
.menuDrop summary {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    color: #1c1c1e;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    border-bottom: 3px solid transparent;
}

.menuDrop summary::-webkit-details-marker { display: none; }

.mainMenu > a.active,
.menuDrop.active > summary,
.mainMenu > a:hover,
.menuDrop summary:hover {
    color: #a41623;
    border-bottom-color: #a41623;
}

.menuDrop { position: relative; }

.menuDrop .sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    min-width: 200px;
    margin: 0;
    padding: 6px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.menuDrop:hover .sub,
.menuDrop[open] .sub,
.menuDrop:focus-within .sub { display: block; }

.menuDrop .sub a {
    display: block;
    padding: 10px 16px;
    color: #1c1c1e;
    font-weight: 600;
}

.menuDrop .sub a:hover { background: #f6f3f0; color: #a41623; }

.wrap {
    width: min(1170px, calc(100% - 24px));
    margin: 0 auto;
}

.band { margin-top: 28px; }

.band h2,
.feedHead h2,
.storyBlock h2 {
    margin: 0 0 14px;
    color: #1c1c1e;
    font-size: 32px;
}

.matchday {
    display: grid;
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
    gap: 16px;
    margin-top: 22px;
    align-items: stretch;
}

.storyCol { min-width: 0; }

.storyFrameWrap { position: relative; }

.storyFrame {
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.storyFrame img,
.storyFrame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.storyNav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #a41623;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.storyNav.prev { left: 8px; }
.storyNav.next { right: 8px; }
.storyNav:disabled { opacity: 0.35; cursor: default; }

.storyCaption {
    margin: 8px 0 0;
    color: #1c1c1e;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.storyHistory {
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
    text-decoration: none;
}

.historyStage {
    width: min(100%, 320px);
    margin-top: 18px;
}

.resultCol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    height: 100%;
    min-width: 0;
}

.resultPair {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    min-width: 0;
}

.resultCard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-width: 0;
    padding: 6px 4px 8px;
    background: #fff;
    border-radius: 14px;
    border-top: 4px solid #a41623;
}

.resultCard > span {
    color: #6c6c70;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.scoreLine {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    margin: 2px 0 0;
}

.scoreSide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    text-align: center;
}

.scoreSide img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.scoreSide span {
    color: #1c1c1e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
}

.resultCard strong {
    font-family: Oswald, "Arial Narrow", sans-serif;
    font-size: clamp(40px, 4.5vw, 56px);
    font-weight: 500;
    line-height: 1;
    color: #a41623;
}

.resultCard strong.kick { font-size: clamp(32px, 3.4vw, 44px); }

.pageMark {
    position: fixed;
    z-index: 0;
    top: 50%;
    right: calc(min(820px, 74vw) * 0.42 + 38vw);
    width: min(118vh, 1040px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.pageMark img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.5;
}

.pageMark img:first-child {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 48%, transparent 80%);
    mask-image: linear-gradient(90deg, #000 0%, #000 48%, transparent 80%);
}

.pageMark img:last-child {
    filter: blur(22px);
    -webkit-mask-image: linear-gradient(90deg, transparent 36%, #000 58%, #000 74%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 36%, #000 58%, #000 74%, transparent 100%);
}

.pageWash {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 0;
    width: min(820px, 74vw);
    height: 100dvh;
    pointer-events: none;
    overflow: hidden;
}

.pageWash video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.pageWash::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f6f3f0 0%, rgba(246, 243, 240, 0.2) 18%, rgba(246, 243, 240, 0) 42%);
}

.splash {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: #f6f3f0;
    perspective: 1100px;
    animation: splashOut 0.4s linear 3.6s forwards;
}

.splash img {
    width: 100vmin;
    height: auto;
    transform: scale(0.1) rotateY(0deg);
    transform-origin: center center;
    animation: splashLogo 3.6s ease-in-out forwards;
}

@keyframes splashLogo {
    0% { transform: scale(0.1) rotateY(0deg); }
    44.4% { transform: scale(0.6) rotateY(360deg); }
    100% { transform: scale(0.6) rotateY(360deg); }
}

@keyframes splashOut {
    to { opacity: 0; visibility: hidden; }
}

html.splashOn,
html.splashOn body { overflow: hidden; }

.cupWash {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0.5;
    pointer-events: none;
}

.cupWash img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.cupWash img.isIn {
    animation-duration: 1.2s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}

.cupWash img.fade { animation-name: cupFade; }
.cupWash img.left { animation-name: cupLeft; }
.cupWash img.right { animation-name: cupRight; }
.cupWash img.up { animation-name: cupUp; }
.cupWash img.down { animation-name: cupDown; }
.cupWash img.zoom { animation-name: cupZoom; }

@keyframes cupFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cupLeft {
    from { transform: translateX(100%); }
    to { transform: none; }
}

@keyframes cupRight {
    from { transform: translateX(-100%); }
    to { transform: none; }
}

@keyframes cupUp {
    from { transform: translateY(100%); }
    to { transform: none; }
}

@keyframes cupDown {
    from { transform: translateY(-100%); }
    to { transform: none; }
}

@keyframes cupZoom {
    from { opacity: 0; transform: scale(1.14); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pageWash, .pageMark, .splash { display: none; }
    .cupWash img.isIn { animation: none; }
}

.teamGrid {
    display: grid;
    gap: 12px;
}

.teamHerren { grid-template-columns: 1fr 1fr; }

.teamYouth {
    grid-template-columns: repeat(7, 1fr);
    margin-top: 12px;
}

.youthCard {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 6px;
    background: #fff;
    border-radius: 16px;
    font-family: Oswald, "Arial Narrow", sans-serif;
    font-size: 18px;
    text-align: center;
}

.teamCard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    min-height: 100%;
}

.teamCard img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #e7e1dc;
}

.teamCard img.shopFanshop {
    object-position: center 22%;
    background: #fff;
}

.teamCard img.shopTrikot { object-position: center 46%; }

.teamCard span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    min-height: 72px;
    padding: 12px;
    font-family: Oswald, "Arial Narrow", sans-serif;
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
}

.actionRow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button,
.buttonGhost,
.feedMore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 18px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.button {
    background: #a41623;
    color: #fff;
}

.formButton {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
}

.formButton span {
    font-weight: 400;
    font-size: 13px;
}

.buttonGhost,
.feedMore {
    background: #fff;
    color: #a41623;
}

.textLink {
    color: #a41623;
    font-weight: 700;
}

.partnerRow {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.partnerLogos {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.partnerLogos a {
    display: block;
}

.partnerLogos img {
    display: block;
    width: 100%;
    height: auto;
}

.sponsorWall {
    display: block;
    min-width: 0;
}

.sponsorWall img,
.banner img,
.frame img {
    display: block;
    width: 100%;
    border-radius: 16px;
}

.partnerLogos img { border-radius: 0; }

.feedHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.feedHead h2 { flex: 1; }

.feedHead input {
    width: 220px;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 16px;
}

.feedGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feedCard {
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #1c1c1e;
    border-radius: 16px;
    overflow: hidden;
}

.feedCard img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #e7e1dc;
}

.feedCard p {
    margin: 0;
    padding: 10px 12px 4px;
    font-size: 14px;
}

.feedCard time {
    display: block;
    padding: 0 12px 12px;
    color: #6c6c70;
    font-size: 13px;
}

.feedMore { margin-top: 14px; }

.siteFooter {
    margin-top: 40px;
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
    background: #a41623;
    color: #fff;
}

.siteFooterInner {
    width: min(1170px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
}

.siteFooter a { color: #fff; font-weight: 700; }

.siteMain {
    width: min(1170px, calc(100% - 24px));
    margin: 22px auto 32px;
    color: #1c1c1e;
}

.siteMain a { color: #a41623; }

.siteMain .button { color: #fff; }

.siteMain h1 { margin: 0 0 8px; font-size: 40px; }

.siteMain h2 { margin: 1.6rem 0 0.6rem; font-size: 28px; }

.lede { margin: 0 0 16px; color: #6c6c70; }

.hero { margin-bottom: 8px; }

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.section { margin-top: 28px; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    color: inherit;
}

.cardSmall {
    justify-self: start;
    width: min(100%, 260px);
}

.cupColumns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.cupColumns h2 { margin-top: 0; }

.cupPoster,
.cupLogo {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.cupLogo { margin-bottom: 18px; }

.cupPoster img,
.cupLogo img {
    display: block;
    width: 100%;
}

.cupAd {
    display: block;
    width: 100%;
    border-radius: 16px;
    background: #111;
}

.cupStageWrap { position: relative; }

.cupStage {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    overflow: hidden;
    background: #e7e1dc;
}

.cupStage img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.cupDots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.cupDots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.cupDots button.on { background: #a41623; }

.card img { display: block; width: 100%; }

.card img.logo {
    width: auto;
    max-height: 72px;
    margin: 16px;
}

.card div,
.card > div { padding: 12px 14px 16px; }

.card h3 { margin: 0 0 6px; font-size: 22px; }

.cardFiles {
    margin: 8px 0 0;
    padding-left: 1.1rem;
}

.cardFiles a { font-weight: 700; }

.card p { margin: 0; }

.fupaWidget {
    margin: 12px 0 28px;
    padding: 8px;
    background: #fff;
    border-radius: 16px;
    min-height: 240px;
    overflow: auto;
}

.tableWrap { overflow-x: auto; }

.siteMain table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    background: #fff;
}

.siteMain th,
.siteMain td {
    text-align: left;
    padding: 12px 14px;
    vertical-align: top;
    border-bottom: 1px solid #eee6e3;
}

.siteMain th { background: #a41623; color: #fff; }

.prose { max-width: 46rem; }

.prose h2 { margin: 1.6rem 0 0.4rem; font-size: 1.35rem; }

.prose p { margin: 0.4rem 0 0.8rem; }

.prose ul { margin: 0.2rem 0 1rem; padding-left: 1.2rem; }

.links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 12px;
    font-weight: 700;
}

.galleryHead {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    align-items: baseline;
}

.muted { color: #6c6c70; }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.gallery a {
    display: block;
    background: #e7e1dc;
    border-radius: 8px;
    overflow: hidden;
}

.gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.posters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.posters a {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    color: inherit;
}

.posters span {
    display: block;
    padding: 12px 14px 14px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .cupColumns { grid-template-columns: 1fr; }
    .teamYouth { grid-template-columns: repeat(4, 1fr); }
    .feedGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .menuButton { display: inline-flex; }
    .mainMenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 8px 12px 16px;
        background: #fff;
        border-bottom: 1px solid #e4ddd8;
    }
    .mainMenu.open { display: flex; }
    .siteHeader { position: sticky; }
    .headRow { position: relative; }
    .menuDrop .sub {
        position: static;
        box-shadow: none;
        padding-left: 8px;
    }
    .partnerRow { grid-template-columns: 1fr; }
    .partnerLogos { width: min(100%, 240px); }
    .pageMark {
        width: min(92vw, 420px);
        right: 42vw;
    }
    .matchday { grid-template-columns: 1fr; }
    .storyCol { width: min(100%, 320px); margin: 0 auto; }
    .storyFrameWrap { width: 100%; margin: 0 auto; }
    .resultCol { height: auto; }
    .resultPair { grid-template-rows: auto auto; }
    .scoreSide img { width: 52px; height: 52px; }
    .scoreLine { gap: 2px; }
    .scoreSide span { font-size: 12px; }
    .resultCard > span { font-size: 11px; }
    .resultCard { padding: 4px 2px 6px; }
    .resultCard strong { font-size: 32px; }
    .resultCard strong.kick { font-size: 26px; }
    .teamYouth { grid-template-columns: 1fr 1fr; }
    .feedGrid { grid-template-columns: 1fr 1fr; }
    .feedHead { flex-direction: column; align-items: stretch; }
    .feedHead input { width: 100%; }
    .actionRow .button { flex: 1 1 100%; }
}
