/* =========================================================
   LUDERBEIN – B2B THEME
   ========================================================= */

body.page-b2b {
  --b2b-surface: rgba(14, 18, 24, 0.92);
  --b2b-surface-soft: rgba(21, 26, 33, 0.84);
  --b2b-surface-strong: rgba(24, 31, 39, 0.98);
  --b2b-line: rgba(104, 129, 156, 0.42);
  --b2b-line-strong: rgba(148, 181, 212, 0.62);
  --b2b-text-soft: rgba(214, 224, 234, 0.86);
  --b2b-glow: 0 24px 70px rgba(4, 8, 14, 0.56);
  background:
    radial-gradient(980px 540px at 10% 0%, rgba(96, 118, 144, 0.24), transparent 58%),
    radial-gradient(760px 420px at 88% 4%, rgba(219, 16, 33, 0.1), transparent 54%),
    radial-gradient(1100px 720px at 50% 120%, rgba(31, 38, 47, 0.56), transparent 66%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.98), rgba(12, 8, 13, 0.99)),
    var(--bg);
}

body.page-b2b header {
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.95), rgba(9, 11, 16, 0.92));
  border-bottom-color: rgba(104, 129, 156, 0.34);
  box-shadow: 0 10px 34px rgba(3, 6, 10, 0.22);
}

body.page-b2b .menu a[aria-current="page"] {
  background: linear-gradient(180deg, rgba(63, 77, 93, 0.82), rgba(27, 34, 42, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(148, 181, 212, 0.28),
    0 10px 24px rgba(4, 8, 14, 0.22);
}

body.page-b2b .menu a:hover {
  background: rgba(42, 52, 63, 0.68);
}

body.page-b2b footer {
  border-top-color: rgba(104, 129, 156, 0.34);
}

.b2b-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 32px;
}

.b2b-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--b2b-line);
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--b2b-surface-soft);
  box-shadow: var(--b2b-glow);
}

.b2b-panel::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(148, 181, 212, 0.72), rgba(219, 16, 33, 0.22));
  opacity: 0.88;
}

.b2b-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

.b2b-hero {
  padding: 32px;
  border-color: var(--b2b-line-strong);
  background:
    linear-gradient(140deg, rgba(29, 37, 46, 0.98), rgba(14, 18, 24, 0.94)),
    var(--b2b-surface-strong);
}

.b2b-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(148, 181, 212, 0.12), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 100% 24px, 24px 100%;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.b2b-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.b2b-hero__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.b2b-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(148, 181, 212, 0.56);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b2b-text-soft);
  background: rgba(11, 15, 20, 0.68);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.b2b-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(219, 16, 33, 0.12);
}

.b2b-hero h1 {
  margin: 0;
  max-width: 12ch;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.b2b-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--b2b-text-soft);
}

.b2b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

