/* ==========================================================================
   gt24-pro · Relaunch-Analyse (PDF 17.11.2026) – Anzeige-Schicht
   Geladen über mu-plugins/g24-pdf-frontend.php (spät im <head>).
   Nur Darstellung: keine Texte, Titel, H1-Texte oder Kategorietexte geändert.
   ========================================================================== */

/* ---------- PDF 7: Lato nicht mehr laden → Flatsome-Regeln „Lato, sans-serif“ auf die Theme-Schriften ---------- */
body.g24pro { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif; }
body.g24pro .nav > li > a,
body.g24pro .mobile-sidebar-levels-2 .nav > li > ul > li > a { font-family: inherit; }
body.g24pro h1, body.g24pro h2, body.g24pro h3, body.g24pro h4, body.g24pro h5, body.g24pro h6,
body.g24pro .heading-font { font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
body.g24pro button, body.g24pro input, body.g24pro select, body.g24pro textarea, body.g24pro .button { font-family: inherit; }

/* Symbole ☎/✓ als SVG (PDF 7) – Größe/Farbe der ersetzten Zeichen */
.g24-sym { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex: 0 0 auto; }
.g24-sym path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- PDF 3.1: „versandbereitLieferung“ – Leerzeichen auch wenn der Umbruch mobil entfällt ---------- */
/* (Leerzeichen setzt gt24-pro-pdf.js als echten Text, damit auch Vorlese-/Kopiertext stimmt) */

/* ---------- PDF 3.1: Datenblatt-Tabelle mobil als Karte je Ausführung ---------- */
@media (max-width: 767px) {
	#tab-g24datenblatt .g24-table-scroll { overflow: visible !important; }
	#tab-g24datenblatt table.g24pdf-karten,
	#tab-g24datenblatt table.g24pdf-karten tbody,
	#tab-g24datenblatt table.g24pdf-karten tr,
	#tab-g24datenblatt table.g24pdf-karten td { display: block; width: 100% !important; }
	#tab-g24datenblatt table.g24pdf-karten { margin: 6px 0 16px !important; border: 0 !important; min-width: 0 !important; max-width: 100% !important; table-layout: auto !important; }
	#tab-g24datenblatt table.g24pdf-karten tr td { background: transparent !important; }
	#tab-g24datenblatt table.g24pdf-karten tr.g24pd-akt { background: #f1f7ff; }
	#tab-g24datenblatt table.g24pdf-karten thead { display: none; }
	#tab-g24datenblatt table.g24pdf-karten tr {
		background: #fff; border: 1px solid #d8dfe8; border-radius: 14px; padding: 12px 14px; margin: 0 0 12px;
	}
	#tab-g24datenblatt table.g24pdf-karten tr.g24pd-akt { border-color: #1068b8; box-shadow: 0 0 0 1px #1068b8 inset; }
	#tab-g24datenblatt table.g24pdf-karten td {
		display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
		padding: 5px 0 !important; border: 0 !important; text-align: right !important; font-size: 15px;
	}
	#tab-g24datenblatt table.g24pdf-karten td[data-label]::before {
		content: attr(data-label); color: #5d6b80; font-size: 13.5px; font-weight: 600; text-align: left; flex: 0 0 auto;
	}
	#tab-g24datenblatt table.g24pdf-karten td.g24db-cart { padding-top: 10px !important; }
	#tab-g24datenblatt table.g24pdf-karten td.g24db-cart::before { display: none; }
	#tab-g24datenblatt table.g24pdf-karten .g24db-cartwrap { width: 100%; justify-content: stretch !important; gap: 8px !important; }
	#tab-g24datenblatt table.g24pdf-karten .g24db-qty { width: 72px !important; height: 44px !important; flex: 0 0 72px; }
	#tab-g24datenblatt table.g24pdf-karten .g24db-add { flex: 1 1 auto; min-height: 44px; font-size: 15px !important; border-radius: 10px !important; }
}

