/* ==========================================================================
   ÜBER UNS PAGE
   Page-specific styles. Shared rules live in main.css and are reused via
   site-header / site-footer / button / nav patterns.

   Sections (in template order, per AP-1 audit of Figma frame 71:3523):
     1. .ueber-uns-hero          (figma 71:3542 — 1440×650 navy hero stage,
                                  + Group 2078 orbital + "Ein starkes Team")
     2. .ueber-uns-intro-lead    (figma 71:3533 — 1140×210 multi-color lede)
     3. .ueber-uns-intro-split   (figma 71:3536 + 71:3535 — image + body)
     4. .ueber-uns-buzz-row      (figma 71:3537/3538/3539 — 3 gray-50 cards,
                                  componentId 1:1187)
     5. .ueber-uns-team          (figma 71:3525 + 71:3574–3579 — H2 + 6
                                  Team/1 cards, componentId 71:2915)
     6. .ueber-uns-foundation    (figma 71:3524/3526/3540/3541/3554/3561 —
                                  gray-50 panel + Link Blue CTA, 1:330)

   AP-3 fills this file section-by-section per blueprint output.
   ========================================================================== */


/* ==========================================================================
   1. UEBER UNS HERO  —  Figma 71:3542 + 71:3527 + 71:3573
   ========================================================================== */

.ueber-uns-hero {
	position: relative;
	width: 100%;
	height: 650px;
	background: var(--color-navy-900);
	overflow: hidden;
	color: var(--color-white);
}

/* Inner stage at design width 1440 — children use absolute coords. */
.ueber-uns-hero__stage {
	position: relative;
	width: 100%;
	max-width: var(--design-width);
	height: 100%;
	margin: 0 auto;
}

/* --- Decorative bubbles inside Frame 2460 -------------------------------- */
/* Both fills rgba(255,255,255,0.20) × layer opacity 0.30 → effective ~0.06. */

.ueber-uns-hero__bubble {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.20);
	opacity: 0.30;
	pointer-events: none;
}

/* Ellipse 71:3547 — 740×740 @ left 282, top -27. */
.ueber-uns-hero__bubble--lg {
	left: 282px;
	top: -27px;
	width: 740px;
	height: 740px;
}

/* Ellipse 71:3548 — 546×546 @ left 631, top 152. */
.ueber-uns-hero__bubble--md {
	left: 631px;
	top: 152px;
	width: 546px;
	height: 546px;
}

/* --- Group 2078 orbital (page-level sibling, layered on top of bubbles) -- */
/* Image-fill rectangles inside the group are dead layers — skipped per
   AP-1 audit. Two concentric ellipses at the same coords give the subtle
   tinted disc visible in the Figma render. */

.ueber-uns-hero__orbital {
	position: absolute;
	left: 411px;
	top: 161px;
	width: 618px;
	height: 618px;
	border-radius: 50%;
	pointer-events: none;
}

/* Outer ellipse 71:3528 — fill #FFFFFF @ 10%. */
.ueber-uns-hero__orbital--outer {
	background: rgba(255, 255, 255, 0.10);
}

/* Inner ellipse 71:3532 — fill #0F1C44 @ 30%. */
.ueber-uns-hero__orbital--inner {
	background: rgba(15, 28, 68, 0.30);
}

/* --- Circular Video frame ------------------------------------------------ */
/* Frame 71:3544 — 497×497 @ left 980, top 101. Whiteboard image fill
   (Konferenztisch beneath is occluded). White DROP_SHADOW r≈201 blur. */

.ueber-uns-hero__video {
	position: absolute;
	left: 980px;
	top: 101px;
	width: 497px;
	height: 497px;
	border-radius: var(--radius-circle);
	overflow: hidden;
	box-shadow: 0 11px 201px 0 rgba(255, 255, 255, 0.25);
}

.ueber-uns-hero__video img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* --- Mega H1 "Ein starkes Team" ----------------------------------------- */
/* TEXT 71:3573 — 920×110 @ left 60, top 220 (page-level sibling). */

.ueber-uns-hero__headline {
	position: absolute;
	left: 60px;
	top: 220px;
	width: 920px;
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-h1-insights);
	line-height: var(--lh-h1-insights);
	color: var(--color-white);
}

