/* Babicke Malerbetrieb – Entwurf 2 (dunkel, blau, eckig) */
@import url('shared/client-theme-base.css');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  --brand-yellow: #fdcb2d;
  --brand-yellow-deep: #e6b100;
  --brand-navy: #1a3668;
  --brand-navy-mid: #243f72;
  --brand-navy-deep: #0d1a2e;
  --brand-navy-page: #1a3668;
  --brand-blue: #5b82c4;
  --brand-ink: #152033;
  --brand-muted: #5a6578;
  --brand-soft: #eef3fb;
  --brand-line: #d5deec;
  --brand-white: #ffffff;

  --fs-body: 1.05rem;
  --fs-small: 0.95rem;
  --fs-h1: clamp(1.65rem, 3vw, 2.25rem);
  --fs-h2: clamp(1.35rem, 2.2vw, 1.7rem);
  --fs-h3: 1.1rem;

  --wf-font: "Figtree", system-ui, -apple-system, sans-serif;
  --cc-font: "Figtree", system-ui, -apple-system, sans-serif;
  --cc-display: "Syne", "Figtree", system-ui, sans-serif;
  --cc-radius: 0;

  --wf-text: var(--brand-ink);
  --wf-text-muted: var(--brand-muted);
  --wf-bg: var(--brand-white);
  --wf-bg-subtle: var(--brand-soft);
  --wf-surface: var(--brand-white);
  --wf-border: var(--brand-line);
  --wf-border-strong: var(--brand-yellow);
  --wf-accent: var(--brand-yellow);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--cc-font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--brand-ink);
  background: var(--brand-navy-page);
  overflow-x: clip;
}

p,
.wf-teaser__intro,
.wf-teaser__text-block p,
.wf-contact__intro,
.wf-ref-page__intro,
.wf-banner__intro,
.wf-cta-banner__text,
.wf-leistung__intro,
.wf-leistung-section__content p,
.wf-about__section p,
.wf-leistung-vorteile--d__item-text,
.wf-hero--m__subheadline,
.wf-hero--m__card-text,
.wf-ref-strohm__subtitle,
.wf-contact-info__value,
.wf-footer__text {
  font-family: var(--cc-font) !important;
  font-size: var(--fs-body) !important;
  line-height: 1.65 !important;
}

.wf-leistung-vorteile--d__item-text,
.wf-hero--m__card-text,
.wf-contact-info__label {
  font-size: var(--fs-small) !important;
}

