/* =============================================================
   ueber-uns.css — Über-uns-Seite AVIO Black Edition
   ============================================================= */

/* ─── Hero: Bildausschnitt ────────────────────────────────── */

/* Das Foto ist 1600×1200 – zu wenig horizontaler Überlauf für object-position.
   Stattdessen: img auf 135% aufweiten (ragt rechts raus, wird per overflow:hidden
   geclippt). Das Foto skaliert auf die neue Breite → Andre rückt automatisch
   weit genug nach rechts, um den diagonalen dunklen Panel zu verlassen. */
.subpage-hero__media img {
  width: 135%;
  object-position: center 28%;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .subpage-hero__media img {
    width: 100%;
    object-position: center 28%;
  }
}

@media (max-width: 768px) {
  .subpage-hero__media img {
    width: 100%;
    object-position: center 25%;
  }
}

/* ─── 0. Warum wir das machen — Editorial Split ──────────── */

.ww-section {
  background: var(--c-off-white);
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: visible;
}

/*
  Four direct grid children, placed via named areas:
  Desktop:              Mobile (reordered):
  [ header | image ]    header
  [ cards  | image ]    image
  [ quote  | image ]    cards
                        quote
*/
.ww-inner {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "header image"
    "cards  image"
    "quote  image";
  column-gap: 0;
  row-gap: 0;
  position: relative;
}

/* ── Header Text ─────────────────────────────────────────── */

.ww-header {
  grid-area: header;
  padding-right: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
  padding-top: 0;
}

.ww-headline {
  font-size: var(--sh-size);
  font-weight: var(--sh-weight);
  letter-spacing: var(--sh-ls);
  line-height: var(--sh-lh);
  color: var(--c-black);
  margin-top: 1rem;
  margin-bottom: 1.1rem;
}

.ww-desc {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.7;
  color: var(--c-gray-600);
  max-width: 46ch;
  margin: 0;
}

/* ── Cards ───────────────────────────────────────────────── */

.ww-cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-right: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
  align-self: start;
}

.ww-card {
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ww-card__icon {
  color: var(--avio-green);
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}

.ww-card__metric {
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-black);
  line-height: 1;
  margin: 0;
}

.ww-card__sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.3;
  margin: 0 0 0.25rem;
}

.ww-card__text {
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--c-gray-600);
  margin: 0;
}

/* ── Quote / Statement ───────────────────────────────────── */

.ww-quote {
  grid-area: quote;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  padding-right: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--c-line-light);
  align-self: start;
}

.ww-quote__mark {
  color: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.ww-quote__text {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-black);
  letter-spacing: -0.01em;
  margin: 0;
  quotes: none;
}

.ww-quote__names {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-gray-500);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ── Right image ─────────────────────────────────────────── */

.ww-img-wrap {
  grid-area: image;
  position: sticky;
  top: 0;
  height: 100vh;
  max-height: clamp(560px, 90vh, 860px);
  overflow: hidden;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 10% 45%);
  margin-right: calc(-1 * var(--container-pad));
  align-self: start;
}

.ww-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  filter: grayscale(1) contrast(1.06) brightness(0.97);
}

/* ─── 2. Team — Portrait-Split ───────────────────────────── */

.team-split {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.team-split__eyebrow {
  color: var(--c-gray-500);
  margin-bottom: 1rem;
}

.team-split__headline {
  font-size: var(--sh-size);
  font-weight: var(--sh-weight);
  letter-spacing: var(--sh-ls);
  line-height: var(--sh-lh);
  color: var(--c-white);
  margin-bottom: 1.1rem;
}

.team-split__headline > span {
  display: block;
  white-space: nowrap;
}

.team-split__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.team-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.team-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.team-trust-icon {
  flex-shrink: 0;
  color: var(--avio-green);
  margin-top: 0.1rem;
}

/* Ghost button with green outline — for dark sections */
.btn--ghost-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid rgba(30, 163, 54, 0.45);
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-base);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}

.btn--ghost-green:hover {
  border-color: var(--avio-green);
  background: rgba(30, 163, 54, 0.09);
  color: var(--c-white);
}

.btn--ghost-green:focus-visible {
  outline: 2px solid var(--avio-green);
  outline-offset: 3px;
}

/* Portrait cards grid */
.team-split__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Individual portrait card */
.team-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--c-black-elevated);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.team-portrait:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1.5px rgba(30, 163, 54, 0.3),
    0 20px 56px rgba(0, 0, 0, 0.45);
}

.team-portrait__media {
  position: absolute;
  inset: 0;
}

.team-portrait__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s var(--ease);
}

.team-portrait:hover .team-portrait__img {
  transform: scale(1.02);
}

