/* ==========================================================================
   architekt – WUHRER ARCHITEKTUR
   Basis: Bootstrap 5.3 (Grid, Utilities, Reboot) – Optik laut Web Styleguide v1.0
   --------------------------------------------------------------------------
   01 Tokens            06 Hero-Slider          11 Kontakt
   02 Basis             07 Bild/Text-Layout     12 Rechtstexte / Prose
   03 Header / Burger   08 Textblock / Person   13 Galerie, Suche, Sonstiges
   04 Overlay-Menü      09 Projektliste/Presse  14 WPBakery-Anpassungen
   05 Bausteine         10 Projekt-Detail
   ========================================================================== */

/* 01 Tokens --------------------------------------------------------------- */
:root {
  /* Farbpalette (Styleguide 01) – keine Akzentfarbe */
  --wa-white: #ffffff;
  --wa-black: #111111;
  --wa-gray-100: #f5f5f3;
  --wa-gray-300: #d8d8d4;
  --wa-gray-600: #767676;

  /* Typografie (Styleguide 02) */
  --wa-font: "Jost", "Futura PT", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --wa-fs-body: 16px;
  --wa-fs-copy-sm: 15px;
  --wa-fs-h3: 20px;
  --wa-fs-page-title: 35px;
  --wa-hero-title-weight: 600; /* Mockup: fett – Styleguide: 400. Hier zentral umstellbar. */

  /* Raster / Abstände (Styleguide 04) */
  --wa-container: 1320px;
  --wa-gutter: 56px;
  --wa-section-top: 160px;
  --wa-section-bottom: 120px;
  --wa-section-x: 24px;
  --wa-brand-top: 50px;
  --wa-brand-left: 46px;
  --wa-menu-top: 35px;
  --wa-menu-right: 28px;
  --wa-bar: 0px; /* Höhe der WP-Adminleiste */

  /* Bootstrap-Variablen überschreiben */
  --bs-font-sans-serif: var(--wa-font);
  --bs-body-font-family: var(--wa-font);
  --bs-body-font-size: var(--wa-fs-body);
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--wa-black);
  --bs-body-bg: var(--wa-white);
  --bs-link-color: var(--wa-black);
  --bs-link-color-rgb: 17, 17, 17;
  --bs-link-hover-color: var(--wa-black);
  --bs-link-hover-color-rgb: 17, 17, 17;
  --bs-border-color: var(--wa-gray-300);
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-box-shadow: none;
}

body.admin-bar {
  --wa-bar: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --wa-bar: 46px;
  }
}

/* 02 Basis ---------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.wa-menu-open {
  overflow: hidden;
}

::selection {
  background: var(--wa-gray-300);
  color: var(--wa-black);
  text-shadow: none;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
strong,
b {
  font-weight: 500;
}

div {
  scroll-margin-top: 100px;
}
input {
  accent-color: var(--wa-black);
}

textarea {
  width: 100%;
  min-height: 8rem;
  field-sizing: content;
}

a[href^="tel:"] {
  cursor: default;
}

.wa-btn,
button {
  text-box: trim-both cap alphabetic;
}

:focus-visible {
  outline: 2px solid var(--wa-black);
  outline-offset: 3px;
}

.wa-skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--wa-black);
  color: var(--wa-white);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.wa-skip-link:hover,
.wa-skip-link:focus {
  color: var(--wa-white);
}

.wa-main {
  display: block;
  min-height: 100vh;
  background: var(--wa-white);
}

/* Inhaltsbreite + Seitenabstände */
.wa-container {
  width: min(var(--wa-container), calc(100vw - 80px));
  margin-left: auto;
  margin-right: auto;
}
.wa-section {
  padding: var(--wa-section-top) var(--wa-section-x) var(--wa-section-bottom);
}
.wa-bg-gray {
  background: var(--wa-gray-100);
}

.wa-meta {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--wa-gray-600);
}

@media (max-width: 991.98px) {
  :root {
    --wa-section-top: 135px;
    --wa-brand-top: 42px;
    --wa-brand-left: 34px;
  }
  .wa-container {
    width: min(940px, calc(100vw - 68px));
  }
}
@media (max-width: 767.98px) {
  :root {
    --wa-section-top: 108px;
    --wa-section-bottom: 80px;
    --wa-brand-top: 22px;
    --wa-brand-left: 20px;
    --wa-menu-top: 24px;
    --wa-menu-right: 16px;
    --wa-gutter: 24px;
  }
  .wa-container {
    width: 100%;
  }
}

/* 03 Header / Burger ------------------------------------------------------ */
.wa-brand {
  position: fixed;
  z-index: 50;
  top: calc(var(--wa-brand-top) + var(--wa-bar));
  left: var(--wa-brand-left);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.wa-brand img,
.wa-overlay__logo img {
  display: block;
  width: 185px;
  max-width: min(32vw, 185px);
  height: auto;
}

.wa-menu-btn {
  position: fixed;
  z-index: 60;
  top: calc(var(--wa-menu-top) + var(--wa-bar));
  right: var(--wa-menu-right);
  display: flex;
  align-items: center;
  gap: 14px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--wa-black);
}
.wa-menu-btn__page,
.wa-menu-btn__divider,
.wa-menu-btn__label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wa-menu-btn__page {
  font-weight: 400;
  color: var(--wa-gray-600);
  max-width: 38vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-menu-btn__divider {
  color: var(--wa-gray-300);
  letter-spacing: 0;
}
.wa-menu-btn__label {
  font-weight: 500;
}

.wa-burger {
  position: relative;
  display: block;
  width: 22px;
  height: 18px;
  margin-left: 10px;
}
.wa-burger::before,
.wa-burger::after,
.wa-burger__mid {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--wa-black);
  transition: transform 0.28s ease;
  transform-origin: left center;
}
.wa-burger::before {
  top: 0;
}
.wa-burger__mid {
  top: 7px;
}
.wa-burger::after {
  bottom: 1px;
}
.wa-menu-btn:hover .wa-burger::before,
.wa-menu-btn:hover .wa-burger::after {
  transform: translateX(4px);
}
.wa-menu-btn:hover .wa-burger__mid {
  transform: translateX(-3px);
}

@media (max-width: 991.98px) {
  .wa-brand img {
    width: 172px;
  }
}
@media (max-width: 767.98px) {
  .wa-brand img,
  .wa-overlay__logo img {
    width: 124px;
    max-width: 44vw;
  }
  .wa-menu-btn {
    gap: 10px;
  }
  .wa-menu-btn__page,
  .wa-menu-btn__divider,
  .wa-menu-btn__label {
    font-size: 10px;
    letter-spacing: 0.16em;
  }
  .wa-burger {
    width: 18px;
    height: 15px;
    margin-left: 5px;
  }
  .wa-burger::before,
  .wa-burger::after,
  .wa-burger__mid {
    width: 18px;
    height: 2px;
  }
  .wa-burger__mid {
    top: 6px;
  }
  .wa-burger::after {
    bottom: 0;
  }
}

/* 04 Overlay-Menü --------------------------------------------------------- */
.wa-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: calc(38px + var(--wa-bar)) 48px 42px;
  background: var(--wa-white);
  overflow-y: auto;
}
.wa-overlay.is-open {
  display: block;
  animation: waFade 0.22s ease both;
}
@keyframes waFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wa-overlay__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.wa-close-btn {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.wa-close-btn::before,
.wa-close-btn::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 5px;
  width: 27px;
  height: 2px;
  background: var(--wa-black);
}
.wa-close-btn::before {
  transform: rotate(45deg);
}
.wa-close-btn::after {
  transform: rotate(-45deg);
}

.wa-overlay__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  column-gap: clamp(70px, 7vw, 130px);
  align-items: start;
  margin-top: 9vh;
  padding: 0 clamp(110px, 10vw, 180px);
}
.wa-overlay__nav {
  grid-column: 1;
  width: min(900px, 100%);
}
.wa-overlay__contact {
  grid-column: 2;
  padding-top: 10px;
}

.wa-nav,
.wa-subnav,
.wa-legal-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wa-nav__link {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 10px 0 14px;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 300;
  transition: opacity 0.18s ease;
}
.wa-nav__link:hover {
  opacity: 0.6;
}
.wa-nav__item.has-sub {
  position: relative;
  width: fit-content;
  transition: margin-bottom 0.22s ease;
}
.wa-nav__item.has-sub.is-open {
  margin-bottom: var(--wa-subnav-space, 250px);
}

.wa-subnav {
  position: absolute;
  left: calc(100% + 64px);
  top: calc(100% - 4px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
  font-size: clamp(26px, 2.55vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--wa-gray-600);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-16px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}
.wa-nav__item.is-open > .wa-subnav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.wa-subnav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.wa-subnav a:hover {
  color: var(--wa-black);
  transform: translateX(2px);
}
.wa-subnav a.active {
  color: var(--wa-black);
}

.wa-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 2px 0 18px 4px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wa-gray-600);
}
.wa-legal-nav a {
  transition: color 0.18s ease;
}
.wa-legal-nav a:hover,
.wa-legal-nav .current-menu-item > a {
  color: var(--wa-black);
}