h1,
.wf-hero--m__headline,
.wf-about__title,
.wf-contact__title,
.wf-ref-page__title,
.wf-leistung__title {
  font-family: var(--cc-display) !important;
  font-size: var(--fs-h1) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

h2,
.wf-teaser__title,
.wf-teaser__title--sm,
.wf-leistung-vorteile__title,
.wf-cta-banner__headline,
.wf-about__section-title,
.wf-leistung-section__label,
.wf-ref-grid__caption,
.wf-hero--m__card-title {
  font-family: var(--cc-display) !important;
  font-size: var(--fs-h2) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
}

.wf-hero--m__card-title,
.wf-leistung-vorteile--d__item-title,
.wf-ref-grid__caption,
.wf-about__section-title,
.wf-leistung-section__label,
.wf-footer__heading {
  font-size: var(--fs-h3) !important;
}

h3,
.wf-leistung-vorteile--d__item-title,
.wf-footer__heading,
.wf-contact-info__label {
  font-family: var(--cc-font) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.wf-module-label,
.wf-placeholder-icon { display: none !important; }

.wf-teaser__divider,
.wf-contact__divider { display: none !important; }

img { max-width: 100%; height: auto; display: block; }

.site-section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.site-panel {
  width: min(1120px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
  background: var(--brand-white);
  border: 1px solid color-mix(in srgb, var(--brand-blue) 28%, transparent);
  box-shadow: 0 18px 40px rgba(8, 16, 32, 0.28);
}

.site-panel--flush {
  padding: 0;
  overflow: hidden;
}

.wf-teaser__kicker,
.wf-contact__kicker,
.wf-ref-page__kicker {
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  color: var(--brand-navy) !important;
  font-weight: 650;
}

/* Buttons: eckig */
.wf-placeholder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--brand-yellow) !important;
  color: var(--brand-navy-deep) !important;
  font-family: var(--cc-font);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(230, 177, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wf-placeholder-button:hover {
  transform: translateY(-1px);
  background: #ffd54a !important;
  box-shadow: 0 14px 28px rgba(230, 177, 0, 0.3);
}

.wf-placeholder-button--ghost {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: none;
}

.wf-placeholder-button--navy {
  background: var(--brand-navy) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(26, 54, 104, 0.28);
}

/* Header B */
.wf-header--b {
  background: color-mix(in srgb, var(--brand-navy-deep) 92%, #000) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-blue) 35%, transparent) !important;
  color: #fff;
  position: relative;
  top: auto;
  z-index: 40;
}

.wf-header--b .wf-header__inner {
  min-height: 7.75rem;
  gap: 1.15rem;
  position: relative;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.wf-header--b .wf-header__logo img {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.wf-header__nav-link,
.site-nav-dropdown__trigger.wf-header__nav-link {
  font-family: var(--cc-font) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border-radius: 0;
  padding: 0.45rem 0.2rem;
}

.wf-header__nav-link.is-active,
.wf-header__nav-link:hover,
.site-nav-dropdown__trigger.wf-header__nav-link:hover {
  color: var(--brand-yellow) !important;
}

.site-menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  width: 44px;
  height: 44px;
  place-items: center;
  align-content: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.site-menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.site-nav-dropdown { position: relative; }

.site-nav-dropdown__trigger {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-nav-dropdown__chevron {
  display: inline-block;
  margin-left: 0.15rem;
  transition: transform 0.2s ease;
}

.site-nav-dropdown:hover .site-nav-dropdown__chevron,
.site-nav-dropdown.is-open .site-nav-dropdown__chevron,
.site-nav-dropdown:focus-within .site-nav-dropdown__chevron {
  transform: rotate(180deg);
}

.site-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 0;
  box-shadow: 0 16px 36px rgba(8, 16, 32, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s ease;
  z-index: 50;
}

.site-nav-dropdown:hover .site-nav-dropdown__menu,
.site-nav-dropdown.is-open .site-nav-dropdown__menu,
.site-nav-dropdown:focus-within .site-nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.site-nav-dropdown__link {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 550;
}

.site-nav-dropdown__link:hover {
  background: var(--brand-soft);
  color: var(--brand-navy);
}

/* Hero M */
.wf-hero--m {
  background: transparent;
  padding-bottom: 0.5rem;
}

.wf-hero--m__hero {
  min-height: calc(100svh - 7.75rem);
  border-radius: 0;
}

@supports not (height: 100svh) {
  .wf-hero--m__hero {
    min-height: calc(100vh - 7.75rem);
  }
}

.wf-hero--m__surface {
  background:
    linear-gradient(115deg, rgba(13, 26, 46, 0.2), transparent 50%),
    url("assets/hero/haus-fahnen.jpg") 38% center / cover no-repeat !important;
}

.wf-hero--m__overlay {
  background: color-mix(in srgb, var(--brand-navy-deep) 62%, transparent) !important;
}

.wf-hero--m__teasers {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(2.75rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 1.75rem) !important;
  margin-bottom: 0;
  padding-top: 1.25rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.wf-hero--m__content {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.wf-hero--m__headline {
  letter-spacing: -0.02em;
}

.wf-hero--m__card {
  border-radius: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important;
  border: 1px solid color-mix(in srgb, var(--brand-blue) 25%, transparent) !important;
  box-shadow: 0 14px 30px rgba(8, 16, 32, 0.22), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  text-decoration: none;
  color: inherit;
  min-height: 15.5rem;
  padding: calc(2.65rem + 0.35rem) 1.25rem 1.65rem !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wf-hero--m__card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand-yellow) 55%, var(--brand-blue)) !important;
  box-shadow: 0 22px 40px rgba(8, 16, 32, 0.32);
}

.wf-hero--m__card-icon {
  border-radius: 0 !important;
  background: var(--brand-navy) !important;
  border-color: #fff !important;
  box-shadow: 0 0 0 1.5px var(--brand-navy);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 3.1rem;
  height: 3.1rem;
  color: #fff !important;
  line-height: 1;
  font-size: 1.35rem;
}

.wf-hero--m__card-icon img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@font-face {
  font-family: "BabickeFA";
  src: url("assets/icons/fa-solid-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "BabickeET";
  src: url("assets/icons/etmodules.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.site-svc-icon--fa {
  font-family: "BabickeFA", sans-serif !important;
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.site-svc-icon--et {
  font-family: "BabickeET", sans-serif !important;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.wf-hero--m__card-title,
.wf-hero--m__card-text {
  color: var(--brand-ink) !important;
}

.wf-hero--m__card-link {
  color: var(--brand-navy) !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--brand-yellow);
  padding-bottom: 0.1rem;
}

/* Über uns Teaser B – Bild links, Text rechts, volle Breite */
.site-about-teaser.wf-teaser--b {
  position: relative;
  isolation: isolate;
  max-width: none;
  width: 100%;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  padding: clamp(2.25rem, 4vw, 3.25rem) var(--wf-container-padding, 1.25rem);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-about-teaser.wf-teaser--b::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
  pointer-events: none;
}

.site-about-teaser__split {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
  align-items: center;
}

.site-about-teaser .wf-teaser__title {
  color: var(--brand-navy);
}

.site-about-teaser .wf-teaser__text-block {
  color: var(--brand-muted);
}

.site-about-teaser .wf-teaser__media-col img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.site-about-teaser__photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  box-shadow: 0 18px 40px rgba(18, 38, 74, 0.28);
}

.site-about-teaser__photo:hover {
  box-shadow: 0 22px 46px rgba(18, 38, 74, 0.36);
}

/* Vorteile D – ohne Section-Hintergrund (Body scheint durch) */
.wf-leistung-vorteile--d {
  position: relative;
  background: transparent !important;
  color: #fff;
  margin: 0;
  width: 100%;
  max-width: none;
  padding: clamp(2.75rem, 5.5vw, 4rem) var(--wf-container-padding, 1.25rem) !important;
  border: 0;
  box-shadow: none;
}

.wf-leistung-vorteile--d::before {
  display: none;
}

.wf-leistung-vorteile--d .wf-leistung-vorteile__inner {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
}

.wf-leistung-vorteile--d__title {
  position: relative;
  padding-bottom: 0.85rem;
  margin-bottom: 1.75rem !important;
}

.wf-leistung-vorteile--d__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3rem;
  height: 3px;
  transform: translateX(-50%);
  background: var(--brand-yellow);
}

.wf-leistung-vorteile--d__title,
.wf-leistung-vorteile--d__item-title {
  color: #fff !important;
}

.wf-leistung-vorteile--d__item {
  padding: 1.1rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wf-leistung-vorteile--d__item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(253, 203, 45, 0.4);
  transform: translateY(-2px);
}

.wf-leistung-vorteile--d__item-text {
  color: rgba(255, 255, 255, 0.88) !important;
}

.wf-leistung-vorteile--d__brand-icon {
  border-radius: 0 !important;
  border-color: rgba(253, 203, 45, 0.55) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.4rem;
}

.wf-leistung-vorteile--d__brand-icon img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Kundenstimmen – Marquee unter Vorteile */
.wf-reviews--a {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0 0 clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.wf-reviews--a .wf-reviews__kicker {
  color: var(--brand-yellow) !important;
}

.wf-reviews--a .wf-reviews__title,
.wf-reviews--a .wf-reviews__intro {
  color: #fff !important;
}

.wf-reviews--a .wf-reviews__intro {
  color: rgba(255, 255, 255, 0.82) !important;
}

.wf-review-card {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 32px rgba(8, 16, 32, 0.28);
  color: #fff;
}

.wf-review-card__name {
  color: #fff !important;
}

.wf-review-card__date,
.wf-review-card__text {
  color: rgba(255, 255, 255, 0.86) !important;
}

.wf-review-avatar {
  background: var(--brand-yellow) !important;
  color: var(--brand-navy-deep) !important;
}

.wf-review-stars__star {
  color: var(--brand-yellow) !important;
}

.wf-review-card__text.is-collapsible:not(.is-expanded) {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wf-review-more {
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-yellow);
  font: inherit;
  font-weight: 650;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wf-reviews__marquee-set[aria-hidden="true"] .wf-review-more {
  display: none;
}

.wf-reviews__marquee-track:has(.wf-review-card:hover) {
  animation-play-state: paused;
}

/* Referenzen Teaser C – zentrierter Slider, volle Breite */
.site-ref-teaser.wf-teaser--c {
  position: relative;
  isolation: isolate;
  max-width: none;
  width: 100%;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) var(--wf-container-padding, 1.25rem);
}

.site-ref-teaser.wf-teaser--c::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
  pointer-events: none;
}

.site-ref-teaser .wf-ref-slider {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
}

.site-ref-teaser .wf-teaser__title {
  color: var(--brand-navy);
  text-align: center;
}

.site-ref-teaser .wf-teaser__intro {
  color: var(--brand-muted);
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.site-ref-teaser .wf-teaser__header {
  text-align: center;
}

.site-ref-placeholder--slider {
  min-height: 340px;
}

.site-ref-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  width: 100%;
  border: 1.5px dashed color-mix(in srgb, var(--brand-navy) 35%, var(--brand-line));
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(26, 54, 104, 0.05),
      rgba(26, 54, 104, 0.05) 12px,
      rgba(253, 203, 45, 0.08) 12px,
      rgba(253, 203, 45, 0.08) 24px
    );
  color: var(--brand-navy);
  font-weight: 650;
  letter-spacing: 0.02em;
}

.wf-ref-grid__media .site-ref-placeholder {
  min-height: 0;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.wf-gallery-preview__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.wf-gallery-preview__arrow {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-line);
  background: #fff;
  color: var(--brand-navy);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.wf-gallery-preview__arrow:hover {
  background: var(--brand-soft);
}

.wf-gallery-preview__dots {
  display: flex;
  gap: 0.4rem;
}

.wf-gallery-preview__dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--brand-line);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.wf-gallery-preview__dot--active,
.wf-gallery-preview__dot.is-active {
  background: var(--brand-navy);
}

/* Kontakt A – ohne navy-Band, glasige Boxen */
.wf-contact--a {
  position: relative;
  width: 100%;
  max-width: none;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  padding: clamp(2.5rem, 5vw, 3.75rem) var(--wf-container-padding, 1.25rem);
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

.wf-contact--a::before {
  display: none;
}

.wf-contact--a .wf-contact__inner {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
}

.wf-contact--a .wf-contact__title,
.wf-contact--a .wf-contact__kicker {
  color: #fff !important;
}

.wf-contact--a .wf-contact__split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .wf-contact--a .wf-contact__split {
    grid-template-columns: 1fr;
  }
}

.wf-contact-info__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.wf-contact-info__label {
  display: block;
  margin-bottom: 0.15rem;
}

.wf-form__checkbox a {
  color: var(--brand-navy);
}

.wf-leistung-section__split {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: start;
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
}

@media (max-width: 700px) {
  .wf-leistung-section__split {
    grid-template-columns: 1fr;
  }
}

a { overflow-wrap: anywhere; }

.wf-contact__box {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding: 1.35rem !important;
  box-shadow: 0 18px 40px rgba(8, 16, 32, 0.28) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.wf-contact__box--form {
  background: rgba(255, 255, 255, 0.12) !important;
}

.wf-contact__box .wf-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wf-contact__box .wf-form__actions {
  margin-top: auto;
  padding-top: 0.75rem;
}

.wf-contact-info__label {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: var(--fs-small) !important;
}

.wf-contact-info__value,
.wf-contact-info__value a {
  color: #fff !important;
}

.wf-contact--a .wf-form__label,
.wf-contact--a .wf-form__checkbox {
  color: rgba(255, 255, 255, 0.9) !important;
}

.wf-form__checkbox a {
  color: var(--brand-yellow) !important;
}

.wf-placeholder-map {
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 0 !important;
}

.wf-placeholder-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.wf-form__input,
.wf-form__textarea,
.wf-form__select-trigger {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wf-form__input::placeholder,
.wf-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.wf-form__input:focus,
.wf-form__textarea:focus,
.wf-form__select-trigger:focus {
  border-color: rgba(253, 203, 45, 0.7) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(253, 203, 45, 0.2);
}

.site-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

/* CTA A – heller Glas-Look, volle Breite */
.wf-cta-banner--a,
.site-cta.wf-cta-banner--a {
  width: 100vw;
  max-width: none;
  margin: clamp(1.75rem, 3.5vw, 2.75rem) 0 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  color: #fff;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: clamp(2.25rem, 4vw, 3.25rem) var(--wf-container-padding, 1.25rem);
}

.wf-cta-banner--a .wf-cta-banner__inner {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
}

.wf-cta-banner--a .wf-cta-banner__headline,
.wf-cta-banner--a .wf-cta-banner__text {
  color: #fff !important;
}

.wf-cta-banner--a .wf-cta-banner__text {
  color: rgba(255, 255, 255, 0.88) !important;
}

.wf-cta-banner--a .wf-placeholder-button:not(.wf-placeholder-button--ghost) {
  background: var(--brand-yellow) !important;
  color: var(--brand-navy-deep) !important;
}

.wf-cta-banner--a .wf-placeholder-button--ghost {
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.wf-cta-banner--a .wf-placeholder-button--ghost:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

/* Leistung B – vollbreit, am Header anschließen */
.wf-leistung--b {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
}

.wf-leistung-hero {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: min(48vh, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 9vw, 6.5rem) var(--wf-container-padding, 1.25rem);
  border-bottom: 0;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(13, 26, 46, 0.78), rgba(26, 54, 104, 0.55)),
    var(--leistung-hero-image) center / cover no-repeat;
}

.wf-leistung-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--brand-yellow);
}

.wf-leistung-hero .wf-leistung__title,
.wf-leistung-hero .wf-leistung__intro {
  max-width: var(--wf-max-width, 1120px);
  margin-left: auto;
  margin-right: auto;
}

.wf-leistung__title {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.wf-leistung__intro {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 46rem;
}

.wf-leistung-sections {
  width: 100%;
  padding: 0;
}

.wf-leistung-section {
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--wf-container-padding, 1.25rem);
  border-bottom: 1px solid color-mix(in srgb, #fff 18%, transparent);
}

.wf-leistung-section:last-child { border-bottom: 0; }

.wf-leistung-section--alt {
  background: color-mix(in srgb, var(--brand-navy) 70%, #0d1a2e);
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--wf-container-padding, 1.25rem);
  padding-right: var(--wf-container-padding, 1.25rem);
}

.wf-leistung-section__label {
  color: var(--brand-yellow) !important;
}

.wf-leistung-section__content p,
.wf-leistung-list,
.wf-leistung-list li {
  color: rgba(255, 255, 255, 0.92) !important;
}

.wf-leistung-list {
  margin: 0.75rem 0 0;
  padding-left: 0;
}

.wf-leistung-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: var(--fs-body) !important;
}

.wf-leistung-list li + li { margin-top: 0.35rem; }

.wf-leistung-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-yellow) !important;
}

/* Über uns B */
.wf-about--b {
  width: min(1120px, calc(100% - 2rem));
  margin: clamp(1.5rem, 3vw, 2.5rem) auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.wf-about--b .wf-about__title { color: #fff; }

.wf-about__overlap-text {
  background: var(--brand-yellow);
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

.wf-about--b .wf-about__section p {
  color: #12243f !important;
}

.wf-about__overlap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

.wf-about__section-title {
  color: #0d1a2e !important;
  background: transparent;
  display: block;
  margin: 0 0 0.65rem;
  padding: 0;
  font-weight: 800 !important;
  -webkit-text-fill-color: #0d1a2e;
}

.wf-about--b .wf-about__section-title {
  color: #0d1a2e !important;
}

.wf-about__overlap-media {
  display: grid;
  gap: 1rem;
  align-content: center;
  position: static;
}

.wf-about__overlap-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--brand-blue) 35%, transparent);
}

/* Referenzen Galerie D */
.wf-ref-page--d {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: clamp(2rem, 4vw, 3rem) var(--wf-container-padding, 1.25rem);
}

.wf-ref-page--d .wf-ref-page__inner {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
}

.wf-ref-page__title,
.wf-ref-page__kicker {
  color: #fff !important;
}

.wf-ref-page__intro {
  color: rgba(255, 255, 255, 0.82) !important;
}

.wf-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wf-ref-grid__item {
  background: color-mix(in srgb, var(--brand-navy) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-blue) 35%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wf-ref-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(8, 16, 32, 0.28);
}

.wf-ref-grid__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: transparent;
}

.wf-ref-grid__media .site-ref-placeholder {
  border-color: color-mix(in srgb, #fff 35%, var(--brand-yellow));
  color: #fff;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 12px,
      rgba(253, 203, 45, 0.1) 12px,
      rgba(253, 203, 45, 0.1) 24px
    );
}

.wf-ref-grid__caption {
  margin: 0;
  padding: 0.85rem 0.95rem 1rem;
  color: #fff !important;
  font-size: 1rem !important;
}

/* Footer C – Logo links, Spalten rechts, direkt am CTA */
.wf-footer--c {
  background: var(--brand-navy-deep) !important;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
  border-top: 0 !important;
}

.wf-footer--c .wf-footer__heading,
.wf-footer--c .wf-footer__text,
.wf-footer--c .wf-footer__link,
.wf-footer--c .wf-footer__bottom,
.wf-footer--c .wf-footer__bottom p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.wf-footer--c .wf-footer__heading {
  color: var(--brand-yellow) !important;
  margin-bottom: 0.75rem;
}

.wf-footer--c .wf-footer__link:hover {
  color: var(--brand-yellow) !important;
}

.wf-footer--c .site-footer-logo img {
  width: 7rem;
  height: auto;
  background: transparent;
}

.wf-footer--c .wf-footer__brand {
  max-width: 260px;
}

.wf-footer--c .wf-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  margin-top: 1.75rem;
  padding-top: 1rem;
}

/* Kontakt-Sprungmarke: Sticky-Header ausgleichen */
#kontakt {
  scroll-margin-top: 8.5rem;
}

/* Lightbox – nur sichtbar mit .is-open (kein Auto-Overlay) */
body.is-lightbox-open {
  overflow: hidden;
}

.wf-lightbox.site-lightbox,
.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 26, 46, 0.88);
}

