/* Startseite von novellwerk.de (Fassung vom 30.09.2026).
 *
 * Schrift, Farben, Abschnittsmarke, Knöpfe, Kopf- und Fußleiste kommen aus
 * druckbild.css, das vorher geladen wird. Hier stehen nur die Abschnitte der
 * Startseite: Auftakt mit Wasserzeichen und Meldungskarte, Verzeichnis,
 * Schritte, die dunkle Fläche, Ansichten, Zeitleiste, Gebiete, Tarife, Schluss.
 *
 * Die Seite hat keine dunkle Fassung; sie ist eine helle Druckseite mit zwei
 * dunklen Flächen.
 */

/* ---------------------------------------------------------------- Schrift */

.nw-titel,
.nw-h2,
.nw-tarif-name,
.nw-tarif-preis span,
.nw-zahlen dt,
.nw-woche-zahl,
.nw-meldung-titel,
.nw-verzeichnis-titel,
.nw-tag {
    font-family: var(--serif);
}

.nw-titel {
    font-size: clamp(2.15rem, 1.4rem + 3.4vw, 3.55rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.012em;
    color: var(--tinte);
    text-wrap: balance;
}

.nw-titel-wort {
    color: var(--blau-text);
}

.nw-h2 {
    font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.45rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.01em;
    color: var(--tinte);
    text-wrap: balance;
}

.nw-h3 {
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--tinte);
}

/* Deutsche Komposita („Personengesellschaftsrechtsänderungsgesetz") sprengen
   sonst jede Spalte; Silbentrennung nach lang="de". */
.nw-titel,
.nw-h2,
.nw-h3,
.nw-meldung-titel,
.nw-verzeichnis-titel,
.nw-tarif-name {
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* Wo kein Trennwörterbuch greift, bricht ein überlanges Wort lieber irgendwo
   als über den Rand. Titel aus Daten, nicht die Überschriften der Seite. */
.nw-meldung-titel,
.nw-verzeichnis-titel,
.nw-h3 {
    overflow-wrap: anywhere;
}

.nw-unterzeile {
    max-width: 62ch;
    margin-top: .9rem;
    font-size: 1.05rem;
    color: var(--grau);
}

/* ---------------------------------------------------------------- Auftakt */

.nw-auftakt {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0 0;
    background: var(--papier);
}

.nw-auftakt > .nw-wasserzeichen {
    top: -4.5rem;
    right: -7rem;
    width: 16rem;
    height: 16rem;
    opacity: .05;
}

.nw-auftakt-raster {
    position: relative;
    display: grid;
    gap: 2.5rem;
}

/* Rasterspalten dürfen schmaler werden als ihr längstes Wort. */
.nw-auftakt-raster > *,
.nw-nacht-raster > *,
.nw-schritt > *,
.nw-karten > * {
    min-width: 0;
}

.nw-anriss {
    max-width: 58ch;
    margin-top: 1.25rem;
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--text);
}

.nw-punkte,
.nw-liste {
    display: grid;
    gap: .55rem;
}

.nw-punkte {
    margin-top: 1.5rem;
}

.nw-punkte li,
.nw-liste li {
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.5;
}

/* Ein kleines Quadrat in Markenblau statt Häkchen. */
.nw-punkte li::before,
.nw-liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--blau);
}

.nw-punkte strong {
    color: var(--tinte);
    font-weight: 600;
}

.nw-handlung {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.nw-angebot {
    margin-top: 1.4rem;
    font-size: .92rem;
    color: var(--grau);
}

.nw-angebot strong {
    color: var(--tinte);
}

.nw-zusagen {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 0;
    margin-top: .5rem;
    font-size: .88rem;
    color: var(--grau);
}

.nw-zusagen li:not(:last-child)::after {
    content: "·";
    margin: 0 .55rem;
    color: var(--grau-hell);
}

.nw-auftakt-bild {
    position: relative;
}

.nw-bildschirm {
    display: none;
}

.nw-karten {
    display: grid;
    gap: .9rem;
}

.nw-karte-klein {
    font-size: .8rem;
    color: var(--grau);
}

.nw-woche {
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--linie);
}

.nw-woche-zahl {
    margin: .15rem 0 .1rem;
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--tinte);
}

.nw-woche-zahl span {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}

.nw-meldung {
    padding: 1.15rem 1.25rem 1.2rem;
    border: 1px solid var(--linie);
    border-top: 3px solid var(--blau);
}

.nw-meldung-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .8rem;
    color: var(--grau);
}

.nw-meldung-quelle,
.nw-quelle {
    display: inline-block;
    padding: .1rem .45rem;
    border: 1px solid var(--linie-kraeftig);
    border-radius: 2px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--tinte);
    white-space: nowrap;
}

