/* Lechweg – Project Theme (D-690) „Der Lauf“. Entwurf: docs/04-design.md, Kontraste dort berechnet.
   Die Linie des Lechs aus den GPX-Daten ist das Leitmotiv. Bindet Family-Markup (bsf-*, Bootstrap) und eigene lw-*-Klassen. */
:root {
    --lw-paper: #F5F3EC; --lw-white: #FFFFFF; --lw-ink: #14302C; --lw-mute: #55685F; --lw-lech: #00788A; --lw-lech-d: #005F6E;
    --lw-river: #12A5B8; --lw-sign: #F4B731; --lw-sign-d: #E3A516; --lw-line: #D9D6CA; --lw-ice: #C5EEF0; --lw-ice-2: #E9F7F8;
    --lw-slab: "Zilla Slab", Georgia, serif; --lw-sans: "IBM Plex Sans", Arial, sans-serif;
    --lw-gap: clamp(1rem, .6rem + 1.6vw, 1.75rem); --lw-sec: clamp(3.25rem, 2rem + 5vw, 6rem);
}

/* ------------------------------------------------------------------ Grundlagen */
.lw-body { background: var(--lw-paper); color: var(--lw-ink); font-family: var(--lw-sans); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
@media (min-width: 992px) { .lw-body { font-size: 1.125rem; } }
.lw-body h1, .lw-body h2, .lw-body h3, .lw-body h4, .lw-h1, .lw-h2, .lw-h3 { font-family: var(--lw-slab); font-weight: 600; color: inherit; letter-spacing: -.01em; }
.lw-body h1, .lw-h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem); line-height: 1.03; margin: 0; }
.lw-body h2, .lw-h2 { font-size: clamp(1.9rem, 1.45rem + 1.8vw, 3rem); line-height: 1.1; margin: 0; }
.lw-body h3, .lw-h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.625rem); line-height: 1.18; margin: 0; display: block; }
.lw-body a:not(.btn):not(.lw-btn) { color: var(--lw-lech); text-underline-offset: .18em; }
.lw-body a:not(.btn):not(.lw-btn):hover { color: var(--lw-lech-d); }
.lw-body [data-bsf-surface="dark"] a:not(.btn):not(.lw-btn), .lw-body .lw-footer a:not(.btn):not(.lw-btn) { color: var(--lw-ice); }
.lw-body [data-bsf-surface="dark"] a:not(.btn):not(.lw-btn):hover { color: #fff; }
.lw-body :focus-visible { outline: 3px solid var(--lw-lech); outline-offset: 3px; }
.lw-body ::selection { background: var(--lw-ice); color: var(--lw-ink); }
.lw-body .container { max-width: 1320px; padding-inline: clamp(1.25rem, .6rem + 2.6vw, 3rem); }
.lw-kick, .lw-body .bsf-heading-kicker { font: 600 .8125rem/1.25 var(--lw-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--lw-lech); margin: 0 0 .85rem; }
.lw-lead, .lw-body .lead { font-size: clamp(1.125rem, 1.02rem + .4vw, 1.375rem); line-height: 1.45; margin: 1rem 0 0; max-width: 46rem; }
.lw-label { font: 600 .9375rem/1.3 var(--lw-sans); color: var(--lw-mute); margin: 1.5rem 0 .4rem; }
.lw-tip { font: 500 clamp(1.2rem, 1.1rem + .4vw, 1.4rem)/1.35 var(--lw-slab); }
.lw-nb { white-space: nowrap; }
.lw-rich > :first-child { margin-top: 0; }
.lw-rich { margin-top: 1rem; }
.lw-narrow { max-width: 46rem; }
.lw-mb { margin-bottom: 1.75rem !important; }
.lw-mt { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem) !important; }
.lw-after { margin: 1.5rem 0 0; }
.lw-main { display: block; }