/* --- Frame 2479 vertical: rule + body copy ------------------------------- */
/* FRAME 71:3550 — 451×148 @ left 60, top 442; layout VERTICAL gap 36. */

.ueber-uns-hero__intro {
	position: absolute;
	left: 60px;
	top: 442px;
	width: 451px;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.ueber-uns-hero__rule {
	display: block;
	width: 100px;
	height: 1px;
	background: var(--color-white);
}

.ueber-uns-hero__copy {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body-l);
	line-height: var(--lh-body-l);
	color: var(--color-white);
}


/* ==========================================================================
   2. UEBER UNS INTRO-LEAD  —  Figma 71:3533
   ========================================================================== */

/* Single 1140×210 multi-color paragraph. 80px gap below the hero. */

.ueber-uns-intro-lead {
	width: 100%;
	padding: 80px 0 0;
	background: var(--color-white);
}

.ueber-uns-intro-lead__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.ueber-uns-intro-lead__copy {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-medium);
	font-size: var(--fs-lede);
	line-height: var(--lh-lede);
	color: var(--color-navy-900);
}

.ueber-uns-intro-lead__accent {
	color: var(--color-blue-500);
}


/* ==========================================================================
   3. UEBER UNS INTRO-SPLIT  —  Figma 71:3536 + 71:3535
   ========================================================================== */

/* Two-column row: 523 image + 62 gap + 555 body = 1140 inner band.
   100px below the intro-lede; same 150px gutters at 1440. */

.ueber-uns-intro-split {
	width: 100%;
	padding: 100px 0 0;
	background: var(--color-white);
}

.ueber-uns-intro-split__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 523px 555px;
	column-gap: 62px;
	align-items: start;
}

.ueber-uns-intro-split__media {
	width: 523px;
	height: 350px;
	overflow: hidden;
}

.ueber-uns-intro-split__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ueber-uns-intro-split__copy {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body-l);
	line-height: var(--lh-body-l);
	color: var(--color-navy-900);
}


/* ==========================================================================
   4. UEBER UNS BUZZ-ROW  —  Figma 71:3537 / 71:3538 / 71:3539  (1:1187)
   ========================================================================== */

/* Three identical gray-50 cards in a 3-column row. 360 + 30 + 360 + 30 + 360
   = 1140 inner band. 80px below the intro-split image. */

.ueber-uns-buzz-row {
	width: 100%;
	padding: 80px 0 0;
	background: var(--color-white);
}

.ueber-uns-buzz-row__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 30px;
}

.ueber-uns-buzz-row__card {
	height: 219px;
	padding: 32px;
	background: var(--color-gray-50);
	box-sizing: border-box;
}

.ueber-uns-buzz-row__copy {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-medium);
	font-size: var(--fs-card-title-l);
	line-height: var(--lh-card-title-l);
	color: var(--color-navy-900);
}


/* ==========================================================================
   5. UEBER UNS TEAM  —  Figma 71:3525 + 71:3574–71:3579  (71:2915)
   ========================================================================== */

/* H2 + 3×2 grid of 360×638 cards. 100px below buzz-row, 1140 inner band. */

.ueber-uns-team {
	width: 100%;
	padding: 100px 0 0;
	background: var(--color-white);
}

.ueber-uns-team__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.ueber-uns-team__heading {
	margin: 0 0 40px 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-h2-card);
	line-height: var(--lh-h2-card);
	color: var(--color-navy-900);
}

.ueber-uns-team__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 30px;
	row-gap: 40px;
}

.ueber-uns-team__card {
	display: flex;
	flex-direction: column;
	height: 638px;
}

.ueber-uns-team__photo {
	width: 100%;
	height: 480px;
	overflow: hidden;
}

.ueber-uns-team__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.ueber-uns-team__teaser {
	height: 158px;
	padding: 24px 16px;
	background: var(--color-white);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ueber-uns-team__name {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-card-title-l);
	line-height: var(--lh-card-title-l);
	color: var(--color-navy-900);
}

.ueber-uns-team__role {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body-m);
	line-height: var(--lh-body-m);
	color: var(--color-navy-900);
}

.ueber-uns-team__link {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 12px;
	font-family: var(--font-sans);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body-m);
	line-height: var(--lh-body-m);
	color: var(--color-navy-900);
	text-decoration: none;
}

