:root {
  --default-font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --heading-font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --background-color: #ffffff;
  --default-color: #24313b;
  --heading-color: #102331;
  --accent-color: #00569d;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: #f5f9fc;
  --nav-hover-color: #00569d;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #102331;
  --nav-dropdown-hover-color: #00569d;
  --mtb-blue: #00569d;
  --mtb-blue-dark: #003d70;
  --mtb-blue-light: #e8f4fc;
  --mtb-ink: #102331;
  --mtb-muted: #64717b;
  --mtb-line: #dbe4ea;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 750;
  letter-spacing: -0.025em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #00569d;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 16px;
  color: #ffffff;
  border-radius: 4px;
  background: #003d70;
  font-weight: 700;
  transition: none;
  transform: translateY(-180%);
}

.skip-link:focus,
.skip-link:focus-visible {
  color: #ffffff;
  transform: translateY(0);
}

main[id],
main [id] {
  scroll-margin-top: 135px;
}

.header {
  --background-color: #0b1c29;
  box-shadow: 0 8px 30px rgba(3, 22, 36, 0.12);
}

.header .topbar {
  background: var(--mtb-blue);
}

.header .topbar .contact-info i,
.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  color: #ffffff;
}

.header .topbar .contact-info {
  gap: 24px;
}

.header .topbar .topbar-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  color: #ffffff;
}

.header .topbar .topbar-komoot-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.header .topbar .contact-info a:hover {
  color: #ffffff;
  opacity: 0.82;
}

.header .branding {
  min-height: 76px;
  background: #102a3d;
  border-bottom: 1px solid rgba(88, 185, 236, 0.42);
}

.header .logo img {
  width: 215px;
  max-height: 56px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.mobile-nav-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.mobile-nav-icon {
  display: flex;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-icon span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-toggle.is-open .mobile-nav-icon span:first-child {
  transform: translateY(9.5px) rotate(45deg);
}

.mobile-nav-toggle.is-open .mobile-nav-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-open .mobile-nav-icon span:last-child {
  transform: translateY(-9.5px) rotate(-45deg);
}

@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    padding: 28px 13px;
    font-size: 15px;
    font-weight: 650;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    background: transparent;
    color: #ffffff;
  }

  .navmenu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 19px;
    height: 2px;
    background: #45a9e7;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
  }

  .navmenu > ul > li:hover > a::after,
  .navmenu > ul > li > a.active::after,
  .navmenu > ul > li.dropdown-open > a::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .navmenu .dropdown ul {
    border-top: 3px solid var(--mtb-blue);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
  }

  .navmenu .dropdown:focus-within > ul,
  .navmenu .dropdown.dropdown-open > ul {
    top: 100%;
    visibility: visible;
    opacity: 1;
  }

  .navmenu .dropdown.dropdown-open > a i {
    transform: rotate(180deg);
  }
}

.mtb-hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  padding: 205px 0 95px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 30%, rgba(0, 111, 191, 0.34), transparent 27%),
    linear-gradient(125deg, #071521 0%, #0b2639 58%, #05375d 100%);
}

.mtb-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -33% 35%;
  height: 72%;
  opacity: 0.22;
  background: linear-gradient(145deg, transparent 0 30%, #4daee7 30.2% 31%, transparent 31.2% 42%, #4daee7 42.2% 43%, transparent 43.2%);
  transform: skewX(-12deg);
}

.mtb-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
    linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
    linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
    linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff);
  background-size: 46px 80px;
  background-position: 0 0, 0 0, 23px 40px, 23px 40px;
  mask-image: linear-gradient(to right, transparent 10%, #000 70%, #000);
}

/* Hero-Variante mit Brückenfoto und kontrastreichem Blauverlauf. */
.mtb-hero--bridge .mtb-hero-grid {
  opacity: 1;
  background-image:
    linear-gradient(90deg, rgba(3, 17, 27, 0.98) 0%, rgba(3, 24, 39, 0.92) 38%, rgba(3, 29, 49, 0.68) 65%, rgba(3, 17, 27, 0.55) 100%),
    linear-gradient(0deg, rgba(0, 86, 157, 0.46) 0%, rgba(3, 17, 27, 0.06) 42%, rgba(3, 17, 27, 0.38) 100%),
    url("../img/mtb/hero-bridge-bike.jpg");
  background-repeat: no-repeat;
  background-position: center, center, center 55%;
  background-size: cover;
  mask-image: none;
  -webkit-mask-image: none;
}

