/* ============================================================
   POLONIA BONN – style.css
   Primary: #f10402  |  Gold: #D4AF37  |  Fonts: Oswald + Inter
   ============================================================ */

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────── */
:root {
    --red:        #f10402;
    --red-dark:   #f10402;
    --red-mid:    #f10402;
    --gold:       #D4AF37;
    --gold-dark:  #D4AF37;
    --gold-light: #D4AF37;
    --black:      #111111;
    --dark:       #1a1a1a;
    --dark-2:     #1a1a1a;
    --dark-3:     #1a1a1a;
    --gray:       #555555;
    --gray-light: #f4f5f7;
    --border:     #e5e7eb;
    --white:      #ffffff;

    --font-h:     'Oswald', 'Arial Narrow', Arial, sans-serif;
    --font-b:     'Inter', Arial, sans-serif;

    --max-w:      1200px;
    --pad-x:      clamp(16px, 3vw, 40px);

    --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
    --shadow:     0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.18);
    --shadow-xl:  0 20px 60px rgba(0,0,0,0.25);

    --radius-sm:  4px;
    --radius:     8px;
    --radius-lg:  12px;

    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);
}


/* ─────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
}

body {
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.65;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, opacity 0.2s;
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-h);
    line-height: 1.15;
}


/* ─────────────────────────────────────────────
   LAYOUT UTILITIES
   ───────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

.text-red  { color: var(--red); }
.text-gold { color: var(--gold); }


/* ─────────────────────────────────────────────
   SECTION HEADINGS
   ───────────────────────────────────────────── */
.section-heading {
    font-family: var(--font-h);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dark);
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 2rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
}


/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-h);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

.btn-sm  { padding: 8px 16px; font-size: 0.78rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }

.btn-red {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(241,4,2,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--red-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
    font-weight: 700;
}
.btn-gold:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(241,4,2,0.35);
}


/* ─────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    z-index: 3000;
    background: var(--white);
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
    transition: box-shadow var(--transition);
}
body {
    padding-top: 72px;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.nav-container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
    height: 72px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
    text-decoration: none;
}

.nav-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
    min-width: 0;
}

.nav-logo-title {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark);
    white-space: nowrap;
}

.nav-logo-subtitle {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    white-space: nowrap;
}

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-h);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--dark);
    padding: 6px 10px;
    border-left: 3px solid transparent;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
    border-left-color: var(--red);
    border-bottom-color: var(--red);
}

/* Right side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
    min-width: 0;
}

/* Desktop navbar auth sizing */
@media (min-width: 769px) {
    .nav-right > a.btn.btn-sm {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        min-height: 0;
        padding: 0 12px;
        border-radius: 5px;
        font-size: .70rem;
        line-height: 1;
        letter-spacing: .08em;
        gap: 5px;
        box-sizing: border-box;
    }
    .nav-right > a.btn.btn-sm svg {
        width: 12px;
        height: 12px;
        flex: 0 0 auto;
    }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px 4px;
}

.hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    min-height: clamp(560px, 88vh, 900px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('../img/poloniatitel.png') center 40% / cover no-repeat;
    background-attachment: scroll;
    will-change: background-position;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

/* Floating particles */
.hero-particles {
    display: none;
}

.particle {
    position: absolute;
    background: rgba(212,175,55,0.4);
    border-radius: 50%;
    animation: particleFloat var(--dur, 5s) ease-in-out var(--del, 0s) infinite alternate;
    will-change: transform;
}

@keyframes particleFloat {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(15px, -25px) scale(1.5); opacity: 0.7; }
}

/* Hero layout */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding: clamp(60px, 10vh, 120px) var(--pad-x);
    display: flex;
    align-items: center;
}

/* Text side */
.hero-text {
    max-width: 640px;
}

.hero-headline {
    font-family: var(--font-h);
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1.06;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.4);
}