.ueber-uns-team__link-icon {
	display: block;
	width: 24px;
	height: 24px;
}

/* Underline rendered as ::after so it can wipe out left → right on hover
   (right-anchored scaleX(0) collapses the line toward its right edge over
   300ms ease-out). Mirrors the home .cta-link-underline + Anna Kunz
   contact link pattern. */
.ueber-uns-team__link-label {
	position: relative;
	display: inline-block;
	padding-bottom: 1px;
}
.ueber-uns-team__link-label::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform-origin: right center;
	transform: scaleX(1);
	transition: transform 300ms ease-out;
}
.ueber-uns-team__link:hover .ueber-uns-team__link-label::after,
.ueber-uns-team__link:focus-visible .ueber-uns-team__link-label::after {
	transform: scaleX(0);
}


/* ==========================================================================
   6. UEBER UNS FOUNDATION  —  Figma 71:3524 + 71:3526 + 71:3540 + 71:3541 +
                               71:3554 + 71:3561  (Link Blue 1:330)
   ========================================================================== */

/* Gray-50 panel with left text + right blue tile + orbital. 100px white
   spacer above. Inner band 1140 = 555 + 63 + 522. Panel pads 80/0. */

.ueber-uns-foundation {
	width: 100%;
	padding: 100px 0 0;
	background: var(--color-white);
}

.ueber-uns-foundation__panel {
	width: 100%;
	padding: 80px 0;
	background: var(--color-gray-50);
}

.ueber-uns-foundation__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 555px 522px;
	column-gap: 63px;
	align-items: start;
}

.ueber-uns-foundation__copy {
	display: flex;
	flex-direction: column;
}

.ueber-uns-foundation__heading {
	margin: 0 0 24px 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-semibold);
	font-size: var(--fs-h2-card);
	line-height: var(--lh-h2-card);
	color: var(--color-navy-900);
}

.ueber-uns-foundation__body {
	margin: 0 0 24px 0;
	font-family: var(--font-sans);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body-l);
	line-height: var(--lh-body-l);
	color: var(--color-navy-900);
}

.ueber-uns-foundation__cta {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	font-family: var(--font-sans);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body-m);
	line-height: var(--lh-body-m);
	color: var(--color-navy-900);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: var(--transition-default);
}

.ueber-uns-foundation__cta-marker {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid var(--color-navy-900);
	background: transparent;
	box-sizing: border-box;
	transition: var(--transition-default);
}

.ueber-uns-foundation__cta:hover .ueber-uns-foundation__cta-marker,
.ueber-uns-foundation__cta:focus-visible .ueber-uns-foundation__cta-marker {
	background: var(--color-navy-900);
}

.ueber-uns-foundation__image {
	position: relative;
	width: 522px;
	height: 349px;
	background: var(--color-blue-700);
	overflow: hidden;
}

.foundation-text-bild__image--portrait.ueber-uns-foundation__image {
	width: 261px;
	aspect-ratio: 2 / 3;
	height: auto;
	justify-self: end;
}

.foundation-text-bild__image--portrait.ueber-uns-foundation__image .ueber-uns-foundation__orbital {
	display: none;
}

.ueber-uns-foundation__orbital {
	position: absolute;
	left: -70px;
	top: -145px;
	width: 658px;
	height: 658px;
	max-width: none;
	pointer-events: none;
}


/* ==========================================================================
   RESPONSIVE
   Pixel-perfect verification at the design width (1440 — Figma frame
   71:3523 is 1440 wide). Below that, the layout stays fluid and only needs
   to satisfy:  no horizontal scroll, no overlaps, no clipped foreground.
   Breakpoints follow the existing theme (kontakt, karriere, main):
       ≤1439  Laptop default — fluid 60px gutters on every inner band.
       ≤1279  Hero re-layouts (absolute video no longer fits the stage);
              fixed 2-col grids (intro-split, foundation) stack vertically;
              team grid drops to 2-up.
       ≤1023  Tablet portrait — 40px gutters; team grid drops to 1-up;
              buzz grid drops to 2-up.
       ≤767   Mobile — 24px gutters; everything single-column; reduced
              hero scale and section padding.
       ≤479   Small mobile — 20px gutters; final tightening.
   ========================================================================== */


