/* Hauptmenü reifenbingo.de (Webagentur Gaul, 02.10.2026) – Markup: templates/rb/html/rb_hauptmenue.php */
.rb-hm {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    font-family: "Open Sans", sans-serif;
    position: relative;
    z-index: 50;
}
.rb-hm__liste {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}
.rb-hm__punkt { position: relative; }
.rb-hm__link {
    display: block;
    padding: 9px 6px;
    color: #2c2c3d;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.rb-hm__link:hover,
.rb-hm__link:focus,
.rb-hm__punkt.is-aktiv > .rb-hm__link {
    color: #395fdd;
    border-bottom-color: #395fdd;
    text-decoration: none;
}
.rb-hm__knopf, .rb-hm__auf { display: none; }

/* Marken-Ausklappmenü */
.rb-hm__punkt--marken > .rb-hm__link::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
}
.rb-hm__marken {
    display: none;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 560px;
    padding: 18px 22px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    border-top: 3px solid #395fdd;
}
.rb-hm__punkt--marken:hover > .rb-hm__marken,
.rb-hm__punkt--marken:focus-within > .rb-hm__marken { display: block; }
.rb-hm__marken ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    columns: 3;
    column-gap: 20px;
}
.rb-hm__marken li a {
    display: block;
    padding: 5px 0;
    color: #2c2c3d;
    text-decoration: none;
}
.rb-hm__marken li a:hover { color: #395fdd; }
.rb-hm__alle {
    display: inline-block;
    font-weight: 700;
    color: #395fdd;
    text-decoration: none;
}

/* Handy und Tablet */
@media (max-width: 991px) {
    .rb-hm { border-top: 0; }
    .rb-hm > .container { padding: 0; }
    .rb-hm__knopf {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 12px 16px;
        border: 0;
        background: #443e3e;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
    }
    .rb-hm__balken { display: inline-flex; flex-direction: column; gap: 4px; }
    .rb-hm__balken span { display: block; width: 20px; height: 2px; background: #fff; }
    .rb-hm.is-offen .rb-hm__balken span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .rb-hm.is-offen .rb-hm__balken span:nth-child(2) { opacity: 0; }
    .rb-hm.is-offen .rb-hm__balken span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .rb-hm__liste { display: none; flex-direction: column; background: #fff; }
    .rb-hm.is-offen .rb-hm__liste { display: flex; }
    .rb-hm__punkt { border-top: 1px solid #f0f0f0; }
    .rb-hm__link { padding: 13px 16px; border-bottom: 0; }
    .rb-hm__punkt.is-aktiv > .rb-hm__link { border-bottom: 0; }
    .rb-hm__punkt--marken > .rb-hm__link::after { display: none; }
    .rb-hm__auf {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 52px;
        height: 48px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .rb-hm__auf::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 18px;
        width: 8px;
        height: 8px;
        border-right: 2px solid #2c2c3d;
        border-bottom: 2px solid #2c2c3d;
        transform: rotate(45deg);
    }
    .rb-hm__punkt--marken.is-offen > .rb-hm__auf::after { transform: rotate(-135deg); top: 22px; }
    .rb-hm__marken {
        position: static;
        transform: none;
        width: auto;
        box-shadow: none;
        border-top: 0;
        padding: 0 16px 14px;
    }
    .rb-hm__punkt--marken:hover > .rb-hm__marken,
    .rb-hm__punkt--marken:focus-within > .rb-hm__marken { display: none; }
    .rb-hm__punkt--marken.is-offen > .rb-hm__marken { display: block; }
    .rb-hm__marken ul { columns: 2; }
}

/* Markenübersicht /marken.html (manufacturer/manufacturers.php) */
.rb-marken__abc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 20px;
}
.rb-marken__abc a {
    min-width: 34px;
    padding: 6px 8px;
    text-align: center;
    background: #edf0ff;
    color: #2c2c3d;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
}
.rb-marken__abc a:hover { background: #395fdd; color: #fff; }
.rb-marken__buchstabe {
    margin: 26px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #395fdd;
    font-size: 24px;
    scroll-margin-top: 90px;
}
.rb-marken__name-statt-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    font-size: 20px;
    font-weight: 700;
    color: #2c2c3d;
}

/* Warenkorb: Spaltenbeschriftung (cart/cart.php) und Mengen-Schnellwahl Produktseite (js/rb-shop.js) */
.rb-cart-label { margin-bottom: 4px; color: #666; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
/* Die Plus-Minus-Gruppe ist absolut positioniert: Beschriftung über die Box setzen */
.quantity_cart, .total_price_cart { position: relative; }
.quantity_cart > .rb-cart-label, .total_price_cart > .rb-cart-label {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    text-align: center;
    white-space: nowrap;
}
.total_price_cart > .rb-cart-label { text-align: left; }
.quon_and_total:has(.rb-cart-label) { margin-top: 26px; }
.rb-menge { display: flex; gap: 8px; margin-top: 10px; }
.rb-menge__knopf {
    flex: 1;
    padding: 8px 10px;
    border: 2px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
    color: #2c2c3d;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
}
.rb-menge__knopf span { display: block; font-weight: 400; font-size: 12px; color: #666; }
.rb-menge__knopf.is-aktiv, .rb-menge__knopf:hover { border-color: #395fdd; background: #edf0ff; }

/* In den Kassenschritten kein Hauptmenü (Ablenkung vermeiden); im Warenkorb bleibt es */
body.com_jshopping_checkout #rb-hauptmenue { display: none; }

/* Warenkorb-Fenster nach „In den Warenkorb“ nie zeigen – es geht direkt zum Warenkorb (js/rb-shop.js) */
#cartajaxCartModal { display: none !important; }

/* Kompakterer Kopfbereich (02.10.2026): Logozeile und Abstand vor dem Inhalt */
@media (min-width: 992px) {
    header .center-top-modules { padding-top: 14px; padding-bottom: 14px; }
    #content { padding-top: 18px; }
}

/* Roter Balken „Reifen kaufen und bei Bedarf …“ (Modul 172 „Startpage attention“) ausgeblendet, 02.10.2026 */
#mod-custom172 { display: none !important; }

/* Brotkrumen in den grauen Inhaltsbereich (02.10.2026): gleicher Hintergrund über die volle Breite, Abstand darunter klein */
.mod-breadcrumbs__wrapper {
    background: #f1f1f1;
    box-shadow: 0 0 0 100vmax #f1f1f1;
    clip-path: inset(0 -100vmax);
    padding-top: 8px;
}
.mod-breadcrumbs__wrapper + #content, body:has(.mod-breadcrumbs__wrapper) #content { padding-top: 4px; }

/* Handy: Die Filterleiste „Produkte filtern“ (.left-side-wrapper) ist oben fixiert (75 px). Auf Kategorieseiten fehlte
   der Abstand dafür (products.php setzt ihn nur auf /shop.html) – das Logo lag darunter. 02.10.2026 */
@media (max-width: 990px) {
    body:has(.left-side-wrapper) { padding-top: 75px; }
}

/* Werkstattsuche kompakt (02.10.2026): Karte und Liste ab 768 px nebeneinander (Template stapelt unter 1400 px),
   niedrigere Karte, kleinere Überschrift, Suchleiste und Einträge. Gilt für /reifenmontage-firma-finden und die
   Bestellbestätigung */
.googlemaps-wrapper.mt-5 { margin-top: 1.25rem !important; }
.googlemaps-wrapper h2 { font-size: 32px; margin-bottom: 6px; }
.googlemaps-wrapper h3 { font-size: 18px; }
.googlemaps-wrapper #googlemaps.mt-5 { margin-top: 1rem !important; }
.googlemaps-wrapper #googlemaps { --map-height: 520px; gap: 16px 20px; }
.googlemaps-wrapper #googlemaps #googlemaps__top #controls { height: 64px; }
.googlemaps-wrapper #googlemaps h2 { font-size: 22px; margin: 0 0 12px; }
.googlemaps-wrapper #places-list { gap: 12px; padding-bottom: 16px; }
.googlemaps-wrapper #places-list .place-item { grid-template-columns: 1fr auto; padding: 14px 16px; column-gap: 12px; }
.googlemaps-wrapper #places-list .place-item strong { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.googlemaps-wrapper #places-list .place-item .place-item__contact { font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 10px; gap: 4px; }
.googlemaps-wrapper #places-list .place-item .place-item__contact span { height: auto; line-height: 1.4; }
.googlemaps-wrapper #places-list .place-item .place-item__buttons .btn { padding: 6px 16px; font-size: 15px; }
.googlemaps-wrapper #places-list .place-item .place-item__distance { font-size: 13px; padding: 2px 6px; align-self: start; }
.googlemaps-wrapper #places-list .place-item .place-item__rating { font-size: 14px; }
@media (min-width: 768px) {
    .googlemaps-wrapper #googlemaps { grid-template-columns: 3fr 2fr; }
    .googlemaps-wrapper #googlemaps #googlemaps__left { grid-column: 1; grid-row: 2; }
    .googlemaps-wrapper #googlemaps #googlemaps__right { grid-column: 2; grid-row: 2; }
    .googlemaps-wrapper #map { height: var(--map-height); aspect-ratio: auto; }
    .googlemaps-wrapper #googlemaps #googlemaps__right .googlemaps__right-inner { max-height: calc(var(--map-height) - 40px); padding-right: 10px; }
    .googlemaps-wrapper #googlemaps .googlemaps__more { margin-top: 8px; display: block; font-size: 15px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .googlemaps-wrapper #googlemaps #googlemaps__top #controls { flex-wrap: nowrap; justify-content: center; padding-left: 0; }
}
@media (max-width: 767px) {
    .googlemaps-wrapper #map { aspect-ratio: auto; height: 300px; }
}

/* Topbar neu (templates/rb/html/rb_topbar.php), 02.10.2026. Alte Leiste (Modul 128) ausgeblendet */
#top_menu { display: none !important; }
.rb-tb {
    background: #f1f1f1;
    border-bottom: 1px solid #e4e4e4;
    color: #2c2c3d;
    font: 400 13px/28px "Open Sans", sans-serif;
}
.rb-tb__innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 28px; }
.rb-tb__vorteile { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.rb-tb__vorteil a { color: inherit; text-decoration: none; }
.rb-tb__vorteil a:hover { color: #395fdd; }
.rb-tb__haken {
    display: inline-block;
    width: 6px;
    height: 10px;
    margin: 0 8px 2px 2px;
    border-right: 2px solid #395fdd;
    border-bottom: 2px solid #395fdd;
    transform: rotate(45deg);
    vertical-align: middle;
}
.rb-tb__google { width: 14px; height: 14px; margin: 0 5px 2px 0; vertical-align: middle; }
/* Fünf Sterne in Google-Gelb, anteilig gefüllt nach der Note */
.rb-tb__sterne {
    position: relative;
    display: inline-block;
    margin-right: 6px;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
    vertical-align: -1px;
    color: #d6d6d6;
}
.rb-tb__sterne::before { content: "★★★★★"; }
.rb-tb__sterne > span {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #fbbc04;
}
.rb-tb__sterne > span::before { content: "★★★★★"; }
.rb-tb__hilfe { white-space: nowrap; }
.rb-tb__hilfe a { color: #2c2c3d; font-weight: 700; text-decoration: none; }
.rb-tb__hilfe a:hover { color: #395fdd; }
.rb-tb__zeiten { color: #666; }
@media (max-width: 1199px) {
    .rb-tb__vorteil:nth-child(4) { display: none; }
}
@media (max-width: 991px) {
    .rb-tb__vorteil:nth-child(2), .rb-tb__zeiten { display: none; }
}
@media (max-width: 767px) {
    .rb-tb { font-size: 12px; }
    .rb-tb__vorteil { display: none !important; }
    .rb-tb__vorteil.is-aktiv { display: list-item !important; }
    .rb-tb__hilfe-text { display: none; }
}

/* Logozeile entrümpeln: Google-Bewertung und SSL-Siegel (Menü „Top certificates“) wandern in die Topbar bzw. entfallen */
.center-top-modules .top-certificates { display: none !important; }

/* Merkliste ausgeblendet (02.10.2026): 67 Aufrufe von 41 Nutzern in 3 Monaten. Seite /shop/wishlist/view.html bleibt */
#jshop_module_wishlist, .ajax_wichlist, .btn-wishlist { display: none !important; }
.moduletable:has(> #jshop_module_wishlist) { display: none !important; }
