/* ==========================================
   Fenz.com Custom Design
   Joomla 5 Cassiopeia
   ========================================== */

/* ==========================================
   Header
   ========================================== */

.container-header {
    background: #04101f;
    border-bottom: 2px solid #0a5ca8;
}

.position-sticky,
.sticky-top {
    position: relative !important;
    top: auto !important;
}

/* ==========================================
   Banner
   ========================================== */

.banner,
.banner .mod-custom,
.banner .mod-custom p {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.banner img,
.mod-custom img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   Typografie
   ========================================== */

h1 {
    color: #04101f;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
}

h2 {
    color: #0a5ca8;
    font-weight: 600;
    border-bottom: 2px solid #dbe8f5;
    padding-bottom: 8px;
    margin-top: 30px;
}

h3 {
    color: #0a5ca8;
}

/* ==========================================
   Links
   ========================================== */

a {
    color: #0a5ca8;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #2f84d6;
}

/* ==========================================
   Content
   ========================================== */

.item-page {
    line-height: 1.7;
}

.com-content-article {
    max-width: 1100px;
    margin: 0 auto;
}

/* ==========================================
   Hauptnavigation
   ========================================== */

.container-header .mod-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 35px !important;

    margin: 0 !important;
    padding: 12px 0 !important;

    background: transparent !important;
    border: 0 !important;
    list-style: none !important;
}

.container-header .mod-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.container-header .mod-menu a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 600;

    padding: 8px 14px;
    border-radius: 6px;

    transition: all 0.2s ease;
}

.container-header .mod-menu a:hover,
.container-header .mod-menu .current a,
.container-header .mod-menu .active a {
    background: #0a5ca8 !important;
    color: #ffffff !important;
}

/* ==========================================
   Sidebar (intern)
   ========================================== */

.sidebar-right {
    padding-left: 25px;
}

.sidebar-right .mod-menu {
    background: #f5f9ff;
    border: 1px solid #d7e7fa;
    border-radius: 12px;
    padding: 15px;
}

.sidebar-right .mod-menu a {
    color: #0a5ca8;
    font-weight: 500;
}

.sidebar-right .mod-menu a:hover {
    color: #084b88;
}

/* ==========================================
   Buttons
   ========================================== */

.btn-primary {
    background: #0a5ca8 !important;
    border-color: #0a5ca8 !important;
    border-radius: 8px !important;
}

.btn-primary:hover {
    background: #084b88 !important;
}

/* ==========================================
   Tabellen
   ========================================== */

table {
    border-collapse: collapse;
}

table th {
    background: #0a5ca8;
    color: #ffffff;
}

table th,
table td {
    padding: 8px;
    border: 1px solid #dbe8f5;
}

/* ==========================================
   Trenner
   ========================================== */

hr {
    border: 0;
    border-top: 1px solid #dbe8f5;
    margin: 30px 0;
}

/* ==========================================
   Footer
   ========================================== */

.footer-fenz {
    background: #04101f;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 4px solid #0a5ca8;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #8ebbe8;
}

.footer-links a:hover {
    color: #ffffff;
}