/*
 * Kleinstadtheld Naturwegweiser – Frontend
 * Visuelles System nach der Kleinstadtheld-Startseite:
 * Playfair Display + Lato, warme Flächen, klare Karten, wenige ruhige Bewegungen.
 */

.ksh-nw {
    --ksh-nw-accent: #c98055;
    --ksh-nw-accent-light: #e8cfb2;
    --ksh-nw-text: #171717;
    --ksh-nw-muted: #626262;
    --ksh-nw-soft: #f7f5f2;
    --ksh-nw-warm: #f4eee8;
    --ksh-nw-border: rgba(17, 17, 17, 0.10);
    --ksh-nw-shadow: 0 12px 35px rgba(17, 17, 17, 0.09);
    --ksh-nw-shadow-hover: 0 19px 42px rgba(17, 17, 17, 0.15);
    --ksh-nw-radius: 16px;

    position: relative;
    isolation: isolate;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
    max-width: 1296px;
    margin: 0 auto;
    padding: 40px 24px 58px;
    color: var(--ksh-nw-text);
    font-family: Lato, Arial, sans-serif;
}

.ksh-nw::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: 28px;
    background-image:
        linear-gradient(rgba(249, 247, 243, 0.84), rgba(249, 247, 243, 0.90)),
        url("../img/optimized/naturwegweiser-hintergrund.webp");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 20px 46px rgba(17, 17, 17, 0.08);
}

.ksh-nw::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0.06) 100%);
    pointer-events: none;
}

.ksh-nw *,
.ksh-nw *::before,
.ksh-nw *::after {
    box-sizing: border-box;
}

.ksh-nw button,
.ksh-nw a {
    font: inherit;
}

.ksh-nw button {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* =========================================================
   Kopfbereich
   ========================================================= */

.ksh-nw__hero {
    display: grid;
    grid-template-columns: minmax(270px, 380px) minmax(420px, 680px);
    gap: 0;
    align-items: center;
    margin: 0 0 36px;
    padding: 6px 0 34px;
    border-bottom: 1px solid rgba(23, 23, 23, 0.10);
    background: transparent;
}

.ksh-nw__hero-center {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 19px;
    align-items: center;
    min-width: 0;
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: rgba(255, 252, 248, 0.72);
    box-shadow: 0 10px 25px rgba(17, 17, 17, 0.05);
    backdrop-filter: blur(2px);
}

.ksh-nw__hero-bird {
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    min-height: 250px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    pointer-events: none;
}

.ksh-nw__hero-bird--kingfisher {
    justify-self: start;
    transform: translateX(-72px);
}

.ksh-nw__hero-bird img {
    display: block;
    width: 100%;
    max-width: 410px;
    height: 280px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 16px 22px rgba(22, 22, 22, 0.18));
}

.ksh-nw__hero-bird--kingfisher img {
    max-width: 430px;
    height: 300px;
}

.ksh-nw__hero-bird figcaption,
.ksh-nw__eyebrow {
    display: none;
}

.ksh-nw__logo {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid rgba(23, 23, 23, 0.10);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.07);
}

.ksh-nw__hero-copy {
    min-width: 0;
}

