/* ==========================================================
   GardenPortal – zentrale Design-Datei
   Version 2.18
   Manuell gepflegt – nicht von WWB überschreiben lassen
   ========================================================== */

html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
/*body { margin: 0; background: #F7F8F3; color: #444444; font-family: Arial, Helvetica, sans-serif; }*/
body { margin: 0; color: #444444; font-family: Arial, Helvetica, sans-serif; }

html
{
   scroll-padding-top: 90px;
}

/* Abschnittstrenner */
.gp-section-divider {
    width: min(657px, 100%);
    height: 4px;
    margin: 10px auto 30px;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(78,143,59,0), #4E8F3B, rgba(78,143,59,0));
}

/* Vereinskopf */
.gp-brand { display: flex; align-items: flex-start; gap: 22px; width: 100%; }
.gp-brand-logo { display: block; width: 220px; max-width: 100%; height: auto; margin-top: 5px; }
.gp-brand-text { margin-top: 45px; margin-left: -40px; }
.gp-brand-title { margin-top: -15px; margin-left: -5px; color: #315C3C; font-size: 34px; font-weight: 700; line-height: 1.05; }
.gp-brand-subtitle { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: #4E8F3B; font-size: 16px; white-space: nowrap; }
.gp-brand-line { display: inline-block; width: 88px; height: 2px; background: #FFD200; }
.gp-brand-since { display: inline-block; white-space: nowrap; }
.gp-leaf { width: 22px; height: 18px; flex: 0 0 auto; }

/* Hero */
.gp-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    height: 560px;
    margin: 0;
    overflow: hidden;
    transform: translateX(-50%);
    background-image: url('../images/hero-sommer.jpg');
    background-position: center;
    background-size: cover;
}
.gp-hero-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 40px;
    background: linear-gradient(rgba(0,0,0,.50), rgba(0,0,0,.30));
    text-align: center;
}
.gp-hero-content { width: 100%; max-width: 760px; margin: 0 auto; color: #FFF; text-align: center; }
.gp-hero-kicker { color: #D6E8C8; font-size: 17px; font-style: italic; letter-spacing: .5px; text-align: center; }
.gp-hero h1 { margin: 0 0 20px; color: #FFF; font-size: 42px; font-weight: 700; line-height: 1.15; text-align: center; text-shadow: 0 3px 8px rgba(0,0,0,.65); }
.gp-hero-claim { margin: 22px 0 18px; font-size: 22px; font-style: italic; font-weight: 500; text-align: center; }
.gp-hero-text { max-width: 660px; margin: 32px auto 22px; padding: 14px 22px; border-radius: 18px; background: rgba(0,0,0,.35); color: #FFF; font-size: 17px; line-height: 1.6; text-align: left; }
.gp-hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 10px; }
.gp-btn { display: inline-block; min-width: 170px; padding: 15px 36px; border-radius: 40px; color: #FFF !important; font-size: 18px !important; font-weight: 700; text-align: center; text-decoration: none; transition: all .25s ease; }
.gp-btn-primary { background: #4E8F3B !important; }
.gp-btn-secondary { border: 2px solid #FFF !important; background: rgba(255,255,255,.15) !important; }
.gp-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.25); }

/* News */
.news-card-text { margin: 20px 20px 20px 0; font-size: 15px; text-align: justify; }
.news-card img { float: right; max-width: 100%; height: auto; border-radius: 12px; background-color: transparent; transform: rotate(0deg); transition: all .3s ease; }
.highslide img { float: right; max-width: 100%; height: auto; margin: 0 0 12px 18px; border: 1px solid #D0D0D0; border-radius: 12px; cursor: pointer !important; transform: rotate(15deg); transition: all .3s ease; box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Wetter */
.weather-container { display: inline-block; max-width: 100%; margin-top: -10px; padding: 8px; border: 2px solid; border-color: #FFF #6F6F6F #6F6F6F #FFF; border-radius: 12px; background: linear-gradient(#FDFDFD,#ECECEC); box-shadow: 10px 12px 20px rgba(0,0,0,.30), inset 1px 1px 1px rgba(255,255,255,.90), inset -1px -1px 1px rgba(0,0,0,.10); transform: perspective(1200px) rotateY(-10deg) rotateZ(2deg); transition: all .35s ease; }
.weather-container:hover { transform: perspective(1200px) rotateY(3deg) rotateZ(0deg) scale(1.03); }
.weather-container iframe { display: block; max-width: 100%; border: 2px solid; border-color: #FFF #6F6F6F #6F6F6F #FFF; border-radius: 12px; background: linear-gradient(#FDFDFD,#ECECEC); }

/* Footer */
.gp-footer-links { width: 100%; }
.gp-footer-links h4 { margin: 0 0 14px; color: #FFF; font-size: 16px; font-style: normal !important; font-weight: 700; }
.gp-footer-links a { display: block; margin: 0 0 9px; color: #FFF; font-size: 13px; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.gp-footer-links a:hover { padding-left: 6px; color: #D6E8C8; }
.gp-footer-links p { display: block; margin: 0 0 9px; color: #FFF; font-size: 13px; }
.gp-copyright { color: #D6E8C8; font-size: 12px; font-weight: 400; line-height: 1.6; text-align: center !important; }
.gp-copyright a { color: #D6E8C8; text-decoration: none; transition: color .2s ease; }
.gp-copyright a:hover { color: #FFF; }

/* Counter */
.onlex_counter_wrap { display: flex; margin-top: -20px; margin-left: -8px; }
.onlex_counter { border: 5px solid; border-color: #F0F0F0 #D8D8D8 #B0B0B0 #E0E0E0; border-radius: 7px; background-color: #F7EEBC; }

/* Tabellen */
.gp-table-wrap, .gp-table, .gp-table *, .gp-table-wrap * { box-sizing: border-box; }
.gp-table-wrap { width: 100%; max-width: 100%; padding: 0 18px 18px 0; overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; }
.gp-table { width: calc(100% - 2px); max-width: 100%; min-width: 0; border: 1px solid #DEE2E6; border-radius: 15px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #FFF; color: #444; font-size: 15px; table-layout: fixed; box-shadow: 1px 2px 14px #D5D9D0; }
.gp-table th { padding: 14px 16px; background: #315C3C; color: #FFF; font-weight: 700; text-align: left; }
.gp-table td { padding: 13px 16px; border-bottom: 1px solid #DEE2E6; }
.gp-table tbody tr:nth-child(even) { background: #F7F8F3; }
.gp-table tbody tr:hover { background: #D6E8C8; }
.gp-table tbody tr:last-child td { border-bottom: none; }
.gp-table a { color: #4E8F3B; font-weight: 700; text-decoration: none; }
.gp-table a:hover { text-decoration: underline; }
#HTML_GP_Table { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; }

#LG_erw_Vorstand_Cont_Table { 
	width: 60% !important; 
	max-width: 100% !important; 
	height: auto !important;  
	margin-left: auto !important; 
	margin-right: auto !important; 
	margin-top:30px !Important; 
	margin-bottom:50px !Important;
}

/* Bild im LayoutGrid */
#wb_Image1 { overflow: hidden !important; border: 3px solid #DEE2E6; border-radius: 18px !important; box-shadow: 4px 3px 10px #000; }
#Image1 { display: block !important; max-width: 100%; height: auto; border-radius: 18px !important; }

/* Bild im Kontakt-Hero formatieren */
#wb_Kontakt_Image1
{
   display: flex !important;
   justify-content: center !important; /* horizontal */
   align-items: center !important;     /* vertikal */

   width: 100% !important;
   height: 100% !important;
   overflow: hidden !important;
}

#Kontakt_Image1
{
   width: auto !important;
   height: 190px !important;
   max-width: 100% !important;
   object-fit: contain !important;

   border: 3px solid #DEE2E6 !important;
   border-radius: 18px !important;
   box-shadow: 4px 3px 10px #000 !important;
   margin-top:12px !important;
}

/* Bild im Wasserverbrauch-Hero formatieren */
#wb_Hero_Image1,
#wb_Hero_Image2
{
   display: flex !important;
   justify-content: center !important; /* horizontal */
   align-items: center !important;     /* vertikal */

   width: 100% !important;
   height: 100% !important;
   overflow: hidden !important;
}

#Hero_Image1,
#Hero_Image2
{
   width: auto !important;
   height: 160px !important;
   max-width: 100% !important;
   object-fit: contain !important;

   border: 3px solid #DEE2E6 !important;
   border-radius: 18px !important;
   box-shadow: 8px 8px 10px #000000 !important;
   margin-top:12px !important;
   margin-bottom:12px !important;
}

/* Die lupe, wenn man über das Bild fährt funktioniert nun bei allen Bildern */
.sgv-image-zoomable {
  cursor: zoom-in !important;
}

/* Smartphone / Tablet */
@media (max-width: 800px) {
    body { overflow-x: hidden; }
    .gp-section-divider { width: 100%; margin: 10px auto 24px; }
    .gp-brand { align-items: center; justify-content: center; gap: 10px; padding: 8px 0; }
    .gp-brand-logo { width: 96px; margin-top: 0; flex: 0 0 auto; }
    .gp-brand-text { min-width: 0; margin: 0; }
    .gp-brand-title { margin: 0; font-size: clamp(24px,7vw,34px); line-height: 1.05; }
    .gp-brand-subtitle { gap: 6px; margin-top: 12px; font-size: 13px; }
    .gp-brand-line { width: 42px; }
    .gp-leaf { width: 16px; height: 14px; }

    .gp-hero { left: 0; width: 100%; height: auto; min-height: 560px; transform: none; background-position: center; }
    .gp-hero-overlay { width: 100%; min-height: 560px; padding: 30px 18px; text-align: center; }
    .gp-hero-content { width: 100%; max-width: 760px; margin: 0 auto; padding: 0; text-align: center; }
    .gp-hero-kicker { font-size: 16px; line-height: 1.35; text-align: center; }
    .gp-hero h1 { font-size: clamp(32px,9vw,42px); line-height: 1.15; text-align: center; }
    .gp-hero-claim { font-size: clamp(19px,5vw,22px); line-height: 1.3; text-align: center; }
    .gp-hero-text { width: 100%; max-width: 660px; margin-right: auto; margin-left: auto; padding: 14px 16px; font-size: 16px; text-align: left; }

    .news-card-text { margin: 16px 0; text-align: left; }
    .news-card img, .highslide img { float: none; display: block; max-width: 100%; margin: 12px auto; transform: none; }
    .weather-container { display: block; width: fit-content; max-width: calc(100% - 16px); margin: 0 auto; transform: none; }
    .weather-container:hover { transform: none; }
    .weather-container iframe { width: 250px; max-width: 100%; }

    .gp-footer-links { margin-bottom: 24px; }
    .gp-footer-links h4, .gp-footer-links a, .gp-footer-links p { text-align: left; }
    .gp-copyright { padding: 0 8px; }
    .onlex_counter_wrap { justify-content: flex-start; margin: 10px 0 0; }

    .gp-table-wrap { padding: 0 0 18px; overflow: visible; }
    .gp-table { width: 100%; min-width: 0; border: none; background: transparent; box-shadow: none; }
    .gp-table thead { display: none; }
    .gp-table, .gp-table tbody, .gp-table tr, .gp-table td { display: block; width: 100%; }
    .gp-table tr { margin-bottom: 16px; overflow: hidden; border: 1px solid #DEE2E6; border-radius: 15px; background: #FFF; box-shadow: 1px 2px 14px #D5D9D0; }
    .gp-table td { padding: 10px 16px 12px; border-bottom: 1px solid #DEE2E6; }
    .gp-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #315C3C; font-weight: 700; }
    .gp-table td:last-child { border-bottom: none; }

    #wb_LG_Brand [id^="Html"],
    #wb_LG_Hero [id^="Html"],
    #wb_LG_Footer [id^="Html"],
    #wb_LG_Copyright [id^="Html"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    #CardRepeater1 { flex-direction: column !important; }
    #CardRepeater1 > [id^="wb_Card"] { flex-basis: 100% !important; width: 100% !important; max-width: 100% !important; margin: 0 0 16px !important; }
    #LG_Footer > .row > [class^="col-"] { width: 100% !important; padding-bottom: 10px; }
}

@media (max-width: 480px) {
    .gp-brand { gap: 8px; }
    .gp-brand-logo { width: 82px; }
    .gp-brand-title { font-size: 28px; }
    .gp-brand-subtitle { font-size: 12px; }
    .gp-brand-line { width: 30px; }
    .gp-leaf { display: none; }
    .gp-hero-overlay { padding: 24px 14px; }
    .gp-hero-text { padding: 12px 14px; }
}


/* ==========================================================
   Korrektur Satzung / Informationen & Downloads
   WWB verwendet auf der Satzungsseite versehentlich "Downlag"
   statt "Download".
   ========================================================== */

/* Abstand zwischen Hero und folgendem LayoutGrid vollständig entfernen */
#wb_LG_Info_und_Download_Hero,
#wb_LG_Info_und_Downlag_Hero {
    margin-bottom: 0 !important;
}

/* Der von WWB erzeugte obere Tabellenabstand verursacht die sichtbare Lücke */
#wb_LG_InfoDownTable {
    margin-top: 0 !important;
}

/* Innenabstand unten im Hero, damit die Bilder nicht am Rand kleben */
#LG_Info_und_Download_Hero,
#LG_Info_und_Downlag_Hero {
    padding-bottom: 18px !important;
}

/* Bilder auf beiden Seiten erfassen */
#wb_LG_Info_und_Download_Hero #wb_Image1,
#wb_LG_Info_und_Download_Hero #wb_Image2,
#wb_LG_Info_und_Downlag_Hero #wb_Image1,
#wb_LG_Info_und_Downlag_Hero #wb_Image2 {
    overflow: hidden !important;
    border: 3px solid #DEE2E6;
    border-radius: 18px !important;
    box-shadow: 4px 3px 10px rgba(0,0,0,.55);
}

#wb_LG_Info_und_Download_Hero #Image1,
#wb_LG_Info_und_Download_Hero #Image2,
#wb_LG_Info_und_Downlag_Hero #Image1,
#wb_LG_Info_und_Downlag_Hero #Image2 {
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px !important;
}

@media (max-width: 800px) {
    #LG_Info_und_Download_Hero,
    #LG_Info_und_Downlag_Hero {
        padding-bottom: 14px !important;
    }
}

/* ==========================================================
   Info_und_Download: transparente Hero-Bilder ohne Zusatzrahmen
   ========================================================== */
#wb_LG_Info_und_Download_Hero #wb_Image1,
#wb_LG_Info_und_Download_Hero #wb_Image2 {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#wb_LG_Info_und_Download_Hero #Image1,
#wb_LG_Info_und_Download_Hero #Image2 {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ==========================================================
   Korrektur Vereinskopf / LG_Brand
   ========================================================== */

/* Das HTML-Objekt ist nur 455 px breit:
   Logo und Schriftzug müssen darin sicher nebeneinander passen. */
.gp-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 455px;
    overflow: visible;
}

.gp-brand-logo {
    display: block;
    flex: 0 0 112px;
    width: 112px;
    max-width: 112px;
    height: auto;
    margin-top: 8px;
}

.gp-brand-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 8px 0 0 0;
}

.gp-brand-title {
    margin: 0;
    color: #315C3C;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.04;
    text-align: left;
}

/* Gleich lange Linien und beide Blattsymbole */
.gp-brand-subtitle {
    display: grid;
    grid-template-columns: 20px minmax(28px, 1fr) auto minmax(28px, 1fr) 20px;
    align-items: center;
    column-gap: 8px;
    width: 100%;
    margin-top: 17px;
    color: #4E8F3B;
    font-size: 16px;
    white-space: nowrap;
}

.gp-brand-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #FFD200;
}

.gp-brand-since {
    display: block;
    white-space: nowrap;
    text-align: center;
}

.gp-leaf {
    display: block !important;
    width: 20px;
    height: 16px;
}

#CardRepeaterIntern {
	width: 90% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Hover-Effekt für Texteinträge der internen Cards */
/* Nur Einträge mit Link bekommen Hover-Verhalten */
#CardRepeaterIntern .CardIntern [id*="-card-item"]:has(a) {
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    border-radius: 8px;
    cursor: pointer;
}

/* Hover nur wenn ein Link vorhanden ist */
#CardRepeaterIntern .CardIntern [id*="-card-item"]:has(a):hover {
    background-color: rgba(157, 206, 58, 0.35);
    transform: translateX(5px);
    box-shadow: 2px 3px 8px rgba(0,0,0,0.20);
}

/* Smartphone */
@media (max-width: 767px) {
  #CardRepeaterIntern > :nth-child(n+2) {
    display: none !important;
  }
}

#CardRepeaterIntern .CardIntern [id*="-card-item"]:has(a) a {
    color: inherit;
    text-decoration: none;
}

/* Card-Einträge OHNE Link durchstreichen
#CardRepeaterIntern .CardIntern [id*="-card-item"]:not(:has(a)) {
    text-decoration: line-through;
} */

@media (max-width: 800px) {
    .gp-brand {
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 8px 0;
    }

    .gp-brand-logo {
        flex: 0 0 82px;
        width: 82px;
        max-width: 82px;
        margin-top: 0;
    }

    .gp-brand-text {
        flex: 1 1 auto;
        max-width: 330px;
        margin: 0;
    }

    .gp-brand-title {
        margin: 0;
        font-size: clamp(25px, 7vw, 34px);
        line-height: 1.03;
        text-align: left;
    }

    .gp-brand-subtitle {
        grid-template-columns: 16px minmax(24px, 1fr) auto minmax(24px, 1fr) 16px;
        column-gap: 6px;
        margin-top: 12px;
        font-size: 13px;
    }

    .gp-leaf {
        display: block !important;
        width: 16px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .gp-brand {
        gap: 8px;
    }

    .gp-brand-logo {
        flex-basis: 70px;
        width: 70px;
        max-width: 70px;
    }

    .gp-brand-title {
        font-size: clamp(24px, 7.2vw, 30px);
    }

    .gp-brand-subtitle {
        grid-template-columns: 14px minmax(20px, 1fr) auto minmax(20px, 1fr) 14px;
        column-gap: 5px;
        font-size: 12px;
    }

    .gp-leaf {
        display: block !important;
        width: 14px;
        height: 12px;
    }
}

/* ==========================================================
   Info_und_Download: responsive Tabellen
   Nur Table1 bis Table3 werden erfasst.
   ========================================================== */

#Table1,
#Table2,
#Table3 {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

/* Alle Tabellenzellen dürfen innerhalb ihrer Spalte umbrechen */
#Table1 td,
#Table2 td,
#Table3 td {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Dokumentenspalte */
#Table1 tr:not(:first-child) > td:first-child,
#Table2 tr:not(:first-child) > td:first-child,
#Table3 tr:not(:first-child) > td:first-child {
    width: 68% !important;
}

/* PDF-Spalte */
#Table1 tr:not(:first-child) > td:nth-child(2),
#Table2 tr:not(:first-child) > td:nth-child(2),
#Table3 tr:not(:first-child) > td:nth-child(2) {
    width: 12% !important;
    white-space: nowrap !important;
    text-align: center;
}

/* Online-Spalte */
#Table1 tr:not(:first-child) > td:nth-child(3),
#Table2 tr:not(:first-child) > td:nth-child(3),
#Table3 tr:not(:first-child) > td:nth-child(3) {
    width: 20% !important;
    white-space: nowrap !important;
    text-align: center;
}

/* Smartphone: Aktionsspalten etwas verbreitern */
@media (max-width: 800px) {
    #Table1 tr:not(:first-child) > td:first-child,
    #Table2 tr:not(:first-child) > td:first-child,
    #Table3 tr:not(:first-child) > td:first-child {
        width: 72% !important;
    }

    #Table1 tr:not(:first-child) > td:nth-child(2),
    #Table2 tr:not(:first-child) > td:nth-child(2),
    #Table3 tr:not(:first-child) > td:nth-child(2) {
        width: 12% !important;
    }

    #Table1 tr:not(:first-child) > td:nth-child(3),
    #Table2 tr:not(:first-child) > td:nth-child(3),
    #Table3 tr:not(:first-child) > td:nth-child(3) {
        width: 16% !important;
    }

    #Table1 td,
    #Table2 td,
    #Table3 td {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

/* ==========================================================
   Bilder der ersten Vorsitzenden immer gleich darstellen im Layout-Grid
   ========================================================== */
#Accordion2-collapse3 img.Vorstaende {
    width: 100px !important;
    height: 133px !important;
    object-fit: cover !important;
    max-width: 100% !important;
    border-radius: 10px !important;
	cursor: zoom-in !important;
	/* Image perspektivisch kippen */
	transform: perspective(600px) rotateX(-8deg) rotateY(15deg) skewx(8deg) !important;	
}

/* ==========================================================
   Vorsitzende: Text vertikal zum Bild zentrieren
   ========================================================== */

#Accordion2-collapse3 [id$="_Grid"] > .row {
    display: flex !important;
    align-items: stretch !important;
}

#Accordion2-collapse3 [id$="_Grid"] > .row > .col-1,
#Accordion2-collapse3 [id$="_Grid"] > .row > .col-2 {
    float: none !important;
}

#Accordion2-collapse3 [id$="_Grid"] > .row > .col-2 {
    display: flex !important;
    align-items: center !important;
}

#Accordion2-collapse3 [id^="wb_"][id$="_Text"] {
    width: 100% !important;
}

/* ==========================================================
   GARDENPORTAL NAVIGATION – ZENTRALE FASSUNG 2.18
   WWB-Kompaktmenü mit maximal drei Ebenen
   Voraussetzung: ResponsiveMenu1 Breakpoint = 9999 px
   ========================================================== */

/* Navigation über dem nachfolgenden Seiteninhalt halten. */
#wb_LG_Navigation {
    position: relative !important;
    overflow: visible !important;
    z-index: 10000 !important;
}

