/* ################################################
   Module: Core
   View: Fonts & Imports
   ################################################ */

/*@import url('all.min.css');*/

@font-face {
    font-family: 'Lato';
    src: local('Lato Regular'), local('Lato-Regular'),
         url('fonts/Lato-Regular.woff2') format('woff2'),
         url('fonts/Lato-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: local('Lato Bold'), local('Lato-Bold'),
         url('fonts/Lato-Bold.woff2') format('woff2'),
         url('fonts/Lato-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: local('Lato Black'), local('Lato-Black'),
         url('fonts/Lato-Black.woff2') format('woff2'),
         url('fonts/Lato-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ################################################
   Module: Core
   View: Variables (Root)
   ################################################ */

:root {
    /* --- TYPOGRAPHY --- */
    --font-family-base: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --font-weight-regular: 400;
    --font-weight-bold:    700;
    --font-weight-black:   900;

    /* Fluid Font Sizes */
    --fs-h1:   clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
    --fs-h2:   clamp(1.125rem, 0.95rem + 0.5vw, 1.375rem);
    --fs-body: clamp(1rem, 0.98rem + 0.15vw, 1.125rem);
    
    /* --- COLOR PALETTE (MAIN) --- */
    --color-base-black:  #222222;
    --color-base-white:  #ffffff;
    --color-base-green:  #009241; /* LBV Grün Basis */
    --color-base-red:    #DD2B19; /* LBV Rot */
    
    --color-base-gray-100: #F8F9FA;
    --color-base-gray-100: #F4F4F4;
    --color-base-gray-200: #E4E4E4;
    --color-opacity-green: #E3EDE8;

    /* --- COLOR PALETTE (MODULES / TEASER) --- */
    --lbv-primary:   #006633; /* Dunkleres Modul-Grün */
    --lbv-secondary: #f4f4f4;
    --lbv-text:      #333333;
    --lbv-accent:    #e67e22;
    --lbv-white:     #ffffff;
    
    /* --- SEMANTIC COLORS --- */
    --color-text-main:    var(--color-base-black);
    --color-primary:      var(--color-base-green);

    /* --- SPACING SYSTEM --- */
    --space-3xs:  0.25rem;  /* 4px */
    --space-2xs:  0.5rem;   /* 8px */
    --space-xs:   0.75rem;  /* 12px */
    --space-s:    1rem;     /* 16px */
    --space-m:    1.5rem;   /* 24px */

    --mb-10:         25px;
    --mb-35:        1.5rem;   /* 24px */
    --mt-35:        35px;
    --mr-10:        10px;
    --ml-10:        10px;
    --p-010:        10px 0;
    --p-020:        20px 0;

    
    /* Fluid Spacing */
    --space-fluid-card: clamp(1rem, 2vw + 0.5rem, 2rem);
    --space-fluid-m: clamp(1.5rem, 3vw, 2.5rem);
    --space-fluid-xl: clamp(3rem, 5vw, 5rem);

    /* --- SEMANTIC SPACING --- */
    --gutter-width: 2rem;
    --radius-base:  4px;
    --card-padding: var(--space-fluid-card);
    --btn-padding-y: var(--space-2xs);
    --btn-padding-x: var(--space-m);
    --flow-space:    var(--space-m);

    /* --- LAYOUT --- */
    --container-max: 1320px;

    /* --- SHADOWS --- */
    --schatten: 0 10px 30px rgba(0,0,0,0.15);

}

    /* --- SPECIALS --- */

    .unstyled-list.link-list li.mb-2 a .mr-2 {
        margin-right: 10px;
    }

    section.section-odd .lbv-cta-box {
        background-color: var(--color-base-gray-50);
        box-shadow: var(--schatten);
    }


    .mb-10 {
        margin-bottom: 10px;
    }

    .mt-35 {
        margin-top: var(--mt-35);
    }

    .mb-35 {
        margin-bottom: var(--mb-35);
    }

    .mr-10 {
        margin-right: var(--mr-10);
    }

    .ml-10 {
        margin-left: 10px;
    }

    .p-1 {
        padding: 10px;
    }

    .p-4 {
        padding: 40px;
    }

    .p-010 {
        padding: 10px 0;
    }

    .p-020 {
        padding: 20px 0;
    }

/* ################################################
   Module: Core
   View: Reset & Global Styles
   ################################################ */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-regular);
    font-size:   var(--fs-body);
    line-height: 1.6;
    color:       var(--color-text-main);
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

strong, b { 
    font-weight: var(--font-weight-bold); 
}

/* Utilities */
.dunkel { background-color: var(--color-base-black); }
.center { text-align: center; }

.boxSpacing {
    padding: 1rem;
    box-shadow: var(--schatten);
    background-color: var(--color-base-white);
}

/* Margins & Paddings */
article.news-article.job-posting { padding: 4.6875rem 0; }
section { padding: 4.6875rem 0; }
section:nth-of-type(even) { background-color: var(--color-opacity-green); }
section:nth-of-type(odd) { background-color: var(--color-base-white); }

.mb-xlarge { margin-bottom: 4.6875rem; }
.mb-large { margin-bottom: 3rem; }
.mb-small { margin-bottom: 1rem; }
.text-content.mb-small { margin-bottom: 1.5rem; }

/* Grid Spacing Helper */
.mb-grid-card { margin-bottom: 2rem; }
@media (min-width: 768px) {
    .mb-grid-card:nth-last-child(-n+2) { margin-bottom: 0; }
}

/* Accessibility */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Flex Utilities */
.d-flex         { display: flex !important; }
.flex-column    { flex-direction: column !important; }
.justify-center { justify-content: center !important; }
.justify-between{ justify-content: space-between !important; }
.align-center   { align-items: center !important; }


/* ################################################
   Module: Layout
   View: Grid System (12-Columns)
   ################################################ */

.container { margin: 0 auto; }

.max-container,
.row {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 100%;
    max-width: var(--container-max);
}

.teaser-actions {
    margin-top: auto;
    width: 100%;
}

[class*="col-"] {
    width: 100%; 
    padding-right: calc(var(--gutter-width) / 2);
    padding-left: calc(var(--gutter-width) / 2);
    min-height: 1px;
    position: relative;
}

/* Mobile Grid */
.col-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9  { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Tablet / Desktop Grid (ab 768px) */
@media (min-width: 768px) {
    .col-md-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-3  { flex: 0 0 25%; max-width: 25%; }
    .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-6  { flex: 0 0 50%; max-width: 50%; }
    .col-md-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-9  { flex: 0 0 75%; max-width: 75%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    
    .offset-md-1 { margin-left: 8.333333%; }
    .offset-md-2 { margin-left: 16.666667%; }
    .offset-md-3 { margin-left: 25%; }
    .order-md-first { order: -1; }
    .order-md-last  { order: 13; }
}

/* Large Desktop Grid (ab 992px) */
@media (min-width: 992px) {
    .col-lg-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-lg-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-9  { flex: 0 0 75%; max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 767px) {

    header .col-md-4 {
        flex: 0 0 60%; max-width: 60%;
    }

    header .col-md-8  { flex: 0 0 39%; max-width: 39%; }

}


/* ################################################
   Module: Content
   View: Typography
   ################################################ */

.page-headline {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-black);
    font-size:   var(--fs-h1);
    color:       var(--color-base-black);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 3rem;
    border-bottom: 4px solid var(--color-primary); 
    display: inline-block;
    padding-bottom: 10px;
}

.page-headline.mb-small { margin-bottom: 1rem; }

.h2 {
    font-weight: var(--font-weight-bold);
    font-size:   var(--fs-h2);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--color-base-black);
}

p { margin-bottom: 1.5rem; }

/* Intro & Quote Box */
.section-nav-grid .intro-text { padding-right: 0; }
.section-nav-grid .intro-text p { max-width: 100%; }

.lbv-quote-box {
    background-color: rgba(0, 146, 65, 0.08); 
    border-left: 4px solid var(--color-primary);
    padding: 2.5rem;             
    border-radius: 0 6px 6px 0;  
    color: #005f2a;              
    font-size: 1.25rem;          
    font-family: var(--font-family-base);
    font-style: italic;
    font-weight: 600;            
    line-height: 1.5;
}

/* Listen */
.text-content ul {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.text-content ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0.5rem;
}

.text-content ul li::marker {
    color: var(--color-primary);
    font-size: 1.2em;
}

/* ################################################
   Module: Components
   View: Buttons & Forms
   ################################################ */

/* Forms */
.input-group-text {
    background-color: var(--color-base-gray-100); border: 1px solid #ccc; border-right: none; color: #666;
}
.form-control {
    border: 1px solid #ccc; border-radius: 0 var(--radius-base) var(--radius-base) 0; min-height: 48px;
}
.form-control:focus {
    border-color: var(--color-primary); box-shadow: 0 0 0 0.25rem rgba(0, 146, 65, 0.25);
}
.form-check-input {
    width: 1.2em; height: 1.2em; accent-color: var(--color-primary); cursor: pointer; margin-right: 0.5rem;
}

/* Buttons */
.lbv-btn-primary, .lbv-btn-secondary {
    display: inline-block; font-weight: var(--font-weight-bold); text-align: center;
    cursor: pointer; padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--radius-base); transition: all 0.2s ease; min-height: 48px;
}

.lbv-btn-primary {
    background-color: var(--color-primary); border: 1px solid var(--color-primary);
    color: var(--color-base-white);
}
.lbv-btn-primary:hover {
    background-color: #007a36; border-color: #007a36; transform: translateY(-2px);
}

.lbv-btn-secondary {
    background-color: var(--color-base-white); border: 1px solid #ccc;
    color: var(--color-base-black);
}
.lbv-btn-secondary:hover {
    background-color: var(--color-base-gray-100); color: var(--color-primary);
}

/* ################################################
   Module: System
   View: Messages / Alerts / Modal
   ################################################ */

/* Container & Backdrop */
#system-message-container {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}

#system-message-container:has(joomla-alert) {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
    animation: lbv-fade-in 0.3s ease;
}

/* Alert Box */
joomla-alert {
    position: relative; background: #ffffff; width: 90%; max-width: 420px;
    padding: 5rem 2rem 2.5rem 2rem !important; 
    border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: none; text-align: center; overflow: visible !important;
    animation: lbv-elastic-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: center; display: block;
}

/* Icon */
joomla-alert::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900; 
    position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: #fff;
    border: 6px solid #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.15); z-index: 10;
}

/* Variants */
joomla-alert, joomla-alert[type="success"] { border-top: none; }
joomla-alert::before, joomla-alert[type="success"]::before {
    content: "\f00c"; background: #009140; 
    box-shadow: 0 10px 25px rgba(0, 145, 64, 0.4);
    animation: lbv-pulse-green 2s infinite;
}

joomla-alert[type="error"]::before, 
joomla-alert[type="warning"]::before,
joomla-alert[type="danger"]::before {
    content: "\f12a"; background: #dc3545;
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
}

joomla-alert[type="info"]::before { content: "\f129"; background: #0dcaf0; }

/* Content */
.alert-message {
    font-size: 1.3rem; font-weight: 700; color: #333;
    line-height: 1.4; margin: 10px 0 0 0;
}
.alert-heading { display: none; }

.joomla-alert--close {
    position: absolute; top: 10px; right: 10px;
    background: transparent; border: none;
    font-size: 1.5rem; color: #ccc; cursor: pointer;
    line-height: 1; width: 30px; height: 30px; z-index: 5;
}
.joomla-alert--close:hover { color: #333; }

/* Animations */
@keyframes lbv-elastic-pop {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes lbv-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 145, 64, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 145, 64, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 145, 64, 0); }
}
@keyframes lbv-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ################################################
   Module: Media
   View: Images & Videos
   ################################################ */

/* Video Module */
.section-text-video { padding: 4rem 0; }
.text-content {
    padding-right: 2rem; margin-bottom: 4rem; border-bottom: 1px solid transparent;
}
.text-content:last-child { margin-bottom: 0; }
.mb-video-container { margin-bottom: 4rem; width: 100%; }

.video-wrapper {
    position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 */
    height: 0; overflow: hidden; background-color: #000;
    border-radius: 4px; box-shadow: var(--schatten);
}
.video-wrapper iframe, .video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.video-overlay {
    cursor: pointer; display: flex; flex-direction: column;
    align-items: center; justify-content: center; z-index: 10; background-color: #333;
}
.video-placeholder-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.85; 
    transition: opacity 0.3s ease, transform 0.5s ease;
}
.video-wrapper:hover .video-placeholder-img { opacity: 0.7; transform: scale(1.02); }

