/* Kundenspezifische Styles. Porto-Originale niemals verändern. */

/* Shared section kicker: About headings and reusable Porto topic elements. */
body .text-color-grey.positive-ls-2.font-weight-medium.custom-font-size-2 {
  color: var(--weichselberger-red) !important;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin/libre-franklin-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Nothing You Could Do";
  src: url("../fonts/nothing-you-could-do/nothing-you-could-do-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Logo-basiert; Text-/Hintergrundkombinationen erfüllen WCAG 2.2 AA. */
  --weichselberger-red: #97141b;
  --weichselberger-red-dark: #741017;
  --weichselberger-red-light: #e0666c;
  --weichselberger-black: #111113;
  --weichselberger-nav-ink: #303234;
  --weichselberger-gray: #6f6f71;
  --weichselberger-gray-light: #f3f2f0;
  --weichselberger-white: #ffffff;

  --weichselberger-text: var(--weichselberger-black);
  --weichselberger-text-muted: var(--weichselberger-gray);
  --weichselberger-accent: var(--weichselberger-red);
  --weichselberger-accent-hover: var(--weichselberger-red-dark);
  --weichselberger-surface: var(--weichselberger-gray-light);
  --weichselberger-surface-muted: var(--weichselberger-gray-light);
  --weichselberger-card-radius: 1rem;
  --weichselberger-button-radius: 0.75rem;
  --weichselberger-button-padding: 0.8rem 1.25rem;
}

body,
button,
input,
select,
textarea {
  font-family: "Libre Franklin", Arial, sans-serif;
}

body,
.body {
  background-color: var(--weichselberger-surface);
}

/* Navigation: gemeinsame Styles über weichselberger.site-header. */

.weichselberger-creative-hero {
  position: relative;
  min-height: 100svh;
}

.weichselberger-hero-heading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 7.5rem clamp(2.5rem, 7vw, 8rem) 14rem;
  background: linear-gradient(90deg, rgba(17, 17, 19, 0.68), rgba(17, 17, 19, 0.24) 65%, transparent);
  pointer-events: none;
}

