/* =====================
   01 BASE
===================== */

html {
    font-size: 16px;
}

html,
body {
    margin: 0;
}

body {
    font-family: "Dosis", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    font-size: 16px;
}

main {
    padding-top: 90px;
    flex: 1;
}

/* =====================
   02 TYPOGRAPHY
===================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Dosis", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
}

ul,
ol,
li,
p {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.65;
}

ol li::marker {
    font-weight: 500;
}

ol li>p {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* =====================
   03 LAYOUT
===================== */

.light {
    background-color: #f8f9fa;
}

.sv-section {
    padding: 4rem 0;
}

.sv-section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 4rem;
}

.sv-site-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #000000;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    font-optical-sizing: auto;
    margin-top: 3rem;
    margin-bottom: 0;
}

.sv-site-description {
    font-weight: 400;
    margin: 2rem auto 3rem auto;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    text-align: center;
}

.sv-site-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    text-align: center;
    padding-bottom: 4rem;
    margin: 0;
    line-height: 1.3;
    color: #000;
    font-optical-sizing: auto;
}

.container>ol>li {
    margin-bottom: 1.5rem;
}

.row.sv-link-row img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.satzung ul li::marker {
    color: black;
}

.vorstand .sv-card img,
.kontakt .sv-card img {
    object-position: right !important;
}

.impressum p+ul {
    margin-top: -1rem;
}

.satzung ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.offiziere .sv-gallery-title {
    margin-top: 0;
}

/* =====================
   04 IMAGES
===================== */

.sv-zoom-img {
    transition: transform 0.25s ease-out;
}

.sv-zoom-img:hover {
    transform: scale(1.03);
}

/* =====================
   05 HEADER / NAVIGATION
===================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    height: 90px;
}

.sv-header {
    background: #006600;
    position: sticky;
    top: 0;
    padding: 0 0;
    color: white;
    height: 90px;
}

.sv-header .container,
.sv-header .row {
    height: 100%;
}

.sv-header .row {
    flex-wrap: nowrap;
}

.sv-logo img {
    height: 80px;
    width: auto;
}

.sv-page-title {
    color: white;
    font-family: Georgia, serif;
    letter-spacing: 2px;
    line-height: 1.4;
    padding-left: 0px;
}

.sv-page-title-line1 {
    font-size: 2.1875rem;
}

.sv-page-title-line2 {
    font-size: 2.1875rem;
    margin-top: -3px;
}

.sv-burger {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    padding: 5px 10px;
}

/* ---------------------
   DESKTOP NAV
--------------------- */

.sv-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
}

.sv-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 10px;
    display: block;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
}

.sv-nav a:hover {
    background: #004d00;
}

.sv-nav .sv-nav-has-sub {
    position: relative;
}

.sv-nav .sv-nav-has-sub:hover .sv-nav-sub {
    display: block;
}

.sv-nav .sv-nav-sub {
    display: none;
    position: absolute;
    background: #006600;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 100%;
    left: 0;
    min-width: 180px;
    border-radius: 0 0 4px 4px;
}

.sv-nav .sv-nav-sub li a {
    text-align: left;
    display: block;
    width: 100%;
    height: 40px;
    padding: 10px 15px;
    line-height: 20px;
    white-space: nowrap;
    border-bottom: 1px solid #003800;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    ;
}

.sv-nav .sv-nav-sub li:last-child a {
    border-bottom: none;
}

/* ---------------------
   MOBILE NAV
--------------------- */

.sv-nav-mobile {
    position: fixed;
    top: 90px;
    right: 0;
    width: 100%;
    overflow-y: auto;
    background: #006600;
    z-index: 9500;
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
}

.sv-nav-mobile.open {
    visibility: visible;
    opacity: 1;
    height: calc(100vh - 90px);
    padding: 0px;
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.sv-nav-mobile ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 60%;
}

.sv-nav-mobile a {
    display: flex;
    align-items: center;
    color: white;
    height: 50px;
    text-decoration: none;
    font-size: 1.25rem;
    padding: 0 15px;
}

.sv-nav-mobile ul li>a {
    border-top: 1px solid transparent;
    font-size: 1.25rem;
    transition: border-color 0.25s ease;
}

.sv-nav-mobile.open ul li>a {
    border-color: #004d00;
    transition-delay: 0.15s;
}

.sv-nav-mobile>ul>li>a {
    display: flex;
    align-items: center;
    color: white;
    height: 50px;
    text-decoration: none;
    font-size: 1.25rem;
    padding: 0 15px;
}

/* ---------------------
   MOBILE SUBMENU
--------------------- */

.sv-nav-mobile .sv-nav-mobile-has-sub {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.sv-nav-mobile .sv-nav-mobile-has-sub.open {
    background: #004d00;
}

.sv-nav-mobile .sv-nav-mobile-sub {
    background: #006600;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.sv-nav-mobile .sv-nav-mobile-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    border-top: 1px solid #004d00;
}

.sv-nav-mobile .sv-nav-mobile-sub-header>a {
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
}

.sv-nav-mobile .sv-nav-mobile-submenu-toggle {
    height: 50px;
    background: none;
    border: none;
    font-size: 16px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    -webkit-text-fill-color: #fff !important;
    flex-shrink: 0;
    padding: 0 15px;
    width: auto;
    box-sizing: content-box;
}

.sv-nav-mobile .sv-nav-mobile-sub>li {
    border-top: none;
    padding-left: 25px;
}

.sv-nav-mobile .sv-nav-mobile-sub>li:first-child>a {
    border-top: none;
}

.sv-nav-mobile .sv-nav-mobile-sub>li>a {
    padding-left: 5px;
}

/* =====================
   06 FOOTER
===================== */

footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    background-color: #006600;
    padding: 1rem 0;
}

.sv-footer-line {
    border: 0;
    border-top: 1.5px solid #004d00;
    margin: 1rem 0;
}

.sv-footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

.sv-footer-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 4px 8px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.sv-footer-nav a:hover {
    background-color: #004d00;
    color: #ffffff;
}

.sv-footer-top {
    text-align: center;
    font-family: "Georgia", serif;
    font-size: 1.375rem;
    font-weight: 400;
    color: #ffffff;
}

.sv-footer-bottom a,
.sv-footer-bottom {
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

/* =====================
   07 MEDIA QUERIES
===================== */

@media (max-width: 991.98px) {

    .sv-section {
        padding: 2rem 0;
    }

    .sv-section-title {
        margin-bottom: 2rem;
    }

    .sv-site-title {
        margin-top: 2rem;
    }

    .sv-site-description {
        margin: 1.5rem auto 1.5rem auto;
    }

    .sv-site-subtitle {
        padding-bottom: 2rem;
    }

    .sv-page-title-line1,
    .sv-page-title-line2 {
        font-size: 1.25rem;
    }

    .sv-footer-top p {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {

    .sv-nav-mobile .sv-nav-mobile-submenu-toggle {
        font-size: 12px;
    }
}