body {
    width: 100%;
    height: 100%;
    background-color: #efefef;
}
.wave-background {
    width: 100%;
    height: 120px;
    background: url('/fileadmin/images/wave.svg') no-repeat bottom center;
    background-size: cover;
}

.navbar.navbar-expand-lg.bw-transparent {
    background-color: rgba(255, 255, 255, 0.0);
}

.navbar-collapse.collapse.show {
    margin-top: 0.5rem;
    padding: 0 0.5rem;
    background-color: rgba(230, 230, 230, 1.0);
    z-index: 100;
}

.navbar-collapse.collapse.show ul.dropdown-menu.show {
    background-color: rgba(230, 230, 230, 1.0);
}

button.navbar-toggler {

}

.bw-text-color,
.bw-text-color a.nav-link.active,
.bw-text-color a.nav-link,
.bw-text-color a.nav-link.dropdown-toggle {
    color: #efefef;
}

.navbar-collapse.collapse.show .bw-text-color a.nav-link.active,
.navbar-collapse.collapse.show .bw-text-color a.nav-link,
.navbar-collapse.collapse.show .bw-text-color a.nav-link.dropdown-toggle,
.bw-text-color a.nav-link.dropdown-item {
    color: var(--bs-nav-link-color);
}

.bw-bg-color {
    background-color: #efefef;
}

a.bw-menu-dropdown.dropdown-item.active {
    color: var(--bs-nav-link-color); !important;
    text-decoration: none;
    background-color: #d0d0d0;
}

.nav-link.active {
    text-decoration: underline;
}

footer .footer-main {
    background-color: #1d741b;
    color: white;
}

footer .footer-item {
    padding-right: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #efefef;
    text-underline: #efefef;
}





/* --- Feinschliff Juli 2026: Breiten, Abstaende, Farben --- */
/* Hero-Bild und Fliesstext gleich breit, angenehme Zeilenlaenge */
.container-md.banner-section,
.container-md.main-section {
    max-width: 1040px;
}
.banner-section .image-embed-item {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
/* Mehr Luft zwischen Hero-Bild und Text */
.container-md.banner-section {
    margin-bottom: 3.5rem;
}
/* Lesbarkeit und Markenfarbe */
.main-section {
    line-height: 1.65;
}
.main-section h1,
.main-section h2 {
    color: #1d741b;
}
.main-section h2 {
    margin-top: 2rem;
}
.main-section li {
    margin-bottom: 0.3rem;
}

/* --- Preistabellen als Karten (Juli 2026) --- */
.main-section figure.table {
    margin: 0 0 2rem 0;
}
.main-section .table table {
    width: 100%;
    max-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}
.main-section .table table td {
    padding: 0.55rem 1rem;
    border-bottom: 1px solid #e4e8e4;
}
.main-section .table table td:nth-child(2) {
    width: 1%;
    padding: 0;
}
.main-section .table table td:nth-child(3) {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
/* Kategorie-Zeile */
.main-section .table table tr:first-child td {
    background-color: #1d741b;
    color: #ffffff;
    border-bottom: none;
}
/* dezente Zebra-Streifen */
.main-section .table table tr:nth-child(even) td {
    background-color: #f4f8f4;
}
.main-section .table table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 576px) {
    .main-section .table table td:nth-child(3) {
        white-space: normal;
    }
}

/* Hinweis-Box: Content-Elemente mit Layout 1 */
.main-section .frame-layout-1 {
    background-color: #e8f2e8;
    border-left: 5px solid #1d741b;
    padding: 1.25rem 1.5rem;
    margin: 2.5rem 0;
}
.main-section .frame-layout-1 h3 {
    color: #1d741b;
    font-size: 1.35rem;
    margin: 0;
}

/* Preistabellen ab Desktop-Breite zweispaltig */
@media (min-width: 992px) {
    .main-section .row:has(figure.table) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2.5rem;
        align-items: start;
    }
    .main-section .row:has(figure.table) > .frame:not(:has(figure.table)) {
        grid-column: 1 / -1;
    }
}

footer.footer-main .footer-col,
footer.footer-main .footer-col a {
    color: #efefef;
    line-height: 1.7;
}
