/* Neuigkeiten: Popup auf der Startseite und Seite /neuigkeiten – Stadtfarben wie Mängel-/Vorschlags-Etiketten */
html.nk-offen, html.nk-offen body { overflow: hidden; }
.nk-popup { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: center; justify-content: center; padding: 16px; }
.nk-popup[hidden] { display: none; }
.nk-popup-hinter { position: absolute; inset: 0; background: rgba(15, 30, 45, .45); opacity: 0; transition: opacity .25s; }
.nk-popup-karte {
    position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bs-body-bg, #fff); color: var(--bs-body-color, #1f2933); border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25); padding: 22px 22px 18px;
    transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s, opacity .25s;
}
.nk-popup.nk-auf .nk-popup-hinter { opacity: 1; }
.nk-popup.nk-auf .nk-popup-karte { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nk-popup-hinter, .nk-popup-karte { transition: none; } }
.nk-popup-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: transparent; color: inherit; font-size: 18px; }
.nk-popup-x:hover { background: var(--hh-background-color-secondary, #f1f3f5); }
.nk-popup-kopf { display: flex; align-items: center; gap: 12px; margin: 0 36px 14px 0; }
.nk-popup-kopf h2 { margin: 0; font-size: 1.3em; font-weight: 800; }
.nk-popup-symbol { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center;
    justify-content: center; background: #e3edf3; color: #1f5f8b; font-size: 20px; }
.nk-popup-liste { list-style: none; margin: 0; padding: 0; }
.nk-popup-liste li { padding: 12px 0; border-top: 1px solid var(--hh-border-color, #e5e7eb); }
.nk-popup-liste li:first-child { border-top: 0; padding-top: 0; }
.nk-popup-liste h3 { font-size: 1.05em; margin: 6px 0 4px; font-weight: 700; }
.nk-popup-liste p { margin: 0 0 6px; line-height: 1.45; }
.nk-ansehen { font-weight: 700; font-size: 14px; }
/* Knöpfe bleiben beim Scrollen im Popup sichtbar (am Handy mit drei Einträgen nötig) */
.nk-popup-fuss { position: sticky; bottom: -18px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
    margin: 6px -22px -18px; padding: 12px 22px 16px; background: var(--bs-body-bg, #fff);
    border-top: 1px solid var(--hh-border-color, #e5e7eb); }
.nk-popup-fuss .btn { border-radius: 999px; padding: 6px 18px; }
[data-bs-theme="dark"] .nk-popup-symbol { background: rgba(255, 255, 255, .08); color: #7fa9c4; }

/* Etikett der Art */
.nk-art { --nk-farbe: #446e88; --nk-grund: #e3edf3; --nk-text: #2b4a5f;
    display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 999px; background: var(--nk-grund);
    color: var(--nk-text); font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.nk-art .fa { font-size: 11px; color: var(--nk-farbe); }
.nk-art-neu { --nk-farbe: #6a8f0c; --nk-grund: #eef5d9; --nk-text: #3f5606; }
.nk-art-besser { --nk-farbe: #0f7a9e; --nk-grund: #dcf0f7; --nk-text: #0a5470; }
.nk-art-behoben { --nk-farbe: #b98a00; --nk-grund: #fbf0cc; --nk-text: #6b5000; }
[data-bs-theme="dark"] .nk-art { --nk-grund: rgba(255, 255, 255, .08); --nk-text: #e6edf2; }
[data-bs-theme="dark"] .nk-art-neu { --nk-farbe: #a6cf2a; }
[data-bs-theme="dark"] .nk-art-besser { --nk-farbe: #4fb3d6; }
[data-bs-theme="dark"] .nk-art-behoben { --nk-farbe: #e0b030; }

/* Seite */
.nk-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.nk-filter a { padding: 3px 12px; border-radius: 999px; font-size: 13px; background: var(--hh-background-color-secondary, #f1f3f5);
    color: inherit; text-decoration: none; white-space: nowrap; }
.nk-filter a.aktiv { background: var(--hh-accent-color, #1f5f8b); color: #fff; }
.nk-monat { font-size: 1.05em; font-weight: 800; margin: 22px 0 4px; }
.nk-liste { list-style: none; margin: 0; padding: 0; }
.nk-eintrag { display: grid; grid-template-columns: 92px 1fr; gap: 4px 14px; padding: 12px 0;
    border-top: 1px solid var(--hh-border-color, #e5e7eb); }
.nk-eintrag:first-child { border-top: 0; }
.nk-datum { color: var(--hh-text-color-soft, #6c757d); font-size: 13px; padding-top: 2px; }
.nk-eintrag h3 { font-size: 1em; font-weight: 700; margin: 4px 0 2px; }
.nk-eintrag p { margin: 0; line-height: 1.45; }
@media (max-width: 480px) { .nk-eintrag { grid-template-columns: 1fr; } }

/* Willkommensrundgang (nutzt das Popup-Gerüst) */
.nk-rg-hallo { margin: 0 44px 10px 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--hh-text-color-soft, #6c757d); }
.nk-rg-schritt { text-align: center; padding: 4px 4px 2px; }
.nk-rg-schritt[hidden] { display: none; }
.nk-rg-schritt h2 { font-size: 1.35em; font-weight: 800; margin: 14px 0 8px; }
.nk-rg-schritt p { line-height: 1.5; margin: 0 0 14px; }
.nk-rg-bild { --nk-farbe: #446e88; --nk-grund: #e3edf3;
    width: 84px; height: 84px; margin: 4px auto 0; border-radius: 26px; display: flex; align-items: center; justify-content: center;
    background: var(--nk-grund); color: var(--nk-farbe); font-size: 40px; }
.nk-rg-bild img { width: 72px; height: 72px; border-radius: 50%; }
.nk-rg-bild-1 { --nk-grund: #dcf0f7; }
.nk-rg-bild-2 { --nk-farbe: #5e7f0a; --nk-grund: #eef5d9; }
.nk-rg-bild-3 { --nk-farbe: #9a6b00; --nk-grund: #fbf0cc; }
.nk-rg-bild-4 { --nk-farbe: #7c1922; --nk-grund: #f6e8e9; }
[data-bs-theme="dark"] .nk-rg-bild { --nk-grund: rgba(255, 255, 255, .08); --nk-farbe: #9cc0d6; }
.nk-rg-ziel { border-radius: 999px; padding: 6px 18px; font-weight: 700; margin-bottom: 6px; }
.nk-rg-fuss { align-items: center; }
.nk-rg-punkte { display: flex; gap: 6px; margin-right: auto; }
.nk-rg-punkte span { width: 8px; height: 8px; border-radius: 50%; background: var(--hh-border-color, #d6dbe0); transition: width .2s; }
.nk-rg-punkte span.aktiv { width: 22px; border-radius: 4px; background: var(--hh-accent-color, #446e88); }
.nk-rg-fuss [hidden] { display: none !important; }

/* Hilfe-Seiten (/hilfe/app, /hilfe/regeln) */
.hl-seite h1 { font-size: 1.5em; font-weight: 800; margin: 14px 0 6px; }
.hl-seite h2 { font-size: 1.15em; font-weight: 800; margin: 26px 0 10px; scroll-margin-top: 80px; }
.hl-seite h2 .fa { color: var(--hh-accent-color, #446e88); width: 1.3em; }
.hl-seite section { scroll-margin-top: 80px; }
.hl-seite p, .hl-seite li, .hl-seite dd { line-height: 1.55; }
.hl-intro { font-size: 1.05em; color: var(--hh-text-color-soft, #5a6268); }
.hl-sprung { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.hl-sprung a { padding: 3px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--hh-border-color, #d6dbe0);
    color: inherit; text-decoration: none; white-space: nowrap; }
.hl-sprung a:hover { background: var(--hh-background-color-secondary, #f1f3f5); }
.hl-schritte { list-style: none; counter-reset: hl; margin: 0; padding: 0; }
.hl-schritte li { counter-increment: hl; position: relative; padding: 0 0 12px 42px; }
.hl-schritte li::before { content: counter(hl); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--hh-accent-color, #446e88); color: #fff; font-weight: 800; text-align: center; line-height: 28px; }
.hl-liste { padding-left: 20px; }
.hl-liste li { margin-bottom: 6px; }
.hl-feld { display: inline-block; border: 1.5px solid var(--hh-accent-color, #446e88); border-radius: 8px; padding: 0 8px;
    font-weight: 700; white-space: nowrap; }
.hl-hinweis { font-size: 13.5px; color: var(--hh-text-color-soft, #5a6268); background: var(--hh-background-color-secondary, #f1f3f5);
    border-radius: 12px; padding: 10px 14px; }
.hl-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.hl-karten li { border: 1px solid var(--hh-border-color, #e5e7eb); border-radius: 14px; padding: 12px 14px; }
.hl-karten b { display: block; margin-bottom: 3px; }
.hl-karten a { display: inline-block; margin-top: 4px; font-weight: 700; }
.hl-fragen dt { font-weight: 700; margin-top: 12px; }
.hl-fragen dd { margin: 2px 0 0; }
.hl-regeln { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.hl-regeln li { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--hh-border-color, #e5e7eb); border-radius: 14px; padding: 12px 14px; }
.hl-regeln li > .fa { flex: 0 0 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: #e3edf3; color: #1f5f8b; font-size: 19px; }
.hl-regeln li:nth-child(3n+2) > .fa { background: #eef5d9; color: #4d6a08; }
.hl-regeln li:nth-child(3n) > .fa { background: #f6e8e9; color: #7c1922; }
.hl-regeln b, .hl-karten b, .hl-schritte b { font-weight: 800; }
.hl-regeln b { display: block; margin-bottom: 2px; }
[data-bs-theme="dark"] .hl-regeln li > .fa { background: rgba(255, 255, 255, .08) !important; color: #9cc0d6 !important; }

/* Leichte Sprache: größere Schrift, viel Zeilenabstand, ein Satz je Zeile, Symbole vor den Abschnitten */
.hl-leicht { font-size: 1.15em; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; } /* Leichte Sprache: keine Silbentrennung am Zeilenende */
.hl-leicht p, .hl-leicht li { line-height: 1.75; }
.hl-leicht h2 { margin-top: 28px; }
.hl-leicht-liste { list-style: none; margin: 0; padding: 0; }
.hl-leicht-liste li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hh-border-color, #e5e7eb); }
.hl-leicht-liste li > .fa { font-size: 28px; width: 36px; text-align: center; color: var(--hh-accent-color, #446e88); margin-top: 4px; flex: none; }