.video-play-btn {
    position: relative; z-index: 20;
    background-color: var(--color-primary); color: #fff;
    border: none; border-radius: 50%; width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.video-play-btn svg { width: 35px; height: 35px; margin-left: 4px; fill: currentColor; }
.video-wrapper:hover .video-play-btn { transform: scale(1.1); background-color: #b01f0f; }

.video-privacy-notice {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    text-align: center; color: #fff; font-size: 0.75rem;
    padding: 1.5rem 1rem 0.5rem 1rem; z-index: 20; pointer-events: none;
}

@media (max-width: 767px) {
    .text-content { padding-right: 0; margin-bottom: 3rem; }
    .mb-video-container { margin-bottom: 3rem; }
}

/* Captions */
.video-caption, .lbv-caption {
    margin-top: 0.75rem; font-size: 0.9rem; color: #666;
    line-height: 1.4; border-left: 3px solid var(--color-primary);
    padding: 15px; background-color: var(--color-base-white); font-style: italic;
}
.lbv-caption { margin-top: 1rem; }

/* Images */
.lbv-image-figure { margin: 0; width: 100%; }
.lbv-image-container {
    position: relative; width: 100%; overflow: hidden;
    border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.lbv-image-container img { width: 100%; height: auto; display: block; }
.lbv-copyright {
    position: absolute; bottom: 0; right: 0;
    background-color: rgba(0, 0, 0, 0.6); color: #fff;
    font-size: 0.75rem; padding: 0.25rem 0.75rem;
    border-top-left-radius: 4px; z-index: 5; pointer-events: none;
}

/* Image Copyright Overlay (Article/News) */
.image-copyright-wrapper {
    position: relative; margin-bottom: 1.5rem; display: block; width: 100% !important;
}
.image-copyright-wrapper figure, .image-copyright-wrapper .image-container {
    margin: 0; padding: 0; position: relative; border-radius: 4px; overflow: hidden;
}
.image-copyright-wrapper img, .image-copyright-wrapper figure img {
    display: block !important; width: 100% !important; height: auto !important; object-fit: unset !important;
}
.image-copyright-wrapper .copyright-overlay {
    position: absolute; bottom: 0 !important; left: 0 !important; right: auto !important;
    background-color: rgba(0, 0, 0, 0.6) !important; color: #fff !important;
    font-size: 0.75rem !important; padding: 4px 10px !important;
    border-top-right-radius: 4px !important; border-top-left-radius: 0 !important;
    user-select: none; pointer-events: none; z-index: 10; line-height: 1.2 !important;
}

/* ################################################
   Module: Downloads
   View: List & Links
   ################################################ */

.lbv-download-box {
    margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e5e5e5;
}
.lbv-download-link {
    display: flex; align-items: center;
    background-color: #f9f9f9; border: 1px solid #e0e0e0;
    padding: 1rem; border-radius: 4px;
    text-decoration: none; color: var(--color-base-black);
    transition: all 0.2s ease;
}
.lbv-dl-icon {
    flex-shrink: 0; width: 40px; height: 40px; margin-right: 1rem;
    color: var(--color-primary); background-color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1px solid #eee;
}
.lbv-dl-icon svg { width: 20px; height: 20px; }
.lbv-dl-text { display: flex; flex-direction: column; }
.lbv-dl-title { font-weight: 700; font-size: 1rem; line-height: 1.2; margin-bottom: 2px; }
.lbv-dl-meta { font-size: 0.8rem; color: #666; }

.lbv-download-link:hover {
    background-color: #fff; border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-decoration: none;
    transform: translateY(-2px);
}
.lbv-download-link:hover .lbv-dl-title { color: var(--color-primary); }

/* ################################################
   Module: Navigation
   View: Cards & Grids
   ################################################ */

/* KBV Card */
.section-kbv { 
    padding: 2rem 0; 
}

.kbv-grid-wrapper .col-12 { 
    margin-bottom: 2rem; 
}

.kbv-card {
    background-color: #ffffff; 
    width: 100%; 
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    border: 1px solid #eee;
    display: flex; 
    flex-direction: row; 
    overflow: hidden; 
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kbv-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.12); 
}

/* Container für das Bild / Icon (Grauer Kasten) */
.kbv-card .kbv-icon-col {
    flex: 0 0 100px; /* Breite leicht auf 100px angepasst, damit Portraits gut wirken */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.08); /* Hellgrauer Hintergrund */
    border-right: 1px solid #f5f5f5;
    padding: 0; /* Wichtig: Padding entfernt, damit das Bild bis zum Rand geht */
    flex-shrink: 0;
}

/* Das eigentliche Bild */
.kbv-card .kbv-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Füllt den kompletten Container verzerrungsfrei aus */
    object-position: center top; /* Fokussiert bei Portraits eher auf den Kopf */
    display: block;
}

/* Fallback Icon (wird zentriert dargestellt, wenn kein Bild da ist) */
.kbv-icon-circle {
    width: 40px; 
    height: 40px; 
    border-radius: 50%;
    background-color: var(--color-base-white, #ffffff); 
    color: var(--color-base-green, #008000);
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.kbv-icon-circle svg { 
    width: 20px; 
    height: 20px; 
}

/* Rechter Content-Bereich */
.kbv-content-col { 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    padding: 1.25rem; 
}

.kbv-header { 
    margin-bottom: 1rem; 
}

.kbv-title { 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin: 0 0 0.5rem 0; 
    color: var(--color-base-black, #000); 
}

.kbv-info { 
    font-size: 0.95rem; 
    color: #444; 
}

.kbv-label { 
    font-weight: 600; 
    color: #000; 
    margin-right: 4px; 
}

.kbv-footer { 
    margin-top: auto; 
}

.kbv-link {
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.9rem;
    color: var(--color-base-green, #008000); 
    display: inline-flex; 
    align-items: center;
    transition: transform 0.2s ease;
}

.kbv-arrow { 
    margin-left: 5px; 
    transition: transform 0.2s ease; 
}

.kbv-card:hover .kbv-arrow { 
    transform: translateX(5px); 
}


/* ################################################
   Navigation Card (unverändert)
   ################################################ */
.mb-grid { 
    margin-bottom: 2rem; 
}

.nav-card {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    background-color: var(--color-base-white, #ffffff); 
    padding: 2rem;
    width: 100%; 
    height: 100%; 
    text-decoration: none;
    border-radius: 4px; 
    box-shadow: var(--schatten, 0 2px 10px rgba(0,0,0,0.1));
    border-left: 5px solid var(--color-primary, #008000);
    transition: all 0.3s ease;
}

.nav-card-text {
    font-family: var(--font-family-base, sans-serif); 
    font-weight: var(--font-weight-bold, 700);
    font-size: 1.25rem; 
    color: var(--color-base-black, #000); 
    line-height: 1.2;
}

.nav-card-icon {
    font-size: 1.5rem; 
    color: var(--color-primary, #008000); 
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
    text-decoration: none;
}

.nav-card:hover .nav-card-icon { 
    transform: translateX(10px); 
}

@media (max-width: 767px) {
    .nav-card { padding: 1.5rem; }
    .nav-card-text { font-size: 1.1rem; }
}

/* ################################################
   Module: People
   View: Team & Board
   ################################################ */

.team-grid-wrapper .col-12 { margin-bottom: 2rem; }
.unstyled-list { padding-left: 0; list-style: none; margin-bottom: 0; }

a.team-card { text-decoration: none; color: inherit; display: flex; }

.team-card {
    background-color: var(--color-base-white); width: 100%;
    border-radius: 6px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    border: 1px solid rgba(0,0,0,0.05);
    display: flex; 
    flex-direction: column; /* Mobile First: Stacked */
    overflow: hidden; height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 400px) {
    .team-card { flex-direction: row; }
}

.team-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }
.team-card:focus-visible {
    outline: 3px solid var(--color-primary); outline-offset: 4px;
    border-radius: 6px; z-index: 10;
}

.team-card-img-col {
    width: 100%; height: 240px; position: relative; background-color: #f0f0f0; flex-shrink: 0;
}
@media (min-width: 400px) {
    .team-card-img-col { width: 140px; flex: 0 0 140px; height: auto; }
}
.team-card-img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}

.team-card-content-col {
    flex-grow: 1; padding: 1.25rem; display: flex; flex-direction: column; justify-content: center;
}
.team-name {
    font-family: var(--font-family-base); font-weight: 700; font-size: 1.1rem;
    color: var(--color-base-black); margin: 0 0 0.3rem 0; line-height: 1.2;
}
.team-role {
    font-size: 0.95rem; color: #444; font-weight: 400; line-height: 1.4; margin-bottom: 1rem;
}

/* Contact List */
.team-contact-list { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-item { display: flex; align-items: center; font-size: 0.95rem; color: #666; }
.contact-icon {
    color: var(--color-primary); margin-right: 10px;
    display: flex; align-items: center; justify-content: center; width: 20px;
}
.contact-link { text-decoration: none; color: #666; transition: color 0.2s; word-break: break-all; }
.contact-link:hover { color: var(--color-base-red); text-decoration: underline; }

.btn-copy-email {
    background: #fff; border: 1px solid #ddd; border-radius: 4px;
    cursor: pointer; padding: 2px 6px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.2s; color: #666; width: 28px; height: 28px;
}
.btn-copy-email:hover {
    border-color: var(--color-base-red); color: var(--color-base-red); background-color: #fff5f5;
}

.team-link-indicator {
    color: var(--color-primary); margin-top: 0.5rem; font-weight: bold; font-size: 1.2rem;
    opacity: 0; transform: translateX(-10px); transition: all 0.3s ease;
}
a.team-card:hover .team-link-indicator { opacity: 1; transform: translateX(0); }

/* Sidebar Contact Card specifics */
.sidebar-contact-card .team-card-img-col { flex: 0 0 120px !important; width: 120px !important; }
.sidebar-contact-card .team-name { margin-bottom: 0.2rem; }
.sidebar-contact-card .contact-icon { margin-right: 0.75rem !important; }

/* ################################################
   Module: Career
   View: Jobs & Benefits
   ################################################ */

.section-career, .section-benefits, .section-jobs, .section-initiative {
    padding: 3rem 0;
}

/* Benefits */
.kbv-benefit-item {
    background-color: var(--color-base-white); padding: 2rem;
    border-radius: 8px; height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kbv-benefit-item:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }

.kbv-benefit-icon { margin-bottom: 1.5rem; color: var(--color-base-black); transition: color 0.3s ease; }
.kbv-benefit-item:hover .kbv-benefit-icon { color: var(--color-base-red); }
.kbv-benefit-icon svg { width: 40px; height: 40px; stroke-width: 1.5px; }

.benefit-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 1rem 0; line-height: 1.3; }
.benefit-text { font-size: 1rem; line-height: 1.6; color: #555; margin: 0; }

/* Job Posting */
.badge-worktime {
    display: inline-flex; align-items: center;
    background-color: #fff; border: 1px solid #e0e0e0;
    padding: 6px 12px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 700; color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.job-content-block ul { padding-left: 1.2rem; }
.job-content-block ul li { margin-bottom: 0.5rem; position: relative; }
.job-content-block ul li::marker { color: var(--color-primary); font-size: 1.2em; }

/* Job Sidebar Form */
.job-application-card {
    background-color: #fff; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden; border: 1px solid rgba(0,0,0,0.05);
}
.job-application-card .card-header {
    background-color: var(--color-primary); padding: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.1);
}
.job-application-card .card-body { padding: 1.5rem; }

.job-form-container input, .job-form-container textarea, .job-form-container select {
    background-color: #f9f9f9; border: 1px solid #eee;
}
.job-form-container input:focus, .job-form-container textarea:focus {
    background-color: #fff; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0, 146, 65, 0.1);
}

@media (max-width: 991px) {
    .job-sidebar-wrapper { position: static !important; margin-top: 3rem; }
}

/* ################################################
   Module: News (Optimized)
   View: Articles, Lists & Sidebar Related
   ################################################ */

/* 1. Hero Image / Main Image Handling */
.news-hero-image,
.image-copyright-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: var(--space-m);
    border-radius: var(--radius-base);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-hero-image img,
.image-copyright-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Caption & Copyright Overlay */
.news-caption,
.copyright-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-base-white);
    font-size: 0.75rem;
    padding: 6px 12px;
    border-top-right-radius: var(--radius-base);
    z-index: 10;
    pointer-events: none;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .news-hero-image {
        border-radius: 0;
        margin-left: calc(var(--gutter-width) / -2);
        margin-right: calc(var(--gutter-width) / -2);
        width: calc(100% + var(--gutter-width));
        max-height: 300px;
    }
}

/* 2. Content Typography & Meta */
.news-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-base-gray-100);
    border-radius: var(--radius-base);
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.news-meta-top span {
    display: flex;
    align-items: center;
}

.news-meta-top svg {
    color: var(--color-primary);
    margin-right: 6px;
    flex-shrink: 0;
}

.news-lead {
    /*font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);*/
    line-height: 1.6;
    color: var(--color-base-black);
    margin-bottom: 2rem;
    /*padding-left: 1.25rem;
    border-left: 4px solid var(--color-primary);*/
}

.news-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-tag {
    font-size: 0.75rem;
    background-color: var(--color-base-gray-100);
    color: #444;
    padding: 4px 10px;
    border-radius: var(--radius-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 3. Action Area & Dropdowns */
.article-bottom-area {
    margin-top: var(--space-fluid-xl);
    padding-top: var(--space-m);
    border-top: 1px solid var(--color-base-gray-200);
}

.news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-news-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.5rem;
    background-color: var(--color-base-white);
    border: 1px solid #d0d0d0;
    border-radius: var(--radius-base);
    color: var(--color-base-black);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-news-action:hover,
.btn-news-action:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-opacity-green);
    transform: translateY(-2px);
}

.share-dropdown-wrapper { position: relative; }
.share-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 220px;
    margin-bottom: 0.5rem;
    background-color: var(--color-base-white);
    border: 1px solid var(--color-base-gray-200);
    border-radius: var(--radius-base);
    box-shadow: var(--schatten);
    overflow: hidden;
}

.share-dropdown-wrapper.active .share-dropdown-menu {
    display: block;
    animation: lbv-fade-in 0.2s ease-out;
}

.share-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.85rem 1.25rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.share-item:hover {
    background-color: var(--color-base-gray-100);
    color: var(--color-primary);
}

/* 4. Navigation Cards (Prev/Next) */
.news-navigation-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .news-navigation-cards { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.nav-card-link {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border: 1px solid var(--color-base-gray-200);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-card-link:hover,
.nav-card-link:focus-visible {
    background-color: var(--color-base-white);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-card-link.next .nav-label { justify-content: flex-end; }
.nav-title { font-weight: 800; line-height: 1.3; font-size: 1.1rem; }

/* 5. Sidebar - Related Articles (Optimized Sidebar View) */
.more-list {
    margin: 0;
    padding: 0;
}

.more-list .related-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem;
    background-color: var(--lbv-white);
    border-radius: var(--radius-base);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin-bottom: 3px;
}

.more-list .related-link:hover {
    background-color: var(--lbv-white);
    border-left-color: var(--color-primary);
    transform: translateX(4px);
}

.more-list .related-title {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-base-black);
    transition: color 0.2s;
}

.more-list .related-link:hover .related-title {
    color: var(--color-primary);
}

.more-list .related-date {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
}

.more-list .related-date::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 1px;
    background-color: #ccc;
    margin-right: 8px;
}

.more-list .news-tag-list {
    margin-top: 0.25rem;
    gap: 0.35rem;
}

.more-list .news-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
    background-color: #eee;
    color: #666;
}

/* 6. LBV News Grid & List Views */
.lbv-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lbv-news-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lbv-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.lbv-card-media {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    overflow: hidden;
    background-color: #eee;
}

.lbv-card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lbv-news-card:hover .lbv-card-media img { transform: scale(1.08); }

.lbv-card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-base-white);
    color: var(--color-base-black);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 2;
}

.lbv-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lbv-card-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* 7. Grid/List Switcher */
.lbv-news-wrapper { margin-bottom: 3rem; position: relative; }
.lbv-news-toolbar { display: flex; justify-content: flex-end; gap: 0.5rem; margin-bottom: 1rem; }
.lbv-view-btn {
    background: transparent; border: 1px solid #ccc; color: #999;
    padding: 6px; border-radius: 4px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.lbv-view-btn.active {
    background-color: var(--color-base-green); border-color: var(--color-base-green); color: #fff;
}

/* 8. View: List Specifics */
.view-list .lbv-news-container { grid-template-columns: 1fr; gap: 0; }
.view-list .lbv-news-item {
    background-color: transparent; border-bottom: 1px solid #eee; padding: 1rem 0;
}
.view-list .lbv-item-link { flex-direction: row; align-items: center; }
.view-list .lbv-item-media { display: none; }
.view-list .lbv-item-title {
    color: var(--color-base-black); font-size: 1.15rem; padding-right: 2rem; font-weight: 700; transition: color 0.2s;
}
.view-list .lbv-item-link:hover .lbv-item-title { color: var(--color-primary); }

/* Print Overrides */
@media print {
    .btn-news-action,
    .share-dropdown-wrapper,
    .article-bottom-area,
    .lbv-news-toolbar {
        display: none !important;
    }
    .news-hero-image, .image-copyright-wrapper {
        box-shadow: none;
        border: 1px solid #eee;
    }
}

@keyframes lbv-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}




/* ################################################
   Module: Dashboard
   View: Grid & Icons
   ################################################ */

ul.lbv-dashboard-list {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 Spalte */
    gap: 1.5rem;
    padding: 0; margin: 0; list-style: none;
    counter-reset: lbv-counter;
}

/* Tablet (ab 768px): 2 Spalten */
@media (min-width: 768px) {
    ul.lbv-dashboard-list { grid-template-columns: repeat(2, 1fr); }
}
/* Desktop (ab 1200px): 3 Spalten */
@media (min-width: 1200px) {
    ul.lbv-dashboard-list { grid-template-columns: repeat(3, 1fr); }
}

ul.lbv-dashboard-list li {
    position: relative;
    background-color: var(--color-base-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 6px; border: 1px solid #eee;
    overflow: hidden; transition: all 0.3s ease;
    display: flex; height: 100%; min-height: 180px; 
}

/* Automatische Nummerierung */
ul.lbv-dashboard-list li::before {
    counter-increment: lbv-counter;
    content: counter(lbv-counter, decimal-leading-zero);
    position: absolute; bottom: -15px; right: 10px;
    font-size: 6rem; font-weight: 900; color: var(--color-primary);
    opacity: 0.1; line-height: 1; z-index: 0;
    pointer-events: none; font-family: var(--font-family-base);
    transition: all 0.3s ease;
}

ul.lbv-dashboard-list li a {
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    width: 100%; padding: 2rem;
    text-decoration: none; z-index: 1;
    border-left: 5px solid var(--color-primary);
    transition: all 0.2s ease;
}

span.dashboard-title {
    font-size: 1.25rem; font-weight: 700;
    color: var(--color-base-black); margin-bottom: 0.5rem;
    line-height: 1.2; display: block;
}

span.dashboard-desc {
    font-size: 0.95rem; color: #666; font-weight: 400;
    line-height: 1.5; display: block;
}

/* Hover Effects */
ul.lbv-dashboard-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--color-primary);
}
ul.lbv-dashboard-list li:hover a { background-color: rgba(0, 146, 65, 0.02); }
ul.lbv-dashboard-list li:hover span.dashboard-title { color: var(--color-primary); }
ul.lbv-dashboard-list li:hover::before { transform: scale(1.1) rotate(-5deg); opacity: 0.15; }

/* Alert Item */
ul.lbv-dashboard-list li.alert-item a { border-left-color: var(--color-base-red); }

/* Badge & Icon Wrapper */
.dashboard-badge {
    position: absolute; top: 15px; right: 15px;
    background-color: var(--color-base-red); color: #fff;
    font-size: 0.75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); z-index: 2;
    animation: pulse-badge 2s infinite;
}

.dashboard-icon-wrapper {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 1rem;
    border-radius: 12px; background-color: var(--color-base-gray-100);
    color: var(--color-primary); transition: all 0.3s ease;
}
.dashboard-icon-wrapper i { font-size: 1.5rem; line-height: 1; }

.dashboard-item:hover .dashboard-icon-wrapper {
    background-color: var(--color-primary); color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 146, 65, 0.2);
}

@keyframes pulse-badge {
    0% { box-shadow: 0 0 0 0 rgba(221, 43, 25, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(221, 43, 25, 0); }
    100% { box-shadow: 0 0 0 0 rgba(221, 43, 25, 0); }
}

/* ################################################
   Module: Teaser
   View: Wrapper & CTA
   ################################################ */

.lbv-wrapper {
    font-family: inherit; color: var(--lbv-text);
    line-height: 1.6; max-width: var(--container-max); margin: 0 auto;
}
.lbv-wrapper h1, .lbv-wrapper h2 { color: var(--lbv-primary); margin-bottom: 1rem; }
.lbv-wrapper h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    border-bottom: 3px solid var(--lbv-primary);
    display: inline-block; padding-bottom: 0.5rem;
}

.lbv-grid-teaser {
    display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .lbv-grid-teaser { grid-template-columns: 1fr 1fr; }
}

.lbv-module-container {
    background: var(--lbv-secondary); padding: 2rem;
    border-radius: 8px; margin: 2rem 0; border: 1px solid #e0e0e0;
}

.lbv-btn {
    display: inline-block; background-color: var(--lbv-accent);
    color: var(--lbv-white); text-decoration: none;
    padding: 1rem 2rem; border-radius: 5px;
    font-weight: bold; font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s;
    border: 2px solid transparent;
}
.lbv-btn:hover, .lbv-btn:focus {
    background-color: #d35400; text-decoration: none;
    transform: translateY(-2px); color: var(--lbv-white);
}
.lbv-btn:focus-visible { outline: 3px solid var(--lbv-white); outline-offset: 2px; }

/* LBV CTA Box (Unified Green Version) */
.lbv-cta-box {
    /*background-color: var(--lbv-primary); */

    padding: 2.5rem 2rem; border-radius: 8px; text-align: left; margin-top: 3rem;
}
.lbv-cta-box h2 { color: var(--lbv-white); margin-top: 0; }
.lbv-cta-box p { max-width: 700px; margin: 0 auto 2rem auto; font-size: 1.1rem; }

@media (min-width: 768px) {
    .lbv-cta-box {
        padding: 4rem; text-align: left; display: flex;
        flex-direction: column; align-items: flex-start;
    }
}
@media (min-width: 992px) {
    .lbv-cta-box {
        flex-direction: row; justify-content: space-between; text-align: left;
    }
    .lbv-cta-box p { margin: 0; margin-right: 2rem; }
    .lbv-cta-box .cta-content { flex: 1; }
}





/* ################################################
   Module: User Status Bar
   View: Portal Status (Max-Container Alignment)
   ################################################ */

/* Der äußere Streifen geht über die volle Breite */
.lbv-status-bar-wrapper {
    background-color: #f8f9fa;
    width: 100%;
    padding: var(--space-2xs)
}

/* Die Inhaltsbegrenzung analog zum Header */
.lbv-status-bar-wrapper .max-container {
    display: flex;
    margin: 0 auto;
    width: 100%;
    /* Deine Variable --container-max wird hier vom Core-CSS übernommen */
}

/* Flex-Layout für die Bar */
.lbv-userstatus-module {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.6rem 1rem; /* Padding für Mobile-Sicherheit */
}

/* Linke Seite */
.lbv-status-left {
    display: flex;
    align-items: center;
}

.item-company .status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: #fff;
    color: #008a3c;
    border-radius: 4px;
    margin-right: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.company-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-base-black);
}