.nw-meldung-titel {
    margin-top: .6rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--tinte);
}

/* Relevanzwert auf der Skala von 0 bis 100, mit den voreingestellten Schwellen. */
.nw-skala {
    margin-top: 1rem;
}

.nw-skala-balken {
    position: relative;
    height: 6px;
    background: var(--papier-tief);
}

.nw-skala-wert {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(var(--wert, 0) * 1%);
    background: var(--blau);
}

.nw-skala-marken {
    position: relative;
    height: 1.2rem;
    font-size: .68rem;
    color: var(--grau-hell);
}

.nw-skala-marken span {
    position: absolute;
    top: .25rem;
    left: calc(var(--an) * 1%);
    transform: translateX(-50%);
}

.nw-skala-marken span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -.75rem;
    width: 1px;
    height: .5rem;
    background: var(--grau-hell);
}

.nw-meldung-fuss {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .25rem 1rem;
    margin-top: .35rem;
    font-size: .85rem;
    color: var(--grau);
}

.nw-meldung-fuss strong {
    color: var(--blau-text);
}

.nw-leiste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 3rem 0 0;
    border-top: 1px solid var(--linie);
}

.nw-leiste > div {
    padding: 1.1rem .5rem 1.25rem;
}

.nw-leiste > div + div {
    border-left: 1px solid var(--linie);
    padding-left: 1rem;
}

.nw-leiste dt {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--tinte);
}

.nw-leiste dd {
    font-size: .8rem;
    color: var(--grau);
}

@media (min-width: 900px) {
    .nw-auftakt {
        padding-top: 4.5rem;
    }

    .nw-auftakt > .nw-wasserzeichen {
        top: -6rem;
        right: -8rem;
        width: 38rem;
        height: 38rem;
        opacity: .06;
    }

    .nw-auftakt-raster {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: 3.5rem;
        align-items: center;
    }

    .nw-bildschirm {
        display: block;
        border: 1px solid var(--linie-kraeftig);
        background: var(--weiss);
        padding: 6px;
    }

    .nw-bildschirm img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: 0 0;
    }

    .nw-karten {
        position: relative;
        width: min(22rem, 88%);
        margin: -9rem 0 0 -2rem;
    }

    .nw-leiste {
        margin-top: 4.5rem;
    }

    .nw-leiste > div {
        padding: 1.4rem 1.5rem 1.6rem;
    }

    .nw-leiste > div:first-child {
        padding-left: 0;
    }

    .nw-leiste dt {
        font-size: 1.4rem;
    }

    .nw-leiste dd {
        font-size: .9rem;
    }
}

/* ---------------------------------------------------------------- Abschnitte */

.nw-abschnitt {
    padding: 4rem 0;
    background: var(--papier);
}

.nw-weiss {
    background: var(--weiss);
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
}

.nw-papier-tief {
    background: var(--papier-tief);
}

.nw-kopf {
    margin-bottom: 2.25rem;
}

.nw-kopf-mit-verweis {
    display: grid;
    gap: 1rem;
}

@media (min-width: 900px) {
    .nw-abschnitt {
        padding: 6.5rem 0;
    }

    .nw-kopf {
        margin-bottom: 3.25rem;
    }

    .nw-kopf-mit-verweis {
        grid-template-columns: 1fr auto;
        align-items: end;
    }
}

/* ---------------------------------------------------------------- Fotos */

.nw-kopf-mit-bild {
    display: grid;
    gap: 2rem;
}

.nw-foto img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    filter: saturate(.9);
    clip-path: polygon(0 0, calc(100% - var(--ecke)) 0, 100% var(--ecke), 100% 100%, 0 100%);
}

/* Breites Bild am Kopf eines Abschnitts, mit Bildunterschrift wie in einer Zeitschrift. */
.nw-abschnitt > .nw-band {
    margin: -4rem 0 3.5rem;
}

.nw-band img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    object-position: 62% 72%;
    filter: saturate(.85);
}

.nw-band figcaption {
    margin-top: .6rem;
    font-size: .78rem;
    color: var(--grau);
}

@media (min-width: 900px) {
    .nw-kopf-mit-bild {
        grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
        gap: 4rem;
        align-items: end;
    }

    .nw-abschnitt > .nw-band {
        margin: -6.5rem 0 5rem;
    }

    .nw-band img {
        height: 26rem;
    }
}

/* ---------------------------------------------------------------- Verzeichnis */

.nw-verzeichnis {
    max-width: 900px;
    border-top: 1px solid var(--tinte);
}

.nw-verzeichnis li {
    border-bottom: 1px solid var(--linie);
}

.nw-verzeichnis a {
    display: grid;
    gap: .45rem;
    padding: 1.15rem 0;
    color: inherit;
    text-decoration: none;
}

