/*
 * B&W Glasbau Theme â style.css
 * Design: Industrial Precision
 * Farben: Orange #e64f3e, Navy #0D1B2A, WeiÃ #ffffff
 * Fonts: Barlow Condensed (Headlines), Barlow (Body)
 */

/* âââ RESET & BASE âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* âââ VARIABLEN âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
:root {
  --orange:     #e64f3e;
  --orange-dark:#c73e2e;
  --navy:       #0D1B2A;
  --navy-light: #1a2d42;
  --gray-light: #f5f5f5;
  --gray-mid:   #e0e0e0;
  --gray-text:  #666;
  --white:      #ffffff;
  --topbar-h:   40px;
  --header-h:   80px;
}

/* âââ TOP BAR âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
#bwg-topbar {
  width: 100%;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.topbar-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  font-family: 'Barlow', sans-serif;
  font-size: 12.5px;
}

.topbar-item:hover { color: var(--orange); }

.topbar-item svg { flex-shrink: 0; }

.topbar-brand {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  transition: all 0.2s;
}

.topbar-social:hover {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

/* âââ HEADER ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
#bwg-header {
  width: 100%;
  background: var(--white);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img,
.site-logo .custom-logo {
  height: 52px !important;
  width: auto !important;
  max-width: 200px;
}

/* âââ NAVIGATION ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
#bwg-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

ul.bwg-menu {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.bwg-menu > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

ul.bwg-menu > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}

ul.bwg-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

ul.bwg-menu > li:hover > a,
ul.bwg-menu > li.current-menu-item > a,
ul.bwg-menu > li.current-menu-ancestor > a {
  color: var(--orange);
}

ul.bwg-menu > li:hover > a::after,
ul.bwg-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Dropdown-Pfeil für Eltern-Items */
ul.bwg-menu > li.menu-item-has-children > a::before {
  content: ' \25BE';
  font-size: 10px;
}

/* KONTAKT-Button */
ul.bwg-menu > li.menu-item-kontakt > a,
ul.bwg-menu > li:last-child > a {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 3px;
  height: auto;
  margin-left: 8px;
  font-size: 13px;
}

ul.bwg-menu > li.menu-item-kontakt > a:hover,
ul.bwg-menu > li:last-child > a:hover {
  background: var(--orange-dark);
}

ul.bwg-menu > li.menu-item-kontakt > a::after,
ul.bwg-menu > li:last-child > a::after {
  display: none;
}

/* âââ DROPDOWN-MENÜ âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
ul.bwg-menu > li > ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-top: 3px solid var(--orange);
  z-index: 9999;
  padding: 8px 0;
  list-style: none;
  margin: 0;
}

ul.bwg-menu > li:hover > ul.sub-menu {
  display: block;
}

ul.bwg-menu > li > ul.sub-menu > li > a {
  display: block;
  padding: 10px 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  transition: all 0.15s;
  border-left: 3px solid transparent;
}

ul.bwg-menu > li > ul.sub-menu > li > a:hover {
  color: var(--orange);
  background: var(--gray-light);
  border-left-color: var(--orange);
  padding-left: 24px;
}

/* âââ MOBILE TOGGLE âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.bwg-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* âââ MOBILE MENÜ âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--topbar-h) + var(--header-h));
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-height: calc(100vh - var(--topbar-h) - var(--header-h));
  overflow-y: auto;
}

.bwg-mobile-menu.open { display: block; }

ul.bwg-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.bwg-mobile-nav > li > a {
  display: block;
  padding: 14px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-mid);
}

ul.bwg-mobile-nav > li > a:hover { color: var(--orange); }

ul.bwg-mobile-nav .sub-menu {
  list-style: none;
  padding: 0;
  background: var(--gray-light);
}

ul.bwg-mobile-nav .sub-menu li a {
  display: block;
  padding: 10px 24px 10px 36px;
  font-size: 14px;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-mid);
}

ul.bwg-mobile-nav .sub-menu li a:hover { color: var(--orange); }

/* âââ ELEMENTOR FULL WIDTH FIX ââââââââââââââââââââââââââââââââââââââââââââââââ */
/* Alle Elementor-Sections auf volle Breite */
.elementor-section.elementor-section-full_width,
.elementor-section.elementor-section-boxed,
.elementor-top-section,
.e-con {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Elementor Container auf volle Breite */
.elementor-container {
  max-width: 100% !important;
}

/* Elementor Section Stretch */
.elementor-section-stretched {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* WordPress Admin Bar Offset */
.admin-bar #bwg-topbar { top: 32px; }
.admin-bar #bwg-header { top: 32px; }

/* âââ HERO SLIDER âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* === HERO SLIDER === */
/* HTML: .bwg-hero > .bwg-slide(.active) > img + .bwg-slide-overlay + .bwg-slide-content */

.bwg-hero {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background: #0D1B2A;
}

.bwg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.bwg-slide.active {
  opacity: 1;
  z-index: 2;
}

.bwg-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.bwg-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,27,42,0.80) 0%, rgba(13,27,42,0.45) 55%, rgba(13,27,42,0.15) 100%);
  z-index: 1;
}

.bwg-slide-content {
  position: relative;
  z-index: 3;
  padding: 0 80px;
  max-width: 750px;
  color: #fff;
}

.bwg-slide-label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.bwg-slide-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.0;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.bwg-slide-title span {
  color: rgb(230, 79, 62);
}

.bwg-slide-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
}

.bwg-slide-cta {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 14px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.bwg-slide-cta:hover {
  background: #fff;
  color: #0D1B2A;
}

.bwg-slider-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.bwg-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.25s;
  border: none;
  padding: 0;
}

