/* ===================================================================
   ZENTRALES STYLESHEET
   =================================================================== */

/* -------------------------------------------------------------------
   1. ALLGEMEINE STILE & TYPOGRAFIE
   ------------------------------------------------------------------- */
   
   body {
  --bs-body-bg:rgba(65, 95, 60, 1);
  --bs-body-color:rgb(85, 85, 85);
  font-size: 1rem;
}

body a {
  color: var(--as-link-color);
  --as-link-color: rgba(0, 0, 0, 1);
}

header {
  color: rgb(30, 30, 30);
}

.container.my-5 {
    margin-top: 0 !important;
}

h1, h2, h3, h4 {
color: rgba(65, 89, 59, 1);
}

.display-4,
.display-5,
h1.card-title {
    font-size: 2rem;
	color: rgba(65, 89, 59, 1);
    font-weight: 400;
}

h1.card-title {
    font-size: 2rem;
	color: #4C795E
    font-weight: 400;
}

h3.notice-header {
	font-weight: 600;
}


.h4 {
	color: rgba(65, 89, 59, 1);
	font-weight: 600;
}


.hero-slogan {
    font-size: 2.0rem;
    font-weight: 600;
    line-height: 1.2;
}

.signature {
    font-style: italic;
    text-align: right;
    font-weight: bold;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

.text-muted {
  --bs-text-opacity: 1;
  color: rgba(33, 37, 41, 0.9) !important;
}

/* -------------------------------------------------------------------
   2. NAVIGATION & MENÜS
   ------------------------------------------------------------------- */

/* Allgemeines Navigations-Styling */
.nav {
    --bs-nav-link-padding-x: 0.2rem;
    --bs-nav-link-padding-y: 0.4rem;
}

/* Kombinierte Stile für das horizontale Servicemenü */
.navigation_service .mod-menu,
.astroid-module-position.text-center .menu-module {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #e59400;
    font: 18px / 2.7em 'trebuchet ms', geneva, sans-serif;
    text-transform: none;
}

.navigation_service .mod-menu .nav-item,
.astroid-module-position.text-center .menu-module li {
    margin: 0 25px; /* Ergibt 50px Abstand zwischen den Elementen */
}

.navigation_service .mod-menu .nav-link, /* Astroid verwendet .nav-link in Menüs */
.astroid-module-position.text-center .menu-module li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0 5px;
}

.navigation_service .mod-menu .nav-link:hover,
.astroid-module-position.text-center .menu-module li a:hover {
    color: color: #4C795E; 
}
.astroid-nav .nav-link {
    color: #000000;
	font-weight: 600 !important;
}
/* Aktive Navigationslinks */
.astroid-nav .nav-link:active,
.astroid-nav .nav-link.active,
.astroid-sidebar-menu .nav-link:active,
.astroid-sidebar-menu .nav-link.active {
    background: none;
    color: #4c795e;
}

ul.nav.astroid-nav.d-none.d-lg-flex .nav-item-level-1 {
    padding: 1px 3px;
}
.astroid-nav > li > .as-menu-item{
        line-height: 1.1em;
    }

.navigation_service .mod-menu .nav-item.active .nav-link {
    background: none;
    color: #323232;
}

/* Horizontale Ausrichtung erzwingen */
ul.mod-menu.mod-list.nav.flex-column {
    flex-direction: row !important;
}


.header-right-section .align-self-center {
    align-self: flex-end !important;
}

/* Responsive Anpassung für das Servicemenü */
@media (max-width: 767.98px) {
    .navigation_service .mod-menu {
        display: block;
        line-height: 2.5em;
    }
    
    .ms-3 {
        margin-top: 6px !important;
    }
}

/* -------------------------------------------------------------------
   3. CARD-LAYOUT (HAUPT-CONTAINER FÜR INHALTE)
   ------------------------------------------------------------------- */
.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: rgba(65, 89, 59, 1);
    font-weight: 400;
}

.card-body.p-4 {
    color: #000;
    padding: 8px !important;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
}

.notice-card .card-header {
    background-color: #4C795E;
    color: white;
    font-weight: bold;
}

.mt-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
}

/* -------------------------------------------------------------------
   4. BUTTONS & LINKS
   ------------------------------------------------------------------- */
.btn-primary {
    background-color: #e59400;
    border-color: #e59400;
}

.btn-primary:hover {
    background-color: #c98200;
    border-color: #c98200;
}

.icon-link i {
    color: #e59400;
}

/* -------------------------------------------------------------------
   5. LISTEN & TABELLEN
   ------------------------------------------------------------------- */
.list-group,
.table {
    --bs-list-group-bg: #fff;
    --bs-table-bg: #fff;
}

.list-group-item {
    border: none;
    padding-left: 0;
}

.list-group-item i {
    color: #e59400;
}

.table {
    margin-top: 1rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    width: 25%;
}

.table td {
   vertical-align: middle;
}

.table td:nth-child(2) { width: 45%; }
.table td:nth-child(3) { width: 30%; }

table.table-borderless.table-sm.caption-top colgroup {
    background-color: white;
}

/* -------------------------------------------------------------------
   6. SPEZIFISCHE KOMPONENTEN
   ------------------------------------------------------------------- */

/* Hinweis-Box */
.notice-container-a {
    max-width: 600px;
    margin: 20px auto;
    border: 2px solid #000;
    background-color: #ffde54;
    padding: 20px;
    box-sizing: border-box;
}

.header-a {
    text-align: right;
    font-size: 1.5em;
    color: #4b4b4b;
    margin-bottom: 20px;
}

.header-a span {
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
}

.content-a {
    line-height: 1.5;
}

.signature-a {
    margin-top: 30px;
    font-weight: bold;
    display: block; /* Ersetzt .signature-text-a */
}

/* Kontakt- & Impressum-Listen */
.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.contact-list i {
    color: #e59400;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.impressum-dl dt {
    font-weight: 600;
    color: #343a40;
    width: 30%;
    float: left;
    clear: left;
}

.impressum-dl dd {
    margin-left: 32%;
    margin-bottom: 0.75rem;
}

.impressum-dl::after {
    content: "";
    display: table;
    clear: both;
}

/* Bilder und Badges */
.gallery-img,
.img-fit {
    width: 100%;
    object-fit: cover;
}

.gallery-img {
    height: 150px;
}

.img-fit {
    height: 100%;
    border-radius: .375rem;
}

.container-size-badge {
    display: inline-block;
    padding: 0.4em 0.7em;
    margin: 0.2em;
    font-size: 0.9rem;
    color: white;
    background-color: #6c757d;
    border-radius: 0.25rem;
}

/* ID-basierte Stile (sollten sparsam verwendet werden) */
#f-oel6e1bpp {
    background-color: #e59400;
}

#f1c-qe89el34j {
    color: #323232;
}

::selection {
  background: #39f;
  color: #000;
  text-shadow: none;
}

.astroid-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Dadurch wird der grüne Bereich "verdrängt", weil der weiße Inhaltsbereich sich bis nach unten zum Footer ausdehnt. */
#inhalt {
  flex-grow: 1;
}