/* ---------- PDF 3.2: Gerüstpakete mobil – Produktliste vor Ratgeber, einspaltig ---------- */
@media (max-width: 849px) {
	body.term-geruest-kaufen .shop-container { display: flex; flex-direction: column; }
	body.term-geruest-kaufen .shop-container > * { order: 10; }
	body.term-geruest-kaufen .shop-container > .term-description,
	body.term-geruest-kaufen .shop-container > h1,
	body.term-geruest-kaufen .shop-container > img,
	body.term-geruest-kaufen .shop-container > style { order: 0; }
	body.term-geruest-kaufen .shop-container > #g24sg-legende { order: 1; }
	body.term-geruest-kaufen .shop-container > .woocommerce-notices-wrapper,
	body.term-geruest-kaufen .shop-container > #g24-sets { order: 2; }
	body.term-geruest-kaufen .shop-container > .products { order: 3; }
	body.term-geruest-kaufen .shop-container > .woocommerce-pagination,
	body.term-geruest-kaufen .shop-container > nav { order: 4; }
	/* Ratgeber-Blöcke (Texte unverändert) folgen nach der Produktliste */
	body.term-geruest-kaufen .shop-container > .g24-hub { order: 6; margin-top: 18px; }
	body.term-geruest-kaufen .shop-container > .g24-gp-wegweiser { order: 7; }
}
@media (max-width: 549px) {
	body.term-geruest-kaufen .shop-container > .products > .col { flex-basis: 100% !important; max-width: 100% !important; width: 100% !important; }
}

/* ---------- PDF 3.3: Tippflächen ≥ 44 px ---------- */
/* Mengenfelder Warenkorb (34×38) und Produktseite */
body.g24pro #content .quantity input.qty,
body.g24pro #content .quantity input.minus,
body.g24pro #content .quantity input.plus,
body.g24pro .quantity input.qty,
body.g24pro .quantity input.minus,
body.g24pro .quantity input.plus { min-height: 44px !important; height: 44px !important; min-width: 44px !important; }
/* „Anrufen“ (91×31) */
body.g24pro .g24-consult-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px !important; border-radius: 10px !important; }
/* Telefonnummer oben (39 px) */
body.g24pro .g24h-tel { display: inline-flex !important; align-items: center; min-height: 44px; }
/* Bestseller-, Paket- und Gerüstarten-Links auf der Startseite (39/40/42 px) */
body.g24pro .gp .card .c-title a,
body.g24pro .gp .pk .c-title a { display: inline-flex; align-items: center; min-height: 44px; }
body.g24pro section[aria-label="Gerüstarten"] a { min-height: 44px; display: flex; align-items: center; }
/* Datenblatt Menge/Button (40 px) */
#tab-g24datenblatt .g24db-qty, #tab-g24datenblatt .g24db-add { min-height: 44px; height: 44px; }
/* Desktop-Untermenüpfeile (18 px) – Fläche 44 px, Optik unverändert */
@media (min-width: 850px) {
	/* Breite bleibt 18 px (gt24-pro-wp.css); die Tippfläche wächst per Pseudo-Element auf 44 × 48 px, vor allem nach rechts in den Abstand zum nächsten Menüpunkt */
	body.g24pro .gp .nav-t { position: relative; overflow: visible; z-index: 2; }
	body.g24pro .gp .nav-t::after { content: ""; position: absolute; top: 0; bottom: 0; left: -6px; right: -20px; }
}
/* Produktkarten-Buttons, Filter, Sortierung, Galerie-Pfeile */
body.g24pro .products .product-small .add-to-cart-button,
body.g24pro .products .product-small .add-to-cart-button a.button { min-height: 44px !important; height: auto !important; }
body.g24pro .products .product-small .add-to-cart-button a.button { display: flex !important; align-items: center; justify-content: center; }
body.g24pro a.filter-button { min-height: 44px; display: inline-flex; align-items: center; }
body.g24pro .product-gallery .flickity-prev-next-button,
body.g24pro .product-thumbnails .flickity-prev-next-button { min-width: 44px; min-height: 44px; }

