/* Gastrohandel.de – Farben aus dem Logo (Graphit/Edelstahl) mit Rot als Preisfarbe.
   Regel wie im Leasingshop: Rot nur für Preise, Buttons und Navigation bleiben Graphit. */
:root {
  --fx-primary: #3a4a5c;        /* Buttons, Links, Tabellenkopf */
  --fx-primary-dark: #222b36;   /* Hover, Navigationsleiste, Überschriften */
  --fx-accent: #c8102e;         /* Preise */
  --fx-signal: #e07a1f;         /* Kleinteile (Neu-Badge) */
  --fx-bg: #f4f5f7;
  --fx-dark: #222b36;
  --bs-pagination-active-bg: #3a4a5c;
}

body { background: var(--fx-bg); color: #222; }
/* Redaktionelle Überschriften ohne eigene Klassen (CMS-/Feed-Inhalte) auf max. 1.5rem begrenzen,
   mit absteigender Staffelung – Layout-Überschriften (.h3, .section-title usw.) bleiben unberührt */
h1:not([class]), h1.artueber { font-size: 1.5rem; }
h2:not([class]) { font-size: 1.4rem; }
h3:not([class]) { font-size: 1.3rem; }
h4:not([class]) { font-size: 1.2rem; }
h5:not([class]) { font-size: 1.1rem; }

a { color: var(--fx-primary); text-decoration: none; }
a:hover { color: var(--fx-primary-dark); }

.btn-primary { background: var(--fx-primary); border-color: var(--fx-primary); }
.btn-primary:hover { background: var(--fx-primary-dark); border-color: var(--fx-primary-dark); }
.btn-outline-primary { color: var(--fx-primary); border-color: var(--fx-primary); }
.btn-outline-primary:hover { background: var(--fx-primary); border-color: var(--fx-primary); }
/* Haupt-CTA im Blau des Originals – Rot ist ausschliesslich die Preisfarbe */
.btn-accent { background: var(--fx-primary); border-color: var(--fx-primary); color: #fff; font-weight: 600; }
.btn-accent:hover { background: var(--fx-primary-dark); border-color: var(--fx-primary-dark); color: #fff; }
.text-accent { color: var(--fx-accent) !important; }
.bg-primary { background: var(--fx-primary) !important; }
.nav-tabs .nav-link {isolation: isolate;border-color: var(--bs-nav-tabs-link-hover-border-color) !important;}

 #tech_bartscher {
    margin-top:20px;
}
#tech_bartscher .tech_row {
    display:block;
    padding:8px;
}
#tech_bartscher .tech_header{
    display:inline-block;
    width:30%;
    min-width:200px;
    font-weight:bold;
}
#tech_bartscher .tech_detail {
    display:inline-block;
}
#tech_bartscher .tech_row:nth-child(even) {
    background-color: #f2f2f2; 
}

#tech_bartscher .tech_row:nth-child(odd) {
    background-color: #ffffff; 
}




