/* NovaCMS – Boxen
   ------------------------------------------------------------------
   Das Aussehen aller Boxen im Frontend: Panel mit abgerundeten Ecken und
   einem Titelschild, das mittig auf dem oberen Rand sitzt.

   Die Farben kommen aus dem installierten Theme. Gesucht wird der Reihe
   nach nach den Variablen der Radio-Themes (--rs-…), denen des
   Standard-Themes (--…) und zuletzt einem neutralen Wert. Ein selbst
   gebautes Theme braucht deshalb keine bestimmten Variablennamen: Ohne
   Treffer erbt die Schrift ihre Farbe, Flächen bleiben durchsichtig und
   Linien sind ein neutrales Grau.

   Diese Datei wird nach dem Theme geladen und vor dem eigenen CSS aus
   „Design → Eigenes CSS" – eigene Regeln haben also weiterhin Vorrang.
   ------------------------------------------------------------------ */

.nova-box {
    --nb-surface:  var(--rs-surface, var(--surface, transparent));
    --nb-surface-2: var(--rs-surface-2, var(--surface-2, rgba(128, 128, 128, .10)));
    --nb-frame:    var(--rs-frame, var(--nb-surface));
    --nb-line:     var(--rs-line, var(--line, rgba(128, 128, 128, .30)));
    --nb-line-soft: var(--rs-line-soft, rgba(128, 128, 128, .18));
    --nb-text:     var(--rs-text, var(--text, inherit));
    --nb-soft:     var(--rs-text-soft, var(--text-soft, rgba(128, 128, 128, .95)));
    --nb-accent:   var(--rs-accent, var(--accent, #3b6fff));
    --nb-radius:   var(--rs-radius-lg, var(--radius, 14px));
    --nb-radius-sm: var(--rs-radius, var(--radius-sm, 9px));
    --nb-shadow:   var(--rs-shadow-sm, var(--shadow, 0 10px 28px rgba(0, 0, 0, .14)));

    --nb-pill-bg: var(--rs-surface, var(--surface, rgba(128, 128, 128, .22)));

    --nb-open:  #2fbf71;
    --nb-taken: #e0544a;

    position: relative;
    margin-top: 14px;
    padding: 26px 16px 16px;
    border: 1px solid var(--nb-line);
    border-radius: var(--nb-radius);
    background-color: var(--nb-surface);
    background-image: var(--rs-img-box-body, none);
    background-repeat: var(--rs-img-box-body-repeat, no-repeat);
    background-position: var(--rs-img-box-body-position, bottom center);
    background-size: var(--rs-img-box-body-size, 100% 100%);
    box-shadow: var(--nb-shadow);
    color: var(--nb-text);
    overflow: visible;
}

/* Die erste Box einer Spalte braucht oben keinen zusätzlichen Abstand,
   das Titelschild darf trotzdem überstehen. */
.nova-sidebar > .nova-box:first-child,
.nova-boxes > .nova-box:first-child { margin-top: 14px; }

/* ------------------------------------------------------------ Titelschild */

.nova-box-title {
    display: block;
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1;
    background: none;
    border: 0;
    font-size: inherit;
}

/* Dekoration älterer Themes vor dem Titel entfällt – das Schild steht für sich. */
.nova-box-title::before,
.nova-box-title::after { content: none; }

.nova-box-title > span {
    display: inline-block;
    max-width: 100%;
    padding: 7px 18px;
    border: 1px solid var(--nb-line);
    border-radius: 999px;
    background: var(--nb-pill-bg);
    color: var(--nb-accent);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .10);
}

/* Boxen ohne Titel brauchen den Platz oben nicht. */
.nova-box.is-untitled { padding-top: 16px; margin-top: 0; }

/* Der Innenabstand kommt von der Box – so sitzt der Inhalt in jedem Theme gleich. */
.nova-box-body { padding: 0; }
.nova-box-body > *:first-child { margin-top: 0; }
.nova-box-body > *:last-child { margin-bottom: 0; }

/* ------------------------------------------------------- Zeilen mit Wert */

.nova-box-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nova-box-rows > li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 2px;
    font-size: .9rem;
}

