/*
 * stahlbau.css — TMH Stahlbau spezifische Stile
 * Ergänzt tmh-base.css und tmh-components.css
 */

/* ===== USP STRIP ===== */
.usp-strip .usp-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.usp-strip .usp-item svg {
  flex-shrink: 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 1.8rem;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(7,19,35,0.12);
  transform: translateY(-3px);
}
.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.6rem;
}
.card-text {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 0.6rem;
}
.section-sub {
  font-size: 1rem;
  color: #555;
  line-height: 1.65;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background-color: var(--c-primary);
  border-radius: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* ===== FORM INPUTS ===== */
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 0.35rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(221,56,50,0.12);
}

/* ===== PROJEKT BLOCKS RESPONSIVE ===== */
@media (max-width: 768px) {
  .projekt-block,
  .leistung-block {
    grid-template-columns: 1fr !important;
  }
  .hero-bg,
  .hero-img-overlay {
    border-radius: 0;
  }
  /* EMB section auf mobil stapeln */
  section[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ===== REF CARDS HOVER ===== */
.ref-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ref-card:hover {
  box-shadow: 0 8px 28px rgba(7,19,35,0.14);
  transform: translateY(-3px);
}

/* ===== LEISTUNG BLOCKS ===== */
.leistung-title {
  color: var(--c-navy);
}

/* ===== LB TRIGGER ===== */
.lb-trigger {
  display: block;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 8px;
}
.lb-trigger img {
  transition: transform 0.3s ease;
}
.lb-trigger:hover img {
  transform: scale(1.04);
}

/* ===== GRID RESPONSIVE HELPERS ===== */
@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr !important;
  }
  .usp-strip .container > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/* WELLE2-FIX: sister-ref-card grid 1fr-auto overflows 390px viewport */
@media (max-width: 640px) {
  .sister-ref-card { grid-template-columns: 1fr !important; }
  .sister-ref-card > div[style*='flex-shrink:0'] { flex-shrink: 1; }
  .sister-ref-card .btn { width: 100%; justify-content: center; box-sizing: border-box; white-space: normal; text-align: center; }
}


/* H1-Kontrast-Guard page-hero — Fix-Welle 20260714 (globale h1-Farbe schlug Hero-Weiß) */
.page-header h1 { color: #fff; }


/* Blog-Filter-Styles portiert aus wartung.css — Fix-Welle 20260714 */
.blog-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.blog-filter-btn {
  background: #fff;
  border: 1.5px solid #dce3ef;
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-navy);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.blog-filter-btn.active,
.blog-filter-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.blog-filter-count {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 32px;
}
.blog-card-read {
  display: flex;
  align-items: center;
  gap: 4px;
}


/* Blog-CTA-Zweitbutton lesbar - Welle B 20260714 */
.article-cta-box .btn-outline {
    color: #071323;
    background: transparent;
    border: 1px solid #071323;
}
.article-cta-box .btn-outline:hover {
    background: #071323;
    color: #fff;
    border-color: #071323;
}


/* page-header unter Fixed-Header - Welle E 20260714 */
.page-header { padding-top: 9.5rem !important; }
@media (max-width: 640px) { .page-header { padding-top: 10rem !important; } }


/* Kontakt-Grid Mobile-Collapse - Welle E 20260714 */
@media (max-width: 768px) {
  .kontakt-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}

/* Mobile: CTA-Buttons duerfen umbrechen statt seitlich rauszulaufen (layoutfix 20260728) */
@media (max-width: 700px) {
  .btn { white-space: normal !important; max-width: 100%; text-align: center; box-sizing: border-box; }
}

/* layoutfix2 20260728: Header-Subline mobil aus, starre Flex-Kinder duerfen schrumpfen */
@media (max-width: 700px) {
  .nav-brand-product-sub { display: none; }
  [style*="flex-shrink:0"] { flex-shrink: 1 !important; max-width: 100%; }
}

/* layoutfix3 20260728: Inline-Grids (1fr auto) mobil einspaltig */
@media (max-width: 700px) {
  [style*="grid-template-columns:1fr auto"] { grid-template-columns: 1fr !important; }
}

/* Familienzeile TMH-Gruppe - 20260919 */
.tmh-familie{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.18);font-size:.82rem;line-height:1.9;display:flex;flex-wrap:wrap;gap:0 14px;align-items:baseline}
.tmh-familie-titel{opacity:.7;margin-right:6px;white-space:nowrap}
.tmh-familie a{color:inherit;opacity:.85;text-decoration:none}
.tmh-familie a:hover{opacity:1;text-decoration:underline}


/* 28.09.2026 – Verfahrenskarten: Text klebte an der roten Linie (padding 0), bei 4 Spalten zu eng */
.verfahren-raster { grid-template-columns: 1fr !important; }
@media (min-width: 720px) { .verfahren-raster { grid-template-columns: repeat(2, 1fr) !important; } }
.verfahren-raster > .card {
  background: var(--c-bg-soft, #f7f9fa);
  padding: 1.4rem 1.6rem 1.5rem 1.5rem;
  border-radius: 0 8px 8px 0;
}
.verfahren-raster > .card .card-title { margin-top: 0; }
.verfahren-raster > .card .card-text:last-child,
.verfahren-raster > .card > :last-child { margin-bottom: 0; }
