/* TYPO */

* {
    font-family: "Oswald", "sans-serif";
    font-size: 1.08rem;
}

.h1, h1, .h2, h2, .h3, h3, .h4, h4, .h5, h5, .h6, h6 {
    color: var(--bs-secondary);
}

hr { color: #e95a10;} 

.nav-item:hover, .nav-item:active, .nav-link:hover, .nav-link:active  {
    color: var(--bs-secondary) !important;
}

.dropdown-item:hover, .dropdown-link:hover {
    color: var(--bs-secondary) !important;
    background-color: white !important;
}

.dropdown-item.active, .dropdown-link.active {
    color: var(--bs-secondary) !important;
    background-color: white !important;
}

/* Logo im Mobile Nav */
.offcanvas-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.offcanvas-header {
    background-image: url("https://typo3.dawesys.de/fileadmin/szrenewablede/logo.png");
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto 60px; /* Höhe vom Logo */
    margin-left: 30px; 
    margin-top: 0.5rem;         
}

#mobileNav hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.offcanvas-header .button-close {
    color: var(--bs-primary);
}
/* Kopfbildcarousels */

/* Allgemeine Carousels ohne Overlay */
.dws-contentelement-carousel {
    width: 100vw;
    overflow: hidden;
    margin-bottom: 0; /* verhindert unnötige Abstände */
}

.dws-contentelement-carousel .carousel-inner,
.dws-contentelement-carousel .carousel-item {
    height: 60vh; /* Standard Desktop */
}

/* Bilder */
.dws-contentelement-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Tablet 768px – 1199px */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .dws-contentelement-carousel .carousel-inner,
    .dws-contentelement-carousel .carousel-item {
        height: 50vh; /* reduzierte Höhe für Tablet */
    }
}

/* Mobile < 768px */
@media screen and (max-width: 767px) {
    .dws-contentelement-carousel .carousel-inner,
    .dws-contentelement-carousel .carousel-item {
        height: 40vh; /* Mobile Höhe */
    }
}

.card-header i {
    display: inline-flex;  /* wichtig für Flexbox-Zentrierung */
    align-items: center;   /* vertikal innerhalb der Zeile zentrieren */
}

.card-header p {
    font-size: 1.8375rem; /* Standardgröße von h3 in den meisten Browsern */
    font-weight: bold;   /* Optional: gleiche Gewichtung wie h3 */
    line-height: 1.2;   /* Optional: passende Zeilenhöhe */
    margin: 0;
    display: flex;
    align-items: center;   /* damit Text und Icon auf gleicher Höhe bleiben */
    gap: 0.5rem;          /* Abstand zwischen Icon und Text */
}

.card-header {
    display: flex;           /* aktiviert Flexbox */
    align-items: center;     /* vertikal zentriert */
    padding-top: 1rem;    
    padding-bottom: 1rem;

}