.nova-box-rows > li + li { border-top: 1px solid var(--nb-line-soft); }

.nova-box-rows .nova-box-label {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nb-text);
}

.nova-box-rows .nova-box-value {
    flex: 0 0 auto;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.nova-box-rows > li.is-soft .nova-box-label,
.nova-box-rows > li.is-soft .nova-box-value { color: var(--nb-soft); font-weight: 600; }

.nova-box-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: var(--nb-accent);
    opacity: .9;
}

/* Gleiches Aussehen für den alten Besucherzähler */
.nova-stats-box {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nova-stats-box > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 2px;
    font-size: .9rem;
}

.nova-stats-box > li + li { border-top: 1px solid var(--nb-line-soft); }
.nova-stats-box strong { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- Listen */

.nova-box-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nova-box-list > li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: .92rem;
}

.nova-box-list > li::before {
    content: "";
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nb-accent);
    transform: translateY(-2px);
}

.nova-box-list a { color: var(--nb-accent); text-decoration: none; }
.nova-box-list a:hover { text-decoration: underline; }

.nova-box-note {
    margin: 10px 0 0;
    font-size: .9rem;
    color: var(--nb-soft);
}

.nova-box-note strong,
.nova-box-note a { color: var(--nb-accent); font-weight: 600; text-decoration: none; }
.nova-box-note a:hover { text-decoration: underline; }

.nova-box-empty {
    margin: 8px 0 0;
    font-size: .9rem;
    color: var(--nb-soft);
}

/* --------------------------------------------------- Link am Boxenfuß */

.nova-box-more {
    display: block;
    margin: 14px 0 0;
    text-align: center;
    color: var(--nb-accent);
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
}

.nova-box-more:hover { text-decoration: underline; }

/* --------------------------------------------------------- Wir suchen */

.nova-team {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nova-team > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
}

.nova-team-post {
    flex: 1 1 auto;
    min-width: 40%;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
}

