/* cmsms stylesheet: Basis-Stylesheet modified: Samstag, 22. August 2026 16:58:46 */
/* ==========================================================================
   BASIS / RESET
   ========================================================================== */

html, body {
    width: 100%;
    height: 100%;
    margin: 0px 0px 0px 0px;
}

body {
    margin-top: 50px;
    margin-bottom: 20px;
    padding: 0px;
    background: #FFB42F url(/uploads/images/graphics/background.png) repeat-x left top fixed;
    font-family: 'Open Sans', sans-serif;
    font-size: 10pt;
    color: #6F644C;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
}

h2 {
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    color: #a65d2d;
    margin-top: 50px;
    margin-bottom: 17px;
}

.NewsSummary h2 {
    margin-top: 30px;
    margin-bottom: 8px;
}

p, ol, ul {
    margin-top: 0px;
    line-height: 180%;
}

ul {
    margin: 0 0 0 -3px;
}

ol {
    margin: 0 0 0 -3px;
}

ol li {
    font-weight: bold;
}

li span {
    font-weight: normal;
}

a {
    color: #a65d2d;
}

a:hover {
    text-decoration: none;
}

a img {
    border: none;
}

hr {
    display: block;
    border: 0;
    border-top: 1px solid #a65d2d;
    width: 90%;
    text-align: center;
}


/* ==========================================================================
   SEITENSTRUKTUR (Wrapper, Banner, Container)
   ========================================================================== */

#wrapper {
    z-index: 0;
    position: absolute;
    margin-bottom: 150px;
}

.bannercontainer {
    border: 10px solid #FFFFFF;
    overflow: hidden;
    z-index: 0;
    margin-top: -35px;
    width: 1053px;
    border-radius: 40px 10px 0px 20px;
    padding-bottom: 0px;
    margin-bottom: -11px;
    background: #a65d2d;
    box-shadow: inset 0px 0px 0px 10px rgba(255, 255, 255, 0.90);
}

.container {
    z-index: 1;
    width: 1075px;
    margin-left: 0px;
}

.clearfix {
    clear: both;
}

#page {
    position: relative;
}

img.banner {
    width: 99%;
}

#logo_verein {
    position: absolute;
    left: 30px;
    bottom: 10px;
}


/* ==========================================================================
   COOKIE-BANNER
   ========================================================================== */

.cc_container .cc_btn {
    background-color: #F7FE2E !important;
    color: #000 !important;
}

.cc_container {
    background: #000000 !important;
    color: #fdfdfd !important;
}

.cc_container a {
    color: #31a8f0 !important;
}


/* ==========================================================================
   NAVIGATION: TOP-MENU FUER PROJEKTE
   ========================================================================== */

#topbar {
    z-index: 2;
    position: absolute;
    width: 845px;
    height: 24px;
    left: 190px;
    top: 205px;
}

#topbar ul {
    margin: 20px;
    padding: 0px 0px 0px 0px;
    list-style: none;
    line-height: normal;
}

#topbar li {
    padding: 0px 0px 20px 0px;
}

#topbar a {
    margin-left: 17px;
    margin-right: 17px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.50em;
    color: #FFFFFF;
}

#topbar a:hover {
    text-decoration: underline;
}

.topbox {
    overflow: hidden;
    padding: 15px 15px;
    background: #a65d2d;
    box-shadow: inset 0px 0px 0px 10px rgba(255, 255, 255, 0.90);
    border-radius: 5px 5px 5px 5px;
}

.topbox #topbar h1 {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.50em;
    color: #000000;
}

.topbox #topbar a {
    margin-left: 20px;
    margin-right: 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.50em;
    color: #FFFFFF;
}

.topbox #topbar a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   NAVIGATION: SEITEN-MENU
   ========================================================================== */

#sidebar {
    z-index: 2;
    position: absolute;
    width: 110px;
    left: 0px;
}

#sidebar ul {
    margin: 0px;
    padding: 20px 0px 0px 0px;
    list-style: none;
    line-height: normal;
}

#sidebar li {
    padding: 0px 0px 20px 0px;
}