.hero-club-name {
    display: block;
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    color: var(--red);
    text-shadow: 0 0 40px rgba(241,4,2,0.45), 2px 4px 20px rgba(0,0,0,0.4);
    margin-top: 4px;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: #111111;
    font-weight: 600;
    text-shadow: 0 1px 10px rgba(255,255,255,0.7);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

/* (Hero-Logo wurde entfernt — Logo ist im Titelbild enthalten) */


/* ─────────────────────────────────────────────
   MATCH + SCHEDULE
   ───────────────────────────────────────────── */
.match-schedule {
    padding: 80px 0;
    background: var(--white);
}

.match-schedule-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
}

/* Match card */
.match-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}

.match-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    text-align: center;
    min-width: 0;
}

.team-logo-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.team-logo-wrapper img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.away-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-fallback {
    display: none;
    position: absolute;
    inset: 0;
    background: var(--red);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.team-name {
    font-family: var(--font-h);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    color: var(--dark);
}

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    text-align: center;
    min-width: 100px;
}

.match-day {
    font-family: var(--font-h);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.match-date {
    font-family: var(--font-h);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 1px;
}

.match-time {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    letter-spacing: 1px;
}

.match-venue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: var(--gray);
    line-height: 1.4;
    text-align: center;
}

.match-venue svg {
    fill: var(--red);
}

.match-vs {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 3px;
    margin-top: 4px;
}

/* Schedule card */
.schedule-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}

.schedule-table-wrapper {
    overflow-x: auto;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    min-width: 420px;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #f2f2f2;
    transition: background var(--transition);
}

.schedule-table tbody tr:last-child {
    border-bottom: none;
}

.schedule-table tbody tr:hover {
    background: rgba(241,4,2,0.03);
}

.schedule-table tbody tr.upcoming {
    background: rgba(241,4,2,0.05);
}

.schedule-table td {
    padding: 7px 6px;
    vertical-align: middle;
}

.schedule-date {
    font-size: 0.75rem;
    color: var(--gray);
    white-space: nowrap;
    font-weight: 600;
    min-width: 58px;
    letter-spacing: 0.5px;
}

.schedule-time {
    font-size: 0.75rem;
    color: var(--gray);
    white-space: nowrap;
    min-width: 40px;
}

.schedule-home {
    text-align: right;
    font-size: 0.82rem;
    color: var(--dark);
    font-weight: 500;
}

.schedule-score {
    text-align: center;
    white-space: nowrap;
    padding-inline: 10px;
}

.score-badge {
    font-family: var(--font-h);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 36px;
    text-align: center;
}

.score-win     { background: rgba(22,163,74,0.12);  color: #16a34a; }
.score-loss    { background: rgba(241,4,2,0.10);  color: #f10402; }
.score-draw    { background: rgba(136,136,136,0.12); color: #888888; }
.score-upcoming{ background: var(--red); color: var(--white); }
.score-special { background: rgba(212,175,55,0.15); color: #D4AF37; }

.schedule-away {
    font-size: 0.82rem;
    color: var(--dark);
    font-weight: 500;
}

.schedule-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-h);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.schedule-more:hover {
    border-bottom-color: var(--red);
    gap: 8px;
}


/* ─────────────────────────────────────────────
   TEAMS
   ───────────────────────────────────────────── */
.teams {
    padding: 80px 0;
    background: var(--gray-light);
}

.teams-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.team-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.team-card:first-of-type {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.team-card:last-of-type {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0,0,0,.12);
    border-color: rgba(241,4,2,.28);
    z-index: 2;
}

.team-card-bg {
    position: relative;
    height: 245px;
    flex: 0 0 245px;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s var(--ease);
}

.team-card:hover .team-card-bg {
    transform: scale(1.035);
}

.team-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.22) 100%);
    pointer-events: none;
}

.team-card-overlay {
    display: none;
}

.team-card-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 28px 32px 30px;
    color: #111111;
    background: #FFFFFF;
    border-top: 4px solid var(--red);
}

.team-number {
    font-family: var(--font-h);
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    color: #111111;
    text-shadow: none;
}