#LG_Navigation,
#LG_Navigation > .row,
#LG_Navigation > .row > .col-1 {
    position: relative !important;
    overflow: visible !important;
}

#wb_ResponsiveMenu1 {
    position: relative !important;
    overflow: visible !important;
    z-index: 10001 !important;
}

#wb_LG_Hero {
    position: relative !important;
    z-index: 1 !important;
    background-image: url("../images/metallische_Oberflaeche gruen_glossy.webp") !important;
    background-position: center top !important;	
	border-width: 0px  !important;
	background-repeat: no-repeat  !important;
	background-size: cover   !important;

}

/* Generelle Einstellungen für die Card5 im Hero */
#Card5-card-item0
{
   color: #000000 !important;
}

#wb_Card5
{
   border: 2px solid #848787 !important;
   border-radius: 15px !important;
   box-shadow: 8px 8px 10px #494D4D !important;
}

@media all and (max-width: 9999px) {
    /* WWB-Affix deaktivieren: geöffnete Untermenüs bleiben im Dokumentfluss. */
    #wb_ResponsiveMenu1.affix {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
    }

    #wb_LG_Navigation,
    #LG_Navigation,
    #LG_Navigation > .row,
    #LG_Navigation > .row > .col-1,
    #wb_ResponsiveMenu1,
    #ResponsiveMenu1,
    #wb_ResponsiveMenu1 ul {
        overflow: visible !important;
    }

    #ResponsiveMenu1 {
        width: 100% !important;
        height: auto !important;
        min-height: 69px !important;
    }

    /* Alle drei Ebenen bleiben im normalen Dokumentfluss. */
    #wb_ResponsiveMenu1 ul,
    #wb_ResponsiveMenu1 ul ul,
    #wb_ResponsiveMenu1 ul ul ul {
        position: static !important;
        top: auto !important;
        left: 0 !important;
        right: auto !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #wb_ResponsiveMenu1 ul li,
    #wb_ResponsiveMenu1 ul ul li,
    #wb_ResponsiveMenu1 ul ul ul li {
        position: relative !important;
        top: auto !important;
        left: 0 !important;
        right: auto !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #wb_ResponsiveMenu1 ul li > a,
    #wb_ResponsiveMenu1 ul li > label.toggle {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        background-repeat: repeat !important;
        background-position: center center !important;
        background-size: auto !important;
        transition: filter .18s ease, color .18s ease !important;
    }

    /* Menütitel und EBENE 1 – Hauptmenü: hellgrau. */
    #ResponsiveMenu1-title,
    #wb_ResponsiveMenu1 > ul > li > a,
    #wb_ResponsiveMenu1 > ul > li > label.toggle {
        background-color: #DEE2E6 !important;
        background-image: url('../images/Jahresbalken_hellgrau.webp') !important;
        color: #000000 !important;
        filter: none;
    }

	/* Hamburger-Menükopf – abgerundete Ecken */
	#ResponsiveMenu1-title {
		border-radius: 15px !important;
	}

	/* Menüeinträge aller drei Ebenen */
	#wb_ResponsiveMenu1 ul li > a,
	#wb_ResponsiveMenu1 ul li > label.toggle {
		border-radius: 10px !important;
	}

    /* EBENE 2: gold/gelb glossy. */
    #wb_ResponsiveMenu1 > ul > li > ul > li > a,
    #wb_ResponsiveMenu1 > ul > li > ul > li > label.toggle {
        background-color: #D6DB04 !important;
        background-image: url('../images/Jahresbalken_gold_gelb_glossy.webp') !important;
        color: #000000 !important;
        filter: none;
    }

    /* EBENE 3: grün 90 Grad. */
    #wb_ResponsiveMenu1 > ul > li > ul > li > ul > li > a,
    #wb_ResponsiveMenu1 > ul > li > ul > li > ul > li > label.toggle {
        background-color: #8FB895 !important;
        background-image: url('../images/Jahresbalken_gruen_90degree.webp') !important;
        color: #000000 !important;
        filter: none;
    }

    /* Einheitlicher Hover für alle drei Ebenen und den Menütitel. */
    #ResponsiveMenu1-title:hover,
    #wb_ResponsiveMenu1 > ul > li > a:hover,
    #wb_ResponsiveMenu1 > ul > li > label.toggle:hover,
    #wb_ResponsiveMenu1 > ul > li > ul > li > a:hover,
    #wb_ResponsiveMenu1 > ul > li > ul > li > label.toggle:hover,
    #wb_ResponsiveMenu1 > ul > li > ul > li > ul > li > a:hover,
    #wb_ResponsiveMenu1 > ul > li > ul > li > ul > li > label.toggle:hover {
        background-color: #315C3C !important;
        background-image: url('../images/Jahresbalken_gruen_315C3C.webp') !important;
        color: #FFFFFF !important;
        filter: brightness(1.90);
    }

    /* WWB-Checkboxmechanik: nur die direkt zugehörige Kindebene öffnen. */
    #wb_ResponsiveMenu1 [id^="ResponsiveMenu1-submenu"]:checked + ul {
        display: block !important;
        position: static !important;
    }

    .gp-menu-scrollbar,
    .gp-menu-scrollthumb {
        display: none !important;
    }
}

