/*
Theme Name: GastroTech
Theme URI: https://gastrotech.de
Author: Agbonifo Jesuefe
Author URI: https://gastrotech.de
Description: Custom GastroTech WordPress Theme - Hygienic Design Edelstahlmöbel
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: gastrotech
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  --red:          #cc0000;
  --red-dark:     #aa0000;
  --red-hover:    #e00000;
  --dark:         #1a1a1a;
  --gray-dark:    #333333;
  --gray-mid:     #666666;
  --gray-light:   #999999;
  --gray-bg:      #f4f4f4;
  --gray-border:  #dddddd;
  --white:        #ffffff;
  --font-main:    'Roboto', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  --nav-height:   90px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-dark);
  background: var(--white);
  overflow-x: hidden;
}
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page main wrapper — no extra padding */
.gt-page-main { padding: 0; margin: 0; width: 100%; display: block; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--gray-dark);
  color: var(--white);
  font-size: 12px;
  padding: 5px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-address {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
}
.top-bar-address svg { color: var(--red); flex-shrink: 0; }
.top-bar-phone,
.top-bar-right a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  transition: color 0.2s;
}
.top-bar-phone:hover,
.top-bar-right a:hover { color: var(--white); }
.top-bar-right a svg { color: var(--red); }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  overflow: hidden;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
  line-height: 1.8;
}
.lang-btn:last-child { border-right: none; }
.lang-btn:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.lang-btn.lang-active { background: var(--red); color: var(--white); }
.lang-flag { font-size: 13px; line-height: 1; }

/* i18n transition */
.gt-i18n { transition: opacity 0.25s ease; }
body.lang-switching .gt-i18n { opacity: 0; }

/* ============================================
   HEADER / NAV
   ============================================ */
#site-header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 20px;
}
.site-logo img,
.theme-logo-img {
  height: 55px;
  width: auto;
  display: block;
}
.logo-img-link { display: block; }

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-border);
  border-radius: 3px;
  overflow: hidden;
}
.header-search input {
  border: none;
  outline: none;
  padding: 6px 12px;
  font-size: 13px;
  width: 200px;
}
.header-search button {
  background: var(--gray-bg);
  border: none;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--gray-mid);
  transition: background 0.2s;
  display: flex;
  align-items: center;
}
.header-search button:hover { background: var(--gray-border); }
.header-search button svg { display: block; stroke: var(--gray-mid); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  transition: all 0.3s;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
#main-nav {
  background: var(--white);
  border-top: 1px solid var(--gray-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 48px;
}
#primary-menu {
  display: flex;
  align-items: center;
  height: 100%;
}
#primary-menu > li {
  height: 100%;
  position: relative;
}
#primary-menu > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Dropdown */
#primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 999;
}
#primary-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#primary-menu .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-bg);
  transition: background 0.2s, color 0.2s;
}
#primary-menu .sub-menu li a:hover {
  background: var(--red);
  color: var(--white);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
}
.slider-wrapper {
  position: relative;
  min-height: 350px;
}
.slide {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  min-height: 350px;
}
.slide.active { display: block; }
.slide-content {
  display: flex;
  align-items: center;
  min-height: 350px;
  padding: 40px 0;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}
.slide-text {
  padding: 0 60px;
  max-width: 600px;
}
.slide-text h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.slide-text p {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--gray-dark);
  transition: all 0.2s;
}
.slider-arrow svg { width: 18px; height: 18px; stroke: currentColor; }
.slider-arrow:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

/* Slider nav tabs */
.slider-tabs {
  display: flex;
  background: var(--white);
  border-top: 3px solid var(--gray-border);
}
.slider-tabs button {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  border-right: 1px solid var(--gray-border);
  border-bottom: 3px solid transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-mid);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-family: inherit;
}
.slider-tabs button:last-child { border-right: none; }
.slider-tabs button:hover,
.slider-tabs button.active {
  color: var(--red);
  border-bottom-color: var(--red);
  background: var(--gray-bg);
}

/* ============================================
   BUTTONS (global)
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--red-hover); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--red);
  color: var(--red);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
}
.btn-outline:hover { background: var(--red); color: var(--white); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--red);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: none;
}
.btn-white:hover { background: var(--dark); color: var(--white); }

/* Icon inside buttons and links */
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.btn-icon svg { width: 14px; height: 14px; stroke: currentColor; }

/* Link icon (chevron arrow in link-lists) */
.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.link-icon svg { width: 14px; height: 14px; stroke: var(--red); }

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
  text-align: left;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--red);
}