.ksh-nw__hero h1 {
    margin: 0 !important;
    color: var(--ksh-nw-text) !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(25px, 2.7vw, 39px) !important;
    font-weight: 400 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.ksh-nw__hero-copy > p:last-child {
    max-width: 620px;
    margin: 8px 0 0;
    color: rgba(23,23,23,0.72);
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.ksh-nw__grid {
    display: grid;
    gap: 20px;
}

.ksh-nw__grid--main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ksh-nw .ksh-nw__main-card,
.ksh-nw .ksh-nw__main-card:hover,
.ksh-nw .ksh-nw__main-card:focus,
.ksh-nw .ksh-nw__main-card:focus-visible,
.ksh-nw .ksh-nw__main-card:active {
    color: #fff !important;
    background-color: var(--ksh-card-color) !important;
    background-image: none !important;
}

.ksh-nw__main-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 238px;
    padding: 26px 27px 25px;
    overflow: hidden;
    border: 0 !important;
    border-radius: var(--ksh-nw-radius);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ksh-nw__main-card:hover,
.ksh-nw__main-card:focus-visible {
    filter: brightness(1.035);
    transform: translateY(-5px);
    box-shadow: var(--ksh-nw-shadow-hover);
}

.ksh-nw__main-card:focus-visible {
    outline: 3px solid rgba(201, 128, 85, 0.45) !important;
    outline-offset: 4px;
}

.ksh-nw__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 23px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 12px;
}

.ksh-nw__icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ksh-nw__icon svg circle:first-child,
.ksh-nw__icon svg circle:nth-child(2),
.ksh-nw__icon svg circle:nth-child(3),
.ksh-nw__icon svg circle:nth-child(4) {
    fill: currentColor;
    stroke: none;
}

.ksh-nw__card-title {
    display: block !important;
    margin: 0 0 9px !important;
    color: #fff !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 27px !important;
    font-weight: 500 !important;
    line-height: 1.14 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
    text-transform: none !important;
}

.ksh-nw__card-copy {
    display: block !important;
    max-width: 33ch;
    color: rgba(255, 255, 255, 0.90) !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    opacity: 1 !important;
    text-transform: none !important;
}

.ksh-nw__card-arrow {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ksh-nw__main-card:hover .ksh-nw__card-arrow,
.ksh-nw__main-card:focus-visible .ksh-nw__card-arrow {
    transform: translateX(4px);
}

/* =========================================================
   Schnelle Hilfe
   ========================================================= */

.ksh-nw__quick {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin: 24px 0 0;
    padding: 25px 27px;
    color: #fff;
    background: #171717;
    border-radius: var(--ksh-nw-radius);
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.14);
}

.ksh-nw__quick div {
    display: grid;
    gap: 6px;
}

.ksh-nw__quick strong {
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.2;
}

.ksh-nw__quick span {
    max-width: 790px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.55;
}

.ksh-nw__quick button {
    min-height: 47px;
    padding: 11px 19px;
    color: #171717 !important;
    background: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 6px !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ksh-nw__quick button:hover,
.ksh-nw__quick button:focus-visible {
    color: #171717 !important;
    background: var(--ksh-nw-accent-light) !important;
    border-color: var(--ksh-nw-accent-light) !important;
    transform: translateY(-2px);
}

/* =========================================================
   Dezente Terminliste
   ========================================================= */

.ksh-nw__events {
    margin-top: 45px;
}

.ksh-nw__events-head {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 13px;
}

.ksh-nw__events-head::before {
    content: "Aus der Region";
    display: block;
    position: absolute;
    margin-top: -22px;
    color: var(--ksh-nw-accent);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ksh-nw__events-title {
    color: var(--ksh-nw-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.ksh-nw__events-head a {
    color: var(--ksh-nw-text) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
}

.ksh-nw__events-head a::after {
    content: " →";
    color: var(--ksh-nw-accent);
}

.ksh-nw__events-head a:hover,
.ksh-nw__events-head a:focus-visible {
    color: var(--ksh-nw-accent) !important;
}

.ksh-nw__events-list {
    border-top: 1px solid var(--ksh-nw-border);
}

.ksh-nw__event-row {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 14px 4px;
    border-bottom: 1px solid var(--ksh-nw-border);
    background: transparent;
}

.ksh-nw__event-row time {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 55px;
    color: var(--ksh-nw-text);
    background: var(--ksh-nw-warm);
    border-radius: 8px;
    line-height: 1;
}

.ksh-nw__event-day {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
}

.ksh-nw__event-month {
    margin-top: 3px;
    color: var(--ksh-nw-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ksh-nw__event-content {
    min-width: 0;
}

.ksh-nw__event-title {
    color: var(--ksh-nw-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.ksh-nw__event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 13px;
    margin-top: 5px;
    color: var(--ksh-nw-muted);
    font-size: 12px;
    line-height: 1.45;
}

.ksh-nw__event-meta span + span::before {
    content: "·";
    margin-right: 13px;
    color: var(--ksh-nw-accent);
}

.ksh-nw__events-empty {
    padding: 16px 0;
    border-top: 1px solid var(--ksh-nw-border);
    border-bottom: 1px solid var(--ksh-nw-border);
    color: var(--ksh-nw-muted);
    font-size: 14px;
}

.ksh-nw__events-empty a {
    color: var(--ksh-nw-text) !important;
    font-weight: 700;
}

.ksh-nw__footer-note {
    display: grid;
    gap: 5px;
    margin-top: 36px;
    padding: 21px 23px;
    color: var(--ksh-nw-muted);
    background: var(--ksh-nw-soft);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
}

.ksh-nw__footer-note strong {
    color: var(--ksh-nw-text);
}

/* =========================================================
   Dialoge und Popups
   ========================================================= */

html.ksh-nw-modal-open {
    overflow: hidden;
}

.ksh-nw__modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
}

.ksh-nw__modal[hidden] {
    display: none;
}

.ksh-nw__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.72);
    backdrop-filter: blur(3px);
}

.ksh-nw__dialog {
    --ksh-category: #4f7880;
    --ksh-category-deep: #35565b;
    --ksh-category-soft: rgba(79, 120, 128, 0.12);
    --ksh-category-softer: rgba(79, 120, 128, 0.06);
    --ksh-category-line: rgba(79, 120, 128, 0.25);

    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(980px, 100%);
    max-height: calc(100dvh - 56px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    transition: width 0.18s ease;
}

.ksh-nw__dialog.is-detail {
    width: min(790px, 100%);
}

.ksh-nw__dialog-head {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) 42px;
    gap: 12px;
    align-items: center;
    min-height: 66px;
    padding: 8px 16px;
    background: #fff;
    border-bottom: 1px solid var(--ksh-nw-border);
}

.ksh-nw__dialog-title {
    min-width: 0;
    color: var(--ksh-nw-text);
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.01em;
    text-align: center;
    text-transform: none !important;
}

.ksh-nw__back,
.ksh-nw__close {
    color: var(--ksh-nw-text) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 6px !important;
    cursor: pointer;
}

.ksh-nw__back {
    padding: 9px 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.ksh-nw__back[hidden] {
    display: block;
    visibility: hidden;
}

.ksh-nw__back:hover,
.ksh-nw__back:focus-visible,
.ksh-nw__close:hover,
.ksh-nw__close:focus-visible {
    color: var(--ksh-category-deep) !important;
    background: var(--ksh-category-soft) !important;
}

.ksh-nw__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    font-size: 25px;
    line-height: 1;
}

.ksh-nw__dialog-body {
    overflow: auto;
    padding: 27px;
    background: #faf8f5;
    scrollbar-gutter: stable;
}

/* Kategorieauswahl */

.ksh-nw__dialog-intro {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 18px 20px;
    color: #34413b;
    background: var(--ksh-category-soft);
    border-radius: 11px;
    font-size: 15px;
    line-height: 1.6;
}

.ksh-nw__grid--topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
    gap: 14px;
}

.ksh-nw .ksh-nw__topic-card,
.ksh-nw .ksh-nw__topic-card:hover,
.ksh-nw .ksh-nw__topic-card:focus,
.ksh-nw .ksh-nw__topic-card:focus-visible,
.ksh-nw .ksh-nw__topic-card:active {
    color: var(--ksh-nw-text) !important;
}

.ksh-nw__topic-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0;
    min-height: 142px;
    padding: 20px 42px 19px 20px;
    color: var(--ksh-nw-text) !important;
    background: #fff !important;
    border: 1px solid var(--ksh-nw-border) !important;
    border-radius: 13px !important;
    box-shadow: 0 8px 23px rgba(17, 17, 17, 0.06);
    text-align: left !important;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ksh-nw__topic-card:hover,
.ksh-nw__topic-card:focus-visible {
    background: #fff !important;
    border-color: var(--ksh-category-line) !important;
    box-shadow: 0 15px 32px rgba(17, 17, 17, 0.10);
    transform: translateY(-3px);
}

.ksh-nw__topic-card:focus-visible {
    outline: 2px solid var(--ksh-category) !important;
    outline-offset: 2px;
}

.ksh-nw__topic-title {
    display: block !important;
    margin: 0 0 8px !important;
    color: var(--ksh-nw-text) !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
    text-transform: none !important;
    visibility: visible !important;
}

.ksh-nw__topic-copy {
    display: block !important;
    color: var(--ksh-nw-muted) !important;
    font-family: Lato, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    opacity: 1 !important;
    text-transform: none !important;
    visibility: visible !important;
}

.ksh-nw__topic-arrow {
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: var(--ksh-category);
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.ksh-nw__topic-card:hover .ksh-nw__topic-arrow,
.ksh-nw__topic-card:focus-visible .ksh-nw__topic-arrow {
    transform: translateX(4px);
}

/* Detailansicht */

.ksh-nw__topic-detail {
    max-width: 720px;
    margin: 0 auto;
}

.ksh-nw__badge {
    display: block;
    margin: 0 0 9px;
    color: var(--ksh-category-deep);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ksh-nw__lead {
    margin: 0 0 24px;
    padding: 20px 22px;
    color: #29352f;
    background: var(--ksh-category-soft);
    border-radius: 11px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.ksh-nw__info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--ksh-nw-border);
    border-radius: 12px;
    box-shadow: 0 9px 25px rgba(17, 17, 17, 0.055);
}

.ksh-nw__info-section {
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) minmax(0, 0.66fr);
    gap: 24px;
    align-items: start;
    min-width: 0;
    padding: 21px 22px;
    background: transparent;
}

.ksh-nw__info-section + .ksh-nw__info-section {
    border-top: 1px solid var(--ksh-nw-border);
}

.ksh-nw__info-title,
.ksh-nw__block-title {
    color: var(--ksh-nw-text);
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.01em;
    text-transform: none !important;
}

.ksh-nw__info-title {
    color: var(--ksh-category-deep);
}

.ksh-nw__info-copy {
    margin: 0;
    color: #414141;
    font-family: Lato, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
}

.ksh-nw__info-copy p:first-child {
    margin-top: 0;
}

.ksh-nw__info-copy p:last-child {
    margin-bottom: 0;
}

.ksh-nw__info-copy ul,
.ksh-nw__info-copy ol {
    margin: 7px 0;
    padding-left: 21px;
}

.ksh-nw__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0 0;
}

.ksh-nw__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    color: var(--ksh-nw-text) !important;
    background: #fff !important;
    border: 1px solid rgba(17, 17, 17, 0.22) !important;
    border-radius: 6px !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ksh-nw__action:hover,
.ksh-nw__action:focus-visible {
    color: #fff !important;
    background: var(--ksh-category-deep) !important;
    border-color: var(--ksh-category-deep) !important;
    transform: translateY(-2px);
}

.ksh-nw__action.is-primary {
    color: #fff !important;
    background: #171717 !important;
    border-color: #171717 !important;
}

.ksh-nw__action.is-primary:hover,
.ksh-nw__action.is-primary:focus-visible {
    background: var(--ksh-nw-accent) !important;
    border-color: var(--ksh-nw-accent) !important;
}

/* Kontakte: klare Datenzeilen statt Pillen/Bubbles */

.ksh-nw__contacts {
    margin-top: 27px;
}

.ksh-nw__block-title {
    margin-bottom: 12px;
}

.ksh-nw__contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
}

.ksh-nw__contact {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ksh-nw-border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
}

.ksh-nw__contact-copy {
    padding: 18px 20px 16px;
}

.ksh-nw__contact-type {
    margin-bottom: 5px;
    color: var(--ksh-category-deep);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.11em;
    text-transform: uppercase !important;
}

.ksh-nw__contact-name {
    color: var(--ksh-nw-text);
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.ksh-nw__contact-copy > p {
    margin: 8px 0 0;
    color: var(--ksh-nw-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ksh-nw__contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--ksh-nw-border);
}

.ksh-nw__contact-link {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 49px;
    padding: 11px 20px;
    color: var(--ksh-nw-text) !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none !important;
    transition: color 0.18s ease, background 0.18s ease;
}

.ksh-nw__contact-link + .ksh-nw__contact-link {
    border-top: 1px solid var(--ksh-nw-border) !important;
}

.ksh-nw__contact-link:hover,
.ksh-nw__contact-link:focus-visible {
    color: var(--ksh-category-deep) !important;
    background: var(--ksh-category-softer) !important;
}

.ksh-nw__contact-link-label {
    color: var(--ksh-nw-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ksh-nw__contact-link-value {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.ksh-nw__contact-link-arrow {
    color: var(--ksh-nw-accent);
    font-size: 17px;
}


/* =========================================================
   Bilder, Apps, Naturorte und redaktionelle Vertiefungen
   ========================================================= */

.ksh-nw__topic-media {
    margin: 0 0 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ksh-nw-border);
    border-radius: 13px;
    box-shadow: 0 9px 25px rgba(17, 17, 17, 0.055);
}

.ksh-nw__topic-media img {
    display: block;
    width: 100%;
    height: clamp(190px, 31vw, 290px);
    object-fit: cover;
}

.ksh-nw__topic-media figcaption {
    margin: 0;
    padding: 12px 16px 13px;
    color: var(--ksh-nw-muted);
    background: #fff;
    font-size: 12px;
    line-height: 1.5;
}

.ksh-nw__resource-group {
    margin-top: 29px;
}

.ksh-nw__resource-head {
    display: grid;
    gap: 6px;
    margin-bottom: 13px;
}

.ksh-nw__resource-head p {
    max-width: 680px;
    margin: 0;
    color: var(--ksh-nw-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ksh-nw__resource-grid {
    display: grid;
    gap: 13px;
}

.ksh-nw__resource-grid.is-apps,
.ksh-nw__resource-grid.is-places,
.ksh-nw__resource-grid.is-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ksh-nw__resource-grid.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ksh-nw__resource-grid.is-feature {
    grid-template-columns: 1fr;
}

.ksh-nw__resource {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ksh-nw-border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
}

.ksh-nw__resource--app {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: stretch;
}

.ksh-nw__resource--portal {
    display: grid;
    grid-template-columns: minmax(118px, 0.36fr) minmax(0, 0.64fr);
    background: var(--ksh-category-softer);
}

.ksh-nw__resource--place,
.ksh-nw__resource--article {
    display: flex;
    flex-direction: column;
}

.ksh-nw__resource-image {
    min-width: 0;
    background: var(--ksh-nw-warm);
}

.ksh-nw__resource--app .ksh-nw__resource-image {
    display: grid;
    place-items: center;
    padding: 15px;
}

.ksh-nw__resource--app .ksh-nw__resource-image img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 10px;
}

.ksh-nw__resource--place .ksh-nw__resource-image,
.ksh-nw__resource--article .ksh-nw__resource-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ksh-nw__resource--place .ksh-nw__resource-image img,
.ksh-nw__resource--article .ksh-nw__resource-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ksh-nw__resource--place:hover .ksh-nw__resource-image img,
.ksh-nw__resource--article:hover .ksh-nw__resource-image img {
    transform: scale(1.025);
}

.ksh-nw__resource-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 20px 14px;
    color: var(--ksh-category-deep);
    background: var(--ksh-category-soft);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}

.ksh-nw__resource-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 16px 17px 15px;
}

.ksh-nw__resource--app .ksh-nw__resource-body {
    padding: 15px 16px 14px;
}

.ksh-nw__resource-eyebrow {
    margin-bottom: 5px;
    color: var(--ksh-category-deep);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.ksh-nw__resource-title {
    color: var(--ksh-nw-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
}

.ksh-nw__resource--place .ksh-nw__resource-title,
.ksh-nw__resource--article .ksh-nw__resource-title {
    font-size: 21px;
}

.ksh-nw__resource-body > p {
    margin: 7px 0 0;
    color: var(--ksh-nw-muted);
    font-size: 12px;
    line-height: 1.52;
}

.ksh-nw__resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    margin-top: 10px;
    color: #777;
    font-size: 10px;
    line-height: 1.4;
}

.ksh-nw__resource-meta span + span::before {
    content: "·";
    margin-right: 8px;
    color: var(--ksh-category);
}

.ksh-nw__resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 13px;
    margin-top: auto;
    padding-top: 13px;
}

.ksh-nw__resource-links a {
    color: var(--ksh-nw-text) !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

.ksh-nw__resource-links a span {
    color: var(--ksh-nw-accent);
}

.ksh-nw__resource-links a:hover,
.ksh-nw__resource-links a:focus-visible {
    color: var(--ksh-category-deep) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.ksh-nw__resource-grid.is-feature .ksh-nw__resource--article,
.ksh-nw__resource-grid.is-features .ksh-nw__resource--article {
    display: grid;
    grid-template-columns: minmax(190px, 0.38fr) minmax(0, 0.62fr);
}

.ksh-nw__resource-grid.is-feature .ksh-nw__resource-image,
.ksh-nw__resource-grid.is-features .ksh-nw__resource-image {
    aspect-ratio: auto;
    min-height: 170px;
}


/* =========================================================
   Ressourcen- und App-Module – Überarbeitung 1.4.0
   ========================================================= */

.ksh-nw__topic-media figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 18px;
}

.ksh-nw__media-credit,
.ksh-nw__resource-credit {
    color: #777 !important;
    font-family: Lato, Arial, sans-serif;
    font-size: 10px;
    line-height: 1.45;
    text-decoration: none !important;
}

.ksh-nw__media-credit:hover,
.ksh-nw__media-credit:focus-visible,
.ksh-nw__resource-credit:hover,
.ksh-nw__resource-credit:focus-visible {
    color: var(--ksh-category-deep) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.ksh-nw__resource-visual {
    min-width: 0;
    background: var(--ksh-nw-warm);
}

.ksh-nw__resource-visual .ksh-nw__resource-credit {
    display: block;
    padding: 7px 10px 8px;
    background: #fff;
    border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.ksh-nw__resource-grid.is-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.ksh-nw__resource-grid.is-apps.is-count-3 {
    grid-template-columns: 1fr;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource {
    min-height: 164px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 0;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-visual,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-mark {
    grid-column: 1;
    grid-row: 1;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-body {
    grid-column: 2;
    grid-row: 1;
    padding: 16px 18px 15px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-visual .ksh-nw__resource-credit {
    display: none;
}

.ksh-nw__resource--app {
    grid-template-columns: 84px minmax(0, 1fr);
    background: #fff;
}

.ksh-nw__resource--app .ksh-nw__resource-visual {
    display: grid;
    min-height: 100%;
    place-items: center;
    padding: 16px 12px;
    background: #f7f5f2;
}

.ksh-nw__resource--app .ksh-nw__resource-image {
    display: grid;
    width: 64px;
    height: 64px;
    padding: 0;
    place-items: center;
    overflow: hidden;
    background: transparent;
}

.ksh-nw__resource--app .ksh-nw__resource-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource--portal {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    background: #fff;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource--portal .ksh-nw__resource-mark {
    min-height: 100%;
    padding: 14px 9px;
    color: var(--ksh-category-deep);
    background: #f7f5f2;
    font-family: Lato, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-title {
    font-size: 20px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-body > p {
    font-size: 12.5px;
    line-height: 1.55;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-links {
    gap: 8px 16px;
    padding-top: 12px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-links a {
    font-size: 11.5px;
}

.ksh-nw__resource--project {
    display: flex;
    flex-direction: column;
}

.ksh-nw__resource--project .ksh-nw__resource-image {
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
}

.ksh-nw__resource--project .ksh-nw__resource-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ksh-nw__resource-grid.is-feature .ksh-nw__resource--project,
.ksh-nw__resource-grid.is-features .ksh-nw__resource--project {
    display: grid;
    grid-template-columns: minmax(210px, 0.40fr) minmax(0, 0.60fr);
}

.ksh-nw__resource-grid.is-feature .ksh-nw__resource--project .ksh-nw__resource-visual,
.ksh-nw__resource-grid.is-features .ksh-nw__resource--project .ksh-nw__resource-visual {
    min-height: 190px;
}

.ksh-nw__resource-grid.is-feature .ksh-nw__resource--project .ksh-nw__resource-image,
.ksh-nw__resource-grid.is-features .ksh-nw__resource--project .ksh-nw__resource-image {
    height: 100%;
    min-height: 158px;
    aspect-ratio: auto;
}


/* Quellen */

.ksh-nw__sources {
    margin-top: 22px;
    padding: 0;
    overflow: hidden;
    color: var(--ksh-nw-muted);
    background: var(--ksh-nw-warm);
    border-radius: 9px;
    font-size: 13px;
}

.ksh-nw__sources summary {
    padding: 14px 17px;
    color: var(--ksh-nw-text);
    font-weight: 700;
    cursor: pointer;
}

.ksh-nw__sources[open] summary {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.ksh-nw__sources ul {
    margin: 0;
    padding: 12px 35px 4px;
}

.ksh-nw__sources li {
    margin: 0 0 8px;
}

.ksh-nw__sources a {
    color: var(--ksh-nw-text) !important;
    text-decoration: none !important;
}

.ksh-nw__sources a:hover,
.ksh-nw__sources a:focus-visible {
    color: var(--ksh-nw-accent) !important;
    text-decoration: underline !important;
}

.ksh-nw__sources p {
    margin: 0;
    padding: 5px 17px 14px;
    font-size: 11px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media only screen and (max-width: 900px) {
    .ksh-nw__hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .ksh-nw__hero-center {
        grid-column: 1 / -1;
        grid-row: 1;
        padding: 5px 0 11px;
    }

    .ksh-nw__hero-bird {
        min-height: 138px;
    }

    .ksh-nw__grid--main,
    .ksh-nw__grid--topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ksh-nw__quick {
        grid-template-columns: 1fr;
    }

    .ksh-nw__quick button {
        width: fit-content;
    }

    .ksh-nw__info-section {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* =========================================================
   Smartphone
   ========================================================= */

@media only screen and (max-width: 640px) {
    .ksh-nw {
        padding: 22px 12px 42px;
    }

    .ksh-nw__hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 25px;
        padding-bottom: 23px;
    }

    .ksh-nw__hero-center {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
        padding: 2px 0 10px;
    }

    .ksh-nw__logo {
        width: 64px;
        height: 64px;
        border-radius: 11px;
    }

    .ksh-nw__eyebrow {
        margin-bottom: 5px;
        font-size: 9px;
    }

    .ksh-nw__hero h1 {
        font-size: 27px !important;
        line-height: 1.12 !important;
    }

    .ksh-nw__hero-copy > p:last-child {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.55;
    }

    .ksh-nw__hero-bird {
        min-height: 112px;
        border-radius: 12px;
    }

    .ksh-nw__hero-bird > span {
        right: 11px;
        bottom: 10px;
        left: 11px;
    }

    .ksh-nw__hero-bird strong {
        font-size: 16px;
    }

    .ksh-nw__hero-bird small {
        display: none;
    }

    .ksh-nw__grid--main,
    .ksh-nw__grid--topics {
        grid-template-columns: 1fr;
    }

    .ksh-nw__main-card {
        min-height: 205px;
        padding: 23px;
    }

    .ksh-nw__card-title {
        font-size: 25px !important;
    }

    .ksh-nw__quick {
        gap: 18px;
        padding: 23px;
    }

    .ksh-nw__quick strong {
        font-size: 21px;
    }

    .ksh-nw__quick button {
        width: 100%;
    }

    .ksh-nw__events {
        margin-top: 39px;
    }

    .ksh-nw__events-head {
        align-items: flex-start;
    }

    .ksh-nw__events-title {
        font-size: 21px;
    }

    .ksh-nw__event-row {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 0;
    }

    .ksh-nw__event-row time {
        min-height: 49px;
    }

    .ksh-nw__event-meta {
        display: grid;
        gap: 2px;
    }

    .ksh-nw__event-meta span + span::before {
        content: none;
        margin: 0;
    }

    .ksh-nw__modal {
        padding: 0;
    }

    .ksh-nw__dialog,
    .ksh-nw__dialog.is-detail {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .ksh-nw__dialog-head {
        grid-template-columns: 68px minmax(0, 1fr) 40px;
        min-height: 59px;
        padding: 5px 8px;
    }

    .ksh-nw__dialog-title {
        font-size: 18px;
        line-height: 1.15;
    }

    .ksh-nw__back span {
        display: none;
    }

    .ksh-nw__dialog-body {
        padding: 18px 14px 34px;
    }

    .ksh-nw__topic-media img {
        height: 210px;
    }

    .ksh-nw__resource-grid.is-apps,
    .ksh-nw__resource-grid.is-places,
    .ksh-nw__resource-grid.is-features,
    .ksh-nw__resource-grid.is-compact,
    .ksh-nw__resource-grid.is-feature {
        grid-template-columns: 1fr;
    }

    .ksh-nw__resource-grid.is-feature .ksh-nw__resource--article,
    .ksh-nw__resource-grid.is-features .ksh-nw__resource--article {
        display: flex;
    }

    .ksh-nw__resource--portal {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .ksh-nw__dialog-intro {
        margin-bottom: 14px;
        padding: 15px 16px;
        font-size: 14px;
    }

    .ksh-nw__topic-card {
        min-height: 120px;
        padding: 18px 40px 18px 18px;
    }

    .ksh-nw__topic-title {
        font-size: 19px !important;
    }

    .ksh-nw__lead {
        padding: 17px 18px;
        font-size: 18px;
    }

    .ksh-nw__info-section {
        padding: 18px;
    }

    .ksh-nw__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ksh-nw__action {
        width: 100%;
        text-align: center;
    }

    .ksh-nw__contact-copy {
        padding: 17px;
    }

    .ksh-nw__contact-link {
        grid-template-columns: 70px minmax(0, 1fr) auto;
        gap: 9px;
        padding: 11px 17px;
    }
}


@media only screen and (max-width: 640px) {
    .ksh-nw__topic-media figcaption {
        display: block;
    }

    .ksh-nw__media-credit {
        display: block;
        margin-top: 5px;
    }

    .ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource,
    .ksh-nw__resource--app,
    .ksh-nw__resource-grid.is-apps .ksh-nw__resource--portal {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .ksh-nw__resource--app .ksh-nw__resource-visual {
        padding: 13px 8px;
    }

    .ksh-nw__resource--app .ksh-nw__resource-image {
        width: 54px;
        height: 54px;
    }

    .ksh-nw__resource--app .ksh-nw__resource-image img {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .ksh-nw__resource-grid.is-feature .ksh-nw__resource--project,
    .ksh-nw__resource-grid.is-features .ksh-nw__resource--project {
        display: flex;
        flex-direction: column;
    }

    .ksh-nw__resource-grid.is-feature .ksh-nw__resource--project .ksh-nw__resource-visual,
    .ksh-nw__resource-grid.is-features .ksh-nw__resource--project .ksh-nw__resource-visual {
        min-height: 0;
    }

    .ksh-nw__resource-grid.is-feature .ksh-nw__resource--project .ksh-nw__resource-image,
    .ksh-nw__resource-grid.is-features .ksh-nw__resource--project .ksh-nw__resource-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ksh-nw__main-card,
    .ksh-nw__topic-card,
    .ksh-nw__action,
    .ksh-nw__quick button,
    .ksh-nw__card-arrow,
    .ksh-nw__topic-arrow {
        transition: none;
    }
}


/* =========================================================
   Überarbeitung 1.6.0 – App-Raster, Teaserkarten, zusätzliche Bilder
   ========================================================= */

.ksh-nw__resource-grid.is-teasers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource--article {
    display: grid;
    grid-template-columns: minmax(170px, 0.45fr) minmax(0, 0.55fr);
    align-items: stretch;
    min-height: 0;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-visual {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-image {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-body {
    padding: 16px 17px 15px;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-title {
    font-size: 20px;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-body > p {
    font-size: 12.5px;
    line-height: 1.55;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-links {
    padding-top: 12px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource {
    min-height: 0;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource--app,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource--portal {
    display: flex;
    flex-direction: column;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-visual,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-mark {
    min-height: 88px;
    padding: 16px 16px 12px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-body {
    padding: 0 16px 15px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-title {
    font-size: 18px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-mark {
    align-items: center;
    justify-content: center;
    min-height: 88px;
    font-size: 16px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-links {
    gap: 8px 12px;
    padding-top: 10px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-links a {
    font-size: 11px;
}

@media only screen and (max-width: 980px) {
    .ksh-nw__resource-grid.is-teasers,
    .ksh-nw__resource-grid.is-apps.is-count-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 680px) {
    .ksh-nw__resource-grid.is-teasers,
    .ksh-nw__resource-grid.is-apps.is-count-3 {
        grid-template-columns: 1fr;
    }

    .ksh-nw__resource-grid.is-teasers .ksh-nw__resource--article {
        grid-template-columns: 1fr;
    }

    .ksh-nw__resource-grid.is-teasers .ksh-nw__resource-image {
        min-height: 170px;
    }
}


/* =========================================================
   Überarbeitung 1.6.3 – Feinschliff App-Karten & Naturort-Teaser
   ========================================================= */

.ksh-nw__resource-grid.is-teasers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource--article {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-visual {
    display: block;
    min-height: 0;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 17px;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-kicker {
    margin-bottom: 8px;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-title {
    font-size: 19px;
    line-height: 1.14;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-body > p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.55;
}

.ksh-nw__resource-grid.is-teasers .ksh-nw__resource-links {
    margin-top: auto;
    padding-top: 14px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-visual,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-mark {
    min-height: 92px;
    padding: 16px 16px 10px;
    align-items: center;
    justify-content: center;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-image {
    width: 68px;
    height: 68px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 16px 15px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-title {
    font-size: 17px;
    line-height: 1.16;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-body > p {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.5;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-meta {
    margin-top: 10px;
    font-size: 11px;
}

.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-links {
    margin-top: auto;
    gap: 6px 12px;
    padding-top: 12px;
}



.ksh-nw__resource--place .ksh-nw__resource-image,
.ksh-nw__resource--project .ksh-nw__resource-image {
    aspect-ratio: 16 / 10;
}

.ksh-nw__resource--place .ksh-nw__resource-image img,
.ksh-nw__resource--project .ksh-nw__resource-image img {
    object-position: center center;
}



@media only screen and (max-width: 680px) {
    .ksh-nw__resource-grid.is-teasers,
    .ksh-nw__resource-grid.is-apps.is-count-3 {
        grid-template-columns: 1fr;
    }

    .ksh-nw__resource-grid.is-teasers .ksh-nw__resource-image {
        aspect-ratio: 16 / 10;
    }
}


/* =========================================================
   Version 1.7.0 – bebilderte zweite Ebene, einheitliche Apps, Termine
   ========================================================= */

.ksh-nw__dialog.is-category {
    width: min(1120px, calc(100vw - 44px));
}

.ksh-nw__dialog.is-category .ksh-nw__dialog-body {
    padding: 24px 26px 28px;
}

.ksh-nw__dialog-intro {
    max-width: 960px;
    margin-bottom: 18px;
    padding: 14px 18px;
    font-size: 14px;
}

.ksh-nw__grid--topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 960px;
    gap: 16px;
}

.ksh-nw__topic-card {
    min-height: 286px;
    padding: 0 0 16px;
    overflow: hidden;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 8px 23px rgba(17,17,17,0.065);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ksh-nw__topic-card:hover,
.ksh-nw__topic-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(17,17,17,0.10);
}

.ksh-nw__topic-visual {
    display: block;
    width: 100%;
    height: 116px;
    overflow: hidden;
    background: var(--ksh-category-softer);
}

.ksh-nw__topic-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ksh-nw__topic-visual.is-fallback {
    background:
        radial-gradient(circle at 24% 30%, var(--ksh-category-soft), transparent 34%),
        linear-gradient(135deg, var(--ksh-category-softer), rgba(255,255,255,.86));
}

.ksh-nw__topic-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    padding: 15px 18px 20px;
}

.ksh-nw__topic-title {
    margin-bottom: 7px !important;
    font-size: 18px !important;
    line-height: 1.18 !important;
}

.ksh-nw__topic-copy {
    display: -webkit-box !important;
    overflow: hidden;
    font-size: 12.5px !important;
    line-height: 1.48 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ksh-nw__topic-arrow {
    right: 17px;
    bottom: 14px;
    font-size: 16px;
}

/* App- und Portalempfehlungen durchgehend wie bei „Pflanzen bestimmen“ */
.ksh-nw__resource-grid.is-apps,
.ksh-nw__resource-grid.is-apps.is-count-3,
.ksh-nw__resource-grid.is-apps.is-count-4,
.ksh-nw__resource-grid.is-apps.is-count-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource,
.ksh-nw__resource-grid.is-apps.is-count-4 .ksh-nw__resource,
.ksh-nw__resource-grid.is-apps.is-count-6 .ksh-nw__resource {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 188px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-visual,
.ksh-nw__resource-grid.is-apps .ksh-nw__resource-mark,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-visual,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-mark {
    grid-column: 1;
    grid-row: 1;
    min-height: 100%;
    padding: 16px 10px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-body,
.ksh-nw__resource-grid.is-apps.is-count-3 .ksh-nw__resource-body {
    grid-column: 2;
    grid-row: 1;
    padding: 15px 16px 14px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-title {
    font-size: 19px;
}

.ksh-nw__resource-grid.is-apps .ksh-nw__resource-body > p {
    font-size: 12.5px;
    line-height: 1.52;
}

/* Terminliste: keine absolute Zusatzzeile, lange Inhalte dürfen sauber umbrechen */
.ksh-nw__events {
    margin-top: 42px;
}

.ksh-nw__events-head {
    align-items: center;
    margin-bottom: 10px;
}

.ksh-nw__events-head::before {
    content: none;
    display: none;
}

.ksh-nw__events-title {
    font-size: 21px;
    line-height: 1.25;
}

.ksh-nw__event-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 13px 2px;
}

.ksh-nw__event-row time {
    min-height: 52px;
}

.ksh-nw__event-content,
.ksh-nw__event-title,
.ksh-nw__event-meta,
.ksh-nw__event-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.ksh-nw__event-title {
    font-size: 16px;
    line-height: 1.35;
}

.ksh-nw__event-meta {
    gap: 3px 10px;
    font-size: 11.5px;
}

.ksh-nw__event-meta span + span::before {
    margin-right: 10px;
}

@media only screen and (max-width: 820px) {
    .ksh-nw__dialog.is-category {
        width: min(760px, calc(100vw - 24px));
    }

    .ksh-nw__grid--topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ksh-nw__resource-grid.is-apps,
    .ksh-nw__resource-grid.is-apps.is-count-3,
    .ksh-nw__resource-grid.is-apps.is-count-4,
    .ksh-nw__resource-grid.is-apps.is-count-6 {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 560px) {
    .ksh-nw__dialog.is-category {
        width: 100%;
    }

    .ksh-nw__dialog.is-category .ksh-nw__dialog-body {
        padding: 16px;
    }

    .ksh-nw__grid--topics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ksh-nw__topic-card {
        display: grid !important;
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 142px;
        padding: 0;
    }

    .ksh-nw__topic-visual {
        width: 118px;
        height: 100%;
        min-height: 142px;
    }

    .ksh-nw__topic-content {
        padding: 15px 34px 18px 15px;
    }

    .ksh-nw__topic-title {
        font-size: 17px !important;
    }

    .ksh-nw__topic-copy {
        -webkit-line-clamp: 3;
    }
}


/* =========================================================
   Version 1.8.0 – Startseite mit Bild über Farbkachel
   ========================================================= */
.ksh-nw__grid--main {
    gap: 18px;
}

.ksh-nw__main-card {
    min-height: 318px;
    padding: 0;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(23,23,23,0.08) !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(17,17,17,0.08);
}

.ksh-nw__main-card:hover,
.ksh-nw__main-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(17,17,17,0.12);
    filter: none;
}

.ksh-nw__main-visual {
    display: block;
    width: 100%;
    height: 132px;
    overflow: hidden;
    background: rgba(255,255,255,0.8);
}

.ksh-nw__main-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ksh-nw__main-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 186px;
    padding: 18px 24px 22px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--ksh-card-color) 92%, #ffffff 8%) 0%, var(--ksh-card-color) 100%);
}

.ksh-nw__main-body .ksh-nw__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 11px;
}

.ksh-nw__main-body .ksh-nw__icon svg {
    width: 26px;
    height: 26px;
}

.ksh-nw__main-body .ksh-nw__card-title {
    margin-bottom: 8px !important;
    font-size: 24px !important;
    line-height: 1.16 !important;
}

.ksh-nw__main-body .ksh-nw__card-copy {
    max-width: 34ch;
    font-size: 14px !important;
    line-height: 1.52 !important;
}

.ksh-nw__main-body .ksh-nw__card-arrow {
    right: 22px;
    bottom: 18px;
}

@media only screen and (max-width: 1100px) {
    .ksh-nw__main-card { min-height: 302px; }
    .ksh-nw__main-visual { height: 122px; }
    .ksh-nw__main-body { min-height: 176px; padding: 17px 20px 21px; }
    .ksh-nw__main-body .ksh-nw__card-title { font-size: 22px !important; }
}

@media only screen and (max-width: 780px) {
    .ksh-nw__main-card { min-height: 0; }
    .ksh-nw__main-visual { height: 140px; }
    .ksh-nw__main-body { min-height: 168px; }
}


/* =========================================================
   Version 1.8.1 – kompaktere Startseite und reduzierte Dialoge
   ========================================================= */
.ksh-nw__hero {
    grid-template-columns: minmax(220px, 360px) minmax(360px, 1fr);
    align-items: center;
    margin: 0 0 26px;
    padding: 0 0 24px;
}

.ksh-nw__hero-bird {
    min-height: 210px;
}

.ksh-nw__hero-bird--kingfisher {
    transform: translateX(-84px);
}

.ksh-nw__hero-bird img {
    max-width: 390px;
    height: 260px;
}

.ksh-nw__hero-center {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.ksh-nw__logo {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ksh-nw__hero h1 {
    font-size: clamp(25px, 2.45vw, 36px) !important;
    line-height: 1.08 !important;
}

.ksh-nw__hero-copy > p:last-child {
    margin-top: 6px;
    font-size: 13px;
}

.ksh-nw__events--dialog {
    margin: 14px 0 24px;
}

.ksh-nw__events--dialog .ksh-nw__events-head {
    margin-bottom: 14px;
}

.ksh-nw__events--dialog .ksh-nw__events-title {
    font-size: 26px;
}

.ksh-nw__dialog-intro {
    display: none !important;
}

@media only screen and (max-width: 1100px) {
    .ksh-nw__hero {
        grid-template-columns: minmax(190px, 290px) minmax(300px, 1fr);
        margin-bottom: 22px;
        padding-bottom: 20px;
    }
    .ksh-nw__hero-bird { min-height: 184px; }
    .ksh-nw__hero-bird img { max-width: 330px; height: 228px; }
    .ksh-nw__hero-bird--kingfisher { transform: translateX(-58px); }
}

@media only screen and (max-width: 780px) {
    .ksh-nw__hero {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }
    .ksh-nw__hero-bird {
        min-height: 150px;
        justify-content: flex-start;
    }
    .ksh-nw__hero-bird--kingfisher {
        transform: translateX(-18px);
    }
    .ksh-nw__hero-bird img {
        max-width: 250px;
        height: 168px;
    }
    .ksh-nw__hero-center {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }
    .ksh-nw__logo {
        width: 48px;
        height: 48px;
    }
}


/* =========================================================
   Version 1.8.3 – klare Startseite, zwei Direktzugänge im Kopf
   ========================================================= */
.ksh-nw__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ksh-nw__hero-actions button {
    min-height: 36px;
    padding: 8px 13px;
    color: var(--ksh-nw-text) !important;
    background: rgba(255,255,255,0.60) !important;
    border: 1px solid rgba(23,23,23,0.18) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

.ksh-nw__hero-actions button:hover,
.ksh-nw__hero-actions button:focus-visible {
    color: var(--ksh-nw-text) !important;
    background: rgba(255,255,255,0.88) !important;
    border-color: rgba(23,23,23,0.34) !important;
    transform: none !important;
}

.ksh-nw__hero-actions button:focus-visible {
    outline: 2px solid rgba(201,128,85,0.50) !important;
    outline-offset: 2px;
}

.ksh-nw__main-card--tier-gefunden .ksh-nw__main-visual img {
    object-position: center 38%;
}

.ksh-nw__main-card--tiere-am-haus .ksh-nw__main-visual img {
    object-position: center 77%;
}

.ksh-nw__main-card--bestimmen-melden .ksh-nw__main-visual img {
    object-position: center 48%;
}

.ksh-nw__main-card--garten-balkon-gebaeude .ksh-nw__main-visual img {
    object-position: center 43%;
}

.ksh-nw__main-card--baeume-hecken-flaechen .ksh-nw__main-visual img {
    object-position: center 52%;
}

.ksh-nw__main-card--natur-erleben-mitmachen .ksh-nw__main-visual img {
    object-position: center 42%;
}

.ksh-nw__grid--main {
    margin-bottom: 0;
}

@media only screen and (max-width: 780px) {
    .ksh-nw__hero-actions {
        margin-top: 11px;
    }

    .ksh-nw__hero-actions button {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 11px !important;
    }
}


/* =========================================================
   Version 1.8.4 – Bildausschnitte, Popup-Titel und Kartenhöhe
   ========================================================= */
.ksh-nw__main-card {
    min-height: 336px;
}

.ksh-nw__main-visual {
    height: 150px;
}

.ksh-nw__main-card--tier-gefunden .ksh-nw__main-visual img {
    object-position: center 63%;
}

.ksh-nw__main-card--tiere-am-haus .ksh-nw__main-visual img {
    object-position: 66% 69%;
}

.ksh-nw__dialog-head {
    grid-template-columns: 88px minmax(0, 1fr) 36px;
    gap: 9px;
    min-height: 64px;
}

.ksh-nw__dialog-title {
    font-size: 23px;
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.ksh-nw__dialog-title.is-long {
    font-size: 20px;
}

.ksh-nw__dialog-title.is-very-long {
    font-size: 18px;
}

@media only screen and (max-width: 1100px) {
    .ksh-nw__main-card {
        min-height: 326px;
    }

    .ksh-nw__main-visual {
        height: 144px;
    }
}

@media only screen and (max-width: 780px) {
    .ksh-nw__main-card {
        min-height: 0;
    }

    .ksh-nw__main-visual {
        height: 152px;
    }

    .ksh-nw__dialog-head {
        grid-template-columns: 54px minmax(0, 1fr) 36px;
        gap: 5px;
        min-height: 58px;
        padding: 5px 8px;
    }

    .ksh-nw__dialog-title,
    .ksh-nw__dialog-title.is-long {
        font-size: 17px;
        line-height: 1.12;
    }

    .ksh-nw__dialog-title.is-very-long {
        font-size: 15px;
    }
}


/* =========================================================
   Version 1.8.5 – integriertes Logo und rechte Direktzugänge
   ========================================================= */
.ksh-nw__hero-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    width: 100%;
}

.ksh-nw__hero-brand {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    min-width: 0;
}

.ksh-nw__logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ksh-nw__hero-actions {
    justify-content: flex-end;
    align-items: center;
    margin-top: 0;
    white-space: nowrap;
}

.ksh-nw__hero-actions button:first-child {
    background: rgba(255,255,255,0.78) !important;
    border-color: rgba(23,23,23,0.24) !important;
}

@media only screen and (max-width: 1040px) {
    .ksh-nw__hero-center {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ksh-nw__hero-actions {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 780px) {
    .ksh-nw__hero-brand {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .ksh-nw__logo {
        width: 48px;
        height: 48px;
    }

    .ksh-nw__hero-actions {
        flex-wrap: wrap;
        white-space: normal;
    }
}


/* =========================================================
   Version 1.9.1 – Artikelteaser im naturnahen Garten
   ========================================================= */
.ksh-nw__resource-grid.is-teasers.is-count-2 .ksh-nw__resource--article {
    min-height: 100%;
}

.ksh-nw__resource-grid.is-teasers.is-count-2 .ksh-nw__resource-image {
    aspect-ratio: 16 / 8.5;
}

.ksh-nw__resource-grid.is-teasers.is-count-2 .ksh-nw__resource-body {
    min-height: 205px;
}

.ksh-nw__resource-grid.is-teasers.is-count-2 .ksh-nw__resource-title {
    font-size: 22px;
    line-height: 1.15;
}

.ksh-nw__resource-grid.is-teasers.is-count-2 .ksh-nw__resource-body > p {
    max-width: 42ch;
}

@media only screen and (max-width: 680px) {
    .ksh-nw__resource-grid.is-teasers.is-count-2 .ksh-nw__resource-body {
        min-height: 0;
    }
}


/* =========================================================
   Version 1.9.2 – Kindergruppen im bestehenden Pop-up
   ========================================================= */
.ksh-nw__resource-grid.is-children {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.ksh-nw__resource-grid.is-children .ksh-nw__resource--project {
    min-height: 230px;
    background: #fff;
    border: 1px solid rgba(17,17,17,0.10);
    box-shadow: 0 10px 26px rgba(17,17,17,0.07);
}

.ksh-nw__resource-grid.is-children .ksh-nw__resource-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 18px;
}

.ksh-nw__resource-grid.is-children .ksh-nw__resource-eyebrow {
    margin-bottom: 8px;
    color: var(--ksh-category-deep);
}

.ksh-nw__resource-grid.is-children .ksh-nw__resource-title {
    font-size: 23px;
    line-height: 1.17;
}

.ksh-nw__resource-grid.is-children .ksh-nw__resource-body > p {
    font-size: 13px;
    line-height: 1.6;
}

.ksh-nw__resource-grid.is-children .ksh-nw__resource-meta {
    margin-top: 12px;
}

.ksh-nw__resource-grid.is-children .ksh-nw__resource-links {
    margin-top: auto;
    padding-top: 16px;
}

@media only screen and (max-width: 680px) {
    .ksh-nw__resource-grid.is-children {
        grid-template-columns: 1fr;
    }

    .ksh-nw__resource-grid.is-children .ksh-nw__resource--project {
        min-height: 0;
    }
}


/* =========================================================
   Version 1.9.3 – sichtbare Aktionskarten statt schwarzer Buttons
   ========================================================= */
.ksh-nw__featured-actions {
    display: grid;
    gap: 16px;
    margin: 24px 0 2px;
}

.ksh-nw__featured-action {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    min-height: 174px;
    overflow: hidden;
    color: var(--ksh-nw-text) !important;
    background: #fff !important;
    border: 1px solid rgba(17,17,17,0.11) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(17,17,17,0.08);
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ksh-nw__featured-action:hover,
.ksh-nw__featured-action:focus-visible {
    color: var(--ksh-nw-text) !important;
    border-color: color-mix(in srgb, var(--ksh-category-deep) 42%, transparent) !important;
    box-shadow: 0 18px 38px rgba(17,17,17,0.13);
    transform: translateY(-2px);
}

.ksh-nw__featured-action-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 174px;
    overflow: hidden;
    background: color-mix(in srgb, var(--ksh-category-color) 18%, #f7f5f2);
}

.ksh-nw__featured-action-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 174px;
    object-fit: cover;
    object-position: center;
}

.ksh-nw__featured-action.has-image .ksh-nw__featured-action-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,17,17,0.02), rgba(17,17,17,0));
    pointer-events: none;
}

.ksh-nw__featured-action-symbol {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: #fff;
    background: var(--ksh-category-deep);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

.ksh-nw__featured-action-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 22px 24px 20px;
}

.ksh-nw__featured-action-kicker {
    margin-bottom: 6px;
    color: var(--ksh-category-deep);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ksh-nw__featured-action-title {
    color: var(--ksh-nw-text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.015em;
}

.ksh-nw__featured-action-description {
    max-width: 62ch;
    margin-top: 8px;
    color: #565656;
    font-size: 13px;
    line-height: 1.55;
}

.ksh-nw__featured-action-link {
    align-self: flex-start;
    margin-top: 14px;
    padding: 8px 11px;
    color: #fff;
    background: var(--ksh-category-deep);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.ksh-nw__featured-action:hover .ksh-nw__featured-action-link,
.ksh-nw__featured-action:focus-visible .ksh-nw__featured-action-link {
    background: var(--ksh-nw-accent);
}

/* Das hochformatige Programmcover vollständig zeigen. */
.ksh-nw__featured-action img[src*="nzb-programm-2026-cover"] {
    object-fit: contain;
    background: #e9f1da;
}

/* Sekundäre Aktionen bleiben bewusst kleiner und ruhig. */
.ksh-nw__action.is-primary {
    color: var(--ksh-nw-text) !important;
    background: #fff !important;
    border-color: rgba(17,17,17,.22) !important;
}

@media only screen and (max-width: 680px) {
    .ksh-nw__featured-action {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 156px;
    }

    .ksh-nw__featured-action-visual,
    .ksh-nw__featured-action-visual img {
        min-height: 156px;
    }

    .ksh-nw__featured-action-copy {
        padding: 18px 17px 17px;
    }

    .ksh-nw__featured-action-title {
        font-size: 19px;
    }

    .ksh-nw__featured-action-description {
        font-size: 12px;
        line-height: 1.48;
    }
}

@media only screen and (max-width: 470px) {
    .ksh-nw__featured-action {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .ksh-nw__featured-action-copy {
        padding-inline: 14px;
    }

    .ksh-nw__featured-action-description {
        display: none;
    }
}

/* =========================================================
   Version 1.15.0 – installierbare Web-App / Homescreen
   Desktop bleibt unverändert; Installationszugang nur mobil.
   ========================================================= */
.ksh-nw__install-trigger[hidden],
.ksh-nw__install-modal[hidden] {
    display: none !important;
}

.ksh-nw__install-trigger {
    border-color: rgba(69, 96, 63, 0.42) !important;
    background: rgba(247, 245, 242, 0.92) !important;
}

.ksh-nw__install-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    align-items: end;
    justify-items: center;
    padding: 18px;
}

.ksh-nw__install-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.48);
    backdrop-filter: blur(2px);
}

.ksh-nw__install-sheet {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: min(78vh, 680px);
    overflow: auto;
    padding: 26px 24px calc(26px + env(safe-area-inset-bottom));
    color: #171717;
    background: #fbf8f4;
    border: 1px solid rgba(17,17,17,0.10);
    border-radius: 18px 18px 12px 12px;
    box-shadow: 0 22px 60px rgba(17,17,17,0.24);
    font-family: Lato, Arial, sans-serif;
}

.ksh-nw__install-icon {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 0 16px;
    border-radius: 15px;
    box-shadow: 0 6px 16px rgba(17,17,17,0.10);
}

.ksh-nw__install-kicker {
    margin: 0 42px 5px 0;
    color: #66705f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.ksh-nw__install-sheet h2 {
    margin: 0 42px 15px 0 !important;
    color: #171717 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 25px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}

.ksh-nw__install-copy {
    color: #3f3f3f;
    font-size: 15px;
    line-height: 1.55;
}

.ksh-nw__install-copy p {
    margin: 0 0 12px;
}

.ksh-nw__install-copy p:last-child {
    margin-bottom: 0;
}

.ksh-nw__install-copy ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.ksh-nw__install-copy li {
    margin: 0 0 8px;
    padding-left: 3px;
}

.ksh-nw__install-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    color: #171717 !important;
    background: transparent !important;
    border: 1px solid rgba(17,17,17,0.14) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
}

html.ksh-nw-install-open,
html.ksh-nw-install-open body {
    overflow: hidden !important;
}

@media only screen and (min-width: 821px) and (pointer: fine) {
    .ksh-nw__install-trigger,
    .ksh-nw__install-modal {
        display: none !important;
    }
}

@media only screen and (max-width: 520px) {
    .ksh-nw__install-modal {
        padding: 10px;
    }

    .ksh-nw__install-sheet {
        padding: 23px 20px calc(22px + env(safe-area-inset-bottom));
    }

    .ksh-nw__install-sheet h2 {
        font-size: 23px !important;
    }
}

@media all and (display-mode: standalone) {
    .ksh-nw {
        min-height: 100svh;
        padding-top: max(28px, env(safe-area-inset-top));
        padding-bottom: max(42px, env(safe-area-inset-bottom));
    }

    .ksh-nw__install-trigger {
        display: none !important;
    }
}


/* =========================================================
   Version 1.15.0 – echte PWA-Installation, App-Modus & Performance
   Kein Offline-Cache: Service Worker arbeitet bewusst network-only.
   ========================================================= */

/* Die normale Website bleibt unverändert. Nur die installierte Darstellung
   übernimmt den Bildschirm vollständig und blendet das WordPress-Chrome optisch aus. */
html.ksh-nw-app-mode,
html.ksh-nw-app-mode body {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    overflow: hidden !important;
    background: #f7f5f2 !important;
}

html.ksh-nw-app-mode .ksh-nw {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147481000 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100svh !important;
    margin: 0 !important;
    padding: max(12px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    border-radius: 0 !important;
    background: #f7f5f2 !important;
    -webkit-overflow-scrolling: touch;
}

html.ksh-nw-app-mode .ksh-nw::before {
    position: fixed;
    inset: 0;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #faf7f3 0%, #f5efe9 100%) !important;
    box-shadow: none !important;
}

html.ksh-nw-app-mode .ksh-nw::after {
    display: none !important;
}

html.ksh-nw-app-mode .ksh-nw__hero {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 2px 2px 13px !important;
    border-bottom: 1px solid rgba(17,17,17,.09);
}

html.ksh-nw-app-mode .ksh-nw__hero-bird {
    display: none !important;
}

html.ksh-nw-app-mode .ksh-nw__hero-center {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

html.ksh-nw-app-mode .ksh-nw__hero-brand {
    display: grid !important;
    grid-template-columns: 44px minmax(0,1fr) !important;
    gap: 10px !important;
    align-items: center !important;
}

html.ksh-nw-app-mode .ksh-nw__logo {
    width: 44px !important;
    height: 44px !important;
}

html.ksh-nw-app-mode .ksh-nw__hero h1 {
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
}

html.ksh-nw-app-mode .ksh-nw__hero-copy > p:last-child {
    margin: 4px 0 0 !important;
    max-width: 54ch;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    color: #5d5d5d !important;
}

html.ksh-nw-app-mode .ksh-nw__hero-actions {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    margin: 0 !important;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap !important;
}

html.ksh-nw-app-mode .ksh-nw__hero-actions::-webkit-scrollbar { display:none; }

html.ksh-nw-app-mode .ksh-nw__hero-actions button {
    min-height: 32px !important;
    padding: 6px 10px !important;
    flex: 0 0 auto;
    font-size: 10.5px !important;
    border-radius: 7px !important;
}

html.ksh-nw-app-mode .ksh-nw__grid--main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
}

html.ksh-nw-app-mode .ksh-nw__main-card {
    min-height: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 16px rgba(17,17,17,.08) !important;
}

html.ksh-nw-app-mode .ksh-nw__main-card:hover,
html.ksh-nw-app-mode .ksh-nw__main-card:focus-visible {
    transform: none !important;
}

html.ksh-nw-app-mode .ksh-nw__main-visual {
    height: 88px !important;
}

html.ksh-nw-app-mode .ksh-nw__main-body {
    min-height: 116px !important;
    padding: 11px 12px 13px !important;
}

html.ksh-nw-app-mode .ksh-nw__main-body .ksh-nw__icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
}

html.ksh-nw-app-mode .ksh-nw__main-body .ksh-nw__icon svg {
    width: 19px !important;
    height: 19px !important;
}

html.ksh-nw-app-mode .ksh-nw__main-body .ksh-nw__card-title {
    margin: 0 24px 0 0 !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
}

html.ksh-nw-app-mode .ksh-nw__main-body .ksh-nw__card-copy {
    display: none !important;
}

html.ksh-nw-app-mode .ksh-nw__main-body .ksh-nw__card-arrow {
    right: 10px !important;
    bottom: 10px !important;
    font-size: 16px !important;
}

/* Kategorien und Details werden in der installierten App zu echten Seiten. */
html.ksh-nw-app-mode .ksh-nw__modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482000 !important;
    padding: 0 !important;
}

html.ksh-nw-app-mode .ksh-nw__backdrop {
    display: none !important;
}

html.ksh-nw-app-mode .ksh-nw__dialog {
    width: 100% !important;
    max-width: none !important;
    height: 100svh !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fbf8f4 !important;
}

html.ksh-nw-app-mode .ksh-nw__dialog-head {
    min-height: calc(56px + env(safe-area-inset-top)) !important;
    padding-top: max(5px, env(safe-area-inset-top)) !important;
    background: rgba(251,248,244,.96) !important;
    backdrop-filter: blur(12px);
}

html.ksh-nw-app-mode .ksh-nw__dialog-body {
    padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain;
}

html.ksh-nw-app-mode .ksh-nw__grid--topics {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
}

html.ksh-nw-app-mode .ksh-nw__topic-card {
    min-height: 0 !important;
    border-radius: 12px !important;
}

html.ksh-nw-app-mode .ksh-nw__topic-visual {
    height: 104px !important;
}

html.ksh-nw-app-mode .ksh-nw__topic-content {
    padding: 10px 11px 12px !important;
}

html.ksh-nw-app-mode .ksh-nw__topic-title {
    font-size: 14px !important;
    line-height: 1.15 !important;
}

html.ksh-nw-app-mode .ksh-nw__topic-copy {
    display: none !important;
}

/* Deferred images retain their layout while the real source is loaded. */
.ksh-nw img[data-ksh-src] {
    background: rgba(81,96,77,.08);
}

@media only screen and (max-width: 360px) {
    html.ksh-nw-app-mode .ksh-nw__main-visual { height: 78px !important; }
    html.ksh-nw-app-mode .ksh-nw__main-body { min-height: 108px !important; }
    html.ksh-nw-app-mode .ksh-nw__main-body .ksh-nw__card-title { font-size: 14.5px !important; }
}


/* =========================================================
   Version 1.15.1 – zweite Ebene mobil klarer, ruhiger, lesbarer
   ========================================================= */

@media only screen and (min-width: 641px) and (max-width: 900px) {
    .ksh-nw__grid--topics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    .ksh-nw__topic-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        padding: 0 0 16px !important;
        border-radius: 15px !important;
    }

    .ksh-nw__topic-visual {
        width: 100% !important;
        height: 134px !important;
        min-height: 134px !important;
    }

    .ksh-nw__topic-content {
        padding: 15px 16px 20px !important;
    }

    .ksh-nw__topic-title {
        font-size: 18px !important;
        line-height: 1.16 !important;
    }

    .ksh-nw__topic-copy {
        font-size: 13px !important;
        line-height: 1.52 !important;
        -webkit-line-clamp: 2;
    }
}

@media only screen and (max-width: 640px) {
    .ksh-nw__dialog-head {
        grid-template-columns: 62px minmax(0, 1fr) 36px;
        min-height: 58px;
        padding: 7px 10px;
    }

    .ksh-nw__dialog-title {
        font-size: 18px;
        line-height: 1.14;
    }

    .ksh-nw__grid--topics {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .ksh-nw__topic-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        padding: 0 0 16px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08) !important;
    }

    .ksh-nw__topic-visual {
        width: 100% !important;
        height: 168px !important;
        min-height: 168px !important;
    }

    .ksh-nw__topic-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 16px 18px 22px !important;
    }

    .ksh-nw__topic-title {
        margin-bottom: 8px !important;
        padding-right: 24px;
        font-size: 22px !important;
        line-height: 1.12 !important;
    }

    .ksh-nw__topic-copy {
        display: -webkit-box !important;
        overflow: hidden;
        padding-right: 18px;
        font-size: 14px !important;
        line-height: 1.5 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .ksh-nw__topic-arrow {
        right: 18px !important;
        bottom: 17px !important;
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 640px) {
    html.ksh-nw-app-mode .ksh-nw__grid--topics {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    html.ksh-nw-app-mode .ksh-nw__topic-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        border-radius: 14px !important;
    }

    html.ksh-nw-app-mode .ksh-nw__topic-visual {
        width: 100% !important;
        height: 144px !important;
        min-height: 144px !important;
    }

    html.ksh-nw-app-mode .ksh-nw__topic-content {
        padding: 13px 15px 18px !important;
    }

    html.ksh-nw-app-mode .ksh-nw__topic-title {
        padding-right: 20px;
        font-size: 18px !important;
        line-height: 1.14 !important;
    }

    html.ksh-nw-app-mode .ksh-nw__topic-copy {
        display: -webkit-box !important;
        overflow: hidden;
        font-size: 13px !important;
        line-height: 1.48 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    html.ksh-nw-app-mode .ksh-nw__topic-arrow {
        right: 15px !important;
        bottom: 15px !important;
        font-size: 17px !important;
    }
}

/* =========================================================
   Version 1.15.3 – Release Candidate
   App-Hinweis auf Desktop, Lazy-Kalender und Feinschliff
   ========================================================= */

/* Desktop: dritter, dezenter Zugang zur Handy-App. */
@media only screen and (min-width: 821px) and (pointer: fine) {
    .ksh-nw__install-trigger:not([hidden]) {
        display: inline-flex !important;
    }

    .ksh-nw__install-modal:not([hidden]) {
        display: grid !important;
        align-items: center;
    }

    .ksh-nw__install-sheet {
        width: min(560px, calc(100vw - 48px));
        border-radius: 18px;
    }
}

.ksh-nw__install-desktop {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(17,17,17,.10);
}

.ksh-nw__install-desktop[hidden],
.ksh-nw__install-qr-wrap[hidden] {
    display: none !important;
}

.ksh-nw__install-qr-wrap {
    display: grid;
    gap: 7px;
    justify-items: center;
    color: #666;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

.ksh-nw__install-qr {
    display: block;
    width: 168px;
    height: 168px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 10px;
}

.ksh-nw__install-url-row {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.ksh-nw__install-url-row a {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #313131 !important;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.ksh-nw__install-url-row button {
    width: fit-content;
    min-height: 40px;
    padding: 9px 14px !important;
    color: #fff !important;
    background: #4f654b !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer;
}

/* Termine werden erst beim Öffnen des Terminbereichs geladen. */
.ksh-nw__events-live {
    margin: 12px 0 22px;
}

.ksh-nw__events-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 2px;
    color: var(--ksh-nw-muted);
    border-top: 1px solid var(--ksh-nw-border);
    border-bottom: 1px solid var(--ksh-nw-border);
    font-size: 13px;
}

.ksh-nw__events-loading span {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid rgba(79,101,75,.22);
    border-top-color: #4f654b;
    border-radius: 50%;
    animation: ksh-nw-spin .8s linear infinite;
}

@keyframes ksh-nw-spin {
    to { transform: rotate(360deg); }
}

@media only screen and (max-width: 820px) {
    .ksh-nw__install-desktop {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ksh-nw__events-loading span { animation: none; }
}