/* Auf großen Bildschirmen bleibt das Kompaktmenü zentriert. */
@media all and (min-width: 769px) and (max-width: 9999px) {
    #wb_ResponsiveMenu1 {
        width: min(400px, calc(100% - 32px)) !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #ResponsiveMenu1 {
        width: 100% !important;
        max-width: 600px !important;
    }
}

@media all and (max-width: 768px) {
    #wb_ResponsiveMenu1,
    #ResponsiveMenu1 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================
   EBENE 1 – Hamburger und Pfeile
   Nur Hauptebene; Untermenüs bleiben unverändert.
   ========================================================== */

/* Hamburger: drei Balken schwarz */
#ResponsiveMenu1-icon > span {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

/* Pfeile NUR Ebene 1 schwarz */
#wb_ResponsiveMenu1 > ul > li > label.toggle > .arrow-down,
#wb_ResponsiveMenu1 > ul > li > a > .arrow-down {
	border-top-color: #000000 !important;
}

/* Pfeile NUR Ebene 1 beim Hover weiß */
#wb_ResponsiveMenu1 > ul > li > label.toggle:hover > .arrow-down,
#wb_ResponsiveMenu1 > ul > li > a:hover > .arrow-down {
	border-top-color: #FFFFFF !important;
}

/* Hamburger beim Hover des Menükopfes weiß */
#ResponsiveMenu1-title:hover #ResponsiveMenu1-icon > span {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* ==========================================================
   HINWEIS FÜR BILDVERGRÖSSERUNG
   Steuerung der Anzeige erfolgt über gp_document.js
   ========================================================== */