/* Link lists */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.link-list a {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.link-list a:hover { gap: 10px; }

/* ============================================
   EXZELLENZ SECTION
   ============================================ */
.exzellenz-section {
  padding: 60px 0 70px;
  background: var(--white);
}
.exzellenz-heading {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 36px;
  line-height: 1.1;
}
.exzellenz-icons {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-bottom: 44px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #e8e8e8 0%, #c4c4c4 45%, #a8a8a8 100%);
  box-shadow:
    inset 0 2px 5px rgba(255,255,255,0.65),
    inset 0 -2px 5px rgba(0,0,0,0.18),
    0 2px 7px rgba(0,0,0,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.25s, box-shadow 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-circle:hover {
  background: radial-gradient(circle at 35% 32%, #e55 0%, var(--red) 50%, var(--red-dark) 100%);
  box-shadow:
    inset 0 2px 5px rgba(255,255,255,0.25),
    0 4px 14px rgba(204,0,0,0.35);
}
.icon-circle svg {
  width: 32px;
  height: 32px;
  stroke: #777;
  stroke-width: 1.6;
  fill: none;
  transition: stroke 0.2s;
}
.icon-circle:hover svg { stroke: var(--white); }
.icon-item span {
  font-size: 10.5px;
  color: var(--gray-mid);
  display: block;
  text-align: center;
  font-weight: 400;
  line-height: 1.35;
  max-width: 82px;
}
.exzellenz-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.exzellenz-col-left p,
.exzellenz-col-right p {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 14px;
}
.exzellenz-col-left p:last-child,
.exzellenz-col-right p:last-child { margin-bottom: 0; }

/* ============================================
   INDUSTRIES / BRANCHEN
   ============================================ */
.branchen-section {
  padding: 60px 0;
  background: var(--gray-bg);
}
.branchen-text {
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.8;
}
.branchen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 24px;
}
.branche-item {
  background: var(--red);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  text-align: center;
  min-height: 90px;
  cursor: pointer;
  transition: background 0.2s;
  gap: 8px;
}
.branche-item:hover { background: var(--red-dark); }
.branche-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.branche-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
}
.branche-item > span:not(.branche-icon) {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* ============================================
   NEWS / AKTUELLES
   ============================================ */
.news-section {
  padding: 60px 0;
  background: var(--white);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}
.news-header a {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border: 1px solid var(--gray-border);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.news-date {
  font-size: 11px;
  color: var(--gray-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p {
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 12px;
}
.news-card a.read-more {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   EDELSTAHL BANNER
   ============================================ */
.edelstahl-banner {
  background: linear-gradient(135deg, #888 0%, #666 50%, #888 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.edelstahl-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
}
.edelstahl-banner h2 {
  font-size: 42px;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 6px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

/* ============================================
   METALLVERARBEITUNG SECTION
   ============================================ */
.metallverarbeitung-section {
  padding: 60px 0;
  background: var(--white);
}
.metall-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.metall-text h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}
.metall-text p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}
.metall-text .link-list {
  margin-top: 20px;
  gap: 10px;
}
.metall-text .link-list a {
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.metall-text .link-list .link-icon svg {
  width: 12px;
  height: 12px;
}

/* Product image carousel */
.metall-carousel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#metall-carousel {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
#metall-carousel .metall-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 1;
}
#metall-carousel .metall-slide.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
#metall-carousel .metall-slide img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.metall-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  width: 100%;
}
.metall-arrow {
  background: none;
  border: 1px solid var(--gray-border);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-mid);
  border-radius: 2px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.metall-arrow:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.metall-arrow svg { width: 14px; height: 14px; stroke: currentColor; }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-border);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
  display: inline-block;
}
.dot.active { background: var(--red); }

/* ============================================
   KONTAKT CTA (RED BOX)
   ============================================ */
.kontakt-section {
  background: var(--red);
  padding: 50px 0;
  color: var(--white);
}
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.kontakt-left h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.kontakt-left p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 20px;
}
.kontakt-right h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}
.phone-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.phone-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
}
.phone-display a {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}
.phone-display a:hover { opacity: 0.8; }
.kontakt-right .hours {
  font-size: 13px;
  opacity: 0.85;
  line-height: 2;
}

/* ============================================
   PROJEKTWORKFLOW — TAB COMPONENT
   ============================================ */
.workflow-section {
  padding: 60px 0;
  background: var(--gray-bg);
}
.workflow-intro {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 30px;
}
.workflow-tabs {
  display: flex;
  border-bottom: 3px solid var(--gray-border);
  margin-bottom: 0;
}
.workflow-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-mid);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  font-family: inherit;
}
.workflow-tab:hover { color: var(--red); }
.workflow-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
  background: var(--white);
}
.workflow-tab-num {
  width: 24px;
  height: 24px;
  background: var(--gray-border);
  color: var(--gray-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s;
}
.workflow-tab.active .workflow-tab-num {
  background: var(--red);
  color: var(--white);
}
.workflow-panels {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: none;
}
.workflow-panel { display: none; }
.workflow-panel.active { display: block; }
.workflow-panel-inner { padding: 36px 40px; }
.workflow-panel-text p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.workflow-panel-text p:last-of-type { margin-bottom: 20px; }
.workflow-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap 0.2s;
}
.workflow-panel-link:hover { gap: 12px; }
.workflow-panel-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--red);
}