/* Kontaktdaten-Liste (Overlay + Element) */
.wa-contact-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0;
}
.wa-contact-list__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.wa-contact-list dt {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wa-contact-list dd {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 300;
  color: var(--wa-gray-600);
}
.wa-contact-list a {
  transition: color 0.18s ease;
}
.wa-contact-list a:hover {
  color: var(--wa-black);
}

@media (max-width: 991.98px) {
  .wa-overlay {
    padding: calc(32px + var(--wa-bar)) 28px 32px;
  }
  .wa-overlay__body {
    grid-template-columns: minmax(0, 1fr) 240px;
    column-gap: 34px;
    margin-top: 8vh;
    padding: 0 64px;
  }
  .wa-contact-list {
    gap: 24px;
  }
  .wa-contact-list dt {
    font-size: 11px;
  }
  .wa-contact-list dd {
    font-size: 16px;
  }
  .wa-nav__link {
    font-size: clamp(54px, 9vw, 72px);
  }
  .wa-subnav {
    left: calc(100% + 52px);
    top: calc(100% - 3px);
    font-size: clamp(22px, 2.7vw, 34px);
  }
}
@media (max-width: 767.98px) {
  .wa-overlay {
    padding: calc(22px + var(--wa-bar)) 18px 22px;
  }
  .wa-overlay__body {
    display: flex;
    flex-direction: column;
    margin-top: 54px;
    padding: 0;
  }
  .wa-overlay__nav {
    width: 100%;
    order: 1;
  }
  .wa-overlay__contact {
    width: 100%;
    order: 2;
    margin-top: 50px;
    padding: 0 0 28px;
  }
  .wa-contact-list {
    gap: 22px;
  }
  .wa-contact-list__row {
    gap: 5px;
  }
  .wa-contact-list dt {
    font-size: 10px;
  }
  .wa-contact-list dd {
    font-size: 15px;
  }
  .wa-nav__link {
    font-size: clamp(34px, 12vw, 52px);
  }
  .wa-nav__item.has-sub.is-open {
    margin-bottom: 0;
  }
  /* Unternavigation klappt mobil zwischen den Hauptpunkten auf */
  .wa-subnav {
    position: static;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0 0 0 36px;
    gap: 8px;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0;
    transform: translateY(-6px);
    transition:
      max-height 0.24s ease,
      margin 0.24s ease,
      opacity 0.2s ease,
      transform 0.24s ease,
      visibility 0.2s ease;
  }
  .wa-nav__item.is-open > .wa-subnav {
    max-height: 320px;
    margin: 8px 0 14px 36px;
    transform: translateY(0);
  }
  .wa-legal-nav {
    margin: 0 0 14px;
    gap: 10px 18px;
    font-size: 10px;
  }
}

/* 05 Bausteine ------------------------------------------------------------ */
/* Kicker: Strich + Versalien (Styleguide „Aktueller Hero-Kicker“) */
.wa-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
}
.wa-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--wa-black);
}

/* Buttons & Links: Outline ohne Radius/Schatten bzw. Textlink */
.wa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}
.wa-actions--center {
  justify-content: center;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 0;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}
.wa-btn--outline {
  min-width: 128px;
  padding: 0 22px;
  border: 1px solid var(--wa-black);
  background: transparent;
}
.wa-btn--outline:hover {
  background: var(--wa-black);
  color: var(--wa-white);
}
.wa-btn--plain {
  padding: 0 4px;
}
.wa-btn--plain:hover {
  opacity: 0.6;
}
.wa-btn i {
  font-size: 13px;
}

/* Seitentitel mit Linie */
.wa-page-title {
  margin: 0 0 34px;
  text-align: center;
}
.wa-page-title__text {
  margin: 0;
  font-size: var(--wa-fs-page-title);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.wa-page-title__line {
  display: block;
  width: 31px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--wa-gray-600);
}

/* Große Headline mit Kicker */
.wa-headline {
  text-align: center;
  padding: 0 var(--wa-section-x);
}
.wa-headline__kicker-text {
  display: block;
}
.wa-headline__line {
  display: block;
  width: 31px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--wa-gray-600);
}
.wa-headline__title {
  margin: 0 auto;
  max-width: 1200px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 300;
}

.wa-headline--intro {
  padding-top: calc(138px + var(--wa-bar));
}
.wa-headline--intro .wa-headline__kicker-text {
  font-size: var(--wa-fs-page-title);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.wa-headline--intro .wa-headline__title {
  margin-top: 32px;
  font-size: clamp(54px, 7vw, 104px);
}

.wa-headline--section .wa-headline__kicker {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 28px;
}
.wa-headline--section .wa-headline__line {
  width: 30px;
  margin: 0 auto 16px;
}
.wa-headline--section .wa-headline__kicker-text {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.wa-headline--section .wa-headline__title {
  font-size: clamp(54px, 6.8vw, 94px);
}

/* Paginierung */
.wa-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 34px;
  margin-top: 72px;
}
.wa-pagination .page-numbers {
  padding: 2px 4px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--wa-gray-600);
  transition: color 0.18s ease;
}
.wa-pagination a.page-numbers:hover,
.wa-pagination .page-numbers.current {
  color: var(--wa-black);
}
.wa-pagination .page-numbers.current {
  font-weight: 400;
}

@media (max-width: 767.98px) {
  :root {
    --wa-fs-page-title: 31px;
    --wa-fs-h3: 19px;
  }
  .wa-kicker {
    margin-bottom: 12px;
    font-size: 13px;
  }
  .wa-actions {
    gap: 12px;
    margin-top: 18px;
  }
  .wa-page-title {
    margin-bottom: 28px;
  }
  .wa-page-title__line,
  .wa-headline--intro .wa-headline__line {
    width: 26px;
    margin-top: 8px;
  }
  .wa-headline--intro {
    padding-top: calc(108px + var(--wa-bar));
  }
  .wa-headline--intro .wa-headline__title {
    margin-top: 24px;
    font-size: clamp(42px, 12vw, 58px);
  }
  .wa-headline--section .wa-headline__title {
    font-size: clamp(44px, 12vw, 58px);
  }
  .wa-pagination {
    gap: 18px;
    margin-top: 48px;
  }
  .wa-pagination .page-numbers {
    font-size: 15px;
  }
}

/* 06 Hero-Slider ---------------------------------------------------------- */
.wa-hero {
  position: relative;
  min-height: calc(100svh - var(--wa-bar));
  overflow: hidden;
  background: var(--wa-white);
  --wa-hero-clearance: 130px;
}

/* weiße Fläche hinter dem Menü-Button, damit er auf dem Bild lesbar bleibt */
.wa-hero__menu-panel {
  position: absolute;
  z-index: 24;
  top: 0;
  right: 0;
  width: 178px;
  height: 101px;
  background: var(--wa-white);
  pointer-events: none;
}
.wa-hero__menu-panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 100%;
  width: 91px;
  height: 72px;
  background: var(--wa-white);
}

.wa-hero__stage {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  overflow: hidden;
  background: var(--wa-white);
}
.wa-hero__stage::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0 auto 0 0;
  width: 14%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}
.wa-hero__track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.wa-hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  background: var(--wa-white);
  overflow: hidden;
  transition:
    transform 0.92s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.55s ease,
    visibility 0.92s linear;
  will-change: transform, opacity;
}
.wa-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}
.wa-hero__slide--cover .wa-hero__image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* freigestelltes Bild: Originalproportion, an der zweiten Headline-Zeile ausgerichtet (JS setzt --wa-image-top) */
.wa-hero__slide--contain .wa-hero__image {
  position: absolute;
  top: var(--wa-image-top, 46%);
  left: 50%;
  width: 980px;
  max-width: calc(100% - 40px);
  height: calc(100% - var(--wa-image-top, 46%) - var(--wa-hero-clearance));
  max-height: none;
  object-fit: contain;
  object-position: center top;
  transform: translateX(-50%);
}

.wa-hero__arrows {
  position: absolute;
  inset: 0;
  z-index: 16;
  pointer-events: none;
  --wa-arrow-y: 50%;
  --wa-arrow-left: 22px;
  --wa-arrow-right: 22px;
}
.wa-hero__arrow {
  position: absolute;
  top: var(--wa-arrow-y);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.1);
  color: var(--wa-black);
  font-size: 18px;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    left 0.25s ease,
    right 0.25s ease,
    top 0.25s ease;
}
.wa-hero__arrow--prev {
  left: var(--wa-arrow-left);
}
.wa-hero__arrow--next {
  right: var(--wa-arrow-right);
}
.wa-hero__arrow:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.14);
  transform: translateY(-50%) scale(1.04);
}
.wa-hero__arrow:active {
  transform: translateY(-50%) scale(0.98);
}

.wa-hero__content {
  position: absolute;
  z-index: 10;
  left: clamp(108px, 10vw, 208px);
  top: 42%;
  transform: translateY(-50%);
  width: min(650px, 48vw);
}
.wa-hero__title {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 5.7vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.065em;
  font-weight: var(--wa-hero-title-weight);
}
.wa-hero__desc {
  width: min(430px, 36vw);
  margin: 34px 0 0;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--wa-gray-600);
}

