
@keyframes ehd-neon-pulse {
    from {
        border-color: rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.15);
        box-shadow: 0 2px 8px rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.08), 0 8px 24px -4px rgba(0, 0, 0, 0.19);
    }
    to {
        border-color: rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.75);
        box-shadow: 0 2px 26px rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.40), 0 0 28px 2px rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.15), 0 8px 24px -4px rgba(0, 0, 0, 0.19);
    }
}

/* Alle Kacheln mit Animation */
.wp-block-getwid-content-slider-slide .wp-block-group.has-background,
.woocommerce ul.products li.product,
ul.products li.product,
li.product[data-neon-rgb] {
    border: 1.5px solid rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.15) !important;
    border-radius: 16px !important;
    animation: ehd-neon-pulse 1.4s ease-in-out infinite alternate !important;
}

/* Delays pro Kachel-Slug (redundant mit inline, aber als Fallback) */
.ehd-tile-bonding   { animation-delay: 0.00s !important; }
.ehd-tile-tape      { animation-delay: 0.15s !important; }
.ehd-tile-tressen   { animation-delay: 0.30s !important; }
.ehd-tile-clipin    { animation-delay: 0.45s !important; }
.ehd-tile-rohhaare  { animation-delay: 0.60s !important; }
.ehd-tile-peruecken { animation-delay: 0.75s !important; }
.ehd-tile-farbring  { animation-delay: 0.90s !important; }

@media (prefers-reduced-motion: reduce) {
    .wp-block-getwid-content-slider-slide .wp-block-group.has-background,
    ul.products li.product {
        animation: none !important;
        border-color: rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.55) !important;
        box-shadow: 0 0 14px rgba(var(--ehd-neon-rgb, 198, 255, 0), 0.28) !important;
    }
}

/* ── Bordeaux-Pulse nur für Sofort-Lieferbar-Kachel + Shop-Promo ── */
@keyframes ehd-bordeaux-pulse {
    from {
        border-color: rgba(99, 44, 59, 0.25);
        box-shadow: 0 2px 8px rgba(99, 44, 59, 0.15), 0 8px 24px -4px rgba(0, 0, 0, 0.08);
    }
    to {
        border-color: rgba(99, 44, 59, 0.85);
        box-shadow: 0 2px 24px rgba(99, 44, 59, 0.45), 0 0 28px 2px rgba(99, 44, 59, 0.22), 0 8px 24px -4px rgba(0, 0, 0, 0.08);
    }
}
.ehd-sofort-lieferbar-tile,
.ehd-sofort-lieferbar-promo {
    border: 1.5px solid rgba(99, 44, 59, 0.25) !important;
    border-radius: 16px !important;
    animation: ehd-bordeaux-pulse 1.6s ease-in-out infinite alternate !important;
}
@media (prefers-reduced-motion: reduce) {
    .ehd-sofort-lieferbar-tile,
    .ehd-sofort-lieferbar-promo {
        animation: none !important;
        border-color: rgba(99, 44, 59, 0.55) !important;
        box-shadow: 0 0 14px rgba(99, 44, 59, 0.28) !important;
    }
}


/* ehd-inline: ehd-app-promo-base-css */

/* ─── Promo-Card Basis-Styles (Light Mode) + Mobile-Polish ─── */

/* "Laden im" / "JETZT BEI" Mini-Texte komplett ausblenden — schlanker Look:
   nur Logo + "App Store" / "Google Play". Layout wird kompakter. */
.ehd-app-promo-badges .ehd-app-badge .ehd-badge-small,
.ehd-app-banner-badges .ehd-app-badge .ehd-badge-small{
	display: none !important;
}
/* "App Store" / "Google Play" als alleinige Beschriftung größer + zentriert */
.ehd-app-promo-badges .ehd-app-badge .ehd-badge-big,
.ehd-app-banner-badges .ehd-app-badge .ehd-badge-big{
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.2px !important;
	white-space: nowrap !important;
	color: #ffffff !important;
}
/* Badge: kompakt horizontal, NICHT stretchen — Logo+Name nebeneinander */
.ehd-app-promo-badges .ehd-app-badge,
.ehd-app-banner-badges .ehd-app-badge{
	display: inline-flex !important;
	flex-direction: row !important;
	flex-shrink: 0 !important;
	flex-grow: 0 !important;
	width: auto !important;
	max-width: 180px !important;
	min-width: 0 !important;
	height: auto !important;
	align-items: center !important;
	justify-content: flex-start !important;
}
.ehd-app-promo-badges .ehd-app-badge .ehd-badge-text,
.ehd-app-banner-badges .ehd-app-badge .ehd-badge-text{
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	width: auto !important;
	max-width: none !important;
}
/* Icon hart fixieren — nichts stretcht es jemals */
.ehd-app-promo-badges .ehd-app-badge .ehd-badge-icon,
.ehd-app-promo-badges .ehd-app-badge svg.ehd-badge-icon,
.ehd-app-banner-badges .ehd-app-badge .ehd-badge-icon,
.ehd-app-banner-badges .ehd-app-badge svg.ehd-badge-icon{
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	flex-shrink: 0 !important;
	flex-grow: 0 !important;
	display: inline-block !important;
}
/* Promo-Badges-Container: Buttons nebeneinander, nicht gestretcht */
.ehd-app-promo-badges{
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
}