.weichselberger-hero-heading h1 {
  --weichselberger-outline-color: rgba(255, 255, 255, 0.8);
  max-width: 100%;
  margin: 0;
  font-size: clamp(2rem, 5.8vw, 5.5rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: none;
}

.weichselberger-hero-heading h1 span {
  display: block;
  transform: translate3d(var(--hero-line-x, 0px), 0, 0);
  opacity: var(--hero-line-opacity, 1);
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.weichselberger-hero-heading.is-returning h1 span {
  transition-duration: 900ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .weichselberger-hero-heading h1 span {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

@media (max-width: 1199px) {
  .weichselberger-hero-heading {
    padding-bottom: 10rem;
  }
}

@media (max-width: 767px) {
  .weichselberger-hero-heading {
    padding: 6rem 2.5rem 7rem;
  }

  .weichselberger-hero-heading h1 {
    --weichselberger-outline-width: 1.25px;
    font-size: clamp(1.8rem, 9vw, 3.5rem);
  }
}

@media (max-height: 600px) {
  .weichselberger-hero-heading {
    padding-top: 6rem;
  }

  .weichselberger-hero-heading h1 {
    font-size: clamp(1.8rem, min(9vw, 6svh), 3rem);
  }
}

.weichselberger-creative-hero-slide {
  position: relative;
  min-height: 100svh;
  background-position: center;
  background-size: cover;
}

.weichselberger-creative-hero .owl-nav button.owl-prev,
.weichselberger-creative-hero .owl-nav button.owl-next {
  top: 50%;
  transform: translateY(-50%);
}

.weichselberger-creative-hero .owl-dots {
  position: absolute;
  right: 0;
  bottom: 10.5rem;
  left: 0;
}

.weichselberger-glass-links {
  position: relative;
  z-index: 3;
  margin-top: -185px !important;
  padding-bottom: clamp(5rem, 8vw, 7rem) !important;
  --weichselberger-glass-image: none;
}

.weichselberger-glass-links .row > .col {
  display: flex;
}

.weichselberger-glass-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1;
  /* Stretch inside the column without counting Porto's 40px margins twice. */
  height: auto !important;
  background-color: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--weichselberger-card-radius);
  box-shadow: 0 16px 40px rgba(17, 17, 19, 0.28);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
}

.weichselberger-glass-card::before,
.weichselberger-glass-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.weichselberger-glass-card::before {
  z-index: -2;
  inset: -2rem;
  background-image: var(--weichselberger-glass-image);
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(1.12);
  transform: scale(1.12);
}

.weichselberger-glass-card::after {
  z-index: -1;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
  transition: background-color 0.25s ease;
}

.weichselberger-glass-card:hover,
.weichselberger-glass-card:focus-within {
  background-color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.weichselberger-glass-card:hover::after,
.weichselberger-glass-card:focus-within::after {
  background: rgba(255, 255, 255, 0.78);
}

.weichselberger-glass-card .card-body {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 2vw, 2rem);
}

.weichselberger-glass-card .card-title {
  color: var(--weichselberger-nav-ink) !important;
  text-align: center;
  text-transform: uppercase;
}

.weichselberger-glass-card .card-text {
  color: var(--weichselberger-nav-ink) !important;
  line-height: 1.65;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.weichselberger-glass-card-icon {
  display: block;
  margin: 1.25rem auto;
  color: var(--weichselberger-nav-ink);
  font-size: 2.75rem;
  text-align: center;
}

/* Centralized project button system. Porto vendor CSS stays untouched. */
html .btn:not(.header-btn-collapse-nav),
.weichselberger-team-action {
  border-radius: var(--weichselberger-button-radius) !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

html .btn.btn-primary,
html .btn.btn-gradient {
  border: 1px solid var(--weichselberger-red) !important;
  background: var(--weichselberger-red) !important;
  color: var(--weichselberger-white) !important;
}

html .btn.btn-primary:hover,
html .btn.btn-primary:focus,
html .btn.btn-gradient:hover,
html .btn.btn-gradient:focus {
  border-color: var(--weichselberger-red) !important;
  background: var(--weichselberger-white) !important;
  color: var(--weichselberger-red) !important;
}

/* One CTA contract across Porto demos; text-only settings links stay text links. */
html .main :is(.btn:not(.btn-link), .weichselberger-team-action) {
  position: relative;
  left: auto;
  right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  max-width: 100%;
  min-height: 3rem;
  padding: .75rem 3rem .75rem 1rem !important;
  border: 1px solid var(--weichselberger-red) !important;
  background: var(--weichselberger-red) !important;
  color: var(--weichselberger-white) !important;
  font-family: "Libre Franklin", Arial, sans-serif !important;
  border-radius: var(--weichselberger-button-radius, .75rem) !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
  font-size: .875rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

html .main :is(.btn:not(.btn-link), .weichselberger-team-action):is(:hover, :focus-visible) {
  border-color: var(--weichselberger-red) !important;
  background: var(--weichselberger-white) !important;
  color: var(--weichselberger-red) !important;
}

html .main :is(.btn:not(.btn-link), .weichselberger-team-action):focus-visible {
  outline: 3px solid var(--weichselberger-red);
  outline-offset: 3px;
  box-shadow: none !important;
}

/* Empty, decorative pseudo-element: no extra screen-reader label or JavaScript. */
html .main :is(.btn:not(.btn-link), .weichselberger-team-action)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

html .main .btn > .fa-arrow-right,
html .main .btn.custom-btn-style-1::before {
  display: none;
}

html .main .btn.weichselberger-glass-card-button {
  min-height: 4rem;
}

.weichselberger-glass-card-button-label {
  display: block;
  white-space: nowrap;
}

/* Keep the longest label clear of the arrow in the compact five-card row. */
@media (min-width: 1200px) and (max-width: 1399px) {
  .weichselberger-glass-card .card-body {
    padding-inline: 1.25rem;
  }
}

html .main .flip-back .btn {
  border-color: var(--weichselberger-white) !important;
  background: var(--weichselberger-white) !important;
  color: var(--weichselberger-red) !important;
}

html .main .flip-back .btn:is(:hover, :focus-visible) {
  border-color: var(--weichselberger-white) !important;
  background: var(--weichselberger-red) !important;
  color: var(--weichselberger-white) !important;
}

html .main .flip-back .btn:focus-visible {
  outline-color: var(--weichselberger-white);
}

html .main .weichselberger-team-actions {
  grid-template-columns: 1fr;
}

.weichselberger-creative-hero .custom-btn-style-1 {
  left: 0;
}

.weichselberger-creative-hero .custom-btn-style-1::before {
  content: none;
}

.weichselberger-glass-card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  width: 100%;
  max-width: 14rem;
  min-height: 4rem;
  padding: 0.8rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: normal;
}

.weichselberger-creative-hero .btn-primary:focus-visible,
.weichselberger-glass-card-button:focus-visible {
  outline: 3px solid var(--weichselberger-red);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .weichselberger-creative-hero .owl-dots {
    bottom: 7.25rem;
  }

  .weichselberger-glass-links {
    margin-top: -110px !important;
  }
}

@media (max-width: 767px) {
  .weichselberger-creative-hero .owl-dots {
    bottom: 5rem;
  }

  .weichselberger-glass-links {
    margin-top: -70px !important;
  }
}

/* About page: Porto elements with Weichselberger editorial styling */
.weichselberger-about-intro { margin-bottom: clamp(2rem, 5vw, 4rem); }
.weichselberger-about-intro__portrait-wrap { position: relative; max-width: 39rem; margin: 0 auto; }
.weichselberger-about-intro__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.weichselberger-about-intro__blob--back { fill: var(--weichselberger-red); opacity: .14; }
.weichselberger-about-intro__blob--front { fill: var(--weichselberger-red); opacity: .32; }
.weichselberger-about-intro__dot { fill: var(--weichselberger-red); stroke: var(--weichselberger-gray-light); stroke-width: 5; }
.weichselberger-about-intro__dot--large { animation: weichselberger-float 6s ease-in-out infinite; }
.weichselberger-about-intro__dot--small { animation: weichselberger-float 7s ease-in-out infinite reverse; }
.weichselberger-about-intro__portrait { display: block; width: 79%; margin: 0 auto; box-shadow: 0 1.25rem 3rem rgba(17,17,19,.16); }
.weichselberger-about-intro__body { max-width: 36rem; }
.weichselberger-about-intro__body h2,
.weichselberger-about-section h2 { color: var(--weichselberger-nav-ink); font-size: clamp(2rem, 3.25vw, 3.1rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.08; }
.weichselberger-about-intro__body p { max-width: 42rem; color: var(--weichselberger-gray); font-size: 1.06rem; line-height: 1.7; }
.weichselberger-about-kicker { margin-bottom: .8rem; color: var(--weichselberger-red); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.weichselberger-about-section { padding: clamp(1.5rem, 4vw, 3.5rem) 0; margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.weichselberger-about-history { border-top: 1px solid rgba(48,50,52,.12); border-bottom: 1px solid rgba(48,50,52,.12); }
.weichselberger-about-history .feature-box, .weichselberger-about-process .feature-box { padding: 1.35rem; background: #fff; border: 1px solid rgba(48,50,52,.1); }
.weichselberger-about-history .feature-box-icon, .weichselberger-about-process .feature-box-icon { color: var(--weichselberger-red) !important; }
.weichselberger-about-gallery__note { color: var(--weichselberger-gray); font-size: .88rem; line-height: 1.5; }
.weichselberger-about-gallery .img-thumbnail { overflow: hidden; background: var(--weichselberger-gray-light); }
.weichselberger-about-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.weichselberger-about-gallery__wide-image { aspect-ratio: 16 / 6 !important; }
.weichselberger-about-section + .container .call-to-action { border-color: rgba(48,50,52,.18); }
.weichselberger-about-section + .container .call-to-action h3 { color: var(--weichselberger-nav-ink); font-weight: 700; }

@media (max-width: 991px) {
  .weichselberger-about-intro__portrait-wrap { max-width: 32rem; }
  .weichselberger-about-intro__body { max-width: 42rem; }
}

@media (max-width: 575px) {
  .weichselberger-about-gallery__wide-image { aspect-ratio: 4 / 3 !important; }
}

@keyframes weichselberger-float { 50% { transform: translateY(-12px); } }

.weichselberger-type-intro {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-bottom: clamp(4rem, 8vw, 8rem) !important;
  background: var(--weichselberger-gray-light);
}

.weichselberger-type-intro-row {
  padding: clamp(1.25rem, 2.5vw, 2.5rem) clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(17, 17, 19, 0.14);
}

.weichselberger-type-intro-row-last {
  border-bottom: 0;
}

.weichselberger-type-intro-scroll {
  will-change: transform;
}

.weichselberger-type-intro-word,
.weichselberger-display-outline {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.weichselberger-type-intro-word {
  display: block;
  color: var(--weichselberger-nav-ink);
  font-size: clamp(4.5rem, 11vw, 11rem);
  line-height: 0.82;
  text-align: center;
  white-space: nowrap;
}

.weichselberger-type-intro-word-outline,
.weichselberger-display-outline {
  color: transparent;
  -webkit-text-stroke: var(--weichselberger-outline-width, 2px) var(--weichselberger-outline-color, var(--weichselberger-nav-ink));
}

@supports not (-webkit-text-stroke: 1px #fff) {
  .weichselberger-display-outline {
    color: var(--weichselberger-outline-color, var(--weichselberger-nav-ink));
  }
}

@media (forced-colors: active) {
  .weichselberger-display-outline {
    color: CanvasText;
    -webkit-text-stroke: 0;
  }
}

.weichselberger-contact-cta { background: var(--weichselberger-gray-light); padding: clamp(4rem, 8vw, 7rem) 0; }
.weichselberger-contact-cta-heading { max-width: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.weichselberger-contact-cta-heading h2 { margin: 0; color: var(--weichselberger-nav-ink); font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.weichselberger-contact-cta-heading p { margin: .8rem 0 0; color: var(--weichselberger-red); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 700; }
.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%; overflow: hidden; 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-privatkunden .weichselberger-about-contact__wave--bottom { display: none; }
.weichselberger-page-privatkunden .weichselberger-about-contact--flow { padding-bottom: clamp(4rem, 7vw, 6rem) !important; }
.weichselberger-private-faq { position: relative; padding-bottom: 136px !important; }
.weichselberger-private-faq__wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 136px; overflow: hidden; background: linear-gradient(to bottom, transparent 0 50%, #2a2a2a 50% 100%); pointer-events: none; }
.weichselberger-private-faq__wave svg { display: block; width: 100%; height: 100%; }
.weichselberger-page-privatkunden #footer.bg-primary,
.weichselberger-page-privatkunden #footer .footer-copyright.bg-primary { background-color: #2a2a2a !important; }
.weichselberger-contact-flip-card { min-height: 18rem; border: 0; border-radius: var(--weichselberger-card-radius); background: transparent; perspective: 1000px; }
.weichselberger-contact-flip-card .flip-front,
.weichselberger-contact-flip-card .flip-back { min-height: 18rem; border: 1px solid rgba(48, 50, 52, .13); border-radius: var(--weichselberger-card-radius); box-shadow: 0 16px 40px rgba(17, 17, 19, .28); }
.weichselberger-contact-flip-card .flip-front .flip-content,
.weichselberger-contact-flip-card .flip-back .flip-content { width: 100%; text-align: center; }
.weichselberger-contact-flip-card .flip-front { background: var(--weichselberger-white); }
.weichselberger-contact-flip-card .flip-front i { display: block; margin: 0 auto 1.25rem; color: var(--weichselberger-red); font-size: 2.45rem; text-align: center; }
.weichselberger-contact-flip-card h3 { margin: 0 0 .7rem; color: var(--weichselberger-nav-ink); font-size: 1.25rem; font-weight: 800; letter-spacing: .04em; }
.weichselberger-contact-flip-card .flip-front p { margin: 0; color: var(--weichselberger-gray); }
.weichselberger-contact-flip-card .flip-back { border-color: var(--weichselberger-red); background: var(--weichselberger-red); color: var(--weichselberger-white); }
.weichselberger-contact-flip-card .flip-back h3 { color: var(--weichselberger-white); letter-spacing: -.025em; text-transform: none; }
.weichselberger-contact-flip-card .flip-back p { margin: 0 auto 1.45rem; max-width: 17rem; color: rgba(255, 255, 255, .86); font-size: .94rem; line-height: 1.55; }
.weichselberger-contact-flip-card .flip-back .btn { border-color: var(--weichselberger-white) !important; background: var(--weichselberger-white) !important; color: var(--weichselberger-red) !important; }
.weichselberger-contact-flip-card .flip-back .btn:hover,
.weichselberger-contact-flip-card .flip-back .btn:focus { background: transparent !important; color: var(--weichselberger-white) !important; }

.weichselberger-team-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(151, 20, 27, .2);
}

.weichselberger-team-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .6rem .7rem;
  border: 1px solid var(--weichselberger-red);
  background: var(--weichselberger-white);
  color: var(--weichselberger-red);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.weichselberger-team-action i {
  flex: 0 0 auto;
  font-size: .95rem;
}

.weichselberger-team-action:hover,
.weichselberger-team-action:focus-visible {
  border-color: var(--weichselberger-red);
  background: var(--weichselberger-red);
  color: var(--weichselberger-white);
  text-decoration: none;
}

.weichselberger-process {
  background: var(--weichselberger-gray-light);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.weichselberger-process-row { position: relative; min-height: 34rem; margin-bottom: clamp(4rem, 9vw, 9rem); padding: 2rem 0 5rem; scroll-margin-top: 7rem; }
.weichselberger-process-row > .col-lg-6:first-child { position: relative; align-self: stretch; padding: 0 5.5rem 5.5rem 0; }
.weichselberger-process-row > .col-lg-6:first-child::before { position: absolute; z-index: 0; bottom: 0; left: 0; width: 42%; height: 42%; content: ''; background: url('../vendor/porto/img/demos/architecture-2/backgrounds/arch-plan-2.jpg') left bottom / cover no-repeat; mix-blend-mode: multiply; opacity: .7; }
.weichselberger-process-image { position: relative; z-index: 1; width: 100%; min-height: 28rem; object-fit: cover; border-radius: .75rem; }
.weichselberger-process-row > .col-lg-6:first-child::after { position: absolute; z-index: 2; right: 0; bottom: 0; width: 56%; height: 55%; content: ''; background: center / cover no-repeat; border-radius: .75rem; box-shadow: 0 1.25rem 2.5rem rgba(17,17,19,.20); }
.weichselberger-process-row:nth-child(1) > .col-lg-6:first-child::before { background-image: url('../img/process/plan-planung-800.webp'); background-image: image-set(url('../img/process/plan-planung-800.webp') 1x, url('../img/process/plan-planung-1200.webp') 2x); }
.weichselberger-process-row:nth-child(2) > .col-lg-6:first-child::before { background-image: url('../img/process/plan-beratung-800.webp'); background-image: image-set(url('../img/process/plan-beratung-800.webp') 1x, url('../img/process/plan-beratung-1200.webp') 2x); }
.weichselberger-process-row:nth-child(3) > .col-lg-6:first-child::before { background-image: url('../img/process/plan-visualisierung-800.webp'); background-image: image-set(url('../img/process/plan-visualisierung-800.webp') 1x, url('../img/process/plan-visualisierung-1200.webp') 2x); }
.weichselberger-process-row:nth-child(4) > .col-lg-6:first-child::before { background-image: url('../img/process/plan-cnc-fertigung-800.webp'); background-image: image-set(url('../img/process/plan-cnc-fertigung-800.webp') 1x, url('../img/process/plan-cnc-fertigung-1200.webp') 2x); }
.weichselberger-process-row:nth-child(5) > .col-lg-6:first-child::before { background-image: url('../img/process/plan-montage-800.webp'); background-image: image-set(url('../img/process/plan-montage-800.webp') 1x, url('../img/process/plan-montage-1200.webp') 2x); }
.weichselberger-process-row:nth-child(6) > .col-lg-6:first-child::before { background-image: url('../img/process/plan-ihr-projekt-800.webp'); background-image: image-set(url('../img/process/plan-ihr-projekt-800.webp') 1x, url('../img/process/plan-ihr-projekt-1200.webp') 2x); }
.weichselberger-process-row:nth-child(1) > .col-lg-6:first-child::after { background-image: url('../img/process/planung-detail-800.webp'); background-image: image-set(url('../img/process/planung-detail-800.webp') 1x, url('../img/process/planung-detail-1200.webp') 2x); }
.weichselberger-process-row:nth-child(2) > .col-lg-6:first-child::after { background-image: url('../img/process/beratung-detail-800.webp'); background-image: image-set(url('../img/process/beratung-detail-800.webp') 1x, url('../img/process/beratung-detail-1200.webp') 2x); }
.weichselberger-process-row:nth-child(3) > .col-lg-6:first-child::after { background-image: url('../img/process/visualisierung-detail-800.webp'); background-image: image-set(url('../img/process/visualisierung-detail-800.webp') 1x, url('../img/process/visualisierung-detail-1200.webp') 2x); }
.weichselberger-process-row:nth-child(4) > .col-lg-6:first-child::after { background-image: url('../img/process/cnc-fertigung-detail-800.webp'); background-image: image-set(url('../img/process/cnc-fertigung-detail-800.webp') 1x, url('../img/process/cnc-fertigung-detail-1200.webp') 2x); }
.weichselberger-process-row:nth-child(5) > .col-lg-6:first-child::after { background-image: url('../img/process/montage-detail-800.webp'); background-image: image-set(url('../img/process/montage-detail-800.webp') 1x, url('../img/process/montage-detail-1200.webp') 2x); }
.weichselberger-process-row:nth-child(6) > .col-lg-6:first-child::after { background-image: url('../img/process/ihr-projekt-detail-800.webp'); background-image: image-set(url('../img/process/ihr-projekt-detail-800.webp') 1x, url('../img/process/ihr-projekt-detail-1200.webp') 2x); }
.weichselberger-process-copy { max-width: 35rem; }
.weichselberger-process-kicker { color: var(--weichselberger-red); font-size: .8rem; font-weight: 700; letter-spacing: .16em; margin-bottom: 1rem; }
.weichselberger-process-copy h2 { color: var(--weichselberger-nav-ink); font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 800; line-height: 1.08; margin-bottom: 1.25rem; }
.weichselberger-process-copy > p:not(.weichselberger-process-kicker) { color: var(--weichselberger-gray); font-size: 1.15rem; line-height: 1.75; margin-bottom: 1.75rem; }
html .scroll-to-top,
html .scroll-to-top i,
html .scroll-to-top span { color: #fff; }

@media (max-width: 991px) {
  .weichselberger-process-row { min-height: 0; padding-bottom: 2rem; }
  .weichselberger-process-row > .col-lg-6:first-child { margin-bottom: 1rem; }
}

.weichselberger-type-intro-word-long {
  font-size: clamp(3.2rem, 8.3vw, 8.75rem);
}

.weichselberger-type-intro-middle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.weichselberger-type-intro-middle p {
  flex: 0 1 35rem;
  margin: 0;
  color: var(--weichselberger-gray);
  font-family: "Nothing You Could Do", cursive;
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  line-height: 1.8;
}

.weichselberger-type-intro-portrait {
  flex: 0 0 auto;
  width: clamp(6.5rem, 9vw, 9rem);
  height: clamp(6.5rem, 9vw, 9rem);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0.75rem 2rem rgba(17, 17, 19, 0.20);
}

.weichselberger-type-intro-middle p strong {
  color: var(--weichselberger-black);
  font-weight: 700;
}

@media (max-width: 991px) {
  .weichselberger-type-intro-middle {
    flex-direction: column;
  }

  .weichselberger-type-intro-middle p {
    flex-basis: auto;
    max-width: 42rem;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .weichselberger-type-intro-word {
    font-size: clamp(3.2rem, 19vw, 5.5rem);
  }

  .weichselberger-type-intro-word-long {
    font-size: clamp(2.1rem, 11.7vw, 3.5rem);
  }
}

.weichselberger-footer-badge {
  background-color: #fff;
  border-radius: 50%;
}


/* Standard content pages */
.weichselberger-standard-page {
  background: var(--weichselberger-white);
}

.weichselberger-page-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem) 0 1.5rem;
  background:
    linear-gradient(110deg, rgba(151, 20, 27, 0.035), transparent 42%),
    var(--weichselberger-white);
}

/* White wood relief with naturally tapering grain; decorative and horizontal. */
.weichselberger-page-intro::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)),
    url("../img/textures/page-header-white-grain-tapered-v3.webp") center / max(100%, 1800px) auto no-repeat;
  filter: grayscale(100%);
  pointer-events: none;
}

.weichselberger-page-intro > .container {
  position: relative;
  z-index: 1;
}

/* Shared header geometry: previously inherited only on Über uns from Porto Startup. */
@media (min-width: 1200px) {
  .weichselberger-page-intro > .container {
    max-width: 1200px !important;
  }
}

.weichselberger-page-intro::after {
  position: absolute;
  top: 16%;
  right: -2.5rem;
  width: clamp(9rem, 18vw, 17rem);
  aspect-ratio: 1;
  content: "";
  background: url("../img/logo/weichselberger-holzkirsche.png") center / contain no-repeat;
  opacity: 0.025;
  pointer-events: none;
  transform: rotate(8deg);
}

.weichselberger-breadcrumb {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--weichselberger-gray);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.weichselberger-breadcrumb a {
  color: var(--weichselberger-nav-ink);
  text-decoration: none;
}

.weichselberger-breadcrumb a:hover,
.weichselberger-breadcrumb a:focus {
  color: var(--weichselberger-red);
}

.weichselberger-page-kicker {
  margin: 0 0 0.9rem;
  color: var(--weichselberger-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.weichselberger-page-intro h1 {
  max-width: 100%;
  margin: 0;
  color: var(--weichselberger-nav-ink);
  font-size: clamp(1.75rem, 9vw, 6.25rem);
  font-weight: 800;
  hyphens: none;
  letter-spacing: -0.055em;
  line-height: 0.94;
  overflow-wrap: break-word;
  white-space: normal;
}

.weichselberger-page-description-row {
  margin-top: clamp(1.1rem, 2vw, 1.5rem);
}

@media (min-width: 992px) {
  .weichselberger-page-intro h1 {
    max-width: calc(100% - 6.25rem);
  }
}

.weichselberger-page-lead {
  max-width: 38rem;
  margin: 0;
  color: var(--weichselberger-gray);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.75;
}

.weichselberger-page-rule {
  position: relative;
  height: 1px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(48, 50, 52, 0.14);
}

.weichselberger-page-rule span {
  position: absolute;
  top: -2px;
  left: 0;
  width: clamp(4rem, 9vw, 8rem);
  height: 5px;
  background: var(--weichselberger-red);
}

.weichselberger-page-body {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  background: var(--weichselberger-white);
}

.weichselberger-content {
  color: var(--weichselberger-gray);
  font-size: 1.05rem;
  line-height: 1.85;
}

.weichselberger-content > :first-child {
  margin-top: 0;
}

.weichselberger-content .lead {
  max-width: 46rem;
  margin-bottom: 3.5rem;
  color: var(--weichselberger-nav-ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.6;
}

.weichselberger-content h2 {
  margin: clamp(3rem, 6vw, 5rem) 0 1.25rem;
  color: var(--weichselberger-nav-ink);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.weichselberger-content h3 {
  margin: 2.5rem 0 1rem;
  color: var(--weichselberger-nav-ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.weichselberger-content a {
  color: var(--weichselberger-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.weichselberger-content strong,
.weichselberger-content dt {
  color: var(--weichselberger-nav-ink);
}

.weichselberger-content dl {
  display: grid;
  grid-template-columns: minmax(10rem, 0.42fr) 1fr;
  gap: 0.75rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(48, 50, 52, 0.12);
  border-bottom: 1px solid rgba(48, 50, 52, 0.12);
}

.weichselberger-content dt,
.weichselberger-content dd {
  margin: 0;
}

.weichselberger-content .alert {
  padding: 1.5rem 1.75rem;
  border: 0;
  border-left: 4px solid var(--weichselberger-red);
  border-radius: 0;
  background: var(--weichselberger-gray-light);
  color: var(--weichselberger-nav-ink);
}

.weichselberger-contact-card {
  position: sticky;
  top: 7rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 5px solid var(--weichselberger-red);
  border-radius: var(--weichselberger-card-radius);
  background: var(--weichselberger-gray-light);
  overflow: hidden;
}

.weichselberger-contact-card > img {
  margin-bottom: 2rem;
}

.weichselberger-contact-card-kicker {
  margin: 0 0 0.7rem;
  color: var(--weichselberger-red) !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.weichselberger-contact-card h2 {
  margin: 0 0 1rem;
  color: var(--weichselberger-nav-ink);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.weichselberger-contact-card p {
  color: var(--weichselberger-gray);
  line-height: 1.65;
}

.weichselberger-contact-link {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.85rem;
  color: var(--weichselberger-nav-ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.weichselberger-contact-link i {
  width: 1rem;
  color: var(--weichselberger-red);
  text-align: center;
}

.weichselberger-contact-card .btn {
  border-color: var(--weichselberger-red);
  background: var(--weichselberger-red);
  color: #fff;
  font-weight: 750;
}

.weichselberger-contact-card .btn:hover,
.weichselberger-contact-card .btn:focus {
  border-color: var(--weichselberger-red-dark);
  background: var(--weichselberger-red-dark);
  color: #fff;
}

@media (max-width: 991px) {
  .weichselberger-page-intro::after {
    display: none;
  }

  .weichselberger-page-intro h1 {
    max-width: none;
  }

  .weichselberger-page-lead {
    max-width: 42rem;
  }

  .weichselberger-contact-card {
    position: static;
    max-width: 34rem;
  }
}

@media (max-width: 575px) {
  .weichselberger-content dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .weichselberger-content dd {
    margin-bottom: 1rem;
  }
}

/* Fred team cards */
.weichselberger-team-card { display: grid; grid-template-columns: minmax(13rem, .85fr) minmax(20rem, 1.15fr); overflow: hidden; margin: 0 0 clamp(2rem, 5vw, 4rem); border: 1px solid rgba(48,50,52,.12); border-radius: var(--weichselberger-card-radius); background: #fff; box-shadow: 0 16px 40px rgba(17,17,19,.28); }

/* Keep Porto's standard shadow utility, but give all shadowed project cards a touch more depth. */
.box-shadow-4:not(.box-shadow-hover),
.box-shadow-4.box-shadow-hover:hover {
  box-shadow: 0 16px 40px rgba(17, 17, 19, .28);
}
.weichselberger-team-card--right .weichselberger-team-card__media { order: 2; }
.weichselberger-team-card__media { min-height: 26rem; background: var(--weichselberger-gray-light); }
.weichselberger-team-card__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.weichselberger-team-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.weichselberger-content .weichselberger-team-card__role { margin: 0 0 .75rem; color: var(--weichselberger-red); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.weichselberger-content .weichselberger-team-card__name { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 2.25vw, 2.15rem); overflow-wrap: normal; word-break: normal; }
.weichselberger-team-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.weichselberger-content .weichselberger-team-card__actions .btn { color: #fff; text-decoration: none; }
.weichselberger-content .weichselberger-team-card__actions .btn-outline-success { border-color: #1f9d55; color: #187a43; }
.weichselberger-content .weichselberger-team-card__actions .btn-outline-success:hover,
.weichselberger-content .weichselberger-team-card__actions .btn-outline-success:focus { background: #187a43; color: #fff; }

/* Design decision: Porto heroes run edge-to-edge; no left container bar. */
.weichselberger-content > .weichselberger-porto-startup-hero { width: 100vw; margin-left: calc(50% - 50vw); }

@media (max-width: 767px) {
  .weichselberger-team-actions { grid-template-columns: 1fr; }
  .weichselberger-contact-cta { padding: 4rem 0; }
  .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-contact-flip-card,
  .weichselberger-contact-flip-card .flip-front,
  .weichselberger-contact-flip-card .flip-back { min-height: 15rem; }
  .weichselberger-team-card { grid-template-columns: 1fr; }
  .weichselberger-team-card--right .weichselberger-team-card__media { order: 0; }
  .weichselberger-team-card__media,
  .weichselberger-team-card__media img { min-height: 20rem; }
}

/* Match the homepage custom-page-wrapper inset for shared contact cards. */
.weichselberger-about-contact--flow { padding-inline: 6.4vw !important; }

/* Abschlusscheck: shared accessible colours, without changing Porto sources. */
:root { --weichselberger-gray: #626264; --default: #626264; }
body { color: var(--weichselberger-gray); }
body p { color: var(--weichselberger-gray); }
html body .text-color-default,
html body .text-color-grey:not(.positive-ls-2),
body .weichselberger-concept-intro,
body .weichselberger-audience-page .weichselberger-concept-intro,
body.weichselberger-page-planung .weichselberger-contact-cta-heading p {
  color: var(--weichselberger-gray) !important;
}
#footer .footer-copyright a { text-decoration: underline; text-underline-offset: .18em; }
[data-weichselberger-pending-references][hidden] { display: none !important; }

/* Visible, large slider controls; the approved heading remains untouched. */
#weichselbergerHero .owl-nav button { min-width: 44px; min-height: 44px; }
#weichselbergerHero .owl-dots .owl-dot { width: 44px; height: 44px; }
#weichselbergerHero .owl-dots .owl-dot span { margin: auto; background: #fff; border: 2px solid #303234; }
#weichselbergerHero .owl-dots .owl-dot.active span { background: #97141b; border-color: #fff; }
#weichselbergerHero .owl-dots {
  display: flex; justify-content: center; align-items: center;
  height: 44px; margin: 0; padding-right: 52px;
}
.weichselberger-slider-pause {
  position: absolute; z-index: 4; left: calc(50% + 48px); bottom: 10.5rem;
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: transparent; color: #fff; border: 0; cursor: pointer;
}
.weichselberger-slider-pause::before {
  content: ""; display: block; width: 10px; height: 13px;
  border-inline: 3px solid currentColor;
  filter: drop-shadow(0 1px 2px #111113) drop-shadow(0 0 1px #111113);
}
.weichselberger-slider-pause.is-paused::before {
  width: 0; height: 0; margin-left: 3px;
  border: 7px solid transparent; border-right: 0; border-left: 11px solid currentColor;
}
.weichselberger-slider-pause:hover { background: rgba(17, 17, 19, .22); }
@media (max-width: 1199px) {
  .weichselberger-slider-pause { bottom: 7.25rem; }
}
@media (max-width: 767px) {
  .weichselberger-slider-pause { bottom: 5rem; }
}
.weichselberger-slider-pause[hidden] { display: none; }
body :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #97141b; outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff;
}
#home button:focus-visible, #footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #111113; }
/* Keyboard focus reveals the actionable card face, as hover already does. */
.weichselberger-contact-flip-card:focus-within .flip-front { transform: rotateY(-180deg); }
.weichselberger-contact-flip-card:focus-within .flip-back { transform: rotateY(0deg); }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .weichselberger-contact-flip-card .flip-front { display: none; }
  .weichselberger-contact-flip-card .flip-back {
    position: relative; transform: none !important; transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #weichselbergerHero .animated { animation: none !important; }
}

/* One locally hosted heading family; the handwritten quote keeps its own rule. */
body h1, body h2, body h3, body h4, body h5, body h6,
body .custom-font-secondary, body .custom-font-tertiary {
  font-family: "Libre Franklin", Arial, sans-serif !important;
}
.weichselberger-illustration-notice { color: var(--weichselberger-gray); font-size: .85rem; }
@media (max-width: 767px) {
  .weichselberger-glass-card .card-body { padding-block: 1.25rem; }
  .weichselberger-process-row { margin-bottom: 3.5rem; }
}
