/* ===================================================
   VASMA – Kabelrinnen MERKUR 2 | CSS Stylesheet
   Farben: Rot #C00000 | Dunkelgrau #333 | Hellgrau #f5f5f5
   =================================================== */

:root {
  --red: #C00000;
  --red-dark: #9a0000;
  --red-light: #e8000020;
  --dark: #222222;
  --gray: #555555;
  --light-gray: #f5f5f5;
  --mid-gray: #e0e0e0;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.18);
  --radius: 6px;
  --transition: 0.25s ease;
  --font: 'Roboto', Arial, sans-serif;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

/* ─── LAYOUT ─────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-gray { background: var(--light-gray); }
.section-dark { background: var(--dark); color: var(--white); }
.section-red { background: var(--red); color: var(--white); }

.section-title {
  font-size: 2rem; font-weight: 700; color: var(--dark);
  margin-bottom: 12px; line-height: 1.2;
}
.section-title span { color: var(--red); }
.section-subtitle {
  font-size: 1.05rem; color: var(--gray); margin-bottom: 48px; max-width: 640px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: var(--light-gray); color: var(--red-dark); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--red); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ─── HEADER / NAV ───────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--mid-gray);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px; max-width: var(--max-width); margin: 0 auto;
}
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo-top { font-size: 1.55rem; font-weight: 900; color: var(--red); letter-spacing: 0.5px; }
.logo-top sup { font-size: 0.7em; vertical-align: super; }
.logo-bottom { font-size: 0.68rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.logo:hover { opacity: 0.88; }
/* Bild-Logo */
.logo.logo-img { flex-direction: column; gap: 1px; text-decoration: none; }
.logo.logo-img img { display: block; height: 38px; width: auto; object-fit: contain; }
.logo-sub { font-size: 0.62rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; margin-top: 1px; }
@media(max-width:480px){ .logo.logo-img img { height: 30px; } .logo-sub { display: none; } }

.nav-list { display: flex; gap: 4px; align-items: center; }
.nav-list a {
  display: block; padding: 8px 14px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; color: var(--dark);
  transition: all var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--red); background: var(--red-light); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; margin-left: 8px; }
.nav-cta:hover { background: var(--red-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #3a3a3a 100%);
  color: var(--white); padding: 88px 0 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white); padding: 6px 14px;
  border-radius: 20px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.hero h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .brand { color: var(--red); display: block; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 40px; display: flex; flex-direction: column; gap: 16px;
}
.hero-stat {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: rgba(255,255,255,0.08);
  border-radius: 8px; border-left: 3px solid var(--red);
}
.hero-stat-num { font-size: 2rem; font-weight: 900; color: var(--red); min-width: 60px; }
.hero-stat-text { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.3; }

/* ─── TRUST BAR ──────────────────────────── */
.trust-bar { background: var(--red); color: var(--white); padding: 20px 0; }
.trust-bar-inner { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 32px;
  border-right: 1px solid rgba(255,255,255,0.25); font-size: 0.88rem; font-weight: 600;
}
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 1.2rem; opacity: 0.9; }