/* Bottom gradient — light at top, heavy at bottom for text legibility */
.team-portrait__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 11, 0.04) 0%,
    rgba(10, 10, 11, 0.00) 28%,
    rgba(10, 10, 11, 0.65) 62%,
    rgba(10, 10, 11, 0.90) 100%
  );
  z-index: 1;
}

/* Name / role / bio overlaid at bottom */
.team-portrait__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.2rem 1.25rem 1.35rem;
}

.team-portrait__name {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.2rem;
}

.team-portrait__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 0.35rem;
}

.team-portrait__bio {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s var(--ease), opacity 0.35s var(--ease);
}

.team-portrait:hover .team-portrait__bio {
  max-height: 2.5rem;
  opacity: 1;
}

/* Play button — full card coverage, ring as visual affordance */
.team-portrait__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-portrait__play:focus-visible {
  outline: 2.5px solid var(--avio-green);
  outline-offset: -4px;
  border-radius: var(--radius-lg);
}

.team-portrait__play-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid var(--avio-green);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.team-portrait:hover .team-portrait__play-ring {
  transform: scale(1.1);
  border-color: var(--avio-green-hover);
  background: rgba(30, 163, 54, 0.14);
}

.team-portrait__play-ring svg {
  margin-left: 3px;
  transition: transform 0.25s var(--ease);
}

.team-portrait:hover .team-portrait__play-ring svg {
  transform: translateX(2px);
}

/* Video modal */
.team-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.team-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.team-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: var(--c-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.team-video-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.team-video-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.team-video-modal__close:focus-visible {
  outline: 2px solid var(--avio-green);
  outline-offset: 2px;
}

.team-video-modal__video {
  width: 100%;
  display: block;
  max-height: 85vh;
}

/* On touch devices: show bio text permanently (no hover available) */
@media (hover: none) {
  .team-portrait__bio {
    max-height: 2.5rem;
    opacity: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .team-portrait,
  .team-portrait__img,
  .team-portrait__bio,
  .team-portrait__play-ring,
  .team-portrait__play-ring svg,
  .btn--ghost-green,
  .team-video-modal {
    transition: none;
  }

  .team-portrait:hover {
    transform: none;
  }
}

/* ─── 3. Zusammenarbeit — Prozess-Section ────────────────── */

#zusammenarbeit {
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.ap-grid {
  display: grid;
  grid-template-columns: 38fr 62fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: start;
}

/* Left column */
.ap-copy {
  align-self: start;
}

.ap-headline {
  font-size: var(--sh-size);
  font-weight: var(--sh-weight);
  letter-spacing: var(--sh-ls);
  line-height: var(--sh-lh);
  color: var(--c-black);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.ap-desc {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--c-gray-600);
  max-width: 44ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.ap-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.ap-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.ap-trust-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.055);
  color: #8a8f99;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}

.ap-trust-item strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--c-black);
  letter-spacing: -0.015em;
  margin-bottom: 0.18rem;
}

.ap-trust-item p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--c-gray-600);
  margin: 0;
}

.ap-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ap-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.ap-secondary-link svg {
  color: var(--avio-green);
  transition: transform 0.2s;
}

.ap-secondary-link:hover {
  color: var(--avio-green);
}

.ap-secondary-link:hover svg {
  transform: translateX(3px);
}

/* Right column — steps */
.ap-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ap-step {
  display: flex;
  align-items: stretch;
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 96px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ap-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  border-color: rgba(30, 163, 54, 0.28);
}

.ap-step__num-wrap {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 12px;
  background: #080808;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  user-select: none;
}

.ap-step__num {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ap-step__icon-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line-light);
  background: var(--c-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-left: 1.25rem;
  color: var(--c-gray-600);
  transition: border-color 0.25s, color 0.25s;
}

.ap-step:hover .ap-step__icon-circle {
  border-color: rgba(30, 163, 54, 0.4);
  color: var(--avio-green);
}

/* Step 06 — green number area as visual conclusion */
.ap-step--last .ap-step__num-wrap {
  background: var(--avio-green);
}

.ap-step__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.5rem 1rem 1.25rem;
}

.ap-step__title {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  color: var(--c-black);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.ap-step__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--c-gray-600);
  margin: 0;
}

/* ─── 4. Vergleich — ou-compare (Über-uns-exklusiv) ─────── */

.ou-compare {
  background: #0a0a0b;
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(5.5rem, 9vw, 8rem);
}

/* Header */
.ou-compare__head {
  text-align: center;
  width: 100%;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}

.ou-compare__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray-500);
  margin-bottom: 1.1rem;
}

.ou-compare__eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.ou-compare__headline {
  font-size: var(--sh-size);
  font-weight: var(--sh-weight);
  color: var(--c-white);
  letter-spacing: var(--sh-ls);
  line-height: var(--sh-lh);
  margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
  max-width: none;
  width: fit-content;
  margin-inline: auto;
  text-align: center;
}

