/* Only color overrides for the original Porto Startup Agency component. */
body.weichselberger-page-ueber-uns,
#ueber-uns-porto-hero {
  font-family: "Libre Franklin", Arial, sans-serif;
}

#ueber-uns-porto-hero .custom-font-secondary {
  font-family: "Libre Franklin", Arial, sans-serif !important;
}

/* Text and CTA must stay above the original decorative Porto wave. */
#ueber-uns-porto-hero .custom-section-svg > .container {
  z-index: 3;
}
#ueber-uns-porto-hero > .shape-divider,
#ueber-uns-porto-hero > .shape-divider * {
  pointer-events: none;
}

/* Keep long German headline words inside the original Porto column on mobile. */
#ueber-uns-porto-hero :is(h1, h2) {
  hyphens: auto;
  overflow-wrap: break-word;
}

.weichselberger-page-ueber-uns .weichselberger-page-body {
  padding-top: 0;
  padding-bottom: 0;
}

#ueber-uns-porto-hero.weichselberger-porto-startup-hero {
  margin-left: calc(50% - 50vw) !important;
}

#ueber-uns-porto-hero .weichselberger-scroll-ring {
  transform: rotate(var(--weichselberger-ring-rotation, 0deg));
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

#ueber-uns-porto-hero { --primary: #6a422b; --secondary: #b78358; --tertiary: #eadbca; }
#ueber-uns-porto-hero .custom-section-svg-background::before { position: absolute; inset: 0 0 auto; height: 8%; content: ""; background: #eff1f3; }
#ueber-uns-porto-hero .custom-section-svg-background { background-color: #eff1f3; }
#ueber-uns-porto-hero .custom-section-svg-background::after { position: absolute; inset: auto 0 0; height: 64px; content: ""; background: #eff1f3; }
#ueber-uns-porto-hero .custom-svg-linear-gradient stop:nth-child(1) { stop-color: #b78358 !important; }
#ueber-uns-porto-hero .custom-svg-linear-gradient stop:nth-child(2) { stop-color: #6a422b !important; }
#ueber-uns-porto-hero .custom-svg-fill-color-primary { fill: #6a422b !important; }
#ueber-uns-porto-hero .custom-svg-fill-color-secondary { fill: #b78358 !important; }
#ueber-uns-porto-hero .btn-gradient {
	border-color: var(--weichselberger-red);
	background: var(--weichselberger-red);
	color: var(--weichselberger-white);
}
#ueber-uns-porto-hero .btn-gradient:hover,
#ueber-uns-porto-hero .btn-gradient:focus {
	border-color: var(--weichselberger-red);
	background: var(--weichselberger-white);
	color: var(--weichselberger-red);
}

.weichselberger-content > .weichselberger-about-porto-section {
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
}

.weichselberger-about-porto-section .custom-svg-fill-color-primary {
  fill: #6a422b !important;
}

.weichselberger-about-porto-section .custom-svg-fill-color-secondary {
  fill: #b78358 !important;
}

.weichselberger-about-porto-section h2,
.weichselberger-about-porto-section h3,
.weichselberger-about-porto-section p {
  margin-top: 0;
}

.weichselberger-about-team {
  overflow: hidden;
}

.weichselberger-about-team .custom-svg-wrapper-2 > svg {
  pointer-events: none;
}

.weichselberger-about-team > .shape-divider-bottom,
.weichselberger-about-team > .shape-divider-bottom svg {
  left: 0;
  width: 100%;
  max-width: none;
}

.weichselberger-about-team > .shape-divider-bottom {
  background: transparent;
}

.weichselberger-about-team__transition {
  z-index: 2 !important;
}

.weichselberger-about-team__transition-ribbon {
  opacity: .32;
}

.weichselberger-about-team .custom-card-style-1 {
  /* Account for vertical card margins without stretching the role/contact gap. */
  height: calc(100% - 1rem) !important;
  overflow: hidden;
  border: 0;
  border-radius: var(--weichselberger-card-radius);
}

