/* ==========================================================================
 * css/news.css - Seite "Aktuelles" und Startseiten-Block (alle Domains)
 * Akzentfarbe je Domain ueber --nw-akzent (gesetzt in aktuelles.php / index.html).
 * Alle Regeln beginnen mit .nw- - das Seitenthema (z. B. button/line-height
 * auf express) greift damit nicht hinein.
 * 03.10.2026 - Developed by Toni Sciacca - mail@tonisciacca.com
 * ========================================================================== */

.nw-bereich { --nw-akzent: #17171b; padding: 48px 16px 64px; background: #fff; color: #1f2937; font-family: inherit; }
.nw-rahmen { max-width: 1100px; margin: 0 auto; }
.nw-bereich .nw-h1, .nw-bereich .nw-h2 { font-size: 32px; line-height: 1.25; margin: 0 0 24px; font-weight: 600; color: #111827; text-transform: none; letter-spacing: 0; }
.nw-bereich .nw-h2 { font-size: 28px; }
.nw-bereich p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.nw-bereich a { color: inherit; }
.nw-zurueck a, .nw-leer a, .nw-text a { color: var(--nw-akzent); text-decoration: underline; text-underline-offset: 3px; }
.nw-datum { display: block; font-size: 14px !important; color: #6b7280; margin: 0 0 6px !important; letter-spacing: .02em; }
.nw-leer { color: #6b7280; }

/* Uebersicht + Startseiten-Block */
.nw-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.nw-karte { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.nw-karte:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.nw-karte-bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #f3f4f6; }
.nw-karte-text { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.nw-karte-titel { font-size: 19px; font-weight: 600; line-height: 1.35; color: #111827; }
.nw-karte-kurz { font-size: 15px; line-height: 1.6; color: #4b5563; flex: 1; }
.nw-mehr { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--nw-akzent); }
.nw-mehr::after { content: " \2192"; }
.nw-alle { margin-top: 28px; text-align: center; }
.nw-alle a { display: inline-block; padding: 10px 26px; border: 1px solid var(--nw-akzent); border-radius: 999px; color: var(--nw-akzent); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; }
.nw-alle a:hover { background: var(--nw-akzent); color: #fff; }

/* Einzelmeldung */
.nw-artikel { max-width: 760px; }
.nw-bild { width: 100%; height: auto; border-radius: 10px; margin: 8px 0 28px; display: block; }
.nw-text p { white-space: normal; }
.nw-text ol, .nw-text ul { margin: 0 0 18px; padding-left: 0; list-style: none; counter-reset: nw; }
.nw-text li { position: relative; padding: 10px 0 10px 46px; font-size: 17px; line-height: 1.5; border-bottom: 1px solid #f1f1f1; }
.nw-text li:last-child { border-bottom: 0; }
.nw-text ol li::before { counter-increment: nw; content: counter(nw); position: absolute; left: 0; top: 7px; width: 30px; height: 30px; border-radius: 50%; background: var(--nw-akzent); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.nw-text ul li::before { content: ""; position: absolute; left: 11px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--nw-akzent); }
.nw-knopf-zeile { margin-top: 28px !important; }
.nw-knopf { display: inline-block; padding: 13px 30px; border-radius: 999px; background: var(--nw-akzent); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 16px; line-height: 1.4; transition: transform .15s, box-shadow .15s; }
.nw-knopf:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* Kompakt (Ein-Seiter, linke Kopfspalte auf dunklem Bild) */
.nw-kompakt { margin-top: 18px; max-width: 320px; color: #fff; }
.nw-kompakt .nw-kompakt-titel { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; opacity: .85; }
.nw-kompakt .nw-kompakt-liste { list-style: none; margin: 0 0 8px; padding: 0; display: block; }
.nw-kompakt .nw-kompakt-liste li { margin: 0 0 6px; }
.nw-kompakt a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.35; }
.nw-kompakt a:hover { text-decoration: underline; }
.nw-kompakt .nw-kompakt-alle { font-size: 13px; font-weight: 600; opacity: .85; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 600px) {
    .nw-bereich { padding: 32px 16px 48px; }
    .nw-bereich .nw-h1 { font-size: 26px; }
    .nw-bereich .nw-h2 { font-size: 24px; }
    .nw-bereich p { font-size: 16px; }
}