.wf-lightbox.site-lightbox.is-open,
.site-lightbox.is-open {
  display: flex;
}

.wf-lightbox.site-lightbox[hidden]:not(.is-open),
.site-lightbox[hidden]:not(.is-open) {
  display: none !important;
}

.site-lightbox__close,
.wf-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.site-lightbox-trigger {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
  overflow: hidden;
}

.site-lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Über uns – Vorteile A + Schritte A (eckig) */
.site-about-usps.wf-leistung-vorteile--a {
  background: transparent !important;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) var(--wf-container-padding, 1.25rem) !important;
}

.site-about-usps .wf-leistung-vorteile__title {
  color: #fff !important;
}

.site-about-usps .wf-leistung-vorteile-stack__item {
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
}

.site-about-usps .wf-leistung-vorteile-stack__title {
  color: #fff !important;
}

.site-about-usps .wf-leistung-vorteile-stack__text {
  color: rgba(255, 255, 255, 0.86) !important;
}

.site-about-usps .wf-leistung-vorteile-stack__num {
  border-radius: 0 !important;
  background: var(--brand-yellow) !important;
  color: var(--brand-navy-deep) !important;
  border-color: var(--brand-yellow) !important;
}

.site-about-steps.wf-schritte--a {
  background: transparent !important;
  color: #fff;
  padding: clamp(2.25rem, 4.5vw, 3.5rem) var(--wf-container-padding, 1.25rem) !important;
}