.mtb-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #65c2f3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mtb-eyebrow::before,
.section-kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  background: currentColor;
}

.mtb-hero-logo {
  width: min(430px, 90%);
  margin-bottom: 28px;
  padding: 13px 18px;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.mtb-hero-logo img {
  display: block;
  width: 100%;
}

/* Testvariante: Das freigestellte Logo kann ohne Eingriff in den Grundstil entfernt werden. */
.mtb-hero-logo--freestanding {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mtb-hero h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.mtb-hero h1 span {
  color: #58b9ec;
}

.mtb-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.btn-mtb-primary,
.btn-mtb-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid var(--mtb-blue);
  border-radius: 4px;
  font-weight: 750;
  transition: 0.25s ease;
}

.btn-mtb-primary {
  color: #ffffff;
  background: var(--mtb-blue);
}

.btn-mtb-primary:hover {
  color: #ffffff;
  border-color: #177aba;
  background: #177aba;
  transform: translateY(-2px);
}

.btn-mtb-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
}

.btn-mtb-ghost:hover {
  color: var(--mtb-ink);
  border-color: #ffffff;
  background: #ffffff;
}

.mtb-hero-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.mtb-hero-photo,
.mtb-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mtb-hero-photo {
  object-fit: cover;
  object-position: center 48%;
}

.mtb-hero-shade {
  background:
    linear-gradient(to top, rgba(4, 20, 31, 0.96) 0%, rgba(4, 20, 31, 0.5) 55%, rgba(4, 20, 31, 0.08) 100%),
    linear-gradient(to right, rgba(0, 86, 157, 0.35), transparent 65%);
}

.mtb-wheel {
  position: absolute;
  width: 370px;
  height: 370px;
  top: -65px;
  right: -95px;
  border: 24px solid rgba(87, 185, 236, 0.2);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.17) 0 1deg, transparent 1deg 30deg);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.mtb-wheel::before,
.mtb-wheel::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 78%;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%) rotate(45deg);
}

.mtb-wheel::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mtb-wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 9px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.mtb-hero-panel-content {
  position: absolute;
  inset: auto 34px 34px;
  z-index: 2;
}

.panel-kicker {
  color: #65c2f3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mtb-hero-panel h2 {
  max-width: 390px;
  margin: 8px 0 18px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.mtb-hero-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.mtb-hero-panel li i {
  margin-right: 5px;
  color: #65c2f3;
}

.mtb-highlights {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  color: #ffffff;
  background: var(--mtb-blue);
}

.highlight-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 82px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.highlight-item:last-child {
  border-right: 0;
}

.highlight-item i {
  font-size: 1.45rem;
}

.section-title {
  max-width: 780px;
}

.section-title span {
  color: rgba(0, 86, 157, 0.08);
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 850;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.mtb-services,
.mtb-process,
.mtb-contact {
  padding: 100px 0;
}

.mtb-services {
  background: #f5f8fa;
}

.mtb-service-card {
  position: relative;
  overflow: hidden;
  padding: 36px 32px 32px;
  border: 1px solid var(--mtb-line);
  border-top: 4px solid var(--mtb-blue);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(15, 48, 70, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mtb-service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(15, 48, 70, 0.13);
}

.service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--mtb-blue);
  font-size: 1.65rem;
}

.service-number {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(0, 86, 157, 0.08);
  font-size: 4rem;
  font-weight: 850;
  line-height: 1;
}

.mtb-service-card h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.mtb-service-card p {
  min-height: 104px;
  color: var(--mtb-muted);
}

.mtb-service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.mtb-custom {
  padding: 110px 0;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 15% 50%, rgba(0, 86, 157, 0.38), transparent 34%),
    #0b1c29;
}

.mtb-custom h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.mtb-custom .lead {
  color: #ffffff;
}

.custom-visual {
  position: relative;
  min-height: 590px;
  padding: 0 0 34px 34px;
}

.custom-bike-photo {
  display: block;
  width: 88%;
  height: 570px;
  margin-left: auto;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.custom-logo-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76%;
  padding: 52px 28px 28px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.custom-visual::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: 70%;
  height: 84%;
  border: 3px solid #4daee7;
  border-radius: 8px;
  pointer-events: none;
}

.custom-label {
  position: absolute;
  top: 15px;
  left: 28px;
  color: var(--mtb-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.custom-logo-card img {
  display: block;
  width: 100%;
}

/* Testvariante: größeres, freigestelltes MALEA-Logo ohne weiße Karte. */
.custom-logo-card.custom-logo-card--freestanding {
  z-index: 2;
  bottom: -12px;
  width: 88%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.42));
}

