/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Oswald:wght@700&display=swap');

/* ============================================================
   FARB-EINSTELLUNGEN & VARIABLEN
   ============================================================ */
:root {
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-nav: linear-gradient(135deg, #1e4a8e 0%, #102a52 100%);
    --text-main: #102a52;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --accent-blue: #1e4a8e;
    --hero-overlay: rgba(0, 0, 0, 0.4);
    --max-width: 1440px; /* Seitliche Begrenzung auf Desktop */
}

/* ============================================================
   BASIS LAYOUT
   ============================================================ */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background-color: #e2e8f0; /* Hintergrundfarbe außerhalb des Wrappers */
    overflow-x: hidden;
}

/* Der zentrale Inhalts-Container */
.site-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--bg-body);
    min-height: 100vh;
    box-shadow: 0 0 60px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header-top {
    height: 80px;
    background: var(--bg-nav);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.logo-box {
    background: white;
    color: #1e4a8e;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-link:hover { color: white; }

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: white;
}

.btn-login {
    background: #1e4a8e;
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ============================================================
   HERO SEKTIONEN (MIT DIAGONALEM SCHNITT)
   ============================================================ */
.hero-section, .news-hero-section {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    /* Dynamische Schräge */
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    margin-bottom: -2rem; /* Überlappung korrigieren */
    z-index: 10;
    padding-bottom: 2rem;
}

.hero-section { height: 33vh; }
.news-hero-section { height: 33vh; }

.hero-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-style: italic;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* ============================================================
   KARTEN-DESIGN (NEWS & MANNSCHAFTEN)
   ============================================================ */
.news-card {
    background: var(--bg-card);
    position: relative;
    padding-left: 6px; /* Platz für den blauen Streifen */
    border: 1px solid var(--border-color);
    box-shadow: 10px 10px 0px rgba(16, 42, 82, 0.05);
    transition: transform 0.3s ease;
}

.news-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--accent-blue), #102a52);
    z-index: 5;
}

.news-date-tag {
    font-family: 'Oswald', sans-serif;
    background: var(--accent-blue);
    color: white;
    padding: 4px 12px;
    display: inline-block;
    font-style: italic;
    font-size: 0.85rem;
}

/* ============================================================
   MOBIL MENÜ
   ============================================================ */

#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    /* ÄNDERUNG: Hier den Verlauf nutzen statt einer festen Farbe */
    background: var(--bg-nav); 
    z-index: 200;
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

#mobile-menu.open { right: 0; }

/* ============================================================
   TYPOGRAFIE & HILFSKLASSEN
   ============================================================ */
.section-title-sport {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--accent-blue);
    line-height: 1;
}

.text-muted {
    color: var(--text-muted);
}