body.page-b2b .btn {
  border-color: rgba(104, 129, 156, 0.52);
  background: linear-gradient(180deg, rgba(28, 34, 43, 0.78), rgba(20, 25, 31, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.page-b2b .btn.primary {
  border-color: rgba(219, 16, 33, 0.46);
  background:
    linear-gradient(180deg, rgba(219, 16, 33, 0.22), rgba(70, 18, 22, 0.12)),
    linear-gradient(180deg, rgba(41, 50, 61, 0.86), rgba(24, 29, 36, 0.92));
}

body.page-b2b .btn:hover {
  border-color: rgba(148, 181, 212, 0.62);
}

.b2b-hero__meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-top: 2px;
}

.b2b-meta-card,
.b2b-stat,
.b2b-card,
.b2b-trust-card,
.b2b-tech-card,
.b2b-cta-box {
  border: 1px solid rgba(104, 129, 156, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(12, 16, 21, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.b2b-meta-card {
  padding: 18px;
}

.b2b-meta-card span,
.b2b-stat span,
.b2b-tech-card__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(104, 129, 156, 0.3);
  background: rgba(29, 37, 46, 0.42);
  color: rgba(214, 224, 234, 0.84);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.b2b-meta-card strong,
.b2b-stat strong {
  display: block;
  color: var(--text);
  line-height: 1.42;
}

.b2b-hero__rail {
  display: grid;
  gap: 12px;
  align-content: start;
}

.b2b-stat {
  padding: 18px;
}

.b2b-band,
.b2b-trust,
.b2b-tech,
.b2b-proof,
.b2b-contact {
  padding: 30px;
}

.b2b-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(104, 129, 156, 0.24);
}

.b2b-section-head h2 {
  margin: 0;
}

.b2b-section-head p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
}

.b2b-grid,
.b2b-trust-grid,
.b2b-process-layout {
  display: grid;
  gap: 16px;
}

.b2b-grid--services {
  grid-template-columns: 1fr;
}

.b2b-card {
  position: relative;
  min-height: 100%;
  padding: 24px;
}

.b2b-card::before,
.b2b-tech-card--usp::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(148, 181, 212, 0.76), rgba(219, 16, 33, 0.28));
}

.b2b-card h3,
.b2b-trust-card h3,
.b2b-tech-card h3,
.b2b-cta-box h3 {
  margin: 0 0 10px;
}

.b2b-card p,
.b2b-trust-card p,
.b2b-tech-card p,
.b2b-cta-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.b2b-card--highlight {
  border-color: rgba(148, 181, 212, 0.46);
  background:
    linear-gradient(180deg, rgba(148, 181, 212, 0.08), rgba(148, 181, 212, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    rgba(16, 20, 26, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(148, 181, 212, 0.08),
    0 18px 42px rgba(6, 10, 16, 0.24);
}

.b2b-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 181, 212, 0.34);
  background: rgba(29, 37, 46, 0.54);
  color: rgba(214, 224, 234, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.b2b-trust-card {
  position: relative;
  padding: 22px 22px 22px 50px;
}

.b2b-trust-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(219, 16, 33, 0.9), rgba(148, 181, 212, 0.7));
  box-shadow: 0 0 0 4px rgba(219, 16, 33, 0.08);
}

.b2b-process-layout {
  grid-template-columns: 1fr;
}

.b2b-tech-card {
  position: relative;
  padding: 22px;
}

.b2b-tech-card--usp {
  border-color: rgba(148, 181, 212, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(148, 181, 212, 0.08),
    0 16px 36px rgba(6, 10, 16, 0.18);
}

.b2b-format-list,
.b2b-step-list,
.b2b-usp-list,
.b2b-checklist ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.b2b-format-list,
.b2b-usp-list {
  display: grid;
  gap: 12px;
}

.b2b-format-list li,
.b2b-usp-list li,
.b2b-checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.b2b-format-list li::before,
.b2b-usp-list li::before,
.b2b-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid rgba(148, 181, 212, 0.82);
  background: linear-gradient(180deg, rgba(148, 181, 212, 0.24), rgba(148, 181, 212, 0.06));
  box-shadow: inset 0 0 0 3px rgba(9, 11, 16, 0.82);
}

.b2b-format-list strong,
.b2b-usp-list strong,
.b2b-step-list strong,
.b2b-checklist strong {
  color: var(--text);
}

.b2b-step-list {
  display: grid;
  gap: 12px;
  counter-reset: none;
}

.b2b-step-list li {
  padding: 16px 18px;
  border: 1px solid rgba(104, 129, 156, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(13, 17, 22, 0.66);
}

.b2b-step-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.b2b-usp-list li {
  padding: 16px 18px 16px 44px;
  border: 1px solid rgba(104, 129, 156, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(13, 17, 22, 0.66);
}

.b2b-usp-list li::before {
  left: 16px;
}

.b2b-contact-layout {
  display: grid;
  gap: 16px;
}

.b2b-cta-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.b2b-cta-box__button {
  width: fit-content;
}

.b2b-checklist {
  padding: 18px;
  border: 1px solid rgba(104, 129, 156, 0.3);
  border-radius: 16px;
  background: rgba(10, 14, 19, 0.64);
}

.b2b-checklist strong {
  display: block;
  margin-bottom: 10px;
}

.b2b-checklist ul {
  display: grid;
  gap: 10px;
}

.b2b-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(104, 129, 156, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(12, 16, 21, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.b2b-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: rgba(171, 183, 194, 0.76);
  letter-spacing: 0.01em;
}

.b2b-form input,
.b2b-form textarea,
.b2b-form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(104, 129, 156, 0.42);
  background: rgba(9, 13, 18, 0.82);
  color: var(--text);
  padding: 12px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.b2b-form select {
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(214, 224, 234, 0.82) 50%),
    linear-gradient(135deg, rgba(214, 224, 234, 0.82) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.b2b-form input:focus,
.b2b-form textarea:focus,
.b2b-form select:focus {
  border-color: rgba(148, 181, 212, 0.66);
  box-shadow: 0 0 0 4px rgba(148, 181, 212, 0.12);
  background: rgba(12, 17, 23, 0.94);
}

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

.b2b-form__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.b2b-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.b2b-note a,
.b2b-note a:visited {
  color: var(--b2b-text-soft);
}

.notice-box {
  margin-top: 18px;
  border: 1px solid rgba(104, 129, 156, 0.36);
  border-radius: 16px;
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0)),
    rgba(14, 18, 24, 0.82);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.notice-box strong {
  color: var(--text);
}

@media (min-width: 820px) {
  .b2b-hero__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.82fr);
    align-items: stretch;
  }

  .b2b-hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .b2b-grid--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .b2b-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .b2b-process-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .b2b-contact-layout {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr);
    align-items: start;
  }

  .b2b-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .b2b-form .full {
    grid-column: 1 / -1;
  }

  .b2b-form .btn {
    width: auto;
    justify-self: start;
  }
}

@media (max-width: 819px) {
  .b2b-hero,
  .b2b-band,
  .b2b-trust,
  .b2b-tech,
  .b2b-proof,
  .b2b-contact {
    padding: 22px;
  }

  .b2b-hero h1 {
    max-width: 12ch;
  }

  .b2b-shell {
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 28px;
  }

  .b2b-form {
    padding: 20px;
  }

  .b2b-cta-box__button,
  .b2b-form .btn {
    width: 100%;
  }
}
