body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    background-color: #f8f8f8;
}

h1 {
    color: #2c7873;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h1:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #2c7873, #6fb98f);
    border-radius: 2px;
}

h2 {
    color: #2c7873;
    border-bottom: 2px solid #6fb98f;
    padding-bottom: 10px;
    margin-top: 50px;
    font-size: 1.8rem;
}

.organizations {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Drei Karten pro Zeile auf Desktop */
    gap: 30px; /* Abstand zwischen den Karten */
    margin-top: 30px;
}

.org-card {
    border-radius: 12px;
    padding: 25px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 5px solid #6fb98f;
    position: relative;
    overflow: hidden;
    width: 100%; 
    box-sizing: border-box;
}

.org-card p {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    color: #333;
}

.org-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 120, 115, 0.05) 0%, rgba(111, 185, 143, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.org-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.org-card:hover:before {
    opacity: 1;
}

.org-card h3 {
    color: #2c7873;
    margin-top: 0;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.org-card a {
    display: inline-block;
    background: linear-gradient(135deg, #2c7873 0%, #6fb98f 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.org-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    position: relative;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.intro:before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -15px;
    left: 20px;
    color: rgba(111, 185, 143, 0.2);
    font-family: Georgia, serif;
}

.intro:after {
    content: '"';
    font-size: 5rem;
    position: absolute;
    bottom: -60px;
    right: 20px;
    color: rgba(111, 185, 143, 0.2);
    font-family: Georgia, serif;
}

.section-header {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-header:before, .section-header:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.section-header:before {
    margin-right: 20px;
}

.section-header:after {
    margin-left: 20px;
}

.help-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #6fb98f;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

/* Anpassungen für Tablets */
@media (max-width: 1024px) {
    .organizations {
        grid-template-columns: repeat(2, 1fr); /* Auf Tablets 2 Karten pro Zeile */
        gap: 40px; /* Abstand verringern */
    }
}

/* Anpassungen für mobile Geräte */
@media (max-width: 768px) {
    .organizations {
        grid-template-columns: 1fr; /* Auf mobilen Geräten nur eine Karte pro Zeile */
        gap: 20px; /* Abstand weiter verringern */
    }
    .intro {
        padding: 20px;
        font-size: 1.1rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .org-card {
        padding: 15px; /* Weniger Padding auf mobilen Geräten */
    }
}


/* Footer-Stile */
footer {
    background-color: #2a2a2a; /* Dunkler Hintergrund */
    color: #fff; /* Weiße Schriftfarbe für guten Kontrast */
    text-align: center; /* Zentriert den Text */
    padding: 20px 0; /* Etwas Abstand oben und unten */
    font-family: Arial, sans-serif; /* Eine moderne, gut lesbare Schrift */
    font-size: 14px; /* Kleinere Schriftgröße für den Footer */
    border-top: 1px solid #444; /* Dünne Trennlinie oben */
}

footer .copyright {
    margin: 0; /* Verhindert unnötige Abstände */
}

footer .copyright span {
    font-weight: bold; /* Macht das Jahr fett, um es hervorzuheben */
}

footer a {
    color: #2596be; /* Passende Farbe für Links */
    text-decoration: none; /* Entfernt die Unterstreichung von Links */
}

footer a:hover {
    text-decoration: underline; /* Unterstreicht den Link, wenn er überfahren wird */
}

/* Style für den Top-Button */
.top-button {
    position: fixed; /* Fixiert den Button immer sichtbar */
    bottom: 20px; /* Abstand von unten */
    right: 20px; /* Abstand von rechts */
    background-color: #6fb98f; /* Passende Hintergrundfarbe */
    color: white; /* Weiße Schriftfarbe */
    border: none; /* Entfernt den Standardrahmen */
    border-radius: 50%; /* Macht den Button rund */
    padding: 15px; /* Polsterung für besseren Klickbereich */
    font-size: 1.5rem; /* Schriftgröße */
    cursor: pointer; /* Zeigt einen Zeiger-Cursor beim Überfahren */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schattierung für Tiefe */
    transition: background-color 0.3s ease, transform 0.3s ease; /* sanfte Übergänge */
    z-index: 999; /* Stellt sicher, dass der Button immer sichtbar ist */
}

/* Hover-Effekt */
.top-button:hover {
    background-color: #2c7873; /* Dunklerer Grünton bei Hover */
    transform: translateY(-5px); /* Hebt den Button leicht an */
}

/* Responsive Anpassung: Button bleibt immer sichtbar, aber kleiner auf mobilen Geräten */
@media (max-width: 768px) {
    .top-button {
        padding: 10px; /* Kleinere Polsterung auf mobilen Geräten */
        font-size: 1.2rem; /* Kleinere Schriftgröße */
    }
}

/* Stil für den Absatz unter der Einführung (Hinweis: kein Eintrag) */
.contact-info-text {
    margin-top: 30px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

/* Stile für den Button */
.contact-info {
    text-align: center;
    margin-top: 30px;
}

.contact-button {
    background-color: #6fb98f;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
}

.contact-button:hover {
    background-color: #4a9f7b;
    transform: translateY(-3px);
}

.contact-button:focus {
    outline: none;
}

/* Hauptnavigation Menue */
.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    margin-bottom: 30px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2596be;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo svg {
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    margin: 0 5px;
}

.nav-menu li a {
    display: block;
    padding: 20px 15px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #2c7873;
}

/* Hamburger-Menü für mobile Geräte */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2c7873;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .nav-menu {
        font-size: 0.85rem;
    }
    
    .nav-menu li a {
        padding: 20px 10px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 400px;
    }
    
    .nav-menu li {
        margin: 0;
        border-top: 1px solid #f0f0f0;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
    }
    
    /* Animierte Hamburger-Menü-Transformation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hintergrundbild */ 
.hero-banner {
    width: 100%;
    max-height: 300px; /* Anpassbar je nach Design */
    overflow: hidden; 
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}