/* LIGHT MODE: Badge schwarz, Text weiß — explizit gegen Dark-Mode-Toggle-Leak */
.ehd-app-promo-card .ehd-app-badge,
.ehd-app-banner .ehd-app-badge{
	background: #000 !important;
	color: #ffffff !important;
	border: 1px solid rgba(255,255,255,0.18);
}
.ehd-app-promo-card .ehd-app-badge .ehd-badge-big,
.ehd-app-banner .ehd-app-badge .ehd-badge-big,
.ehd-app-promo-card .ehd-app-badge .ehd-badge-text,
.ehd-app-banner .ehd-app-badge .ehd-badge-text{
	color: #ffffff !important;
}
.ehd-app-promo-card .ehd-app-badge .ehd-badge-icon--apple,
.ehd-app-banner .ehd-app-badge .ehd-badge-icon--apple{
	color: #ffffff !important;
}

.ehd-app-promo-card{
	margin: 18px 0;
	padding: 24px 28px;
	background: #fffaf3;
	border: 1px solid #f0e6d4;
	border-radius: 14px;
	max-width: 660px;
}
.ehd-app-promo-title{
	font-size: 19px;
	font-weight: 800;
	color: #2a0e12;
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 9px;
	line-height: 1.25;
}
.ehd-app-promo-star{ color: #B8860B; font-size: 18px; }
.ehd-app-promo-sub{
	font-size: 14.5px;
	color: #5a5550;
	margin: 0 0 18px;
	line-height: 1.5;
}
.ehd-app-promo-badges{ display: flex; gap: 10px; flex-wrap: wrap; }

/* Mobile (<=600px) — Badges + Title deutlich kompakter */
@media (max-width: 600px){
	.ehd-app-promo-card{ padding: 18px 18px; margin: 14px 0; }
	.ehd-app-promo-title{ font-size: 16px; gap: 7px; margin: 0 0 5px; }
	.ehd-app-promo-star{ font-size: 15px; }
	.ehd-app-promo-sub{ font-size: 13px; margin: 0 0 14px; line-height: 1.45; }
	.ehd-app-promo-badges{ gap: 8px; }
	.ehd-app-promo-badges .ehd-app-badge{ padding: 6px 10px; gap: 6px; border-radius: 7px; }
	.ehd-app-promo-badges .ehd-badge-icon{ width: 18px; height: 18px; }
	.ehd-app-promo-badges .ehd-badge-small{ font-size: 8px; letter-spacing: 0.4px; }
	.ehd-app-promo-badges .ehd-badge-big{ font-size: 11.5px; letter-spacing: 0.1px; }
}

/* Sehr kleine Phones (<=380px, iPhone SE) — minimal Badge-Größe */
@media (max-width: 380px){
	.ehd-app-promo-card{ padding: 16px 14px; }
	.ehd-app-promo-title{ font-size: 15px; }
	.ehd-app-promo-sub{ font-size: 12.5px; margin-bottom: 12px; }
	.ehd-app-promo-badges .ehd-app-badge{ padding: 5px 9px; gap: 5px; }
	.ehd-app-promo-badges .ehd-badge-icon{ width: 16px; height: 16px; }
	.ehd-app-promo-badges .ehd-badge-big{ font-size: 11px; }
	.ehd-app-promo-badges .ehd-badge-small{ font-size: 7.5px; }
}


/* ehd-inline: ehd-app-promo-darkmode-css */

/* Dark Mode: Promo-Card kriegt Bordeaux-BG + weißer Text — sonst unsichtbar */
html[data-theme="dark"] .ehd-app-promo-card,
html[data-theme="dark"] .ehd-app-promo-card{
	background: linear-gradient(135deg, #3a1820 0%, #4a1f29 50%, #6B1D3A 100%) !important;
	border: 1px solid rgba(212,175,55,0.40) !important;
	box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}
html[data-theme="dark"] .ehd-app-promo-title,
html[data-theme="dark"] .ehd-app-promo-title{
	color: #ffffff !important;
}
html[data-theme="dark"] .ehd-app-promo-sub,
html[data-theme="dark"] .ehd-app-promo-sub{
	color: #FAE3D2 !important;
	opacity: 0.92;
}
html[data-theme="dark"] .ehd-app-promo-star,
html[data-theme="dark"] .ehd-app-promo-star{
	color: #FFD24A !important;
	filter: drop-shadow(0 0 6px rgba(255,210,74,0.55));
}
/* Auch das Badge selbst (App Store + Google Play) bleibt schwarz mit goldenem Rand
   damit's hell genug zum Klicken aussieht */
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge{
	background: #000 !important;
	border-color: rgba(212,175,55,0.45) !important;
	color: #ffffff !important;
}
/* EXPLIZIT: Inner-Text-Spans auch weiß setzen — sonst werden sie vom darkmode-Plugin verdunkelt */
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-text,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-small,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-big,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-text,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-small,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-big{
	color: #ffffff !important;
	opacity: 1 !important;
}
/* Apple-Logo ist currentColor → wird automatisch weiß. Google-Play-Icon hat eigene Farben. */
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-icon--apple,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge .ehd-badge-icon--apple{
	color: #ffffff !important;
}
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge:hover,
html[data-theme="dark"] .ehd-app-promo-badges .ehd-app-badge:hover{
	background: #1a1a1a !important;
	border-color: rgba(212,175,55,0.75) !important;
}


/* ehd-inline: ehd-darkmode-lagerware-css */

/* ─── Lagerware Cards Dark-Mode Fix ─────────────────────────── */

/* Hero-Bereich */
html[data-theme="dark"] .ehlw-hero{
	color: #FAE3D2;
}
html[data-theme="dark"] .ehlw-hero h2{
	color: #ffffff;
}
html[data-theme="dark"] .ehlw-hero h2 .accent{
	background: linear-gradient(135deg, #FFD24A 0%, #B8860B 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
}
html[data-theme="dark"] .ehlw-hero p{
	color: #d8c8b3 !important;
	opacity: 1 !important;
}
html[data-theme="dark"] .ehlw-hero-badge{
	background: #D4AF37 !important;
	color: #1A0608 !important;
	box-shadow: 0 6px 18px rgba(212,175,55,0.30) !important;
}

/* Filter-Chips */
html[data-theme="dark"] .ehlw-chip{
	background: rgba(212,175,55,0.06) !important;
	border-color: rgba(212,175,55,0.28) !important;
	color: #FAE3D2 !important;
}
html[data-theme="dark"] .ehlw-chip:hover{
	background: rgba(212,175,55,0.14) !important;
}
html[data-theme="dark"] .ehlw-chip.active{
	background: #D4AF37 !important;
	color: #1A0608 !important;
	border-color: #FFD24A !important;
	box-shadow: 0 4px 14px rgba(212,175,55,0.30) !important;
}

/* Die Cards selbst */
html[data-theme="dark"] .ehlw-card{
	background: linear-gradient(135deg, #2a0e12 0%, #3a1820 60%, #4a1f29 100%) !important;
	border: 1px solid rgba(212,175,55,0.30) !important;
	box-shadow: 0 4px 20px rgba(0,0,0,0.45) !important;
}
html[data-theme="dark"] .ehlw-card:hover{
	box-shadow: 0 20px 50px rgba(0,0,0,0.60), 0 0 0 1px rgba(212,175,55,0.50) !important;
}

/* Image-Header (oft cream BG) */
html[data-theme="dark"] .ehlw-card-head{
	background: rgba(0,0,0,0.20) !important;
}
html[data-theme="dark"] .ehlw-card-slide{
	background: linear-gradient(135deg, #1a0608 0%, #2a0e12 100%) !important;
}
html[data-theme="dark"] .ehlw-card-img-holder{
	background: linear-gradient(135deg, #1a0608 0%, #2a0e12 100%) !important;
	color: rgba(255,255,255,0.25) !important;
}

/* Card Body — Text muss lesbar bleiben */
html[data-theme="dark"] .ehlw-card-body{
	color: #ffffff !important;
	background: transparent !important;
}
html[data-theme="dark"] .ehlw-card-body h2,
html[data-theme="dark"] .ehlw-card-body h3,
html[data-theme="dark"] .ehlw-card-body h4,
html[data-theme="dark"] .ehlw-card-body .title,
html[data-theme="dark"] .ehlw-card-title{
	color: #ffffff !important;
}
html[data-theme="dark"] .ehlw-card-body p,
html[data-theme="dark"] .ehlw-card-body span,
html[data-theme="dark"] .ehlw-card-body div,
html[data-theme="dark"] .ehlw-card-body li,
html[data-theme="dark"] .ehlw-card-meta,
html[data-theme="dark"] .ehlw-card-detail{
	color: #FAE3D2 !important;
}

/* Preis prominent in Gold */
html[data-theme="dark"] .ehlw-card-preis,
html[data-theme="dark"] .ehlw-card-price,
html[data-theme="dark"] .ehlw-card .preis,
html[data-theme="dark"] .ehlw-card-body strong{
	color: #FFD24A !important;
}

/* Buttons im Card-Footer */
html[data-theme="dark"] .ehlw-card-buttons a,
html[data-theme="dark"] .ehlw-card-buttons button,
html[data-theme="dark"] .ehlw-btn,
html[data-theme="dark"] .ehlw-card .btn{
	background: #6B1D3A !important;
	color: #ffffff !important;
	border: 1px solid #D4AF37 !important;
}
html[data-theme="dark"] .ehlw-card-buttons a:hover,
html[data-theme="dark"] .ehlw-card-buttons button:hover,
html[data-theme="dark"] .ehlw-btn:hover{
	background: #8B2E50 !important;
	border-color: #FFD24A !important;
}

/* Image-Slider Dots — sichtbar bleiben */
html[data-theme="dark"] .ehlw-card-dots{
	background: rgba(0,0,0,0.75) !important;
}

/* "Verfügbar"-Badge / Status */
html[data-theme="dark"] .ehlw-status,
html[data-theme="dark"] .ehlw-card-status{
	background: rgba(212,175,55,0.15) !important;
	color: #FFD24A !important;
	border: 1px solid rgba(212,175,55,0.45) !important;
}


/* ehd-inline: ehd-darkmode-wc-cards-css */

/* ─── Produktkarten Dark-Mode Fix ────────────────────────────── */

/* Produkt-Titel (h2/h3 Post-Title) — meist dunkel auf hellem Card-BG */
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wp-block-post-title,
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wp-block-post-title a,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wp-block-post-title,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wp-block-post-title a,
html[data-theme="dark"] .woocommerce-loop-product__title,
html[data-theme="dark"] .wc-block-grid__product-title,
html[data-theme="dark"] .wc-block-product-name{
	color: #FAE3D2 !important;
}
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wp-block-post-title a:hover,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wp-block-post-title a:hover{
	color: #FFD24A !important;
}

/* Preis-Anzeige in den Karten */
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price,
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price .woocommerce-Price-amount,
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price bdi,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price .woocommerce-Price-amount,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wp-block-woocommerce-product-price bdi,
html[data-theme="dark"] .wc-block-components-product-price,
html[data-theme="dark"] .wc-block-components-product-price .wc-block-formatted-money-amount,
html[data-theme="dark"] .wc-block-grid__product-price{
	color: #ffffff !important;
}
/* "Ab"-Präfix bei Preis-Range — soll dezent aber lesbar bleiben */
html[data-theme="dark"] .wp-block-woocommerce-product-price .price{
	color: #ffffff !important;
}

/* SKU / Kategorien / Stocks unter dem Produkt */
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wc-block-components-product-rating,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wc-block-components-product-rating,
html[data-theme="dark"] .stock,
html[data-theme="dark"] .product_meta,
html[data-theme="dark"] .product_meta a{
	color: #d8c8b3 !important;
}
html[data-theme="dark"] .stock.in-stock{
	color: #6BD68B !important;
}

/* Produkt-Karten-Container — meist transparent, aber für Sicherheit
   subtile Hover-Highlight im Dark Mode */
html[data-theme="dark"] .wp-block-woocommerce-product-template .wc-block-product:hover,
html[data-theme="dark"] .wp-block-woocommerce-product-collection .wc-block-product:hover{
	background: rgba(212,175,55,0.04) !important;
}

/* Sale-Badge bleibt Bordeaux mit weißer Schrift */
html[data-theme="dark"] .onsale,
html[data-theme="dark"] .wc-block-components-product-sale-badge{
	background: #6B1D3A !important;
	color: #ffffff !important;
	border: 1px solid #D4AF37 !important;
}

/* "In den Warenkorb"-Button — sicherstellen dass er lesbar bleibt
   (manche Themes setzen ihn dunkel-auf-dunkel im Dark Mode) */
html[data-theme="dark"] .wp-block-woocommerce-product-button .wp-block-button__link,
html[data-theme="dark"] .wp-block-woocommerce-product-template .wp-block-button__link,
html[data-theme="dark"] .button.add_to_cart_button,
html[data-theme="dark"] .button.product_type_simple{
	background: #6B1D3A !important;
	color: #ffffff !important;
	border: 1px solid #D4AF37 !important;
}
html[data-theme="dark"] .wp-block-woocommerce-product-button .wp-block-button__link:hover,
html[data-theme="dark"] .button.add_to_cart_button:hover{
	background: #8B2E50 !important;
	border-color: #FFD24A !important;
}

/* Lieferzeit-Hinweise und MwSt-Zeile unter dem Preis */
html[data-theme="dark"] .wc-gzd-additional-info{
	color: #d8c8b3 !important;
}

/* Kategorie/Tag-Filter oben auf der Archiv-Seite */
html[data-theme="dark"] .woocommerce-products-header__title,
html[data-theme="dark"] .term-description{
	color: #FAE3D2 !important;
}


/* ehd-inline: ehd-hc-grid-fix */

/* === Base: Gallery-Items dürfen NIE flex-grow nutzen (sonst letzte Reihe = full-width) === */
.hc-overview.wp-block-gallery.has-nested-images figure.wp-block-image,
.hc-overview.wp-block-gallery.has-nested-images.is-layout-flex figure.wp-block-image{
    flex-grow: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* === Container: Padding/Margin auf 0 damit volle Breite nutzbar === */
.hc-overview.wp-block-gallery.has-nested-images{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* === Desktop: 6 Spalten === */
.hc-overview.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image,
body .hc-overview.wp-block-gallery.has-nested-images.columns-6.is-layout-flex figure.wp-block-image{
    flex: 0 0 calc((100% - 5 * var(--wp--style--unstable-gallery-gap, 16px)) / 6) !important;
    max-width: calc((100% - 5 * var(--wp--style--unstable-gallery-gap, 16px)) / 6) !important;
    width: calc((100% - 5 * var(--wp--style--unstable-gallery-gap, 16px)) / 6) !important;
}

/* === Tablet/Mobile: 4 Spalten === */
@media (max-width: 1024px){
    .hc-overview.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image,
    body .hc-overview.wp-block-gallery.has-nested-images.columns-6.is-layout-flex figure.wp-block-image{
        flex: 0 0 calc((100% - 3 * var(--wp--style--unstable-gallery-gap, 16px)) / 4) !important;
        max-width: calc((100% - 3 * var(--wp--style--unstable-gallery-gap, 16px)) / 4) !important;
        width: calc((100% - 3 * var(--wp--style--unstable-gallery-gap, 16px)) / 4) !important;
    }
}
@media (max-width: 781px){
    .hc-overview.wp-block-gallery.has-nested-images{
        --wp--style--unstable-gallery-gap: 8px !important;
        gap: 8px !important;
    }
    .hc-overview.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image,
    body .hc-overview.wp-block-gallery.has-nested-images.columns-6.is-layout-flex figure.wp-block-image{
        flex: 0 0 calc((100% - 3 * 8px) / 4) !important;
        max-width: calc((100% - 3 * 8px) / 4) !important;
        width: calc((100% - 3 * 8px) / 4) !important;
    }
}
@media (max-width: 480px){
    .hc-overview.wp-block-gallery.has-nested-images{
        --wp--style--unstable-gallery-gap: 6px !important;
        gap: 6px !important;
    }
    .hc-overview.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image,
    body .hc-overview.wp-block-gallery.has-nested-images.columns-6.is-layout-flex figure.wp-block-image{
        flex: 0 0 calc((100% - 3 * 6px) / 4) !important;
        max-width: calc((100% - 3 * 6px) / 4) !important;
        width: calc((100% - 3 * 6px) / 4) !important;
    }
}
@media (max-width: 340px){
    /* Notfall-Fallback: bei sehr kleinen Screens lieber 3 statt 4 (sonst werden Bilder unleserlich) */
    .hc-overview.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image,
    body .hc-overview.wp-block-gallery.has-nested-images.columns-6.is-layout-flex figure.wp-block-image{
        flex: 0 0 calc((100% - 2 * 6px) / 3) !important;
        max-width: calc((100% - 2 * 6px) / 3) !important;
        width: calc((100% - 2 * 6px) / 3) !important;
    }
}

/* === Inner-img immer 100% des figure === */
.hc-overview.wp-block-gallery.has-nested-images figure.wp-block-image img{
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

