.bg-koch-blue {
    background-color: #063d6b !important;
}

:root {
  --bs-primary: #063d6b;
  --bs-primary-rgb: 6, 61, 107;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.mobile-navigation {
  --bs-offcanvas-width: min(86vw, 360px);
  width: min(86vw, 360px) !important;
  background-color: #063d6b;
  color: #ffffff;
}

.mobile-navigation .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-navigation .offcanvas-title,
.mobile-navigation .nav-link {
  color: #ffffff;
}

.mobile-navigation .nav-link {
  padding: 0.8rem 0;
  font-size: 1.125rem;
}

.mobile-navigation .nav-link:hover,
.mobile-navigation .nav-link:focus-visible,
.mobile-navigation .nav-link.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

@media (max-width: 991.98px) {
  .carousel-steps {
    width: 100%;
    max-width: 100%;
  }

  .carousel-steps .tns-outer,
  .carousel-steps .tns-ovh,
  .carousel-steps .tns-inner {
    width: 100%;
    touch-action: pan-y;
  }

  .carousel-steps .tns-item {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767.98px) {
  .about-header-primary,
  .hero-primary-split-full,
  .contact-header-primary {
    min-height: auto !important;
  }

  .about-header-primary > .container.min-vh-100,
  .hero-primary-split-full > .container.min-vh-100,
  .contact-header-primary > .container.min-vh-100 {
    min-height: auto !important;
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
  }

  .hero-primary-split-full > .back {
    display: none;
  }

  .page-hero-title {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
    line-height: 1.1 !important;
    overflow-wrap: break-word;
  }

  .hero-facts {
    --bs-gutter-y: 1rem;
  }

  .hero-facts > [class*="col-"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-facts .eyebrow {
    margin-bottom: 0 !important;
  }

  .contact-hero-actions .btn {
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: nowrap;
  }
}

.headroom--not-top .navbar-sticky.navbar-dark {
    background: #063d6b;
}

#scrollbtns a {
  right: 0;
  z-index: 999;
  background-color: #063d6b;
  border-color: #063d6b;
}

#scrollbtns .scrollbtn-mail {
  top: 200px;
}

#scrollbtns .scrollbtn-phone {
  top: 260px;
}

/* Mobil: Buttons weiter oben */
@media (max-width: 767px) {
  #scrollbtns {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  #scrollbtns.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #scrollbtns .scrollbtn-mail {
    top: 140px;
  }

  #scrollbtns .scrollbtn-phone {
    top: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #scrollbtns {
    transition: none;
  }
}

.logo-box {
  background: #ffffff;
  height: 86px;
  padding: 14px 24px;
}

#mainNav.navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#mainNav > .container {
  position: relative;
  align-items: stretch;
}

#mainNav .navbar-brand-custom {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-right: 3rem;
  display: flex;
  align-items: flex-start;
  align-self: stretch;
}

#mainNav .logo-box {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 86px;
  padding: 14px 24px;
  margin-top: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

#mainNav .logo-box img {
  display: block;
  width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.image-600 {
  width: 600px;
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-section-compact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.reference-carousel .reference-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reference-carousel .reference-logo {
  display: block;
  width: 100%;
  max-width: 220px !important;
  height: auto;
  max-height: 120px !important;
  object-fit: contain;
}

/* Falls dein Template die Klasse .logo begrenzt */
.reference-carousel img.reference-logo,
.reference-carousel img.logo,
.reference-carousel .tns-item img {
  max-width: 220px !important;
  max-height: 120px !important;
}

/* Mobil etwas kompakter */
@media (max-width: 767.98px) {
  .logo-section-compact {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .reference-carousel .reference-logo {
    max-width: 160px !important;
    max-height: 90px !important;
  }
}

.hero-primary-split {
  background-color: #063d6b;
}

.hero-primary-area {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background-color: #063d6b;
}

@media (max-width: 991.98px) {
  .hero-primary-area {
    display: none;
  }
}

.feature-card-primary {
  background-color: #063d6b !important;
  border: none;
  border-radius: 1.25rem;
  color: #ffffff;
  height: 100%;
}

.feature-card-primary .card-header,
.feature-card-primary .card-footer {
  background: transparent;
  border: none;
}

.feature-card-primary h3,
.feature-card-primary p {
  color: #ffffff !important;
}

.feature-icon-primary {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-primary i {
  color: #063d6b !important;
  font-size: 2rem;
  line-height: 1;
}

/* Nur Step-Kreis einfärben */
#accordion-steps {
  --bs-primary: #063d6b !important;
}

#accordion-steps.accordion-steps .accordion-button::before,
#accordion-steps .accordion-button::before {
  background-color: #063d6b !important;
  border-color: #063d6b !important;
  color: #ffffff !important;
}

/* Pfeil / Chevron NICHT als blauen Kreis darstellen */
#accordion-steps.accordion-steps .accordion-button::after,
#accordion-steps .accordion-button::after {
  background-color: transparent !important;
  border-color: transparent !important;
  color: inherit !important;
}

.section-light-grey {
  background-color: #f5f6f8 !important;
}

.primary-check-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.06);
}

.primary-check-card h3 {
  color: #063d6b;
}