.nova-pill {
    flex: 0 0 auto;
    padding: 4px 12px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.nova-pill-open { color: var(--nb-open); }
.nova-pill-taken { color: var(--nb-taken); }

/* ------------------------------------------------ Menüs und Seitenlisten */

.nova-box .nova-menu,
.nova-box .nova-pagelist {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ------------------------------------------------------------- Formulare */

.nova-box .nova-login-form,
.nova-box .nova-search-form { gap: 9px; }

.nova-box .nova-btn { width: 100%; }

/* In schmalen Spalten rutscht die Plakette unter den Posten. */
@media (max-width: 520px) {
    .nova-box-title > span { letter-spacing: .06em; }
}

/* ------------------------------------------------------ Besucherzähler */

.nova-stats { display: flex; flex-direction: column; gap: 12px; font-size: .92rem; }

.nova-stats-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.nova-stats-head {
    color: var(--nb-soft);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Stufenkurve der Woche */
.nova-stats-plot {
    position: relative;
    height: 100px;
    margin: 14px 0 0;
    color: var(--nb-accent);
}

.nova-stats-band {
    position: absolute;
    top: -14px;
    bottom: -30px;
    width: calc(100% / 7);
    border-radius: 10px;
    background: rgba(128, 128, 128, .10);
    background: color-mix(in srgb, var(--nb-accent) 11%, transparent);
}

.nova-stats-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100px;
    overflow: visible;
}

.nova-stats-line .nova-stats-base { opacity: .22; color: var(--nb-soft); }
.nova-stats-line .nova-stats-rest { opacity: .45; }
.nova-stats-line .nova-stats-stroke { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }

.nova-stats-val {
    position: absolute;
    transform: translate(-50%, calc(-100% - 6px));
    padding: 2px 5px;
    border-radius: 6px;
    color: var(--nb-soft);
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: default;
}

.nova-stats-val.is-today {
    background: var(--nb-accent);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

.nova-stats-days {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-top: -2px;
    text-align: center;
    color: var(--nb-soft);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.nova-stats-days .is-today { color: var(--nb-accent); }
.nova-stats-days .is-future { opacity: .45; }

/* Heute / Gestern als Tabelle */
.nova-stats-tablewrap {
    margin-top: 6px;
    border: 1px solid var(--nb-line-soft);
    border-radius: var(--nb-radius-sm);
    background: var(--nb-surface-2);
    overflow: hidden;
}

.nova-box table.nova-stats-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    table-layout: fixed;
    background: none !important;
    font-size: .86rem;
    font-variant-numeric: tabular-nums;
}

.nova-box table.nova-stats-table th,
.nova-box table.nova-stats-table td {
    padding: 9px 12px !important;
    border: 0 !important;
    background: none !important;
    vertical-align: middle;
    line-height: 1.3;
}

.nova-box table.nova-stats-table thead th {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--nb-line-soft) !important;
    background: rgba(128, 128, 128, .08) !important;
    color: var(--nb-soft) !important;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: right;
    text-transform: uppercase;
}

.nova-box table.nova-stats-table thead th:first-child { width: 40%; text-align: left; }

.nova-box table.nova-stats-table tbody tr + tr th,
.nova-box table.nova-stats-table tbody tr + tr td { border-top: 1px solid var(--nb-line-soft) !important; }

.nova-box table.nova-stats-table tbody th {
    color: var(--nb-text) !important;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.nova-box table.nova-stats-table tbody td {
    color: var(--nb-text) !important;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.nova-box table.nova-stats-table tbody tr.is-today th { color: var(--nb-accent) !important; }

.nova-stats-table .nova-stats-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--nb-accent);
    vertical-align: middle;
}

.nova-stats-table .nova-stats-dot.is-soft { background: var(--nb-soft); opacity: .6; }

.nova-stats-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Besucher letzte Woche / gesamt */
.nova-stats-totals {
    display: flex;
    flex-direction: column;
    border-radius: var(--nb-radius-sm);
    background: rgba(128, 128, 128, .12);
    background: linear-gradient(90deg, color-mix(in srgb, var(--nb-accent) 18%, transparent), color-mix(in srgb, var(--nb-accent) 4%, transparent));
    overflow: hidden;
}

.nova-stats-total {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.nova-stats-total + .nova-stats-total { border-top: 1px solid var(--nb-line-soft); }

.nova-stats-total-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--nb-accent);
}

.nova-stats-total.is-week .nova-stats-total-icon {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--nb-accent);
}

