/* Modul angebot (site-werkzeuge): Trust-Leiste, Empfehlungen, Faktenblatt.
   Nie auf der Site ändern. Setzt die Basis-Klassen der Vorlage voraus
   (.mst-card, .mst-compare, .mst-grid, .mst-chip) und die Farb-Tokens. */

/* Trust-Leiste mit Icons; überschreibt die alte Häkchen-Leiste der Vorlage */
.mst-trustbar--icons .mst-container {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    padding-top: var(--s-4); padding-bottom: var(--s-4);
}
.mst-trustbar--icons .mst-trustbar__item {
    display: flex; gap: 12px; align-items: center;
    padding: 4px var(--s-4); color: var(--c-ink); text-decoration: none;
    border-left: 1px solid var(--c-warm-dark); font-size: inherit;
}
.mst-trustbar--icons .mst-trustbar__item::before { content: none; display: none; }
.mst-trustbar--icons .mst-trustbar__item:first-child { border-left: 0; padding-left: 0; }
.mst-trustbar__icon {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; color: var(--c-primary);
    box-shadow: 0 0 0 1px var(--c-warm-dark);
}
.mst-trustbar__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mst-trustbar__text strong { font-size: 1rem; font-weight: 700; color: var(--c-ink); }
.mst-trustbar__text span { font-size: 0.85rem; color: var(--c-ink-soft); }
a.mst-trustbar__item:hover strong { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
a.mst-trustbar__item:hover .mst-trustbar__icon { background: var(--c-primary); color: #fff; box-shadow: none; }
@media (max-width: 899px) {
    .mst-trustbar--icons .mst-container { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
    .mst-trustbar--icons .mst-trustbar__item,
    .mst-trustbar--icons .mst-trustbar__item:first-child { border-left: 0; padding: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
    .mst-trustbar__icon { width: 36px; height: 36px; }
    .mst-trustbar__icon svg { width: 18px; height: 18px; }
    .mst-trustbar__text strong { font-size: 0.92rem; }
    .mst-trustbar__text span { font-size: 0.8rem; }
}

/* Empfehlungen je Kategorie. Nur die Karten des Moduls (.mst-card in .mst-grid): ältere Sites nennen ihre
   Entscheidungs-Kacheln ebenfalls .mst-pick/.mst-picks (18.11.2026, Funde marokko-sites). */
.mst-pick.mst-card:hover { transform: none; box-shadow: none; }
.mst-pick.mst-card .mst-card__img { aspect-ratio: 16/10; }
.mst-pick__cat { align-self: flex-start; }
.mst-pick.mst-card .mst-card__title { font-size: 1.05rem; line-height: 1.3; }
.mst-pick.mst-card .mst-card__usp { font-size: 0.9rem; flex: 1; }
.mst-pick__facts { list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: var(--c-ink-soft); display: grid; gap: 2px; }
.mst-pick__facts strong { color: var(--c-ink); }
.mst-pick.mst-card .mst-btn--block { margin-top: var(--s-2); }
/* Vier Empfehlungen erst ab 1280 px nebeneinander, sonst bricht der Buchungsknopf um (28.10.2026). */
@media (min-width: 900px) and (max-width: 1279px) { .mst-picks.mst-grid.mst-grid--4 { grid-template-columns: 1fr 1fr; } }

/* Faktenblatt */
@media (min-width: 700px) { .mst-facts__table { min-width: 720px; } }
.mst-facts__src { color: var(--c-ink-soft); font-size: 0.78rem; white-space: nowrap; }
@media (max-width: 699px) { .mst-facts__table td { text-align: right; } }

/* Link zur Verfügbarkeit auf Ratgeberseiten */
.mst-avail-link { margin-top: var(--s-4); margin-bottom: 0; font-weight: 600; }
/* Einheit hinter dem Preis (Haken mst_preis_einheit der Site, seit 28.10.2026) */
.mst-price-unit { font-size: .8rem; font-weight: 400; color: var(--c-ink-soft, #5b6b73); white-space: normal; }

/* ============================================================
   Neues Design (Modul gestaltung, Redesign November 2026): gilt nur auf Sites mit
   <body class="… mst-g">. Sites ohne Modul gestaltung bleiben unverändert.
   ============================================================ */
.mst-g .mst-trustbar { background: var(--c-night); border-bottom: 0; color: #fff; }
.mst-g .mst-trustbar .mst-container { padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.mst-g .mst-trustbar__item, .mst-g .mst-trustbar__item strong { color: #fff; text-decoration: none; }
.mst-g .mst-trustbar__text span { color: rgba(255,255,255,.65); }
.mst-g .mst-trustbar__icon { background: transparent; color: var(--c-hell); border: 1px solid rgba(255,255,255,.2); }
.mst-g .mst-trustbar__item + .mst-trustbar__item { border-left-color: rgba(255,255,255,.14); }
.mst-g .mst-picks.mst-grid { gap: 0; border-top: 2px solid var(--c-ink); }
.mst-g .mst-pick.mst-card { padding: 20px 20px 0; border-right: 1px solid var(--c-border); }
.mst-g .mst-pick.mst-card:first-child { padding-left: 0; }
.mst-g .mst-pick.mst-card:last-child { border-right: 0; padding-right: 0; }
.mst-g .mst-pick.mst-card .mst-card__img { aspect-ratio: 3 / 2; }
.mst-g .mst-pick.mst-card .mst-card__title { font-size: 1.12rem; }
.mst-g .mst-pick.mst-card .mst-card__usp { font-size: .95rem; }
.mst-g .mst-pick__facts { border-top: 0; padding: 0; background: none; }
@media (max-width: 899px) {
    .mst-g .mst-pick.mst-card, .mst-g .mst-pick.mst-card:first-child, .mst-g .mst-pick.mst-card:last-child {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--c-border);
    }
}
@media (min-width: 900px) {
    .mst-g .mst-picks.mst-grid { column-gap: 40px; row-gap: 0; }
    .mst-g .mst-pick.mst-card, .mst-g .mst-pick.mst-card:first-child, .mst-g .mst-pick.mst-card:last-child {
        display: grid;
        grid-row: span 7;
        grid-template-rows: subgrid;
        row-gap: 0;
        padding: 20px 0 0;
        border-right: 0;
        position: relative;
    }
    .mst-g .mst-pick.mst-card + .mst-pick.mst-card::before {
        content: "";
        position: absolute;
        left: -20px;
        top: 20px;
        bottom: 0;
        border-left: 1px solid var(--c-border);
    }
    .mst-g .mst-pick.mst-card .mst-card__body { display: contents; }
    .mst-g .mst-pick.mst-card > .mst-card__img { grid-row: 1; margin-bottom: 16px; }
    .mst-g .mst-pick.mst-card .mst-pick__cat { grid-row: 2; margin-bottom: 4px; align-self: end; }
    .mst-g .mst-pick.mst-card .mst-card__title { grid-row: 3; margin-bottom: 8px; }
    .mst-g .mst-pick.mst-card .mst-card__usp { grid-row: 4; }
    .mst-g .mst-pick.mst-card .mst-pick__facts { grid-row: 5; margin: 0 0 12px; }
    .mst-g .mst-pick.mst-card .mst-card__meta { grid-row: 6; margin: 0; padding: 10px 0; align-self: end; }
    .mst-g .mst-pick.mst-card .mst-btn--block { grid-row: 7; margin-top: 4px; }
}
.mst-g .mst-ratgeber__spalte .mst-avail-link { margin: 0; }
.mst-g .mst-facts__table .mst-compare__cell--tour a { color: var(--c-ink); text-decoration: none; }
.mst-g .mst-facts__table .mst-compare__cell--tour a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) {
    .mst-g .mst-facts__table .mst-compare__img { width: 64px; height: 48px; object-fit: cover; }
}
.mst-g .mst-facts__table td:nth-child(2) { min-width: 0; }
.mst-g .mst-facts__table td:nth-child(3) { min-width: 180px; }
/* Faktenblatt: Quelle („laut Anbieter“, „laut Bewertungen“) klein unter dem Wert */
.mst-g .mst-facts__table .mst-facts__src { display: block; margin-top: 2px; white-space: normal; }
.mst-g td .mst-facts__src { display: block; margin-top: 2px; white-space: normal; } /* Startseiten-Tabellen: Quelle klein unter dem Wert */
.mst-g .mst-tourmeta .mst-facts__src { display: inline; margin-left: 4px; font-size: inherit; white-space: normal; } /* Quelle („laut Anbieter, Stand …“) bleibt sichtbar */