@media (max-width: 1199.98px) {
  .wa-hero {
    --wa-hero-clearance: 110px;
  }
  .wa-hero__stage {
    width: 60%;
  }
  .wa-hero__content {
    left: clamp(88px, 9vw, 145px);
    top: 41%;
    width: min(520px, 42vw);
  }
  .wa-hero__desc {
    width: min(340px, 92%);
    font-size: 17px;
    line-height: 1.55;
  }
  .wa-hero__slide--contain .wa-hero__image {
    width: 900px;
    max-width: calc(100% - 34px);
  }
  .wa-hero__arrow {
    width: 52px;
    height: 52px;
  }
}
@media (max-width: 991.98px) {
  .wa-hero {
    --wa-hero-clearance: 92px;
  }
  .wa-hero__menu-panel {
    width: 170px;
    height: 98px;
  }
  .wa-hero__menu-panel::after {
    width: 86px;
    height: 68px;
  }
  .wa-hero__stage {
    width: 58%;
  }
  .wa-hero__content {
    left: 42px;
    top: 37%;
    width: min(420px, 37vw);
  }
  .wa-hero .wa-kicker {
    margin-bottom: 16px;
  }
  .wa-hero__title {
    font-size: clamp(44px, 5.6vw, 64px);
  }
  .wa-hero__desc {
    margin-top: 18px;
    width: min(300px, 94%);
    font-size: 15px;
    line-height: 1.5;
  }
  .wa-hero__slide--contain .wa-hero__image {
    width: 820px;
    max-width: calc(100% - 24px);
  }
  .wa-hero__arrow {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}
@media (max-width: 767.98px) {
  .wa-hero__menu-panel {
    width: 138px;
    height: 80px;
  }
  .wa-hero__menu-panel::after {
    width: 60px;
    height: 46px;
  }
  .wa-hero.is-contain .wa-hero__menu-panel::after {
    display: none;
  }
  .wa-hero__stage {
    width: 100%;
    height: 52svh;
  }
  .wa-hero__stage::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(0deg, #fff, rgba(255, 255, 255, 0));
  }
  .wa-hero__content {
    left: 20px;
    right: 16px;
    top: auto;
    bottom: 26px;
    transform: none;
    width: auto;
  }
  .wa-hero__title {
    max-width: 9ch;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.92;
  }
  .wa-hero__desc {
    margin-top: 14px;
    width: min(94%, 300px);
    font-size: 14px;
    line-height: 1.5;
  }
  .wa-hero__slide--contain .wa-hero__image {
    width: 680px;
    max-width: calc(100% - 24px);
    height: auto;
    max-height: calc(100% - var(--wa-image-top, 18%) - 12px);
  }
  .wa-hero__arrow {
    width: 44px;
    height: 44px;
  }

  /* flächenfüllende Slides: Bild über die ganze Höhe, Text in weißer Fläche */
  .wa-hero.is-cover .wa-hero__stage {
    height: 100%;
  }
  .wa-hero.is-cover .wa-hero__stage::before {
    display: none;
  }
  .wa-hero.is-cover .wa-hero__content {
    z-index: 25;
    left: 20px;
    right: 20px;
    bottom: 0;
    padding: 28px 28px 40px;
    background: var(--wa-white);
  }
}
@media (max-width: 479.98px) {
  .wa-hero__stage {
    height: 49svh;
  }
  .wa-hero__content {
    left: 18px;
    right: 14px;
    bottom: 22px;
  }
  .wa-hero__title {
    font-size: clamp(36px, 11.4vw, 48px);
  }
  .wa-hero__desc {
    width: min(96%, 270px);
    font-size: 13px;
  }
}

/* 07 Bild/Text-Layout (Roots, Team, Jobs, History) ------------------------ */
.wa-split__row {
  --bs-gutter-x: 64px;
  align-items: flex-start;
}
.wa-split__image {
  display: block;
  width: 100%;
  height: auto;
}
.wa-split__text > :first-child {
  margin-top: 0;
}

@media (min-width: 768px) {
  .wa-split--sticky .wa-split__sticky {
    position: sticky;
    top: calc(125px + var(--wa-bar));
  }

  .wa-split--standard .wa-split__row {
    justify-content: center;
  }
  .wa-split--standard .wa-split__visual {
    flex: 0 1 844px;
    max-width: 844px;
    min-width: 0;
    padding-top: 10px;
  }
  .wa-split--standard .wa-split__text {
    flex: 0 0 424px;
    max-width: 424px;
  }

  .wa-split--wide .wa-split__row {
    --bs-gutter-x: 56px;
  }
  .wa-split--wide .wa-split__visual {
    flex: 0 0 66%;
    max-width: 896px;
  }
  .wa-split--wide .wa-split__text {
    flex: 1 1 0;
    min-width: 0;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .wa-split__row,
  .wa-split--wide .wa-split__row {
    --bs-gutter-x: 40px;
  }
  .wa-split--standard .wa-split__text {
    flex-basis: 360px;
    max-width: 360px;
  }
  .wa-split--wide .wa-split__visual {
    flex-basis: 58%;
  }
}
@media (max-width: 767.98px) {
  .wa-split__row {
    --bs-gutter-x: 0px;
  }
  .wa-split__visual {
    margin-bottom: 28px;
  }
}

/* 08 Textblock / Person --------------------------------------------------- */
.wa-text--block {
  margin-top: 34px;
}
.wa-text__title,
.wa-person__name {
  margin: 0 0 10px;
  font-size: var(--wa-fs-h3);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.wa-text__copy,
.wa-person__copy {
  font-size: var(--wa-fs-body);
  line-height: 1.6;
  font-weight: 300;
}
.wa-text__copy p {
  margin: 0 0 18px;
}
.wa-text__copy a,
.wa-person__copy a {
  color: var(--wa-gray-600);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.18s ease,
    color 0.18s ease;
}
.wa-text__copy a:hover,
.wa-person__copy a:hover {
  color: var(--wa-black);
  border-bottom-color: var(--wa-black);
}
.wa-text--caps .wa-text__copy {
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.wa-text--quote .wa-text__copy p {
  margin: 0;
}
.wa-text--lead .wa-text__copy {
  margin-bottom: 42px;
  font-size: 18px;
  line-height: 1.55;
}
.wa-text--lead .wa-text__copy p {
  margin: 0;
}
.wa-text--lead + .wa-text .wa-text__title {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}
/* Option „Abstand nach unten“: kein Abstand / Absatzabstand */
.wa-text.wa-text--flush,
.wa-text.wa-text--flush .wa-text__copy,
.wa-text.wa-text--flush .wa-text__copy > :last-child {
  margin-bottom: 0;
}
.wa-text.wa-text--flush.wa-text--mb-p {
  margin-bottom: 18px; /* = Absatzabstand .wa-text__copy p */
}

.wa-person {
  margin-top: 18px;
}
.wa-person__name {
  margin-bottom: 8px;
}
.wa-person--light .wa-person__name {
  font-weight: 300;
}
.wa-person__copy p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .wa-text__copy,
  .wa-person__copy {
    font-size: var(--wa-fs-copy-sm);
    line-height: 1.58;
  }
  .wa-text--lead .wa-text__copy {
    margin-bottom: 34px;
    font-size: 17px;
  }
}

/* 09 Projektliste / Presse: Bild + minimale Metadaten, keine Card-Optik ---- */
.wa-card-list {
  display: flex;
  flex-direction: column;
  gap: 68px;
}
.wa-card {
  --bs-gutter-x: var(--wa-gutter);
  align-items: flex-start;
}
.wa-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.78 / 1;
  overflow: hidden;
  background: var(--wa-gray-100);
}
.wa-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.04) translate3d(0, 0, 0);
}
.wa-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wa-card__category,
.wa-card__title {
  font-size: var(--wa-fs-h3);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.wa-card__category {
  margin: 0 0 4px;
}
.wa-card__title {
  margin: 0 0 8px;
}
.wa-card__title a {
  transition: opacity 0.18s ease;
}
.wa-card__title a:hover {
  opacity: 0.6;
}
.wa-card__meta {
  font-size: var(--wa-fs-body);
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 767.98px) {
  .wa-card-list {
    gap: 48px;
  }
  .wa-card__info {
    margin-top: 14px;
  }
  .wa-card__category {
    margin-bottom: 3px;
  }
  .wa-card__meta {
    font-size: var(--wa-fs-copy-sm);
    line-height: 1.58;
  }
}

/* 10 Projekt-Detail ------------------------------------------------------- */
.wa-project__row {
  --bs-gutter-x: var(--wa-gutter);
  align-items: flex-start;
}
.wa-project__gallery {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wa-project__figure {
  margin: 0;
  overflow: hidden;
  background: var(--wa-gray-100);
}
.wa-project__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.wa-project__sticky {
  padding-bottom: 80px;
}
.wa-project__category {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}
.wa-project__block {
  margin: 0 0 20px;
}
.wa-project__block:last-child {
  margin-bottom: 0;
}
.wa-project__block-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}
.wa-project__copy {
  margin: 0;
  font-size: var(--wa-fs-body);
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0;
}
.wa-project__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 74px;
  padding-top: 26px;
  font-size: 16px;
  font-weight: 300;
}
.wa-project__nav a {
  transition: opacity 0.2s ease;
}
.wa-project__nav a:hover {
  opacity: 0.55;
}
.wa-project__nav-prev {
  justify-self: start;
}
.wa-project__nav-work {
  justify-self: center;
}
.wa-project__nav-next {
  justify-self: end;
}

@media (min-width: 768px) {
  .wa-project__sticky {
    position: sticky;
    top: calc(110px + var(--wa-bar));
  }
}
@media (max-width: 767.98px) {
  .wa-project__info {
    order: -1;
    margin-bottom: 46px;
  }
  .wa-project__sticky {
    padding-bottom: 0;
  }
  .wa-project__gallery {
    gap: 18px;
  }
  .wa-project__copy {
    font-size: var(--wa-fs-copy-sm);
    line-height: 1.58;
  }
  .wa-project__category {
    margin-bottom: 20px;
  }
  .wa-project__block {
    margin-bottom: 18px;
  }
  .wa-project__nav {
    margin-top: 46px;
    font-size: 14px;
  }
}

/* 11 Kontakt -------------------------------------------------------------- */
.wa-contact-cards {
  width: min(850px, 84vw);
  margin: 225px auto 0;
  padding-bottom: 72px;
}
.wa-contact-cards__row {
  --bs-gutter-x: 120px;
  --bs-gutter-y: 72px;
}
.wa-contact-card {
  text-align: center;
}
.wa-contact-card__label {
  margin: 0 0 42px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.wa-contact-card__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.48;
  font-weight: 300;
  color: var(--wa-gray-600);
}
.wa-contact-card__text a {
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.18s ease,
    color 0.18s ease;
}
.wa-contact-card__text a:hover {
  color: var(--wa-black);
  border-color: var(--wa-black);
}

.wa-form-section {
  padding: 150px 8vw 165px;
}
.wa-form-section__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}
.wa-form-section .wa-headline {
  padding: 0;
  margin-bottom: 92px;
}
.wa-form {
  width: min(790px, 100%);
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .wa-contact-cards {
    width: min(760px, 90vw);
    margin-top: 170px;
  }
  .wa-contact-cards__row {
    --bs-gutter-x: 70px;
  }
}
@media (max-width: 767.98px) {
  .wa-contact-cards {
    width: auto;
    margin: 110px 24px 0;
    padding-bottom: 54px;
  }
  .wa-contact-cards__row {
    --bs-gutter-x: 0px;
  }
  .wa-contact-card__label {
    margin-bottom: 28px;
    font-size: 11px;
  }
  .wa-contact-card__text {
    font-size: 17px;
  }
  .wa-form-section {
    padding: 105px 24px 110px;
  }
  .wa-form-section .wa-headline {
    margin-bottom: 64px;
  }
}

