/* Babicke Malerbetrieb – Entwurf 1 (runde Formen, Gelb/Navy) */
@import url('shared/client-theme-base.css');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --brand-yellow: #fdcb2d;
  --brand-yellow-deep: #e6b100;
  --brand-navy: #1a3668;
  --brand-navy-deep: #12264a;
  --brand-blue: #7298d4;
  --brand-ink: #15181f;
  --brand-muted: #5b6472;
  --brand-soft: #fff8e6;
  --brand-soft-2: #eef3fb;
  --brand-line: #e2e8f2;
  --brand-white: #ffffff;

  --fs-body: 1.05rem;
  --fs-small: 0.95rem;
  --fs-h1: clamp(1.7rem, 3vw, 2.35rem);
  --fs-h2: clamp(1.4rem, 2.3vw, 1.8rem);
  --fs-h3: 1.12rem;

  --wf-font: "Outfit", system-ui, -apple-system, sans-serif;
  --cc-font: "Outfit", system-ui, -apple-system, sans-serif;
  --cc-display: "Fraunces", Georgia, serif;
  --cc-radius: 22px;

  --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-navy);
  --wf-accent: var(--brand-yellow);

  /* Nur Header (+ ggf. Entwurfsleiste) – Logo hängt in den Hero, zählt nicht doppelt */
  --babicke-chrome: var(--wf-header-height);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--cc-font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--brand-ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(253, 203, 45, 0.18), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(26, 54, 104, 0.08), transparent 50%),
    #fff;
  overflow-x: clip;
}

body:has(.site-entwurf-bar) {
  --babicke-chrome: calc(2.05rem + var(--wf-header-height));
}

p,
.wf-teaser__intro,
.wf-teaser__text-block p,
.wf-reviews__intro,
.wf-schritte-timeline__text,
.wf-about__prose p,
.wf-contact__intro,
.wf-ref-page__intro,
.wf-banner__intro,
.wf-leistung--d__band p,
.wf-cta-contact-card__text,
.wf-teaser-usp__text,
.wf-review-card__text,
.wf-leistung-vorteile-card__text {
  font-family: var(--cc-font) !important;
  font-size: var(--fs-body) !important;
  line-height: 1.65 !important;
}

h1,
.wf-hero--l__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;
}

h2,
.wf-teaser__title,
.wf-teaser__title--sm,
.wf-reviews__title,
.wf-schritte__title,
.wf-about__gallery-title,
.wf-contact--d__form-title,
.wf-cta-banner__contact-kicker,
.wf-leistung--d__band-title,
.wf-leistung-vorteile__title,
.wf-ref-project__title {
  font-family: var(--cc-display) !important;
  font-size: var(--fs-h2) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

h3,
.wf-teaser-hover-card__title,
.wf-teaser-usp__title,
.wf-schritte-timeline__title,
.wf-cta-contact-card__title,
.wf-review-card__name,
.wf-footer__heading {
  font-family: var(--cc-font) !important;
  font-size: var(--fs-h3) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

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

.wf-teaser__divider,
.wf-reviews__divider,
.wf-ref-project__divider { display: none !important; }

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

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

h1, h2, .wf-hero--l__headline, .wf-teaser__title, .wf-reviews__title,
.wf-schritte__title, .wf-about__title, .wf-ref-page__title,
.wf-leistung__title, .wf-leistung-vorteile__title, .wf-contact__title {
  letter-spacing: -0.02em;
}

.wf-teaser__kicker,
.wf-reviews__kicker,
.wf-ref-page__kicker,
.wf-contact__kicker,
.wf-contact--d__badge,
.wf-cta-banner__contact-kicker {
  display: inline-block;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  color: var(--brand-navy) !important;
  font-weight: 650;
  margin: 0 0 0.65rem !important;
}

.wf-teaser__title,
.wf-teaser__title--sm,
.wf-reviews__title,
.wf-schritte__title {
  margin-top: 0 !important;
}

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

.wf-placeholder-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(230, 177, 0, 0.34);
}

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

.wf-placeholder-button--primary.wf-hero--l__btn {
  background: var(--brand-yellow) !important;
  color: var(--brand-navy-deep) !important;
}

/* Header E – überhängendes Logo wie Modulvariante */
.site-header-stage,
.wf-header--e__stage {
  overflow: visible !important;
  position: relative;
  z-index: 30;
}

.wf-header--e {
  --wf-header-e-logo-radius: 12px;
  --wf-header-e-overhang: 2.85rem;
  --wf-header-e-logo-width: 13.5rem;
  --wf-header-e-logo-img: 7.75rem;
  border-bottom: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(21, 24, 31, 0.05);
  overflow: visible !important;
}

.wf-header--e .wf-header__inner {
  overflow: visible !important;
  padding-left: calc(var(--wf-header-e-logo-width) + var(--wf-space-2xl)) !important;
}

.wf-header--e__logo-wrap {
  position: absolute !important;
  top: 0 !important;
  left: var(--wf-container-padding) !important;
  z-index: 5 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--wf-header-e-logo-width) !important;
  min-width: var(--wf-header-e-logo-width) !important;
  height: calc(var(--wf-header-height) + var(--wf-header-e-overhang)) !important;
  min-height: calc(var(--wf-header-height) + var(--wf-header-e-overhang)) !important;
  max-height: calc(var(--wf-header-height) + var(--wf-header-e-overhang)) !important;
  padding: 0.55rem 0.85rem !important;
  background: #fff !important;
  border: 1px solid var(--brand-line) !important;
  border-top: none !important;
  border-radius: 0 0 var(--wf-header-e-logo-radius) var(--wf-header-e-logo-radius) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 35, 0.1) !important;
}