.nova-stats-total-icon .nova-box-icon { color: #fff; opacity: 1; }
.nova-stats-total.is-week .nova-stats-total-icon .nova-box-icon { color: var(--nb-accent); }

.nova-stats-total-label { flex: 1 1 auto; min-width: 0; color: var(--nb-text); font-size: .84rem; font-weight: 600; }

.nova-stats-total strong {
    color: var(--nb-accent);
    font-size: 1.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.nova-stats-total.is-week strong { color: var(--nb-text); font-size: 1.05rem; }

/* Knopf */
.nova-box a.nova-stats-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--nb-line);
    border-radius: var(--nb-radius-sm);
    background: transparent;
    color: var(--nb-text) !important;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.nova-box a.nova-stats-btn > span { flex: 1 1 auto; }
.nova-stats-btn .nova-box-icon { width: 15px; height: 15px; flex-basis: 15px; }
.nova-stats-arrow { flex: 0 0 auto; color: var(--nb-accent); transition: transform .15s ease; }

.nova-box a.nova-stats-btn:hover {
    border-color: var(--nb-accent);
    background: rgba(128, 128, 128, .10);
    background: color-mix(in srgb, var(--nb-accent) 10%, transparent);
}

.nova-box a.nova-stats-btn:hover .nova-stats-arrow { transform: translateX(3px); }

/* Sehr schmale Spalten */
@media (max-width: 300px) {
    .nova-box table.nova-stats-table th,
    .nova-box table.nova-stats-table td { padding-left: 9px !important; padding-right: 9px !important; }
}

/* ------------------------------------------------- Seite „Statistik“ */

.nova-statpage { display: flex; flex-direction: column; gap: 26px; }
.nova-statpage h2 { margin: 0 0 12px; font-size: 1.15rem; }

.nova-statpage-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.nova-statpage-tile {
    padding: 14px 16px;
    border: 1px solid var(--rs-line, var(--line, rgba(128, 128, 128, .3)));
    border-radius: 12px;
    background: var(--rs-surface-2, var(--surface-2, rgba(128, 128, 128, .08)));
}

.nova-statpage-tile span { display: block; font-size: .8rem; opacity: .75; }
.nova-statpage-tile strong {
    display: block;
    margin-top: 4px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--rs-accent, var(--accent, #3b6fff));
    font-variant-numeric: tabular-nums;
}
.nova-statpage-tile small { display: block; margin-top: 2px; font-size: .78rem; opacity: .75; }

.nova-statpage-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 180px;
    padding: 8px 0 0;
    border-bottom: 1px solid var(--rs-line, var(--line, rgba(128, 128, 128, .3)));
}

.nova-statpage-bars > span {
    position: relative;
    flex: 1 1 0;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: var(--rs-accent, var(--accent, #3b6fff));
    opacity: .85;
}

.nova-statpage-bars > span:hover { opacity: 1; }
.nova-statpage-bars > span.is-weekend { opacity: .6; }

.nova-statpage-axis {
    display: flex;
    gap: 3px;
    margin-top: 6px;
    font-size: .7rem;
    opacity: .7;
}

.nova-statpage-axis > span { flex: 1 1 0; text-align: center; overflow: hidden; white-space: nowrap; }

.nova-statpage table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.nova-statpage th,
.nova-statpage td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--rs-line, var(--line, rgba(128, 128, 128, .25)));
    text-align: left;
}
.nova-statpage td.num, .nova-statpage th.num { text-align: right; white-space: nowrap; }

.nova-statpage-meter {
    display: block;
    height: 6px;
    margin-top: 5px;
    border-radius: 6px;
    background: rgba(128, 128, 128, .18);
    overflow: hidden;
}
.nova-statpage-meter > i {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: var(--rs-accent, var(--accent, #3b6fff));
}

.nova-statpage-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.nova-statpage-note { margin: 0; font-size: .82rem; opacity: .7; }

@media (max-width: 560px) {
    .nova-statpage-bars { height: 130px; gap: 2px; }
    .nova-statpage-axis > span:nth-child(odd) { visibility: hidden; }
}

/* --------------------------------------------------------- Alexa-Skill */

.nova-alexa {
    --nova-alexa-btn: #f9c02e;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.nova-alexa-logo {
    position: relative;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin: 2px 0 10px;
    padding: 6px;
    border-radius: 50%;
    background: #fff;
    color: var(--nb-accent);
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28));
}

/* Die Spitze der Sprechblase unten links */
.nova-alexa-logo::before {
    content: "";
    position: absolute;
    left: 4px;
    bottom: -9px;
    width: 34px;
    height: 34px;
    background: #fff;
    clip-path: polygon(0 100%, 26% 0, 100% 52%);
}

.nova-box .nova-alexa-logo img {
    position: relative;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.nova-alexa-logo svg { position: relative; }

.nova-box .nova-alexa-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    color: var(--nb-text);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
}

.nova-alexa-title strong { color: var(--nb-accent); font-weight: 800; }

.nova-box .nova-alexa-say,
.nova-box .nova-alexa-or {
    margin: 4px 0 0;
    color: var(--nb-soft);
    font-size: .9rem;
    line-height: 1.4;
}

.nova-box .nova-alexa-or { margin: 0; font-size: .85rem; }

.nova-box .nova-alexa-phrase {
    align-self: stretch;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--nb-line-soft);
    border-radius: var(--nb-radius-sm);
    background: var(--nb-surface-2);
    color: var(--nb-soft);
    font-size: .9rem;
    font-style: italic;
    line-height: 1.4;
}

.nova-box .nova-alexa a.nova-alexa-btn {
    display: inline-flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 0;
    padding: 11px 14px;
    border-radius: var(--nb-radius-sm);
    background: var(--nova-alexa-btn) !important;
    color: #16181d !important;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 8px 18px -10px var(--nova-alexa-btn);
    transition: filter .15s ease, transform .15s ease;
}

