/*
Theme Name: JM-Anhänger
Theme URI: https://www.jm-anhänger.at
Author: JM-Anhänger
Author URI: https://www.jm-anhänger.at
Description: Professionelles WooCommerce-Theme für JM-Anhänger - Ihr Fachhändler für PKW-Anhänger aus der Steiermark.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jm-anhaenger
Tags: woocommerce, custom-colors, block-patterns, full-site-editing
*/

/* ============================================
   SCHRIFTEN (lokal, Variable Fonts, nur Latin)
   Inter deckt 400-700, Plus Jakarta Sans 600-800.
   Google-CDN entfaellt: DSGVO + ein Roundtrip weniger.
   ============================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-var-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/jakarta-var-latin.woff2') format('woff2');
}

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* --------------------------------------------------------------
     Markenfarbe: abgeleitet aus dem Logo-Blau #0090E0 (Unterstrich
     im Schriftzug). --jm-cyan ist der Basiston, die Skala 50-900
     liefert die Zustaende fuer Hover, Fokus, Flaechen und Text.
     -------------------------------------------------------------- */
  --jm-blue-50:  #EAF6FE;
  --jm-blue-100: #CDEAFC;
  --jm-blue-200: #9BD5F8;
  --jm-blue-300: #63BEF2;
  --jm-blue-400: #2BA5E9;
  --jm-blue-500: #0090E0;
  --jm-blue-600: #0079BE;
  --jm-blue-700: #00619A;
  --jm-blue-800: #054E7A;
  --jm-blue-900: #0A3C5D;

  --jm-cyan: var(--jm-blue-500);
  --jm-cyan-dark: var(--jm-blue-600);
  --jm-cyan-darker: var(--jm-blue-700);
  --jm-cyan-light: var(--jm-blue-300);
  --jm-cyan-soft: var(--jm-blue-50);

  /* Neutrale Toene mit leichtem Blaustich - passt zum Logo-Schwarz */
  --jm-black: #0C1520;
  --jm-dark: #1B2734;
  --jm-slate: #334155;
  --jm-gray: #64748B;
  --jm-gray-light: #94A3B8;
  --jm-light: #F6F8FA;
  --jm-light-alt: #EDF2F7;
  --jm-white: #FFFFFF;
  --jm-border: #E3E8EE;
  --jm-border-strong: #CBD5E1;

  --jm-amber: #F59E0B;
  --jm-gold: #D4A853;
  --jm-success: #0F9D58;

  /* Radien */
  --jm-radius-sm: 6px;
  --jm-radius: 10px;
  --jm-radius-lg: 16px;
  --jm-radius-xl: 22px;
  --jm-radius-pill: 999px;

  /* Schatten: enger und weicher als zuvor, dadurch weniger "Wolke" */
  --jm-shadow-xs: 0 1px 2px rgba(12,21,32,0.05);
  --jm-shadow: 0 1px 3px rgba(12,21,32,0.07), 0 1px 2px rgba(12,21,32,0.04);
  --jm-shadow-md: 0 6px 12px -4px rgba(12,21,32,0.10), 0 2px 4px -2px rgba(12,21,32,0.06);
  --jm-shadow-lg: 0 16px 32px -12px rgba(12,21,32,0.16), 0 4px 8px -4px rgba(12,21,32,0.06);
  --jm-shadow-hover: 0 24px 48px -16px rgba(12,21,32,0.22);
  --jm-shadow-blue: 0 8px 20px -6px rgba(0,144,224,0.45);

  /* Vertikaler Rhythmus der Sektionen.
     Bewusst knapper als zuvor: die Sektionen tragen jetzt abwechselnd
     Flaeche, dadurch braucht die Trennung weniger Leerraum. */
  --jm-section-y: clamp(3.25rem, 5.5vw, 5.5rem);
  --jm-section-y-sm: clamp(2.5rem, 4vw, 3.75rem);
  --jm-gutter: clamp(1rem, 3vw, 3rem);

  --jm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --jm-transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --jm-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --jm-font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
  font-family: var(--jm-font);
  color: var(--jm-dark);
  background: var(--jm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  font-family: var(--jm-font-display);
  color: var(--jm-black);
  letter-spacing: -0.025em;
}

img {
  border-radius: var(--jm-radius);
}

::selection {
  background: var(--jm-cyan);
  color: var(--jm-white);
}

/* ============================================
   HEADER
   ============================================ */
.jm-header {
  background: var(--jm-black);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.jm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
  min-height: 72px;
}

.jm-header .jm-logo img,
.jm-header .custom-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Cyan underline accent matching logo */
.jm-header::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--jm-cyan), var(--jm-cyan-dark));
}

/* Navigation */
.jm-header .wp-block-navigation {
  gap: 0;
}

.jm-header .wp-block-navigation a {
  color: var(--jm-white) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  transition: var(--jm-transition);
  text-decoration: none !important;
  position: relative;
}

.jm-header .wp-block-navigation a:hover,
.jm-header .wp-block-navigation a:focus {
  color: var(--jm-cyan) !important;
}

.jm-header .wp-block-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--jm-cyan);
  transition: var(--jm-transition);
  transform: translateX(-50%);
}

.jm-header .wp-block-navigation a:hover::after {
  width: 80%;
}

/* Mini Cart in header - hidden */
.jm-header .wc-block-mini-cart {
  display: none !important;
}

/* Account icon in header - hidden */
.jm-header-account {
  display: none !important;
}

/* Hide Mein Konto & Warenkorb from main nav */
.jm-main-nav .wp-block-navigation-item__content[href*="mein-konto"],
.jm-main-nav .wp-block-navigation-item__content[href*="warenkorb"] {
  display: none !important;
}
.jm-main-nav .wp-block-navigation-item:has(.wp-block-navigation-item__content[href*="mein-konto"]),
.jm-main-nav .wp-block-navigation-item:has(.wp-block-navigation-item__content[href*="warenkorb"]) {
  display: none !important;
}

/* ============================================
   MEGA MENU / DROPDOWNS
   ============================================ */
.jm-main-nav .wp-block-navigation__submenu-container {
  background: var(--jm-black) !important;
  border: none !important;
  border-top: 3px solid var(--jm-cyan) !important;
  border-radius: 0 0 var(--jm-radius) var(--jm-radius) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
  padding: 0.75rem 0 !important;
  min-width: 320px;
}

/* Nested submenus (2nd level) */
.jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
  min-width: 300px;
}

.jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: rgba(255,255,255,0.8) !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  transition: var(--jm-transition);
}

.jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  color: var(--jm-cyan) !important;
  background: rgba(41,171,226,0.08) !important;
  padding-left: 1.5rem !important;
}

/* Sub-submenu (3rd level) */
.jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
  border-top: 2px solid var(--jm-cyan) !important;
  margin-top: 0 !important;
}

/* Submenu parent arrows */
.jm-main-nav .wp-block-navigation__submenu-icon svg {
  stroke: var(--jm-cyan) !important;
}

/* Active top-level items */
.jm-main-nav .current-menu-item > .wp-block-navigation-item__content,
.jm-main-nav .current-menu-ancestor > .wp-block-navigation-item__content {
  color: var(--jm-cyan) !important;
}

/* Mobile menu overlay */
.jm-main-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--jm-black) !important;
}

.jm-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: var(--jm-white) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem 0 !important;
}

.jm-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
  color: var(--jm-cyan) !important;
}

.jm-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
  border: none !important;
  box-shadow: none !important;
  padding-left: 1rem !important;
}

.jm-main-nav .wp-block-navigation__responsive-container-close,
.jm-main-nav .wp-block-navigation__responsive-container-open {
  color: var(--jm-white) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.jm-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jm-black);
  overflow: hidden;
}

.jm-hero .jm-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(14,165,233,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(14,165,233,0.08) 0%, transparent 50%),
    linear-gradient(160deg, #0F172A 0%, #1E293B 40%, #0F172A 100%);
  pointer-events: none;
}

.jm-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--jm-white));
  pointer-events: none;
  z-index: 1;
}

.jm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 5rem clamp(1rem, 3vw, 3rem) 6rem;
}

.jm-hero-badge {
  display: inline-block;
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.25);
  color: var(--jm-cyan-light) !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.5rem !important;
}

.jm-hero h1,
.jm-hero .wp-block-heading {
  color: var(--jm-white) !important;
  font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.03em;
}

.jm-hero h1 span,
.jm-hero-accent {
  background: linear-gradient(135deg, var(--jm-cyan), var(--jm-cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jm-hero p {
  color: rgba(255,255,255,0.65) !important;
  font-size: clamp(1rem, 2vw, 1.2rem) !important;
  line-height: 1.7;
  margin-bottom: 2.5rem !important;
  max-width: 600px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.jm-hero .jm-btn-primary .wp-block-button__link {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
  padding: 0.875rem 2rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: var(--jm-radius) !important;
  text-decoration: none !important;
  transition: var(--jm-transition);
  box-shadow: 0 4px 14px rgba(14,165,233,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  border: none !important;
}

.jm-hero .jm-btn-primary .wp-block-button__link:hover {
  background: var(--jm-cyan-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.45);
}

.jm-hero .jm-btn-ghost .wp-block-button__link {
  background: transparent !important;
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  padding: 0.875rem 2rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: var(--jm-radius) !important;
  transition: var(--jm-transition);
}

.jm-hero .jm-btn-ghost .wp-block-button__link:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.4) !important;
  color: var(--jm-white) !important;
}

/* ============================================
   STATS BAR
   ============================================ */
.jm-stats-bar {
  background: var(--jm-white);
  border-bottom: 1px solid var(--jm-border);
  padding: 0 clamp(1rem, 3vw, 3rem);
  position: relative;
  z-index: 2;
}

.jm-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  justify-content: center;
  gap: 0 !important;
}

.jm-stat {
  text-align: center;
  padding: 2rem 3rem !important;
  position: relative;
}

.jm-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--jm-border);
}

.jm-stat-number {
  font-family: var(--jm-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jm-cyan);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.jm-stat p {
  font-size: 0.8rem !important;
  color: var(--jm-gray) !important;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.jm-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.jm-section-tag {
  display: inline-block;
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jm-cyan) !important;
  margin-bottom: 0.75rem !important;
}

.jm-section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
}

.jm-subtitle {
  color: var(--jm-gray) !important;
  font-size: 1.05rem !important;
  max-width: 550px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ============================================
   CATEGORY GRID (Homepage)
   ============================================ */
.jm-categories {
  /* Vertikaler Abstand kommt aus dem Sektionsrhythmus (Abschnitt 3). */
  padding-left: clamp(1rem, 3vw, 3rem);
  padding-right: clamp(1rem, 3vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}

.jm-category-card {
  background: var(--jm-white);
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  box-shadow: var(--jm-shadow);
  transition: var(--jm-transition);
  border: 1px solid var(--jm-border);
  cursor: pointer;
  text-decoration: none !important;
}

.jm-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jm-shadow-hover);
  border-color: rgba(14,165,233,0.2);
}

.jm-category-card .jm-card-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jm-light);
  color: var(--jm-cyan);
  transition: var(--jm-transition);
}

.jm-category-card:hover .jm-card-icon {
  background: rgba(14,165,233,0.06);
  color: var(--jm-cyan-dark);
}

.jm-category-card .jm-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.jm-category-card h3 {
  font-family: var(--jm-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--jm-black);
}

.jm-category-card p {
  font-size: 0.85rem;
  color: var(--jm-gray);
  margin: 0;
}

.jm-category-card .jm-card-arrow {
  color: var(--jm-cyan);
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  transition: var(--jm-transition);
  opacity: 0;
  transform: translateX(-8px);
}

.jm-category-card:hover .jm-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   USP SECTION
   ============================================ */
/* Flaeche setzt der Sektionsrhythmus in Abschnitt 3. */
.jm-usp-card {
  text-align: center;
  padding: 2.5rem 1.5rem !important;
}

.jm-usp-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jm-cyan), var(--jm-cyan-dark));
  color: var(--jm-white);
  border-radius: var(--jm-radius);
  margin: 0 auto 1.25rem;
}

.jm-usp-card h3 {
  font-family: var(--jm-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem !important;
}

.jm-usp-card p {
  font-size: 0.9rem;
  color: var(--jm-gray);
  line-height: 1.6;
}

/* ============================================
   PRODUCT GRID (Shop Page)
   ============================================ */
.wc-block-product-template,
.wp-block-woocommerce-product-template {
  gap: 1.5rem !important;
}

.wc-block-grid__product,
.wp-block-woocommerce-product-template .wc-block-grid__product,
ul.products > li.product {
  background: var(--jm-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--jm-shadow);
  transition: var(--jm-transition);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0 !important;
}

.wc-block-grid__product:hover,
ul.products > li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--jm-shadow-hover);
}

/* Product Image */
.wc-block-components-product-image,
.wc-block-grid__product-image {
  overflow: hidden;
  border-radius: 12px 12px 0 0 !important;
  margin: 0 !important;
  position: relative;
}

/* Kein eigenes aspect-ratio auf dem Bild: Der Kollektionsblock setzt das
   Verhaeltnis am Container (--aspect-ratio-4-3). Eine zweite Vorgabe am
   img liess die Kacheln im Shop leer bleiben. */
.wc-block-components-product-image img {
  border-radius: 0 !important;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wc-block-grid__product:hover .wc-block-components-product-image img {
  transform: scale(1.05);
}

/* Sale Badge */
.wc-block-components-sale-badge {
  position: absolute !important;
  top: 12px;
  left: 12px;
  background: var(--jm-amber) !important;
  color: var(--jm-white) !important;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Product Title */
.wc-block-components-product-name {
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: var(--jm-black) !important;
  text-decoration: none !important;
  padding: 1rem 1rem 0.25rem !important;
  display: block;
  line-height: 1.3;
}

.wc-block-components-product-name:hover {
  color: var(--jm-cyan) !important;
}

/* Product Price */
.wc-block-components-product-price,
.wc-block-grid__product-price {
  padding: 0 1rem !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--jm-cyan-dark) !important;
}

.wc-block-components-product-price del {
  color: var(--jm-gray) !important;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
}

.wc-block-components-product-price ins {
  color: var(--jm-cyan-dark) !important;
  text-decoration: none !important;
}

/* Add to Cart Button in Grid - hidden */
.wc-block-grid__product .wp-element-button,
.wc-block-grid__product .add_to_cart_button,
ul.products li.product .add_to_cart_button,
ul.products li.product .button {
  display: none !important;
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */
/* Product page columns */
.single-product .wp-block-columns {
  gap: 2.5rem !important;
  align-items: flex-start;
}

/* Product Gallery */
.single-product .wp-block-woocommerce-product-image-gallery,
.single-product .woocommerce-product-gallery {
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  /* Kein Rahmen und kein eigener Grund: Das Hauptbild füllt sein Feld
     jetzt formatfüllend, ein Rand wirkte wie ein leerer Kasten. */
  background: #F4F4F4;
  box-shadow: var(--jm-shadow-md);
}

.single-product .woocommerce-product-gallery__image img,
.single-product .wp-block-woocommerce-product-image-gallery img {
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.single-product .woocommerce-product-gallery__image:hover img {
  transform: scale(1.02);
}

/* Gallery thumbnails */
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.5rem;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  opacity: 0.6;
  padding: 2px;
  box-sizing: border-box;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs li .flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs .flex-active,
.single-product .wp-block-woocommerce-product-image-gallery .wc-block-woocommerce-product-gallery-thumbnails img:hover {
  border-color: var(--jm-cyan);
  opacity: 1;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  border-radius: 6px;
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery lightbox trigger */
.single-product .woocommerce-product-gallery a.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: var(--jm-transition);
}

.single-product .woocommerce-product-gallery a.woocommerce-product-gallery__trigger:hover {
  background: var(--jm-white);
  transform: scale(1.1);
}

/* Block Gallery (Variant page etc.) */
.wp-block-gallery.jm-variant-gallery {
  gap: 1rem !important;
}

.wp-block-gallery .wp-block-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-gallery .wp-block-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.wp-block-gallery .wp-block-image img {
  transition: transform 0.4s ease;
}

.wp-block-gallery .wp-block-image:hover img {
  transform: scale(1.05);
}

.wp-block-gallery .wp-block-image figcaption {
  background: linear-gradient(transparent, rgba(0,0,0,0.7)) !important;
  color: var(--jm-white) !important;
  padding: 1.5rem 0.75rem 0.5rem !important;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

/* Product info column */
.single-product .wp-block-column:last-child {
  position: relative;
}

.single-product .wp-block-woocommerce-product-details .wp-block-heading,
.single-product .product_title {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: var(--jm-black) !important;
  line-height: 1.2;
  margin-bottom: 0.25rem !important;
}

/* SKU badge */
.single-product .wp-block-woocommerce-product-sku,
.single-product .product_meta .sku_wrapper {
  font-size: 0.8rem;
  color: var(--jm-gray);
  background: var(--jm-light);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.single-product .wp-block-woocommerce-product-price,
.single-product .price {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: var(--jm-cyan-dark) !important;
  margin: 0.75rem 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--jm-border);
}

/* Excerpt / short description */
.single-product .wp-block-post-excerpt,
.single-product .woocommerce-product-details__short-description {
  color: var(--jm-slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

.single-product .wp-block-woocommerce-add-to-cart-form .wp-element-button,
.single-product .single_add_to_cart_button {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 0.875rem 2.5rem !important;
  border-radius: 50px !important;
  border: none !important;
  transition: var(--jm-transition);
  box-shadow: 0 4px 15px rgba(41,171,226,0.3);
  width: 100%;
  text-align: center;
}

.single-product .single_add_to_cart_button:hover,
.single-product .wp-block-woocommerce-add-to-cart-form .wp-element-button:hover {
  background: var(--jm-cyan-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41,171,226,0.4);
}

/* Quantity input */
.single-product .quantity .qty {
  border: 2px solid var(--jm-border) !important;
  border-radius: var(--jm-radius) !important;
  padding: 0.625rem 0.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-align: center;
  width: 70px !important;
  height: auto !important;
}

.single-product .quantity .qty:focus {
  border-color: var(--jm-cyan) !important;
  box-shadow: 0 0 0 3px rgba(41,171,226,0.15);
}

/* Add to cart - hidden */
.single-product .wc-block-add-to-cart-form,
.single-product form.cart {
  display: none !important;
}

.single-product form.cart .quantity {
  flex-shrink: 0;
}

.single-product form.cart .single_add_to_cart_button {
  flex: 1;
  min-width: 180px;
}

/* Product Meta / SKU / Category */
.single-product .product_meta {
  font-size: 0.85rem;
  color: var(--jm-gray);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--jm-border);
}

.single-product .product_meta a {
  color: var(--jm-cyan);
  text-decoration: none;
}

.single-product .product_meta a:hover {
  color: var(--jm-cyan-dark);
}

/* Specifications Table */
.single-product .woocommerce-product-attributes,
.single-product table.shop_attributes {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: var(--jm-radius);
  overflow: hidden;
}

.single-product .woocommerce-product-attributes th {
  background: var(--jm-light);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--jm-border);
  width: 40%;
  color: var(--jm-black);
}

.single-product .woocommerce-product-attributes td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--jm-light);
  color: var(--jm-dark);
}

.single-product .woocommerce-product-attributes tr:last-child th,
.single-product .woocommerce-product-attributes tr:last-child td {
  border-bottom: none;
}

.single-product .woocommerce-product-attributes tr:hover th,
.single-product .woocommerce-product-attributes tr:hover td {
  background: rgba(14,165,233,0.03);
}

/* Variation selector card */
.single-product .variations_form {
  background: var(--jm-light);
  border-radius: var(--jm-radius);
  padding: 1.25rem;
  margin: 1rem 0;
  border: 1px solid var(--jm-border);
}

.single-product .variations select,
.single-product .wp-block-woocommerce-add-to-cart-form select,
.single-product select {
  border: 2px solid var(--jm-border) !important;
  border-radius: var(--jm-radius) !important;
  padding: 0.625rem 1rem !important;
  font-size: 0.95rem !important;
  transition: var(--jm-transition);
  background: var(--jm-white) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: 1.4 !important;
  box-sizing: border-box;
  cursor: pointer;
}

.single-product .variations td,
.single-product .variations th {
  padding: 0.4rem 0 !important;
  vertical-align: middle;
  line-height: 1.4;
}

.single-product .variations {
  margin-bottom: 0;
}

.single-product .variations .label label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--jm-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.single-product .variations tr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.single-product .variations .value {
  flex: 1;
}

.single-product .variations .value select {
  width: 100%;
}

.single-product .variations select:focus,
.single-product select:focus {
  border-color: var(--jm-cyan) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(41,171,226,0.15);
}

/* Reset variation link */
.single-product .reset_variations {
  font-size: 0.8rem;
  color: var(--jm-gray) !important;
  text-decoration: none !important;
  margin-top: 0.5rem;
  display: inline-block;
}

.single-product .reset_variations:hover {
  color: var(--jm-cyan) !important;
}

/* Variation price update */
.single-product .woocommerce-variation-price {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--jm-border);
}

/* Tabs: kein eigener Kasten mehr - die beiden Panels sind seit
   Abschnitt 70 selbst Karten, der Rahmen ergab eine Doppel-Umrandung. */
.single-product .woocommerce-tabs,
.single-product .wp-block-woocommerce-product-details {
  margin-top: 3rem;
}

.single-product .woocommerce-tabs .tabs,
.single-product .wc-tabs {
  list-style: none;
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--jm-light);
  padding: 0;
  margin: 0;
  background: var(--jm-light);
}

.single-product .woocommerce-tabs .tabs li a,
.single-product .wc-tabs li a {
  display: block;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--jm-gray);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--jm-transition);
}

.single-product .woocommerce-tabs .tabs li a:hover,
.single-product .wc-tabs li a:hover {
  color: var(--jm-dark);
}

.single-product .woocommerce-tabs .tabs li.active a,
.single-product .wc-tabs li.active a {
  color: var(--jm-cyan);
  border-bottom-color: var(--jm-cyan);
  background: var(--jm-white);
  font-weight: 700;
}

.single-product .woocommerce-Tabs-panel,
.single-product .wc-tab {
  padding: 2rem 2.5rem !important;
}

.single-product .woocommerce-Tabs-panel h2,
.single-product .wc-tab h2 {
  font-size: 1.15rem !important;
  margin-bottom: 1rem;
}

.single-product .woocommerce-Tabs-panel p,
.single-product .woocommerce-Tabs-panel li,
.single-product .wc-tab p,
.single-product .wc-tab li {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Related Products */
.single-product .related.products h2,
.single-product .wp-block-heading {
  font-size: 1.5rem;
}

.single-product .related.products {
  margin-top: 3rem;
}

.single-product .related.products ul.products li.product,
.single-product .wp-block-woocommerce-related-products .wc-block-grid__product {
  background: var(--jm-white);
  border-radius: var(--jm-radius);
  overflow: hidden;
  box-shadow: var(--jm-shadow);
  transition: var(--jm-transition);
}

.single-product .related.products ul.products li.product:hover,
.single-product .wp-block-woocommerce-related-products .wc-block-grid__product:hover {
  transform: translateY(-4px);
  box-shadow: var(--jm-shadow-hover);
}

/* ============================================
   BUTTONS (Global)
   ============================================ */
.wp-element-button,
.wp-block-button__link,
.woocommerce .button,
button[type="submit"] {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
  border: none !important;
  border-radius: var(--jm-radius) !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.75rem !important;
  transition: var(--jm-transition);
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  line-height: 1.4;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce .button:hover,
button[type="submit"]:hover {
  background: var(--jm-cyan-dark) !important;
  transform: translateY(-1px);
}

/* Outline Button Style */
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--jm-cyan) !important;
  border: 2px solid var(--jm-cyan) !important;
}

.is-style-outline .wp-block-button__link:hover {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.jm-footer {
  background: var(--jm-black);
  color: rgba(255,255,255,0.7);
}

.jm-footer-top {
  border-top: 3px solid var(--jm-cyan);
}

.jm-footer h3,
.jm-footer .wp-block-heading {
  color: var(--jm-white) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.jm-footer h3::after,
.jm-footer .wp-block-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--jm-cyan);
}

.jm-footer p,
.jm-footer li {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.9rem;
  line-height: 1.8;
}

.jm-footer a {
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  transition: var(--jm-transition);
}

.jm-footer a:hover {
  color: var(--jm-cyan) !important;
}

.jm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  text-align: center;
}

.jm-footer-bottom p {
  font-size: 0.85rem !important;
  margin: 0;
}

/* ============================================
   TRUST BAR / USP Section (legacy)
   ============================================ */
.jm-trust-bar {
  display: none;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
/* Flaeche und Abstand setzt der Sektionsrhythmus in Abschnitt 3. */
.jm-brands {
  border-bottom: 1px solid var(--jm-border);
}

.jm-brands-grid {
  gap: 1.5rem !important;
  margin-top: 2rem;
}

.jm-brand-logo {
  margin: 0 !important;
  width: 140px;
  height: 90px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: var(--jm-radius);
  overflow: hidden;
  transition: var(--jm-transition);
}

.jm-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--jm-radius);
}

.jm-brand-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--jm-shadow-hover);
}

@media (max-width: 768px) {
  .jm-brand-logo {
    width: 110px;
    height: 70px;
  }

  .jm-brands-grid {
    gap: 1rem !important;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.jm-cta {
  background: linear-gradient(135deg, var(--jm-black) 0%, var(--jm-dark) 100%);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jm-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(14,165,233,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(14,165,233,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.jm-cta h2 {
  color: var(--jm-white) !important;
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  margin-bottom: 0.75rem !important;
  position: relative;
}

.jm-cta p {
  color: rgba(255,255,255,0.6) !important;
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
}

.jm-cta .jm-btn-cta .wp-block-button__link {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
  font-weight: 600 !important;
  padding: 0.875rem 2rem !important;
  border-radius: var(--jm-radius) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(14,165,233,0.35);
  position: relative;
}

.jm-cta .jm-btn-cta .wp-block-button__link:hover {
  background: var(--jm-cyan-dark) !important;
  transform: translateY(-2px);
}

.jm-cta .jm-btn-cta-outline .wp-block-button__link {
  background: transparent !important;
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  padding: 0.875rem 2rem !important;
  border-radius: var(--jm-radius) !important;
  position: relative;
}

.jm-cta .jm-btn-cta-outline .wp-block-button__link:hover {
  border-color: rgba(255,255,255,0.4) !important;
  color: var(--jm-white) !important;
  background: rgba(255,255,255,0.05) !important;
}

/* ============================================
   GOOGLE REVIEWS
   ============================================ */
/* Flaeche setzt der Sektionsrhythmus in Abschnitt 3. */
.jm-reviews-google-badge p {
  font-size: 1rem;
  color: var(--jm-gray);
  margin-bottom: 2rem !important;
}

.jm-reviews-stars {
  color: #FBBC04;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-right: 0.25rem;
}

.jm-review-card {
  background: var(--jm-light);
  border-radius: var(--jm-radius-lg);
  padding: 2rem !important;
  border: 1px solid var(--jm-border);
  height: 100%;
  transition: var(--jm-transition);
}

.jm-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jm-shadow-lg);
  border-color: rgba(14,165,233,0.15);
}

.jm-review-stars {
  color: #FBBC04;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.jm-review-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--jm-slate);
}

.jm-review-author {
  font-size: 0.8rem;
  color: var(--jm-gray);
  margin-top: 1rem !important;
  font-weight: 500;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.woocommerce-breadcrumb,
.wp-block-woocommerce-breadcrumbs {
  font-size: 0.85rem;
  color: var(--jm-gray);
  padding: 1rem 0;
}

.woocommerce-breadcrumb a {
  color: var(--jm-cyan);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  color: var(--jm-cyan-dark);
}

/* ============================================
   PAGINATION
   ============================================ */
.woocommerce-pagination,
.wp-block-query-pagination {
  margin-top: 3rem;
}

.wp-block-query-pagination-numbers .page-numbers,
.woocommerce-pagination .page-numbers li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--jm-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--jm-transition);
  color: var(--jm-gray);
  background: var(--jm-white);
  border: 1px solid #E5E7EB;
}

.wp-block-query-pagination-numbers .page-numbers.current,
.wp-block-query-pagination-numbers .page-numbers:hover,
.woocommerce-pagination .page-numbers li a:hover {
  background: var(--jm-cyan);
  color: var(--jm-white);
  border-color: var(--jm-cyan);
}

/* ============================================
   FORMS & INPUTS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  border: 2px solid #E5E7EB;
  border-radius: var(--jm-radius);
  padding: 0.625rem 1rem;
  font-size: 1rem;
  transition: var(--jm-transition);
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--jm-cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(41,171,226,0.15);
}

/* Search */
.wp-block-search__input {
  border: 2px solid #E5E7EB !important;
  border-radius: var(--jm-radius) 0 0 var(--jm-radius) !important;
}

.wp-block-search__button {
  border-radius: 0 var(--jm-radius) var(--jm-radius) 0 !important;
}

/* ============================================
   WOOCOMMERCE NOTICES
   ============================================ */
.woocommerce-message,
.wc-block-components-notice-banner.is-success {
  background: #ECFDF5 !important;
  border-left: 4px solid var(--jm-cyan) !important;
  color: var(--jm-black) !important;
  border-radius: var(--jm-radius);
  padding: 1rem 1.25rem;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
  border-left-color: var(--jm-amber) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 782px) {
  .jm-header-inner {
    min-height: 60px;
    padding: 0 1rem;
  }

  .jm-header .jm-logo img {
    height: 32px;
  }

  .jm-hero {
    min-height: 50vh;
  }

  .jm-hero h1 {
    font-size: 1.75rem !important;
  }

  .jm-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .jm-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .single-product .price {
    font-size: 1.5rem !important;
  }

  /* Stack columns on mobile */
  .single-product .wp-block-columns {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .single-product .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  /* Gallery not sticky on mobile */
  .single-product .wp-block-woocommerce-product-image-gallery,
  .single-product .woocommerce-product-gallery {
    position: static;
  }

  /* Full-width add to cart on mobile */
  .single-product form.cart {
    flex-direction: column;
  }

  .single-product form.cart .single_add_to_cart_button {
    width: 100%;
  }

  /* Tabs scroll horizontally on mobile */
  .single-product .woocommerce-tabs .tabs,
  .single-product .wc-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .single-product .woocommerce-tabs .tabs::-webkit-scrollbar {
    display: none;
  }

  .single-product .woocommerce-tabs .tabs li a,
  .single-product .wc-tabs li a {
    white-space: nowrap;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .single-product .woocommerce-Tabs-panel,
  .single-product .wc-tab {
    padding: 1rem;
  }

  /* Inquiry buttons stack on very small screens */
  .jm-inquiry-buttons {
    flex-direction: column;
  }

  .jm-inquiry-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .jm-trust-grid {
    grid-template-columns: 1fr;
  }

  .jm-category-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--jm-light);
}

::-webkit-scrollbar-thumb {
  background: var(--jm-cyan);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--jm-cyan-dark);
}

/* ============================================
   CONFIGURATOR OPTIONS
   ============================================ */
.jm-configurator {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 2px solid var(--jm-light);
}

.jm-configurator > h2 {
  font-size: 1.5rem !important;
  font-weight: 800;
  color: var(--jm-black);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--jm-cyan);
  display: inline-block;
}

/* Total Price Bar */
.jm-config-total {
  background: var(--jm-black);
  color: var(--jm-white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 80px;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: var(--jm-transition);
}

.jm-config-total-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.jm-config-total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.jm-config-total-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jm-cyan);
}

.jm-config-total-detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

.jm-config-total--has-options {
  background: linear-gradient(135deg, var(--jm-black) 0%, var(--jm-cyan-dark) 100%);
}

.jm-config-total--has-options .jm-config-total-price {
  color: var(--jm-cyan-light);
  text-shadow: 0 0 20px rgba(41,171,226,0.4);
}

.jm-config-category {
  margin-bottom: 1.5rem;
  background: var(--jm-light);
  border-radius: 12px;
  overflow: hidden;
}

.jm-config-category-title {
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--jm-white) !important;
  background: var(--jm-black);
  padding: 0.75rem 1.25rem;
  margin: 0 !important;
  position: relative;
}

.jm-config-category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--jm-cyan);
}

.jm-config-items {
  padding: 0.5rem;
}

.jm-config-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--jm-transition);
  border-radius: var(--jm-radius);
  gap: 1rem;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.jm-config-item:last-child {
  border-bottom: none;
}

.jm-config-item:hover {
  background: var(--jm-white);
  box-shadow: var(--jm-shadow);
}

/* Checkbox */
.jm-config-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.jm-config-checkmark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #D1D5DB;
  border-radius: 6px;
  background: var(--jm-white);
  transition: var(--jm-transition);
  position: relative;
}

.jm-config-checkmark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--jm-white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.jm-config-checkbox:checked ~ .jm-config-checkmark {
  background: var(--jm-cyan);
  border-color: var(--jm-cyan);
}

.jm-config-checkbox:checked ~ .jm-config-checkmark::after {
  transform: rotate(45deg) scale(1);
}

.jm-config-item:has(.jm-config-checkbox:checked) {
  background: rgba(41,171,226,0.06);
  border-color: rgba(41,171,226,0.15);
}

.jm-config-item:has(.jm-config-checkbox:checked) .jm-config-item-price {
  color: var(--jm-cyan);
  font-weight: 800;
}

.jm-config-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.jm-config-item-image {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--jm-white);
  border: 1px solid rgba(0,0,0,0.08);
}

.jm-config-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.jm-config-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--jm-black);
  text-decoration: none !important;
  line-height: 1.3;
}

a.jm-config-item-name:hover {
  color: var(--jm-cyan) !important;
}

.jm-config-item-price {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
  white-space: nowrap;
}

/* Configurator dual price */
.jm-config-price-dual {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 0;
}

.jm-config-price-incl {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
}

.jm-config-price-incl small {
  font-weight: 400;
  font-size: 0.75em;
  color: var(--jm-gray);
}

.jm-config-price-excl {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--jm-gray);
}

.jm-config-price-excl small {
  font-size: 0.85em;
}

@media (max-width: 782px) {
  .jm-config-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .jm-config-item-info {
    flex: 1 1 calc(100% - 40px);
  }

  .jm-config-item-price {
    margin-left: auto;
  }

  .jm-config-total {
    top: 64px;
    padding: 0.75rem 1rem;
  }

  .jm-config-total-price {
    font-size: 1.25rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jm-hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.jm-category-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.jm-category-card:nth-child(1) { animation-delay: 0.1s; }
.jm-category-card:nth-child(2) { animation-delay: 0.2s; }
.jm-category-card:nth-child(3) { animation-delay: 0.3s; }
.jm-category-card:nth-child(4) { animation-delay: 0.4s; }
.jm-category-card:nth-child(5) { animation-delay: 0.5s; }
.jm-category-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   HEADER ICONS (Search, Account, Cart)
   ============================================ */
.jm-header-icons {
  gap: 0.5rem !important;
  align-items: center !important;
}

/* Header Search */
.jm-header-search {
  max-width: 220px;
}

.jm-header-search .wp-block-search__input {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: var(--jm-radius) !important;
  color: var(--jm-white) !important;
  padding: 0.4rem 0.75rem !important;
  font-size: 0.85rem !important;
  height: 36px;
}

.jm-header-search .wp-block-search__input::placeholder {
  color: rgba(255,255,255,0.5) !important;
}

.jm-header-search .wp-block-search__input:focus {
  background: rgba(255,255,255,0.15) !important;
  border-color: var(--jm-cyan) !important;
  box-shadow: 0 0 0 2px rgba(41,171,226,0.2) !important;
}

.jm-header-search .wp-block-search__button {
  background: var(--jm-cyan) !important;
  border: none !important;
  border-radius: var(--jm-radius) !important;
  color: var(--jm-white) !important;
  padding: 0.4rem 0.6rem !important;
  height: 36px;
  cursor: pointer;
}

.jm-header-search .wp-block-search__button:hover {
  background: var(--jm-cyan-dark) !important;
}

/* Account Icon */
.jm-header-account {
  margin: 0 !important;
}

.jm-account-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--jm-white) !important;
  text-decoration: none !important;
  transition: var(--jm-transition);
}

.jm-account-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--jm-cyan) !important;
}

.jm-account-link svg {
  display: block;
}

/* ============================================
   DUAL PRICE DISPLAY (incl./excl. VAT)
   ============================================ */
.jm-price-dual {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.jm-price-incl {
  font-size: inherit;
  font-weight: 700;
  color: var(--jm-black);
}

.jm-price-incl small {
  font-size: 0.7em;
  font-weight: 400;
  color: var(--jm-gray);
}

.jm-price-excl {
  font-size: 0.8em;
  font-weight: 400;
  color: var(--jm-gray);
}

.jm-price-excl small {
  font-size: 0.85em;
}

/* Product grid: compact dual price */
.wc-block-grid__product .jm-price-dual,
ul.products li.product .jm-price-dual {
  gap: 0;
}

.wc-block-grid__product .jm-price-incl,
ul.products li.product .jm-price-incl {
  font-size: 1rem;
}

.wc-block-grid__product .jm-price-excl,
ul.products li.product .jm-price-excl {
  font-size: 0.8rem;
}

/* Single product: larger dual price */
.single-product .jm-price-dual {
  gap: 0.25rem;
}

.single-product .jm-price-incl {
  font-size: 1.75rem;
}

.single-product .jm-price-excl {
  font-size: 1rem;
}

/* ============================================
   SOCIAL MEDIA LINKS
   ============================================ */
.jm-social-links {
  gap: 0 !important;
  margin-top: 0.75rem !important;
}

.jm-social-links p {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.jm-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  transition: var(--jm-transition);
}

.jm-social-icon:hover {
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
  transform: translateY(-2px);
}

.jm-social-icon svg {
  display: block;
}


/* ============================================
   SCROLL TO TOP
   ============================================ */
.jm-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--jm-cyan);
  color: var(--jm-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(41,171,226,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.jm-scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jm-scroll-top:hover {
  background: var(--jm-cyan-dark, #1A8FC0);
  box-shadow: 0 6px 20px rgba(41,171,226,0.5);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE UPDATES
   ============================================ */
@media (max-width: 782px) {
  .jm-header-search {
    display: none !important;
  }

  .jm-header-icons {
    gap: 0.25rem !important;
  }

  .jm-social-links {
    justify-content: center;
  }

  .jm-stats-inner {
    flex-wrap: wrap !important;
    gap: 0 !important;
  }

  .jm-stat {
    flex: 0 0 50%;
    padding: 1.25rem 1rem !important;
  }

  .jm-stat:not(:last-child)::after {
    display: none;
  }

  .jm-hero {
    min-height: 65vh;
  }

  .jm-hero-content {
    padding: 3rem 1.5rem 4rem !important;
  }
}

/* ============================================
   INQUIRY BUTTONS (Product Page)
   ============================================ */
.jm-inquiry-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.jm-inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--jm-radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--jm-transition);
  cursor: pointer;
}

.jm-inquiry-whatsapp {
  background: #25D366 !important;
  color: var(--jm-white) !important;
}

.jm-inquiry-whatsapp:hover {
  background: #1DA851 !important;
  transform: translateY(-1px);
}

.jm-inquiry-email {
  background: transparent !important;
  color: var(--jm-cyan) !important;
  border: 2px solid var(--jm-cyan) !important;
}

.jm-inquiry-email:hover {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
}

/* ============================================
   STICKY MOBILE CART BAR
   ============================================ */
.jm-sticky-cart {
  display: none !important;
}

.jm-sticky-cart--visible {
  transform: translateY(0);
}

.jm-sticky-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  gap: 1rem;
}

.jm-sticky-cart-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jm-black);
}

.jm-sticky-cart-btn {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
  padding: 0.625rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: var(--jm-transition);
}

.jm-sticky-cart-btn:hover {
  background: var(--jm-cyan-dark) !important;
}

@media (max-width: 782px) {
  .jm-sticky-cart {
    display: block;
  }

  /* Den Nach-oben-Knopf ueber die Sticky-Leiste heben. */
  .jm-scroll-top {
    bottom: 5rem;
  }
}

/* ============================================
   404 PAGE
   ============================================ */
.jm-404 {
  text-align: center;
}

.jm-404 h1 {
  background: linear-gradient(135deg, var(--jm-cyan), var(--jm-cyan-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1 !important;
  margin-bottom: 0.5rem !important;
}

.jm-404 h2 {
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
}

/* ============================================
   KONTAKT PAGE
   ============================================ */
.jm-kontakt-info-card {
  background: var(--jm-light);
  border-radius: var(--jm-radius-lg);
  padding: 2rem !important;
  border: 1px solid var(--jm-border);
  height: 100%;
}

.jm-kontakt-info-card h3 {
  font-size: 1.25rem !important;
  margin-bottom: 1rem !important;
}

.jm-kontakt-item {
  gap: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.jm-kontakt-item svg {
  flex-shrink: 0;
  color: var(--jm-cyan);
}

.jm-kontakt-item p {
  margin: 0 !important;
  font-size: 0.95rem;
}

.jm-kontakt-item a {
  color: var(--jm-black) !important;
  text-decoration: none !important;
}

.jm-kontakt-item a:hover {
  color: var(--jm-cyan) !important;
}

.jm-kontakt-form-card {
  background: var(--jm-white);
  border-radius: var(--jm-radius-lg);
  padding: 2rem !important;
  border: 1px solid var(--jm-border);
  box-shadow: var(--jm-shadow-md);
}

.jm-kontakt-form-card h3 {
  font-size: 1.25rem !important;
  margin-bottom: 0.5rem !important;
}

.jm-kontakt-form-card > p {
  color: var(--jm-gray) !important;
  font-size: 0.9rem !important;
  margin-bottom: 1.5rem !important;
}

.jm-kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .jm-form-row {
    grid-template-columns: 1fr;
  }
}

.jm-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jm-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jm-dark);
}

.jm-form-group input,
.jm-form-group textarea {
  border: 2px solid var(--jm-border);
  border-radius: var(--jm-radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.95rem;
  font-family: var(--jm-font);
  transition: var(--jm-transition);
  background: var(--jm-white);
}

.jm-form-group input:focus,
.jm-form-group textarea:focus {
  border-color: var(--jm-cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.jm-form-submit {
  background: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
  border: none !important;
  border-radius: var(--jm-radius) !important;
  padding: 0.875rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: var(--jm-transition);
  width: 100%;
  font-family: var(--jm-font);
}

.jm-form-submit:hover {
  background: var(--jm-cyan-dark) !important;
  transform: translateY(-1px);
}

.jm-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   LEGAL PAGES (AGB, Impressum, Datenschutz)
   ============================================ */
.page-template-default .wp-block-group > .wp-block-heading:first-child {
  margin-bottom: 2rem;
}

/* Nur auf Unterseiten – die Startseite traegt dieselbe Body-Klasse
   (page-template-default) und bekam dadurch unter jedem h2 eine helle
   2px-Linie: die lange ungeklaerte Phantomlinie unter Sektionskoepfen
   und im Miet-Band. */
body.page-template-default:not(.home) h2.wp-block-heading {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--jm-light);
}

/* ============================================
   EDUARD CONFIGURATOR WIZARD
   ============================================ */
.jm-eduard-wizard {
  margin: 3rem 0 2rem;
  padding: 2rem 0;
  border-top: 2px solid var(--jm-light);
}
.jm-eduard-wizard > h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jm-dark);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--jm-cyan);
  display: inline-block;
}

/* Progress Bar */
.jm-wizard-progress {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--jm-light);
  padding: 0.25rem;
}
.jm-wizard-progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.jm-wizard-progress-step:hover {
  background: rgba(0,0,0,0.05);
}
.jm-wizard-progress-step.active {
  background: var(--jm-cyan);
  color: #fff;
  font-weight: 600;
}
.jm-wizard-progress-step.completed {
  background: rgba(0, 188, 212, 0.15);
  color: var(--jm-cyan-dark);
}
.jm-wizard-progress-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.jm-wizard-progress-step.active .jm-wizard-progress-num {
  background: rgba(255,255,255,0.3);
  color: #fff;
}
.jm-wizard-progress-step.completed .jm-wizard-progress-num {
  background: var(--jm-cyan);
  color: #fff;
}
.jm-wizard-progress-label {
  font-size: 0.8rem;
}

/* Sticky Price Bar */
.jm-wizard-price-bar {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: var(--jm-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.jm-wizard-price-bar.active {
  background: linear-gradient(135deg, var(--jm-dark) 0%, #1a3a3f 100%);
}
.jm-wizard-price-inner {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.jm-wizard-price-label {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.8;
}
.jm-wizard-price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--jm-cyan);
}
.jm-wizard-price-vat {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Step Panels */
.jm-wizard-panel {
  display: none;
  animation: jmWizardFadeIn 0.3s ease;
}
.jm-wizard-panel.active {
  display: block;
}
@keyframes jmWizardFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.jm-wizard-panel > h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--jm-dark);
  margin-bottom: 0.5rem;
}
.jm-wizard-step-desc {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Card Options (Step 1: Modell) */
.jm-wizard-options {
  display: grid;
  gap: 1rem;
}
.jm-wizard-card {
  cursor: pointer;
}
.jm-wizard-card input {
  display: none;
}
.jm-wizard-card-inner {
  background: #fff;
  border: 2px solid var(--jm-light);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}
.jm-wizard-card-inner:hover {
  border-color: var(--jm-cyan);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.1);
}
.jm-wizard-card input:checked + .jm-wizard-card-inner {
  border-color: var(--jm-cyan);
  background: rgba(0, 188, 212, 0.05);
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.15);
}
.jm-wizard-card-inner h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jm-dark);
  margin: 0 0 0.5rem;
}
.jm-wizard-card-inner p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.jm-wizard-card-price {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
}

/* Radio Options */
.jm-wizard-radio {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 2px solid var(--jm-light);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.jm-wizard-radio:hover {
  border-color: var(--jm-cyan);
}
.jm-wizard-radio input {
  display: none;
}
.jm-wizard-radio-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.jm-wizard-radio input:checked ~ .jm-wizard-radio-mark {
  border-color: var(--jm-cyan);
  background: var(--jm-cyan);
}
.jm-wizard-radio input:checked ~ .jm-wizard-radio-mark::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.jm-wizard-radio input:checked ~ .jm-wizard-radio-label {
  font-weight: 600;
  color: var(--jm-dark);
}
.jm-wizard-radio-label {
  font-size: 0.95rem;
  flex: 1;
}
.jm-wizard-radio-desc {
  font-size: 0.8rem;
  color: #888;
}
.jm-wizard-radio-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
  white-space: nowrap;
}

/* Multi Options (Checkboxes & Radio groups) */
.jm-wizard-multi-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 2px solid var(--jm-light);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.jm-wizard-multi-option:hover {
  border-color: var(--jm-cyan);
}
.jm-wizard-multi-option input {
  display: none;
}
.jm-wizard-check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #ccc;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.jm-wizard-multi-option input[type="radio"] ~ .jm-wizard-check-mark {
  border-radius: 50%;
}
.jm-wizard-multi-option input:checked ~ .jm-wizard-check-mark {
  border-color: var(--jm-cyan);
  background: var(--jm-cyan);
}
.jm-wizard-multi-option input:checked ~ .jm-wizard-check-mark::after {
  content: '\2713';
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.jm-wizard-multi-option input:checked ~ .jm-wizard-multi-label {
  font-weight: 600;
}
.jm-wizard-multi-label {
  flex: 1;
  font-size: 0.9rem;
}
.jm-wizard-multi-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
  white-space: nowrap;
}

/* Navigation */
.jm-wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}
.jm-wizard-prev,
.jm-wizard-next {
  padding: 0.875rem 2rem;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.jm-wizard-prev {
  background: var(--jm-light);
  color: var(--jm-dark);
}
.jm-wizard-prev:hover:not(:disabled) {
  background: #ddd;
}
.jm-wizard-prev:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.jm-wizard-next {
  background: var(--jm-cyan);
  color: #fff;
  margin-left: auto;
}
.jm-wizard-next:hover {
  background: var(--jm-cyan-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

/* Summary */
.jm-wizard-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.jm-wizard-summary-table tr {
  border-bottom: 1px solid var(--jm-light);
}
.jm-wizard-summary-table td {
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
}
.jm-summary-label {
  font-weight: 600;
  color: var(--jm-dark);
  width: 30%;
}
.jm-summary-value {
  color: #444;
}
.jm-summary-price {
  text-align: right;
  font-weight: 600;
  color: var(--jm-cyan-dark);
  white-space: nowrap;
}
.jm-wizard-summary-total {
  background: var(--jm-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.jm-wizard-summary-base,
.jm-wizard-summary-options {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.jm-wizard-summary-grand {
  font-size: 1.2rem;
  color: var(--jm-dark);
  padding-top: 0.75rem;
  border-top: 2px solid rgba(0,0,0,0.1);
}
.jm-wizard-summary-grand strong {
  color: var(--jm-cyan-dark);
  font-size: 1.4rem;
}
.jm-wizard-summary-grand small {
  font-size: 0.75rem;
  color: #888;
}

/* Summary Actions */
.jm-wizard-summary-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.jm-wizard-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.jm-wizard-inquiry:hover {
  background: #20b858;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  color: #fff;
}
.jm-wizard-link-eduard {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--jm-light);
  color: var(--jm-dark);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.jm-wizard-link-eduard:hover {
  background: #ddd;
  color: var(--jm-dark);
}

/* Mobile Responsive */
@media (max-width: 782px) {
  .jm-wizard-progress {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .jm-wizard-progress-label {
    display: none;
  }
  .jm-wizard-progress-step {
    padding: 0.5rem;
    justify-content: center;
  }
  .jm-wizard-price-bar {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
  .jm-wizard-price-inner {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }
  .jm-wizard-card-inner {
    padding: 1rem;
  }
  .jm-wizard-nav {
    flex-direction: column;
  }
  .jm-wizard-next {
    margin-left: 0;
    text-align: center;
  }
  .jm-wizard-summary-actions {
    flex-direction: column;
  }
  .jm-wizard-inquiry,
  .jm-wizard-link-eduard {
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================================
   DESIGN-VEREDELUNG  (v1.1 – 07.08.2026)
   Aufbauend auf den Tokens oben. Ziel: einheitlicher Rhythmus, klare
   Schaltflaechen-Hierarchie, ruhige Flaechen, sichtbare Fokuszustaende.
   Dieser Block steht bewusst am Ende und ueberschreibt gezielt.
   ============================================================================ */

/* ---------------------------------------------------------------
   1. Fokus – sichtbar fuer Tastaturbedienung, unsichtbar fuer Maus
   --------------------------------------------------------------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--jm-blue-400);
  outline-offset: 2px;
  border-radius: var(--jm-radius-sm);
}

.jm-hero :where(a, button):focus-visible,
.jm-footer :where(a, button):focus-visible,
.jm-header :where(a, button):focus-visible {
  outline-color: var(--jm-blue-200);
}

/* ---------------------------------------------------------------
   2. Schaltflaechen – eine Groesse, drei Stufen
   --------------------------------------------------------------- */
.wp-block-button__link,
.wp-element-button,
.jm-btn {
  --jm-btn-h: 3rem;
  min-height: var(--jm-btn-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 1.75rem;
  font-family: var(--jm-font-display);
  font-weight: 650;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  border-radius: var(--jm-radius);
  text-decoration: none;
  transition: var(--jm-transition-fast);
  will-change: transform;
}

/* Primaer: kraeftiges Markenblau mit Tiefe */
.jm-btn-primary .wp-block-button__link,
.jm-btn-cta .wp-block-button__link,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.jm-btn--primary {
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%) !important;
  color: var(--jm-white) !important;
  border: none !important;
  box-shadow: var(--jm-shadow-blue), inset 0 1px 0 rgba(255,255,255,0.22);
}

.jm-btn-primary .wp-block-button__link:hover,
.jm-btn-cta .wp-block-button__link:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.jm-btn--primary:hover {
  background: linear-gradient(180deg, var(--jm-blue-500) 0%, var(--jm-blue-600) 60%, var(--jm-blue-700) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0,144,224,0.6), inset 0 1px 0 rgba(255,255,255,0.22);
}

.jm-btn-primary .wp-block-button__link:active,
.jm-btn-cta .wp-block-button__link:active,
.jm-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px -4px rgba(0,144,224,0.5);
}

/* Sekundaer: Umriss auf hellem Grund */
.jm-btn-secondary .wp-block-button__link,
.jm-btn--secondary,
.woocommerce a.button:not(.alt):not(.add_to_cart_button) {
  background: var(--jm-white) !important;
  color: var(--jm-blue-700) !important;
  border: 1.5px solid var(--jm-border-strong) !important;
  box-shadow: var(--jm-shadow-xs);
}

.jm-btn-secondary .wp-block-button__link:hover,
.jm-btn--secondary:hover,
.woocommerce a.button:not(.alt):not(.add_to_cart_button):hover {
  border-color: var(--jm-blue-400) !important;
  color: var(--jm-blue-700) !important;
  background: var(--jm-blue-50) !important;
  transform: translateY(-1px);
}

/* Ghost: auf dunklem Grund (Hero, Footer, CTA-Band) */
.jm-btn-ghost .wp-block-button__link,
.jm-btn-cta-outline .wp-block-button__link {
  background: rgba(255,255,255,0.06) !important;
  color: var(--jm-white) !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  backdrop-filter: blur(4px);
}

.jm-btn-ghost .wp-block-button__link:hover,
.jm-btn-cta-outline .wp-block-button__link:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(255,255,255,0.7) !important;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   3. Sektionen – ein Rhythmus fuer die ganze Seite
   --------------------------------------------------------------- */
/* Genau eine Stelle bestimmt den vertikalen Abstand. Die Templates
   liefern nur noch den seitlichen Gutter, sonst addieren sich die
   Paddings von Sektion und innerer Group zu Leerraum von ueber 180px. */
.jm-categories,
.jm-featured,
.jm-usp-section,
.jm-brands,
.jm-reviews,
.jm-cta {
  padding-top: var(--jm-section-y);
  padding-bottom: var(--jm-section-y);
}

/* Flaechenwechsel: weiss / hell / weiss / hell.
   Die Produkte und die Bewertungen stehen auf hellem Grund und heben
   sich als weisse Karten ab; dazwischen bleibt die Seite ruhig. */
.jm-categories,
.jm-usp-section,
.jm-brands {
  background: var(--jm-white);
}

.jm-featured,
.jm-reviews {
  background: var(--jm-light);
}

/* Die drei Leistungskarten tragen unterschiedlich lange Texte und
   sollen trotzdem auf gleicher Hoehe abschliessen. */
.jm-usp-section .wp-block-column {
  display: flex;
}

.jm-usp-section .jm-usp-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Markenlogos sind eine Randnotiz, keine eigene Buehne. */
.jm-brands {
  padding-top: var(--jm-section-y-sm);
  padding-bottom: var(--jm-section-y-sm);
}

/* ---- Sektionskopf: kompakt, mit klarer Rangfolge ---- */
.jm-section-header {
  margin-bottom: clamp(2rem, 3.2vw, 2.75rem);
}

/* WordPress setzt zwischen Bloecken einer Gruppe den globalen blockGap
   (hier 2rem). Im Sektionskopf gehoeren Eyebrow, Titel und Unterzeile
   eng zusammen – der Abstand kommt aus den Regeln darunter. */
.jm-section-header > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Eyebrow mit feiner Linie – gibt der Ueberschrift Halt */
.jm-section-tag {
  position: relative;
  padding-bottom: 0.7rem;
  margin-bottom: 0.9rem !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.14em;
}

.jm-section-tag::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: var(--jm-radius-pill);
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--jm-blue-400), var(--jm-blue-600));
}

.jm-section-header h2 {
  letter-spacing: -0.03em;
  font-size: clamp(1.875rem, 3.2vw, 2.625rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 0 !important;
}

.jm-subtitle {
  max-width: 620px;
  font-size: 1.0625rem !important;
  line-height: 1.6 !important;
  color: var(--jm-slate) !important;
  margin-top: 0.875rem !important;
}

/* ---------------------------------------------------------------
   4. Karten – einheitliche Anmutung ueber alle Bereiche
   --------------------------------------------------------------- */
.jm-category-card,
.jm-usp-card,
.jm-review-card,
.jm-brand-logo,
.jm-kontakt-info-card {
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  transition: var(--jm-transition);
}

.jm-category-card:hover,
.jm-usp-card:hover,
.jm-review-card:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}

/* Farbiger Anriss oben – dezent, erst beim Hover sichtbar */
.jm-category-card {
  position: relative;
  overflow: hidden;
}

.jm-category-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--jm-blue-400), var(--jm-blue-600));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.jm-category-card:hover::before {
  opacity: 1;
}

/* ---------------------------------------------------------------
   5. Produktkacheln im Shop
   --------------------------------------------------------------- */
.woocommerce ul.products li.product {
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  padding: 1rem 1rem 1.25rem;
  transition: var(--jm-transition);
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}

.woocommerce ul.products li.product img {
  border-radius: var(--jm-radius);
  background: var(--jm-light);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0.5rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--jm-font-display);
  font-size: 1rem !important;
  font-weight: 650;
  line-height: 1.35;
  color: var(--jm-black) !important;
  margin: 0.85rem 0 0.5rem !important;
}

.woocommerce ul.products li.product .price {
  color: var(--jm-black) !important;
  font-weight: 750;
  font-size: 1.15rem;
  margin-top: auto;
}

.woocommerce ul.products li.product .price small,
.woocommerce ul.products li.product .price .woocommerce-price-suffix {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--jm-gray);
}

/* Preis auf Anfrage (Produkte ohne hinterlegten Preis) */
.jm-pk-on-request {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--jm-font-display);
  font-weight: 650;
  color: var(--jm-blue-700);
}

.jm-pk-on-request::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jm-blue-400);
}

/* ---------------------------------------------------------------
   6. Fußbereich – Struktur, Icons, Lesbarkeit
   --------------------------------------------------------------- */
.jm-footer-heading {
  position: relative;
  font-size: 1.05rem !important;
  font-weight: 700;
  color: var(--jm-white) !important;
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.75rem;
}

.jm-footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: var(--jm-radius-pill);
  background: linear-gradient(90deg, var(--jm-blue-400), var(--jm-blue-600));
}

.jm-footer-intro {
  color: rgba(255,255,255,0.62) !important;
  font-size: 0.95rem !important;
  line-height: 1.7;
  max-width: 34ch;
}

/* Kontaktzeilen mit Symbol */
.jm-footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.9rem !important;
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.72) !important;
  line-height: 1.6;
}

.jm-footer-contact .jm-fi {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--jm-radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--jm-blue-300);
  transition: var(--jm-transition-fast);
}

.jm-footer-contact:hover .jm-fi {
  background: rgba(0,144,224,0.18);
  border-color: rgba(0,144,224,0.45);
  color: var(--jm-blue-200);
}

.jm-footer-contact .jm-fi-text {
  padding-top: 0.35rem;
}

.jm-footer-contact a {
  color: rgba(255,255,255,0.88) !important;
  text-decoration: none;
}

.jm-footer-contact a:hover {
  color: var(--jm-blue-300) !important;
}

/* Linklisten mit Chevron/Symbol */
.jm-footer-links {
  margin: 0 !important;
  line-height: 2.35;
  font-size: 0.95rem !important;
}

.jm-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  transition: var(--jm-transition-fast);
}

.jm-footer-links a svg {
  flex: 0 0 auto;
  color: var(--jm-blue-400);
  opacity: 0.85;
  transition: var(--jm-transition-fast);
}

.jm-footer-links a:hover {
  color: var(--jm-white) !important;
  transform: translateX(3px);
}

.jm-footer-links a:hover svg {
  opacity: 1;
  color: var(--jm-blue-300);
}

/* Soziale Netzwerke */
.jm-social-links {
  margin-top: 1.5rem;
}

.jm-social-links p {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0 !important;
}

.jm-social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--jm-radius);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-social-icon:hover {
  background: var(--jm-blue-500);
  border-color: var(--jm-blue-400);
  color: var(--jm-white) !important;
  transform: translateY(-3px);
  box-shadow: var(--jm-shadow-blue);
}

.jm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  color: rgba(255,255,255,0.5);
}

.jm-footer-bottom a {
  color: rgba(255,255,255,0.72) !important;
  text-decoration: none;
}

.jm-footer-bottom a:hover {
  color: var(--jm-blue-300) !important;
}

.jm-footer-credit {
  font-size: 0.75rem;
  opacity: 0.45;
}

/* ---------------------------------------------------------------
   7. Kopfbereich – ruhiger, mit klarer Kante
   --------------------------------------------------------------- */
.jm-header,
.wp-site-blocks > header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(0,144,224,0.35);
}

.jm-header-search input[type="search"],
.jm-header-search input[type="text"] {
  border-radius: var(--jm-radius-pill) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  background: rgba(255,255,255,0.07) !important;
  color: var(--jm-white) !important;
  transition: var(--jm-transition-fast);
}

.jm-header-search input::placeholder {
  color: rgba(255,255,255,0.5);
}

.jm-header-search input:focus {
  background: rgba(255,255,255,0.12) !important;
  border-color: var(--jm-blue-400) !important;
}

/* ---------------------------------------------------------------
   8. Hero – Tiefe durch feines Raster statt reiner Flaeche
   --------------------------------------------------------------- */
.jm-hero {
  min-height: min(78vh, 780px);
}

.jm-hero .jm-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}

.jm-hero-content {
  animation-fill-mode: both;   /* verhindert Aufblitzen vor der Animation */
}

.jm-hero p {
  color: rgba(255,255,255,0.78) !important;
}

.jm-hero-badge {
  background: rgba(0,144,224,0.16);
  border-color: rgba(0,144,224,0.42);
  color: var(--jm-blue-200) !important;
}

/* ---------------------------------------------------------------
   9. Schwebende Schaltflaechen – sauber gestapelt
   --------------------------------------------------------------- */
.jm-scroll-top {
  background: var(--jm-blue-600);
  box-shadow: var(--jm-shadow-blue);
}

.jm-scroll-top:hover {
  background: var(--jm-blue-700);
}

/* ---------------------------------------------------------------
   10. Bewegung nur, wenn gewuenscht
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .jm-category-card:hover,
  .jm-usp-card:hover,
  .woocommerce ul.products li.product:hover,
  .jm-btn-primary .wp-block-button__link:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------
   11. Kleine Bildschirme
   --------------------------------------------------------------- */
@media (max-width: 782px) {
  .jm-footer-columns {
    gap: 2.5rem !important;
  }

  .jm-footer-heading {
    margin-bottom: 1rem !important;
  }

  .jm-social-links p {
    justify-content: flex-start;
  }

  .wp-block-button__link,
  .wp-element-button {
    width: 100%;
  }

  .jm-hero {
    min-height: min(70vh, 620px);
  }
}

/* ---------------------------------------------------------------
   12. Nahtstelle Kopfbereich → Inhalt
   WordPress setzt zwischen den obersten Bloecken einen Blockabstand.
   Zwischen Header und Hero entstand dadurch ein weisser Streifen.
   --------------------------------------------------------------- */
.wp-site-blocks > header + *,
.wp-site-blocks > .jm-hero {
  margin-block-start: 0 !important;
}

.wp-site-blocks > footer,
.wp-site-blocks > .jm-footer {
  margin-block-start: 0 !important;
}

/* Der Verlauf am Hero-Fuss war sehr breit – schmaler wirkt praeziser */
.jm-hero::after {
  height: 48px;
  background: linear-gradient(transparent, rgba(255,255,255,0.85) 55%, var(--jm-white));
}

/* ---------------------------------------------------------------
   13. Produktkacheln (WooCommerce-Bloecke)
   Das Theme nutzt den Block "Produktsammlung", nicht die klassische
   Produktliste – daher greifen die .products li.product-Regeln nicht.
   --------------------------------------------------------------- */
.wc-block-product {
  box-sizing: border-box;   /* sonst sprengt das Innenabstand-Plus das Raster */
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  padding: 0.875rem 0.875rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--jm-transition);
}

.wc-block-product * {
  box-sizing: border-box;
}

.wc-block-product:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}

/* Bildflaeche vereinheitlichen – gleiche Reihenhoehe, Motiv vollstaendig */
.wc-block-product .wc-block-components-product-image {
  margin-bottom: 0.35rem;
}

.wc-block-product .wc-block-components-product-image a,
.wc-block-product .wc-block-components-product-image__inner-container {
  background: var(--jm-light);
  border-radius: var(--jm-radius);
  overflow: hidden;
}

/* Das Seitenverhaeltnis bringt WooCommerce ueber
   .wc-block-components-product-image--aspect-ratio-4-3 selbst mit.
   Eigene Vorgaben zu Hoehe oder aspect-ratio lassen das Bild kollabieren -
   hier deshalb nur Optik. */
.wc-block-product .wc-block-components-product-image img {
  border-radius: var(--jm-radius);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-block-product:hover .wc-block-components-product-image img {
  transform: scale(1.04);
}

/* Titel */
.wc-block-product .wp-block-post-title,
.wc-block-product .wc-block-components-product-title {
  font-family: var(--jm-font-display);
  font-size: 1rem !important;
  font-weight: 650;
  line-height: 1.35;
  margin: 0.35rem 0 0.15rem !important;
  min-height: 2.7em;
}

.wc-block-product .wp-block-post-title a {
  color: var(--jm-black) !important;
  text-decoration: none;
}

.wc-block-product:hover .wp-block-post-title a {
  color: var(--jm-blue-600) !important;
}

/* Preis */
.wc-block-product .wc-block-components-product-price {
  margin-top: auto;
  padding-top: 0.35rem;
}

.wc-block-product .wc-block-components-product-price__value {
  font-family: var(--jm-font-display);
  font-weight: 750;
  font-size: 1.2rem;
  color: var(--jm-black);
}

.wc-block-product .woocommerce-price-suffix,
.wc-block-product .wc-block-components-product-price small {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--jm-gray);
}

/* Schaltflaeche */
.wc-block-product .wc-block-components-product-button {
  margin-top: 0.85rem;
}

.wc-block-product .wc-block-components-product-button__button {
  width: 100%;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jm-font-display);
  font-weight: 650;
  font-size: 0.925rem;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%);
  color: var(--jm-white);
  border: none;
  box-shadow: var(--jm-shadow-blue), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: var(--jm-transition-fast);
}

.wc-block-product .wc-block-components-product-button__button:hover {
  background: linear-gradient(180deg, var(--jm-blue-500) 0%, var(--jm-blue-600) 60%, var(--jm-blue-700) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0,144,224,0.6);
}

/* Hinweis: Die Spaltenaufteilung steuert WooCommerce ueber die
   columns-N-Klassen. Ein gap-Override auf der Produktvorlage bringt das
   Raster durcheinander und bleibt deshalb bewusst weg. */

/* Sortier-Auswahl und Ergebniszeile */
.woocommerce-ordering select,
.wp-block-woocommerce-catalog-sorting select {
  min-height: 2.75rem;
  border-radius: var(--jm-radius) !important;
  border: 1.5px solid var(--jm-border-strong) !important;
  padding: 0 2.5rem 0 1rem !important;
  font-weight: 550;
  background-color: var(--jm-white);
}

.woocommerce-result-count,
.wp-block-woocommerce-product-results-count {
  color: var(--jm-gray) !important;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------
   14. Hersteller-Angabe auf der Produktseite
   --------------------------------------------------------------- */
.jm-product-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem !important;
  padding: 0.3rem 0.85rem 0.3rem 0.4rem;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-pill);
  background: var(--jm-white);
  font-size: 0.875rem !important;
  line-height: 1.4;
}

.jm-product-brand__label {
  padding: 0.15rem 0.6rem;
  border-radius: var(--jm-radius-pill);
  background: var(--jm-blue-50);
  color: var(--jm-blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jm-product-brand__value {
  font-family: var(--jm-font-display);
  font-weight: 650;
  color: var(--jm-black);
}

/* ---------------------------------------------------------------
   15. Kategoriekarten – Inhalt fuellt die Karte
   Die Spalten strecken die Karten auf gleiche Hoehe; der kurze Text
   liess unten viel Leerraum stehen. Jetzt sitzt der Verweis am Fuss.
   --------------------------------------------------------------- */
.jm-categories .wp-block-column {
  display: flex;
}

.jm-category-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.jm-category-card > a {
  display: flex !important;
  flex-direction: column;
  flex: 1;
}

.jm-category-card .jm-card-icon {
  height: 84px;
  background: linear-gradient(180deg, var(--jm-blue-50) 0%, var(--jm-light) 100%);
  border-bottom: 1px solid var(--jm-border);
}

.jm-category-card:hover .jm-card-icon {
  background: linear-gradient(180deg, var(--jm-blue-100) 0%, var(--jm-blue-50) 100%);
  color: var(--jm-blue-600);
}

.jm-category-card .jm-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.4rem 1.25rem;
}

.jm-category-card .jm-card-body p {
  margin-bottom: 0.9rem !important;
}

/* Verweis dauerhaft sichtbar – fuellt den Fuss und benennt die Aktion */
.jm-category-card .jm-card-arrow {
  margin-top: auto;
  opacity: 1;
  transform: none;
  font-family: var(--jm-font-display);
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--jm-blue-600);
  gap: 0.35rem;
}

.jm-category-card .jm-card-arrow::before {
  content: 'Modelle ansehen';
}

.jm-category-card:hover .jm-card-arrow {
  transform: translateX(3px);
  color: var(--jm-blue-700);
}

/* ============================================================================
   16. FILTERLEISTE IM SHOP (v1.2)
   Seitenspalte links, Ergebnisse rechts. Gefiltert wird serverseitig über
   filter_<attribut> in der URL, damit die Auswahl über alle Seiten gilt.
   ============================================================================ */
.jm-shop-layout > * {
  margin-block-start: 0 !important;
}

.jm-shop-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.jm-shop-results {
  min-width: 0;
}

/* Der Shortcode liefert Oeffner, Leiste und Overlay - zusammengefasst
   bilden sie ein einziges Rasterkind. */
.jm-filter-col {
  min-width: 0;
}

/* --- Seitenspalte ---
   Bewusst ohne sticky und ohne max-height: Mit Höhenbegrenzung waren
   Gewicht-, Preis-, Achsen- und Bremse-Filter hinter einem inneren
   Scrollbalken versteckt. Die Leiste zeigt jetzt alle Blöcke ganz und
   scrollt mit der Seite. */
.jm-filter {
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  padding: 1.1rem 1.15rem 1.25rem;
  box-shadow: var(--jm-shadow);
}

.jm-filter-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--jm-border);
}

.jm-filter-head h2 {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 700;
}

.jm-filter-reset {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--jm-blue-600) !important;
  text-decoration: none;
}

.jm-filter-reset:hover {
  text-decoration: underline;
}

.jm-filter-close {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--jm-gray);
}

/* --- Aktive Filter als Chips --- */
.jm-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--jm-border);
}

.jm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--jm-radius-pill);
  background: var(--jm-blue-50);
  border: 1px solid var(--jm-blue-200);
  color: var(--jm-blue-700) !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-chip span[aria-hidden] {
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.65;
}

.jm-chip:hover {
  background: var(--jm-blue-100);
  border-color: var(--jm-blue-400);
}

/* --- Aufklappbare Blöcke --- */
.jm-filter-block {
  border-bottom: 1px solid var(--jm-border);
}

.jm-filter-block:last-of-type {
  border-bottom: none;
}

.jm-filter-block > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  cursor: pointer;
  font-family: var(--jm-font-display);
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--jm-black);
  list-style: none;
}

.jm-filter-block > summary::-webkit-details-marker {
  display: none;
}

.jm-filter-block > summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--jm-gray);
  border-bottom: 2px solid var(--jm-gray);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.jm-filter-block[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.jm-filter-body {
  padding-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-height: 268px;
  overflow-y: auto;
}

/* --- Einzelner Wert --- */
.jm-filter-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: var(--jm-radius-sm);
  color: var(--jm-slate) !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-filter-item:hover {
  background: var(--jm-light);
  color: var(--jm-black) !important;
}

.jm-filter-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--jm-border-strong);
  border-radius: 5px;
  background: var(--jm-white);
  position: relative;
  transition: var(--jm-transition-fast);
}

.jm-filter-item.is-active .jm-filter-box {
  background: var(--jm-blue-500);
  border-color: var(--jm-blue-500);
}

.jm-filter-item.is-active .jm-filter-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.jm-filter-item.is-active {
  color: var(--jm-black) !important;
  font-weight: 600;
}

.jm-filter-label {
  flex: 1;
}

.jm-filter-item em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--jm-gray);
  background: var(--jm-light);
  padding: 0.1rem 0.45rem;
  border-radius: var(--jm-radius-pill);
}

.jm-filter-item.is-active em {
  background: var(--jm-blue-50);
  color: var(--jm-blue-700);
}

.jm-filter-note {
  margin: 1rem 0 0 !important;
  padding-top: 0.9rem;
  border-top: 1px solid var(--jm-border);
  font-size: 0.82rem !important;
  color: var(--jm-gray) !important;
  line-height: 1.5;
}

/* --- Mobiler Öffner --- */
.jm-filter-open {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  margin-bottom: 1rem;
  border: 1.5px solid var(--jm-border-strong);
  border-radius: var(--jm-radius);
  background: var(--jm-white);
  font-family: var(--jm-font-display);
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
}

.jm-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--jm-radius-pill);
  background: var(--jm-blue-500);
  color: #fff;
  font-size: 0.75rem;
}

.jm-filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12,21,32,0.5);
  z-index: 1000;
}

@media (max-width: 900px) {
  .jm-shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-filter-open {
    display: inline-flex;
  }

  .jm-filter {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 340px);
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0;
    border: none;
    z-index: 1001;
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .jm-filter.is-open {
    transform: translateX(0);
    box-shadow: var(--jm-shadow-hover);
  }

  .jm-filter-close {
    display: block;
  }

  body.jm-filter-locked {
    overflow: hidden;
  }
}

/* Bildlaufleisten in der Filterspalte dezent halten – die blauen
   Standardbalken zogen mehr Aufmerksamkeit als die Filter selbst. */
.jm-filter,
.jm-filter-body {
  scrollbar-width: thin;
  scrollbar-color: var(--jm-border-strong) transparent;
}

.jm-filter::-webkit-scrollbar,
.jm-filter-body::-webkit-scrollbar {
  width: 6px;
}

.jm-filter::-webkit-scrollbar-track,
.jm-filter-body::-webkit-scrollbar-track {
  background: transparent;
}

.jm-filter::-webkit-scrollbar-thumb,
.jm-filter-body::-webkit-scrollbar-thumb {
  background: var(--jm-border-strong);
  border-radius: var(--jm-radius-pill);
}

.jm-filter::-webkit-scrollbar-thumb:hover,
.jm-filter-body::-webkit-scrollbar-thumb:hover {
  background: var(--jm-gray-light);
}

.jm-filter-body {
  max-height: 320px;
}

/* Platz fuer die Bildlaufleiste, sonst verdeckt sie die Trefferzahl */
.jm-filter-body {
  padding-right: 0.5rem;
}

/* ============================================================================
   17. ANFRAGE STATT KAUF (v1.3)
   ============================================================================ */
.jm-anfrage {
  margin: 1.5rem 0 0;
  padding: 1.35rem 1.5rem;
  background: var(--jm-light);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
}

.jm-anfrage__lead {
  margin: 0 0 1.1rem !important;
  font-size: 0.975rem !important;
  line-height: 1.6;
  color: var(--jm-slate) !important;
}

.jm-anfrage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jm-anfrage__primary,
.jm-anfrage__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: var(--jm-radius);
  font-family: var(--jm-font-display);
  font-weight: 650;
  font-size: 0.975rem;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-anfrage__primary {
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%);
  color: var(--jm-white) !important;
  box-shadow: var(--jm-shadow-blue), inset 0 1px 0 rgba(255,255,255,0.22);
}

.jm-anfrage__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0,144,224,0.6);
}

.jm-anfrage__secondary {
  background: var(--jm-white);
  color: var(--jm-blue-700) !important;
  border: 1.5px solid var(--jm-border-strong);
}

.jm-anfrage__secondary:hover {
  border-color: var(--jm-blue-400);
  background: var(--jm-blue-50);
}

.jm-anfrage__note {
  margin: 1rem 0 0 !important;
  font-size: 0.82rem !important;
  color: var(--jm-gray) !important;
}

/* Hinweis auf der Kontaktseite */
.jm-anfrage-hinweis {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.35rem;
  border-left: 4px solid var(--jm-blue-500);
  border-radius: 0 var(--jm-radius) var(--jm-radius) 0;
  background: var(--jm-blue-50);
}

.jm-anfrage-hinweis strong {
  color: var(--jm-black);
}

.jm-anfrage-hinweis__sku {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.6rem;
  border-radius: var(--jm-radius-pill);
  background: var(--jm-white);
  border: 1px solid var(--jm-blue-200);
  font-size: 0.8rem;
  color: var(--jm-blue-700);
}

.jm-anfrage-hinweis p {
  margin: 0.6rem 0 0 !important;
  font-size: 0.92rem !important;
  color: var(--jm-slate) !important;
}

/* ---------------------------------------------------------------
   18. Fußbereich – Feinschliff (v1.3)
   --------------------------------------------------------------- */

/* Hover der Netzwerk-Symbole: einzig gueltige Definition steht in
   Abschnitt 39.15/66 (cyanblaue Flaeche, weisses Zeichen). Die fruehere
   Variante an dieser Stelle faerbte das Zeichen hellblau und machte es
   auf der cyanblauen Flaeche unsichtbar - ersatzlos entfernt. */

/* Rechtliche Verweise direkt über dem Copyright */
.jm-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin: 0 0 0.85rem !important;
  padding-top: 0.25rem;
  font-size: 0.85rem !important;
}

.jm-footer-legal a {
  color: rgba(255,255,255,0.72) !important;
  text-decoration: none;
}

.jm-footer-legal a:hover {
  color: var(--jm-blue-300) !important;
  text-decoration: underline;
}

/* ---------------------------------------------------------------
   19. Anhängertypen auf der Startseite (v1.3)
   Alle Typen aus dem Bestand, mit Symbol, Anzahl und Filterverweis.
   --------------------------------------------------------------- */
.jm-typen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

.jm-typ-karte {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  text-decoration: none !important;
  color: inherit !important;
  transition: var(--jm-transition);
}

.jm-typ-karte:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}

.jm-typ-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-50) 0%, var(--jm-light) 100%);
  border: 1px solid var(--jm-border);
  color: var(--jm-blue-500);
  transition: var(--jm-transition-fast);
}

.jm-typ-karte:hover .jm-typ-icon {
  background: linear-gradient(180deg, var(--jm-blue-100) 0%, var(--jm-blue-50) 100%);
  border-color: var(--jm-blue-200);
  color: var(--jm-blue-600);
}

.jm-typ-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.jm-typ-titel {
  font-family: var(--jm-font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--jm-black);
  line-height: 1.3;
}

.jm-typ-text {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--jm-gray);
}

.jm-typ-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.jm-typ-anzahl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jm-blue-700);
  background: var(--jm-blue-50);
  padding: 0.15rem 0.6rem;
  border-radius: var(--jm-radius-pill);
}

.jm-typ-pfeil {
  color: var(--jm-blue-500);
  font-weight: 700;
  transition: var(--jm-transition-fast);
}

.jm-typ-karte:hover .jm-typ-pfeil {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------
   20. Markenübersicht (v1.3)
   --------------------------------------------------------------- */
.jm-marken-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  width: 100%;
}

.jm-marke {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 148px;
  padding: 1.5rem 1.25rem;
  /* Helle Kachel statt schwarzer Flaeche: die Herstellerlogos bringen
     eigene weisse Hintergruende mit, die auf Dunkel als Kaestchen
     stehen bleiben. */
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  text-decoration: none !important;
  transition: var(--jm-transition);
}

.jm-marke:hover {
  border-color: var(--jm-blue-300);
  background: var(--jm-blue-50);
  transform: translateY(-4px);
  box-shadow: var(--jm-shadow-lg);
}

.jm-marke-logo {
  max-width: 150px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: multiply;
}

.jm-marke-name {
  font-family: var(--jm-font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--jm-black);
}

.jm-marke-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.jm-marke-anzahl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jm-blue-700);
  background: var(--jm-blue-50);
  padding: 0.15rem 0.6rem;
  border-radius: var(--jm-radius-pill);
}

.jm-marke-land {
  font-size: 0.78rem;
  color: var(--jm-gray);
}

/* Beschreibungstext dehnt sich, damit Anzahl und Pfeil auf einer Linie sitzen */
.jm-typ-text {
  flex: 1;
}

/* ============================================================================
   21. SHOWROOM-HERO (v1.4)
   Hell, fotogetrieben: links Text + Schnellsuche, rechts Freisteller.
   ============================================================================ */
.jm-showroom {
  background:
    radial-gradient(ellipse at 82% 30%, rgba(0,144,224,0.10) 0%, transparent 55%),
    linear-gradient(160deg, #FFFFFF 0%, var(--jm-light) 45%, var(--jm-light-alt) 100%);
  border-bottom: 1px solid var(--jm-border);
}

.jm-showroom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--jm-gutter) clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.jm-showroom-badge {
  display: inline-block;
  background: var(--jm-white);
  border: 1px solid var(--jm-blue-200);
  color: var(--jm-blue-700) !important;
  font-size: 0.8rem !important;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--jm-radius-pill);
  margin: 0 0 1.25rem !important;
  box-shadow: var(--jm-shadow-xs);
}

.jm-showroom h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em;
  color: var(--jm-black) !important;
  margin: 0 0 1.1rem !important;
}

.jm-showroom-accent {
  background: linear-gradient(135deg, var(--jm-blue-500), var(--jm-blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jm-showroom-sub {
  color: var(--jm-slate) !important;
  font-size: clamp(1rem, 1.6vw, 1.125rem) !important;
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 0 1.75rem !important;
}

/* Schnellsuche */
.jm-qs {
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow-lg);
  padding: 1.15rem 1.25rem 1rem;
  max-width: 640px;
}

.jm-qs-title {
  margin: 0 0 0.75rem !important;
  font-family: var(--jm-font-display);
  font-size: 0.95rem !important;
  font-weight: 700;
  color: var(--jm-black) !important;
}

.jm-qs-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
}

.jm-qs-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.jm-qs-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--jm-gray);
}

.jm-qs select {
  min-height: 2.9rem;
  border: 1.5px solid var(--jm-border-strong);
  border-radius: var(--jm-radius);
  padding: 0 2.1rem 0 0.85rem;
  font: 550 0.95rem var(--jm-font);
  color: var(--jm-black);
  background: var(--jm-white);
  width: 100%;
}

.jm-qs select:focus {
  border-color: var(--jm-blue-400);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,144,224,0.16);
}

.jm-qs-go {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.35rem;
  border: none;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%);
  color: var(--jm-white);
  font: 650 0.95rem var(--jm-font-display);
  cursor: pointer;
  box-shadow: var(--jm-shadow-blue), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: var(--jm-transition-fast);
  white-space: nowrap;
}

.jm-qs-go:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0,144,224,0.6);
}

.jm-qs-hint {
  margin: 0.8rem 0 0 !important;
  font-size: 0.8rem !important;
  color: var(--jm-gray) !important;
}

/* Produktfoto rechts */
.jm-showroom-visual {
  position: relative;
  text-align: center;
}

.jm-showroom-visual img {
  width: 100%;
  height: auto;
  border-radius: 0;
  /* Die Herstellerfotos stehen auf Weiss - multiply blendet die Flaeche
     in den hellen Verlauf ein, der Anhaenger bleibt frei stehen. */
  mix-blend-mode: multiply;
  animation: jm-hero-float 7s ease-in-out infinite;
}

/* Bodenschatten unter dem Anhaenger */
.jm-showroom-visual::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(12,21,32,0.22) 0%, transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

@keyframes jm-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.jm-showroom-caption {
  position: absolute;
  right: 4%;
  bottom: -2%;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-pill);
  padding: 0.45rem 1.1rem;
  font: 650 0.82rem var(--jm-font-display);
  color: var(--jm-blue-700) !important;
  text-decoration: none !important;
  box-shadow: var(--jm-shadow-md);
  transition: var(--jm-transition-fast);
}

.jm-showroom-caption:hover {
  border-color: var(--jm-blue-300);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .jm-showroom-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-showroom-visual {
    order: -1;
    margin-bottom: -0.5rem;
  }

  .jm-showroom-visual img {
    max-width: 420px;
  }

  .jm-showroom-caption {
    display: none;
  }

  .jm-qs-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-qs-go {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-showroom-visual img { animation: none; }
}

/* ---------------------------------------------------------------
   22. Typ-Fotokarten + Chips (v1.4)
   --------------------------------------------------------------- */
.jm-typen-grid--gross {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.jm-typ-foto {
  display: flex;
  flex-direction: column;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  box-shadow: var(--jm-shadow);
  text-decoration: none !important;
  color: inherit !important;
  transition: var(--jm-transition);
}

.jm-typ-foto:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}

.jm-typ-foto__bild {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  /* Flaeche bewusst rein weiss: die Herstellerfotos sind auf Weiss
     freigestellt, auf einem Verlauf zeichnet sich sonst ihr eigener
     Bildrand als Kasten ab. */
  background: #FFFFFF;
  border-bottom: 1px solid var(--jm-border);
  overflow: hidden;
  color: var(--jm-blue-400);
}

.jm-typ-foto__bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.9rem;
  mix-blend-mode: multiply;
  border-radius: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-typ-foto:hover .jm-typ-foto__bild img {
  transform: scale(1.05);
}

.jm-typ-foto__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.25rem 1.2rem;
}

/* Chip-Leiste fuer die uebrigen Typen */
.jm-typen-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.jm-typen-chips__label {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--jm-gray);
  margin-right: 0.25rem;
}

.jm-typ-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: var(--jm-white);
  border: 1.5px solid var(--jm-border-strong);
  border-radius: var(--jm-radius-pill);
  font: 600 0.875rem var(--jm-font-display);
  color: var(--jm-slate) !important;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-typ-chip em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--jm-blue-700);
  background: var(--jm-blue-50);
  padding: 0.05rem 0.5rem;
  border-radius: var(--jm-radius-pill);
}

.jm-typ-chip:hover {
  border-color: var(--jm-blue-400);
  color: var(--jm-black) !important;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   23. Beratung + Vermietung (v1.4)
   --------------------------------------------------------------- */
.jm-berater {
  padding: var(--jm-section-y-sm) var(--jm-gutter);
}

.jm-berater-card {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-xl);
  box-shadow: var(--jm-shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.jm-berater-avatar {
  flex: 0 0 132px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 2.6rem var(--jm-font-display);
  color: var(--jm-white);
  background: linear-gradient(135deg, var(--jm-blue-400), var(--jm-blue-700));
  box-shadow: var(--jm-shadow-blue);
}

.jm-berater-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important;
  margin: 0.35rem 0 0.75rem !important;
}

.jm-berater-text .jm-section-tag::after {
  left: 0;
  transform: none;
}

.jm-berater-text p {
  color: var(--jm-slate) !important;
  max-width: 62ch;
  margin: 0 0 1.1rem !important;
}

.jm-berater-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.jm-berater-facts span,
.jm-berater-facts a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 600 0.92rem var(--jm-font-display);
  color: var(--jm-slate);
  text-decoration: none;
}

.jm-berater-facts svg {
  color: var(--jm-blue-500);
}

.jm-berater-facts a:hover {
  color: var(--jm-blue-700);
}

.jm-miete {
  padding: 0 var(--jm-gutter) var(--jm-section-y-sm);
}

.jm-miete-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(0,144,224,0.25) 0%, transparent 55%),
    linear-gradient(135deg, var(--jm-blue-900), var(--jm-blue-700));
  border-radius: var(--jm-radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
}

.jm-miete-band h2 {
  color: var(--jm-white) !important;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem) !important;
  margin: 0 0 0.4rem !important;
}

.jm-miete-band p {
  color: rgba(255,255,255,0.78) !important;
  margin: 0 !important;
  max-width: 58ch;
}

@media (max-width: 720px) {
  .jm-berater-card {
    flex-direction: column;
    text-align: center;
  }
  .jm-berater-text .jm-section-tag::after { left: 50%; transform: translateX(-50%); }
  .jm-berater-facts { justify-content: center; }
}

/* ---------------------------------------------------------------
   24. Gewichts-Schieberegler (v1.4)
   --------------------------------------------------------------- */
.jm-gewicht {
  overflow: visible;
  max-height: none;
  padding-right: 0;
}

.jm-gewicht-werte {
  font: 700 0.95rem var(--jm-font-display);
  color: var(--jm-black);
  margin-bottom: 0.75rem;
}

.jm-gewicht-slider {
  position: relative;
  height: 26px;
  margin: 0 6px 0.6rem;
}

.jm-gewicht-spur {
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 5px;
  border-radius: var(--jm-radius-pill);
  background: var(--jm-light-alt);
}

.jm-gewicht-fuellung {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: var(--jm-radius-pill);
  background: linear-gradient(90deg, var(--jm-blue-400), var(--jm-blue-600));
}

.jm-gewicht-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.jm-gewicht-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--jm-white);
  border: 2.5px solid var(--jm-blue-500);
  box-shadow: var(--jm-shadow-md);
  cursor: grab;
}

.jm-gewicht-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--jm-white);
  border: 2.5px solid var(--jm-blue-500);
  box-shadow: var(--jm-shadow-md);
  cursor: grab;
}

.jm-gewicht-schein {
  margin: 0 0 0.75rem !important;
  padding: 0.55rem 0.75rem;
  border-radius: var(--jm-radius-sm);
  background: var(--jm-blue-50);
  border: 1px solid var(--jm-blue-100);
  font-size: 0.8rem !important;
  line-height: 1.5;
  color: var(--jm-blue-900) !important;
}

.jm-gewicht-los {
  width: 100%;
  min-height: 2.5rem;
  border: none;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-400), var(--jm-blue-600));
  color: var(--jm-white);
  font: 650 0.9rem var(--jm-font-display);
  cursor: pointer;
  box-shadow: var(--jm-shadow-blue), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: var(--jm-transition-fast);
}

.jm-gewicht-los:hover {
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------
   25. Suchvorschläge (v1.4)
   --------------------------------------------------------------- */
.jm-header-search,
.jm-header-search form,
.wp-block-search__inside-wrapper {
  position: relative;
}

.jm-suche-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(430px, 92vw);
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow-hover);
  overflow: hidden;
  z-index: 1200;
}

.jm-suche-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  text-decoration: none !important;
  border-bottom: 1px solid var(--jm-border);
  transition: background 0.12s ease;
}

.jm-suche-item:hover,
.jm-suche-item.is-aktiv {
  background: var(--jm-blue-50);
}

.jm-suche-item img,
.jm-suche-noimg {
  flex: 0 0 52px;
  width: 52px;
  height: 40px;
  object-fit: contain;
  background: var(--jm-light);
  border-radius: var(--jm-radius-sm);
}

.jm-suche-text {
  min-width: 0;
}

.jm-suche-text strong {
  display: block;
  font: 650 0.875rem var(--jm-font-display);
  color: var(--jm-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jm-suche-text small {
  color: var(--jm-gray);
  font-size: 0.78rem;
}

.jm-suche-alle,
.jm-suche-leer {
  display: block;
  padding: 0.7rem 0.9rem;
  font: 650 0.85rem var(--jm-font-display);
  color: var(--jm-blue-700) !important;
  text-decoration: none !important;
  background: var(--jm-light);
  text-align: center;
}

.jm-suche-alle:hover {
  background: var(--jm-blue-50);
}

.jm-suche-leer {
  color: var(--jm-gray) !important;
  font-weight: 500;
}

/* ---------------------------------------------------------------
   26. Merkliste + Vergleich (v1.4)
   --------------------------------------------------------------- */
.jm-karten-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.jm-merk-btn,
.jm-vgl-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--jm-border);
  background: rgba(255,255,255,0.92);
  color: var(--jm-gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--jm-shadow);
  transition: var(--jm-transition-fast);
}

.jm-merk-btn:hover,
.jm-vgl-btn:hover {
  color: var(--jm-blue-600);
  border-color: var(--jm-blue-300);
  transform: scale(1.08);
}

.jm-merk-btn.is-aktiv {
  color: #E11D48;
  border-color: #FDA4AF;
  background: #FFF1F2;
}

.jm-merk-btn.is-aktiv svg { fill: currentColor; }

.jm-vgl-btn.is-aktiv {
  color: var(--jm-white);
  background: var(--jm-blue-500);
  border-color: var(--jm-blue-500);
}

.jm-vgl-btn.is-voll { animation: jm-schuetteln 0.4s; }

@keyframes jm-schuetteln {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.jm-vgl-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--jm-black);
  color: #fff;
  border-radius: var(--jm-radius-pill);
  padding: 0.6rem 1.25rem;
  box-shadow: var(--jm-shadow-hover);
  z-index: 990;
  font: 600 0.9rem var(--jm-font-display);
}

.jm-vgl-bar a {
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.jm-vgl-bar__go { color: var(--jm-blue-300) !important; }
.jm-vgl-bar__go:hover { text-decoration: underline !important; }
.jm-vgl-bar__hint { color: rgba(255,255,255,0.6); font-weight: 500; }

.jm-merkliste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.jm-merk-karte {
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.jm-merk-karte a { text-decoration: none !important; color: inherit !important; }
.jm-merk-karte img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--jm-light); border-radius: var(--jm-radius); }
.jm-merk-karte strong { display: block; margin-top: 0.5rem; font-family: var(--jm-font-display); font-size: 0.95rem; }
.jm-merk-karte span { color: var(--jm-gray); font-size: 0.85rem; }

.jm-merk-entfernen {
  margin-top: auto;
  border: 1px solid var(--jm-border-strong);
  background: var(--jm-white);
  border-radius: var(--jm-radius-sm);
  padding: 0.4rem;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--jm-gray);
}

.jm-merk-entfernen:hover { color: #E11D48; border-color: #FDA4AF; }

.jm-merkliste-aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

/* Vergleichstabelle */
.jm-vergleich-scroll { overflow-x: auto; }

.jm-vergleich {
  width: 100%;
  border-collapse: collapse;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
}

.jm-vergleich th, .jm-vergleich td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--jm-border);
  text-align: left;
  font-size: 0.92rem;
  vertical-align: top;
}

.jm-vergleich thead th {
  background: var(--jm-light);
  min-width: 200px;
}

.jm-vergleich thead th:first-child { min-width: 140px; }

.jm-vergleich thead a { text-decoration: none !important; color: inherit !important; }
.jm-vergleich thead img { width: 100%; max-width: 200px; aspect-ratio: 4/3; object-fit: contain; background: var(--jm-white); border-radius: var(--jm-radius); }
.jm-vergleich thead strong { display: block; margin: 0.5rem 0 0.2rem; font-family: var(--jm-font-display); }

.jm-vergleich-marke { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--jm-blue-700); background: var(--jm-blue-50); border-radius: var(--jm-radius-pill); padding: 0.1rem 0.6rem; margin-bottom: 0.4rem; }
.jm-vergleich-preis { display: block; margin-bottom: 0.6rem; }

.jm-vergleich-anfrage {
  display: inline-block;
  background: linear-gradient(180deg, var(--jm-blue-400), var(--jm-blue-600));
  color: #fff !important;
  border-radius: var(--jm-radius);
  padding: 0.45rem 0.9rem;
  font: 650 0.82rem var(--jm-font-display);
  text-decoration: none !important;
}

.jm-vergleich tbody th { background: var(--jm-light); font-weight: 600; white-space: nowrap; }
.jm-vergleich-hinweis { color: var(--jm-gray); font-size: 0.82rem; margin-top: 0.75rem; }

/* ---------------------------------------------------------------
   27. Anhänger-Finder (v1.4)
   --------------------------------------------------------------- */
.jm-finder-schritte {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.jm-finder-schritte li {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.5rem;
  border-radius: var(--jm-radius);
  background: var(--jm-light);
  color: var(--jm-gray);
  font: 650 0.85rem var(--jm-font-display);
}

.jm-finder-schritte li.is-aktiv {
  background: var(--jm-blue-50);
  color: var(--jm-blue-700);
}

.jm-finder-schritt { display: none; }
.jm-finder-schritt.is-aktiv { display: block; animation: fadeInUp 0.35s ease-out; }
.jm-finder-schritt h2 { margin: 0 0 1.25rem !important; }

.jm-finder-optionen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.85rem;
}

.jm-finder-optionen--breit {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.jm-finder-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.1rem 1.15rem;
  background: var(--jm-white);
  border: 2px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  cursor: pointer;
  text-align: left;
  transition: var(--jm-transition-fast);
  color: var(--jm-blue-500);
}

.jm-finder-opt strong { font: 700 1rem var(--jm-font-display); color: var(--jm-black); }
.jm-finder-opt small { color: var(--jm-gray); font-size: 0.82rem; }

/* Das Symbol sitzt in einem getönten Feld – so wirkt der freie Strich nicht
   verloren und die Karte hat einen ruhigen Anfang (17.08.2026). */
.jm-finder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 0.15rem;
  border-radius: 14px;
  background: var(--jm-blue-50);
  color: var(--jm-blue-600);
  transition: var(--jm-transition-fast);
}

.jm-finder-opt:hover {
  border-color: var(--jm-blue-400);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-3px);
}

.jm-finder-opt:hover .jm-finder-icon {
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-finder-zurueck { margin-top: 1.5rem !important; }
.jm-finder-zurueck button {
  background: none;
  border: none;
  color: var(--jm-gray);
  font: 600 0.9rem var(--jm-font);
  cursor: pointer;
}
.jm-finder-zurueck button:hover { color: var(--jm-blue-700); }

/* ---------------------------------------------------------------
   28. Produktseite: Eckdaten, Ampel, Ähnliche, Sticky (v1.4)
   --------------------------------------------------------------- */
.jm-eckdaten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
}

.jm-eckdaten li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  background: var(--jm-light);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  margin: 0 !important;
}

.jm-eckdaten svg { color: var(--jm-blue-500); flex: 0 0 auto; }
.jm-eckdaten strong { display: block; font: 700 0.95rem var(--jm-font-display); color: var(--jm-black); line-height: 1.2; }
.jm-eckdaten small { color: var(--jm-gray); font-size: 0.72rem; }

.jm-schein {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--jm-radius);
  border: 1px solid;
}

.jm-schein--gruen { background: #F0FDF4; border-color: #BBF7D0; }
.jm-schein--gelb  { background: #FFFBEB; border-color: #FDE68A; }
.jm-schein--rot   { background: #FEF2F2; border-color: #FECACA; }

/* Statussymbol (16.08.2026, vorher ein 12-px-Punkt mit 4-px-Lichthof).
   Der Punkt war rechnerisch mittig zur Überschrift (Abweichung 0,5 px),
   wirkte aber falsch gesetzt: Der halbtransparente Ring lief in den
   Abstand zur Schrift hinein, sodass links ein Fleck und rechts eine
   Lücke standen – und seit der längeren Erklärung hing der kleine Punkt
   verloren in der linken oberen Ecke eines 200 px hohen Kastens.
   Jetzt ein gefüllter Kreis mit weißem Zeichen: 24 px sind nur wenig
   höher als die Zeile der Überschrift (19 px), dadurch sitzt er ohne
   Versatz von selbst mittig dazu. */
.jm-schein-punkt {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.jm-schein-punkt svg { display: block; width: 15px; height: 15px; }

.jm-schein--gruen .jm-schein-punkt { background: #16A34A; }
.jm-schein--gelb  .jm-schein-punkt { background: #D97706; }
.jm-schein--rot   .jm-schein-punkt { background: #DC2626; }

.jm-schein strong { font: 700 0.95rem var(--jm-font-display); color: var(--jm-black); }
.jm-schein p { margin: 0.2rem 0 0 !important; font-size: 0.85rem !important; color: var(--jm-slate) !important; line-height: 1.55; }

.jm-aehnlich { margin: 3rem 0 1rem; }
.jm-aehnlich h2 { font-size: 1.4rem !important; margin-bottom: 1.25rem !important; }

.jm-aehnlich-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.jm-aehnlich-karte {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  padding: 0.85rem;
  text-decoration: none !important;
  color: inherit !important;
  transition: var(--jm-transition);
}

.jm-aehnlich-karte:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-3px);
}

.jm-aehnlich-karte img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--jm-light);
  border-radius: var(--jm-radius);
}

.jm-aehnlich-marke {
  margin-top: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jm-blue-700);
}

.jm-aehnlich-karte strong {
  font: 650 0.95rem var(--jm-font-display);
  line-height: 1.35;
  color: var(--jm-black);
  /* Zwei Zeilen Platz, längere Namen abschneiden - so bleiben die
     Preiszeilen aller Karten auf gleicher Höhe. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.jm-aehnlich-preis {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font: 800 1.05rem var(--jm-font-display);
  color: var(--jm-blue-700);
  white-space: nowrap;
}

.jm-aehnlich-preis small {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--jm-gray);
}

.jm-aehnlich-anfrage { font-size: 0.9rem; font-weight: 650; }

/* hidden wirkt sonst nicht: display: flex übersteuert das Attribut, die
   Leiste war dadurch von Anfang an sichtbar, während der Pfeil-Knopf
   (Abschnitt 71) erst auf das entfernte Attribut reagierte - Überlappung
   beim ersten Scrollen. */
.jm-sticky-anfrage[hidden] { display: none !important; }

.jm-sticky-anfrage {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--jm-border);
  box-shadow: 0 -8px 24px rgba(12,21,32,0.10);
}

.jm-sticky-name {
  font: 650 0.95rem var(--jm-font-display);
  color: var(--jm-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.jm-sticky-preis { font: 750 1.05rem var(--jm-font-display); color: var(--jm-black); white-space: nowrap; }

.jm-sticky-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1.3rem;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-400), var(--jm-blue-600));
  color: #fff !important;
  font: 650 0.92rem var(--jm-font-display);
  text-decoration: none !important;
  box-shadow: var(--jm-shadow-blue);
}

@media (max-width: 640px) {
  .jm-sticky-name { display: none; }
  .jm-sticky-anfrage { justify-content: space-between; }
}

/* ============================================================================
   29. KOPFBEREICH KOMPAKT (v1.5)
   Bei 1280 px brach die Navigation zweizeilig um: sechs Menuepunkte plus
   breites Suchfeld, Konto- und Warenkorbsymbol passten nicht nebeneinander.
   ============================================================================ */
.jm-header-inner {
  gap: clamp(0.75rem, 2vw, 2rem);
}

/* Navigation darf nicht umbrechen */
.jm-main-nav > .wp-block-navigation__container,
.wp-block-navigation__container {
  flex-wrap: nowrap !important;
}

.jm-main-nav .wp-block-navigation-item__content {
  white-space: nowrap;
  padding: 0.35rem clamp(0.4rem, 0.9vw, 0.8rem) !important;
  font-size: clamp(0.86rem, 1vw, 0.95rem);
}

/* Suchfeld: ein Element mit innenliegender Lupe */
.jm-suche-form {
  position: relative;
  display: flex;
  align-items: center;
}

.jm-suche-lupe {
  position: absolute;
  left: 0.7rem;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
  transition: var(--jm-transition-fast);
}

.jm-suche-form input[type="search"] {
  width: clamp(150px, 15vw, 220px);
  min-height: 2.4rem;
  padding: 0 0.9rem 0 2.3rem;
  border-radius: var(--jm-radius-pill);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  color: var(--jm-white);
  font: 500 0.9rem var(--jm-font);
  transition: var(--jm-transition-fast);
}

.jm-suche-form input[type="search"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.jm-suche-form input[type="search"]:focus {
  outline: none;
  background: rgba(255,255,255,0.13);
  border-color: var(--jm-blue-400);
  box-shadow: 0 0 0 3px rgba(0,144,224,0.22);
}

.jm-suche-form input[type="search"]:focus + .jm-suche-lupe,
.jm-suche-form:focus-within .jm-suche-lupe {
  color: var(--jm-blue-300);
}

/* Warenkorb und Konto sind ohne Kaufvorgang ueberfluessig */
.jm-header-account,
.wp-block-woocommerce-mini-cart,
.wc-block-mini-cart {
  display: none !important;
}

/* Ab 1200 px auf das Overlay-Menue umschalten, statt zu quetschen */
@media (max-width: 1200px) {
  .jm-main-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }

  .jm-main-nav .wp-block-navigation__container:not(.is-responsive) {
    display: none !important;
  }
}

@media (max-width: 782px) {
  .jm-suche-form {
    display: none;
  }
}

/* Die Vergleichsleiste wird per Skript erzeugt; display:flex hat das
   hidden-Attribut ausgehebelt, sodass ein leerer schwarzer Balken stehen blieb. */
.jm-vgl-bar[hidden] {
  display: none !important;
}

/* Das Konto-Symbol stammt aus dem WooCommerce-Block "Kundenkonto" im
   Navigationsbereich - es blieb nach dem Entfernen des eigenen Links stehen. */
.wp-block-woocommerce-customer-account,
.wc-block-customer-account {
  display: none !important;
}

/* ============================================================================
   30. SCHRIFT AUF FARBIGEN FLAECHEN (v1.5)
   Helle Schrift auf dunklem Grund wirkt optisch schmaler und laeuft
   zusammen ("finden" mit fi-Ligatur). Etwas mehr Laufweite, keine
   Ligaturen im UI, sauberes Antialiasing.
   ============================================================================ */
.jm-qs-go,
.jm-anfrage__primary,
.jm-sticky-btn,
.jm-btn-primary .wp-block-button__link,
.jm-btn-cta .wp-block-button__link,
.wc-block-components-product-button__button,
.jm-vergleich-anfrage,
.jm-gewicht-los {
  letter-spacing: 0.012em;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.jm-qs-go {
  font-size: 1rem;
  padding: 0 1.6rem;
}

/* ============================================================================
   31. HERO-SLIDER (v1.5)
   Wechselnde Anhänger statt eines statischen Fotos – mit Modellname,
   Eckdaten, Preis und antippbaren Typ-Punkten.
   ============================================================================ */
.jm-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.jm-slider-buehne {
  position: relative;
  /* Anhaengerfotos sind sehr breit - eine flachere Buehne laesst das
     Fahrzeug deutlich groesser erscheinen. */
  aspect-ratio: 16 / 10;
  display: grid;
}

.jm-slide {
  grid-area: 1 / 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s;
}

.jm-slide.is-aktiv {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.jm-slide-bild {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  padding-bottom: 2rem;
  overflow: hidden;
}

.jm-slide-bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: multiply;
  /* Die Herstellerfotos haben teils breite weisse Raender - ein moderater
     Zoom nutzt die Buehne, ohne den Anhaenger anzuschneiden. */
  transform: scale(1.22);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-slide-bild:hover img {
  transform: scale(1.27);
}

/* Bodenschatten */
.jm-slide-bild::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 6%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(12,21,32,0.20) 0%, transparent 70%);
  filter: blur(7px);
  z-index: -1;
}

/* Infokarte über dem Bild */
.jm-slide-info {
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  padding: 0.7rem 1rem;
  box-shadow: var(--jm-shadow-lg);
  max-width: 70%;
}

.jm-slide-typ {
  font: 700 0.7rem var(--jm-font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jm-blue-700);
}

.jm-slide-name {
  font: 700 0.95rem var(--jm-font-display);
  color: var(--jm-black) !important;
  text-decoration: none !important;
  line-height: 1.25;
}

.jm-slide-name:hover { color: var(--jm-blue-700) !important; }

.jm-slide-fakten {
  font-size: 0.8rem;
  color: var(--jm-gray);
}

.jm-slide-preis {
  font: 750 1.05rem var(--jm-font-display);
  color: var(--jm-black);
  margin-top: 0.15rem;
}

.jm-slide-preis small {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--jm-gray);
}

/* Typ-Punkte als Reiter */
.jm-slider-punkte {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.jm-slider-punkte button {
  border: 1px solid var(--jm-border);
  background: rgba(255,255,255,0.75);
  border-radius: var(--jm-radius-pill);
  padding: 0.32rem 0.85rem;
  font: 600 0.78rem var(--jm-font-display);
  color: var(--jm-gray);
  cursor: pointer;
  transition: var(--jm-transition-fast);
}

.jm-slider-punkte button:hover {
  border-color: var(--jm-blue-300);
  color: var(--jm-blue-700);
}

.jm-slider-punkte button.is-aktiv {
  background: var(--jm-blue-500);
  border-color: var(--jm-blue-500);
  color: var(--jm-white);
  box-shadow: var(--jm-shadow-blue);
}

@media (max-width: 900px) {
  .jm-slider-buehne { aspect-ratio: 3 / 2; }
  .jm-slide-info { position: static; max-width: none; margin-top: 0.5rem; }
  .jm-slider-punkte button span { font-size: 0.74rem; }
}

/* ---------------------------------------------------------------
   32. Filterleiste – Abstände und Preisblock (v1.5)
   Die Blöcke standen zu dicht beieinander, Überschriften klebten am
   vorherigen Inhalt.
   --------------------------------------------------------------- */
.jm-filter {
  padding: 1.25rem 1.35rem 1.5rem;
}

.jm-filter-block > summary {
  padding: 1rem 0 0.85rem;
}

.jm-filter-body {
  padding-bottom: 1.15rem;
  gap: 0.15rem;
}

.jm-filter-item {
  padding: 0.45rem 0.5rem;
}

.jm-filter-chips {
  padding: 0.95rem 0 1rem;
  gap: 0.45rem;
}

.jm-filter-head {
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.jm-preis {
  overflow: visible;
  max-height: none;
  padding-right: 0;
}

.jm-preis-hinweis {
  margin: 0 0 0.85rem !important;
  font-size: 0.76rem !important;
  color: var(--jm-gray) !important;
  line-height: 1.5;
}

/* Gewichts- und Preisregler bekommen etwas Luft */
.jm-gewicht-slider {
  margin: 0.35rem 6px 0.75rem;
}

.jm-gewicht-werte {
  margin-bottom: 0.5rem;
}

/* ============================================================================
   33. KONTAKTSEITE (v1.5)
   Vorher: Titel doppelt, zwei unterschiedlich hohe Karten, viel Leerraum.
   Jetzt: drei Kontaktwege oben, darunter Formular und Infospalte.
   ============================================================================ */
.jm-kontakt {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* Drei Wege */
.jm-kontakt-wege {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.jm-weg {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  text-decoration: none !important;
  color: inherit !important;
  transition: var(--jm-transition);
}

.jm-weg:hover {
  border-color: var(--jm-blue-300);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-3px);
}

.jm-weg-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-50), var(--jm-light));
  border: 1px solid var(--jm-border);
  color: var(--jm-blue-500);
}

.jm-weg-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.jm-weg-text strong { font: 700 0.95rem var(--jm-font-display); color: var(--jm-black); }
.jm-weg-text span { font-size: 0.92rem; color: var(--jm-blue-700); font-weight: 600; word-break: break-word; }
.jm-weg-text small { font-size: 0.78rem; color: var(--jm-gray); }

/* Formular + Infospalte */
.jm-kontakt-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.jm-kontakt-formular {
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.jm-kontakt-formular h2 {
  margin: 0 0 0.5rem !important;
  font-size: 1.35rem !important;
}

.jm-kontakt-lead {
  margin: 0 0 1.5rem !important;
  color: var(--jm-slate) !important;
  font-size: 0.95rem !important;
}

.jm-kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jm-kontakt-karte {
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  padding: 1.35rem 1.5rem;
}

.jm-kontakt-karte h3 {
  margin: 0 0 0.75rem !important;
  font-size: 1.05rem !important;
}

.jm-kontakt-karte p {
  margin: 0 0 0.75rem !important;
  font-size: 0.94rem !important;
  line-height: 1.65;
  color: var(--jm-slate) !important;
}

.jm-kontakt-hinweis { font-size: 0.86rem !important; color: var(--jm-gray) !important; }

.jm-kontakt-route {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: 650 0.9rem var(--jm-font-display);
  color: var(--jm-blue-700) !important;
  text-decoration: none !important;
}

.jm-kontakt-route:hover { text-decoration: underline !important; }

.jm-kontakt-karte--dunkel {
  background: linear-gradient(150deg, var(--jm-black), var(--jm-blue-900));
  border-color: rgba(255,255,255,0.10);
}

.jm-kontakt-karte--dunkel h3 { color: var(--jm-white) !important; }

.jm-kontakt-liste {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.jm-kontakt-liste li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
}

.jm-kontakt-liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jm-blue-400);
}

/* Formularfelder im neuen Rahmen */
.jm-kontakt-formular input[type="text"],
.jm-kontakt-formular input[type="email"],
.jm-kontakt-formular input[type="tel"],
.jm-kontakt-formular textarea {
  width: 100%;
  border: 1.5px solid var(--jm-border-strong);
  border-radius: var(--jm-radius);
  padding: 0.7rem 0.9rem;
  font: 400 0.95rem var(--jm-font);
  background: var(--jm-white);
  transition: var(--jm-transition-fast);
}

.jm-kontakt-formular input:focus,
.jm-kontakt-formular textarea:focus {
  outline: none;
  border-color: var(--jm-blue-400);
  box-shadow: 0 0 0 3px rgba(0,144,224,0.16);
}

/* Seitentitel auf der Kontaktseite ausblenden – die Seite bringt ihre
   eigene Struktur mit, der Blocktitel stand doppelt darüber. */
.page-id-kontakt .wp-block-post-title,
body.page-template .jm-kontakt ~ .wp-block-post-title {
  display: none;
}

@media (max-width: 860px) {
  .jm-kontakt-raster { grid-template-columns: minmax(0, 1fr); }
}

/* Formularraster der Kontaktseite */
.jm-kontakt-formular .jm-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.jm-kontakt-formular .jm-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.jm-kontakt-formular label {
  font: 650 0.85rem var(--jm-font-display);
  color: var(--jm-slate);
}

.jm-kontakt-formular label span {
  color: var(--jm-blue-600);
}

.jm-kontakt-formular textarea {
  min-height: 140px;
  resize: vertical;
}

.jm-form-submit {
  width: 100%;
  min-height: 3rem;
  border: none;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%);
  color: var(--jm-white);
  font: 650 1rem var(--jm-font-display);
  letter-spacing: 0.012em;
  cursor: pointer;
  box-shadow: var(--jm-shadow-blue), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: var(--jm-transition-fast);
}

.jm-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0,144,224,0.6);
}

.jm-form-hinweis {
  margin: 0.9rem 0 0 !important;
  font-size: 0.78rem !important;
  color: var(--jm-gray) !important;
  line-height: 1.55;
}

/* ============================================================================
   34. BELIEBTE ANHAENGER – kuratierte Kartenliste (v1.6)
   ----------------------------------------------------------------------------
   Eigene Klassen statt der WooCommerce-Gitterklassen: der Shop versteckt in
   Listen bewusst jede .button (kein Onlinekauf), hier soll die Anfrage aber
   sichtbar bleiben.
   ============================================================================ */
.jm-beliebte {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.jm-beliebte > li.product {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  width: auto !important;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  overflow: hidden;
  transition: var(--jm-transition);
}

.jm-beliebte > li.product:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}

.jm-beliebt-bild {
  position: relative;
  display: block;
  background: var(--jm-light);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.jm-beliebt-bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-beliebte > li.product:hover .jm-beliebt-bild img {
  transform: scale(1.04);
}

.jm-beliebt-marke {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--jm-slate);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-pill);
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.jm-beliebte .woocommerce-loop-product__link {
  text-decoration: none !important;
}

/* Zwei Zeilen fest: sonst rutschen Preis und Knopf je nach Titellaenge
   auf unterschiedliche Hoehen und die Reihe wirkt unruhig. */
.jm-beliebte .woocommerce-loop-product__title {
  font-family: var(--jm-font-display);
  font-size: 0.975rem !important;
  font-weight: 700;
  line-height: 1.35;
  color: var(--jm-black);
  margin: 0 !important;
  padding: 1.1rem 1.1rem 0.6rem;
  transition: color 0.18s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2.7em + 1.7rem);
}

.jm-beliebte > li.product:hover .woocommerce-loop-product__title {
  color: var(--jm-cyan-dark);
}

/* Preis nach unten schieben, damit alle Karten gleich hoch wirken */
.jm-beliebte .price {
  margin-top: auto;
  padding: 0 1.1rem;
  display: block;
  font-size: 1.2rem !important;
  font-weight: 800;
  color: var(--jm-black) !important;
}

.jm-beliebte .price .jm-price-excl {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--jm-gray) !important;
}

/* Der Shop blendet in Listen jede .button aus (kein Onlinekauf).
   Diese Regel muss den Selektor "ul.products li.product .button"
   ueberbieten, sonst verschwindet der Anfrage-Knopf. */
ul.products.jm-beliebte > li.product a.jm-beliebt-btn {
  display: block !important;
  margin: 1rem 1.1rem 1.1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--jm-radius);
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

ul.products.jm-beliebte > li.product a.jm-beliebt-btn:hover {
  background: var(--jm-cyan-dark);
  box-shadow: var(--jm-shadow-blue);
}

/* "Preis auf Anfrage" tritt an die Stelle des Betrags und darf weder
   Listenpunkt noch die Preisfarbe des Shops erben. */
.jm-beliebte > li.product {
  list-style: none;
}

.jm-beliebte .price::before,
.jm-beliebte .price::marker,
.jm-beliebte > li.product::marker {
  content: none !important;
  display: none !important;
}

/* Der Text kommt aus der Preiskalkulation (.jm-pk-on-request); in der
   Karte soll er wie ein Preis wirken, nicht wie ein Hinweis. */
.jm-beliebte .jm-preis-anfrage,
.jm-beliebte .jm-pk-on-request {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: var(--jm-slate) !important;
}

.jm-beliebte .jm-pk-on-request::before,
.jm-beliebte .jm-pk-on-request::after {
  content: none !important;
}

@media (max-width: 1100px) {
  .jm-beliebte {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .jm-beliebte {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .jm-beliebte {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   35. FEINSCHLIFF STARTSEITE (v1.6)
   ============================================================================ */

/* Quellenzeile der Bewertungen unten buendig, unabhaengig von der Textlaenge */
.jm-reviews .jm-review-card {
  display: flex;
  flex-direction: column;
}

.jm-reviews .jm-review-card .jm-review-source,
.jm-reviews .jm-review-card > p:last-child {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

/* Der Sektionskopf soll ausser dem Eyebrow-Strich keine Linie tragen. */
.jm-section-header h2 {
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  border: 0 !important;
}

.jm-section-header::after,
.jm-section-header::before {
  content: none !important;
}

/* ============================================================================
   36. RATGEBER (v1.6)
   ----------------------------------------------------------------------------
   Zehn Themenseiten unter /ratgeber/ plus die Uebersicht mit Kacheln.
   ============================================================================ */

/* ---- Einzelne Ratgeberseite ---- */
.page-child .entry-content > .jm-ratgeber-bild,
.jm-ratgeber-bild {
  /* Feste Bauhoehe: die Herstellerfotos sind quadratisch mit viel
     Rand und wuerden sonst die halbe Seite fuellen.
     17.08.2026: getoente Flaeche statt weissem Kasten. Die Fotos sind
     freigestellt auf Weiss - im weissen Rahmen schwebte der Anhaenger in
     einem leeren Feld. Ueber `multiply` verschwindet das Weiss jetzt im
     Farbton, das Foto sitzt auf der Flaeche statt darin. */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  max-width: 580px;
  padding: 0.75rem 1.25rem;
  margin: 0 auto 2.25rem;
  background: linear-gradient(180deg, var(--jm-light-alt), var(--jm-light));
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
}

.jm-ratgeber-bild img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  /* Die Vorlagen bringen reichlich Rand mit - leicht groesser gezogen
     wirkt der Anhaenger nicht verloren, beschnitten wird nur Weissraum. */
  transform: scale(1.28);
  mix-blend-mode: multiply;
}

/* ---- Themenkopf einer Ratgeberseite (17.08.2026) ----
   Steht anstelle des früheren Aufmacherfotos: Symbol des Themas, Weg zurück
   in die Übersicht, Lesedauer. Gibt der Seite einen Anfang und zeigt, wo man
   gelandet ist – vorher begann sie unvermittelt mit Fließtext. */
.jm-rat-kopf {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--jm-border);
}

.jm-rat-kopf__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--jm-blue-50);
  color: var(--jm-blue-600);
}

.jm-rat-kopf__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.875rem;
}

.jm-rat-kopf__meta a {
  font-family: var(--jm-font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jm-blue-600);
  text-decoration: none !important;
}

.jm-rat-kopf__meta a:hover {
  color: var(--jm-blue-700);
}

.jm-rat-kopf__zeit {
  color: var(--jm-gray);
}

.jm-lead {
  font-size: 1.1875rem !important;
  line-height: 1.65 !important;
  color: var(--jm-slate) !important;
  margin-bottom: 2rem !important;
}

/* Auf den Themenseiten war die Gliederung auf den Kopf gestellt: Die Regel
   `body.page-template-default:not(.home) h2.wp-block-heading` setzt h2 auf
   1,25 rem, h3 blieb beim Themenwert von rund 1,4 rem – die Unterüberschrift
   war also größer als die Überschrift darüber. Nur für den Ratgeber gerade
   gerückt, die übrigen Unterseiten bleiben, wie sie sind (17.08.2026). */
body.parent-pageid-20748 .entry-content h2.wp-block-heading {
  font-size: clamp(1.375rem, 2.2vw, 1.625rem);
  margin-top: 2.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--jm-border);
}

body.parent-pageid-20748 .entry-content h3,
body.parent-pageid-20748 .entry-content h3.wp-block-heading {
  font-size: 1.1875rem;
  margin-top: 1.9rem;
  margin-bottom: 0.5rem;
  color: var(--jm-black);
}

.entry-content h2,
.jm-ratgeber h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.entry-content ul li {
  margin-bottom: 0.55rem;
  line-height: 1.65;
}

.jm-ratgeber-hinweis {
  margin-top: 2.5rem !important;
  padding: 1rem 1.25rem;
  background: var(--jm-light);
  border-left: 3px solid var(--jm-cyan);
  border-radius: 0 var(--jm-radius) var(--jm-radius) 0;
  font-size: 0.9375rem !important;
  color: var(--jm-gray) !important;
}

.jm-ratgeber-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem !important;
}

/* ---- Weiterlesen am Ende einer Themenseite (17.08.2026) ----
   Vorher endete jede Seite nach der letzten Zeile; der einzige Weg weiter war
   der Zurück-Knopf des Browsers. */
.jm-rat-weiter {
  max-width: 820px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--jm-border);
}

.jm-rat-weiter__titel {
  font: 700 1.0625rem var(--jm-font-display) !important;
  letter-spacing: 0.01em;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--jm-black);
}

.jm-rat-weiter__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.jm-rat-mini {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 1.15rem;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  text-decoration: none !important;
  transition: var(--jm-transition);
}

.jm-rat-mini:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-3px);
}

.jm-rat-mini__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--jm-blue-50);
  color: var(--jm-blue-600);
  transition: var(--jm-transition-fast);
}

.jm-rat-mini:hover .jm-rat-mini__icon {
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-rat-mini__titel {
  font: 700 0.9375rem/1.35 var(--jm-font-display);
  color: var(--jm-black);
}

.jm-rat-weiter__alle {
  margin: 1.25rem 0 0 !important;
  font-size: 0.9375rem;
}

.jm-rat-weiter__alle a {
  font-weight: 700;
  color: var(--jm-blue-600);
  text-decoration: none !important;
}

@media (max-width: 700px) {
  .jm-rat-weiter__grid {
    grid-template-columns: 1fr;
  }

  .jm-rat-mini {
    flex-direction: row;
    align-items: center;
  }
}

/* ---- Uebersicht mit Kacheln ----
   Zwei Spalten statt drei: zehn Themen gehen so ohne einzelne Waisenkachel
   in der letzten Reihe auf, und neben dem Symbol bleibt Platz fuer eine
   Zeile Text (17.08.2026). Vorher stand hier ein Produktfoto je Kachel. */
.jm-rat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.jm-rat-karte {
  display: grid;
  grid-template-columns: 52px 1fr 18px;
  align-items: start;
  gap: 1.15rem;
  padding: 1.3rem 1.4rem;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  text-decoration: none !important;
  transition: var(--jm-transition);
}

.jm-rat-karte:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-3px);
}

.jm-rat-karte__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--jm-blue-50);
  color: var(--jm-blue-600);
  transition: var(--jm-transition-fast);
}

.jm-rat-karte:hover .jm-rat-karte__icon {
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-rat-karte__titel {
  display: block;
  font-family: var(--jm-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--jm-black);
  margin-bottom: 0.35rem;
}

.jm-rat-karte__text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--jm-gray);
}

.jm-rat-karte__pfeil {
  display: flex;
  align-self: center;
  color: var(--jm-border-strong);
  transition: var(--jm-transition-fast);
}

.jm-rat-karte:hover .jm-rat-karte__pfeil {
  color: var(--jm-blue-500);
  transform: translateX(3px);
}

/* ---- Abschluss unter den Kacheln ---- */
.jm-rat-abschluss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.6rem 1.8rem;
  background: var(--jm-light);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
}

.jm-rat-abschluss strong {
  display: block;
  font-family: var(--jm-font-display);
  font-size: 1.0625rem;
  margin-bottom: 0.2rem;
}

.jm-rat-abschluss p {
  margin: 0 !important;
  color: var(--jm-gray);
  font-size: 0.9375rem;
}

.jm-rat-abschluss__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Schaltflaechen ausserhalb des Button-Blocks.
   `.jm-btn-primary` war bisher nur als Huelle um einen Gutenberg-Button
   gestylt (`.jm-btn-primary .wp-block-button__link`). Steht die Klasse direkt
   am Link – so wie in den Ratgebertexten – griff gar nichts: Auf allen zehn
   Ratgeberseiten standen „Passenden Anhänger finden" und „Beratung anfragen"
   seit jeher als unterstrichene Textlinks da. Am Element festgemacht, damit
   die Huellen-Variante unberuehrt bleibt (17.08.2026). */
a.jm-btn-primary,
a.jm-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: var(--jm-radius);
  font: 700 0.9375rem var(--jm-font-display);
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

a.jm-btn-primary {
  background: linear-gradient(180deg, var(--jm-blue-400), var(--jm-blue-600));
  color: #fff !important;
  border: 1px solid transparent;
  box-shadow: var(--jm-shadow-blue);
}

a.jm-btn-primary:hover {
  background: linear-gradient(180deg, var(--jm-blue-500), var(--jm-blue-700));
  transform: translateY(-2px);
}

a.jm-btn-ghost {
  background: var(--jm-white);
  color: var(--jm-slate) !important;
  border: 1px solid var(--jm-border-strong);
}

a.jm-btn-ghost:hover {
  border-color: var(--jm-blue-400);
  color: var(--jm-blue-700) !important;
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .jm-rat-grid {
    grid-template-columns: 1fr;
  }

  .jm-rat-abschluss {
    padding: 1.35rem 1.4rem;
  }
}

/* Lesbare Zeilenlaenge auf den Ratgeberseiten: der Beitragscontainer ist
   1200 px breit, Fliesstext soll aber bei rund 75 Zeichen umbrechen. */
body.parent-pageid-20748 .entry-content > *,
body.page-id-20748 .entry-content > p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Gleiche Lesespalte fuer die Rechtstexte (Impressum 18538,
   Datenschutz 18539, AGB 18544) – reiner Fliesstext ueber 1.200 px
   ist muehsam zu lesen. */
body.page-id-18538 .entry-content > *,
body.page-id-18539 .entry-content > *,
body.page-id-18544 .entry-content > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Der Beitragstitel steht ausserhalb von .entry-content und muss
   dieselbe Spalte einhalten. */
body.parent-pageid-20748 .wp-block-post-title,
body.page-id-20748 .wp-block-post-title,
body.page-id-18538 .wp-block-post-title,
body.page-id-18539 .wp-block-post-title,
body.page-id-18544 .wp-block-post-title {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================================
   37. NEUIGKEITEN UND ANGEBOTE (v1.6)
   ----------------------------------------------------------------------------
   Beide Inhaltstypen pflegt der Kunde selbst im Backend.
   ============================================================================ */
.jm-angebote-grid,
.jm-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.jm-angebot,
.jm-news-karte {
  display: flex;
  flex-direction: column;
  background: var(--jm-white);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  overflow: hidden;
  transition: var(--jm-transition);
}

.jm-angebot:hover,
.jm-news-karte:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}

.jm-angebot-bild,
.jm-news-bild {
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--jm-white);
  border-bottom: 1px solid var(--jm-border);
  overflow: hidden;
}

.jm-angebot-bild img,
.jm-news-bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  mix-blend-mode: multiply;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-angebot:hover .jm-angebot-bild img,
.jm-news-karte:hover .jm-news-bild img {
  transform: scale(1.04);
}

.jm-angebot-body,
.jm-news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.4rem 1.4rem;
}

/* Aktionsmarke – der einzige warme Akzent auf der Seite, bewusst sparsam */
.jm-angebot-marke {
  align-self: flex-start;
  background: rgba(245, 158, 11, 0.12);
  color: #A15C07;
  border-radius: var(--jm-radius-pill);
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jm-angebot-titel,
.jm-news-titel {
  font-family: var(--jm-font-display);
  font-size: 1.0625rem !important;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem !important;
}

.jm-angebot-titel a,
.jm-news-titel a {
  color: var(--jm-black);
  text-decoration: none !important;
}

.jm-angebot:hover .jm-angebot-titel a,
.jm-news-karte:hover .jm-news-titel a {
  color: var(--jm-cyan-dark);
}

.jm-angebot-text,
.jm-news-text {
  font-size: 0.9rem !important;
  line-height: 1.55;
  color: var(--jm-gray) !important;
  margin: 0 0 1rem !important;
}

/* Preis, Laufzeit und Knopf als Fussblock: nur so schliessen alle
   Kacheln einer Reihe auf gleicher Hoehe ab. */
.jm-angebot-fuss {
  margin-top: auto;
}

.jm-angebot-preis {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--jm-black);
}

.jm-angebot-preis del {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--jm-gray-light);
}

.jm-angebot-preis--anfrage {
  font-size: 1.0625rem;
  color: var(--jm-slate);
}

.jm-angebot-bis {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--jm-gray);
}

.jm-angebot-btn {
  display: block;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--jm-radius);
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-angebot-btn:hover {
  background: var(--jm-cyan-dark);
  box-shadow: var(--jm-shadow-blue);
}

.jm-news-datum {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--jm-cyan-dark);
}

.jm-news-mehr {
  margin-top: auto;
}

.jm-news-mehr a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
  text-decoration: none !important;
}

/* Sektion "Aktuelle Angebote" auf der Startseite */
.jm-aktionen {
  padding-top: var(--jm-section-y);
  padding-bottom: var(--jm-section-y);
  background: var(--jm-light);
}

@media (max-width: 1000px) {
  .jm-angebote-grid,
  .jm-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .jm-angebote-grid,
  .jm-news-grid {
    grid-template-columns: 1fr;
  }
}

/* Innencontainer der beiden CMS-Sektionen – gleiche Breite wie der Rest */
.jm-aktionen-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--jm-gutter);
  padding-right: var(--jm-gutter);
}

.jm-neuigkeiten {
  padding-top: var(--jm-section-y);
  padding-bottom: var(--jm-section-y);
  background: var(--jm-white);
}

.jm-aktionen-mehr {
  margin-top: 2rem !important;
  text-align: center;
}

.jm-aktionen-mehr a {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--jm-cyan);
  border-radius: var(--jm-radius);
  color: var(--jm-cyan-dark) !important;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-aktionen-mehr a:hover {
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
}

/* ============================================================================
   38. FORMULAR: SPAMSCHUTZ UND RUECKMELDUNG (v1.6)
   ============================================================================ */

/* Honigtopf: aus dem Bild geschoben statt display:none – manche Bots
   erkennen und überspringen ausgeblendete Felder. */
.jm-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jm-form-meldung {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--jm-radius);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.jm-form-meldung--ok {
  background: rgba(15, 157, 88, 0.08);
  border-left: 3px solid var(--jm-success);
  color: #0B6B3C;
}

.jm-form-meldung--ok strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #0B6B3C;
}

.jm-form-meldung--fehler {
  background: rgba(220, 38, 38, 0.07);
  border-left: 3px solid #DC2626;
  color: #991B1B;
}

/* ============================================================================
   39. DESIGN-DURCHGANG STARTSEITE (v1.7)
   ----------------------------------------------------------------------------
   Drei Baustellen: Knöpfe auf farbigen Flächen hatten zu wenig Kontrast,
   die Sektionen unterschieden sich farblich kaum (#FFF gegen #F6F8FA), und
   auf dem Handy stand das Produktfoto vor der Überschrift.
   ============================================================================ */

/* ---- 39.1 Knöpfe auf dunklen und blauen Flächen ----
   Auf dunklem Grund gewinnt Weiß. Ein blauer Knopf auf blauem Band und ein
   fast durchsichtiger Rahmenknopf auf Dunkelblau waren praktisch unlesbar. */
.jm-cta .jm-btn-cta .wp-block-button__link,
.jm-miete .jm-btn-primary .wp-block-button__link {
  background: var(--jm-white) !important;
  color: var(--jm-blue-800) !important;
  border: 0 !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55) !important;
}

.jm-cta .jm-btn-cta .wp-block-button__link:hover,
.jm-miete .jm-btn-primary .wp-block-button__link:hover {
  background: var(--jm-blue-50) !important;
  color: var(--jm-blue-900) !important;
  transform: translateY(-2px);
}

/* Zweitknopf: klarer Rahmen statt Hauch */
.jm-cta .jm-btn-cta-outline .wp-block-button__link,
.jm-btn-cta-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--jm-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.75) !important;
  font-weight: 700 !important;
}

.jm-cta .jm-btn-cta-outline .wp-block-button__link:hover,
.jm-btn-cta-outline .wp-block-button__link:hover {
  background: var(--jm-white) !important;
  color: var(--jm-blue-800) !important;
  border-color: var(--jm-white) !important;
}

/* ---- 39.2 Sektionen sichtbar voneinander absetzen ----
   #F6F8FA gegen Weiß ist auf vielen Bildschirmen nicht zu erkennen.
   Die hellen Sektionen bekommen den kräftigeren Ton, dazu eine feine
   Kante als Abschluss. */
.jm-featured,
.jm-reviews,
.jm-aktionen {
  background: var(--jm-light-alt) !important;
  border-top: 1px solid var(--jm-border);
  border-bottom: 1px solid var(--jm-border);
}

/* Produktkarten auf getöntem Grund brauchen etwas mehr Kante */
.jm-featured .jm-beliebte > li.product,
.jm-reviews .jm-review-card,
.jm-aktionen .jm-angebot {
  border-color: var(--jm-border-strong);
}

/* ---- 39.3 Kennzahlenleiste als dunkler Riegel ----
   Sie trennt Bühne und Inhalt und gibt der Seite sofort Struktur. */
.jm-stats-bar {
  background: var(--jm-black) !important;
  border: 0 !important;
  border-bottom: 3px solid var(--jm-cyan) !important;
}

.jm-stats-bar .jm-stat-number {
  color: var(--jm-white) !important;
}

.jm-stats-bar .jm-stat p {
  color: rgba(255, 255, 255, 0.62) !important;
}

.jm-stats-bar .jm-stat + .jm-stat,
.jm-stats-inner .jm-stat + .jm-stat {
  border-left-color: rgba(255, 255, 255, 0.14) !important;
}

/* ---- 39.4 Bühne: kräftigerer Verlauf statt fast weißer Fläche ---- */
.jm-showroom {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(0, 144, 224, 0.20) 0%, transparent 58%),
    radial-gradient(ellipse at 5% 95%, rgba(0, 144, 224, 0.10) 0%, transparent 55%),
    linear-gradient(155deg, #FFFFFF 0%, var(--jm-light) 38%, var(--jm-light-alt) 100%) !important;
  border-bottom: 0 !important;
}

/* ---- 39.5 Handy: erst die Aussage, dann das Bild ----
   Das Foto stand vor Badge und Überschrift; Besucher sahen zuerst einen
   freigestellten Anhänger ohne jeden Zusammenhang. */
@media (max-width: 900px) {
  .jm-showroom-visual {
    order: 0;
    margin-bottom: 0;
  }

  .jm-showroom-inner {
    padding-top: clamp(1.75rem, 6vw, 2.5rem);
  }
}

/* ---- 39.6 Sortimentskacheln ----
   Die Herstellerfotos sind unterschiedlich freigestellt: mal füllt der
   Anhänger das Bild, mal schwebt er winzig in der Mitte. Eine feste
   Bildhöhe mit getöntem Grund und etwas Vergrößerung gleicht das aus. */
.jm-typ-foto__bild {
  aspect-ratio: 3 / 2 !important;
  background: linear-gradient(170deg, var(--jm-white) 0%, var(--jm-light-alt) 100%) !important;
  border-bottom: 1px solid var(--jm-border) !important;
}

.jm-typ-foto__bild img {
  padding: 0.5rem 1.25rem !important;
  transform: scale(1.12);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-typ-foto:hover .jm-typ-foto__bild img {
  transform: scale(1.19);
}

/* Aus dem nackten Pfeilzeichen wird eine benannte Aktion */
.jm-typ-pfeil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--jm-blue-50);
  color: var(--jm-blue-700) !important;
  font-size: 0.95rem;
  line-height: 1;
}

.jm-typ-foto:hover .jm-typ-pfeil {
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
  transform: translateX(3px);
}

.jm-typ-anzahl {
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Kachel insgesamt etwas präsenter */
.jm-typ-foto {
  border: 1px solid var(--jm-border) !important;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  background: var(--jm-white);
  box-shadow: var(--jm-shadow);
  transition: var(--jm-transition);
}

.jm-typ-foto:hover {
  border-color: var(--jm-blue-300) !important;
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-5px);
}

/* Titelzeile deutlicher vom Fließtext abheben */
.jm-typ-titel {
  font-size: 1.125rem !important;
  letter-spacing: -0.02em;
}

/* ---- 39.7 Chips unter den Kacheln ---- */
.jm-typ-chip {
  border-color: var(--jm-border-strong) !important;
  font-weight: 600;
}

.jm-typ-chip:hover {
  border-color: var(--jm-cyan) !important;
  background: var(--jm-blue-50) !important;
}

/* ---- 39.8 willhaben im Footer ----
   Das "wh"-Kürzel ist entfallen; an seiner Stelle steht das Original-Logo,
   siehe Abschnitt 79. */

/* ---- 39.9 Bühne: der Anhänger muss der Held sein ----
   Die Herstellerfotos sind quadratisch mit viel weißem Rand. Dadurch stand
   der Anhänger winzig in der Mitte einer großen leeren Fläche. Der Beschnitt
   der Bühne schneidet den Rand weg, das Fahrzeug wird nahezu doppelt so groß.
   Die Schwebe-Animation muss den Maßstab mittragen, sonst überschreibt sie
   ihn im ersten Bild. */
.jm-slide-bild img,
.jm-showroom-visual img {
  --jm-hero-scale: 1.55;
  transform: scale(var(--jm-hero-scale));
}

@keyframes jm-hero-float {
  0%, 100% { transform: scale(var(--jm-hero-scale, 1)) translateY(0); }
  50%      { transform: scale(var(--jm-hero-scale, 1)) translateY(-9px); }
}

/* Weiche Lichtfläche als Standfläche */
.jm-slider-buehne::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  bottom: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(0, 144, 224, 0.16) 0%,
    rgba(0, 144, 224, 0.06) 45%,
    transparent 72%);
  z-index: 0;
}

.jm-slider-buehne > * {
  position: relative;
  z-index: 1;
}

/* Die Modellkarte gehört ans Fahrzeug, nicht darunter */
.jm-slide-info {
  bottom: 0.5rem !important;
  max-width: 78% !important;
  border-color: var(--jm-border-strong) !important;
}

/* Typ-Schaltflächen unter der Bühne mit etwas mehr Luft */
.jm-slider-punkte {
  margin-top: 1.5rem !important;
}

@media (max-width: 900px) {
  .jm-slide-bild img,
  .jm-showroom-visual img {
    --jm-hero-scale: 1.3;
  }
}

/* ---- 39.10 Kachelbilder formatfüllend ----
   Ein Teil der Herstellerfotos hat einen grauen Studiohintergrund, der auf
   heller Fläche als Kasten stehen bleibt – mix-blend-mode macht ihn dabei
   sogar dunkler. Formatfüllend beschnitten füllt dieser Hintergrund die
   ganze Bildzone und wirkt als gewollte Fläche. */
.jm-typ-foto__bild img {
  object-fit: cover !important;
  mix-blend-mode: normal !important;
  padding: 0 !important;
  transform: none !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-typ-foto:hover .jm-typ-foto__bild img {
  transform: scale(1.05) !important;
}

/* ---- 39.11 Handy: Bühne straffen ----
   Zwischen Suchbox und Foto klaffte eine halbe Bildschirmhöhe, und der
   Anhänger stand wieder klein in viel Luft. */
@media (max-width: 900px) {
  .jm-showroom-inner {
    gap: 1.25rem;
  }

  /* Flachere Buehne gegen die Luecke zwischen Suchbox und Fahrzeug.
     Kein overflow:hidden – das beschneidet die Modellkarte darunter. */
  .jm-slider-buehne {
    aspect-ratio: 16 / 9;
  }

  .jm-slide-bild {
    padding-bottom: 0.5rem;
  }

  .jm-slide-info {
    position: static !important;
    max-width: 100% !important;
    margin-top: 0.75rem;
    text-align: center;
    align-items: center;
  }

  .jm-slider-punkte {
    margin-top: 1rem !important;
  }
}

@media (max-width: 600px) {
  .jm-slide-bild img,
  .jm-showroom-visual img {
    --jm-hero-scale: 1.5;
  }
}

/* ---- 39.12 Beraterkarte: die rechte Hälfte war leer ----
   Text und Avatar standen links, rechts blieb ein Drittel der Karte
   ungenutzt. Der Textblock darf jetzt die Breite ausfüllen, die
   Kontaktzeile rückt als eigene Spalte nach rechts. */
.jm-berater-card {
  align-items: stretch !important;
  gap: clamp(1.25rem, 3vw, 2.25rem) !important;
}

.jm-berater-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jm-berater-text > .jm-berater-meta,
.jm-berater-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jm-border);
}

/* Kontaktzeile: gleichmäßig verteilt statt links zusammengedrängt */
.jm-berater-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.jm-berater-meta a,
.jm-berater-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ---- 39.13 Markenkacheln kompakter, Logos größer ----
   148 px hohe Kacheln mit einem 30 px kleinen Logo wirkten leer. */
.jm-marke {
  min-height: 118px !important;
  padding: 1.15rem 1rem !important;
  gap: 0.7rem !important;
}

/* Logos deutlich praesenter - sie sind das Gesicht der Kacheln.
   Kundenwunsch 08.08.2026: groesser. */
.jm-marke-logo {
  /* Die Quelldateien sind vom Weissrand befreit - die Kappung wirkt
     jetzt auf den Schriftzug selbst, nicht auf leere Flaeche. */
  max-width: 230px !important;
  max-height: 64px !important;
}

/* Der Text-Rueckfall (Martz hat keine Logodatei) zieht mit,
   damit die vier Kacheln gleich gewichtet wirken */
.jm-marke-name {
  font-size: 2.1rem !important;
}

/* ---- 39.14 Handlungsblock in der Beraterkarte ----
   Füllt die bislang leere rechte Kartenhälfte mit dem, was an dieser
   Stelle den größten Nutzen hat: Telefonnummer und Anfrage. */
.jm-berater-aktion {
  flex: 0 0 clamp(240px, 24%, 300px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--jm-blue-50) 0%, var(--jm-light-alt) 100%);
  border: 1px solid var(--jm-blue-100);
  border-radius: var(--jm-radius-lg);
  text-align: center;
}

.jm-berater-aktion__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jm-slate);
}

.jm-berater-tel {
  font-family: var(--jm-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--jm-blue-800) !important;
  text-decoration: none !important;
}

.jm-berater-tel:hover {
  color: var(--jm-cyan) !important;
}

.jm-berater-btn {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--jm-radius);
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-berater-btn:hover {
  background: var(--jm-cyan-dark);
  box-shadow: var(--jm-shadow-blue);
}

.jm-berater-aktion__hint {
  font-size: 0.76rem;
  color: var(--jm-gray);
}

@media (max-width: 860px) {
  .jm-berater-card {
    flex-wrap: wrap;
  }

  .jm-berater-aktion {
    flex: 1 1 100%;
  }
}

/* ---- 39.15 Symbole im Footer sichtbar machen ----
   Dunkelgrau auf Dunkelblau war kaum zu erkennen. */
.jm-social-icon {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: var(--jm-transition-fast);
}

/* ".jm-footer a:hover" (cyan) ist spezifischer als ".jm-social-icon:hover" –
   ohne den .jm-footer-Prefix stand hier Cyan auf Cyan (wh unsichtbar). */
.jm-social-icon:hover,
.jm-footer a.jm-social-icon:hover {
  background: var(--jm-cyan) !important;
  border-color: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
  transform: translateY(-2px);
}

/* Die Symbole der Kontaktzeile ebenso */
.jm-footer .jm-fi {
  color: var(--jm-cyan) !important;
}

/* ---- 39.16 Bauart über dem Modellnamen ----
   "2517 C4" oder "260 Edition" sagt niemandem etwas. Die Bauart darüber
   ordnet das Modell sofort ein. */
.jm-beliebte .jm-beliebt-typ {
  display: block;
  padding: 1rem 1.1rem 0;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jm-cyan-dark);
}

.jm-beliebte .jm-beliebt-typ + .woocommerce-loop-product__title {
  padding-top: 0.3rem;
  min-height: calc(2.7em + 0.9rem);
}

/* ============================================================================
   40. KORREKTUREN NACH RÜCKMELDUNG (v1.7)
   ============================================================================ */

/* ---- 40.1 Knopf "Anhänger finden" ----
   Die font-Kurzschreibweise setzt line-height auf "normal" zurück; mit den
   Metriken von Plus Jakarta Sans saß die Schrift dadurch tiefer als das
   Lupensymbol daneben. */
.jm-qs-go {
  line-height: 1 !important;
  align-items: center !important;
}

.jm-qs-go svg {
  display: block;
  flex: 0 0 auto;
}

/* ---- 40.2 Logo im Kopfbereich ----
   Die alte Datei war ein JPG; ohne Transparenz stand ihr grauer
   Hintergrund als Kasten im dunklen Kopf. Jetzt freigestellt als PNG. */
.jm-header .custom-logo,
.wp-block-site-logo img {
  height: auto;
  max-height: 34px;
  width: auto;
  background: none !important;
  border-radius: 0 !important;
}

/* ---- 40.3 Fahrzeug nicht mehr anschneiden ----
   Bei Maßstab 1,55 lief das Heck aus der Bühne heraus und wurde vom
   overflow abgeschnitten. */
.jm-slide-bild img,
.jm-showroom-visual img {
  --jm-hero-scale: 1.28;
}

@media (max-width: 600px) {
  .jm-slide-bild img,
  .jm-showroom-visual img {
    --jm-hero-scale: 1.24;
  }
}

/* Die Modellkarte lag über dem Fahrzeug – sie rückt an den unteren Rand */
.jm-slide-info {
  bottom: -1.25rem !important;
  max-width: 68% !important;
}

/* ---- 40.4 Zähler ----
   Feste Breite verhindert, dass die Leiste beim Hochzählen springt. */
.jm-stats-bar .jm-stat-number {
  font-variant-numeric: tabular-nums;
}

/* ---- 40.5 Logo weiter an den Rand und etwas größer ----
   Bei 1.400 px Inhaltsbreite plus 3rem Innenabstand stand das Logo rund
   63 px vom Fensterrand entfernt und wirkte nach innen gerutscht. */
.jm-header-inner {
  padding-left: clamp(0.75rem, 1.6vw, 1.75rem) !important;
  padding-right: clamp(0.75rem, 2vw, 2.25rem) !important;
  max-width: 1520px !important;
}

.jm-header .custom-logo,
.wp-block-site-logo img {
  max-height: 38px !important;
}

/* ---- 40.6 Lupensymbol auf die optische Mitte der Schrift ----
   Plus Jakarta Sans sitzt in seiner Box leicht tief; das Symbol wandert
   die Differenz mit. */
.jm-qs-go svg {
  position: relative;
  top: 2px;
}

/* ============================================================================
   41. FARBE STATT DÜSTERNIS (v1.7)
   ----------------------------------------------------------------------------
   Vier dunkle Blöcke (Kopf, Kennzahlen, Handlungsaufruf, Fuß) und durchweg
   silbergraue Fahrzeugfotos ließen die Seite schwer wirken. Zwei der vier
   Blöcke tragen jetzt Markenblau, das dem Auftritt Energie gibt, ohne die
   Farbwelt zu verlassen.
   ============================================================================ */

/* Kennzahlen: von Schwarz auf ein kräftiges Blau */
.jm-stats-bar {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    linear-gradient(120deg, var(--jm-blue-600) 0%, var(--jm-blue-500) 45%, var(--jm-cyan) 100%) !important;
  border-bottom: 0 !important;
}

.jm-stats-bar .jm-stat-number {
  color: var(--jm-white) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.jm-stats-bar .jm-stat p {
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 600;
}

.jm-stats-bar .jm-stat + .jm-stat,
.jm-stats-inner .jm-stat + .jm-stat {
  border-left-color: rgba(255, 255, 255, 0.28) !important;
}

/* Handlungsaufruf: ebenfalls Blau statt Anthrazit */
.jm-cta {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    linear-gradient(140deg, var(--jm-blue-700) 0%, var(--jm-blue-500) 100%) !important;
}

/* Damit bleiben nur Kopf und Fuß dunkel – das ist gewollt und rahmt die
   Seite ein, statt sie zu beschweren. */

/* ============================================================================
   42. MODERNERER AUFTRITT (v1.7)
   ----------------------------------------------------------------------------
   Die Seite war korrekt, aber streng: Auszeichnungen als grauer Kleintext,
   Überschriften brav, Karten flach. Drei Eingriffe mit großer Wirkung.
   ============================================================================ */

/* ---- 42.1 Eyebrow als farbige Marke statt Kleintext mit Strich ---- */
.jm-section-tag {
  display: inline-block;
  padding: 0.4rem 0.95rem 0.4rem !important;
  margin-bottom: 1.1rem !important;
  background: var(--jm-blue-50);
  border: 1px solid var(--jm-blue-100);
  border-radius: var(--jm-radius-pill);
  color: var(--jm-blue-700) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
}

/* Der Strich darunter entfällt – die Fläche trägt die Auszeichnung jetzt */
.jm-section-tag::after {
  content: none !important;
}

/* Auf farbigen Flächen mitdenken */
.jm-cta .jm-section-tag,
.jm-miete .jm-section-tag {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--jm-white) !important;
}

/* ---- 42.2 Überschriften mit mehr Präsenz ---- */
.jm-section-header h2 {
  font-size: clamp(2rem, 3.6vw, 3rem) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
}

.jm-subtitle {
  font-size: 1.125rem !important;
  margin-top: 1rem !important;
}

/* ---- 42.3 Karten: weichere Formen, deutlichere Reaktion ---- */
.jm-typ-foto,
.jm-beliebte > li.product,
.jm-rat-karte,
.jm-angebot,
.jm-news-karte,
.jm-review-card,
.jm-usp-card {
  border-radius: 18px !important;
}

/* Farbiger Anriss oben, der beim Zeigen einfährt – gibt den Kacheln Leben */
.jm-typ-foto {
  position: relative;
}

.jm-typ-foto::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jm-cyan), var(--jm-blue-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.jm-typ-foto:hover::after {
  transform: scaleX(1);
}

/* Leistungssymbole: gefüllte Fläche statt blasser Kachel */
.jm-usp-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 22px -10px rgba(0, 144, 224, 0.65);
}

/* Die größere Unterzeile brach bei 620 px auf zwei Zeilen um */
.jm-subtitle {
  max-width: 720px !important;
}

/* ============================================================================
   43. KNOPF "ANHÄNGER FINDEN" – SAUBER AUFGEBAUT (v1.7)
   ----------------------------------------------------------------------------
   Zwei Ursachen lagen übereinander:
   1. Ein nackter Textknoten neben dem SVG bildet ein anonymes Flex-Element.
      Mit `line-height: 1` wird dessen Box auf die em-Höhe gestaucht – der
      sichtbare Text sitzt darin tiefer als die Box, also rutschte der
      gesamte Inhalt rund 10 px unter die Knopfmitte.
   2. Die dritte Rasterspalte stand auf `auto` und durfte schrumpfen. Mit
      `white-space: nowrap` lief die Schrift dann über den rechten
      Innenabstand hinaus – rechts blieben 12 px, links 29 px.
   Beides ist jetzt über je ein eigenes Element und feste Spaltenbreite
   gelöst.
   ============================================================================ */
.jm-qs-row {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) max-content !important;
}

.jm-qs-go {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  min-height: 3rem !important;
  padding: 0 1.5rem !important;
  line-height: 1.15 !important;
  white-space: nowrap;
}

.jm-qs-go__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.jm-qs-go__icon svg {
  display: block;
  position: static !important;
  top: auto !important;
}

.jm-qs-go__text {
  display: block;
  /* Die Schrift sitzt in ihrer Zeilenbox leicht tief; der Ausgleich
     bringt sie auf die optische Mitte des Knopfes. */
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .jm-qs-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ============================================================================
   44. SHOP: PRODUKTBILDER WAREN UNSICHTBAR (v1.7)
   ----------------------------------------------------------------------------
   Im Shop blieben alle Bildflächen leer, obwohl die Bilder im DOM standen
   und die Dateien mit 200 antworteten. Der umschließende <a> ist von Haus
   aus ein Inline-Element; zusammen mit `overflow: hidden` aus der
   Kartengestaltung hatte er keine eigene Höhe, sodass das als Block
   gesetzte Bild nicht dargestellt wurde.
   ============================================================================ */
.wc-block-components-product-image,
.wc-block-components-product-image a,
.wc-block-components-product-image__inner-container,
.wc-block-product .wc-block-components-product-image a,
.wc-block-product .wc-block-components-product-image__inner-container {
  display: block !important;
  width: 100%;
}

.wc-block-components-product-image img,
.wc-block-product .wc-block-components-product-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
}

/* ============================================================================
   45. SHOP-KACHELN AUSRICHTEN (v1.7)
   ----------------------------------------------------------------------------
   Preis und Knopf standen je nach Titellänge auf unterschiedlicher Höhe –
   bei zwei- oder dreizeiligen Modellnamen rutschte die ganze Kachel.
   ============================================================================ */
.wc-block-product {
  display: flex !important;
  flex-direction: column;
}

/* Titel auf zwei Zeilen festlegen, damit alle Reihen gleich laufen */
.wc-block-product .wp-block-post-title,
.wc-block-product .wc-block-components-product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2.6em + 0.5rem);
}

/* Preisblock nach unten, Knopf schließt die Kachel ab */
.wc-block-product .wc-block-components-product-price {
  margin-top: auto !important;
}

.wc-block-product .wp-block-woocommerce-product-button,
.wc-block-product .wc-block-components-product-button {
  margin-top: 0.75rem !important;
}

.wc-block-product .wc-block-components-product-button__button {
  width: 100%;
  text-align: center;
}

/* Bauart über dem Modellnamen in den Shop-Kacheln */
.jm-kachel-bauart {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jm-cyan-dark);
}

/* ============================================================================
   46. MARKENSEITEN (v1.7)
   ----------------------------------------------------------------------------
   Die vier Seiten unter /marken/ bestanden nur aus Fließtext über die volle
   Breite von 1.200 px – ohne Bild und ohne einen einzigen Anhänger.
   ============================================================================ */

/* Lesbare Spalte für den Fließtext, Modellraster darf breiter laufen */
body.parent-pageid-20747 .entry-content > *,
body.page-id-20747 .entry-content > *,
body.parent-pageid-20747 .wp-block-post-title,
body.page-id-20747 .wp-block-post-title {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

body.parent-pageid-20747 .entry-content > .jm-markenseite-modelle {
  max-width: 100%;
}

.jm-markenseite-modelle {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--jm-border);
}

.jm-markenseite-modelle h2 {
  margin-bottom: 0.4rem !important;
}

.jm-markenseite-lead {
  margin-bottom: 2rem !important;
  color: var(--jm-gray) !important;
}

.jm-markenseite-modelle .jm-beliebte {
  margin-bottom: 0 !important;
}

/* Leeres Angebots- oder Neuigkeitenarchiv */
.jm-archiv-leer {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
  text-align: center;
}

.jm-archiv-leer .jm-ratgeber-cta {
  justify-content: center;
}

/* ============================================================================
   47. EMPFEHLUNGSKACHELN: MOTIV MITTIG (v1.7)
   ----------------------------------------------------------------------------
   Die Anhänger saßen sichtbar aus der Mitte. Ursache liegt in den
   Herstellerfotos: gemessen an einem Beispiel 136 px Rand links, 168 px
   rechts – vor allem aber 104 px oben gegen 39 px unten. Mit `contain`
   wird dieser schiefe Rand unverändert mitgezeigt.
   Formatfüllend beschnitten verschwindet der Rand, das Motiv steht mittig
   und alle Kacheln einer Reihe wirken gleich.
   ============================================================================ */
/* Formatfuellend in einem flachen Feld: Die Herstellerfotos zeigen den
   Anhaenger tief im Bild (gemessen 104 px Rand oben gegen 39 px unten),
   dadurch sass er klein in der unteren Haelfte der Kachel. In einem
   16:10-Feld beschneidet cover die 4:3-Aufnahmen oben und unten – also
   dort, wo ohnehin nur Hintergrund ist – und laesst die Breite des
   Fahrzeugs unangetastet. Ein 4:3-Feld haette links und rechts
   geschnitten und die Anhaenger gekappt. */
.jm-beliebte .jm-beliebt-bild,
.jm-markenseite-modelle .jm-beliebt-bild {
  aspect-ratio: 16 / 10;
  background: var(--jm-white);
}

.jm-beliebte .jm-beliebt-bild img,
.jm-markenseite-modelle .jm-beliebt-bild img {
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  /* Die Anhaenger sitzen in den Herstellerfotos durchgaengig etwas links
     der Bildmitte (gemessen -1 bis -22 px bei 600 px Breite, im Mittel
     rund 2 %). Wo das Bild das Feld exakt fuellt, bleibt dafuer kein
     Spielraum – object-position greift dann nicht. Ein leichter Versatz
     nach rechts gleicht das aus; die Vergroesserung verhindert, dass
     links ein Spalt entsteht. */
  transform: scale(1.06) translateX(1.6%);
}

/* ============================================================================
   48. FUSSBEREICH: RECHTSLINKS MITTIG (v1.7)
   ----------------------------------------------------------------------------
   Die Zeile stand rund 30 px links der Mitte, während die Copyright-Zeile
   darunter exakt zentriert war. Grund: Der Flex-Container zentriert nur
   seine Kinder – der Absatz selbst richtete sich am Textfluss aus.
   ============================================================================ */
.jm-footer-legal {
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  text-align: center !important;
}

/* ============================================================================
   49. FUSSBEREICH: SIGNATUR ABSETZEN (v1.7)
   ----------------------------------------------------------------------------
   Die Signatur hing per <br> an der Copyright-Zeile und stand dadurch nur
   23 px darunter, während zwischen Rechtslinks und Copyright 40 px lagen.
   Als eigener Absatz mit gleichem Abstand steht sie ruhiger.
   ============================================================================ */
.jm-footer-signatur {
  margin-top: 1.1rem !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
}

/* Unter der Signatur addierten sich 24 px Block-Padding und 24 px
   Footer-Padding zu 48 px – oberhalb liegen nur ~18 px. Das innere
   Padding entfällt, das Footer-Padding (24 px) reicht als Abschluss. */
.jm-footer-bottom {
  padding-bottom: 0 !important;
}

/* ============================================================================
   50. SHOP-FILTER KOMPAKTER (v1.7)
   ----------------------------------------------------------------------------
   Gemessen lagen 74 px zwischen zwei Filterzeilen – bei 10 px Textzeile und
   einer 18 px hohen Auswahlbox. Die Spalte war dadurch über 2.100 px lang,
   man musste zum Filtern scrollen. Ziel: alle Gruppen ohne Scrollen im
   Blick, ohne dass die Klickflächen zu klein werden.
   ============================================================================ */

/* Ergebnisraster auf drei Spalten – dadurch bekommt der Filter Platz */
.jm-shop-layout {
  grid-template-columns: 300px minmax(0, 1fr) !important;
}

/* Filterzeilen: kompakt, aber mit ausreichender Klickfläche (36 px) */
.jm-filter-item {
  padding: 0.32rem 0.5rem !important;
  margin: 0 -0.5rem !important;
  min-height: 0 !important;
  line-height: 1.35 !important;
  font-size: 0.875rem !important;
}

.jm-filter-body {
  gap: 0 !important;
  padding-bottom: 0.7rem !important;
}

/* Gruppenüberschriften enger */
.jm-filter-block > summary {
  padding: 0.65rem 0 !important;
}

.jm-filter-head {
  padding-bottom: 0.7rem !important;
}

.jm-filter-chips {
  padding: 0.7rem 0 !important;
}

/* Schieberegler: Beschriftung, Regler und Knopf dichter zusammen */
.jm-gewicht-slider,
.jm-preis-slider {
  margin: 0.25rem 6px 0.5rem !important;
}

.jm-gewicht-werte,
.jm-preis-werte {
  margin-bottom: 0.35rem !important;
}

.jm-gewicht-schein,
.jm-preis-hinweis {
  margin: 0 0 0.6rem !important;
  font-size: 0.74rem !important;
  line-height: 1.45 !important;
  padding: 0.5rem 0.65rem !important;
}

.jm-gewicht-los,
.jm-preis-los,
.jm-filter-block .jm-btn-primary {
  padding: 0.55rem 1rem !important;
  font-size: 0.85rem !important;
}

/* Fußnote am Ende der Spalte */
.jm-filter-hilfe {
  margin-top: 0.9rem !important;
  font-size: 0.78rem !important;
}

/* Der Scrollbereich der Wertelisten schnitt die erste Zeile oben an –
   ein Rest Innenabstand und weicher Rollpunkt beheben das. */
.jm-filter-body {
  max-height: 300px !important;
  padding-top: 0.15rem !important;
  scroll-padding-top: 0.4rem;
}

/* Sichtbarer Hinweis, dass die Liste weitergeht */
.jm-filter-body::-webkit-scrollbar {
  width: 6px;
}

.jm-filter-body::-webkit-scrollbar-thumb {
  background: var(--jm-border-strong);
  border-radius: 999px;
}

.jm-filter-body::-webkit-scrollbar-track {
  background: transparent;
}

/* ---- Ungleiche Zeilenabstände zwischen den Filtergruppen ----
   Die Werteliste ist ein Flex-Container mit fester Maximalhöhe. Kurze
   Listen – etwa die vier Marken – füllten diese Höhe aus, indem die
   Zeilen auseinandergezogen wurden: 62 px gegenüber 42 px bei den
   dreizehn Anhängertypen. Die Zeilen behalten jetzt ihre Höhe und die
   Liste beginnt oben. */
.jm-filter-body {
  justify-content: flex-start !important;
  align-content: flex-start !important;
  height: auto !important;
}

.jm-filter-body > .jm-filter-item {
  flex: 0 0 auto !important;
}

/* Feste Zeilenhöhe von 34 px – bequem klickbar und kompakt.
   Die zuvor gemessenen 62 px kamen nicht aus dem CSS: wpautop hatte in die
   Filterausgabe <br>-Elemente gesetzt (siehe inc/filter.php). Seit die
   Ausgabe umbruchfrei zurückgegeben wird, stimmt die Höhe von selbst; die
   Angabe hier hält sie verbindlich. */
.jm-filter-body > .jm-filter-item {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 0.5rem !important;
  align-items: center !important;
  box-sizing: border-box;
}

/* Bei 34 px passen rund neun Werte ins Sichtfeld */
.jm-filter-body {
  max-height: 312px !important;
}

/* ============================================================================
   51. FILTER OHNE EIGENEN SCROLLBEREICH (v1.7)
   ----------------------------------------------------------------------------
   Die Wertelisten hatten eine Maximalhöhe und rollten intern – bei den
   dreizehn Anhängertypen waren nur neun zu sehen. Jetzt steht jede Gruppe
   vollständig da; gescrollt wird höchstens die Seite.
   ============================================================================ */
.jm-filter-body {
  max-height: none !important;
  overflow: visible !important;
}

/* Etwas engere Zeilen, damit die Spalte trotz aller Werte kurz bleibt */
.jm-filter-body > .jm-filter-item {
  height: 31px !important;
  min-height: 31px !important;
  max-height: 31px !important;
}

/* ============================================================================
   52. PRODUKTRASTER RESPONSIV (v1.7)
   ----------------------------------------------------------------------------
   Der Kollektionsblock liefert einen Flex-Container mit fester Spaltenzahl
   (`is-flex-container columns-3`). Auf dem Handy blieb es bei drei Spalten,
   die Kacheln waren rund 50 px breit und der Text lief senkrecht.
   ============================================================================ */
.wc-block-product-template.is-flex-container,
.wp-block-woocommerce-product-template.is-flex-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
}

/* Desktop: drei nebeneinander */
.wc-block-product-template.is-flex-container > li,
.wp-block-woocommerce-product-template.is-flex-container > li {
  flex: 0 0 calc((100% - 3rem) / 3) !important;
  max-width: calc((100% - 3rem) / 3) !important;
  min-width: 0;
}

@media (max-width: 1100px) {
  .wc-block-product-template.is-flex-container > li,
  .wp-block-woocommerce-product-template.is-flex-container > li {
    flex: 0 0 calc((100% - 1.5rem) / 2) !important;
    max-width: calc((100% - 1.5rem) / 2) !important;
  }
}

@media (max-width: 620px) {
  .wc-block-product-template.is-flex-container,
  .wp-block-woocommerce-product-template.is-flex-container {
    gap: 1rem !important;
  }

  .wc-block-product-template.is-flex-container > li,
  .wp-block-woocommerce-product-template.is-flex-container > li {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Auf schmalen Geräten wandert der Filter in eine Schublade – die feste
   Spaltenbreite aus Abschnitt 50 darf dort nicht gelten, sonst bleiben für
   die Produkte nur rund 60 px übrig. */
@media (max-width: 900px) {
  .jm-shop-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ============================================================================
   53. PRODUKTSEITE: BILD UND GALERIE (v1.8, 15.08.2026)
   ----------------------------------------------------------------------------
   v1.7 war auf die alten Scraper-Bilder (600 x 375, 16:10) zugeschnitten:
   16:10-Feld, cover und Zoom 1.08. Die Fotos aus der Martz-API sind aber
   quadratisch (1024 x 1024) - formatfüllend beschnitten fehlte dem
   Anhänger das Fahrwerk, unten blieb ein weißer Streifen.
   Jetzt: festes 4:3-Feld, ganzes Foto per contain auf weißem Grund. Die
   Herstellerfotos haben selbst weißen Hintergrund, Ränder verschmelzen.
   ============================================================================ */

.single-product .woocommerce-product-gallery__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  background: #F4F4F4;   /* Hintergrundgrau der Herstellerfotos */
}

/* Die Martz-Originale sind serverseitig normalisiert (_jm-bilder-mittig:
   Motiv erkannt, Leer-Ränder beschnitten, mittig auf 4:3 gesetzt) -
   cover passt dann verlustfrei. Fotos anderer Marken werden mittig
   beschnitten; deren Motive sitzen zentriert. */
.single-product .woocommerce-product-gallery__image img,
.single-product .wp-block-woocommerce-product-image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

/* Miniaturen gleich beschneiden wie das Hauptbild */
.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

/* Die Leiste fuellt ihre Breite aus (27.08.2026). WooCommerce setzt die
   Miniaturen als Gleitkasten mit fester Spaltenzahl - bei drei Bildern blieb
   rechts ein grauer Block stehen, der wie ein Fehler aussah. Als Flexzeile
   teilen sich so viele Miniaturen wie vorhanden die Breite. */
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  gap: 6px;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 1 1 0;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

/* Galerie folgt beim Scrollen der langen Infospalte (nur Desktop -
   die Mobilregel weiter oben setzt position wieder auf static).
   Sticky liegt auf dem Block-Wrapper: die innere
   .woocommerce-product-gallery hält WooCommerce-CSS auf
   position: relative, dort würde top nur nach unten verschieben. */
@media (min-width: 901px) {
  .single-product .wp-block-woocommerce-product-image-gallery {
    position: sticky;
    top: 100px;
  }
}

/* Miniaturleiste nur zeigen, wenn es mehr als ein Bild gibt */
.single-product .woocommerce-product-gallery .flex-control-thumbs:empty,
.single-product .woocommerce-product-gallery .flex-control-thumbs li:only-child {
  display: none !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
  padding: 0 !important;
  margin: 0.5rem 0 0 !important;
}

/* Der Galeriecontainer darf nicht höher werden als das Bild */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper {
  background: #F4F4F4 !important;   /* Hintergrundgrau der Herstellerfotos */
}

.single-product .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

/* WooCommerce gibt der Galerie margin-bottom: 2em - innerhalb der Karte
   blieb dadurch ein leerer Streifen unter der Miniaturleiste stehen. */
.single-product .woocommerce-product-gallery {
  margin-bottom: 0 !important;
}

/* Die Miniaturleiste bleibt bei nur einem Bild als grauer Streifen unter
   der Galerie stehen. :has() steht hier bewusst allein – in einer
   Selektorliste verwirft Chromium die ganze Regel. */
.single-product .woocommerce-product-gallery .flex-control-thumbs:has(li:only-child) {
  display: none !important;
}

/* Fallback für Browser ohne :has(): Leiste ohne Innenabstand, damit sie
   höchstens als Haarlinie erscheint. */
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Kein Zusatz-Zoom mehr: Das 4:3-Feld mit Anker unten (Abschnitt 53 v1.8)
   schneidet den leeren oberen Bildrand bereits passgenau weg - der alte
   1.24er-Zoom für die 16:10-Scraper-Bilder kappte das Fahrzeug seitlich. */

/* Alle Container um das Bild in derselben Farbe wie der Fotohintergrund,
   damit nirgends ein weißer oder grauer Streifen durchblitzt. */
.single-product .wp-block-woocommerce-product-image-gallery,
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .images {
  background: #F4F4F4 !important;
}

.single-product .woocommerce-product-gallery {
  line-height: 0;
}

/* Die Panel-Überschriften bleiben sichtbar: Die Reiterleiste ist seit
   Abschnitt 70 ausgeblendet, die Überschriften übernehmen ihre Rolle. */

/* Der Reiterbereich hatte oben rund 120 px Leerraum */
.single-product .woocommerce-tabs .panel,
.single-product .wc-tab {
  padding-top: 1.25rem !important;
}

/* ============================================================================
   54. SHORTCODE-RASTER ZENTRIEREN (v1.7)
   ----------------------------------------------------------------------------
   Auf breiten Bildschirmen klebte die Kachelreihe links, rechts blieben
   mehrere hundert Pixel leer – die Überschrift darüber war zentriert, das
   Raster nicht. Grund: WordPress zentriert nur die Blöcke, die es selbst
   als Kinder eines "constrained"-Containers kennt. Die Ausgabe eines
   Shortcodes fällt nicht darunter und lief deshalb über die volle Breite,
   ausgerichtet am linken Rand.
   Bei 1.440 px fiel das nicht auf, weil Fenster- und Inhaltsbreite dort
   fast gleich sind; erst ab etwa 1.600 px wird es sichtbar.
   ============================================================================ */
.jm-beliebte,
.jm-angebote-grid,
.jm-news-grid,
.jm-typen-grid,
.jm-typen-chips,
.jm-marken-grid,
.jm-rat-grid {
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Die Sektionen mit schmalerem Inhaltsmaß bleiben bei 1.200 px */
.jm-aktionen .jm-angebote-grid,
.jm-neuigkeiten .jm-news-grid,
.jm-markenseite-modelle .jm-beliebte {
  max-width: 1200px;
}

/* ============================================================================
   55. KEIN SPALT ZWISCHEN DEN SEKTIONEN (v1.7)
   ----------------------------------------------------------------------------
   Zwischen Bühne und Kennzahlenleiste stand ein 24 px hoher weißer Streifen
   (gemessen y 726–749): der globale Blockabstand von WordPress. Die
   Sektionen bringen ihren Abstand selbst mit und sollen bündig
   aneinanderstoßen – sonst blitzt der Seitenhintergrund zwischen zwei
   farbigen Flächen durch.
   ============================================================================ */
.jm-showroom,
.jm-stats-bar,
.jm-categories,
.jm-featured,
.jm-usp-section,
.jm-reviews,
.jm-brands,
.jm-berater,
.jm-miete,
.jm-cta,
.jm-aktionen,
.jm-neuigkeiten {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================================================================
   56. HERO-SLIDER: KOMPOSITION UND BEDIENUNG (v1.8)
   ----------------------------------------------------------------------------
   Die rechte Spalte zerfiel in drei lose Teile: Fahrzeug oben schwebend,
   Modellkarte mit Abstand darunter, Chips separat. Der Bodenschatten lag
   hinter der Karte und war unsichtbar, die Schwebe-Animation passte nicht
   zu einem Fahrzeug, das auf dem Boden stehen soll.
   ============================================================================ */

/* Statisch statt schwebend – der Schatten erdet das Fahrzeug */
.jm-showroom-visual img,
.jm-slide-bild img {
  animation: none !important;
}

/* Alter Schatten sass am Spaltenende hinter der Karte */
.jm-showroom-visual::after {
  display: none !important;
}

/* Kein kuenstlicher Bodenschatten: Jedes Herstellerfoto platziert das
   Fahrzeug anders, eine feste Ellipse sass deshalb mal neben, mal unter
   den Raedern. Die Studiofotos bringen ihren eigenen Schatten mit, und
   mix-blend-mode: multiply erhaelt ihn auf der Buehne. */

/* Karte an die Bildunterkante – Bild, Karte und Schatten werden eine
   Einheit statt drei gestapelter Elemente */
.jm-slide-info {
  bottom: 0.75rem !important;
  padding: 0.85rem 1.15rem 1rem !important;
  gap: 0.22rem !important;
}

/* Der Preis ist die staerkste Information der Karte */
.jm-slide-preis {
  margin-top: 0.3rem;
  font-family: var(--jm-font-display);
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--jm-black) !important;
}

.jm-slide-preis small {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--jm-gray);
}

/* Direktknopf: die Anfrage ist das Ziel der Seite – ohne Umweg ueber
   die Produktseite */
.jm-slide-anfrage {
  align-self: flex-start;
  margin-top: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--jm-radius);
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-slide-anfrage:hover {
  background: var(--jm-cyan-dark);
  box-shadow: var(--jm-shadow-blue);
  transform: translateY(-1px);
}

/* ---- Fortschritt im aktiven Chip: macht sichtbar, dass es ein Slider
   ist. Laeuft nur, solange die Automatik laeuft (data-auto), und haelt
   an, wenn die Maus darueber steht. ---- */
.jm-slider-punkte button {
  position: relative;
  overflow: hidden;
}

.jm-slider[data-auto] .jm-slider-punkte button.is-aktiv::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.65);
  transform-origin: left;
  transform: scaleX(0);
  animation: jm-punkt-lauf 5.2s linear forwards;
}

.jm-slider[data-auto]:hover .jm-slider-punkte button.is-aktiv::after {
  animation-play-state: paused;
}

@keyframes jm-punkt-lauf {
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  .jm-slide-anfrage {
    align-self: center;
  }

}

/* ---- Mobil: Buehne, Karte und Chips zusammenziehen ----
   Der Rand der Herstellerfotos riss auf dem Handy Luecken zwischen
   Suchbox, Fahrzeug und Modellkarte. Groesserer Massstab plus die Karte
   leicht ins Bild gerueckt schliesst die Reihe. */
@media (max-width: 900px) {
  .jm-slide-bild {
    padding-bottom: 0 !important;
  }

  .jm-slide-info {
    margin-top: -1.5rem !important;
  }

  .jm-slider-punkte {
    margin-top: 0.9rem !important;
  }
}

@media (max-width: 600px) {
  .jm-slide-bild img,
  .jm-showroom-visual img {
    --jm-hero-scale: 1.38;
  }
}

/* ============================================================================
   57. KENNZAHLEN ALS EINSTIEGE (v1.8)
   ----------------------------------------------------------------------------
   Die Leiste war reine Dekoration. Jetzt fuehrt jede Kachel zum passenden
   Ziel: Shop, Markenuebersicht, Google-Profil.
   ============================================================================ */
a.jm-stat {
  display: block;
  text-decoration: none !important;
  border-radius: var(--jm-radius);
  transition: var(--jm-transition-fast);
}

a.jm-stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.10);
}

a.jm-stat:hover .jm-stat-number {
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Fuenf Sterne als Bestbewertung – Gold hebt sich vom Blau der Leiste ab */
.jm-stat-sterne {
  color: #FFD34D;
  font-size: 0.82em;
  letter-spacing: 0.06em;
  margin-right: 0.15rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

/* Laengere Beschriftungen (Markennamen) brauchen Spielraum */
.jm-stat {
  padding: 1.9rem 2.1rem !important;
}

.jm-stat-number {
  white-space: nowrap;
}

/* Handy: zwei je Zeile statt Ueberlauf */
@media (max-width: 860px) {
  .jm-stats-inner {
    flex-wrap: wrap !important;
  }

  .jm-stat {
    flex: 1 1 46%;
    padding: 1.1rem 0.75rem !important;
  }

  /* Seit die Pickerl-Kennzahl weg ist, sind es drei: Die letzte stand allein
     und linksbuendig in der zweiten Zeile. Ueber die volle Breite sitzt sie
     mittig unter den beiden darueber. */
  .jm-stat:last-child:nth-child(odd) {
    flex-basis: 100%;
  }

  .jm-stat:not(:last-child)::after {
    display: none;
  }
}

/* ============================================================================
   58. SORTIMENT: EINSTIEGSPREIS, CHIPS, FINDER-HINWEIS (v1.8)
   ============================================================================ */

/* "ab X €" ist die Antwort auf die erste Kundenfrage – deutlich, aber
   ohne den Kachelfuss zu ueberladen */
.jm-typ-preis {
  font-family: var(--jm-font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--jm-black);
  margin-left: auto;
  margin-right: 0.6rem;
  white-space: nowrap;
}

/* Fuss: Anzahl links, Preis rechtsbuendig davor, Pfeil ganz rechts */
.jm-typ-fuss {
  justify-content: flex-start !important;
}

.jm-typ-fuss .jm-typ-pfeil {
  margin-left: 0;
}

/* Zubehoer-Verweis hebt sich von den Bauart-Chips ab */
.jm-typ-chip--zubehoer {
  background: var(--jm-blue-50) !important;
  border-color: var(--jm-blue-200) !important;
  color: var(--jm-blue-700) !important;
  font-weight: 700;
}

.jm-typ-chip--zubehoer:hover {
  background: var(--jm-blue-100) !important;
  border-color: var(--jm-cyan) !important;
}

/* Auffangnetz unter den Chips */
.jm-typen-finder {
  margin: 1.6rem auto 0 !important;
  text-align: center;
  font-size: 0.9375rem !important;
  color: var(--jm-gray) !important;
}

.jm-typen-finder a {
  color: var(--jm-cyan-dark) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.jm-typen-finder a:hover {
  text-decoration: underline !important;
}

/* ============================================================================
   59. EMPFEHLUNGEN: ECKDATEN, HERZEN, KURATIERUNG (v1.8)
   ============================================================================ */

/* Eckdatenzeile zwischen Name und Preis */
.jm-beliebte .jm-beliebt-daten {
  display: block;
  padding: 0 1.1rem 0.5rem;
  font-size: 0.8rem;
  color: var(--jm-gray);
}

/* Merkliste/Vergleich brauchen einen Bezugsrahmen auf den Karten */
.jm-beliebte > li.product {
  position: relative;
}

/* Die Eckdaten verschieben den Fuss – Titelhoehe bleibt, Preis rueckt
   per margin-auto weiter nach unten, alles schliesst buendig */
.jm-beliebte .woocommerce-loop-product__title {
  min-height: calc(2.7em + 0.9rem);
}

/* ============================================================================
   60. LEISTUNGSKACHELN: EINSTIEGE STATT SACKGASSEN (v1.8)
   ----------------------------------------------------------------------------
   Die urspruenglichen Karten buendelten je zwei Anliegen ("Kaufen oder
   mieten", "Ersatzteile und Begutachtung") und fuehrten nirgendwohin. Jetzt:
   eine Leistung je Kachel, jede verlinkt, gleiche Interaktion wie die
   Sortimentskacheln.
   ============================================================================ */
.jm-usp-grid {
  display: grid;
  /* Keine feste Spaltenzahl: auto-fit klappt leere Spuren zusammen, das
     Raster passt sich der Zahl der Kacheln an (25.08.2026: von vier auf
     drei) und bricht von selbst auf zwei und eine Spalte um. */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

a.jm-usp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 2.25rem 1.5rem 1.9rem !important;
  text-decoration: none !important;
  text-align: center;
}

/* Blauer Anriss oben beim Zeigen – wie bei den Sortimentskacheln */
a.jm-usp-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jm-cyan), var(--jm-blue-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

a.jm-usp-card:hover::after {
  transform: scaleX(1);
}

a.jm-usp-card .jm-usp-icon {
  margin: 0 auto 1.25rem;
}

a.jm-usp-card h3 {
  margin: 0 0 0.6rem !important;
  color: var(--jm-black);
}

a.jm-usp-card p {
  margin: 0 0 1.1rem !important;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--jm-gray);
}

/* Aktionszeile unten buendig, unabhaengig von der Textlaenge */
.jm-usp-mehr {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
  transition: var(--jm-transition-fast);
}

a.jm-usp-card:hover .jm-usp-mehr {
  color: var(--jm-cyan);
}

@media (max-width: 1000px) {
  .jm-usp-grid {
    gap: 1rem;
  }
}

/* ============================================================================
   61. KUNDENSTIMMEN: BADGE, GOLDSTERNE, ZITATZEICHEN (v1.8)
   ----------------------------------------------------------------------------
   Die Zitate selbst sind Platzhalter und werden zum Go-Live durch echte
   Google-Rezensionen ersetzt (siehe Go-Live-Checkliste). Hier nur die
   Aufwertung des Rahmens.
   ============================================================================ */

/* Google-G vor der Bewertungszeile */
.jm-google-g {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 0.5rem;
}

/* Sterne in Gold – wie in der Kennzahlenleiste, auf hellem Grund im
   kraeftigeren Bernstein */
.jm-reviews-stars,
.jm-review-stars {
  color: var(--jm-amber) !important;
  letter-spacing: 0.08em;
}

/* Grosses stilles Anfuehrungszeichen hinter jedem Zitat */
.jm-review-card {
  position: relative;
  overflow: hidden;
}

.jm-review-card::before {
  content: '\201E';
  position: absolute;
  top: -2.2rem;
  right: 0.6rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7.5rem;
  line-height: 1;
  color: var(--jm-blue-100);
  opacity: 0.55;
  pointer-events: none;
}

.jm-review-card > * {
  position: relative;
}

/* ============================================================================
   62. MARKENKACHELN: PROFIL, PREIS, EINSTIEG (v1.8)
   ----------------------------------------------------------------------------
   Aus stummen Logos werden Argumente: ein Satz je Marke, Einstiegspreis,
   sichtbare Aktionszeile – und das Ziel ist die Markenseite statt des
   rohen Shopfilters.
   ============================================================================ */
.jm-marke {
  position: relative;
  overflow: hidden;
  min-height: 0 !important;
  padding: 1.7rem 1.4rem 1.5rem !important;
  gap: 0.55rem !important;
  text-align: center;
}

/* Blauer Anriss beim Zeigen – wie ueberall auf der Seite */
.jm-marke::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--jm-cyan), var(--jm-blue-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-marke:hover::after {
  transform: scaleX(1);
}

.jm-marke-claim {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--jm-slate);
  max-width: 26ch;
}

.jm-marke-preis {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--jm-black);
  background: var(--jm-light-alt);
  padding: 0.15rem 0.6rem;
  border-radius: var(--jm-radius-pill);
  white-space: nowrap;
}

.jm-marke-mehr {
  /* Ans Kartenende – sonst sitzt die Zeile je nach Textlaenge anders */
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jm-cyan-dark);
  transition: var(--jm-transition-fast);
}

.jm-marke:hover .jm-marke-mehr {
  color: var(--jm-cyan);
}

@media (max-width: 900px) {
  .jm-marken-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .jm-marken-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================================
   63. BERATERKARTE: WHATSAPP, ZEITEN (v1.8)
   ============================================================================ */
.jm-berater-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid #25D366;
  border-radius: var(--jm-radius);
  color: #128C4B !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-berater-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF !important;
}

.jm-kontakt-zeiten {
  margin: 0.9rem 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.6;
}

/* ============================================================================
   64. SEKTIONSBREITE + MIET-BAND (v1.8)
   ----------------------------------------------------------------------------
   Beraterkarte und Miet-Band liefen ueber die volle Fensterbreite: Ihre
   Inhalte liegen als Roh-HTML im Block, dadurch fehlt WordPress die
   Container-Klasse und die eingestellte Inhaltsbreite (1200 px) wird nie
   angewandt. Alle uebrigen Sektionen sind begrenzt - diese zwei jetzt auch.
   ============================================================================ */
.jm-berater-card,
.jm-miete-band {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Aktionsspalte im Miet-Band: Knopf, Telefon, Zeiten untereinander */
.jm-miete-aktion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.jm-miete-tel {
  color: var(--jm-white) !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
}

.jm-miete-tel:hover {
  text-decoration: underline !important;
}

.jm-miete-zeiten {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================================
   65. ECHTES FOTO IN DER BERATERKARTE (v1.8)
   ----------------------------------------------------------------------------
   Das "JM"-Monogramm war ein Platzhalter. Jetzt: Johannes, Kopf und
   Schultern, rund beschnitten - 264 px Quelldatei fuer scharfe 132 px.
   ============================================================================ */
img.jm-berater-avatar {
  object-fit: cover;
  border: 3px solid var(--jm-white);
}

/* ============================================================================
   66. FOOTER: HOVER-SICHTBARKEIT DER NETZWERK-SYMBOLE (v1.8)
   ----------------------------------------------------------------------------
   Zwei Hover-Regeln arbeiteten gegeneinander: Eine aeltere faerbte das
   Zeichen hellblau (blue-300), die neuere die Flaeche cyan - hellblau auf
   cyan ist unsichtbar. Beim Ueberfahren ist jetzt beides eindeutig:
   cyanblaue Flaeche, weisses Zeichen.
   ============================================================================ */
.jm-social-icon:hover svg,
.jm-social-icon:focus-visible svg {
  color: var(--jm-white) !important;
}

.jm-social-icon:focus-visible {
  background: var(--jm-cyan) !important;
  border-color: var(--jm-cyan) !important;
  color: var(--jm-white) !important;
}

/* ============================================================================
   67. KONTAKTSEITE: FOTO VOM BETRIEB (v1.8)
   ============================================================================ */
.jm-kontakt-foto {
  margin: 0 0 1.25rem;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  box-shadow: var(--jm-shadow-md);
  position: relative;
}

.jm-kontakt-foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.jm-kontakt-foto figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1rem 0.8rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 21, 32, 0.72) 60%);
  color: var(--jm-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

/* ============================================================================
   68. PRODUKTBILD IN DEN SHOP-KACHELN (11.08.2026)
   WooCommerce 10.5 legt .wc-block-components-product-image__inner-container
   als absolut positionierte Flaeche ueber das <img>. Der Hintergrund aus
   Abschnitt 44 verdeckte dadurch jedes Kachelmotiv - in allen Produktlisten,
   bei allen Marken. Die einheitliche helle Bildflaeche liefert bereits das
   umschliessende <a>, der Container braucht sie nicht.
   ============================================================================ */
.wc-block-components-product-image__inner-container,
.wc-block-product .wc-block-components-product-image__inner-container {
  background: transparent !important;
}

/* ============================================================================
   69. KONFIGURATOR: AUSSTATTUNG UND ZUBEHÖR (v2.0, 14.08.2026)
   Ausgabe: inc/optionen.php, Daten aus den Metas _jm_options und
   _jm_accessories. Auswahl wird per ?konfig= an die Anfrage übergeben.
   ============================================================================ */
.jm-optionen {
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--jm-border);
}

.jm-optionen h2 {
  font: 800 clamp(1.25rem, 2.2vw, 1.6rem) var(--jm-font-display);
  color: var(--jm-black);
  margin: 0 0 0.4rem;
}

.jm-optionen-hinweis {
  color: var(--jm-gray);
  margin: 0 0 1.5rem;
  max-width: 60ch;
}

.jm-optionen-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;   /* Karten behalten ihre eigene Höhe */
  gap: 1rem;
}

.jm-optionen-gruppe {
  background: var(--jm-light);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  padding: 1rem 1.1rem;
}

.jm-optionen-gruppe h3 {
  font: 700 0.95rem var(--jm-font-display);
  color: var(--jm-black);
  margin: 0 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--jm-border);
}

/* Einzige Wahlmöglichkeit: Preis steht in der Überschriftenzeile. */
.jm-optionen-gruppe h3.jm-optionen-einzeln {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.jm-optionen-gruppe ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.jm-optionen-gruppe li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  margin: 0 !important;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--jm-border);
}

.jm-optionen-gruppe li:last-child { border-bottom: none; }

.jm-optionen-name { color: var(--jm-black); }
.jm-optionen-preis { color: var(--jm-blue-500); font-weight: 700; white-space: nowrap; }
.jm-optionen-preis em { color: var(--jm-gray); font-weight: 400; font-style: normal; font-size: 0.85em; }

.jm-optionen-fuss {
  color: var(--jm-gray);
  font-size: 0.82rem;
  margin: 1rem 0 0;
}

.jm-optionen-teaser {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.jm-optionen-teaser a {
  color: var(--jm-blue-500);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Anker "Zum Konfigurator": sanft scrollen, nicht unter dem Sticky-Header
   verschwinden. (prefers-reduced-motion setzt scroll-behavior zurück.) */
html { scroll-behavior: smooth; }

.jm-optionen { scroll-margin-top: 90px; }

/* Zwischenüberschriften "Ausstattung ab Werk" / "Passendes Zubehör" */
.jm-konfig-abschnitt {
  font: 700 1.05rem var(--jm-font-display);
  color: var(--jm-black);
  margin: 1.75rem 0 0.75rem;
}

/* Wählbare Position: Checkbox/Radio, Name, Preis in einer Zeile */
.jm-konfig-position {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--jm-border);
  cursor: pointer;
}

.jm-konfig-position:last-child { border-bottom: none; }

.jm-konfig-position input {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  align-self: center;
  accent-color: var(--jm-blue-500);
  cursor: pointer;
}

.jm-konfig-position .jm-optionen-name { flex: 1; }

.jm-konfig-position:has(input:checked) .jm-optionen-name { font-weight: 600; }

/* Zubehörfoto neben der Checkbox */
.jm-konfig-position--bild { align-items: center; }

.jm-konfig-bild {
  flex: none;
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #F4F4F4;
}

.jm-konfig-bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Zubehörliste: eine Karte, auf breiten Schirmen zweispaltig */
.jm-konfig-zubehoer {
  column-gap: 2rem;
}

@media (min-width: 800px) {
  .jm-konfig-zubehoer { columns: 2; }
  .jm-konfig-zubehoer .jm-konfig-position { break-inside: avoid; }
  /* Rubriküberschrift über beide Spalten. Ohne column-span stand sie in der
     linken Spalte und der erste Posten der Rubrik daneben rechts oben. */
  .jm-konfig-zubehoer > h3 { column-span: all; }
}

/* Summenzeile mit Anfrage-Knopf */
.jm-konfig-summe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--jm-light);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
}

.jm-konfig-summe-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.95rem;
  color: var(--jm-gray);
}

.jm-konfig-summe-text strong { color: var(--jm-black); }

.jm-konfig-gesamt strong {
  font: 800 1.2rem var(--jm-font-display);
  color: var(--jm-blue-500);
}

.jm-konfig-summe-text small {
  flex-basis: 100%;
  color: var(--jm-gray);
  font-size: 0.8rem;
}

/* Konfigurationsliste im Hinweis auf der Kontaktseite */
.jm-anfrage-hinweis__konfig-titel { margin: 0.6rem 0 0.2rem; }

.jm-anfrage-hinweis__konfig {
  margin: 0 0 0.4rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
}

@media (max-width: 600px) {
  .jm-optionen-liste { grid-template-columns: 1fr; }

  .jm-konfig-summe { align-items: stretch; flex-direction: column; }
  .jm-konfig-summe .jm-anfrage__primary { text-align: center; justify-content: center; }
}

/* ============================================================================
   70. PRODUKTSEITE: BESCHREIBUNG & TECHNISCHE DATEN OHNE REITER (15.08.2026)
   ----------------------------------------------------------------------------
   Die klassischen WooCommerce-Reiter versteckten die technischen Daten
   hinter einem zweiten Klick und wirkten altbacken. Beide Panels werden
   jetzt gleichzeitig als Karten gezeigt: Beschreibung links, technische
   Daten rechts. Die Reiterleiste entfällt; das display:block übersteuert
   das Inline-Verstecken des Tab-Skripts. Überschrift des zweiten Panels
   heißt per Filter "Technische Daten" (inc/produktseite.php).
   ============================================================================ */
.single-product .woocommerce-tabs ul.wc-tabs {
  display: none !important;
}

.single-product .woocommerce-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.single-product .woocommerce-Tabs-panel {
  display: block !important;
  /* Gefüllte Fläche statt Rahmen um Weiß - der leere Kasten-Eindruck
     entsteht sonst wie bei der alten Galerie. */
  background: var(--jm-light);
  border: none;
  border-radius: var(--jm-radius-lg);
  padding: 1.5rem 1.75rem;
}

.single-product .woocommerce-Tabs-panel > h2:first-child {
  /* WooCommerce-Block-CSS versteckt die Panel-Ueberschriften, weil sonst
     die Reiter die Namen zeigen - unsere Reiterleiste ist aber weg. */
  display: block !important;
  font: 800 1.15rem var(--jm-font-display);
  color: var(--jm-black);
  margin: 0 0 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--jm-border);
}

.single-product .woocommerce-Tabs-panel--description p {
  line-height: 1.7;
  color: var(--jm-dark, #1F2937);
  margin: 0 0 0.9rem;
}

.single-product .woocommerce-Tabs-panel--description p:last-child { margin-bottom: 0; }

/* Attributtabelle als ruhige Spec-Liste: Beschriftung grau links,
   Wert fett rechts, gestrichelte Trennlinien wie im Konfigurator. */
.single-product .woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.single-product .woocommerce-product-attributes tr {
  border: none;
  border-bottom: 1px dashed var(--jm-border);
}

.single-product .woocommerce-product-attributes tr:last-child { border-bottom: none; }

.single-product .woocommerce-product-attributes th,
.single-product .woocommerce-product-attributes td {
  border: none;
  background: none;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.single-product .woocommerce-product-attributes th {
  color: var(--jm-gray);
  font-weight: 500;
  text-align: left;
  padding-right: 1rem;
  white-space: nowrap;
}

.single-product .woocommerce-product-attributes td {
  color: var(--jm-black);
  font-weight: 600;
  text-align: right;
}

.single-product .woocommerce-product-attributes td p {
  margin: 0;
  font-style: normal;
}

@media (max-width: 900px) {
  .single-product .woocommerce-tabs { grid-template-columns: 1fr; }
  .single-product .woocommerce-Tabs-panel { padding: 1.25rem 1.35rem; }
}

/* ============================================================================
   71. PRODUKTSEITE: SCHWEBENDE KNÖPFE ÜBER DER ANFRAGE-LEISTE (15.08.2026)
   ----------------------------------------------------------------------------
   Am Seitenende überdeckte der Pfeil-nach-oben-Knopf den "Angebot
   anfordern"-Knopf der Sticky-Leiste. Sobald die Leiste sichtbar ist,
   rückt der Pfeil um ihre Höhe nach oben.
   ============================================================================ */
body:has(.jm-sticky-anfrage:not([hidden])) .jm-scroll-top {
  bottom: calc(2rem + 76px);
}

/* ============================================================================
   72. KOPFBEREICH: LOGO NIE STAUCHEN, BURGER BIS 1299 PX (15.08.2026)
   ----------------------------------------------------------------------------
   Zwischen 601 und ~1300 px zerdrückte die Desktop-Navigation das Logo
   per Flex-Shrink auf 0-210 px Breite (gemessen bei 640-1280 px). Der
   Navigations-Block bricht von Haus aus erst unter 600 px zum Burger um,
   braucht einzeilig aber rund 1300 px. Das Logo ist jetzt shrink-fest,
   und der Burger gilt bis einschließlich 1399 px (bei 1320 px lief die Zeile noch über).
   ============================================================================ */
.jm-header .jm-logo,
.jm-header .jm-logo a,
.jm-header .jm-logo img {
  flex-shrink: 0;
}

.jm-header .jm-logo img {
  max-width: none;
}

/* Burger-Menü des Navigations-Blocks auch zwischen 600 und 1199 px (seit 02.12.2026, vorher 1399 – das Menü hat nur noch sechs Punkte) */
@media (min-width: 600px) and (max-width: 1199px) {
  .jm-main-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }

  .jm-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
}

/* ============================================================================
   73. MOBILES MENÜ: EIGENE SCHUBLADE STATT KERN-OVERLAY (15.08.2026)
   ----------------------------------------------------------------------------
   Gemessen bei 390 px Breite: Das Overlay des Navigationsblocks legte alle
   33 Menüpunkte flach untereinander (1.724 px hohe Liste), rechtsbündig und
   mit 0 px Innenabstand – lange Wörter wie „Fahrzeugtransporter" liefen rechts
   aus dem Bild. Die Untermenüs hält der Kernblock im Overlay zwangsweise offen
   (`aria-expanded` hängt an `state.isMenuOpen`), zuklappen ist nicht vorgesehen.

   assets/mobilnav.js baut aus demselben Menübaum eine eigene Schublade:
   linksbündig, Untermenüs als Ziehharmonika, dazu Suchfeld (im Kopf ist es auf
   dem Handy ausgeblendet) und Kontaktknöpfe. Der Knopf des Kernblocks wird hier
   ausgeblendet, damit sein Overlay nicht mehr aufgehen kann.
   ============================================================================ */

/* Kern-Burger stilllegen – das Skript setzt seinen eigenen daneben.
   Die Regeln aus Abschnitt 29 und 72 setzen `display: flex !important`,
   deshalb hier dieselbe Spezifität mit `!important`. */
.jm-main-nav .wp-block-navigation__responsive-container-open,
.jm-main-nav .wp-block-navigation__responsive-container.is-menu-open {
  display: none !important;
}

/* ---- 73.1 Knöpfe im Kopfbereich ---- */
.jm-kopf-aktionen {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

/* Die Kopfleiste darf nie umbrechen – sonst rutscht der Menüknopf unter das
   Anrufsymbol und der Kopf wird doppelt so hoch. */
.jm-header-icons,
.jm-header-inner {
  flex-wrap: nowrap !important;
}

.jm-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--jm-radius);
  background: rgba(255,255,255,0.06);
  color: var(--jm-white);
  cursor: pointer;
  transition: var(--jm-transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.jm-burger:hover,
.jm-burger:focus-visible {
  background: rgba(0,144,224,0.18);
  border-color: var(--jm-blue-400);
}

.jm-burger-striche {
  display: block;
  width: 20px;
  height: 14px;
  position: relative;
}

.jm-burger-striche i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s cubic-bezier(0.4,0,0.2,1), opacity 0.16s linear;
}

.jm-burger-striche i:nth-child(1) { top: 0; }
.jm-burger-striche i:nth-child(2) { top: 6px; }
.jm-burger-striche i:nth-child(3) { top: 12px; }

.jm-burger-auf .jm-burger-striche i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.jm-burger-auf .jm-burger-striche i:nth-child(2) { opacity: 0; }
.jm-burger-auf .jm-burger-striche i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Anrufknopf: nur dort, wo das Suchfeld im Kopf verschwindet */
.jm-kopf-tel {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 0.4rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--jm-radius);
  background: rgba(255,255,255,0.06);
  color: var(--jm-white) !important;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-kopf-tel:hover,
.jm-kopf-tel:focus-visible {
  background: rgba(0,144,224,0.18);
  border-color: var(--jm-blue-400);
  color: var(--jm-blue-200) !important;
}

/* Der Burger gilt bis 1199 px – dieselbe Grenze wie in Abschnitt 72 */
@media (max-width: 1199px) {
  .jm-burger { display: inline-flex; }
}

/* Unter 900 px blieben vom Suchfeld nur noch „Anhänger su…" übrig. Es weicht
   dem Anrufknopf – gesucht wird in der Schublade, dort ist das Feld voll
   breit. */
@media (max-width: 900px) {
  .jm-suche-form { display: none !important; }
  .jm-kopf-tel { display: inline-flex; }
}

/* ---- 73.2 Schublade ---- */
.jm-mn {
  position: fixed;
  inset: 0;
  z-index: 100000;
}

.jm-mn[hidden] { display: none; }

.jm-mn-schleier {
  position: absolute;
  inset: 0;
  background: rgba(6,12,20,0.62);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.jm-mn-tafel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 400px);
  display: flex;
  flex-direction: column;
  background: var(--jm-black);
  box-shadow: -18px 0 48px rgba(0,0,0,0.5);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32,0.72,0,1);
  overscroll-behavior: contain;
}

.jm-mn-sichtbar .jm-mn-schleier { opacity: 1; }
.jm-mn-sichtbar .jm-mn-tafel { transform: translateX(0); }

/* Kopf der Schublade */
.jm-mn-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(0,144,224,0.14), transparent);
  flex: 0 0 auto;
}

/* Zwei Klassen, weil WooCommerce auf Shop-Seiten `.woocommerce-page img
   { height: auto; max-width: 100% }` mitbringt - damit war das Logo im
   Schubladenkopf 327 px breit und schob den Schließen-Knopf aus dem Bild. */
.jm-mn-kopf .jm-mn-logo {
  height: 30px;
  width: auto;
  max-width: 220px;
  display: block;
  /* darf notfalls schrumpfen, der Schließen-Knopf hat Vorrang */
  flex: 0 1 auto;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}

.jm-mn-name {
  font: 700 1.05rem var(--jm-font-display);
  color: var(--jm-white);
}

.jm-mn-zu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--jm-radius);
  background: rgba(255,255,255,0.06);
  color: var(--jm-white);
  cursor: pointer;
  transition: var(--jm-transition-fast);
}

.jm-mn-zu:hover,
.jm-mn-zu:focus-visible {
  background: rgba(255,255,255,0.14);
  color: var(--jm-blue-200);
}

/* Suchfeld */
.jm-mn-suche {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.9rem 1.25rem 0.75rem;
  flex: 0 0 auto;
}

.jm-mn-suche svg {
  position: absolute;
  left: 2rem;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

.jm-mn-suche input[type="search"] {
  width: 100%;
  min-height: 46px;
  padding: 0 1rem 0 2.6rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--jm-radius-pill);
  background: rgba(255,255,255,0.07);
  color: var(--jm-white);
  font: 500 0.95rem var(--jm-font);
  -webkit-appearance: none;
}

.jm-mn-suche input[type="search"]::placeholder { color: rgba(255,255,255,0.5); }

.jm-mn-suche input[type="search"]:focus {
  outline: none;
  background: rgba(255,255,255,0.12);
  border-color: var(--jm-blue-400);
  box-shadow: 0 0 0 3px rgba(0,144,224,0.22);
}

/* ---- 73.3 Menüliste ---- */
.jm-mn-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 1rem;
}

.jm-mn-liste,
.jm-mn-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jm-mn-punkt {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.jm-mn-zeile {
  display: flex;
  align-items: stretch;
}

.jm-mn-link {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.95rem 1.25rem;
  color: rgba(255,255,255,0.92) !important;
  font: 600 1rem/1.3 var(--jm-font-display);
  text-decoration: none !important;
  text-align: left;
  transition: var(--jm-transition-fast);
  -webkit-tap-highlight-color: rgba(0,144,224,0.2);
}

.jm-mn-link:hover,
.jm-mn-link:focus-visible {
  color: var(--jm-blue-200) !important;
  background: rgba(255,255,255,0.05);
}

.jm-mn-link.jm-mn-hier {
  color: var(--jm-blue-300) !important;
  box-shadow: inset 3px 0 0 var(--jm-cyan);
  background: rgba(0,144,224,0.10);
}

/* Aufklapp-Knopf: eigene Trefferfläche, damit der Verweis daneben nutzbar
   bleibt – Elternpunkte führen auf eine echte Übersichtsseite. */
.jm-mn-klapp {
  flex: 0 0 auto;
  width: 56px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.07);
  background: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--jm-transition-fast);
}

.jm-mn-klapp:hover,
.jm-mn-klapp:focus-visible {
  color: var(--jm-blue-200);
  background: rgba(255,255,255,0.05);
}

.jm-mn-klapp svg {
  transition: transform 0.24s cubic-bezier(0.4,0,0.2,1);
}

.jm-mn-auf > .jm-mn-zeile .jm-mn-klapp svg { transform: rotate(180deg); }
.jm-mn-auf > .jm-mn-zeile .jm-mn-klapp { color: var(--jm-blue-300); }

/* Untermenü */
.jm-mn-sub {
  display: none;
  background: rgba(255,255,255,0.035);
  border-top: 1px solid rgba(255,255,255,0.06);
  animation: jm-mn-auf 0.22s ease;
}

.jm-mn-auf > .jm-mn-sub { display: block; }

@keyframes jm-mn-auf {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.jm-mn-sub .jm-mn-punkt:last-child { border-bottom: 0; }

.jm-mn-sub .jm-mn-link {
  padding: 0.7rem 1.25rem 0.7rem 2.1rem;
  font: 500 0.94rem/1.3 var(--jm-font);
  color: rgba(255,255,255,0.74) !important;
}

.jm-mn-sub .jm-mn-sub .jm-mn-link {
  padding-left: 2.9rem;
  font-size: 0.9rem;
}

.jm-mn-sub .jm-mn-link.jm-mn-hier { color: var(--jm-blue-300) !important; }

/* Öffnungszeiten und Anschrift füllen die Lücke zwischen kurzer Liste und
   Fußleiste – und beantworten die häufigste Frage vor dem Anruf. */
.jm-mn-zeiten {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.85rem 1.25rem;
  color: rgba(255,255,255,0.55);
  font: 500 0.78rem/1.5 var(--jm-font);
}

.jm-mn-zeiten svg {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--jm-blue-400);
}

/* ---- 73.4 Fußleiste mit Kontaktwegen ---- */
.jm-mn-fuss {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.9rem 1.25rem calc(0.9rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
}

.jm-mn-fuss a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0 0.6rem;
  border-radius: var(--jm-radius);
  font: 650 0.88rem var(--jm-font-display);
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-mn-tel {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--jm-white) !important;
  white-space: nowrap;
  font-size: 0.82rem;
}

.jm-mn-tel:hover { background: rgba(255,255,255,0.13); }

.jm-mn-wa {
  background: #25D366;
  color: #08301A !important;
}

.jm-mn-wa:hover { background: #1FBE5B; }

.jm-mn-cta {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, var(--jm-blue-400), var(--jm-blue-600));
  color: #fff !important;
  box-shadow: var(--jm-shadow-blue);
  font-size: 0.95rem;
}

.jm-mn-cta:hover { filter: brightness(1.06); }

/* Ist nur der Anfrageknopf da, füllt er die Zeile ohnehin. */
.jm-mn-fuss a:only-child { grid-column: 1 / -1; }

/* Seite hinter der Schublade nicht mitscrollen lassen */
html.jm-mn-sperre { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .jm-mn-tafel,
  .jm-mn-schleier,
  .jm-mn-klapp svg,
  .jm-burger-striche i { transition: none; }
  .jm-mn-sub { animation: none; }
}

/* Sehr kleine Geräte: die Schublade darf fast die volle Breite nehmen */
@media (max-width: 400px) {
  .jm-mn-tafel { width: 92vw; }
  .jm-mn-kopf,
  .jm-mn-suche,
  .jm-mn-zeiten,
  .jm-mn-fuss { padding-left: 1rem; padding-right: 1rem; }
  .jm-mn-link { padding-left: 1rem; padding-right: 1rem; }
  .jm-mn-sub .jm-mn-link { padding-left: 1.85rem; }
  .jm-mn-sub .jm-mn-sub .jm-mn-link { padding-left: 2.6rem; }
  .jm-mn-suche svg { left: 1.75rem; }
}

/* ============================================================================
   74. HANDY-FEINSCHLIFF: RASTER, LEISTEN, SCHWEBENDE KNÖPFE (15.08.2026)
   ----------------------------------------------------------------------------
   Beim Durchsehen bei 390 px fielen drei Dinge auf, die viel Höhe kosten oder
   Inhalt verdecken – behoben ohne Eingriff in den Aufbau der Vorlagen.
   ============================================================================ */

/* ---- 74.1 Shop: zwei Kacheln je Reihe statt einer ----
   Abschnitt 52 stellte unter 620 px auf eine Spalte um. Eine Kachel war damit
   494 px hoch; für zwölf Produkte ergab das eine knapp 6.000 px lange Seite,
   auf der nach dem ersten Wisch nichts Neues mehr kam. Zwei Spalten mit
   kompakterem Innenleben bringen vier Produkte pro Bildschirm. */
@media (max-width: 620px) {
  .wc-block-product-template.is-flex-container,
  .wp-block-woocommerce-product-template.is-flex-container {
    gap: 0.75rem !important;
  }

  .wc-block-product-template.is-flex-container > li,
  .wp-block-woocommerce-product-template.is-flex-container > li {
    flex: 0 0 calc((100% - 0.75rem) / 2) !important;
    max-width: calc((100% - 0.75rem) / 2) !important;
  }

  .wc-block-product .wp-block-post-title,
  .wc-block-product .wc-block-components-product-title {
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
    /* Genau zwei Zeilen, damit die Kacheln einer Reihe gleich hoch bleiben.
       `-webkit-line-clamp` greift hier nicht: die Kachel ist ein Flex-
       Container, dadurch blockifiziert Chromium das `-webkit-box` des Titels
       zu `flow-root` – gemessen wurden trotz Klammerung drei Zeilen. Feste
       Höhe plus overflow schneidet zuverlässig. */
    min-height: 2.6em !important;
    max-height: 2.6em;
    overflow: hidden;
  }

  /* Brutto und Netto je auf eine Zeile – bei 190 px Kachelbreite brach
     sonst schon „inkl. MwSt." um und der Preisblock lief über vier Zeilen. */
  .wc-block-product .jm-price-incl,
  .wc-block-product .jm-price-excl {
    display: block;
    white-space: nowrap;
  }

  .wc-block-product .jm-price-incl {
    font-size: 0.98rem !important;
  }

  .wc-block-product .wc-block-components-product-price__value {
    font-size: 0.98rem !important;
  }

  .wc-block-product .jm-price-excl,
  .wc-block-product .woocommerce-price-suffix,
  .wc-block-product .wc-block-components-product-price small {
    font-size: 0.68rem !important;
  }

  .wc-block-product .wc-block-components-product-button__button {
    font-size: 0.78rem !important;
    padding: 0.55rem 0.5rem !important;
  }

  /* Die Bauart über dem Modellnamen lief bei 190 px Kachelbreite über den
     Rand ("MASCHINENTRANSPORTER" ist mit Sperrung breiter als die Kachel). */
  .wc-block-product .jm-kachel-bauart {
    font-size: 0.6rem !important;
    letter-spacing: 0.04em !important;
    overflow-wrap: anywhere;
  }

  /* Merk- und Vergleichssymbol kleiner, sie deckten sonst das Bild zu */
  .wc-block-product .jm-merk-btn,
  .wc-block-product .jm-vgl-btn {
    width: 30px !important;
    height: 30px !important;
  }

  .wc-block-product .jm-merk-btn svg,
  .wc-block-product .jm-vgl-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* ---- 74.2 Shop-Leiste: weniger Luft, breiterer Filterknopf ----
   Ergebniszähler, Sortierfeld und Filterknopf standen in drei Zeilen mit
   zusammen 78 px Zwischenraum – die erste Kachel begann erst bei 479 px.
   Der Filterknopf sitzt jetzt als volle Zeile unter dem Sortierfeld (auf
   dem Handy die bequemere Trefferfläche), die Abstände sind gestrafft.

   Verschieben statt Umbrechen wäre naheliegend, geht hier aber nicht: der
   Sofortfilter tauscht bei jedem Filterklick `.jm-filter-col` komplett aus
   (BEREICHE in assets/filter.js) – ein herausgelöster Knopf käme doppelt
   zurück. */
@media (max-width: 782px) {
  .jm-shop-layout {
    margin-top: 0.75rem !important;
  }

  .wp-block-woocommerce-catalog-sorting,
  .wc-block-catalog-sorting {
    flex: 1 1 100%;
    width: 100%;
  }

  .wc-block-catalog-sorting select,
  .woocommerce-ordering select {
    width: 100% !important;
  }

  .jm-filter-open {
    display: flex !important;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  /* Ohne feste Breite dehnt Flex das Symbol und reißt es vom Wort weg */
  .jm-filter-open svg {
    flex: 0 0 auto;
  }

  .jm-shop-results .wc-block-product-template {
    margin-top: 0 !important;
  }
}

/* ---- 74.3 Kennzahlenband als Raster ----
   Untereinander war das Band fast einen Bildschirm hoch. Zwei je Zeile zeigen
   alles auf einen Blick. Seit die Pickerl-Kennzahl weg ist, sind es drei
   Kacheln: Die letzte zieht sich über beide Spalten, sonst stünde sie allein
   und linksbündig unter den anderen. */
@media (max-width: 720px) {
  .jm-stats-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    align-items: start;
  }

  .jm-stats-inner > * {
    margin: 0 !important;
    min-width: 0;
  }

  .jm-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .jm-stats-bar .jm-stat-number,
  .jm-stats-inner .jm-stat-number {
    font-size: clamp(1.35rem, 6vw, 1.8rem) !important;
  }

  .jm-stats-inner .jm-stat-label {
    font-size: 0.68rem !important;
    letter-spacing: 0.06em;
  }
}

/* ---- 74.4 Schwebender Knopf an den Rand ----
   Der Pfeil (44 px) stand 32 px vom Rand und lag dadurch mitten auf den
   Produktkacheln. Näher an den Rand und etwas kleiner. */
@media (max-width: 782px) {
  .jm-scroll-top {
    width: 40px !important;
    height: 40px !important;
    right: 0.85rem !important;
    bottom: 0.85rem !important;
  }

  /* Steht die Anfrageleiste der Produktseite unten, rückt er darüber */
  body:has(.jm-sticky-anfrage:not([hidden])) .jm-scroll-top {
    bottom: calc(0.85rem + 68px) !important;
  }
}

/* ============================================================================
   75. „BELIEBTE ANHÄNGER": SIRIUS UND VARIANT NICHT MEHR ANSCHNEIDEN
       (16.08.2026)
   ----------------------------------------------------------------------------
   Abschnitt 47 stellt die Kacheln formatfüllend (`cover`) in ein 16:10-Feld
   und vergrößert zusätzlich um 6 %. Das war für die **Studiofotos** von Martz
   und Eduard gedacht: Dort steht der Anhänger klein und tief im Bild
   (gemessen 104 px Rand oben gegen 39 px unten), formatfüllend verschwindet
   nur Hintergrund.

   Sirius und Variant fotografieren anders – ihre Aufnahmen sind **eng
   angeschnitten**, das Fahrzeug füllt das Bild bereits aus. Dieselbe Regel
   hat dort Deichsel, Dach und Heck abgeschnitten (Sirius-Pferdeanhänger
   600×450 px in ein 318×199-Feld: oben und unten je rund 45 px weg, dazu die
   6 % Vergrößerung).

   Deshalb entscheidet jetzt die Marke über den Ausschnitt. `inc/beliebte.php`
   und `inc/markenseite.php` geben sie als Klasse mit.
   ============================================================================ */
.jm-beliebte .jm-beliebt-bild.jm-marke-sirius img,
.jm-beliebte .jm-beliebt-bild.jm-marke-variant img,
.jm-markenseite-modelle .jm-beliebt-bild.jm-marke-sirius img,
.jm-markenseite-modelle .jm-beliebt-bild.jm-marke-variant img {
  /* Ganzes Fahrzeug zeigen statt formatfüllend beschneiden. */
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0.5rem !important;
  /* Ohne border-box legt sich der Innenabstand außen an: Das Bild wurde
     296 px breit in einem 280-px-Feld und der Rand wieder abgeschnitten -
     genau das, was hier abgestellt werden soll. */
  box-sizing: border-box !important;
  /* Kein Versatz und keine Vergrößerung - beides ist nur bei Fotos sinnvoll,
     die ringsum Luft haben. */
  transform: none !important;
}

/* Beim Überfahren dieselbe Bewegung wie bei den anderen Kacheln, nur ohne
   den Grundversatz aus Abschnitt 47. */
.jm-beliebte > li.product:hover .jm-beliebt-bild.jm-marke-sirius img,
.jm-beliebte > li.product:hover .jm-beliebt-bild.jm-marke-variant img,
.jm-markenseite-modelle > li.product:hover .jm-beliebt-bild.jm-marke-sirius img,
.jm-markenseite-modelle > li.product:hover .jm-beliebt-bild.jm-marke-variant img {
  transform: scale(1.04) !important;
}

/* ============================================================================
   76. TECHNISCHE DATEN: LANGE BESCHRIFTUNGEN DÜRFEN UMBRECHEN (16.08.2026)
   ----------------------------------------------------------------------------
   Gemeldet an der Sirius S77: „Tabelle passt nicht, Zahlen außerhalb".
   Gemessen bei 390 px Breite war die ganze Seite 573 px breit.

   Ursache ist `white-space: nowrap` auf der Beschriftungsspalte (Abschnitt
   70). Auf dem Desktop hält das die Beschriftungen sauber einzeilig – bei
   Sirius steht dort aber „Abstand Brustbaum bis Vorderkante (cm)", und die
   Zeile kann nicht umbrechen. Die Tabelle bekommt dadurch eine Mindestbreite
   von 477 px, schiebt ihren Kasten auf 557 px und mit ihm das ganze
   Dokument – die Werte rutschen aus dem Bild.

   Unterhalb von 620 px darf die Beschriftung deshalb umbrechen. Der Wert
   bleibt rechtsbündig, damit die Zahlen weiter untereinander stehen.
   ============================================================================ */
@media (max-width: 620px) {
  .single-product .woocommerce-product-attributes th {
    white-space: normal;
    padding-right: 0.75rem;
  }

  /* Beschriftung darf höchstens knapp die Hälfte nehmen, sonst quetscht
     ein langer Name die Zahl auf eine Ziffer je Zeile. */
  .single-product .woocommerce-product-attributes th {
    width: 47%;
  }

  /* `break-word` statt `anywhere`: Umbrochen wird nur, wenn ein Wort allein
     nicht in die Spalte passt. Mit `anywhere` stand dort
     "Pferdeanhänge / r" - ein einzelner Buchstabe in der zweiten Zeile. */
  .single-product .woocommerce-product-attributes td {
    overflow-wrap: break-word;
  }
}

/* ---- 76.1 Sehr schmale Geräte: Logo darf doch schrumpfen ----
   Abschnitt 72 hat das Logo shrink-fest gemacht, weil die Desktop-
   Navigation es zwischen 640 und 1280 px zerdrückt hat. Auf einem 320-px-
   Gerät ist das Gegenteil das Problem: Logo (271 px) plus Anruf- und
   Menüknopf (je 44 px) plus Abstände passen nicht in eine Zeile, der Kopf
   schob die Seite auf 381 px. Unter 380 px gibt das Logo deshalb nach –
   dort steht keine Navigation daneben, die es quetschen könnte. */
@media (max-width: 380px) {
  .jm-header .jm-logo,
  .jm-header .jm-logo a,
  .jm-header .jm-logo img {
    flex-shrink: 1;
    min-width: 0;
  }

  .jm-header .jm-logo img {
    max-width: calc(100vw - 9.5rem);
    object-fit: contain;
    object-position: left center;
  }
}

/* ---- 76.2 Warenkorb-Schublade aus dem Dokument nehmen ----
   Der Mini-Warenkorb ist im Kopf längst ausgeblendet (ohne Bestellvorgang
   gibt es dort nichts zu tun), seine Schublade steckt aber weiter im
   Quelltext. Sie liegt neben dem Bild und ist mindestens 328 px breit –
   auf einem 320-px-Gerät zog sie das Dokument dadurch auf 327 px. */
.wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay {
  display: none !important;
}

/* ---- 76.3 Brotkrumen dürfen auch zwischen den Trennstrichen umbrechen ----
   WooCommerce setzt die Trenner als `&nbsp;/&nbsp;`. Dadurch hängt der
   Strich untrennbar am folgenden Wort: „/ Sirius" bildet eine Einheit und
   die Zeile wird länger als der Bildschirm. Auf der S77 bei 320 px waren es
   311 px Inhalt in einem 288-px-Kasten – die Seite wuchs auf 327 px. */
.woocommerce-breadcrumb,
.wp-block-woocommerce-breadcrumbs {
  overflow-wrap: anywhere;
}

/* ---- 76.4 Sehr schmale Geräte (bis 360 px) ----
   Auf einem 320-px-Bildschirm (iPhone SE der ersten Reihe, ältere Android)
   war die Seite waagrecht verschiebbar. Drei Stellen brauchten mehr Platz,
   als da ist – jeweils, weil zwei Spalten oder ein langer Name nicht
   unterzubringen sind. */
@media (max-width: 360px) {
  /* Zwei Produktkacheln nebeneinander (Abschnitt 74) lassen je Kachel
     rund 148 px – abzüglich Innenabstand bleibt zu wenig für Preis und
     Knopf. Hier wieder eine Kachel je Reihe. */
  .wc-block-product-template.is-flex-container > li,
  .wp-block-woocommerce-product-template.is-flex-container > li {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Bauart-Kacheln der Startseite ebenso einspaltig. */
  .jm-typen-grid,
  .jm-typen-grid--gross {
    grid-template-columns: 1fr !important;
  }

  /* Lange Ausstattungsnamen im Konfigurator umbrechen lassen
     ("Pendelbare Aufsatzbordwände (30 cm hoch)"). */
  .jm-optionen-name,
  .jm-konfig-position .jm-optionen-name {
    overflow-wrap: anywhere;
  }

  .jm-optionen-gruppe {
    grid-template-columns: 1fr !important;
  }
}

/* ---- 76.5 Panels der Produktseite rechnen mit border-box ----
   Das Stylesheet setzt `box-sizing` nur punktuell, die Reiter-Panels blieben
   deshalb auf `content-box`. Mit 40 px Innenabstand je Seite wuchs der Kasten
   auf 378 px in einer 358-px-Spalte – die Rasterspalte übernahm diese Breite
   und schob die Seite über den Bildschirmrand. Dieselbe Falle wie bei den
   Produktkacheln und beim Kachelbild. */
.single-product .woocommerce-tabs,
.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs .panel,
.single-product .wc-tab {
  box-sizing: border-box;
}

/* ---- 76.6 Feste Tabellenaufteilung ----
   `border-box` allein reichte nicht: In einem Raster mit `1fr` wird die
   Spalte so breit wie die *Mindestbreite* ihres Inhalts. Die stammt hier von
   der Tabelle, und ein Wert wie "2000/2500/3000/3500" ist ein einziges,
   175 px breites Wort - zusammen mit der Beschriftung und 2×40 px
   Innenabstand ergab das 378 px in einer 358-px-Spalte.

   Mit `table-layout: fixed` richten sich die Spalten nach der Vorgabe
   (47/53 %) statt nach dem Inhalt; die Tabelle kann den Kasten nicht mehr
   aufblähen. Damit lange Werte trotzdem lesbar bleiben, dürfen sie
   innerhalb ihrer Zelle umbrechen. */
.single-product .woocommerce-product-attributes {
  table-layout: fixed;
}

@media (max-width: 620px) {
  /* 2,5rem Innenabstand je Seite sind auf einem 390-px-Bildschirm ein
     Fünftel der Breite. Die Regel darüber trägt !important, deshalb hier
     auch. */
  .single-product .woocommerce-Tabs-panel,
  .single-product .wc-tab {
    padding: 1.25rem 1.1rem !important;
  }
}

/* ============================================================================
   77. WEGE ZUR BAUART: LEISTE IM SHOP, FINDER IM MENÜ (16.08.2026)
   ----------------------------------------------------------------------------
   Der Anhänger-Finder war nur über einen Untermenüpunkt erreichbar, und
   außerhalb der Startseite gab es überhaupt keinen Einstieg über die Bauart.
   Am Telefon stand auf /shop/ nur „Ergebnisse 1 – 12 von 938" und ein
   zugeklappter Filter-Knopf.

   77.1 Bauartleiste über der Produktliste
   ============================================================================ */
.jm-typenleiste {
  margin: 0 0 1.75rem;
}

.jm-typenleiste-frage {
  margin: 0 0 0.6rem !important;
  font-family: var(--jm-font-display);
  font-size: 0.95rem !important;
  font-weight: 700;
  color: var(--jm-black) !important;
}

.jm-typenleiste-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jm-typenleiste-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--jm-border);
  border-radius: 999px;
  background: var(--jm-white);
  color: var(--jm-black);
  font: 600 0.88rem var(--jm-font);
  text-decoration: none;
  line-height: 1.2;
  transition: var(--jm-transition-fast);
  white-space: nowrap;
}

.jm-typenleiste-chip svg {
  flex: 0 0 auto;
  color: var(--jm-blue-500);
}

.jm-typenleiste-chip:hover {
  border-color: var(--jm-blue-400);
  color: var(--jm-blue-600);
  transform: translateY(-1px);
}

.jm-typenleiste-chip.is-aktiv {
  border-color: transparent;
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%);
  color: var(--jm-white);
  box-shadow: var(--jm-shadow-blue);
}

.jm-typenleiste-chip.is-aktiv svg,
.jm-typenleiste-chip.is-aktiv .jm-typenleiste-zahl {
  color: var(--jm-white);
}

.jm-typenleiste-zahl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jm-gray);
  font-variant-numeric: tabular-nums;
}

.jm-typenleiste-chip.is-aktiv .jm-typenleiste-zahl {
  opacity: 0.85;
}

.jm-typenleiste-hilfe {
  margin: 0.75rem 0 0 !important;
  font-size: 0.85rem !important;
}

.jm-typenleiste-hilfe a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--jm-blue-600);
  font-weight: 600;
  text-decoration: none;
}

.jm-typenleiste-hilfe a:hover {
  text-decoration: underline;
}

/* Am Telefon eine schiebbare Zeile statt eines Blocks aus zwölf Zeilen:
   umbrochen füllte die Leiste sonst den halben ersten Bildschirm und
   drückte die Produkte hinaus – genau der Fehler, den sie beheben soll.
   Der negative Außenabstand holt den Innenabstand des Bereichs zurück,
   damit die Zeile sichtbar am Rand „angeschnitten" ist. */
@media (max-width: 782px) {
  .jm-typenleiste-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * clamp(1rem, 3vw, 3rem));
    padding: 0.25rem clamp(1rem, 3vw, 3rem);
  }

  .jm-typenleiste-chips::-webkit-scrollbar {
    display: none;
  }

  .jm-typenleiste-chip {
    scroll-snap-align: start;
  }
}

/* ----------------------------------------------------------------------------
   77.2 Querverweis unter der Schnellsuche im Hero
   -------------------------------------------------------------------------- */
.jm-qs-mehr {
  margin: 0.55rem 0 0 !important;
  font-size: 0.85rem !important;
}

.jm-qs-mehr a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35rem;
  color: var(--jm-blue-600);
  font-weight: 600;
  text-decoration: none;
}

.jm-qs-mehr a:hover {
  text-decoration: underline;
}

/* Die Beschriftungen heißen jetzt wie die Fragen im Anhänger-Finder und
   brauchen zwei Zeilen. Gleiche Mindesthöhe, damit beide Felder auf einer
   Linie sitzen; Großbuchstaben wären bei dieser Länge unlesbar. */
.jm-qs-label {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.78rem;
  line-height: 1.25;
  min-height: 2em;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 900px) {
  .jm-qs-label {
    min-height: 0;
  }
}

/* ----------------------------------------------------------------------------
   77.3 Anhänger-Finder in der Handy-Schublade
   -------------------------------------------------------------------------- */
.jm-mn-finder {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 1.1rem 0.35rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%);
  color: var(--jm-white);
  text-decoration: none;
  box-shadow: var(--jm-shadow-blue);
}

.jm-mn-finder svg {
  flex: 0 0 auto;
}

.jm-mn-finder-text {
  display: block;
  min-width: 0;
}

.jm-mn-finder-text b {
  display: block;
  font: 700 0.98rem var(--jm-font-display);
  line-height: 1.25;
}

.jm-mn-finder-text > span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.3;
}

/* ----------------------------------------------------------------------------
   77.4 Kopfzeile: Platz für den neuen Menüpunkt
   ----------------------------------------------------------------------------
   Mit "Anhänger-Finder" hat das Hauptmenü einen neunten Punkt und braucht
   rund 1.520 px. Bei 1440 px – der häufigsten Notebook-Breite – lief die
   Zeile deshalb um 81 px über und schob das Suchfeld aus dem Bild.

   Den Burger bis 1535 px anzuzeigen wäre der bequeme Weg gewesen, hätte
   aber ausgerechnet auf dem meistgenutzten Bildschirm die Navigation
   gekostet. Stattdessen rücken die Punkte zwischen 1400 und 1599 px enger
   zusammen und das Suchfeld wird schmaler; ab 1600 px bleibt alles wie
   bisher.

   Der Abstand zwischen den Punkten steckt nicht in einem gap, sondern im
   seitlichen Innenabstand der Verweise (je 12,8 px). Neun Punkte ergeben
   230 px allein dafür – auf 8 px gekürzt bleiben 86 px übrig, mehr als die
   fehlenden 81 px.
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1439px) {
  .jm-main-nav > .wp-block-navigation-item > .wp-block-navigation-item__content {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
    font-size: 0.92rem;
  }

  .jm-header-search {
    max-width: 155px;
  }
}

/* Bricht der Verweis am Telefon auf zwei Zeilen, saesse das Symbol bei
   align-items:center zwischen den Zeilen. Es bleibt jetzt oben und wird
   auf die Schriftlinie der ersten Zeile gesetzt. */
.jm-qs-mehr a svg,
.jm-typenleiste-hilfe a svg {
  flex: 0 0 auto;
  margin-top: 0.15em;
}

/* ============================================================================
   78. RATGEBER-ARTIKEL: AUFMACHER, ZWEI SPALTEN, LESBARER SATZ (17.08.2026)
   ----------------------------------------------------------------------------
   Die zehn Themenseiten hatten Struktur, aber keine Gestaltung: Überschrift
   auf weißem Grund, darunter eine 820 px schmale Textspalte, links und rechts
   je 310 px leere Fläche. Kein Übergang von der Kopfleiste zum Text, kein
   Überblick über den Inhalt, keine Ordnung zwischen den Abschnitten.

   Drei Eingriffe: ein dunkler Aufmacher, der die Seite anfängt; ein
   Inhaltsverzeichnis, das die leere Spalte füllt und mitläuft; und Typografie,
   die Abschnitte sichtbar voneinander trennt.

   78.1 Aufmacher
   ============================================================================ */
.jm-rat-held {
  /* Volle Breite trotz des Innenabstands der Seitengruppe: Der Aufmacher
     soll wie eine eigene Bahn wirken, nicht wie ein Kasten im Text.

     Die drei !important sind nötig, nicht bequem: Der Kern setzt für jedes
     Kind einer `is-layout-constrained`-Gruppe `max-width: content-size` und
     `margin-left/right: auto !important`. Ohne Gegengewicht blieb der
     Aufmacher eine 1200 px breite Insel mit weißen Rändern.

     Bewusst kein `width: 100vw`: Das rechnet die Bildlaufleiste mit und
     erzeugt auf dem Schreibtisch einen waagrechten Überlauf. Die negativen
     Ränder heben genau den Innenabstand der Gruppe auf – nicht mehr. */
  max-width: none !important;
  margin: -3rem calc(-1 * clamp(1rem, 3vw, 3rem)) 2.5rem !important;
  padding: 2.75rem clamp(1rem, 3vw, 3rem) 2.5rem;
  background: linear-gradient(135deg, var(--jm-black) 0%, var(--jm-dark) 55%, #14283c 100%);
  color: var(--jm-white);
  position: relative;
  overflow: hidden;
}

.jm-rat-held::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -8rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,144,224,0.32) 0%, transparent 70%);
  pointer-events: none;
}

.jm-rat-held__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.jm-rat-held__weg {
  font-size: 0.82rem;
  color: var(--jm-gray-light);
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}

.jm-rat-held__weg a {
  color: var(--jm-blue-300);
  text-decoration: none;
}

.jm-rat-held__weg a:hover {
  text-decoration: underline;
}

.jm-rat-held__weg span[aria-current] {
  color: var(--jm-gray-light);
}

.jm-rat-held__zeile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem !important;
}

.jm-rat-held__symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  border-radius: var(--jm-radius);
  background: rgba(0,144,224,0.16);
  border: 1px solid rgba(99,190,242,0.32);
  color: var(--jm-blue-300);
}

.jm-rat-held__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.jm-rat-held__marke {
  font: 700 0.75rem var(--jm-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jm-blue-300);
}

.jm-rat-held__zeit {
  font-size: 0.85rem;
  color: var(--jm-gray-light);
}

/* Die Überschrift kommt aus dem Titelblock und trägt dessen Inline-Stil. */
.jm-rat-held .wp-block-post-title {
  color: var(--jm-white) !important;
  max-width: 22ch;
  margin: 0 0 0.85rem !important;
  line-height: 1.15;
}

.jm-rat-held__anriss {
  margin: 0 !important;
  max-width: 58ch;
  font-size: 1.05rem !important;
  color: #C6D2E0 !important;
}

/* ----------------------------------------------------------------------------
   78.2 Zwei Spalten: Text und Inhaltsverzeichnis
   -------------------------------------------------------------------------- */
/* Der Inhaltsbereich der Seite gibt seinen Kindern 820 px mit. Für eine
   Textspalte allein ist das richtig, für Text plus Randspalte zu wenig -
   der Satz stand danach in 484 px und brach mitten in kurzen Sätzen um.
   Die Klammer darf hier breiter werden; die Lesebreite wird eine Ebene
   tiefer gesetzt, an der Textspalte selbst. */
.jm-ratgeber {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.jm-rat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

@media (min-width: 1080px) {
  .jm-rat-layout {
    /* Feste Lesebreite statt 1fr: Bei 1fr wäre die Spalte 864 px breit,
       das sind rund 100 Zeichen je Zeile - beim Zeilenwechsel verliert man
       die Spur. 40rem entsprechen etwa 75 Zeichen. Beide Spalten zusammen
       stehen mittig, sonst klebte der Satz am linken Rand. */
    grid-template-columns: minmax(0, 40rem) 17.5rem;
    justify-content: center;
    gap: 3.5rem;
    align-items: start;
  }
}

.jm-rat-rand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1080px) {
  .jm-rat-rand {
    position: sticky;
    /* Kopfleiste plus Luft, damit der Titel nicht darunter klebt. */
    top: 6rem;
  }
}

.jm-rat-inhalt__nav {
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  background: var(--jm-light);
  padding: 1.25rem 1.35rem;
}

/* Beratungskarte: steht auf jeder Themenseite, auch auf den kurzen ohne
   Verzeichnis - sonst bliebe die zweite Spalte dort wieder leer. */
.jm-rat-beratung {
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  background: var(--jm-white);
  box-shadow: var(--jm-shadow-md);
  padding: 1.25rem 1.35rem;
}

.jm-rat-beratung__titel {
  margin: 0 0 0.4rem !important;
  font: 700 1rem var(--jm-font-display);
  color: var(--jm-black) !important;
}

.jm-rat-beratung__text {
  margin: 0 0 1rem !important;
  font-size: 0.9rem !important;
  line-height: 1.55;
  color: var(--jm-slate) !important;
}

.jm-rat-beratung__tel {
  display: block;
  font: 700 1.15rem var(--jm-font-display);
  color: var(--jm-blue-600);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.jm-rat-beratung__tel:hover {
  text-decoration: underline;
}

.jm-rat-beratung__btn {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: var(--jm-radius);
  background: linear-gradient(180deg, var(--jm-blue-400) 0%, var(--jm-blue-500) 55%, var(--jm-blue-600) 100%);
  color: var(--jm-white);
  font: 650 0.92rem var(--jm-font-display);
  text-decoration: none;
  box-shadow: var(--jm-shadow-blue);
  transition: var(--jm-transition-fast);
}

.jm-rat-beratung__btn:hover {
  transform: translateY(-2px);
  color: var(--jm-white);
}

.jm-rat-beratung__zeit {
  margin: 0.7rem 0 0 !important;
  font-size: 0.8rem !important;
  color: var(--jm-gray) !important;
  text-align: center;
}

.jm-rat-inhalt__titel {
  margin: 0 0 0.7rem !important;
  font: 700 0.78rem var(--jm-font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-gray) !important;
}

.jm-rat-inhalt__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rat;
}

.jm-rat-inhalt__liste li {
  counter-increment: rat;
  margin-bottom: 0.15rem;
}

.jm-rat-inhalt__liste a {
  display: flex;
  gap: 0.6rem;
  padding: 0.42rem 0.5rem;
  border-radius: var(--jm-radius-sm);
  color: var(--jm-slate);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
  transition: var(--jm-transition-fast);
}

.jm-rat-inhalt__liste a::before {
  content: counter(rat);
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--jm-blue-500);
}

.jm-rat-inhalt__liste a:hover {
  background: var(--jm-white);
  color: var(--jm-blue-600);
}

/* Sprungziel nicht unter die feste Kopfleiste laufen lassen. */
.jm-rat-text h2[id] {
  scroll-margin-top: 5.5rem;
}

/* ----------------------------------------------------------------------------
   78.3 Satz im Artikel
   ----------------------------------------------------------------------------
   Abschnitt 6579 stylte `.jm-ratgeber h2` - diese Klasse stand aber an keinem
   Element, die Regeln liefen ins Leere. Der Inhaltsfilter setzt sie jetzt.
   -------------------------------------------------------------------------- */
.jm-ratgeber .jm-lead {
  font-size: 1.15rem !important;
  line-height: 1.65;
  color: var(--jm-slate) !important;
}

.jm-rat-text h2 {
  margin: 2.75rem 0 1rem !important;
  padding-top: 1.5rem;
  border-top: 2px solid var(--jm-border);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem) !important;
  line-height: 1.25;
}

.jm-rat-text > h2:first-child {
  margin-top: 0 !important;
  padding-top: 0;
  border-top: none;
}

/* Die Fälle innerhalb eines Abschnitts: h3 plus Absatz bilden inhaltlich eine
   Einheit, standen aber wie loser Fließtext untereinander. Die Linie links
   fasst sie zusammen, ohne einen Kasten daraus zu machen. */
.jm-rat-text h3 {
  margin: 1.6rem 0 0.35rem !important;
  padding-left: 0.9rem;
  border-left: 3px solid var(--jm-blue-500);
  font-size: 1.02rem !important;
  font-weight: 700;
  color: var(--jm-black) !important;
}

.jm-rat-text h3 + p {
  padding-left: 0.9rem;
  border-left: 3px solid var(--jm-border);
  margin-top: 0 !important;
}

.jm-rat-text p {
  line-height: 1.7;
}

.jm-rat-text ul,
.jm-rat-text ol {
  line-height: 1.7;
  padding-left: 1.3rem;
}

.jm-rat-text li {
  margin-bottom: 0.4rem;
}

/* Hinweisfeld: war ein grauer Balken ohne Kennzeichnung. */
.jm-rat-text .jm-ratgeber-hinweis {
  background: var(--jm-blue-50);
  border-left: 4px solid var(--jm-blue-400);
  border-radius: var(--jm-radius);
  padding: 1rem 1.15rem;
  font-size: 0.92rem !important;
  color: var(--jm-slate) !important;
}

/* Handlungsaufruf am Textende. */
.jm-rat-text .jm-ratgeber-cta,
.jm-rat-text .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem !important;
}

/* Weiterlesen-Kacheln stehen unter beiden Spalten. */
.jm-ratgeber .jm-rat-weiter {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1079px) {
  /* Am Telefon gehört der Überblick an den Anfang, die Beratungskarte ans
     Ende - dort steht sie nach dem Lesen, nicht davor. */
  .jm-rat-layout {
    display: flex;
    flex-direction: column;
  }

  .jm-rat-rand {
    display: contents;
  }

  .jm-rat-inhalt__nav {
    order: -1;
  }

  .jm-rat-held {
    margin-bottom: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .jm-rat-held .wp-block-post-title {
    max-width: none;
  }
}

/* ============================================================================
   79. FOOTER: PARTNERLOGOS – WILLHABEN UND MIET-ANHAENGER (25.08.2026)
   ----------------------------------------------------------------------------
   In der Symbolreihe stand ein "wh" – als Marke kaum zu erkennen. Wie auf der
   bestehenden Seite verweist der Footer jetzt mit den Original-Logos auf den
   willhaben-Shop und auf die Vermietung miet-anhaenger.at.

   Beide Logos sind für hellen Grund gezeichnet (das Mietlogo trägt schwarze
   Schrift, willhaben eine weiße Sprechblase). Auf dem dunklen Footer stünden
   sie unlesbar bzw. verwaschen da, deshalb sitzt jedes auf einer weißen
   Karte – gleiche Breite, gleiche Höhe, damit die Spalte ruhig bleibt.
   ============================================================================ */
.jm-footer-partner {
  margin-top: 1.6rem;
}

.jm-footer .jm-partner-label {
  margin: 0 0 0.55rem !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.jm-footer .jm-partner-zeile {
  margin: 0 0 1.5rem !important;
}

.jm-footer a.jm-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  max-width: 100%;
  height: 62px;
  padding: 0.6rem 1rem;
  border-radius: var(--jm-radius);
  background: var(--jm-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-partner-logo svg,
.jm-partner-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Die willhaben-Sprechblase ist hoch, die Mietmarke breit – ohne eigene
   Deckel stünde die eine winzig, die andere randlos in derselben Karte. */
.jm-partner-wh svg {
  max-width: 132px;
}

.jm-partner-miete img {
  max-width: 168px;
}

.jm-footer a.jm-partner-logo:hover,
.jm-footer a.jm-partner-logo:focus-visible {
  border-color: var(--jm-cyan);
  transform: translateY(-2px);
  box-shadow: var(--jm-shadow-blue);
}

.jm-footer .jm-partner-text {
  margin: -0.9rem 0 0 !important;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 782px) {
  .jm-footer a.jm-partner-logo {
    width: 190px;
    height: 58px;
  }
}

/* ============================================================================
   80. FORMULARE: FELDER, DIE IN IHRER SPALTE BLEIBEN (25.08.2026)
   ----------------------------------------------------------------------------
   Der Grund für den schiefen Eindruck war kein Geschmacksfrage, sondern ein
   Rechenfehler: Die Felder standen auf `width: 100%`, aber ohne
   `box-sizing: border-box`. Innenabstand (2 × 14 px) und Rahmen (2 × 1 px)
   kamen also OBEN DRAUF – jedes Feld war 30 px breiter als seine Spalte.
   Gemessen auf der Kontaktseite: Spalte 305 px, Feld 335 px. Dadurch schob
   sich das linke Feld unter das rechte, das rechte ragte über die Karte
   hinaus, und der Absendeknopf (der korrekt rechnete) war sichtbar schmäler
   als das Textfeld darüber. Genau das wirkte "komisch".

   Ab hier ist das Formular an einer Stelle beschrieben, für die Kontaktseite
   und die Mietanfrage gemeinsam.
   ============================================================================ */
.jm-contact-form *,
.jm-contact-form *::before,
.jm-contact-form *::after {
  box-sizing: border-box;
}

.jm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Die alten Abstände sassen an den Gruppen und addierten sich mit dem
   Zeilenabstand zu ungleichen Luecken. Der Fluss steuert das jetzt. */
.jm-contact-form .jm-form-row,
.jm-kontakt-formular .jm-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
  margin-bottom: 0;
}

.jm-contact-form .jm-form-group,
.jm-kontakt-formular .jm-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0;
  min-width: 0;
}

.jm-contact-form label,
.jm-kontakt-formular label {
  font: 650 0.85rem/1.3 var(--jm-font-display);
  color: var(--jm-slate);
}

/* Der Stern hebt sich ab, bleibt aber ein Zeichen und kein Ausrufezeichen. */
.jm-contact-form .jm-pflicht {
  margin-left: 0.15em;
  color: var(--jm-blue-500);
  font-weight: 700;
}

.jm-contact-form input[type="text"],
.jm-contact-form input[type="email"],
.jm-contact-form input[type="tel"],
.jm-contact-form input[type="date"],
.jm-contact-form select,
.jm-contact-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--jm-border);
  border-radius: var(--jm-radius);
  background: var(--jm-white);
  color: var(--jm-dark);
  /* 1 rem = 16 px: Alles darunter loest auf dem iPhone das Zoomen aus. */
  font: 400 1rem/1.45 var(--jm-font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.jm-contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.jm-contact-form ::placeholder {
  color: #94A3B8;
  opacity: 1;
}

.jm-contact-form input:hover,
.jm-contact-form select:hover,
.jm-contact-form textarea:hover {
  border-color: #C7D2DE;
}

.jm-contact-form input:focus,
.jm-contact-form select:focus,
.jm-contact-form textarea:focus {
  outline: none;
  border-color: var(--jm-blue-500);
  box-shadow: 0 0 0 3px rgba(0, 144, 224, 0.16);
  background: var(--jm-white);
}

/* Erst nach dem Absenden markieren, nicht schon beim Tippen. */
.jm-contact-form input:not(:placeholder-shown):invalid,
.jm-contact-form textarea:not(:placeholder-shown):invalid {
  border-color: #E4A11B;
}

/* Auswahlfeld: eigener Pfeil, weil appearance den System-Pfeil entfernt. */
.jm-contact-form select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px 18px;
  cursor: pointer;
}

/* Datumsfelder sind in Chrome sonst kleiner als der Rest der Zeile. */
.jm-contact-form input[type="date"] {
  min-height: 3rem;
  line-height: 1.45;
}

.jm-contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
}

.jm-contact-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.jm-feld-hinweis {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--jm-gray);
}

/* Zusammengehörende Angaben (Mietanfrage) als abgesetzter Block. */
.jm-form-block {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0;
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid var(--jm-border);
  border-radius: calc(var(--jm-radius) + 4px);
  background: #F8FAFC;
}

.jm-form-block legend {
  padding: 0 0.45rem;
  margin-left: -0.45rem;
  font: 700 0.9rem var(--jm-font-display);
  color: var(--jm-dark);
}

.jm-form-abschluss {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.jm-form-abschluss .jm-form-submit {
  width: auto;
  flex: 1 1 15rem;
}

.jm-form-pflichtnote {
  margin: 0 !important;
  font-size: 0.78rem;
  color: var(--jm-gray);
}

.jm-form-hinweis {
  margin: 0 !important;
}

/* Rückmeldung nach dem Absenden: sichtbar, aber nicht schreiend. */
.jm-form-meldung {
  padding: 0.95rem 1.1rem;
  border-radius: var(--jm-radius);
  border-left: 4px solid;
  font-size: 0.92rem;
  line-height: 1.55;
}

.jm-form-meldung--ok {
  border-color: #1E9E5A;
  background: #ECFDF3;
  color: #14532D;
}

.jm-form-meldung--fehler {
  border-color: #D64545;
  background: #FEF2F2;
  color: #7F1D1D;
}

/* ============================================================================
   81. MIETANFRAGE: BÜHNE, ABLAUF, FARBE (25.08.2026)
   ----------------------------------------------------------------------------
   Die erste Fassung war eine weiße Seite mit weißen Karten – richtig, aber
   ohne Ton. Jetzt trägt die Seite oben eine dunkelblaue Bühne mit dem
   Handlungsaufruf, darunter den Ablauf in drei Schritten (blau, gold, grün –
   die drei Akzente, die das Theme ohnehin führt), und erst dann Formular und
   Infospalte. Die Überschrift steht in der Bühne; den Titelblock des
   Templates entfernt inc/mietanfrage.php auf dieser Seite.
   ============================================================================ */
/* Wie im Formular: Ohne border-box rechnen Innenabstand und Rahmen oben drauf.
   Am Handy ragten dadurch die beiden Knoepfe der Buehne (width: 100% plus
   2 × 1,6 rem Innenabstand) um 13 px ueber den Bildschirm hinaus. */
.jm-miete-seite,
.jm-miete-seite *,
.jm-miete-seite *::before,
.jm-miete-seite *::after {
  box-sizing: border-box;
}

.jm-miete-seite {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 4vw, 3.5rem);
}

/* ---- 81.1 Bühne ---- */
.jm-miete-buehne {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--jm-radius-xl);
  background:
    radial-gradient(ellipse at 88% 12%, rgba(43, 165, 233, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse at 8% 92%, rgba(0, 144, 224, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, var(--jm-black) 0%, var(--jm-blue-900) 45%, var(--jm-blue-700) 100%);
  color: var(--jm-white);
}

.jm-miete-tag {
  display: inline-block;
  margin: 0 0 0.85rem !important;
  padding: 0.32rem 0.8rem;
  border-radius: var(--jm-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: 700 0.72rem/1 var(--jm-font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--jm-blue-100);
}

.jm-miete-buehne h1 {
  margin: 0 0 0.7rem !important;
  font: 800 clamp(1.85rem, 4vw, 2.9rem)/1.12 var(--jm-font-display);
  color: var(--jm-white) !important;
  letter-spacing: -0.015em;
}

.jm-miete-lead {
  margin: 0 0 1.5rem !important;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82) !important;
}

.jm-miete-buehne-aktion {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jm-miete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.6rem;
  border-radius: var(--jm-radius);
  font: 700 0.98rem var(--jm-font-display);
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
  background: var(--jm-white);
  color: var(--jm-blue-800) !important;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}

.jm-miete-btn:hover,
.jm-miete-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--jm-blue-50);
  color: var(--jm-blue-900) !important;
}

.jm-miete-btn--geist {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--jm-white) !important;
  box-shadow: none;
}

.jm-miete-btn--geist:hover,
.jm-miete-btn--geist:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--jm-white);
  color: var(--jm-white) !important;
}

.jm-miete-buehne-note {
  margin: 1.1rem 0 0 !important;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.62) !important;
}

/* Die drei Merkposten neben der Ansprache: durchscheinende Karten, damit der
   Farbverlauf sichtbar bleibt. */
.jm-miete-fakten {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.jm-miete-fakten li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--jm-radius-lg);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.jm-miete-fakt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(99, 190, 242, 0.18);
  color: var(--jm-blue-200);
}

.jm-miete-fakt-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.jm-miete-fakt-text strong {
  font: 700 0.95rem var(--jm-font-display);
  color: var(--jm-white);
}

.jm-miete-fakt-text span {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- 81.2 Ablauf in drei Schritten ---- */
.jm-miete-ablauf h2 {
  margin: 0 0 1.4rem !important;
  font: 800 clamp(1.35rem, 2.4vw, 1.8rem) var(--jm-font-display);
  color: var(--jm-dark) !important;
}

.jm-miete-schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  counter-reset: none;
}

.jm-miete-schritt {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  background: var(--jm-white);
  box-shadow: var(--jm-shadow);
  overflow: hidden;
}

/* Farbkante oben – der einzige Ort, an dem die drei Töne aufeinandertreffen */
.jm-miete-schritt::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--jm-schritt-farbe);
}

.jm-miete-schritt-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
  border-radius: 13px;
  background: var(--jm-schritt-flaeche);
  color: var(--jm-schritt-farbe);
  font: 800 1.05rem var(--jm-font-display);
  letter-spacing: -0.02em;
}

.jm-miete-schritt h3 {
  margin: 0 0 0.4rem !important;
  font: 700 1.05rem var(--jm-font-display);
  color: var(--jm-dark) !important;
}

.jm-miete-schritt p {
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--jm-gray) !important;
}

.jm-miete-schritt--blau {
  --jm-schritt-farbe: var(--jm-blue-500);
  --jm-schritt-flaeche: var(--jm-blue-50);
}

.jm-miete-schritt--gold {
  --jm-schritt-farbe: #B47A0B;
  --jm-schritt-flaeche: #FDF3DE;
}

.jm-miete-schritt--gruen {
  --jm-schritt-farbe: #0F8A4D;
  --jm-schritt-flaeche: #E7F6EE;
}

/* ---- 81.3 Formularkarte und Infospalte ---- */
.jm-miete-karte {
  position: relative;
  overflow: hidden;
}

.jm-miete-karte::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--jm-blue-600), var(--jm-blue-400) 55%, var(--jm-blue-200));
}

/* Der Block "Was und wann?" trug ein neutrales Grau. Blau gefaerbt gehoert er
   sichtbar zum Formular und nicht zum Seitenhintergrund. */
.jm-miet-form .jm-form-block {
  border-color: var(--jm-blue-100);
  background: var(--jm-blue-50);
}

.jm-miet-form .jm-form-block legend {
  color: var(--jm-blue-800);
}

.jm-miete-nebenkarte {
  border-top: 3px solid var(--jm-neben-farbe, var(--jm-blue-500));
}

.jm-miete-nebenkarte-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  background: var(--jm-neben-flaeche, var(--jm-blue-50));
  color: var(--jm-neben-farbe, var(--jm-blue-600));
}

.jm-miete-nebenkarte--blau {
  --jm-neben-farbe: var(--jm-blue-500);
  --jm-neben-flaeche: var(--jm-blue-50);
}

.jm-miete-nebenkarte--gruen {
  --jm-neben-farbe: #0F8A4D;
  --jm-neben-flaeche: #E7F6EE;
}

/* Die dunkle Karte war bisher nur mit Ueberschrift und Liste gefuellt. Hier
   stehen Absaetze darin – ohne eigene Farbe blieben sie dunkelgrau auf
   Dunkelblau und waren praktisch nicht zu lesen. */
.jm-kontakt-karte--dunkel p,
.jm-kontakt-karte--dunkel .jm-kontakt-zeiten {
  color: rgba(255, 255, 255, 0.82) !important;
}

.jm-kontakt-karte--dunkel strong {
  color: var(--jm-white) !important;
}

.jm-miete-anrufkarte {
  background:
    radial-gradient(ellipse at 85% 8%, rgba(43, 165, 233, 0.32) 0%, transparent 60%),
    linear-gradient(150deg, var(--jm-black), var(--jm-blue-800)) !important;
}

/* Die Kartenregel ".jm-kontakt-karte p" ist spezifischer als eine einzelne
   Klasse (zwei Bausteine gegen einen) – mit !important allein war gegen sie
   nicht anzukommen, die Nummer blieb auf 0,94 rem. Deshalb hier derselbe
   Aufbau plus eigene Klasse. Sie ist der zweite Handlungsaufruf der Seite und
   darf nicht wie Fliesstext aussehen. */
.jm-kontakt-karte p.jm-miete-anruf {
  margin: 0.35rem 0 1.1rem !important;
  font-family: var(--jm-font-display);
  font-size: 1.5rem !important;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.jm-miete-anruf a {
  color: var(--jm-white) !important;
  text-decoration: none !important;
}

.jm-miete-anruf a:hover {
  text-decoration: underline !important;
}

@media (max-width: 900px) {
  .jm-miete-buehne {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .jm-miete-buehne-aktion {
    flex-direction: column;
    align-items: stretch;
  }

  .jm-miete-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .jm-form-block {
    padding: 1rem 1rem 1.15rem;
  }

  .jm-form-abschluss .jm-form-submit {
    flex: 1 1 100%;
  }
}

/* ============================================================================
   82. NEUIGKEITEN: EINZELANSICHT UND FOTOS IN DEN KACHELN (25.08.2026)
   ----------------------------------------------------------------------------
   Mit den ersten sechs Beiträgen (aus den Facebook-Posts übernommen, ohne
   iframe) fiel zweierlei auf:

   1. Für einen einzelnen Beitrag gab es KEIN Template. WordPress fiel auf
      index.html zurück – und das ist ein Archiv: Der Beitrag erschien als
      verlinkte Überschrift mit Auszug, Text und Bilder fehlten ganz. Neu ist
      templates/single.html.
   2. Die Kachelbilder waren auf Produktfotos eingestellt (contain, Innenrand,
      mix-blend-mode: multiply). Das ist für freigestellte Anhänger auf Weiß
      richtig, für Fotos vom Hof aber falsch: schmaler weißer Rahmen, matte
      Farben. Fotos füllen die Kachel jetzt.
   ============================================================================ */
/* Kein Innenrand und kein Multiplizieren mehr (das war fuer freigestellte
   Produktfotos gedacht). "contain" statt "cover", weil unter den Beitraegen
   auch Werbebilder mit Schrift am Rand sind – die waeren angeschnitten
   worden. Die meisten Fotos sind ohnehin 4:3 und fuellen die Kachel damit
   vollstaendig aus. */
.jm-news-bild img {
  object-fit: contain;
  padding: 0;
  mix-blend-mode: normal;
  background: var(--jm-light);
}

/* ---- 82.1 Einzelner Beitrag ---- */
.jm-news-einzel .jm-news-einzel-datum {
  margin: 0 0 0.5rem !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--jm-cyan-dark);
}

/* "margin: 0 …" hat der constrained-Spalte die automatischen Seitenränder
   genommen – Titel und Meta-Zeile standen dadurch linksbündig neben dem Text.
   "auto" links und rechts stellt die Mitte wieder her. */
.jm-news-einzel .jm-news-einzel-titel {
  margin: 0 auto 1.6rem !important;
  font: 800 clamp(1.6rem, 3.2vw, 2.35rem)/1.18 var(--jm-font-display);
  letter-spacing: -0.015em;
  color: var(--jm-dark) !important;
}

.jm-news-einzel .entry-content p,
.jm-news-einzel .wp-block-post-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--jm-slate);
}

.jm-news-einzel .wp-block-post-content h2 {
  margin: 2.2rem 0 0.8rem !important;
  font: 800 clamp(1.15rem, 2.2vw, 1.45rem) var(--jm-font-display);
  color: var(--jm-dark) !important;
}

.jm-news-einzel .wp-block-post-content ul {
  margin: 0 0 1.25rem !important;
  padding-left: 0 !important;
  list-style: none;
}

.jm-news-einzel .wp-block-post-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--jm-slate);
}

/* Häkchen statt Punkt: Die Listen sind Ausstattungslisten, keine Aufzählung
   im Fließtext. */
.jm-news-einzel .wp-block-post-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--jm-blue-200);
}

.jm-news-einzel .wp-block-image {
  margin: 1.75rem 0;
}

.jm-news-einzel .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
}

/* Die Galerie von WordPress ist eine Flexbox: In der letzten Zeile ziehen sich
   uebrig gebliebene Bilder auf die volle Breite auf – bei vier Fotos stand
   das vierte riesig unter drei kleinen. Als Raster bleiben alle gleich. */
.jm-news-einzel .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
  margin: 1.75rem 0;
}

.jm-news-einzel .wp-block-gallery .wp-block-image,
.jm-news-einzel .wp-block-gallery figure {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}

.jm-news-einzel .wp-block-gallery .wp-block-image {
  margin: 0;
}

/* Nicht beschneiden: Unter den Fotos sind Werbebilder mit Schrift am oberen
   und unteren Rand – "cover" hat davon die Zeilen abgeschnitten. Gleiches
   Format fuer eine ruhige Reihe, das Bild bleibt vollstaendig, der Rest der
   Flaeche ist hell hinterlegt. */
.jm-news-einzel .wp-block-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--jm-light);
}

.jm-news-zurueck {
  margin: 0 0 1.25rem !important;
  font-size: 0.88rem;
  font-weight: 600;
}

.jm-news-zurueck a {
  color: var(--jm-cyan-dark) !important;
  text-decoration: none !important;
}

.jm-news-zurueck a:hover {
  text-decoration: underline !important;
}

.jm-news-zurueck--unten {
  margin: 2.5rem 0 0 !important;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jm-border);
}

/* ============================================================================
   83. NEUIGKEITEN: ÜBERSICHT MIT AUFMACHER, EINZELSEITE MIT RAHMEN (25.08.2026)
   ----------------------------------------------------------------------------
   Übersicht: Sechs gleich große Kacheln nebeneinander – nichts führte das Auge.
   Jetzt ein dunkler Kopfbereich, darunter der jüngste Beitrag breit als
   Aufmacher, dann die übrigen als Kacheln.

   Einzelseite: Dort fehlte alles, was einen Beitrag einordnet. Neu sind
   Brotkrumenpfad, eine Zeile mit Datum, Lesedauer und Fotoanzahl, am Ende drei
   weitere Beiträge und ein Handlungsaufruf. Beides kommt aus
   inc/news-einzel.php, damit der Kunde es nicht in jeden Beitrag schreiben
   muss.
   ============================================================================ */

/* Innenabstand darf die Spaltenbreite nicht sprengen: Der Handlungsaufruf
   stand mit 880 px Inhalt plus 2 × 38 px Polster 76 px breiter als der Text
   darueber. */
.jm-news-einzel,
.jm-news-einzel *,
.jm-news-einzel *::before,
.jm-news-einzel *::after,
.jm-news-kopf,
.jm-news-kopf *,
.jm-news-aufmacher,
.jm-news-aufmacher * {
  box-sizing: border-box;
}

/* ---- 83.1 Kopfbereich der Übersicht ---- */
.jm-news-kopf {
  padding: clamp(1.9rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-radius: var(--jm-radius-xl);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(43, 165, 233, 0.35) 0%, transparent 58%),
    linear-gradient(135deg, var(--jm-black) 0%, var(--jm-blue-900) 50%, var(--jm-blue-700) 100%);
  color: var(--jm-white);
}

.jm-news-kopf .jm-news-kopf-tag {
  display: inline-block;
  margin: 0 0 0.8rem !important;
  padding: 0.32rem 0.8rem;
  border-radius: var(--jm-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: 700 0.72rem/1 var(--jm-font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--jm-blue-100) !important;
}

.jm-news-kopf .jm-news-kopf-titel {
  margin: 0 0 0.65rem !important;
  font: 800 clamp(1.8rem, 4vw, 2.8rem)/1.14 var(--jm-font-display);
  letter-spacing: -0.015em;
  color: var(--jm-white) !important;
}

.jm-news-kopf .jm-news-kopf-lead {
  margin: 0 !important;
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.06rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ---- 83.2 Aufmacher ---- */
.jm-news-aufmacher {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  background: var(--jm-white);
  box-shadow: var(--jm-shadow);
  overflow: hidden;
  transition: var(--jm-transition);
}

.jm-news-aufmacher:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-lg);
}

.jm-news-aufmacher-bild {
  margin: 0;
  aspect-ratio: 16 / 11;
  background: var(--jm-light);
  overflow: hidden;
}

.jm-news-aufmacher-bild a,
.jm-news-aufmacher-bild img {
  display: block;
  width: 100%;
  height: 100%;
}

.jm-news-aufmacher-bild img {
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jm-news-aufmacher:hover .jm-news-aufmacher-bild img {
  transform: scale(1.03);
}

.jm-news-aufmacher-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.jm-news-marke {
  align-self: flex-start;
  margin: 0 0 0.9rem !important;
  padding: 0.28rem 0.7rem;
  border-radius: var(--jm-radius-pill);
  background: var(--jm-blue-50);
  color: var(--jm-blue-700) !important;
  font: 700 0.7rem/1 var(--jm-font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jm-news-aufmacher-titel {
  margin: 0.15rem 0 0.7rem !important;
  font: 800 clamp(1.25rem, 2.4vw, 1.75rem)/1.25 var(--jm-font-display);
  letter-spacing: -0.01em;
}

.jm-news-aufmacher-titel a {
  color: var(--jm-dark) !important;
  text-decoration: none !important;
}

.jm-news-aufmacher:hover .jm-news-aufmacher-titel a {
  color: var(--jm-blue-600) !important;
}

.jm-news-aufmacher-lead {
  margin: 0 0 1.4rem !important;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--jm-gray) !important;
}

.jm-news-aufmacher-mehr {
  margin: 0 !important;
}

/* Knopf, der auf hellem wie dunklem Grund funktioniert */
.jm-news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0 1.4rem;
  border-radius: var(--jm-radius);
  background: var(--jm-blue-500);
  color: var(--jm-white) !important;
  font: 700 0.95rem var(--jm-font-display);
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-news-btn:hover,
.jm-news-btn:focus-visible {
  background: var(--jm-blue-600);
  transform: translateY(-2px);
  box-shadow: var(--jm-shadow-blue);
  color: var(--jm-white) !important;
}

.jm-news-btn--geist {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
}

.jm-news-btn--geist:hover,
.jm-news-btn--geist:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--jm-white);
  box-shadow: none;
}

@media (max-width: 820px) {
  .jm-news-aufmacher {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-news-aufmacher-bild {
    aspect-ratio: 16 / 9;
  }
}

/* ---- 83.3 Brotkrumen und Meta-Zeile der Einzelseite ---- */
.jm-news-pfad {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--jm-gray);
}

.jm-news-pfad a {
  color: var(--jm-gray) !important;
  text-decoration: none !important;
}

.jm-news-pfad a:hover {
  color: var(--jm-blue-600) !important;
  text-decoration: underline !important;
}

.jm-news-pfad [aria-current="page"] {
  color: var(--jm-slate);
  font-weight: 600;
}

.jm-news-einzel .jm-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1.75rem !important;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--jm-border);
  font-size: 0.84rem !important;
  color: var(--jm-gray) !important;
}

.jm-news-einzel .jm-news-meta-datum {
  font-weight: 700;
  color: var(--jm-cyan-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jm-news-meta-punkt {
  color: var(--jm-border-strong);
}

/* Der erste Absatz führt in den Beitrag ein und darf größer stehen. */
.jm-news-einzel .wp-block-post-content > p:first-of-type {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--jm-dark);
}

/* ---- 83.4 Abschluss: weitere Beiträge und Handlungsaufruf ---- */
.jm-news-weitere {
  margin-top: 3.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--jm-border);
}

.jm-news-weitere h2 {
  margin: 0 0 1.35rem !important;
  font: 800 clamp(1.2rem, 2.2vw, 1.5rem) var(--jm-font-display);
  color: var(--jm-dark) !important;
}

/* Drei Kacheln in einer 880-px-Spalte: enger als auf der Übersicht. */
.jm-news-weitere .jm-news-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.jm-news-weitere .jm-news-body {
  padding: 1rem 1.1rem 1.15rem;
}

.jm-news-weitere .jm-news-titel {
  font-size: 0.98rem !important;
}

.jm-news-weitere .jm-news-text {
  display: none;
}

.jm-news-alle {
  margin: 1.35rem 0 0 !important;
  font-size: 0.9rem;
  font-weight: 600;
}

.jm-news-alle a {
  color: var(--jm-cyan-dark) !important;
  text-decoration: none !important;
}

.jm-news-alle a:hover {
  text-decoration: underline !important;
}

/* Der Kasten am Ende eines Beitrags: Symbol, Ansprache, zwei Knöpfe und die
   Telefonnummer. Vorher stand die Nummer als graue Kleinschrift unter den
   Knöpfen und ging unter - jetzt ist sie ein eigener Verweis mit Hörer.
   Unten trägt der Kasten Abstand, sonst klebt er am Footer (das Template
   hatte padding-bottom: 0). */
.jm-news-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: 3rem 0 0;
  padding: clamp(1.6rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--jm-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 88% 8%, rgba(43, 165, 233, 0.34) 0%, transparent 62%),
    radial-gradient(ellipse at 5% 95%, rgba(0, 144, 224, 0.2) 0%, transparent 55%),
    linear-gradient(135deg, var(--jm-black) 0%, var(--jm-blue-900) 55%, var(--jm-blue-800) 100%);
  box-shadow: 0 20px 45px -25px rgba(10, 60, 93, 0.75);
  color: var(--jm-white);
}

.jm-news-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(99, 190, 242, 0.16);
  border: 1px solid rgba(155, 213, 248, 0.26);
  color: var(--jm-blue-200);
}

.jm-news-cta .jm-news-cta-marke {
  margin: 0 0 0.35rem !important;
  font: 700 0.7rem/1 var(--jm-font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--jm-blue-200) !important;
}

.jm-news-cta h2 {
  margin: 0 0 0.4rem !important;
  font: 800 clamp(1.2rem, 2.3vw, 1.5rem)/1.25 var(--jm-font-display);
  letter-spacing: -0.01em;
  color: var(--jm-white) !important;
}

.jm-news-cta p {
  margin: 0 !important;
  max-width: 46ch;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76) !important;
}

.jm-news-cta-aktion {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  min-width: 13.5rem;
}

.jm-news-cta-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  font: 700 1.02rem var(--jm-font-display);
  letter-spacing: -0.01em;
  color: var(--jm-white) !important;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

.jm-news-cta-tel svg {
  color: var(--jm-blue-300);
}

.jm-news-cta-tel:hover,
.jm-news-cta-tel:focus-visible {
  color: var(--jm-blue-200) !important;
}

.jm-news-cta-tel:hover svg {
  color: var(--jm-blue-200);
}

@media (max-width: 860px) {
  .jm-news-cta {
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
  }

  /* Sonst schwebt das Symbol auf halber Hoehe neben dem Fliesstext. */
  .jm-news-cta-icon {
    align-self: start;
  }

  .jm-news-cta-aktion {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .jm-news-cta-aktion .jm-news-btn {
    flex: 1 1 12rem;
  }

  .jm-news-cta-tel {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .jm-news-cta-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .jm-news-cta-aktion .jm-news-btn {
    flex: 1 1 100%;
  }
}

/* ============================================================================
   84. BILDBETRACHTER IN DEN NEUIGKEITEN (25.08.2026)
   ----------------------------------------------------------------------------
   Die Fotos in einem Beitrag lassen sich groß ansehen und durchblättern –
   aber nur, wenn ein Beitrag mehr als eines hat (assets/bildbetrachter.js
   wird sonst gar nicht geladen). Bei einem einzelnen Bild gäbe es nichts zu
   blättern, und ein Klick, der bloß dasselbe Bild groß zeigt, ist eher
   Störung als Hilfe.
   ============================================================================ */
.jm-bild-lupe {
  cursor: zoom-in;
}

/* Der Hinweis, dass hier etwas passiert: Lupe rechts oben, erst beim
   Überfahren. Am Handy (kein Hover) steht sie dauerhaft. */
.jm-news-einzel .wp-block-image:has(.jm-bild-lupe) {
  position: relative;
}

.jm-news-einzel .wp-block-image:has(.jm-bild-lupe)::after {
  content: '';
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(12, 21, 32, 0.55);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.2-4.2M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.jm-news-einzel .wp-block-image:has(.jm-bild-lupe):hover::after,
.jm-news-einzel .wp-block-image:has(.jm-bild-lupe):focus-within::after {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none) {
  .jm-news-einzel .wp-block-image:has(.jm-bild-lupe)::after {
    opacity: 1;
    transform: none;
  }
}

.jm-bild-lupe:focus-visible {
  outline: 3px solid var(--jm-blue-400);
  outline-offset: 3px;
}

/* ---- 84.1 Die Ansicht selbst ---- */
.jm-lupe {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(8, 14, 22, 0.94);
  backdrop-filter: blur(6px);
}

.jm-lupe[hidden] {
  display: none;
}

body.jm-lupe-offen {
  overflow: hidden;
}

.jm-lupe-buehne {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0;
  min-width: 0;
  height: 100%;
}

.jm-lupe-buehne img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  border-radius: var(--jm-radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.jm-lupe-buehne figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 60ch;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.jm-lupe-zaehler {
  padding: 0.15rem 0.6rem;
  border-radius: var(--jm-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--jm-white);
  white-space: nowrap;
}

.jm-lupe button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--jm-white);
  cursor: pointer;
  transition: var(--jm-transition-fast);
}

.jm-lupe button:hover,
.jm-lupe button:focus-visible {
  background: var(--jm-blue-500);
  border-color: var(--jm-blue-500);
  transform: scale(1.06);
}

.jm-lupe button:focus-visible {
  outline: 3px solid var(--jm-blue-200);
  outline-offset: 2px;
}

.jm-lupe-zu {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
}

/* Am Handy stehen die Pfeile unter dem Bild statt daneben – seitlich bliebe
   für das Foto sonst kaum Platz. */
@media (max-width: 640px) {
  .jm-lupe {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "buehne" "pfeile";
    align-content: center;
    padding-top: 4rem;
  }

  .jm-lupe-buehne {
    grid-area: buehne;
  }

  .jm-lupe-buehne img {
    max-height: calc(100vh - 14rem);
  }

  .jm-lupe-zurueck {
    grid-area: pfeile;
    justify-self: center;
    margin-right: 5rem;
  }

  .jm-lupe-vor {
    grid-area: pfeile;
    justify-self: center;
    margin-left: 5rem;
  }
}

/* ============================================================================
   85. PARTNERBAND: LAUFENDE MARKENLOGOS (26.08.2026)
   ----------------------------------------------------------------------------
   Ein schmales, helles Band unter der Kennzahlenleiste. Die Logos laufen
   langsam von rechts nach links; beim Überfahren hält das Band an, damit man
   ein Logo auch anklicken kann.

   Die Liste steht zweimal in der Spur. Die Animation schiebt genau um die
   halbe Breite (also um eine Liste) und springt dann zurück - weil dort
   dasselbe steht, ist der Sprung nicht zu sehen. Deshalb darf die Spur weder
   gap noch Rand zwischen den beiden Listen haben.

   Die Logos in der Mediathek sind Farblogos auf weissem Grund, deshalb das
   helle Band und die weissen Kacheln.
   ============================================================================ */
.jm-partnerband {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  background: var(--jm-light);
  border-top: 1px solid var(--jm-border);
  border-bottom: 1px solid var(--jm-border);
}

.jm-partnerband-innen {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--jm-gutter);
}

.jm-partnerband-titel {
  margin: 0 0 1rem !important;
  text-align: center;
  font: 700 0.72rem/1 var(--jm-font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-gray) !important;
}

/* Am Rand ausblenden, damit die Logos nicht abgeschnitten "anstossen". */
.jm-partnerband-fenster {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.jm-partnerband-spur {
  display: flex;
  width: max-content;
  animation: jm-partner-lauf var(--jm-partner-dauer, 42s) linear infinite;
}

.jm-partnerband:hover .jm-partnerband-spur,
.jm-partnerband:focus-within .jm-partnerband-spur {
  animation-play-state: paused;
}

@keyframes jm-partner-lauf {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.jm-partnerband-liste {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin: 0 !important;
  padding: 0 clamp(0.375rem, 1vw, 0.75rem) !important;
  list-style: none;
}

.jm-partner-item {
  flex: 0 0 auto;
  margin: 0 !important;
}

.jm-partner-kachel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(132px, 15vw, 180px);
  height: clamp(64px, 7vw, 84px);
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  background: var(--jm-white);
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

a.jm-partner-kachel:hover,
a.jm-partner-kachel:focus-visible {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-md);
  transform: translateY(-2px);
}

.jm-partner-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.jm-partner-name {
  font: 700 0.95rem var(--jm-font-display);
  color: var(--jm-slate);
}

/* Wer Bewegung abgestellt hat, bekommt ein stehendes Band zum Wischen. */
@media (prefers-reduced-motion: reduce) {
  .jm-partnerband-fenster {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .jm-partnerband-spur {
    animation: none;
  }

  .jm-partnerband-liste:last-child {
    display: none;
  }
}

/* ---- 85.1 Marke ohne Modelle im Bestand ---- */
.jm-marke--ohne-modelle {
  opacity: 0.92;
}

.jm-marke-anzahl--anfrage {
  color: var(--jm-gray);
  font-style: normal;
}

/* ============================================================================
   86. AUSWAHLFELDER IM SEITENDESIGN (26.08.2026)
   ----------------------------------------------------------------------------
   Das Sortierfeld im Shop stand als nacktes Betriebssystem-Element da: Arial
   13 px, grauer Systemrahmen, auf jedem Rechner anders. Die Felder in den
   Formularen waren längst gestaltet, dieses eine nicht - und es steht auf der
   meistbesuchten Seite.

   Die Regel gilt für alle Auswahlfelder im Inhalt, damit kein weiteres mehr
   durchrutscht (Formulare bringen ihre eigene, engere Regel mit).
   ============================================================================ */
.woocommerce-ordering select,
.jm-shop-results select,
.entry-content select,
.wp-block-post-content select,
select.jm-auswahl {
  box-sizing: border-box;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.55rem 2.5rem 0.55rem 0.9rem;
  border: 1.5px solid var(--jm-border);
  border-radius: var(--jm-radius);
  background-color: var(--jm-white);
  color: var(--jm-dark);
  font: 400 0.95rem/1.4 var(--jm-font);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  /* Eigener Pfeil, weil appearance den des Systems entfernt. */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-ordering select:hover,
.entry-content select:hover,
.wp-block-post-content select:hover {
  border-color: #C7D2DE;
}

.woocommerce-ordering select:focus,
.entry-content select:focus,
.wp-block-post-content select:focus {
  outline: none;
  border-color: var(--jm-blue-500);
  box-shadow: 0 0 0 3px rgba(0, 144, 224, 0.16);
}

/* Die Auswahlliste selbst zeichnet das Betriebssystem - die Schrift der
   Einträge lässt sich nur begrenzt setzen, das genügt aber. */
.woocommerce-ordering select option,
.entry-content select option,
.wp-block-post-content select option {
  font-family: var(--jm-font);
}

/* ============================================================================
   87. MARKENKOPF IM SHOP (26.08.2026)
   ----------------------------------------------------------------------------
   Auf /shop/?filter_marke=blyss stand bisher nur die Überschrift und darunter
   Kacheln. Wer die Marke nicht kennt, erfuhr nichts über sie. Jetzt stehen
   Logo, ein kurzer Absatz, Herkunft und die Zahl der Modelle darüber.
   ============================================================================ */
.jm-markenkopf {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0 0 1.75rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.2rem, 3vw, 1.9rem);
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  background: var(--jm-white);
  box-shadow: var(--jm-shadow);
}

.jm-markenkopf-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 14vw, 190px);
  padding: 0.5rem;
  border-right: 1px solid var(--jm-border);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.jm-markenkopf-logo img {
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.jm-markenkopf .jm-markenkopf-marke {
  margin: 0 0 0.2rem !important;
  font: 700 0.7rem/1 var(--jm-font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--jm-blue-600) !important;
}

.jm-markenkopf h2 {
  margin: 0 0 0.45rem !important;
  font: 800 clamp(1.15rem, 2.2vw, 1.5rem) var(--jm-font-display);
  color: var(--jm-dark) !important;
}

.jm-markenkopf .jm-markenkopf-satz {
  margin: 0 !important;
  max-width: 76ch;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--jm-gray) !important;
}

.jm-markenkopf .jm-markenkopf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 0 !important;
}

.jm-markenkopf-meta span {
  padding: 0.2rem 0.65rem;
  border-radius: var(--jm-radius-pill);
  background: var(--jm-blue-50);
  color: var(--jm-blue-700);
  font: 700 0.78rem var(--jm-font-display);
}

.jm-markenkopf-meta .jm-markenkopf-land {
  background: var(--jm-light-alt);
  color: var(--jm-gray);
}

.jm-markenkopf .jm-markenkopf-mehr {
  margin: 0.7rem 0 0 !important;
  font-size: 0.88rem;
  font-weight: 600;
}

.jm-markenkopf-mehr a {
  color: var(--jm-cyan-dark) !important;
  text-decoration: none !important;
}

.jm-markenkopf-mehr a:hover {
  text-decoration: underline !important;
}

@media (max-width: 640px) {
  .jm-markenkopf {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-markenkopf-logo {
    width: 150px;
    padding: 0 0 0.9rem;
    border-right: 0;
    border-bottom: 1px solid var(--jm-border);
  }
}

/* ============================================================================
   88. ANHÄNGER-FINDER: TREFFER SCHON WÄHREND DER AUSWAHL (26.08.2026)
   ----------------------------------------------------------------------------
   Der Finder stellte drei Fragen und sprang danach in den Shop. Bis dahin sah
   man nichts - man wusste nicht, ob die Auswahl auf 200 Anhänger führt oder
   auf keinen. Jetzt steht unter den Fragen, was gerade passt: Zahl, sechs
   Beispiele, Verweis auf alle. Die Daten kommen aus der Store-API von
   WooCommerce, ohne zusätzliche Schnittstelle.
   ============================================================================ */
.jm-finder-treffer {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--jm-border);
}

.jm-finder-treffer.is-laedt {
  opacity: 0.55;
}

.jm-finder-treffer-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.jm-finder-treffer-kopf h3 {
  margin: 0 !important;
  font: 800 clamp(1.05rem, 2vw, 1.3rem) var(--jm-font-display);
  color: var(--jm-dark) !important;
}

.jm-finder-alle {
  font: 600 0.9rem var(--jm-font-display);
  color: var(--jm-cyan-dark) !important;
  text-decoration: none !important;
}

.jm-finder-alle:hover {
  text-decoration: underline !important;
}

.jm-finder-liste {
  display: grid;
  /* 6 Treffer: 3 bzw. 2 Spalten ergeben volle Reihen */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (max-width: 700px) {
  .jm-finder-liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.jm-finder-karte {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  background: var(--jm-white);
  text-decoration: none !important;
  overflow: hidden;
  transition: var(--jm-transition-fast);
}

.jm-finder-karte:hover {
  border-color: var(--jm-blue-200);
  box-shadow: var(--jm-shadow-md);
  transform: translateY(-2px);
}

.jm-finder-karte-bild {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--jm-light);
}

.jm-finder-karte-bild img {
  width: 100%;
  height: 100%;
  padding: 0.6rem;
  box-sizing: border-box;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.jm-finder-karte-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem 0.85rem 0.9rem;
}

.jm-finder-karte-name {
  font: 600 0.88rem/1.35 var(--jm-font);
  color: var(--jm-dark);
}

.jm-finder-karte-preis {
  font: 700 0.85rem var(--jm-font-display);
  color: var(--jm-blue-600);
}

.jm-finder-leer {
  margin: 0 !important;
  padding: 1rem 1.1rem;
  border-radius: var(--jm-radius);
  background: var(--jm-light);
  font-size: 0.92rem;
  color: var(--jm-gray) !important;
}

/* Die getroffene Wahl bleibt sichtbar, auch wenn der Schritt weitergeht. */
.jm-finder-opt.is-gewaehlt {
  border-color: var(--jm-blue-500) !important;
  box-shadow: 0 0 0 2px rgba(0, 144, 224, 0.18);
}


/* ============================================================================
   89. KUNDENSTIMMEN ALS WAAGRECHTE LEISTE (02.12.2026)
   ----------------------------------------------------------------------------
   Wunsch Martin: alle Google-Bewertungen in einer Zeile, nach rechts
   scrollbar. Die nächste Karte ist angeschnitten – das zeigt, dass es
   weitergeht. Wischen am Handy, Pfeile/Scrollleiste/Tastatur am Desktop.
   ============================================================================ */
.jm-reviews-leiste {
  position: relative;
}

.jm-reviews-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Platz für Hover-Anheben und Schatten, sonst schneidet overflow ab */
  padding: 0.5rem 0.25rem 1.25rem;
  margin: 0 -0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--jm-blue-200) transparent;
}

.jm-reviews-scroll::-webkit-scrollbar {
  height: 8px;
}

.jm-reviews-scroll::-webkit-scrollbar-thumb {
  background: var(--jm-blue-200);
  border-radius: 8px;
}

.jm-reviews-scroll:focus-visible {
  outline: 2px solid var(--jm-blue-500);
  outline-offset: 4px;
  border-radius: 12px;
}

.jm-reviews-scroll > .jm-review-card {
  flex: 0 0 min(360px, 84%);
  height: auto;
  margin: 0 !important;
  scroll-snap-align: start;
}

.jm-reviews-pfeile {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.jm-reviews-pfeile[hidden] {
  display: none;
}

.jm-reviews-pfeil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--jm-border-strong, #cbd5e1);
  background: var(--jm-white, #fff);
  color: var(--jm-blue-700);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.jm-reviews-pfeil:hover:not(:disabled) {
  background: var(--jm-blue-50);
  border-color: var(--jm-blue-300);
}

.jm-reviews-pfeil:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .jm-reviews-scroll {
    scroll-behavior: auto;
  }
}

/* 89.1 Transparenzhinweis unter den Kundenstimmen (02.12.2026)
   Gesamtwertung mittig in eigener Zeile, darunter der Hinweis im Blocksatz –
   links und rechts bündig mit der Kartenreihe (Wunsch Martin). */
.jm-reviews-gesamt {
  margin-top: 1.75rem !important;
  margin-bottom: 0 !important;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--jm-slate);
}

.jm-reviews-gesamt strong {
  font-weight: 600;
}

.jm-reviews-hinweis {
  /* Breite = Inhaltsbreite der Sektion (1200 px, wie Karten, Marken,
     Neuigkeiten). Kein max-width: none – das lief auf breiten Schirmen
     über die Kartenreihe hinaus (1920 px: 48–1872 statt 360–1560). */
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--jm-gray);
}

/* ============================================================================
   90. FOOTER NEU GEGLIEDERT (02.12.2026)
   ----------------------------------------------------------------------------
   Wunsch Martin: „Footer schöner“. Vorher trug die erste Spalte Intro,
   Social, zwei große weiße Logokästen und einen Absatz – die Spalten waren
   ungleich, der Footer am Handy 1.826 px hoch. Jetzt: vier ruhige Spalten
   im eigenen Raster (unabhängig von den wp:columns-Regeln), die Partner in
   einer schmalen Zeile darunter, unten eine Leiste ©/Rechtliches/Signatur.
   Handy: alles einspaltig, Linklisten etwas enger.
   ============================================================================ */
.jm-f-innen {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 4rem clamp(1rem, 3vw, 3rem) 0;
  box-sizing: content-box;
}

.jm-f-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.15fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 2.5rem 3rem;
}

.jm-f-raster > .jm-f-spalte,
.jm-f-raster > .jm-f-spalte > * {
  margin-block-start: 0 !important;
}

.jm-f-marke .jm-footer-intro {
  margin-bottom: 0 !important;
}

.jm-f-marke .jm-social-links {
  margin-top: 1.4rem !important;
}

.jm-f-marke .jm-social-links,
.jm-f-marke .jm-social-links p {
  justify-content: flex-start !important;
}

/* Öffnungszeiten brechen nur zwischen den beiden Zeitfenstern um */
.jm-f-nw {
  white-space: nowrap;
}

.jm-f-leise {
  color: rgba(255, 255, 255, 0.5);
}

/* Adresse → Google Maps (02.12.2026): gleich wie Telefon und E-Mail –
   hell, ohne Unterstreichung, Hover blau (Wunsch Martin) */
.jm-footer-contact a.jm-f-karte {
  text-decoration: none !important;
}

.jm-f-kontakt .jm-footer-contact:last-child {
  margin-bottom: 0 !important;
}

/* ---- Partnerzeile ---- */
.jm-f-partner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 3rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jm-footer .jm-f-partner-titel {
  margin: 0 !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 1.4;
}

.jm-f-partner-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  flex: 1 1 auto;
}

.jm-f-partner-eintrag {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 300px;
  max-width: 440px;
}

.jm-footer .jm-f-partner a.jm-partner-logo {
  flex: 0 0 150px;
  width: 150px;
  height: 48px;
  padding: 0.45rem 0.85rem;
}

.jm-f-partner .jm-partner-wh svg {
  max-width: 104px;
}

.jm-f-partner .jm-partner-miete img {
  max-width: 128px;
}

.jm-f-partner-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Fußleiste ---- */
.jm-f-leiste {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-block-start: 0 !important;
}

/* Drei Felder: © links, Signatur exakt mittig, Rechtliches rechts
   (Wunsch Martin 02.12.2026). Raster statt space-between, damit die
   Mitte unabhängig von den Textlängen links/rechts mittig bleibt. */
.jm-f-leiste-innen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 1.1rem clamp(1rem, 3vw, 3rem);
  box-sizing: content-box;
}

.jm-f-leiste-innen > * {
  margin: 0 !important;
}

.jm-footer .jm-f-copy {
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.jm-f-leiste .jm-f-copy {
  justify-self: start;
}

.jm-f-leiste .jm-footer-signatur {
  justify-self: center;
  text-align: center;
}

.jm-f-leiste .jm-footer-legal {
  justify-self: end;
  justify-content: flex-end !important;
  text-align: right !important;
  width: auto;
  padding-top: 0;
  gap: 0.4rem 1.5rem;
  font-size: 0.82rem !important;
}

.jm-f-leiste .jm-footer-signatur {
  font-size: 0.82rem !important;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .jm-f-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- Handy ---- */
@media (max-width: 640px) {
  .jm-f-innen {
    padding-top: 3rem;
  }

  .jm-f-raster {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .jm-f-raster .jm-footer-links {
    line-height: 2.1;
  }

  .jm-f-partner {
    margin-top: 2.25rem;
    gap: 1rem;
  }

  .jm-f-partner-liste {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .jm-f-partner-eintrag {
    flex: 0 0 auto;
    max-width: none;
  }

  .jm-footer .jm-f-partner a.jm-partner-logo {
    flex-basis: 128px;
    width: 128px;
    height: 44px;
  }

  .jm-f-leiste-innen {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .jm-f-leiste .jm-f-copy,
  .jm-f-leiste .jm-footer-signatur,
  .jm-f-leiste .jm-footer-legal {
    justify-self: center;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* ============================================================================
   91. DESIGN-DURCHSICHT (02.12.2026)
   ----------------------------------------------------------------------------
   Umsetzung von Design-Empfehlungen-2026-12-02.html (Projektordner).
   ============================================================================ */

/* ---- 91.1 Pfeil im Kreis der Bauart-Kacheln mittig ----
   Das Zeichen „→“ sitzt in Inter/Jakarta unter der Mitte; jetzt ein SVG. */
.jm-typ-pfeil svg {
  display: block;
  flex: 0 0 auto;
}

/* ---- 91.2 Kachel-Eckdaten und ruhiger Link (Shop, Startseite) ---- */
.jm-kachel-daten,
.jm-beliebte .jm-beliebt-daten {
  display: block;
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--jm-gray-600, #4B5563);
}

.jm-kachel-daten:empty {
  display: none;
}

.jm-kachel-aktion {
  display: block;
  margin-top: auto;
  padding-top: 0.9rem;
}

a.jm-kachel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--jm-blue-700) !important;
  text-decoration: none !important;
  min-height: 44px;
}

a.jm-kachel-link svg {
  transition: transform 0.18s ease;
}

.wc-block-product:hover a.jm-kachel-link svg,
.jm-beliebte > li.product:hover a.jm-kachel-link svg {
  transform: translateX(3px);
}

.jm-beliebte > li.product .jm-kachel-aktion {
  padding: 0.6rem 1rem 0.9rem;
}

.jm-preis-hinweis {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--jm-gray-500, #6B7280);
}

/* Kacheln ohne Preis: Preiszeile weg, auch im Hero-Slider */
.jm-ohne-preise .jm-beliebte .price,
.jm-ohne-preise .jm-slide-preis,
.jm-ohne-preise .wc-block-product .wc-block-components-product-price {
  display: none !important;
}

.jm-aehnlich-daten {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--jm-gray-600, #4B5563);
}

/* Weißer Fotogrund verschmilzt mit der hellgrauen Bildfläche – keine
   grauen Streifen mehr über und unter den Variant-Fotos. */
.wc-block-product .wc-block-components-product-image img,
.jm-beliebte .jm-beliebt-bild img,
.jm-aehnlich-karte img {
  mix-blend-mode: multiply;
}

/* ---- 91.3 Produktseite: Galerie über die volle Spaltenbreite ----
   Der WooCommerce-Block begrenzt sich selbst auf 512 px. */
.single-product .wp-block-woocommerce-product-image-gallery {
  max-width: none !important;
  width: 100% !important;
}

/* Kurztext rechts: stand wortgleich in der Beschreibung (Block bleibt in
   der Vorlage, weil WooCommerce die Zusammenfassung daran hängt). */
.single-product .wp-block-post-excerpt.jm-kurztext-aus {
  display: none !important;
}

.jm-artnr {
  font-size: 0.85rem;
  color: var(--jm-gray-500, #6B7280);
  font-weight: 500;
  word-break: break-all;
}

/* ---- 91.4 Abschnittskopf als Zeile (Beliebte Anhänger, Neuigkeiten) ---- */
.jm-kopfzeile {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0 auto 2rem;
  max-width: 1400px;
  width: 100%;
}

.jm-neuigkeiten .jm-kopfzeile {
  max-width: 1200px;
}

.jm-kopfzeile-text h2 {
  margin: 0 0 0.35rem !important;
  text-align: left !important;
}

.jm-kopfzeile-text .jm-subtitle {
  margin: 0 !important;
  text-align: left !important;
}

a.jm-kopfzeile-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--jm-blue-700) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

a.jm-kopfzeile-link:hover {
  color: var(--jm-cyan) !important;
}

.jm-nur-mobil {
  display: none !important;
}

/* ---- 91.5 Neuigkeiten auf der Startseite ohne Datum ---- */
.jm-neuigkeiten .jm-news-datum {
  display: none !important;
}

/* ---- 91.6 Miet-Zeile schlanker ---- */
.jm-miete .jm-miete-band {
  padding: 1.4rem 2rem !important;
  align-items: center;
}

.jm-miete .jm-miete-band h2 {
  font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
  margin: 0 0 0.2rem !important;
}

.jm-miete .jm-miete-band p {
  margin: 0 !important;
  font-size: 0.95rem;
}

.jm-miete .jm-miete-zeiten {
  display: none;
}

/* ---- 91.7 Telefon-Knopf im Kopf ---- */
a.jm-header-tel {
  display: none;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.95rem;
  margin-right: 0.6rem;
  border-radius: 999px;
  background: var(--jm-cyan);
  color: var(--jm-white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}

a.jm-header-tel:hover,
a.jm-header-tel:focus-visible {
  background: var(--jm-cyan-dark);
}

@media (min-width: 1200px) {
  a.jm-header-tel {
    display: inline-flex;
  }
}

/* ---- 91.8 Handy: Startseite kürzer ---- */
@media (max-width: 640px) {
  .jm-kopfzeile {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.25rem;
  }

  /* Bauarten: zwei Spalten, nur Bild, Name, Anzahl */
  .jm-typen-grid.jm-typen-grid--gross {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .jm-typen-grid--gross .jm-typ-foto__bild {
    aspect-ratio: 4 / 3;
    height: auto !important;
  }

  .jm-typen-grid--gross .jm-typ-foto__body {
    padding: 0.65rem 0.75rem 0.75rem !important;
  }

  .jm-typen-grid--gross .jm-typ-titel {
    font-size: 0.98rem !important;
  }

  .jm-typen-grid--gross .jm-typ-text,
  .jm-typen-grid--gross .jm-typ-pfeil,
  .jm-typen-grid--gross .jm-typ-preis {
    display: none !important;
  }

  .jm-typen-grid--gross .jm-typ-fuss {
    margin-top: 0.35rem !important;
  }

  /* Weitere Bauarten: eine Wischzeile statt zehn Zeilen Chips */
  .jm-categories .jm-typen-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    margin-left: calc(-1 * clamp(1rem, 3vw, 3rem));
    margin-right: calc(-1 * clamp(1rem, 3vw, 3rem));
    padding-left: clamp(1rem, 3vw, 3rem);
    padding-right: clamp(1rem, 3vw, 3rem);
    scrollbar-width: none;
  }

  .jm-categories .jm-typen-chips::-webkit-scrollbar {
    display: none;
  }

  .jm-categories .jm-typen-chips > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* Beliebte Anhänger: Wischleiste wie die Bewertungen */
  .jm-featured .jm-beliebte {
    display: flex !important;
    gap: 0.9rem !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem !important;
    scrollbar-width: thin;
  }

  .jm-featured .jm-beliebte > li.product {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  /* Leistungen: Symbol links, Text rechts */
  .jm-usp-grid {
    gap: 0.75rem !important;
  }

  .jm-usp-card {
    display: grid !important;
    grid-template-columns: 48px 1fr;
    column-gap: 0.9rem;
    text-align: left !important;
    padding: 1rem !important;
  }

  .jm-usp-card .jm-usp-icon {
    grid-row: 1 / span 3;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
  }

  .jm-usp-card h3,
  .jm-usp-card p,
  .jm-usp-card .jm-usp-mehr {
    text-align: left !important;
    margin: 0 0 0.25rem !important;
  }

  /* Marken: zwei Spalten, nur Logo und Modellzahl */
  .jm-brands .jm-marken-grid,
  .jm-brands-grid .jm-marken-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .jm-brands .jm-marke-claim,
  .jm-brands .jm-marke-land,
  .jm-brands .jm-marke-preis {
    display: none !important;
  }

  .jm-brands .jm-marke {
    padding: 1rem 0.75rem !important;
  }

  /* Neuigkeiten: nur der neueste Beitrag */
  .jm-neuigkeiten .jm-news-grid > *:nth-child(n+2) {
    display: none !important;
  }

  .jm-miete .jm-miete-band {
    padding: 1.25rem !important;
  }
}

/* ---- 91.9 Kopfzeile zwischen 1200 und 1319 px ----
   Bei 1200 px lief die Zeile mit Telefon-Knopf um 35 px über: Suchfeld
   schmaler, Knopf enger. */
@media (min-width: 1200px) and (max-width: 1319px) {
  .jm-suche-form,
  .jm-suche-form input[type="search"] {
    width: 128px !important;
    max-width: 128px !important;
    min-width: 0 !important;
  }

  a.jm-header-tel {
    padding: 0 0.7rem;
    margin-right: 0.4rem;
    font-size: 0.85rem;
  }
}

/* ---- 91.10 Hero-Slider: Anhänger nicht mehr anschneiden ----
   Der Zoom (zuletzt 1,28, Abschnitt 40.3) war für Herstellerfotos mit
   breitem weißem Rand gedacht. Die Martz-Bilder sind inzwischen auf 4:3
   normalisiert, Sirius ist eng angeschnitten – mit Zoom liefen Deichsel,
   Heck und Dach aus der Bühne. Jetzt ohne Zoom, das ganze Foto bleibt
   sichtbar. */
.jm-slide-bild img,
.jm-showroom-visual img {
  --jm-hero-scale: 1 !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  .jm-slide-bild img,
  .jm-showroom-visual img {
    --jm-hero-scale: 1 !important;
  }
}

/* Die Modellkarte lag über dem Fahrzeug (Rad, Deichsel). Auf dem Desktop
   steht sie jetzt unter dem Foto: Name und Eckdaten links, Knopf rechts.
   Unter 900 px gilt schon die gestapelte Anordnung aus Abschnitt 39. */
@media (min-width: 901px) {
  .jm-slider-buehne {
    aspect-ratio: auto !important;
  }

  .jm-slide {
    justify-content: flex-start !important;
  }

  .jm-slide-bild {
    aspect-ratio: 16 / 10;
    height: auto !important;
    padding-bottom: 0 !important;
  }

  .jm-slide-info {
    position: static !important;
    max-width: none !important;
    margin-top: 0.9rem;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.25rem;
    align-items: center;
    text-align: left !important;
  }

  .jm-slide-info > * {
    grid-column: 1;
    justify-self: start;
    text-align: left !important;
  }

  .jm-slide-info > .jm-slide-anfrage {
    grid-column: 2;
    grid-row: 1 / span 4;
    justify-self: end;
    align-self: center;
    margin: 0 !important;
  }
}

/* ---- 91.11 Menü und Untermenüs (02.12.2026) ----
   Vorher: dunkle Liste direkt an der Kante, 19 Bauarten in einer 770 px
   hohen Spalte, Einträge eng, Pfeil näher am nächsten Punkt als am
   eigenen. Jetzt: helle Tafel mit Abstand zum Kopf, Bauarten dreispaltig,
   Einträge mit Luft und ruhiger Hover-Fläche. */
@media (min-width: 1200px) {
  /* Pfeil gehört sichtbar zu seinem Punkt */
  .jm-main-nav .wp-block-navigation-submenu > .wp-block-navigation-item__content {
    padding-right: 0.15rem !important;
  }

  .jm-main-nav .wp-block-navigation-submenu > .wp-block-navigation-submenu__toggle {
    margin-right: 0.55rem !important;
    padding: 0 0.1rem !important;
  }

  .jm-main-nav .wp-block-navigation__submenu-icon svg {
    width: 11px;
    height: 11px;
    transition: transform 0.2s ease;
  }

  .jm-main-nav .has-child:hover > .wp-block-navigation-submenu__toggle svg,
  .jm-main-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  /* Tafel */
  .jm-main-nav .wp-block-navigation__submenu-container {
    background: #fff !important;
    color: var(--jm-black) !important;
    border: 1px solid rgba(12, 21, 32, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 6px rgba(12, 21, 32, 0.06), 0 18px 48px rgba(12, 21, 32, 0.16) !important;
    padding: 0.6rem !important;
    margin-top: 10px !important;
    left: -0.6rem !important;
  }

  /* Unsichtbare Brücke über den Abstand, damit das Menü beim Hinüberfahren
     nicht zuklappt */
  .jm-main-nav .wp-block-navigation__submenu-container::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  .jm-main-nav .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
  .jm-main-nav .has-child:not(.open-on-click):focus-within > .wp-block-navigation__submenu-container,
  .jm-main-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
    min-width: 250px !important;
  }

  .jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item {
    width: 100%;
  }

  .jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    display: block !important;
    width: 100%;
    color: var(--jm-black) !important;
    font-size: 0.93rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    padding: 0.6rem 0.85rem !important;
    border-radius: 10px;
    white-space: nowrap;
  }

  .jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
    background: var(--jm-blue-50) !important;
    color: var(--jm-blue-700) !important;
    padding-left: 0.85rem !important;
  }

  /* Keine Unterstreichungs-Linie der Hauptpunkte in den Tafeln */
  .jm-header .wp-block-navigation .wp-block-navigation__submenu-container a::after {
    display: none !important;
  }

  /* Erster und letzter Eintrag als Sammelverweis abgesetzt */
  .jm-main-nav .wp-block-navigation__submenu-container > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content {
    font-weight: 700 !important;
    color: var(--jm-blue-700) !important;
  }

  .jm-main-nav .wp-block-navigation__submenu-container > .wp-block-navigation-item:first-child > .wp-block-navigation-item__content::after {
    content: " \2192";
    display: inline !important;
    position: static;
    background: none;
    width: auto;
    height: auto;
    transform: none;
  }

}

/* ==========================================================================
   91.12 Mietanfrage, neu gestaltet (02.12.2026)
   Dunkle Bühne mit echtem Hof-Foto, Ablauf als ruhige Zeitleiste statt
   dreier Karten mit Farbbalken, Formular und eine einzige Seitenkarte.
   ========================================================================== */
.jm-ms {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.jm-ms h1,
.jm-ms h2,
.jm-ms h3 {
  letter-spacing: -0.01em;
}

/* Bühne */
.jm-ms-buehne {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(0, 144, 224, 0.28), transparent 60%),
    linear-gradient(160deg, #0d2337 0%, var(--jm-black) 100%);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(12, 21, 32, 0.08), 0 24px 60px rgba(12, 21, 32, 0.18);
}

.jm-ms-text {
  padding: clamp(2rem, 4.5vw, 3.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jm-ms-tag {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 1.1rem !important;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--jm-blue-200) !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jm-ms-text h1 {
  margin: 0 0 1rem !important;
  color: #fff !important;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem) !important;
  line-height: 1.05 !important;
}

.jm-ms-lead {
  margin: 0 0 1.75rem !important;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
}

.jm-ms-aktion {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.jm-ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0 1.5rem;
  border-radius: 12px;
  background: var(--jm-blue-500);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 144, 224, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.jm-ms-btn:hover {
  background: var(--jm-blue-400);
  transform: translateY(-1px);
}

.jm-ms-btn--geist {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.jm-ms-btn--geist:hover {
  background: rgba(255, 255, 255, 0.16);
}

.jm-ms-haken {
  list-style: none;
  margin: 0 !important;
  padding: 1.25rem 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.6rem;
}

.jm-ms-haken li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.45;
}

.jm-ms-haken-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 144, 224, 0.22);
  color: var(--jm-blue-300);
}

.jm-ms-haken-icon svg {
  width: 13px;
  height: 13px;
}

.jm-ms-bild {
  position: relative;
  margin: 0 !important;
  min-height: 100%;
}

.jm-ms-bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 60%;
}

.jm-ms-bild::before {
  /* weicher Übergang von der dunklen Fläche ins Foto */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  z-index: 1;
  background: linear-gradient(90deg, #0d2033, rgba(13, 32, 51, 0));
}

.jm-ms-bild figcaption {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--jm-black);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(12, 21, 32, 0.25);
}

.jm-ms-bild figcaption svg {
  color: var(--jm-blue-600);
}

/* Ablauf als Zeitleiste */
.jm-ms-ablauf h2 {
  margin: 0 0 1.75rem !important;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem) !important;
  text-align: center;
}

.jm-ms-schritte {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
  counter-reset: none;
}

.jm-ms-schritte::before {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  border-top: 2px dashed var(--jm-blue-200);
}

.jm-ms-schritte li {
  position: relative;
  margin: 0 !important;
  text-align: center;
}

.jm-ms-nr {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--jm-blue-500);
  color: var(--jm-blue-600);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px #fff;
}

.jm-ms-schritte li:last-child .jm-ms-nr {
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-ms-schritte h3 {
  margin: 0 0 0.4rem !important;
  font-size: 1.1rem !important;
}

.jm-ms-schritte p {
  margin: 0 auto !important;
  max-width: 19rem;
  color: var(--jm-gray) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

/* Formular und Seitenkarte */
.jm-ms-raster,
.jm-ks-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
}

.jm-ms-formular,
.jm-ks-formular {
  border: 1px solid rgba(12, 21, 32, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 1px 3px rgba(12, 21, 32, 0.05), 0 16px 40px rgba(12, 21, 32, 0.07) !important;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) !important;
}

.jm-ms-formular::before,
.jm-ks-formular::before {
  display: none !important;
}

.jm-ms-formular h2,
.jm-ks-formular h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.65rem) !important;
}

.jm-ms-formular .jm-form-block {
  background: var(--jm-light) !important;
  border: 1px solid var(--jm-border) !important;
  border-radius: 14px !important;
}

.jm-ms-seite,
.jm-ks-seite {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
}

.jm-ms-karte,
.jm-ks-karte {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(0, 144, 224, 0.25), transparent 60%),
    linear-gradient(160deg, #0d2337 0%, var(--jm-black) 100%);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(12, 21, 32, 0.16);
}

.jm-ms-karte h3,
.jm-ks-karte h3 {
  margin: 0 0 0.75rem !important;
  color: #fff !important;
  font-size: 1.2rem !important;
}

.jm-ms-adresse,
.jm-ks-adresse {
  margin: 0 0 1.25rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.55 !important;
}

.jm-ms-zeiten,
.jm-ks-zeiten {
  margin: 0 0 1.25rem !important;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.jm-ms-zeiten > div,
.jm-ks-zeiten > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.jm-ms-zeiten dt,
.jm-ks-zeiten dt {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.jm-ms-zeiten dd,
.jm-ks-zeiten dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.jm-ms-mitbringen strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
}

.jm-ms-mitbringen ul {
  list-style: none;
  margin: 0 0 0.6rem !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.jm-ms-mitbringen li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
  font-size: 0.92rem;
}

.jm-ms-mitbringen a,
.jm-ks-route {
  color: var(--jm-blue-300) !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
}

.jm-ms-mitbringen a:hover,
.jm-ks-route:hover {
  color: #fff !important;
}

.jm-ms-anruf {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.jm-ms-anruf:hover {
  background: rgba(255, 255, 255, 0.13);
}

.jm-ms-anruf svg {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: var(--jm-blue-500);
}

.jm-ms-anruf small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 500;
}

.jm-ms-kaufen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--jm-border);
  color: var(--jm-gray) !important;
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jm-ms-kaufen strong {
  display: block;
  color: var(--jm-black);
  font-size: 1rem;
}

.jm-ms-kaufen:hover {
  border-color: var(--jm-blue-200);
  box-shadow: 0 10px 28px rgba(12, 21, 32, 0.08);
}

.jm-ms-pfeil {
  flex: 0 0 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--jm-blue-50);
  color: var(--jm-blue-600);
  font-weight: 700;
}

/* ==========================================================================
   91.13 Kontakt, neu gestaltet (02.12.2026)
   Heller Kopf mit Johannes, drei Kontaktwege als große Zeilen, darunter
   Formular und eine dunkle Anfahrtskarte.
   ========================================================================== */
.jm-ks {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.jm-ks-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.jm-ks-tag {
  display: inline-flex;
  margin: 0 0 1rem !important;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--jm-blue-50);
  color: var(--jm-blue-700) !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jm-ks-text h1 {
  margin: 0 0 1rem !important;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.015em;
}

.jm-ks-lead {
  margin: 0 0 2rem !important;
  max-width: 34rem;
  color: var(--jm-slate) !important;
  font-size: 1.08rem !important;
  line-height: 1.6 !important;
}

.jm-ks-person {
  display: none;
}

.jm-ks-wege {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jm-ks-weg {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12, 21, 32, 0.08);
  box-shadow: 0 1px 2px rgba(12, 21, 32, 0.04), 0 8px 24px rgba(12, 21, 32, 0.05);
  color: var(--jm-black) !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jm-ks-weg:hover {
  border-color: var(--jm-blue-200);
  box-shadow: 0 14px 34px rgba(12, 21, 32, 0.1);
  transform: translateY(-1px);
}

.jm-ks-weg-icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--jm-blue-50);
  color: var(--jm-blue-600);
}

.jm-ks-weg:first-child .jm-ks-weg-icon {
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-ks-weg-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.jm-ks-weg-text small {
  color: var(--jm-gray);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jm-ks-weg-text strong {
  font-size: 1.12rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.jm-ks-weg-text span {
  color: var(--jm-gray);
  font-size: 0.88rem;
}

.jm-ks-weg-pfeil {
  flex: 0 0 auto;
  color: var(--jm-gray-light);
  transition: color 0.2s ease, transform 0.2s ease;
}

.jm-ks-weg:hover .jm-ks-weg-pfeil {
  color: var(--jm-blue-600);
  transform: translateX(3px);
}

.jm-ks-foto {
  position: relative;
  margin: 0 !important;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 2px 6px rgba(12, 21, 32, 0.08), 0 24px 60px rgba(12, 21, 32, 0.18);
}

.jm-ks-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}

.jm-ks-foto figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--jm-gray);
  font-size: 0.85rem;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(12, 21, 32, 0.2);
}

.jm-ks-foto figcaption strong {
  display: block;
  color: var(--jm-black);
  font-size: 1rem;
}

.jm-ks-hinweis {
  margin: 0 0 1.25rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.jm-ks-route {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.jm-ks-leistungen {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 0.5rem;
}

.jm-ks-leistungen li {
  margin: 0 !important;
}

.jm-ks-leistungen a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--jm-border);
  color: var(--jm-black) !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease;
}

.jm-ks-leistungen a:hover {
  border-color: var(--jm-blue-200);
}

.jm-ks-leistungen span {
  color: var(--jm-gray);
  font-size: 0.88rem;
  text-align: right;
}

/* Tablet */
@media (max-width: 1023px) {
  .jm-ms-raster,
  .jm-ks-raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-ms-seite,
  .jm-ks-seite {
    position: static;
  }
}

@media (max-width: 899px) {
  .jm-ms-buehne {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-ms-bild {
    order: -1;
    aspect-ratio: 16 / 8;
    min-height: 0;
  }

  .jm-ms-bild::before {
    inset: auto 0 0 0;
    width: auto;
    height: 45%;
    background: linear-gradient(0deg, #0d2033, rgba(13, 32, 51, 0));
  }

  .jm-ms-bild figcaption {
    right: auto;
    left: 1rem;
    bottom: 0.75rem;
    font-size: 0.8rem;
  }

  .jm-ks-kopf {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-ks-foto {
    display: none;
  }

  .jm-ks-person {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: -0.75rem 0 1.5rem;
  }

  .jm-ks-person img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--jm-blue-100);
  }

  .jm-ks-person span {
    display: flex;
    flex-direction: column;
    color: var(--jm-gray);
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .jm-ks-person strong {
    color: var(--jm-black);
    font-size: 1rem;
  }
}

/* Handy */
@media (max-width: 640px) {
  .jm-ms,
  .jm-ks {
    gap: 2.25rem;
  }

  .jm-ms-buehne {
    border-radius: 20px;
  }

  .jm-ms-text {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .jm-ms-btn {
    flex: 1 1 100%;
  }

  .jm-ms-ablauf h2 {
    text-align: left;
    margin-bottom: 1.25rem !important;
  }

  .jm-ms-schritte {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .jm-ms-schritte::before {
    top: 24px;
    bottom: 24px;
    left: 19px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed var(--jm-blue-200);
  }

  .jm-ms-schritte li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 1rem;
    text-align: left;
  }

  .jm-ms-nr {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 1rem;
  }

  .jm-ms-schritte h3 {
    margin-top: 0.45rem !important;
  }

  .jm-ms-schritte p {
    margin: 0 !important;
    max-width: none;
  }

  .jm-ms-formular,
  .jm-ks-formular {
    padding: 1.35rem 1.1rem !important;
  }

  .jm-ks-weg {
    padding: 0.85rem 0.9rem;
    gap: 0.85rem;
  }

  .jm-ks-weg-icon {
    flex-basis: 42px;
    height: 42px;
  }

  .jm-ks-weg-text strong {
    font-size: 1rem;
  }
}

/* Überschriften ohne einzelnes Wort in der letzten Zeile */
.jm-ms-text h1,
.jm-ks-text h1,
.jm-ms-ablauf h2 {
  text-wrap: balance;
}

/* ==========================================================================
   91.14 Großes Menü (02.12.2026), Markup aus inc/menue.php
   Anhänger: 4 × 5 Kacheln mit Foto und Modellzahl über die ganze Kopfbreite,
   unten ein dunkles Band (Finder, Telefon, Miete). Marken mit Logo,
   Ratgeber zweispaltig mit Symbol und Kurztext.
   ========================================================================== */
@media (max-width: 1199px) {
  .jm-mm-bild,
  .jm-mm-logo,
  .jm-mm-icon,
  .jm-mm-zusatz,
  .jm-mm-band {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  /* Einblenden mit leichter Bewegung */
  .jm-main-nav .wp-block-navigation__submenu-container {
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s !important;
    transform: translateY(6px);
  }

  .jm-main-nav .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
  .jm-main-nav .has-child:not(.open-on-click):focus-within > .wp-block-navigation__submenu-container,
  .jm-main-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s !important;
  }

  .jm-main-nav .wp-block-navigation__submenu-container::before {
    top: -24px;
    height: 24px;
  }

  /* Text-Teil aller angereicherten Punkte */
  .jm-main-nav .jm-mm-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
  }

  .jm-main-nav .jm-mm-text .wp-block-navigation-item__label {
    white-space: normal;
    hyphens: manual;
  }

  .jm-main-nav .jm-mm-zusatz {
    margin-top: 0.15rem;
    color: var(--jm-gray);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: normal;
  }

  .jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover .jm-mm-zusatz {
    color: var(--jm-blue-700);
  }

  /* „Alle …“-Kopfzeile: Pfeil an der Beschriftung */
  .jm-main-nav .jm-mm-alle > .wp-block-navigation-item__content::after {
    display: none !important;
  }

  .jm-main-nav .jm-mm-alle .wp-block-navigation-item__content {
    display: flex !important;
    align-items: baseline;
    gap: 0.75rem;
  }

  .jm-main-nav .jm-mm-alle .jm-mm-text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }

  .jm-main-nav .jm-mm-alle .wp-block-navigation-item__label::after {
    content: " \2192";
  }

  /* ---- Anhänger: über die ganze Kopfbreite ---- */
  .jm-header .jm-main-nav,
  .jm-header .jm-main-nav .wp-block-navigation__responsive-container,
  .jm-header .jm-main-nav .wp-block-navigation__responsive-dialog,
  .jm-header .jm-main-nav .wp-block-navigation__container,
  .jm-header .jm-main-nav .jm-mm-anhaenger {
    position: static !important;
  }

  .jm-main-nav .jm-mm-anhaenger > .wp-block-navigation__submenu-container {
    left: 50% !important;
    right: auto !important;
    top: calc(100% - 4px) !important;
    margin-top: 0 !important;
    translate: -50% 0;
    width: min(1100px, calc(100vw - 48px)) !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.9rem !important;
    box-sizing: border-box;
    border-radius: 20px !important;
  }

  .jm-main-nav .jm-mm-anhaenger > .wp-block-navigation__submenu-container > .jm-mm-alle,
  .jm-main-nav .jm-mm-anhaenger > .wp-block-navigation__submenu-container > .jm-mm-band {
    grid-column: 1 / -1;
  }

  .jm-main-nav .jm-mm-anhaenger .jm-mm-alle {
    margin-bottom: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--jm-border);
  }

  .jm-main-nav .jm-mm-anhaenger .jm-mm-alle .wp-block-navigation-item__label {
    font-size: 1rem;
  }

  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content {
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.6rem !important;
    white-space: normal !important;
  }

  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:hover,
  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:focus-visible {
    padding-left: 0.6rem !important;
  }

  .jm-main-nav .jm-mm-bild {
    flex: 0 0 72px;
    width: 72px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--jm-light);
    overflow: hidden;
    transition: background 0.2s ease;
  }

  .jm-main-nav .jm-mm-bild img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: scale(1.08);
    transition: transform 0.25s ease;
  }

  .jm-main-nav .jm-mm-bild--icon {
    color: var(--jm-blue-600);
    background: var(--jm-blue-50);
  }

  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:hover .jm-mm-bild {
    background: #fff;
  }

  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:hover .jm-mm-bild img {
    transform: scale(1.18);
  }

  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__label {
    font-size: 0.92rem;
    font-weight: 600;
  }

  /* Band unten */
  .jm-main-nav .jm-mm-band {
    margin-top: 0.5rem;
  }

  .jm-mm-band-innen {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) auto auto auto;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background:
      radial-gradient(90% 140% at 0% 0%, rgba(0, 144, 224, 0.3), transparent 60%),
      linear-gradient(160deg, #0d2337 0%, var(--jm-black) 100%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .jm-mm-band-finder strong {
    display: block;
    color: #fff;
    font-size: 1rem;
  }

  .jm-main-nav .jm-mm-band a {
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .jm-main-nav .jm-mm-band a::after {
    display: none !important;
  }

  .jm-main-nav .jm-mm-band-knopf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    border-radius: 10px;
    background: var(--jm-blue-500);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 144, 224, 0.35);
    transition: background 0.2s ease;
  }

  .jm-main-nav .jm-mm-band-knopf:hover {
    background: var(--jm-blue-400);
  }

  .jm-main-nav .jm-mm-band-tel,
  .jm-main-nav .jm-mm-band-miete {
    display: flex;
    flex-direction: column;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 700;
    font-size: 0.95rem;
  }

  .jm-main-nav .jm-mm-band small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
  }

  .jm-main-nav .jm-mm-band-tel:hover,
  .jm-main-nav .jm-mm-band-miete:hover {
    color: var(--jm-blue-200) !important;
  }

  /* ---- Marken ---- */
  .jm-main-nav .jm-mm-marken > .wp-block-navigation__submenu-container {
    width: 360px !important;
  }

  .jm-main-nav .jm-mm-marke .wp-block-navigation-item__content {
    display: flex !important;
    align-items: center;
    gap: 0.9rem;
    padding: 0.5rem 0.6rem !important;
  }

  .jm-main-nav .jm-mm-marke .wp-block-navigation-item__content:hover {
    padding-left: 0.6rem !important;
  }

  .jm-main-nav .jm-mm-logo {
    flex: 0 0 96px;
    width: 96px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--jm-border);
  }

  .jm-main-nav .jm-mm-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .jm-main-nav .jm-mm-marke .wp-block-navigation-item__label {
    font-weight: 600;
  }

  /* ---- Ratgeber: zwei Spalten, rechtsbündig am Punkt ---- */
  .jm-main-nav .jm-mm-ratgeber > .wp-block-navigation__submenu-container {
    left: auto !important;
    right: -0.6rem !important;
    width: 640px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
  }

  .jm-main-nav .jm-mm-ratgeber > .wp-block-navigation__submenu-container > .jm-mm-alle,
  .jm-main-nav .jm-mm-ratgeber > .wp-block-navigation__submenu-container > .wp-block-navigation-item:first-child {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--jm-border);
  }

  .jm-main-nav .jm-mm-rat .wp-block-navigation-item__content {
    display: flex !important;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.7rem 0.75rem !important;
    white-space: normal !important;
  }

  .jm-main-nav .jm-mm-rat .wp-block-navigation-item__content:hover {
    padding-left: 0.75rem !important;
  }

  .jm-main-nav .jm-mm-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--jm-blue-50);
    color: var(--jm-blue-600);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .jm-main-nav .jm-mm-rat .wp-block-navigation-item__content:hover .jm-mm-icon {
    background: var(--jm-blue-500);
    color: #fff;
  }

  .jm-main-nav .jm-mm-rat .wp-block-navigation-item__label {
    font-weight: 600;
  }
}

@media (min-width: 1200px) {
  /* „Alle Anhänger“: nur ein Pfeil (91.11 setzte ihn zusätzlich am Link) */
  .jm-main-nav .jm-mm-anhaenger .wp-block-navigation__submenu-container > .jm-mm-alle.wp-block-navigation-item:first-child > .wp-block-navigation-item__content::after {
    display: none !important;
    content: none !important;
  }

  /* 18 Punkte = 6 × 3 volle Reihen: stehende Kacheln, Foto oben */
  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.55rem !important;
    padding: 0.55rem !important;
    height: 100%;
    box-sizing: border-box;
  }

  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:hover,
  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:focus-visible {
    padding-left: 0.55rem !important;
  }

  .jm-main-nav .jm-mm-bild {
    flex: 0 0 auto;
    width: 100%;
    height: 78px;
    border-radius: 12px;
  }

  .jm-main-nav .jm-mm-text {
    padding: 0 0.2rem;
  }

  /* Band: Innenabstand in die Breite rechnen, Text darf umbrechen */
  .jm-main-nav .jm-mm-band {
    min-width: 0;
  }

  .jm-mm-band-innen {
    box-sizing: border-box;
    min-width: 0;
  }

  .jm-mm-band-finder,
  .jm-mm-band-finder span {
    min-width: 0;
    white-space: normal;
  }
}

/* ---- 91.15 Telefon-Symbol im Kopf klingelt (02.12.2026) ----
   Alle 5 s ein kurzes Wackeln und ein weicher Ring um den Knopf.
   Bei „Bewegung reduzieren“ bleibt alles ruhig. */
@keyframes jm-klingeln {
  0%, 14%, 100% { transform: rotate(0); }
  2%  { transform: rotate(-16deg); }
  4%  { transform: rotate(14deg); }
  6%  { transform: rotate(-12deg); }
  8%  { transform: rotate(10deg); }
  10% { transform: rotate(-6deg); }
  12% { transform: rotate(4deg); }
}

@keyframes jm-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0, 144, 224, 0.55); }
  20%  { box-shadow: 0 0 0 10px rgba(0, 144, 224, 0); }
  100% { box-shadow: 0 0 0 10px rgba(0, 144, 224, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  a.jm-header-tel svg,
  .jm-kopf-tel svg {
    transform-origin: 50% 50%;
    animation: jm-klingeln 5s ease-in-out 1.5s infinite;
  }

  a.jm-header-tel,
  .jm-kopf-tel {
    animation: jm-ring 5s ease-out 1.5s infinite;
  }

  a.jm-header-tel:hover svg,
  .jm-kopf-tel:hover svg {
    animation-duration: 1.2s;
    animation-delay: 0s;
  }
}

@media (min-width: 1200px) {
  /* Kachelfotos ganz zeigen, beim Darüberfahren leicht heranzoomen */
  .jm-main-nav .jm-mm-bild img {
    transform: none;
  }

  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:hover .jm-mm-bild img {
    transform: scale(1.06);
  }
}

/* ---- 91.16 Großes Menü: Hover ohne Flackern (02.12.2026) ----
   Ursache: Zoom (transform) auf Fotos mit mix-blend-mode: multiply – Chromium
   legt das Bild während der Bewegung auf eine eigene Ebene, der Mischmodus
   fällt kurz weg, das Foto blitzt. Dazu liefen Symbole mit „transition: all“
   und Kachelfarben überblendet. Jetzt: keine Bewegung, Farbwechsel sofort,
   Bilder fest in ihrer Kachel. */
@media (min-width: 1200px) {
  .jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
  .jm-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content * {
    transition: none !important;
    animation: none !important;
  }

  .jm-main-nav .jm-mm-bild {
    position: relative;
  }

  .jm-main-nav .jm-mm-bild img,
  .jm-main-nav .jm-mm-typ .wp-block-navigation-item__content:hover .jm-mm-bild img {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    object-fit: contain;
    transform: none !important;
  }

  .jm-main-nav .jm-mm-logo {
    box-sizing: border-box;
    flex: 0 0 104px;
    width: 104px;
    height: 46px;
    padding: 6px 10px;
  }

  .jm-main-nav .jm-mm-logo img {
    max-width: 100%;
    max-height: 32px;
  }

  .jm-main-nav .jm-mm-marke .wp-block-navigation-item__content:hover .jm-mm-logo {
    border-color: var(--jm-blue-200);
  }
}

/* ---- 91.17 Band im Anhänger-Menü: Schrift bleibt lesbar (02.12.2026) ----
   „.jm-header .wp-block-navigation a:hover“ (Abschnitt Kopf) färbt jeden
   Link blau – auf dem blauen Knopf verschwand so die Schrift. */
.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-knopf,
.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-knopf:hover,
.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-knopf:focus {
  color: #fff !important;
}

.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-knopf:hover,
.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-knopf:focus-visible {
  background: var(--jm-blue-600) !important;
}

.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-tel:hover,
.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-tel:focus,
.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-miete:hover,
.jm-header .jm-main-nav .jm-mm-band a.jm-mm-band-miete:focus {
  color: var(--jm-blue-200) !important;
}

/* ---- 91.18 Anhänger-Finder: Ladegut-Symbole und Marken-Logos (02.12.2026) ----
   Größere, zweifarbige Symbole in einem verlaufenden Feld; Raster mit vollen
   Reihen (18 Karten = 6 / 3 / 2 Spalten). Hover ohne Bewegung und ohne
   Überblendung (sonst flackert es in Chromium, siehe 91.16). */
.jm-finder-schritt[data-schritt="1"] .jm-finder-optionen {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.jm-finder-schritt[data-schritt="2"] .jm-finder-optionen {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jm-finder-schritt[data-schritt="3"] .jm-finder-optionen {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jm-finder-opt,
.jm-finder-opt *,
.jm-finder-opt:hover {
  transition: none !important;
  transform: none !important;
}

.jm-finder-opt {
  gap: 0.3rem;
  padding: 1.1rem !important;
  border: 1px solid rgba(12, 21, 32, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 1px 2px rgba(12, 21, 32, 0.04), 0 6px 18px rgba(12, 21, 32, 0.04);
}

.jm-finder-opt:hover,
.jm-finder-opt:focus-visible {
  border-color: var(--jm-blue-300) !important;
  box-shadow: 0 14px 34px rgba(12, 21, 32, 0.1) !important;
}

.jm-finder-opt strong {
  margin-top: 0.4rem;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.jm-finder-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, var(--jm-blue-50), var(--jm-blue-100)) !important;
  color: var(--jm-blue-700) !important;
}

.jm-finder-icon svg {
  width: 34px;
  height: 34px;
}

.jm-finder-icon .k {
  fill: currentColor;
  fill-opacity: 0.16;
}

.jm-finder-icon .r {
  fill: #fff;
}

.jm-finder-icon .p {
  stroke-width: 2.6;
}

.jm-finder-opt:hover .jm-finder-icon,
.jm-finder-opt:focus-visible .jm-finder-icon {
  background: var(--jm-blue-500) !important;
  color: #fff !important;
}

.jm-finder-opt:hover .jm-finder-icon .k {
  fill-opacity: 0.22;
}

.jm-finder-opt:hover .jm-finder-icon .r {
  fill: var(--jm-blue-500);
}

/* Marken: Logo statt Symbol */
.jm-finder-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 60px;
  padding: 8px 14px;
  box-sizing: border-box;
  border-radius: 14px;
  background: var(--jm-light);
}

.jm-finder-logo img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.jm-finder-opt--marke .jm-finder-icon {
  width: 100% !important;
}

@media (max-width: 1099px) {
  .jm-finder-schritt[data-schritt="1"] .jm-finder-optionen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jm-finder-schritt[data-schritt="2"] .jm-finder-optionen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jm-finder-schritt[data-schritt="1"] .jm-finder-optionen,
  .jm-finder-schritt[data-schritt="3"] .jm-finder-optionen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jm-finder-schritt[data-schritt="2"] .jm-finder-optionen {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-finder-opt {
    padding: 0.9rem !important;
  }

  .jm-finder-icon {
    width: 52px !important;
    height: 52px !important;
  }

  .jm-finder-icon svg {
    width: 30px;
    height: 30px;
  }

  .jm-finder-opt strong {
    font-size: 0.95rem;
  }
}

/* Finder: nur an den gesetzten weichen Trennstellen umbrechen, Logos größer */
.jm-finder-opt strong {
  hyphens: manual !important;
  overflow-wrap: normal !important;
}

.jm-finder-logo {
  height: 72px;
}

.jm-finder-logo img {
  max-width: min(100%, 170px);
  max-height: 50px;
}

/* ---- 91.19 Ladegut-Symbole einheitlich (02.12.2026) ----
   Quelle: jm_ladegut_icons() in inc/kategorien.php. Gilt in Shop-Typenleiste,
   Sortiment-Kacheln, Anhänger-Finder und Footer. */
svg .jm-k {
  fill: currentColor;
  fill-opacity: 0.16;
}

svg .jm-r {
  fill: var(--jm-ladegut-rad, #fff);
}

svg .jm-p {
  stroke-width: 2.6;
}

/* Auf blauer oder dunkler Fläche: Räder in der Flächenfarbe */
.jm-finder-opt:hover .jm-finder-icon,
.jm-finder-opt:focus-visible .jm-finder-icon {
  --jm-ladegut-rad: var(--jm-blue-500);
}

.jm-footer,
footer.wp-block-template-part,
.wp-block-template-part footer {
  --jm-ladegut-rad: transparent;
}

.jm-typenleiste-chip.is-aktiv {
  --jm-ladegut-rad: var(--jm-blue-500);
}

.jm-typenleiste-chip:hover {
  transform: none;
}

.jm-typenleiste-chip svg {
  width: 20px;
  height: 20px;
}

/* ---- 91.20 Satz auf Inhaltsseiten (02.12.2026) ----
   Die Grundschrift ist fließend und erreicht am Desktop 20 px. Seiten ohne
   eigenes Layout (Markenseiten, Ratgeber, Rechtstexte) zeigten den Fließtext
   damit größer als ihre Zwischenüberschriften (h2 20 px, h3 16 px). */
body.page-template-default:not(.home) .wp-block-post-content {
  font-size: 1.0625rem;
  line-height: 1.7;
}

body.page-template-default:not(.home) .wp-block-post-content h2.wp-block-heading {
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.25;
}

body.page-template-default:not(.home) .wp-block-post-content h3.wp-block-heading {
  font-size: 1.15rem;
  line-height: 1.35;
}

/* Ratgeber: Fälle ohne Linie links, Hinweis als ruhige Fläche. */
.jm-rat-text h3 {
  padding-left: 0;
  border-left: 0;
  font-size: 1.15rem !important;
}

.jm-rat-text h3 + p {
  padding-left: 0;
  border-left: 0;
}

.jm-rat-text .jm-ratgeber-hinweis {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-left: 0;
  border-radius: 14px;
  padding: 1rem 1.2rem;
}

.jm-rat-text .jm-ratgeber-hinweis::before {
  content: "i";
  flex: 0 0 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--jm-blue-500);
  color: #fff;
  font: 700 0.85rem/1.5rem var(--jm-font-display);
  text-align: center;
}

/* ---- 91.21 Ratgeber-Bausteine: Fälle, Skala, Rechner (02.12.2026) ---- */
.jm-rg-faelle {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.jm-rg-fall {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--jm-border);
  border-radius: 16px;
  background: #fff;
}

.jm-rg-klassen {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jm-rg-klasse {
  display: grid;
  place-items: center;
  min-width: 3.1rem;
  height: 3.1rem;
  padding: 0 0.5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--jm-blue-50), var(--jm-blue-100));
  color: var(--jm-blue-700);
  font: 800 1.2rem var(--jm-font-display);
  letter-spacing: -0.01em;
}

.jm-rg-klassen .jm-rg-klasse {
  height: 2.3rem;
  font-size: 1rem;
}

.jm-rat-text .jm-rg-fall h3 {
  margin: 0 0 0.2rem !important;
  font-size: 1.05rem !important;
}

.jm-rat-text .jm-rg-fall p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--jm-slate);
}

.jm-rg-wert {
  text-align: right;
  white-space: nowrap;
}

.jm-rg-zahl {
  display: block;
  font: 800 1.45rem/1.1 var(--jm-font-display);
  color: var(--jm-blue-600);
  font-variant-numeric: tabular-nums;
}

.jm-rg-einheit {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--jm-gray);
}

.jm-rg-skala {
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem 1rem;
  border-radius: 16px;
  background: var(--jm-blue-50);
}

.jm-rg-skala-balken {
  display: flex;
  height: 2.2rem;
  border-radius: 999px;
  overflow: hidden;
}

.jm-rg-zone {
  display: grid;
  place-items: center;
  min-width: 0;
  color: #fff;
  font: 700 0.82rem var(--jm-font-display);
}

.jm-rg-zone--b { background: var(--jm-blue-500); }
.jm-rg-zone--b96 { background: var(--jm-blue-700); }
.jm-rg-zone--be { background: var(--jm-blue-900); }

.jm-rg-skala-marken {
  position: relative;
  height: 1.4rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--jm-slate);
  font-variant-numeric: tabular-nums;
}

.jm-rg-skala-marken span {
  position: absolute;
  top: 0;
  white-space: nowrap;
}

.jm-rg-skala-marken .jm-rg-m-links { transform: translateX(-100%); padding-right: 0.3rem; }
.jm-rg-skala-marken .jm-rg-m-rechts { padding-left: 0.3rem; }
.jm-rg-skala-marken .jm-rg-m-ende { right: 0; }

.jm-rg-skala figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--jm-slate);
}

.jm-rg-rechner {
  margin: 1.5rem 0;
  padding: 1.4rem;
  border-radius: 18px;
  background: var(--jm-dark);
  color: #fff;
}

.jm-rat-text .jm-rg-rechner-titel {
  margin: 0 0 1rem;
  font: 700 1.1rem var(--jm-font-display);
  color: #fff;
}

.jm-rg-rechner-felder {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: end;
}

.jm-rg-feld {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.jm-rg-feld-titel {
  font: 700 0.95rem var(--jm-font-display);
}

.jm-rg-feld-ort {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--jm-blue-100);
}

.jm-rg-eingabe {
  display: flex;
  align-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--jm-dark);
}

.jm-rg-eingabe input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.4rem 0.7rem 0.9rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: 700 1.15rem var(--jm-font-display);
  color: var(--jm-dark);
  font-variant-numeric: tabular-nums;
}

.jm-rg-eingabe input:focus,
.jm-rg-eingabe input:focus-visible {
  outline: none;
  box-shadow: none;
}

.jm-rg-eingabe:focus-within {
  box-shadow: 0 0 0 3px var(--jm-blue-300);
}

.jm-rg-eingabe input::-webkit-outer-spin-button,
.jm-rg-eingabe input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.jm-rg-eingabe input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.jm-rg-eingabe > span {
  padding-right: 0.9rem;
  font-weight: 600;
  color: var(--jm-gray);
}

.jm-rg-plus {
  padding-bottom: 0.7rem;
  font: 700 1.4rem var(--jm-font-display);
  color: var(--jm-blue-200);
}

.jm-rg-ergebnis {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.jm-rg-ergebnis-klasse {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 3.4rem;
  height: 3.4rem;
  padding: 0 0.5rem;
  border-radius: 12px;
  background: var(--jm-blue-500);
  font: 800 1.3rem var(--jm-font-display);
  color: #fff;
}

.jm-rg-rechner[data-stufe="b96"] .jm-rg-ergebnis-klasse { background: var(--jm-blue-700); }
.jm-rg-rechner[data-stufe="be"] .jm-rg-ergebnis-klasse { background: #fff; color: var(--jm-blue-900); }
.jm-rg-rechner[data-stufe="rat"] .jm-rg-ergebnis-klasse,
.jm-rg-rechner[data-stufe="leer"] .jm-rg-ergebnis-klasse { background: rgba(255, 255, 255, 0.2); }

.jm-rat-text .jm-rg-ergebnis-titel {
  margin: 0;
  font: 700 1.05rem var(--jm-font-display);
  color: #fff;
}

.jm-rat-text .jm-rg-ergebnis-text {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--jm-blue-100);
}

.jm-rat-text .jm-rg-quellen {
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--jm-slate);
}

.jm-rat-text .jm-rg-quellen a {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .jm-rg-fall {
    grid-template-columns: auto 1fr;
  }

  .jm-rg-wert {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    padding-top: 0.6rem;
    border-top: 1px solid var(--jm-border);
    text-align: left;
  }

  .jm-rg-einheit {
    margin: 0;
  }

  .jm-rg-rechner {
    padding: 1.1rem;
  }

  .jm-rg-rechner-felder {
    grid-template-columns: 1fr;
  }

  .jm-rg-plus {
    display: none;
  }
}

/* ---- 91.22 Ratgeber-Bausteine II (02.12.2026) ----
   Vergleich (.jm-rg-paar), Schritte (.jm-rg-schritte), Checkliste
   (.jm-rg-check), Irrtümer (.jm-rg-irrtum), Merkkasten (.jm-rg-tipp),
   Bauarten (.jm-rg-typen), Beladungsskizzen (.jm-rg-lage). */
.jm-rg-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--jm-blue-50), var(--jm-blue-100));
  color: var(--jm-blue-600);
}

.jm-rg-symbol svg {
  width: 1.6rem;
  height: 1.6rem;
}

.jm-rg-paar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.jm-rg-karte {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.2rem;
  border: 1px solid var(--jm-border);
  border-radius: 16px;
  background: #fff;
}

.jm-rg-karte--betont {
  border-color: var(--jm-blue-200);
  background: var(--jm-blue-50);
}

.jm-rg-karte--betont .jm-rg-symbol {
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-rat-text .jm-rg-karte h3,
.jm-rat-text .jm-rg-schritte h3,
.jm-rat-text .jm-rg-typ h3,
.jm-rat-text .jm-rg-lage h3 {
  margin: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.35;
}

.jm-rat-text .jm-rg-karte p,
.jm-rat-text .jm-rg-schritte p,
.jm-rat-text .jm-rg-typ p,
.jm-rat-text .jm-rg-lage p,
.jm-rat-text .jm-rg-irrtum p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--jm-slate);
}

.jm-rg-schritte {
  list-style: none;
  margin: 1.25rem 0 1.5rem !important;
  padding: 0 !important;
  counter-reset: jmschritt;
  display: grid;
  gap: 0.6rem;
}

.jm-rg-schritte > li {
  counter-increment: jmschritt;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.9rem;
  align-items: start;
  margin: 0 !important;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #F6F8FB;
}

.jm-rg-schritte > li::before {
  content: counter(jmschritt);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--jm-blue-500);
  color: #fff;
  font: 800 1rem var(--jm-font-display);
}

.jm-rg-schritte > li > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.3rem;
}

.jm-rg-check {
  list-style: none;
  margin: 1.25rem 0 1.25rem !important;
  padding: 0 !important;
  display: grid;
  gap: 0.5rem;
}

.jm-rg-check li {
  margin: 0 !important;
}

.jm-rg-check label,
.jm-rg-check .jm-rg-check-zeile {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--jm-border);
  border-radius: 12px;
  background: #fff;
  font-size: 0.98rem;
  line-height: 1.5;
  cursor: pointer;
}

.jm-rg-check .jm-rg-check-zeile {
  cursor: default;
}

.jm-rg-check input {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.05rem 0 0;
  accent-color: var(--jm-blue-500);
  cursor: pointer;
}

.jm-rg-check input:checked + span {
  color: var(--jm-gray);
  text-decoration: line-through;
  text-decoration-color: var(--jm-blue-300);
}

.jm-rg-check label:has(input:checked) {
  border-color: var(--jm-blue-200);
  background: var(--jm-blue-50);
}

.jm-rg-check-haken {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-rg-check-haken svg {
  width: 0.85rem;
  height: 0.85rem;
}

.jm-rg-check-hinweis {
  margin: -0.5rem 0 1.25rem !important;
  font-size: 0.85rem !important;
  color: var(--jm-gray) !important;
}

.jm-rg-irrtum {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.jm-rg-irrtum > div {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--jm-border);
  border-radius: 16px;
  background: #fff;
}

.jm-rat-text .jm-rg-irrtum .jm-rg-falsch {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.45rem;
  font: 700 1rem/1.4 var(--jm-font-display);
  color: var(--jm-black);
}

.jm-rg-marke {
  flex: 0 0 auto;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--jm-gray);
  font: 700 0.7rem var(--jm-font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jm-rg-marke--richtig {
  background: var(--jm-blue-50);
  color: var(--jm-blue-700);
}

.jm-rat-text .jm-rg-irrtum .jm-rg-richtig {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.jm-rg-tipp {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.25rem 0 1.5rem;
  padding: 1.2rem 1.3rem;
  border-radius: 16px;
  background: var(--jm-dark);
  color: #fff;
}

.jm-rg-tipp .jm-rg-symbol {
  background: rgba(255, 255, 255, 0.12);
  color: var(--jm-blue-200);
}

.jm-rat-text .jm-rg-tipp p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #E2E8F0;
}

.jm-rat-text .jm-rg-tipp .jm-rg-tipp-titel {
  margin-bottom: 0.25rem;
  font: 700 1.02rem var(--jm-font-display);
  color: #fff;
}

.jm-rat-text .jm-rg-tipp a {
  color: var(--jm-blue-200);
  font-weight: 600;
}

.jm-rg-typen {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}

.jm-rg-typ {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--jm-border);
  border-radius: 16px;
  background: #fff;
}

.jm-rg-typ .jm-rg-symbol {
  width: 3.4rem;
  height: 3.4rem;
}

.jm-rg-typ .jm-rg-symbol svg {
  width: 2.1rem;
  height: 2.1rem;
}

.jm-rg-typ > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.jm-rat-text .jm-rg-typ .jm-rg-typ-link {
  margin-top: 0.3rem;
  font: 650 0.9rem var(--jm-font-display);
  color: var(--jm-blue-600);
  text-decoration: none;
}

.jm-rat-text .jm-rg-typ .jm-rg-typ-link:hover {
  text-decoration: underline;
}

.jm-rg-lage {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}

.jm-rg-lage > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--jm-border);
  border-radius: 16px;
  background: #fff;
}

.jm-rg-lage > div.jm-rg-lage--gut {
  border-color: var(--jm-blue-200);
  background: var(--jm-blue-50);
}

.jm-rg-lage svg {
  width: 100%;
  height: auto;
}

.jm-rg-lage .jm-rg-lage-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.jm-rg-fakten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}

.jm-rg-fakten > div {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--jm-blue-50);
}

.jm-rg-fakten .jm-rg-zahl {
  font-size: 1.3rem;
}

.jm-rg-fakten .jm-rg-einheit {
  font-size: 0.82rem;
  color: var(--jm-slate);
}

@media (max-width: 640px) {
  .jm-rg-paar,
  .jm-rg-fakten {
    grid-template-columns: 1fr;
  }

  .jm-rg-lage > div {
    grid-template-columns: 1fr;
  }

  .jm-rg-lage svg {
    max-width: 14rem;
  }

  .jm-rg-tipp {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.jm-rat-text .jm-rg-rechner-hinweis {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--jm-blue-100);
}

/* ---- 91.23 Rechtsseiten Impressum, Datenschutz, AGB (02.12.2026) ----
   inc/recht.php setzt Kopf, Reiter und Inhaltsverzeichnis. */
.jm-recht-kopf {
  margin: 0 0 2rem;
  padding: 2rem 2rem 1.6rem;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--jm-blue-50) 0%, #F6F8FB 100%);
}

.jm-recht-rubrik {
  margin: 0 0 0.4rem !important;
  font: 700 0.78rem var(--jm-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jm-blue-600) !important;
}

.jm-recht-titel {
  margin: 0 0 1.2rem !important;
  font: 800 clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem)/1.15 var(--jm-font-display);
  color: var(--jm-black);
  text-wrap: balance;
}

.jm-recht-reiterleiste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jm-recht-reiter {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--jm-border);
  border-radius: 999px;
  background: #fff;
  color: var(--jm-slate);
  font: 650 0.92rem var(--jm-font-display);
  text-decoration: none;
}

.jm-recht-reiter:hover {
  border-color: var(--jm-blue-400);
  color: var(--jm-blue-600);
}

.jm-recht-reiter.is-aktiv {
  border-color: transparent;
  background: var(--jm-blue-500);
  color: #fff;
}

.jm-recht-stand {
  margin: 1rem 0 0 !important;
  font-size: 0.85rem !important;
  color: var(--jm-gray) !important;
}

.jm-recht-inhalt {
  margin: 0 0 2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--jm-border);
  border-radius: 16px;
}

.jm-recht-inhalt-titel {
  margin: 0 0 0.6rem !important;
  font: 700 0.78rem var(--jm-font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jm-gray) !important;
}

.jm-recht-inhalt ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 2rem;
  counter-reset: jmrecht;
}

.jm-recht-inhalt li {
  counter-increment: jmrecht;
  break-inside: avoid;
}

.jm-recht-inhalt a {
  display: flex;
  gap: 0.55rem;
  padding: 0.3rem 0;
  color: var(--jm-slate);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
}

.jm-recht-inhalt a::before {
  content: counter(jmrecht);
  flex: 0 0 1.2rem;
  font-weight: 700;
  color: var(--jm-blue-500);
  font-variant-numeric: tabular-nums;
}

.jm-recht-inhalt a:hover {
  color: var(--jm-blue-600);
}

.jm-recht-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--jm-slate);
}

.jm-recht-text p,
.jm-recht-text li {
  font-size: 1rem !important;
}

.jm-recht-text .jm-lead {
  font-size: 1.1rem !important;
  color: var(--jm-slate) !important;
}

body.page-template-default:not(.home) .jm-recht-text h2,
.jm-recht-text h2 {
  margin: 2.4rem 0 0.8rem !important;
  padding: 1.6rem 0 0 !important;
  border-top: 1px solid var(--jm-border);
  border-bottom: 0;
  font: 700 clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem)/1.3 var(--jm-font-display) !important;
  color: var(--jm-black);
  scroll-margin-top: 6rem;
}

.jm-recht-text h3 {
  margin: 1.5rem 0 0.4rem !important;
  font: 700 1.05rem var(--jm-font-display) !important;
  color: var(--jm-black);
}

.jm-recht-text ul {
  padding-left: 1.2rem;
}

.jm-recht-text li {
  margin-bottom: 0.35rem;
}

.jm-recht-text li::marker {
  color: var(--jm-blue-500);
}

.jm-recht-text strong {
  color: var(--jm-black);
}

.jm-recht-text a {
  color: var(--jm-blue-600);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .jm-recht-kopf {
    padding: 1.4rem 1.2rem 1.2rem;
    border-radius: 16px;
  }

  .jm-recht-inhalt ol {
    columns: 1;
  }
}

.jm-recht-kopf {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* ---- 91.24 Markenseiten (02.12.2026) ----
   inc/markenseite.php setzt Kopf, Stärken-Karten und Beratungskarte. */
.wp-block-post-content > .jm-mk,
.jm-mk-kopf {
  width: 100%;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.jm-mk-kopf {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem !important;
  padding: 2.5rem;
  border: 1px solid var(--jm-border);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--jm-blue-50) 0%, #fff 70%);
}

.jm-mk-rubrik {
  margin: 0 0 0.4rem !important;
  font: 700 0.78rem var(--jm-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jm-mk-rubrik a {
  color: var(--jm-blue-600);
  text-decoration: none;
}

.jm-mk-titel {
  margin: 0 0 0.9rem !important;
  font: 800 clamp(2rem, 1.5rem + 1.6vw, 2.8rem)/1.1 var(--jm-font-display);
  color: var(--jm-black);
}

.jm-mk-anriss {
  margin: 0 0 1.2rem !important;
  font-size: 1.1rem !important;
  line-height: 1.65;
  color: var(--jm-slate) !important;
  max-width: 38em;
}

.jm-mk-fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  list-style: none;
}

.jm-mk-fakten li {
  margin: 0 !important;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--jm-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem !important;
  color: var(--jm-slate);
}

.jm-mk-fakten strong {
  color: var(--jm-black);
}

.jm-mk-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jm-mk-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 2rem;
  border: 1px solid var(--jm-border);
  border-radius: 20px;
  background: #fff;
}

.jm-mk-logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

.jm-mk > h2,
.jm-mk .jm-markenseite-modelle > h2 {
  margin: 2.5rem 0 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  font: 700 clamp(1.4rem, 1.2rem + 0.7vw, 1.8rem)/1.25 var(--jm-font-display) !important;
  color: var(--jm-black);
}

.jm-mk > h2:first-child {
  margin-top: 0 !important;
}

.jm-mk-staerken {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0 0 2.5rem;
}

.jm-mk-staerke {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--jm-border);
  border-radius: 16px;
  background: #fff;
}

.jm-mk-haken {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--jm-blue-50), var(--jm-blue-100));
  color: var(--jm-blue-600);
}

.jm-mk-haken svg {
  width: 1.2rem;
  height: 1.2rem;
}

.jm-mk .jm-mk-staerke h3 {
  margin: 0 0 0.2rem !important;
  font: 700 1.05rem/1.35 var(--jm-font-display) !important;
  color: var(--jm-black);
}

.jm-mk .jm-mk-staerke p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--jm-slate);
}

.jm-mk-bei {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 0 0 3rem;
  padding: 2rem 2.2rem;
  border-radius: 22px;
  background: var(--jm-dark);
  color: #fff;
}

.jm-mk .jm-mk-bei h2 {
  margin: 0 0 0.7rem !important;
  padding: 0 !important;
  border: 0 !important;
  font: 700 1.5rem/1.25 var(--jm-font-display) !important;
  color: #fff !important;
}

.jm-mk .jm-mk-bei p {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #CBD5E1;
}

.jm-mk-bei-person {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 1.3rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.jm-mk-bei-person img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}

.jm-mk .jm-mk-bei-person p {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1.4;
}

.jm-mk-bei-person strong {
  color: #fff;
  font-size: 1rem;
}

.jm-mk-tel {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
  color: var(--jm-blue-200) !important;
  font: 700 1.15rem var(--jm-font-display);
  text-decoration: none;
}

.jm-mk-bei-person .jm-btn-primary {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}

@media (max-width: 900px) {
  .jm-mk-kopf,
  .jm-mk-bei {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .jm-mk-logo {
    order: -1;
    aspect-ratio: auto;
    padding: 1.2rem;
  }

  .jm-mk-logo img {
    max-height: 80px;
  }

  .jm-mk-staerken {
    grid-template-columns: 1fr;
  }
}

/* ---- 91.25 Footer: „Alle Anhänger“ als Abschluss der Typenliste (02.12.2026) ---- */
.jm-footer .jm-footer-links a.jm-f-alle {
  margin-top: 0.35rem;
  color: #fff;
  font-weight: 600;
}

.jm-footer .jm-footer-links a.jm-f-alle svg {
  color: var(--jm-blue-500);
}

/* ---- 91.26 Produktsuche: Suchkopf (02.12.2026) ----
   templates/product-search-results.html, Markup aus inc/sortierung.php. */
.jm-suchkopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0.75rem 2.5rem;
  align-items: center;
  margin: 1rem 0 1.75rem;
  padding: 2rem 2.25rem;
  border: 1px solid var(--jm-border);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--jm-blue-50) 0%, #fff 70%);
}

.jm-suchkopf-rubrik {
  margin: 0 0 0.35rem !important;
  font: 700 0.78rem var(--jm-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jm-blue-600);
}

.jm-suchkopf-titel {
  margin: 0 0 0.35rem !important;
  font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem)/1.15 var(--jm-font-display);
  color: var(--jm-black);
  overflow-wrap: anywhere;
}

.jm-suchkopf-zahl {
  margin: 0 !important;
  font-size: 1rem;
  color: var(--jm-slate);
}

.jm-suchkopf-form {
  display: flex;
  gap: 0.6rem;
  margin: 0;
}

.jm-suchkopf-feld {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 0 1rem;
  border: 1px solid var(--jm-border);
  border-radius: 14px;
  background: #fff;
  color: var(--jm-slate);
}

.jm-suchkopf-feld:focus-within {
  border-color: var(--jm-blue-500);
  box-shadow: 0 0 0 3px rgba(0, 136, 214, 0.18);
}

.jm-suchkopf-feld input {
  flex: 1 1 auto;
  min-width: 0;
  height: 3.1rem;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--jm-black);
}

.jm-suchkopf-form .jm-btn-primary {
  flex: 0 0 auto;
  padding-inline: 1.5rem;
  border: 0;
  cursor: pointer;
}

.jm-suchkopf-hilfe {
  grid-column: 2;
  margin: 0 !important;
  font-size: 0.88rem;
  color: var(--jm-slate);
}

.jm-suchkopf-hilfe a {
  color: var(--jm-blue-600);
  font-weight: 600;
}

@media (max-width: 900px) {
  .jm-suchkopf {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.4rem 1.25rem;
    border-radius: 18px;
  }

  .jm-suchkopf-hilfe {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .jm-suchkopf-form .jm-btn-primary {
    padding-inline: 1rem;
  }
}

.jm-suchkopf-form button.jm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--jm-blue-400), var(--jm-blue-600));
  color: #fff;
  font: 700 0.9375rem var(--jm-font-display);
}

.jm-suchkopf-form button.jm-btn-primary:hover {
  background: linear-gradient(180deg, var(--jm-blue-500), var(--jm-blue-700));
}

@media (min-width: 901px) {
  .jm-suchkopf-text {
    grid-row: 1 / span 2;
  }

  .jm-suchkopf-form {
    align-self: end;
  }

  .jm-suchkopf-hilfe {
    align-self: start;
  }
}

/* ---- 91.27 Markenseiten: Beratungskarte neu (02.12.2026) ----
   Ersetzt die Gestaltung aus 91.24: Rubrik, Text, drei Beratungsschritte,
   helle Ansprechpartner-Karte. Markup: inc/markenseite.php jm_mk_inhalt(). */
.jm-mk-bei {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
  padding: 2.75rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 136, 214, 0.32), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(0, 136, 214, 0.12), transparent 45%),
    var(--jm-dark);
}

.jm-mk-bei-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jm-mk .jm-mk-bei .jm-mk-bei-rubrik {
  margin: 0 0 0.5rem;
  font: 700 0.78rem var(--jm-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jm-blue-300, #7DD3FC);
}

.jm-mk .jm-mk-bei h2 {
  margin: 0 0 0.8rem !important;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important;
}

.jm-mk .jm-mk-bei .jm-mk-bei-absatz p {
  margin: 0 0 0.5rem;
  max-width: 40em;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #CBD5E1;
}

.jm-mk-bei-schritte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.jm-mk-bei-schritte li {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 !important;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #94A3B8;
}

.jm-mk-bei-schritte strong {
  display: block;
  margin-bottom: 0.15rem;
  font: 700 0.95rem/1.35 var(--jm-font-display);
  color: #fff;
}

.jm-mk-bei-ico {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: rgba(0, 136, 214, 0.18);
  color: var(--jm-blue-200, #BAE6FD);
}

.jm-mk-bei-person {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.75rem;
  border-radius: 20px;
  background: #fff;
  color: var(--jm-slate);
}

.jm-mk-bei-kopf {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.jm-mk-bei-kopf img {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid var(--jm-blue-50);
}

.jm-mk .jm-mk-bei-person .jm-mk-bei-kopf p {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--jm-slate);
}

.jm-mk .jm-mk-bei-person .jm-mk-bei-kopf strong {
  font: 700 1.1rem/1.3 var(--jm-font-display);
  color: var(--jm-black);
}

.jm-mk-bei-person .jm-mk-tel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.2rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--jm-border);
  border-radius: 14px;
  background: var(--jm-blue-50);
  color: var(--jm-blue-700) !important;
  font: 800 1.2rem var(--jm-font-display);
}

.jm-mk-bei-person .jm-mk-tel svg {
  color: var(--jm-blue-500);
}

/* Öffnungszeiten im selben Kästchen-Stil wie die Telefonnummer */
.jm-mk-bei-person .jm-mk-zeit {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--jm-border);
  border-radius: 14px;
  background: #F8FAFC;
}

.jm-mk-bei-person .jm-mk-zeit > svg {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--jm-blue-500);
}

.jm-mk .jm-mk-bei-person .jm-mk-zeit dl {
  display: grid;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.jm-mk .jm-mk-bei-person .jm-mk-zeit dl > div {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
}

.jm-mk .jm-mk-bei-person .jm-mk-zeit dt {
  margin: 0;
  font: 700 0.85rem/1.4 var(--jm-font-display);
  color: var(--jm-black);
}

.jm-mk .jm-mk-bei-person .jm-mk-zeit dd {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
  margin: 0;
  font: 700 0.95rem/1.4 var(--jm-font-display);
  color: var(--jm-blue-700);
  font-variant-numeric: tabular-nums;
}

.jm-mk .jm-mk-bei-person .jm-mk-zeit-zu dd {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.85rem;
  color: #64748B;
}

.jm-mk-bei-person .jm-btn-primary {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .jm-mk-bei-schritte {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-mk-bei-schritte li {
    flex-direction: row;
    align-items: center;
  }

  .jm-mk-bei-ico {
    flex: 0 0 auto;
  }
}

@media (max-width: 900px) {
  .jm-mk-bei {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .jm-mk-bei-person {
    padding: 1.3rem;
  }
}

.jm-mk-bei-kopf p {
  min-width: 0;
}

@media (max-width: 480px) {
  .jm-mk-bei-kopf img {
    width: 64px;
    height: 64px;
  }

  .jm-mk-bei-person .jm-mk-tel {
    font-size: 1.05rem;
  }
}

.jm-mk-bei-person {
  align-items: stretch;
}

@media (max-width: 900px) {
  .jm-mk-bei {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- 91.28 Suchfeld im Hauptmenü kleiner (02.12.2026) ----
   Wunsch Martin: das Feld nahm neben dem Telefon-Knopf zu viel Platz. */
.jm-suche-form input[type="search"] {
  width: clamp(130px, 11vw, 160px);
  min-height: 2.15rem;
  padding: 0 0.75rem 0 2rem;
  font-size: 0.84rem;
}

.jm-suche-lupe {
  left: 0.65rem;
  width: 15px;
  height: 15px;
}

/* ---- 91.29 AVIF-Hülle ohne Einfluss aufs Layout (03.12.2026) ----
   inc/bilder-avif.php hüllt Bilder in <picture class="jm-avif">. Die Hülle
   soll im Layout nicht existieren: das <img> verhält sich wie bisher als
   direktes Kind seines Rahmens. */
picture.jm-avif { display: contents; }

/* ============================================================================
   91.30 MOBILES MENÜ ÜBERARBEITET (03.12.2026)
   ----------------------------------------------------------------------------
   Wunsch Martin: „MENÜ“ neben dem Burger, besser gestaltet.
   - Kopf: Knopf „MENÜ ☰“, das Logo darf dafür auf schmalen Geräten schrumpfen.
   - Hauptpunkte mit Symbol und Kurzzeile („15 Bauarten“), Aufklappen über
     eigenen runden Knopf.
   - Untermenüs als abgesetzte Karte mit Pfeil je Zeile; „Alle …“ hervorgehoben.
   - Aktuelle Seite ohne Farbbalken links (Hausregel), sondern über Fläche/Farbe.
   - Öffnungszeiten und Anschrift als Box direkt unter der Liste (vorher eine
     große Lücke zwischen Liste und Fußleiste).
   ============================================================================ */

/* ---- Kopf: Knopf mit Beschriftung ---- */
@media (max-width: 1199px) {
  .jm-burger {
    width: auto;
    gap: 0.55rem;
    padding: 0 0.8rem 0 0.95rem;
  }
}
.jm-burger-text {
  font: 700 0.8rem/1 var(--jm-font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jm-burger-striche { width: 18px; }

@media (max-width: 600px) {
  .jm-header .jm-logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .jm-header .jm-logo .wp-block-site-logo,
  .jm-header .jm-logo .wp-block-site-logo a {
    min-width: 0;
    max-width: 100%;
  }
  .jm-header .jm-logo .custom-logo {
    max-width: 100% !important;
    height: auto !important;
    max-height: 34px !important;
  }
  .jm-kopf-tel { margin-right: 0; }
  .jm-kopf-aktionen { gap: 0.45rem; }
}

/* ---- Schublade: ein Scrollbereich für Liste und Infobox ---- */
.jm-mn-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.jm-mn-scroll .jm-mn-nav {
  flex: none;
  overflow: visible;
  padding: 0.35rem 0 0.25rem;
}

/* ---- Hauptpunkte ---- */
.jm-mn-liste > .jm-mn-punkt { border-bottom-color: rgba(255,255,255,0.055); }

.jm-mn-liste > .jm-mn-punkt > .jm-mn-link,
.jm-mn-liste > .jm-mn-punkt > .jm-mn-zeile > .jm-mn-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.68rem 0.75rem 0.68rem 1.25rem;
}
.jm-mn-symbol {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0,144,224,0.14);
  color: var(--jm-blue-300);
  transition: var(--jm-transition-fast);
}
.jm-mn-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.jm-mn-titel {
  font: 650 1.02rem/1.25 var(--jm-font-display);
  color: #fff;
}
.jm-mn-kurz {
  margin-top: 2px;
  font: 500 0.78rem/1.3 var(--jm-font);
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jm-mn-link:hover .jm-mn-symbol,
.jm-mn-link:focus-visible .jm-mn-symbol { background: rgba(0,144,224,0.26); }

/* Aufklappen: runder Knopf statt durchgehender Spalte */
.jm-mn-liste > .jm-mn-punkt > .jm-mn-zeile { align-items: center; }
.jm-mn-liste > .jm-mn-punkt > .jm-mn-zeile > .jm-mn-klapp {
  width: 44px;
  height: 44px;
  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}
.jm-mn-auf > .jm-mn-zeile > .jm-mn-klapp {
  background: rgba(0,144,224,0.18) !important;
  border-color: rgba(0,144,224,0.45) !important;
}

/* Aktuelle Seite: Fläche und Farbe, kein Balken */
.jm-mn-link.jm-mn-hier {
  box-shadow: none;
  background: rgba(0,144,224,0.10);
}
.jm-mn-hier .jm-mn-symbol {
  background: var(--jm-blue-500);
  color: #fff;
}
.jm-mn-hier .jm-mn-titel { color: var(--jm-blue-200); }

/* ---- Untermenü als Karte ---- */
.jm-mn-liste > .jm-mn-punkt > .jm-mn-sub {
  margin: 0.1rem 1rem 0.85rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  overflow: hidden;
}
.jm-mn-sub .jm-mn-punkt { border-bottom-color: rgba(255,255,255,0.06); }
.jm-mn-sub .jm-mn-link,
.jm-mn-sub .jm-mn-sub .jm-mn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0.6rem 0.95rem;
  font: 500 0.93rem/1.3 var(--jm-font);
  color: rgba(255,255,255,0.8) !important;
}
.jm-mn-sub .jm-mn-link::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.4;
}
.jm-mn-sub .jm-mn-alle > .jm-mn-link {
  font-weight: 650;
  color: #fff !important;
  background: rgba(0,144,224,0.10);
}
.jm-mn-sub .jm-mn-alle > .jm-mn-link::after { opacity: 0.8; color: var(--jm-blue-300); }
.jm-mn-sub .jm-mn-link.jm-mn-hier {
  color: var(--jm-blue-200) !important;
  font-weight: 650;
}

/* ---- Infobox: Öffnungszeiten und Anschrift ---- */
.jm-mn-info {
  margin: 0.75rem 1rem 1.1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}
.jm-mn-info-zeile {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  color: rgba(255,255,255,0.75) !important;
  font: 500 0.84rem/1.45 var(--jm-font);
  text-decoration: none !important;
}
.jm-mn-info-zeile + .jm-mn-info-zeile { border-top: 1px solid rgba(255,255,255,0.07); }
.jm-mn-info-zeile svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--jm-blue-300);
}
.jm-mn-info dl {
  flex: 1 1 auto;
  display: grid;
  gap: 0.3rem;
  margin: 0;
}
.jm-mn-info dl > div {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  align-items: baseline;
}
.jm-mn-info dt { color: rgba(255,255,255,0.55); }
.jm-mn-info dd {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.65rem;
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.jm-mn-info .jm-mn-zu-tag dd { color: rgba(255,255,255,0.5); font-weight: 500; }
.jm-mn-ort span {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-weight: 600;
}
.jm-mn-ort small {
  margin-top: 1px;
  color: var(--jm-blue-300);
  font: 600 0.76rem/1.3 var(--jm-font);
}
.jm-mn-ort:hover small,
.jm-mn-ort:focus-visible small { text-decoration: underline; }

@media (max-width: 400px) {
  .jm-mn-liste > .jm-mn-punkt > .jm-mn-link,
  .jm-mn-liste > .jm-mn-punkt > .jm-mn-zeile > .jm-mn-link { padding-left: 1rem; gap: 0.75rem; }
  .jm-mn-liste > .jm-mn-punkt > .jm-mn-zeile > .jm-mn-klapp { margin-right: 0.75rem; }
  .jm-mn-liste > .jm-mn-punkt > .jm-mn-sub,
  .jm-mn-info { margin-left: 1rem; margin-right: 0.75rem; }
}

/* ============================================================================
   91.31 SIGNATUR IM FUSS LESBAR (03.12.2026)
   ----------------------------------------------------------------------------
   Hinweis Martin: „Mit ❤ in der Steiermark entwickelt“ am Handy nicht zu
   sehen. Die Zeile hatte opacity 0.45 auf 60 % Weiß (effektiv ~27 %) und
   stand am Handy zwischen Copyright und Rechtslinks. Wortlaut unverändert.
   ============================================================================ */
.jm-f-leiste .jm-footer-credit {
  opacity: 1;
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.8rem;
  text-decoration: none !important;
  transition: var(--jm-transition-fast);
}
.jm-f-leiste .jm-footer-credit:hover,
.jm-f-leiste .jm-footer-credit:focus-visible { color: var(--jm-blue-200) !important; }
.jm-footer-herz { color: #F0566A; }

/* Handy: Signatur ganz unten, mit Luft zum Bildschirmrand (Browserleiste,
   Nach-oben-Knopf, iPhone-Balken). */
@media (max-width: 640px) {
  .jm-f-leiste .jm-f-copy { order: 1; }
  .jm-f-leiste .jm-footer-legal { order: 2; }
  .jm-f-leiste .jm-footer-signatur {
    order: 3;
    margin-top: 0.35rem !important;
  }
  .jm-f-leiste-innen {
    row-gap: 0.65rem;
    padding-bottom: calc(2.75rem + env(safe-area-inset-bottom)) !important;
  }
}

/* Tablet (641–900 px): drei Spalten waren zu eng, „AGB“ brach unter die
   Rechtslinks neben den Nach-oben-Knopf. Wie am Handy untereinander. */
@media (min-width: 641px) and (max-width: 900px) {
  .jm-f-leiste-innen {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center;
    text-align: center;
    row-gap: 0.65rem;
    padding-top: 1.25rem;
    padding-bottom: 2.25rem !important;
  }
  .jm-f-leiste .jm-f-copy,
  .jm-f-leiste .jm-footer-signatur,
  .jm-f-leiste .jm-footer-legal {
    justify-self: center;
    justify-content: center !important;
    text-align: center !important;
  }
  .jm-f-leiste .jm-f-copy { order: 1; }
  .jm-f-leiste .jm-footer-legal { order: 2; }
  .jm-f-leiste .jm-footer-signatur { order: 3; margin-top: 0.35rem !important; }
}
