/* ============================================================
   BYB-Dienstleistungen GmbH — byb-gmbh.de
   Farbwelt aus dem Logo: Navy #082A4C · Rot #FF001E
   ============================================================ */

:root {
  --navy: #082a4c;
  --navy-deep: #051d36;
  --navy-soft: #0e3a66;
  --red: #e60019;
  --red-bright: #ff001e;
  --red-dark: #c10015;
  --ink: #16283c;
  --muted: #5b6b7d;
  --line: #dfe6ee;
  --bg: #f4f7fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 42, 76, 0.10);
  --shadow-lg: 0 18px 50px rgba(8, 42, 76, 0.16);
  --font-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 150px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 700;
}

.container { width: min(1180px, 92%); margin: 0 auto; }

section { padding: 84px 0; }

/* ---------- Kicker / Überschriften ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(230, 0, 25, 0.32);
}
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cddcec;
  font-size: 0.86rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--red-bright); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; fill: var(--red-bright); flex-shrink: 0; }
.topbar .tb-right { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(8, 42, 76, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 106px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--red); background: rgba(230, 0, 25, 0.06); }
.main-nav a.active { color: var(--red); }
.main-nav .nav-cta a {
  background: var(--red);
  color: #fff;
  padding: 11px 22px;
  border-radius: 9px;
  margin-left: 8px;
  box-shadow: 0 6px 16px rgba(230, 0, 25, 0.3);
}
.main-nav .nav-cta a:hover { background: var(--red-dark); }

/* ---------- Hamburger (immer sichtbar auf Mobil!) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: var(--navy);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1102;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(2) { background: var(--red-bright); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  html { scroll-padding-top: 120px; }

  /* Burger-Button: display:flex + hohe z-index — darf NIE verdeckt sein */
  .nav-toggle { display: flex !important; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1101;
    background: var(--navy-deep);
    padding: 84px 8% 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
  }
  /* Logo auch im geöffneten Hamburger-Menü zeigen (weiße Karte auf Navy) */
  .main-nav::before {
    content: "";
    display: block;
    width: 158px;
    height: 118px;
    margin: 0 auto 30px;
    background: #ffffff url("../../images/byb-logo-201x150.png") center / 74% no-repeat;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a {
    color: #fff;
    font-size: 1.22rem;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0;
  }
  .main-nav a:hover, .main-nav a.active { color: var(--red-bright); background: transparent; }
  .main-nav .nav-cta a {
    margin: 18px 0 0;
    text-align: center;
    justify-content: center;
    display: block;
    border-bottom: 0;
    border-radius: 10px;
  }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 0, 30, 0.14) 0%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 90px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400; /* Anton hat nur ein Schnittgewicht */
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.18;
  letter-spacing: 0.015em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--red-bright); }
.hero p.lead { font-size: 1.14rem; color: #c9d8e8; max-width: 560px; margin-bottom: 34px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e8f0f8;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.hero-card {
  position: absolute;
  left: -34px;
  bottom: -30px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-card .num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--red); line-height: 1; }
.hero-card .lbl { font-size: 0.86rem; color: var(--muted); line-height: 1.35; }