.team-league {
    font-family: var(--font-h);
    font-size: 0.78rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 3.5px;
    margin-bottom: 20px;
    font-weight: 700;
}

.team-card-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #555555;
    margin-bottom: 24px;
    max-width: 34ch;
}


.team-card-content .btn {
    margin-top: auto;
    color: var(--red);
    border-color: var(--red);
    background: #FFFFFF;
}

.team-card-content .btn:hover {
    background: var(--red);
    color: #FFFFFF;
}

.team-divider {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 245px;
    width: 78px;
    height: 78px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.24);
    pointer-events: none;
    overflow: hidden;
}

.teams-divider-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    opacity: 1;
}


.news {
    padding: 80px 0;
    background: var(--white);
}

.news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.news-header .section-heading {
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-header .section-heading::after {
    display: none;
}

.news-all-link {
    font-family: var(--font-h);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding-bottom: 1px;
}

.news-all-link:hover {
    border-bottom-color: var(--red);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card-link {
    display: block;
    color: inherit;
}

.news-card-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--gray-light);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease), opacity 0.22s ease;
}

.news-card-img .news-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--gray-light);
}

.news-card-img .news-video[hidden] {
    display: none;
}

.news-card-img .news-video + img {
    visibility: hidden;
}

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

.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-h);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    color: var(--white);
    z-index: 2;
}

.cat-klub    { background: var(--red); }
.cat-druzyna { background: var(--dark); }

.news-card-body {
    padding: 20px;
}

.news-date {
    display: block;
    font-size: 0.72rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.news-title {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-card:hover .news-title {
    color: var(--red);
}

.news-excerpt {
    font-size: 0.84rem;
    color: var(--gray);
    line-height: 1.65;
}


/* ─────────────────────────────────────────────
   TRAINING + JOIN
   ───────────────────────────────────────────── */
.training-join {
    background: var(--white);
    overflow: hidden;
}

.training-join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
}

/* Training block */
.training-block {
    background: var(--red-dark);
    padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.training-block::before,
.training-block::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.training-block::before {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -80px;
}

.training-block::after {
    width: 160px;
    height: 160px;
    bottom: -40px;
    left: -40px;
}

.training-block-inner {
    position: relative;
    z-index: 1;
}

.training-block h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.training-block h2 span {
    color: var(--white);
}

.training-intro {
    font-size: 0.95rem;
    opacity: 0.88;
    margin-bottom: 14px;
}

.training-times {
    margin-bottom: 2rem;
}

.training-times li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.training-times li:last-child {
    border-bottom: none;
}

.training-times li svg {
    fill: var(--white);
    flex-shrink: 0;
}

/* Join block */
.join-block {
    background: var(--red);
    padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.join-block::before,
.join-block::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.join-block::before {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
}

.join-block::after {
    width: 180px;
    height: 180px;
    top: -60px;
    right: -60px;
}

.join-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    max-width: 400px;
}

.join-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.join-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    opacity: 0.9;
    margin-bottom: 2rem;
}


/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
/* Contact / Join */
.contact-hub {
    padding: 80px 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.16) 0 120px, transparent 121px),
        radial-gradient(circle at 88% 20%, rgba(255,255,255,.10) 0 90px, transparent 91px),
        var(--red);
}

.contact-hub-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.contact-hub-head p {
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-hub .section-heading {
    color: var(--white);
}

.contact-hub .section-heading::after {
    background: var(--white);
}

.contact-hub-grid {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) 1.15fr;
    gap: 24px;
    align-items: stretch;
}

.contact-info-card,
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--red);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,.07);
}

.contact-info-card {
    padding: clamp(24px, 4vw, 34px);
}

.contact-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-h);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.contact-info-card h3 {
    margin-bottom: 12px;
    color: var(--black);
    font-family: var(--font-h);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.contact-info-card p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.65;
}

.contact-facts {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.contact-facts li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #222;
    font-size: .94rem;
}

.contact-facts li:last-child {
    border-bottom: 0;
}

.contact-facts a {
    color: var(--red);
    font-weight: 700;
}