/* ------------------------------------------------------------------ Knöpfe: Pille */
.lw-body .btn { border-radius: 999px; font: 600 1.0625rem/1.15 var(--lw-sans); }
.lw-body .btn-primary, .lw-body .btn-outline-primary, .lw-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .7rem 1.6rem; border-radius: 999px; font: 600 1.0625rem/1.15 var(--lw-sans); text-decoration: none; border: 2px solid transparent; text-align: center; }
.lw-body .btn-outline-primary { border-color: var(--bs-btn-border-color); }
.lw-body .btn-outline-primary:hover { border-color: var(--bs-btn-hover-border-color); }
.lw-body .btn-primary { --bs-btn-bg: var(--lw-lech); --bs-btn-border-color: var(--lw-lech); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--lw-lech-d); --bs-btn-hover-border-color: var(--lw-lech-d); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--lw-lech-d); --bs-btn-active-border-color: var(--lw-lech-d); }
.lw-body .btn-outline-primary { --bs-btn-color: var(--lw-ink); --bs-btn-border-color: var(--lw-ink); --bs-btn-hover-bg: var(--lw-ink); --bs-btn-hover-border-color: var(--lw-ink); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--lw-ink); --bs-btn-active-border-color: var(--lw-ink); }
.lw-body .bsf-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; }
.lw-body .bsf-btn-row .btn { margin: 0 !important; }
.lw-body a.lw-btn-p { background: var(--lw-lech); color: #fff; } .lw-body a.lw-btn-p:hover { background: var(--lw-lech-d); color: #fff; }
.lw-body .lw-btn-y { background: var(--lw-sign); color: var(--lw-ink); cursor: pointer; } .lw-body .lw-btn-y:hover { background: var(--lw-sign-d); color: var(--lw-ink); }
.lw-body a.lw-btn-o { border-color: var(--lw-ink); color: var(--lw-ink); } .lw-body a.lw-btn-o:hover { background: var(--lw-ink); color: #fff; }
.lw-stack { display: grid; gap: .6rem; margin-top: 1rem; }

/* ------------------------------------------------------------------ Kopf */
.lw-header { background: var(--lw-white); border-bottom: 1px solid var(--lw-line); }
.lw-header .navbar { min-height: 4.25rem; padding-block: .4rem; }
.lw-header .bsf-logo-img { height: 2.25rem; width: auto; }
.lw-header .navbar-toggler { min-height: 2.75rem; min-width: 2.75rem; border: 2px solid var(--lw-ink); border-radius: 999px; }
.lw-header .nav-link { display: flex; align-items: center; min-height: 2.75rem; font: 500 1rem/1.2 var(--lw-sans); color: var(--lw-ink) !important; padding: .5rem .9rem !important; }
.lw-header .nav-link:hover, .lw-header .nav-link.active { color: var(--lw-lech) !important; }
.lw-header .btn-primary { --bs-btn-bg: var(--lw-sign); --bs-btn-border-color: var(--lw-sign); --bs-btn-color: var(--lw-ink); --bs-btn-hover-bg: var(--lw-sign-d); --bs-btn-hover-border-color: var(--lw-sign-d); --bs-btn-hover-color: var(--lw-ink); white-space: nowrap; min-height: 2.875rem; padding: .55rem 1.3rem; font-size: 1rem; }
@media (max-width: 767.98px) { .lw-header, .lw-header .bsf-header-wrap { min-height: 3.75rem; } .lw-header .navbar { min-height: 3.75rem; padding-block: .25rem; } .lw-header .btn-primary { min-height: 2.75rem; padding: .4rem 1rem; } .lw-header .bsf-logo-img { height: 2rem; } }
@media (min-width: 1200px) { .lw-header .navbar { min-height: 5.25rem; } .lw-header .bsf-logo-img { height: 2.75rem; } }

/* ------------------------------------------------------------------ Hero: Family und automatischer Seitenkopf */
.lw-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(19rem, 14rem + 26vw, 35rem); color: #fff; background: var(--lw-ink); }
.lw-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lw-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 42, 47, .2) 0%, rgba(14, 42, 47, .68) 38%, rgba(14, 42, 47, .88) 100%); }
.lw-hero-in { position: relative; z-index: 2; padding-block: clamp(1.5rem, 1rem + 2.4vw, 3.5rem); width: 100%; }
.lw-hero .lw-kick { color: #fff; }
.lw-hero-plain { min-height: 0; background: var(--lw-paper); color: var(--lw-ink); }
.lw-hero-plain::before { display: none; }
.lw-hero-plain .lw-kick { color: var(--lw-lech); }
.lw-body .bsf-hero { min-height: 0; }
.lw-body .bsf-slider .bsf-hero-overlay, .lw-body .bsf-hero::before { background: linear-gradient(180deg, rgba(14, 42, 47, .2) 0%, rgba(14, 42, 47, .68) 38%, rgba(14, 42, 47, .88) 100%) !important; opacity: 1 !important; }

/* ------------------------------------------------------------------ Kennzahlen, Sprungleiste */
.lw-stats { background: var(--lw-white); border-bottom: 1px solid var(--lw-line); }
.lw-stats dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.lw-stats dl > div { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--lw-line); display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.lw-stats dd { margin: 0; font: 600 clamp(1.4rem, 1.2rem + .7vw, 1.875rem)/1.15 var(--lw-slab); }
.lw-stats dt { font: 400 .9rem/1.3 var(--lw-sans); color: var(--lw-mute); }
.lw-stats .lw-stats-w { grid-column: 1 / -1; }
.lw-stats .lw-stats-w dd { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
@media (min-width: 992px) { .lw-stats dl { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } .lw-stats dl > div { border-bottom: 0; padding: 1.25rem 1.5rem 1.25rem 0; } .lw-stats .lw-stats-w { grid-column: auto; } .lw-stats dl > div { min-width: 0; } }
.lw-jump { position: sticky; top: calc(5rem + 1px); z-index: 5; background: var(--lw-white); border-bottom: 1px solid var(--lw-line); }
.lw-jump .container { display: flex; gap: .5rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.lw-jump a { flex: none; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .95rem; border-radius: 999px; background: var(--lw-paper); color: var(--lw-ink); text-decoration: none; font: 500 .9375rem/1 var(--lw-sans); }
@media (min-width: 992px) { .lw-jump { display: none; } }
@media (max-width: 767.98px) { .lw-jump { top: calc(3.75rem + 1px); } .lw-jump .container { padding-block: .3rem; } }

/* ------------------------------------------------------------------ Abschnitte und Raster */
.lw-sec { padding-block: var(--lw-sec); scroll-margin-top: 4rem; }
.lw-pt0 { padding-top: 0; }
.lw-white { background: var(--lw-white); }
.lw-split { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .lw-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4.5rem; align-items: start; } }
.lw-grid3 { display: grid; gap: var(--lw-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .lw-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lw-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lw-grid3 > [hidden] { display: none !important; }
.lw-panel { background: var(--lw-white); border: 1px solid var(--lw-line); padding: clamp(1.1rem, .9rem + 1vw, 1.75rem); }
.lw-panel > :first-child { margin-top: 0; }
.lw-gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lw-gallery img { width: 100%; height: clamp(9rem, 6rem + 14vw, 17rem); object-fit: cover; display: block; }
@media (min-width: 992px) { .lw-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ Karten */
.lw-body a.lw-ov:not(.btn):not(.lw-btn) { color: #fff; }
.lw-ov { position: relative; display: block; height: clamp(10.5rem, 8rem + 12vw, 22rem); overflow: hidden; color: #fff !important; text-decoration: none; background: var(--lw-ink); }
.lw-ov img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.lw-ov:hover img { transform: scale(1.03); }
.lw-ov-empty { position: absolute; inset: 0; background: linear-gradient(135deg, var(--lw-lech), var(--lw-ink)); }
.lw-ov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 42, 47, 0) 30%, rgba(14, 42, 47, .88) 72%); }
.lw-ov-c { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; }
.lw-ov-c small { display: block; margin-top: .2rem; font: 500 .9375rem/1.3 var(--lw-sans); }
.lw-card { display: flex; flex-direction: column; background: var(--lw-white); border: 1px solid var(--lw-line); min-width: 0; }
.lw-card[hidden] { display: none; }
.lw-card img { width: 100%; height: clamp(10.5rem, 9rem + 5vw, 13rem); object-fit: cover; display: block; }
.lw-card-b { padding: 1.15rem; }
.lw-card-b p { margin: .5rem 0 0; font-size: 1rem; }
.lw-card-b .lw-h3 a { color: var(--lw-ink); text-decoration: none; }
.lw-card[data-place] { position: relative; } .lw-card[data-place] .lw-h3 a::after { content: ""; position: absolute; inset: 0; }
.lw-card-b .lw-h3 a:hover { color: var(--lw-lech); }
.lw-badge { display: inline-block; margin: 0 .35rem .4rem 0; padding: .32rem .62rem; border-radius: 999px; background: var(--lw-ice); color: var(--lw-ink); font: 600 .8125rem/1.1 var(--lw-sans); }
.lw-badge-y { background: var(--lw-sign); }
.lw-prevnext { display: grid; gap: .75rem; }
@media (min-width: 768px) { .lw-prevnext { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.lw-pn { padding: 1.15rem 1.25rem; color: var(--lw-ink) !important; text-decoration: none; }
.lw-pn small { color: var(--lw-mute); font-size: .9375rem; }
.lw-pn:hover { border-color: var(--lw-ink); }
@media (min-width: 768px) { .lw-pn-r { text-align: right; } }

/* ------------------------------------------------------------------ Listen, Eckdaten, Tabelle */
.lw-facts { margin: 1rem 0 0; }
.lw-facts > div { display: grid; grid-template-columns: minmax(5.5rem, 8rem) minmax(0, 1fr); gap: .25rem 1rem; padding: .85rem 0; border-top: 1px solid var(--lw-line); }
.lw-facts dt { font: 600 .9rem/1.45 var(--lw-sans); color: var(--lw-mute); }
.lw-facts dd { margin: 0; font-weight: 500; }
.lw-facts-big dd { font: 600 clamp(1.15rem, 1.05rem + .4vw, 1.3125rem)/1.25 var(--lw-slab); }
.lw-list { list-style: none; margin: .75rem 0 0; padding: 0; }
.lw-list li { padding: .7rem 0; border-top: 1px solid var(--lw-line); }
.lw-list small { display: block; color: var(--lw-mute); font-size: .9375rem; }
.lw-cols { columns: 1; }
@media (min-width: 768px) { .lw-cols { columns: 2; column-gap: 3rem; } .lw-cols li { break-inside: avoid; } }
.lw-way { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 2px solid var(--lw-ink); }
.lw-way a { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--lw-line); color: var(--lw-ink); text-decoration: none; }
.lw-way a:hover .lw-way-t { color: var(--lw-lech); }
.lw-way-d { font: 600 1.25rem/1.2 var(--lw-slab); color: var(--lw-lech); }
.lw-way-t { font: 600 clamp(1.2rem, 1.1rem + .4vw, 1.5rem)/1.2 var(--lw-slab); }
.lw-way-s { font-size: 1rem; color: var(--lw-mute); }
@media (min-width: 992px) { .lw-way-days a { grid-template-columns: 7rem minmax(0, 1fr) 21rem; align-items: center; gap: 1.5rem; padding: 1.25rem 0; } .lw-way-days .lw-way-d { font-size: 1.625rem; } }
.lw-table-wrap { overflow-x: auto; }
.lw-tbl { width: 100%; min-width: 34rem; border-collapse: collapse; background: var(--lw-white); }
.lw-tbl thead th { font: 600 .875rem/1.3 var(--lw-sans); color: var(--lw-mute); text-align: left; padding: .85rem 1rem; border-bottom: 2px solid var(--lw-ink); }
.lw-tbl td, .lw-tbl tbody th { padding: 1rem; border-bottom: 1px solid var(--lw-line); vertical-align: top; text-align: left; }
.lw-tbl tbody th { font: 600 1.25rem/1.2 var(--lw-slab); }
.lw-route { border-bottom: 1px solid var(--lw-line); padding-block: 1.25rem; }
.lw-route:first-of-type { margin-top: 2.5rem; border-top: 1px solid var(--lw-line); }
.lw-route summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; cursor: pointer; min-height: 2.75rem; }
.lw-route-m { font-weight: 600; color: var(--lw-lech); }
.lw-sections { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 1.75rem; }
@media (min-width: 768px) { .lw-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lw-sections { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lw-sections a { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr) auto; gap: .4rem; align-items: center; min-height: 3rem; padding-block: .5rem; border-top: 1px solid var(--lw-line); color: var(--lw-ink); text-decoration: none; font-size: 1rem; }
.lw-sections b { color: var(--lw-lech); }
.lw-sections small { font-size: .9375rem; color: var(--lw-mute); white-space: nowrap; }
.lw-sections a:hover span { color: var(--lw-lech); }

/* ------------------------------------------------------------------ Filter */
.lw-filter { display: grid; gap: .85rem; background: var(--lw-white); border: 1px solid var(--lw-line); padding: 1rem; margin-bottom: 1rem; }
.lw-filter[hidden] { display: none; }
.lw-filter label:not(.lw-chip) { display: grid; gap: .3rem; font: 600 .875rem/1.2 var(--lw-sans); color: var(--lw-mute); }
.lw-filter select { width: 100%; min-height: 3rem; padding: 0 .75rem; border: 1.5px solid var(--lw-ink); background: #fff; color: var(--lw-ink); font: 500 1rem var(--lw-sans); border-radius: 0; }
@media (min-width: 992px) { .lw-filter { grid-template-columns: 15rem 15rem minmax(0, 1fr); align-items: end; padding: 1.25rem; } }
.lw-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.lw-chips[hidden] { display: none; }
.lw-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 1rem; border: 1.5px solid var(--lw-ink); border-radius: 999px; background: none; color: var(--lw-ink); font: 500 .9375rem/1 var(--lw-sans); cursor: pointer; }
.lw-chip:has(input:checked), .lw-chip.is-on { background: var(--lw-ink); color: #fff; }
.lw-chip input { accent-color: var(--lw-sign); }
.lw-count { font-weight: 600; margin: 0 0 .85rem; }
.lw-chip-reset[hidden] { display: none; }
.lw-chip-reset { background: var(--lw-paper); }

/* ------------------------------------------------------------------ Karte und Profil */
.lw-map { display: block; width: 100%; height: auto; }
.lw-map-line { fill: none; stroke: var(--lw-river); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.lw-map-hi { fill: none; stroke: var(--lw-ink); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.lw-map-dot { fill: #fff; stroke: var(--lw-ink); stroke-width: 2; }
.lw-map-end { fill: var(--lw-sign); stroke: var(--lw-ink); stroke-width: 2; }
.lw-map-labels { font: 500 19px var(--lw-sans); fill: var(--lw-ink); }
.lw-trail-grid { display: grid; gap: 2rem; }
@media (min-width: 992px) { .lw-trail-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: start; } .lw-trail-grid .lw-map { margin-top: 1rem; } .lw-trail-grid > div:last-child { padding-top: 2.25rem; } }
.lw-profile { display: block; width: 100%; height: clamp(4.5rem, 3rem + 5vw, 7.5rem); margin-top: 2.25rem; }
.lw-profile path { fill: var(--lw-ice); }
.lw-km { display: flex; justify-content: space-between; margin-top: .55rem; font: 500 .8125rem/1.2 var(--lw-sans); color: var(--lw-mute); }
@media (max-width: 700px) { .lw-km-x { display: none; } }

/* ------------------------------------------------------------------ Family-Blöcke im Entwurf */
.lw-body .bsf-heading-block { margin-bottom: 1.75rem !important; }
.lw-body .card { border-radius: 0; border-color: var(--lw-line); }
.lw-body .accordion, .lw-body .accordion-item { --bs-accordion-border-radius: 0; --bs-accordion-inner-border-radius: 0; --bs-accordion-bg: transparent; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--lw-ink); --bs-accordion-btn-focus-box-shadow: none; }
.lw-body .accordion-button { font: 600 clamp(1.05rem, 1rem + .25vw, 1.1875rem)/1.3 var(--lw-sans); min-height: 3.25rem; }

/* ------------------------------------------------------------------ Fußzeile */
.lw-footer { background: var(--lw-ink); color: var(--lw-paper); padding-bottom: 1.5rem; }
.lw-body .lw-footer a:not(.btn):not(.lw-btn) { color: var(--lw-paper); text-decoration: none; }
.lw-body .lw-footer a:not(.btn):not(.lw-btn):hover { color: var(--lw-sign); text-decoration: underline; }
.lw-footer-profile { background: var(--lw-paper); line-height: 0; }
.lw-footer-profile .lw-profile { margin: 0; height: clamp(2.5rem, 1.5rem + 5vw, 5.5rem); }
.lw-footer-profile .lw-profile path { fill: var(--lw-ink); }
.lw-footer-grid { display: grid; gap: 2rem; padding-block: 2.5rem; }
@media (min-width: 768px) { .lw-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lw-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-block: 3rem; } }
.lw-footer h2, .lw-footer h3, .lw-footer h4, .lw-footer .bsf-footer-heading { font: 600 .8125rem/1.25 var(--lw-sans) !important; letter-spacing: .09em; text-transform: uppercase; color: var(--lw-sign) !important; margin: 0 0 .75rem; }
.lw-footer .bsf-widget, .lw-footer p, .lw-footer li { color: var(--lw-paper); font-size: 1rem; }
.lw-footer ul { list-style: none; padding: 0; margin: 0; }
.lw-footer li { padding-block: .22rem; }
.lw-footer .bsf-logo-img, .lw-footer img { max-height: 3.25rem; width: auto; max-width: 100%; background: #fff; padding: .35rem .6rem; }
.lw-footer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; border-top: 1px solid #3B5450; padding-top: 1.1rem; font-size: .9375rem; }

/* Druck: Etappen und Abschnitte unterwegs oder vorab auf Papier */
@media print { .lw-header, .lw-jump, .lw-footer, .lw-prevnext, .lw-filter, .bsf-goto-top { display: none !important; } .lw-hero { min-height: 0; color: var(--lw-ink); background: none; } .lw-hero > img, .lw-hero::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .lw-ov img { transition: none; } }

/* ------------------------------------------------------------------ Wegstatus */
.lw-st-0 { --lw-st: #DDF0D5; } .lw-st-1 { --lw-st: #FFF0C2; } .lw-st-2 { --lw-st: #FFE0B8; } .lw-st-3 { --lw-st: #FBD3C2; } .lw-st-4 { --lw-st: #F6C4BF; }
.lw-dot { display: inline-block; flex: none; width: .65rem; height: .65rem; border-radius: 50%; margin-right: .45rem; vertical-align: .02em; }
.lw-dot-0 { background: #2E7D4F; } .lw-dot-1 { background: #C98A00; } .lw-dot-2 { background: #D96C00; } .lw-dot-3 { background: #CF4A1E; } .lw-dot-4 { background: #B3261E; }
.lw-pill { display: inline-flex; align-items: center; padding: .34rem .75rem; margin: 0 .25rem .25rem 0; border-radius: 999px; background: var(--lw-st); color: var(--lw-ink); font: 600 .875rem/1.15 var(--lw-sans); white-space: nowrap; }
.lw-pill-lg { font-size: 1.125rem; padding: .6rem 1.1rem; }
.lw-statusline { display: block; text-align: center; padding: .35rem 1rem; background: var(--lw-st); color: var(--lw-ink) !important; font: 600 .875rem/1.3 var(--lw-sans); text-decoration: none; }
.lw-statusline:hover { text-decoration: underline; }
@media (max-width: 767.98px) { .lw-statusline { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding-block: .25rem; } }
.lw-box { background: var(--lw-st); padding-block: 1rem; }
.lw-box-head { margin: 0; }
.lw-box-msg { margin-top: .5rem; }
.lw-box-msg small { display: block; font-size: .9375rem; }
.lw-body .lw-box a:not(.btn):not(.lw-btn) { color: var(--lw-ink); }
.lw-box-more { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.lw-overall { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; color: var(--lw-mute); }
.lw-msg-meta { color: var(--lw-mute); font-size: .9375rem !important; }
.lw-statuslist { list-style: none; margin: 0; padding: 0; background: var(--lw-white); border: 1px solid var(--lw-line); }
.lw-statuslist a { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr) auto; gap: .2rem .5rem; align-items: center; padding: .85rem 1rem; border-top: 1px solid var(--lw-line); color: var(--lw-ink); text-decoration: none; }
.lw-statuslist li:first-child a { border-top: 0; }
.lw-statuslist b { color: var(--lw-lech); }
.lw-statuslist-t { font-weight: 600; }
.lw-statuslist small { color: var(--lw-mute); font-size: .9375rem; }
.lw-statuslist .lw-pill { grid-column: 2 / -1; justify-self: start; margin: .15rem 0 0; }
@media (min-width: 768px) { .lw-statuslist a { grid-template-columns: 2.25rem minmax(0, 1fr) 5rem 13rem; } .lw-statuslist .lw-pill { grid-column: auto; margin: 0; } }

/* ------------------------------------------------------------------ Karte: klickbarer Weg, Status als Farbe, Zeichnen */
.lw-map-hit { fill: none; stroke: transparent; stroke-width: 54; stroke-linecap: butt; pointer-events: stroke; }
.lw-map-seg { fill: none; stroke: var(--lw-river); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; transition: stroke-width .15s ease; }
.lw-map a:hover .lw-map-seg, .lw-map a:focus .lw-map-seg { stroke-width: 12; stroke: var(--lw-ink); }
.lw-seg-1 { stroke: var(--lw-river); } .lw-seg-2 { stroke: #D96C00; } .lw-seg-3 { stroke: #CF4A1E; } .lw-seg-4 { stroke: #B3261E; }
.lw-hint { margin: .5rem 0 0; color: var(--lw-mute); font-size: .9375rem; }
.is-draw .lw-map-seg, .is-draw .lw-map-dot, .is-draw .lw-map-end, .is-draw .lw-map-labels { opacity: 0; }
.is-draw .lw-map-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-drawn .lw-map-line { transition: stroke-dashoffset 2.2s ease-in-out; stroke-dashoffset: 0; }
.is-drawn .lw-map-seg, .is-drawn .lw-map-dot, .is-drawn .lw-map-end, .is-drawn .lw-map-labels { opacity: 1; transition: opacity .6s ease 1.9s; }

/* ------------------------------------------------------------------ Variantenband */
.lw-vb-tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.lw-vb-tabs[hidden] { display: none; }
.lw-vb-tab { flex: none; min-height: 3.5rem; padding: .45rem 1.15rem; border: 2px solid var(--lw-ink); border-radius: 999px; background: none; color: var(--lw-ink); font: 600 1.0625rem/1.15 var(--lw-sans); text-align: left; cursor: pointer; }
.lw-vb-tab small { display: block; font: 500 .875rem/1.2 var(--lw-sans); }
.lw-vb-tab[aria-selected="true"] { background: var(--lw-ink); color: #fff; }
.lw-vb-panel { padding-block: 1rem 2.5rem; }
.lw-vb-panel[hidden] { display: none; }
.lw-vb-panel + .lw-vb-panel { border-top: 1px solid var(--lw-line); }
.is-js .lw-vb-panel + .lw-vb-panel { border-top: 0; }
.lw-vb-head { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.lw-vb-head h3 a { color: inherit; text-decoration: none; }
.lw-vb-for { margin: .5rem 0 0; font-size: 1.125rem; max-width: 42rem; }
.lw-vb-sum { display: flex; gap: 1.75rem; margin: 0; }
.lw-vb-sum dd { margin: 0; font: 600 clamp(1.35rem, 1.2rem + .6vw, 1.875rem)/1.1 var(--lw-slab); white-space: nowrap; }
.lw-vb-sum dt { font-weight: 400; font-size: .875rem; color: var(--lw-mute); }
@media (min-width: 992px) { .lw-vb-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.lw-band { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0 0 .4rem; overflow-x: auto; scroll-snap-type: x proximity; }
.lw-band li { flex: 1 0 auto; min-width: 5.25rem; scroll-snap-align: start; }
.lw-band li.lw-band-rest { flex: 0 0 3.5rem; min-width: 3.5rem; }
.lw-band-day { display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; height: 8.25rem; padding: .7rem .6rem .55rem; background: var(--lw-white); border-top: .45rem solid var(--lw-river); color: var(--lw-ink) !important; text-decoration: none; font-size: .875rem; line-height: 1.25; }
.lw-band-day strong { display: block; font: 600 1.1875rem/1.1 var(--lw-slab); }
.lw-band-day.is-on { background: var(--lw-ink); color: #fff !important; }
.lw-seg-top-1 { border-top-color: var(--lw-river); } .lw-seg-top-2 { border-top-color: #D96C00; } .lw-seg-top-3 { border-top-color: #CF4A1E; } .lw-seg-top-4 { border-top-color: #B3261E; }
.lw-band-rest .lw-band-day { background: repeating-linear-gradient(135deg, #ECEADF 0 6px, var(--lw-paper) 6px 12px); border-top-color: var(--lw-line); font-size: .75rem; }
.lw-band-rest .lw-band-day strong { font-size: .8125rem; writing-mode: vertical-rl; }
.lw-band-rest .lw-band-day.is-on { background: var(--lw-ink); border-top-color: var(--lw-ink); }
.lw-band-segs { display: flex; gap: 2px; height: 1.25rem; }
.lw-band-segs em { flex: 1 0 1.3rem; min-width: 1.3rem; background: var(--lw-ice); color: var(--lw-ink); font: 600 .6875rem/1.25rem var(--lw-sans); text-align: center; overflow: hidden; }
.lw-band-day.is-on .lw-band-segs em { background: var(--lw-river); }
.lw-band-note { margin: .5rem 0 1.25rem; color: var(--lw-mute); font-size: .9375rem; }
.lw-day { display: grid; gap: 1.5rem; background: var(--lw-white); border: 1px solid var(--lw-line); padding: clamp(1.1rem, .8rem + 1.6vw, 2rem); margin-bottom: .75rem; scroll-margin-top: 5rem; }
.lw-day[hidden] { display: none; }
.lw-day-t a { color: inherit; text-decoration: none; }
.lw-day-s { margin: .5rem 0 .75rem; font-size: 1.0625rem; }
@media (min-width: 992px) { .lw-day { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.lw-parts small a { color: inherit; }

/* ------------------------------------------------------------------ Unterwegs und Schnellzugriff */
.lw-ontrail { padding-block: 1.5rem 3rem; }
.lw-ot-top { display: grid; gap: .75rem; max-width: 40rem; margin-bottom: 1.25rem; }
.lw-ot-sos { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0; }
.lw-body a.lw-btn-sos { background: #8E1F12; color: #fff; }
.lw-body a.lw-btn-sos:hover { background: #6E170D; color: #fff; }
.lw-ot-sos a:not(.lw-btn) { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.lw-ot-note { margin: 0; font-size: .9375rem; color: var(--lw-mute); }
.lw-ot-select { display: grid; gap: .3rem; font: 600 .875rem/1.2 var(--lw-sans); color: var(--lw-mute); }
.lw-ot-select[hidden], .lw-ot-geo[hidden], .lw-ot-note[hidden] { display: none; }
.lw-pre { visibility: hidden; }
.lw-ot-select select { width: 100%; min-height: 3.25rem; padding: 0 .75rem; border: 2px solid var(--lw-ink); background: #fff; color: var(--lw-ink); font: 600 1.0625rem var(--lw-sans); border-radius: 0; }
.lw-ot[hidden] { display: none; }
.lw-ot + .lw-ot { margin-top: 2rem; }
.lw-ot-t a { color: inherit; text-decoration: none; }
.lw-ot-m { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: .5rem 0 .85rem; color: var(--lw-mute); font-size: 1rem; }
.lw-note { padding: .85rem 1rem; background: #FFF3D1; font-size: 1rem; margin: 0 0 .75rem; }
.lw-ot-grid { display: grid; gap: .5rem; }
@media (min-width: 768px) { .lw-ot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.lw-tile { display: block; background: var(--lw-white); border: 1px solid var(--lw-line); padding: .85rem 1rem; color: var(--lw-ink) !important; text-decoration: none; }
.lw-tile b { display: block; font: 600 1.1875rem/1.2 var(--lw-slab); }
.lw-tile small { display: block; font-size: .875rem; color: var(--lw-mute); margin-top: .15rem; }
.lw-tile summary { cursor: pointer; list-style: none; min-height: 2.75rem; }
.lw-tile summary::-webkit-details-marker { display: none; }
.lw-tile .lw-list a + a { display: block; }
.lw-help { display: grid; gap: .5rem; margin: 1.5rem 0 0; }
.lw-help > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .2rem 1rem; background: #FBD3C2; }
.lw-help dt { font-weight: 600; }
.lw-help dd { margin: 0; font-weight: 600; }
.lw-body .lw-help a:not(.btn):not(.lw-btn) { color: var(--lw-ink); display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .5rem; font-size: 1.25rem; }
.lw-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--lw-white); border-top: 1px solid var(--lw-line); padding-bottom: env(safe-area-inset-bottom); }
.lw-bar a { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; color: var(--lw-ink); text-decoration: none; font: 600 .8125rem/1.1 var(--lw-sans); text-align: center; padding: .25rem; }
.lw-bar .lw-dot { margin-right: .3rem; }
.lw-body a.bsf-goto-top { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--lw-ink); color: #fff; }
.lw-body a.bsf-goto-top:hover { background: var(--lw-lech); color: #fff; }
@media (max-width: 991.98px) { .lw-body a.bsf-goto-top { bottom: calc(3.25rem + .75rem + env(safe-area-inset-bottom)); } }
.lw-body { padding-bottom: 3.25rem; }
html { scroll-padding-block: 5.5rem 4.5rem; }
@media (min-width: 992px) { .lw-bar { display: none; } .lw-body { padding-bottom: 0; } }
@media (min-width: 992px) { html { scroll-padding-bottom: 1rem; } }
@media print { .lw-bar, .lw-statusline { display: none !important; } .lw-body { padding: 0; } }

/* Statusbox kompakt, Einschränkungen ab Umleitung sind offen */
.lw-box-msg summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; display: list-item; padding-block: .6rem; }
.lw-box-msg p { margin: .25rem 0; }
.lw-more { margin-top: .5rem; }
.lw-more summary { cursor: pointer; font-weight: 600; color: var(--lw-lech); min-height: 2.75rem; padding-block: .6rem; }

/* ------------------------------------------------------------------ Family-Blöcke nach Entwurf */
.lw-body .bsf-slider .section > .position-absolute > .position-absolute { background: linear-gradient(180deg, rgba(14, 42, 47, .2) 0%, rgba(14, 42, 47, .68) 38%, rgba(14, 42, 47, .88) 100%) !important; opacity: 1 !important; }
.lw-body .bsf-hero-title { font: 600 clamp(2.6rem, 1.5rem + 4.4vw, 5.25rem)/1.02 var(--lw-slab) !important; letter-spacing: -.01em; }
.lw-body .bsf-slider .bsf-heading-kicker { color: #fff !important; }
.lw-body [data-bsf-surface="dark"] .btn-outline-primary { --bs-btn-color: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--lw-ink); --bs-btn-hover-border-color: #fff; }
.lw-body .hero-height-viewport { min-height: min(84vh, 50rem); }
.lw-body .section .btn-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; color: var(--lw-lech); text-decoration: none; }
.lw-body .section .bsf-card-filled .btn-link { color: var(--lw-lech-d); }
.lw-body .bsf-card-subtitle { background: none; padding: 0; font: 600 .8125rem/1.25 var(--lw-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--lw-lech); }
.lw-body .section h2 + p, .lw-body .section h3 + p { margin-top: .75rem; }
.lw-body .section p + h2, .lw-body .section ul + h2 { margin-top: 2.25rem; }
.lw-body .section h2 { margin-bottom: .5rem; }
.lw-body .card-text a { position: relative; z-index: 2; }
.lw-body .card.bsf-card-overlay a, .lw-body .bsf-card-overlay .card-title { text-decoration: none; }
.lw-body .section[style*="244, 183, 49"] .btn-primary { --bs-btn-bg: var(--lw-ink); --bs-btn-border-color: var(--lw-ink); --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; }

/* Startseite: Flusslinie im Hero, drei Einstiege über der Kante, Varianten als Zeilen */
.lw-hero-line { display: none; }
@media (min-width: 1100px) {
    .lw-hero-line { display: block; position: relative; height: 0; z-index: 2; pointer-events: none; }
    .lw-hero-line .lw-map { position: absolute; right: max(3rem, calc((100vw - 1320px) / 2)); bottom: 7.5rem; width: min(30vw, 27rem); filter: drop-shadow(0 2px 8px rgba(14, 42, 47, .55)); }
    .lw-hero-line .lw-map-line { stroke: #fff; stroke-width: 5; }
    .lw-hero-line .lw-map-labels text { display: none; }
    .lw-hero-line .lw-map-labels text:first-child, .lw-hero-line .lw-map-labels text:last-child { display: block; fill: #fff; font-weight: 600; font-size: 21px; }
    .lw-hero-line .lw-map-dot { fill: #fff; stroke: #0E2A2F; }
    .lw-home .bsf-slider .bsf-hero-content { max-width: 46rem; }
}
.lw-home .bsf-slider .bsf-hero-content { padding-bottom: 5.5rem; }
.lw-home .lw-main > .section:first-child { position: relative; z-index: 3; margin-top: -4.25rem; padding-top: 0 !important; padding-bottom: 1rem !important; background: none !important; }
.lw-home .lw-main > .section:first-child .row:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lw-home .lw-main > .section:first-child .row { margin-top: 0 !important; }
.lw-home .lw-main > .section:first-child .card { background: var(--lw-white); border: 1px solid var(--lw-line); transition: transform .2s ease, box-shadow .2s ease; }
.lw-home .lw-main > .section:first-child .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 48, 44, .16); }
.lw-home .lw-main > .section:first-child .bsf-item-title { font: 600 clamp(1.4rem, 1.2rem + .7vw, 1.8125rem)/1.15 var(--lw-slab); margin: .25rem 0 .6rem; }
.lw-home .lw-main > .section:first-child .col:last-child .card { --lw-acc: var(--lw-sign); --lw-fg: #fff; --lw-fg-s: #fff; background: var(--lw-ink); border-color: var(--lw-ink); color: #fff; }
.lw-home .lw-main > .section:first-child .col:last-child .bsf-card-subtitle { color: var(--lw-sign); }
.lw-home .lw-main > .section:first-child .col:last-child .btn-link { color: var(--lw-sign); }
.lw-home .lw-main > .section:first-child .col:last-child .bsf-item-title { color: #fff; }
.lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) > .col > .bsf-card-plain > .card-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--lw-line); }
.lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) { --bs-gutter-y: 0; }
.lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) .bsf-card-subtitle { font: 600 1.625rem/1.1 var(--lw-slab); letter-spacing: 0; text-transform: none; margin: 0 !important; }
.lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) .bsf-item-title { font: 600 clamp(1.25rem, 1.15rem + .4vw, 1.5rem)/1.2 var(--lw-slab); margin: 0; }
.lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) .card-text p { margin: 0; color: var(--lw-mute); font-size: 1rem; }
.lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) .btn-link { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; min-height: 2.75rem; padding: .35rem 0 !important; text-align: left; white-space: normal; }
.lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) .btn-link::before { content: "→" / ""; font-size: 1.375rem; line-height: 1; color: var(--lw-lech); }
@media (min-width: 992px) { .lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) > .col > .bsf-card-plain > .card-body { grid-template-columns: 8.5rem minmax(0, 1fr) minmax(0, 1.5fr) 2rem; align-items: center; gap: 1.5rem; padding: 1.35rem 0; } .lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) .btn-link { display: block; width: 2rem; min-height: 0; height: 2rem; padding: 0 !important; overflow: hidden; white-space: nowrap; line-height: 2rem; } .lw-body .row.row-cols-1:not([class*="row-cols-md"]):not([class*="row-cols-lg"]):not([class*="row-cols-sm"]) .btn-link::before { display: inline-block; width: 2rem; font-size: 1.625rem; } }

/* Etappen: die drei Begriffe zeigen sich selbst */
.lw-m-routes .lw-main > .section:first-child .feature { background: var(--lw-white); border: 1px solid var(--lw-line); padding: 1.5rem; }
.lw-m-routes .lw-main > .section:first-child .feature-icon { display: none !important; }
.lw-m-routes .lw-main > .section:first-child .feature::after { content: ""; display: block; height: 1.5rem; margin-top: 1.1rem; }
.lw-m-routes .lw-main > .section:first-child .col:nth-child(1) .feature::after { width: 3rem; background: var(--lw-river); }
.lw-m-routes .lw-main > .section:first-child .col:nth-child(2) .feature::after { width: 7rem; background: linear-gradient(90deg, var(--lw-river) 0 30%, transparent 30% 35%, var(--lw-river) 35% 65%, transparent 65% 70%, var(--lw-river) 70%); outline: 4px solid var(--lw-ice); }
.lw-m-routes .lw-main > .section:first-child .col:nth-child(3) .feature::after { background: linear-gradient(90deg, var(--lw-river) 0 16%, transparent 16% 18%, var(--lw-river) 18% 45%, transparent 45% 47%, var(--lw-river) 47% 70%, transparent 70% 72%, var(--lw-river) 72%); }
.lw-m-routes .lw-main > .section:first-child .bsf-item-title { font: 600 clamp(1.5rem, 1.3rem + .8vw, 2rem)/1.1 var(--lw-slab); color: var(--lw-lech); }

/* Fußzeile: Logo schmal, Social als Liste */
.lw-footer .bsf-logo-img, .lw-footer img { max-height: 2.75rem; }
.lw-note summary { cursor: pointer; font-weight: 600; min-height: 2.75rem; padding-block: .6rem; }

/* Unterwegs: Kopf klein, die Hilfe beginnt sofort */
.lw-m-ontrail .bsf-slider .section { padding-block: 1.25rem .25rem !important; }
.lw-m-ontrail .bsf-slider .row, .lw-m-ontrail .bsf-slider [class*="hero-height"] { min-height: 0 !important; }
.lw-m-ontrail .bsf-heading-block { margin-bottom: .5rem !important; }
.lw-m-ontrail .bsf-hero-title { font-size: clamp(2.1rem, 1.7rem + 2vw, 3.25rem) !important; }
@media (min-width: 1100px) { .lw-home .bsf-slider .bsf-hero-title { font-size: clamp(3rem, 1.5rem + 3.4vw, 4.75rem) !important; } }

/* ================================================================== Blockabdeckung
   Alle im CP angebotenen Blöcke und Varianten aus „Der Lauf“ abgeleitet, auch die auf der Website ungenutzten (Gate ansgar-quality).
   Nachweis: docs/07-block-abdeckung.md. Nur Family-Markup, keine eigenen Renderer. Karten eckig, Knöpfe Pille, Überschriften Zilla Slab.
   Flächen-Tokens: jede Regel unten liest sie, damit jeder Block auf jedem Farbschema lesbar ist (≥ 4,5 : 1). */
.lw-body .section, .lw-body .bsf-popup { --lw-fg: var(--lw-ink); --lw-fg-s: var(--lw-ink); --lw-fg-m: var(--lw-mute); --lw-acc: var(--lw-lech); --lw-mark: var(--lw-river); --lw-bd: var(--lw-line); --lw-fill: #ECEADF; --lw-raised: var(--lw-white); }
.lw-body .section[style*="rgba(255, 255, 255"] { --lw-fill: var(--lw-paper); --lw-raised: var(--lw-paper); --lw-step: var(--lw-white); }
.lw-body :is(.section[style*="rgba(20, 48, 44"], .section:has(> .position-absolute[style*="rgba(20, 48, 44"])) { --lw-fg: var(--lw-paper); --lw-fg-s: #FFFFFF; --lw-fg-m: #C9D6D1; --lw-acc: var(--lw-ice); --lw-mark: var(--lw-sign); --lw-bd: #3B5450; --lw-fill: #1E403B; --lw-raised: #1E403B; --lw-step: var(--lw-ink); }
.lw-body .section[style*="rgba(244, 183, 49"] { --lw-fg: var(--lw-ink); --lw-fg-s: var(--lw-ink); --lw-fg-m: var(--lw-ink); --lw-acc: var(--lw-ink); --lw-mark: var(--lw-ink); --lw-bd: rgba(20, 48, 44, .4); --lw-fill: #F8CB66; --lw-raised: #F8CB66; --lw-step: var(--lw-sign); }
.lw-body .section { color: var(--lw-fg); }
.lw-body .section .text-muted, .lw-body .section .small.text-muted { color: var(--lw-fg-m) !important; }
.lw-body .section :is(h1, h2, h3, h4, h5, h6, .bsf-item-title, .card-title, .fw-bold) { color: var(--lw-fg-s); }
.lw-body .section .bsf-heading-kicker, .lw-body .section .bsf-card-subtitle { color: var(--lw-acc) !important; }
.lw-body .section a:not(.btn):not(.stretched-link) { color: var(--lw-acc); }
.lw-body .section[style*="rgba(244, 183, 49"] a:not(.btn) { text-decoration: underline; }
.lw-body { overflow-wrap: break-word; }
.lw-body .bsf-heading-kicker { max-width: 100%; overflow-wrap: anywhere; }
/* Mit Beschriftung gibt die Family beide Hover-Icons aus; das zweite gehört nur zur Kachel ohne Text (Befund P-3, docs/07-qa.md) */
.lw-body .bsf-social-icon.d-inline-flex i ~ i { display: none; }
.lw-body .section .btn { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.lw-body .section .btn-link { color: var(--lw-acc); }
.lw-body .section .bsf-card-filled .btn-link { color: var(--lw-acc); }
.lw-body .btn-outline-dark { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .5rem 1.6rem; border-width: 1.5px; --bs-btn-color: var(--lw-fg-s); --bs-btn-border-color: var(--lw-fg-s); --bs-btn-hover-bg: var(--lw-fg-s); --bs-btn-hover-border-color: var(--lw-fg-s); --bs-btn-hover-color: var(--lw-paper); --bs-btn-active-bg: var(--lw-fg-s); --bs-btn-active-color: var(--lw-paper); }
.lw-body .btn.w-100 { justify-content: center; }
.lw-body .section[style*="rgba(244, 183, 49"] .btn-primary { --bs-btn-bg: var(--lw-ink); --bs-btn-border-color: var(--lw-ink); --bs-btn-color: #fff; }
.lw-body .section[style*="rgba(244, 183, 49"] .btn-outline-primary { --bs-btn-color: var(--lw-ink); --bs-btn-border-color: var(--lw-ink); --bs-btn-hover-color: #fff; }
@media (max-width: 767.98px) { .lw-body .section .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; } }

/* Rasterelemente: schlicht, umrandet, gefüllt (Merkmale, Team, Preise, Kennzahlen, Dokumente, Listing, Preisliste, FAQ, Ablauf) */
.lw-body .section .bsf-item { color: var(--lw-fg); border-radius: 0; }
.lw-body .section .bsf-item-outlined { background: var(--lw-raised) !important; border: 1px solid var(--lw-bd) !important; box-shadow: none !important; }
.lw-body .section .bsf-item-filled { background: var(--lw-fill) !important; border: 0 !important; box-shadow: none !important; }
.lw-body .section :is(.bsf-item-outlined, .bsf-item-filled) { padding: clamp(1.25rem, 1rem + 1vw, 2rem); }

/* Karten */
.lw-body .section .bsf-card { color: var(--lw-fg); }
.lw-body .section .bsf-card-outlined { background: var(--lw-raised); border-color: var(--lw-bd); }
.lw-body .section .bsf-card-filled { background: var(--lw-fill); border: 0; border-radius: 0; overflow: hidden; }
.lw-body .section .bsf-card .text-center .btn-link, .lw-body .section .bsf-card.text-center .btn-link, .lw-body .section .text-center .bsf-card .btn-link { align-self: center; }
.lw-body .section .bsf-card-subtitle { background: none !important; }
.lw-body .section .bsf-card img { border-radius: 0; }
.lw-body .section .bsf-card .text-white, .lw-body .section .bsf-card .text-white :is(.card-title, .bsf-item-title, .bsf-card-subtitle, a:not(.btn)) { color: #fff !important; }
/* Teamkarten */
.lw-body .section .bsf-team-image, .lw-body .section .bsf-team img { border-radius: 0; }
.lw-body .section .bsf-team .bsf-item-title, .lw-body .section .bsf-team-title { font-family: var(--lw-slab); font-size: clamp(1.25rem, 1.15rem + .3vw, 1.375rem); }
.lw-body .section .bsf-team .text-white, .lw-body .section .bsf-team .text-white * { color: #fff !important; }
.lw-body .section .bsf-team-title span { display: block; font-family: var(--lw-sans); font-size: .8125rem; letter-spacing: .04em; color: var(--lw-fg-m); }
.lw-body .section .bsf-team, .lw-body .section .bsf-team a:not(.btn) { color: var(--lw-fg); }
.lw-body .section .bsf-team a:not(.btn) { color: var(--lw-acc); }
.lw-body .section .bsf-team.text-center .d-flex.flex-wrap, .lw-body .section .text-center .bsf-team .d-flex.flex-wrap { justify-content: center; }
.lw-body .section .bsf-team :is(.small, .text-muted) { font-family: var(--lw-sans); font-size: .8125rem; letter-spacing: .04em; }

/* Merkmale: Linie nur bei schlichten Elementen */
.lw-body .section .feature { border-color: var(--lw-bd); }
.lw-body .section .feature:is(.bsf-item-outlined, .bsf-item-filled) { border-top: 0; }
.lw-body .section:not([style*="rgba(20, 48, 44"]):not(:has(> .position-absolute[style*="rgba(20, 48, 44"])) .feature.bsf-item-plain { border-top-color: var(--lw-ink); }
.lw-body .section[style*="rgba(244, 183, 49"] .feature-icon { background: var(--lw-ink) !important; color: var(--lw-sign); }
.lw-body .section .feature-icon.border { background: transparent !important; border: 1.5px solid var(--lw-mark) !important; color: var(--lw-acc); }
.lw-body .section .feature-desc > span { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.lw-body .section .text-center .feature-desc > span, .lw-body .section .feature.text-center .feature-desc > span { align-self: center; }
.lw-body :is(.section[style*="rgba(20, 48, 44"], .section:has(> .position-absolute[style*="rgba(20, 48, 44"])) .feature-desc > span { background: #1E403B; border-color: #3B5450; color: var(--lw-ice); }
.lw-body .section .feature-image img { display: block; }

/* Kennzahlen: auf jeder Fläche Akzent aus den Tokens */
.lw-body .section :has(> :is(.bsf-counter-display, .display-3, .display-5)) { container-type: inline-size; }
.lw-body .section :is(.bsf-counter-display, .display-3, .display-5) { font-family: var(--lw-slab); font-weight: 600 !important; letter-spacing: -0.04em; color: var(--lw-acc) !important; white-space: nowrap; overflow-wrap: normal; }
.lw-body .section .display-5 { font-size: min(3rem, calc(100cqi / (var(--bsf-display-chars, 1) * .62))); }
.lw-body .section .display-3 { font-size: min(4rem, calc(100cqi / (var(--bsf-display-chars, 1) * .62))); }
.lw-body .section :has(> .bsf-counter-display, > .display-3, > .display-5) > .fs-3 { color: var(--lw-acc); }
@container (max-width: 11rem) { .lw-body .section :has(> .fs-3, > .bsf-counter-display, > .display-3, > .display-5) * { hyphens: auto; overflow-wrap: normal; } }
.lw-body .section .bsf-counter-box .text-muted, .lw-body .section[style*="rgba(244, 183, 49"] .bsf-counter-box .text-muted { color: var(--lw-fg-m) !important; }
.lw-body .section .bsf-counter-box { border-color: var(--lw-bd); }
.lw-body .section .bsf-counter-box .text-muted { color: var(--lw-fg-m) !important; }
.lw-body .section .bsf-counter-box:is(.bsf-item-outlined, .bsf-item-filled) { padding-top: clamp(1.25rem, 1rem + 1vw, 2rem); }

/* Medien + Text, Einzelmedium, Galerie */
.lw-body .section .feature-list-item { color: var(--lw-fg); }
.lw-body .section :is(.feature-list-item:has(.fa-solid, svg), :has(> .fa-solid) > .feature-list-item) .fw-semibold::before { display: none; }
.lw-body .section .feature-list-item .fa-solid { color: var(--lw-acc); }
.lw-body .section .bsf-full-bleed img, .lw-body .section .bsf-full-bleed video { border-radius: 0 !important; }
.lw-body .section img.rounded-3, .lw-body .section video.rounded-3, .lw-body .section .img-gallery, .lw-body .section .bsf-collage-img { border-radius: 0 !important; }
.lw-body .section figcaption { font-family: var(--lw-sans); font-size: .8125rem; letter-spacing: .02em; color: var(--lw-fg-m); margin-top: .75rem; }
.lw-body .section :is(.bsf-slider-prev, .bsf-slider-next) { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--lw-ink); color: #fff; border: 0; opacity: 1; display: inline-flex; align-items: center; justify-content: center; }
.lw-body .section :is(.bsf-slider-prev, .bsf-slider-next):hover { background: var(--lw-sign); color: var(--lw-ink); }
.lw-body :is(.section[style*="rgba(20, 48, 44"], .section:has(> .position-absolute[style*="rgba(20, 48, 44"])) :is(.bsf-slider-prev, .bsf-slider-next) { background: var(--lw-paper); color: var(--lw-ink); }

/* Testimonials: Karte mit feiner Linie, Zitat in der Überschriftenschrift, linksbündig */
.lw-body .section .bsf-testimonial, .lw-body .section .card:has(> .card-body > .bsf-testimonial) { border: 1px solid var(--lw-bd); border-radius: 0 !important; background: var(--lw-raised); box-shadow: none !important; color: var(--lw-fg); }
.lw-body .section .card:has(.bsf-testimonial) { border: 1px solid var(--lw-bd); border-radius: 0 !important; background: var(--lw-raised); box-shadow: none !important; }
.lw-body .section .card:has(.bsf-testimonial) .card-body { text-align: left !important; padding: 2rem !important; }
.lw-body .section .bsf-testimonial { border: 0; background: transparent; }
.lw-body .section .bsf-testimonial-quote { font-family: var(--lw-slab); font-weight: 600; font-style: normal; font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--lw-fg-s) !important; }
.lw-body .section .bsf-testimonial-quote :is(p, em, i) { font-style: normal; color: inherit !important; font-size: inherit; }
.lw-body .section .bsf-testimonial-name { font-weight: 500; color: var(--lw-fg-s); }
.lw-body .section .bsf-testimonial-meta { font-family: var(--lw-sans); font-size: .8125rem; letter-spacing: .02em; color: var(--lw-fg-m) !important; }
.lw-body .section .img-testimonal, .lw-body .section .card:has(.bsf-testimonial) img { border-radius: 0 !important; }
.lw-body .section .bsf-rating .bsf-accent, .lw-body .section .bsf-rating { color: var(--lw-acc); }

/* Zitat */
.lw-body .section .bsf-quote-text, .lw-body .section .bsf-quote-text p { font-family: var(--lw-slab); font-weight: 600; font-style: normal; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.5rem) !important; line-height: 1.15; letter-spacing: -0.02em; color: var(--lw-fg-s) !important; margin: 0; overflow-wrap: anywhere; }
.lw-body .section figure.bsf-quote .bsf-quote-text::before { height: .55em; margin-bottom: .55em; font-family: var(--lw-slab); font-weight: 600; font-size: 2.5em; color: var(--lw-mark); }
.lw-body .section .bsf-quote-source { display: block; font-family: var(--lw-sans); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lw-acc); margin-top: 1.25rem; }
.lw-body .section .bsf-quote-accent { border-left: 3px solid var(--lw-mark) !important; padding-left: 1.75rem; }
.lw-body .section .bsf-quote-panel { background: var(--lw-fill) !important; border: 0 !important; border-radius: 0; padding: clamp(1.75rem, 1.2rem + 2vw, 3rem) !important; }

/* Preise */
.lw-body .section .bsf-pricing-box { color: var(--lw-fg); border-radius: 0; }
.lw-body .section .bsf-pricing-highlight { background: var(--lw-raised) !important; border: 2px solid var(--lw-mark) !important; box-shadow: none !important; transform: none; }
.lw-body .section .bsf-pricing-title, .lw-body .section .bsf-pricing-title .bsf-item-title { font-family: var(--lw-slab); font-size: clamp(1.25rem, 1.15rem + .3vw, 1.375rem); color: var(--lw-fg-s); border-color: var(--lw-bd) !important; }
.lw-body .section .bsf-pricing-price { font-family: var(--lw-slab); font-weight: 600; letter-spacing: -0.03em; color: var(--lw-fg-s); border-color: var(--lw-bd) !important; }
.lw-body .section .bsf-price-tenure { display: inline; font-family: var(--lw-sans); font-size: .75rem; font-weight: 500; letter-spacing: .02em; color: var(--lw-fg-m); white-space: normal; overflow-wrap: anywhere; }
.lw-body .section .pricing-description { color: var(--lw-fg); }
.lw-body .section .bsf-pricing-features, .lw-body .section .bsf-pricing-features * { border-color: var(--lw-bd) !important; color: var(--lw-fg); }
.lw-body .section .bsf-pricing-badge { position: static !important; display: inline-block; margin-bottom: .75rem; transform: none !important; max-width: 100%; white-space: normal; text-align: left; line-height: 1.25; overflow-wrap: anywhere; background: var(--lw-sign) !important; color: var(--lw-ink) !important; font-family: var(--lw-sans); font-weight: 500 !important; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .6rem; }

/* Preisliste */
.lw-body .section .price-category-title { font-family: var(--lw-sans); font-weight: 500; font-size: .8125rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--lw-acc); }
.lw-body .section .price-header { flex-wrap: wrap; gap: .25rem .5rem; }
.lw-body .section .price-header > * { max-width: 100%; min-width: 0; }
.lw-body .section .bsf-price-leader { flex: 1 1 .75rem; }
.lw-body .section .price-name { font-family: var(--lw-slab); font-weight: 600 !important; color: var(--lw-fg-s); overflow-wrap: break-word; }
.lw-body .section .price-price { font-family: var(--lw-slab); font-weight: 600 !important; color: var(--lw-acc); white-space: normal !important; overflow-wrap: break-word; }
.lw-body .section .bsf-price-leader { border-color: var(--lw-bd) !important; }
.lw-body .section .price-desc { color: var(--lw-fg-m); }
.lw-body .section .bsf-text-smaller { overflow-wrap: break-word; color: var(--lw-fg-m); }
.lw-body .section .bsf-pricelist-image { border-radius: 0 !important; }

/* Logos */
.lw-body .section .bg-light:has(> img, > a > img, > picture, > a > picture) { background: var(--lw-white) !important; }
.lw-body .section .bg-light.border, .lw-body .section .border:has(> img), .lw-body .section .border:has(> a > img) { border-color: var(--lw-bd) !important; border-radius: 0 !important; }
/* Logos ohne Kachel auf dunkler oder oranger Fläche einfarbig, damit sie lesbar bleiben */
.lw-body :is(.section[style*="rgba(20, 48, 44"], .section:has(> .position-absolute[style*="rgba(20, 48, 44"])) .col > .h-100.d-flex:not(.bg-light):not(.border) img[style*="max-height"] { filter: brightness(0) invert(.93); border: 0; }
.lw-body .section[style*="rgba(244, 183, 49"] .col > .h-100.d-flex:not(.bg-light):not(.border) img[style*="max-height"] { filter: brightness(0); }

/* Ablauf */
.lw-body .section .process-marker { background: var(--lw-step, var(--lw-paper)) !important; color: var(--lw-fg-s) !important; border-color: var(--lw-mark) !important; }
/* Schlicht = Ring in der Flusslinie; umrandet = feiner Ring in Schriftfarbe; gefüllt = volle Akzentfläche */
.lw-body .section .process-marker.process-marker-outlined { border-width: 1.5px !important; border-color: var(--lw-fg-s) !important; }
.lw-body .section .process-marker.process-marker-filled { background: var(--lw-ink) !important; border-color: var(--lw-ink) !important; color: #fff !important; }
.lw-body .section[style*="rgba(20, 48, 44"] .process-marker.process-marker-filled { background: var(--lw-sign) !important; border-color: var(--lw-sign) !important; color: var(--lw-ink) !important; }
.lw-body .section[style*="rgba(244, 183, 49"] .process-marker.process-marker-filled { color: var(--lw-sign) !important; }
.lw-body .process-step:not(:has(.process-marker))::before,
.lw-body .process-connector-none .process-step::before, .lw-body .process-connector-arrow.process-horizontal .process-step::before { display: none; }
.lw-body .process-connector-arrow .process-step-inner::before, .lw-body .process-connector-arrow .process-step-inner::after, .lw-body .process-connector-arrow::before, .lw-body .process-connector-arrow::after { display: revert; color: var(--lw-mark); }
.lw-body .section .process :is(.bsf-item-outlined, .bsf-item-filled, .border) { border-color: var(--lw-bd); }
.lw-body .section .process .bg-light { background: var(--lw-fill) !important; border-radius: 0; }
.lw-body .section .process .border { background: var(--lw-raised); border-radius: 0; }
.lw-body .section .process-text { color: var(--lw-fg); }
@media (max-width: 991.98px) { .lw-body .section .process-horizontal :is(.bg-light, .border) .process-title { font-size: 1rem; hyphens: auto; } }

/* FAQ (Akkordeon und ausgeklappt) */
.lw-body .section .bsf-toggle-header { min-height: 2.75rem; color: var(--lw-fg-s); }
.lw-body .section .bsf-toggle-title { min-width: 0; color: var(--lw-fg-s); }
.lw-body .section .bsf-toggle-icon, .lw-body .section .bsf-accent { color: var(--lw-acc); }
.lw-body .section .bsf-toggle-content { color: var(--lw-fg); padding-bottom: 1.4rem; }
.lw-body .section .bsf-faqs .bsf-toggle:not(.bsf-item-outlined):not(.bsf-item-filled) { border-color: var(--lw-bd); }
.lw-body .section .bsf-toggle:is(.bsf-item-outlined, .bsf-item-filled) { padding-block: .25rem; margin-bottom: .75rem; }

/* Dokumente */
.lw-body .section .document-item-inner { color: var(--lw-fg); }
.lw-body .section .document-item-inner > .fa-solid { color: var(--lw-acc); }
.lw-body .section .documents-list .document-item-inner.bsf-item-plain, .lw-body .section .documents-list .document-item:not(:has(.bsf-item-outlined, .bsf-item-filled)) .document-item-inner { border-top: 1px solid var(--lw-bd); padding-top: 1rem; border-radius: 0; }
.lw-body .section .document-link { font-family: var(--lw-slab); font-weight: 600 !important; font-size: 1.1875rem; color: var(--lw-acc) !important; text-underline-offset: .18em; }
.lw-body .section .document-meta { font-family: var(--lw-sans); letter-spacing: .02em; margin-top: .35rem; }
.lw-body .section .document-description { color: var(--lw-fg); }

/* Listing */
.lw-body .section .listing-item-title, .lw-body .section .listing-item-title a { font-family: var(--lw-slab); font-weight: 600; color: var(--lw-fg-s) !important; }
.lw-body .section .listing-item-date { font-family: var(--lw-sans); font-size: .8125rem; letter-spacing: .04em; color: var(--lw-fg-m); }
.lw-body .section .listing-item-link { color: var(--lw-fg-s) !important; }
.lw-body .section .bsf-listing-image, .lw-body .section .listing-item-media img { border-radius: 0; }
.lw-body .section .listing-list .listing-item-inner.bsf-item-plain { border-top: 1px solid var(--lw-bd); padding-top: 1.25rem; border-radius: 0; }
@media (min-width: 768px) {
    .lw-body .section .listing-list .listing-item-inner:has(> .listing-item-media) { display: grid; grid-template-columns: clamp(9rem, 24%, 16rem) minmax(0, 1fr); column-gap: 1.75rem; align-content: start; }
    .lw-body .section .listing-list .listing-item-inner > .listing-item-media { grid-row: 1 / span 4; margin: 0 !important; }
}
@media (max-width: 767.98px) { .lw-body .section .listing-list .listing-item-media { max-width: 14rem; } }
.lw-body .section .listing-section-link { margin-top: 1.5rem; }

/* Hinweis: ruhige Töne aus der Markenpalette, Icon trägt den Ton */
.lw-body .section .notice { --bs-alert-color: var(--lw-ink); color: var(--lw-ink); border-radius: 0; border: 0; padding: 1.25rem 1.5rem; background: var(--lw-tone, var(--lw-fill)); }
.lw-body .section .notice > .flex-grow-1 { min-width: 0; }
.lw-body .section .notice-neutral { --lw-tone: #ECEADF; --lw-tone-ink: var(--lw-ink); }
.lw-body .section .notice-info { --lw-tone: var(--lw-ice-2); --lw-tone-ink: var(--lw-lech-d); }
.lw-body .section .notice-success { --lw-tone: #DDF0D5; --lw-tone-ink: #1F6B40; }
.lw-body .section .notice-warning { --lw-tone: #FFF0C2; --lw-tone-ink: #7A5500; }
.lw-body .section .notice-critical { --lw-tone: #FBD3C2; --lw-tone-ink: #8E1F12; }
.lw-body .section .notice .fa-solid { color: var(--lw-tone-ink); }
.lw-body .section .notice .fw-bold { font-family: var(--lw-slab); font-weight: 600 !important; color: var(--lw-ink); }
.lw-body .section .notice-text, .lw-body .section .notice-text p { color: var(--lw-ink); margin: 0; }
.lw-body .section .notice .alert-link, .lw-body .section .notice a { color: var(--lw-ink) !important; font-weight: 500; }
.lw-body .section .notice .btn-link { color: var(--lw-ink); border-bottom-color: var(--lw-tone-ink); }
.lw-body .section .notice-outlined { background: transparent; border: 1.5px solid var(--lw-tone-ink); border-left-width: 1.5px !important; }
.lw-body .section .notice-outlined, .lw-body .section .notice-outlined :is(.fw-bold, .notice-text, .notice-text p, a, .btn-link, .fa-solid) { color: var(--lw-fg-s) !important; }
.lw-body .section .notice-outlined { border-color: var(--lw-mark) !important; }

/* Laufschrift */
.lw-body .section .bsf-ticker-item { font-family: var(--lw-slab); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.75rem); letter-spacing: -0.015em; color: var(--lw-fg-s); }
.lw-body .section .ct-ticker-badge { font-family: var(--lw-sans); font-weight: 500; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lw-fg-s); background: var(--lw-fill) !important; border: 1px solid var(--lw-bd); border-radius: 999px; padding: .5rem .9rem !important; }
.lw-body .section .ct-ticker-static .bsf-ticker-item, .lw-body .section .ct-ticker-static .ct-ticker-badge { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; margin-block: .2rem; }
@media (prefers-reduced-motion: reduce) { .lw-body .section .bsf-ticker-item, .lw-body .section .ct-ticker-badge { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; margin-block: .2rem; } .lw-body .ct-ticker-region > input.visually-hidden { display: none; } }
.lw-body .section .ct-ticker-control { color: var(--lw-fg-s); }
/* Bei reduzierter Bewegung blendet die Family das Label aus, das Kontrollkästchen bleibt ohne Namen im Baum (Befund P-2, docs/07-qa.md); deshalb oben ausgeblendet. */

/* Trenner */
.lw-body .section .bsf-divider, .lw-body .section .bsf-divider .border-top, .lw-body .section .divider-full { border-color: var(--lw-bd) !important; opacity: 1; }
.lw-body .section .divider-line-short { border-top: 2px solid var(--lw-mark) !important; }
.lw-body .section .divider-icon { color: var(--lw-acc); }
.lw-body .section .divider-icon-filled { background: var(--lw-fill) !important; border-radius: 0; }
.lw-body .section .divider-icon-outlined { border: 1.5px solid var(--lw-mark) !important; border-radius: 0; background: transparent !important; }

/* Einbettung, Kontakt, individueller Code */
.lw-body .section .video-facade-preview { background-color: var(--lw-fill); border: 1px solid var(--lw-bd); border-radius: 0 !important; color: var(--lw-fg); }
.lw-body .section .ct-embed-provider { font-family: var(--lw-sans); font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; font-size: .8125rem; color: var(--lw-ink); background: var(--lw-paper); border-radius: 999px; padding: .5rem .9rem; }
.lw-body .section .video-facade-preview.ratio > .ct-embed-provider { top: 50%; left: 50%; right: auto; bottom: auto; width: auto; height: auto; transform: translate(-50%, -50%); }
.lw-body .section .video-facade-preview.ratio > .ct-embed-activate { top: calc(50% + 2.25rem); left: 50%; width: auto; height: auto; transform: translateX(-50%); white-space: nowrap; }
.lw-body .section :is(.ct-embed-consent-unavailable, .ct-embed-source, .ct-embed-noscript) { color: var(--lw-fg-m) !important; }
.lw-body .section .contact-details a { color: var(--lw-acc); }
.lw-body .section .contact-map img { border-radius: 0 !important; }

/* Hero: Bild als Panel bleibt im Fenster, lange Texte */
@media (min-width: 992px) { .lw-body .section.bg-transparent > .bsf-hero-panel > .bsf-hero-panel-surface { background-color: var(--lw-paper); } }
/* Bild oder Video als Hintergrund: Abdunklung und helle Schrift, damit jedes Motiv lesbar bleibt (Knöpfe wie auf Graphit) */
.lw-body .section:has(> .position-absolute video, > .position-absolute picture) { --lw-fg: var(--lw-paper); --lw-fg-s: var(--lw-paper); --lw-fg-m: var(--lw-paper); --lw-acc: var(--lw-paper); --lw-mark: var(--lw-sign); --lw-bd: rgba(243, 241, 237, .4); }
.lw-body .bsf-slider .section:has(> .position-absolute video, > .position-absolute picture):not(:has(> .position-absolute > .position-absolute)) > .position-absolute:last-of-type::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 42, 47, .2) 0%, rgba(14, 42, 47, .68) 38%, rgba(14, 42, 47, .88) 100%); pointer-events: none; }
.lw-body .bsf-slider .section:has(> .position-absolute video, > .position-absolute picture) :is(.bsf-hero-title, .bsf-hero-content p, .bsf-heading-kicker, .bsf-title-accent-line) { color: var(--lw-paper) !important; }
.lw-body .bsf-hero-content p { overflow-wrap: anywhere; }
.lw-body .bsf-hero-title { overflow-wrap: anywhere; }


/* Popup: Papier, große Rundung, Überschrift eine Stufe kleiner */
.lw-body .bsf-popup { color: var(--lw-ink); border: 0; background: transparent; padding: 0; }
.lw-body .bsf-popup::backdrop { background: rgba(20, 48, 44, .55); }
.lw-body .bsf-popup-panel { background: var(--lw-paper); border-radius: 0; padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); box-shadow: 0 24px 60px rgba(20, 48, 44, .22); }
.lw-body .bsf-popup h2, .lw-body .bsf-popup .h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; padding-right: 2.5rem; }
.lw-body .bsf-popup img, .lw-body .bsf-popup video { border-radius: 0 !important; }
.lw-body .bsf-popup-close { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--lw-ink); background: var(--lw-paper); color: var(--lw-ink); display: inline-flex; align-items: center; justify-content: center; }
.lw-body .bsf-popup-close:hover { background: var(--lw-ink); color: #fff; }
.lw-body .bsf-popup .bsf-heading-kicker { color: var(--lw-lech); }
.lw-body .bsf-popup :is(.btn, p, h2, .bsf-heading-kicker) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

/* Knöpfe je Fläche: auf Fichte die Hauptaktion im Wegweiser-Gelb, auf Gelb in Fichte */
.lw-body :is(.section[style*="rgba(20, 48, 44"], .section:has(> .position-absolute[style*="rgba(20, 48, 44"])) .btn-primary { --bs-btn-bg: var(--lw-sign); --bs-btn-border-color: var(--lw-sign); --bs-btn-color: var(--lw-ink); --bs-btn-hover-bg: var(--lw-sign-d); --bs-btn-hover-border-color: var(--lw-sign-d); --bs-btn-hover-color: var(--lw-ink); --bs-btn-active-bg: var(--lw-sign-d); --bs-btn-active-border-color: var(--lw-sign-d); --bs-btn-active-color: var(--lw-ink); }
.lw-body :is(.section[style*="rgba(20, 48, 44"], .section:has(> .position-absolute[style*="rgba(20, 48, 44"])) .btn-outline-primary { --bs-btn-color: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--lw-ink); --bs-btn-hover-border-color: #fff; }
.lw-body .section[style*="rgba(244, 183, 49"] .btn-primary { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; }
.lw-body .section[style*="rgba(244, 183, 49"] .btn-outline-primary { --bs-btn-color: var(--lw-ink); --bs-btn-border-color: var(--lw-ink); --bs-btn-hover-bg: var(--lw-ink); --bs-btn-hover-color: #fff; }
.lw-body .section[style*="rgba(244, 183, 49"] :is(.btn-link, a:not(.btn)) { color: var(--lw-ink) !important; }
.lw-body .section .bsf-quote-panel { --lw-acc: var(--lw-lech-d); }
.lw-body .section[style*="rgba(20, 48, 44"] .bsf-quote-panel { --lw-acc: var(--lw-ice); }
.lw-body .section[style*="rgba(244, 183, 49"] .bsf-quote-panel { --lw-acc: var(--lw-ink); }
.lw-body .bsf-card-filled { --lw-acc: var(--lw-lech-d); }
.lw-body .section[style*="rgba(20, 48, 44"] .bsf-card-filled { --lw-acc: var(--lw-ice); }
.lw-body .section[style*="rgba(244, 183, 49"] .bsf-card-filled { --lw-acc: var(--lw-ink); }
.lw-body .section .bsf-item-filled { --lw-acc: var(--lw-lech-d); }
.lw-body .section[style*="rgba(20, 48, 44"] .bsf-item-filled { --lw-acc: var(--lw-ice); }
.lw-body .section[style*="rgba(244, 183, 49"] .bsf-item-filled { --lw-acc: var(--lw-ink); }

/* Lightbox und Popup: eckig wie die Karten, Schließen als Pille */
.bsf-lightbox button { border-radius: 50%; }
.lw-body .bsf-popup { color: var(--lw-ink); border: 0; background: transparent; padding: 0; }
.lw-body .bsf-popup::backdrop { background: rgba(14, 42, 47, .6); }
.lw-body .bsf-popup-panel { background: var(--lw-paper); border: 1px solid var(--lw-line); padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); box-shadow: 0 24px 60px rgba(20, 48, 44, .25); }
.lw-body .bsf-popup h2, .lw-body .bsf-popup .h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; padding-right: 2.75rem; }
.lw-body .bsf-popup .bsf-heading-kicker { color: var(--lw-lech); }
.lw-body .bsf-popup-close { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--lw-ink); background: var(--lw-white); color: var(--lw-ink); display: inline-flex; align-items: center; justify-content: center; }
.lw-body .bsf-popup-close:hover { background: var(--lw-ink); color: #fff; }
.lw-body .bsf-popup :is(.btn, p, h2, .bsf-heading-kicker) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

/* Fußzeile auf Fichte: alle Fußzeilenblöcke im Raster */
.lw-footer-grid > *, .lw-footer .bsf-widget { min-width: 0; }
.lw-footer, .lw-footer * { overflow-wrap: anywhere; min-width: 0; }
.lw-footer .d-flex { flex-wrap: wrap; }
.lw-footer .row { --bs-gutter-x: 0; --bs-gutter-y: .75rem; margin-inline: 0; }
.lw-footer .row > * { padding-inline: 0; max-width: 100%; }
.lw-footer .bsf-widget > .bsf-widget + *, .lw-footer .bsf-widget > * { max-width: 100%; }
.lw-footer .bsf-widget > * + .bsf-footer-heading-group { margin-top: 1.75rem; }
.lw-footer .bsf-footer-heading { hyphens: auto; }
.lw-footer .bsf-footer-links { padding: 0; }
.lw-footer .bsf-footer-links.d-flex, .lw-footer ul.d-flex { gap: .4rem 1.25rem; flex-wrap: wrap; }
.lw-footer .btn-primary { --bs-btn-bg: var(--lw-sign); --bs-btn-border-color: var(--lw-sign); --bs-btn-color: var(--lw-ink); --bs-btn-hover-bg: var(--lw-sign-d); --bs-btn-hover-border-color: var(--lw-sign-d); --bs-btn-hover-color: var(--lw-ink); white-space: normal; max-width: 100%; }
.lw-footer .btn-outline-primary { --bs-btn-color: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--lw-ink); --bs-btn-hover-border-color: #fff; white-space: normal; max-width: 100%; }
.lw-body .lw-footer .btn-link { color: var(--lw-paper); padding-inline: 0; text-decoration: underline; text-underline-offset: .18em; }
.lw-footer .bg-light { background: var(--lw-white) !important; }
.lw-footer .bg-light img, .lw-footer .border img { background: none; padding: 0; }
.lw-footer .border { background: var(--lw-white); border-color: var(--lw-line) !important; border-radius: 0 !important; }
.lw-footer [class*="rounded"]:not(.rounded-circle):not(.rounded-pill) { border-radius: 0 !important; }
.lw-footer .row > [class*="col-"] { flex: 0 0 100%; width: 100%; text-align: left !important; }
.lw-body .lw-footer .bsf-social-icon { font-size: 1rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; min-width: 2.75rem; justify-content: center; background: transparent !important; color: var(--lw-paper); border: 0; border-radius: 999px; }
.lw-body .lw-footer .bsf-social-icon.bsf-si-outlined { border: 1.5px solid currentColor; }
.lw-body .lw-footer a.bsf-social-icon.bsf-si-filled { background: var(--lw-paper) !important; color: var(--lw-ink); }
.lw-body .lw-footer .bsf-social-icon i ~ i { display: none; }
.lw-body .lw-footer .bsf-social-icon[style*="--bsf-social-icon-color"] { background: var(--lw-paper) !important; }
.lw-footer ul:has(> li > .bsf-social-icon.d-inline-flex) { display: block !important; padding: 0; }
.lw-footer ul:has(> li > .bsf-social-icon.d-inline-flex) .bsf-social-icon:not(.bsf-si-outlined):not(.bsf-si-filled) { justify-content: flex-start; min-width: 0; }
.lw-body .lw-footer a.bsf-social-icon:hover { color: var(--lw-sign); }
.lw-body .lw-footer a.bsf-social-icon.bsf-si-filled:hover { background: var(--lw-sign) !important; color: var(--lw-ink); }
@media (max-width: 767.98px) { .lw-body .lw-footer a:not(.btn):not(.lw-btn):not(.bsf-social-icon) { display: inline-flex; align-items: center; min-height: 2.75rem; } .lw-footer li { padding-block: 0; } }
@media (min-width: 768px) { .lw-body .lw-footer a:not(.btn):not(.lw-btn):not(.bsf-social-icon) { display: inline-block; padding-block: .1rem; min-height: 1.5rem; } }

/* Smartphone: Übersicht vor Bühne. Weniger Abstand, kürzere Seitenköpfe, kompakte Begriffe; die Inhalte bleiben alle da. */
@media (max-width: 767.98px) {
    .lw-body .bsf-pt-large { padding-top: 3rem !important; }
    .lw-body .bsf-pb-large { padding-bottom: 3rem !important; }
    .lw-body:not(.lw-home) .bsf-hero-title { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.5rem) !important; }
    .lw-body:not(.lw-home) .bsf-slider [class*="hero-height"] { min-height: 0; }
    .lw-map-labels { font-size: 23px; }
    .lw-m-routes .lw-main > .section:first-child .feature { padding: 1rem 1.15rem; }
    .lw-m-routes .lw-main > .section:first-child .feature::after { height: .6rem; margin-top: .6rem; }
    .lw-sec { padding-block: 2.75rem; }
    .lw-sec.lw-pt0 { padding-top: 0; }
    .lw-list a, .lw-parts small a { display: inline-flex; align-items: center; min-height: 2.75rem; }
    .lw-list small a { min-height: 0; display: inline; }
}

/* Bilder eckig wie die Karten; Rundbilder bleiben, wenn der Block sie will. Lange Wörter in Etiketten und Hinweisen. */
.lw-body .section :is(img, video, .card, .card-img, .card-img-top, .card-img-overlay, .bsf-card, .bsf-item, .img-gallery, .bsf-collage-img):not(.rounded-circle) { border-radius: 0 !important; }
.lw-body .section [class*="rounded"]:not(.rounded-circle):not(.rounded-pill) { border-radius: 0 !important; }
.lw-body .bsf-grid-inner a.stretched-link { text-decoration: none; }
.lw-body .bsf-grid-inner a.stretched-link:hover { text-decoration: underline; }
.lw-body .section .bsf-card-subtitle { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.lw-body .section .notice :is(a, .btn-link) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.lw-body .section .notice .btn-link { display: inline; }
.lw-body .section a { overflow-wrap: anywhere; }

/* Text auf Foto: Weiß braucht im schlechtesten Fall eine Überlagerung ab 68 % über der ganzen Textfläche (04-design.md).
   Seitenköpfe außerhalb der Startseite tragen lange Titel bis zur Oberkante, Karten auf dem Smartphone sind kürzer. */
.lw-body:not(.lw-home) .bsf-slider .section > .position-absolute > .position-absolute { background: linear-gradient(180deg, rgba(14, 42, 47, .68) 0%, rgba(14, 42, 47, .88) 100%) !important; }
.lw-hero::before { background: linear-gradient(180deg, rgba(14, 42, 47, .3) 0%, rgba(14, 42, 47, .68) 30%, rgba(14, 42, 47, .88) 100%); }
.lw-ov::after { background: linear-gradient(180deg, rgba(14, 42, 47, .1) 0%, rgba(14, 42, 47, .68) 38%, rgba(14, 42, 47, .88) 80%); }
@media (max-width: 767.98px) {
    .lw-hero::before { background: linear-gradient(180deg, rgba(14, 42, 47, .68) 0%, rgba(14, 42, 47, .88) 100%); }
    .lw-ov::after { background: linear-gradient(180deg, rgba(14, 42, 47, .68) 0%, rgba(14, 42, 47, .88) 80%); }
}
.lw-body .bsf-grid-inner > .position-absolute { padding-top: 2.5rem !important; background: linear-gradient(0deg, rgba(14, 42, 47, .72) 0%, rgba(14, 42, 47, .72) 72%, rgba(14, 42, 47, 0) 100%); }

/* Zimmersuche von feratel: Das Modul verlangt die volle Seitenbreite (TOSC5-Einbauinformation) */
#feratel-container { width: 100%; }