/* ---------- PDF 4.1: alte Flatsome-Bausteine im neuen Stil (keine Versalien, 44 px, runde Ecken; Texte gleich) ---------- */
body.g24pro .g24-sort__btn,
body.g24pro .g24-hf-trigger,
body.g24pro a.filter-button,
body.g24pro .g24-pdp-more__btn,
body.g24pro .g24-fbt .button,
body.g24pro .g24-fbt a.button,
body.g24pro .g24ps-btn,
body.g24pro .g24cs-btn,
body.g24pro #shop-sidebar .widget-title,
body.g24pro .shop-sidebar .widget-title {
	text-transform: none !important; letter-spacing: 0 !important; font-family: inherit !important;
}
body.g24pro .g24-sort__btn,
body.g24pro .g24-hf-trigger {
	min-height: 44px; border-radius: 10px !important; font-size: 15px !important; font-weight: 600 !important;
	color: #0f1b2a !important; border-color: #b9c4d2 !important; padding-top: 0 !important; padding-bottom: 0 !important;
	line-height: 1.2 !important;
}
body.g24pro .g24-sort__arrow, body.g24pro .g24-hf-caret { color: #5d6b80 !important; }
body.g24pro .g24-sort__opt { min-height: 44px; }
/* Akkordeon „Mehr über Gerüstteile24“ */
body.g24pro .g24-pdp-more__btn {
	min-height: 44px; border-radius: 12px !important; border-color: #d8dfe8 !important; color: #0f1b2a !important;
	font-size: 15.5px !important; font-weight: 650 !important; line-height: 1.35 !important; padding: 12px 16px !important; text-align: left;
}
/* „Oft dazu gekauft“-Karten im Stil der Kategorie-Karte */
body.g24pro .g24-fbt__card { background: #fff !important; border: 1px solid #d8dfe8 !important; border-radius: 16px !important; box-shadow: none !important; }
body.g24pro .g24-fbt__name, body.g24pro .g24-fbt__name a { color: #0f1b2a !important; font-weight: 650 !important; font-size: 15.5px !important; line-height: 1.35 !important; text-decoration: none !important; }
body.g24pro .g24-fbt__name { display: block; min-height: 44px; }
body.g24pro .g24-fbt .button, body.g24pro .g24-fbt a.button, body.g24pro .g24-fbt__card .button {
	display: flex !important; align-items: center; justify-content: center; width: 100%;
	min-height: 44px !important; height: auto !important; line-height: 1.2 !important; padding: 10px 12px !important;
	border-radius: 10px !important; font-size: 14px !important; font-weight: 700 !important; white-space: normal; margin: 8px 0 0 !important;
}
body.g24pro .g24-fbt .button.product_type_simple, body.g24pro .g24-fbt a.button.ajax_add_to_cart {
	background: #f0a500 !important; color: #0f1b2a !important; border: 0 !important;
}
body.g24pro .g24-fbt .button:not(.product_type_simple):not(.ajax_add_to_cart) {
	background: #fff !important; color: #0f1b2a !important; border: 1px solid #b9c4d2 !important;
}
/* Trusted-Shops-Karussell (Widget von Trusted Shops; Innenleben im Shadow-DOM) – Rahmen im neuen Stil */
body.g24pro .g24-ts-reviews { border: 1px solid #d8dfe8; border-radius: 16px; padding: 18px 16px 8px; background: #fff; }
body.g24pro .g24-ts-reviews__title { color: #0f1b2a !important; border-bottom: 0 !important; padding-bottom: 0 !important; }
body.g24pro .g24-ts-reviews etrusted-widget { display: block; min-height: 44px; }

/* ---------- PDF 4.2: eine Produktkarte überall (Startseite Bestseller + Pakete wie Kategorie-Karte) ---------- */
body.g24pro .gp .card.g24p-k1 { border: 1px solid #d8dfe8; border-radius: 16px; }
body.g24pro .gp .card.g24p-k1 .c-b { gap: 6px; }
body.g24pro .gp .card.g24p-k1 .c-title { font: 650 15.5px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
body.g24pro .gp .card.g24p-k1 .c-title a { color: #0f1b2a; text-decoration: none; }
body.g24pro .gp .card.g24p-k1 .c-foot { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; }
body.g24pro .gp .card.g24p-k1 .c-foot .p-main { font: 800 22px/1.1 "Archivo", -apple-system, BlinkMacSystemFont, sans-serif; color: #0f1b2a; }
body.g24pro .gp .card.g24p-k1 .c-foot .p-sub { white-space: nowrap; font-size: 13.5px; color: #0f1b2a; }
body.g24pro .gp .card.g24p-k1 .c-btn {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 100%;
	min-height: 44px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1.2;
	text-decoration: none; text-transform: none;
}
body.g24pro .gp .card.g24p-k1 .c-btn.is-cta { background: #f0a500; color: #0f1b2a; border: 0; }
body.g24pro .gp .card.g24p-k1 .c-btn.is-cta:hover { background: #ffb81c; }
body.g24pro .gp .card.g24p-k1 .c-btn.is-sec { background: #fff; color: #0f1b2a; border: 1px solid #b9c4d2; }
body.g24pro .gp .card.g24p-k1 .c-btn.is-sec:hover { border-color: #1068b8; }
body.g24pro .gp .card.g24p-k1 .c-img { position: relative; }
body.g24pro .gp .card.g24p-k1 .pk-m2 { position: absolute; right: 12px; top: 12px; z-index: 1; background: #0f1b2a; color: #fff; font: 800 15px/1 "Archivo", -apple-system, sans-serif; padding: 8px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
/* Titel-Fläche ≥ 44 px, ohne dass die ganze Karte (a::after) den Button überdeckt */
body.g24pro .gp .card.g24p-k1 .c-title a::after { z-index: 0; }
body.g24pro .gp .pk-grid.g24p-k1-grid { align-items: stretch; }

/* ---------- PDF 4.3: Zahlarten-Logos auf der Produktseite größer und kräftiger ---------- */
body.single-product .product-info .payment-icons .payment-icon,
body.single-product .payment-icons .payment-icon { opacity: 1 !important; filter: none !important; }
body.single-product .product-info .payment-icons .payment-icon svg,
body.single-product .payment-icons .payment-icon svg { width: 46px !important; height: 30px !important; }
body.single-product .product-info .payment-icons { gap: 6px !important; }

/* 404-Seite: Links, die der Text ankündigt */
.g24pdf-404 { margin: 22px 0 6px; }
.g24pdf-404 .h2 { font: 700 18px/1.25 "Archivo", -apple-system, sans-serif; margin: 0 0 10px; color: #0f1b2a; }
/* PDF 6: Dialogtitel „Schnellbestellung“ (jetzt <p>) sieht aus wie zuvor die H2 */
.gp .dr-hd .dr-t { font: 700 20px/1.25 "Archivo", -apple-system, sans-serif; display: flex; gap: 10px; align-items: center; margin: 0; color: #0f1b2a; }
.g24pdf-404 ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.g24pdf-404 li { margin: 0 !important; }
.g24pdf-404 a {
	display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #d8dfe8; border-radius: 12px;
	color: #0f1b2a; font-weight: 600; text-decoration: none; background: #fff;
}
.g24pdf-404 a:hover { border-color: #1068b8; color: #1068b8; }

/* ---------- PDF 5: Kontrast ≥ 4,5:1 ---------- */
/* Filterzahlen, Fußnoten, Sortierpfeil */
html body.g24pro #shop-sidebar li.woocommerce-widget-layered-nav-list__item .count,
body.g24pro .count, body.g24pro .widget .count, body.g24pro .g24kf .count,
body.g24pro .g24-pfoot, body.g24pro .g24-uspsg__fn { color: #5d6b80 !important; }
body.g24pro .breadcrumbs .divider { color: #6b7789 !important; }
/* Weiß/Blau auf Orange → Dunkelblau #0f1b2a */
body.g24pro .g24-tag,
body.g24pro .g24-cta-btn,
body.g24pro .gt24-kalk-cta__badge,
body.g24pro .gt24-kalk-cta__btn,
body.g24pro .gt24-ki-cta__badge,
body.g24pro .gt24-ki-cta__btn,
body.g24pro .gt24-ki-badge,
body.g24pro .gt24-ki-step__num,
body.g24pro .gt24-ki-cta,
body.g24pro .gt24-ki-cta__arrow { color: #0f1b2a !important; }
body.g24pro .gt24-ki-cta__badge { opacity: 1 !important; }
/* Häkchen orange auf hellem Grund */
body.g24pro .g24comp .ck { color: #a35f00 !important; }
/* Blau auf Blau („Gerüst konfigurieren →“) */
body.g24pro .g24cta a.btn { color: #fff !important; }
/* Grün-Plakette „Blitz + Allround“ (4,42:1) */
body.g24pro .g24sg-lg-beide { background: #187a33 !important; }
/* Copyright/Kleingedrucktes Kasse */
body.g24pro .g24-co-footer__copy, body.g24pro .g24-co-footer__copy *,
body.g24pro.woocommerce-checkout .ftr-bottom, body.g24pro.woocommerce-checkout .ftr-bottom *,
body.g24pro.woocommerce-checkout .copyright-footer, body.g24pro.woocommerce-checkout .absolute-footer,
body.g24pro.woocommerce-checkout .absolute-footer * { color: #5d6b80 !important; }
/* Konfigurator-Grautöne (nur Anzeige; Berechnung unverändert) */
body[class*="page-template-page-gkalk"] [style*="color:#777"],
body[class*="page-template-page-gkalk"] [style*="color: #777"],
body[class*="page-template-page-gkalk"] [style*="color:#999"],
body[class*="page-template-page-gkalk"] [style*="color: #999"],
body[class*="page-template-page-gkalk"] [style*="color:#888"],
body[class*="page-template-page-gkalk"] [style*="color:#aaa"],
body[class*="page-template-page-gkalk"] .md-unit { color: #5d6b80 !important; }
body[class*="page-template-page-gkalk"] .gk-badge.gk-4 { color: #b33f00 !important; }
body[class*="page-template-page-gkalk"] .gkalk-check { color: #1565a8 !important; }
body[class*="page-template-page-gkalk"] .gkalk-card-badge { color: #0f1b2a !important; }

/* Sidebar-Filterüberschriften (Flatsome-Versalien) in Satzschreibung, gleiche Texte */
body.g24pro #shop-sidebar .widget-title, body.g24pro .shop-sidebar .widget-title { font-size: 15px !important; font-weight: 700 !important; color: #0f1b2a !important; }
/* Sticky-Kaufleiste PDP / Warenkorb: Button 44 px, keine Versalien */
body.g24pro .g24ps-btn, body.g24pro .g24cs-btn { min-height: 44px; border-radius: 10px !important; }

/* „Mehr über Gerüstteile24“: Plus-Zeichen in derselben Zeile */
body.g24pro .g24-pdp-more__btn { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
body.g24pro .g24-pdp-more__btn::after { float: none !important; flex: 0 0 auto; margin-left: auto; }
/* Startseiten-Karten: Bild immer vollständig im Bildfeld */
body.g24pro .gp .card.g24p-k1 .c-img { overflow: hidden; }
body.g24pro .gp .card.g24p-k1 .c-img img { position: absolute; top: 16px; left: 16px; width: calc(100% - 32px) !important; height: calc(100% - 32px) !important; max-width: none; max-height: none; object-fit: contain; }
/* Pakete (breite Gerüstskizzen): Bildfeld 4:3 statt quadratisch */
body.g24pro .gp .pk-grid .card.g24p-k1 .c-img { aspect-ratio: 4 / 3; }

/* Schrittanzeige Warenkorb → Kasse → Bestätigung: Ziffern/Beschriftung ≥ 4,5:1 */
body.g24pro .g24p-schritte li { color: #5d6b80 !important; }
body.g24pro .g24p-schritte li span { color: #5d6b80 !important; }
body.g24pro .g24p-schritte li.jetzt span, body.g24pro .g24p-schritte li.fertig span { color: #fff !important; }
body.g24pro .g24p-schritte li.jetzt { color: #0a1d33 !important; }

/* PDF 4.2: Warenkorb-Vorschläge (Mindestbestellwert) mit Kategorie-Karte – Button volle Breite, MwSt./Versand einzeilig */
html body.g24pro #content .g24mbw-grid .add-to-cart-button, html body.g24pro #content .g24mbw-grid .add-to-cart-button a.button,
html body.g24pro .g24mbw-grid .add-to-cart-button, html body.g24pro .g24mbw-grid .add-to-cart-button a.button { width: 100% !important; max-width: none !important; }
html body.g24pro #content .g24mbw-grid .g24-taxship-row, html body.g24pro .g24mbw-grid .g24-taxship-row { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 4px !important; white-space: nowrap !important; font-size: 13px !important; }
html body.g24pro #content .g24mbw-grid .g24-taxship-row p, html body.g24pro .g24mbw-grid .g24-taxship-row p { margin: 0 !important; display: inline !important; width: auto !important; font-size: 13px !important; }
html body.g24pro #content .g24mbw-grid .box-text, html body.g24pro .g24mbw-grid .box-text { padding-left: 0 !important; padding-right: 0 !important; }
/* Tippflächen: stärkere Regeln aus älteren Bausteinen (g24-design-einheit, Flatsome) übersteuern */
html body.g24pro.g24pro #tab-g24datenblatt input.g24db-qty, html body.g24pro.g24pro #tab-g24datenblatt button.g24db-add { height: 44px !important; min-height: 44px !important; }
@media (max-width: 767px) { html body.g24pro.g24pro #tab-g24datenblatt table.g24pdf-karten input.g24db-qty { width: 72px !important; } }
html body.g24pro a.filter-button, html body.g24pro .filter-button { min-height: 44px !important; height: 44px !important; display: inline-flex !important; align-items: center; text-transform: none !important; letter-spacing: 0 !important; }

/* PDF 7: ✓ aus CSS-Pseudo-Inhalten (content:"\2713") ebenfalls als SVG-Symbol (Maske, Farbe bleibt) */
body.g24pro .g24-ga-seo__inner ul li:before,
body.g24pro.single-product .product-info .price-wrapper .g24-vp-badge::before,
body.g24pro.single-product .g24-related-alt-aus .delivery-time-info::before {
	content: "" !important; display: inline-block; width: 0.95em; height: 0.95em; vertical-align: -0.12em; margin-right: 5px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.g24pro .g24-ga-seo__inner ul li:before { top: 13px; }