.ou-compare__headline > span {
  display: block;
  white-space: nowrap;
  text-align: center;
}

.ou-compare__lead {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
  max-width: 52ch;
  margin: 0 auto;
}

/* Cards grid */
.ou-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch;
}

/* Agency card (left — dark) */
.ou-card--agency {
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2.25rem);
}

/* AVIO card (right — light, elevated) */
.ou-card--avio {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow:
    inset 0 3px 0 0 var(--avio-green),
    0 0 0 1.5px var(--avio-green),
    0 20px 56px rgba(30, 163, 54, 0.14),
    0 6px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

/* Card labels */
.ou-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.4);
}

/* AVIO card header row */
.ou-card__avio-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.ou-card__avio-symbol {
  width: 20px;
  height: 20px;
  color: var(--avio-green);
  flex-shrink: 0;
}

.ou-card__label--avio {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--avio-green);
  margin: 0;
}

/* Lists */
.ou-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ou-card__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.ou-card__item--x {
  color: rgba(255, 255, 255, 0.65);
}

.ou-card__item--check {
  color: rgba(10, 10, 11, 0.78);
  font-weight: 500;
}

/* Icon circles */
.ou-card__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ou-card__item--x .ou-card__icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.38);
}

.ou-card__item--check .ou-card__icon {
  background: rgba(30, 163, 54, 0.1);
  color: var(--avio-green);
}

/* Responsive */
@media (max-width: 840px) {
  .ou-compare__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ou-card--avio {
    transform: none;
  }
}

@media (max-width: 480px) {
  .ou-compare {
    padding: 3.5rem 0 4.5rem;
  }

  .ou-card--agency,
  .ou-card--avio {
    padding: 1.75rem 1.5rem;
  }
}

/* ─── 5. Abschluss-CTA ───────────────────────────────────── */

.ou-cta {
  position: relative;
  overflow: hidden;
}

.ou-cta__watermark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 38vw, 480px);
  height: clamp(280px, 38vw, 480px);
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.ou-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.ou-cta__head h2 {
  letter-spacing: -0.04em;
  margin-bottom: var(--space-sm);
}

.ou-cta__head .lead {
  max-width: 46ch;
}

.ou-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  flex-shrink: 0;
}

.ou-cta__primary {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ou-cta__note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  margin: 0;
  padding-left: 0.25rem;
}

.ou-cta__divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.ou-cta__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ─── Responsive ─────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1100px) {

  /* Warum wir: image slightly narrower on tablet */
  .ww-inner {
    grid-template-columns: 1fr 0.68fr;
  }

  .ww-img-wrap {
    max-height: clamp(500px, 80vh, 760px);
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 8% 48%);
  }

  .ww-cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  /* Zusammenarbeit: tighten columns on tablet */
  .ap-grid {
    grid-template-columns: 40fr 60fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .ap-step__num-wrap {
    width: 110px;
  }

  .team-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .team-split__desc {
    max-width: 56ch;
  }

  .ou-cta__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

}

/* Mobile */
@media (max-width: 768px) {

  /* Warum wir: full single-column stack, mobile order via grid-areas */
  .ww-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "header"
      "image"
      "cards"
      "quote";
  }

  .ww-header {
    padding-right: 0;
    padding-bottom: 1.75rem;
  }

  .ww-cards {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-right: 0;
    padding-bottom: 0;
    padding-top: 1.5rem;
  }

  .ww-quote {
    padding-right: 0;
    margin-top: 1.75rem;
  }

  .ww-img-wrap {
    position: static;
    height: clamp(300px, 70vw, 480px);
    max-height: none;
    margin-right: calc(-1 * var(--container-pad));
    margin-left: calc(-1 * var(--container-pad));
    clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
    margin-top: 0;
  }

  /* Zusammenarbeit section — stack on mobile */
  .ap-grid {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 7vw, 4rem);
  }

  .ap-copy {
    position: static;
  }

  .ap-step__num-wrap {
    width: 100px;
  }

  .ou-cta__actions {
    width: 100%;
  }

  .ou-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ou-cta__contacts {
    width: 100%;
  }

}

/* Small mobile — portrait cards stack */
@media (max-width: 600px) {

  .team-split__cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .team-portrait {
    aspect-ratio: 4 / 5;
  }

  .ww-br {
    display: none;
  }

  .ww-cards {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {

  .ap-step__num-wrap {
    width: 84px;
    padding-right: 8px;
  }

  .ap-step__num {
    font-size: 1.4rem;
  }

  .ap-step__icon-circle {
    display: none;
  }

  .ap-step {
    min-height: 80px;
  }

}