/* Rechte Seite */
.lbv-status-right {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
}

.status-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.status-label i {
    color: #008a3c;
    margin-right: 4px;
}

.status-value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Trenner (Desktop) */
.status-separator {
    width: 1px;
    height: 24px;
    background-color: #dee2e6;
}

/* Badge Meldungen */
.badge.bg-secondary {
    background-color: #e4e4e4 !important;
    color: #333;
    font-weight: 700;
    padding: 0.4em 0.8em;
    font-size: 0.8rem;
    border-radius: 2px;
}

/* Logout Button */
.logout-wrapper-clean button {
    background-color: #008a3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.logout-wrapper-clean button:hover {
    background-color: #006b2e;
}

/* ################################################
   Mobile First Anpassungen
   ################################################ */

@media (max-width: 991px) {
    .lbv-userstatus-module {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .lbv-status-right {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .status-separator {
        display: none !important;
    }
}

/* Barrierefreiheit: Fokus für Keyboard-Nutzer */
.logout-wrapper-clean button:focus-visible {
    outline: 3px solid var(--lbv-accent);
    outline-offset: 2px;
}









/* ################################################
   Module: Auth / Portal Login
   View: Container Split Screen (Fixed Width)
   ################################################ */

/* 1. Haupt-Container für den Split */
.login-visual-split {
    display: flex;
    flex-direction: column; /* Mobile First: Untereinander */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Schöner Tiefe-Effekt */
    border: 1px solid #e0e0e0;
    min-height: 650px;
}

/* 2. Gemeinsame Basis für beide Seiten */
.split-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 3. Linke Seite (Grün) */
.split-left-brand {
    background-color: #008a3c;
    background-image: linear-gradient(135deg, #008a3c 0%, #006b2e 100%);
    color: #fff;
}

/* Typografie Links */
.split-left-brand .h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.split-left-brand .lead {
    font-size: 1.15rem;
    line-height: 1.6;
}

.benefit-check-list li {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.benefit-check-list i.fa-check {
    color: #f39c12; /* Orange */
    flex-shrink: 0;
}

/* 4. Rechte Seite (Weiß) */
.split-right-form {
    background-color: #fff;
}

/* Input Styling */
.lbv-login-module .input-group {
    border: 1px solid #ced4da;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
}

.lbv-login-module .input-group:focus-within {
    border-color: #008a3c;
    box-shadow: 0 0 0 3px rgba(0, 138, 60, 0.15);
}

.lbv-login-module .input-group-text {
    background: #f8f9fa;
    border: none;
    color: #008a3c;
    width: 50px;
    justify-content: center;
    display: flex;
    align-items: center;
}

.lbv-login-module .form-control {
    border: none;
    height: 3.5rem;
    font-size: 1rem;
    padding-left: 0.5rem;
    width: 100%;
}

.lbv-login-module .form-control:focus {
    box-shadow: none;
}

/* Button */
.lbv-btn-primary {
    background-color: #008a3c;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.lbv-btn-primary:hover {
    background-color: #006b2e;
}

/* 5. Utility Overrides */
.max-container {
    max-width: var(--container-max); /* Deine Variable (z.B. 1320px) */
    margin: 0 auto;
    width: 100%;
    padding: 0 15px; /* Sicherheitspadding */
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.lbv-quote-box-simple.border-left.pl-4.mt-auto {
    border-left: 4px solid var(--lbv-white);
    padding: 20px;
    background-color: rgba(255,255,255,0.3);
    border-radius: var(--radius-base);
}

ul.benefit-check-list {
    padding: 0 0 0 20px;
}

/* ################################################
   Desktop View (ab 992px)
   ################################################ */

@media (min-width: 992px) {
    .login-visual-split {
        flex-direction: row; /* Nebeneinander */
    }

    .split-side {
        width: 50%; /* Halbe Breite */
    }

    /* Padding Adjustments für Desktop */
    .brand-content, .form-content {
        padding: 4rem 5rem !important;
    }
}

@media (max-width: 1091px) {
    .split-side {
        padding: 35px;
    }
}

@media (max-width: 767px) {
    .split-side {
        padding: 15px;
    }
}

/* ################################################
   Module: Login Footer Actions
   ################################################ */

.login-footer-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef; /* Sehr helles Grau für die Linie */
}

/* Basis-Styling für beide Links */
.lbv-action-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem; /* Größere Klickfläche */
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-left: -0.5rem; /* Gleicht das Padding aus, damit es bündig bleibt */
}

/* Icon Wrapper (Die runden Kreise) */
.action-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Text Container */
.action-text {
    display: flex;
    flex-direction: column; /* Mobile: Falls Text lang ist */
    line-height: 1.3;
}

/* --- STYLE: PRIMARY (Registrierung) --- */
.lbv-action-link.primary {
    color: var(--color-primary); /* LBV Grün */
}

.lbv-action-link.primary .action-icon-wrapper {
    background-color: #f0fdf4; /* Sehr helles Grün */
    color: var(--color-primary);
}

.lbv-action-link.primary strong {
    font-weight: 800;
    font-size: 1rem;
}

/* Der kleine Pfeil rechts */
.arrow-indicator {
    margin-left: auto; /* Schiebt Pfeil ganz nach rechts */
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

/* Hover Effekt Primary */
.lbv-action-link.primary:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.lbv-action-link.primary:hover .action-icon-wrapper {
    background-color: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
}

.lbv-action-link.primary:hover .arrow-indicator {
    opacity: 1;
    transform: translateX(0);
}

/* --- STYLE: SECONDARY (Support) --- */
.lbv-action-link.secondary {
    color: #6c757d; /* Muted Grey */
    font-size: 0.9rem;
}

.lbv-action-link.secondary .action-icon-wrapper {
    background-color: #f8f9fa;
    color: #6c757d;
    width: 32px; /* Etwas kleiner als Primary */
    height: 32px;
}

.lbv-action-link.secondary:hover {
    color: #333;
    text-decoration: none;
    background-color: #f8f9fa;
}

.lbv-action-link.secondary:hover .action-icon-wrapper {
    background-color: #e9ecef;
    color: #333;
}

.text-underline {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Mobile Optimierung */
@media (min-width: 768px) {
    .action-text {
        flex-direction: row;
        gap: 4px;
        align-items: center;
    }
}










/* ################################################
   Module: Users Profile
   View: Profile Details
   ################################################ */

.com-users-profile.profile {
    margin-top: var(--space-m);
}

/* 1. Aktions-Leiste (Toolbar) */
.com-users-profile__edit.btn-toolbar {
    margin-bottom: var(--space-m);
    display: flex;
    justify-content: flex-end;
}

/* 2. Karten-Layout für Fieldsets */
.com-users-profile fieldset {
    background-color: var(--color-base-white);
    border: 1px solid var(--color-base-gray-200);
    border-radius: var(--radius-base);
    padding: var(--space-m);
    margin-bottom: var(--space-m);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid var(--color-primary); /* LBV Branding Balken */
}

.com-users-profile legend {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
    font-size: var(--fs-h2);
    color: var(--color-base-black);
    padding: 0 10px;
    margin-bottom: var(--space-s);
    float: none;
    width: auto;
}

/* 3. Definition Lists (dl) als Grid */
.com-users-profile dl.dl-horizontal {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: Untereinander */
    gap: var(--space-xs) var(--space-m);
    margin: 0;
}

.com-users-profile dt {
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.com-users-profile dd {
    margin-left: 0;
    margin-bottom: var(--space-xs);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--color-base-gray-100);
    color: var(--color-text-main);
    font-weight: 500;
}

.com-users-profile dd:last-of-type {
    border-bottom: none;
}

/* 4. Desktop Optimierung (ab 768px) */
@media (min-width: 768px) {
    .com-users-profile dl.dl-horizontal {
        grid-template-columns: 250px 1fr; /* Festes Label links */
        align-items: baseline;
    }

    .com-users-profile dt {
        margin-top: 0;
        border-bottom: 1px solid var(--color-base-gray-100);
        height: 100%;
        display: flex;
        align-items: center;
    }
}

/* 5. Spezielle Behandlung für "Keine Information" */
.com-users-profile dd:contains("Keine Information") {
    color: #999;
    font-style: italic;
    font-weight: var(--font-weight-regular);
}

/* Accessibility: Buttons */
.com-users-profile .btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 0.6rem 1.2rem;
    font-weight: var(--font-weight-bold);
    transition: all 0.2s ease;
}

.com-users-profile .btn-primary:hover,
.com-users-profile .btn-primary:focus {
    background-color: #007a36;
    transform: translateY(-2px);
    box-shadow: var(--schatten);
}









/* ################################################
   Responsiveness (Ab Tablet/Desktop)
   ################################################ */

@media (min-width: 992px) {
    .lbv-userstatus-module {
        flex-direction: row; /* Horizontal ausrichten */
        justify-content: space-between;
        align-items: center;
    }

    .lbv-userstatus-module.p-010 {
        padding: var(--p-010);
    }

    .lbv-status-right {
        justify-content: flex-end;
        gap: 1.5rem;
    }

    .company-name {
        font-size: 1.1rem;
    }
}

/* Accessibility Focus States */
.logout-wrapper-clean button:focus-visible {
    outline: 3px solid var(--lbv-accent);
    outline-offset: 2px;
}


/* ################################################
   Module: Reports
   View: Market Reports (Details/Summary)
   ################################################ */

.lbv-details {
    border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 1rem;
    overflow: hidden; background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); transition: all 0.3s ease;
}

.lbv-summary {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; padding: 1.25rem 1.5rem; cursor: pointer;
    font-size: 1.1rem; font-weight: 700; color: #333; list-style: none;
    transition: background-color 0.2s; user-select: none;
}
.lbv-summary::-webkit-details-marker { display: none; }
.lbv-summary:hover { background-color: #f9f9f9; }
.acc-icon { color: #999; transition: transform 0.3s ease; }

/* Open State */
.lbv-details[open] {
    border-color: var(--color-primary); box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.lbv-details[open] .lbv-summary {
    background-color: var(--color-primary); color: #fff; border-bottom: 1px solid rgba(0,0,0,0.1);
}
.lbv-details[open] .acc-icon { color: #fff; transform: rotate(180deg); }

.lbv-details-content { background-color: #fff; animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* KW Rows & Buttons */
.report-kw-row {
    display: flex; align-items: center; flex-wrap: wrap;
    padding: 1rem 1.5rem; border-bottom: 1px solid #f0f0f0;
}
.report-kw-row:last-child { border-bottom: none; }
.report-kw-row:nth-child(odd) { background-color: var(--color-base-gray-100); }

.report-kw-label {
    min-width: 90px; font-weight: 700; color: #333; font-size: 1rem; margin-right: 1.5rem;
}

.report-items-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; flex: 1; }

.report-mini-card {
    display: inline-flex; align-items: center;
    background-color: #fff; border: 1px solid #ddd; border-radius: 0;
    padding: 0.5rem 1rem; text-decoration: none !important;
    color: #333; font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; transition: all 0.2s ease;
}
.report-mini-card:hover {
    background-color: var(--color-primary); border-color: var(--color-primary);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 146, 65, 0.2);
}
.report-icon { margin-right: 0.5rem; color: #999; }
.report-mini-card:hover .report-icon { color: #fff; }

@media (max-width: 768px) {
    .report-kw-row {
        flex-direction: column; align-items: flex-start; padding: 1.25rem;
        background-color: #fff !important; 
        border-left: 4px solid var(--color-primary); border-bottom: 1px solid #eee;
    }
    .report-kw-label {
        margin-bottom: 0.75rem; border-bottom: 1px solid #eee;
        width: 100%; padding-bottom: 0.25rem;
    }
    .report-items-grid { width: 100%; display: grid; grid-template-columns: 1fr; }
    .report-mini-card { justify-content: center; width: 100%; background-color: #f9f9f9; }
}

/* ################################################
   Module: Footer
   View: Main Footer
   ################################################ */

.l-footer {
    padding: 2rem 0; background-color: #222; color: #fff; font-size: 0.9rem;
}
.l-footer p { margin: 0; line-height: 1.5; }
.l-footer a {
    text-decoration: none; color: #fff; transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}
.l-footer a:hover, .l-footer a:focus {
    text-decoration: none; border-bottom-color: #fff; opacity: 0.8;
}

/* Mobile First Footer */
.l-footer .row { display: flex; flex-direction: column-reverse; gap: 1.5rem; }
.l-footer [class*="col-"] {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; width: 100%;
}
.l-footer .mod-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; align-items: center; width: 100%; gap: 0.5rem;
}
.l-footer .mod-menu li { width: 100%; margin: 0; }
.l-footer .mod-menu a { display: block; padding: 0.5rem; }

/* Desktop Footer */
@media (min-width: 768px) {
    .l-footer .row {
        flex-direction: row !important; flex-wrap: nowrap !important;
        align-items: center !important; justify-content: space-between !important;
    }
    .l-footer .row::before, .l-footer .row::after { display: none !important; }
    
    .l-footer .col-md-4 {
        flex-direction: row !important; justify-content: flex-start !important;
        text-align: left !important; width: 40% !important; padding-left: 15px !important;
    }
    .l-footer .col-md-8 {
        flex-direction: row !important; justify-content: flex-end !important;
        text-align: right !important; width: 60% !important; padding-right: 15px !important;
    }
    .l-footer .mod-menu {
        flex-direction: row !important; justify-content: flex-end !important;
        margin: 0 !important; gap: 0 !important; width: auto !important;
    }
    .l-footer .mod-menu li { flex: 0 0 auto !important; width: auto !important; padding: 0 !important; }
    .l-footer .mod-menu a { display: inline-block; padding: 0 10px; white-space: nowrap; }
    .l-footer .mod-menu li:not(:last-child)::after {
        content: "|"; margin: 0 5px; color: #fff; opacity: 0.5; display: inline-block;
    }
    .l-footer p { text-align: left !important; }
}

/* ################################################
   Module: Print
   View: Print Styles
   ################################################ */

@media print {
    .d-print-none, .site-header, .l-footer, .news-sidebar, .news-actions, .news-navigation {
        display: none !important;
    }
    .col-lg-8 { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
    
    body { background: #fff; color: #000; font-size: 12pt; line-height: 1.4; }
    a { text-decoration: none; color: #000; }
    
    .news-hero-image img, .image-copyright-wrapper img {
        max-width: 60% !important; height: auto !important; margin: 0 auto 1rem auto !important;
        filter: grayscale(100%); display: block !important;
    }
    
    .page-headline {
        font-size: 24pt; color: #000; border-bottom: 2px solid #000;
    }
    p { orphans: 3; widows: 3; page-break-inside: avoid; }
    .news-hero-image { height: auto; max-height: 300px; margin: 0 0 2rem 0; page-break-inside: avoid; }
    
    .job-posting::before {
        content: "Landesbauernverband Brandenburg e.V."; display: block; font-weight: bold; margin-bottom: 1rem; border-bottom: 1px solid #ccc;
    }
}





/* ################################################
   Module: Portal Info
   View: Text Cards (No Images)
   ################################################ */

/* 1. Grid Layout */
.portal-grid-info {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .portal-grid-info {
        grid-template-columns: repeat(2, 1fr); /* Tablet */
    }
}

@media (min-width: 1200px) {
    .portal-grid-info {
        grid-template-columns: repeat(3, 1fr); /* Desktop */
        gap: 2rem;
    }
}

/* 2. Card Design */
.info-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--color-base-white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

/* Linke grüne Kante für LBV Branding */
.info-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background-color: var(--color-primary);
    transition: width 0.2s ease;
}

/* Hover Effekte */
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
    text-decoration: none;
}

.info-card:hover::before {
    width: 6px; /* Balken wird etwas breiter */
}

/* Fokus (Accessibility) */
.info-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

/* 3. Icon Styling */
.info-card__icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--color-base-gray-100);
    border-radius: 50%; /* Kreis */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.info-card:hover .info-card__icon-wrapper {
    background-color: var(--color-primary);
    color: #fff;
}

/* 4. Typografie */
.info-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Drückt den Footer nach unten */
}

.info-card__title {
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-base-black);
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.info-card__desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1; /* Sorgt dafür, dass alle Karten gleich hoch wirken */
}

/* 5. CTA (Call to Action) am Boden */
.info-card__cta {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto; /* Schiebt Button ganz nach unten */
}

.info-card__cta i {
    transition: transform 0.2s ease;
}

.info-card:hover .info-card__cta i {
    transform: translateX(5px); /* Pfeil bewegt sich */
}






/* ################################################
   Module: Navigation (MeinLBV)
   View: Grid List
   ################################################ */

/* 1. Grid Container (ul) */
ul._meinlbvNavigation {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 Spalte */
    gap: 1.5rem; /* Abstand zwischen Kacheln */
    
    padding: 0;
    list-style: none;
    
    /* --- NEUE ANPASSUNGEN --- */
    margin: 0; /* Reset */
    margin: 3rem 0; /* Abstand nach oben (ca. 48px) */
    width: 100%;      /* Nimmt die volle Breite des Containers ein */
}

/* Tablet (ab 768px): 2 Spalten */
@media (min-width: 768px) {
    ul._meinlbvNavigation {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (ab 1200px): 3 Spalten */
@media (min-width: 1200px) {
    ul._meinlbvNavigation {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2. Link-Design (Die Kachel) */
ul._meinlbvNavigation li.nav-item {
    margin: 0; padding: 0; display: flex;
}

ul._meinlbvNavigation a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    border-left: 5px solid #009241; /* LBV Grün */
    
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

/* 3. Hover Effekt */
ul._meinlbvNavigation a:hover,
ul._meinlbvNavigation a:focus {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
    outline: none;
}

ul._meinlbvNavigation a:focus-visible {
    outline: 3px solid #009241;
    outline-offset: 2px;
}

/* 4. Icon Styling */
ul._meinlbvNavigation span.fa {
    font-size: 1.5rem;
    color: #009241;
    margin-right: 1rem;
    padding: 0 !important; /* Reset Bootstrap padding */
    width: 30px;
    text-align: center;
    transition: transform 0.2s ease;
}

ul._meinlbvNavigation a:hover span.fa {
    transform: scale(1.1);
}









/* --- Partner Detail Page Styles --- */

/* 1. Logo Box: Vertikal zentriert und sauberer Weißraum */
.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px; 
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* 2. Sidebar Box Hintergrund */
.partner-sidebar-box {
    background-color: #fcfcfc; /* Ganz leichtes Grau */
    border: 1px solid #eee;
    border-left: 4px solid var(--lbv-primary);
}

/* 3. Überschrift mit Linien (VVB Style) */
.separator-headline {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-family-base);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-base-black);
    font-size: var(--fs-h2);
    margin-bottom: 2.5rem;
    position: relative;
    width: 100%;
}

.separator-headline::before,
.separator-headline::after {
    content: "";
    flex: 1;
    height: 3px;
    background-color: var(--lbv-accent); /* Orange Linie */
    margin: 0 1.5rem;
    max-width: 80px; /* Begrenzt die Länge der Striche */
    opacity: 0.8;
}

/* 4. Kontaktkarten Design */
.contact-card-wrapper {
    border-left: 4px solid var(--lbv-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Wichtig für Grid */
}

.contact-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.contact-role {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem !important;
    font-weight: 700; 
    color: #666; 
    font-size: 0.9rem;
}

/* Icons & Links in Kontaktkarte */
.contact-icon-small {
    color: var(--lbv-accent); 
    width: 25px; 
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.contact-link {
    text-decoration: none; 
    color: #444; 
    transition: color 0.2s;
    word-break: break-all; /* Falls E-Mails zu lang sind */
}

.contact-link:hover {
    color: var(--color-base-red);
    text-decoration: none;
}

/* Kleiner Button für Leistungen */
.btn-sm {
    padding: 0.25rem 0.8rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
}

/* Letzte Linie in der Leistungsliste entfernen */
.services-list .service-item:last-child hr {
    display: none;
}

/* --- Partner Kontakt Grid (Equal Height) --- */

/* 1. Wrapper auf 100% Höhe zwingen */
.contact-card-wrapper {
    border-left: 4px solid var(--lbv-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100% !important; /* WICHTIG für gleiche Höhe */
    background-color: #fff;
    padding: 1.5rem;
    display: flex;       /* Flexbox aktivieren */
    flex-direction: column; /* Inhalt untereinander stapeln */
}

/* 2. Hover Effekt */
.contact-card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    z-index: 2; /* Damit die Karte beim Hover über anderen liegt */
}

/* 3. Rolle styling */
.contact-role {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem !important;
    font-weight: 700; 
    color: #666; 
    font-size: 0.85rem;
}

/* 4. Icons & Links */
.contact-icon-small {
    color: var(--lbv-accent); 
    width: 20px; 
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.contact-link {
    text-decoration: none; 
    color: #444; 
    transition: color 0.2s;
    word-break: break-word; /* Verhindert Layout-Bruch bei langen Wörtern */
}

.contact-link:hover {
    color: var(--color-base-red);
    text-decoration: none;
}








/* --- Partner Kontakt: Horizontal Layout (Avatar links) --- */

.contact-card-horizontal {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 1.5rem;
    display: flex; /* Side-by-Side Layout */
    flex-direction: row;
    gap: 1.5rem; /* Abstand zwischen Avatar und Text */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Gleich hoch */
}

.contact-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: var(--lbv-primary);
}

/* --- Avatar Bereich (Links) --- */
.cc-avatar-col {
    flex: 0 0 auto; /* Feste Breite, wächst nicht */
}

.cc-avatar-circle {
    width: 60px;
    height: 60px;
    background-color: var(--color-base-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lbv-primary);
    font-size: 1.5rem;
    border: 1px solid #e0e0e0;
}

/* --- Content Bereich (Rechts) --- */
.cc-content-col {
    flex: 1; /* Nimmt den restlichen Platz ein */
    min-width: 0; /* Verhindert Layout-Bruch bei langem Text */
    display: flex;
    flex-direction: column;
}

.cc-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lbv-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.cc-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.cc-address {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

/* --- Kontakt Liste --- */
.cc-list {
    margin: 0;
    padding: 0;
    margin-top: auto; /* Drückt Liste nach unten */
}

.cc-list li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.cc-link, .cc-fax {
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}

.cc-link:hover {
    color: var(--color-base-red);
}

.cc-icon {
    color: var(--lbv-accent); /* Orange Icons */
    width: 20px;
    text-align: center;
    margin-right: 8px;
    font-size: 0.9em;
}

/* Mobile Anpassung: Bei sehr schmalen Screens (unter 400px) stapeln */
@media (max-width: 400px) {
    .contact-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cc-avatar-col {
        margin: 0 auto;
    }
    .cc-list li {
        justify-content: center;
    }
}










/* ################################################
   Module: Partner Detail Page (Cleaned & Optimized)
   ################################################ */

/* --- 1. Header & Logos --- */
.partner-logo-wrapper {
    display: flex; align-items: center; justify-content: center;
    min-height: 140px; background: #fff;
    border: 1px solid #e0e0e0; border-radius: 4px;
}

.partner-sidebar-box {
    background-color: #fcfcfc; border: 1px solid #eee;
    border-left: 4px solid var(--lbv-primary); padding: 1.5rem;
}

/* Überschrift mit Linien */
.separator-headline {
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-family: var(--font-family-base); font-weight: 900; text-transform: uppercase;
    color: var(--color-base-black); font-size: var(--fs-h2);
    margin-bottom: 2.5rem; width: 100%;
}
.separator-headline::before, .separator-headline::after {
    content: ""; flex: 1; height: 3px;
    background-color: var(--lbv-accent); margin: 0 1.5rem;
    max-width: 80px; opacity: 0.8;
}

/* --- 2. Leistungen (Full Width Zebra) --- */
.partner-services-wrapper { width: 100%; }
.partner-service-row {
    width: 100%; padding: 3rem 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.partner-service-row.service-row-even { background-color: var(--color-opacity-green); }
section.section-partner-contact:nth-of-type(even),
.partner-service-row.service-row-odd { background-color: var(--color-base-white); }

.service-title {
    color: var(--lbv-primary); margin-bottom: 1.5rem;
    position: relative; display: inline-block;
}
.service-title::after {
    content: ''; display: block; width: 50px; height: 3px;
    background-color: var(--lbv-accent); margin-top: 8px;
}

/* Kleiner Button (wiederverwendbar) */
.btn-sm {
    padding: 0.25rem 0.8rem; font-size: 0.875rem;
    display: inline-flex; align-items: center;
}

/* --- 3. Kontakt: Horizontal Layout (Avatar) --- */
.contact-card-horizontal {
    background-color: #fff; border: 1px solid #eee; border-radius: 6px;
    padding: 1.5rem; display: flex; flex-direction: row; gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%; /* Wichtig für Equal Height */
}

.contact-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: var(--lbv-primary);
}

/* Spalten */
.cc-avatar-col { flex: 0 0 auto; } /* Feste Breite links */
.cc-content-col { flex: 1; min-width: 0; display: flex; flex-direction: column; } /* Flexibler Inhalt rechts */

/* Avatar Kreis */
.cc-avatar-circle {
    width: 60px; height: 60px;
    background-color: var(--color-base-gray-100);
    border-radius: 50%; border: 1px solid #e0e0e0;
    display: flex; align-items: center; justify-content: center;
    color: var(--lbv-primary); font-size: 1.5rem;
}

/* Typografie */
.cc-name {
    font-size: 1.1rem; font-weight: 700; color: var(--lbv-primary);
    margin: 0 0 0.25rem 0; line-height: 1.2; word-wrap: break-word;
}
.cc-role {
    font-size: 0.8rem; font-weight: 700; color: #888;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem;
}
.cc-address {
    font-size: 0.85rem; color: #666; margin-bottom: 0.75rem;
    line-height: 1.4; border-bottom: 1px solid #f0f0f0; padding-bottom: 0.75rem;
}

/* Kontakt Liste */
.cc-list { margin: 0; padding: 0; margin-top: auto; /* Push to bottom */ }
.cc-list li { margin-bottom: 0.4rem; font-size: 0.9rem; display: flex; align-items: center; }

.cc-web-item {
    margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid #f0f0f0;
}

/* Links & Icons */
.cc-link, .cc-text-item {
    color: #444; text-decoration: none; transition: color 0.2s; word-break: break-all;
}
.cc-link:hover { color: var(--color-base-red); text-decoration: none; }

.cc-icon {
    color: var(--lbv-accent); width: 20px; text-align: center;
    margin-right: 8px; font-size: 0.9em; flex-shrink: 0;
}
.fw-bold { font-weight: 700; }

/* Mobile Anpassung für sehr kleine Screens (<400px) */
@media (max-width: 400px) {
    .contact-card-horizontal { flex-direction: column; text-align: center; gap: 1rem; }
    .cc-avatar-col { margin: 0 auto; }
    .cc-list li { justify-content: center; }
}








/* ################################################
   21. PARTNER DETAIL PAGE STYLES
   ################################################ */

/* --- 1. Header & Intro Section --- */
.section-partner-header {
    position: relative;
    /* Optional: Falls der Header einen Hintergrund braucht */
    background-color: transparent; 
}

/* Logo Wrapper - zentriert und mit weißem Kasten */
.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px; /* Genug Platz für das Logo */
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-base);
    padding: 1.5rem;
    box-shadow: var(--schatten);
}

.partner-logo-wrapper img {
    max-height: 120px; /* Verhindert riesige Logos */
    width: auto;
    object-fit: contain;
}

/* Typografie Anpassungen im Header */
.partner-subline {
    font-family: var(--font-family-base);
    font-weight: 300; /* Etwas leichter als die H1 */
    line-height: 1.4;
    color: var(--lbv-primary);
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px; /* Optimale Leselänge */
}

/* --- 2. Sidebar & Downloads --- */
.partner-sidebar-box {
    background-color: var(--color-base-gray-100);
    border-left: 4px solid var(--lbv-primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius-base) var(--radius-base) 0;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- 3. Services (Leistungen) Zebra-Look --- */
.partner-services-wrapper {
    width: 100%;
    /*margin-top: 2rem;*/
}

.partner-service-row {
    width: 100%;
    padding: 4rem 0; /* Großzügiger Abstand oben/unten */
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.service-row-odd {
    background-color: var(--color-base-white);
}

.sec-even {
    background-color: var(--color-opacity-green)!important; /* Dein helles Grau */
}

.sec-odd {
    background-color: var(--lbv-white)!important;
}

.service-content-block {
    position: relative;
}

.service-title {
    color: var(--lbv-primary);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.service-actions {
    margin-top: 1.5rem;
}

/* --- 4. Contact Grid System --- */
/* Das Grid für die Kontaktkarten */
.partner-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .partner-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    /* Optional: 3 Spalten auf sehr großen Screens */
    .partner-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- 5. Contact Card Design (Horizontal) --- */
.contact-card-horizontal {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-base);
    padding: 1.5rem;
    
    display: flex;
    flex-direction: row; /* Avatar links, Text rechts */
    gap: 1.5rem;
    
    height: 100%; /* Wichtig für Grid: alle Karten gleich hoch */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-color: var(--lbv-primary);
}

/* Avatar Spalte */
.cc-avatar-col {
    flex: 0 0 auto;
}

.cc-avatar-circle {
    width: 60px;
    height: 60px;
    background-color: var(--color-base-gray-100);
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    color: var(--lbv-primary);
    font-size: 1.5rem;
}

/* Content Spalte */
.cc-content-col {
    flex: 1;
    min-width: 0; /* Verhindert Layout-Bruch bei langen E-Mails */
    display: flex;
    flex-direction: column;
}

.cc-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lbv-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.cc-role {
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.cc-address {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

/* Kontaktliste in der Karte */
.cc-list {
    margin: 0;
    padding: 0;
    margin-top: auto; /* Schiebt die Liste nach unten bei unterschiedlichen Höhen */
    list-style: none;
}

.cc-list li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* Webseiten Link speziell stylen */
.cc-web-item {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

/* Links & Icons */
.cc-link, .cc-text-item {
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all; /* Wichtig für lange E-Mails */
}

.cc-link:hover {
    color: var(--color-base-red);
    text-decoration: none;
}

.cc-icon {
    color: var(--lbv-accent);
    width: 20px;
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Responsive Anpassung für sehr kleine Bildschirme */
@media (max-width: 400px) {
    .contact-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cc-avatar-col {
        margin: 0 auto;
    }
    .cc-list li {
        justify-content: center;
    }
}








/* ################################################
   22. ACTION BOXES (Context Aware / Zebra)
   ################################################ */

/* Basis-Styling (Layout & Typografie) */
.lbv-action-box {
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 0 4px 4px 0; /* Rechts abgerundet */
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    border-left: 5px solid var(--lbv-primary); /* Der grüne Balken links bleibt immer */
}

/* --- VARIANTE A: In weißen Zeilen (Odd) --- */
/* Hintergrund wird Hellgrün, damit er sich vom Weiß abhebt */
.service-row-odd .lbv-action-box {
    background-color: var(--color-opacity-green); 
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-right: 1px solid transparent;
}

/* --- VARIANTE B: In farbigen Zeilen (Even) --- */
/* Hintergrund wird Weiß, damit er sich vom Grau/Grün abhebt */
.service-row-even .lbv-action-box {
    background-color: #ffffff;
    /* Ein feiner grauer Rand hilft hier zusätzlich zur Abgrenzung */
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

/* Hover-Effekte für beide Varianten */
.lbv-action-box:hover {
    transform: translateX(5px); /* Leichte Bewegung nach rechts */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Icon links oben */
.lbv-box-icon {
    flex: 0 0 auto;
    font-size: 1.5rem;
    color: var(--lbv-primary); /* Icon in Primärfarbe */
    opacity: 0.9;
    margin-top: 2px;
}

/* Content Bereich */
.lbv-box-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lbv-box-title {
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-base-black);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.lbv-box-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Der Button */
.lbv-action-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--lbv-primary);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border: 1px solid var(--lbv-primary);
}

.lbv-action-btn:hover {
    background-color: #007a36;
    border-color: #007a36;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

.lbv-action-btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Mobile Anpassung */
@media (max-width: 576px) {
    .lbv-action-box {
        flex-direction: column;
    }
    .lbv-box-icon {
        margin-bottom: 0.5rem;
    }
    .lbv-action-btn {
        width: 100%;
        justify-content: center;
    }
}










/* ################################################
   Module: Content
   View: Themen Detail Block (Article Override)
   ################################################ */

.themen-detail-wrapper {
    /* Lokale Variablen für einfache Anpassung */
    --themen-primary: var(--color-primary, #009241);
    --themen-bg-card: var(--color-base-gray-100, #F4F4F4);
    --themen-border: var(--color-base-gray-200, #E4E4E4);
    --themen-spacing-m: var(--space-m, 1.5rem);
    --themen-radius: var(--radius-base, 4px);
    
    margin-bottom: var(--space-fluid-xl);
}

/* --- 1. Header & Meta --- */
.themen-header-section {
    margin-bottom: var(--themen-spacing-m);
}

.themen-meta-bar {
    font-size: 0.85rem;
    color: var(--color-base-black);
    opacity: 0.7;
    margin-bottom: var(--space-s);
}

.themen-meta-item:not(:last-child):after {
    content: "|";
    margin: 0 10px;
    color: var(--themen-border);
}

.themen-headline-main {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-black);
    font-size: var(--fs-h1);
    line-height: 1.2;
    margin: 0;
}

/* --- 2. Media (Images & Gallery) --- */
.themen-main-figure {
    position: relative;
    margin: var(--themen-spacing-m) 0;
    border-radius: var(--themen-radius);
    overflow: hidden;
    box-shadow: var(--schatten);
}

.themen-main-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.themen-img-copyright {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-top-left-radius: var(--themen-radius);
    z-index: 10;
}

/* Galerie Grid */
.themen-gallery-container {
    margin: 3rem 0;
}

.themen-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-s);
}

.themen-gallery-link {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: var(--themen-radius);
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.themen-gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.themen-gallery-link:hover img {
    transform: scale(1.05);
}

/* --- 3. Body Content --- */
.themen-lead-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    color: var(--color-base-black);
    margin-bottom: var(--themen-spacing-m);
    padding-left: var(--space-s);
    border-left: 5px solid var(--themen-primary);
}

.themen-fulltext {
    line-height: 1.7;
}

/* --- 4. Sidebar & Cards --- */
.themen-sidebar-area {
    display: flex;
    flex-direction: column;
    gap: var(--themen-spacing-m);
}

.themen-sidebar-card {
    background-color: var(--themen-bg-card);
    border: 1px solid var(--themen-border);
    padding: var(--space-m);
    border-radius: var(--themen-radius);
}

.themen-card-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.25rem;
    color: var(--color-base-black);
    border-left: 4px solid var(--themen-primary);
    padding-left: 12px;
    line-height: 1.2;
}

/* Kontakt Spezifisch */
.themen-contact-flex {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    margin-bottom: 1rem;
}

.themen-contact-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-base-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- 5. Buttons & Actions --- */
.themen-btn-download {
    display: block;
    width: 100%;
    background-color: var(--themen-primary);
    color: var(--color-base-white) !important;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--themen-radius);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    transition: background 0.2s ease;
}

.themen-btn-download:hover {
    background-color: #007a36;
    text-decoration: none;
}

.themen-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--themen-border);
}

.themen-btn-outline {
    border: 1px solid var(--themen-primary);
    background: var(--color-base-white);
    color: var(--themen-primary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--themen-radius);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.2s ease;
}

.themen-btn-outline:hover {
    background-color: var(--themen-primary);
    color: var(--color-base-white);
}

/* Share Dropdown */
.themen-share-wrapper { position: relative; }

.themen-share-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    background: var(--color-base-white);
    border: 1px solid var(--themen-border);
    box-shadow: var(--schatten);
    border-radius: var(--themen-radius);
    z-index: 100;
    min-width: 200px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.themen-share-wrapper.is-active .themen-share-menu {
    display: block;
    animation: lbv-fade-in 0.2s ease;
}

.themen-share-menu a, 
.themen-copy-btn {
    display: block;
    padding: 10px 20px;
    color: var(--color-base-black);
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.themen-share-menu a:hover,
.themen-copy-btn:hover {
    background-color: var(--themen-bg-card);
}

/* --- 6. Responsiveness --- */
@media (max-width: 991px) {
    .themen-sidebar-area {
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .themen-footer-actions {
        flex-direction: column;
    }
    .themen-btn-outline {
        width: 100%;
        text-align: center;
    }
}

.logo-group-section {
    background-color: #f8f9fa; 
    border: 1px solid #e9ecef;
    border-radius: var(--radius-base);
}

.logo-group-section.mb-35 {
    margin-bottom: var(--mb-35);
}

/* ################################################
   Module: Content
   View: Themen Sidebar Sticky Logic
   ################################################ */

@media (min-width: 992px) {
    /* 1. Die Spalte muss flex-start haben, damit die Sidebar 
          innerhalb der Spalte gleiten kann */
    .themen-article-container .row > .col-lg-4 {
        align-self: flex-start; 
    }

    /* 2. Das eigentliche Sticky-Element */
    .themen-sidebar-sticky {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        top: 2rem; /* Abstand zum oberen Rand beim Scrollen */
        z-index: 10;
        
        /* Sicherheits-Check: Falls Sidebar länger als Bildschirm */
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

/* Dezentere Scrollbar für die Sidebar, falls nötig */
.themen-sidebar-sticky::-webkit-scrollbar { width: 4px; }
.themen-sidebar-sticky::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }








/* ################################################
   Module: CSS-Only Lightbox (No JS)
   ################################################ */

/* Thumbnail Grid Styles */
.themen-gallery-section {
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: var(--radius-base);
    background-color: var(--lbv-secondary);
    margin-bottom: var(--mb-35);
}

.themen-gallery-section h3 {
    margin-block-start: 0;
}

.gallery-thumb-link {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-thumb-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- LIGHTBOX OVERLAY --- */

/* Standardzustand: Versteckt */
.css-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999; /* Über alles legen */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Aktivzustand: Wenn ID in URL steht (:target) */
.css-lightbox-overlay:target {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* Das große Bild */
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 4px;
    position: relative;
    z-index: 2;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    display: block;
}

/* Schließen Button (Hintergrund-Klick + X) */
.lightbox-close-area {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: default;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    text-decoration: none;
    z-index: 10;
    line-height: 1;
    font-weight: 300;
    transition: color 0.2s;
}
.lightbox-close-btn:hover { color: var(--color-primary); }

/* Navigation (Vor/Zurück) */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    padding: 20px;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); color: #fff; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Animation */
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .lightbox-nav { padding: 10px; font-size: 1.5rem; width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close-btn { top: 10px; right: 15px; font-size: 2.5rem; }
}








/* Dateigröße & Typ Info Styling */
.download-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.download-card:hover {
    background-color: #f9f9f9;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-decoration: none;
}

.download-icon {
    flex: 0 0 40px;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-right: 1rem;
    text-align: center;
}

.download-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-title {
    font-weight: 700;
    color: var(--color-base-black);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    /*font-size: 1rem;*/
}

.download-card:hover .download-title {
    color: var(--color-primary);
}

.download-meta {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}




/* --- BILDER STYLING --- */

/* Wrapper für Bilder */
.article-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 4px;
}

/* Das Einleitungsbild (Hero) */
.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Das Beitragsbild (Im Textfluss) */
.post-image-wrapper {
    width: 100%; /* Mobil: Volle Breite */
    float: none;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .post-image-wrapper {
        width: 45%; /* Desktop: Kleiner */
        float: right; /* Rechtsbündig */
        margin-left: 2rem;
        margin-bottom: 1rem;
    }
}

/* Copyright Badge (Overlay) */
.image-copyright-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-top-left-radius: 4px;
    backdrop-filter: blur(2px);
    pointer-events: none;
}









/* INFOBOX STYLES */

.infobox {
    background-color: #FFFDF5; /* Helles Creme/Beige */
    border: 1px solid #EFEBE0;
    padding: 1.5rem;
    border-radius: 4px;
    color: #000;
    /* Max-Width ist wichtig bei einer Spalte, damit die Zeilen auf großen 
       Monitoren nicht zu lang und schwer lesbar werden */
    margin: 0 auto;
}

/* Überschrift */
.infobox__heading {
    color: #007F30; /* Dunkles Grün */
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid #EFEBE0; /* Optional: Trennlinie zur Überschrift */
    padding-bottom: 0.5rem;
}

/* Listen-Struktur */
.infobox__list {
    margin: 0;
    padding: 0;
}

/* Einzelner Eintrag (Label + Wert) */
.infobox__item {
    margin-bottom: 1.2rem; /* Etwas mehr Abstand für bessere Lesbarkeit */
    position: relative;
    padding-left: 1.5rem; /* Platz für den grünen Punkt */
}

/* Der letzte Eintrag braucht keinen Abstand nach unten */
.infobox__item:last-child {
    margin-bottom: 0;
}

/* Der grüne Punkt (Dekorativ) */
.infobox__item::before {
    content: "•";
    color: #007F30;
    position: absolute;
    left: 0;
    top: 0; /* Ausrichtung oben bündig mit der ersten Zeile */
    font-size: 1.5rem;
    line-height: 1.2rem; 
}

/* Das Label (dt) */
.infobox__item dt {
    color: #007F30;
    font-weight: bold;
    display: inline;
}

/* Der Wert (dd) */
.infobox__item dd {
    display: inline;
    margin: 0;
    padding-left: 0.25rem;
}

/* Kursivschrift */
.infobox__item i {
    font-style: italic;
}








/* ################################################
   Module: LBV Office & Team Override
   Prefix: lbv-office-
   ################################################ */

/* Container & Headlines */
.lbv-office-wrapper {
    padding: 3rem 0;
}

.lbv-office-headline-main {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--color-base-black, #111);
}

.lbv-office-intro-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

.lbv-office-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Button */
.lbv-office-btn {
    display: inline-flex;
    align-items: center;
    background-color: #f1d600;
    color: #000;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lbv-office-btn:hover,
.lbv-office-btn:focus-visible {
    background-color: #e0c600;
    color: #000;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Grid System (Mobile First) */
.lbv-office-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .lbv-office-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Cards (Kacheln) */
.lbv-office-card {
    background-color: var(--color-base-gray-100, #f0f0f0);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lbv-office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.lbv-office-card--horizontal {
    flex-direction: column; /* Mobile: Untereinander */
}

@media (min-width: 576px) {
    .lbv-office-card--horizontal {
        flex-direction: row; /* Ab Tablet: Bild links, Text rechts */
    }
}

/* Card Media (Bildbereich) */
.lbv-office-card__media {
    flex: 0 0 140px;
    background-color: #e4e4e4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

.lbv-office-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lbv-office-card__icon-fallback {
    color: var(--color-primary, #009241);
    width: 48px;
    height: 48px;
}

/* Card Content (Textbereich) */
.lbv-office-card__content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lbv-office-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.lbv-office-card__role {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.lbv-office-card__address {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 1.25rem;
    font-style: normal;
}

/* Card List (Kontaktdaten) */
.lbv-office-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto; /* Schiebt die Liste bei ungleichen Kartenhöhen nach unten */
    font-size: 0.85rem;
    color: #555;
}

.lbv-office-list__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.4rem;
}

.lbv-office-list__item--highlight {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

.lbv-office-list__icon {
    color: var(--color-primary, #009241);
    margin-right: 10px;
    flex-shrink: 0;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lbv-office-list__link {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.lbv-office-list__link:hover,
.lbv-office-list__link:focus {
    color: var(--color-primary, #009241);
    text-decoration: underline;
}

.lbv-office-card__worktime {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
    border-top: 1px dashed #d0d0d0;
    padding-top: 0.75rem;
}

/* Intro Text - Responsive Spalten */
.lbv-office-intro-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
    
    /* Mobile First: 1 Spalte (Standard) */
    column-count: 1;
    column-gap: 0;
}

/* Ab Tablet (768px): 2 Spalten */
@media (min-width: 768px) {
    .lbv-office-intro-text {
        column-count: 2;
        column-gap: 3rem; /* Schöner, luftiger Abstand zwischen den Spalten */
    }
}

/* Verhindert, dass Absätze unschön auseinandergerissen werden */
.lbv-office-intro-text p {
    break-inside: avoid; 
    margin-bottom: 1.5rem;
}