

/* === Sticky Navigation === */
.sticky-nav {
    position: fixed;
    top: 40%;
    right: calc((100vw - 1200px) / 2 - 220px); /* Zentrierte Position auf großen Bildschirmen */
    background-color: rgba(255, 255, 255, 0.6);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px var(--shadow-light);
    width: 200px; /* Breitere Navigation */
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.sticky-nav.hide {
    transform: translateX(120%);
    opacity: 0;
}

.sticky-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sticky-nav li {
    margin-bottom: 12px;
}

.sticky-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem; /* größere Schriftgröße für bessere Zugänglichkeit */
    font-weight: bold;
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sticky-nav a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* === Main Content === */

/* Willkommen-Container */
.welcome-container {
  max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff; /* Weißer Hintergrund */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Willkommens-Text */
.welcome-intro {
    text-align: justify;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Willkommen-Karte */
.welcome {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 40px;
    padding: 20px;
    background-color: #f3eeed; /* Heller Hintergrund für jedes News-Item */
	border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.welcome h2, .welcome h3 {
    margin-bottom: 10px;
}

.welcome-container h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.welcome-container h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.welcome h3 {
    font-size: 1rem;
    color: var(--primary-color);
}

.welcome p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.welcome ul {
    padding-left: 20px;
    list-style-type: disc;
}

.welcome li {
    margin-bottom: 10px;
}

/* Bilder in Willkommens-Container */
.welcome-container img {
    width: 100%;
    height: 20rem;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* === Responsive Verhalten === */

/* Für Bildschirme kleiner als 768px (Tablets und Smartphones) */
@media (max-width: 768px) {
    /* Sticky Navigation für kleinere Bildschirme */
    .sticky-nav {
        display: none; /* Sticky Navigation komplett ausblenden auf Smartphones */
    }

    /* Willkommens-Container */
    .welcome-container {
        padding: 30px 15px; /* Weniger Innenabstand */
    }

    /* Bilder anpassen */
    .welcome-container img {
        height: auto; /* Bilder passen sich der Bildschirmgröße an */
    }
}

/* Sehr kleine Bildschirme (z. B. Smartphones im Hochformat) */
@media (max-width: 480px) {
    .sticky-nav {
        display: none; /* Sticky Navigation auch auf sehr kleinen Bildschirmen ausblenden */
    }

    .welcome-container h1 {
        font-size: 2.5rem; /* Etwas kleinere Überschrift */
    }

    .welcome-container h2 {
        font-size: 1.25rem; /* Etwas kleinere Unterüberschrift */
    }

    /* Bilder weiter anpassen */
    .welcome-container img {
        height: 15rem; /* Bilder kleiner darstellen */
    }

    /* Willkommens-Text für kleine Bildschirme */
    .welcome-intro {
        font-size: 1rem; /* Kleinere Schriftgröße */
    }
}