.wf-header--e .wf-header__logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wf-header--e .wf-header__logo img {
  width: var(--wf-header-e-logo-img);
  height: var(--wf-header-e-logo-img);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Laptop: Logo kleiner, damit es den Hero-Kicker nicht überdeckt */
@media (max-width: 1400px) {
  .wf-header--e {
    --wf-header-e-overhang: 1.75rem;
    --wf-header-e-logo-width: 10.5rem;
    --wf-header-e-logo-img: 5.75rem;
  }
}

@media (max-width: 1100px) {
  .wf-header--e {
    --wf-header-e-overhang: 1.25rem;
    --wf-header-e-logo-width: 9.25rem;
    --wf-header-e-logo-img: 5rem;
  }
}

.wf-header__nav-link,
.site-nav-dropdown__trigger.wf-header__nav-link {
  font-family: var(--cc-font) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--brand-navy) !important;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

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

.wf-header--e__cta {
  background: var(--brand-navy) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.wf-header--e__cta:hover,
.wf-header--e__cta:focus-visible {
  background: var(--brand-navy-deep) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 54, 104, 0.25) !important;
}

.site-menu-toggle {
  display: none;
  border: 0;
  background: var(--brand-soft);
  border-radius: 14px;
  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: var(--brand-navy);
  border-radius: 2px;
}

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

.site-nav-dropdown__trigger {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-family: var(--cc-font) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

.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.4rem);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 0.55rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(21, 24, 31, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s ease;
  z-index: 40;
}

.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;
  border-radius: 12px;
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 550;
}

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

/* Hero L – Startseite vollflächig bis unteren Viewport-Rand */
main > .wf-hero--l:first-child {
  min-height: calc(100svh - var(--babicke-chrome));
}

@supports not (height: 100svh) {
  main > .wf-hero--l:first-child {
    min-height: calc(100vh - var(--babicke-chrome));
  }
}

.wf-hero--l {
  border-radius: 0 !important;
  overflow: hidden;
}

.wf-hero--l .wf-hero__surface {
  background:
    linear-gradient(120deg, rgba(18, 38, 74, 0.25), transparent 45%),
    url("assets/hero/haus-fahnen.jpg") 42% center / cover no-repeat !important;
}

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

/* Hero-Text mit ausgewogenem Abstand vom linken Rand */
.wf-hero--l__content {
  padding-left: clamp(2.75rem, 14vw, 8.5rem) !important;
}

/* Tablet / kleiner Laptop: etwas mehr als Desktop-Minimum, aber nicht hinters Logo „schieben“ */
@media (max-width: 1400px) and (min-width: 901px) {
  .wf-hero--l__content {
    padding-left: clamp(3rem, 11vw, 7.5rem) !important;
  }
}