.weichselberger-about-team .custom-card-style-1 .card-body {
  display: flex;
  flex-direction: column;
}

.weichselberger-about-team .custom-card-style-1:hover {
  background-color: #fff !important;
}

.weichselberger-about-team .custom-card-style-1:hover h3 {
  color: #303234 !important;
}

.weichselberger-about-team .custom-card-style-1:hover p {
  color: #777 !important;
  opacity: 1;
}

.weichselberger-about-team__photo,
.weichselberger-about-team__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.weichselberger-about-team__photo {
  object-fit: cover;
  object-position: center 22%;
}

.weichselberger-about-team__photo--martin {
  object-position: center 18%;
}

.weichselberger-about-team__placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(145deg, #b78358, #6a422b);
}

.weichselberger-about-team__placeholder span {
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
}

.weichselberger-about-team__placeholder small {
  margin-top: 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.weichselberger-about-history-modern {
  position: relative;
  z-index: 1;
  margin-top: -110px;
  padding: clamp(3.5rem, 5vw, 5rem) 0 clamp(2.5rem, 5vw, 5rem);
  color: #6f6f71;
  background: #fff;
}

.weichselberger-about-history-modern h2 {
  color: #303234;
}

.weichselberger-about-history-modern > .container {
  margin-top: 0 !important;
  padding-top: 2rem !important;
}

.weichselberger-history-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-top: 2rem;
}

.weichselberger-history-line::before {
  position: absolute;
  top: 5.2rem;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #6a422b, #b78358, #eadbca);
}

.weichselberger-history-stop {
  position: relative;
}

.weichselberger-history-stop::before {
  position: absolute;
  z-index: 1;
  top: 2.72rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  content: "";
  border: 3px solid #fff;
  border-radius: 50%;
  background: #6a422b;
  box-shadow: 0 0 0 2px #6a422b;
}

.weichselberger-history-stop > strong {
  display: block;
  min-height: 5.6rem;
  color: #6a422b;
  font-size: clamp(2rem, 4vw, 3.75rem);
  letter-spacing: -.06em;
  line-height: 1;
}

.weichselberger-history-stop h3 {
  color: #303234;
  font-size: 1.15rem;
  line-height: 1.25;
}

.weichselberger-history-stop p {
  font-size: .95rem;
  line-height: 1.65;
}

.weichselberger-history-process {
  --history-accent: #6a422b;
  --history-accent-light: #b78358;
  text-align: left;
}

.weichselberger-history-heading__intro {
  padding-top: 3.15rem;
}

.weichselberger-history-process.process-vertical .process-step {
  align-items: flex-start;
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.weichselberger-history-process.process-vertical .process-step::after {
  top: 92px;
  left: 51px;
  width: 2px;
  height: calc(100% - 106px);
  background: linear-gradient(#b78358, #eadbca);
}

.weichselberger-history-process.process-vertical .process-step-circle {
  z-index: 1;
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  min-width: 104px;
  min-height: 104px;
  margin-right: clamp(1.25rem, 3vw, 3rem);
  border: 3px solid var(--history-accent-light);
  background: #fff;
  box-shadow: 0 12px 30px rgba(106, 66, 43, .12);
}

.weichselberger-history-process .process-step-circle-content {
  color: var(--history-accent);
  font-size: 1.35rem;
  letter-spacing: -.04em;
}

.weichselberger-history-process .process-step:hover .process-step-circle {
  border-color: var(--history-accent-light);
  background: #fff;
}

.weichselberger-history-process .process-step:hover .process-step-circle .process-step-circle-content {
  color: var(--history-accent) !important;
}

.weichselberger-history-process.process-vertical .process-step-content {
  width: 100%;
  padding: 0;
}

.weichselberger-history-process h3 {
  color: #303234;
  line-height: 1.25;
}

.weichselberger-history-process p {
  margin-bottom: 0;
  color: #6f6f71;
  font-size: 1rem;
  line-height: 1.75;
}

.weichselberger-history-media {
  overflow: hidden;
  max-width: 31rem;
  margin-left: auto;
  border-radius: 18px;
}

.weichselberger-history-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .45s ease;
}

.weichselberger-history-media--gerald img {
  object-position: 62% center;
}

.weichselberger-history-process .process-step:hover .weichselberger-history-media img {
  transform: scale(1.035);
}

.weichselberger-about-values {
  overflow: hidden;
  background-color: #4f3020 !important;
}

.weichselberger-about-values > .container {
  padding-top: clamp(11rem, 14vw, 14rem) !important;
}

.weichselberger-about-values__transition {
  pointer-events: none;
}

.weichselberger-value-box {
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}

.weichselberger-value-box .feature-box-icon {
  color: #eadbca !important;
}

.weichselberger-value-box .feature-box-icon i {
  color: #eadbca !important;
}

.weichselberger-service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
}