/* --- ≤ 1439 — Laptop fluid gutters --------------------------------------- */
@media (max-width: 1439px) {
	.ueber-uns-intro-lead__inner,
	.ueber-uns-intro-split__inner,
	.ueber-uns-buzz-row__inner,
	.ueber-uns-team__inner,
	.ueber-uns-foundation__inner {
		max-width: calc(1140px + 120px);
		padding-left: 60px;
		padding-right: 60px;
		box-sizing: border-box;
	}
}


/* --- ≤ 1279 — Hero re-layout, 2-col grids stack ------------------------- */
@media (max-width: 1279px) {
	/* Hero: absolute layout stops fitting at viewport ≤1279 because the
	   video sits at left:980 inside a 1440 stage. Convert the stage to a
	   flex column with explicit 60px gutters; headline + intro flow
	   naturally; video + decorative bubbles re-anchor to the right and
	   scale fluidly with viewport width. */
	.ueber-uns-hero {
		height: auto;
		min-height: 600px;
	}
	.ueber-uns-hero__stage {
		max-width: none;
		height: auto;
		padding: 100px 60px 80px;
		display: flex;
		flex-direction: column;
		gap: 40px;
	}
	.ueber-uns-hero__headline,
	.ueber-uns-hero__intro {
		position: relative;
		left: auto;
		top: auto;
		z-index: 2;
	}
	.ueber-uns-hero__headline {
		width: 100%;
		max-width: 920px;
		font-size: clamp(64px, 8vw, 110px);
		line-height: 1.05;
	}
	.ueber-uns-hero__intro {
		width: 100%;
		max-width: 451px;
	}
	.ueber-uns-hero__video {
		left: auto;
		right: -60px;
		top: 80px;
		width: clamp(320px, 38vw, 497px);
		height: clamp(320px, 38vw, 497px);
		z-index: 1;
	}
	.ueber-uns-hero__bubble--lg {
		left: auto;
		right: -200px;
		top: -60px;
		width: clamp(520px, 60vw, 740px);
		height: clamp(520px, 60vw, 740px);
		opacity: 0.5;
	}
	.ueber-uns-hero__bubble--md {
		left: auto;
		right: -120px;
		top: 80px;
		width: clamp(380px, 44vw, 546px);
		height: clamp(380px, 44vw, 546px);
		opacity: 0.5;
	}
	.ueber-uns-hero__orbital {
		left: auto;
		right: -100px;
		top: 100px;
		width: clamp(440px, 50vw, 618px);
		height: clamp(440px, 50vw, 618px);
	}

	/* Intro-split grid (523 + 62 + 555 = 1140) and foundation grid
	   (555 + 63 + 522 = 1140) are fixed-column grids — they overflow once
	   inner content < 1140. Stack to single column. */
	.ueber-uns-intro-split__inner {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}
	.ueber-uns-intro-split__media {
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
	}

	.ueber-uns-foundation__inner {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}
	.ueber-uns-foundation__image {
		width: 100%;
		max-width: 522px;
		margin: 0 auto;
	}

	.foundation-text-bild__image--portrait.ueber-uns-foundation__image {
		width: 261px;
		aspect-ratio: 2 / 3;
		height: auto;
		justify-self: center;
	}

	/* Team grid (repeat(3, 1fr)) is fluid; drop to 2-up so each card
	   keeps its 360-wide proportions. */
	.ueber-uns-team__grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 24px;
		row-gap: 32px;
	}
}


/* --- ≤ 1023 — Tablet portrait -------------------------------------------- */
@media (max-width: 1023px) {
	.ueber-uns-hero__stage {
		padding: 100px 40px 64px;
		gap: 32px;
	}
	.ueber-uns-hero__headline {
		font-size: clamp(56px, 9vw, 88px);
	}
	.ueber-uns-hero__video {
		right: -80px;
		top: 100px;
		opacity: 0.85;
	}
	.ueber-uns-hero__bubble--lg,
	.ueber-uns-hero__bubble--md,
	.ueber-uns-hero__orbital {
		opacity: 0.4;
	}

	.ueber-uns-intro-lead__inner,
	.ueber-uns-intro-split__inner,
	.ueber-uns-buzz-row__inner,
	.ueber-uns-team__inner,
	.ueber-uns-foundation__inner {
		padding-left: 40px;
		padding-right: 40px;
	}
	/* Buzz: drop from 3-up to 2-up. Cards become more readable. */
	.ueber-uns-buzz-row__inner {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 20px;
		row-gap: 20px;
	}
	/* Team: drop to single column. */
	.ueber-uns-team__grid {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}
	.ueber-uns-team__card {
		width: 100%;
		max-width: 480px;
		margin: 0 auto;
	}
}