.nova-box .nova-alexa a.nova-alexa-btn:hover { filter: brightness(1.07); }
.nova-box .nova-alexa a.nova-alexa-btn:active { transform: translateY(1px); }

/* ---------------------------------------- Folge uns: Bilder mit Links */

.nova-box .nova-links {
    display: grid;
    grid-template-columns: repeat(var(--nova-links-cols, 2), minmax(0, 1fr));
    gap: 18px 10px;
    margin: 0;
    padding: 4px 0 0;
    list-style: none;
}

.nova-box .nova-links > li { margin: 0; padding: 0; list-style: none; min-width: 0; }
.nova-box .nova-links > li::before, .nova-box .nova-links > li::marker { content: none; }

.nova-box .nova-links a,
.nova-links-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--nb-soft) !important;
    text-align: center;
    text-decoration: none !important;
}

.nova-links-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: var(--nova-links-size, 80px);
    max-width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--nova-links-radius, 14%);
    background: var(--nb-surface-2);
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .55);
    transition: transform .18s ease, box-shadow .18s ease;
}

.nova-box .nova-links-icon img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
}

.nova-links-letter { color: var(--nb-accent); font-size: 1.6rem; font-weight: 800; }

.nova-links-label {
    max-width: 100%;
    overflow: hidden;
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nova-box .nova-links a:hover .nova-links-icon,
.nova-box .nova-links a:focus-visible .nova-links-icon {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .6), 0 0 0 2px var(--nb-accent);
}

.nova-box .nova-links a:hover .nova-links-label { color: var(--nb-text); }

@media (prefers-reduced-motion: reduce) {
    .nova-links-icon, .nova-box .nova-alexa a.nova-alexa-btn { transition: none; }
}

/* ------------------------------------------------------------------
   Box „Hinweise" – aufklappbare Punkte
   ------------------------------------------------------------------ */
.nova-notices { display: flex; flex-direction: column; gap: 14px; color: var(--nb-text); text-align: left; }
.nova-notices *, .nova-news * { box-sizing: border-box; }

.nova-box .nova-notices-head,
.nova-box .nova-news-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: var(--nb-text);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
}

.nova-notices-head-ico, .nova-news-head-ico { flex: 0 0 auto; color: var(--nb-accent); }

.nova-notices-list { display: flex; flex-direction: column; gap: 10px; }

.nova-box .nova-notice {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--nb-line-soft);
    border-radius: var(--nb-radius-sm);
    background: var(--nb-surface-2);
}

.nova-box .nova-notice > summary.nova-notice-toggle {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 15px 16px;
    color: var(--nb-text);
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: background-color .15s ease;
}

.nova-box .nova-notice > summary.nova-notice-toggle::-webkit-details-marker { display: none; }
.nova-box .nova-notice > summary.nova-notice-toggle::marker { content: ""; }
.nova-box .nova-notice > summary.nova-notice-toggle::before,
.nova-box .nova-notice > summary.nova-notice-toggle::after { content: none; }
.nova-box .nova-notice > summary.nova-notice-toggle:hover { background: rgba(128, 128, 128, .08); }
.nova-box .nova-notice > summary.nova-notice-toggle:focus-visible { outline: 2px solid var(--nb-accent); outline-offset: -2px; }

.nova-notice-ico { flex: 0 0 auto; color: var(--nb-accent); }
.nova-notice-title { flex: 1 1 auto; min-width: 0; }
.nova-notice-chev { flex: 0 0 auto; color: var(--nb-soft); transition: transform .2s ease; }
.nova-notice[open] > summary .nova-notice-chev { transform: rotate(180deg); color: var(--nb-text); }

.nova-notice-body { padding: 0 16px 16px; color: var(--nb-text); font-size: .9rem; line-height: 1.6; animation: nova-notice-auf .2s ease; }
.nova-box .nova-notice-body p { margin: 0 0 .7em; color: inherit; }
.nova-box .nova-notice-body p:last-child { margin-bottom: 0; }
.nova-box .nova-notice-body strong { color: var(--nb-text); font-weight: 700; }
.nova-box .nova-notice-body a { color: var(--nb-accent); text-decoration: underline; }