#sidebar a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.50em;
    color: #FFFFFF;
}

#sidebar a:hover {
    text-decoration: underline;
}

.box {
    overflow: hidden;
    padding: 40px 45px;
    background: #a65d2d;
    box-shadow: inset 0px 0px 0px 10px rgba(255, 255, 255, 0.90);
    border-radius: 40px 10px 10px 40px;
}

.menu-divider {
    height: 10px;
    list-style: none;
}


/* ==========================================================================
   NAVIGATION: ALLGEMEINES MENU (#menu)
   ========================================================================== */

#menu {
    z-index: 2;
}

#menu ul {
    margin: 0px;
    padding: 20px 0px 0px 0px;
    list-style: none;
    line-height: normal;
}

#menu li {
    padding: 0px 0px 20px 0px;
}

#menu a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.50em;
    color: #FFFFFF;
}

#menu a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   NEWS-MODUL
   ========================================================================== */

#NewsPostDetailAuthor {
    font-weight: bold;
}

#newsFooter {
    text-align: center;
}

#newsmodule {
    z-index: 2;
    position: absolute;
    width: 140px;
    left: 1050px;
    top: 0px;
}

#NewsPostDetailContent {
    text-align: justify;
}

.NewsSummarySummary {
    text-align: justify;
}

.newsbox {
    padding: 40px 40px;
    background: #a65d2d;
    box-shadow: inset 0px 0px 0px 10px rgba(255, 255, 255, 0.90);
    border-radius: 10px 40px 40px 10px;
}

.newsbox #menu h1 {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.50em;
    color: #FFFFFF;
}

.NewsSummaryHeader {
    font-size: 1em;
    color: #000000;
}

#box1.post .NewsSummary .NewsSummaryMorelink {
    text-align: right;
}

#newsmodule.newsbox #menu .NewsSummary .NewsSummaryMorelink {
    font-family: 'Open Sans', sans-serif;
    color: #FFFFFF;
    font-size: 1em;
    text-align: right;
    font-weight: bold;
}

#menu .NewsSummary .NewsSummaryMorelink a {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    text-transform: none;
}

.newsbox #menu .NewsSummary .NewsSummaryPostdate {
    text-align: right;
    color: #FFDA99;
}

#newsmodule.newsbox #menu .NewsSummary .NewsSummaryHeader {
    color: #FFDA99;
}

#newsmodule.newsbox #menu .NewsSummary .NewsSummaryHeader a {
    color: #FFDA99;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
}

.newsbox #menu .NewsSummary .NewsSummaryLink a {
    font-size: 1.2em;
    color: #FFFFFF;
}


/* ==========================================================================
   CONTENT-BEREICH
   ========================================================================== */

#content {
    position: absolute;
    left: 190px;
    width: 870px;
    padding: 10px 10px 40px 10px;
    background: #FFDA99;
    box-shadow: inset -10px 0 0 0 rgba(255,255,255,0.8), inset 10px 0 0 0 rgba(255,255,255,0.8), inset 0 10px 0 0 rgba(255,255,255,0.8);
    border-radius: 40px 10px 0 0;
    box-sizing: border-box;
}

#content h1 {
    display: block;
    font-family: 'Fjalla One';
    text-transform: uppercase;
    font-size: 2.30em;
    color: #000000;
    font-weight: 400;
}

#content .subtitle {
    padding: 0px 0px 20px 0px;
    font-size: 2.00em;
    color: #000000;
    font-weight: 400;
}

#content .post {
    padding: 60px 40px 40px 40px;
    color: #000000;
}

#content #box1.post .NewsSummary .NewsSummaryPostdate {
    font-weight: bold;
}

#box2 {
    margin: 0px 40px;
    padding: 40px 0px;
    border-top: 1px solid #DDBE88;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

#footer {
    position: absolute;
    left: 190px;
    width: 870px;
    margin: 0;
    padding: 20px 40px 30px 40px;
    background: #FFDA99;
    border-radius: 0 0 40px 40px;
    box-shadow: inset -10px 0 0 0 rgba(255,255,255,0.8), inset 10px 0 0 0 rgba(255,255,255,0.8), inset 0 -10px 0 0 rgba(255,255,255,0.8);
    border-top: 1px solid #DDBE88;
    box-sizing: border-box;
}