#gp-image-zoom-hint {
    position: fixed;
    z-index: 30000;

    max-width: calc(100vw - 24px);
    padding: 7px 12px;

    color: #ffffff;
    background: rgba(0, 0, 0, 0.80);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    white-space: pre-line;

    border-radius: 6px;

    transform: translateX(-50%);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

#gp-image-zoom-hint.gp-visible {
    opacity: 1;
    visibility: visible;
}

/* WWB-Container über die gesamte Grid-Spalte */
#wb_Vorstaende_Head {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
}

/* eigentliches Bild */
#Vorstaende_Head {
    display: block !important;
    width: 1000px !important;
    max-width: 100% !important;
    height: auto !important;
}
/* Registerbutton des Unteraccordions verkleinern und den Rand neu zeichnen */
/* Chronik – nur Registerköpfe von Accordion2 */

#wb_LG_Chronik_Grid #Accordion2 .accordion-header {
    width: 40% !important;
    margin-right: 0 !important;
}

/* Register 1 – Die Anfangsposition für Register 1 festlegen */
#wb_LG_Chronik_Grid #Accordion2 > .accordion-item:nth-child(1) > .accordion-header {
    margin-left: 2% !important;
}

/* Register 2 – Die Anfangsposition für Register 2 festlegen */
#wb_LG_Chronik_Grid #Accordion2 > .accordion-item:nth-child(2) > .accordion-header {
    margin-left: 8% !important;
}