/* ─── USP KARTEN ─────────────────────────── */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.usp-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  border-radius: 10px; padding: 36px 28px; transition: all var(--transition);
  border-top: 4px solid transparent;
}
.usp-card:hover { box-shadow: var(--shadow-hover); border-top-color: var(--red); transform: translateY(-4px); }
.usp-icon { width: 52px; height: 52px; background: var(--red-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.usp-icon i { font-size: 1.5rem; color: var(--red); }
.usp-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.usp-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.6; }

/* ─── PRODUKT-KARTEN ─────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  border-radius: 10px; overflow: hidden; transition: all var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-card-img {
  background: var(--light-gray); padding: 32px; display: flex; align-items: center;
  justify-content: center; height: 180px; overflow: hidden;
}
.product-card-img img { max-height: 120px; object-fit: contain; }
.product-card-img .product-icon { font-size: 4rem; color: var(--mid-gray); }
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.product-card-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 16px; line-height: 1.5; }
.product-card-tag {
  display: inline-block; background: var(--light-gray); color: var(--gray);
  font-size: 0.76rem; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  margin-right: 4px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px;
}
.product-card-link {
  display: flex; align-items: center; gap: 6px; font-size: 0.88rem;
  font-weight: 600; color: var(--red); margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--mid-gray);
}
.product-card-link:hover { gap: 10px; }

/* ─── AUSFÜHRUNGEN ───────────────────────── */
.ausfuehr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ausfuehr-card {
  border-radius: 10px; overflow: hidden; border: 2px solid var(--mid-gray);
  transition: all var(--transition); background: var(--white);
}
.ausfuehr-card:hover { border-color: var(--red); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.ausfuehr-header { padding: 24px 20px 16px; text-align: center; }
.ausfuehr-badge {
  display: inline-block; font-size: 1.4rem; font-weight: 900; padding: 8px 20px;
  border-radius: 6px; margin-bottom: 12px; letter-spacing: 1px;
}
.badge-gz { background: #e8f0fe; color: #2040a0; }
.badge-zz { background: #e8f5e9; color: #1b5e20; }
.badge-a2 { background: #f3e5f5; color: #6a0080; }
.badge-a4 { background: #fff3e0; color: #e65100; }
.ausfuehr-header h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.ausfuehr-header p { font-size: 0.82rem; color: var(--gray); }
.ausfuehr-body { padding: 16px 20px 24px; border-top: 1px solid var(--mid-gray); }
.ausfuehr-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; font-size: 0.84rem; }
.ausfuehr-item i { color: var(--red); margin-top: 2px; flex-shrink: 0; }

/* ─── ANWENDUNGEN / EINSATZGEBIETE ──────── */
.anwendung-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.anwendung-card {
  border-radius: 10px; background: var(--white); border: 1px solid var(--mid-gray);
  padding: 28px 24px; display: flex; align-items: flex-start; gap: 16px;
  transition: all var(--transition);
}
.anwendung-card:hover { box-shadow: var(--shadow); border-color: var(--red); }
.anwendung-icon { width: 48px; height: 48px; background: var(--red); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.anwendung-icon i { font-size: 1.3rem; color: var(--white); }
.anwendung-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }
.anwendung-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.55; }

/* ─── DOWNLOAD KARTEN ────────────────────── */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.download-card {
  background: var(--white); border: 1px solid var(--mid-gray); border-radius: 10px;
  padding: 24px; display: flex; align-items: center; gap: 16px;
  transition: all var(--transition);
}
.download-card:hover { box-shadow: var(--shadow-hover); border-color: var(--red); }
.download-icon { width: 48px; height: 48px; background: var(--red); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.download-icon i { font-size: 1.3rem; color: var(--white); }
.download-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.download-card p { font-size: 0.82rem; color: var(--gray); margin-bottom: 8px; }
.download-card a { font-size: 0.82rem; font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 4px; }

/* ─── KONTAKT ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p { font-size: 1rem; color: var(--gray); margin-bottom: 36px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-item-icon { width: 48px; height: 48px; background: var(--red); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon i { font-size: 1.2rem; color: var(--white); }
.contact-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--gray); text-transform: uppercase;
  letter-spacing: 0.8px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 1.05rem; font-weight: 600; color: var(--dark); }
.contact-item a:hover { color: var(--red); }
.contact-box {
  background: var(--light-gray); border-radius: 12px; padding: 40px;
  border-left: 5px solid var(--red);
}
.contact-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.contact-box p { font-size: 0.95rem; color: var(--gray); margin-bottom: 24px; }
.contact-highlight {
  background: var(--white); border-radius: 8px; padding: 20px 24px;
  margin-bottom: 16px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
.contact-highlight i { font-size: 1.6rem; color: var(--red); }
.contact-highlight strong { display: block; font-size: 1.1rem; }
.contact-highlight span { font-size: 0.85rem; color: var(--gray); }

/* ─── TABELLEN ───────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { background: var(--red); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; }
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--mid-gray); }
.data-table tr:nth-child(even) td { background: var(--light-gray); }
.data-table tr:hover td { background: #fff0f0; }

/* ─── ZERTIFIKATE / BADGES ───────────────── */
.cert-grid { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.cert-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 16px; min-width: 110px; text-align: center;
}
.cert-circle {
  width: 80px; height: 80px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.cert-circle i { font-size: 1.8rem; color: var(--white); }
.cert-item span { font-size: 0.8rem; font-weight: 600; color: var(--white); text-align: center; line-height: 1.3; }

/* ─── BREADCRUMB ─────────────────────────── */
.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--mid-gray); background: var(--light-gray); }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--gray); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li:last-child { color: var(--dark); font-weight: 500; }

/* ─── PAGE HERO ──────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, #3a3a3a 100%);
  color: var(--white); padding: 56px 0 48px; }
.page-hero h1 { font-size: 2.6rem; font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 580px; }

/* ─── ACCORDION (Montage/FAQ) ────────────── */
.accordion { border: 1px solid var(--mid-gray); border-radius: 10px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--mid-gray); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; text-align: left; padding: 18px 24px; background: var(--white);
  font-size: 0.98rem; font-weight: 600; cursor: pointer; border: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.accordion-btn:hover, .accordion-btn.active { background: var(--light-gray); color: var(--red); }
.accordion-btn i { font-size: 0.85rem; transition: transform var(--transition); }
.accordion-btn.active i { transform: rotate(180deg); }
.accordion-content { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; }
.accordion-content.open { max-height: 600px; padding: 20px 24px; }
.accordion-content p { font-size: 0.93rem; color: var(--gray); line-height: 1.7; margin-bottom: 12px; }
.accordion-content ul li { font-size: 0.93rem; color: var(--gray); padding: 4px 0; padding-left: 20px; position: relative; }
.accordion-content ul li::before { content: '›'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ─── HINWEIS-BOX ────────────────────────── */
.info-box {
  background: #fff8e1; border-left: 4px solid #f9a825;
  border-radius: 6px; padding: 20px 24px; margin: 24px 0;
}
.info-box h4 { font-size: 0.95rem; font-weight: 700; color: #7c5800; margin-bottom: 6px; }
.info-box p { font-size: 0.9rem; color: #5c4200; }

/* ─── FOOTER ─────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-size: 1.6rem; font-weight: 900; color: var(--red); margin-bottom: 12px; }
.footer-logo sup { font-size: 0.7em; vertical-align: super; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.88rem; }
.footer-contact-item i { color: var(--red); width: 16px; }
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--white); }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.9); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem;
  color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ─── HIGHLIGHT STREIFEN ─────────────────── */
.highlight-strip {
  background: var(--red); color: var(--white); padding: 48px 0; text-align: center;
}
.highlight-strip h2 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.highlight-strip p { font-size: 1.05rem; opacity: 0.88; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.highlight-strip .btn-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .ausfuehr-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-list { display: none; flex-direction: column; position: absolute; top: 68px; left: 0;
    right: 0; background: var(--white); padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid var(--mid-gray); z-index: 999; }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 16px; border-radius: var(--radius); }
  .nav-cta { margin-left: 0; }
  .hamburger { display: flex; }
  .site-header { position: relative; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.65rem; }
  .trust-bar-inner { flex-direction: column; gap: 4px; align-items: center; }
  .trust-item { border-right: none; padding: 6px 16px; }
  .product-grid, .usp-grid, .download-grid, .anwendung-grid { grid-template-columns: 1fr; }
  .ausfuehr-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero h1 { font-size: 1.9rem; }
  .btn-lg { padding: 13px 24px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .ausfuehr-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
