/* =========================================================
   Schachklub Leutkirch 1972 e. V.
   Joomla 5 – Template skl_leutkirch_v4
   user.css
   ========================================================= */


/* =========================================================
   1. GRUNDEINSTELLUNGEN
   ========================================================= */

:root {
    --skl-navy: #061a2e;
    --skl-gold: #e3aa16;
    --skl-text: #0b2744;
    --skl-bg: #f6f7f9;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-skl {
    margin: 0;
    padding: 0;
    background: var(--skl-bg);
    color: var(--skl-text);
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   2. VEREINSBANNER
   ========================================================= */

.club-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-top: 3px solid var(--skl-gold);
    border-bottom: 2px solid var(--skl-gold);
    line-height: 0;
    overflow: hidden;
}

.club-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 118px;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   3. HAUPTNAVIGATION
   ========================================================= */

.site-header {
    position: relative;
    z-index: 20;
    width: 100%;
    background: var(--skl-navy);
}

.nav-wrap {
    width: min(1180px, 100%);
    min-height: 66px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav {
    width: 100%;
}

.main-nav ul,
.main-nav .mod-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-nav ul li,
.main-nav .mod-menu > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav ul li::marker {
    content: "";
}

.main-nav ul li a,
.main-nav ul li span,
.main-nav .mod-menu > li > a,
.main-nav .mod-menu > li > span {
    display: block;

    padding: 13px 18px;

    border-radius: 6px;

    color: #ffffff;
    text-decoration: none;

    font-size: 1rem;
    font-weight: 600;
}

.main-nav ul li a:hover,
.main-nav .mod-menu > li > a:hover,
.main-nav .mod-menu > li.current > a,
.main-nav .mod-menu > li.active > a {
    color: #091523;
    background: var(--skl-gold);
}


/* =========================================================
   4. HERO-BEREICH
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 620px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background-color: #041421;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(2, 14, 25, 0.20) 0%,
        rgba(2, 14, 25, 0.13) 30%,
        rgba(2, 14, 25, 0) 53%
    );

    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;

    width: min(1536px, 100%);
    min-height: 620px;

    margin: 0 auto;
    padding: 52px 74px;

    display: flex;
    align-items: center;
}

.hero-copy {
    width: 32%;
    max-width: 470px;
    min-width: 340px;
}

.hero h1 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 2.7vw, 3rem);
    font-weight: 700;
    line-height: 1.10;

    letter-spacing: -0.018em;

    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
}

.hero-line {
    width: 94px;
    height: 4px;

    margin: 24px 0 20px;

    background: var(--skl-gold);
}

.hero p {
    margin: 0;

    color: #ffffff;

    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    font-style: italic;
    line-height: 1.4;

    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   5. STARTSEITE – WILLKOMMEN
   ========================================================= */

.home-intro {
    width: 100%;
    margin: 0;
    background: #ffffff;
}

.intro-inner {
    width: min(1180px, 100%);

    margin: 0 auto;
    padding: 44px 32px 62px;
}

.intro-inner h2 {
    margin: 0;

    color: var(--skl-text);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.06;
}

.intro-line {
    width: 72px;
    height: 3px;

    margin: 18px 0 20px;

    background: var(--skl-gold);
}

.intro-inner p {
    margin: 5px 0;

    color: #10263c;

    font-size: 1rem;
    line-height: 1.55;
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.online-schach-button {
    display: inline-block;

    margin-top: 14px;
    padding: 12px 22px;

    background: var(--skl-gold);

    color: #091523 !important;
    text-decoration: none !important;

    font-weight: 700;

    border: 2px solid var(--skl-gold);
    border-radius: 6px;
}

.online-schach-button:hover {
    background: var(--skl-navy);

    color: #ffffff !important;

    border-color: var(--skl-navy);

    text-decoration: none !important;
}


/* =========================================================
   7. NORMALE UNTERSEITEN
   ========================================================= */

.main-content {
    width: 100%;
    min-height: 62vh;

    background: var(--skl-bg);
}

.content-inner {
    width: min(1120px, 100%);

    margin: 0 auto;
    padding: 54px 28px 78px;
}

.content-inner h1,
.content-inner h2,
.content-inner h3 {
    color: var(--skl-text);
    font-family: Georgia, "Times New Roman", serif;
}

.content-inner p {
    line-height: 1.7;
}


/* Joomla-Beitragsinformationen ausblenden */

.item-page .article-info,
.item-page .icons,
.item-page .pager,
.item-page .pagenavigation,
.item-page .article-index {
    display: none !important;
}


/* =========================================================
   8. FOOTER
   ========================================================= */

.site-footer {
    width: 100%;

    margin: 0;

    background: var(--skl-navy);

    border-top: 2px solid var(--skl-gold);

    color: #e8eef5;
}

.footer-inner {
    width: min(1440px, 100%);

    margin: 0 auto;
    padding: 24px 28px 20px;

    text-align: center;

    font-size: 0.9rem;
}


/* =========================================================
   9. JOOMLA FOOTER-MENÜ
   Kontakt | Datenschutz | Impressum
   ========================================================= */

.site-footer .mod-menu,
.site-footer ul.mod-menu,
.footer-inner .mod-menu,
.footer-inner ul {
    display: flex !important;

    flex-direction: row !important;

    justify-content: center !important;
    align-items: center !important;

    flex-wrap: wrap !important;

    gap: 28px !important;

    width: 100% !important;

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

    list-style: none !important;
}

.site-footer .mod-menu > li,
.site-footer ul.mod-menu > li,
.footer-inner .mod-menu > li,
.footer-inner ul > li {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-footer li::marker,
.footer-inner li::marker {
    content: "" !important;
    font-size: 0 !important;
}


/* Footer-Links */

.site-footer .mod-menu a,
.site-footer ul a,
.footer-inner .mod-menu a,
.footer-inner ul a {
    display: inline-block !important;

    color: #ffffff !important;

    text-decoration: none !important;

    font-weight: 500;
}

.site-footer .mod-menu a:hover,
.site-footer ul a:hover,
.footer-inner .mod-menu a:hover,
.footer-inner ul a:hover {
    color: var(--skl-gold) !important;
    text-decoration: none !important;
}


/* Copyright */

.footer-copyright {
    margin-top: 8px;

    color: #ffffff;

    text-align: center;
}


/* =========================================================
   10. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav .mod-menu,
    .main-nav ul {
        gap: 8px;
    }

    .hero {
        min-height: 560px;
        background-position: 54% center;
    }

    .hero-inner {
        min-height: 560px;
        padding: 46px 40px;
    }

    .hero-copy {
        width: 39%;
        min-width: 320px;
    }
}


/* =========================================================
   11. SMARTPHONE
   ========================================================= */

@media (max-width: 760px) {

    .nav-wrap {
        padding: 8px 12px;
    }

    .main-nav .mod-menu,
    .main-nav ul {
        gap: 3px;
    }

    .main-nav .mod-menu > li > a,
    .main-nav .mod-menu > li > span,
    .main-nav ul li a,
    .main-nav ul li span {
        padding: 9px 10px;

        font-size: 0.88rem;
    }

    .hero {
        min-height: 520px;

        background-position: 58% center;
    }

    .hero::before {
        background: linear-gradient(
            0deg,
            rgba(2, 14, 25, 0.66) 0%,
            rgba(2, 14, 25, 0.20) 78%
        );
    }

    .hero-inner {
        min-height: 520px;

        padding: 34px 24px;

        align-items: flex-end;
    }

    .hero-copy {
        width: 100%;
        max-width: 520px;
        min-width: 0;

        padding-bottom: 18px;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .intro-inner {
        padding: 34px 24px 46px;
    }

    .site-footer .mod-menu,
    .site-footer ul.mod-menu,
    .footer-inner .mod-menu,
    .footer-inner ul {
        gap: 14px !important;
    }
}