@keyframes nova-notice-auf { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.nova-notice-alert { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--nb-radius-sm); }
.nova-notice-alert > div { min-width: 0; }
.nova-notice-alert-ico { flex: 0 0 auto; }
.nova-notice-alert.is-warning { background: #f9c02e; color: #1d1a10; }
.nova-notice-alert.is-danger { background: #e0544a; color: #fff; }
.nova-notice-alert.is-info { background: #3b8cf0; color: #fff; }
.nova-box .nova-notice-alert strong, .nova-box .nova-notice-alert a { color: inherit; }

.nova-notices-foot { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-top: 4px; text-align: right; }
.nova-notices-foot span { color: var(--nb-text); font-size: .88rem; font-weight: 600; }
.nova-notices-foot strong { color: var(--nb-accent); font-size: 1.15rem; font-style: italic; font-weight: 800; }

/* ------------------------------------------------------------------
   Box „News-Ticker" – Reiter je Kategorie
   ------------------------------------------------------------------ */
.nova-news { --nova-news-height: 480px; container-type: inline-size; display: flex; flex-direction: column; gap: 14px; color: var(--nb-text); text-align: left; }

.nova-news-tabs {
    display: flex;
    gap: 2px;
    margin: 0 0 -15px;
    padding: 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nova-news-tabs::-webkit-scrollbar { display: none; }

.nova-news .nova-news-tabs button.nova-news-tab.nova-news-tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid transparent !important;
    border-bottom: 0 !important;
    border-radius: var(--nb-radius-sm) var(--nb-radius-sm) 0 0 !important;
    background: transparent !important;
    color: var(--nb-soft) !important;
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none !important;
    cursor: pointer;
    transition: color .15s ease;
}

.nova-news .nova-news-tabs button.nova-news-tab.nova-news-tab:hover { background: transparent !important; color: var(--nb-text) !important; }

.nova-news .nova-news-tabs button.nova-news-tab.nova-news-tab.is-active {
    position: relative;
    z-index: 1;
    border-color: var(--nb-line-soft) !important;
    background: var(--nb-frame) !important;
    color: var(--nb-accent) !important;
    font-weight: 800;
}

.nova-news-panels {
    border: 1px solid var(--nb-line-soft);
    border-radius: var(--nb-radius-sm);
    background: rgba(128, 128, 128, .05);
}

.nova-news-panel {
    max-height: var(--nova-news-height);
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.nova-news-panel[hidden] { display: none !important; }

/* Laufband: von unten nach oben, ohne Rollbalken */
.nova-news-panel.is-ticking {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.nova-news-run { will-change: transform; }
.nova-news-run > .nova-news-list + .nova-news-list { margin-top: 10px; }

.nova-box .nova-news-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nova-box .nova-news-list > li { margin: 0; padding: 0; list-style: none; }
.nova-box .nova-news-list > li::before, .nova-box .nova-news-list > li::marker { content: none; }

.nova-box .nova-news-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border: 1px solid var(--nb-line-soft);
    border-radius: var(--nb-radius-sm);
    background: var(--nb-surface-2);
    color: var(--nb-text);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.nova-box a.nova-news-item:hover { border-color: var(--nb-accent); transform: translateY(-1px); text-decoration: none; }

.nova-news-img {
    position: relative;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(128, 128, 128, .15);
}

.nova-news-img:empty::after, .nova-news-img.is-broken::after {
    content: "";
    position: absolute;
    inset: 0;
    background: center / 30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v14H6a2 2 0 0 1-2-2z'/%3E%3Cpath d='M17 9h3v8a2 2 0 0 1-2 2'/%3E%3Cpath d='M7.5 9h6M7.5 12.5h6M7.5 16h4'/%3E%3C/svg%3E");
}

.nova-box .nova-news-img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover;
}

.nova-news-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nova-news-title { color: var(--nb-accent); font-size: .92rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.nova-news-date { color: var(--nb-soft); font-size: .8rem; font-weight: 600; }
.nova-news-empty { margin: 0; padding: 18px 8px; color: var(--nb-soft); text-align: center; font-size: .9rem; }
.nova-news-loading::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 8px; vertical-align: -2px; border: 2px solid rgba(128, 128, 128, .35); border-top-color: var(--nb-accent); border-radius: 50%; animation: nova-news-dreh .8s linear infinite; }

@keyframes nova-news-dreh { to { transform: rotate(360deg); } }

@container (max-width: 340px) {
    .nova-news-img { flex-basis: 60px; width: 60px; height: 60px; border-radius: 8px; }
    .nova-box .nova-news-item { gap: 10px; padding: 10px; }
    .nova-news-title { font-size: .88rem; }
    .nova-news .nova-news-tabs button.nova-news-tab.nova-news-tab { padding: 8px 10px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
    .nova-notice-body { animation: none; }
    .nova-notice-chev { transition: none; }
}

/* ------------------------------------------------------------------
   Impressum ({impressum})
   ------------------------------------------------------------------ */
.nova-imprint {
    --nova-imprint-accent: var(--rs-accent, var(--accent, #f5a524));
    --nb-surface-2: var(--rs-surface-2, var(--surface-2, rgba(128, 128, 128, .10)));
    --nb-line-soft: var(--rs-line-soft, rgba(128, 128, 128, .18));
    --nb-text:      var(--rs-text, var(--text, currentColor));
    --nb-soft:      var(--rs-text-soft, var(--text-soft, rgba(128, 128, 128, .95)));
    --nb-radius-sm: var(--rs-radius, var(--radius-sm, 12px));
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: var(--nb-text);
    text-align: left;
}

.nova-imprint * { box-sizing: border-box; }
.nova-imprint-head { margin: 0 0 4px; }

.nova-imprint .nova-imprint-h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--nb-text);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
}

.nova-imprint .nova-imprint-h1::before, .nova-imprint .nova-imprint-h1::after,
.nova-imprint .nova-imprint-title::before, .nova-imprint .nova-imprint-title::after { content: none; }
.nova-imprint-ico { flex: 0 0 auto; color: var(--nova-imprint-accent); }
.nova-imprint-h1 .nova-imprint-ico { width: 26px; height: 26px; }
.nova-imprint .nova-imprint-sub { margin: 10px 0 0; color: var(--nova-imprint-accent); font-size: .95rem; }

.nova-imprint-card {
    padding: 20px 22px;
    border: 1px solid var(--nb-line-soft);
    border-radius: var(--nb-radius-sm);
    background: var(--nb-surface-2);
    background: color-mix(in srgb, currentColor 6%, transparent);
}

.nova-imprint .nova-imprint-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    color: var(--nb-text);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
}

.nova-imprint-body { color: var(--nb-text); font-size: .95rem; line-height: 1.65; }
.nova-imprint .nova-imprint-body p { margin: 0 0 .9em; color: inherit; }
.nova-imprint .nova-imprint-body p:last-child { margin-bottom: 0; }
.nova-imprint .nova-imprint-body a { color: var(--nova-imprint-accent); text-decoration: none; overflow-wrap: anywhere; }
.nova-imprint .nova-imprint-body a:hover { text-decoration: underline; }
.nova-imprint-row { display: block; }
.nova-imprint-label { color: var(--nb-soft); }
.nova-imprint .nova-imprint-law { margin-bottom: .4em; color: var(--nb-soft); font-size: .85rem; }
.nova-imprint .nova-imprint-h3 { margin: 1.2em 0 .45em; padding: 0; border: 0; color: var(--nb-text); font-size: .98rem; font-weight: 700; }
.nova-imprint .nova-imprint-h3:first-child { margin-top: 0; }
.nova-imprint .nova-imprint-h3::before, .nova-imprint .nova-imprint-h3::after { content: none; }
.nova-imprint-note { color: var(--nb-soft); font-style: italic; }

@media (max-width: 520px) {
    .nova-imprint-card { padding: 16px; }
    .nova-imprint .nova-imprint-h1 { font-size: 1.45rem; }
}

/* ------------------------------------------------------------------
   Datenschutzerklärung ({datenschutzerklaerung})
   ------------------------------------------------------------------ */
.nova-privacy {
    --nova-privacy-accent: var(--rs-accent, var(--accent, #f5a524));
    --nb-surface-2: var(--rs-surface-2, var(--surface-2, rgba(128, 128, 128, .10)));
    --nb-line-soft: var(--rs-line-soft, rgba(128, 128, 128, .18));
    --nb-text:      var(--rs-text, var(--text, currentColor));
    --nb-soft:      var(--rs-text-soft, var(--text-soft, rgba(128, 128, 128, .95)));
    --nb-radius-sm: var(--rs-radius, var(--radius-sm, 12px));
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--nb-text);
    text-align: left;
}

.nova-privacy * { box-sizing: border-box; }
.nova-privacy-head { margin: 0 0 6px; }

.nova-privacy .nova-privacy-h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--nb-text);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
}

.nova-privacy .nova-privacy-h1::before, .nova-privacy .nova-privacy-h1::after,
.nova-privacy .nova-privacy-title::before, .nova-privacy .nova-privacy-title::after { content: none; }
.nova-privacy-ico { flex: 0 0 auto; color: var(--nova-privacy-accent); }
.nova-privacy .nova-privacy-sub { margin: 10px 0 0; color: var(--nova-privacy-accent); font-size: .95rem; }

.nova-privacy-card {
    padding: 20px 22px;
    border: 1px solid var(--nb-line-soft);
    border-radius: var(--nb-radius-sm);
    background: var(--nb-surface-2);
    background: color-mix(in srgb, currentColor 6%, transparent);
    scroll-margin-top: 90px;
}

.nova-privacy-toc { margin-bottom: 12px; }

.nova-privacy .nova-privacy-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    color: var(--nb-text);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
}

.nova-privacy .nova-privacy-toc ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nova-privacy .nova-privacy-toc li { margin: 0; padding: 0; list-style: none; }
.nova-privacy .nova-privacy-toc li::before, .nova-privacy .nova-privacy-toc li::marker { content: none; }
.nova-privacy .nova-privacy-toc a { color: var(--nova-privacy-accent); font-size: .95rem; text-decoration: none; }
.nova-privacy .nova-privacy-toc a:hover { text-decoration: underline; }

.nova-privacy-body { color: var(--nb-text); font-size: .95rem; line-height: 1.65; overflow-wrap: anywhere; }
.nova-privacy-body > :first-child { margin-top: 0; }
.nova-privacy .nova-privacy-body p { margin: 0 0 .8em; color: inherit; }
.nova-privacy .nova-privacy-body p:last-child { margin-bottom: 0; }
.nova-privacy .nova-privacy-body h3, .nova-privacy .nova-privacy-body h4 { margin: 1.1em 0 .45em; padding: 0; border: 0; color: var(--nb-text); font-size: .98rem; font-weight: 700; }
.nova-privacy .nova-privacy-body h3::before, .nova-privacy .nova-privacy-body h3::after { content: none; }
.nova-privacy .nova-privacy-body ul, .nova-privacy .nova-privacy-body ol { margin: 0 0 .9em; padding-left: 1.3em; }
.nova-privacy .nova-privacy-body li { margin: 0 0 .3em; }
.nova-privacy .nova-privacy-body strong { color: var(--nb-text); }
.nova-privacy .nova-privacy-body a { color: var(--nova-privacy-accent); text-decoration: none; }
.nova-privacy .nova-privacy-body a:hover { text-decoration: underline; }
.nova-privacy .nova-privacy-body table { width: 100%; margin: 0 0 1em; border-collapse: collapse; font-size: .9rem; }
.nova-privacy .nova-privacy-body th, .nova-privacy .nova-privacy-body td { padding: 6px 8px; border: 1px solid var(--nb-line-soft); text-align: left; vertical-align: top; }
.nova-privacy-label { color: var(--nb-soft); }

@media (max-width: 520px) {
    .nova-privacy-card { padding: 16px; }
    .nova-privacy .nova-privacy-h1 { font-size: 1.45rem; }
}