/* Register 3 – Die Anfangsposition für Register 3 festlegen */
#wb_LG_Chronik_Grid #Accordion2 > .accordion-item:nth-child(3) > .accordion-header {
    margin-left: 14% !important;
}

/* Chronik – Accordion2: grauen Hintergrund außerhalb
   der verkleinerten Register entfernen */
#wb_LG_Chronik_Grid #Accordion1 #Accordion2 > .accordion-item {
    border-left: none !important;
    border-right: none !important;
	border: 2px solid #000000 !important;
	/*border-color: transparent !important;*/
}

/* Chronik – farbige Registerbuttons mit Rahmen */
#wb_LG_Chronik_Grid #Accordion1 #Accordion2
.accordion-header .accordion-title > a {
    border: 2px solid #000000 !important;
    border-radius: 8px !important;
}

/* ==========================================================
   KONVERTER-DOKUMENTE – zentrale Darstellung
   ========================================================== */

/* Äußerer Dokument-/Textbereich */
.sgv-document
{
    width: var(--sgv-doc-width, 99%) !important;
    margin: var(--sgv-doc-margin, 0 auto) !important;

    /* Grundfläche unter der Textur */
    background: var(
        --sgv-doc-background,
        rgba(255, 255, 255, 0.35)
    ) !important;

    /* Rahmen */
    border: var(
        --sgv-doc-border,
        1px solid rgba(222, 226, 230, 0.9)
    ) !important;

    border-radius: var(--sgv-doc-radius, 18px) !important;
    padding: var(--sgv-doc-padding, 28px 32px) !important;

    /* Schatten */
    box-shadow: var(
        --sgv-doc-shadow,
        1px 2px 14px rgba(0, 0, 0, 0.12)
    ) !important;

    backdrop-filter: blur(var(--sgv-doc-blur, 3px));
    -webkit-backdrop-filter: blur(var(--sgv-doc-blur, 3px));

    position: relative;
    overflow: hidden;
}


/* Halbtransparente Hintergrundtextur */
.sgv-document::before
{
    content: "";
    position: absolute;
    inset: 0;

    background-image: var(
        --sgv-doc-bgimage,
        url('../images/metallische_Oberflaeche hellgrau.webp')
    );

    background-repeat: var(--sgv-doc-bgrepeat, round);
    background-position: var(--sgv-doc-bgposition, center);

    opacity: var(--sgv-doc-bgopacity, 0.55);

    pointer-events: none;
    z-index: 0;
}


/* Gesamten Dokumentinhalt über die Textur legen */
.sgv-document > *
{
    position: relative;
    z-index: 1;
}

/* ==========================================================
   JAHRES-/ABSCHNITTSBALKEN – zentrale Darstellung
   ========================================================== */

