/* =========================================================================
   Borussenstern 1996 – Stylesheet
   BVB-Design gemäß spec.md §12
   ========================================================================= */

:root {
    --bs-yellow: #FFED00;     /* BVB-Gelb (Primär) */
    --bs-yellow-dark: #e6d500;
    --bs-black: #1A1A1A;      /* Fast-Schwarz (Kopf/Sekundär) */
    --bs-text: #333333;       /* Text */
    --bs-bg: #ffffff;
    --bs-bg-soft: #f6f6f6;
    --bs-border: #e3e3e3;
}

/* ---- Grundlayout: Sticky Footer ---- */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--bs-text);
    background-color: var(--bs-bg-soft);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
.bs-main {
    flex: 1 0 auto;
}

a {
    color: #0b6b3a;
}
a:hover {
    color: #094f2b;
}

/* ---- Navigation ---- */
.bs-navbar {
    background-color: var(--bs-black);
    border-bottom: 4px solid var(--bs-yellow);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.bs-navbar .navbar-brand,
.bs-navbar .nav-link {
    color: #fff;
}
.bs-navbar .nav-link:hover,
.bs-navbar .nav-link.active {
    color: var(--bs-yellow);
}
.bs-navbar .nav-link.active {
    font-weight: 600;
}
.bs-brand-star {
    color: var(--bs-yellow);
    font-size: 1.4rem;
    line-height: 1;
}
.bs-brand-text {
    font-weight: 700;
    letter-spacing: .3px;
}
.bs-brand-year {
    color: var(--bs-yellow);
}
.bs-navbar .dropdown-menu {
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

/* ---- Buttons ---- */
.btn-bs-primary {
    background-color: var(--bs-yellow);
    border-color: var(--bs-yellow);
    color: var(--bs-black);
    font-weight: 600;
}
.btn-bs-primary:hover,
.btn-bs-primary:focus {
    background-color: var(--bs-yellow-dark);
    border-color: var(--bs-yellow-dark);
    color: var(--bs-black);
}
.btn-bs-dark {
    background-color: var(--bs-black);
    border-color: var(--bs-black);
    color: #fff;
}
.btn-bs-dark:hover {
    background-color: #000;
    color: var(--bs-yellow);
}

/* ---- Hero (Startseite) ---- */
.bs-hero {
    background:
        linear-gradient(135deg, rgba(26, 26, 26, .92), rgba(26, 26, 26, .75)),
        var(--bs-black);
    color: #fff;
    border-bottom: 5px solid var(--bs-yellow);
    padding: 4rem 0;
}
.bs-hero h1 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bs-hero .bs-hero-accent {
    color: var(--bs-yellow);
}

/* ---- Cards ---- */
.card {
    border: 1px solid var(--bs-border);
    border-radius: .5rem;
}
.bs-card-accent {
    border-top: 3px solid var(--bs-yellow);
}
.bs-section-title {
    font-weight: 700;
    border-left: 5px solid var(--bs-yellow);
    padding-left: .75rem;
    margin-bottom: 1.25rem;
}

/* ---- Badges ---- */
.badge-bs-yellow {
    background-color: var(--bs-yellow);
    color: var(--bs-black);
}
.badge-bs-dark {
    background-color: var(--bs-black);
    color: #fff;
}

/* ---- Tabellen ---- */
.table thead {
    background-color: var(--bs-black);
    color: #fff;
}

/* ---- Footer ---- */
.bs-footer {
    background-color: var(--bs-black);
    color: #ccc;
    border-top: 4px solid var(--bs-yellow);
}
.bs-footer a {
    color: #ccc;
    text-decoration: none;
}
.bs-footer a:hover {
    color: var(--bs-yellow);
}
.bs-footer-title {
    color: #fff;
}
.bs-footer-hr {
    border-color: #444;
}

/* ---- Auth-Karten (Login / Passwort setzen) ---- */
.bs-auth-wrap {
    max-width: 420px;
    margin: 2rem auto;
}
.bs-auth-card {
    border-top: 4px solid var(--bs-yellow);
}

/* ---- Hilfsklassen ---- */
.bs-status-dot {
    display: inline-block;
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
}
.bs-status-active { background: #2e7d32; }
.bs-status-pending { background: #ed9c00; }
.bs-status-inactive { background: #9e9e9e; }

/* ---- Blog-Beitragsinhalt (gerendertes HTML aus WYSIWYG) ---- */
.bs-post-content {
    font-size: 1.05rem;
    line-height: 1.7;
}
.bs-post-content h2,
.bs-post-content h3,
.bs-post-content h4 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}
.bs-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: .5rem;
    margin: 1rem 0;
}
.bs-post-content blockquote {
    border-left: 4px solid var(--bs-yellow);
    padding: .25rem 0 .25rem 1rem;
    color: #555;
    margin: 1rem 0;
}
.bs-post-content pre {
    background: #1A1A1A;
    color: #f8f8f8;
    padding: 1rem;
    border-radius: .5rem;
    overflow-x: auto;
}
.bs-post-content a {
    word-break: break-word;
}

/* ---- WYSIWYG-Editor (Quill) ---- */
#editor {
    min-height: 320px;
    background: #fff;
}
.ql-toolbar.ql-snow,
.ql-container.ql-snow {
    border-color: var(--bs-border);
}
.ql-container.ql-snow {
    border-bottom-left-radius: .375rem;
    border-bottom-right-radius: .375rem;
    font-size: 1rem;
}
.ql-toolbar.ql-snow {
    border-top-left-radius: .375rem;
    border-top-right-radius: .375rem;
}