/* --- ≤ 767 — Mobile ------------------------------------------------------ */
@media (max-width: 767px) {
	.ueber-uns-hero {
		min-height: 560px;
	}
	.ueber-uns-hero__stage {
		padding: 96px 24px 56px;
		gap: 28px;
	}
	.ueber-uns-hero__headline {
		font-size: clamp(44px, 11vw, 64px);
		line-height: 1.08;
	}
	.ueber-uns-hero__copy {
		font-size: 18px;
		line-height: 1.4;
	}
	.ueber-uns-hero__video {
		right: -120px;
		top: 220px;
		width: clamp(220px, 50vw, 320px);
		height: clamp(220px, 50vw, 320px);
		opacity: 0.7;
	}

	.ueber-uns-intro-lead { padding-top: 64px; }
	.ueber-uns-intro-lead__inner,
	.ueber-uns-intro-split__inner,
	.ueber-uns-buzz-row__inner,
	.ueber-uns-team__inner,
	.ueber-uns-foundation__inner {
		padding-left: 24px;
		padding-right: 24px;
	}
	.ueber-uns-intro-lead__copy {
		font-size: 24px;
		line-height: 1.3;
	}

	.ueber-uns-intro-split { padding-top: 64px; }
	.ueber-uns-intro-split__media { height: 280px; }

	.ueber-uns-buzz-row { padding-top: 64px; }
	.ueber-uns-buzz-row__inner {
		grid-template-columns: 1fr;
		row-gap: 16px;
	}
	.ueber-uns-buzz-row__card {
		height: auto;
		min-height: 180px;
		padding: 28px;
	}

	.ueber-uns-team { padding-top: 80px; }
	.ueber-uns-team__heading {
		margin-bottom: 32px;
		font-size: 32px;
		line-height: 1.15;
	}
	.ueber-uns-team__card { height: auto; }
	.ueber-uns-team__photo { height: 380px; }
	.ueber-uns-team__teaser { height: auto; min-height: 158px; }

	.ueber-uns-foundation { padding-top: 80px; }
	.ueber-uns-foundation__panel { padding: 56px 0; }
	.ueber-uns-foundation__heading {
		font-size: 32px;
		line-height: 1.15;
	}
	.ueber-uns-foundation__image {
		max-width: 100%;
		height: 280px;
	}
	.foundation-text-bild__image--portrait.ueber-uns-foundation__image {
		width: 240px;
		aspect-ratio: 2 / 3;
		height: auto;
		justify-self: center;
	}
	.ueber-uns-foundation__orbital {
		width: 480px;
		height: 480px;
		left: -50px;
		top: -100px;
	}
}


/* --- ≤ 479 — Small mobile ------------------------------------------------ */
@media (max-width: 479px) {
	.ueber-uns-hero__stage {
		padding: 88px 20px 48px;
		gap: 24px;
	}
	.ueber-uns-hero__headline {
		font-size: 40px;
		line-height: 1.1;
	}
	.ueber-uns-hero__video {
		right: -160px;
		top: 280px;
		opacity: 0.55;
	}

	.ueber-uns-intro-lead__inner,
	.ueber-uns-intro-split__inner,
	.ueber-uns-buzz-row__inner,
	.ueber-uns-team__inner,
	.ueber-uns-foundation__inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	.ueber-uns-intro-lead__copy { font-size: 22px; }
	.ueber-uns-intro-split__media { height: 220px; }
	.ueber-uns-team__photo { height: 340px; }
	.ueber-uns-foundation__panel { padding: 48px 0; }
	.ueber-uns-foundation__image { height: 240px; }
	.foundation-text-bild__image--portrait.ueber-uns-foundation__image {
		width: 200px;
		aspect-ratio: 2 / 3;
		height: auto;
		justify-self: center;
	}
	.ueber-uns-foundation__orbital {
		width: 420px;
		height: 420px;
		left: -40px;
		top: -90px;
	}
}
