/* Paket 896 (Laiss 14.11.2026, Fassung 2 von 895 – 895 wurde zurückgenommen, weil die Daumen je Reihe nicht auf einer Höhe standen): Galerie-Karte ruhiger, auf allen Seiten mit Galerieansicht (.dealoo-gallery-card).
   Bild etwas kleiner, Titel höchstens 2 Zeilen, Bewertung bleibt eigene Zeile direkt unter dem Titel,
   einzelnes „Neu“ in der Bewertung weg (nur solange niemand abgestimmt hat), Preis ab 768 px 27 px,
   „Zum Deal“ 40 px und in jeder Reihe auf gleicher Höhe. Nur Aussehen, keine Funktion geändert. */

/* Titel: höchstens 2 Zeilen */
html body .dealoo-gallery-card .dealoo-card-title-link { -webkit-line-clamp: 2 !important; line-clamp: 2; height: 2.7em; min-height: 2.7em; margin-bottom: 4px; }
/* Schilder-Zeile (B-Ware, Code, Neu …) immer gleich hoch, auch ohne Schild – so stehen die Daumen je Reihe auf einer Höhe */
html body .dealoo-gallery-card .dealoo-card-body > div:has(> .dl-chips) { min-height: 20px; }

/* Kein Leerraum mehr zwischen Titel und Bewertung: der Textteil wächst nicht mehr, der Rest der Karte geht über den Knopf */
html body .dealoo-gallery-card .dealoo-card-body { flex: 0 0 auto !important; min-height: 0 !important; }
html body .dealoo-gallery-card .deal-card-footer { flex: 1 1 auto !important; min-height: 0 !important; }
html body .dealoo-gallery-card .deal-card-footer > div:has(> .premium-btn-black) { margin-top: auto !important; }

/* Bewertung: einzelnes „Neu“ ausblenden, solange es keine Stimme gibt (das blaue Schild „Neu“ bleibt).
   Sobald jemand abstimmt, steht wie bisher „Neu · N 👍“ bzw. ab 10 Stimmen die Prozentzahl. */
html body .dealoo-gallery-card .dealoo-vote-pill[data-up="0"][data-down="0"]:not(.voted-up):not(.voted-down) .dl-pct { display: none !important; }

/* „Zum Deal“: 40 px hoch */
html body .dealoo-gallery-card .deal-card-footer .premium-btn-black { height: 40px !important; min-height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; }

@media (min-width: 768px) {
    /* Bild etwa 18 % niedriger (150 -> 124 px) */
    html body .dealoo-gallery-card.job-listing .dealoo-card-header.job-listing-company-logo { height: auto !important; flex: 0 0 auto !important; }
    html body .dealoo-gallery-card .card-image-link { height: 124px !important; }
    /* Preis kleiner (30 -> 27 px), bleibt das Stärkste in der Karte */
    html body .dealoo-gallery-card .dealoo-price-main { font-size: 27px !important; line-height: 1.1 !important; }
}

