/* Neue Bausteine des Redesigns (Präfix bl-). Farben und Schriften kommen aus
   den Variablen des Markenpakets (--d-..., siehe lut/design.py). */

.bl-dachzeile {
    font-family: var(--d-font-text);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

/* Gemeinsamer Rahmen für Abschnitte: Breite, Abstand, Kopfzeile */

.bl-abschnitt {
    padding: 72px 0;
}

.bl-breite {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.bl-kopf {
    margin-bottom: 32px;
}

.bl-kopf .bl-dachzeile {
    color: var(--d-link, #555);
    margin-bottom: 8px;
}

.bl-kopf .bl-titel {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    line-height: 1.15;
    margin: 0;
}

.bl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border: 1.5px solid transparent;
    border-radius: var(--d-btn-radius);
    font-family: var(--d-font-text);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .2s, color .2s, border-color .2s;
}

.bl-icon {
    width: 28px;
    height: 28px;
    flex: none;
}

/* --- Vorteile-Leiste ------------------------------------------------------ */

.bl-vorteile {
    --bl-v-text: #1b1d1c;
    --bl-v-leise: #5d625f;
    --bl-v-linie: #e6e4df;
    --bl-v-symbol: var(--d-akzent, #222);
    background: #fff;
    color: var(--bl-v-text);
    border-bottom: 1px solid var(--bl-v-linie);
}

.bl-vorteile--getoent {
    background: #f4f2ed;
}

.bl-vorteile--marke {
    --bl-v-text: var(--d-on-brand, #fff);
    --bl-v-leise: color-mix(in srgb, var(--d-on-brand, #fff) 72%, transparent);
    --bl-v-linie: color-mix(in srgb, var(--d-on-brand, #fff) 18%, transparent);
    --bl-v-symbol: var(--d-footer-akzent, #fff);
    background: var(--d-brand, #222);
    border-bottom: 0;
}

.bl-vorteile__liste {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    list-style: none;
}

.bl-vorteile--2 .bl-vorteile__liste { grid-template-columns: repeat(2, 1fr); }
.bl-vorteile--3 .bl-vorteile__liste { grid-template-columns: repeat(3, 1fr); }

.bl-vorteil + .bl-vorteil {
    border-left: 1px solid var(--bl-v-linie);
}

.bl-vorteil__inhalt {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 24px 22px;
    color: inherit !important;
    text-decoration: none;
    box-shadow: none !important;
}

.bl-vorteil .bl-icon {
    color: var(--bl-v-symbol);
}

.bl-vorteil strong {
    display: block;
    font-family: var(--d-font-text);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.bl-vorteil small {
    display: block;
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--bl-v-leise);
}

a.bl-vorteil__inhalt:hover strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .bl-vorteile .bl-vorteile__liste {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }

    .bl-vorteil__inhalt {
        padding: 16px 14px;
        gap: 10px;
    }

    .bl-vorteil .bl-icon {
        width: 24px;
        height: 24px;
    }

    .bl-vorteil:nth-child(odd) {
        border-left: 0;
    }

    .bl-vorteil:nth-child(n+3) {
        border-top: 1px solid var(--bl-v-linie);
    }

    /* drei Punkte: der dritte über die ganze Breite */
    .bl-vorteile--3 .bl-vorteil:nth-child(3) {
        grid-column: span 2;
    }
}

/* --- Kachel-Raster ------------------------------------------------------- */

.bl-kacheln__raster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 270px;
    grid-auto-flow: dense;
    gap: 16px;
}

.bl-kachel {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #ddd;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.bl-kachel--breit {
    grid-column: span 2;
}

.bl-kachel--gross {
    grid-column: span 2;
    grid-row: span 2;
}

.bl-kachel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

a.bl-kachel:hover img {
    transform: scale(1.04);
}

.bl-kachel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 15, 12, .86) 0%, rgba(10, 15, 12, .45) 35%, rgba(10, 15, 12, 0) 70%);
}

.bl-kachel--farbe {
    background: var(--d-brand, #222);
    color: var(--d-on-brand, #fff) !important;
}

.bl-kachel--farbe::after {
    display: none;
}

.bl-kachel__text {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 20px;
}

.bl-kachel__text strong {
    display: block;
    font-family: var(--d-font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.15;
}

html[data-heading="archivo"] .bl-kachel__text strong {
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.bl-kachel--gross .bl-kachel__text strong {
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
}

.bl-kachel__text small {
    display: block;
    margin-top: 6px;
    font-size: .875rem;
    line-height: 1.4;
    opacity: .88;
}

.bl-kachel__markierung {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #fff;
    color: #1b1d1c;
    font-size: .75rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .bl-abschnitt {
        padding: 48px 0;
    }

    .bl-breite {
        padding: 0 16px;
    }

    .bl-kopf {
        margin-bottom: 20px;
    }

    .bl-kacheln__raster {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 10px;
    }

    .bl-kachel {
        border-radius: 12px;
    }

    .bl-kachel__text {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .bl-kachel__text strong {
        font-size: 1.125rem;
    }

    .bl-kachel--normal .bl-kachel__text small {
        display: none;
    }
}

/* --- Filial-Karten ------------------------------------------------------- */

.bl-kopf--zeile {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.bl-link {
    flex: none;
    font-weight: 600;
    color: #1b1d1c !important;
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: 1.5px solid var(--d-akzent, #222);
    padding-bottom: 2px;
}

.bl-filialen--getoent {
    background: #f4f2ed;
}

.bl-filialen__liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bl-filialen__liste--1 { grid-template-columns: 1fr; }

/* Eine einzelne Filiale: Foto links, Angaben rechts */
.bl-filialen__liste--1 .bl-filiale {
    flex-direction: row;
}

.bl-filialen__liste--1 .bl-filiale__foto {
    flex: 0 0 55%;
    aspect-ratio: auto;
    min-height: 340px;
}

.bl-filialen__liste--1 .bl-filiale__text {
    justify-content: center;
    padding: 40px 44px;
}

.bl-filialen__liste--1 .bl-filiale__kontakt {
    margin-top: 18px !important;
}
.bl-filialen__liste--2 { grid-template-columns: repeat(2, 1fr); }

.bl-filiale {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e6e4df;
}

.bl-filialen--getoent .bl-filiale {
    border-color: transparent;
}

.bl-filiale__foto {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--d-brand, #222) 10%, #fff);
    color: var(--d-brand, #222);
}

.bl-filiale__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bl-filiale__foto .bl-icon {
    width: 44px;
    height: 44px;
    opacity: .55;
}

.bl-filiale__text {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 20px;
}

.bl-filiale__text p,
.bl-filiale__zeiten {
    margin: 0;
}

.bl-filiale__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8125rem;
    font-weight: 600;
    color: #6b716d;
    margin-bottom: 8px !important;
}

.bl-filiale__status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9aa19c;
}

.bl-filiale__status.sf-status--offen {
    color: #23774b;
}

.bl-filiale__status.sf-status--offen::before {
    background: #2f9a62;
}

.bl-filiale .bl-filiale__name {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 4px;
}

.bl-filiale__name a {
    color: inherit !important;
    text-decoration: none;
    box-shadow: none !important;
}

.bl-filiale__beschreibung {
    color: #5d625f;
    font-size: .9375rem;
}

.bl-filiale__zeiten {
    margin-top: 16px !important;
    font-size: .9375rem;
    font-variant-numeric: tabular-nums;
}

.bl-filiale__zeiten > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0;
}

.bl-filiale__zeiten dt {
    font-weight: 400;
    color: #5d625f;
}

.bl-filiale__zeiten dd {
    margin: 0;
    white-space: nowrap;
}

.bl-filiale__sonder dt,
.bl-filiale__sonder dd {
    color: var(--d-link, #1b1d1c);
    font-weight: 600;
}

.bl-filiale__kontakt {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: auto !important;
    padding-top: 18px;
    font-size: .9375rem;
    font-weight: 500;
}

.bl-filiale__zeiten + .bl-filiale__kontakt {
    border-top: 1px solid #e6e4df;
    margin-top: 18px !important;
    padding-top: 14px;
}

.bl-filiale__kontakt a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1b1d1c !important;
    text-decoration: none;
    box-shadow: none !important;
}

.bl-filiale__kontakt a:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bl-filiale__kontakt .bl-icon {
    width: 18px;
    height: 18px;
    color: var(--d-link, #555);
}

@media (max-width: 900px) {
    .bl-kopf--zeile {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bl-filialen .bl-filialen__liste {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bl-filialen__liste--1 .bl-filiale {
        flex-direction: column;
    }

    .bl-filialen__liste--1 .bl-filiale__foto {
        flex: none;
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .bl-filiale__text,
    .bl-filialen__liste--1 .bl-filiale__text {
        padding: 18px 18px 16px;
    }
}

/* --- Journal -------------------------------------------------------------- */

.bl-journal__liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}

.bl-journal--4 .bl-journal__liste {
    grid-template-columns: repeat(4, 1fr);
}

.bl-beitrag {
    display: flex;
    flex-direction: column;
    color: #1b1d1c !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.bl-beitrag__bild {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #ece9e3;
    margin-bottom: 16px;
}

.bl-beitrag__bild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.bl-beitrag:hover .bl-beitrag__bild img {
    transform: scale(1.04);
}

.bl-beitrag__datum {
    font-size: .8125rem;
    color: #6b716d;
    margin-bottom: 4px;
}

.bl-beitrag__titel {
    font-family: var(--d-font-heading);
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.2;
}

html[data-heading="archivo"] .bl-beitrag__titel {
    font-weight: 800;
    font-stretch: 75%;
    text-transform: uppercase;
}

.bl-beitrag__text {
    margin-top: 8px;
    font-size: .9375rem;
    line-height: 1.55;
    color: #5d625f;
}

/* Aufmacher: erster Beitrag groß über zwei Reihen */
.bl-journal--aufmacher .bl-journal__liste {
    grid-template-columns: 1.4fr 1fr 1fr;
}

.bl-journal--aufmacher.bl-journal--4 .bl-journal__liste,
.bl-journal--aufmacher.bl-journal--6 .bl-journal__liste {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.bl-journal--aufmacher .bl-beitrag:first-child .bl-beitrag__bild {
    aspect-ratio: 5 / 4;
}

.bl-journal--aufmacher .bl-beitrag:first-child .bl-beitrag__titel {
    font-size: 1.875rem;
}

.bl-journal--aufmacher.bl-journal--4 .bl-beitrag:first-child,
.bl-journal--aufmacher.bl-journal--6 .bl-beitrag:first-child {
    grid-row: span 2;
}

.bl-journal--aufmacher.bl-journal--4 .bl-beitrag:first-child {
    grid-column: 1;
}

.bl-journal--aufmacher.bl-journal--4 .bl-beitrag:last-child {
    grid-column: span 2;
}

/* --- Marken-Logos --------------------------------------------------------- */

.bl-marken {
    background: #fff;
    border-top: 1px solid #e6e4df;
    border-bottom: 1px solid #e6e4df;
}

/* flex statt grid: eine nicht volle letzte Reihe steht so mittig */
.bl-marken__liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 36px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bl-marken__liste li {
    flex: 0 0 calc((100% - 5 * 36px) / 6);
}

.bl-marken__liste li,
.bl-marken__liste a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.bl-marken__liste img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Logos mit weißem Hintergrund fügen sich so in die Fläche ein */
    mix-blend-mode: multiply;
    transition: filter .2s, opacity .2s;
}

.bl-marken--grau img {
    filter: grayscale(1);
    opacity: .72;
}

.bl-marken--grau a:hover img {
    filter: none;
    opacity: 1;
}

/* --- Newsletter und Aufruf ------------------------------------------------ */

.bl-newsletter,
.bl-aufruf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
    align-items: center;
    padding: 48px;
    border-radius: 22px;
    background: #f4f2ed;
    color: #1b1d1c;
}

.bl-aufruf {
    grid-template-columns: 1fr auto;
}

.bl-newsletter--marke,
.bl-aufruf--marke {
    background: var(--d-brand, #222);
    color: var(--d-on-brand, #fff);
}

.bl-newsletter .bl-titel,
.bl-aufruf .bl-titel {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    line-height: 1.15;
    margin: 0;
    color: inherit;
}

.bl-newsletter p,
.bl-aufruf p {
    margin: 10px 0 0;
    max-width: 52ch;
    opacity: .82;
}

.bl-newsletter .bl-btn,
.bl-aufruf .bl-btn {
    background: var(--d-brand, #222);
    color: var(--d-on-brand, #fff);
    white-space: nowrap;
    cursor: pointer;
}

.bl-newsletter--marke .bl-btn,
.bl-aufruf--marke .bl-btn {
    background: #fff;
    color: #1b1d1c;
}

.bl-newsletter .bl-btn:hover,
.bl-aufruf .bl-btn:hover {
    background: var(--d-brand-hover, #000);
    color: var(--d-on-brand, #fff);
}

.bl-newsletter--marke .bl-btn:hover,
.bl-aufruf--marke .bl-btn:hover {
    background: var(--d-footer-akzent, #eee);
    color: #1b1d1c;
}

.bl-newsletter__form {
    position: relative;
    display: grid;
    gap: 10px;
}

.bl-newsletter__namen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bl-newsletter__zeile {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.bl-newsletter__form label {
    display: block;
    margin: 0;
}

.bl-newsletter__form label span {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 4px;
    opacity: .8;
}

.bl-newsletter__form input[type="text"],
.bl-newsletter__form input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #cfccc4;
    border-radius: 10px;
    background: #fff;
    color: #1b1d1c;
    font: inherit;
}

.bl-newsletter--marke input[type="text"],
.bl-newsletter--marke input[type="email"] {
    border-color: transparent;
}

.bl-newsletter__zeile .bl-btn {
    align-self: end;
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
}

.bl-newsletter__form small {
    font-size: .75rem;
    opacity: .75;
}

.bl-newsletter__form small a {
    color: inherit !important;
    text-decoration: underline;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    .bl-journal .bl-journal__liste {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bl-journal--aufmacher .bl-beitrag:first-child,
    .bl-journal--aufmacher.bl-journal--4 .bl-beitrag:last-child {
        grid-row: auto;
        grid-column: auto;
    }

    .bl-journal--aufmacher .bl-beitrag:first-child .bl-beitrag__titel {
        font-size: 1.5rem;
    }

    /* Reihe: am Handy zum Wischen */
    .bl-journal--reihe .bl-journal__liste {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .bl-journal--reihe .bl-beitrag {
        scroll-snap-align: start;
    }

    .bl-marken__liste {
        gap: 22px 20px;
    }

    .bl-marken__liste li {
        flex-basis: calc((100% - 2 * 20px) / 3);
    }

    .bl-marken__liste img {
        max-height: 48px;
    }

    .bl-newsletter,
    .bl-aufruf {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        border-radius: 16px;
    }

    .bl-newsletter__zeile {
        grid-template-columns: 1fr;
    }
}

/* --- Ratgeber-Bausteine --------------------------------------------------- */

.bl-abschnitt--eng {
    padding: 40px 0;
}

.bl-breite--text {
    max-width: 960px;
}

.bl-einleitung {
    margin: 10px 0 0;
    max-width: 60ch;
    color: #5d625f;
    font-size: 1.0625rem;
}

.bl-schilder {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.bl-schilder em {
    font-style: normal;
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--d-brand, #222) 9%, #fff);
    color: var(--d-brand, #222);
}

/* Inhaltsverzeichnis */

.bl-inhalt {
    position: sticky;
    top: 74px;
    z-index: 5;
    background: #fff;
    border-top: 1px solid #e6e4df;
    border-bottom: 1px solid #e6e4df;
}

.bl-inhalt .bl-breite {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bl-inhalt__titel {
    flex: none;
    margin: 0;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6b716d;
}

.bl-inhalt__liste {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.bl-inhalt__liste a {
    display: block;
    white-space: nowrap;
    padding: 6px 14px;
    border: 1px solid #e0ddd6;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 500;
    color: #1b1d1c !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.bl-inhalt__liste a.aktiv,
.bl-inhalt__liste a:hover {
    background: var(--d-brand, #222);
    border-color: var(--d-brand, #222);
    color: var(--d-on-brand, #fff) !important;
}

/* Kurz & knapp */

.bl-fakten__liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bl-fakten__liste--2 { grid-template-columns: repeat(2, 1fr); }
.bl-fakten__liste--4 { grid-template-columns: repeat(4, 1fr); }

.bl-fakt {
    padding: 22px;
    border: 1px solid #e6e4df;
    border-radius: 16px;
    background: #fff;
}

.bl-fakt strong {
    display: block;
    font-family: var(--d-font-heading);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--d-link, #222);
    hyphens: auto;
}

.bl-fakt span {
    display: block;
    margin-top: 10px;
    font-size: .9375rem;
    line-height: 1.5;
    color: #5d625f;
}

/* Karten mit Merkmalen */

.bl-merkmalkarten__liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bl-merkmalkarten__liste--2 { grid-template-columns: repeat(2, 1fr); }

.bl-merkmalkarte {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e6e4df;
    border-radius: 16px;
    background: #fff;
    color: #1b1d1c !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.bl-merkmalkarte__bild {
    display: block;
    aspect-ratio: 1 / 1;
    background: #ece9e3;
}

.bl-merkmalkarte__bild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bl-merkmalkarte__nr {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #fff;
    font-size: .8125rem;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.bl-merkmalkarte__text {
    display: block;
    padding: 20px 22px 22px;
}

.bl-merkmalkarte__text > strong {
    display: block;
    font-family: var(--d-font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 6px;
}

.bl-merkmalkarte__text > span:not(.bl-schilder) {
    display: block;
    font-size: .9375rem;
    line-height: 1.55;
    color: #5d625f;
}

/* Nummerierte Liste */

.bl-schritte__inhalt {
    display: grid;
    gap: 40px;
}

.bl-schritte--bild .bl-schritte__inhalt {
    grid-template-columns: minmax(0, 380px) 1fr;
    align-items: start;
}

.bl-schritte__bild {
    position: sticky;
    top: 140px;
    border-radius: 16px;
    overflow: hidden;
}

.bl-schritte__bild img {
    display: block;
    width: 100%;
    height: auto;
}

.bl-schritte__liste {
    counter-reset: schritt;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bl-schritte--bild .bl-schritte__liste {
    grid-template-columns: 1fr;
}

.bl-schritte__liste li {
    counter-increment: schritt;
    position: relative;
    padding: 16px 0 16px 46px;
    border-bottom: 1px solid #e6e4df;
}

.bl-schritte__liste li::before {
    content: counter(schritt);
    position: absolute;
    left: 0;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--d-brand, #222);
    color: var(--d-brand, #222);
    display: grid;
    place-items: center;
    font-size: .8125rem;
    font-weight: 700;
}

.bl-schritte__liste strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.bl-schritte__liste span {
    display: block;
    margin-top: 2px;
    font-size: .9375rem;
    line-height: 1.55;
    color: #5d625f;
}

/* Steckbriefe */

.bl-steckbriefe__liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bl-steckbriefe__liste--2 { grid-template-columns: repeat(2, 1fr); }
.bl-steckbriefe__liste--4 { grid-template-columns: repeat(4, 1fr); }

.bl-steckbrief {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid #e6e4df;
    border-radius: 16px;
    background: #fff;
}

.bl-steckbrief h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0;
}

.bl-steckbrief__wert {
    margin: 12px 0 0;
    font-family: var(--d-font-heading);
    font-size: 2.75rem;
    line-height: 1;
    color: var(--d-link, #222);
}

.bl-steckbrief__wert small {
    display: block;
    margin-top: 6px;
    font-family: var(--d-font-text);
    font-size: .8125rem;
    color: #6b716d;
}

.bl-steckbrief dl {
    margin: 16px 0 0;
    font-size: .9375rem;
}

.bl-steckbrief dl > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0;
    border-top: 1px solid #efede8;
}

.bl-steckbrief dt {
    font-weight: 400;
    color: #5d625f;
}

.bl-steckbrief dd {
    margin: 0;
    font-weight: 500;
    text-align: right;
}

.bl-steckbrief .bl-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
}

/* Farbfelder */

.bl-farbfelder__liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bl-farbfeld {
    display: grid;
    grid-template-columns: 84px 1fr;
    overflow: hidden;
    border: 1px solid #e6e4df;
    border-radius: 14px;
    background: #fff;
}

.bl-farbfeld__farbe {
    min-height: 84px;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .07);
}

.bl-farbfeld__text {
    padding: 14px 16px;
}

.bl-farbfeld__text strong {
    display: block;
    font-family: var(--d-font-heading);
    font-size: 1.3125rem;
    font-weight: 500;
    line-height: 1.2;
}

.bl-farbfeld__text span {
    display: block;
    margin-top: 4px;
    font-size: .875rem;
    line-height: 1.5;
    color: #5d625f;
}

/* Pflegesymbole */

.bl-pflege__liste {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bl-pflege__eintrag {
    padding: 18px 16px;
    border: 1px solid #e6e4df;
    border-radius: 14px;
    background: #fff;
}

.bl-pflegesymbol {
    display: block;
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
    color: #1b1d1c;
}

.bl-pflege__eintrag strong {
    display: block;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.35;
}

.bl-pflege__eintrag span {
    display: block;
    font-size: .875rem;
    line-height: 1.45;
    color: #5d625f;
}

@media (max-width: 900px) {
    .bl-abschnitt--eng {
        padding: 28px 0;
    }

    .bl-inhalt {
        top: 0;
    }

    .bl-inhalt__titel {
        display: none;
    }

    .bl-inhalt .bl-breite {
        padding-right: 0;
    }

    .bl-fakten .bl-fakten__liste,
    .bl-merkmalkarten .bl-merkmalkarten__liste,
    .bl-steckbriefe .bl-steckbriefe__liste,
    .bl-farbfelder__liste,
    .bl-schritte__liste,
    .bl-schritte--bild .bl-schritte__inhalt {
        grid-template-columns: 1fr;
    }

    .bl-schritte__bild {
        position: static;
    }

    /* Karten mit Bild am Handy kompakt: Bild links, Text rechts */
    .bl-merkmalkarte {
        flex-direction: row;
    }

    .bl-merkmalkarte__bild {
        flex: 0 0 112px;
        aspect-ratio: auto;
    }

    .bl-merkmalkarte__nr {
        top: 8px;
        left: 8px;
        font-size: .6875rem;
        padding: 2px 8px;
    }

    .bl-merkmalkarte__text {
        padding: 14px 16px;
    }

    .bl-merkmalkarte__text > strong {
        font-size: 1.25rem;
    }

    .bl-pflege__liste {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .bl-pflegesymbol {
        width: 42px;
        height: 42px;
    }
}

/* --- Seitenkopf der Unterseiten ------------------------------------------ */

.bl-seitenkopf {
    position: relative;
    overflow: hidden;
    padding: 40px 0 36px;
    background: color-mix(in srgb, var(--d-brand, #222) 7%, #fff);
    color: #1b1d1c;
}

.bl-seitenkopf--bild {
    display: flex;
    align-items: flex-end;
    min-height: min(46vh, 420px);
    padding: 120px 0 44px;
    background: #222;
    color: #fff;
}

.bl-seitenkopf__bild,
.bl-seitenkopf__bild img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bl-seitenkopf__bild img {
    object-fit: cover;
}

.bl-seitenkopf--bild::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12, 18, 15, .82) 0%, rgba(12, 18, 15, .35) 55%, rgba(12, 18, 15, .15) 100%);
}

.bl-seitenkopf .bl-breite {
    position: relative;
    z-index: 1;
    width: 100%;
}

.bl-pfad {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .8125rem;
    margin-bottom: 12px;
    opacity: .85;
}

.bl-pfad a {
    color: inherit !important;
    text-decoration: none;
    box-shadow: none !important;
}

.bl-pfad a:hover {
    text-decoration: underline;
}

.bl-seitenkopf .bl-seitenkopf__titel {
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.08;
    margin: 0;
    color: inherit;
}

.bl-seitenkopf__lead {
    margin: 14px 0 0;
    max-width: 56ch;
    font-size: 1.125rem;
    line-height: 1.5;
    opacity: .92;
}

/* --- Lesetext --------------------------------------------------------------- */

.bl-breite--lesen {
    max-width: 800px;
}

.bl-lesetext {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #2a2f2c;
}

.bl-lesetext p,
.bl-lesetext ul,
.bl-lesetext ol {
    margin: 0 0 1.1em;
}

.bl-lesetext h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin: 1.6em 0 .5em;
}

.bl-lesetext h3 {
    font-size: 1.375rem;
    line-height: 1.3;
    margin: 1.4em 0 .4em;
}

.bl-lesetext > :first-child {
    margin-top: 0;
}

.bl-lesetext ul,
.bl-lesetext ol {
    padding-left: 1.3em;
}

.bl-lesetext li {
    margin-bottom: .35em;
}

.bl-lesetext a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bl-lesetext img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Automatische Unterseiten-Kacheln: drei je Reihe, bei 2 oder 4 Seiten zwei/vier */
.bl-kacheln__raster--drei {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .bl-seitenkopf--bild {
        min-height: 300px;
        padding: 90px 0 28px;
    }

    .bl-seitenkopf__lead,
    .bl-lesetext {
        font-size: 1.0625rem;
    }

    .bl-kacheln__raster--drei {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Hero --------------------------------------------------------------- */

.bl-hero {
    position: relative;
    display: grid;
    overflow: hidden;
}

.bl-hero__bild,
.bl-hero__bild img {
    display: block;
    width: 100%;
    height: 100%;
}

.bl-hero__bild img {
    object-fit: cover;
}

.bl-hero .bl-hero__titel {
    font-size: clamp(2.4rem, 5.6vw, 4.75rem);
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 14ch;
    color: inherit;
}

.bl-hero__titel em {
    font-style: italic;
    color: var(--bl-hero-akzent);
}

html[data-heading="archivo"] .bl-hero__titel em,
html:not([data-heading]) .bl-hero__titel em {
    font-style: normal;
}

.bl-hero__lead {
    font-size: 1.125rem;
    line-height: 1.55;
    max-width: 46ch;
    margin: 0 0 30px;
}

.bl-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

/* Text auf dem Bild */

.bl-hero--vollbild {
    --bl-hero-akzent: var(--d-footer-akzent, #fff);
    color: #fff;
    min-height: min(78vh, 720px);
}

.bl-hero--vollbild.bl-hero--mittel {
    min-height: min(56vh, 520px);
}

.bl-hero--vollbild .bl-hero__bild {
    position: absolute;
    inset: 0;
}

.bl-hero--vollbild::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 18, 15, var(--bl-dunkel)) 0%, rgba(12, 18, 15, calc(var(--bl-dunkel) * .45)) 55%, rgba(12, 18, 15, 0) 100%);
}

.bl-hero--dunkel-leicht { --bl-dunkel: .55; }
.bl-hero--dunkel-mittel { --bl-dunkel: .75; }
.bl-hero--dunkel-stark { --bl-dunkel: .9; }

.bl-hero--vollbild .bl-hero__inhalt {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 96px 32px 72px;
}

.bl-hero--vollbild .bl-dachzeile {
    color: var(--bl-hero-akzent);
}

.bl-hero--vollbild .bl-btn--haupt {
    background: #fff;
    color: #1b1d1c;
}

.bl-hero--vollbild .bl-btn--haupt:hover {
    background: var(--bl-hero-akzent);
    color: #1b1d1c;
}

.bl-hero--vollbild .bl-btn--neben {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}

.bl-hero--vollbild .bl-btn--neben:hover {
    background: #fff;
    color: #1b1d1c;
}

/* Text links, Bild rechts */

.bl-hero--geteilt {
    --bl-hero-akzent: var(--d-link, #222);
    grid-template-columns: 1fr 1.05fr;
    min-height: min(70vh, 640px);
    background: #fff;
    color: #1b1d1c;
    border-bottom: 1px solid #e6e4df;
}

.bl-hero--geteilt.bl-hero--mittel {
    min-height: min(50vh, 460px);
}

.bl-hero--geteilt .bl-hero__bild {
    order: 2;
    position: relative;
}

.bl-hero--geteilt .bl-hero__bild img {
    position: absolute;
    inset: 0;
}

.bl-hero--geteilt .bl-hero__inhalt {
    display: flex;
    align-items: center;
    padding: 64px 56px 64px max(32px, calc((100vw - 1240px) / 2 + 32px));
}

.bl-hero--geteilt .bl-dachzeile {
    color: var(--d-link, #555);
}

.bl-hero--geteilt .bl-btn--haupt {
    background: var(--d-brand, #222);
    color: var(--d-on-brand, #fff);
}

.bl-hero--geteilt .bl-btn--haupt:hover {
    background: var(--d-brand-hover, #000);
    color: var(--d-on-brand, #fff);
}

.bl-hero--geteilt .bl-btn--neben {
    border-color: currentColor;
    color: #1b1d1c;
}

.bl-hero--geteilt .bl-btn--neben:hover {
    background: #1b1d1c;
    color: #fff;
}

@media (max-width: 767px) {
    .bl-hero--vollbild,
    .bl-hero--vollbild.bl-hero--mittel {
        min-height: 72vh;
    }

    .bl-hero--vollbild.bl-hero--mittel {
        min-height: 52vh;
    }

    .bl-hero--vollbild::after {
        background: linear-gradient(0deg, rgba(12, 18, 15, calc(var(--bl-dunkel) + .1)) 8%, rgba(12, 18, 15, calc(var(--bl-dunkel) * .25)) 75%);
    }

    .bl-hero--vollbild .bl-hero__inhalt {
        padding: 72px 16px 40px;
    }

    .bl-hero--geteilt {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .bl-hero--geteilt .bl-hero__bild {
        order: 0;
        aspect-ratio: 4 / 3;
    }

    .bl-hero--geteilt .bl-hero__inhalt {
        padding: 28px 16px 36px;
    }

    .bl-hero__lead {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .bl-btn {
        padding: 13px 20px;
    }

    .bl-dachzeile {
        font-size: .6875rem;
        letter-spacing: .1em;
    }
}

/* --- Fehlerseite 404 (lut/templates/404.html) ---------------------------- */

.bl-fehlerseite {
    padding: 96px 0;
}

.bl-fehlerseite .bl-dachzeile {
    color: var(--d-link, #555);
}

.bl-fehlerseite .bl-titel {
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 22ch;
}

.bl-fehlerseite-text {
    max-width: 56ch;
    margin: 0 0 32px;
}

.bl-fehlerseite .bl-btn {
    background: var(--d-brand, #222);
    color: var(--d-on-brand, #fff);
}

.bl-fehlerseite .bl-btn--rand {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}

.bl-fehlerseite-suche {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 0 0 32px;
}

.bl-fehlerseite-suche input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1.5px solid #c9c6bf;
    border-radius: var(--d-btn-radius);
    font: inherit;
}

.bl-fehlerseite-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 600px) {
    .bl-fehlerseite {
        padding: 56px 0;
    }

    .bl-fehlerseite-links .bl-btn {
        width: 100%;
    }

    .bl-fehlerseite-links li {
        flex: 1 1 100%;
    }
}

/* --- Produktreihe (ProductListBlock) -------------------------------------
   Seitlich scrollende Reihe mit Einrasten, Karten aus product.html. */

.bl-produktreihe {
    padding: 24px 0 48px;
}

.bl-produktreihe .bl-breite {
    position: relative;
}

.bl-produktreihe__liste {
    --bl-pr-spalten: 4;
    --bl-pr-abstand: 24px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--bl-pr-spalten) - 1) * var(--bl-pr-abstand)) / var(--bl-pr-spalten));
    gap: var(--bl-pr-abstand);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bl-produktreihe__liste::-webkit-scrollbar {
    display: none;
}

.bl-produktreihe__eintrag {
    scroll-snap-align: start;
    min-width: 0;
}

.bl-produktreihe .shop-grid-item {
    margin-bottom: 0;
}

.bl-produktreihe__pfeile {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.bl-produktreihe__pfeile[hidden] {
    display: none;
}

.bl-produktreihe__pfeil {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid #c9c6bf;
    border-radius: 50%;
    background: #fff;
    color: #222;
    cursor: pointer;
}

.bl-produktreihe__pfeil:disabled {
    opacity: .35;
    cursor: default;
}

.bl-produktreihe__pfeil svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 900px) {
    .bl-produktreihe__liste {
        --bl-pr-spalten: 2.4;
        --bl-pr-abstand: 16px;
    }

    /* Am Handy wischen statt Pfeile */
    .bl-produktreihe__pfeile {
        display: none;
    }
}

@media (max-width: 480px) {
    .bl-produktreihe__liste {
        --bl-pr-spalten: 1.7;
    }
}
