/* Reset wichtig für Fullscreen */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* verhindert Seiten-Scroll */
}

/* Fullscreen-Container: hängt sich an alle Ränder des Viewports */
.news-presentation {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: 100vh !important;
    z-index: 999999 !important; /* sehr hoch damit nichts darüber liegt */
    background: #000;
    color: #fff;
    overflow: hidden;
    display: block;
}

/* Jede Slide nimmt den kompletten Raum, kann intern scrollen */
.news-slide {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow-y: auto; /* falls der Beitrag länger ist */
    background: #000;
}

.news-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Hintergrundbild (optional) */
.news-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 1;
}

/* Inhaltsbereich oben drauf */
.news-content {
    position: relative;
    z-index: 3;
    max-width: 1800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    box-sizing: border-box;
    color: #fff;
    font-size: 4vw; /* skaliert mit Fensterbreite */
}

.news-content h1 {
    display: block;
    width: 100%;                 /* ganze Breite des Inhaltsbereichs */
    background-color: #FFA733;   /* helles Orange */
    color: #fff;                 /* weiße Schrift */
    font-weight: bold;           /* fett */
    font-style: italic;          /* kursiv */
    text-align: center;          /* Text mittig */
    padding: 0.8em 0;            /* vertikaler Abstand */
    margin: 0 0 2rem 0;          /* Abstand nach unten */
    border-radius: 12px;         /* leicht abgerundet */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* sanfter Schatten */
}

.news-full p {
    font-size: 1.5vw;
    line-height: 1.6;
}

/* Typo */
.news-content h1 { text-align: center; font-size: 2.8rem; margin-bottom: 1rem; }
.news-full { font-size: 1.15rem; line-height: 1.6; color: #fff; }

/* Optional: kleine responsive Anpassung */
@media (max-width: 800px) {
    .news-content { padding: 2rem 1rem; }
    .news-content h1 { font-size: 2rem; }
}