#footer p {
    padding: 0px 0px 0px 0px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


/* ==========================================================================
   BILDER (Rahmen, Ausrichtung)
   ========================================================================== */

img.alignleft {
    float: left;
    margin-right: 30px;
}

img.alignright {
    float: right;
}

img.aligncenter {
    margin: 0px auto;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.image-style img {
    border-radius: 30px 0px 0px 0px;
}

img.border {
    border: 10px solid #a65d2d;
    border-radius: 10px 10px 10px 10px;
    width: 200px;
    height: 150px;
    padding: 0px;
}

img.rowborder {
    border: 10px solid #a65d2d;
    border-radius: 10px 10px 10px 10px;
    width: 200px;
    height: 150px;
    padding: 0px;
    font-size: 0.7em;
    margin-left: 30px;
    box-shadow: 2px 2px 2px 1px #646464;
    object-fit: cover;
}

img.portraitborder {
    border: 10px solid #a65d2d;
    border-radius: 10px 10px 10px 10px;
    width: 150px;
    height: 200px;
    padding: 0px;
    font-size: 0.7em;
    margin-left: 30px;
    box-shadow: 2px 2px 2px 1px #646464;
}

img.bigportraitborder {
    border: 10px solid #a65d2d;
    border-radius: 10px 10px 10px 10px;
    width: 150px;
    height: 200px;
    padding: 0px;
    font-size: 0.7em;
    margin-left: 30px;
    box-shadow: 2px 2px 2px 1px #646464;
}

img.mapborder {
    border: 10px solid #a65d2d;
    border-radius: 10px 10px 10px 10px;
    width: 250px;
    height: 450px;
    padding: 0px;
    font-size: 0.7em;
    margin-left: 30px;
    box-shadow: 2px 2px 2px 1px #646464;
}

.photo-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.photo-row img.rowborder {
    margin-left: 0;
}

.gallery img {
    border: none;
    border-radius: 10px 10px 10px 10px;
}

.gallery .img a img {
    display: block;
}


/* ==========================================================================
   TEXTFARBEN / EFFEKTE
   ========================================================================== */

.green {
    color: #157706;
    text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
}

.smallgreen {
    color: #157706;
    text-shadow: 0px 0px 1px black;
}

.yellow {
    color: #FFDC00;
    text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
}

.smallyellow {
    color: #FFDC00;
    text-shadow: 0px 0px 2px black;
}

.red {
    color: #FF0022;
    text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
}

.smallred {
    color: #FF0022;
    text-shadow: 0px 0px 1px black;
}


/* ==========================================================================
   DATENTABELLE (.datagrid)
   ========================================================================== */

.datagrid table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}

.datagrid {
    font-family: 'Open Sans', sans-serif;
    font-size: 10pt;
    background: #A65D2D;
    overflow: hidden;
    border: 10px solid #FFFFFF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 1px 1px 1px 1px #646464;
}

.datagrid table caption {
    font-family: 'Open Sans', sans-serif;
    font-size: 10pt;
    font-weight: bold;
    color: #FFFFFF;
    margin-top: 15px;
    margin-bottom: 15px;
}

.datagrid table td, .datagrid table th {
    padding: 3px 10px;
}