/* 12 Rechtstexte / Prose -------------------------------------------------- */
.wa-legal__title {
  margin-bottom: 96px;
}
.wa-legal__title .wa-page-title {
  margin: 0;
}
.wa-prose {
  width: min(760px, 100%);
  font-size: var(--wa-fs-body);
  line-height: 1.6;
  font-weight: 300;
}
.wa-prose--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.wa-prose h2 {
  margin: 0 0 18px;
  font-size: var(--wa-fs-h3);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.wa-prose h2:not(:first-child) {
  margin-top: 58px;
}
.wa-prose h3 {
  margin: 34px 0 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.wa-prose h4 {
  margin: 26px 0 8px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}
.wa-prose p {
  margin: 0 0 14px;
}
.wa-prose ul,
.wa-prose ol {
  margin: 4px 0 18px;
  padding-left: 22px;
}
.wa-prose li {
  margin: 0 0 8px;
  padding-left: 2px;
}
.wa-prose a:not(.wa-btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.wa-prose strong {
  font-weight: 400;
}
.wa-prose .wa-label {
  display: block;
  margin-bottom: 2px;
  color: var(--wa-gray-600);
}
.wa-prose .wa-placeholder {
  color: var(--wa-gray-600);
}

@media (max-width: 767.98px) {
  .wa-legal__title {
    margin-bottom: 58px;
  }
  .wa-prose {
    font-size: var(--wa-fs-copy-sm);
    line-height: 1.58;
  }
  .wa-prose h2:not(:first-child) {
    margin-top: 46px;
  }
  .wa-prose h3 {
    margin-top: 30px;
    font-size: 17px;
  }
  .wa-prose h4 {
    margin-top: 24px;
    font-size: 15px;
  }
}

/* 13 Galerie, Suche, Sonstiges ------------------------------------------- */
.wa-gallery__title {
  margin-bottom: 64px;
}
.wa-gallery__title .wa-page-title {
  margin: 0;
}
.wa-gallery__row {
  --bs-gutter-x: 28px;
  --bs-gutter-y: 28px;
}
.wa-gallery__item {
  margin-bottom: 0;
}
.wa-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--wa-gray-100);
}
.wa-gallery__item figcaption {
  margin-top: 8px;
}

.wa-search {
  display: grid;
  grid-template-columns: 1fr 58px;
  width: min(520px, 100%);
  height: 56px;
  border-bottom: 1px solid var(--wa-black);
}
.wa-search__field {
  width: 100%;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 300;
}
.wa-search__field::placeholder {
  color: var(--wa-gray-600);
  opacity: 1;
}
.wa-search__btn {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.wa-search:focus-within {
  border-bottom-width: 2px;
}

.wa-entry {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--wa-gray-300);
}
.wa-entry__title {
  margin: 0 0 6px;
  font-size: var(--wa-fs-h3);
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.wa-entry__excerpt {
  max-width: 760px;
  font-weight: 300;
}

.wa-footer {
  border-top: 1px solid var(--wa-gray-300);
}

/* 404 Fehlerseite mit vollflächigem Hintergrundbild */
.wa-404 {
  position: relative;
  min-height: calc(100svh - var(--wa-bar));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--wa-section-top) + 20px) var(--wa-section-x) var(--wa-section-bottom);
  background-color: var(--wa-gray-100);
  background-image: var(--wa-404-bg, url("../images/wuhrer-404.jpg"));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.wa-404__container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}
