/* =======================================================
   GLOBAL / ROOT VARIABLES
======================================================= */
:root {
    --fv-bg-header: #bfbfbf;
    --fv-bg-footer: #bfbfbf;
    --fv-bg-box: #ffffff;

    --fv-text: #222;
    --fv-text-light: #555;

    --fv-accent: #1b5e97; /* Vereins-Blau */
    --fv-shadow: 0 0 25px rgba(0,0,0,0.4);

    --fv-radius: 6px;
}

/* =======================================================
   BASE STRUCTURE
======================================================= */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    background-image: url('/img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* CENTERS THE WHITE FRAME */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.site-frame {
    background: #f3f4f6; /* leicht grau statt reinweiß */
    width: 100%;
    max-width: 1400px;
    margin: 20px 0;
    border-radius: var(--fv-radius);
    box-shadow: var(--fv-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
/* Innerer Inhaltsbereich – weißes Panel im grauen Rahmen */
.content-main {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}
/* =======================================================
   TYPOGRAPHY
======================================================= */
p {
    font-size: 1rem;
    color: var(--fv-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    color: var(--fv-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}
/* Linie unter H2 in Vereinsblau */
h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--fv-accent);
    margin: 0.5rem auto 0;
    border-radius: 999px;
}
h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

a {
    color: var(--fv-accent);
}

a:hover {
    color: #15486f;
}

/* =======================================================
   HEADER
======================================================= */
.site-header {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    padding-top: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.header-top {
    padding: 8px 0 12px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.HeaderLogo img {
    max-height: 120px;
}

.header-title {
    font-size: 2.1rem !important;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.03em;
}

.header-tagline {
    font-size: 0.85rem;
    color: #333;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.colored-subtitle {
    font-size: 0.98rem;
    color: var(--fv-accent);
    margin-bottom: 0.5rem;
}

/* Trennlinie */
.header-divider {
    height: 3px;
    background: #2e2e2e;
}

/* =======================================================
   NAVIGATION
======================================================= */
.navbar {
    font-family: "Poppins", sans-serif;
}

.navbar-dark .nav-link {
    padding: 0.6rem 1rem;
}

/* =======================================================
   BOX STYLE (News, Termine, Mitglied werden)
======================================================= */
.fv-panel.card {
    border: 1px solid #e2e2e2;
    border-radius: var(--fv-radius);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.fv-panel .card-header {
    background: #e9ecef;          /* etwas dunkler = mehr Kontrast */
    font-weight: 600;
    color: #212529;
    border-bottom: 1px solid #d3d6da;
    font-size: 0.95rem;
}

.fv-panel-primary .card-header {
    border-left: 4px solid #1b5e97;
}

.fv-panel-secondary .card-header {
    border-left: 4px solid #555;
}

.fv-panel-accent .card-header {
    border-left: 4px solid #28a745;
}

.fv-panel .card-body {
    padding: 1.25rem 1.5rem;
}

/* =======================================================
   FOOTER
======================================================= */
.site-footer {
    background: var(--fv-bg-footer);
    padding: 12px 0;
    text-align: center;
    color: #111;
    font-size: 0.9rem;
    margin-top: auto;
}

/* =======================================================
   RESPONSIVE
======================================================= */
@media (max-width: 991.98px) {
    body {
        background-image: none;
        background-color: #f5f5f5;
    }
    .site-frame {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .HeaderLogo img {
        max-height: 56px;
    }
    .header-title {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 575.98px) {
    .HeaderLogo img {
        max-height: 48px;
    }
    h2 {
        font-size: 0.75rem;
    }
}
