/* brandshop/brandshop-metallkraft.css – Metallkraft Brandshop (Präfix tts-, unabhängig von Bosch) */

/* Sidebar ausblenden, Content auf volle Breite */
body.tts-page .sidebar-container,
body.tts-page .wd-sidebar{display:none !important}
body.tts-page .wd-content-layout,
body.tts-page .content-layout-wrapper{grid-template-columns:100% !important;display:block !important}
body.tts-page .site-content,
body.tts-page .wd-content-area{flex:0 0 100% !important;max-width:100% !important;width:100% !important}

/* "Filter anzeigen"-Button (Off-Canvas-Sidebar) auf der Metallkraft-Seite ausblenden */
body.tts-page .wd-show-sidebar,
body.tts-page .wd-toolbar-filters,
body.tts-page .woodmart-show-sidebar,
body.tts-page .wd-sidebar-opener{display:none !important}

/* Trefferzahl ueber dem Hero ausblenden (nur Seite 1) */
body.tts-page:not(.paged) .woocommerce-result-count{display:none}

/* Markenfarben – HEX aus dem Metallkraft-Logo uebernehmen */
.tts-wrap,.tts-seo,.tts-cta{--tts-red:#095880;--tts-red-dark:#A8101A;--tts-red-light:#FCEBEB}

/* Container + Ueberlauf-Schutz */
.tts-wrap{margin:0 0 30px;max-width:100%;overflow-x:hidden;box-sizing:border-box}
.tts-wrap *{box-sizing:border-box;min-width:0}
.tts-wrap h2{margin:0 0 20px}
.tts-wrap h2:not(.tts-all){border-left:4px solid var(--tts-red);padding-left:12px}
.tts-section{margin-bottom:50px}
.tts-section[id]{scroll-margin-top:120px}
.tts-all{margin:0 0 20px}

/* Hero-Collage */
.tts-hero{background:var(--tts-red);min-height:420px;padding:48px;display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:center;border-radius:8px;position:relative;overflow:hidden;margin-bottom:20px}
.tts-hero-text,.tts-hero-text h1,.tts-hero-text p{color:#fff}
.tts-hero-text h1{font-size:2.2em;line-height:1.15;margin:0 0 14px}
.tts-hero-text p{opacity:.92;max-width:520px;margin:0 0 22px}
.tts-hero-btn{display:inline-block;background:#fff;color:var(--tts-red);padding:12px 22px;border-radius:4px;font-weight:600;text-decoration:none}
.tts-hero-btn:hover{background:var(--tts-red-light);color:var(--tts-red-dark)}
.tts-hero-btn-2{background:transparent;color:#fff;border:2px solid #fff;margin-left:10px}
.tts-hero-btn-2:hover{background:#fff;color:var(--tts-red)}
.tts-hero-imgs{position:relative;height:340px}
.tts-hero-img{position:absolute;display:block;background:#fff;border-radius:8px;padding:10px;box-shadow:0 10px 30px rgba(0,0,0,.25);transition:transform .2s}
.tts-hero-img:hover{transform:translateY(-4px)}
.tts-hero-img img{width:100%;height:100%;object-fit:contain;display:block}
.tts-hero-img-1{left:0;top:0;width:44%;aspect-ratio:1;z-index:2}
.tts-hero-img-2{right:0;top:12%;width:50%;aspect-ratio:1;z-index:3}
.tts-hero-img-3{left:8%;bottom:0;width:36%;aspect-ratio:4/3;z-index:4}
.tts-hero-img-4{right:4%;bottom:4%;width:26%;aspect-ratio:1;z-index:1}

/* Sprungmarken */
.tts-nav{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}
.tts-nav a{padding:10px 18px;border:2px solid var(--tts-red);color:var(--tts-red);background:#fff;border-radius:4px;font-weight:600;text-decoration:none}
.tts-nav a:hover{background:var(--tts-red);color:#fff}

/* Kurztext */
.tts-intro p{max-width:none;font-size:1.05em}

/* Banner-Kacheln: Metallkraft-Produktgruppen */
.tts-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;grid-auto-rows:auto}
.tts-tiles-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.tts-tiles-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tts-tile{display:flex !important;flex-direction:column;height:auto !important;aspect-ratio:auto !important;border-radius:6px;overflow:hidden;background:#fff;border:1px solid #e5e5e5;text-decoration:none}
.tts-tile img{width:100%;height:200px !important;object-fit:contain;padding:12px;display:block;transition:transform .3s}
.tts-tile:hover img{transform:scale(1.04)}
.tts-tile-text{position:static !important;display:block !important;height:auto !important;min-height:74px;padding:12px 14px;background:var(--tts-red);color:#fff;white-space:normal;overflow:visible}
.tts-tile-text strong,.tts-tile-text small{display:block;color:#fff;white-space:normal;overflow-wrap:anywhere;hyphens:auto}
.tts-tile-text strong{font-size:1.05em;line-height:1.25;margin-bottom:2px}
.tts-tile-text small{opacity:.9;font-size:.8em;line-height:1.3}

/* Produktgrids aus dem Shortcode (Neuheiten / Bestseller) */
.tts-grid ul.products{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;width:100%;margin:0;padding:0;list-style:none}
.tts-grid ul.products li.product{width:auto !important;margin:0 !important}
.tts-grid ul.products img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff}

/* Sortiment-Gruppen + Unterkategorie-Kacheln */
.tts-group{margin-bottom:36px}
.tts-group[id]{scroll-margin-top:120px}
.tts-group h3{margin:0 0 14px;font-size:1.2em}
.tts-group h3 a{color:inherit;text-decoration:none}
.tts-group h3 a:hover{color:var(--tts-red)}
.tts-cats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.tts-cat{display:block;text-align:center;background:#fff;border:1px solid #e5e5e5;border-radius:4px;padding:12px;color:#222;text-decoration:none}
.tts-cat img{width:100%;aspect-ratio:1/1;object-fit:contain;margin-bottom:8px}
.tts-cat span{display:block;font-weight:600;font-size:.9em;line-height:1.3;overflow-wrap:anywhere;hyphens:auto}
.tts-cat:hover{border-color:var(--tts-red);color:var(--tts-red)}

/* SEO-Text unter der Produktliste – buendig mit dem Produktgrid */
.tts-seo{max-width:none;margin:50px 0 30px}
.tts-seo h2{margin:36px 0 15px}
.tts-seo h3{margin:30px 0 10px;font-size:1.2em}
.tts-seo ul{margin:0 0 20px 20px}
.tts-seo li{margin-bottom:6px}
.tts-seo blockquote{border-left:4px solid var(--tts-red);margin:20px 0;padding:12px 20px;background:var(--tts-red-light);border-radius:0}
.tts-seo blockquote p{margin:0;font-style:italic}
.tts-seo cite{display:block;font-style:normal;font-size:.9em;margin-top:6px;color:#555}

/* Call-to-Action unter dem SEO-Text */
.tts-cta{margin:40px 0 0;padding:28px 30px;background:var(--tts-red);color:#fff;border-radius:8px}
.tts-cta h2{color:#fff;border:0 !important;padding:0 !important;margin:0 0 10px}
.tts-cta p{color:#fff;max-width:720px;margin:0 0 18px}
.tts-cta-btn{display:inline-block;background:#fff;color:var(--tts-red);padding:12px 24px;border-radius:4px;font-weight:600;text-decoration:none}
.tts-cta-btn:hover{background:var(--tts-red-light);color:var(--tts-red-dark)}
.tts-cta-alt{display:inline-block;margin-left:16px;color:#fff}
.tts-cta-alt a{color:#fff;text-decoration:underline}

/* FAQ */
.tts-faq{max-width:none;margin:40px 0 0}
.tts-faq-item{border:1px solid #e5e5e5;border-radius:4px;margin-bottom:10px;background:#fff}
.tts-faq-item summary{padding:14px 18px;font-weight:600;cursor:pointer;list-style:none;position:relative;padding-right:44px}
.tts-faq-item summary::-webkit-details-marker{display:none}
.tts-faq-item summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--tts-red);font-size:1.4em;line-height:1}
.tts-faq-item[open] summary::after{content:"–"}
.tts-faq-item[open] summary{border-bottom:1px solid #e5e5e5}
.tts-faq-item p{margin:0;padding:14px 18px;color:#333}



@media(max-width:768px){
  .tts-hero{grid-template-columns:1fr;padding:24px;min-height:0;gap:20px}
  .tts-hero-text h1{font-size:1.5em}
  .tts-hero-btn-2{margin:10px 0 0;display:inline-block}
  .tts-hero-imgs{height:220px}
  .tts-tiles,.tts-tiles-5,.tts-tiles-3,.tts-grid ul.products,.tts-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tts-tile img{height:150px !important}
  .tts-tile-text{min-height:0;padding:10px 12px}
  .tts-tile-text small{display:none}
  .tts-tile-text strong{font-size:.95em}
  .tts-section{margin-bottom:30px}
  .tts-cta{padding:20px}
  .tts-cta-alt{display:block;margin:12px 0 0}
}


/* Hero: Bild 4 lag hinter Bild 2 → Bild 2 nach links/oben, Bild 4 nach vorne */
.tts-hero-img-2{right:6%;top:0;width:46%}
.tts-hero-img-4{right:0;bottom:0;width:26%;z-index:5}
.tts-tile-text small{hyphens:manual;-webkit-hyphens:manual}


/* Metallkraft: Blau */
.tts-wrap,.tts-seo,.tts-cta{--tts-red:#095880;--tts-red-dark:#063F5C;--tts-red-light:#E6F0F5}

/* hover in Markenfarbe statt Theme-Grün */
.tts-wrap .tt-catlist a:hover,
.tts-wrap .tt-catlist a:hover *{color:var(--tts-red)!important}