.wa-404__content {
  width: min(580px, 100%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 20px 45px rgba(17, 17, 17, 0.08);
  padding: 44px 48px 40px;
  text-align: center;
}
.wa-404__content .wa-page-title {
  margin-bottom: 20px;
}
.wa-404__content .wa-prose p {
  margin-bottom: 0;
}
.wa-404__content .wa-actions {
  margin-top: 26px;
}
.wa-404__content .wa-btn--outline {
  background: rgba(255, 255, 255, 0.8);
}
.wa-404__content .wa-btn--outline:hover {
  background: var(--wa-black);
  color: var(--wa-white);
}

@media (max-width: 767.98px) {
  .wa-404 {
    padding: calc(var(--wa-section-top) + 10px) 16px 60px;
    background-attachment: scroll;
  }
  .wa-404__content {
    padding: 30px 22px 26px;
  }
}

/* 14 WPBakery-Anpassungen: Raster und Abstände kommen aus dem Theme -------- */
.wa .vc_row {
  margin-left: 0;
  margin-right: 0;
}
.wa .vc_column_container > .vc_column-inner {
  padding: 0;
}
.wa .wpb_content_element {
  margin-bottom: 0;
}
.wa-main .vc_row.wa-section--boxed,
.wa-main .vc_row.wa-container {
  width: auto;
  padding-left: max(40px, calc((100vw - var(--wa-container)) / 2));
  padding-right: max(40px, calc((100vw - var(--wa-container)) / 2));
}
.wa-main .vc_row.wa-section--boxed .wpb_text_column {
  width: min(760px, 100%);
  font-weight: 300;
}
.wa-main .vc_row.wa-section--boxed .wpb_text_column p {
  margin: 0 0 18px;
}
@media (max-width: 767.98px) {
  .wa-main .vc_row.wa-section--boxed,
  .wa-main .vc_row.wa-container {
    padding-left: var(--wa-section-x);
    padding-right: var(--wa-section-x);
  }
}

/* Presse-Liste: Eintrag mit Text statt Bild */
.wa-card__text {
  font-size: var(--wa-fs-body);
  line-height: 1.6;
  font-weight: 300;
}
.wa-card__text-title {
  margin: 0 0 18px;
  font-size: var(--wa-fs-h3);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.wa-card__text p {
  margin: 0 0 18px;
}
.wa-card__text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .wa-card__text {
    font-size: var(--wa-fs-copy-sm);
    line-height: 1.58;
  }
}

/* Artikel-Detail (Presse): Absätze im Infotext */
.wa-project__text p {
  margin: 0 0 12px;
}
.wa-project__text p:last-child {
  margin-bottom: 0;
}

/* Header-Leiste: weißer Hintergrund hinter Logo und Menü-Button, damit beide beim
   Scrollen lesbar bleiben und der Inhalt darunter verschwindet statt durchzuscheinen. */
:root {
  --wa-header-h: 106px;
}
.wa-header {
  position: fixed;
  z-index: 40; /* unter Logo (50) und Menü-Button (60), über dem Seiteninhalt */
  top: var(--wa-bar);
  left: 0;
  right: 0;
  height: var(--wa-header-h);
  background: var(--wa-white);
}
@media (max-width: 991.98px) {
  :root {
    --wa-header-h: 96px;
  }
}
@media (max-width: 767.98px) {
  :root {
    --wa-header-h: 66px;
  }
}

/* Sticky-Spalten: Die Zeilen richten ihre Spalten oben aus (align-items: flex-start),
   dadurch war die Spalte nur so hoch wie ihr Inhalt und der Sticky-Block hatte keinen
   Weg zum Mitlaufen. Die Spalte selbst über die volle Zeilenhöhe strecken. */
@media (min-width: 768px) {
  .wa-project__info,
  .wa-split--sticky .wa-split__visual {
    align-self: stretch;
  }
  /* Projekt-Detail: Textspalte bleibt beim Scrollen der Galerie stehen. Ist der Text
     höher als das Fenster, lässt er sich innerhalb der Spalte scrollen. */
  .wa-project__sticky {
    position: sticky;
    top: calc(var(--wa-header-h, 106px) + var(--wa-bar) + 4px);
    max-height: calc(100vh - var(--wa-header-h, 106px) - var(--wa-bar) - 4px);
    overflow-y: auto;
    padding-bottom: 24px;
    scrollbar-width: thin;
  }
}

/* Sticky-Spalten ohne Nachlaufen: Der Sticky-Punkt entspricht exakt der Ausgangsposition
   (oberer Seitenabstand), damit sich die Spalte beim Scrollen gar nicht erst bewegt. */
@media (min-width: 768px) {
  .wa-project__sticky {
    top: calc(var(--wa-section-top) + var(--wa-bar));
    max-height: calc(100vh - var(--wa-section-top) - var(--wa-bar));
  }
  .wa-split--sticky .wa-split__sticky {
    top: calc(var(--wa-section-top) + var(--wa-bar));
  }
  .wa-split--standard.wa-split--sticky .wa-split__sticky {
    top: calc(var(--wa-section-top) + 10px + var(--wa-bar)); /* Spalte hat 10px Innenabstand oben */
  }
}

/* Bild/Text-Layout: fixiertes Bild bleibt auch am Seitenende stehen.
   Bisher endete der Sticky-Bereich mit der Textspalte – der untere Seitenabstand schob das
   Bild am Ende noch nach oben. Die Bildspalte reicht jetzt bis zum Seitenende, und das Bild
   wird nie höher als der sichtbare Bereich (sonst müsste es zwangsläufig mitwandern). */
@media (min-width: 768px) {
  .wa-split--sticky .wa-split__visual {
    margin-bottom: calc(-1 * var(--wa-section-bottom));
  }
  .wa-split--sticky .wa-split__image {
    max-height: calc(100vh - var(--wa-section-top) - var(--wa-bar) - 34px);
    object-fit: contain;
    object-position: left top;
  }
}

/* ==========================================================================
   Navigation und Schrift wie auf der bisherigen Website (wuhrer-architektur.de)
   --------------------------------------------------------------------------
   Schrift:    Futura PT, Fließtext 16px / 1.4 / 400 (Telefon 14px),
               Überschriften 16px / 600 / +0.02em, Links im Text grau
   Desktop:    senkrechte Textnavigation oben links (21px, Tablet 16px, 55 % Deckkraft,
               aktiv/Hover fett), Logo oben rechts (150px), Leiste 130px, 80 % Weiß
   Telefon:    Logo mittig (30px hoch), dünner Burger rechts, Menü als Zeilenliste
   ========================================================================== */
:root {
  --wa-font:
    "futura-pt", "Futura PT", "Jost", "Century Gothic", "Helvetica Neue", Arial, sans-serif; /* Jost liefert die in den Futura-Dateien fehlenden Zeichen (Umlaute, ß) */
  --bs-body-line-height: 1.4;
  --wa-fs-body: 16px;
  --wa-fs-copy-sm: 16px;
  --wa-fs-h3: 16px;
}

/* --- Schrift: Fließtext ---------------------------------------------------- */
.wa-text__copy,
.wa-person__copy,
.wa-card__meta,
.wa-card__text,
.wa-project__copy,
.wa-project__nav,
.wa-prose,
.wa-entry__excerpt,
.wa-contact-card__text,
.wa-contact-list dd,
.wa-pagination .page-numbers,
.wa-search__field,
.wa-form-consent,
.wa-form-field input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wa-form-field textarea,
.wa-form-field select,
.wa-main .vc_row.wa-section--boxed .wpb_text_column {
  font-weight: 400;
  line-height: 1.4;
}
.wa-contact-card__text,
.wa-contact-list dd {
  font-size: 16px;
}

/* --- Schrift: Überschriften im Text (altes Format „head“) ------------------- */
.wa-text__title,
.wa-person__name,
.wa-card__title,
.wa-card__text-title,
.wa-project__category,
.wa-entry__title,
.wa-prose h2,
.wa-prose h3,
.wa-prose h4,
.wa-text--lead + .wa-text .wa-text__title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
}
.wa-card__category {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.wa-person--light .wa-person__name {
  font-weight: 400;
}
.wa-text--lead .wa-text__copy {
  font-size: 16px;
  line-height: 1.4;
}
.wa-prose strong {
  font-weight: 600;
}

/* --- Header: Desktop / Tablet (ab 601px) ------------------------------------ */
.wa-topnav {
  display: none;
}
@media (min-width: 601px) {
  :root {
    --wa-header-h: 130px;
  }
  .wa-header {
    background: rgba(255, 255, 255, 0.8);
  }
  .wa-menu-btn,
  .wa-hero__menu-panel {
    display: none;
  }

  /* Logo oben rechts */
  .wa-brand {
    top: calc(22px + var(--wa-bar));
    right: 9%;
    left: auto;
  }
  .wa-brand img {
    width: 150px;
    max-width: none;
  }

  /* Textnavigation oben links */
  .wa-topnav {
    display: block;
    position: fixed;
    z-index: 55;
    top: calc(20px + var(--wa-bar));
    left: 3%;
  }
  .wa-topnav__list,
  .wa-topnav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .wa-topnav__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .wa-topnav a {
    display: inline-block;
    font-size: 21px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    font-weight: 400;
    color: #000;
    opacity: 0.55;
    text-transform: lowercase;
    white-space: nowrap;
  }
  .wa-topnav a:hover,
  .wa-topnav a:focus-visible,
  .wa-topnav .current-menu-item > a,
  .wa-topnav .current-menu-parent > a,
  .wa-topnav .current-menu-ancestor > a,
  .wa-topnav .current_page_parent > a {
    opacity: 1;
    font-weight: 700;
  }

  /* Unterpunkte: erscheinen rechts neben der Liste, maximal vier Zeilen je Spalte,
     damit sie innerhalb der Kopfleiste bleiben */
  .wa-topnav .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    column-gap: 22px;
    row-gap: 4px;
    padding: 4px 10px 0 28px;
  }
  .wa-topnav li:hover > .sub-menu,
  .wa-topnav li:focus-within > .sub-menu,
  .wa-topnav li.is-open > .sub-menu {
    display: grid;
  }
  .wa-topnav .sub-menu a {
    font-size: 16px;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .wa-topnav a {
    font-size: 16px;
  }
}

/* --- Header: Telefon (bis 600px) --------------------------------------------- */
@media (max-width: 600px) {
  :root {
    --wa-header-h: 54px;
    --wa-fs-body: 14px;
    --wa-fs-copy-sm: 14px;
    --wa-fs-h3: 14px;
  }
  .wa-text__title,
  .wa-person__name,
  .wa-card__title,
  .wa-card__category,
  .wa-card__text-title,
  .wa-project__category,
  .wa-project__block-title,
  .wa-entry__title,
  .wa-prose h2,
  .wa-prose h3,
  .wa-prose h4,
  .wa-text--lead .wa-text__copy,
  .wa-contact-card__text,
  .wa-contact-list dd {
    font-size: 14px;
  }

  /* Logo mittig, Burger rechts */
  .wa-brand {
    top: calc(12px + var(--wa-bar));
    left: 50%;
    transform: translateX(-50%);
  }
  .wa-brand img {
    width: auto;
    height: 30px;
    max-width: none;
  }
  .wa-menu-btn {
    top: calc(10px + var(--wa-bar));
    right: 10px;
    height: 30px;
    gap: 0;
  }
  .wa-menu-btn__page,
  .wa-menu-btn__divider,
  .wa-menu-btn__label {
    display: none;
  }
  .wa-burger {
    width: 25px;
    height: 17px;
    margin-left: 0;
  }
  .wa-burger::before,
  .wa-burger::after,
  .wa-burger__mid {
    width: 25px;
    height: 1px;
    border-radius: 0;
  }
  .wa-burger__mid {
    top: 8px;
  }
  .wa-menu-btn:hover .wa-burger::before,
  .wa-menu-btn:hover .wa-burger::after,
  .wa-menu-btn:hover .wa-burger__mid {
    transform: none;
  }

  /* Menü: einfache Zeilenliste über die volle Breite */
  .wa-overlay {
    padding: calc(54px + var(--wa-bar)) 0 0;
  }
  .wa-overlay__head {
    position: absolute;
    top: calc(9px + var(--wa-bar));
    right: 6px;
    left: 0;
    justify-content: flex-end;
  }
  .wa-overlay__logo {
    position: absolute;
    left: 50%;
    top: 3px;
    transform: translateX(-50%);
  }
  .wa-overlay__logo img {
    width: auto;
    height: 30px;
    max-width: none;
  }
  .wa-close-btn::before,
  .wa-close-btn::after {
    height: 1px;
  }
  .wa-overlay__body {
    margin-top: 0;
  }
  .wa-overlay__contact {
    display: none;
  }
  .wa-nav__item.has-sub {
    width: auto;
  }
  .wa-nav__link,
  .wa-subnav a,
  .wa-legal-nav a {
    display: block;
    padding: 12px 5vw;
    border-bottom: 1px solid var(--wa-gray-300);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    font-weight: 400;
    text-transform: lowercase;
    color: #000;
    opacity: 1;
  }
  .wa-nav > li:first-child > .wa-nav__link {
    border-top: 1px solid var(--wa-gray-300);
  }
  .wa-subnav,
  .wa-nav__item.is-open > .wa-subnav {
    margin: 0;
    gap: 0;
    align-items: stretch;
    transform: none;
  }
  .wa-nav__item.is-open > .wa-subnav {
    max-height: 600px;
  }
  .wa-subnav a {
    padding-left: calc(5vw + 18px);
    color: var(--wa-gray-600);
    white-space: normal;
  }
  .wa-subnav a.active,
  .wa-nav__item.is-current > .wa-nav__link {
    font-weight: 700;
    color: #000;
  }
  .wa-legal-nav {
    display: block;
    margin: 0;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: #000;
  }
}

/* ==========================================================================
   Raster, Inhaltsbreite und Unternavigation wie auf der bisherigen Website
   --------------------------------------------------------------------------
   Vorlage: 18 Spalten, Rand links/rechts 3 %, Spaltenabstand 3 %
            (Spalte = 2,389 %, Schritt = 5,389 % der Seitenbreite)
     Unternavigation   Spalte 0–2    ab  3,00 %
     Bild / Galerie    Spalte 2–12   ab 13,78 %, Breite 50,89 %
     Text              Spalte 12–17  ab 67,67 %, Breite 23,94 %
     Teaser Übersicht  Spalte 2–8    Breite 29,33 %, Text Spalte 8–12 (18,56 %)
     Abstand oben 160px, unten 80px, zwischen den Zeilen 2 %
   Die Prozentwerte unten beziehen sich auf den Inhaltsbereich (83,22 % der Seite).
   ========================================================================== */

/* Seitentitel im alten Überschriftenformat: linksbündig, 16px, halbfett, ohne Linie */
.wa-page-title {
  margin: 0 0 10px;
  text-align: left;
}
.wa-page-title__text {
  font-size: var(--wa-fs-h3);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.wa-page-title__line {
  display: none;
}
.wa-legal__title,
.wa-gallery__title {
  margin-bottom: 10px;
}

/* Teaserbilder in Originalproportion (nicht mehr auf 16:9 beschnitten) */
.wa-card__media {
  aspect-ratio: auto;
}
.wa-card__media img {
  position: static;
  width: 100%;
  height: auto;
}

/* Unternavigation: Textspalte links neben dem Inhalt */
.wa-main {
  position: relative;
}
.wa-sidenav {
  display: none;
}

@media (min-width: 768px) {
  :root {
    --wa-section-top: 160px;
    --wa-section-bottom: 80px;
  }
  .wa-section {
    padding-left: 0;
    padding-right: 0;
  }
  .wa-container {
    width: 83.22%;
    max-width: none;
    margin-left: 13.78%;
    margin-right: 3%;
  }

  .wa-sidenav {
    display: block;
    position: absolute;
    z-index: 5;
    top: var(--wa-section-top);
    left: 3%;
    width: 9.5%;
  }
  .wa-sidenav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .wa-sidenav a {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #8c8c8c;
    text-transform: lowercase;
  }
  .wa-sidenav a:hover {
    color: #000;
  }
  .wa-sidenav .is-active a {
    font-weight: 700;
    color: #000;
  }

  /* Bild/Galerie links, Text rechts */
  .wa-project .wa-project__row,
  .wa-split .wa-split__row {
    --bs-gutter-x: 0px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    column-gap: 3.605%;
  }
  .wa-project .wa-project__row > .wa-project__gallery,
  .wa-split .wa-split__row > .wa-split__visual {
    flex: 0 0 61.15%;
    width: 61.15%;
    max-width: 61.15%;
    padding-top: 0;
  }
  .wa-project .wa-project__row > .wa-project__info,
  .wa-split .wa-split__row > .wa-split__text {
    flex: 0 0 28.77%;
    width: 28.77%;
    max-width: 28.77%;
  }
  .wa-project__gallery {
    gap: 2vw;
  }
  .wa-split--standard.wa-split--sticky .wa-split__sticky {
    top: calc(var(--wa-section-top) + var(--wa-bar));
  }

  /* Übersichten (Work, Presse): Teaser links, Text rechts daneben */
  .wa-card-list {
    gap: 2vw;
  }
  .wa-card.row {
    --bs-gutter-x: 0px;
    flex-wrap: nowrap;
    column-gap: 3.605%;
  }
  .wa-card.row > [class*="col-"]:first-child {
    flex: 0 0 35.24%;
    width: 35.24%;
    max-width: 35.24%;
  }
  .wa-card.row > [class*="col-"]:last-child {
    flex: 0 0 22.3%;
    width: 22.3%;
    max-width: 22.3%;
  }
  .wa-card.wa-card--text > [class*="col-"]:last-child {
    flex-basis: 45%;
    width: 45%;
    max-width: 45%;
  }

  /* Rechtstexte und freie Inhalte beginnen an derselben Kante */
  .wa-main .vc_row.wa-section--boxed,
  .wa-main .vc_row.wa-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ==========================================================================
   Abgleich mit dem Original (am Live-Original nachgemessen, 1600px Fensterbreite)
   --------------------------------------------------------------------------
   - Unternavigation: 21px wie die Hauptnavigation, aktiver Punkt fett / #333
   - Raster gilt wie im Original ab 601px (nicht erst ab 768px)
   - Startseite: Bild links ab 3 %, Breite 67,1 %, Beginn 160px
   - Kontakt: Textspalte ab 13,8 %, Breite 23,9 %
   - Telefon (bis 600px): 5 % Seitenrand, Elemente untereinander
   ========================================================================== */

/* --- Unternavigation ---------------------------------------------------------- */
.wa-sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wa-sidenav a {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 400;
  color: #8c8c8c;
  text-transform: lowercase;
}
.wa-sidenav a:hover {
  color: #8c8c8c;
}
.wa-sidenav .is-active a,
.wa-sidenav .is-active a:hover {
  font-weight: 700;
  color: #333;
}

/* --- Überschriften im alten Format: Startseite, Kontakt ------------------------ */
.wa-headline {
  padding: 0;
  text-align: left;
}
.wa-headline__kicker {
  display: none;
}
.wa-headline .wa-headline__title,
.wa-hero .wa-hero__title {
  max-width: none;
  margin: 0 0 10px;
  font-size: var(--wa-fs-h3);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.wa-hero .wa-kicker {
  display: none;
}
.wa-hero .wa-hero__desc {
  width: auto;
  margin: 0;
  font-size: var(--wa-fs-body);
  line-height: 1.4;
  color: #000;
}
.wa-hero .wa-actions {
  margin-top: 18px;
}

/* Kontakt: Adressblöcke als linksbündige Textspalte */
.wa-contact-cards__row {
  --bs-gutter-x: 0px;
  --bs-gutter-y: 0px;
  display: block;
}
.wa-contact-card {
  margin: 0 0 22px;
  text-align: left;
}
.wa-contact-card__label {
  margin: 0;
  font-size: var(--wa-fs-h3);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.wa-contact-card__text {
  color: #000;
}
.wa-contact-card__text a {
  color: #8c8c8c;
}
.wa-form-section .wa-headline {
  margin-bottom: 14px;
}

/* --- Startseite: Bild wie im Original, Text in der rechten Spalte --------------- */
.wa-hero {
  min-height: 0;
  overflow: visible;
}
.wa-hero__stage {
  position: relative;
  top: auto;
  right: auto;
  height: auto;
  aspect-ratio: 768 / 388;
}
.wa-hero__stage::before {
  display: none;
}
.wa-hero .wa-hero__slide .wa-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: none;
  object-fit: contain;
  object-position: left top;
}
.wa-hero .wa-hero__content {
  transform: none;
  background: transparent;
}

/* --- Desktop / Tablet ab 601px -------------------------------------------------- */
@media (min-width: 601px) {
  :root {
    --wa-section-top: 160px;
    --wa-section-bottom: 80px;
  }
  .wa-section {
    padding-left: 0;
    padding-right: 0;
  }
  .wa-container {
    width: 83.22%;
    max-width: none;
    margin-left: 13.78%;
    margin-right: 3%;
  }
  .wa-sidenav {
    display: block;
    position: absolute;
    z-index: 5;
    top: var(--wa-section-top);
    left: 3%;
    width: 10%;
  }

  /* Bild/Galerie links, Text rechts – auch zwischen 601 und 767px nebeneinander */
  .wa-project .wa-project__row,
  .wa-split .wa-split__row {
    --bs-gutter-x: 0px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    column-gap: 3.605%;
  }
  .wa-project .wa-project__row > .wa-project__gallery,
  .wa-split .wa-split__row > .wa-split__visual {
    flex: 0 0 61.15%;
    width: 61.15%;
    max-width: 61.15%;
    padding-top: 0;
    margin-bottom: 0;
  }
  .wa-project .wa-project__row > .wa-project__info,
  .wa-split .wa-split__row > .wa-split__text {
    flex: 0 0 28.77%;
    width: 28.77%;
    max-width: 300px;
    order: 0;
    margin-bottom: 0;
    align-self: stretch;
  }
  /* Textspalte wie Live-Seite (wuhrer-architektur.de): volle 28.77% ohne 300px-Deckel */
  .wa-project .wa-project__row > .wa-project__info,
  .wa-split .wa-split__row > .wa-split__text {
    max-width: 28.77%;
  }
  .wa-project__gallery {
    gap: 2vw;
  }
  .wa-project__sticky {
    position: sticky;
    top: calc(var(--wa-section-top) + var(--wa-bar));
    max-height: calc(100vh - var(--wa-section-top) - var(--wa-bar));
    overflow-y: auto;
    padding-bottom: 24px;
  }
  .wa-split--sticky .wa-split__row > .wa-split__visual {
    align-self: stretch;
    margin-bottom: calc(-1 * var(--wa-section-bottom));
  }
  .wa-split--sticky .wa-split__sticky,
  .wa-split--standard.wa-split--sticky .wa-split__sticky {
    position: sticky;
    top: calc(var(--wa-section-top) + var(--wa-bar));
  }
  .wa-split--sticky .wa-split__image {
    max-height: calc(100vh - var(--wa-section-top) - var(--wa-bar) - 34px);
    object-fit: contain;
    object-position: left top;
  }

  /* Übersichten */
  .wa-card-list {
    gap: 2vw;
  }
  .wa-card.row {
    --bs-gutter-x: 0px;
    flex-wrap: nowrap;
    column-gap: 3.605%;
  }
  .wa-card.row > [class*="col-"]:first-child {
    display: block !important;
    flex: 0 0 35.24%;
    width: 35.24%;
    max-width: 35.24%;
  }
  .wa-card.row > [class*="col-"]:last-child {
    flex: 0 0 22.3%;
    width: 22.3%;
    max-width: 22.3%;
  }
  .wa-card__info {
    margin-top: 0;
  }

  /* Startseite */
  .wa-hero {
    padding: calc(var(--wa-section-top)) 0 var(--wa-section-bottom);
  }
  .wa-hero__stage {
    width: 67.1%;
    margin-left: 3%;
  }
  .wa-hero .wa-hero__content {
    position: absolute;
    top: var(--wa-section-top);
    right: auto;
    bottom: auto;
    left: 73.1%;
    width: 23.9%;
    padding: 0;
  }

  /* Kontakt */
  .wa-headline--intro {
    width: 83.22%;
    margin-left: 13.78%;
    padding-top: var(--wa-section-top);
  }
  .wa-contact-cards {
    width: 23.94%;
    margin: 0 0 0 13.78%;
    padding-bottom: 0;
  }
  .wa-form-section {
    padding: 60px 0 var(--wa-section-bottom);
  }
  .wa-form-section__inner {
    width: 83.22%;
    margin: 0 3% 0 13.78%;
  }
  .wa-form {
    width: 61.15%;
    margin: 0;
  }
}

/* --- Telefon bis 600px ------------------------------------------------------------ */
@media (max-width: 600px) {
  :root {
    --wa-section-top: calc(var(--wa-header-h) + 5vw);
    --wa-section-bottom: 5vw;
    --wa-section-x: 5vw;
  }
  .wa-container {
    width: 100%;
  }
  .wa-sidenav {
    display: block;
    padding: calc(var(--wa-header-h) + 5vw) 5vw 0;
  }
  .wa-sidenav a {
    font-size: 14px;
  }
  .wa-sidenav ~ * .wa-section,
  .wa-sidenav ~ * .wa-headline--intro {
    padding-top: 5vw;
  }
  .wa-split__visual,
  .wa-project__info {
    margin-bottom: 5vw;
  }
  .wa-card-list,
  .wa-project__gallery {
    gap: 5vw;
  }
  .wa-card__info {
    margin-top: 8px;
  }

  .wa-hero {
    padding: var(--wa-section-top) 5vw 5vw;
  }
  .wa-hero__stage {
    width: 100%;
  }
  .wa-hero .wa-hero__content {
    position: static;
    width: auto;
    padding: 5vw 0 0;
  }
  .wa-headline--intro {
    padding: var(--wa-section-top) 5vw 0;
  }
  .wa-contact-cards {
    width: auto;
    margin: 0 5vw;
    padding-bottom: 0;
  }
  .wa-form-section {
    padding: 5vw;
  }
}

/* ==========================================================================
   Navigation exakt wie live + Inhaltsbereich max. 1200px
   ========================================================================== */

/* Links als Inline-Elemente wie im Original: Zeilenhöhe 29,4px kommt vom Listenpunkt,
   der Text sitzt dadurch 1px tiefer – identisch zur Live-Seite. */
@media (min-width: 601px) {
  .wa-topnav li {
    line-height: 1.4;
    font-size: 21px;
  }
  .wa-topnav a {
    display: inline;
  }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .wa-topnav li {
    font-size: 16px;
  }
}

/* Inhaltsbereich: Raster wie im Original, aber höchstens 1200px breit.
   Die linke Kante bleibt an Spalte 2 (13,78 %), die Spaltenanteile skalieren mit. */
@media (min-width: 601px) {
  .wa-container,
  .wa-headline--intro,
  .wa-form-section__inner {
    max-width: 1200px;
  }
  .wa-contact-cards {
    max-width: calc(1200px * 0.2877);
  }
}

/* ==========================================================================
   Mittiger Rahmen wie auf der Live-Seite (am Original gemessen)
   --------------------------------------------------------------------------
   Bis 1600px Fensterbreite füllt das Layout die ganze Breite.
   Darüber liegt alles in einem mittigen Rahmen von 1600px:
     - Inhalt: Raster bezieht sich auf den Rahmen (Unternavigation bei 3 %, Bild bei 13,78 % …)
     - Navigation links und Logo rechts: Abstand zum Fensterrand = halber Überstand + 80px
       (gemessen: 1685px → 122,5px, 1985px → 272,5px, 2385px → 472,5px)
   ========================================================================== */
@media (min-width: 601px) {
  .wa-section,
  .wa-hero {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Elemente, die direkt mit Prozentwerten der Fensterbreite positioniert sind,
     beziehen sich jetzt auf den Rahmen: Versatz + Anteil an min(Breite, 1600px) */
  .wa-sidenav {
    left: calc(max(0px, (100% - 1600px) / 2) + 0.03 * min(100%, 1600px));
  }
  .wa-headline--intro,
  .wa-contact-cards {
    margin-left: calc(max(0px, (100% - 1600px) / 2) + 0.1378 * min(100%, 1600px));
  }
  .wa-headline--intro {
    width: calc(0.8322 * min(100%, 1600px));
  }
  .wa-contact-cards {
    width: calc(0.2394 * min(100%, 1600px));
  }
  .wa-form-section {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1616px) {
  .wa-topnav {
    left: calc((100% - 1600px) / 2 + 80px);
  }
  .wa-brand {
    right: calc((100% - 1600px) / 2 + 80px);
  }
}

/* Exakt wie live: keine zusätzliche 1200px-Begrenzung – der Inhalt bezieht sich nur auf den
   mittigen 1600px-Rahmen (siehe oben). */
@media (min-width: 601px) {
  .wa-container,
  .wa-headline--intro,
  .wa-form-section__inner,
  .wa-contact-cards {
    max-width: none;
  }
}

/* ==========================================================================
   Work-Übersicht (Projektliste) wieder wie zuvor: breite Teaserbilder
   --------------------------------------------------------------------------
   Inhaltsbreite max. 1320px mittig, Bild 2/3 (16:9 beschnitten), Text 1/3,
   Abstand 56px, zwischen den Projekten 68px. Unter 768px untereinander.
   Gilt nur für die Projektliste – Presse und übrige Seiten bleiben im Live-Raster.
   ========================================================================== */
.wa-projects .wa-container {
  width: min(1320px, calc(100% - 80px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.wa-projects .wa-card-list {
  gap: 68px;
}
.wa-projects .wa-card__media {
  aspect-ratio: 1.78 / 1;
}
.wa-projects .wa-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa-projects .wa-card.row {
  --bs-gutter-x: 0px;
  column-gap: 56px;
}

@media (min-width: 768px) {
  .wa-projects .wa-card.row {
    flex-wrap: nowrap;
  }
  .wa-projects .wa-card.row > [class*="col-"]:first-child {
    display: block !important;
    flex: 0 0 calc((100% - 56px) * 2 / 3);
    width: calc((100% - 56px) * 2 / 3);
    max-width: none;
  }
  .wa-projects .wa-card.row > [class*="col-"]:last-child {
    flex: 0 0 calc((100% - 56px) / 3);
    width: calc((100% - 56px) / 3);
    max-width: none;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .wa-projects .wa-card.row {
    column-gap: 40px;
  }
}
@media (max-width: 767.98px) {
  .wa-projects .wa-container {
    width: 100%;
  }
  .wa-projects .wa-card-list {
    gap: 48px;
  }
  .wa-projects .wa-card.row {
    flex-wrap: wrap;
  }
  .wa-projects .wa-card.row > [class*="col-"]:first-child,
  .wa-projects .wa-card.row > [class*="col-"]:last-child {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .wa-projects .wa-card--text > [class*="col-"]:first-child {
    display: none !important;
  }
  .wa-projects .wa-card__info {
    margin-top: 14px;
  }
}

/* Projekt-/Artikel-Detail: Kategorie, Titel und Jahr/Ort fett (altes Format „head“),
   zwischen allen Elementen der Infospalte 8px Abstand. */
.wa-project__sticky .wa-project__category,
.wa-project__sticky .wa-project__name,
.wa-project__sticky .wa-project__meta .wa-project__copy {
  font-size: var(--wa-fs-h3);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.wa-project__sticky .wa-project__category,
.wa-project__sticky .wa-project__block,
.wa-project__sticky .wa-project__block:last-child {
  margin: 0 0 8px;
}

/* Work-Übersicht: Titel, Ort und Jahr je eine Zeile, alles 16px fett, gleichmäßiger Zeilenabstand */
.wa-projects .wa-card__info {
  gap: 0;
}
.wa-projects .wa-card__title,
.wa-projects .wa-card__meta {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.wa-projects .wa-card__meta-line {
  display: block;
}
@media (max-width: 600px) {
  .wa-projects .wa-card__title,
  .wa-projects .wa-card__meta {
    font-size: 16px;
  }
}

/* Projekt-Detail: Blöcke ohne Abstand, nach Titel/Ort (Meta) 16px */
.wa-project__sticky .wa-project__block,
.wa-project__sticky .wa-project__block:last-child {
  margin-bottom: 0;
}
.wa-project__sticky .wa-project__block.wa-project__meta {
  margin-bottom: 16px;
}

/* Projekt-Detail: Text der rechten Spalte 1:1 von der bisherigen Website */
.wa-project__detailtext h1,
.wa-project__detailtext .wa-head {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
.wa-project__detailtext p {
  margin: 0 0 8px;
}
.wa-project__detailtext p:last-child {
  margin-bottom: 0;
}
.wa-project__detailtext .wa-grau {
  color: #8c8c8c;
}
.wa-project__detailtext a {
  color: inherit;
  text-decoration: underline;
}

/* Presse-Übersicht: Raster wie die Live-Seite – siehe Block
   „Work- und Presse-Übersicht wie die Live-Kategorieseiten“ am Dateiende. */
/* Text statt Bild (Online-Artikel) behält seine natürliche Höhe */
.wa-press .wa-card__text {
  font-size: 16px;
  line-height: 1.4;
}

/* Contact, Jobs, Legal, Datenschutz: Text wie live (Lay-Format „head“ 16px/600, Absätze 8px),
   Textspalte 7 von 12 Rasterspalten neben der Subnavigation. */
.wa-legal .wa-prose h1,
.wa-legal .wa-prose .wa-head {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}
.wa-legal .wa-prose p {
  margin: 0 0 8px;
}
.wa-legal .wa-prose > :last-child {
  margin-bottom: 0;
}
.wa-legal .wa-prose a {
  color: inherit;
}
@media (min-width: 601px) {
  .wa-legal .wa-prose {
    max-width: 41.3%;
  }
}

#wpb-content-root p a {
  text-decoration: none;
  color: #8c8c8c;
}

/* Work-Detailseiten wie live: Textspalte läuft nicht mit (nicht sticky).
   Rechts unten neben dem letzten Bild „next / previous / top“ (Format head, grau). */
.wa-project--projekt .wa-project__sticky {
  position: static;
  max-height: none;
  overflow: visible;
  padding-bottom: 0;
}
.wa-project--projekt .wa-project__info {
  display: flex;
  flex-direction: column;
}
.wa-project__pager {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
}
.wa-project__pager a {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #8c8c8c;
  text-decoration: none;
  transition: color 0.2s ease;
}
.wa-project__pager a:hover,
.wa-project__pager a:focus-visible {
  color: #333;
}
@media (min-width: 601px) {
  .wa-project--projekt .wa-project__info {
    align-self: stretch;
  }
  /* „next/previous“ enden 2vw über der Unterkante des letzten Bildes, „top“ folgt direkt darunter. */
  .wa-project__pager {
    margin-top: auto;
    padding-top: 24px;
    margin-bottom: calc(2vw - 1.4em);
  }
}

/* Mindesthöhe des Inhalts ohne WP-Adminleiste rechnen – sonst ist die Seite bei
   angemeldeten Benutzern um die Leistenhöhe (32/46px) zu hoch und scrollt (Startseite). */
.wa-main {
  min-height: calc(100vh - var(--wa-bar));
}
@supports (height: 100svh) {
  .wa-main {
    min-height: calc(100svh - var(--wa-bar));
  }
}

/* Presse-Übersicht: Vorschaubilder vollständig in Originalproportion (nicht auf 16:9 beschnitten,
   kein Parallax-Zoom). Breite wie Work: 2/3 der Zeile. */
.wa-press .wa-card__media {
  aspect-ratio: auto;
  overflow: visible;
  background: none;
}
.wa-press .wa-card__media img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  will-change: auto;
}

/* ==========================================================================
   Work- und Presse-Übersicht wie die Live-Kategorieseiten
   (wuhrer-architektur.de/category/work_fx_wuhrer_architect/ und
   wuhrer-architektur.de/category/fx-wuhrer-architect-press/ – gleiches Raster)
   --------------------------------------------------------------------------
   Live-Raster: 18 Spalten, Rand und Spaltenabstand je 3 %, max. 1600px.
   Bild: Spalte 3–8 (links 13.78 %, Breite 29.33 %) in Originalproportion,
   ohne Beschnitt, Zoom oder Parallax. Text ab Spalte 9 (3 % Abstand), oben
   bündig. Zwischen den Projekten 2 % der Breite. Bis 600px: 5vw Rand, Bild
   volle Breite, Text darunter, Abstände je 5 %.
   Gilt für Projektliste und Presse-Liste (beide .wa-projects).
   ========================================================================== */
.wa-projects .wa-container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
.wa-projects .wa-card-list {
  display: block;
  gap: 0;
}
.wa-projects .wa-card.row {
  --bs-gutter-x: 0px;
  --bs-gutter-y: 0px;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  column-gap: 0;
  margin: 0 0 2%;
}
.wa-projects .wa-card.row > [class*="col-"]:first-child {
  display: block !important;
  position: static;
  flex: 0 0 29.33%;
  width: 29.33%;
  max-width: 29.33%;
  margin-left: 13.78%;
  padding: 0;
}
.wa-projects .wa-card.row > [class*="col-"]:last-child {
  flex: 0 0 29.33%;
  width: 29.33%;
  max-width: 29.33%;
  margin-left: 3%;
  padding: 0;
}
.wa-projects .wa-card__media {
  position: relative;
  display: block;
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
}
.wa-projects .wa-card__media img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: fill;
  transform: none !important;
  will-change: auto;
  transition: none;
}
.wa-projects .wa-card__info {
  margin-top: 0;
}
.wa-projects .wa-card__title a:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  /* Seitenrand 5vw kommt von .wa-section; Text wie live 14px / 1.4 */
  .wa-projects .wa-container {
    padding-left: 0;
    padding-right: 0;
  }
  .wa-projects .wa-card__title,
  .wa-projects .wa-card__meta,
  .wa-press .wa-card__text,
  .wa-press .wa-card__text-title {
    font-size: 14px;
  }
  .wa-projects .wa-card.row {
    flex-wrap: wrap;
    margin-bottom: 0;
  }
  .wa-projects .wa-card.row > [class*="col-"]:first-child,
  .wa-projects .wa-card.row > [class*="col-"]:last-child {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 5%;
  }
  .wa-projects .wa-card--text > [class*="col-"]:first-child {
    display: none !important;
  }
}

.wa-section.wa-legal h2 {
  margin-top: 6px !important;
  margin-bottom: 6px;
}
.wa-section.wa-legal h3 {
  margin-top: 0 !important;
  margin-bottom: 0;
}
.wa-section.wa-legal h4 {
  margin-top: 0 !important;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 500;
}

/* Projekt-Detail: Blätterkatalog (PDF) ------------------------------------ */
.wa-flipbook {
  overflow: visible;
  background: var(--wa-gray-100);
  padding: clamp(18px, 3vw, 44px);
}
.wa-flipbook__stage {
  position: relative;
  min-height: 220px;
}
.wa-flipbook.is-ready .wa-flipbook__stage {
  min-height: 0;
}
.wa-flipbook__status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--wa-fs-copy-sm);
  font-weight: 300;
  color: var(--wa-gray-600);
}
.wa-flipbook__status[hidden] {
  display: none;
}
.wa-flipbook__status a {
  color: var(--wa-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wa-flipbook.is-loading .wa-flipbook__status {
  animation: wa-flipbook-pulse 1.4s ease-in-out infinite;
}
@keyframes wa-flipbook-pulse {
  50% { opacity: 0.45; }
}
.wa-flipbook__page {
  background: var(--wa-white);
}
.wa-flipbook__page canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.wa-flipbook__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: var(--wa-fs-copy-sm);
  font-weight: 300;
  color: var(--wa-gray-600);
}
.wa-flipbook__bar[hidden] {
  display: none;
}
.wa-flipbook__count {
  min-width: 9em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.wa-flipbook__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--wa-gray-300);
  border-radius: 50%;
  background: var(--wa-white);
  color: var(--wa-black);
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.wa-flipbook__btn:hover:not(:disabled),
.wa-flipbook__btn:focus-visible {
  border-color: var(--wa-black);
}
.wa-flipbook__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.wa-flipbook__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Projekt-Detail: Video mit Play-Button + Lightbox ------------------------- */
.wa-video__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--wa-black);
  cursor: pointer;
  overflow: hidden;
}
.wa-video__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}
img.wa-video__poster {
  height: auto;
}
.wa-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--wa-black);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
/* Dreieck optisch zentriert (Schwerpunkt in der Kreismitte), Ecken über die Kontur abgerundet. */
.wa-video__play svg {
  display: block;
  width: 54%;
  height: 54%;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linejoin: round;
}
.wa-video__trigger:hover .wa-video__play,
.wa-video__trigger:focus-visible .wa-video__play {
  background: var(--wa-white);
  transform: translate(-50%, -50%) scale(1.08);
}
.wa-video__trigger:hover .wa-video__poster {
  transform: scale(1.02);
  opacity: 0.9;
}
.wa-video__trigger:focus-visible {
  outline: 2px solid var(--wa-black);
  outline-offset: 3px;
}

html.wa-lightbox-open {
  overflow: hidden;
}
.wa-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wa-white);
  overflow: hidden;
}
.wa-lightbox::backdrop {
  background: rgba(10, 10, 10, 0.92);
}
.wa-lightbox[open] {
  animation: wa-lightbox-in 0.25s ease;
}
@keyframes wa-lightbox-in {
  from { opacity: 0; }
}
.wa-lightbox__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 72px clamp(16px, 4vw, 64px) clamp(24px, 4vw, 64px);
}
.wa-lightbox__video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: #000;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.wa-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--wa-white);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.wa-lightbox__close:hover,
.wa-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}
.wa-lightbox__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: reduce) {
  .wa-video__poster,
  .wa-video__play,
  .wa-lightbox[open] {
    transition: none;
    animation: none;
  }
}
@media (max-width: 600px) {
  .wa-flipbook {
    padding: 12px 12px 16px;
  }
  .wa-flipbook__bar {
    margin-top: 14px;
  }
}