.custom-logo-card--freestanding .custom-label {
  display: none;
}

.mtb-custom .btn-mtb-primary {
  margin-top: 14px;
}

.mtb-process {
  background: #ffffff;
}

.process-step {
  position: relative;
  min-height: 210px;
  padding: 32px;
  border-left: 1px solid var(--mtb-line);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -4px;
  width: 7px;
  height: 46px;
  background: var(--mtb-blue);
}

.process-step strong {
  color: rgba(0, 86, 157, 0.18);
  font-size: 3.5rem;
  line-height: 1;
}

.process-step h3 {
  margin: 14px 0 8px;
}

.process-step p {
  margin: 0;
  color: var(--mtb-muted);
}

.mtb-about {
  padding: 110px 0;
  background: var(--mtb-blue-light);
}

.about-photo-wrap {
  position: relative;
  max-width: 470px;
  padding: 0 22px 22px 0;
}

.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 35px 0 0 35px;
  border-radius: 8px;
  background: var(--mtb-blue);
}

.about-photo-wrap > img {
  position: relative;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(15, 48, 70, 0.2);
}

.about-photo-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  min-width: 245px;
  padding: 18px 22px;
  color: #ffffff;
  border-radius: 5px;
  background: #0b1c29;
}

.about-photo-caption strong {
  font-size: 1.12rem;
}

.about-photo-caption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.mtb-about .section-kicker {
  color: var(--mtb-blue);
}

.mtb-about h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.mtb-about .lead {
  color: var(--mtb-ink);
  font-weight: 600;
}

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 18px;
  color: var(--mtb-ink);
  border-left: 4px solid var(--mtb-blue);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 48, 70, 0.08);
}

.company-badge i {
  color: var(--mtb-blue);
  font-size: 1.8rem;
}

.company-badge span {
  display: flex;
  flex-direction: column;
  font-weight: 800;
}