.contact-mail-link {
    display: inline-flex;
    margin-top: 0;
    color: var(--black);
    font-weight: 700;
    text-align: right;
}

.contact-mail-link:hover {
    color: var(--red);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: clamp(22px, 4vw, 32px);
}

.contact-field {
    display: grid;
    gap: 7px;
    color: var(--black);
    font-family: var(--font-h);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-field--wide {
    grid-column: 1 / -1;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font: 500 .95rem var(--font-body);
    padding: 13px 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(241,4,2,.12);
}

.contact-hp {
    position: absolute;
    left: -9999px;
}

.contact-submit {
    grid-column: 1 / -1;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.contact-alert {
    margin: 0 0 20px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.contact-alert--success {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abefc6;
}

.contact-alert--error {
    background: #fff5f5;
    color: var(--red);
    border: 1px solid rgba(241,4,2,.18);
}

.footer {
    background: var(--white);
    color: var(--black);
    border-top: 4px solid var(--red);
    margin-bottom: 0;
    min-height: 0;
    height: auto;
}

.footer .container {
    padding-top: 34px;
    padding-bottom: 0 !important;
    min-height: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: center;
    gap: 56px;
    padding-bottom: 28px;
}

.footer-brand .footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand .footer-logo-wrap img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.footer-logo-name {
    display: block;
    font-family: var(--font-h);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-logo-year {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 2px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 10px;
    color: var(--gray);
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
}

.footer-contact-text {
    min-width: 0;
}

.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: fit-content;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--gray);
    transition: color 0.3s ease;
}

.footer-location svg {
    fill: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-location:hover {
    color: var(--red);
}

.footer-facebook {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.footer-facebook img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-facebook:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(24, 119, 242, 0.25);
    opacity: 0.92;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.footer-links a {
    position: relative;
    font-family: var(--font-h);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--black);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 2px;
    background: var(--red);
    transition: right 0.3s ease;
}

.footer-links a:hover {
    color: var(--red);
}

.footer-links a:hover::after {
    right: 0;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 10px 0 0;
    margin-bottom: 0;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.footer-bottom-copy {
    min-width: 0;
}

.footer-bottom p {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    font-size: 0.78rem;
    color: var(--gray);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.footer-credit {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    width: 100%;
    gap: 0;
    margin-top: 0;
    font-size: 0.68rem !important;
    opacity: 0.55;
    line-height: 1;
    text-align: left;
    margin-bottom: 0;
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-credit a:hover {
    color: var(--red);
    opacity: 1;
}

.footer-facebook--bottom {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin-top: 0;
    box-shadow: none;
    opacity: 0.9;
}



/* ─────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
   ───────────────────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
    transition-delay: var(--delay, 0s);
}

.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* ─────────────────────────────────────────────
   RESPONSIVE — TABLET (≤1024px)
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .match-schedule-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        gap: 32px;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Nav mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px var(--pad-x);
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        border-top: 1px solid var(--border);
        align-items: flex-start;
        justify-content: flex-start;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 14px 8px;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        border-left: 3px solid transparent;
        border-bottom-color: transparent;
        transition: border-color .15s, color .15s, background .15s;
    }

    .nav-link:hover,
    .nav-link.active {
        border-left-color: var(--red);
        padding-left: 14px;
        background: rgba(241,4,2,.04);
    }

    .hamburger { display: flex; }

    .btn-sm span { display: none; }

    /* Hero mobile */
    .hero {
        align-items: flex-start;
        min-height: calc(100svh - 72px);
        background-image: url('../img/poloniatitel-mobile.png');
        background-position: center top;
    }

    .hero-content {
        padding: clamp(34px, 6vh, 56px) var(--pad-x) 40px;
        align-items: flex-start;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-headline {
        color: #111111;
        text-shadow: 0 1px 12px rgba(255,255,255,0.7);
    }

    /* Hero CTA – allow wrap so long PL text doesn't overlap crest */
    .hero .btn-lg {
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    /* Teams mobile */
    .teams-grid {
        grid-template-columns: 1fr;
        overflow: visible;
        gap: 22px;
        box-shadow: none;
    }

    .team-card,
    .team-card:first-of-type,
    .team-card:last-of-type {
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .team-card-bg {
        height: 210px;
        flex-basis: 210px;
    }

    .team-card-content {
        min-height: 0;
        padding: 24px 22px 26px;
    }

    .team-divider {
        display: none;
    }

    .teams-divider-logo {
        width: 56px;
        height: 56px;
    }

    /* News mobile */
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Training + Join mobile */
    .training-join-grid {
        grid-template-columns: 1fr;
    }

    /* Footer mobile */
    .footer {
        min-height: 0 !important;
        height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden;
    }

    .footer .container {
        padding-top: 24px;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
        padding-bottom: 18px;
        min-height: 0 !important;
    }

    .footer-bottom {
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .footer-contact-row {
        width: 100%;
        gap: 10px;
    }

    .footer-contact-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    .footer-brand p {
        white-space: nowrap;
        font-size: clamp(0.82rem, 3.45vw, 0.9rem);
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .footer-bottom p {
        flex-direction: column;
        gap: 4px;
    }

    .footer-bottom-row {
        align-items: center;
        gap: 12px;
    }

    .footer-facebook--bottom {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-bottom .footer-credit {
        align-items: center;
        justify-content: flex-start !important;
        text-align: left;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Mobile compact auth/header fit */
    .nav-container { padding-inline: 12px; gap: 10px; }
    .nav-logo { gap: 7px; min-width: 0; }
    .nav-logo img { height: 42px; }
    .nav-logo-title { font-size: .88rem; letter-spacing: 1.2px; }
    .nav-logo-subtitle { font-size: .5rem; letter-spacing: 1px; }
    .nav-right { gap: 7px; }
    .nav-lang { margin-right: 0; gap: 3px; }
    .nav-lang-btn { width: 30px; height: 28px; }
    .hamburger { padding-inline: 5px; flex-shrink: 0; }

    .nav-right a[href="/admin/"] { display: none !important; }
    .nav-right a[href="/logout.php"] { display: none !important; }

    .hero {
        background-position: center top;
    }

    .hero-content {
        padding-top: clamp(26px, 5vh, 42px);
    }

    .hero .btn-lg {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-width: 0;
        max-width: 140px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .nav-right .btn-sm {
        display: inline-flex;
        min-width: 50px;
        width: auto;
        height: 30px;
        padding: 0 9px;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .reveal-left,
    .reveal-right {
        transform: translateX(0);
    }

    .match-info {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .match-center {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
        border-block: 1px solid var(--border);
        padding-block: 12px;
        width: 100%;
    }

    .match-vs {
        order: -1;
        width: 100%;
        font-size: 1.2rem;
        text-align: center;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-table {
        font-size: 0.75rem;
    }
}


/* ─────────────────────────────────────────────
   PRINT
   ───────────────────────────────────────────── */
@media print {
    .navbar, .hamburger { display: none; }
    .hero { min-height: auto; }
    * { box-shadow: none !important; }
}


.news-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    font-family: var(--font-h);
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
}

.news-card:hover .news-cta {
    text-decoration: underline;
}


.news-card.is-switching {
    opacity: .18;
    transform: translateY(-2px);
    transition: opacity .22s ease, transform .22s ease;
}

.news-card.is-photo-switching .news-card-img img {
    opacity: .18;
    transform: scale(1.02);
}


/* ── Navbar lang switch ── */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-right: 8px;
}
.nav-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 28px;
    border: 1.5px solid rgba(0,0,0,.18);
    border-radius: 5px;
    font-size: .68rem;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .18s;
    background: transparent;
    cursor: pointer;
}
.nav-lang-btn:hover {
    border-color: #f10402;
    color: #f10402;
}
.nav-lang-btn.active {
    background: #f10402;
    border-color: #f10402;
    color: #fff;
}
.nav-lang-menu {
    position: relative;
    z-index: 3100;
}
.nav-lang-menu[open] {
    z-index: 3200;
}
.nav-lang-menu .nav-lang-btn {
    width: auto !important;
    min-width: 38px;
    padding-inline: 8px;
}
.nav-lang-menu summary {
    list-style: none;
}
.nav-lang-menu summary::-webkit-details-marker {
    display: none;
}
.nav-lang-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 74px;
    padding: 6px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    z-index: 3300;
}
.nav-lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 6px;
    color: #111;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
}
.nav-lang-option:hover,
.nav-lang-option.active {
    background: #f10402;
    color: #fff;
}
/* Desktop auth button cache-safe sizing */
@media (min-width: 769px) {
    .nav-right > a.btn.btn-sm {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        min-height: 0;
        padding: 0 12px;
        border-radius: 5px;
        font-size: .70rem;
        line-height: 1;
        letter-spacing: .08em;
        gap: 5px;
        box-sizing: border-box;
    }
    .nav-right > a.btn.btn-sm svg { width: 12px; height: 12px; flex: 0 0 auto; }
}
/* Admin- und Logout-Button in nav-right auf Mobile ausblenden */
@media (max-width: 768px) {
    .nav-right a[href="/admin/"] { display: none !important; }
    .nav-logout-btn { display: none !important; }
    .contact-hub {
        padding: 64px 0;
    }
    .contact-hub-grid {
        grid-template-columns: 1fr;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
}
/* Mobile-Only Extras (Admin + Logout) nur im Hamburger-Menü sichtbar */
.nav-mobile-extras { display: none; }
@media (max-width: 768px) {
    .nav-mobile-extras {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-top: 1px solid var(--border, #eee);
        margin-top: 8px;
        padding-top: 8px;
    }
}
/* Mobile auth button cache-safe override */
@media (max-width: 480px) {
    .nav-right .btn-sm {
        display: inline-flex !important;
        min-width: 0;
        width: auto;
        height: 30px;
        padding: 0 9px;
        border-radius: 6px;
        flex-shrink: 0;
    }
    .nav-right .btn-sm span { display: inline !important; font-size: .68rem; letter-spacing: .08em; }
    .nav-right .btn-sm svg { display: none; }
    .nav-container {
        padding-inline: 10px !important;
        gap: 8px !important;
    }
    .nav-logo { gap: 7px !important; min-width: 0; }
    .nav-logo img { height: 42px !important; }
    .nav-logo-title { font-size: .88rem !important; letter-spacing: 1.2px !important; }
    .nav-logo-subtitle { font-size: .5rem !important; letter-spacing: 1px !important; }
    .nav-right { gap: 7px !important; }
    .nav-lang { margin-right: 0 !important; gap: 3px !important; }
    .nav-lang-btn { width: 30px !important; height: 28px !important; }
    .hamburger { padding-inline: 5px !important; flex-shrink: 0; }
}

@media (max-width: 390px) {
    .nav-container {
        padding-inline: 8px !important;
        gap: 6px !important;
    }
    .nav-logo {
        flex: 1 1 auto;
        gap: 6px !important;
        min-width: 0;
        overflow: hidden;
    }
    .nav-logo img { height: 38px !important; }
    .nav-logo-title {
        font-size: .78rem !important;
        letter-spacing: .9px !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .nav-logo-subtitle {
        font-size: .46rem !important;
        letter-spacing: .75px !important;
    }
    .nav-right {
        gap: 5px !important;
        flex: 0 0 auto;
    }
    .nav-lang { gap: 2px !important; }
    .nav-lang-btn {
        width: 28px !important;
        height: 28px !important;
    }
    .nav-right .btn-sm {
        height: 30px;
        padding-inline: 8px;
        border-radius: 7px;
    }
    .nav-right .btn-sm span {
        font-size: .64rem !important;
        letter-spacing: .06em !important;
    }
    .hamburger {
        width: 28px;
        padding-inline: 3px !important;
    }
}