/* Projekt-Detail: Blätterkatalog im Vollbild ------------------------------ */
.wa-flipbook__btn--fullscreen {
  margin-left: 6px;
}
.wa-flipbook__icon-close,
.wa-lightbox--flipbook .wa-flipbook__icon-open {
  display: none;
}
.wa-lightbox--flipbook .wa-flipbook__icon-close {
  display: block;
}
.wa-flipbook.is-fullscreen {
  display: none;
}
.wa-flipbook__placeholder {
  background: var(--wa-gray-100);
}
.wa-lightbox__inner--flipbook {
  flex-direction: column;
  padding: 72px clamp(16px, 4vw, 64px) 24px;
}
.wa-lightbox--flipbook .wa-flipbook__stage {
  flex: none;
  max-width: 100%;
  margin: 0 auto;
  min-height: 0;
}
.wa-lightbox--flipbook .wa-flipbook__bar {
  color: rgba(255, 255, 255, 0.75);
}
.wa-lightbox--flipbook .wa-flipbook__btn {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--wa-white);
}
.wa-lightbox--flipbook .wa-flipbook__btn:hover:not(:disabled),
.wa-lightbox--flipbook .wa-flipbook__btn:focus-visible {
  border-color: var(--wa-white);
  background: rgba(255, 255, 255, 0.24);
}
@media (max-width: 600px) {
  .wa-lightbox__inner--flipbook {
    padding: 68px 10px 16px;
  }
}

