/* KERNBRUCH footer v6: approved landscape proportions, real text and links.
   All rules are isolated from previous footer implementations. */
.kb-footer-v4 {
  --kb4-red: #e52332;
  --kb4-silver: #ececed;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-top: 1px solid #37393c;
  color: var(--kb4-silver);
  background: radial-gradient(ellipse at 95% 1%, #3a3b40 0, #2b2c31 20%, transparent 51%), linear-gradient(150deg, #1b1c20, #25262a 58%, #202125);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.4;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.kb-footer-v4::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background: url('/assets/concrete-wall-v3.jpg') right top / 1104px 630px no-repeat;
  mask-image: linear-gradient(to bottom, #000, transparent 580px);
  opacity: .09;
  mix-blend-mode: luminosity;
}
.kb-footer-v4::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.kb-footer-v4 *, .kb-footer-v4 *::before, .kb-footer-v4 *::after { box-sizing: border-box; }
.kb-footer-v4 .kb4-svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.kb-footer-v4 .kb4-wrap { position: relative; width: 90%; max-width: 1500px; margin: 0 auto; padding: 28px 0 0; }
.kb-footer-v4 .kb4-brand { padding: 0 0 25px; border-bottom: 1px solid #969799; }
.kb-footer-v4 .kb4-wordmark { mix-blend-mode: lighten; display: block; width: min(47%, 610px); margin: 0; padding: 0; }
.kb-footer-v4 .kb4-wordmark svg { display: block; width: 100%; height: auto; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 2%, #000 97%, transparent); }
.kb-footer-v4 .kb4-stage { position: relative; padding: 39px 0 130px; }
.kb-footer-v4 .kb4-columns { position: relative; z-index: 2; display: grid; grid-template-columns: 29% 35.5% 35.5%; }
.kb-footer-v4 .kb4-columns > section { min-width: 0; margin: 0; padding: 0; background: transparent; }
.kb-footer-v4 .kb4-columns > section + section { border-left: 1px solid #65666a; padding-left: 4vw; }
.kb-footer-v4 h2 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(25px, 2.35vw, 34px); font-weight: 750; line-height: 1.15; letter-spacing: .015em; color: #f0f0f1; margin: 0 0 25px; }
.kb-footer-v4 h2::after { content: ""; display: block; width: 90px; max-width: 28%; height: 5px; background: var(--kb4-red); margin-top: 13px; }
.kb-footer-v4 a { color: inherit; text-decoration: none; text-underline-offset: 5px; transition: color .15s ease; }
.kb-footer-v4 a:hover { color: #fff; text-decoration: underline; }
.kb-footer-v4 a:focus-visible { outline: 2px solid #f36a75; outline-offset: 5px; border-radius: 2px; }
.kb-footer-v4 strong { font-weight: 700; }
.kb-footer-v4 .kb4-contact-row { display: grid; grid-template-columns: 33px minmax(0, 1fr); column-gap: 20px; align-items: start; padding-right: 12px; }
.kb-footer-v4 .kb4-contact-icon { width: 33px; height: 33px; color: var(--kb4-red); margin-top: 1px; }
.kb-footer-v4 address { margin: 0; padding: 0; font-size: clamp(17px, 1.59vw, 24px); line-height: 1.43; font-style: normal; }
.kb-footer-v4 address strong { display: inline-block; font-size: clamp(19px, 1.8vw, 26px); margin-bottom: 2px; }
.kb-footer-v4 .kb4-email { margin-top: 31px; }
.kb-footer-v4 .kb4-email > div { min-width: 0; }
.kb-footer-v4 .kb4-email strong { font-size: clamp(19px, 1.8vw, 26px); }
.kb-footer-v4 .kb4-email a { display: inline-block; font-size: clamp(17px, 1.59vw, 24px); overflow-wrap: anywhere; }
.kb-footer-v4 .kb4-email small { display: block; margin-top: 9px; font-size: 12px; line-height: 1.5; color: #b9bbc1; }
.kb-footer-v4 ul { margin: 0; padding: 0; list-style: none; }
.kb-footer-v4 li { margin: 0; padding: 0; }
.kb-footer-v4 .kb4-services ul { display: grid; gap: 9px; }
.kb-footer-v4 .kb4-services li > a, .kb-footer-v4 .kb4-service-item { display: flex; align-items: center; gap: clamp(15px, 1.52vw, 22px); min-height: 40px; line-height: 1.3; }
.kb-footer-v4 .kb4-services li > a > span:last-child, .kb-footer-v4 .kb4-service-item > span:last-child { min-width: 0; }
.kb-footer-v4 .kb4-service-icon { display: grid; place-items: center; flex: 0 0 clamp(46px, 4.15vw, 60px); width: clamp(46px, 4.15vw, 60px); height: 40px; border: 1px solid #414246; border-radius: 5px; color: #d5d6d8; background: linear-gradient(135deg, #36373b, #2c2d31); box-shadow: 0 1px 2px #0002; }
.kb-footer-v4 .kb4-service-icon svg { width: 38px; height: 31px; display: block; }
.kb-footer-v4 .kb4-links ul { display: grid; gap: 12px; }
.kb-footer-v4 .kb4-links a { display: flex; align-items: baseline; gap: 22px; line-height: 1.25; }
.kb-footer-v4 .kb4-links a::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border: solid var(--kb4-red); border-width: 2px 2px 0 0; transform: rotate(45deg); align-self: center; }
.kb-footer-v4 .kb4-art { position: absolute; z-index: 1; pointer-events: none; width: min(34vw, 510px); right: -4.5vw; bottom: 0; line-height: 0; }
.kb-footer-v4 .kb4-art img { display: block; width: 100%; height: auto; opacity: 1; object-fit: contain; }
.kb-footer-v4 .kb4-base { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 130px; padding: 28px 0 40px; border-top: 3px solid var(--kb4-red); font-size: clamp(16px, 1.7vw, 25px); line-height: 1.5; }
.kb-footer-v4 .kb4-base > a { flex-shrink: 0; color: #b9bbc1; font-size: 13px; }
@media (min-width: 1667px) {
  .kb-footer-v4 .kb4-columns > section + section { padding-left: 65px; }
  .kb-footer-v4 .kb4-art { right: -72px; }
}
@media (max-width: 1099px) {
  .kb-footer-v4 { font-size: 20px; }
  .kb-footer-v4 .kb4-wrap { padding-top: 26px; }
  .kb-footer-v4 .kb4-wordmark { width: min(75%, 610px); }
  .kb-footer-v4 .kb4-brand { padding-bottom: 28px; }
  .kb-footer-v4 .kb4-stage { padding-top: 34px; padding-bottom: 30px; }
  .kb-footer-v4 .kb4-columns { grid-template-columns: 1fr 1fr; gap: 38px 32px; }
  .kb-footer-v4 .kb4-columns > section + section { padding-left: 0; border-left: 0; }
  .kb-footer-v4 .kb4-contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-bottom: 1px solid #56575b; padding-bottom: 32px !important; }
  .kb-footer-v4 .kb4-contact h2 { grid-column: 1 / -1; }
  .kb-footer-v4 h2 { font-size: 28px; }
  .kb-footer-v4 h2::after { width: 76px; height: 4px; }
  .kb-footer-v4 .kb4-contact-row { grid-template-columns: 29px minmax(0, 1fr); gap: 16px; }
  .kb-footer-v4 .kb4-contact-icon { width: 29px; height: 29px; }
  .kb-footer-v4 address, .kb-footer-v4 .kb4-email a { font-size: 19px; }
  .kb-footer-v4 address strong, .kb-footer-v4 .kb4-email strong { font-size: 22px; }
  .kb-footer-v4 .kb4-email { margin-top: 0; }
  .kb-footer-v4 .kb4-service-icon { flex-basis: 48px; width: 48px; }
  .kb-footer-v4 .kb4-services li > a, .kb-footer-v4 .kb4-service-item { gap: 16px; }
  .kb-footer-v4 .kb4-art { width: 41%; right: -3vw; bottom: 28px; }
  .kb-footer-v4 .kb4-links { padding-bottom: calc(32vw + 25px) !important; }
  .kb-footer-v4 .kb4-base { min-height: 105px; padding: 25px 0 30px; font-size: 17px; }
}
@media (max-width: 699px) {
  .kb-footer-v4 { font-size: 19px; }
  .kb-footer-v4::before { background-size: 600px auto; opacity: .07; }
  .kb-footer-v4 .kb4-wrap { width: calc(100% - 44px); padding-top: 25px; }
  .kb-footer-v4 .kb4-wordmark { width: 100%; max-width: 500px; }
  .kb-footer-v4 .kb4-brand { padding-bottom: 23px; }
  .kb-footer-v4 .kb4-stage { padding-top: 30px; padding-bottom: 0; }
  .kb-footer-v4 .kb4-columns { display: grid; grid-template-columns: 1fr; gap: 34px; }
  .kb-footer-v4 .kb4-contact { display: block; grid-column: auto; padding-bottom: 0 !important; border: 0; }
  .kb-footer-v4 h2 { font-size: 25px; margin-bottom: 23px; }
  .kb-footer-v4 h2::after { margin-top: 12px; height: 3px; width: 70px; }
  .kb-footer-v4 .kb4-contact-row { padding-right: 0; gap: 14px; grid-template-columns: 28px minmax(0, 1fr); }
  .kb-footer-v4 address, .kb-footer-v4 .kb4-email a { font-size: 18px; line-height: 1.55; }
  .kb-footer-v4 address strong, .kb-footer-v4 .kb4-email strong { font-size: 21px; }
  .kb-footer-v4 .kb4-email { margin-top: 27px; }
  .kb-footer-v4 .kb4-email small { margin-top: 4px; }
  .kb-footer-v4 .kb4-services ul { gap: 8px; }
  .kb-footer-v4 .kb4-services li > a, .kb-footer-v4 .kb4-service-item { min-height: 43px; }
  .kb-footer-v4 .kb4-service-icon { height: 40px; flex-basis: 52px; width: 52px; }
  .kb-footer-v4 .kb4-links { padding-bottom: 0 !important; }
  .kb-footer-v4 .kb4-links ul { gap: 7px; }
  .kb-footer-v4 .kb4-links a { min-height: 42px; align-items: center; gap: 19px; }
  .kb-footer-v4 .kb4-art { position: relative; width: min(100%, 400px); right: auto; bottom: auto; margin: 26px -15px 0 auto; }
  .kb-footer-v4 .kb4-base { min-height: 116px; align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 13px; padding: 24px 0 29px; border-top-width: 2px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-footer-v4 a { transition: none; }
}

.kb-footer-v4 .kb4-rubble{position:absolute;bottom:0;right:29.5vw;width:22vw;max-width:330px;height:auto;z-index:0;pointer-events:none;mix-blend-mode:lighten}
@media(max-width:1099px){.kb-footer-v4 .kb4-rubble{display:none}}