.bwg-slider-dot.active {
  background: #fff;
}

.bwg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  font-size: 32px;
  line-height: 1;
  padding: 0;
}

.bwg-slider-arrow:hover {
  background: rgba(255,255,255,0.15);
}

.bwg-slider-arrow.prev { left: 16px; }
.bwg-slider-arrow.next { right: 16px; }

/* Legacy aliases */
.bwg-slider-section { width: 100%; position: relative; overflow: hidden; }
.bwg-slider { width: 100%; position: relative; min-height: 600px; }
.bwg-slider-prev { left: 20px; }
.bwg-slider-next { right: 20px; }
.bwg-slider-prev:hover,
.bwg-slider-next:hover { background: var(--orange); }

/* âââ PAGE TITLE SECTION âââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-page-title {
  width: 100%;
  background: var(--navy);
  padding: 60px 80px;
  color: var(--white);
}

.bwg-page-title h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bwg-page-title .breadcrumb {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.7;
}

.bwg-page-title .breadcrumb a { color: var(--orange); }

/* âââ SECTIONS ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-section {
  width: 100%;
  padding: 80px 80px;
}

.bwg-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.bwg-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 8px;
}

.bwg-section-title span { color: var(--orange); }

.bwg-section-subtitle {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 40px;
}

/* âââ INTRO SECTION âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-intro {
  background: var(--white);
  padding: 60px 80px;
}

.bwg-intro-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* âââ NEWS GRID âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-news {
  background: var(--gray-light);
  padding: 80px;
}

.bwg-news-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bwg-news-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bwg-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.bwg-news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.bwg-news-card-body {
  padding: 20px;
}

.bwg-news-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

/* âââ SERVICES GRID âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-services {
  background: var(--white);
  padding: 80px;
}

.bwg-services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.bwg-service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.bwg-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bwg-service-card:hover img { transform: scale(1.05); }

.bwg-service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}

.bwg-service-card-overlay h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* âââ ABOUT SECTION âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-about {
  background: var(--navy);
  padding: 80px;
  color: var(--white);
}

.bwg-about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* âââ CTA SECTION âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-cta {
  background: var(--orange);
  padding: 60px 80px;
  text-align: center;
  color: var(--white);
}

.bwg-cta h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* âââ BUTTONS âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 11px 27px;
  border: 2px solid var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--orange);
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s;
}

.btn-white:hover { background: var(--gray-light); }

/* âââ FOOTER ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
#bwg-footer {
  width: 100%;
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 80px 30px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* âââ ELEMENTOR OVERRIDES âââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* Elementor Sections auf volle Breite */
.elementor-section {
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-section > .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Elementor Inner Container */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1400px !important;
  padding: 0 40px !important;
  margin: 0 auto !important;
}

/* âââ RESPONSIVE ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 1024px) {
  .topbar-brand { display: none; }
  
  #bwg-nav { display: none; }
  .bwg-mobile-toggle { display: flex; }
  
  .header-inner { padding: 0 24px; }
  .topbar-inner { padding: 0 24px; }
  
  .bwg-intro-inner,
  .bwg-about-inner { grid-template-columns: 1fr; gap: 32px; }
  
  .bwg-news-grid { grid-template-columns: repeat(2, 1fr); }
  .bwg-services-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  
  .bwg-section,
  .bwg-intro,
  .bwg-news,
  .bwg-services,
  .bwg-about,
  .bwg-cta { padding: 60px 24px; }
  
  .bwg-page-title { padding: 40px 24px; }
}

@media (max-width: 640px) {
  .topbar-item:last-of-type { display: none; }
  
  .bwg-news-grid { grid-template-columns: 1fr; }
  .bwg-services-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  
  .bwg-slide { min-height: 400px; }
  .bwg-slide-content { padding: 40px 24px; }
}

/* âââ UTILITY âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.text-orange { color: var(--orange); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.bg-orange   { background: var(--orange); }
.bg-navy     { background: var(--navy); }
.bg-gray     { background: var(--gray-light); }

/* âââ CONTACT FORM ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-contact-form input,
.bwg-contact-form textarea,
.bwg-contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: 3px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  margin-bottom: 16px;
}

.bwg-contact-form input:focus,
.bwg-contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.bwg-contact-form textarea { min-height: 140px; resize: vertical; }

/* Elementor Forms */
.elementor-form .elementor-field-group input,
.elementor-form .elementor-field-group textarea {
  border-radius: 3px !important;
  border-color: var(--gray-mid) !important;
}

.elementor-form .elementor-field-group input:focus,
.elementor-form .elementor-field-group textarea:focus {
  border-color: var(--orange) !important;
}

/* âââ PRODUCT / SERVICE CARDS âââââââââââââââââââââââââââââââââââââââââââââââââ */
.bwg-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.bwg-product-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.bwg-product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.bwg-product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bwg-product-card-body {
  padding: 20px;
}

.bwg-product-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.bwg-product-card-body p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* âââ OVERVIEW GRID (Leistungen / Produkte Übersicht) ââââââââââââââââââââââââââ */
.bwg-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 100%;
}

.bwg-overview-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}

.bwg-overview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bwg-overview-item:hover img { transform: scale(1.05); }

.bwg-overview-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  transition: background 0.3s;
}

.bwg-overview-item:hover .bwg-overview-item-overlay {
  background: linear-gradient(to top, rgba(230,79,62,0.9) 0%, rgba(13,27,42,0.3) 60%, transparent 100%);
}

.bwg-overview-item-overlay h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.bwg-overview-item-overlay span {
  font-size: 13px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .bwg-overview-grid { grid-template-columns: repeat(2, 1fr); }
}

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