.datagrid table thead th {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #A65D2D), color-stop(1, #A65D2D));
    background: -moz-linear-gradient(center top, #A65D2D 5%, #A65D2D 100%);
    background-color: #A65D2D;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #FFFFFF;
    font-size: 10pt;
    font-weight: bold;
    border-left: 0px solid #ADADAD;
    border-bottom: 1px solid #ADADAD;
    padding-top: 5px;
    padding-bottom: 5px;
}

.datagrid table thead th:first-child {
    border-bottom: 1px solid #ADADAD;
}

.datagrid table tbody td {
    color: #FFDA99;
    border-left: 1px solid #ADADAD;
    font-size: 12px;
    border-bottom: 1px solid #ADADAD;
    font-weight: normal;
}

.datagrid table tbody td:first-child {
    border-left: none;
}

.datagrid table tbody tr:last-child td {
    border-bottom: none;
    border-bottom: 1px solid #ADADAD;
}

.datagrid table tfoot td div {
    border-top: 1px solid #ADADAD;
    background: #A65D2D;
    padding: 0px;
}

.datagrid table tfoot td {
    padding: 0;
    font-size: 10pt;
    color: #FFFFFF;
    text-align: right;
    padding-right: 3px;
    padding-bottom: 5px;
}


/* ==========================================================================
   UTILITY-KLASSEN: Text-Ausrichtung / einfache Effekte
   ========================================================================== */

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.updateright {
    text-align: right;
    font-family: 'Open Sans', sans-serif;
    font-size: 8pt;
    font-style: italic;
    color: #7F7F7F;
    margin-bottom: -30px;
}

.divider-gold {
    display: block;
    border: 0;
    border-top: 1px solid #FFDA99;
    width: 90%;
    text-align: center;
}


/* ==========================================================================
   UTILITY-KLASSEN: CSP-Umstellung (ersetzen frühere Inline-Styles)
   ========================================================================== */

.text-justify { text-align: justify !important; }
.fw-normal { font-weight: normal !important; }
.text-white { color: #ffffff !important; }
.text-highlight { color: #ffda99 !important; }

.float-left { float: left !important; }
.float-right { float: right !important; }
.float-left-box { float: left !important; width: 350px; }
.float-right-narrow { float: right !important; width: 310px; }

.mt-5 { margin-top: 5px !important; }
.mt-7 { margin-top: 7px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-14 { margin-top: 14px !important; }
.mb-5 { margin-bottom: 5px !important; }
.mb-7 { margin-bottom: 7px !important; }
.mb-14 { margin-bottom: 14px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.ml-0 { margin-left: 0px !important; }
.ml-25 { margin-left: 25px !important; }
.mr-0 { margin-right: 0px !important; }
.mr-5 { margin-right: 5px !important; }
.mr-25 { margin-right: 25px !important; }

.spacer-s { margin-bottom: 20px; }
.spacer-m { margin-bottom: 40px; }
.spacer-l { margin-bottom: 60px; }
.spacer-xl { margin-bottom: 90px; }
.spacer-heading-main { margin-bottom: 75px; }
.spacer-heading { margin-bottom: 60px; }
.spacer-s-lg { margin-bottom: 40px; }
.spacer-m-lg { margin-bottom: 100px; }
.spacer-list-jbef { margin-bottom: 80px; }
.spacer-portrait { clear: both; margin-bottom: 50px; }
.spacer-photo-lg { margin-bottom: 80px; }
.spacer-portrait-ap { clear: both; margin-bottom: 25px; }
.spacer-news-photo { margin-bottom: 60px; }
.spacer-news-photo-58 { margin-bottom: 30px; }

.clear-below-img { clear: left; margin-top: 15px; }

.info-box {
    overflow: hidden;
    padding: 30px 30px;
    background: #a65d2d;
    border: 10px solid #FFFFFF;
    box-shadow: 1px 1px 1px 1px #646464;
    border-radius: 10px 10px 10px 10px;
}


/* ==========================================================================
   RESPONSIVE: MOBIL-LAYOUT (unter 1000px)
   ========================================================================== */

.hamburger-btn {
    display: none;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.4em;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Neue mobile Leisten sind auf Desktop immer versteckt */
.mobile-actionbar,
.mobile-newsbar {
    display: none;
}

@media (max-width: 1000px) {

    * {
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
        margin-top: 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    #wrapper {
        position: relative;
        margin-bottom: 0;
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    /* --- Banner: sauberer Rahmen, kein Lücken-Effekt unten --- */
        #mobile-fixed-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 51;
        width: 100%;
    }

       .bannercontainer {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border: none;
        border-top: 3px solid #fff;
        border-left: 3px solid #fff;
        border-right: 3px solid #fff;
        border-radius: 0;
        box-shadow: none;
    }

    img.banner {
        width: 100%;
        display: block;
    }

    /* --- Topbar komplett weg --- */
    #topbar {
        display: none !important;
    }

    /* --- Altes Newsmodule komplett ausblenden (Inhalt läuft jetzt über die neuen Leisten) --- */
    #newsmodule {
        display: none !important;
    }

    /* --- Fixierte Actionbar (Hamburger + Schnelllinks) --- */
             .mobile-actionbar {
        display: flex;
        position: static;
        align-items: center;
        gap: 10px;
        background: #a65d2d;
        padding: 6px 15px;
        border-top: 3px solid #fff;
        border-left: 3px solid #fff;
        border-right: 3px solid #fff;
    }

    .mobile-actionbar a,
    .mobile-actionbar .hamburger-btn {
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        font-family: 'Fjalla One', sans-serif;
    }

    .footer-nav {
        justify-content: center;
        gap: 15px;
    }

    .mobile-actionbar .hamburger-btn,
    .mobile-actionbar ul.quicklinks a {
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 14px;
    }

    .mobile-actionbar ul.quicklinks {
        display: flex;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
        flex: 1;
    }

    .mobile-actionbar ul.quicklinks li {
        padding: 0;
        flex: 1;
    }

    .mobile-actionbar ul.quicklinks a {
        background: rgba(255,255,255,0.15);
        border-radius: 6px;
        font-size: 0.8em;
        text-align: center;
    }

    /* --- Fixierte News-Leiste, kompakt --- */
           .mobile-newsbar {
        display: block;
        position: static;
        background: #a65d2d;
        padding: 4px 15px 6px 15px;
        border-bottom: 3px solid #fff;
        border-left: 3px solid #fff;
        border-right: 3px solid #fff;
    }

        .mobile-newsbar .NewsSummary {
        display: block;
        text-align: right;
        line-height: 1.2;
    }

       .mobile-newsbar .NewsSummaryPostdate {
        display: flex;
        justify-content: flex-end;
        align-items: baseline;
        gap: 6px;
    }

    .mobile-newsbar .NewsSummaryPostdate::after {
        content: "Aktuelle News";
        color: #fff;
        font-family: 'Fjalla One', sans-serif;
        text-transform: uppercase;
    }

    .mobile-newsbar .NewsSummary:nth-of-type(2) {
        display: none;
    }

    .mobile-newsbar .NewsSummaryPostdate,
    .mobile-newsbar .NewsSummaryHeader,
    .mobile-newsbar .NewsSummaryHeader a {
        color: #FFDA99;
    }

    .mobile-newsbar .NewsSummaryPostdate {
        white-space: nowrap;
        font-size: 0.75em;
        margin: 0;
    }

    .mobile-newsbar .NewsSummaryHeader {
        font-size: 0.85em;
        margin: 2px 0;
    }

    .mobile-newsbar .NewsSummaryMorelink {
        display: none;
    }

    .mobile-newsbar hr.divider-gold {
        margin: 4px 0;
    }

    .mobile-newsbar br {
        display: none;
    }

    .mobile-newsbar > p.text-center {
        display: none;
    }

    .mobile-newsbar {
        position: relative;
    }

    .mobile-partners-label {
        position: absolute;
        top: 2px;
        left: 15px;
        color: #fff;
        font-family: 'Fjalla One', sans-serif;
        text-transform: uppercase;
        font-size: 0.75em;
        margin: 0;
    }

       .mobile-newsbar {
        position: relative;
    }

        .mobile-newsbar {
        min-height: 52px;
    }

    .mobile-partners {
        position: absolute;
        top: 2px;
        left: 15px;
        display: flex;
        gap: 4px;
        margin: 0;
    }

    .mobile-partners img {
        width: 40px;
        height: 40px;
        margin-right: 5px;
    }



    /* --- Hamburger-Dropdown: schmal, dünner Rahmen, Fade-In, überdeckt Content --- */
          #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 140px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 55;
        border-radius: 0 0 10px 0;
        box-shadow: inset 0 0 0 4px rgba(255,255,255,0.9);
        padding: 15px 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    }

    #sidebar.menu-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* --- Content-Bereich --- */
      #content {
        order: 2;
        width: 100%;
        position: static;
        left: auto;
        top: auto;
        border-radius: 10px 10px 0 0;
        box-shadow: none;
        border-left: 3px solid rgba(255,255,255,0.9);
        border-right: 3px solid rgba(255,255,255,0.9);
    }

    #content .post {
        padding: 30px 20px;
    }

    #content .post,
    #content .post a {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    #content h1 {
        font-size: 1.6em;
    }

    /* --- Einzelbilder: gleiche Breite, zentriert bzw. links (Portraits) --- */
         .post img.rowborder {
        display: block;
        float: none !important;
        margin: 25px auto !important;
        width: 75% !important;
        height: auto !important;
    }

        .post img.bigportraitborder {
        display: block !important;
        float: left !important;
        margin: 0 20px 65px 0 !important;
        width: 45% !important;
        height: auto !important;
        aspect-ratio: 170 / 220 !important;
        object-fit: cover !important;
    }

      .post img.portraitborder {
        display: block !important;
        float: left !important;
        margin: 0 20px 25px 0 !important;
        width: 45% !important;
        height: auto !important;
        aspect-ratio: 170 / 220 !important;
        object-fit: cover !important;
    }

    .post img.mapborder {
        display: block;
        float: none !important;
        margin: 15px auto !important;
        max-width: 90% !important;
        width: auto !important;
        height: auto !important;
    }

    /* --- Dreier-Bildreihen (unverändert) --- */
    .photo-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        padding: 0 15px;
    }

    .photo-row img.rowborder {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        margin: 0 !important;
        box-sizing: border-box;
        float: none !important;
    }

    /* --- Float-Boxen (Info-Boxen, Kontakt) --- */
    .float-left-box,
    .float-right-narrow {
        float: none !important;
        width: 100% !important;
    }

    .float-left,
    .float-right {
        float: none !important;
    }

      img.float-left,
    img.float-right {
        float: none !important;
        width: 150px !important;
        aspect-ratio: 220 / 170;
        object-fit: cover;
        display: block;
        margin: 10px auto !important;
    }

    /* --- Datentabelle --- */
            .datagrid {
        overflow-x: auto;
        scrollbar-width: auto;
        scrollbar-color: #cccccc #a65d2d;
    }

    .datagrid::-webkit-scrollbar {
        height: 12px;
    }

    .datagrid::-webkit-scrollbar-track {
        background: #a65d2d;
    }

    .datagrid::-webkit-scrollbar-thumb {
        background: #cccccc;
        border-radius: 6px;
    }

    .datagrid table {
        width: auto;
        min-width: 500px;
    }

    .datagrid table td,
    .datagrid table th {
        white-space: nowrap;
    }

  
    /* --- Gallery-Modul Tabellenstruktur */
    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 12px;
        column-gap: 8px;
    }

        .gallery .img {
        width: 100%;
        margin: 0 !important;
        line-height: 0;
    }

    .gallery .img a {
        display: block;
        line-height: 0;
    }

    .gallery .img img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
        vertical-align: top;
    }

    .gallery .pagenavigation,
    .gallery .galleryclear,
    .gallery .pagelinks {
        grid-column: 1 / -1;
    }

    /* --- Navigation/Boxen allgemein --- */
    #sidebar a,
    #menu a {
        font-size: 1.1em;
    }

    .topbox,
    .box,
    .newsbox {
        padding: 20px;
    }

    /* --- Footer sticky (Test) + STRATO-Logo aus --- */
                    #footer {
        position: sticky !important;
        bottom: 0;
        left: auto !important;
        width: 100% !important;
        z-index: 48;
        background: #FFDA99;
        margin: 0;
        padding: 6px 15px;
        font-size: 0.8em;
        border-left: 3px solid rgba(255,255,255,0.9);
        border-right: 3px solid rgba(255,255,255,0.9);
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .footer-nav a {
        font-size: 0.85em;
    }

    #footer img.center {
        display: none;
    }

 h1[id], h2[id], [id] {
        scroll-margin-top: 220px;
    }

}