/* Paket 909 (Laiss 15.11.2026): Händlername in der Galerieansicht besser lesbar – 12 statt 10 px, Deals dunkelgrau statt grün; Gutscheine bleiben lila, nur größer. Listenansicht unverändert. */
html body .dealoo-gallery-card .card-dealer-link { font-size: 12px !important; }
html body .dealoo-gallery-card .card-dealer-link:not([style*="8b5cf6"]) { color: #374151 !important; }

/* Paket 912 (Laiss 15.11.2026): Preisangaben auf den Karten besser lesbar (Galerie und Liste), Knopf-Abstände. Nur Aussehen.
   1) Leasing-/Tarif-Zeile unter dem Preis (Rate, Laufzeit, einmalig) 14 px und schwarz.
   2) Alle Angaben unter dem Deal-Preis schwarz: Leasing-Details, „Preis anderer Shop … laut Dealoo-Team“, „* Werbelink“ (Schilder wie −3 %, Privat, CO₂-Klasse behalten ihre Farbe).
   3) Galerie: kein Leerraum über „Zum Deal“ (alter Außenabstand 30 px aus style.css .job-listing machte die Karte höher als ihren Inhalt); Reihenabstand bleibt 20 px.
   4) Liste bis 991 px: „Zum Deal“ unten statt mittig. */
html body .dl-trf .dl-trf-sub { font-size: 14px !important; color: #111827 !important; }
html body .dealoo-price-wrap .dl-trf > span:not(.dealoo-price-main):not(.dl-trf-sub),
html body .dealoo-price-wrap .dl-cp2-line, html body .dealoo-price-wrap .dl-cp2-line span, html body .dealoo-price-wrap .dl-cp2-line b,
html body div.deal-card-footer div.dealoo-price-wrap > a.dl-wl.dl-wl, html body div.deal-card-footer div.dealoo-price-wrap > a.dl-wl.dl-wl *,
html body div.dealoo-card div.dealoo-price-wrap > a.dl-wl.dl-wl, html body div.dealoo-card div.dealoo-price-wrap > a.dl-wl.dl-wl * { color: #111827 !important; }
html body .dealoo-gallery-card { margin-bottom: 0 !important; }
@media (max-width: 991px) {
    html body .dealoo-card .dealoo-col-action > .dealoo-action-row { align-self: flex-end !important; }
}

/* Paket 918 (Laiss 15.11.2026, Variante A): Köpfe der Bereichs- und Kategorieseiten – Symbol links (Farbe wie in der Bereichsleiste),
   eine Überschrift, ein bis zwei Sätze darunter; ohne Schild, ohne Leerfläche. Startseite unverändert (.dlb-seite = nur Unterseiten). */
html body .dlp-hero.dlb-seite::before { display: none !important; }
html body .dlp-hero.dlb-seite .dlp-wrap { display: block !important; min-height: 0 !important; max-width: 1210px !important; padding: 24px 15px !important; } /* gleiche Breite und Kante wie der Kategorie-Kopf (.dlk-wrap) */
html body .dlp-hero.dlb-seite .dlp-txt { display: block !important; max-width: none !important; }
.dl918-head { display: flex; align-items: center; gap: 16px; font-family: 'Nunito', system-ui, sans-serif; }
html body .dlk-hero { background: #fff; border-bottom: 1px solid #e5e7eb; } /* Kategorie-Kopf wie die Bereichsseiten weiß */
.dl918-tx { min-width: 0; flex: 1 1 auto; }
.dl918-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--t-bg); color: var(--t-fg); font-size: 22px; line-height: 1; }
.dl918-ic i { color: inherit !important; }
html body .dl918-h1.dl918-h1 { font-family: 'Nunito', system-ui, sans-serif; font-size: 28px !important; font-weight: 900; line-height: 1.2 !important; letter-spacing: -.02em; color: #111827; margin: 0 !important; text-wrap: balance; overflow-wrap: break-word; }
html body .dl918-h1 span { color: #2f6f57 !important; }
html body .dl918-h1 .fa { font-size: .7em; margin: 0 .15em; color: #9ca3af; }
html body .dl918-sub.dl918-sub { display: block !important; margin: 5px 0 0 !important; font-size: 15px !important; line-height: 1.5 !important; color: #4b5563; font-weight: 600; max-width: 78ch; }
.dl918-sub .dl918-rest { display: none; }
.dl918-sub.open .dl918-rest { display: inline; }
.dl918-mehr { background: none; border: 0; padding: 0; margin-left: 2px; color: #2f6f57; font-weight: 800; font-size: inherit; cursor: pointer; white-space: nowrap; }
.dl918-mehr:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl918-mehr:focus-visible { outline: 2px solid #6fac93; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 991px) { html body .dlp-hero.dlb-seite .dlp-wrap { padding: 20px 15px !important; } html body .dl918-h1.dl918-h1 { font-size: 24px !important; } }
@media (max-width: 767px) {
    html body .dlp-hero.dlb-seite .dlp-wrap { padding: 14px 16px !important; }
    .dl918-head { align-items: flex-start; gap: 12px; }
    .dl918-ic { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; }
    html body .dl918-h1.dl918-h1 { font-size: 20px !important; line-height: 1.25 !important; }
    html body .dl918-sub.dl918-sub { font-size: 13.5px !important; margin-top: 3px !important; }
}
/* Farben der Symbole wie in der Bereichsleiste (dl-p892.css, [data-dl-tab]); eigenes Attribut, damit das Leisten-Skript in new_home.twig sie nicht mitzählt */
.dl918-ic { --t-bg: #f3f4f6; --t-fg: #374151; }
.dl918-ic[data-dl918="gutscheine"] { --t-bg: #fdf1e6; --t-fg: #e07a2a; }
.dl918-ic[data-dl918="b-ware"] { --t-bg: #eaf5f0; --t-fg: #3f8f73; }
.dl918-ic[data-dl918="lokal"] { --t-bg: #fdecef; --t-fg: #c2415d; }
.dl918-ic[data-dl918="kostenlos"] { --t-bg: #fdf6dc; --t-fg: #c99a06; }
.dl918-ic[data-dl918="top-preisvorteile"] { --t-bg: #e7f3fb; --t-fg: #2f7fbf; }
.dl918-ic[data-dl918="leasing"] { --t-bg: #fdf6dc; --t-fg: #c99a06; }
.dlk-hero .dl918-ic { --t-bg: #eaf5f0; --t-fg: #2f6f57; }