/* Admin-Toolbar (à la WordPress) */
.admin-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 36px; z-index: 2000;
  background: #101a26; color: #cfd8e3; font-size: .82rem;
  border-bottom: 1px solid #000; box-shadow: 0 1px 6px rgba(0,0,0,.3);
  white-space: nowrap; overflow-x: auto;
}
.admin-bar a { color: #cfd8e3; text-decoration: none; padding: 0 .2rem; }
.admin-bar a:hover { color: #fff; }
.admin-bar .admin-bar-edit { color: #ffb26b; font-weight: 600; }
.admin-bar .admin-bar-edit:hover { color: #ffcf9e; }
body.has-adminbar { padding-top: 36px; }
body.has-adminbar .site-header.sticky-top { top: 36px; }

.topbar { background: var(--fx-dark); color: #cfe0f2; }
.topbar-link { color: #fff; text-decoration: none; font-weight: 500; }
.topbar-link:hover { color: #ffb26b; }
.site-header { background: #fff; }
.site-header .container {padding:10px;}
.navbar-brand { color: var(--fx-primary); font-size: 2.5rem; }
.brand-dot { color: var(--fx-signal); }
.catnav { background: var(--fx-primary); }
.catnav .nav-link {
  color: #fff; font-weight: 500; white-space: nowrap;
  padding: .6rem .25rem; font-size: .8rem;   /* enge Grundeinstellung, wächst mit dem Fenster */
}
.catnav .nav-link:hover { background: var(--fx-primary-dark); color: #fff; }

/* Topleiste: Unterseiten als Hover-Dropdown */
.topbar-drop { display: inline-block; position: relative; }
.topbar-dropdown {
  display: none; position: absolute; top: 100%; left: 0; z-index: 1060;
  min-width: 220px; background: #fff; border: 1px solid #e6ebf1;
  border-radius: .5rem; padding: .35rem 0;
}
.topbar-drop:hover .topbar-dropdown, .topbar-drop:focus-within .topbar-dropdown { display: block; }
.topbar-dropdown-item { display: block; padding: .3rem .9rem; color: #16283c; white-space: nowrap; }
.topbar-dropdown-item:hover { background: var(--fx-bg); color: var(--fx-primary); }

/* Kategorien horizontal in der blauen Leiste – bewusst ohne Umbruch: alle Kategorien
   gehören in eine Zeile. Die Abstände wachsen stufenweise mit der Fensterbreite. */
/* Gastrohandel: 18 Bartscher-Hauptkategorien passen nicht in eine Zeile – umbrechen statt die Seite seitlich scrollen zu lassen (Menü neu gliedern: docs/TODO.md) */
.catnav .nav { flex-wrap: wrap; }
.catnav .nav-item { flex: 0 0 auto; }
@media (min-width: 1200px) { .catnav .nav-link { padding: .6rem .5rem;  font-size: .88rem; } }
@media (min-width: 1400px) { .catnav .nav-link { padding: .6rem .8rem;  font-size: 1rem; } }

/* Unterkategorien als Hover-Dropdown (Desktop-Leiste ist nur >=lg sichtbar) */
.catnav .dropdown { position: relative; }
.catnav .dropdown-menu {
  display: none; margin: 0; border: 1px solid #e6ebf1; border-radius: 0 0 .6rem .6rem;
  min-width: 250px; padding: .4rem 0;
}
.catnav .dropdown:hover > .dropdown-menu { display: block; top: 100%; left: 0; }
.catnav .dropdown-item { padding: .45rem 1.1rem; font-size: .93rem; }
.catnav .dropdown-item:hover { background: var(--fx-bg); color: var(--fx-primary); }
.catnav .dropdown-toggle::after { margin-left: .35rem; vertical-align: .12em; }

/* Mobile: Unterkategorien-Aufklapper */
.mobile-catnav .nav-link { color: #16283c; }
.mobile-catnav .btn-link { color: var(--fx-primary); }
.mobile-catnav .btn-link:not(.collapsed) .bi-chevron-down { transform: rotate(180deg); }
.mobile-catnav .bi-chevron-down { transition: transform .2s; display: inline-block; }

/* Unterkategorie-Kacheln (kategorie.php) */
.subcat-card {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  background: #fff; border: 1px solid #e3e8ef; border-radius: .75rem;
  padding: 1rem .75rem; text-align: center; height: 100%;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.subcat-card:hover {
  border-color: var(--fx-primary);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.subcat-card img { height: 64px; max-width: 100%; object-fit: contain; }
.subcat-icon { height: 64px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--fx-primary); }
.subcat-name { font-weight: 600; color: var(--fx-dark); line-height: 1.25; }
.subcat-card:hover .subcat-name { color: var(--fx-primary); }

/* Blog-Sidebar: weitere Beiträge */
.blog-side-item .blog-side-title { color: var(--fx-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-side-item:hover .blog-side-title { color: var(--fx-primary); }

/* CMS-/Blog-Titelbild: volle Breite zwischen Überschrift und Inhalt */
.cms-hero { display: block; width: 100%; max-height: 500px; object-fit: cover; }

/* Hero-Slider */
/* Feste Proportion = Bildverhältnis des Zuschnitts (1600x520):
   so wird die Grafik immer KOMPLETT angezeigt, nie erneut beschnitten */
.hero-slide { aspect-ratio: 1600 / 520; border-radius: 1rem; background-size: cover; background-position: center; display: flex; align-items: center; position: relative; overflow: hidden; }
/* Kein flächiger Verdunkelungs-Verlauf mehr – Lesbarkeit kommt vom Panel hinter dem Text */
.hero-content {
  position: relative; z-index: 1; color: #fff;
  margin: 1.5rem 2rem; padding: 1.5rem 2rem; max-width: 560px;
  background: rgba(22, 40, 60, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: .9rem;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .2);
}
.hero-content.text-center { margin-left: auto; margin-right: auto; text-align: center; }
.hero-content.text-end { margin-left: auto; }

/* Produktkarten */
.product-card { background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem; transition: box-shadow .2s, transform .2s; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 .6rem 1.4rem rgba(13,91,168,.14); transform: translateY(-3px); }
.product-card .card-img-wrap { height: 220px; display: flex; align-items: center; justify-content: center; padding: 1rem; background: #fff; border-radius: .9rem .9rem 0 0; }
.product-card .card-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 575.98px) { .product-card .card-img-wrap { height: 160px; } }
.product-card .card-body { display: flex; flex-direction: column; flex-grow: 1; }
.product-card .title { font-size: .95rem; font-weight: 600; color: #16283c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.rate-badge { color: var(--fx-accent); font-weight: 800; font-size: 1.25rem; }
.rate-badge small { color: #6c7a89; font-weight: 400; font-size: .75rem; }
.badge-new { background: var(--fx-signal); }
.badge-top { background: var(--fx-primary); }

/* Kategorie-Kacheln */
.cat-tile { background: #fff; border-radius: .9rem; padding: 1.4rem 1rem; text-align: center; border: 1px solid #e6ebf1; transition: all .2s; display: block; color: #16283c; height: 100%; }
.cat-tile:hover { border-color: var(--fx-primary); box-shadow: 0 .4rem 1rem rgba(13,91,168,.12); color: var(--fx-primary); }
.cat-tile i { font-size: 2rem; color: var(--fx-primary); }
.cat-tile-img { height: 48px; max-width: 90%; object-fit: contain; }

/* Produktdetail */
.product-gallery-main { aspect-ratio: 1/1; background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.product-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Galerie: Pfeile, Lupe, Vollbild (app.js „Produktgalerie“) */
.product-gallery-main { position: relative; }
.product-gallery-main #gallery-main-img { cursor: zoom-in; }
.galerie-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #dfe3e8; background: rgba(255,255,255,.92); color: #1c1f23; font-size: 1.25rem; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); z-index: 2; }
.galerie-pfeil:hover { background: #fff; color: #e8590c; }
.galerie-zurueck { left: .75rem; }
.galerie-weiter { right: .75rem; }
.galerie-lupe { position: absolute; right: .75rem; bottom: .75rem; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid #dfe3e8; background: rgba(255,255,255,.92); color: #1c1f23; z-index: 2; }
.product-gallery-main.has-video .galerie-pfeil, .product-gallery-main.has-video .galerie-lupe { display: none; }
.galerie-modal { background: rgba(15,17,20,.96); align-items: center; justify-content: center; }
.galerie-modal #galerie-gross { max-width: 88vw; max-height: 82vh; object-fit: contain; background: #fff; border-radius: .5rem; padding: 1rem; }
.galerie-modal .galerie-pfeil { width: 54px; height: 54px; font-size: 1.6rem; }
.galerie-modal .galerie-zurueck { left: 1.5rem; }
.galerie-modal .galerie-weiter { right: 1.5rem; }
.galerie-schliessen { position: absolute; top: 1.25rem; right: 1.5rem; z-index: 3; width: 1.4rem; height: 1.4rem; }
.galerie-zaehler { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: .95rem; }
.thumb { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid #e6ebf1; border-radius: .5rem; padding: .3rem; cursor: pointer; }
.thumb.active { border-color: var(--fx-primary); }
.video-thumb { display: inline-flex; align-items: center; justify-content: center; background: #16283c; color: #fff; }
.video-thumb i { font-size: 1.7rem; line-height: 1; }
.video-thumb:hover { color: var(--fx-primary); }
/* Video im Galerie-Hauptbereich: volle Breite ohne Innenabstand */
.product-gallery-main.has-video { padding: 0; overflow: hidden; }
.product-gallery-main.has-video .ratio { width: 100%; }
.product-gallery-main.has-video iframe { border: 0; width: 100%; height: 100%; }
.buy-box { background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem; position: sticky; top: 90px; }

/* ---------- Artikelseite, Kopfzeile über die volle Breite (Layout B) ----------
   Titel und Kennzahlen links, die günstigste Rate rechts – beides sofort sichtbar,
   auf dem Handy untereinander. */
.product-head { background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem;
  padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; display: flex; flex-wrap: wrap;
  align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-head .ph-links { min-width: 0; flex: 1 1 24rem; }
.product-head .ph-hersteller { font-size: .85rem; margin-bottom: .1rem; }
.product-head .ph-hersteller a { color: #6c7a89; }
.product-head .ph-hersteller a:hover { color: var(--fx-primary); }
.product-head .ph-titel { font-size: 1.5rem; font-weight: 700; color: var(--fx-primary-dark);
  line-height: 1.25; margin: 0 0 .45rem; }
.product-head .ph-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem;
  font-size: .85rem; color: #6c7a89; }
.product-head .ph-meta strong { font-weight: 600; color: #33475b; }
.product-head .ph-kurz { margin-top: .6rem; font-size: .9rem; color: #4a5b6d; max-width: 60ch; }
.product-head .ph-kurz p:last-child { margin-bottom: 0; }

/* Downloads: automatisch so viele Spalten wie passen */
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .5rem .75rem; }

/* Bis Tablet: Downloads hinter den Leasingblock schieben.
   Die linke Spalte wird dafür per display:contents aufgelöst, damit Galerie, Leasingbox
   und Downloads zu Geschwistern der Zeile werden und sich per order sortieren lassen. */
@media (max-width: 991.98px) {
  .produkt-row > .pd-links { display: contents; }
  .produkt-row .pd-galerie { order: 1; width: 100%; }
  .produkt-row > .pd-rechts { order: 2; }
  .produkt-row .pd-downloads { order: 3; width: 100%; margin-top: 1.5rem; }
  .produkt-row .pd-siegel { order: 4; width: 100%; }
}
.product-head .ph-rechts { text-align: right; flex: 0 0 auto; }
.product-head .ph-ab { font-size: .8rem; color: #6c7a89; }
.product-head .ph-rate { font-size: 1.45rem; font-weight: 800; color: var(--fx-accent); line-height: 1.15; }
.product-head .ph-zusatz { font-size: .78rem; color: #6c7a89; }
@media (max-width: 575.98px) {
  .product-head { padding: 1rem; }
  .product-head .ph-titel { font-size: 1.25rem; }
  .product-head .ph-rate { font-size: 1.3rem; }
  .product-head .ph-rechts { text-align: left; }
}

/* ---------- Kundentyp: Startdialog und Schalter in der Topbar ---------- */
.kundentyp-wahl .kw-karte { display: flex; flex-direction: column; align-items: center; gap: .3rem;
  height: 100%; padding: 1.4rem 1rem; text-align: center; text-decoration: none;
  background: #fff; border: 2px solid #e6ebf1; border-radius: .8rem; color: var(--fx-primary-dark);
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.kundentyp-wahl .kw-karte:hover { border-color: var(--fx-primary); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 59, 112, .12); color: var(--fx-primary-dark); }
.kundentyp-wahl .kw-karte i { font-size: 2rem; color: var(--fx-primary); }
.kundentyp-wahl .kw-titel { font-weight: 700; font-size: 1.05rem; }
.kundentyp-wahl .kw-text { font-size: .85rem; color: #6c7a89; }

.kundentyp-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; overflow: hidden; }
.kundentyp-switch a { padding: .05rem .6rem; font-size: .78rem; line-height: 1.5; color: inherit;
  text-decoration: none; opacity: .75; }
.kundentyp-switch a:hover { opacity: 1; color: inherit; }
.kundentyp-switch a.aktiv { background: #fff; color: var(--fx-primary-dark); opacity: 1; font-weight: 600; }

/* ---------- Mitscrollende Leiste auf der Artikelseite ----------
   Klebt beim Scrollen unter dem Seitenkopf (dessen Höhe misst app.js in --kopf-hoehe)
   und hält Rate und Warenkorb-Knopf erreichbar. */
.product-sticky {
  position: fixed; left: 0; right: 0; top: var(--kopf-hoehe, 0px); z-index: 1010;
  background: #fff; border-bottom: 1px solid #dbe3ee;
  box-shadow: 0 6px 18px rgba(13, 59, 112, .16), 0 1px 3px rgba(13, 59, 112, .10);
  /* Standard: unsichtbar und nicht anklickbar – erscheint erst, wenn die Kopfzeile weg ist */
  opacity: 0; visibility: hidden; transform: translateY(-100%);
  transition: transform .18s ease, opacity .18s ease, visibility .18s;
}
.product-sticky.sichtbar { opacity: 1; visibility: visible; transform: translateY(0); }
.product-sticky .ps-inner { display: flex; align-items: center; gap: 1rem; padding-top: .3rem; padding-bottom: .3rem; }
.product-sticky .ps-titel { flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--fx-primary-dark);
  font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-sticky .ps-rate { flex: 0 0 auto; display: flex; align-items: baseline; gap: .4rem; }
.product-sticky .ps-label { font-size: .78rem; color: #6c7a89; }
.product-sticky .ps-rate strong { font-size: 1rem; font-weight: 800; color: var(--fx-accent); }
.product-sticky .ps-rate small { font-size: .72rem; color: #6c7a89; }
.product-sticky .ps-btn { flex: 0 0 auto; white-space: nowrap; padding: .3rem .85rem; font-size: .9rem; }
@media (max-width: 575.98px) {
  .product-sticky .ps-inner { gap: .6rem; padding-top: .3rem; padding-bottom: .3rem; }
  .product-sticky .ps-titel { display: none; }          /* Platz für Rate und Knopf */
  .product-sticky .ps-rate { flex: 1 1 auto; }
  .product-sticky .ps-rate small { display: none; }
  .product-sticky .ps-btn { padding-left: .7rem; padding-right: .7rem; }
}

/* ---------- Artikelseite: Artikeldaten und Leasing in EINER Box ----------
   Oben die Infos, darunter – abgesetzt durch Trennlinie und Hintergrund – die Raten. */
.product-box { background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem; overflow: hidden; }
.product-box-info { padding: 1.25rem 1.25rem 1rem; }
.product-box-buy { padding: 1.1rem 1.25rem 1.25rem; border-top: 1px solid #e6ebf1; background: #f8fafc; }
.product-box-buy /* Spaltenkopf der Ratentabelle: Anbieter plus Full-Service-Kennzeichnung */
.rate-table thead .rt-provider { display: block; }
.rate-table thead .rt-fs {
  display: block; font-size: .66rem; font-weight: 500; opacity: .85; margin-top: .05rem;
}
.rate-table thead .rt-fs-an::before { content: "\2713\00a0"; }

.rate-table { background: #fff; }
@media (max-width: 575.98px) {
  .product-box-info, .product-box-buy { padding-left: 1rem; padding-right: 1rem; }
}

/* ---------- Zusatzoptionen zweispaltig ----------
   Kurze Werte wie „Standard" füllen eine volle Zeile nicht aus. Ab Tablet zwei Spalten,
   auf dem Handy bleibt es einspaltig. */
/* ---------- Zusatzoptionen ----------
   Ein abgesetzter Block in der schmalen Leasingspalte. Gruppen stehen als ruhige Liste
   untereinander (eine Zeile Beschriftung + Auswahl), Einzeloptionen als anklickbare
   Karten. Der Betrag ist der monatliche Effekt und kommt aus app.js. */
.opt-box {
  margin: 1rem 0; padding: .75rem .8rem; border: 1px solid #dbe3ee; border-radius: .75rem;
  background: #f8fafc;
}
.opt-box-kopf { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin-bottom: .5rem; }
.opt-box-titel { font-weight: 700; color: var(--fx-primary-dark); }
.opt-box-titel i { color: var(--fx-primary); }
.opt-box-hinweis { font-size: .76rem; color: #6c7a89; }

/* Untereinander statt nebeneinander: in der schmalen Spalte bleiben lange
   Bezeichnungen sonst zerhackt. Einzeloptionen dürfen zu zweit stehen, wenn Platz ist. */
.opt-grid { display: grid; grid-template-columns: 1fr; gap: .45rem; }
.opt-grid > * { min-width: 0; }

/* Optionsgruppe: Beschriftung und Betrag in einer Zeile, darunter die Auswahl */
.opt-gruppe { background: #fff; border: 1px solid #e3e8ef; border-radius: .5rem; padding: .45rem .55rem; }
.opt-gruppe-kopf { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .2rem; }
.opt-gruppe-titel {
  flex: 1 1 auto; min-width: 0; font-size: .78rem; font-weight: 600; color: #33475b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.opt-gruppe-preis { flex: 0 0 auto; font-size: .78rem; font-weight: 700; color: var(--fx-accent); }
.opt-gruppe .form-select { border-color: #dbe3ee; font-size: .82rem; padding: .25rem 1.6rem .25rem .5rem; }
.opt-gruppe:focus-within { border-color: var(--fx-primary); }
.opt-gruppe.gewaehlt { border-color: var(--fx-primary); background: #eef3fb; }
.opt-gruppe.gewaehlt .opt-gruppe-titel { color: var(--fx-primary-dark); }

/* Einzeloption als Karte: die ganze Fläche ist klickbar */
.opt-card {
  display: flex; align-items: center; gap: .5rem; cursor: pointer; user-select: none;
  background: #fff; border: 1px solid #e3e8ef; border-radius: .5rem;
  padding: .4rem .55rem; font-size: .84rem; line-height: 1.3;
  transition: border-color .12s, background .12s;
}
.opt-card:hover { border-color: var(--fx-primary); }
.opt-card .opt-check { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-haken {
  flex: 0 0 auto; width: 1.05rem; height: 1.05rem; border-radius: .25rem;
  border: 1.5px solid #c9d4e2; background: #fff; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .72rem;
}
.opt-haken i { opacity: 0; }
.opt-titel { flex: 1 1 auto; min-width: 0; color: #33475b; }
.opt-preis { flex: 0 0 auto; font-weight: 700; font-size: .8rem; color: var(--fx-primary-dark); white-space: nowrap; }

.opt-card.gewaehlt, .opt-card:has(.opt-check:checked) { border-color: var(--fx-primary); background: #eef3fb; }
.opt-card.gewaehlt .opt-haken, .opt-card:has(.opt-check:checked) .opt-haken { background: var(--fx-primary); border-color: var(--fx-primary); }
.opt-card.gewaehlt .opt-haken i, .opt-card:has(.opt-check:checked) .opt-haken i { opacity: 1; }
.opt-card.gewaehlt .opt-titel, .opt-card:has(.opt-check:checked) .opt-titel { color: var(--fx-primary-dark); font-weight: 600; }
.opt-card.gewaehlt .opt-preis, .opt-card:has(.opt-check:checked) .opt-preis { color: var(--fx-accent); }
/* Anzahlung senkt die Rate – der Betrag steht dann in Grün mit Minus */
.opt-card.minus .opt-preis, .opt-gruppe.minus .opt-gruppe-preis { color: #1a7f4b; }
.opt-card:has(.opt-check:focus-visible) { outline: 2px solid var(--fx-primary); outline-offset: 2px; }

/* ---------- Weitere Zusatzoptionen ein-/ausklappen (ab mehr als 4 Optionen) ---------- */
.opt-more { display: inline-flex; align-items: center; margin-top: .35rem; padding: 0;
  background: none; border: 0; color: var(--fx-primary); font-size: .85rem; font-weight: 600; }
.opt-more:hover { text-decoration: underline; }
.opt-more:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: 2px; border-radius: .2rem; }
.opt-more .opt-more-hide { display: none; }
.opt-more[aria-expanded="true"] .opt-more-show { display: none; }
.opt-more[aria-expanded="true"] .opt-more-hide { display: inline; }

/* ---------- Ratentabelle: Laufzeiten als Zeilen, Leasinganbieter als Spalten ---------- */
/* Bei vielen Anbietern darf die Tabelle in sich scrollen statt die Seite zu sprengen */
.rate-table-wrap { overflow-x: auto; }
.rate-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .85rem; }
/* Vier Tarifspalten müssen in die schmale Leasingspalte passen – deshalb eng gesetzt */
.rate-table thead th { background: var(--fx-primary); color: #fff; font-weight: 600; font-size: .72rem;
  line-height: 1.2; padding: .4rem .25rem; text-align: center; vertical-align: bottom; }
.rate-table thead th:first-child { border-top-left-radius: .5rem; }
.rate-table thead th:last-child { border-top-right-radius: .5rem; }
.rate-table .rt-provider { display: block; font-weight: 700; }
.rate-table td { white-space: nowrap; }
.rate-table thead th { white-space: normal; }   /* lange Anbieternamen dürfen umbrechen */
.rt-note { font-size: .78rem; color: #6c7a89; margin-top: .35rem; line-height: 1.35; }
.rate-table tbody th.rt-term { width: 3.1rem; background: #f5f7fa; color: #33475b; font-weight: 700;
  text-align: center; padding: .45rem .2rem; border-bottom: 1px solid #e6ebf1; }
.rate-table tbody tr:last-child th.rt-term { border-bottom-left-radius: .5rem; }
.rate-table tbody td { border-bottom: 1px solid #e6ebf1; padding: .25rem .15rem; text-align: center; }
.rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-table .rt-empty { color: #adb5bd; }

/* Eine Zelle = eine Kombination aus Anbieter und Laufzeit. Die Tabelle informiert nur –
   gewählt wird im Bestellvorgang (leasingwahl.php), deshalb kein Klick-Aussehen. */
.rate-table tbody tr:hover td, .rate-table tbody tr:hover th.rt-term { background: #f2f5fa; }
/* Preisrot bleibt der günstigsten Rate vorbehalten: alle Zellen rot nimmt der Zahl die Wirkung. */
.term-option .rate-val { display: block; font-weight: 700; font-size: .92rem; color: var(--fx-primary-dark);
  padding: .24rem .1rem; border: 1.5px solid transparent; border-radius: .4rem; white-space: nowrap; }
.term-option.guenstigste .rate-val { border-color: var(--fx-accent); background: #fdf2f2;
  color: var(--fx-accent); font-weight: 800; }

/* Hinweis unter der Rate in der Kaufbox */
.rate-hinweis { font-size: .78rem; color: #6c7a89; line-height: 1.4; margin: .4rem 0 .9rem; }
.rate-hinweis i { color: var(--fx-primary); margin-right: .25rem; }
/* Position ohne Angebot: keine Zahl, sondern Klartext */
.rate-offen { color: #6c7a89; font-weight: 700; font-size: .95rem; }
/* „ab" vor der Rate im Warenkorb */
.rate-badge .rate-ab { color: #6c7a89; font-weight: 600; font-size: .72rem; margin-right: .2rem; }

/* Bartscher-Feedblöcke (div#desc_bartscher Beschreibung, div#tech_bartscher technische Daten)
   sauber ins Shop-Design einpassen */
#desc_bartscher, #tech_bartscher { font-size: .95rem; line-height: 1.65; color: inherit; }
#desc_bartscher::after, #tech_bartscher::after { content: ""; display: block; clear: both; }   /* Floats einfangen */
#desc_bartscher *, #tech_bartscher * {
  max-width: 100% !important;
  font-family: inherit !important;
  color: inherit !important;
  background-color: transparent;
}
#desc_bartscher div, #desc_bartscher section,
#tech_bartscher div, #tech_bartscher section { margin: 0 0 .75rem; }
#desc_bartscher p, #tech_bartscher p { margin: 0 0 .75rem; }
#desc_bartscher h1, #desc_bartscher h2, #desc_bartscher h3,
#desc_bartscher h4, #desc_bartscher h5, #desc_bartscher h6,
#tech_bartscher h1, #tech_bartscher h2, #tech_bartscher h3,
#tech_bartscher h4, #tech_bartscher h5, #tech_bartscher h6 {
  font-size: 1.05rem !important; font-weight: 700 !important;
  color: var(--fx-dark) !important; margin: 1.25rem 0 .5rem; line-height: 1.3;
}
#desc_bartscher ul, #desc_bartscher ol,
#tech_bartscher ul, #tech_bartscher ol { margin: 0 0 1rem; padding-left: 1.25rem; }
#desc_bartscher li, #tech_bartscher li { margin-bottom: .3rem; }
#desc_bartscher ul li::marker, #tech_bartscher ul li::marker { color: var(--fx-primary); }
#desc_bartscher img, #tech_bartscher img {
  height: auto !important; border-radius: .5rem;
  margin: .35rem 0 .75rem; float: none !important; display: block;
}
#desc_bartscher table, #tech_bartscher table {
  width: 100% !important; border-collapse: collapse; margin: 0 0 1rem;
  font-size: .9rem; background: #fff;
}
#desc_bartscher th, #desc_bartscher td,
#tech_bartscher th, #tech_bartscher td {
  border: 1px solid #e6ebf1 !important; padding: .45rem .65rem !important;
  vertical-align: top; text-align: left;
}
#desc_bartscher th, #desc_bartscher tr:first-child td:only-child,
#tech_bartscher th, #tech_bartscher tr:first-child td:only-child { font-weight: 600; }
#desc_bartscher tr:nth-child(even) td, #tech_bartscher tr:nth-child(even) td { background: #f8fafc; }
#desc_bartscher td:first-child, #tech_bartscher td:first-child { width: 45%; }
/* Technische Daten als Definitionsliste (dl/dt/dd) -> zweispaltige Zebra-Optik */
#desc_bartscher dl, #tech_bartscher dl {
  display: grid; grid-template-columns: minmax(45%, auto) 1fr;
  margin: 0 0 1rem; border: 1px solid #e6ebf1; background: #fff;
}
#desc_bartscher dt, #desc_bartscher dd, #tech_bartscher dt, #tech_bartscher dd {
  padding: .45rem .65rem; margin: 0; border-bottom: 1px solid #e6ebf1;
}
#desc_bartscher dt, #tech_bartscher dt { font-weight: 600; }
#desc_bartscher dt:nth-of-type(even), #desc_bartscher dd:nth-of-type(even),
#tech_bartscher dt:nth-of-type(even), #tech_bartscher dd:nth-of-type(even) { background: #f8fafc; }
#desc_bartscher a, #tech_bartscher a { color: var(--fx-primary) !important; text-decoration: underline; }
#desc_bartscher hr, #tech_bartscher hr { margin: 1rem 0; border-color: #e6ebf1; }
#desc_bartscher iframe, #desc_bartscher video,
#tech_bartscher iframe, #tech_bartscher video { display: none; }   /* Fremd-Einbettungen (DSGVO) ausblenden */
@media (max-width: 575.98px) {
  #desc_bartscher td:first-child, #tech_bartscher td:first-child { width: auto; }
  #desc_bartscher dl, #tech_bartscher dl { grid-template-columns: 1fr; }
}

/* Bartscher: tech_row-Zeilen (tech_header links, tech_detail daneben) als saubere Datentabelle */
#desc_bartscher .tech_row, #tech_bartscher .tech_row {
  display: flex; margin: 0 !important;
  border: 1px solid #e6ebf1; border-top: none; background: #fff;
}
#desc_bartscher .tech_row:first-of-type, #tech_bartscher .tech_row:first-of-type { border-top: 1px solid #e6ebf1; }
#desc_bartscher .tech_row:nth-of-type(even), #tech_bartscher .tech_row:nth-of-type(even) { background: #f8fafc; }
#desc_bartscher .tech_header, #tech_bartscher .tech_header {
  flex: 0 0 45%; margin: 0 !important; padding: .45rem .65rem;
  font-weight: 600; text-align: left !important;
}
#desc_bartscher .tech_detail, #tech_bartscher .tech_detail {
  flex: 1; margin: 0 !important; padding: .45rem .65rem; text-align: left !important;
}
@media (max-width: 575.98px) {
  #desc_bartscher .tech_row, #tech_bartscher .tech_row { flex-direction: column; }
  #desc_bartscher .tech_header, #tech_bartscher .tech_header { flex-basis: auto; padding-bottom: 0; }
}

/* Technische Daten: div#tech_details_table mit tech_row / tech_left / tech_right
   -> gleiche Optik wie die Bartscher-Datentabelle */
#tech_details_table { font-size: .95rem; line-height: 1.65; margin: 0 0 1rem; }
#tech_details_table .tech_row {
  display: flex; margin: 0 !important;
  border: 1px solid #e6ebf1; border-top: none; background: #fff;
}
#tech_details_table .tech_row:first-of-type { border-top: 1px solid #e6ebf1; }
#tech_details_table .tech_row:nth-of-type(even) { background: #f8fafc; }
#tech_details_table .tech_left {
  flex: 0 0 45%; margin: 0 !important; padding: .45rem .65rem;
  font-weight: 600; text-align: left !important;
}
#tech_details_table .tech_right {
  flex: 1; margin: 0 !important; padding: .45rem .65rem; text-align: left !important;
}
@media (max-width: 575.98px) {
  #tech_details_table .tech_row { flex-direction: column; }
  #tech_details_table .tech_left { flex-basis: auto; padding-bottom: 0; }
}

/* idealo-Datenblatt-Tabellen (table.datasheet-list) -> Optik wie die Bartscher-Datentabelle */
.datasheet-list {
  width: 100% !important; border-collapse: collapse; margin: 0 0 1rem;
  font-size: .9rem; line-height: 1.6; background: #fff;
}
.datasheet-list td, .datasheet-list th {
  border: 1px solid #e6ebf1 !important; padding: .45rem .65rem !important;
  vertical-align: top; text-align: left !important; float: none !important;
}
.datasheet-list .datasheet-listItemKey { width: 45% !important; font-weight: 600; }
.datasheet-list td p { margin: 0; }
.datasheet-list td span { color: inherit !important; font-size: inherit !important; font-family: inherit !important; }
.datasheet-list tr:nth-child(even) td { background: #f8fafc; }
/* Gruppen-Überschriften ("Energielabeldaten" usw.) über die volle Breite */
.datasheet-list tr.datasheet-listItem--group,
.datasheet-list tr.datasheet-listItem--group th { display: block; width: 100% !important; }
.datasheet-list tr.datasheet-listItem--group th {
  background: #eef3f9; color: var(--fx-dark); font-weight: 700;
  border-top: 1px solid #e6ebf1 !important;
}
@media (max-width: 575.98px) {
  .datasheet-list tr, .datasheet-list td { display: block; width: 100% !important; }
  .datasheet-list .datasheet-listItemKey { padding-bottom: 0 !important; border-bottom: none !important; }
  .datasheet-list td:not(.datasheet-listItemKey) { border-top: none !important; }
}

/* Spec-Panels (div.spec-panel mit spec-heading / spec-row) -> Optik wie die Datentabellen */
.spec-panel { font-size: .9rem; line-height: 1.6; margin: 0 0 1rem; }
.spec-panel .spec-heading {
  background: #eef3f9; color: var(--fx-dark); font-weight: 700;
  padding: .45rem .65rem; border: 1px solid #e6ebf1;
}
.spec-panel .spec-body > .row {
  display: flex; flex-wrap: nowrap; margin: 0 !important;
  border: 1px solid #e6ebf1; border-top: none; background: #fff;
}
.spec-panel .spec-body > .row:nth-child(even) { background: #f8fafc; }
.spec-panel .spec-body > .row > [class*="col-"] {
  flex: 1 1 auto; width: auto !important; max-width: none !important;
  padding: .45rem .65rem !important;
}
.spec-panel .spec-label { flex: 0 0 45% !important; font-weight: 600; text-align: left !important; }
@media (max-width: 575.98px) {
  .spec-panel .spec-body > .row { flex-direction: column; }
  .spec-panel .spec-label { flex-basis: auto !important; padding-bottom: 0 !important; }
}

/* Generische Datentabellen in den Produkt-Tabs (z.B. Feed-Tabellen mit c1–c4-Spalten):
   einheitliche Optik wie die Bartscher-Datentabelle */
.product-tabs table {
  width: 100% !important; border-collapse: collapse; margin: 0 0 1rem;
  font-size: .9rem; line-height: 1.6; background: #fff;
}
.product-tabs table td, .product-tabs table th {
  border: 1px solid #e6ebf1 !important; padding: .45rem .65rem !important;
  vertical-align: top; text-align: left !important;
}
.product-tabs table tr:nth-child(even) td { background: #f8fafc; }
.product-tabs table span { color: inherit !important; font-size: inherit !important; font-family: inherit !important; }
.product-tabs table p { margin: 0; }
/* Hierarchie-Spalten der Feed-Tabellen */
.product-tabs td.c1 { width: 24%; font-weight: 600; }
.product-tabs td.c2 { width: 18%; font-weight: 600; color: #5a6b7d; }
.product-tabs td.c3 { width: 18%; color: #5a6b7d; }
@media (max-width: 575.98px) {
  .product-tabs table { font-size: .8rem; }
  .product-tabs table td, .product-tabs table th { padding: .3rem .4rem !important; }
}

/* Produktsicherheit: Herstellertexte immer in Standard-Schrift und -Farbe */
.psafe-content, .psafe-content * {
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  background-color: transparent;
}
.psafe-content h1, .psafe-content h2, .psafe-content h3,
.psafe-content h4, .psafe-content h5, .psafe-content h6 {
  font-size: 1rem !important; font-weight: 700; margin: .75rem 0 .35rem;
}

/* Ticket-Kundenansicht (ticket.php) */
.ticket-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem;
  padding: 1.1rem 1.4rem; margin-bottom: 1.25rem;
}
.ticket-thread { display: flex; flex-direction: column; gap: 1rem; }
.tmsg { display: flex; gap: .75rem; align-items: flex-start; }
.tmsg-shop { flex-direction: row; }
.tmsg-kunde { flex-direction: row-reverse; }
.tmsg-avatar {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff;
}
.tmsg-shop .tmsg-avatar { background: var(--fx-primary); }
.tmsg-kunde .tmsg-avatar { background: var(--fx-primary); }
.tmsg-bubble {
  max-width: 82%; border: 1px solid #e6ebf1; border-radius: .8rem; padding: .7rem 1rem; background: #fff;
}
.tmsg-kunde .tmsg-bubble { background: #fff6ee; border-color: #f6d9bf; }
.tmsg-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; color: #6c7a89; margin-bottom: .35rem; }
.tmsg-meta strong { color: var(--fx-dark); font-weight: 600; }
.tmsg-text { line-height: 1.55; }
.tmsg-file { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; font-size: .85rem; }
.ticket-reply, .ticket-info { background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem; padding: 1.25rem 1.4rem; }
.ticket-info { position: sticky; top: 1rem; }
.ticket-info-list { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; font-size: .9rem; }
.ticket-info-list dt { color: #6c7a89; font-weight: 500; }
.ticket-info-list dd { margin: 0; font-weight: 600; color: var(--fx-dark); text-align: right; }
@media (max-width: 575.98px) {
  .tmsg-bubble { max-width: 100%; }
}

/* FAQ-Akkordeon: geöffnete Frage in Shopblau */
.accordion-button:not(.collapsed) {
  background-color: var(--fx-primary);
  color: #fff;
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
  /* Pfeil-Icon in Weiß einfärben */
  filter: brightness(0) invert(1);
}
.accordion-button:focus {
  border-color: var(--fx-primary);
  box-shadow: 0 0 0 .2rem rgba(13, 91, 168, .2);
}

/* Frontend-Hinweisbox (Admin -> Hinweisbox): volle Breite, oben */
.site-notice { border-radius: 0; margin-bottom: 0; border-left: 0; border-right: 0; }
.site-notice p:last-child { margin-bottom: 0; }

/* Downloads-Box auf der Artikelseite */
.downloads-box {
  background: #f8fafc; border: 1px solid #e6ebf1;
  border-radius: .75rem; padding: 1rem;
}
.download-item {
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid #e6ebf1; border-radius: .6rem;
  padding: .2rem .45rem; color: var(--fx-dark);
  font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, color .15s;
}
.download-item:hover {
  border-color: var(--fx-primary); color: var(--fx-primary);
  box-shadow: 0 .25rem .6rem rgba(0,0,0,.08);
}
.download-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--fx-primary); color: #fff;
  border-radius: .5rem; font-size: 1.05rem;
}
.download-arrow { color: #9aa8b6; transition: color .15s; }
.download-item:hover .download-arrow { color: var(--fx-primary); }

/* Warenkorb: einheitliche Artikel-Vorschaubilder */
.cart-thumb { width: 100%; height: 90px; object-fit: contain; background: #fff;
  border: 1px solid #e6ebf1; border-radius: .5rem; padding: .3rem; }

/* Echtzeitsuche */
.live-search-results {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 1050;
  background: #fff; border: 1px solid #e6ebf1; border-radius: 0 0 .6rem .6rem;
  box-shadow: 0 .8rem 1.6rem rgba(22,40,60,.15); max-height: 420px; overflow-y: auto;
}
.ls-item { display: flex; gap: .7rem; align-items: center; padding: .55rem .8rem;
  border-bottom: 1px solid #f0f3f8; color: #16283c; text-decoration: none; }
.ls-item:hover { background: var(--fx-bg); }
.ls-item img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.ls-title { font-size: .9rem; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls-rate { font-size: .8rem; color: var(--fx-accent); font-weight: 600; }
.ls-all { display: block; text-align: center; padding: .6rem; font-size: .88rem;
  font-weight: 600; color: var(--fx-primary); text-decoration: none; background: #f8fafc; }
.ls-all:hover { background: var(--fx-bg); }
.ls-empty { padding: .8rem; color: #6c7a89; font-size: .9rem; text-align: center; }

/* Netzteil-Grafiken (Werte werden per CSS auf netzteil.png gelegt) */
.psu-trigger:hover { opacity: .85; }
.psu-box { position: relative; display: inline-block; }
.psu-box img { height: 100%; width: auto; display: block; }
.psu-text {
  position: absolute; left: 6%; right: 6%; top: 36%; bottom: 5%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; line-height: 1.15; text-align: center; color: #000;
}
.psu-text-lg { font-size: 16px; }

/* Cookie-Hinweis */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080;
  background: var(--fx-dark); color: #dbe6f2;
  box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.cookie-banner a { color: #fff; text-decoration: underline; }

.usp-bar { background: #fff; border-top: 1px solid #e6ebf1; color: var(--fx-primary); }
.usp-bar .fw-semibold { color: #16283c; }
.site-footer { background: var(--fx-dark); color: #b8c7d9; }
.site-footer a { color: #d7e4f2; }
.site-footer a:hover { color: #fff; }
.site-footer h5, .site-footer h6 { color: #fff; }

/* Pagination in Shopfarben */
.page-link { color: var(--fx-primary); }
.page-link:hover { color: var(--fx-primary-dark); background: var(--fx-bg); border-color: #dee2e6; }
.page-link:focus { box-shadow: 0 0 0 .2rem rgba(13, 91, 168, .2); color: var(--fx-primary-dark); }
.page-item.active .page-link { background: var(--fx-primary); border-color: var(--fx-primary); color: #fff; }

/* Redaktioneller Beitragstext (Blog): Überschriften auf Seiten-Maßstab bringen */
.article-body { line-height: 1.7; }
.article-body h1, .article-body h2, .article-body h3,
.article-body h4, .article-body h5, .article-body h6 {
  font-weight: 700; color: #16283c; line-height: 1.3; margin: 1.4rem 0 .6rem;
}
.article-body h1 { font-size: 1.35rem; }
.article-body h2 { font-size: 1.2rem; }
.article-body h3 { font-size: 1.1rem; }
.article-body h4, .article-body h5, .article-body h6 { font-size: 1rem; }
.article-body > :first-child { margin-top: 0; }
.article-body img { max-width: 100%; height: auto; border-radius: .4rem; }

/* ---------- Versand & Transportversicherung (Warenkorb) ---------- */
.ins-box { border: 1px solid #d9e3ee; border-radius: .7rem; background: #f7fafd; padding: .85rem .9rem; }
.ins-head { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem;
  color: #16283c; margin-bottom: .6rem; }
.ins-head > .bi-shield-check { color: var(--fx-primary); font-size: 1.1rem; }
.ins-info { color: var(--fx-primary); cursor: help; }

.ins-option { display: flex; align-items: flex-start; gap: .6rem; width: 100%; cursor: pointer;
  background: #fff; border: 1px solid #dbe3ec; border-radius: .55rem; padding: .6rem .7rem; margin-bottom: .5rem;
  transition: border-color .15s, box-shadow .15s, background .15s; }
.ins-option:last-child { margin-bottom: 0; }
.ins-option:hover { border-color: var(--fx-primary); }
.ins-option:has(input:checked),
.ins-option.selected { border-color: var(--fx-primary); background: #eef5fc;
  box-shadow: 0 0 0 2px rgba(13, 91, 168, .15); }
.ins-option .form-check-input { margin-top: .15rem; flex: 0 0 auto; }
.ins-text { display: flex; flex-direction: column; line-height: 1.3; }
.ins-title { font-weight: 600; font-size: .9rem; color: #16283c; }
.ins-sub { font-size: .78rem; color: #6c7a89; margin-top: .1rem; }
.ins-price { margin-left: auto; text-align: right; font-weight: 700; font-size: .9rem;
  white-space: nowrap; color: #16283c; }
.ins-price small { font-size: .68rem; font-weight: 400; }
.ins-badge { font-size: .62rem; vertical-align: middle; }
.badge.text-bg-accent { background: var(--fx-accent); color: #fff; }

/* ---------- Mini-Warenkorb (Dropdown am Warenkorb-Button) ---------- */
.mini-cart { position: relative; }
.mini-cart-panel { position: absolute; right: 0; top: calc(100% + .4rem); width: 340px; max-width: 92vw;
  background: #fff; border: 1px solid #e0e7ee; border-radius: .7rem; box-shadow: 0 12px 30px rgba(22,40,60,.16);
  z-index: 1055; padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s; }
.mini-cart:hover .mini-cart-panel,
.mini-cart:focus-within .mini-cart-panel,
.mini-cart.open .mini-cart-panel { opacity: 1; visibility: visible; transform: translateY(0); }
/* unsichtbare Brücke, damit der Zeiger den Panel erreicht */
.mini-cart-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.5rem; height: .5rem; }

.mini-cart-head { font-weight: 700; font-size: .9rem; color: #16283c; padding: .3rem .5rem .4rem; }
.mini-cart-items { max-height: 46vh; overflow-y: auto; overscroll-behavior: contain; }
.mini-cart-items::-webkit-scrollbar { width: 6px; }
.mini-cart-items::-webkit-scrollbar-thumb { background: #cfd8e3; border-radius: 3px; }
.mini-cart-item { display: flex; align-items: center; gap: .55rem; padding: .45rem .5rem; border-radius: .5rem;
  text-decoration: none; color: inherit; }
.mini-cart-item:hover { background: #f2f6fb; }
.mini-cart-item img { width: 44px; height: 44px; object-fit: contain; background: #fff;
  border: 1px solid #eef2f6; border-radius: .35rem; flex: 0 0 auto; }
.mci-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.mci-title { font-size: .82rem; font-weight: 600; color: #16283c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mci-opt { font-size: .72rem; color: #5b6b7c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mci-sub { font-size: .72rem; color: #8a97a5; }
.mci-rate { font-size: .82rem; font-weight: 700; color: var(--fx-accent); white-space: nowrap; }
.mini-cart-sum { display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #eef2f6; margin-top: .3rem; padding: .5rem .5rem .3rem; font-size: .88rem; }
.mini-cart-actions { padding: .4rem .5rem .3rem; }
@media (max-width: 575px) { .mini-cart-panel { position: fixed; left: .5rem; right: .5rem; width: auto; top: 64px; } }

/* ---------- Anfrage-Formular: Schritte, Luft, klare Gliederung ---------- */
.form-card { border: 1px solid #e6ebf1; border-radius: .8rem; }
.form-card .card-body { padding: 1.4rem 1.5rem; }
.form-card .form-label { font-size: .82rem; font-weight: 600; color: #5b6b7c; margin-bottom: .25rem; }
.form-card .form-control, .form-card .form-select { padding: .55rem .75rem; }
.form-card .form-control:focus, .form-card .form-select:focus {
  border-color: var(--fx-primary); box-shadow: 0 0 0 .18rem rgba(13, 91, 168, .12); }
.form-card .input-group-text { background: #f5f8fc; color: var(--fx-primary); border-right: 0; }
.form-card .input-group .form-control { border-left: 0; }

.form-step { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.1rem;
  padding-bottom: .8rem; border-bottom: 1px solid #eef2f6; }
.form-step-no { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--fx-primary); color: #fff; font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center; }
.form-step-title { font-size: 1.02rem; font-weight: 700; color: #16283c; margin: 0; line-height: 1.3; }
.form-step-sub { font-size: .8rem; color: #8a97a5; margin: .1rem 0 0; }

/* Abschlussblock: soll sich vom Rest abheben, ohne laut zu werden */
.form-card-final { background: linear-gradient(160deg, #f7fafd 0%, #eef4fb 100%);
  border-color: #d8e4f2; }
.anfrage-senden { border-radius: .7rem; font-weight: 700; padding: .8rem 1rem;
  box-shadow: 0 .4rem 1rem rgba(61, 78, 128, .25); }
@media (max-width: 575px) { .form-card .card-body { padding: 1.1rem 1rem; } }

/* Zusammenfassung scrollt auf großen Bildschirmen mit */
@media (min-width: 992px) { .anfrage-sum { position: sticky; top: 1rem; } }
/* Auf schmalen Bildschirmen gehört die Auswahl VOR das Formular – sonst sieht der Kunde
   erst nach dem Ausfüllen, worauf er sich bezieht. */
@media (max-width: 991.98px) { .anfrage-spalte { order: -1; } }

/* ---------- „Ihre Auswahl" auf der Anfrageseite ---------- */
.sum-list { list-style: none; margin: 0 0 .5rem; padding: 0; }
.sum-item { display: flex; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid #eef2f6; }
.sum-item img { width: 48px; height: 48px; object-fit: contain; background: #fff;
  border: 1px solid #eef2f6; border-radius: .4rem; flex: 0 0 auto; }
.sum-text { flex: 1 1 auto; min-width: 0; }
.sum-title { font-size: .86rem; font-weight: 600; color: #16283c; line-height: 1.3; }
.sum-qty { color: var(--fx-primary); }
/* Bei umbrechendem Optionstext gehört das Zeichen an die erste Zeile, nicht in die Mitte */
.sum-opt { font-size: .76rem; color: #5b6b7c; display: flex; align-items: flex-start; gap: .3rem;
  margin-top: .1rem; line-height: 1.35; }
.sum-opt i { margin-top: .22rem; }
.sum-opt i { font-size: .62rem; color: var(--fx-primary); }
/* Anzahlung mindert die Rate – grün mit Minus, wie im übrigen Shop */
.sum-opt.minus { color: #1c6b3a; }
.sum-opt.minus i { color: #1c6b3a; }

/* Gewähltes Leasingangebot – die eigentliche Entscheidung, deshalb ganz oben */
.sum-wahl { background: linear-gradient(160deg, #f6f9fd 0%, #eef4fb 100%);
  border: 1px solid #dbe6f4; border-radius: .75rem; padding: .7rem .8rem; margin-bottom: .9rem; }
.sum-wahl-label { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #1c6b3a; }
.sum-wahl-label i { font-size: .8rem; }
.sum-wahl-anbieter { display: block; font-weight: 700; color: var(--fx-primary-dark);
  font-size: .98rem; margin: .15rem 0 .4rem; }
.sum-wahl-zeile { display: flex; flex-wrap: wrap; gap: .3rem; }
.sum-pille { display: inline-flex; align-items: center; gap: .25rem; font-size: .74rem; font-weight: 600;
  color: #33475b; background: #fff; border: 1px solid #e3e8ef; border-radius: 1rem; padding: .12rem .55rem; }
.sum-pille i { color: var(--fx-primary); font-size: .72rem; }
.sum-pille.fs { border-color: #cfe6d5; background: #f2fbf5; color: #1c6b3a; }
.sum-pille.fs i { color: #1c6b3a; }

/* Vertrauenszeilen unter der Summe */
.sum-vertrauen { list-style: none; margin: .9rem 0 0; padding: .8rem 0 0; display: grid; gap: .4rem;
  border-top: 1px solid #eef2f6; font-size: .78rem; color: #6c7a89; }
.sum-vertrauen li { display: flex; align-items: center; gap: .45rem; }
.sum-vertrauen i { color: var(--fx-primary); font-size: .9rem; }
.sum-meta { font-size: .74rem; color: #8a97a5; margin-top: .15rem; }
.sum-rate { text-align: right; font-weight: 700; font-size: .9rem; color: #16283c; white-space: nowrap; }
.sum-rate small { display: block; font-size: .68rem; font-weight: 400; color: #8a97a5; }
.sum-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  font-size: .85rem; padding: .6rem 0; border-bottom: 1px solid #eef2f6; }
.sum-total { display: flex; justify-content: space-between; align-items: center;
  padding-top: .7rem; font-size: 1rem; font-weight: 600; }
.sum-total strong { font-size: 1.15rem; }

/* Kleine Hinweiszeilen unter der Warenkorb-Summe */
.cart-notes { list-style: none; margin: .6rem 0 .9rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.cart-notes li { display: inline-flex; align-items: center; gap: .3rem;
  font-size: .74rem; color: #8a97a5; line-height: 1.3; }
.cart-notes i { font-size: .82rem; color: var(--fx-primary); opacity: .75; }
.cart-notes a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cart-notes a:hover { color: var(--fx-primary); }

/* Tooltip zur Transportversicherung: breiter und linksbündig lesbar */
.ins-tooltip .tooltip-inner { max-width: 420px; text-align: left; font-size: .82rem; line-height: 1.45; }

/* SEO-Optimierungstext unter „Zuletzt angesehen" auf der Artikelseite */
.seo-text { font-size: .9rem; color: #5b6b7c; border-top: 1px solid #e6ebf1; padding-top: 1.2rem; }
.seo-text h1, .seo-text h2, .seo-text h3, .seo-text h4 { color: #16283c; }

/* Seitenleiste einer CMS-Seite (Unterseiten, Tag-Seiten, Hilfe-Box) */
.cms-help-box { position: sticky; top: 1rem; }
.cms-help-box .card-body { background: #f4f8fc; border-radius: .5rem; }
.sidebar-box .card-body { background: #fff; border-radius: .5rem; }
.sidebar-links .list-group-item { border: none; font-size: .92rem; color: #16283c; background: transparent; }
.sidebar-links .list-group-item:hover { color: #0d5ba8; }
.sidebar-links .list-group-item i { color: var(--fx-primary); }

.section-title { font-weight: 700; color: #16283c; position: relative; padding-bottom: .5rem; margin-bottom: 1.5rem; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--fx-primary); border-radius: 2px; }

@media (max-width: 575px) {
  /* Mobil: 3:1 wäre zu flach für den Textblock -> etwas höher, Bild mittig (leichter Randbeschnitt) */
  .hero-slide { aspect-ratio: auto; min-height: 230px; }
  .hero-content { margin: 1rem; padding: 1rem 1.2rem; }
  .hero-content h2 { font-size: 1.3rem; }
}

/* ---------- Leasingrechner (leasingrechner.php) ----------
   Eigenständige Seite: Kopfbereich, darunter die Eingabekarte (schiebt sich in den
   Kopf hinein), das Ergebnis groß und die vollständige Tarifvergleichstabelle.
   Farben wie im Shop, Rot bleibt der Rate vorbehalten. */
.lr-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--fx-primary-dark) 0%, var(--fx-primary) 55%, #4a5c93 100%);
  color: #fff; border-radius: 1.25rem;
  /* Unten Luft lassen: Die Eingabekarte schiebt sich hinein, ohne den Text zu verdecken. */
  padding: 2.25rem 1.75rem 5rem; margin-bottom: -3.25rem;
}
/* Zwei weiche Lichtpunkte geben dem Farbverlauf Tiefe – rein dekorativ */
.lr-hero::before, .lr-hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.lr-hero::before {
  width: 22rem; height: 22rem; right: -6rem; top: -9rem;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
}
.lr-hero::after {
  width: 16rem; height: 16rem; right: 7rem; bottom: -9rem;
  background: radial-gradient(circle, rgba(255, 122, 0, .18), transparent 70%);
}
.lr-hero-text { max-width: 46rem; position: relative; }
.lr-kicker {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .6rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 2rem; padding: .25rem .75rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .02em;
}
.lr-titel { font-size: 2.1rem; font-weight: 800; margin: 0 0 .45rem; color: #fff; letter-spacing: -.01em; }
.lr-lead { margin: 0; opacity: .92; line-height: 1.55; max-width: 42rem; }
.lr-lead strong { color: #fff; }
.lr-chips {
  display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1rem 0 0; padding: 0;
}
.lr-chips li {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 500;
  background: rgba(255, 255, 255, .1); border-radius: .5rem; padding: .3rem .65rem;
}
.lr-chips i { opacity: .8; }

.lr-form {
  display: grid; gap: 1.25rem 1.5rem; align-items: start;
  grid-template-columns: minmax(11rem, .8fr) minmax(12rem, 1fr) minmax(16rem, 1.4fr);
  background: #fff; border: 1px solid #e3e8ef; border-radius: 1.25rem;
  padding: 1.6rem; margin: 0 1rem 1.5rem; position: relative;
  box-shadow: 0 1rem 2.5rem rgba(13, 59, 112, .14);
}
.lr-feld { min-width: 0; }
.lr-label { display: block; font-size: .78rem; font-weight: 700; color: var(--fx-primary-dark);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: .45rem; }
.lr-hilfe { display: block; font-size: .78rem; color: #6c7a89; margin-top: .5rem; line-height: 1.4; }

/* Kundentyp als Segmentschalter */
.lr-schalter { display: flex; gap: .4rem; }
.lr-schalter-btn {
  flex: 1 1 0; text-align: center; cursor: pointer; user-select: none;
  border: 2px solid #dbe3ee; border-radius: .7rem; padding: .55rem .4rem;
  font-weight: 600; color: #33475b; background: #f8fafc;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.lr-schalter-btn i { display: block; font-size: 1.1rem; margin-bottom: .1rem; opacity: .75; }
.lr-schalter-btn input { position: absolute; opacity: 0; pointer-events: none; }
.lr-schalter-btn:hover { border-color: var(--fx-primary); background: #fff; }
.lr-schalter-btn.an, .lr-schalter-btn:has(input:checked) {
  border-color: var(--fx-primary); background: var(--fx-primary); color: #fff;
  box-shadow: 0 .35rem .9rem rgba(61, 78, 128, .28);
}
.lr-schalter-btn.an i, .lr-schalter-btn:has(input:checked) i { opacity: 1; }

.lr-form .form-select { border-radius: .7rem; padding-top: .6rem; padding-bottom: .6rem; }
.lr-preis { position: relative; }
.lr-preis .form-control {
  font-size: 1.6rem; font-weight: 800; padding: .55rem 2.6rem .55rem .9rem;
  color: var(--fx-primary-dark); border-radius: .7rem; border-color: #dbe3ee;
}
.lr-preis .form-control:focus { border-color: var(--fx-primary); box-shadow: 0 0 0 .2rem rgba(61, 78, 128, .15); }
.lr-waehrung { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; font-weight: 700; color: #9aa7b4; pointer-events: none; }

/* Schieber: eigener Bahn- und Griffstil, damit er zur Karte passt */
.lr-schieber { margin-top: .7rem; }
.lr-form .form-range { width: 100%; height: 1.4rem; background: transparent; -webkit-appearance: none; appearance: none; }
.lr-form .form-range:focus { outline: none; }
.lr-form .form-range::-webkit-slider-runnable-track {
  height: .4rem; border-radius: 1rem; background: linear-gradient(90deg, var(--fx-primary), #7d8cbb);
}
.lr-form .form-range::-moz-range-track { height: .4rem; border-radius: 1rem; background: #dbe3ee; }
.lr-form .form-range::-moz-range-progress { height: .4rem; border-radius: 1rem; background: var(--fx-primary); }
.lr-form .form-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; margin-top: -.35rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff;
  border: 3px solid var(--fx-primary); box-shadow: 0 .2rem .5rem rgba(13, 59, 112, .25);
  cursor: pointer; transition: transform .12s;
}
.lr-form .form-range::-moz-range-thumb {
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff;
  border: 3px solid var(--fx-primary); box-shadow: 0 .2rem .5rem rgba(13, 59, 112, .25); cursor: pointer;
}
.lr-form .form-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.lr-skala { display: flex; justify-content: space-between; font-size: .72rem; color: #9aa7b4;
  font-weight: 600; margin-top: -.15rem; }

/* Schnellwahl häufiger Beträge */
.lr-schnell { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.lr-schnell-btn {
  border: 1px solid #dbe3ee; background: #f8fafc; color: #33475b; cursor: pointer;
  border-radius: 2rem; padding: .25rem .7rem; font-size: .8rem; font-weight: 600;
  transition: all .15s;
}
.lr-schnell-btn:hover { border-color: var(--fx-primary); color: var(--fx-primary); background: #fff; }
.lr-schnell-btn.an { background: var(--fx-primary); border-color: var(--fx-primary); color: #fff; }

/* Der Knopf ist nur die Rückfalllösung – die Auswahl rechnet schon beim Ändern neu.
   Deshalb rechtsbündig statt über die ganze Breite. */
.lr-feld-aktion { grid-column: 1 / -1; justify-self: end; }
.lr-feld-aktion .btn { width: auto; min-width: 14rem; padding: .7rem 1.6rem; font-size: 1rem;
  border-radius: .7rem; font-weight: 700; box-shadow: 0 .35rem .9rem rgba(61, 78, 128, .25); }

/* Ergebnis */
.lr-ergebnis {
  display: grid; gap: 0; grid-template-columns: minmax(15rem, 22rem) 1fr;
  align-items: stretch; background: #fff; border: 1px solid #e3e8ef; border-radius: 1.25rem;
  overflow: hidden; margin: 0 1rem 1rem; box-shadow: 0 .5rem 1.5rem rgba(13, 59, 112, .1);
}
.lr-best {
  text-align: center; padding: 1.6rem 1.35rem;
  background: linear-gradient(160deg, #fff 0%, #fdf3f3 100%);
  border-right: 1px solid #f0dede;
}
.lr-best-label {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700;
  color: var(--fx-accent); text-transform: uppercase; letter-spacing: .06em;
  background: rgba(202, 21, 21, .08); border-radius: 2rem; padding: .22rem .7rem; margin-bottom: .5rem;
}
.lr-best-rate { display: block; font-size: 2.9rem; font-weight: 800; line-height: 1.05;
  color: var(--fx-accent); letter-spacing: -.02em; }
.lr-best-rate small { font-size: .95rem; font-weight: 600; color: #9aa7b4; letter-spacing: 0; }
.lr-best-zusatz { display: block; font-size: .8rem; color: #6c7a89; margin-top: .15rem; }
.lr-best-pillen { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: .9rem; }
.lr-pille {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600;
  color: #33475b; background: #fff; border: 1px solid #e3e8ef; border-radius: 2rem; padding: .25rem .65rem;
}
.lr-pille i { color: var(--fx-primary); }
.lr-pille-fs { border-color: #cfe6d5; background: #f2fbf5; color: #1c6b3a; }
.lr-pille-fs i { color: #1c6b3a; }
.lr-best-info { display: grid; align-content: center; gap: .7rem; font-size: .92rem; color: #33475b;
  padding: 1.6rem 1.5rem; }
.lr-best-info div { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.45; }
.lr-best-info i { color: var(--fx-primary); font-size: 1.05rem; line-height: 1.35; }

/* Vergleichstabelle */
.lr-tabelle { background: #fff; border: 1px solid #e3e8ef; border-radius: 1.25rem;
  padding: 1.35rem; margin: 0 1rem 1.5rem; box-shadow: 0 .5rem 1.5rem rgba(13, 59, 112, .06); }
.lr-tabelle-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .5rem; margin-bottom: .9rem; }
.lr-tabelle-titel { font-size: 1.02rem; font-weight: 700; color: var(--fx-primary-dark); margin: 0;
  display: flex; align-items: center; gap: .45rem; }
.lr-tabelle-titel i { color: var(--fx-primary); }
.lr-tabelle-hinweis { font-size: .8rem; color: #6c7a89; }
.lr-tabelle .rate-table { font-size: .92rem; }
/* Wenige Spalten (privat: nur Modulat) nicht über die ganze Breite ziehen */
.lr-tabelle.lr-schmal .rate-table { max-width: 32rem; margin: 0 auto; }
.lr-tabelle .rate-table thead th { font-size: .76rem; padding: .6rem .5rem; }
.lr-tabelle .rate-table tbody td { padding: .1rem .3rem; position: relative; }
.lr-tabelle .rate-table tbody tr:nth-child(even) td,
.lr-tabelle .rate-table tbody tr:nth-child(even) th.rt-term { background: #fafbfd; }
.lr-tabelle .rate-table tbody tr:hover td,
.lr-tabelle .rate-table tbody tr:hover th.rt-term { background: #eef2f8; }
.lr-tabelle .rate-table tbody th.rt-term { width: 4rem; font-size: .88rem; }
/* Trennlinie zwischen den Anbietern */
.lr-tabelle .rate-table .lr-trenner { border-left: 2px solid #e3e8ef; }
.lr-tabelle .rate-table thead th.lr-trenner { border-left: 2px solid rgba(255, 255, 255, .35); }
.lr-tabelle .lr-rate { display: block; font-weight: 700; font-size: 1.02rem;
  color: var(--fx-primary-dark); padding: .45rem .2rem; }
.lr-tabelle .lr-best-zelle,
.lr-tabelle .rate-table tbody tr:hover td.lr-best-zelle { background: #fdeaea; }
.lr-tabelle .lr-best-zelle .lr-rate { color: var(--fx-accent); font-weight: 800; font-size: 1.1rem;
  padding-bottom: .1rem; }
.lr-best-tag {
  display: block; font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--fx-accent); padding-bottom: .35rem;
}
.lr-fuss { font-size: .8rem; color: #6c7a89; margin: 1rem 0 0; line-height: 1.5;
  border-top: 1px solid #eef1f5; padding-top: .9rem; }
.lr-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.lr-cta .btn { border-radius: .7rem; font-weight: 600; }

.lr-leer { text-align: center; background: #fff; border: 1px solid #e3e8ef; border-radius: 1.25rem;
  padding: 2.5rem 1.5rem; margin: 0 1rem 1.5rem; color: #33475b;
  box-shadow: 0 .5rem 1.5rem rgba(13, 59, 112, .06); }
.lr-leer-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 3.4rem; height: 3.4rem;
  border-radius: 50%; background: #eef2f8; color: var(--fx-primary); font-size: 1.5rem;
  margin-bottom: .8rem;
}
.lr-leer-warn { background: #fdeaea; color: var(--fx-accent); }
.lr-leer p { max-width: 34rem; margin: 0 auto; }

@media (max-width: 991.98px) {
  .lr-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lr-feld-preis { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  .lr-hero { padding: 1.6rem 1.25rem 4rem; margin-bottom: -2.5rem; border-radius: 1rem; }
  .lr-titel { font-size: 1.55rem; }
  .lr-form { grid-template-columns: 1fr; padding: 1.15rem; }
  .lr-feld-aktion { justify-self: stretch; }
  .lr-feld-aktion .btn { width: 100%; min-width: 0; }
  .lr-form, .lr-ergebnis, .lr-tabelle, .lr-leer { margin-left: 0; margin-right: 0; }
  .lr-ergebnis { grid-template-columns: 1fr; }
  .lr-best { border-right: 0; border-bottom: 1px solid #f0dede; padding: 1.25rem; }
  .lr-best-rate { font-size: 2.4rem; }
  .lr-best-info { padding: 1.25rem; }
  .lr-tabelle { padding: 1rem .8rem; }
  /* Monatsspalte beim seitlichen Scrollen stehen lassen */
  .lr-tabelle .rate-table tbody th.rt-term,
  .lr-tabelle .rate-table thead th.rt-term { position: sticky; left: 0; z-index: 2; }
  .lr-tabelle .rate-table tbody th.rt-term { background: #f5f7fa; }
}

/* ---------- Lange Texte kürzen ("Mehr lesen") ----------
   Greift bei Artikelbeschreibung und technischen Daten. Ohne JavaScript bleibt der Text
   vollständig sichtbar – die Klasse setzt erst app.js, wenn wirklich zu viel Text da ist. */
.text-kurz { position: relative; overflow: hidden; }
.text-kurz:not(.offen) { max-height: var(--text-kurz-hoehe, 22rem); }
.text-kurz:not(.offen)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}
.text-mehr {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; padding: .35rem .9rem;
  background: #fff; border: 1.5px solid var(--fx-primary); border-radius: 2rem;
  color: var(--fx-primary); font-size: .88rem; font-weight: 600; cursor: pointer;
}
.text-mehr:hover { background: var(--fx-primary); color: #fff; }
.text-mehr:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: 2px; }
.text-mehr .bi { transition: transform .15s; }
.text-mehr[aria-expanded="true"] .bi { transform: rotate(180deg); }

/* ---------- Leasingwahl (leasingwahl.php) ----------
   Schritt zwischen Warenkorb und Anfrage: Anbieter, Laufzeit und Full Service für den
   ganzen Warenkorb. Die Tabelle ist hier anders als auf der Artikelseite anklickbar. */
.lw-schritte { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem;
  margin: .5rem 0 1.25rem; font-size: .85rem; }
.lw-schritt { display: inline-flex; align-items: center; gap: .45rem; color: #9aa7b4; font-weight: 600;
  text-decoration: none; }
.lw-schritt .lw-nr { display: inline-flex; align-items: center; justify-content: center;
  width: 1.55rem; height: 1.55rem; border-radius: 50%; background: #e8edf4; color: #6c7a89;
  font-size: .8rem; font-weight: 700; }
.lw-schritt.erledigt { color: var(--fx-primary); }
.lw-schritt.erledigt .lw-nr { background: #d9f2e2; color: #1c6b3a; }
.lw-schritt.aktiv { color: var(--fx-primary-dark); }
.lw-schritt.aktiv .lw-nr { background: var(--fx-primary); color: #fff; }
.lw-lead { max-width: 46rem; color: #33475b; line-height: 1.55; }

.lw-gruppe { background: #fff; border: 1px solid #e3e8ef; border-radius: 1rem; padding: 1.25rem;
  margin-bottom: 1.25rem; box-shadow: 0 .35rem 1rem rgba(13, 59, 112, .06); }
.lw-gruppe-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
  border-bottom: 1px solid #eef1f5; padding-bottom: .7rem; margin-bottom: .9rem; }
.lw-gruppe-nr { font-weight: 700; color: var(--fx-primary-dark); }
.lw-gruppe-hinweis { font-size: .82rem; color: #6c7a89; }

/* Artikelauflistung: kompakte Kacheln, damit klar ist, worauf sich die Raten beziehen */
.lw-artikel-kopf { display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-bottom: .5rem; }
.lw-artikel-titel { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #6c7a89; }
.lw-artikel-titel i { color: var(--fx-primary); font-size: .95rem; }
.lw-artikel-link { font-size: .82rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }

.lw-artikel { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .5rem; }
.lw-artikel li { display: flex; align-items: center; gap: .85rem; padding: .6rem .75rem;
  background: #f8fafc; border: 1px solid #eef1f5; border-radius: .75rem;
  transition: border-color .12s, background .12s; }
.lw-artikel li:hover { background: #fff; border-color: #dbe3ee; }
.lw-bild { position: relative; flex: 0 0 auto; }
.lw-artikel img { width: 3.5rem; height: 3.5rem; object-fit: contain; background: #fff;
  border: 1px solid #e6ebf1; border-radius: .6rem; padding: .2rem; display: block; }
/* Stückzahl als Marke an der Ecke – spart eine eigene Zeile */
.lw-menge { position: absolute; top: -.4rem; right: -.4rem; min-width: 1.35rem; height: 1.35rem;
  padding: 0 .3rem; border-radius: 1rem; background: var(--fx-primary); color: #fff;
  font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 .15rem .4rem rgba(13, 59, 112, .25); }
.lw-artikel-text { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.lw-name { font-weight: 600; font-size: .92rem; color: var(--fx-primary-dark); line-height: 1.3; }
.lw-name:hover { color: var(--fx-primary); }
.lw-sku { font-size: .75rem; color: #9aa7b4; }
.lw-opts { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .15rem; }
.lw-opt { display: inline-flex; align-items: center; gap: .2rem; font-size: .74rem; font-weight: 600;
  color: #4a5c78; background: #fff; border: 1px solid #e3e8ef; border-radius: 1rem;
  padding: .1rem .5rem; }
.lw-opt i { font-size: .7rem; }
/* Anzahlung senkt den Objektwert – deshalb grün und mit Minus */
.lw-opt.minus { color: #1c6b3a; border-color: #cfe6d5; background: #f2fbf5; }

/* Überschrift über der Ratenauswahl */
.lw-wahl-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .35rem 1rem; border-top: 1px solid #eef1f5; padding-top: .9rem; margin-bottom: .7rem; }
.lw-wahl-titel { font-size: 1rem; font-weight: 700; color: var(--fx-primary-dark); margin: 0;
  display: flex; align-items: center; gap: .45rem; }
.lw-wahl-titel i { color: var(--fx-primary); }
.lw-wahl-hinweis { font-size: .8rem; color: #6c7a89; }

/* Auswahltabelle: jede Zelle ist ein Radiofeld über der Gesamtrate der Gruppe */
.lw-tabelle .rate-table { font-size: .92rem; }
.lw-tabelle .rate-table thead th { font-size: .76rem; padding: .55rem .5rem; }
.lw-tabelle .rate-table tbody th.rt-term { width: 4rem; font-size: .88rem; }
.lw-tabelle .rate-table tbody td { padding: .15rem .25rem; }
.lw-tabelle .lw-trenner { border-left: 2px solid #e3e8ef; }
.lw-tabelle thead th.lw-trenner { border-left: 2px solid rgba(255, 255, 255, .35); }
.lw-wahl { position: relative; display: block; cursor: pointer; border: 1.5px solid transparent;
  border-radius: .5rem; padding: .4rem .3rem; transition: border-color .12s, background .12s; }
.lw-wahl input { position: absolute; opacity: 0; pointer-events: none; }
.lw-wahl:hover { border-color: var(--fx-primary); background: #f6f9fd; }
.lw-rate { display: block; font-weight: 700; color: var(--fx-primary-dark); white-space: nowrap; }
.lw-haken { display: none; position: absolute; top: -.45rem; right: -.35rem; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--fx-accent); color: #fff; font-size: .7rem;
  align-items: center; justify-content: center; }
.lw-wahl.gewaehlt { border-color: var(--fx-accent); background: #fdf2f2; }
.lw-wahl.gewaehlt .lw-rate { color: var(--fx-accent); font-weight: 800; }
.lw-wahl.gewaehlt .lw-haken { display: inline-flex; }
.lw-wahl input:focus-visible + .lw-rate { outline: 2px solid var(--fx-primary); outline-offset: 2px; }

.lw-gewaehlt { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; padding: .65rem .85rem;
  border-radius: .7rem; background: #f5f7fa; color: #6c7a89; font-size: .9rem; }
.lw-gewaehlt i { color: #c6d0da; }
.lw-gewaehlt.an { background: #f2fbf5; color: #1c6b3a; }
.lw-gewaehlt.an i { color: #1c6b3a; }
.lw-gewaehlt strong { color: inherit; }

.lw-info { display: grid; gap: .55rem; font-size: .88rem; color: #6c7a89; margin: 0 0 1.25rem;
  line-height: 1.45; }
.lw-info div { display: flex; gap: .5rem; align-items: flex-start; }
.lw-info i { color: var(--fx-primary); font-size: 1rem; line-height: 1.35; }
.lw-aktion { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between;
  align-items: center; margin-bottom: 2rem; }
.lw-aktion .btn { border-radius: .7rem; font-weight: 600; }

@media (max-width: 575.98px) {
  .lw-gruppe { padding: 1rem .8rem; }
  /* Bei umbrechenden Titeln sieht ein mittig sitzendes Bild schief aus */
  .lw-artikel li { align-items: flex-start; }
  .lw-bild { margin-top: .15rem; }
  .lw-opt { max-width: 100%; }
  .lw-aktion { flex-direction: column-reverse; align-items: stretch; }
  .lw-aktion .btn { width: 100%; }
  .lw-tabelle .rate-table tbody th.rt-term,
  .lw-tabelle .rate-table thead th.rt-term { position: sticky; left: 0; z-index: 2; }
  .lw-tabelle .rate-table tbody th.rt-term { background: #f5f7fa; }
}

/* ---------- Danke-Seite nach der Anfrage (anfrage.php?danke=1) ----------
   Der Kunde hat gerade persönliche Daten herausgegeben – die Seite soll bestätigen,
   einordnen und den nächsten Schritt zeigen, statt nur „Danke" zu sagen. */
.danke { max-width: 46rem; margin: 1rem auto 2.5rem; }
.danke-kopf { text-align: center; margin-bottom: 1.5rem; }
.danke-haken {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4.5rem; height: 4.5rem; border-radius: 50%; margin-bottom: .9rem;
  background: linear-gradient(160deg, #eafaf0 0%, #d6f2e1 100%);
  color: #1c6b3a; font-size: 2.2rem; border: 2px solid #bfe8cf;
}
.danke-titel { font-size: 1.9rem; font-weight: 800; color: var(--fx-primary-dark); margin: 0 0 .5rem; }
.danke-lead { color: #33475b; line-height: 1.55; margin: 0 auto; max-width: 34rem; }

.danke-nummer {
  text-align: center; background: #fff; border: 1px solid #e3e8ef; border-radius: 1rem;
  padding: 1.1rem 1.25rem; margin-bottom: 1rem; box-shadow: 0 .35rem 1rem rgba(13, 59, 112, .07);
}
.danke-nummer-label { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #6c7a89; margin-bottom: .3rem; }
.danke-nummer-wert { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: .02em;
  color: var(--fx-primary-dark); font-variant-numeric: tabular-nums; }
.danke-nummer-hinweis { display: block; font-size: .8rem; color: #6c7a89; margin-top: .5rem;
  line-height: 1.45; }

.danke-mail { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; color: #33475b;
  background: #f2fbf5; border: 1px solid #cfe6d5; border-radius: .75rem; padding: .7rem .9rem;
  margin-bottom: 1.5rem; line-height: 1.45; }
.danke-mail i { color: #1c6b3a; font-size: 1.05rem; margin-top: .1rem; }

.danke-h2 { font-size: 1.05rem; font-weight: 700; color: var(--fx-primary-dark); margin: 0 0 .9rem; }
.danke-schritte ol { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .6rem; }
.danke-schritte li { display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border: 1px solid #e3e8ef; border-radius: .85rem; padding: .9rem 1rem; }
.danke-nr { flex: 0 0 auto; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--fx-primary); color: #fff; font-weight: 700; font-size: .88rem;
  display: inline-flex; align-items: center; justify-content: center; }
.danke-text { display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; }
.danke-text strong { color: var(--fx-primary-dark); }
.danke-text span { color: #6c7a89; line-height: 1.45; }

.danke-aktion { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.danke-aktion .btn { border-radius: .7rem; font-weight: 600; }
.danke-kontakt { text-align: center; font-size: .88rem; color: #6c7a89; margin: 1.25rem 0 0; }
.danke-kontakt i { color: var(--fx-primary); margin-right: .3rem; }

@media (max-width: 575.98px) {
  .danke-titel { font-size: 1.45rem; }
  .danke-nummer-wert { font-size: 1.15rem; }
  .danke-aktion .btn { width: 100%; }
}

/* Versandhinweis für Privatkunden – ohne wählbare Transportversicherung */
.ins-box-privat .ins-head { margin-bottom: .35rem; }
.ins-privat-text { font-size: .82rem; color: #6c7a89; margin: 0; line-height: 1.45; }


/* ---------- Gastrohandel.de: Marke, Preise, Leasing-Hinweis ---------- */
.brand-logo { display: flex; flex-direction: column; line-height: 1; }
.brand-logo img { height: 38px; width: auto; }
.brand-zusatz { font-size: .7rem; color: #6c7a89; letter-spacing: .02em; margin-top: .2rem; }
.b2b-hinweis { font-weight: 600; }
.preis-netto { color: var(--fx-accent); font-weight: 800; font-size: 1.2rem; }
.preis-netto small { color: #6c7a89; font-weight: 400; font-size: .75rem; }
.preis-brutto { color: #6c7a89; font-size: .78rem; }
.leasing-hinweis { color: var(--fx-primary); }
.preisbox { border-bottom: 1px solid #e6ebf1; padding-bottom: .75rem; }
/* JURA Markenwelt (CMS-Seite jura-markenwelt, setup/start-jura.sql) */
.markenwelt-titel { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; font-size: 1.6rem; margin-bottom: 1.5rem; }
.markenwelt-titel img { height: 52px; width: auto; }
.markenwelt-slider { border-radius: .75rem; overflow: hidden; }
.markenwelt-slider a { color: inherit; text-decoration: none; }
.markenwelt-folie { position: absolute; top: 50%; right: 7%; transform: translateY(-50%); width: 38%; color: #1c1f23; }
.markenwelt-folie strong { display: block; font-size: clamp(1.4rem, 3.2vw, 2.6rem); font-weight: 400; line-height: 1.1; }
.markenwelt-folie span { display: block; font-size: clamp(.85rem, 1.6vw, 1.35rem); margin-top: .4rem; }
.markenwelt-slider .carousel-control-prev-icon, .markenwelt-slider .carousel-control-next-icon { filter: invert(1) grayscale(1); }
.markenwelt-slider .carousel-indicators [data-bs-target] { background-color: #1c1f23; }
.markenwelt-kachel { display: block; height: 100%; border: 1px solid #e6ebf1; text-align: center; color: #1c1f23; text-decoration: none; }
.markenwelt-kachel img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin: 0 !important; }
.markenwelt-kachel h3 { margin: 1rem 1rem .5rem; }
.markenwelt-kachel p { margin: 0 1.25rem 1.25rem; color: #6b7075; font-size: .92rem; }
.markenwelt-kachel:hover { border-color: #e8590c; color: #1c1f23; }
@media (max-width: 575.98px) {
  .markenwelt-titel { font-size: 1.2rem; gap: .35rem; }
  .markenwelt-titel img { height: 30px; }
  .markenwelt-folie { position: static; transform: none; width: auto; background: #eceef0; padding: .75rem 1rem; }
  .markenwelt-slider .carousel-indicators { display: none; }
  .markenwelt-slider .carousel-control-prev, .markenwelt-slider .carousel-control-next { height: 60%; width: 12%; }
}
/* „Das ist JURA“ (inc/marke-jura.php) – Aufbau wie auf kaffeetechnik24 */
.marke-jura { background: #fff; border: 1px solid #e6ebf1; border-radius: .9rem; padding: 2.5rem; }
.marke-jura-titel { display: flex; align-items: center; gap: .75rem; font-size: 2rem; font-weight: 600; margin-bottom: 2rem; }
.marke-jura-logo { height: 64px; width: auto; }
.marke-jura-knopf { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; background: #e3e3e3;
  border-radius: 2rem; padding: 1.1rem 1.5rem; color: #1c1f23; font-weight: 600; text-decoration: underline; margin-top: 1.5rem; }
.marke-jura-knopf:hover { background: #d6d6d6; color: #1c1f23; }
.marke-jura-knopf img { height: 40px; width: auto; }
.marke-jura-kachel { border: 1px solid #e6ebf1; padding: 1.5rem; }
.marke-jura-icon { height: 52px; width: auto; }
@media (max-width: 575.98px) { .marke-jura { padding: 1.25rem; } .marke-jura-titel { font-size: 1.5rem; } .marke-jura-logo { height: 48px; } }
.siegel-leiste { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.siegel-leiste a { flex: 0 0 auto; }
.haendler-siegel { display: block; width: auto; max-width: 150px; height: 100px; background: #fff; border-radius: 8px; padding: 4px; object-fit: contain; }
.haendler-siegel-artikel { height: 160px; width: auto; max-width: 240px; object-fit: contain; border-radius: 8px; }
.preisbox::after { content: ""; display: block; clear: both; }
/* weiß hinterlegt mit runden Ecken – Logos mit weißem Hintergrund (JURA-JPG) wirken so als Plakette statt als Kasten */
.preis-logo { float: right; max-width: 150px; max-height: 56px; object-fit: contain; margin: .25rem 0 .5rem 1rem;
              background: #fff; border-radius: 10px; padding: .3rem .5rem; }
.preis-netto-gross { color: var(--fx-accent); font-weight: 800; font-size: 2rem; line-height: 1.1; }
.leasing-box { margin-top: 1rem; padding: 1rem; border: 1px dashed #c3ccd6; border-radius: .5rem; background: #fafbfc; }
.leasing-box .lb-kopf { font-weight: 700; color: var(--fx-primary-dark); margin-bottom: .25rem; }
.leasing-box .lb-rate { font-size: 1.05rem; }
.leasing-box .lb-rate strong { color: var(--fx-primary-dark); font-size: 1.25rem; }
/* Pflichthinweis zum externen Link: bewusst klein, aber lesbar */
.leasing-box .lb-partner { font-weight: 600; font-size: .78rem; color: #6c7a89; margin-left: .25rem; }
.lb-tabelle { width: 100%; font-size: .85rem; margin: .6rem 0; border-collapse: collapse; }
.lb-tabelle th { font-weight: 600; color: #6c7a89; font-size: .75rem; padding: .3rem .4rem; border-bottom: 1px solid #dfe5eb; }
.lb-tabelle td { padding: .3rem .4rem; border-bottom: 1px solid #eef1f4; }
.lb-tabelle td:nth-child(2) { font-weight: 700; }
.lb-tabelle th:not(:first-child), .lb-tabelle td:not(:first-child) { text-align: right; }
.lb-vorteile { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .82rem; }
.lb-vorteile li { margin-bottom: .15rem; } .lb-vorteile i { color: #2b8a3e; margin-right: .35rem; }
.lb-links { font-size: .78rem; margin-top: .55rem; text-align: center; }
.miet-box { border-style: dotted; }
.lb-wahl td:not(:first-child) { padding: 0; }
.lb-radio { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; padding: .45rem .5rem; margin: 0; cursor: pointer; border-radius: .3rem; }
.lb-radio:hover { background: #f1f5f9; }
.lb-radio:has(input:checked) { background: #e7f1ff; outline: 1px solid #9ec5fe; }
.leasing-box .lb-extern { font-size: .72rem; color: #6c7a89; margin: .5rem 0 0; line-height: 1.35; }

.bx-highlight { background: #f4f5f7; border-left: 3px solid var(--fx-primary); padding: .5rem .75rem; margin: .75rem 0; }

/* EU-Energieklasse (energy_arrow_html(): SVG-Pfeil nach EU-Vorgabe), darunter Link zum Produktdatenblatt */
.eu-pfeil { display: block; width: auto; }
a.eu-link { display: inline-block; line-height: 0; }
.eu-preis { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.eu-datenblatt { font-size: .75rem; color: var(--bs-body-color); text-decoration: underline; }