/* Projekt-Detail: Blätterkatalog-Zoom ------------------------------------- */
.wa-flipbook__stage.is-zoomed {
  overflow: hidden;
}
.wa-flipbook__book {
  will-change: transform;
}
.wa-flipbook__pan {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: grab;
  touch-action: none;
}
.wa-flipbook__pan[hidden] {
  display: none;
}
.wa-flipbook__pan.is-dragging {
  cursor: grabbing;
}
.wa-flipbook__zoom {
  display: inline-flex;
  gap: 8px;
  margin-left: 6px;
}
/* Auf kleinen Displays zoomt man per Pinch – die Leiste bleibt einzeilig. */
@media (max-width: 600px) {
  .wa-flipbook__zoom {
    display: none;
  }
}

/* Artikel-Detail: Bilder-Raster + Bild-Lightbox ---------------------------- */
.wa-project__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: inherit;
  align-items: start;
}
.wa-project__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 575.98px) {
  .wa-project__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.wa-zoom {
  position: relative;
  display: block;
  cursor: zoom-in;
}
.wa-zoom img {
  transition: transform 0.6s ease, opacity 0.3s ease;
}
.wa-zoom:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}
.wa-zoom:focus-visible {
  outline: 2px solid var(--wa-black);
  outline-offset: 3px;
}
.wa-zoom__icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--wa-black);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.wa-zoom:hover .wa-zoom__icon,
.wa-zoom:focus-visible .wa-zoom__icon {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .wa-zoom__icon {
    opacity: 0.85;
    transform: none;
  }
}
.wa-zoom__icon svg,
.wa-lightbox__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wa-lightbox__inner--image {
  padding: 72px clamp(16px, 7vw, 96px) 24px;
}
.wa-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  min-height: 0;
}
.wa-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 40px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.wa-lightbox__image.is-loading {
  opacity: 0.35;
}
.wa-lightbox__caption {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}
.wa-lightbox__count:empty,
.wa-lightbox__text:empty {
  display: none;
}
.wa-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--wa-white);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}
.wa-lightbox__nav[hidden] {
  display: none;
}
.wa-lightbox__nav:hover,
.wa-lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}
.wa-lightbox__nav--prev {
  left: clamp(8px, 2vw, 28px);
}
.wa-lightbox__nav--next {
  right: clamp(8px, 2vw, 28px);
}
@media (max-width: 600px) {
  .wa-lightbox__inner--image {
    padding: 68px 10px 16px;
  }
  .wa-lightbox__nav {
    top: auto;
    bottom: 14px;
    transform: none;
  }
  .wa-lightbox__image {
    max-height: calc(100% - 70px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-zoom img,
  .wa-zoom__icon,
  .wa-lightbox__image {
    transition: none;
  }
}

/* ==========================================================================
   Unternavigation (z. B. Roots: about / press / people / history) bleibt beim
   Scrollen stehen – wie die Hauptnavigation. Ab 601px fest an derselben Stelle,
   an der sie bisher beim Laden stand; auf dem Telefon bleibt sie im Textfluss.
   ========================================================================== */
@media (min-width: 601px) {
  .wa-sidenav {
    position: fixed;
    z-index: 45; /* über dem Seiteninhalt und der Kopfleiste (40), unter Logo/Menü */
    top: calc(var(--wa-section-top) + var(--wa-bar));
  }
}
