/* Paket 892 (Laiss 14.11.2026, Vorschau „Variante E“): ruhigere Startseite.
   - Kopfleiste grau #e5e7eb (wie die Link-Prüfung), Herz rot, Alarm grün, Punkt an der Glocke grün, „Mitverdienen“ aus dem Kopf (Seite bleibt unter „Mehr“ als DealooPlus)
   - Bereichsleiste einheitlich: jeder Punkt = flache Farbkachel + Name, aktiv = dunkle Kachel + Strich; „Alle Kategorien“ vorne, „Mehr“ ganz rechts; kein „NEU“
   - Spruch (Hero) der Deal-Seiten einzeilig und flach
   - Handy: Kopf und schwebende Leiste grau #e5e7eb, Lupe Dealoo-Grün
   Nur Aussehen. „html body“ + !important, weil ältere Regeln (dealoo-core.css, dl-area-pills.css, Inline-Stile) selbst !important setzen.
   Zurück: Paket-Rückweg (alte Dateien) – diese Datei wird dann nicht mehr eingebunden. */

/* ---------- Kopfleiste ab 768 px ---------- */
@media (min-width: 768px) {
    html body #app-header { background: #e5e7eb !important; border-bottom: 1px solid #d6d9de !important; }
    html body #app-header a.dl-hdr-plus { display: none !important; }
    html body #app-header .header-widget-box .header-notifications-trigger i.fa-heart-o { color: #ef4444 !important; }
    html body #app-header .header-widget-box .header-notifications-trigger i.fa-bullhorn { color: #2f6f57 !important; }
    html body #app-header .header-red-dot { background-color: #6fac93 !important; }
    html body #app-header .header-create-btn i { background: #6fac93 !important; }
}
/* ---------- Kopf am Handy ---------- */
@media (max-width: 767px) {
    html body .modern-mobile-top { background: #e5e7eb !important; border-bottom: 1px solid #d6d9de !important; }
    html body .dlg-icon { background: #fff !important; }
    html body .dlg-icon.dlg-alarm { color: #2f6f57 !important; }
    html body .dlg-icon .header-red-dot { background-color: #6fac93 !important; }
    /* schwebende Leiste unten grau, Lupe grün; beide 56 px hoch und auf gleicher Höhe (wie bisher) */
    html body .bottom-nav-bar.dlg-tabbar { background: rgba(229, 231, 235, .96) !important; border: 1px solid #d6d9de !important; }
    html body .dlg-tabbar .mobile-nav-item { color: #374151; }
    html body .dlg-tabbar .mobile-nav-item.active { background: #fff !important; color: #111827 !important; }
    html body .dlg-tabbar .mobile-nav-item.active i { color: #111827 !important; }
    html body .dlg-search { background: #6fac93 !important; border-color: #6fac93 !important; color: #fff !important; }
}

/* ---------- Bereichsleiste: Farben je Bereich ---------- */
[data-dl-tab] { --t-bg: #f3f4f6; --t-fg: #374151; }
[data-dl-tab="geld-zurueck"] { --t-bg: #f3edfc; --t-fg: #7c5cc4; }
[data-dl-tab="gutscheine"] { --t-bg: #fdf1e6; --t-fg: #e07a2a; }
[data-dl-tab="b-ware"] { --t-bg: #eaf5f0; --t-fg: #3f8f73; }
[data-dl-tab="lokal"] { --t-bg: #fdecef; --t-fg: #c2415d; }
[data-dl-tab="kostenlos"] { --t-bg: #fdf6dc; --t-fg: #c99a06; }
[data-dl-tab="top-preisvorteile"] { --t-bg: #e7f3fb; --t-fg: #2f7fbf; }
[data-dl-tab="reisen"] { --t-bg: #e7f3fb; --t-fg: #2f7fbf; }
[data-dl-tab="leasing"] { --t-bg: #fdf6dc; --t-fg: #c99a06; }
html body .dl-new { display: none !important; }

/* ---------- Bereichsleiste ab 992 px ---------- */
@media (min-width: 992px) {
    html body .dl-tabs .dealoo-nav-list, html body .dlp-tabs ul { gap: 4px !important; min-height: 64px; width: 100%; overflow: visible !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean, html body .dlp-tabs ul > li > a,
    html body :is(.dl-tabs, .dlp-tabs) .dl92-cat.dl92-cat, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum {
        display: inline-flex !important; align-items: center !important; gap: 10px !important; position: relative; box-sizing: border-box;
        height: 48px !important; padding: 0 12px 0 6px !important; border: 0 !important; border-radius: 14px !important; background: transparent !important; box-shadow: none !important;
        font: 800 15px/1 'Nunito', system-ui, sans-serif !important; color: #111827 !important; white-space: nowrap; text-decoration: none !important; cursor: pointer; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean i, html body .dlp-tabs ul > li > a i, html body :is(.dl-tabs, .dlp-tabs) .dl92-cat.dl92-cat i, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum i {
        display: grid !important; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; margin: 0 !important; border-radius: 10px;
        background: var(--t-bg) !important; color: var(--t-fg) !important; font-size: 15px !important; line-height: 1; transition: background-color .15s ease, color .15s ease; }
    html body :is(.dl-tabs, .dlp-tabs) .dl92-cat.dl92-cat, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum { --t-bg: #f3f4f6; --t-fg: #374151; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean:hover, html body .dlp-tabs ul > li > a:hover, html body :is(.dl-tabs, .dlp-tabs) .dl92-cat.dl92-cat:hover, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum:hover, html body :is(.dl-tabs, .dlp-tabs) .dl92-dd[open] > .dl92-sum.dl92-sum { background: #f3f4f6 !important; color: #111827 !important; }
    /* aktiv: dunkle Kachel und Strich darunter */
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.active, html body .dlp-tabs ul > li > a.active, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum.active { background: transparent !important; color: #111827 !important; font-weight: 900 !important; border: 0 !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.active i, html body .dlp-tabs ul > li > a.active i, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum.active i { background: #111827 !important; color: #fff !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.active::after, html body .dlp-tabs ul > li > a.active::after, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum.active::after {
        content: "" !important; display: block !important; position: absolute; left: 12px; right: 12px; bottom: -8px; height: 3px; border-radius: 3px; background: #111827 !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean::before { display: none !important; }
    /* Trennlinie nach „Alle Kategorien“ */
    html body .dl-tabs .dealoo-nav-list > li.dl92-catli, html body .dlp-tabs ul > li.dl92-catli { padding-right: 8px !important; margin-right: 4px !important; border-right: 1px solid #e5e7eb; }
    /* „Mehr“ ganz rechts mit Aufklapp-Liste */
    html body .dl-tabs .dealoo-nav-list > li.dl92-more, html body .dlp-tabs ul > li.dl92-more { margin-left: auto !important; position: relative; }
    html body .dl92-dd { position: relative; }
    html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum { list-style: none; }
    html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum::-webkit-details-marker { display: none; }
    html body .dl92-chev { width: 8px; height: 8px; border-right: 2px solid #374151; border-bottom: 2px solid #374151; transform: rotate(45deg) translate(-2px, -2px); margin-left: 2px; }
    html body .dl92-dd[open] .dl92-chev { transform: rotate(-135deg) translate(-2px, -2px); }
    html body .dl92-mm { position: absolute; right: 0; top: 54px; z-index: 1000; min-width: 230px; padding: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(17, 24, 39, .35); }
    html body .dl92-mi { display: flex !important; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font: 700 15px/1.2 'Nunito', system-ui, sans-serif; color: #111827 !important; text-decoration: none !important; }
    html body .dl92-mi:hover, html body .dl92-mi.on { background: #f3f4f6; }
    html body .dl92-mi i { width: 18px; text-align: center; color: #2f6f57 !important; }
}
/* kleine Laptops: „Alle Kategorien“ nur als Symbol, etwas schmaler */
@media (min-width: 992px) and (max-width: 1279px) {
    html body :is(.dl-tabs, .dlp-tabs) .dl92-cat.dl92-cat span { display: none; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean, html body .dlp-tabs ul > li > a, html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum { padding: 0 8px 0 4px !important; font-size: 14px !important; gap: 8px !important; }
}
/* „Alle Kategorien“ und „Mehr“ gibt es nur ab 992 px; darunter bleibt die wischbare Leiste mit allen Punkten */
@media (max-width: 991px) {
    html body .dl-tabs .dealoo-nav-list > li.dl92-catli, html body .dl-tabs .dealoo-nav-list > li.dl92-more, html body .dlp-tabs ul > li.dl92-catli, html body .dlp-tabs ul > li.dl92-more { display: none !important; }
    /* Handy/Tablet: Symbol als flache Farbkachel über dem Namen, aktiv dunkel */
    html body .mobile-sub-nav-item i, html body .dlp-mtabs a i {
        display: grid !important; place-items: center; width: 40px; height: 40px; margin: 0 auto 2px !important; border-radius: 13px;
        background: var(--t-bg) !important; color: var(--t-fg) !important; font-size: 17px !important; }
    html body .mobile-sub-nav-item.active i, html body .dlp-mtabs a.active i { background: #111827 !important; color: #fff !important; }
}

/* ---------- Spruch (Hero) der Deal-Seiten: eine Zeile, flach ---------- */
html body:has(.dl-tabs) .dlp-hero { background: #fff !important; border-bottom: 1px solid #e5e7eb; }
html body:has(.dl-tabs) .dlp-hero .dlp-h1 br { display: none; }
html body:has(.dl-tabs) .dlp-hero .dlp-ulin { display: none !important; }
html body:has(.dl-tabs) .dlp-hero .dlp-u { color: #2f6f57 !important; margin-left: .25em; }
@media (min-width: 768px) {
    html body:has(.dl-tabs) .dlp-hero .dlp-wrap { padding: 16px 15px !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-h1 { font-size: 27px !important; line-height: 1.15 !important; letter-spacing: -.02em; }
    html body:has(.dl-tabs) .dlp-hero .dlp-lead { margin: 4px 0 0 !important; font-size: 15px !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn { min-height: 40px !important; padding: 0 18px !important; font-size: 14.5px !important; box-shadow: none !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-p i { display: none !important; }
}
@media (max-width: 767px) {
    html body:has(.dl-tabs) .dlp-hero .dlp-wrap { padding: 12px 16px !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-txt { display: flex !important; align-items: center; gap: 10px; }
    html body:has(.dl-tabs) .dlp-hero .dlp-h1 { flex: 1 1 auto; min-width: 0; font-size: 21px !important; line-height: 1.15 !important; margin: 0 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-lead { display: none !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-ctas { flex: 0 0 auto; margin: 0 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-s { display: none !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-p { min-height: 36px !important; padding: 0 14px !important; font-size: 13.5px !important; flex: none !important; box-shadow: none !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-p i { display: none !important; }
}

/* Paket 894 (Laiss 14.11.2026 20:33): „Alle Kategorien“ aus der Leiste raus, weil der Kopf schon „Kategorien“ hat.
   Knöpfe „Mehr“ (und vorher „Alle Kategorien“) hatten eckigen Hover: die Live-Regel .dl-tabs .nav-link-clean war stärker – Selektoren oben verstärkt. */
html body .dl-tabs .dealoo-nav-list > li.dl92-catli, html body .dlp-tabs ul > li.dl92-catli { display: none !important; }

/* Paket 898 (Laiss 15.11.2026 06:24): Bereichsleiste einheitlich – Hover bei allen Punkten grau (#f3f4f6), auch beim aktiven;
   aktiver Punkt nie schwarz oder lila hinterlegt (auch „Geld zurück“), nur dunkle Kachel + Strich darunter.
   Überstimmt die älteren Regeln aus dl-area-pills.css (aktiv:hover schwarz, Geld zurück lila). */
@media (min-width: 992px) {
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.nav-link-clean[data-dl-tab], html body .dlp-tabs ul > li > a[data-dl-tab][data-dl-tab] { background: transparent !important; border: 0 !important; color: #111827 !important; box-shadow: none !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.nav-link-clean[data-dl-tab]:hover, html body .dlp-tabs ul > li > a[data-dl-tab][data-dl-tab]:hover,
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.nav-link-clean[data-dl-tab].active:hover, html body .dlp-tabs ul > li > a[data-dl-tab][data-dl-tab].active:hover { background: #f3f4f6 !important; color: #111827 !important; border: 0 !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.nav-link-clean[data-dl-tab].active, html body .dlp-tabs ul > li > a[data-dl-tab][data-dl-tab].active { background: transparent !important; color: #111827 !important; border: 0 !important; font-weight: 900 !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.nav-link-clean[data-dl-tab].active i, html body .dlp-tabs ul > li > a[data-dl-tab][data-dl-tab].active i { background: #111827 !important; color: #fff !important; }
    /* auch „Mehr“, wenn es aktiv ist (Lounge, Ratgeber, DealooPlus, Charity, Über uns): Hover grau */
    html body :is(.dl-tabs, .dlp-tabs) .dl92-sum.dl92-sum.active:hover, html body :is(.dl-tabs, .dlp-tabs) .dl92-dd[open] > .dl92-sum.dl92-sum.active { background: #f3f4f6 !important; }
    html body .dl-tabs .dealoo-nav-list > li > a.nav-link-clean.nav-link-clean[data-dl-tab]:not(.active) i, html body .dlp-tabs ul > li > a[data-dl-tab][data-dl-tab]:not(.active) i { background: var(--t-bg) !important; color: var(--t-fg) !important; }
}

/* ---------- Paket 903 (Laiss 15.11.2026): Spruch zweizeilig mit grünem Bogen – Desktop/große Tablets Variante B, Handy/kleine Tablets Variante C ---------- */
/* Fassung 2: Bogen als Hintergrund je Textzeile (box-decoration-break), damit er auch bei umbrechendem grünem Teil genau unter dem Text sitzt */
html body:has(.dl-tabs) .dlp-hero .dlp-h1 br { display: inline !important; }
html body:has(.dl-tabs) .dlp-hero .dlp-ulin { display: none !important; }
html body:has(.dl-tabs) .dlp-hero .dlp-u {
    display: inline !important; position: static !important; margin-left: 0 !important; white-space: normal !important;
    padding-bottom: 9px; background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M4 10 C 80 2, 200 2, 296 9' fill='none' stroke='%236fac93' stroke-width='3.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (min-width: 992px) {
    html body:has(.dl-tabs) .dlp-hero .dlp-wrap { padding: 22px 15px 26px !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-txt { align-items: center; }
    html body:has(.dl-tabs) .dlp-hero .dlp-h1 { font-size: 30px !important; line-height: 1.3 !important; letter-spacing: -.02em; margin: 0 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-u { padding-bottom: 10px; background-size: 100% 11px; }
    html body:has(.dl-tabs) .dlp-hero .dlp-lead { margin: 14px 0 0 !important; font-size: 15px !important; line-height: 1.45 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-ctas { align-self: center !important; justify-content: flex-end; margin: 0 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn { min-height: 44px !important; padding: 0 22px !important; font-size: 15px !important; }
}
@media (max-width: 991px) {
    html body:has(.dl-tabs) .dlp-hero .dlp-wrap { padding: 16px 16px 18px !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-txt { display: block !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-h1 { font-size: 24px !important; line-height: 1.38 !important; letter-spacing: -.01em; margin: 0 0 16px !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-lead { display: none !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-ctas { display: flex !important; justify-content: flex-start !important; margin: 0 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-s { display: none !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-p { min-height: 40px !important; padding: 0 16px !important; font-size: 14px !important; flex: none !important; box-shadow: none !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-p i { display: none !important; }
}

/* ---------- Paket 906 (Laiss 15.11.2026): kleine Tablets (768–991 px) – Knopf rechts neben dem Spruch, mittig; Handy unverändert darunter ---------- */
@media (min-width: 768px) and (max-width: 991px) {
    html body:has(.dl-tabs) .dlp-hero .dlp-txt { display: flex !important; align-items: center !important; justify-content: space-between; gap: 20px; }
    html body:has(.dl-tabs) .dlp-hero .dlp-h1 { flex: 1 1 auto; min-width: 0; margin: 0 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-ctas { flex: 0 0 auto; }
}

/* ---------- Paket 907 (Laiss 15.11.2026): Handy (360–767 px) – Knopf auch hier rechts neben dem Spruch, mittig; unter 360 px bleibt er darunter ---------- */
@media (min-width: 360px) and (max-width: 767px) {
    html body:has(.dl-tabs) .dlp-hero .dlp-txt { display: flex !important; align-items: center !important; justify-content: space-between; gap: 14px; }
    html body:has(.dl-tabs) .dlp-hero .dlp-h1 { flex: 1 1 auto; min-width: 0; margin: 0 !important; font-size: 21px !important; line-height: 1.36 !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-ctas { flex: 0 0 auto; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-p { min-height: 38px !important; padding: 0 14px !important; font-size: 13.5px !important; white-space: nowrap; }
}
@media (min-width: 360px) and (max-width: 400px) {
    html body:has(.dl-tabs) .dlp-hero .dlp-txt { gap: 12px; }
    html body:has(.dl-tabs) .dlp-hero .dlp-h1 { font-size: 19px !important; }
    html body:has(.dl-tabs) .dlp-hero .dlp-btn-p { padding: 0 12px !important; font-size: 13px !important; }
}