.company-badge small {
  color: var(--mtb-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mtb-contact {
  background: #f5f8fa;
}

.mtb-photo-cta {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #071521;
}

.mtb-photo-cta-image,
.mtb-photo-cta-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mtb-photo-cta-image {
  object-fit: cover;
  object-position: center 43%;
}

.mtb-photo-cta-shade {
  background: linear-gradient(90deg, rgba(3, 17, 27, 0.98) 0%, rgba(3, 25, 40, 0.88) 42%, rgba(3, 25, 40, 0.28) 72%, rgba(3, 25, 40, 0.1) 100%);
}

.mtb-photo-cta .section-kicker {
  color: #65c2f3;
}

.mtb-photo-cta h2 {
  max-width: 680px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.contact-panel,
.mtb-contact-form {
  padding: 36px;
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(15, 48, 70, 0.09);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background: #0b1c29;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item > i {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--mtb-blue);
  font-size: 1.15rem;
}

.contact-item span,
.contact-item strong {
  display: block;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
  color: #ffffff;
  font-size: 1.03rem;
}

.contact-company {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
}

.contact-brand-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 26px;
  margin-bottom: 10px;
  padding: 0 4px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-brand-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.contact-brand-logo--mtb {
  max-width: 270px;
}

.contact-brand-logo--malea {
  max-width: 300px;
}

@media (max-width: 575px) {
  .contact-brand-logos {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-brand-logo--mtb {
    max-width: 240px;
  }

  .contact-brand-logo--malea {
    max-width: 280px;
  }
}

.mtb-contact-form {
  height: 100%;
  background: #ffffff;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mtb-contact-form label {
  margin-bottom: 7px;
  color: var(--mtb-ink);
  font-size: 0.84rem;
  font-weight: 750;
}

.form-required-note {
  margin: 0 0 14px;
  color: var(--mtb-muted);
  font-size: 0.84rem;
}

.form-required-note span,
.mtb-contact-form label > span[aria-hidden="true"] {
  color: #b42318;
}

.mtb-contact-form .form-control,
.mtb-contact-form .form-select {
  min-height: 50px;
  border-color: #d6e0e6;
  border-radius: 4px;
}

.mtb-contact-form textarea.form-control {
  min-height: 150px;
}

.mtb-contact-form .form-control:focus,
.mtb-contact-form .form-select:focus {
  border-color: var(--mtb-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 157, 0.14);
}

.mtb-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  background: var(--mtb-blue);
  font-weight: 750;
  transition: 0.25s ease;
}

.mtb-contact-form button[type="submit"]:hover {
  background: #177aba;
  transform: translateY(-2px);
}

.php-email-form .error-message {
  background: #b42318;
}

.footer {
  background: #071521;
}

.footer .footer-logo img {
  width: 235px;
  height: auto;
}

.footer .company-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer .footer-heading {
  position: relative;
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.footer .footer-contact a {
  color: rgba(255, 255, 255, 0.78);
}

.footer .footer-contact a:hover {
  color: #ffffff;
}

.scroll-top {
  background: var(--mtb-blue);
}

/* Legal pages inherited from the EDM-Profi website */
.portfolio-details {
  padding: 185px 0 90px;
  background: #f5f8fa;
}

.portfolio-details .portfolio-info,
.portfolio-details .portfolio-description {
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 45px rgba(15, 48, 70, 0.08);
}

.portfolio-details .portfolio-info {
  padding: 34px;
  border-top: 4px solid var(--mtb-blue);
}

.portfolio-details .portfolio-info > img {
  width: 230px !important;
  margin-bottom: 22px;
  padding: 8px 10px;
}

.portfolio-details .portfolio-info ul {
  padding: 0;
}

.portfolio-details .portfolio-info li p {
  margin: 0 0 10px;
  line-height: 1.5 !important;
}

.portfolio-details .portfolio-description {
  margin-top: 26px;
  padding: 42px;
}

.portfolio-details .portfolio-description h2 {
  color: var(--mtb-blue);
}

.portfolio-details .portfolio-description h1 {
  margin-bottom: 24px;
  color: var(--mtb-blue);
  font-size: clamp(2rem, 4vw, 3rem);
}

.portfolio-details .portfolio-description h2 {
  margin-top: 32px;
  font-size: 1.45rem;
}

.portfolio-details .portfolio-description h3 {
  margin-top: 24px;
  font-size: 1.15rem;
}

.portfolio-details .portfolio-description a {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

.portfolio-details .portfolio-description address {
  font-style: normal;
}

.portfolio-details .portfolio-info li.legal-separator {
  margin-top: 20px;
}

@media (max-width: 1199px) {
  .header .branding {
    min-height: 68px;
  }

  .mtb-hero {
    padding-top: 190px;
  }

  .portfolio-details {
    padding-top: 175px;
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .header .topbar .contact-info {
    width: 100%;
    justify-content: center;
  }

  .header .topbar .topbar-email {
    display: none !important;
  }

  .header .logo img {
    width: 175px;
  }

  .mtb-hero {
    min-height: auto;
    padding: 175px 0 70px;
  }

  .mtb-hero .row > * {
    min-width: 0;
  }

  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 80px, 0) !important;
  }

  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
  }

  .mtb-hero-logo {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .mtb-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.5rem);
    overflow-wrap: break-word;
  }

  .mtb-hero-actions {
    display: grid !important;
    width: 100%;
  }

  .mtb-hero-actions a {
    width: 100%;
  }

  .mtb-hero-panel {
    min-height: 360px;
  }

  .highlight-item {
    justify-content: flex-start;
    min-height: 62px;
    padding-left: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .highlight-item:last-child {
    border-bottom: 0;
  }

  .mtb-services,
  .mtb-custom,
  .mtb-process,
  .mtb-about,
  .mtb-contact {
    padding: 75px 0;
  }

  .mtb-service-card p {
    min-height: auto;
  }

  .custom-logo-card {
    width: calc(100% - 20px);
    padding: 52px 24px 26px;
  }

  .custom-logo-card.custom-logo-card--freestanding {
    width: calc(100% - 10px);
    padding: 0;
  }

  .custom-label {
    left: 24px;
  }

  .custom-visual {
    min-height: 520px;
    padding: 0 0 30px 20px;
  }

  .custom-bike-photo {
    width: 94%;
    height: 500px;
  }

  .custom-visual::after {
    height: 82%;
  }

  .mtb-photo-cta {
    min-height: 460px;
    padding: 75px 0;
  }

  .mtb-photo-cta-image {
    object-position: 58% 45%;
  }

  .mtb-photo-cta-shade {
    background: linear-gradient(90deg, rgba(3, 17, 27, 0.96), rgba(3, 25, 40, 0.62));
  }

  .contact-panel,
  .mtb-contact-form,
  .portfolio-details .portfolio-info,
  .portfolio-details .portfolio-description {
    padding: 26px;
  }

  .portfolio-details {
    padding-top: 165px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