/* Leistungsteaser K */
.wf-teaser--k {
  --wf-teaser-k-accent: var(--brand-yellow);
  --wf-teaser-k-radius: 22px;
}

.wf-teaser-hover-card {
  border-radius: var(--cc-radius) !important;
  overflow: hidden;
  border-color: transparent !important;
  box-shadow: 0 14px 30px rgba(26, 54, 104, 0.1);
  color: #fff !important;
}

.wf-teaser-hover-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.wf-teaser-hover-card__title,
.wf-teaser-hover-card__text {
  color: #fff !important;
}

.wf-teaser-hover-card__overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(18, 38, 74, 0.88)) !important;
}

.wf-teaser-hover-card:hover .wf-teaser-hover-card__overlay,
.wf-teaser-hover-card:focus-visible .wf-teaser-hover-card__overlay {
  background: color-mix(in srgb, var(--brand-navy) 72%, transparent) !important;
}

/* Reviews */
.wf-reviews--a {
  background: var(--brand-soft-2);
  border-radius: 0;
  margin: 0;
}

.wf-review-card {
  border-radius: 22px !important;
  border: 1px solid var(--brand-line) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(26, 54, 104, 0.06);
}

.wf-review-avatar {
  background: var(--brand-navy) !important;
  color: #fff !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;
  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-navy);
  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;
}

/* Über uns teaser – Inhalt mittig, Hintergrund vollbreit */
#ueber-uns-teaser.wf-teaser.wf-teaser--a,
.site-about-teaser.wf-teaser.wf-teaser--a {
  position: relative;
  isolation: isolate;
  display: block !important;
  box-sizing: border-box !important;
  width: min(var(--wf-max-width, 1200px), 100%) !important;
  max-width: var(--wf-max-width, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#ueber-uns-teaser.wf-teaser.wf-teaser--a::before,
.site-about-teaser.wf-teaser.wf-teaser--a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--brand-soft);
  z-index: -1;
  pointer-events: none;
}

#ueber-uns-teaser .wf-teaser__split,
#ueber-uns-teaser .wf-teaser__usps-row,
.site-about-teaser .wf-teaser__split,
.site-about-teaser .wf-teaser__usps-row {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#ueber-uns-teaser .wf-teaser__split,
.site-about-teaser .wf-teaser__split {
  align-items: center !important;
}

.wf-teaser--a .wf-teaser__media-col,
.wf-teaser--a .wf-teaser__media-col img {
  border-radius: var(--cc-radius);
  overflow: hidden;
}

.wf-teaser-usp {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--brand-line);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 20px rgba(26, 54, 104, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wf-teaser-usp:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand-yellow) 55%, var(--brand-line));
  box-shadow: 0 16px 30px rgba(26, 54, 104, 0.12);
}

.wf-schritte-timeline__content,
.wf-ref-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wf-schritte-timeline__content:hover,
.wf-ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(26, 54, 104, 0.12);
  border-color: color-mix(in srgb, var(--brand-yellow) 45%, var(--brand-line));
}

.wf-about__title {
  margin-bottom: var(--wf-space-md) !important;
}

.wf-about__section--center .wf-about__prose {
  margin-top: 0;
}

.wf-schritte__header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Schritte */
.wf-schritte-timeline__num {
  background: var(--brand-yellow) !important;
  color: var(--brand-navy-deep) !important;
  border-radius: 999px !important;
  font-weight: 800;
  border: 0 !important;
}

.wf-schritte-timeline__content {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--brand-line);
  padding: 1rem 1.15rem;
}

/* Referenzen teaser/page */
.site-ref-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1.5px dashed color-mix(in srgb, var(--brand-navy) 28%, var(--brand-line));
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(26, 54, 104, 0.04),
      rgba(26, 54, 104, 0.04) 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;
}

.site-ref-placeholder--lg { min-height: 280px; }
.wf-ref-project__thumbs .site-ref-placeholder { min-height: 84px; font-size: 0.85rem; }

.wf-ref-card,
.wf-ref-card__image,
.wf-ref-project__main,
.wf-about__gallery img {
  border-radius: 18px;
  overflow: hidden;
}

.wf-about__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
}