.sgv-document .sgv-chronik-jahr.sgv-style-chronik-jahr,
#Accordion1 .sgv-document .sgv-chronik-jahr.sgv-style-chronik-jahr
{
    display: block !important;

    width: var(--sgv-jahr-width, 60%) !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: var(--sgv-jahr-margin, 26px 0 14px 32px) !important;
    padding: var(--sgv-jahr-padding, 2px 5px) !important;

    border-width: var(--sgv-jahr-border-width, 1px) !important;
    border-style: var(--sgv-jahr-border-style, solid) !important;
    border-color: var(--sgv-jahr-border-color, #000000) !important;

    border-radius:
        var(--sgv-jahr-radius, 0 18px 18px 0) !important;

    background-color:
        var(--sgv-jahr-bgcolor, #315C3C) !important;

    background-image:
        var(
            --sgv-jahr-bgimage,
            url('../images/metallische_Oberflaeche gold_gelb.webp')
        ) !important;

    background-repeat:
        var(--sgv-jahr-bgrepeat, repeat) !important;

    background-position:
        var(--sgv-jahr-bgposition, left top) !important;

    color: var(--sgv-jahr-color, #FFFFFF) !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: var(--sgv-jahr-fontsize, 20px) !important;
    line-height: var(--sgv-jahr-lineheight, 1.2) !important;
    font-weight: var(--sgv-jahr-fontweight, 700) !important;

    text-align: left !important;

    text-indent: 0 !important;

    box-shadow: var(--sgv-jahr-shadow, none) !important;
}

/* Word-Unterstreichung der Jahresbalken sicher überschreiben */
.sgv-document .sgv-chronik-jahr.sgv-style-chronik-jahr,
#Accordion1 .sgv-document .sgv-chronik-jahr.sgv-style-chronik-jahr
{
    text-decoration: var(--sgv-jahr-text-decoration, none) !important;
}

/* ==========================================================
   KONVERTER – Smartphone
   ========================================================== */

@media (max-width:700px)
{
    /* Dokumentbereich */
    [class^="sgv-document-"]:has(> .sgv-document-content)
    {
        width: var(--sgv-doc-mobile-width, 96%) !important;
    }

    /* Jahres-/Abschnittsbalken */
    .sgv-chronik-jahr
    {
        width: var(--sgv-jahr-mobile-width, 38%) !important;

        /* technische Vorgaben */
        min-width: 0 !important;
        max-width: none !important;

        margin-left:
            var(--sgv-jahr-mobile-margin-left, 12px) !important;

        padding:
            var(--sgv-jahr-mobile-padding, 2px 5px) !important;

        font-size:
            var(--sgv-jahr-mobile-fontsize, 18px) !important;
    }
}

/* ==========================================================
   KONVERTER-DOKUMENT – WWB HTML-Container
   ========================================================== */

#wb_LG_Cont [id^="Html"]:has(.sgv-document)
{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}


/* ==========================================================
   KONVERTER-DOKUMENT – WWB HTML-Container
   ========================================================== */

[id^="wb_LG_Cont"]:has(.sgv-document) [id^="Html"]:has(.sgv-document)
{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}


/* ==========================================================
   OPTIONALER SEITENHINTERGRUND
   ========================================================== */

[id^="wb_LG_Cont"]:has(.sgv-document)
{
    position: relative !important;
    overflow: hidden !important;
}


/* Hintergrundebene */
[id^="wb_LG_Cont"]:has(.sgv-document)::before
{
    content: "";
    position: absolute;

    inset: var(--sgv-page-bg-inset, 0px);

    background-image: var(--sgv-page-bgimage, none);
    background-position: var(--sgv-page-bgposition, center top);
    background-repeat: var(--sgv-page-bgrepeat, no-repeat);
    background-size: var(--sgv-page-bgsize, 100% auto);

    filter: blur(var(--sgv-page-bgblur, 0px));
    opacity: var(--sgv-page-bgopacity, 1);

    z-index: 0;
    pointer-events: none;
}


/* Inhalt über den Hintergrund legen */
[id^="wb_LG_Cont"]:has(.sgv-document) > [id^="LG_Cont"]
{
    position: relative !important;
    z-index: 1;
}

/* ==========================================================
   KONVERTER-DOKUMENTE – rechter Sicherheitsabstand
   ========================================================== */

.sgv-document .sgv-document-content
{
    padding-right: 45px !important;
}

/* ==========================================================
   BUTTON "ZUM DOKUMENTANFANG"
   Ausrichtung entsprechend dem normalen Dokumenteinzug
   ========================================================== */

.sgv-document .sgv-back-to-top,
#Accordion1 .sgv-document .sgv-back-to-top
{
    margin-left: 32px !important;
    margin-right: 0 !important;
}

/* ==========================================================
   KONVERTER – SHINY LINK-BUTTONS
   ========================================================== */

.sgv-document .sgv-link-buttons
{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;

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

    clear: both !important;
}


.sgv-document .sgv-link-button
{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: var(--sgv-btn-width, 300px) !important;
    max-width: 100% !important;
    min-height: var(--sgv-btn-height, 35px) !important;

    padding: 5px 12px !important;

    border:
        1px solid var(--sgv-btn-dark, #315C3C) !important;

    border-radius:
        var(--sgv-btn-radius, 12px) !important;

    color:
        var(--sgv-btn-text, #000000) !important;

    font:
        700 14px/1.2 Arial, Helvetica, sans-serif !important;

    text-align: center !important;
    text-decoration: none !important;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.50) 0%,
            rgba(255,255,255,.18) 8%,
            rgba(0,0,0,.10) 48%,
            rgba(255,255,255,.20) 90%,
            rgba(0,0,0,.18) 100%
        ),
        var(--sgv-btn-color, #8FB895) !important;

    box-shadow:
        0 1px 0 rgba(255,255,255,.40) inset,
        0 2px 6px var(--sgv-btn-shadow, rgba(0,0,0,.50)),
        0 10px rgba(0,0,0,.05) inset !important;

    cursor: pointer !important;

    transition:
        color .15s ease-in-out,
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out,
        transform .15s ease-in-out !important;
}

/* =========================================================
   Shiny-Linkbuttons – auch für manuelle WWB-HTML-Objekte
   ========================================================= */

.sgv-link-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    width: 100%;
    font-size: 16px;
}

.sgv-link-button {
    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    width: 300px;
    min-height: 35px;

    padding: 7px 16px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;

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

    background-image: url('../images/Jahresbalken_hellgrau.webp');
	/*background:
        linear-gradient(
            to bottom,
            #6AA957 0%,
            #4E8F3B 48%,
            #315C3C 100%
        );*/

    border: 3px solid #315C3C;
    border-radius: 12px;

    box-shadow:
        8px 8px 10px rgba(0,0,0,.5),
        inset 0 1px 0 rgba(255,255,255,.35);

    cursor: pointer;

    transition:
        box-shadow .2s ease,
        transform .2s ease,
        filter .2s ease;
}

.sgv-link-button:hover,
.sgv-link-button:focus {
    color: #000000 !important;
    text-decoration: none !important;

	background-image: url('../images/Jahresbalken_gold_gelb_glossy.webp');
    box-shadow:
        0 0 8px #EDE218,
        0 0 16px rgba(237,226,24,.55),
        1px 2px 6px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.4);

    filter: brightness(1.08);
}

.sgv-link-button:active {
    transform: translateY(1px);
}

@media (max-width: 700px) {
    .sgv-link-button {
        width: min(300px, 100%);
    }
}

.sgv-document .sgv-link-button:hover,
.sgv-document .sgv-link-button:focus-visible
{
    color:
        var(--sgv-btn-hover-text, #FFFFFF) !important;

    border-color:
        var(--sgv-btn-glow, #D8C805) !important;

    outline: none !important;

    box-shadow:
        0 1px 0 rgba(255,255,255,.35) inset,
        0 2px 6px var(--sgv-btn-shadow, rgba(0,0,0,.50)),
        0 0 5px 2px var(--sgv-btn-glow-soft, rgba(216,200,5,.79)),
        0 0 10px 2px var(--sgv-btn-glow-soft, rgba(216,200,5,.79)) inset !important;

    transform: translateY(-1px) !important;
}


.sgv-document .sgv-link-button:active
{
    transform: translateY(0) !important;
}


@media (max-width:700px)
{
    .sgv-document .sgv-link-buttons
    {
        margin-left: 22px !important;
        margin-right: 22px !important;
    }

    .sgv-document .sgv-link-button
    {
        width: 100% !important;
        max-width: var(--sgv-btn-width, 300px) !important;
    }
}

/* ==========================================================
   KONVERTER-DOKUMENTE – WWB SHINY BUTTONS
   ========================================================== */

.sgv-document button.LG_InformationDownload_Link
{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: var(--sgv-btn-width, 300px) !important;
    max-width: 100% !important;
    min-height: var(--sgv-btn-height, 35px) !important;

    padding: 5px 12px !important;

    border:
        1px solid var(--sgv-btn-dark, #315C3C) !important;

    border-radius:
        var(--sgv-btn-radius, 12px) !important;

    color:
        var(--sgv-btn-text, #000000) !important;

    font:
        700 14px/1.2 Arial, Helvetica, sans-serif !important;

    text-align: center !important;
    text-decoration: none !important;

    /* WWB Extension1_background gezielt überschreiben */
    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.50) 0%,
            rgba(255,255,255,.18) 8%,
            rgba(0,0,0,.10) 48%,
            rgba(255,255,255,.20) 90%,
            rgba(0,0,0,.18) 100%
        ),
        var(--sgv-btn-color, #8FB895) !important;

    background-image:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.50) 0%,
            rgba(255,255,255,.18) 8%,
            rgba(0,0,0,.10) 48%,
            rgba(255,255,255,.20) 90%,
            rgba(0,0,0,.18) 100%
        ) !important;

    box-shadow:
        0 1px 0 rgba(255,255,255,.40) inset,
        0 2px 6px var(--sgv-btn-shadow, rgba(0,0,0,.50)),
        0 10px rgba(0,0,0,.05) inset !important;

    cursor: pointer !important;

    transition:
        color .15s ease-in-out,
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out,
        transform .15s ease-in-out !important;
}


.sgv-document button.LG_InformationDownload_Link:hover,
.sgv-document button.LG_InformationDownload_Link:focus-visible
{
    color:
        var(--sgv-btn-hover-text, #FFFFFF) !important;

    border-color:
        var(--sgv-btn-glow, #D8C805) !important;

    outline: none !important;

    box-shadow:
        0 1px 0 rgba(255,255,255,.35) inset,
        0 2px 6px var(--sgv-btn-shadow, rgba(0,0,0,.50)),
        0 0 5px 2px var(--sgv-btn-glow-soft, rgba(216,200,5,.79)),
        0 0 10px 2px var(--sgv-btn-glow-soft, rgba(216,200,5,.79)) inset !important;

    transform: translateY(-1px) !important;
}


.sgv-document button.LG_InformationDownload_Link:active
{
    transform: translateY(0) !important;
}

[id^="Accordion"] .accordion-body {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

[id^="Accordion"] .accordion-header {
    border-bottom: 3px solid #000000 !important;
}

*/ einstellen und Transparenz des Hintergrundbildes in der Chronik für das Vorstände-Register */
#wb_Head_Grid {
    position: relative !important;
    isolation: isolate;
    
    background-color: rgba(255, 255, 255, 0.25) !important;
    background-image: none !important;
    
    overflow: hidden;
}

#wb_Head_Grid::before {
    content: "";
    position: absolute;
    inset: 0;
    
    background-image: url('../images/Hintergrundbild_dunkelgrau_Seidenstoff.webp');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    
    opacity: 0.95;
    
    z-index: -1;
    pointer-events: none;
}

/* Der Close-Button wirkt nur für die Seite "Chronik" im Accordion2 im LayoutGrid "Head_Grid" */
.gp-vorsitzende-close {
    position: fixed;
    left: 5px;
    bottom: 22px;
    z-index: 10000;

    display: none;

    padding: 10px 16px;
    border: 1px solid #315c3c;
    border-radius: 15px;

    color: #fff;
    background: linear-gradient(180deg,#5da94a,#315c3c);

    cursor: pointer;
    box-shadow: 1px 2px 8px rgba(0,0,0,.28);
}

.gp-vorsitzende-close.gp-vorsitzende-visible {
    display: block !important;
}

/* Vorsitzendenbilder auf 50 % begrenzen */
#Head_Grid [id^="wb_"][id$="_Image"] {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start;
}

#Head_Grid img.Vorstaende {
    width: 50% !important;
    height: auto !important;
	margin-right: 30px !important;
}

/* Landesverband-Logo in LG_Cont_Wertermittlung (Karte3 der Seite wertermittlung.html*/
#LG_Cont_Wertermittlung #Card3-card-item2 {
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
    cursor: pointer;
}

#LG_Cont_Wertermittlung #Card3-card-item2:hover {
    transform: translateY(-4px) scale(1.035);

    filter:
        brightness(1.70)
        saturate(1.12)
        drop-shadow(0 5px 6px rgba(0,0,0,0.35))
        drop-shadow(0 0 8px rgba(237,226,24,0.60));
}

/* Landwirtschaftskammer-Schleswig-Holstein-Logo in LG_Cont_FB_Pflanzenschutz (Bild in html-Objekt*/
#LG_Cont_lwksh {
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
    cursor: pointer;
}