.site-about-steps .wf-schritte__title {
  color: #fff !important;
}

.site-about-steps .wf-schritte-card__body {
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(12px);
  color: #fff;
}

.site-about-steps .wf-schritte-card__title {
  color: #fff !important;
}

.site-about-steps .wf-schritte-card__text {
  color: rgba(255, 255, 255, 0.86) !important;
}

.site-about-steps .wf-schritte-card__icon {
  display: none !important;
}

.site-about-steps .wf-schritte-card__num {
  border-radius: 0 !important;
  background: var(--brand-yellow) !important;
  color: var(--brand-navy-deep) !important;
  border-color: var(--brand-yellow) !important;
}

/* Jobs (Variante B) – dunkel, lesbare Schrift, einheitliche Größen */
.site-jobs-apply-centered,
.wf-jobs--b .wf-jobs-apply__split.site-jobs-apply-centered {
  display: block !important;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.wf-jobs--b {
  color: #fff;
  font-size: var(--fs-body);
  line-height: 1.65;
}

.wf-jobs--b .wf-jobs__section-kicker {
  color: var(--brand-yellow) !important;
  font-size: var(--fs-small) !important;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wf-jobs--b .wf-jobs__title,
.wf-jobs--b .wf-jobs-apply__form-title {
  color: #fff !important;
  font-family: var(--cc-display) !important;
  font-size: var(--fs-h2) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.wf-jobs--b .wf-jobs__intro,
.wf-jobs--b .wf-jobs-apply__text,
.wf-jobs--b .wf-jobs-item__panel-content,
.wf-jobs--b .wf-jobs-item__panel-content p,
.wf-jobs--b .wf-jobs-item__panel-content li,
.wf-jobs--b .wf-jobs-list li,
.wf-jobs--b .wf-form__label,
.wf-jobs--b .wf-form__checkbox {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: var(--fs-body) !important;
  line-height: 1.65 !important;
}

.wf-jobs--b .wf-jobs-item__subheading {
  color: #fff !important;
  font-size: var(--fs-body) !important;
  font-weight: 700 !important;
  margin: 1rem 0 0.4rem;
}

.wf-jobs--b .wf-jobs-item {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.wf-jobs--b .wf-jobs-item__trigger {
  color: #fff !important;
  background: transparent !important;
  font-size: var(--fs-body) !important;
  font-weight: 700;
  padding: 1.15rem 1.35rem !important;
  gap: 1rem;
}

.wf-jobs--b .wf-jobs-item__trigger:hover,
.wf-jobs--b .wf-jobs-item.is-open .wf-jobs-item__trigger {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

.wf-jobs--b .wf-jobs-item__panel {
  padding: 0 1.35rem 1.35rem !important;
}

.wf-jobs--b .wf-jobs-item__panel,
.wf-jobs--b .wf-jobs-item__panel-content {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.wf-jobs--b .wf-jobs-item__panel-content {
  padding-top: 0.15rem;
}

.wf-jobs--b .wf-jobs-item__icon,
.wf-jobs--b .wf-jobs-item__icon--plus {
  color: var(--brand-yellow) !important;
  border-color: rgba(253, 203, 45, 0.65) !important;
  margin-right: 0.15rem;
}

.wf-jobs--b .wf-jobs-apply__form-box {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(8, 16, 32, 0.28);
  padding: 1.75rem 1.5rem !important;
}

.wf-jobs--b .wf-jobs-apply {
  border-top-color: rgba(255, 255, 255, 0.18) !important;
}

.wf-jobs--b .wf-jobs-apply__text {
  margin-bottom: 1.5rem !important;
}

.wf-jobs--b .wf-jobs-apply__form-box .wf-form {
  margin-top: 0.25rem;
}

.wf-jobs--b .wf-jobs-apply__form-box .wf-form > .wf-form__field:first-of-type,
.wf-jobs--b .wf-jobs-apply__form-box .wf-form > .wf-form__row:first-of-type {
  margin-top: 0.35rem;
}

.wf-jobs--b .wf-form__checkbox a {
  color: var(--brand-yellow) !important;
}

.wf-jobs--b .wf-form__input,
.wf-jobs--b .wf-form__textarea,
.wf-jobs--b .wf-form__select-trigger,
.wf-jobs--b select.wf-form__input {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  font-size: var(--fs-body) !important;
}

.wf-jobs--b .wf-form__input::placeholder,
.wf-jobs--b .wf-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.wf-jobs--b .wf-form__input:focus,
.wf-jobs--b .wf-form__textarea:focus,
.wf-jobs--b select.wf-form__input:focus {
  border-color: rgba(253, 203, 45, 0.7) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(253, 203, 45, 0.2);
}

/* Leistungs-Unterseiten: Vorteile als eigene, abgesetzte Sektion */
.site-leistung-vorteile.wf-leistung-vorteile--b {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(3rem, 6vw, 4.5rem) var(--wf-container-padding, 1.25rem) clamp(2.25rem, 4vw, 3rem) !important;
  background: #0e1f3a !important;
  color: #fff;
  border-top: 3px solid var(--brand-yellow);
  border-bottom: 0;
  box-shadow: none;
}

/* Kein Spalt/Balken zwischen Vorteile und CTA */
.site-leistung-vorteile + .site-cta.wf-cta-banner--a,
.site-leistung-vorteile + .wf-cta-banner--a {
  margin-top: 0 !important;
}

.site-leistung-vorteile .wf-leistung-vorteile__inner {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto;
}

.site-leistung-vorteile .wf-leistung-vorteile__kicker {
  display: block;
  text-align: center;
  margin: 0 0 0.65rem;
  color: var(--brand-yellow) !important;
  font-size: 0.92rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-leistung-vorteile .wf-leistung-vorteile__title {
  position: relative;
  color: #fff !important;
  font-family: var(--cc-display) !important;
  font-size: var(--fs-h2) !important;
  text-align: center !important;
  margin: 0 auto 2.25rem !important;
  padding-bottom: 1rem;
  max-width: 38rem;
  line-height: 1.25 !important;
}

.site-leistung-vorteile .wf-leistung-vorteile__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3rem;
  height: 3px;
  transform: translateX(-50%);
  background: var(--brand-yellow);
}

.site-leistung-vorteile .wf-leistung-vorteile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.15rem !important;
}

.site-leistung-vorteile .wf-leistung-vorteile-card {
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.6rem 1.25rem !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-leistung-vorteile .wf-leistung-vorteile-card:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(253, 203, 45, 0.5) !important;
  transform: translateY(-3px);
}

.site-leistung-vorteile .wf-leistung-vorteile-card__icon {
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
  margin-bottom: 0.55rem;
  box-shadow: none;
}

.site-leistung-vorteile .wf-leistung-vorteile-card__icon img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
  filter: brightness(0) invert(1) !important;
}

.site-leistung-vorteile .wf-leistung-vorteile-card__text {
  color: #fff !important;
  font-size: var(--fs-small) !important;
  line-height: 1.55 !important;
  margin: 0;
}

@media (max-width: 800px) {
  .site-leistung-vorteile .wf-leistung-vorteile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .site-leistung-vorteile .wf-leistung-vorteile-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Karriere / Jobs C (falls genutzt) – dunkle Lesbarkeit */
.site-jobs.wf-jobs--c {
  background: transparent;
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem) var(--wf-container-padding, 1.25rem);
}

.site-jobs__intro {
  max-width: var(--wf-max-width, 1120px);
  margin: 0 auto 2rem;
}

.site-jobs .wf-jobs__kicker {
  color: var(--brand-yellow) !important;
}

.site-jobs .wf-jobs__title,
.site-jobs .wf-jobs-detail__title,
.site-jobs .wf-jobs-detail__section-title {
  color: #fff !important;
}

.site-jobs .wf-jobs__intro,
.site-jobs .wf-jobs-detail__intro,
.site-jobs .wf-jobs-list li,
.site-jobs .wf-jobs-detail__tag,
.site-jobs .wf-form__label,
.site-jobs .wf-form__checkbox {
  color: rgba(255, 255, 255, 0.92) !important;
}

.site-jobs .wf-jobs__intro a,
.site-jobs .wf-form__checkbox a {
  color: var(--brand-yellow) !important;
}

.site-jobs .wf-jobs-detail,
.site-jobs .wf-jobs-application {
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  margin-bottom: 1.5rem;
  padding: 1.5rem !important;
  color: #fff;
}

.site-jobs .wf-form__input,
.site-jobs .wf-form__textarea,
.site-jobs select.wf-form__input {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

/* Legal pages */
.legal-page {
  width: min(760px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-blue) 25%, transparent);
  box-shadow: 0 18px 40px rgba(8, 16, 32, 0.24);
}

.legal-page h1 { color: var(--brand-navy); }
.legal-page .legal-lead { color: var(--brand-muted); margin: 0 0 1.5rem; }
.legal-page h2 { font-size: var(--fs-h3); margin: 1.75rem 0 0.65rem; color: var(--brand-navy); }
.legal-page p, .legal-page li { color: var(--brand-muted); line-height: 1.65; }
.legal-page a { color: var(--brand-navy); }

/* Motion */
.scroll-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .wf-header--b .wf-header__inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .site-menu-toggle {
    display: grid;
    order: 2;
    z-index: 130;
    align-content: center;
    justify-content: center;
    gap: 5px;
  }

  .wf-header--b .wf-header__logo {
    order: 1;
  }

  .wf-header--b.is-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 35, 0.42);
    z-index: 110;
  }

  .wf-header--b .wf-header__nav--left,
  .wf-header--b .wf-header__nav--right {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(20rem, 88vw);
    height: 100vh;
    margin: 0;
    order: unset;
    flex-basis: auto;
    background: #fff;
    border: 0;
    border-left: 1px solid var(--brand-line);
    padding: 5rem 1.25rem 1.75rem;
    box-shadow: -16px 0 40px rgba(15, 23, 35, 0.16);
    transform: translateX(104%);
    transition: transform 0.28s ease;
    z-index: 120;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: none;
  }

  /* Rechts-Nav nicht als zweites Overlay – Einträge werden per JS ins linke Menü gezogen */
  .wf-header--b .wf-header__nav--right {
    display: none !important;
  }

  .wf-header--b.is-menu-open .wf-header__nav--left {
    transform: translateX(0);
    pointer-events: auto;
  }

  .wf-header--b .wf-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .wf-header--b .wf-header__nav-list > li {
    width: 100%;
  }

  .wf-header__nav-link,
  .site-nav-dropdown__trigger.wf-header__nav-link {
    color: var(--brand-navy) !important;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.15rem !important;
  }

  .site-nav-dropdown {
    width: 100%;
  }

  .site-nav-dropdown__menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0.15rem 0 0.45rem 0.9rem !important;
    min-width: 0;
    background: transparent !important;
  }

  .site-nav-dropdown.is-open .site-nav-dropdown__menu {
    display: block !important;
  }

  .site-nav-dropdown__link {
    padding: 0.5rem 0.35rem !important;
    color: var(--brand-navy) !important;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .wf-hero--m__teasers {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .wf-about__overlap {
    grid-template-columns: 1fr;
  }

  .wf-about__overlap-media {
    position: static;
    grid-template-columns: 1fr 1fr;
    align-content: center;
  }

  .wf-ref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-about-teaser__split {
    grid-template-columns: 1fr;
  }

  .site-about-teaser .wf-teaser__media-col img {
    min-height: 240px;
    max-height: 300px;
  }
}

@media (max-width: 640px) {
  .wf-hero--m__teasers,
  .wf-ref-grid,
  .wf-leistung-vorteile--d__grid {
    grid-template-columns: 1fr !important;
  }

  .wf-about__overlap-media {
    grid-template-columns: 1fr;
  }

  .wf-leistung-section--alt {
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--wf-container-padding, 1.25rem);
    padding-right: var(--wf-container-padding, 1.25rem);
  }

  .wf-ref-strohm__image img {
    height: 220px;
  }
}


/* Entwurf-Wechselleiste */
.site-entwurf-bar {
  position: relative;
  z-index: 200;
  background: #12264a;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  line-height: 1.2;
  border-bottom: 2px solid #fdcb2d;
}
.site-entwurf-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.35rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}
.site-entwurf-bar__label { opacity: 0.75; margin-right: 0.15rem; }
.site-entwurf-bar__link {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}
.site-entwurf-bar__link:hover { background: rgba(253, 203, 45, 0.2); }
.site-entwurf-bar__link.is-active {
  background: #fdcb2d;
  color: #12264a !important;
}
.site-entwurf-bar__link--muted { font-weight: 500; opacity: 0.85; }
.site-entwurf-bar__sep { opacity: 0.45; }