/* ============================================
   FOOTER
   ============================================ */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
}
.footer-top { padding: 50px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.footer-desc {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.6;
}

/* Footer contact rows */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.footer-contact-row svg {
  flex-shrink: 0;
  stroke: var(--red);
  opacity: 0.85;
}
.footer-contact-row a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-contact-row a:hover { color: var(--white); }

/* Social links */
.social-links { display: flex; gap: 8px; margin-top: 12px; }
.social-link {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
  border-radius: 3px;
}
.social-link:hover { background: var(--red); color: var(--white); }
.social-link svg { display: block; }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* Legacy footer contact (not used in new footer but kept) */
.footer-contact { font-size: 12px; line-height: 2; opacity: 0.6; }

/* ============================================
   INTERIOR PAGES
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  padding: 60px 0;
  border-bottom: 4px solid var(--red);
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.page-hero .breadcrumb {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 8px;
}
.page-hero .breadcrumb a { color: var(--red); }
.page-content-section { padding: 60px 0; }
.page-content-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-mid);
  margin-bottom: 20px;
}
.page-content-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  margin-top: 30px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.card-img {
  height: 180px;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img svg { width: 48px; height: 48px; stroke: var(--gray-light); }
.card-body { padding: 20px; }
.card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.card-body p {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}
.card-body a {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */
.gt-elementor-page .gt-page-main,
.elementor-page .gt-page-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.elementor-section.elementor-section-stretched {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw !important;
  max-width: 100vw !important;
}
.page-template-page-fullwidth #main-content { padding: 0; margin: 0; }
.page-template-page-fullwidth #page-wrapper { padding: 0; }
.elementor-widget-container { box-sizing: border-box; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .exzellenz-icons { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .branchen-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  #primary-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 0;
    z-index: 9999;
  }
  #primary-menu.open { display: flex; }
  #primary-menu > li { height: auto; width: 100%; }
  #primary-menu > li > a {
    height: auto;
    padding: 16px 30px;
    font-size: 18px;
    border-bottom: 1px solid var(--gray-border);
  }
  #primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--gray-bg);
  }

  /* Grid collapses */
  .exzellenz-bottom,
  .metall-inner,
  .kontakt-inner,
  .news-grid,
  .cards-grid { grid-template-columns: 1fr; }
  .branchen-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; }

  /* Typography */
  .slide-text       { padding: 30px 20px; }
  .slide-text h1    { font-size: 22px; }
  .edelstahl-banner h2 { font-size: 24px; letter-spacing: 3px; }
  .exzellenz-heading   { font-size: 28px; }
  .exzellenz-icons  { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .icon-circle      { width: 64px; height: 64px; }
  .icon-circle svg  { width: 26px; height: 26px; }

  /* Slider tabs hidden on mobile */
  .slider-tabs { display: none; }

  /* Carousel */
  #metall-carousel  { height: 240px; }

  /* Workflow tabs wrap */
  .workflow-tabs { flex-wrap: wrap; }
  .workflow-tab  { padding: 10px 14px; font-size: 11px; }
  .workflow-panel-inner { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .exzellenz-heading { font-size: 24px; }
  .exzellenz-icons   { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .icon-circle       { width: 58px; height: 58px; }
  .icon-circle svg   { width: 24px; height: 24px; }
  .branchen-grid     { grid-template-columns: 1fr 1fr; }
  .header-search     { display: none; }
  .kontakt-inner     { gap: 30px; }
}