.nw-verzeichnis-meta {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .8rem;
    color: var(--grau);
    font-variant-numeric: tabular-nums;
}

.nw-verzeichnis-text {
    display: grid;
    gap: .3rem;
}

.nw-verzeichnis-titel {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--tinte);
}

.nw-verzeichnis a:hover .nw-verzeichnis-titel {
    color: var(--blau-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.nw-verzeichnis-anriss {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .93rem;
    line-height: 1.55;
    color: var(--grau);
}

@media (min-width: 900px) {
    .nw-verzeichnis a {
        grid-template-columns: 11rem minmax(0, 1fr);
        gap: 1.5rem;
        padding: 1.35rem 0;
    }

    .nw-verzeichnis-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: .4rem;
        padding-top: .2rem;
    }
}

/* ---------------------------------------------------------------- Schritte */

.nw-kachel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    border-radius: 3px;
    background: var(--blau-text);
    color: #fff;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}

.nw-schritte {
    display: grid;
    gap: 0;
    counter-reset: schritt;
}

.nw-schritt {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1.75rem 0;
    border-top: 1px solid var(--linie);
}

.nw-schritt:last-child {
    border-bottom: 1px solid var(--linie);
}

.nw-schritt p {
    margin-top: .5rem;
    color: var(--text);
}

.nw-schritt .nw-liste {
    margin-top: .9rem;
    font-size: .93rem;
    color: var(--grau);
}

@media (min-width: 900px) {
    .nw-schritte {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
    }

    .nw-schritt {
        padding: 2.25rem 0;
    }

    .nw-schritt:nth-last-child(2) {
        border-bottom: 1px solid var(--linie);
    }
}

/* ---------------------------------------------------------------- Nacht */

.nw-nacht {
    position: relative;
    overflow: hidden;
    background: var(--nacht);
    color: var(--nacht-text);
}

.nw-nacht-bild {
    position: absolute;
    inset: 0 0 auto 0;
    height: 22rem;
    background: url('/img/bundestag-band.jpg') center 30% / cover no-repeat;
    filter: grayscale(1) contrast(1.05);
    opacity: .2;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
}

.nw-nacht-raster {
    position: relative;
    display: grid;
    gap: 3rem;
}

.nw-nacht .nw-h2 {
    color: #fff;
}

.nw-nacht-text {
    max-width: 58ch;
    margin-top: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.nw-zahlen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 2.25rem 0;
    border-top: 1px solid var(--nacht-linie);
}

.nw-zahlen > div {
    padding: 1.2rem 1rem 1.3rem 0;
    border-bottom: 1px solid var(--nacht-linie);
}

.nw-zahlen > div:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--nacht-linie);
}

.nw-zahlen dt {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

.nw-zahlen dd {
    margin-top: .4rem;
    font-size: .82rem;
    line-height: 1.45;
}

.nw-zahlen dd strong {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9cc6ff;
}

.nw-einrichtung {
    align-self: start;
    padding: 1.5rem;
    color: var(--text);
}

.nw-einrichtung-kopf {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--linie);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--tinte);
}

.nw-aktiv {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 1.1rem 0 .5rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--gruen);
}

.nw-aktiv span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gruen);
}

.nw-einrichtung-zeilen > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--linie);
    font-size: .92rem;
}

.nw-einrichtung-zeilen > div:last-child {
    border-bottom: 0;
}

.nw-einrichtung-zeilen dt {
    color: var(--grau);
}

.nw-einrichtung-zeilen dd {
    font-weight: 600;
    color: var(--tinte);
    text-align: right;
}

.nw-einrichtung-zeilen dd.nw-blau {
    color: var(--blau-text);
}

