/* =============================================================
   Teaser-Styles (Reisefinder) – Avada-unabhaengig
   Angebot-Teaser + Termin-Teaser, inkl. eigener Rating- und
   Checklist-Komponenten. Ersetzt die frueheren fusion-/awb-Styles.
   ============================================================= */

/* ---------- Rating (Ersatz fuer [fusion_star_rating]) ---------- */
.bat-rating {
    --bat-rating-active: var(--awb-color4, #fb0);
    --bat-rating-inactive: var(--awb-color3, #ccc);
    display: flex;
    align-items: center;
    margin: 0;
}

.bat-rating--first {
    margin-top: 10px;
}

.bat-rating__icons {
    display: inline-flex;
    font-size: 20px;
    line-height: 1;
}

.bat-rating__icon {
    margin-right: 0.25em;
}

.bat-rating__icon:last-child {
    margin-right: 0;
}

.bat-rating__icon--filled {
    color: var(--bat-rating-active);
}

.bat-rating__icon--empty {
    color: var(--bat-rating-inactive);
}

/* ---------- Checklist (Ersatz fuer [fusion_checklist]) ---------- */
.bat-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bat-checklist__item {
    display: flex;
    align-items: center;
    padding: 0.2em 0;
}

.bat-checklist__icon {
    flex-shrink: 0;
    margin-right: 0.6em;
}

.bat-checklist__content {
    color: inherit;
}

/* ---------- Tooltip (Ersatz fuer [fusion_tooltip]) ---------- */
.bat-tooltip {
    position: relative;
    cursor: help;
}

.bat-tooltip[data-title]::after {
    content: attr(data-title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    z-index: 10;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: rgba(30, 30, 30, .92);
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.bat-tooltip[data-title]:hover::after,
.bat-tooltip[data-title].bat-tooltip--open::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Card-Basis (Angebot + Termin) ---------- */
.angebot-teaser--medium,
.termin-teaser {
    display: block;
    margin: 0;
    color: inherit;
    text-decoration: none;
    background-color: var(--awb-color2, #fff);
    border: 1px solid var(--awb-color3, #e5e5e5);
    border-radius: 12px;
    overflow: hidden;
}

/* Alte Customizer-Regel fuer das fruehere Kachelraster
   (.angebot-teaser__link { width: 100%; margin: 0 1.92% }) schob die Kacheln
   seitlich ueber den Rand. */
.angebot-teaser__link.angebot-teaser--medium {
    margin: 0;
}

/* Card Hover (Angebot + Termin): nur leichte Vergroesserung + staerkerer
   Rahmen. Bild-/Text-Hovereffekte sind bewusst entfernt; der Standard-
   Link-Hover (Avada) wird neutralisiert, damit die Schrift ihre Farbe behaelt. */
.angebot-teaser--medium,
.termin-teaser--medium {
    transition: transform .2s ease, border-color .2s ease;
}

.angebot-teaser--medium:hover,
.termin-teaser--medium:hover {
    transform: scale(1.02);
    border-width: 2px;
}

/* Standard-Link-Hover (Avada) neutralisieren: die Schrift soll ihre Farbe
   behalten. Hohe Spezifitaet (a + zwei Klassen) + !important, damit es Avadas
   a:hover-Regel schlaegt. */
a.angebot-teaser.angebot-teaser--medium:hover,
a.termin-teaser.termin-teaser--medium:hover {
    color: inherit !important;
}

/* ---------- Angebot- + Termin-Teaser (gleiche Card-Struktur) ---------- */
/* Default (Liste): Bild links, Inhalt rechts */
.angebot-teaser--medium,
.termin-teaser--medium {
    display: flex;
    align-items: stretch;
}

/* Termin-Card als Grid: Bild | Textspalte (Datum + Body) | Preis.
   Das Datum (__head) liegt im Markup als eigenes Card-Kind und wird hier
   per Grid in die mittlere Spalte unter-/ueber den Body gelegt. */
.termin-teaser--medium {
    display: grid;
    /* Preis-/Button-Spalte fest (wie beim Angebot, flex: 0 0 170px), damit sie
       ueber alle Termin-Cards hinweg gleich breit ist – sonst richtet 'auto'
       die Breite nach dem laengsten Preis-String und wirkt uneinheitlich. */
    grid-template-columns: 360px 1fr 170px;
    grid-template-areas:
        "media head  aside"
        "media body  aside";
    grid-template-rows: auto 1fr;
    align-items: stretch;
}

.termin-teaser--medium .angebot-teaser__media {
    grid-area: media;
}

.termin-teaser--medium .termin-teaser__head {
    grid-area: head;
    padding: 22px 22px 0;
}

.termin-teaser--medium .angebot-teaser__body {
    grid-area: body;
    padding-top: 8px;
}

.termin-teaser--medium .angebot-teaser__aside {
    grid-area: aside;
}

/* Bild-Wrapper (Bild + Kategorie-Badge); leichtes Overlay beim Hover */
.angebot-teaser__media {
    position: relative;
    flex: 0 0 360px;
    width: 360px;
    align-self: stretch;
    overflow: hidden;
}

.angebot-teaser__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color .3s ease;
}


.teaser-vorschaubild {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: 3 / 2;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Kategorie-Badge: rund, oben links im Bild. Tooltip nach unten (sonst vom
   Card-overflow:hidden abgeschnitten). */
.angebot-teaser__kategorie.bat-tooltip[data-title]::after {
    bottom: auto;
    top: calc(100% + 8px);
    left: 0;
    transform: translateY(-4px);
}

.angebot-teaser__kategorie.bat-tooltip[data-title]:hover::after,
.angebot-teaser__kategorie.bat-tooltip[data-title].bat-tooltip--open::after {
    transform: translateY(0);
}

.angebot-teaser__kategorie {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--awb-color4);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.angebot-teaser__body {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 22px;
}

/* Flags oben rechts im Textbereich: Reisetyp + (ueberlappend) E-Bike */
.angebot-teaser__flags {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.angebot-teaser__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 16px;
    color: #fff;
    background-color: var(--awb-color4);
    border: 2px solid var(--awb-color2, #fff);
    border-radius: 50%;
}

.angebot-teaser__flag--emtb {
    background-color: #ff8800;
}

/* Deaktivierter Flag (E-Bike nicht moeglich / Flug nicht inbegriffen): ausgegraut. */
.angebot-teaser__flag--disabled {
    background-color: var(--awb-color7);
}

/* Tooltip nach unten UND rechtsbuendig verankert: die Flags sitzen oben rechts,
   ein zentrierter Tooltip wuerde rechts ueber die Kachel ragen und vom
   Card-overflow:hidden abgeschnitten. Rechtsbuendig geht er nach innen auf. */
.angebot-teaser__flag.bat-tooltip[data-title]::after {
    bottom: auto;
    top: calc(100% + 8px);
    left: auto;
    right: 0;
    transform: translateY(-4px);
}

.angebot-teaser__flag.bat-tooltip[data-title]:hover::after,
.angebot-teaser__flag.bat-tooltip[data-title].bat-tooltip--open::after {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .angebot-teaser--medium {
        flex-direction: column;
    }

    .angebot-teaser--medium .angebot-teaser__media {
        flex-basis: auto;
        width: 100%;
    }

    .angebot-teaser--medium .angebot-teaser__aside {
        flex-basis: auto;
        flex-direction: row;
        justify-content: space-between;
    }

    /* ---------- Termin-Teaser: gestapelte Listenzeilen auf dem Handy ----------
       Zeile 1: Thumbnail + Datum (nebeneinander)
       Zeile 2: Titel/Meta (volle Breite)
       Zeile 3: Preis */
    .termin-teaser--medium {
        grid-template-columns: 96px 1fr;
        grid-template-areas:
            "media head"
            "body  body"
            "aside aside";
        grid-template-rows: auto auto auto;
        align-items: center;
        padding: 14px;
        gap: 4px 14px;
    }

    /* Festes 3:2-Thumbnail – feste Hoehe statt mitwachsend, sonst wird das
       Bild in die Laenge gezogen. */
    .termin-teaser--medium .angebot-teaser__media {
        width: 96px;
        height: 64px;
        align-self: center;
        border-radius: 8px;
    }

    .termin-teaser--medium .teaser-vorschaubild {
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
        border-radius: inherit;
    }

    /* Kategorie-Badge im kleinen Bild verkleinern */
    .termin-teaser--medium .angebot-teaser__kategorie {
        top: 5px;
        left: 5px;
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    /* Zeile 1 rechts: Datum (Padding zuruecksetzen, das vom Desktop kommt;
       kleinere Schrift) */
    .termin-teaser--medium .termin-teaser__head {
        padding: 0;
        gap: 8px;
    }

    /* Datum allein auf der ersten Zeile, Dauer + Reiseform/Icons darunter
       (sonst bricht die Dauer mit dem "|"-Trenner am Zeilenanfang um). */
    .termin-teaser--medium .termin-teaser__date {
        flex-basis: 100%;
        font-size: 13px;
    }

    .termin-teaser--medium .termin-teaser__dauer {
        font-size: 13px;
    }

    .termin-teaser--medium .termin-teaser__dauer::before {
        display: none;
    }

    .termin-teaser--medium .termin-teaser__reiseform {
        padding: 2px 8px;
        font-size: 11px;
    }

    .termin-teaser--medium .termin-teaser__head-right {
        gap: 6px;
    }

    .termin-teaser--medium .termin-teaser__head-right .angebot-teaser__flag {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    /* Zeile 2: Titel + Meta ueber die volle Breite */
    .termin-teaser--medium .angebot-teaser__body {
        padding: 6px 0 0;
    }

    .termin-teaser--medium .angebot-teaser__body .angebot-teaser__title {
        padding: 2px 0 10px;
        font-size: 16px;
        line-height: 1.35;
    }

    .termin-teaser--medium .angebot-teaser__meta {
        gap: 6px 14px;
        padding-bottom: 0;
        font-size: 12.5px;
    }

    .termin-teaser--medium .angebot-teaser__subtitle {
        font-size: 13px;
    }

    /* Zeile 3: Flug-Icon + Preis links, "Details" rechts (wie die
       Angebotskachel), ohne farbigen Block. */
    .termin-teaser--medium .angebot-teaser__aside {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 6px;
        padding: 12px 0 0;
        background-color: transparent;
        border-top: 1px solid var(--awb-color3, #e5e5e5);
    }

    .termin-teaser--medium .angebot-teaser__price {
        font-size: 15px;
        text-align: left;
    }

    .termin-teaser--medium .termin-teaser__flug {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .termin-teaser--medium .angebot-teaser__details {
        margin-left: auto;
        padding: 7px 16px;
        font-size: 14px;
    }
}

/* ---------- Termin-Teaser Tablet: Bild links, Text rechts, Preiszeile unten ----------
   Das dreispaltige Desktop-Layout (Bild | Text | Preis) ist hier zu eng: der
   Text bricht mehrfach um und die Preisspalte ragt ueber den Rand. */
@media (min-width: 641px) and (max-width: 1024px) {
    .termin-teaser--medium {
        grid-template-columns: 240px 1fr;
        grid-template-areas:
            "media head"
            "media body"
            "aside aside";
        grid-template-rows: auto 1fr auto;
    }

    .termin-teaser--medium .angebot-teaser__media {
        width: auto;
    }

    .termin-teaser--medium .termin-teaser__head {
        padding: 18px 20px 0;
    }

    .termin-teaser--medium .angebot-teaser__body {
        padding: 6px 20px 18px;
    }

    .termin-teaser--medium .angebot-teaser__body .angebot-teaser__title {
        padding: 6px 0 12px;
        font-size: 21px;
    }

    .termin-teaser--medium .angebot-teaser__meta {
        gap: 10px 20px;
        font-size: 15px;
    }

    .termin-teaser--medium .termin-teaser__reiseleitung {
        margin-top: 12px;
        font-size: 15px;
    }

    .termin-teaser--medium .angebot-teaser__aside {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 20px;
    }

    .termin-teaser--medium .angebot-teaser__price {
        text-align: left;
    }

    .termin-teaser--medium .angebot-teaser__details {
        margin-left: auto;
    }
}

/* Meta-Texte (reiseart + dauer/level-zeile) */
.angebot-teaser__reiseart,
.angebot-teaser__meta {
    font-size: 16px;
    line-height: 1.4;
}

.angebot-teaser__reiseart {
    margin: 0;
    padding-bottom: 10px;
    opacity: .8;
}

/* Teaser-Titel: bewusst KEIN <h3>, sondern ein eigenes Element mit
   role="heading". So greift Avadas .fusion-responsive-typography-calculated
   (fluide h3-Schrift per !important bei <=1020px) nicht und wir behalten die
   volle Kontrolle ueber die Titelgroesse. */
.angebot-teaser .angebot-teaser__body .angebot-teaser__title,
.termin-teaser .angebot-teaser__body .angebot-teaser__title,
.angebot-overview .angebot-teaser__body .angebot-teaser__title {
    margin: 0;
    padding: 14px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    transition: color .3s ease;
}

/* Platz fuer die Flags oben rechts: nur die Reiseart-Zeile (sitzt auf
   Flag-Hoehe) haelt den Freiraum; der Titel darunter nutzt die volle Breite. */
.angebot-teaser__body:has(.angebot-teaser__flags) .angebot-teaser__reiseart {
    padding-right: 92px;
}

/* Fehlt die Reiseart, steht der Titel zuoberst und braucht den Freiraum. */
.angebot-teaser__body:has(.angebot-teaser__flags) .angebot-teaser__flags + .angebot-teaser__title {
    padding-right: 92px;
}


/* Meta-Zeile: direkt unter dem Titel, mehr Luft zur Beschreibung */
.angebot-teaser__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    margin: 0;
    padding-bottom: 26px;
}

.angebot-teaser__meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

/* Erzwingt einen Zeilenumbruch: Kondition/Fahrtechnik in eine neue Zeile */
.angebot-teaser__meta-break {
    flex-basis: 100%;
    height: 0;
    margin: 0;
}


.angebot-teaser__meta-icon {
    color: var(--awb-color4);
}

/* Level als wiederholte Icons (Herz / Zahnrad) mit Halbstufen */
.angebot-teaser__rating {
    display: inline-flex;
    gap: 4px;
    font-size: 14px;
}

/* Ein einzelnes Icon pro Stufe. Die Fuellung wird ueber einen
   background-clip:text-Verlauf gesteuert (voll / halb / leer) – damit
   gibt es keinen Overlay-Versatz und keine durchscheinende Kante. */
.angebot-teaser__rating-icon {
    display: inline-block;
    background-image: linear-gradient(to right, var(--awb-color4) 50%, var(--awb-color3, #ddd) 50%);
    background-repeat: no-repeat;
    background-size: 200% 100%;
    background-position: 100% 0; /* default: voll grau (leer) */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.angebot-teaser__rating-icon--full {
    background-position: 0 0; /* ganze Glyphe in Fuellfarbe */
}

.angebot-teaser__rating-icon--half {
    background-position: 50% 0; /* linke Haelfte gefuellt, rechte grau */
}

/* Beschreibung unterhalb der Meta-Zeile (etwas groesser als Meta) */
.angebot-teaser__subtitle {
    font-size: 18px;
    line-height: 1.4;
    color: var(--body_typography-color, inherit);
    opacity: .8;
}

.angebot-teaser__subtitle > *:last-child {
    margin-bottom: 20px;
}

/* ---------- Preis-Spalte (rechts) ---------- */
.angebot-teaser__aside {
    flex: 0 0 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px;
    background-color: var(--awb-color3, #f2f2f2);
}

.angebot-teaser__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--awb-headingfont-color, #555);
    text-align: center;
}

/* Flug-Flag zentriert ueber dem Preis (Termin-Teaser), ohne Rahmen. */
.termin-teaser__flug {
    width: 30px;
    height: 30px;
    font-size: 13px;
    flex-shrink: 0;
    border: none;
}

.angebot-teaser__details {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 6px;
    background-color: var(--awb-color4);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: opacity .2s ease;
}

/* ---------- Termin-Teaser ---------- */
/* Kopfzeile: Datum + Garantiert-Badge */
.termin-teaser__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 4px;
}

/* Rechte Head-Gruppe: Reiseform + Icon-Badges auf einer Hoehe, rechtsbuendig */
.termin-teaser__head-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* Flags im Head sind Teil des Flusses (nicht absolut wie im Angebot-Body) */
.termin-teaser__head-right .angebot-teaser__flags {
    position: static;
    top: auto;
    right: auto;
}

/* Badges im Head etwas kompakter, damit sie neben dem Text nicht dominieren */
.termin-teaser__head-right .angebot-teaser__flag {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* Datum schlicht, dünn (Wochentag in normaler Schreibweise: „Fr, 28.08.26"). */
.termin-teaser__date {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    color: var(--awb-headingfont-color, inherit);
}

/* Reisedauer rechts neben dem Datum – gleiche Groesse wie das Datum, mit „|"-Trenner. */
.termin-teaser__dauer {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    color: var(--awb-headingfont-color, inherit);
}
.termin-teaser__dauer::before {
    content: "|";
    margin-right: 8px;
    opacity: .5;
}

/* Reiseform (Gruppen-/Individualreise) – dezent neben dem Datum */
.termin-teaser__reiseform {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    background-color: var(--awb-color3, #f2f2f2);
    color: var(--body_typography-color, inherit);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

/* Status als dezenter Punkt (Ampel-Farbe trägt die Bedeutung) */
.termin-teaser__status-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* "Garantiert durchgeführt" als Meta-Eintrag (grünes Haken-Icon) */
.termin-teaser__meta-guaranteed .angebot-teaser__meta-icon {
    color: #2e9e5b;
}

/* ---------- Kachelansicht: vertikal (Bild oben) ---------- */
.finder-results__list--grid .angebot-teaser--medium {
    flex-direction: column;
}

/* Termin-Card ist ein Grid – in der Kachel einspaltig stapeln:
   Bild → Datum → Titel/Meta → Preis. */
.finder-results__list--grid .termin-teaser--medium {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
        "media"
        "head"
        "body"
        "aside";
    align-items: stretch;
}

.finder-results__list--grid .termin-teaser--medium .termin-teaser__head {
    padding: 16px 16px 0;
}

.finder-results__list--grid .termin-teaser--medium .angebot-teaser__body {
    padding-top: 8px;
}

/* Bild oben: volle Breite, festes 3:2-Verhaeltnis, obere Ecken gerundet
   (eigener Radius am Wrapper, damit WebKit zuverlaessig clippt). */
.finder-results__list--grid .angebot-teaser__media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.finder-results__list--grid .angebot-teaser__media .teaser-vorschaubild {
    border-radius: inherit;
}

.finder-results__list--grid .teaser-vorschaubild {
    flex-basis: auto;
    width: 100%;
    height: 100%;
}

.finder-results__list--grid .angebot-teaser__aside {
    flex-basis: auto;
    flex-direction: row;
    justify-content: space-between;
}

/* Kachel-Karte: rundum abgerundet. Damit der untere Abschluss (die
   Aside-/Preis-Spalte) sauber clippt, runden wir deren untere Ecken
   explizit mit – sonst ueberlappt der eckige Hintergrund den Radius. */
.finder-results__list--grid .angebot-teaser--medium,
.finder-results__list--grid .termin-teaser--medium {
    border-radius: 12px;
}

.finder-results__list--grid .angebot-teaser__aside {
    border-radius: 0 0 12px 12px;
}

/* ---------- Termin-Accordion ([reise_angebote]) an Termin-Teaser angeglichen ----------
   Scoped auf .angebot-template-default (Body-Klasse der Angebots-Seite), damit
   diese Regeln Avadas Custom CSS (DB) zuverlaessig schlagen. Die inhaltlichen
   Bausteine nutzen dieselben Klassen wie der Termin-Teaser und erben so dessen
   Optik (Icons/Farben/Reiseform-Pill/Status-Punkt/Garantie-Haken). */

/* Card-Optik wie der Teaser: flacher Hintergrund + Kontur (statt Avada-Verlauf).
   Kein overflow:hidden, sonst wird der Flug-Tooltip (geht nach unten auf) beim
   zugeklappten Accordion am unteren Rand abgeschnitten. */
.angebot-template-default .accordion {
    background: var(--awb-color2, #fff);
    border: 1px solid var(--awb-color3, #e5e5e5);
    border-radius: 12px;
}

/* Titel-Grid: Datum kompakt, Verfuegbarkeit bekommt den freien Platz, Chevron
   nur so breit wie noetig (sonst bricht die Verfuegbarkeit auf 2 Zeilen um). */
.angebot-template-default .accordion-title {
    grid-template-columns: auto auto minmax(300px, 1fr) auto;
    align-items: center;
}
/* Accordion-Toggle (Chevron) visuell nach links (DOM-Reihenfolge bleibt), mit
   eigenem Rechtsabstand (die DB-Regel margin-right:20px nimmt den Chevron aus). */
.angebot-template-default .accordion-title > div:last-of-type {
    order: -1;
    margin-right: 20px;
}
.angebot-template-default .accordion-title > div:first-of-type,
.angebot-template-default .accordion-col:first-of-type {
    min-width: 450px;
}

/* Erste Content-Spalte: linkes Padding (fehlte). */
.angebot-template-default .accordion-row > .accordion-col{
    padding-top: 0;
    padding-bottom: 0;
}

.angebot-template-default .accordion-row > .accordion-col:first-child {
    padding-left: 0;
    padding-right: 20px;
}

.angebot-template-default .accordion-row > .accordion-col:last-child {
    padding-right: 0;
}

/* Datum wie .termin-teaser__date: 16px, Versalien, dünn (nicht fett). */
.angebot-template-default .accordion-title .termin-von {
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--awb-headingfont-color, inherit);
}
.angebot-template-default .accordion-title .termin-von b {
    font-weight: 400;
}

/* Verfuegbarkeit: Status-Punkt (Plätze) + Garantie nebeneinander, Teaser-Schrift. */
.angebot-template-default .accordion-title .termin-verfuegbarkeit {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Alte Icon-Verschiebung (fuer den frueheren Status-<i>) zuruecksetzen, damit
   der Garantie-Haken sauber neben dem Text sitzt. */
.angebot-template-default .termin-verfuegbarkeit i {
    margin-top: 0;
}

/* Preis wie .angebot-teaser__price: 18px, fett. Flug-Flag rechts daneben. */
.angebot-template-default .accordion-title .termin-preis {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    color: var(--awb-headingfont-color, #555);
}

/* Accordion-Toggle: kein Hintergrund (statt Avada-Gradient), Icon in awb-color8. */
.angebot-template-default .accordion-title button,
.angebot-template-default .accordion-title button:hover {
    background: none;
    border: none;
    box-shadow: none;
}
.angebot-template-default .accordion-title button i {
    color: var(--awb-color8);
}

/* Content-Meta (Tage/Bike/E-Bike) etwas kompakter als im Teaser. */
.angebot-template-default .termin-accordion__meta {
    padding-bottom: 12px;
}

/* Reiseform + Reisecode als Pills nebeneinander (gleiche Optik), rechtsbuendig. */
.angebot-template-default .termin-accordion__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

/* Letzte Content-Spalte: Inhalte rechtsbuendig. */
.angebot-template-default .accordion-row > .accordion-col:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* Buchen-/Reservieren-Buttons gestapelt und gleich breit (Breite des breiteren). */
.angebot-template-default .termin-accordion__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: fit-content;
}
.angebot-template-default .termine-button,
.angebot-template-default .termine-reservieren {
    text-align: center;
}

/* Reiseberater-Name wie der Text eines .angebot-teaser__meta-item (16px, normal). */
.angebot-template-default .reiseleitung-col p,
.angebot-template-default .reiseberater-name,
.angebot-template-default .reiseberater-name-termin {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: inherit;
}

/* Buchen-Button (Primaer): Standard-Button-Verlauf. */
.angebot-template-default .termine-button {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 6px;
    background-image: linear-gradient(var(--button_gradient_angle, 180deg), var(--button_gradient_top_color) var(--button_gradient_start, 0%), var(--button_gradient_bottom_color) var(--button_gradient_end, 100%));
    color: var(--awb-color1);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}
.angebot-template-default .termine-button:hover {
    opacity: .9;
}

/* Reservieren-Link (Sekundaer): eigener Verlauf (awb-color6) + Schrift awb-custom_color_1. */
.angebot-template-default .termine-reservieren {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 6px;
    background-image: linear-gradient(150deg, hsla(var(--awb-color6-h),var(--awb-color6-s),calc(var(--awb-color6-l) + 10%),var(--awb-color6-a)) 0%,var(--awb-color6) 100%);
    color: var(--awb-custom_color_1);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.angebot-template-default .termine-reservieren:hover {
    opacity: .9;
}

/* Flug-Flag im Preis: 32px-Kreis, kleineres Icon. */
.angebot-template-default .termin-flug-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* ---------- Feedback Kundin 09/2026 ---------- */

/* Deaktivierter Flag (kein E-Bike / Flug nicht inbegriffen): heller und
   dezent durchgestrichen. ::before, da ::after vom Tooltip belegt ist. */
.angebot-teaser__flag--disabled {
    background-color: #c4c4c4;
}

.angebot-teaser__flag--disabled::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 2px;
    border-radius: 1px;
    background-color: rgba(255, 255, 255, .9);
    transform: translate(-50%, -50%) rotate(-45deg);
    pointer-events: none;
}

/* Partner-Angebot (Handshake), im Look der anderen Flags. */
.angebot-teaser__flag--partner {
    background-color: #a0562c;
}

/* Mit Partner-Flag sind es drei Flags -> mehr Freiraum rechts. */
.angebot-teaser__body:has(.angebot-teaser__flag--partner) .angebot-teaser__reiseart,
.angebot-teaser__body:has(.angebot-teaser__flag--partner) .angebot-teaser__flags + .angebot-teaser__title {
    padding-right: 135px;
}

/* Merkmal-Badges (Spezial / Ohne Flug / Neu) oben links im Bild,
   untereinander und randabfallend wie im Katalog: links buendig am
   Bildrand und eckig, rechts rund. */
.angebot-teaser__badges {
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.angebot-teaser__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    border-radius: 0 999px 999px 0;
    background-color: var(--awb-color4);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
}

/* Farben gemaess Vorgabe Kundin (Katalog = Website). */
.angebot-teaser__badge--spezial {
    background-color: #a44a5d;
}

.angebot-teaser__badge--ohneflug {
    background-color: #407f8c;
}

.angebot-teaser__badge--neu {
    background-color: #c38f60;
}

/* Tooltips in der Meta-Zeile linksbuendig verankern, damit sie am linken
   Kachelrand nicht abgeschnitten werden (z.B. "Kondition: 2.5 von 4"). */
.angebot-teaser__meta-item.bat-tooltip[data-title]::after {
    left: 0;
    transform: translateY(4px);
}

.angebot-teaser__meta-item.bat-tooltip[data-title]:hover::after,
.angebot-teaser__meta-item.bat-tooltip[data-title].bat-tooltip--open::after {
    transform: translateY(0);
}

/* Reiseleitung in der Termin-Kachel: gleiche Schrift wie die Meta-Zeile. */
.termin-teaser .termin-teaser__reiseleitung {
    font-size: 16px;
    opacity: 1;
}

@media (max-width: 640px) {
    .termin-teaser--medium .termin-teaser__reiseleitung {
        margin-top: 8px;
        font-size: 12.5px;
    }
}

/* ---------- Detailseite: Uebersichtsbox [angebot_overview] ---------- */
/* Textteil der Angebotskachel als eigenstaendige Box (ohne Bild/Preis). */
.angebot-overview {
    background-color: var(--awb-color2, #fff);
    border: 1px solid var(--awb-color3, #e5e5e5);
    border-radius: 12px;
    overflow: hidden;
}

/* Reiseart in Grossbuchstaben wie im Reisefinder (dort via
   .finder-results-wrapper, customizer.css) – auch fuer Aehnliche Reisen. */
.angebot-overview .angebot-teaser__reiseart,
.angebot-aehnliche-reisen .angebot-teaser__reiseart {
    margin-bottom: 0;
    font-size: 14px;
    text-transform: uppercase;
}

.angebot-overview .angebot-teaser__subtitle > *:last-child {
    margin-bottom: 0;
}

/* ---------- Detailseite: Aehnliche Reisen [angebot_aehnliche_reisen] ---------- */
/* Grid analog Reisefinder-Kachelansicht (reisefinder.css laedt nur dort). */
.angebot-aehnliche-reisen__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Tablet/Handy: wischbare Reihe statt Raster (3 Kacheln untereinander waeren
   auf dem Handy ~1900px lang). Die naechste Kachel ist angeschnitten sichtbar. */
@media (max-width: 1024px) {
    .angebot-aehnliche-reisen__list {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Platz fuer den Kachelrahmen, damit er nicht abgeschnitten wird */
        padding: 2px;
    }

    .angebot-aehnliche-reisen__list::-webkit-scrollbar {
        display: none;
    }

    .angebot-aehnliche-reisen__list > .angebot-teaser--medium {
        flex: 0 0 calc(45% - 10px);
        scroll-snap-align: start;
    }

    /* Kein Hover-Zoom in der Scroll-Reihe (wuerde abgeschnitten). */
    .angebot-aehnliche-reisen__list > .angebot-teaser--medium:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    .angebot-aehnliche-reisen__list {
        gap: 14px;
    }

    .angebot-aehnliche-reisen__list > .angebot-teaser--medium {
        flex-basis: 85%;
    }
}

/* ---------- Detailseite: aufgeklappter Termin, Bike-Typ als runde Icons ---------- */
.termin-accordion__flags {
    gap: 5px;
}

.termin-accordion__flag {
    width: 30px;
    height: 30px;
    font-size: 13px;
    border: none;
}

/* Untertitel direkt unter dem Titel (Angebotskachel, Feedback 7.10.26). */
.angebot-teaser__body .angebot-teaser__title + .angebot-teaser__subtitle {
    margin: -8px 0 22px;
    font-size: 16px;
}

.angebot-teaser__body .angebot-teaser__title + .angebot-teaser__subtitle > *:last-child {
    margin-bottom: 0;
}

/* Meta-Zeile ist jetzt das letzte Element der Kachel. */
.angebot-teaser__body > .angebot-teaser__meta:last-child {
    padding-bottom: 0;
}

/* Uebersichtsbox ohne Titel: etwas Luft zwischen Reiseart und Meta. */
.angebot-overview .angebot-teaser__reiseart + .angebot-teaser__meta {
    margin-top: 14px;
}

/* Detailseite: ideale Reisezeiten einer Individualreise unter der Beschreibung,
   mit Abstand zum Freitext und gleicher Schrift wie Beschreibung/Meta. */
.termin-accordion__reisezeiten {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.5;
}

.termin-accordion__reisezeiten i {
    margin-top: 3px;
}

/* Detailseite: Termin-Beschreibung gleich gross wie Meta-Zeile und Reisezeit.
   Abstand darunter an der Beschreibung selbst (nicht am letzten Absatz), damit
   er auch bei Text ohne <p> vorhanden ist. */
.angebot-template-default .accordion-col .angebot-teaser__subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.angebot-template-default .accordion-col .angebot-teaser__subtitle > *:last-child {
    margin-bottom: 0;
}

/* Mittlere Spalte im Inhalt (Reiseleitung) genau unter der Verfuegbarkeit in der
   Kopfzeile ausrichten: Die Kopfzeile hat links zusaetzlich den Pfeil (+ Abstand),
   daher ist die erste Inhaltsspalte um diese Breite (46px) breiter. */
@media (min-width: 1025px) {
    .angebot-template-default .accordion-row > .accordion-col:first-child {
        min-width: 496px;
        max-width: 496px;
    }

    /* Text der Reiseleitung buendig mit dem Text der Verfuegbarkeit (dort steht
       zuerst der Statuspunkt): 10px zusaetzlich einruecken. */
    .angebot-template-default .accordion-row > .reiseleitung-col {
        padding-left: 20px;
    }
}

/* Kategorie-Icons Singletrail/Gravel (Katalog-Icons der Kundin, inline SVG).
   Im runden Flag fuellt die Zeichnung den ganzen Kreis aus (wie im Katalog). */
.bat-reiseart-icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    vertical-align: middle;
}

.angebot-teaser__flag .bat-reiseart-icon {
    width: 100%;
    height: 100%;
}

/* Reiseleitung im Termin-Detail: Die DB-/Customizer-Regel setzt fix 2 Spalten
   (fuer 2 Reiseleiter nebeneinander). Bei nur einem Reiseleiter blieb die zweite
   Spalte leer und der Text wurde auf halbe Breite gequetscht. Neu: so viele
   Spalten wie Reiseleiter (1 = volle Breite, 2 = nebeneinander). */
.angebot-template-default .accordion-row > .reiseleitung-col {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
}

/* =============================================================
   Responsive-Feinschliff (Feedback 15.10.26)
   ============================================================= */

/* Tablet/Handy: Flags der Angebotskachel kompakter (wie in der Terminkachel),
   Freiraum fuer die Flags entsprechend kleiner. */
@media (max-width: 1024px) {
    .angebot-teaser--medium .angebot-teaser__flag,
    .angebot-overview .angebot-teaser__flag {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .angebot-teaser__body:has(.angebot-teaser__flags) .angebot-teaser__reiseart,
    .angebot-teaser__body:has(.angebot-teaser__flags) .angebot-teaser__flags + .angebot-teaser__title {
        padding-right: 80px;
    }

    .angebot-teaser__body:has(.angebot-teaser__flag--partner) .angebot-teaser__reiseart,
    .angebot-teaser__body:has(.angebot-teaser__flag--partner) .angebot-teaser__flags + .angebot-teaser__title {
        padding-right: 118px;
    }

    /* Terminkachel: Reiseform + Icons linksbuendig auf eigener Zeile. */
    .termin-teaser--medium .termin-teaser__head-right {
        flex-basis: 100%;
        margin-left: 0;
    }
}

/* Handy: einheitliche Schriftgroessen fuer alle Kacheln (Angebot, Termin,
   Uebersichtsbox, Aehnliche Reisen). Vorher wichen v.a. die Termin-Meta-
   angaben (12.5px) und die Titel (16px vs. 24px) stark voneinander ab.
     Reiseart 12px · Datum/Dauer 14px · Titel 19px · Untertitel 14px ·
     Metaangaben 14px · Preis 16px */
@media (max-width: 640px) {
    .angebot-teaser--medium .angebot-teaser__reiseart,
    .angebot-overview .angebot-teaser__reiseart,
    .angebot-aehnliche-reisen .angebot-teaser__reiseart {
        font-size: 12px;
    }

    .angebot-teaser .angebot-teaser__body .angebot-teaser__title,
    .termin-teaser .angebot-teaser__body .angebot-teaser__title {
        font-size: 19px;
        line-height: 1.3;
    }

    .angebot-teaser__body .angebot-teaser__title + .angebot-teaser__subtitle,
    .angebot-teaser--medium .angebot-teaser__subtitle,
    .termin-teaser--medium .angebot-teaser__subtitle {
        font-size: 14px;
    }

    .angebot-teaser--medium .angebot-teaser__meta,
    .termin-teaser--medium .angebot-teaser__meta,
    .angebot-overview .angebot-teaser__meta,
    .termin-teaser .termin-teaser__reiseleitung,
    .termin-teaser--medium .termin-teaser__reiseleitung {
        font-size: 14px;
    }

    .angebot-teaser--medium .angebot-teaser__meta,
    .termin-teaser--medium .angebot-teaser__meta,
    .angebot-overview .angebot-teaser__meta {
        gap: 10px 18px;
    }

    .angebot-teaser--medium .angebot-teaser__rating,
    .termin-teaser--medium .angebot-teaser__rating,
    .angebot-overview .angebot-teaser__rating {
        font-size: 13px;
    }

    .termin-teaser--medium .termin-teaser__date,
    .termin-teaser--medium .termin-teaser__dauer {
        font-size: 14px;
        letter-spacing: .02em;
    }

    .angebot-teaser--medium .angebot-teaser__price,
    .termin-teaser--medium .angebot-teaser__price {
        font-size: 16px;
    }

    .angebot-teaser--medium .angebot-teaser__details,
    .termin-teaser--medium .angebot-teaser__details {
        padding: 8px 18px;
        font-size: 14px;
    }

    /* Terminkachel: Bike-Miete auf eigener Zeile, damit Kondition und
       Fahrtechnik zusammen darunter stehen (sonst rutscht Fahrtechnik allein
       auf eine neue Zeile). */
    .termin-teaser--medium .angebot-teaser__meta-item[data-title="Bike-Miete"] {
        flex-basis: 100%;
    }

    /* Terminkachel-Kopf: Datum / Dauer / Reiseform + Icons je eine Zeile;
       das Bild waechst in der Hoehe mit (statt fix 64px). */
    .termin-teaser--medium {
        align-items: stretch;
    }

    .termin-teaser--medium .angebot-teaser__media {
        height: auto;
        min-height: 64px;
        align-self: stretch;
    }

    .termin-teaser--medium .termin-teaser__head {
        gap: 6px 10px;
        align-self: center;
    }
}
