/* =============================================
   TSG Seckenhausen-Fahrenhorst e.V.
   Haupt-Stylesheet v1.2 | 24.03.2026
   Vereinsfarben: Rot #CC0000 | Schwarz #1a1a1a
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --red:        #CC0000;
    --red-dark:   #aa0000;
    --black:      #1a1a1a;
    --dark:       #222222;
    --dark-card:  #2a2a2a;
    --grey:       #444444;
    --light-grey: #888888;
    --border:     #333333;
    --white:      #ffffff;
    --font-head:  'Oswald', sans-serif;
    --font-body:  'Open Sans', sans-serif;
    --radius:     8px;
    --shadow:     0 4px 20px rgba(0,0,0,0.4);
    --transition: 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* TICKER */
.ticker-bar { background: var(--red); padding: 7px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 35s linear infinite; font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; }
.ticker-inner span { margin: 0 40px; }
.ticker-inner span::before { content: '⚽  '; }
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--black); border-bottom: 3px solid var(--red); box-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.logo-text .club { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; line-height: 1.1; color: var(--white); }
.logo-text .sub { font-size: 0.68rem; color: var(--light-grey); letter-spacing: 1px; text-transform: uppercase; }
.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav a { display: block; padding: 7px 13px; font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; border-radius: var(--radius); transition: background var(--transition), color var(--transition); }
.main-nav a:hover, .main-nav a.active { background: var(--red); }
.nav-fanshop { background: var(--red) !important; margin-left: 6px; }
.nav-fanshop:hover { background: var(--red-dark) !important; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero { background: linear-gradient(160deg, #0d0d0d 0%, #2a0000 55%, #0d0d0d 100%); padding: 70px 24px 60px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23CC0000' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-season { display: inline-block; background: rgba(204,0,0,0.2); border: 1px solid var(--red); color: var(--red); font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; line-height: 1.05; margin-bottom: 16px; }
.hero h1 span { color: var(--red); }
.hero-sub { color: var(--light-grey); font-size: 1rem; margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: var(--white); font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; padding: 11px 24px; border-radius: var(--radius); transition: background var(--transition); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; padding: 10px 24px; border-radius: var(--radius); border: 1px solid var(--border); transition: border-color var(--transition), background var(--transition); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

/* Next Game Card */
.next-game-card { background: var(--dark-card); border: 1px solid var(--border); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.card-label { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.card-date { font-size: 0.82rem; color: var(--light-grey); margin-bottom: 20px; }
.matchup { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; }
.team-name { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; flex: 1; line-height: 1.2; }
.team-name.home { text-align: right; }
.team-name.away { text-align: left; }
.vs-badge { background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-competition { font-size: 0.78rem; color: var(--light-grey); margin-bottom: 20px; padding: 6px 12px; background: var(--black); border-radius: 20px; display: inline-block; }
.btn-outline-sm { display: inline-block; font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--red); border: 1px solid var(--red); padding: 7px 18px; border-radius: var(--radius); transition: background var(--transition), color var(--transition); }
.btn-outline-sm:hover { background: var(--red); color: var(--white); }

/* QUICKLINKS */
.quicklinks { background: var(--dark); padding: 28px 24px; }
.quicklinks-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.quicklink-item { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: border-color var(--transition), transform var(--transition); display: block; }
.quicklink-item:hover { border-color: var(--red); transform: translateY(-3px); }
.quicklink-icon { font-size: 1.8rem; margin-bottom: 8px; }
.quicklink-title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.quicklink-sub { font-size: 0.75rem; color: var(--light-grey); }

/* SECTIONS */
.section { padding: 64px 24px; }
.section-dark   { background: var(--black); }
.section-darker { background: var(--dark); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section-title { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; }
.section-title em { color: var(--red); font-style: normal; }
.section-title-bar { display: block; width: 48px; height: 4px; background: var(--red); border-radius: 2px; margin-top: 8px; }
.btn-outline { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--red); border: 1px solid var(--red); padding: 7px 16px; border-radius: var(--radius); transition: background var(--transition), color var(--transition); white-space: nowrap; }
.btn-outline:hover { background: var(--red); color: var(--white); }

/* NEWS */
.news-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.news-card { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.news-card.featured { grid-row: span 2; }
.news-img { height: 160px; position: relative; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #1a0000 0%, #2d0000 100%); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.news-card.featured .news-img { height: 280px; }
.news-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.news-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(145deg, #0d0000 0%, #3a0000 40%, #1a0000 100%); position: relative; }
.news-img-placeholder::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(204,0,0,0.1) 0%, transparent 65%); }
.news-img-placeholder .ph-logo { width: 90px; height: 90px; object-fit: contain; position: relative; z-index: 1; opacity: 0.75; filter: drop-shadow(0 4px 12px rgba(204,0,0,0.4)); }
.news-img-placeholder .ph-name { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); position: relative; z-index: 1; }
.news-img-placeholder .ph-deco { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); opacity: 0.5; }
.news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.news-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 2px 10px; border-radius: 20px; }
.tag-red   { background: rgba(204,0,0,0.15); color: var(--red); }
.tag-black { background: rgba(255,255,255,0.08); color: var(--light-grey); }
.news-date { font-size: 0.75rem; color: var(--light-grey); }
.news-body h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.news-card.featured .news-body h3 { font-size: 1.3rem; }
.news-body p { font-size: 0.85rem; color: var(--light-grey); line-height: 1.6; flex: 1; }
.news-link { display: inline-block; margin-top: 14px; font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--red); transition: color var(--transition); }
.news-link:hover { color: var(--white); }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-list-item { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; transition: border-color var(--transition); }
.news-list-item:hover { border-color: var(--red); }
.news-list-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.news-list-body h4 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.news-list-body p  { font-size: 0.78rem; color: var(--light-grey); }

/* STATS */
.stats-banner { background: var(--red); padding: 44px 24px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 10px 0; }
.stat-item .stat-num { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat-item .stat-label { font-size: 0.8rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1.5px; }

/* ERGEBNISSE */
.results-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.results-col-title { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--light-grey); margin-bottom: 14px; }
.results-col-title a { color: var(--red); margin-left: 8px; transition: color var(--transition); }
.results-col-title a:hover { color: var(--white); }
.results-list { display: flex; flex-direction: column; gap: 10px; }
.result-item { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; transition: border-color var(--transition); }
.result-item:hover { border-color: var(--red); }
.result-item.upcoming { border-style: dashed; opacity: 0.85; }
.result-team { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; }
.result-team.home { text-align: right; }
.result-team.away { text-align: left; }
.result-center { text-align: center; }
.result-score { background: var(--black); border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; min-width: 64px; display: inline-block; }
.result-score.win  { border-color: #00aa44; color: #00cc55; }
.result-score.draw { border-color: #888800; color: #cccc00; }
.result-score.loss { border-color: var(--red); color: var(--red); }
.result-score.upcoming-score { border-color: var(--grey); color: var(--light-grey); font-size: 0.78rem; padding: 5px 8px; }
.result-date { font-size: 0.72rem; color: var(--light-grey); margin-top: 4px; }
.result-comp { font-size: 0.7rem; color: var(--grey); margin-top: 2px; }

/* SPONSOREN */
.sponsors-intro { font-size: 0.9rem; color: var(--light-grey); margin-bottom: 32px; max-width: 600px; }
.sponsors-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 28px; }
.sponsor-item { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 32px; min-width: 150px; min-height: 72px; display: flex; align-items: center; justify-content: center; transition: border-color var(--transition), transform var(--transition); }
.sponsor-item:hover { border-color: var(--red); transform: scale(1.04); }
.sponsor-item span { font-family: var(--font-head); font-size: 1rem; color: var(--light-grey); text-align: center; transition: color var(--transition); }
.sponsor-item:hover span { color: var(--white); }

/* FOOTER */
.site-footer { background: #111; border-top: 3px solid var(--red); padding: 56px 24px 24px; }
.footer-grid { max-width: 1200px; margin: 0 auto 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 0.84rem; color: var(--light-grey); line-height: 1.7; margin: 14px 0 20px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }
.footer-logo-text .club { font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.1; }
.footer-logo-text .sub  { font-size: 0.65rem; color: var(--light-grey); letter-spacing: 1px; text-transform: uppercase; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; background: var(--dark-card); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background var(--transition), border-color var(--transition); }
.social-link:hover { background: var(--red); border-color: var(--red); }
.footer-col h4 { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 0.84rem; color: var(--light-grey); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.77rem; color: var(--grey); }
.footer-bottom a { color: var(--grey); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* NEWS-SEITE */
.news-item { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.news-item h2 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; }
.news-item .meta { font-size: 0.78rem; color: var(--light-grey); margin-bottom: 8px; }
.pagination { display: flex; gap: 8px; margin-top: 20px; }
.news-content { line-height: 1.8; margin-top: 20px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .next-game-card { max-width: 440px; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card.featured { grid-row: span 1; }
    .news-card.featured .news-img { height: 200px; }
    .results-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .quicklinks-inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--black); border-bottom: 2px solid var(--red); padding: 16px; z-index: 999; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .burger { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .quicklinks-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .section { padding: 44px 16px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 1.8rem; }
    .stat-item .stat-num { font-size: 2.2rem; }
    .logo-text .club { font-size: 0.85rem; }
}
