/*
Theme Name: Meller Textildruck
Theme URI: https://meller-textildruck.at/
Description: Schlankes, schnelles Eigen-Theme für Meller Textildruck (ohne Slider, Bootstrap und Font Awesome).
Author: Meller Textildruck GmbH
Version: 1.0.0
Text Domain: meller
*/

:root {
	--navy: #1c314c;
	--navy-dark: #14243a;
	--blue: #2e5b87;
	--blue-light: #5b8fc4;
	--green: #25d366;
	--green-dark: #1ebe5d;
	--bg: #f5f8fc;
	--text: #242526;
	--muted: #5b6573;
	--line: #e3e9f1;
	--radius: 14px;
	--shadow: 0 6px 22px rgba(28, 49, 76, .10);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: #fff; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(28, 49, 76, .06); }
body.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: block; line-height: 0; flex: 0 1 auto; }
.logo-img { height: 42px; width: auto; max-width: 100%; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 10px; transition: background .15s, color .15s; }
.site-nav .menu > li > a:hover, .site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { background: var(--bg); color: var(--blue); }
.site-nav .menu-button > a { background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff !important; margin-left: 10px; box-shadow: 0 4px 12px rgba(46, 91, 135, .28); border-radius: 999px; padding: 10px 20px; }
.site-nav .menu-button > a:hover { background: linear-gradient(135deg, #4a7fb3, #1f3e5e); transform: translateY(-1px); }
.site-nav .whatsapp-menu > a { background: var(--green); color: #fff !important; border-radius: 999px; padding: 10px 20px 10px 16px; box-shadow: 0 4px 12px rgba(37, 211, 102, .30); display: flex; align-items: center; gap: 8px; }
.site-nav .whatsapp-menu > a::before { content: ""; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12.04 2a9.9 9.9 0 0 0-8.4 15.1L2 22l5-1.6A9.9 9.9 0 1 0 12.04 2zm5.8 14c-.25.7-1.45 1.35-2 1.4-.5.05-1.1.2-3.7-.8-3.1-1.2-5.1-4.4-5.3-4.6-.15-.2-1.25-1.65-1.25-3.15s.8-2.25 1.1-2.55c.3-.3.6-.35.8-.35h.6c.2 0 .45-.05.7.55.25.6.85 2.1.95 2.25.1.15.15.35.05.55-.1.2-.15.3-.3.5l-.45.5c-.15.15-.3.3-.15.6.15.3.7 1.15 1.5 1.85 1 .9 1.9 1.2 2.2 1.3.3.15.45.1.6-.05.2-.2.7-.8.9-1.1.2-.3.4-.25.65-.15.25.1 1.65.8 1.95.95.3.15.5.2.55.3.1.1.1.65-.15 1.3z'/%3E%3C/svg%3E"); }
.site-nav .whatsapp-menu > a:hover { background: var(--green-dark); transform: translateY(-1px); }

/* Aufklappmenü */
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s; }
.site-nav .menu-item-has-children:hover > .sub-menu, .site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { font-weight: 500; }
.site-nav .sub-menu a:hover { background: var(--bg); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 8px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
	.topbar .wrap { justify-content: center; gap: 16px; font-size: 13px; }
	.header-inner { min-height: 64px; }
	.logo-img { height: 34px; max-width: 70vw; }
	.nav-toggle { display: block; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
	.site-nav.is-open { max-height: 85vh; overflow-y: auto; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
	.site-nav .menu a { padding: 14px 8px; font-size: 18px; }
	.site-nav .menu-button > a, .site-nav .whatsapp-menu > a { margin: 8px 0 0; justify-content: center; text-align: center; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
	.site-nav .sub-open > .sub-menu { display: block; }
}

/* ---------- Inhalt ---------- */
.site-main { min-height: 50vh; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.page-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 1000px) { .page-layout.has-sidebar { grid-template-columns: minmax(0, 1fr); } }
.page-title { margin-bottom: .8em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { border-radius: 12px; }
.entry-content .elementor-widget-container img { border-radius: 12px; }

/* Elementor-Inhalt: etwas moderner */
.elementor-widget-heading .elementor-heading-title { color: var(--navy); }
.elementor a.elementor-button, .elementor .elementor-button { border-radius: 999px; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.elementor a.elementor-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46, 91, 135, .25); }

/* Seitenleiste */
.sidebar .widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 24px; overflow: hidden; }
.widget-title { font-size: 1.1rem; margin-bottom: .8em; }
#text-9, #text-9 .textwidget { height: auto; overflow: visible; }
#text-9 .fts-facebook-page-wrap, #text-9 .fts-jal-fb-wrapper, #text-9 .fts-simple-fb-wrapper { height: 1400px; max-height: 1400px; overflow-y: auto; overflow-x: hidden; }
#text-9 .fts-jal-single-fb-post { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 14px; }
@media (max-width: 1000px) { #text-9 .fts-facebook-page-wrap, #text-9 .fts-jal-fb-wrapper, #text-9 .fts-simple-fb-wrapper { height: 900px; max-height: 900px; } }

/* Kontaktkarte (Kontakt speichern) */
.mtd-contact-card { margin: 40px 0 60px; padding: 32px 36px; background: var(--bg); border-radius: 18px; max-width: 760px; }
.mtd-contact-card__content { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.mtd-contact-card__text { flex: 1; min-width: 280px; }
.mtd-contact-card__text h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.2; }
.mtd-contact-card__info { margin: 0 0 18px; padding-left: 20px; }
.mtd-contact-card__qr { flex: 0 0 210px; text-align: center; }
.mtd-contact-card__qr img { max-width: 210px; width: 100%; height: auto; border-radius: 12px; background: #fff; padding: 10px; }
.mtd-contact-card__qr-note { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.mtd-btn-primary { display: inline-block; margin-top: 10px; padding: 12px 22px; border-radius: 999px; background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff !important; text-decoration: none; font-weight: 600; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff; padding: 14px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px rgba(45, 92, 136, .3); }
.btn-secondary { background: #eef3f8; color: var(--blue); padding: 14px 28px; border-radius: 999px; text-decoration: none; }
@media (max-width: 768px) { .mtd-contact-card { padding: 24px 20px; } .mtd-contact-card__content { flex-direction: column; align-items: flex-start; } .mtd-contact-card__qr { flex: 0 0 auto; width: 100%; text-align: left; } .mtd-contact-card__qr img { max-width: 180px; } }

/* Formulare (Kontaktformular 7) */
.wpcf7 { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], textarea, select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #d0d7e2; background: #f9fbfd; font: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 91, 135, .15); background: #fff; }
.wpcf7 input[type=submit], button[type=submit], .button, .wp-element-button { background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff; border: 0; border-radius: 999px; padding: 13px 30px; font: inherit; font-weight: 600; cursor: pointer; width: auto; }
.wpcf7 input[type=submit]:hover { background: linear-gradient(135deg, #4a7fb3, #1f3e5e); }

/* Video */
.wp-embedpress iframe { width: 100%; border-radius: 12px; box-shadow: 0 10px 25px rgba(0, 0, 0, .12); border: 0; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--navy); color: #d7e0ec; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer .widget-title, .site-footer h2, .site-footer h3 { color: #fff; font-size: 1.1rem; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding-top: 52px; padding-bottom: 36px; font-size: 15px; }
.footer-widgets .widget { margin-bottom: 20px; }
.footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.footer-widgets li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }

/* ---------- Mobil-Hinweis-Knopf aus alter Seite (ausgeblendet) ---------- */
.mtd-back-to-mobile-wrap { display: none !important; }

/* ---------- WooCommerce (B2B-Shop) ---------- */
.woocommerce ul.products li.product-category { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow); transition: all .25s ease; text-align: center; }
.woocommerce ul.products li.product-category:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .12); }
.woocommerce ul.products li.product-category img { border-radius: 18px; margin: 8px 0 12px; }
.woocommerce ul.products li.product-category h2 { font-size: 16px; font-weight: 600; color: var(--blue); }
.woocommerce ul.products li.product-category .count { display: none; }
.fpf-fields-container select[multiple], .woocommerce form.cart select[multiple] { min-height: 150px; height: 150px; }
.fpf-fields-container textarea, .woocommerce form.cart textarea { min-height: 110px; }

body.woocommerce-checkout .woocommerce { max-width: 1180px; margin: 0 auto; }
body.woocommerce-checkout .woocommerce-billing-fields, body.woocommerce-checkout .woocommerce-additional-fields, body.woocommerce-checkout #order_review { background: #fff; padding: 28px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); border: 1px solid rgba(0, 0, 0, .04); margin-bottom: 26px; }
body.woocommerce-checkout table.shop_table thead th { background: var(--navy); color: #fff; padding: 16px 18px; border: 0; }
body.woocommerce-checkout .payment_box { background: linear-gradient(180deg, #20324b, #1b2a40) !important; color: #fff !important; border-radius: 14px; border: 0 !important; }
body.woocommerce-checkout button#place_order { background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: #fff; border-radius: 999px; padding: 15px 32px; border: 0; font-weight: 700; }
body.woocommerce-cart .wc-block-components-sidebar { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); border: 1px solid rgba(0, 0, 0, .04); padding: 22px; }
body.woocommerce-cart .wc-block-cart__submit-button, body.woocommerce-cart .wc-block-components-button { background: linear-gradient(135deg, var(--blue-light), var(--blue)) !important; color: #fff !important; border: 0 !important; border-radius: 16px !important; min-height: 58px !important; font-weight: 700 !important; }

/* Preise im Shop ausblenden / Text "Preis nach Angebot" (wie bisher) */
body.single-product.postid-2422 .price, body.single-product.postid-2422 .woocommerce-Price-amount, body.single-product.postid-2422 p.price, body.single-product.postid-2422 span.price { display: none !important; }
body.single-product.postid-2422 .summary::before { content: "Preis wird nach Angebot berechnet"; display: block; font-size: 16px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
body.woocommerce-cart .wc-block-components-product-price__value, body.woocommerce-cart .wc-block-components-product-price, body.woocommerce-cart .wc-block-cart-item__total, body.woocommerce-cart .wc-block-cart-item__prices, body.woocommerce-cart .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-components-totals-item__value, body.woocommerce-cart .wc-block-components-totals-footer-item-tax-value,
body.woocommerce-checkout .wc-block-components-product-price__value, body.woocommerce-checkout .wc-block-components-product-price, body.woocommerce-checkout .wc-block-cart-item__total, body.woocommerce-checkout .wc-block-cart-item__prices, body.woocommerce-checkout .wc-block-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-totals-item__value, body.woocommerce-checkout .wc-block-components-totals-footer-item-tax-value { display: none !important; }
body.woocommerce-cart .wc-block-cart-item__wrap::after, body.woocommerce-checkout .wc-block-cart-item__wrap::after { content: "Preis nach Angebot"; display: block; font-size: 15px; font-weight: 600; color: var(--blue); margin-top: 6px; }
body.woocommerce-cart .wc-block-components-totals-item::after, body.woocommerce-checkout .wc-block-components-totals-item::after { content: "Preis nach Angebot"; display: inline-block; font-size: 15px; font-weight: 600; color: var(--blue); margin-left: 10px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Feinschliff Menü */
.site-nav .menu > li { flex: 0 0 auto; }
.site-nav .menu a { white-space: nowrap; }
.site-nav .menu-button > a { margin-left: 6px; }
@media (min-width: 901px) and (max-width: 1100px) { .site-nav .menu a { padding: 10px 9px; font-size: 15px; } .logo-img { height: 36px; } }

/* Logo mittig oben, Menue darunter */
.brand-bar { background: #fff; text-align: center; padding: 22px 0 16px; }
.brand-bar .logo { display: inline-block; }
.brand-bar .logo-img { height: 64px; }
.site-header { position: sticky; top: 0; border-top: 1px solid var(--line); }
.header-inner { justify-content: center; min-height: 64px; }
.site-nav .menu { justify-content: center; }
.nav-toggle b { font-size: 16px; color: var(--navy); margin-left: 10px; vertical-align: middle; }
.nav-toggle { display: none; align-items: center; }
@media (max-width: 900px) {
	.brand-bar { padding: 14px 0 10px; }
	.brand-bar .logo-img { height: auto; width: 82vw; max-width: 340px; }
	.header-inner { justify-content: flex-start; min-height: 54px; }
	.nav-toggle { display: inline-flex; }
	.bars { display: inline-block; }
}

/* Fusszeile: Oeffnungszeiten als Tabelle, Social-Icons sauber ausgerichtet */
.footer-widgets table.hours { border-collapse: collapse; width: 100%; max-width: 260px; }
.footer-widgets table.hours th, .footer-widgets table.hours td { padding: 4px 0; font-size: 15px; text-align: left; vertical-align: top; border: 0; background: none; color: #d7e0ec; }
.footer-widgets table.hours th { font-weight: 600; padding-right: 16px; color: #fff; }
.footer-widgets table.hours td { text-align: right; white-space: nowrap; }
.footer-widgets .sfsi_widget { justify-content: flex-start !important; }
.footer-widgets .sfsi_widget .norm_row { position: static !important; width: auto !important; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; text-align: left !important; }
.footer-widgets .sfsi_widget .sfsi_wicons { margin: 0 !important; width: 44px !important; height: 44px !important; }
.footer-widgets .sfsi_widget .sfsi_wicons a { width: 44px !important; height: 44px !important; border-radius: 50%; display: block; }
.footer-widgets .sfsi_widget .sfsi_wicons img { width: 44px !important; height: 44px !important; }
.footer-widgets .sfsi_widget #sfsi_wDiv { display: none; }
.footer-widgets .widget { text-align: left; }
.footer-widgets .trustindex-widget, .footer-widgets [class*="ti-widget"] { max-width: 100%; }

/* Knoepfe (B2B Shop / WhatsApp): Hover darf die Farbe nicht aufhellen */
.site-nav .menu > li.menu-button > a:hover, .site-nav .menu > li.menu-button > a:focus, .site-nav .menu > li.menu-button.current-menu-item > a { background: linear-gradient(135deg, #4a7fb3, #1f3e5e); color: #fff !important; }
.site-nav .menu > li.whatsapp-menu > a:hover, .site-nav .menu > li.whatsapp-menu > a:focus { background: var(--green-dark); color: #fff !important; }

/* Social-Icons wieder in Originalgroesse (40px), nur Anordnung angepasst */
.footer-widgets .sfsi_widget .sfsi_wicons { width: 40px !important; height: 40px !important; }
.footer-widgets .sfsi_widget .sfsi_wicons a { width: 40px !important; height: 40px !important; border-radius: 50% !important; }
.footer-widgets .sfsi_widget .sfsi_wicons img { width: 40px !important; height: 40px !important; border-radius: 50% !important; padding: 0 !important; }
.footer-widgets .sfsi_widget .norm_row { gap: 10px; }

/* Social-Icons: Symbol 22px mittig im Kreis */
body .site-footer .footer-widgets .sfsi_widget .norm_row .sfsi_wicons .inerCnt a.sficn { display: flex !important; align-items: center; justify-content: center; width: 40px !important; height: 40px !important; border-radius: 50% !important; }
body .site-footer .footer-widgets .sfsi_widget .norm_row .sfsi_wicons .inerCnt a.sficn img.sfsi_wicon { width: 22px !important; height: 22px !important; max-width: 22px !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; object-fit: contain; }

/* Menuebalken in Navy (#1c314c) wie vorher */
.site-header { background: var(--navy); border-top: 0; border-bottom: 0; backdrop-filter: none; box-shadow: 0 4px 16px rgba(20, 36, 58, .25); }
.site-nav .menu > li > a { color: #fff; }
.site-nav .menu > li:not(.menu-button):not(.whatsapp-menu) > a:hover, .site-nav .menu > li:not(.menu-button):not(.whatsapp-menu).current-menu-item > a, .site-nav .menu > li:not(.menu-button):not(.whatsapp-menu).current-menu-ancestor > a { background: rgba(255, 255, 255, .14); color: #fff; }
.site-nav .menu > li.menu-button > a { background: linear-gradient(135deg, #5b8fc4, #2e5b87); border: 1px solid rgba(255, 255, 255, .22); }
.site-nav .sub-menu a { color: var(--navy); }
.site-nav .sub-menu a:hover { background: var(--bg); color: var(--blue); }
.nav-toggle .bars span { background: #fff; }
.nav-toggle b { color: #fff; }
@media (max-width: 900px) {
	.site-nav { background: var(--navy); border-bottom: 0; }
	.site-nav .menu > li > a { color: #fff; }
	.site-nav .sub-menu a { color: #fff; }
	.site-nav .sub-menu a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
}

/* Knoepfe im Inhalt: gleich gross, Zweitknopf mit blauer Umrandung */
a.btn-primary, a.btn-secondary { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 52px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; border: 2px solid var(--blue); transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
a.btn-primary { background: linear-gradient(135deg, #5b8fc4, #2e5b87); color: #fff; }
a.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46, 91, 135, .3); color: #fff; }
a.btn-secondary { background: transparent; color: var(--blue); box-shadow: none; opacity: 1; }
a.btn-secondary:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

/* Einheitliche Farben: Ueberschriften Navy, Fliesstext dunkelgrau */
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4,
.entry-content .elementor-heading-title, .entry-content .elementor-widget-heading .elementor-heading-title { color: var(--navy) !important; }
.entry-content .elementor-widget-text-editor, .entry-content .elementor-widget-text-editor p, .entry-content .elementor-widget-text-editor li { color: var(--text) !important; }
.entry-content .elementor-widget-text-editor a { color: var(--blue) !important; }
.entry-content .elementor-widget-text-editor strong { color: var(--navy); }

/* Knopf-Schrift darf nicht von der Link-Farbe im Text ueberschrieben werden */
.entry-content .elementor-widget-text-editor a.btn-primary, .entry-content .elementor-widget-text-editor a.btn-primary:hover { color: #fff !important; }
.entry-content .elementor-widget-text-editor a.btn-secondary { color: var(--blue) !important; }
.entry-content .elementor-widget-text-editor a.btn-secondary:hover { color: #fff !important; }

/* Ueber uns: Team-Fotos kompakt und zentriert statt grosser Raster-Luecken */
.elementor-136 .elementor-element-c956c0f > .e-con-inner { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 32px 44px !important; padding: 8px 0 24px; }
.elementor-136 .elementor-element-c956c0f .elementor-widget-image { width: 180px; flex: 0 0 180px; margin: 0; }
.elementor-136 .elementor-element-c956c0f .elementor-widget-image img { width: 180px; height: 180px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.elementor-136 .elementor-element-c956c0f .widget-image-caption { text-align: center; margin-top: 10px; font-weight: 600; color: var(--navy); font-size: 16px; }
.elementor-136 .elementor-element-c956c0f .elementor-element-d1715f4 { order: 9; width: 150px; flex: 0 0 150px; align-self: center; }
.elementor-136 .elementor-element-c956c0f .elementor-element-d1715f4 img { width: 150px; height: auto; border-radius: 0; box-shadow: none; }
@media (max-width: 600px) { .elementor-136 .elementor-element-c956c0f > .e-con-inner { gap: 24px 20px !important; } .elementor-136 .elementor-element-c956c0f .elementor-widget-image { width: 42%; flex-basis: 42%; } .elementor-136 .elementor-element-c956c0f .elementor-widget-image img { width: 100%; height: auto; aspect-ratio: 1; } .elementor-136 .elementor-element-c956c0f .elementor-element-d1715f4 { width: 42%; flex-basis: 42%; } .elementor-136 .elementor-element-c956c0f .elementor-element-d1715f4 img { width: 100%; } }

.elementor-136 .elementor-element-c956c0f > .e-con-inner { justify-content: center !important; align-content: flex-start !important; width: 100%; max-width: 100%; grid-template-columns: none !important; }

/* Abstand zwischen B2B Shop und WhatsApp im Menue */
.site-nav .menu > li.whatsapp-menu { margin-left: 14px; }
@media (max-width: 900px) { .site-nav .menu > li.whatsapp-menu { margin-left: 0; } }

/* Veredelungsarten als Karten */
.entry-content .elementor-469 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; align-items: stretch; }
.elementor-469 > .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; width: auto !important; max-width: none !important; margin: 0 !important; }
.elementor-469 .mtd-intro { grid-column: 1 / -1; padding: 0 !important; }
.elementor-469 .mtd-intro h1 { margin-bottom: .3em; }
.elementor-469 .mtd-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px !important; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.elementor-469 .mtd-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 49, 76, .16); }
.elementor-469 .mtd-card-img { display: block; width: 160px; height: auto; border-radius: 12px; margin-bottom: 4px; }
.elementor-469 .mtd-card .elementor-heading-title { font-size: 1.45rem; margin: 0; }
.elementor-469 .mtd-card .elementor-widget-text-editor { font-size: 16px; line-height: 1.6; }
.elementor-469 .mtd-card .elementor-widget-container { padding: 0; }
.elementor-469 .mtd-cta { background: var(--bg); border-radius: var(--radius); padding: 32px !important; text-align: center; margin-top: 8px !important; }
.elementor-469 .mtd-cta .cta-buttons { margin-top: 18px; }
@media (max-width: 600px) { .entry-content .elementor-469 { grid-template-columns: minmax(0, 1fr); } }

/* Karten: langer Text eingeklappt, "Mehr anzeigen" */
.elementor-469 .mtd-card .elementor-widget-text-editor.is-collapsible { position: relative; max-height: 230px; overflow: hidden; transition: max-height .3s ease; }
.elementor-469 .mtd-card .elementor-widget-text-editor.is-collapsible::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); pointer-events: none; transition: opacity .2s; }
.elementor-469 .mtd-card .elementor-widget-text-editor.is-collapsible.is-open { max-height: 2000px; }
.elementor-469 .mtd-card .elementor-widget-text-editor.is-collapsible.is-open::after { opacity: 0; }
.mtd-more { align-self: flex-start; background: none; border: 0; padding: 4px 0; margin-top: auto; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mtd-more:hover { color: var(--navy); }
.mtd-more:focus-visible { outline: 3px solid rgba(46, 91, 135, .4); outline-offset: 3px; border-radius: 6px; }