.wf-about__gallery .site-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
}

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

@media (max-width: 768px) {
  .wf-about__gallery,
  .wf-about__gallery--two { grid-template-columns: 1fr; }
}

/* CTA D – inverted: navy section, light cards (connects to footer) */
.wf-cta-banner--d {
  background: var(--brand-navy) !important;
  color: #fff;
  margin-bottom: 0;
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

.wf-cta-banner__contact-kicker,
.wf-cta-banner__contact-tagline {
  color: #fff !important;
}

.wf-cta-banner__contact-line {
  background: rgba(255, 255, 255, 0.35) !important;
}

.wf-cta-contact-card {
  border-radius: 24px !important;
  background: #fff !important;
  color: var(--brand-navy) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.wf-cta-contact-card__title,
.wf-cta-contact-card__text,
.wf-cta-contact-card__text a {
  color: var(--brand-navy) !important;
}

.wf-cta-contact-card a {
  color: var(--brand-navy) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wf-cta-contact-card__icon {
  color: var(--brand-navy) !important;
  opacity: 1 !important;
}

.wf-cta-contact-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.wf-footer--a {
  margin-top: 0;
}

/* Leistung D – sticky BG; Seitenkopf nutzt .site-page-hero */
.wf-leistung--d {
  margin-top: 0;
}

.wf-leistung--d__gap--first {
  height: clamp(1.25rem, 3vw, 2rem) !important;
}

/* Seiten-Hero (Über uns / Referenzen / Kontakt / Leistungen) */
.site-page-hero {
  width: 100%;
  margin: 0;
  padding: clamp(2.25rem, 5vw, 3.5rem) var(--wf-container-padding);
  background: var(--brand-soft);
  border-bottom: 3px solid var(--brand-yellow);
  text-align: center;
}

.site-page-hero__kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  color: var(--brand-navy);
  font-weight: 650;
  letter-spacing: 0.02em;
}

.site-page-hero h1 {
  margin: 0;
  color: var(--brand-navy);
  font-family: var(--cc-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
}

.site-page-hero__lead {
  margin: 0.9rem auto 0;
  max-width: 40rem;
  color: var(--brand-ink);
  font-size: 1.05rem;
  line-height: 1.55;
}

.wf-contact__header.wf-contact--d__header:empty,
.wf-contact__header.wf-contact--d__header:not(:has(*)) {
  display: none;
}

.wf-contact--d .wf-contact__inner {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.wf-ref-page__inner {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.wf-leistung--d__band,
.wf-leistung--d__band--alt,
.wf-leistung--d__band--vorteile {
  border-radius: 0 !important;
  overflow: visible;
}

.wf-leistung--d__band-inner {
  width: 70% !important;
  max-width: 70% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.wf-leistung--d__band-inner > .wf-leistung--d__band-title,
.wf-leistung--d__band-inner > .wf-leistung--d__actions,
.wf-leistung--d__band-inner p,
.wf-leistung--d__band-inner .wf-leistung--d__cols {
  text-align: center;
}

.wf-leistung--d__band-inner > .wf-leistung--d__band-title {
  width: 100%;
}

.wf-leistung--d__cols {
  display: grid;
  gap: 1rem;
}

.wf-leistung--d__bg img {
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  object-fit: cover !important;
  object-position: center !important;
}

.wf-leistung--d__band--vorteile {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 0;
  box-shadow: 0 18px 40px rgba(18, 38, 74, 0.16);
}

.wf-leistung--d__band--vorteile .wf-leistung--d__band-inner {
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.wf-leistung--d__band--vorteile .wf-leistung-vorteile-grid {
  margin-top: 0.35rem;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.wf-leistung--d__band--vorteile .wf-leistung-vorteile-card {
  border-radius: 18px !important;
  border: 1px solid var(--brand-line) !important;
  background: #fff !important;
  color: var(--brand-ink) !important;
  box-shadow: 0 8px 18px rgba(26, 54, 104, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wf-leistung--d__band--vorteile .wf-leistung-vorteile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(26, 54, 104, 0.12);
  border-color: color-mix(in srgb, var(--brand-yellow) 45%, var(--brand-line)) !important;
}

.wf-leistung--d__band--vorteile .wf-leistung-vorteile-card__text {
  color: var(--brand-ink) !important;
}

.wf-leistung--d__band--vorteile .wf-leistung-vorteile-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--brand-navy) !important;
  padding: 0.45rem;
}

.wf-leistung--d__band--vorteile .wf-leistung-vorteile-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .wf-leistung--d__band-inner {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Kontakt */
.wf-contact--d__info-card {
  border-radius: 24px !important;
  overflow: hidden;
  border: 1px solid var(--brand-line) !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(26, 54, 104, 0.06);
}

.wf-contact--d__form-section {
  max-width: 44rem;
  margin: 0 auto;
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid var(--brand-line) !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(26, 54, 104, 0.08);
}

.wf-contact--d__form-header {
  background: var(--brand-soft) !important;
  border-bottom: 3px solid var(--brand-yellow) !important;
  padding: 1.15rem 1.35rem !important;
  margin: 0 !important;
  text-align: center;
}

.wf-contact--d__form-title {
  color: var(--brand-navy) !important;
  margin: 0 !important;
}

.wf-contact--d__form-card {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  overflow: visible;
}

.wf-contact--d__form-card .wf-form {
  padding: 1.35rem 1.35rem 1.5rem;
  background: #fff;
}

.wf-contact--d__form-card .wf-form__input,
.wf-contact--d__form-card .wf-form__textarea,
.wf-contact--d__form-card .wf-form__select-trigger,
.wf-contact--d__form-card select.wf-form__input {
  background: #fbfaf7 !important;
  border: 1.5px solid color-mix(in srgb, var(--brand-navy) 18%, var(--brand-line)) !important;
}

.wf-contact--d__form-card .wf-form__input:focus,
.wf-contact--d__form-card .wf-form__textarea:focus,
.wf-contact--d__form-card .wf-form__select-trigger:focus,
.wf-contact--d__form-card select.wf-form__input:focus {
  outline: 2px solid color-mix(in srgb, var(--brand-yellow) 70%, var(--brand-navy));
  outline-offset: 1px;
  border-color: var(--brand-navy) !important;
  background: #fff !important;
}

.wf-contact--d__top {
  align-items: stretch;
}

.wf-contact--d__map {
  position: relative !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid var(--brand-line) !important;
  background: transparent !important;
  box-shadow: 0 12px 28px rgba(26, 54, 104, 0.06);
  padding: 0 !important;
  min-height: 320px;
  display: block !important;
}

.wf-contact--d__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.wf-contact--d__channel-icon {
  border-radius: 14px !important;
  background: var(--brand-soft) !important;
  color: var(--brand-navy) !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.4rem !important;
  height: 2.4rem !important;
}

.wf-form__input,
.wf-form__textarea,
.wf-form__select-trigger {
  border-radius: 14px !important;
  border: 1px solid var(--brand-line) !important;
  background: #fff !important;
}

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

/* Footer */
.wf-footer--a {
  background: var(--brand-navy) !important;
  color: rgba(255, 255, 255, 0.88);
  border-top: 0 !important;
}

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

.site-footer-logo img {
  width: 110px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 0;
  box-shadow: none;
}

.wf-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

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

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

/* Alternating soft sections */
.wf-teaser--k,
.wf-schritte--c,
.wf-teaser--b {
  background: transparent;
}

.wf-teaser--a:not(.site-about-teaser) {
  background: var(--brand-soft);
}

.wf-hero--l__content .wf-teaser__kicker {
  display: inline-block;
  margin-bottom: 0.65rem !important;
  color: #fff !important;
}

.wf-contact--d__header .wf-contact__kicker,
.wf-contact--d__header .wf-contact--d__badge,
.wf-ref-page__kicker,
.wf-contact--d__info-card .wf-contact--d__badge,
.wf-contact--d__form-header .wf-contact--d__badge {
  display: none !important;
}

.wf-about__prose {
  max-width: 42rem;
  margin-inline: auto;
  text-align: left;
}

.wf-about__prose p + p {
  margin-top: 1.1rem;
}

.site-pinsel-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.site-pinsel-inline img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Lightbox – nur sichtbar mit .is-open (wireframe.js) */
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(15, 23, 35, 0.85);
}

.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);
}

.wf-lightbox__image,
.site-lightbox__image {
  max-width: min(960px, 100%);
  max-height: calc(100vh - 4rem);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

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

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

@media (max-width: 900px) {
  .site-menu-toggle {
    display: grid !important;
    place-items: center;
    align-content: center;
    justify-content: center;
    gap: 5px;
    position: static;
    z-index: 130;
    pointer-events: auto;
    margin-left: auto;
  }

  .wf-header--e,
  .site-header-stage {
    z-index: 80;
  }

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

  /* Mobile: Logo normal im Header, kein Überhang */
  .wf-header--e {
    --wf-header-e-overhang: 0px;
    --wf-header-e-logo-width: auto;
    --wf-header-e-logo-img: 7.5rem;
  }

  :root {
    --babicke-chrome: calc(2.05rem + 7.75rem);
  }

  body:not(:has(.site-entwurf-bar)) {
    --babicke-chrome: 7.75rem;
  }

  .wf-header--e .wf-header__inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.15rem !important;
    min-height: 7.75rem !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    padding-left: var(--wf-container-padding) !important;
    padding-right: var(--wf-container-padding) !important;
  }

  .wf-header--e__logo-wrap {
    position: static !important;
    top: auto !important;
    left: auto !important;
    z-index: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .wf-header--e .wf-header__logo img {
    width: 7.5rem;
    height: 7.5rem;
  }

  .wf-header--e .wf-header__nav {
    display: block !important;
    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);
    border-radius: 0;
    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;
  }

  .wf-header--e.is-menu-open .wf-header__nav {
    transform: translateX(0);
  }

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

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

  .wf-header--e .wf-header__nav-link,
  .wf-header--e .site-nav-dropdown__trigger.wf-header__nav-link {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.15rem !important;
    font-size: 1.05rem !important;
    border-radius: 0;
  }

  .wf-header--e__cta {
    display: none !important;
  }

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

  .wf-header--e .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;
  }

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

  .wf-header--e .site-nav-dropdown__link {
    padding: 0.5rem 0.35rem !important;
    display: block;
  }

  .wf-reviews--a {
    margin: 0;
    border-radius: 0;
  }

  .wf-hero--l {
    border-radius: 0;
    align-items: center !important;
  }

  main > .wf-hero--l:first-child {
    min-height: calc(100svh - var(--babicke-chrome));
  }

  .wf-hero--l__panel {
    clip-path: none !important;
    background: color-mix(in srgb, var(--brand-navy) 78%, transparent) !important;
  }

  .wf-hero--l__content {
    width: min(100%, 34rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    padding-left: var(--wf-container-padding) !important;
    padding-right: var(--wf-container-padding) !important;
  }

  .wf-hero--l__actions {
    justify-content: center !important;
  }

  #ueber-uns-teaser .wf-teaser__intro-col,
  .site-about-teaser .wf-teaser__intro-col {
    text-align: center !important;
  }

  #ueber-uns-teaser .wf-teaser__actions,
  .site-about-teaser .wf-teaser__actions {
    display: flex !important;
    justify-content: center !important;
  }

  .wf-footer--a .wf-footer__main--center-logo,
  .wf-footer--a .wf-footer__cols {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }

  .wf-footer--a .wf-footer__col--left,
  .wf-footer--a .wf-footer__col--center,
  .wf-footer--a .wf-footer__col--right,
  .wf-footer--a .wf-footer__bottom {
    text-align: center !important;
    align-items: center !important;
  }

  .wf-footer--a .wf-footer__list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

}

/* Jobs apply: Formular wie Kontakt (Kopf Soft+Gelb, weiße Karte) */
.wf-jobs--b .wf-jobs-apply {
  border-top: 0;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: 0;
}

.site-jobs-apply-form {
  max-width: 44rem;
  margin: 0 auto;
}

.site-jobs-apply-lead {
  margin: 0 0 1.15rem;
  padding: 0 1.35rem;
  padding-top: 1.25rem;
  color: var(--brand-muted);
  font-size: var(--fs-body);
  line-height: 1.55;
  text-align: center;
}

.site-jobs-apply-form .wf-contact--d__form-card .wf-form {
  padding-top: 0.35rem;
}

.site-jobs-apply-form .wf-form__input,
.site-jobs-apply-form .wf-form__textarea,
.site-jobs-apply-form select.wf-form__input {
  background: #fbfaf7 !important;
  border: 1.5px solid color-mix(in srgb, var(--brand-navy) 18%, var(--brand-line)) !important;
}

.site-jobs-apply-form .wf-form__input:focus,
.site-jobs-apply-form .wf-form__textarea:focus,
.site-jobs-apply-form select.wf-form__input:focus {
  outline: 2px solid color-mix(in srgb, var(--brand-yellow) 70%, var(--brand-navy));
  outline-offset: 1px;
  border-color: var(--brand-navy) !important;
  background: #fff !important;
}

/* Jobs: einheitliche Schriftgrößen in Stellenausschreibungen */
.wf-jobs--b .wf-jobs__intro {
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: var(--fs-body) !important;
  line-height: 1.6;
  color: var(--brand-ink);
  text-align: center;
}

.wf-jobs--b .wf-jobs__section-kicker {
  font-family: var(--cc-display);
  font-size: var(--fs-h2) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--brand-navy) !important;
  margin: 0 0 1.25rem;
}

.wf-jobs--b .wf-jobs-item {
  border-color: var(--brand-line);
}

.wf-jobs--b .wf-jobs-item__trigger {
  font-family: var(--cc-font) !important;
  font-size: var(--fs-body) !important;
  font-weight: 700 !important;
  color: var(--brand-navy) !important;
  padding: 1.15rem 0;
}

.wf-jobs--b .wf-jobs-item__icon {
  border-color: var(--brand-yellow);
  color: var(--brand-navy);
  background: var(--brand-soft);
}

.wf-jobs--b .wf-jobs-item__panel p,
.wf-jobs--b .wf-jobs-item__subheading,
.wf-jobs--b .wf-jobs-list li {
  font-size: var(--fs-body) !important;
  line-height: 1.55 !important;
  color: var(--brand-ink) !important;
}

.wf-jobs--b .wf-jobs-item__subheading {
  font-family: var(--cc-font) !important;
  font-weight: 700 !important;
  margin: 1.25rem 0 0.65rem !important;
  color: var(--brand-navy) !important;
}

.wf-jobs--b .wf-jobs-list li {
  color: var(--brand-muted) !important;
}

.wf-jobs--b .wf-jobs-list li::before {
  color: var(--brand-yellow-deep);
}

/* Über uns – luftiger + gelber Trenner */
.site-about-page {
  padding: clamp(3rem, 7vw, 5rem) var(--wf-container-padding) clamp(3.5rem, 8vw, 5.5rem) !important;
  background: #fff;
}

.site-about-page__inner {
  max-width: 56rem !important;
  margin: 0 auto;
  width: 100%;
}

.site-about-page__prose {
  max-width: 44rem !important;
  margin-inline: auto;
  text-align: center !important;
}

.site-about-page__prose p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--brand-ink);
}

.site-about-page__prose p + p {
  margin-top: 1.5rem !important;
}

.site-about-page__gallery {
  margin-top: clamp(2.75rem, 6vw, 4rem) !important;
  padding-top: clamp(2.5rem, 5vw, 3.5rem) !important;
  border-top: 3px solid var(--brand-yellow) !important;
}

.site-about-page__gallery .wf-about__gallery-title {
  text-align: center;
  margin: 0 0 1.75rem !important;
  color: var(--brand-navy);
}

.site-about-page__gallery .wf-about__gallery,
.site-about-page__gallery .wf-about__gallery--two {
  gap: 1.35rem !important;
}

.site-about-page__gallery .wf-about__gallery img,
.site-about-page__gallery .site-lightbox-trigger {
  min-height: 260px;
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(26, 54, 104, 0.1);
}

.wf-header--e.is-menu-open {
  overflow: visible;
}

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

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

@media (max-width: 640px) {
  .wf-teaser--k__grid,
  .wf-ref-grid,
  .wf-leistung-vorteile-grid,
  .wf-cta-banner__contact-cards {
    grid-template-columns: 1fr !important;
  }

  .wf-header--e__cta { display: none; }
}


/* 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; }