.weichselberger-service-cloud span {
  padding: .65rem 1rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.weichselberger-about-contact .weichselberger-contact-card {
  position: relative;
  top: auto;
  max-width: 760px;
  margin-inline: auto;
  box-shadow: 0 16px 40px rgba(17, 17, 19, .28);
}

.weichselberger-about-contact--flow {
  position: relative;
  overflow: hidden;
  background: #f3f0ec !important;
  padding: clamp(10rem, 12vw, 12.5rem) 0 clamp(10rem, 12vw, 12rem) !important;
}

.weichselberger-about-contact--flow > .container {
  position: relative;
  z-index: 2;
}

.weichselberger-about-contact__wave {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.weichselberger-about-contact__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.weichselberger-about-contact__wave--top {
  top: 0;
}

.weichselberger-about-contact__wave--bottom {
  bottom: 0;
}

.weichselberger-page-ueber-uns #footer.bg-primary,
.weichselberger-page-ueber-uns #footer .footer-copyright.bg-primary {
  background-color: #2a2a2a !important;
}

.weichselberger-page-ueber-uns #footer {
  --primary: var(--weichselberger-red);
  position: relative;
  z-index: 2;
  margin-top: -42px !important;
}

@media (max-width: 767px) {
  .weichselberger-about-team > .shape-divider:not(.shape-divider-bottom) {
    height: 210px !important;
  }

  .weichselberger-about-team > .shape-divider-bottom {
    height: 145px !important;
  }

  .weichselberger-about-history-modern {
    margin-top: -65px;
    padding-top: 4rem;
  }

  .weichselberger-about-values__transition {
    height: 145px !important;
  }

  .weichselberger-about-values > .container {
    padding-top: 8.5rem !important;
  }

  .weichselberger-about-contact--flow {
    padding: 8.5rem 0 8rem !important;
  }

  .weichselberger-about-contact__wave--top {
    height: 118px !important;
  }

  .weichselberger-about-contact__wave--bottom {
    height: 100px !important;
  }

  .weichselberger-history-line {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-left: 2rem;
  }

  .weichselberger-history-line::before {
    top: 0;
    bottom: 0;
    left: .45rem;
    width: 2px;
    height: auto;
  }

  .weichselberger-history-stop::before {
    top: .35rem;
    left: -2rem;
  }

  .weichselberger-history-stop > strong {
    min-height: auto;
    margin-bottom: .75rem;
  }

  .weichselberger-history-process.process-vertical .process-step-circle {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
    min-width: 76px;
    min-height: 76px;
    margin-right: 1rem;
  }

  .weichselberger-history-process.process-vertical .process-step::after {
    top: 70px;
    left: 37px;
    height: calc(100% - 82px);
  }

  .weichselberger-history-process .process-step-circle-content {
    font-size: 1rem;
  }

  .weichselberger-history-process.process-vertical .process-step-content {
    padding-top: 0;
  }

  .weichselberger-history-media {
    max-width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 991px) {
  .weichselberger-history-heading__intro {
    padding-top: 0;
  }
}
