:root{--hc-black: black;--hc-black-bis: hsl(0, 0%, 7%);--hc-black-ter: hsl(0, 0%, 14%);--hc-grey-darker: hsl(0, 0%, 21%);--hc-grey-dark: hsl(0, 0%, 29%);--hc-grey: hsl(0, 0%, 48%);--hc-white: white}.wcag-square,.wcag-size{transform:scale(0.4)}.wcag-size:visited{color:var(--hc-black)}.contrast-size-switcher button{background:none;border:none;padding:0;display:flex}.contrast-size-switcher button:focus{background:none}.high-contrast a,.high-contrast a:visited{text-decoration:underline}.high-contrast .hc-invert:not(.hc-greyscale),.high-contrast .hc-invert-pictures:not(.hc-greyscale-pictures) img,.high-contrast .hc-invert-pictures:not(.hc-greyscale-pictures) svg{filter:invert(1)}.high-contrast .hc-greyscale:not(.hc-invert),.high-contrast .hc-greyscale-pictures:not(.hc-invert-pictures) img,.high-contrast .hc-greyscale-pictures:not(.hc-invert-pictures) svg{filter:grayscale(1)}.high-contrast .hc-invert.hc-greyscale,.high-contrast .hc-invert-pictures.hc-greyscale-pictures img,.high-contrast .hc-invert-pictures.hc-greyscale-pictures svg{filter:invert(1) grayscale(1)}.high-contrast .hc-bg-black{background:var(--hc-black) !important}.high-contrast .hc-bg-black,.high-contrast .hc-bg-black *{color:var(--hc-white) !important}.high-contrast .hc-bg-black-bis{background:var(--hc-black-bis) !important}.high-contrast .hc-bg-black-bis,.high-contrast .hc-bg-black-bis *{color:var(--hc-white) !important}.high-contrast .hc-bg-black-ter{background:var(--hc-black-ter) !important}.high-contrast .hc-bg-black-ter,.high-contrast .hc-bg-black-ter *{color:var(--hc-white) !important}.high-contrast .hc-bg-grey-darker{background:var(--hc-grey-darker) !important}.high-contrast .hc-bg-grey-darker,.high-contrast .hc-bg-grey-darker *{color:var(--hc-white) !important}.high-contrast .hc-bg-grey-dark{background:var(--hc-grey-dark) !important}.high-contrast .hc-bg-grey-dark,.high-contrast .hc-bg-grey-dark *{color:var(--hc-white) !important}.high-contrast .hc-bg-grey{background:var(--hc-grey) !important}.high-contrast .hc-bg-grey,.high-contrast .hc-bg-grey *{color:var(--hc-white) !important}.high-contrast .hc-bg-white{background:var(--hc-white) !important}.high-contrast .hc-bg-white,.high-contrast .hc-bg-white *{color:var(--hc-black) !important}.high-contrast .hc-text-white,.high-contrast .hc-text-white *{color:var(--hc-white) !important}.high-contrast .hc-hover-text-white:hover,.high-contrast .hc-hover-text-white:hover *,.high-contrast .hc-hover-text-white:focus,.high-contrast .hc-hover-text-white:focus *{color:var(--hc-white) !important}.high-contrast .hc-text-black,.high-contrast .hc-text-black *{color:var(--hc-black) !important}.high-contrast .hc-hover-text-black:hover,.high-contrast .hc-hover-text-black:hover *,.high-contrast .hc-hover-text-black:focus,.high-contrast .hc-hover-text-black:focus *{color:var(--hc-black) !important}.high-contrast .hc-hover-bg-black:hover,.high-contrast .hc-hover-bg-black:focus,.high-contrast .hc-hover-bg-black:focus-visible{background:var(--hc-black) !important}.high-contrast .hc-hover-bg-black-bis:hover,.high-contrast .hc-hover-bg-black-bis:focus,.high-contrast .hc-hover-bg-black-bis:focus-visible{background:var(--hc-black-bis) !important}.high-contrast .hc-hover-bg-black-ter:hover,.high-contrast .hc-hover-bg-black-ter:focus,.high-contrast .hc-hover-bg-black-ter:focus-visible{background:var(--hc-black-ter) !important}.high-contrast .hc-hover-bg-grey-darker:hover,.high-contrast .hc-hover-bg-grey-darker:focus,.high-contrast .hc-hover-bg-grey-darker:focus-visible{background:var(--hc-grey-darker) !important}.high-contrast .hc-hover-bg-grey-dark:hover,.high-contrast .hc-hover-bg-grey-dark:focus,.high-contrast .hc-hover-bg-grey-dark:focus-visible{background:var(--hc-grey-dark) !important}.high-contrast .hc-hover-bg-grey:hover,.high-contrast .hc-hover-bg-grey:focus,.high-contrast .hc-hover-bg-grey:focus-visible{background:var(--hc-grey) !important}.high-contrast .hc-hover-bg-white:hover,.high-contrast .hc-hover-bg-white:focus,.high-contrast .hc-hover-bg-white:focus-visible{background:var(--hc-white) !important}.high-contrast .wcag-square,.high-contrast .wcag-size,.high-contrast .wcag-size:visited{color:#fff;fill:#fff}.high-contrast .text-decoration-none,.high-contrast .text-decoration-none a{text-decoration:none}.first-headline.block,.subheadline{font-size:0.7em;font-weight:300;display:block}.first-headline:not(.block){font-weight:300}.first-headline:not(.block)+.main-headline{font-weight:700}
.glightbox-container{width:100%;height:100%;position:fixed;top:0;left:0;z-index:999999!important;overflow:hidden;-ms-touch-action:none;touch-action:none;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;outline:0}.glightbox-container.inactive{display:none}.glightbox-container .gcontainer{position:relative;width:100%;height:100%;z-index:9999;overflow:hidden}.glightbox-container .gslider{-webkit-transition:-webkit-transform .4s ease;transition:-webkit-transform .4s ease;transition:transform .4s ease;transition:transform .4s ease,-webkit-transform .4s ease;height:100%;left:0;top:0;width:100%;position:relative;overflow:hidden;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.glightbox-container .gslide{width:100%;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0}.glightbox-container .gslide.current{opacity:1;z-index:99999;position:relative}.glightbox-container .gslide.prev{opacity:1;z-index:9999}.glightbox-container .gslide-inner-content{width:100%}.glightbox-container .ginner-container{position:relative;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:100%;margin:auto;height:100vh}.glightbox-container .ginner-container.gvideo-container{width:100%}.glightbox-container .ginner-container.desc-bottom,.glightbox-container .ginner-container.desc-top{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.glightbox-container .ginner-container.desc-left,.glightbox-container .ginner-container.desc-right{max-width:100%!important}.gslide iframe,.gslide video{outline:0!important;border:none;min-height:165px;-webkit-overflow-scrolling:touch;-ms-touch-action:auto;touch-action:auto}.gslide:not(.current){pointer-events:none}.gslide-image{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.gslide-image img{max-height:100vh;display:block;padding:0;float:none;outline:0;border:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:100vw;width:auto;height:auto;-o-object-fit:cover;object-fit:cover;-ms-touch-action:none;touch-action:none;margin:auto;min-width:200px}.desc-bottom .gslide-image img,.desc-top .gslide-image img{width:auto}.desc-left .gslide-image img,.desc-right .gslide-image img{width:auto;max-width:100%}.gslide-image img.zoomable{position:relative}.gslide-image img.dragging{cursor:-webkit-grabbing!important;cursor:grabbing!important;-webkit-transition:none;transition:none}.gslide-video{position:relative;max-width:100vh;width:100%!important}.gslide-video .plyr__poster-enabled.plyr--loading .plyr__poster{display:none}.gslide-video .gvideo-wrapper{width:100%;margin:auto}.gslide-video::before{content:'';position:absolute;width:100%;height:100%;background:rgba(255,0,0,.34);display:none}.gslide-video.playing::before{display:none}.gslide-video.fullscreen{max-width:100%!important;min-width:100%;height:75vh}.gslide-video.fullscreen video{max-width:100%!important;width:100%!important}.gslide-inline{background:#fff;text-align:left;max-height:calc(100vh - 40px);overflow:auto;max-width:100%;margin:auto}.gslide-inline .ginlined-content{padding:20px;width:100%}.gslide-inline .dragging{cursor:-webkit-grabbing!important;cursor:grabbing!important;-webkit-transition:none;transition:none}.ginlined-content{overflow:auto;display:block!important;opacity:1}.gslide-external{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;background:#fff;padding:0;overflow:auto;max-height:75vh;height:100%}.gslide-media{display:-webkit-box;display:-ms-flexbox;display:flex;width:auto}.zoomed .gslide-media{-webkit-box-shadow:none!important;box-shadow:none!important}.desc-bottom .gslide-media,.desc-top .gslide-media{margin:0 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.gslide-description{position:relative;-webkit-box-flex:1;-ms-flex:1 0 100%;flex:1 0 100%}.gslide-description.description-left,.gslide-description.description-right{max-width:100%}.gslide-description.description-bottom,.gslide-description.description-top{margin:0 auto;width:100%}.gslide-description p{margin-bottom:12px}.gslide-description p:last-child{margin-bottom:0}.zoomed .gslide-description{display:none}.glightbox-button-hidden{display:none}.glightbox-mobile .glightbox-container .gslide-description{height:auto!important;width:100%;position:absolute;bottom:0;padding:19px 11px;max-width:100vw!important;-webkit-box-ordinal-group:3!important;-ms-flex-order:2!important;order:2!important;max-height:78vh;overflow:auto!important;background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0)),to(rgba(0,0,0,.75)));background:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,.75) 100%);-webkit-transition:opacity .3s linear;transition:opacity .3s linear;padding-bottom:50px}.glightbox-mobile .glightbox-container .gslide-title{color:#fff;font-size:1em}.glightbox-mobile .glightbox-container .gslide-desc{color:#a1a1a1}.glightbox-mobile .glightbox-container .gslide-desc a{color:#fff;font-weight:700}.glightbox-mobile .glightbox-container .gslide-desc *{color:inherit}.glightbox-mobile .glightbox-container .gslide-desc .desc-more{color:#fff;opacity:.4}.gdesc-open .gslide-media{-webkit-transition:opacity .5s ease;transition:opacity .5s ease;opacity:.4}.gdesc-open .gdesc-inner{padding-bottom:30px}.gdesc-closed .gslide-media{-webkit-transition:opacity .5s ease;transition:opacity .5s ease;opacity:1}.greset{-webkit-transition:all .3s ease;transition:all .3s ease}.gabsolute{position:absolute}.grelative{position:relative}.glightbox-desc{display:none!important}.glightbox-open{overflow:hidden}.gloader{height:25px;width:25px;-webkit-animation:lightboxLoader .8s infinite linear;animation:lightboxLoader .8s infinite linear;border:2px solid #fff;border-right-color:transparent;border-radius:50%;position:absolute;display:block;z-index:9999;left:0;right:0;margin:0 auto;top:47%}.goverlay{width:100%;height:calc(100vh + 1px);position:fixed;top:-1px;left:0;background:#000;will-change:opacity}.glightbox-mobile .goverlay{background:#000}.gclose,.gnext,.gprev{z-index:99999;cursor:pointer;width:26px;height:44px;border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.gclose svg,.gnext svg,.gprev svg{display:block;width:25px;height:auto;margin:0;padding:0}.gclose.disabled,.gnext.disabled,.gprev.disabled{opacity:.1}.gclose .garrow,.gnext .garrow,.gprev .garrow{stroke:#fff}.gbtn.focused{outline:2px solid #0f3d81}iframe.wait-autoplay{opacity:0}.glightbox-closing .gclose,.glightbox-closing .gnext,.glightbox-closing .gprev{opacity:0!important}.glightbox-clean .gslide-description{background:#fff}.glightbox-clean .gdesc-inner{padding:22px 20px}.glightbox-clean .gslide-title{font-size:1em;font-weight:400;font-family:arial;color:#000;margin-bottom:19px;line-height:1.4em}.glightbox-clean .gslide-desc{font-size:.86em;margin-bottom:0;font-family:arial;line-height:1.4em}.glightbox-clean .gslide-video{background:#000}.glightbox-clean .gclose,.glightbox-clean .gnext,.glightbox-clean .gprev{background-color:rgba(0,0,0,.75);border-radius:4px}.glightbox-clean .gclose path,.glightbox-clean .gnext path,.glightbox-clean .gprev path{fill:#fff}.glightbox-clean .gprev{position:absolute;top:-100%;left:30px;width:40px;height:50px}.glightbox-clean .gnext{position:absolute;top:-100%;right:30px;width:40px;height:50px}.glightbox-clean .gclose{width:35px;height:35px;top:15px;right:10px;position:absolute}.glightbox-clean .gclose svg{width:18px;height:auto}.glightbox-clean .gclose:hover{opacity:1}.gfadeIn{-webkit-animation:gfadeIn .5s ease;animation:gfadeIn .5s ease}.gfadeOut{-webkit-animation:gfadeOut .5s ease;animation:gfadeOut .5s ease}.gslideOutLeft{-webkit-animation:gslideOutLeft .3s ease;animation:gslideOutLeft .3s ease}.gslideInLeft{-webkit-animation:gslideInLeft .3s ease;animation:gslideInLeft .3s ease}.gslideOutRight{-webkit-animation:gslideOutRight .3s ease;animation:gslideOutRight .3s ease}.gslideInRight{-webkit-animation:gslideInRight .3s ease;animation:gslideInRight .3s ease}.gzoomIn{-webkit-animation:gzoomIn .5s ease;animation:gzoomIn .5s ease}.gzoomOut{-webkit-animation:gzoomOut .5s ease;animation:gzoomOut .5s ease}@-webkit-keyframes lightboxLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes lightboxLoader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes gfadeIn{from{opacity:0}to{opacity:1}}@keyframes gfadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes gfadeOut{from{opacity:1}to{opacity:0}}@keyframes gfadeOut{from{opacity:1}to{opacity:0}}@-webkit-keyframes gslideInLeft{from{opacity:0;-webkit-transform:translate3d(-60%,0,0);transform:translate3d(-60%,0,0)}to{visibility:visible;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}}@keyframes gslideInLeft{from{opacity:0;-webkit-transform:translate3d(-60%,0,0);transform:translate3d(-60%,0,0)}to{visibility:visible;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}}@-webkit-keyframes gslideOutLeft{from{opacity:1;visibility:visible;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-60%,0,0);transform:translate3d(-60%,0,0);opacity:0;visibility:hidden}}@keyframes gslideOutLeft{from{opacity:1;visibility:visible;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(-60%,0,0);transform:translate3d(-60%,0,0);opacity:0;visibility:hidden}}@-webkit-keyframes gslideInRight{from{opacity:0;visibility:visible;-webkit-transform:translate3d(60%,0,0);transform:translate3d(60%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}}@keyframes gslideInRight{from{opacity:0;visibility:visible;-webkit-transform:translate3d(60%,0,0);transform:translate3d(60%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}}@-webkit-keyframes gslideOutRight{from{opacity:1;visibility:visible;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(60%,0,0);transform:translate3d(60%,0,0);opacity:0}}@keyframes gslideOutRight{from{opacity:1;visibility:visible;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}to{-webkit-transform:translate3d(60%,0,0);transform:translate3d(60%,0,0);opacity:0}}@-webkit-keyframes gzoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:1}}@keyframes gzoomIn{from{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:1}}@-webkit-keyframes gzoomOut{from{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes gzoomOut{from{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@media (min-width:769px){.glightbox-container .ginner-container{width:auto;height:auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.glightbox-container .ginner-container.desc-top .gslide-description{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.glightbox-container .ginner-container.desc-top .gslide-image,.glightbox-container .ginner-container.desc-top .gslide-image img{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.glightbox-container .ginner-container.desc-left .gslide-description{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.glightbox-container .ginner-container.desc-left .gslide-image{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.gslide-image img{max-height:97vh;max-width:100%}.gslide-image img.zoomable{cursor:-webkit-zoom-in;cursor:zoom-in}.zoomed .gslide-image img.zoomable{cursor:-webkit-grab;cursor:grab}.gslide-inline{max-height:95vh}.gslide-external{max-height:100vh}.gslide-description.description-left,.gslide-description.description-right{max-width:275px}.glightbox-open{height:auto}.goverlay{background:rgba(0,0,0,.92)}.glightbox-clean .gslide-media{-webkit-box-shadow:1px 2px 9px 0 rgba(0,0,0,.65);box-shadow:1px 2px 9px 0 rgba(0,0,0,.65)}.glightbox-clean .description-left .gdesc-inner,.glightbox-clean .description-right .gdesc-inner{position:absolute;height:100%;overflow-y:auto}.glightbox-clean .gclose,.glightbox-clean .gnext,.glightbox-clean .gprev{background-color:rgba(0,0,0,.32)}.glightbox-clean .gclose:hover,.glightbox-clean .gnext:hover,.glightbox-clean .gprev:hover{background-color:rgba(0,0,0,.7)}.glightbox-clean .gprev{top:45%}.glightbox-clean .gnext{top:45%}}@media (min-width:992px){.glightbox-clean .gclose{opacity:.7;right:20px}}@media screen and (max-height:420px){.goverlay{background:#000}}
.kontakt-links{
     background-color: #166934;
     font-size: 80%;
     color: #ffffff;
}

/* Formular-Container & Basis-Layout */
.ce_form.block {
    margin: 0 auto;
    padding: 5px;
    background-color: #fcfcfc;
    border-radius: 8px;
    font-size: 80%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ce_form .formbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Widgets (Formular-Reihen) */
.ce_form .widget {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

/* Labels */
.ce_form label.label,
.ce_form legend.label {
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 2px;
    border: none;
    padding: 0;
}

.ce_form .mandatory span.mandatory {
    color: #d93838;
    margin-left: 3px;
}

/* Eingabefelder (Text, Email, Tel, Textarea) */
.ce_form input[type="text"],
.ce_form input[type="email"],
.ce_form input[type="tel"],
.ce_form textarea.textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

/* Icons-Integration für Telefon und E-Mail */
.ce_form .control.has-icons-left {
    position: relative;
}

.ce_form .control.has-icons-left input {
    padding-left: 36px;
}

.ce_form .control.has-icons-left .icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #777777;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fokus-Zustand für Felder */
.ce_form input:focus,
.ce_form textarea:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
    outline: none;
}

/* Textarea spezifisch */
.ce_form textarea.textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==========================================================================
   Checkboxen sauber untereinander
   ========================================================================== */
.ce_form .widget-checkbox .control {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.ce_form label.checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    font-weight: 400;
    color: #444444;
    cursor: pointer;
    line-height: 1.3;
}

.ce_form label.checkbox input[type="checkbox"] {
    margin: 3px 0 0 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ==========================================================================
   Captcha (Sicherheitsfrage)
   ========================================================================== */
.ce_form .widget-captcha {
    background-color: #f0f4f8;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #d0d7de;
}

.ce_form .widget-captcha label {
    font-weight: 600;
    margin-bottom: 8px;
}

.ce_form .captcha_text {
    display: inline-block;
    font-weight: bold;
    color: #24292f;
    margin-bottom: 10px;
}

.ce_form input.captcha {
    width: 80px;
    display: block;
    margin-bottom: 5px;
}

/* ==========================================================================
   Absendebutton (Submit)
   ========================================================================== */
.ce_form .widget-submit {
    margin-top: 10px;
}

.ce_form button.submit {
    width: 100%;
    padding: 12px 24px;
    font-size:100%;
    background-color: #166934;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.ce_form button.submit:hover {
    background-color: #0052a3;
}

.ce_form button.submit:active {
    transform: scale(0.99);
}

/* Barrierefreiheit: Screenreader Hilfsklasse */
.ce_form .invisible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* Haupt-Container der Box */
.content-werbebox {
    position: relative !important;
    background: #ffffff !important;
    padding: 30px 25px 25px 25px !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important; /* Wichtig für das schräge Eckenbanner */
    box-sizing: border-box !important;
}

/* 1. Überschrift / Textbereich oben */
.content-werbebox .text-content {
    margin-bottom: 20px !important;
    padding-right: 45px !important;
}

.content-werbebox .text-content h1,
.content-werbebox .text-content h2,
.content-werbebox .text-content h3,
.content-werbebox .text-content h4 {
    margin: 0 0 10px 0 !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    color: #333333 !important;
    font-weight: 600 !important;
}

.content-werbebox .text-content p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #666666 !important;
    line-height: 1.5 !important;
}

/* 2. Bildbereich mittig */
.content-werbebox .image-wrapper {
    margin-top: auto !important;
    margin-bottom: 25px !important;
    text-align: center !important;
    width: 100% !important;
}

.content-werbebox .image-wrapper a {
    display: block !important;
}

.content-werbebox .image-wrapper img,
.content-werbebox .image-wrapper picture {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* 3. Button / Link ganz unten */
.content-werbebox .link-wrapper {
    margin-top: auto !important;
    text-align: left !important;
}

.content-werbebox .btn-box {
    display: inline-block !important;
    background-color: #116c3e !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out !important;
    border: none !important;
}

.content-werbebox .btn-box:hover,
.content-werbebox .btn-box:focus {
    background-color: #0b4a2a !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 4. Schräges Eckenbanner */
.content-werbebox .corner-banner {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 120px !important;
    height: 120px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.content-werbebox .corner-banner span {
    position: absolute !important;
    display: block !important;
    width: 160px !important;
    padding: 6px 0 !important;
    background-color: #a3c2b2 !important;
    color: #116c3e !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    right: -40px !important;
    top: 28px !important;
    transform: rotate(45deg) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Alternative Banner-Positionen */
.content-werbebox .corner-banner.top_left {
    left: 0 !important;
    right: auto !important;
}
.content-werbebox .corner-banner.top_left span {
    left: -40px !important;
    right: auto !important;
    transform: rotate(-45deg) !important;
}

/* ==========================================================================
   CSS Grid-Layout für die Werbeboxen (Drei Spalten nebeneinander)
   ========================================================================== */

/* Der umschließende Container für deine Boxen */
.werbeboxen-grid {
    display: grid !important;
    /* Erstellt automatisch 3 gleich breite Spalten, wenn Platz da ist */
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    /* Abstand zwischen den Boxen (wie im Screenshot) */
    gap: 30px !important;
    width: 100% !important;
    margin: 0 auto !important;
    align-items: stretch !important; /* Zwingt alle Boxen auf exakt gleiche Höhe */
}

/* ==========================================================================
   Responsive Anpassungen für kleinere Bildschirme
   ========================================================================== */

/* Tablets (Unter 1024px Breite): Wechsel auf 2 Spalten */
@media (max-width: 1024px) {
    .werbeboxen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

/* Smartphones (Unter 768px Breite): Jede Box untereinander (1 Spalte) */
@media (max-width: 768px) {
    .werbeboxen-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
    }
}
/* ==========================================================================
   1. HERO CONTAINER BASE
   ========================================================================== */
.hero-header {
    position: relative;
    width: 100%;
    min-height: 85vh; /* F�llt 85% der Bildschirmh�he */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #111;
    box-sizing: border-box;
}

/* Hintergrund-Medien absolut positionieren */
.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrapper img,
.hero-image-wrapper video.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Erh�ht die Lesbarkeit der wei�en Schrift */
}

/* ==========================================================================
   2. REINES CSS GRID (H�lt die Spalten nah beieinander)
   ========================================================================== */
.hero-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1140px; /* Begrenzt die Breite auf gro�en Bildschirmen */
    margin: 0 auto;
    padding: 80px 24px;
    box-sizing: border-box;
    
    /* Native CSS-Grid Spalten */
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Linke Spalte etwas breiter als die rechte */
    gap: 40px; /* Geringer Abstand, damit sie nah beieinander stehen */
    align-items: center;
}

/* ==========================================================================
   3. LINKE SPALTE (Wei�er Text)
   ========================================================================== */
.hero-col-left {
    color: #ffffff;
    text-align: left;
     background: rgba(0, 0, 0, 0.4);
     padding: 20px;
     border-radius: 10px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.hero-col-left h1, 
.hero-col-left .hero-headline {
    font-size: calc(2rem + 1.6vw); /* Skaliert fl�ssig */
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.hero-col-left .hero-main-text p {
    font-size: calc(0.95rem + 0.1vw);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
}

/* Falls Sie Buttons �ber den Rich-Text-Editor links einbinden */
.hero-col-left .hero-main-text a {
    display: inline-block;
    padding: 12px 28px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 15px;
    margin-top: 10px;
    transition: all 0.25s ease-in-out;
}



/* ==========================================================================
   4. RECHTE SPALTE (Wei�e Card - "Mitmachportal")
   ========================================================================== */
.hero-col-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.hero-white-card {
    background: rgba(255, 255, 255, 0.3);
    color: #eee;
    border-radius: 10px; /* Abgerundete Ecken wie auf dem Bild */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    padding: 30px;
    width: 100%;
    max-width: 440px; /* Verhindert ein klobiges Breiterwerden der Box */
    box-sizing: border-box;
}

/* Erzwingt dunkle Schrift innerhalb der wei�en Box */
.hero-white-card h2,
.hero-white-card h3,
.hero-white-card h4,
.hero-white-card p,
.hero-white-card span,
.hero-white-card li {
    color: #000000 !important;
}

/* Optional: Bild oben in der Card (falls im Rich-Text-Editor eingef�gt) */
.hero-white-card img {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-top: -30px;
    margin-bottom: 20px;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   5. GLOSSY VIDEO BUTTON (Jetzt im passenden M�hne-Gr�n)
   ========================================================================== */
.hero-white-card .video-play-btn {
    margin-top: 25px;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.hero-white-card .video-play-btn .play-icon {
    width: 110px;  
    height: 70px;
    /* Glossy Verlauf von Hellgr�n zu M�hne-Dunkelgr�n */
    background: linear-gradient(180deg, #52b788 0%, #0c3c26 100%);
    border-radius: 15px; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #000000; /* Markanter schwarzer Rahmen */
    box-shadow: 0 5px 15px rgba(12, 60, 38, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.5);
    animation: oagVideoPulse 2.5s infinite;
    overflow: hidden;
}

/* Der wei�e Glanz-Reflex (obere H�lfte) */
.hero-white-card .video-play-btn .play-icon::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

/* Das Play-Dreieck */
.hero-white-card .video-play-btn .play-icon::after {
    content: '';
    display: block;
    width: 0; 
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Label unter dem Button */
.hero-white-card .video-play-btn .btn-label {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* Hover-Effekte (Wird beim Dr�berfahren dunkler und gl�nzender) */
.hero-white-card .video-play-btn:hover .play-icon {
    background: linear-gradient(180deg, #3f9b6c 0%, #062419 100%);
    transform: scale(1.06);
    animation: none; /* Stoppt das Pulsieren beim Hovern */
    box-shadow: 0 8px 20px rgba(12, 60, 38, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.7);
}

.hero-white-card .video-play-btn:hover .btn-label {
    color: #0c3c26 !important; /* Label wird beim Hovern dunkelgr�n */
}

/* Dezentes Pulsieren passend zum gr�nen Schatten */
@keyframes oagVideoPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(12, 60, 38, 0.5); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(12, 60, 38, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(12, 60, 38, 0); }
}

/* ==========================================================================
   6. RESPONSIVES VERHALTEN (Reines CSS-Fallback f�r Tablets & Handys)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-content-overlay {
        grid-template-columns: 1fr; /* Stapelt die beiden Spalten sauber untereinander */
        gap: 50px;
        text-align: center;
        padding: 80px 20px 40px 20px;
    }

    .hero-col-left {
        text-align: center;
    }

    .hero-col-left .hero-main-text a {
        margin: 10px 8px; /* Zentriert die Buttons auf Mobilger�ten */
    }

    .hero-col-right {
        justify-content: center; /* Zentriert die wei�e Card */
    }

    .hero-white-card {
        max-width: 500px; /* Verhindert extremes Strecken */
    }
}

@media (max-width: 480px) {
    .hero-white-card {
        padding: 20px;
    }
}

/* ============================================
   RSCE Hero Mhne
   ============================================ */

.rsce-hero-moehne{
    position:relative;
    /* Full-Bleed: Element durchbricht den Container und fllt die volle Viewport-Breite */
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    left:0;
    right:0;

    min-height:90vh;
    overflow:hidden;
    color:#fff;
    display:flex;
    align-items:center;
    isolation:isolate;
}

.rsce-hero-moehne__bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:0;
}

.rsce-hero-moehne__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:1;
}

.rsce-hero-moehne__inner{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:80px 32px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    align-items:center;
}

/* ---------- Textblock links ---------- */

.rsce-hero-moehne__text{
    max-width:640px;
}

.rsce-hero-moehne__kicker{
    margin:0 0 18px;
    color:#f5b237;
    font-size:14px;
    font-weight:700;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.rsce-hero-moehne__headline{
    margin:0 0 28px;
    font-size:clamp(2.5rem, 6vw, 5.5rem);
    line-height:1;
    font-weight:900;
    letter-spacing:-.02em;
    text-transform:uppercase;
    color:#fff;
}

.rsce-hero-moehne__headline-line{
    display:block;
}

.rsce-hero-moehne__subline{
    margin:0 0 32px;
    font-size:18px;
    line-height:1.5;
    color:rgba(255,255,255,.92);
    max-width:560px;
}

/* ---------- Buttons ---------- */

.rsce-hero-moehne__buttons{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.rsce-hero-moehne__btn{
    display:inline-block;
    padding:14px 28px;
    font-size:16px;
    font-weight:600;
    text-decoration:none;
    border-radius:6px;
    transition:transform .15s ease, background .15s ease, color .15s ease;
    border:2px solid transparent;
}

.rsce-hero-moehne__btn--primary{
    background:#2f8a4d;
    color:#fff;
    border-color:#2f8a4d;
}

.rsce-hero-moehne__btn--primary:hover{
    background:#256e3d;
    border-color:#256e3d;
    transform:translateY(-1px);
}

.rsce-hero-moehne__btn--outline{
    background:transparent;
    color:#fff;
    border-color:#fff;
}

.rsce-hero-moehne__btn--outline:hover{
    background:#fff;
    color:#1a1a1a;
}

/* ---------- Card rechts ---------- */

.rsce-hero-moehne__card{
    display:block;
    background:#fff;
    color:#222;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
    text-decoration:none;
    transition:transform .2s ease, box-shadow .2s ease;
    max-width:560px;
    justify-self:end;
    width:100%;
}

a.rsce-hero-moehne__card:hover{
    transform:translateY(-3px);
    box-shadow:0 26px 70px rgba(0,0,0,.45);
}

.rsce-hero-moehne__card-img{
    display:block;
    width:100%;
    height:300px;
    object-fit:cover;
}

.rsce-hero-moehne__card-body{
    padding:24px 28px 28px;
}

.rsce-hero-moehne__card-label{
    margin:0 0 10px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#444;
}

.rsce-hero-moehne__card-title{
    margin:0 0 12px;
    font-size:26px;
    line-height:1.2;
    font-weight:700;
    color:#2f8a4d;
}

.rsce-hero-moehne__card-text{
    margin:0;
    font-size:15px;
    line-height:1.55;
    color:#555;
}

/* ---------- Responsive ---------- */

@media (max-width:960px){
    .rsce-hero-moehne{
        min-height:auto;
    }
    .rsce-hero-moehne__inner{
        grid-template-columns:1fr;
        padding:60px 20px;
        gap:40px;
    }
    .rsce-hero-moehne__card{
        justify-self:stretch;
        max-width:none;
    }
    .rsce-hero-moehne__card-img{
        height:220px;
    }
}

@media (max-width:520px){
    .rsce-hero-moehne__buttons{
        flex-direction:column;
        align-items:stretch;
    }
    .rsce-hero-moehne__btn{
        text-align:center;
    }
}

/* Horizontalen Scroll verhindern (wegen 100vw Full-Bleed) */
html, body{
    overflow-x:hidden;
}


/* ==========================================================================
   1. DER WRAPPER (Vertikal mittig am Bildschirmrand fixiert)
   ========================================================================== */
.oag-acc-wrapper {
    position: fixed;
    top: 30%;
    transform: translateY(-30%);
    z-index: 9999999999;
    --panel-w: 300px; /* Breite des Menüs auf Desktop */
}

/* Positionierung über Backend-Auswahl */
.oag-acc-wrapper.is-right { 
    right: 20px; 
}
.oag-acc-wrapper.is-left { 
    left: 20px; 
}

/* ==========================================================================
   2. DER TRIGGER (Rollstuhl-Button)
   ========================================================================== */
.oag-acc-trigger {
    width: 56px;
    height: 56px;
    background: #0046ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.oag-acc-trigger:hover { 
    transform: scale(1.1); 
}

.oag-acc-icon A{
border: none;}

/* ==========================================================================
   3. DAS PANEL (Absolut zum Wrapper -> öffnet sich SEITLICH ins Bild)
   ========================================================================== */
.oag-acc-panel {
    position: absolute; 
    top: 50%;
    transform: translateY(-50%); /* Perfekt vertikal zum Button zentrieren */
    width: var(--panel-w);
    max-height: 90vh; /* Verhindert, dass das Menü oben/unten aus dem Screen ragt */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* Panel-Ausrichtung: Öffnet sich nach INNEN (Seitlich neben dem Button) */
.oag-acc-wrapper.is-right .oag-acc-panel { 
    right: 70px; /* 56px Button + 14px Abstand */
    left: auto;
}
.oag-acc-wrapper.is-left .oag-acc-panel { 
    left: 70px; /* 56px Button + 14px Abstand */
    right: auto;
}

/* ==========================================================================
   4. HEADER & BRANDING
   ========================================================================== */
.oag-acc-header {
    background: #f8f8f8;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.oag-acc-logo img {
    max-height: 25px;
    width: auto;
    display: block;
}
.oag-acc-title { 
    font-weight: 800; 
    font-size: 13px; 
    color: var(--oag-acc-btn); 
    text-transform: uppercase; 
}
.oag-acc-close { 
    background: none; 
    border: none; 
    font-size: 22px; 
    cursor: pointer; 
    color: #999; 
}

/* ==========================================================================
   5. GRID & FUNKTIONS-BUTTONS
   ========================================================================== */
.oag-acc-body { 
    padding: 15px; 
    overflow-y: auto; /* Macht den Inhalt scrollbar, falls der Screen zu klein ist */
    max-height: calc(90vh - 120px); /* Abzug für Header und Footer */
}
.oag-acc-desc { 
    font-size: 12px; 
    margin-bottom: 12px; 
    color: #666; 
    line-height: 1.4; 
}
.oag-acc-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 8px; 
    margin-bottom: 15px; 
}

.oag-acc-grid button {
    padding: 12px 5px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}
.oag-acc-grid button:hover { 
    border-color: var(--oag-acc-accent); 
    background: #fcfcfc; 
}
.oag-acc-grid .btn-icon { 
    font-size: 20px; 
}
.oag-acc-grid .btn-label { 
    font-size: 11px; 
    font-weight: 600; 
}

/* ==========================================================================
   6. RESET & FOOTER
   ========================================================================== */
.oag-acc-reset {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #eee;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}
.oag-acc-reset:hover { 
    background: #ddd; 
}

.oag-acc-footer { 
    margin-top: 15px;
    padding: 10px; 
    font-size:12px; 
    text-align: center; 
    background: #fafafa; 
    color: #000; 
    border-top: 1px solid #eee; 
    flex-shrink: 0;
}

/* ==========================================================================
   7. GLOBALE FILTER (Am HTML-Tag)
   ========================================================================== */
html.acc-contrast { filter: contrast(1.8) brightness(1.1) !important; }
html.acc-grayscale { filter: grayscale(1) !important; }
html.acc-invert { filter: invert(1) hue-rotate(180deg) !important; }
html.acc-invert img, html.acc-invert video, html.acc-invert .oag-acc-wrapper { filter: invert(1) hue-rotate(180deg) !important; }
html.acc-fontsize { font-size: 125% !important; }
html.acc-underline a { text-decoration: underline !important; font-weight: bold !important; }

/* ==========================================================================
   8. MOBIL-ANPASSUNG (Sorgt dafür, dass seitlich nichts übersteht)
   ========================================================================== */
@media (max-width: 450px) {


    .oag-acc-wrapper { 
        --panel-w: 250px; /* Schmaleres Menü für Handys */
        /* Rückt das Widget etwas näher an den Rand, um Platz zu sparen */
        display:none;
    }
    .oag-acc-wrapper.is-right { 
        right: 10px; 
    }
    .oag-acc-wrapper.is-left { 
        left: 10px; 
    }

    /* Button wird minimal kleiner (48px statt 56px) */
    .oag-acc-trigger {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .shortlinks a {
    background: var(--bulma-button-background-color);
    padding: 15px;
    margin: 10px 0;
    display: flex;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    pointer-events: auto;
    text-decoration: none;
    display: none;
}

    /* Panel rückt näher an den kleineren Button heran */
    .oag-acc-wrapper.is-right .oag-acc-panel { 
        right: 58px; /* 48px Button + 10px Abstand */
    }
    .oag-acc-wrapper.is-left .oag-acc-panel { 
        left: 58px; /* 48px Button + 10px Abstand */
    }
}

.mod_newsreader{
   display: block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
  font-size: 0.7rem;
  text-align: justify;
  hyphens: auto;
}

.mod_newsreader p{
    margin-bottom: 15px;
    
}

.mod_newsreader h1{
    font-size: 1.3em;
}
.mod_newsreader .info{
 font-weight: 100;
 display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.6rem;
  margin-top: 0.6rem;
}


.mod_newsreader h2{
    font-size: 1.1em;
}


.mod_newsreader img{
    display: block;
 /*   width: 100%;
 /*   height: auto; */
    padding:3px;
    border-radius: 8px;
    border: 1px solid #005a36;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    backface-visibility: hidden;
    box-shadow: 0 5px 15px rgba(0, 86, 135, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    
    
}
figcaption{
    padding:10px;
    margin: 10px 0 10px 0;
    font-style: italic;
    
}

/* Eventliste */ 

/* ----------------------------------------------------------------
   12. VERANSTALTUNGEN
   ---------------------------------------------------------------- */
.mod_article.events-section { 
  background: var(--bg2); 
  padding: 4.5rem 0; 
  border-bottom: 1px solid #e5e5e5; 
}

.events-section .inside { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 1.5rem; 
}

/* Container für das Grid (is-6-tablet / is-12-mobile Struktur) */
.mod_eventlist { 
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Event-Karte im Listen-Layout */
.event.layout_list {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform .2s, box-shadow .2s;
}

.event.layout_list:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(20,119,63,.14);
}

.event.layout_list .inside {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ort / Location Badge */
.event.layout_list .location {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5f5f5f;
  border: 1px solid #111111;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0;
}

/* Event-Titel (Überschrift) */
.event.layout_list h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green2);
  line-height: 1.25;
  margin-bottom: 1rem;
  max-width: 90%;
}

.event.layout_list h3 a {
  color: var(--green2);
  text-decoration: none;
}

.event.layout_list h3 a:hover {
  color: var(--green);
}

/* Teaser / Beschreibung */
.event.layout_list .ce_text {
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Der markante schwarze Trennstrich vor dem Datum */
.event.layout_list .ce_text::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #111111;
  margin: 1.5rem auto 0 auto;
}

/* Datum und Uhrzeit */
.event.layout_list .time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-style: italic;
  color: #111111;
  margin-bottom: 0;
}

.event.layout_list .time i {
  font-size: 1rem;
  color: #111111;
}

/* Responsives Verhalten für das Grid */
@media (min-width: 769px) {
  .event.layout_list.column.is-6-tablet {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .event.layout_list.column.is-12-mobile {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
  }
  
  .event.layout_list h3 {
    font-size: 1.35rem;
  }
}


/* ----------------------------------------------------------------
   DESIGN TOKENS    
}
   ---------------------------------------------------------------- */
:root {
  --bg:       #ffffff;
  --bg2:      #f5f5f5; 
  --card:     #ffffff;
  --line:     #e5e5e5;
  --green:    #14773f;
  --green2:   #0f6f39;
  --dark:     #111111;
  --gold:     #d89b1d;
  --gold2:    #efb233;
  --text:     #151515;
  --muted:    #5f5f5f;
  --border:   #e5e5e5;
  --radius:   10px;
  --shadow:   0 12px 35px rgba(0,0,0,.18);
}

/* ----------------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Globale Einstellungen für das Dokument */
html {
    font-size: 150%; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; 
    line-height: 1.5;
    color: #1a1a1a; /* Ein sehr dunkles Grau ist lesbarer als hartes Tiefschwarz (#000) */
}

/* Fließtext-Absätze */
p {
    margin-top: 0;
    margin-bottom: 1.25rem; /* Sauberer Abstand nach unten */
}

/* Überschriften-Hierarchie */
h1 {
    font-size: 2rem; /* Mobil-Größe */
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem; /* Mobil-Größe */
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

/* ----------------------------------------------------------------
   2. CONTAO SEITENSTRUKTUR
   ---------------------------------------------------------------- */
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-areas: "main left";
  gap: 2rem;
  flex: 1;
}

/* Startseite: kein Sidebar */
.layout-home #container {
  grid-template-columns: 1fr;
  grid-template-areas: "main";
  padding: 0;
  max-width: none;
}

#main { grid-area: main; min-width: 0; }
#main .inside { width: 100%; }
#left  { grid-area: left;  min-width: 0; }
#left .inside { width: 100%; }
#footer { margin-top: auto; }

/* ----------------------------------------------------------------
   3. HEADER
   ---------------------------------------------------------------- */
#header {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

#header .inside {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 2rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.site-logo img { height: 42px; width: auto; }

.site-logo__name {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
}

.site-logo__name span { color: var(--gold); }

.site-logo__claim {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Hauptnavigation */
.invisible{
 position: absolute;
 left: -10000px;}


#header .mod_navigation ul.level_1 {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

#header .mod_navigation ul.level_1 > li > a {
  display: block;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.7);
  border-radius: 4px;
  transition: color .18s, background .18s;
}

#header .mod_navigation ul.level_1 > li > a:hover,
#header .mod_navigation ul.level_1 > li.active > a,
#header .mod_navigation ul.level_1 > li.trail  > a {
  color: #fff;
  background: rgba(255,255,255,.08);
}

/* Dropdown */
#header .mod_navigation ul.level_1 > li { position: relative; }

#header .mod_navigation ul.level_2 {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  min-width: 200px;
  z-index: 200;
  padding: 0.4rem 0;
  box-shadow: var(--shadow);
}

#header .mod_navigation ul.level_1 > li:hover > ul.level_2 { display: block; }

#header .mod_navigation ul.level_2 > li > a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  transition: color .15s, background .15s;
}

#header .mod_navigation ul.level_2 > li > a:hover {
  color: #fff;
  background: rgba(20,119,63,.25);
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

/* ----------------------------------------------------------------
            Bredcrumb
   ---------------------------------------------------------------- */
/* Breadcrumb-Styling */
.mod_breadcrumb {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #555;
  margin: 20px 0;
  text-align: center;
}

.mod_breadcrumb ol {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.mod_breadcrumb li {
  display: inline;
}

.mod_breadcrumb li:not(.separator) {
  margin: 0 4px;
}

.mod_breadcrumb .separator {
  color: #a0a0a0;
  margin: 0 6px;
}

.mod_breadcrumb a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.mod_breadcrumb a:hover {
  text-decoration: underline;
}

.mod_breadcrumb .active {
  color: #2c5aa0;
  font-weight: 600;
}





/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  transition: background .2s;
  white-space: nowrap;
}

.btn-primary:hover { background: var(--green2); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid var(--dark);
  color: var(--dark);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.63rem 1.4rem;
  border-radius: 8px;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}

.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* Outline auf dunklem Hintergrund */
.on-dark .btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.on-dark .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

/* ----------------------------------------------------------------
   5. UTILITIES
   ---------------------------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */
.mod_article.hero-section {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  background: var(--dark);
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.08) 100%);
  z-index: 1;
}

.hero-section .inside {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 3rem;
}

.hero-left { display: flex; flex-direction: column; padding: 4rem 0; }

.hero-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-section .ce_headline h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-section .ce_text p {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Hero-Karte */
.hero-right { display: flex; align-items: center; }

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.hero-card .image_container { aspect-ratio: 16 / 10; overflow: hidden; }
.hero-card .image_container img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__body { padding: 1.5rem 1.6rem 1.8rem; }

.hero-card__badge {
  display: block;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.hero-card__text { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* ----------------------------------------------------------------
   7. RUBRIKEN-GRID
   ---------------------------------------------------------------- */
.mod_article.rubriken-section { background: var(--bg2); padding: 4.5rem 0; border-bottom: 1px solid  #e5e5e5;}

.rubriken-section .inside {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-headline {
  font-size: clamp(3.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2.5rem;
  font-size: 28px;
    margin-bottom: 20px;
   
}

.rubriken-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.rubrik-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
  
}

.rubrik-card:hover {
  box-shadow: 0 16px 45px rgba(20,119,63,.15);
  transform: translateY(-3px);
  border: 1px solid var(--green2);
}

.rubrik-card h3 { font-size: 1rem; font-weight: 700; color: var(--green2); margin-bottom: 0.5rem; }
.rubrik-card p  { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }








/* ----------------------------------------------------------------
   8. NEWS-SECTION WRAPPER (mod_newslist Kontext)
   ---------------------------------------------------------------- */
.news-section {
  background: var( --bg2);
  padding: 4.5rem 0;
}



.news-section .inside {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.news-section__label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.news-section__headline {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

/* ----------------------------------------------------------------
   9. NEWSLIST GRID
   ---------------------------------------------------------------- */
.newslist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 1.5rem;
}

/* Auf Innenseiten mit Sidebar */
#main .newslist-grid { grid-template-columns: repeat(3, 1fr); }

/* ----------------------------------------------------------------
   10. NEWS-CARD (news_latest.html5)
   ---------------------------------------------------------------- */
.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

.news-card:hover {
  box-shadow: 0 16px 45px rgba(20,119,63,.14);
  transform: translateY(-2px);
}

/* Bild */
.news-card__image { display: block; overflow: hidden; }

.news-card .image_container { aspect-ratio: 16 / 9; overflow: hidden; }

.news-card .image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.news-card:hover .image_container img { transform: scale(1.04); }

/* Body */
.news-card__body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Info-Zeile: Datum | Autor */
.news-card .info{
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: normal;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.news-card__date   { color: var(--muted); font-weight: 400; }
.news-card__sep    { color: var(--line); }
.news-card__author { color: var(--muted); font-weight: 100; }

/* Titel */
.news-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.news-card__title a          { color: inherit; }
.news-card__title a:hover    { color: var(--green); }

/* Teaser */
.news-card__teaser {
  font-size: 0.7rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1rem;
}

/* Weiterlesen */
.news-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--green);
  margin-top: auto;
  transition: gap .2s;
}

.news-card:hover .more { gap: 0.55rem; }

/* Sidebar: kompakte Newslist */
#left .newslist-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#left .news-card {
  flex-direction: row;
  border-radius: 10px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  padding: 0.8rem 0;
  gap: 0.8rem;
  transform: none;
}

#left .news-card:hover { background: var(--bg2); transform: none; box-shadow: none; }

#left .news-card .image_container {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  aspect-ratio: unset;
  border-radius: 8px;
}

#left .news-card__body   { padding: 0; }
#left .news-card__title  { font-size: 0.82rem; }
#left .news-card__teaser,
#left .news-card .more   { display: none; }

/* ----------------------------------------------------------------
   11. NEWSREADER
   ---------------------------------------------------------------- */
.mod_newsreader {  }

.news-header { margin-bottom: 2rem; }

.news-header .info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 1rem;
}

.news-header .info .sep { color: var(--line); }

.news-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.news-subheadline { font-size: 1.1rem; color: var(--muted); }

.news-hero { margin: 1.5rem 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.news-hero .caption { font-size: 0.78rem; color: var(--muted); padding: 0.5rem 0; }

.news-body { font-size: 1rem; line-height: 1.85; color: var(--text); }
.news-body h2, .news-body h3 { color: var(--dark); margin: 1.8rem 0 0.8rem; font-weight: 700; }
.news-body p   { margin-bottom: 1.2rem; }
.news-body a   { color: var(--green); text-decoration: underline; }
.news-body img { border-radius: 12px; margin: 1.5rem 0; }

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--muted);
}

.back-link { color: var(--green); }
.back-link:hover { text-decoration: underline; }


/* ----------------------------------------------------------------
   13. SIDEBAR (#left)
   ---------------------------------------------------------------- */
#left .mod_article { margin-bottom: 2rem; }

#left .ce_headline h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--green);
  margin-bottom: 1rem;
}

#left .mod_navigation ul.level_1 > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text);
  transition: color .2s;
}

#left .mod_navigation ul.level_1 > li > a::after { content: '?'; color: var(--line); }
#left .mod_navigation ul.level_1 > li > a:hover,
#left .mod_navigation ul.level_1 > li.active > a { color: var(--green); }

.sidebar-ad {
  background: var(--bg2);
  border: 1px dashed var(--line);
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
}

.sidebar-ad__label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

/* ----------------------------------------------------------------
   14. REICHWEITE-BANNER
   ---------------------------------------------------------------- */
.mod_article.reichweite-section { background: var(--green); padding: 4.5rem 0; }

.reichweite-section .inside { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

.reichweite-section .section-label { color: rgba(255,255,255,.6); }

.reichweite-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.reichweite-section .ce_headline h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.reichweite-section .ce_text p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

/* ----------------------------------------------------------------
   15. MITMACHEN STEPS
   ---------------------------------------------------------------- */
.mod_article.mitmachen-section { background: var(--bg2); padding: 5rem 0; border-bottom: 1px solid  #e5e5e5; border-top: 1px solid  #e5e5e5;}

.mitmachen-section .inside { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

.mitmachen-section .ce_headline h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 3rem;
}

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.step-item .step-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.8rem;
}



.step-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
}



.step-item h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.step-item p  { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }

/* ----------------------------------------------------------------
   16. SOCIAL MEDIA
   ---------------------------------------------------------------- */
.mod_article.social-section { background: var(--bg2); padding: 4.5rem 0; }

.social-section .inside { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

.social-section .ce_headline h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2.5rem;
}

.social-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.social-media-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

.social-media-card:hover {
  box-shadow: 0 16px 45px rgba(20,119,63,.14);
  transform: translateY(-2px);
}

.social-media-card .image_container { aspect-ratio: 4 / 3; overflow: hidden; }
.social-media-card .image_container img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.social-media-card:hover .image_container img { transform: scale(1.04); }
.social-media-card .card-body { padding: 1.1rem 1.2rem; }
.social-media-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.social-media-card p  { font-size: 0.83rem; color: var(--muted); }

/* ----------------------------------------------------------------
   17. KONTAKT
   ---------------------------------------------------------------- */
.kontakt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.mod_article.kontakt-section { background: var(--bg2); padding: 5rem 0; text-align: center; }

.kontakt-section .inside { max-width:1000px; margin: 0px auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr);}

.kontakt-section .ce_headline h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

/*.kontakt-section .ce_text p { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; }

.kontakt-actions { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }

/* ----------------------------------------------------------------
   18. PAGINATION
   ---------------------------------------------------------------- */
.pagination-wrapper { margin-top: 2.5rem; }

.pagination { display: flex; align-items: center; gap: 0.3rem; }

.pagination a,
.pagination strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 0.83rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--card);
  transition: border-color .2s, color .2s, background .2s;
}

.pagination strong,
.pagination a:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(20,119,63,.06);
}

.pagination .previous a,
.pagination .next a { width: auto; padding: 0 0.8rem; }

/* ----------------------------------------------------------------
   19. BREADCRUMB
   ---------------------------------------------------------------- */
.mod_breadcrumb {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.8rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.mod_breadcrumb ul { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.mod_breadcrumb li + li::before { content: '?'; color: var(--line); margin-right: 0.2rem; }
.mod_breadcrumb a { color: var(--muted); transition: color .2s; }
.mod_breadcrumb a:hover { color: var(--green); }
.mod_breadcrumb .last { color: var(--text); font-weight: 500; }



/* ----------------------------------------------------------------
   19. Galerie
   ---------------------------------------------------------------- */

.content-gallery ul {
    display: grid;
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.content-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border: 1px solid #005a36;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    backface-visibility: hidden;
    box-shadow: 0 5px 15px rgba(0, 86, 135, 0.1);
}

.content-gallery img:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 86, 135, 0.25);
    border-color: var(--primary-light);
}

/* 1 bis 3 Spalten: Große Bilder, mehr Abstand */
.content-gallery--cols-1 ul { grid-template-columns: repeat(1, 1fr); gap: 20px; }
.content-gallery--cols-2 ul { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.content-gallery--cols-3 ul { grid-template-columns: repeat(3, 1fr); gap: 15px; }

/* 4 bis 6 Spalten: Mittlere Bildgröße */
.content-gallery--cols-4 ul { grid-template-columns: repeat(4, 1fr); gap: 15px; }
.content-gallery--cols-5 ul { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.content-gallery--cols-6 ul { grid-template-columns: repeat(6, 1fr); gap: 12px; }

/* 7 bis 9 Spalten: Kleinere Bilder, angepasste Rahmen & Ecken */
.content-gallery--cols-7 ul { grid-template-columns: repeat(7, 1fr); gap: 10px; }
.content-gallery--cols-8 ul { grid-template-columns: repeat(8, 1fr); gap: 10px; }
.content-gallery--cols-9 ul { grid-template-columns: repeat(9, 1fr); gap: 8px; }

/* 10 bis 12 Spalten: Sehr schmale Spalten, feine Details */
.content-gallery--cols-10 ul { grid-template-columns: repeat(10, 1fr); gap: 8px; }
.content-gallery--cols-11 ul { grid-template-columns: repeat(11, 1fr); gap: 6px; }
.content-gallery--cols-12 ul { grid-template-columns: repeat(12, 1fr); gap: 6px; }

/* Anpassung der Details für sehr schmale Spalten (ab 10 Spalten) */
.content-gallery--cols-10 img,
.content-gallery--cols-11 img,
.content-gallery--cols-12 img {
    border-width: 2px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* ==========================================
   Seitenpagination (data-pagination)
   ========================================== */

nav[data-pagination] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    font-family: inherit;
}

nav[data-pagination] ol {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav[data-pagination] li {
    display: inline-flex;
}

/* Grundstil für die Pagination-Links */
nav[data-pagination] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Hover-Effekt für inaktive Buttons */
nav[data-pagination] a:hover {
    color: #000000;
    background-color: #f5f5f5;
    border-color: #cccccc;
}

/* Aktive Seite (hier simuliert über "data-page='1'") 
   Nutzt den dunkelgrünen Farbton des Logos aus dem Screenshot */
nav[data-pagination] a[data-page="1"] {
    color: #ffffff;
    background-color: #005a36; /* Grünton passend zur Brand-Farbe */
    border-color: #005a36;
    cursor: default;
}

/* Deaktiviert den Hover-Effekt auf der aktiven Seite */
nav[data-pagination] a[data-page="1"]:hover {
    background-color: #005a36;
    color: #ffffff;
    border-color: #005a36;
}




/* ----------------------------------------------------------------
   20. FOOTER
   ---------------------------------------------------------------- */
#footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
}

#footer .inside { max-width: 1400px; margin: 0 auto; padding: 3.5rem 1.5rem 1.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.5rem;
}

.footer-brand__name { font-size: 1.15rem; font-weight: 900; color: #fff; margin-bottom: 0.6rem; }
.footer-brand__name span { color: var(--gold); }
.footer-brand__desc { font-size: 0.83rem; color: rgba(255,255,255,.4); line-height: 1.6; max-width: 290px; }

.footer-col__title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}

#footer .mod_navigation ul.level_1 { display: flex; flex-direction: column; gap: 0.5rem; }
#footer .mod_navigation ul.level_1 a { font-size: 0.83rem; color: rgba(255,255,255,.5); transition: color .2s; }
#footer .mod_navigation ul.level_1 a:hover { color: #fff; }
#footer .mod_navigation ul.level_1 .active a { color: rgba(255,255,255,.75); }

.footer-copyright { text-align: center; font-size: 0.72rem; color: rgba(255,255,255,.25); }
.footer-copyright a { color: rgba(255,255,255,.4); }
.footer-copyright a:hover { color: var(--gold); }

/* ----------------------------------------------------------------
21. scroll-top
   ---------------------------------------------------------------- */


.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0,0,0,.25);
    transition: all .3s ease;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .scroll-top {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
}

/* ----------------------------------------------------------------
   21. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1200px) {
  #container { grid-template-columns: 1fr 260px; }
  .rubriken-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #container {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "left";
  }
  .hero-section .inside { grid-template-columns: 1fr; min-height: auto; padding: 4rem 1.5rem; }
  .hero-right { display: none; }
  .newslist-grid { grid-template-columns: repeat(2, 1fr); }
  #main .newslist-grid { grid-template-columns: repeat(3, 1fr); }
  .social-media-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  #header .inside { flex-wrap: wrap; min-height: auto; padding: 0.8rem 1rem; }
  #header .mod_navigation { display: none; }
  .newslist-grid,
  #main .newslist-grid,
  .rubriken-grid,
  .social-media-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions,
  .kontakt-actions { flex-direction: column; }
}


/* Optional: Responsives Verhalten für mobile Ansichten */
@media (max-width: 768px) {
  
  body {
        font-size: 1.125rem; /* Schaltet auf Desktop automatisch auf 18px um */
    }

    h1 {
        font-size: 2.5rem; /* Größere Desktop-H1 (40px) */
    }

    h2 {
        font-size: 1.875rem; /* Größere Desktop-H2 (30px) */
    }
  .mod_breadcrumb {
    font-size: 13px;
  }

  .mod_breadcrumb ol {
    flex-direction: column;
    align-items: flex-start;
  }

  .mod_breadcrumb .separator {
    display: none;
  }
}


@font-face {
  font-family: 'face';
  src: url('../../files/1_technik/css/fonts/font/face.eot?5769404');
  src: url('../../files/1_technik/css/fonts/font/face.eot?5769404#iefix') format('embedded-opentype'),
       url('../../files/1_technik/css/fonts/font/face.woff2?5769404') format('woff2'),
       url('../../files/1_technik/css/fonts/font/face.woff?5769404') format('woff'),
       url('../../files/1_technik/css/fonts/font/face.ttf?5769404') format('truetype'),
       url('../../files/1_technik/css/fonts/font/face.svg?5769404#face') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'face';
    src: url('../../files/1_technik/css/fonts/font/face.svg?5769404#face') format('svg');
  }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "face";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

@font-face {
  font-family: 'face';
  src: url('../../files/1_technik/css/fonts/font/face.eot?85083416');
  src: url('../../files/1_technik/css/fonts/font/face.eot?85083416#iefix') format('embedded-opentype'),
       url('../../files/1_technik/css/fonts/font/face.woff2?85083416') format('woff2'),
       url('../../files/1_technik/css/fonts/font/face.woff?85083416') format('woff'),
       url('../../files/1_technik/css/fonts/font/face.ttf?85083416') format('truetype'),
       url('../../files/1_technik/css/fonts/font/face.svg?85083416#face') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'face';
    src: url('../../files/1_technik/css/fonts/font/face.svg?85083416#face') format('svg');
  }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "face";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-up-big:before { content: '\e801'; } /* '' */
.icon-right-big:before { content: '\e802'; } /* '' */
.icon-phone:before { content: '\e803'; } /* '' */
.icon-left-big:before { content: '\e804'; } /* '' */
.icon-down-big:before { content: '\e805'; } /* '' */
.icon-up-open:before { content: '\e806'; } /* '' */
.icon-right-open:before { content: '\e807'; } /* '' */
.icon-left-open:before { content: '\e808'; } /* '' */
.icon-down-open:before { content: '\e809'; } /* '' */
.icon-search:before { content: '\e80a'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-pinterest-circled:before { content: '\f0d2'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-copyright:before { content: '\f1f9'; } /* '' */
.icon-whatsapp:before { content: '\f232'; } /* '' */
.icon-facebook-squared:before { content: '\f308'; } /* '' */