#LG_Cont_lwksh:hover {
    transform: translateY(-4px) scale(1.035);

    filter:
        brightness(1.70)
        saturate(1.12)
        drop-shadow(0 5px 6px rgba(0,0,0,0.35))
        drop-shadow(0 0 8px rgba(237,226,24,0.60));
}

/* =========================================================
  eigene Einstellungen für den Legenden-Container unterhalb 
  unterhalb von Tabellen
   ========================================================= */
.table-legende
{
	border: 3px solid #000000 !important;
	border-radius:18px !important;
	width:calc(100% -48) !important;
	margin:20px 0px 20px 48px;
	padding:0px 40px 0px 20px !important;
	padding:20px 0px 20px 0px !important;
	box-shadow:18px 18px 12px rgba(0, 0, 0, 0.5);
	 background: rgba(179, 179, 179,0.5);
	color:#FFFFFF !important;
}



/* ==========================================================
   INFO & DOWNLOAD – WWB-TABELLEN RESPONSIVE
   Zentral in GardenPortal, damit WWB-Neupublikationen die
   Korrektur der Seitentabelle nicht wieder überschreiben.
   ========================================================== */
#wb_LG_Cont_InfoDownTable .WWB_Table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
    box-sizing: border-box;
}

#wb_LG_Cont_InfoDownTable .WWB_Table td,
#wb_LG_Cont_InfoDownTable .WWB_Table th {
    box-sizing: border-box;
    min-width: 0 !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