.primary-check-icon {
  background-color: #063d6b !important;
  color: #ffffff !important;
  flex: 0 0 auto;
}

.primary-check-icon i {
  color: #ffffff !important;
}

.primary-badge {
  background-color: #063d6b !important;
  color: #ffffff !important;
}

.primary-check-list .list-group-item {
  background: transparent !important;
  padding-left: 0;
  padding-right: 0;
}

.service-overview-section {
  background-color: #f5f6f8;
}

.service-overview-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.25rem;
  height: 100%;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.service-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.1);
}

.service-overview-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #063d6b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-overview-icon i {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.service-overview-card h3 {
  color: #063d6b;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.service-check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.service-check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: #333333;
  line-height: 1.45;
}

.service-check-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.15rem;
  width: 0.45rem;
  height: 0.8rem;
  border: solid #063d6b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 991.98px) {
  .service-overview-card {
    margin-bottom: 1rem;
  }
}

.text-brand-blue {
  color: #063d6b !important;
}

.brand-blue {
  color: #063d6b !important;
}

.logo-section-compact {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 767.98px) {
  .logo-section-compact {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Branchen-Section: Cards dürfen nicht künstlich in die Höhe gezogen werden */
.industries-section .row,
.industries-section [class*="col-"] {
  align-items: flex-start !important;
}

.industries-section .card,
.industries-section .industry-card {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  flex: none !important;
  overflow: hidden;
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.06);
}

.industries-section .industry-card .card-body,
.industries-section .industry-card .card-footer {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: none !important;
}

.industries-section .industry-card .card-body {
  border-radius: 1.25rem 1.25rem 0 0;
}

.industries-section .industry-card .card-footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 0 1.25rem 1.25rem;
}

.industries-section .industry-card .list-inline {
  margin-bottom: 0;
}

.industries-section .accordion,
.industries-section .accordion-item,
.industries-section .accordion-collapse,
.industries-section .accordion-body {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.industries-section .accordion-button {
  color: #111111;
  box-shadow: none !important;
}

.industries-section .accordion-button:not(.collapsed) {
  color: #063d6b;
  background-color: rgba(6, 61, 107, 0.04);
}

.industries-section .accordion-button:focus {
  border-color: transparent;
  box-shadow: none !important;
}

.industries-section .accordion-button:focus-visible {
  outline: 2px solid rgba(6, 61, 107, 0.55);
  outline-offset: -2px;
}

.owner-vita-point {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.owner-vita-point:last-child {
  margin-bottom: 0;
}

.owner-vita-point-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  border-radius: 50%;
  background-color: #063d6b;
  color: #ffffff;
}

.owner-vita-point-icon i {
  color: #ffffff;
  line-height: 1;
}

.owner-vita-image {
  width: 86%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.12);
}

.owner-vita-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .owner-vita-image {
    width: 100%;
  }
}

.owner-vita-btn {
  background-color: #063d6b !important;
  border-color: #063d6b !important;
  color: #ffffff !important;
}

.owner-vita-btn:hover {
  background-color: #042f52 !important;
  border-color: #042f52 !important;
  color: #ffffff !important;
}

.owner-vita-btn-outline {
  background-color: transparent !important;
  border: 1px solid #063d6b !important;
  color: #063d6b !important;
}

.owner-vita-btn-outline:hover {
  background-color: #063d6b !important;
  border-color: #063d6b !important;
  color: #ffffff !important;
}

.hero-primary-split-full {
  position: relative;
  min-height: 100vh;
  background-color: #063d6b;
}

.hero-primary-split-full .container {
  position: relative;
  z-index: 3;
}

.hero-primary-split-full .back {
  z-index: 1;
}

.hero-primary-split-full .hero-primary-area {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: #063d6b;
}

.hero-primary-split-full .hero-primary-bg-elements {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  margin: 0;
}

.hero-primary-split-full .hero-primary-bg-elements svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-primary-split-full h1,
.hero-primary-split-full p,
.hero-primary-split-full a {
  position: relative;
  z-index: 4;
}

@media (max-width: 991.98px) {
  .hero-primary-split-full .hero-primary-area {
    min-height: 100%;
  }
}

.hero-primary-split-full [data-typed] {
  display: inline-block;
  min-height: 1.1em;
}

.contact-hero-card,
.contact-hero-card h3,
.contact-hero-card p,
.contact-hero-card strong,
.contact-hero-card a {
  color: #063d6b !important;
}

.contact-hero-card a {
  text-decoration: none;
}

.contact-hero-card a:hover {
  color: #063d6b !important;
  text-decoration: underline;
}

.contact-list-blue,
.contact-list-blue li,
.contact-list-blue span,
.contact-list-blue a {
  color: #063d6b !important;
}

.contact-list-blue a {
  text-decoration: none;
}

.contact-list-blue a:hover {
  color: #063d6b !important;
  text-decoration: underline;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: #063d6b !important;
  box-shadow: 0 0 0 0.25rem rgba(6, 61, 107, 0.18) !important;
  outline: 0 !important;
}

.form-check-input:focus {
  border-color: #063d6b !important;
  box-shadow: 0 0 0 0.25rem rgba(6, 61, 107, 0.18) !important;
}

.form-check-input:checked {
  background-color: #063d6b !important;
  border-color: #063d6b !important;
}
