* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Banner Grundstil */
.banner {
    background-image: url("../Bilder/banner.jpg");
    background-size: cover;
    background-position: center;
    height: 150px;
    position: relative;
    width: 100%;
}

/* Dunkler Overlay */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Banner Inhalt */
.banner-content {
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    height: 100%;
}

/* Title Container */
.title-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner .banner-content .title-container h1 {
    font-family: "Times New Roman", serif;
    font-size: 70px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}


/* Logo Container */
.logo-container {
    position: absolute;
    top: 0;
    left: 30px;
}

/* Logo Styles */
.banner-logo {
    height: 150px; /* Angepasst an die Banner-Höhe */
    width: auto;
    object-fit: contain;
}

/* Navigation Styles */
.navbar {
    background: lightblue;
    padding: 14px 0;
}
/* Style für den Container der Buttons */
.navbar .container .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;

}

.nav-link.btn-nav  {
    display: inline-block;
    color: black;
    text-decoration: none;
    padding: 8px 30px;
    background-color: transparent; /* Halbtransparenter Hintergrund */
    border: 2px solid black;
    border-radius: 5px; /* Abgerundete Ecken */
    white-space: nowrap; /* kein Textumbruch */
    min-width: fit-content; /*passt sich dem inhalt an */
}

.nav-link:hover {
    color: black;                    /* Textfarbe beim Hover */
    background-color: lightgray;          /* Hintergrundfarbe beim Hover */
}

/* Welcome Absatz Style */
.welcome-section {
    padding: 16px;
    text-align: center;
}
/*Überschrift Welcome*/
.welcome-section h2 {
    color: black;
    margin-bottom: 24px;
    font-size: 45px;
    font-weight: 550;
}
/*Abstand der unteren beiden Zeilen*/
.welcome-section .lead {
    color: #555;
    line-height: 1.2;
    font-size: 25px;
    font-weight: 700;
}

/* Aktuelles/News Styles */
.news-section {
    padding: 32px 50px;
}

.news-section h2 {
    margin-bottom: 32px;
    color: #333;
    text-align: center;
    font-size: 35px;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


.news-item {
    display: flex;
    flex-direction: column; /* Wichtig: Ändert die Richtung zu vertikal */
    gap: 24px;
}

.article-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.news-content {
    display: flex;
    gap: 24px;
    align-items: center;
    border-bottom: black solid 1px;
}

/* Umgekehrte News Content (Bild rechts) */
.news-content-reverse {
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    align-items: center;
    border-bottom: black solid 1px;
}

.news-right-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 400px;
}

.news-right-content-reverse {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 400px;
}

.news-right-content .article-title,
.news-right-content-reverse .article-title {
    text-align: center;  /* Änderung von left zu center */
    width: 100%;         /* Stellt sicher, dass die Überschrift die volle Breite nutzt */
    margin: 0 0 15px;  /* Fügt etwas Abstand zum Bild hinzu */
}

.news-image {
    flex: 0 0 400px;
    height: 400px;
    border: 3px solid gray;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-text {
    flex: 1;
}

.news-text p {
    font-size:26px;
    line-height: 1.6;
    color: #555;
}



/*Aufklärung und Problemfelder*/
body {
    background-color: #f0f0f0; /* Hellgrauer Hintergrund */
}

/* Papier-Effekt Container */
.paper-effect {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1),  /* weicher Schatten */
    0 0 20px rgba(0, 0, 0, 0.05);  /* zusätzlicher, weiterer Schatten */
    margin: 40px auto;                         /* Abstand oben/unten und zentriert */
    padding: 30px;                             /* Innenabstand */
    max-width: 1600px;                         /* maximale Breite */
    border-radius: 8px;                        /* leicht abgerundete Ecken */
}


.topic-section {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.topic-section:last-child {
    border-bottom: none;
}

.topic-title {
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
    border-bottom: black solid 1px;
}

.topic-content {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.topic-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border: 5px solid lightgray;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}



/* Wie kann ich helfen? */


/* Gemeinsame Hintergrund Basis */
.hintergrund-basis{
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.wald .hintergrund-basis {
    background-image: url('../Bilder/wald_hintergrund.jpg');
}

.kontakt .hintergrund-basis {
    background-image: url('../Bilder/kontakt_hintergrund.jpg');
}


.helfen{
    border: black solid 1px;
    background-color: rgba(255, 255, 255, 0.90);
}

.card {
    border: none;
    transition:transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.90); /* leicht transparentes Weiß */
}

.card:hover {
    transform: scale(1.05); /* vergrößert die Karte um 5% */
}


/* Lokale Organisationen */
.mehr-erfahren-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
}

.tierheim-trier{
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.tierheim-gasperich{
    height: 100px;
    width: 520px;
    object-fit: cover;
}

.tierheim-dudelange{
    height: 100px;
    width: 320px;
    object-fit: cover;
}

/* Organisationen Tabelle Styles */
.table {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.org-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.table td, .table th {
    padding: 20px;
    vertical-align: middle;
}

.table thead th {
    background-color: #216298;
    color: white;
    font-weight: 600;
    border: none;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(33, 98, 152, 0.1);
}

.table ul li {
    margin-bottom: 8px;
}

/* Kontakt */

.kontakt{
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid #dee2e6;
    padding: 12px;
    transition: border-color 0.2s ease-in-out;
}

.contact-form .form-control:focus {
    border-color: #216298;
    box-shadow: none;
}

.contact-form label {
    font-weight: 500;
    color: #333;
}

.btn-primary {
    background-color: #216298;
    border-color: #216298;
    min-width: 150px;
}

.btn-primary:hover {
    background-color: #184c77;
    border-color: #184c77;
}

/* Bildquellen */
.bildquelle {
    font-size: 12px;
    margin-top: 4px;
}


/* Responsive Anpassungen */
@media (max-width: 768px) {

    .row {
        flex-direction: column-reverse;
    }
}

/* Für sehr kleine Bildschirme */
@media (max-width: 768px) {
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.footer {
    bottom: 0;
    width: 100%;
    background-color: lightblue !important;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer .btn-outline-primary {
    border: 2px solid black;
    color: black;
    background-color: transparent;
    padding: 8px 30px;
}

.footer .btn-outline-primary:hover {
    background-color: lightgray;
    color: black;
    border-color: black;
}