@media (min-width: 900px) {
    .nw-nacht-bild {
        inset: 0 0 0 auto;
        width: 46%;
        height: auto;
        background-position: center;
        opacity: .24;
        -webkit-mask-image: linear-gradient(to left, #000 35%, transparent);
        mask-image: linear-gradient(to left, #000 35%, transparent);
    }

    .nw-nacht-raster {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
        gap: 5rem;
        align-items: center;
    }

    .nw-zahlen dt {
        font-size: 2.1rem;
    }
}

/* ---------------------------------------------------------------- Ansichten */

.nw-ansichten {
    display: grid;
    gap: 2.75rem;
}

.nw-ansicht-bild {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--linie-kraeftig);
    background: var(--papier);
}

/* Auf dem Handy wäre die ganze Rechneransicht zu klein zum Lesen: gezeigt wird
   der linke obere Teil, vergrößert. */
.nw-ansicht-bild img {
    position: absolute;
    top: 0;
    left: 0;
    width: 175%;
    max-width: none;
    height: auto;
}

.nw-ansicht-zwei {
    display: none;
}

.nw-ansicht-bild .nw-kachel {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
}

.nw-ansicht figcaption {
    margin-top: 1rem;
}

.nw-ansicht figcaption p {
    margin-top: .35rem;
    color: var(--grau);
}

@media (min-width: 900px) {
    .nw-ansichten {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem 3rem;
    }

    .nw-ansicht-bild {
        aspect-ratio: 16 / 10;
    }

    .nw-ansicht-bild img {
        width: 100%;
        transition: opacity .2s ease;
    }
}

/* Wo man mit der Maus darauf zeigen kann, erscheint die zweite Ansicht. */
@media (min-width: 900px) and (hover: hover) {
    .nw-ansicht-zwei {
        display: block;
        opacity: 0;
    }

    .nw-ansicht-bild:hover .nw-ansicht-zwei {
        opacity: 1;
    }
}

/* ---------------------------------------------------------------- Zeitleiste */

.nw-zeitleiste {
    display: grid;
    gap: 0;
    max-width: 960px;
}

.nw-zeitleiste li {
    position: relative;
    padding: 0 0 1.75rem 1.75rem;
    border-left: 1px solid var(--linie-kraeftig);
}

.nw-zeitleiste li:last-child {
    padding-bottom: 0;
}

.nw-zeitleiste li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: .45rem;
    width: 9px;
    height: 9px;
    border-radius: 1px;
    background: var(--blau);
}

.nw-tag {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--tinte);
}

.nw-zeitleiste p {
    margin-top: .4rem;
    color: var(--text);
}

@media (min-width: 900px) {
    .nw-zeitleiste {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2.5rem;
        border-top: 1px solid var(--linie-kraeftig);
    }

    .nw-zeitleiste li {
        padding: 1.75rem 0 0;
        border-left: 0;
    }

    .nw-zeitleiste li::before {
        left: 0;
        top: -5px;
    }
}

/* ---------------------------------------------------------------- Gebiete */

.nw-gebiete {
    display: grid;
    gap: 1rem;
}

.nw-gebiet {
    padding: 1.5rem 1.5rem 1.6rem;
    background: var(--papier);
    border-left: 3px solid var(--blau);
}

.nw-gebiet p {
    margin-top: .55rem;
    color: var(--text);
}

@media (min-width: 900px) {
    .nw-gebiete {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ---------------------------------------------------------------- Tarife */

.nw-tarife {
    display: grid;
    gap: 1.25rem;
}

.nw-tarif {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem 1.5rem;
    border-top: 3px solid var(--linie-kraeftig);
}

.nw-tarif-vorn {
    border-top-color: var(--blau);
}

.nw-tarif-hinweis {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blau-text);
}

.nw-tarif-name {
    margin-top: .5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--tinte);
}

.nw-tarif-preis {
    margin-top: .35rem;
    font-size: .95rem;
    color: var(--grau);
}

.nw-tarif-preis span {
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--tinte);
}

.nw-tarif-zeile {
    margin-top: .5rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--linie);
    font-size: .93rem;
    color: var(--grau);
}

.nw-tarif .nw-liste {
    margin: 1.1rem 0 1.5rem;
    font-size: .93rem;
}

.nw-tarif .nw-knopf {
    margin-top: auto;
    width: 100%;
}

@media (min-width: 900px) {
    .nw-tarife {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }
}

/* ---------------------------------------------------------------- Stimmen */

.nw-stimmen {
    display: grid;
    gap: 1.25rem;
}

.nw-stimme {
    padding: 1.5rem;
}

.nw-stimme blockquote {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--tinte);
}

.nw-stimme figcaption {
    margin-top: 1rem;
    font-size: .9rem;
    color: var(--grau);
}

.nw-stimme figcaption strong {
    display: block;
    color: var(--tinte);
}

/* ---------------------------------------------------------------- Schluss */

.nw-schluss {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0;
    background: var(--nacht);
    color: var(--nacht-text);
}

.nw-schluss > .nw-wasserzeichen {
    right: -6rem;
    bottom: -7rem;
    width: 22rem;
    height: 22rem;
    color: #3d8fff;
    opacity: .16;
}

.nw-schluss-inhalt {
    position: relative;
}

.nw-schluss .nw-h2 {
    color: #fff;
}

.nw-schluss p {
    max-width: 60ch;
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.nw-schluss .nw-schluss-klein {
    font-size: .92rem;
    color: #8f99ab;
}

@media (min-width: 900px) {
    .nw-schluss {
        padding: 6.5rem 0;
    }

    .nw-schluss > .nw-wasserzeichen {
        right: 4rem;
        bottom: -9rem;
        width: 30rem;
        height: 30rem;
    }
}

@media print {
    .nw-nacht-bild {
        display: none !important;
    }
}