#wb_LG_Cont_InfoDownTable .WWB_Table td p,
#wb_LG_Cont_InfoDownTable .WWB_Table th p,
#wb_LG_Cont_InfoDownTable .WWB_Table td span,
#wb_LG_Cont_InfoDownTable .WWB_Table th span,
#wb_LG_Cont_InfoDownTable .WWB_Table td a,
#wb_LG_Cont_InfoDownTable .WWB_Table th a {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

/* Desktop: viel Platz für den Dokumenttitel, ausreichend Platz
   für die beiden Aktionsspalten. */
#wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(1) { width: 62% !important; }
#wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(2) { width: 14% !important; }
#wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(3) { width: 24% !important; }

@media all and (max-width: 768px) {
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(1) { width: 52% !important; }
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(2) { width: 16% !important; }
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(3) { width: 32% !important; }

    /* WWB schreibt die Kopftexte inline mit 21 px. Auf schmalen
       Displays etwas reduzieren, damit sie sicher in der Zelle bleiben. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td,
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td span {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }
}

/* ==========================================================
   INFO & DOWNLOAD – Smartphone-Haertung der Tabellenkoepfe
   Version 2.05
   ========================================================== */
@media all and (max-width: 768px) {
    #wb_LG_Cont_InfoDownTable .WWB_Table {
        -webkit-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }

    /* Auf dem Smartphone der Aktionsspalte mehr Raum geben. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(1) {
        width: 48% !important;
    }
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(2) {
        width: 17% !important;
    }
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(3) {
        width: 35% !important;
    }

    /* WWB setzt in der zweiten Tabellenzeile Schriftgroessen inline.
       Diese Regeln greifen daher direkt auf p/span/a mit !important. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td,
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td p,
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td span,
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td a {
        font-size: 15px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Letzte Kopfzelle: Inhalt darf garantiert nur innerhalb der
       Zelle umbrechen und keine horizontale Breite erzwingen. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3),
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3) p {
        overflow: hidden !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3) span,
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3) a {
        display: inline !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
}

/* ==========================================================
   INFO & DOWNLOAD – mobile Kopfzeile der 3. Spalte
   Version 2.06
   WWB-Tabellen: letzte Spaltenueberschrift darf die Zelle
   nicht horizontal aufweiten.
   ========================================================== */
@media all and (max-width: 768px) {
    /* Die in 2.04/2.05 gesetzten mobilen Spaltenbreiten neutralisieren.
       Der Browser darf die drei WWB-Spalten wieder aus der Tabelle
       selbst berechnen. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(1),
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(2),
    #wb_LG_Cont_InfoDownTable .WWB_Table tr > :nth-child(3) {
        width: auto !important;
    }

    #wb_LG_Cont_InfoDownTable .WWB_Table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    /* Kopfzelle der letzten Spalte selbst begrenzen. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3) {
        width: 30% !important;
        min-width: 0 !important;
        max-width: 30% !important;
        overflow: hidden !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
        box-sizing: border-box !important;
    }

    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3) p {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: normal !important;
        overflow: hidden !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* WWB legt Symbol, Leerraum und Text in einzelne SPANs.
       Blockdarstellung verhindert, dass ihre gemeinsame Mindestbreite
       die Tabellenzelle auf dem Smartphone verbreitert. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3) span {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Leeres/NBSP-Hilfsspan von WWB im Tabellenkopf ausblenden. */
    #wb_LG_Cont_InfoDownTable .WWB_Table tr:nth-child(2) td:nth-child(3) span:first-child {
        display: none !important;
    }
}

/* Startseite – Trennlinie vor den Card-Buttons */
#Card9-card-item2,
#Card13-card-item2,
#Card14-card-item2 {
    margin-top: auto !important;
    margin-bottom: 20px !important;
}

/* Startseite – Gartentipps: Card-Inhalt vertikal verteilen */
#Card9-card-body,
#Card13-card-body,
#Card14-card-body {
    display: flex;
    flex-direction: column;
}

/* Startseite – Button Gartentipps */
#Card9-card-item3,
#Card13-card-item3,
#Card14-card-item3 {
    height: 40px !important;
    min-height: 40px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
	
    /* Button nach unten schieben */
    margin-bottom: 30px !important;
	align-self: center;	
    border: 2px solid #000000;
    border-radius: 15px;

    background: linear-gradient(to top, #4E8F3B 0%, #FFFFFF 100%);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

#Card9-card-item3 a,
#Card13-card-item3 a,
#Card14-card-item3 a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    padding: 0 16px;
    box-sizing: border-box;

    color: #000000;
    text-decoration: none;
}

#Card13-card-item1 {
    padding: 0 16px;
}

/* Hover wie beim bisherigen Card-Button */
#Card9-card-item3:hover,
#Card13-card-item3:hover,
#Card14-card-item3:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* Startseite – Termine */
.gp-index-termin {
    grid-template-columns: 1fr;
    padding: 10px 20px;
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
}

.gp-index-termin .gp-index-date {
    display: none;
}

.gp-index-termin > div:nth-child(2) {
    text-align: left;
    font-size: 16px;
}

/* CardRepeater2 – grüner Metallhintergrund */
#CardRepeater2 .CardStyle_Aktuelles {
    background-image:
        linear-gradient(
            rgba(255,255,255,0.20),
            rgba(255,255,255,0.20)
        ),
        url("../images/metallische_Oberflaeche gruen_glossy.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

#CardRepeater2 [id$="-overlay"] {
    background: rgba(255,255,255,0.20) !important;
}

/* CardRepeater2 – Card selbst bleibt fest */
#CardRepeater2 .CardStyle_Aktuelles {
    overflow: hidden !important;
}

/* Nur der Inhalt der Card scrollt */
#CardRepeater2 .CardStyle_Aktuelles > [id$="-card-body"] {
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

#wb_Card8 {
    background-image:
        linear-gradient(
            rgba(255,255,255,0.40),
            rgba(255,255,255,0.60)
        ),
        url("../images/metallische_Oberflaeche gruen_glossy.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
	box-shadow: 13px 13px 10px rgba(0, 0, 0, 0.5) !important;
}





/* ==========================================================
   GARDENPORTAL NAVIGATION 2.18
   Eigene Fixierung nur bei geschlossenem Hauptmenü.
   WWB-Affix bleibt deaktiviert.
   ========================================================== */

@media all and (max-width: 9999px) {
    #wb_ResponsiveMenu1.gp-nav-fixed {
        position: fixed !important;
        top: 0 !important;
        left: 50% !important;
        right: auto !important;
        z-index: 10001 !important;
        transform: translateX(-50%) !important;
    }

    /* Beim Öffnen niemals fixiert lassen. */
    #wb_ResponsiveMenu1.gp-menu-open {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
}