/* ---------- Leistungs-Karten ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 0, 25, 0.35);
}
.svc-icon {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.svc-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; }
.svc-icon svg .r { stroke: var(--red-bright); }
.svc-card h3 { font-size: 1.22rem; }
.svc-card p { color: var(--muted); font-size: 0.97rem; flex-grow: 1; }
.svc-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.svc-link:hover { color: var(--red-dark); gap: 11px; }
.svc-link { transition: gap 0.18s ease; }

/* ---------- Stats-Band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--red-bright);
  line-height: 1.1;
}
.stat .lbl { color: #b9cadb; font-size: 0.95rem; margin-top: 6px; }

/* ---------- Split (Über uns / Beratung Teaser) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split .img-wrap { position: relative; }
.split .img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.split .img-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  z-index: -1;
}
.split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; margin: 18px 0 28px; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--red) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 13px no-repeat;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-dark) 0%, var(--red) 60%, var(--red-bright) 100%);
  color: #fff;
  padding: 68px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 560px; }
.cta-band .btn { background: #fff; color: var(--red-dark); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-soft) 100%);
  color: #fff;
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 30%, rgba(255, 0, 30, 0.16) 0%, transparent 42%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.015em; color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: #c9d8e8; max-width: 640px; font-size: 1.08rem; }
.breadcrumb { font-size: 0.88rem; color: #9db4c9; margin-bottom: 18px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--red-bright); }
.breadcrumb .sep { margin: 0 8px; color: var(--red-bright); }

/* ---------- Leistungs-Detailblöcke ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.svc-detail + .svc-detail { margin-top: 90px; }
.svc-detail:nth-child(even) .sd-img { order: 2; }
.svc-detail .sd-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.svc-detail h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 14px; }
.svc-detail p { color: var(--muted); margin-bottom: 10px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.info-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}
.info-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 22px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 0, 30, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-row .ico svg { width: 21px; height: 21px; fill: none; stroke: var(--red-bright); stroke-width: 1.8; }
.info-row .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; color: #9db4c9; }
.info-row .val, .info-row .val a { color: #fff; font-weight: 600; }
.info-row .val a:hover { color: var(--red-bright); }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; color: var(--navy); }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fbfcfe;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(8, 42, 76, 0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.consent a { text-decoration: underline; }

/* Honeypot: für Menschen unsichtbar */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Spamschutz / Rechen-Captcha (bunte Zahlen) ---------- */
.captcha-box {
  background: #f6f8fb;
  border: 1.5px dashed var(--line);
  border-radius: 11px;
  padding: 18px;
  margin-bottom: 20px;
}
.captcha-box .cap-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.captcha-box .cap-title svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; }
.captcha-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cap-num {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 10px;
  border-radius: 11px;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 5px 14px rgba(8, 42, 76, 0.22);
  user-select: none;
}
.cap-op { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.captcha-line input {
  width: 90px;
  height: 52px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 11px;
}
.captcha-line input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 0, 25, 0.15); }
.cap-refresh {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, transform 0.3s ease;
}
.cap-refresh:hover { background: var(--red); transform: rotate(180deg); }
.cap-refresh svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; }
.cap-error { display: none; color: var(--red); font-weight: 600; font-size: 0.9rem; margin-top: 10px; }
.cap-error.show { display: block; }

.form-status { display: none; border-radius: 10px; padding: 15px 18px; font-weight: 600; margin-bottom: 18px; }
.form-status.ok { display: block; background: #e7f7ee; color: #146c3c; border: 1px solid #b9e6cc; }
.form-status.err { display: block; background: #fdecec; color: #a3121f; border: 1px solid #f5c2c4; }

.map-note { margin-top: 26px; }

/* ---------- Rechtstexte ---------- */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.45rem; margin: 38px 0 12px; }
.legal-content h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.legal-content p, .legal-content li { color: #3c4c5e; margin-bottom: 10px; }
.legal-content ul { padding-left: 22px; }
.legal-content .lead-block {
  background: #fff;
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 10px;
}

/* ---------- Cookie-Hinweis ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(920px, 94%);
  background: var(--navy-deep);
  color: #cddcec;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: cb-in 0.35s ease;
}
@keyframes cb-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner a:hover { color: var(--red-bright); }
.cookie-banner strong { color: #fff; }
.cookie-banner .cb-btn {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 9px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cookie-banner .cb-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.cookie-banner.cb-hide { opacity: 0; transition: opacity 0.3s ease; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9cadb; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #b9cadb; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--red-bright); }
.footer-brand p { font-size: 0.93rem; margin-top: 16px; max-width: 300px; }
.footer-logo { display: block; margin-bottom: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; fill: none; stroke: var(--red-bright); stroke-width: 1.8; flex-shrink: 0; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.87rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  section { padding: 62px 0; }
  .hero { padding: 74px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual .hero-img { height: 320px; }
  .hero-card { left: 12px; bottom: -26px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split .img-wrap img { height: 320px; }
  .split .img-wrap::after { inset: 12px -10px -12px 12px; }
  .svc-detail { grid-template-columns: 1fr; gap: 30px; }
  .svc-detail:nth-child(even) .sd-img { order: 0; }
  .svc-detail .sd-img img { height: 280px; }
  .svc-detail + .svc-detail { margin-top: 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar .tb-right { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .brand img { height: 82px; }
  .stats-grid { gap: 22px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
