:root {
  --navy: #102a59;
  --navy-deep: #091a39;
  --blue: #183c78;
  --orange: #f5a313;
  --orange-hot: #ffb51b;
  --ink: #102347;
  --muted: #5d6778;
  --paper: #ffffff;
  --mist: #f4f7fc;
  --line: #dfe5ef;
  --shadow: 0 22px 55px rgba(10, 35, 74, .14);
  --radius: 18px;
  --font-body: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 9999; transform: translateY(-150%); background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.topbar { color: #d8e1f1; background: var(--navy-deep); font-size: .75rem; }
.topbar__inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar__contacts { display: flex; gap: 24px; }
.topbar__right, .topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social { gap: 7px; }
.topbar__social a { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-weight: 800; }
.topbar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(16, 42, 89, .97); color: #fff; border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 108px; display: grid; grid-template-columns: 244px 1fr auto; align-items: center; gap: 24px; }
.brand img { width: 230px; height: 92px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 27px; font-weight: 700; font-size: .88rem; }
.main-nav a { position: relative; padding-block: 34px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 25px; height: 2px; background: var(--orange); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: .85rem; }
.phone-link:hover { color: var(--orange-hot); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 9px; color: var(--navy-deep); background: var(--orange); font-weight: 800; box-shadow: 0 10px 25px rgba(245,163,19,.22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); background: var(--orange-hot); box-shadow: 0 14px 30px rgba(245,163,19,.3); }
.button--small { min-height: 44px; padding: 9px 17px; }
.button--outline-light { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.55); box-shadow: none; }
.button--outline-light:hover { background: rgba(255,255,255,.09); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; min-height: 650px; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero__backdrop { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,23,53,.98) 0%, rgba(12,39,84,.9) 50%, rgba(8,28,62,.62) 100%), url("assets/firmenbild_team_34b88f95.webp") center/cover; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 -1px; height: 55px; background: #fff; clip-path: polygon(0 78%, 100% 0, 100% 100%, 0 100%); }
.hero__grid { display: grid; width: min(1560px, calc(100% - 64px)); grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); gap: 72px; align-items: center; padding-block: 82px 112px; }
.eyebrow { margin: 0 0 14px; color: #cb7f00; font-family: var(--font-display); font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 30px; height: 3px; margin: 0 10px 3px 0; background: currentColor; }
.eyebrow--pill { width: fit-content; color: var(--orange-hot); border: 1px solid rgba(255,181,27,.45); border-radius: 999px; padding: 7px 12px; background: rgba(245,163,19,.1); letter-spacing: 0; text-transform: none; }
.eyebrow--pill::before { content: "★"; width: auto; height: auto; margin: 0 6px 0 0; background: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.08; }
.hero__copy { min-width: 0; }
.hero h1 { max-width: 720px; font-size: clamp(3rem, 5vw, 5.25rem); letter-spacing: -.045em; }
.hero h1 span { color: var(--orange-hot); }
.hero h1 [data-hero-rotator] { display: block; max-width: 100%; font-size: clamp(1.75rem, 3.3vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; white-space: nowrap; }
.hero__lead { max-width: 650px; margin: 24px 0 28px; color: #e1e7f2; font-size: 1.05rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: 42px; margin: 34px 0 0; }
.hero__stats div { min-width: 110px; }
.hero__stats dt { color: var(--orange-hot); font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; }
.hero__stats dd { margin: 2px 0 0; color: #c8d3e5; font-size: .76rem; }
.hero-card { position: relative; margin: 0; overflow: visible; border: 1px solid rgba(245,163,19,.7); border-radius: 16px; background: var(--navy); box-shadow: 0 30px 60px rgba(0,0,0,.28); transform: rotate(.4deg); }
.hero-card img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; border-radius: 15px 15px 0 0; background: transparent; }
.hero-card figcaption { display: flex; flex-direction: column; padding: 19px 22px 21px; }
.hero-card figcaption span { color: var(--orange-hot); font-size: .78rem; }
.hero-card__badge { position: absolute; z-index: 2; top: -20px; right: -16px; display: grid; padding: 14px 16px; color: var(--navy); background: var(--orange-hot); border-radius: 11px; font-size: .72rem; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.hero-card__badge strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; }
.ticker { overflow: hidden; color: var(--navy); background: var(--orange); border-block: 1px solid #d98b00; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: .8rem; }
.ticker div { width: max-content; padding: 11px 0; animation: ticker 30s linear infinite; }
@keyframes ticker { to { transform: translateX(-40%); } }
.section { padding-block: 96px; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.quote-card { max-width: 930px; margin-inline: auto; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #fff, #f7f9fd); box-shadow: var(--shadow); }
.quote-progress { display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; }
.progress-track { height: 5px; margin: 12px 0 13px; overflow: hidden; border-radius: 99px; background: #e7ebf2; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .25s ease; }
.step-labels { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0 0 30px; color: #a2aaba; font-size: .75rem; list-style: none; }
.step-labels li:last-child { text-align: right; }
.step-labels li.active { color: var(--navy); font-weight: 700; }
.quote-card h3 { font-size: 1.4rem; }
.quote-card > p { margin: 8px 0 22px; color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.choice-grid button { min-height: 76px; padding: 12px; color: var(--ink); background: #fff; border: 1px solid #d9e0ea; border-radius: 11px; font-weight: 700; font-size: .82rem; cursor: pointer; transition: border .2s, color .2s, transform .2s, box-shadow .2s; }
.choice-grid button:hover, .choice-grid button:focus-visible { color: var(--blue); border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(16,42,89,.09); }
@media (max-width: 1020px) {
  .nav-wrap { min-height: 94px; grid-template-columns: 204px 1fr auto; gap: 14px; }
  .brand img { width: 195px; height: 78px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: .78rem; }
  .phone-link { display: none; }
  .hero__grid { gap: 34px; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 58px 100px; }
  .hero h1 [data-hero-rotator] { font-size: clamp(1.75rem, 6vw, 3.25rem); }
  .hero-card { max-width: 620px; }
}
@media (max-width: 800px) {
  .topbar__right, .topbar__contacts a:nth-child(2), .header-actions { display: none; }
  .topbar__inner { justify-content: center; }
  .nav-wrap { min-height: 94px; grid-template-columns: 1fr auto; }
  .brand img { width: 190px; height: 78px; }
  .menu-toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: #fff; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 100px; display: none; padding: 14px; border-radius: 12px; background: var(--navy-deep); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 10px 12px; }
  .main-nav a::after { display: none; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .shell { width: min(100% - 28px, 1160px); }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero h1 [data-hero-rotator] { font-size: clamp(1.45rem, 6.8vw, 2.3rem); white-space: normal; overflow-wrap: anywhere; }
  .hero__lead { font-size: .98rem; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero__stats div { min-width: 0; }
  .hero-card__badge { right: 8px; }
  .section { padding-block: 72px; }
  .quote-card { padding: 22px 16px; }
  .choice-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Complete site */
body { overflow-x: hidden; }
section[id] { scroll-margin-top: 125px; }
:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 3px; }
.section--compact { padding-block: 62px; }
.section--lined { border-top: 2px solid var(--orange); }
.section-heading h2 span,
.about h2 span,
.services h2 span,
.team h2 span,
.crew-band h2 span,
.references h2 span,
.project-cta h2 span,
.contact h2 span { color: var(--orange); }
.quote-intro { position: relative; background: #fff; }
.quote-intro::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background: radial-gradient(circle at 12% 20%, rgba(245,163,19,.11), transparent 22%), radial-gradient(circle at 88% 75%, rgba(24,60,120,.08), transparent 28%); }
.quote-intro > * { position: relative; }
.choice-grid button { display: grid; align-content: center; gap: 5px; }
.choice-grid button > span { color: var(--orange); font-family: var(--font-display); font-weight: 900; font-size: .72rem; letter-spacing: .08em; }
.choice-grid button.selected { color: #fff; border-color: var(--navy); background: var(--navy); }
.quote-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 26px; }
.quote-back { min-height: 44px; padding: 8px 14px; color: var(--navy); border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 700; cursor: pointer; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 7px; color: var(--ink); font-weight: 700; font-size: .85rem; }
.quote-form label.full { grid-column: 1 / -1; }
.quote-form input, .quote-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); border: 1px solid #ccd5e2; border-radius: 9px; background: #fff; }
.quote-form textarea { min-height: 110px; resize: vertical; }
.quote-summary { grid-column: 1 / -1; padding: 14px 16px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; background: var(--mist); font-size: .86rem; }
.quote-summary strong { color: var(--navy); }
.quote-form .button { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; margin: -4px 0 0; color: var(--muted); font-size: .78rem; }
.quote-success { padding: 34px 20px; text-align: center; }
.quote-success strong { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 18px; color: var(--navy); background: var(--orange); border-radius: 50%; font-size: 1.55rem; }
.quote-success p { max-width: 600px; margin-inline: auto; color: var(--muted); }

.about { position: relative; background: #fff; }
.about::before { content: ""; position: absolute; right: -12vw; top: 90px; width: 42vw; height: 42vw; border: 1px solid rgba(16,42,89,.08); border-radius: 50%; }
.about__grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: 82px; align-items: center; }
.about__copy h2, .services h2, .reviews h2, .team h2, .crew-band h2, .references h2, .project-cta h2, .contact h2 { font-size: clamp(2.25rem, 4.4vw, 4.25rem); letter-spacing: -.045em; }
.about__copy > p:not(.eyebrow) { color: var(--muted); }
.feature-list { display: grid; gap: 8px; margin-top: 30px; }
.feature-list article { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 15px 0; border-top: 1px solid var(--line); }
.feature-list article > span { color: var(--orange); font-family: var(--font-display); font-weight: 900; font-size: .75rem; }
.feature-list h3 { margin-bottom: 4px; font-size: 1rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: .86rem; }
.about__visual { position: relative; min-height: 590px; }
.about__image-main { position: absolute; top: 0; right: 0; width: 89%; height: 390px; object-fit: cover; object-position: 50% 27%; border-radius: 18px; box-shadow: var(--shadow); }
.about__image-detail { position: absolute; left: 0; bottom: 0; display: block; width: 80%; height: auto; aspect-ratio: auto; object-fit: initial; border: 8px solid #fff; border-radius: 18px; box-shadow: var(--shadow); }
.about__stamp { position: absolute; right: -18px; bottom: 58px; display: grid; width: 145px; height: 145px; place-content: center; text-align: center; color: var(--navy); background: var(--orange); border: 8px solid #fff; border-radius: 50%; box-shadow: var(--shadow); }
.about__stamp strong { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.about__stamp span { font-weight: 700; font-size: .7rem; }
.number-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 78px; overflow: hidden; color: #fff; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.number-strip div { display: grid; gap: 1px; padding: 30px; border-right: 1px solid rgba(255,255,255,.13); }
.number-strip div:last-child { border-right: 0; }
.number-strip strong { color: var(--orange); font-family: var(--font-display); font-size: 1.85rem; }
.number-strip span { color: #cbd5e6; font-size: .78rem; }

.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfcfe; }
.partner-title { margin: 0 0 24px; color: #737e90; font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.logo-wall div { min-height: 94px; display: grid; place-items: center; padding: 12px; border: 1px solid #e7ebf1; border-radius: 12px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.logo-wall div:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,42,89,.08); }
.logo-wall img { width: 100%; height: 58px; object-fit: contain; }
.partner-wordmark { margin: 22px 0 0; color: var(--navy); font-family: var(--font-display); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-align: center; }

.services { position: relative; background: var(--mist); }
.services::before { content: ""; position: absolute; inset: 0 0 auto; height: 180px; background: linear-gradient(176deg, #fff 0 48%, transparent 49%); }
.services > * { position: relative; }
.service-tabs { display: flex; gap: 8px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: thin; }
.service-tabs button { flex: 0 0 auto; min-height: 46px; padding: 9px 15px; color: var(--navy); border: 1px solid #dde3ed; border-radius: 9px; background: #fff; font-weight: 800; font-size: .8rem; cursor: pointer; transition: background .2s, color .2s, border .2s; }
.service-tabs button[aria-selected="true"] { color: #fff; border-color: var(--navy); background: var(--navy); box-shadow: 0 8px 20px rgba(16,42,89,.16); }
.service-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); gap: 60px; align-items: center; margin-top: 40px; }
.service-number { display: block; margin-bottom: 12px; color: var(--orange); font-family: var(--font-display); font-size: .74rem; font-weight: 900; letter-spacing: .11em; }
.service-panel h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.service-kicker { margin: 7px 0 18px; color: var(--muted); font-weight: 700; }
.service-panel ul { padding: 0; margin: 0 0 27px; list-style: none; }
.service-panel li { position: relative; padding: 7px 0 7px 28px; }
.service-panel li::before { content: "✓"; position: absolute; left: 0; top: 7px; display: grid; width: 18px; height: 18px; place-items: center; color: var(--orange); border: 1px solid var(--orange); border-radius: 50%; font-size: .68rem; font-weight: 900; }
.service-panel__media { position: relative; aspect-ratio: 1; margin: 0; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); }
.service-panel__media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(7,23,53,.88)); }
.service-panel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .2s ease; }
.service-panel__media:hover img { transform: scale(1.025); }
.service-panel__media figcaption { position: absolute; z-index: 2; left: 24px; bottom: 20px; color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.service-overview { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 55px; }
.service-overview span { min-height: 70px; display: grid; place-items: center; padding: 10px; color: var(--navy); border: 1px solid #e1e6ef; border-radius: 10px; background: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; text-align: center; }

.reviews { border-top: 2px solid var(--orange); background: #fff; }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.rating { flex: 0 0 180px; display: grid; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(16,42,89,.08); }
.rating span, .stars { color: var(--orange); letter-spacing: .08em; }
.rating strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.rating small { color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-grid article { display: flex; min-height: 310px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(16,42,89,.06); }
.review-grid article.featured { transform: translateY(-8px); border-color: rgba(245,163,19,.6); box-shadow: 0 18px 38px rgba(16,42,89,.12); }
.review-grid blockquote { margin: 19px 0 28px; color: #3f4b5e; font-size: .95rem; }
.review-grid footer { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.review-grid footer > span { display: grid; width: 42px; height: 42px; place-items: center; flex: 0 0 42px; color: #fff; background: var(--navy); border-radius: 50%; font-weight: 800; font-size: .75rem; }
.review-grid footer div { display: grid; }
.review-grid footer small { color: var(--muted); }
.text-link { display: block; width: fit-content; margin: 30px auto 0; color: var(--navy); font-weight: 800; }
.text-link:hover { color: #a76500; }

.team { background: var(--mist); }
.team .section-heading { max-width: 780px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.team-card { position: relative; overflow: hidden; border-radius: 16px; background: var(--navy); box-shadow: 0 10px 26px rgba(16,42,89,.11); }
.team-card--wide { grid-column: span 2; }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.team-card:hover img { transform: scale(1.035); }
.team-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7,22,50,.92)); }
.team-card > div { position: absolute; z-index: 2; left: 22px; bottom: 18px; color: #fff; }
.team-card h3 { font-size: 1.15rem; }
.team-card p { margin: 4px 0 0; color: #d4ddec; font-size: .78rem; }
.team-cta-row { margin-top: 30px; text-align: center; }
.button--navy { color: #fff; background: var(--navy); box-shadow: 0 10px 24px rgba(16,42,89,.2); }
.button--navy:hover { color: #fff; background: var(--blue); }

.crew-band { position: relative; overflow: hidden; padding-block: 0; color: #fff; background: var(--navy); }
.crew-band::before { content: ""; position: absolute; left: 48%; top: 0; bottom: 0; width: 70%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.035)); transform: skewX(-15deg); }
.crew-band__inner { position: relative; display: grid; grid-template-columns: minmax(380px, 1fr) 1fr; align-items: center; min-height: 500px; }
.crew-band__inner > img { width: 100%; height: 500px; object-fit: cover; object-position: center 35%; clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%); }
.crew-band__inner > img.crew-band__photo--uncropped { display: block; height: auto; max-height: 500px; object-fit: contain; object-position: center; clip-path: none; border-radius: 18px; }
.crew-band__inner > div { padding: 50px 0 50px 64px; }
.crew-band h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.crew-band p:not(.eyebrow) { color: #d4ddeb; }
.eyebrow--light { color: var(--orange); }

.references { position: relative; overflow: hidden; background: #fff; }
.references__intro { display: grid; grid-template-columns: 1fr 300px; align-items: end; min-height: 350px; }
.references__intro > div { max-width: 690px; padding-bottom: 40px; }
.references__intro > div > p:not(.eyebrow) { color: var(--muted); }
.references__intro > img { align-self: end; justify-self: center; width: 230px; height: 330px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 22px 24px rgba(16,42,89,.14)); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery__item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 12px; background: var(--navy); cursor: zoom-in; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.gallery__item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(6,22,49,.85)); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.055); opacity: .94; }
.gallery__item span { position: absolute; z-index: 2; left: 16px; bottom: 13px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .8rem; }

.references-hero { min-height: 520px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(7,23,53,.97), rgba(10,34,74,.72)), url("assets/referenz_neu_pv_wohnhaus.webp") center 48%/cover; }
.references-hero .subpage-hero__copy { max-width: 830px; }
.references-hero .button-row { margin-top: 30px; }
.reference-jump { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 10px 25px rgba(16,42,89,.06); }
.reference-jump .shell { display: flex; justify-content: center; gap: 34px; }
.reference-jump a { position: relative; padding: 18px 8px; color: var(--navy); font-family: var(--font-display); font-size: .82rem; font-weight: 800; }
.reference-jump a::after { content: ""; position: absolute; left: 8px; right: 100%; bottom: 12px; height: 2px; background: var(--orange); transition: right .2s ease; }
.reference-jump a:hover::after, .reference-jump a:focus-visible::after { right: 8px; }
.reference-category { scroll-margin-top: 105px; }
.reference-category--mist { background: var(--mist); }
.reference-category__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: 60px; align-items: end; margin-bottom: 42px; }
.reference-category__heading h2 { font-size: clamp(2.35rem, 4.6vw, 4.5rem); letter-spacing: -.045em; }
.reference-category__heading h2 span { color: var(--orange); }
.reference-category__heading > p { margin: 0 0 6px; color: var(--muted); }
.reference-showcase { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 225px; gap: 14px; }
.reference-card { grid-column: span 4; min-height: 225px; border-radius: 15px; box-shadow: 0 12px 28px rgba(16,42,89,.1); }
.reference-card--feature { grid-column: span 8; grid-row: span 2; }
.reference-card--portrait { grid-column: span 4; grid-row: span 2; }
.reference-card span { left: 20px; bottom: 17px; font-size: .9rem; }
.reference-team { padding: 0 0 96px; background: #fff; }
.reference-team--light { padding: 96px 0; background: var(--mist); }
.reference-team-card { display: grid; grid-template-columns: 1.45fr .55fr; margin: 0; overflow: hidden; color: #fff; border-radius: 20px; background: var(--navy); box-shadow: var(--shadow); }
.reference-team-card > img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: center; }
.reference-team-card figcaption { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 52px); }
.reference-team-card h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -.04em; }
.reference-team-card figcaption > p:not(.eyebrow) { margin: 19px 0 26px; color: #dce4f1; }
.reference-team-card--reverse { grid-template-columns: .55fr 1.45fr; }
.reference-team-card--reverse > img { order: 2; }
.reference-team-card--reverse figcaption { order: 1; }
.reference-cta { color: #fff; background: var(--navy-deep); }
.reference-cta__inner { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.reference-cta__inner > div:first-child { max-width: 720px; }
.reference-cta h2 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); letter-spacing: -.045em; }
.reference-cta h2 span { color: var(--orange); }
.reference-cta p:not(.eyebrow) { max-width: 680px; margin-bottom: 0; color: #d7e0ef; }
.reference-cta .button-row { flex: 0 0 auto; justify-content: flex-end; }

.project-cta { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; color: #fff; }
.project-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.project-cta__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,27,60,.92), rgba(15,46,95,.75)); }
.project-cta__content { position: relative; max-width: 790px; text-align: center; }
.project-cta__content .eyebrow::before { display: none; }
.project-cta__content p:not(.eyebrow) { max-width: 680px; margin: 18px auto 26px; color: #dce4f1; }
.project-cta__content .button-row { justify-content: center; }

.contact { position: relative; color: #fff; background: var(--navy); }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .3; background: linear-gradient(145deg, transparent 0 58%, #214781 58%); }
.contact__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.contact__copy > p:not(.eyebrow) { color: #d7e0ef; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; font-style: normal; }
.contact-list > * { min-height: 105px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.05); color: #eef3fa; font-size: .88rem; }
.contact-list > *:hover { border-color: rgba(245,163,19,.65); }
.contact-list span { display: block; margin-bottom: 5px; color: var(--orange); font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.06); font-weight: 800; }
.social-links a:hover { color: var(--navy); background: var(--orange); }
.contact-card { position: relative; padding: 43px; color: var(--ink); border-radius: 20px; background: #fff; box-shadow: 0 30px 65px rgba(4,16,38,.35); }
.contact-card__icon { position: absolute; top: 26px; right: 28px; display: grid; width: 50px; height: 50px; place-items: center; color: var(--navy); background: var(--orange); border-radius: 12px; font-size: 1.35rem; }
.contact-card h3 { max-width: 490px; padding-right: 65px; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.contact-card > p:not(.eyebrow) { color: var(--muted); }
.contact-card ul { padding: 0; margin: 24px 0; list-style: none; }
.contact-card li { position: relative; padding: 6px 0 6px 26px; }
.contact-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.contact-card__or { display: flex; align-items: center; gap: 14px; margin: 23px 0 14px; color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.contact-card__or::before, .contact-card__or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.contact-card__mail { display: block; color: var(--navy); font-weight: 800; text-align: center; }
.contact-card__mail:hover { color: #a76500; }

.site-footer { padding: 72px 0 24px; color: #aeb9cc; background: #07152f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1.15fr; gap: 56px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 8px; }
.footer-grid h2 { margin-bottom: 8px; color: var(--orange); font-family: var(--font-display); font-size: .73rem; letter-spacing: .11em; text-transform: uppercase; }
.footer-grid a { width: fit-content; font-size: .83rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { width: 150px; height: 60px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 300px; font-size: .83rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }
.footer-bottom div { display: flex; gap: 20px; }

.lightbox { width: min(980px, calc(100% - 28px)); max-width: none; padding: 0; overflow: visible; color: #fff; border: 0; border-radius: 16px; background: #07152f; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.lightbox::backdrop { background: rgba(4,13,30,.86); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: 16px 16px 0 0; }
.lightbox p { margin: 0; padding: 14px 20px 18px; font-family: var(--font-display); font-weight: 800; }
.lightbox__close { position: absolute; z-index: 3; right: -10px; top: -10px; display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy); border: 3px solid #fff; border-radius: 50%; background: var(--orange); font-size: 1.5rem; cursor: pointer; }
.back-top { position: fixed; z-index: 70; right: 20px; bottom: 20px; display: grid; width: 45px; height: 45px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(9,26,57,.9); box-shadow: 0 8px 22px rgba(9,26,57,.2); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.back-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { color: var(--navy); background: var(--orange); }

[data-hero-rotator] { display: inline-block; transition: opacity .18s ease, transform .18s ease; }
[data-hero-rotator].is-changing { opacity: 0; transform: translateY(6px); }
[data-quote-content] > p { margin: 8px 0 22px; color: var(--muted); }
.choice-grid--icons button { min-height: 112px; place-items: center; text-align: center; }
.choice-grid .choice-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--orange); border-radius: 50%; background: rgba(245,163,19,.12); }
.choice-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.choice-grid button .choice-label { color: var(--ink); font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: 0; }
.choice-grid button:hover .choice-label, .choice-grid button:focus-visible .choice-label { color: var(--blue); }
.choice-grid button.selected .choice-label, .choice-grid button.selected .choice-icon { color: #fff; }
.choice-grid button.selected .choice-icon { background: rgba(255,255,255,.12); }
.quote-card--contact { max-width: none; margin: 0; padding: 34px; }
.quote-card--contact > h3 { font-size: 1.55rem; }
.quote-card--contact > .quote-card__intro { margin: 7px 0 20px; color: var(--muted); }
.quote-card--contact .choice-grid { grid-template-columns: repeat(2, 1fr); }
.quote-card--contact .choice-grid--icons button { min-height: 100px; }
.quote-form button[disabled] { cursor: wait; opacity: .72; transform: none; }
.quote-form .form-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-weight: 500; line-height: 1.45; }
.quote-form .form-consent input { width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--navy); }
.form-consent a, .form-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.reference-callout { padding-left: 16px; border-left: 3px solid var(--orange); }
.subpage-hero { position: relative; overflow: hidden; padding: 86px 0 92px; color: #fff; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.subpage-hero::after { content: ""; position: absolute; right: -8vw; top: -18vw; width: 46vw; height: 46vw; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.subpage-hero .shell { position: relative; z-index: 1; }
.subpage-hero h1 { max-width: 900px; font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.045em; }
.subpage-hero h1 span { color: var(--orange); }
.subpage-hero p:not(.eyebrow) { max-width: 750px; margin: 22px 0 0; color: #dce4f1; font-size: 1.05rem; }
.content-page { background: var(--mist); }
.content-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 54px; align-items: start; }
.content-page__grid--single { grid-template-columns: minmax(0, 1fr); }
.legal-card { padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(16,42,89,.08); }
.legal-card h2 { margin: 38px 0 12px; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.legal-card p, .legal-card li { color: #435069; }
.legal-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal-card ul { padding-left: 22px; }
.legal-aside { position: sticky; top: 110px; display: grid; gap: 15px; padding: 24px; color: #fff; border-radius: 15px; background: var(--navy); }
.legal-aside h2 { font-size: 1.25rem; }
.legal-aside p { margin: 0; color: #d7e0ef; font-size: .86rem; }
.legal-aside a { color: var(--orange); font-weight: 800; overflow-wrap: anywhere; }

.career-hero { min-height: 570px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(7,23,53,.96), rgba(10,34,74,.76)), url("assets/karriere_hero_fuhrpark_2026.webp") center 50%/cover; }
.career-hero .subpage-hero__copy { max-width: 780px; }
.career-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.career-stats div { padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; background: rgba(255,255,255,.07); }
.career-stats strong { display: block; color: var(--orange); font-family: var(--font-display); font-size: 1.55rem; }
.career-stats span { color: #dbe4f2; font-size: .76rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(16,42,89,.06); }
.benefit-card > span { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 17px; color: var(--navy); border-radius: 9px; background: var(--orange); font-weight: 900; }
.benefit-card h3 { font-size: 1.05rem; }
.benefit-card p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.jobs { background: var(--mist); }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.job-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(16,42,89,.06); }
.job-card__image { width: calc(100% + 56px); height: 210px; margin: -28px -28px 24px; object-fit: cover; border-radius: 16px 16px 0 0; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 17px; }
.job-card__meta span { padding: 5px 8px; color: var(--navy); border-radius: 6px; background: #edf2fa; font-size: .7rem; font-weight: 700; }
.job-card p { color: var(--muted); }
.job-card h4 { margin: 8px 0 2px; color: var(--navy); font-family: var(--font-display); font-size: .92rem; }
.job-card ul { padding-left: 20px; color: #435069; font-size: .88rem; }
.job-card .button { width: fit-content; margin-top: auto; }
.job-details { margin: 5px 0 22px; border-block: 1px solid var(--line); }
.job-details summary { padding: 12px 0; color: var(--navy); font-weight: 800; cursor: pointer; }
.job-details summary::marker { color: var(--orange); }
.job-details__grid { display: grid; gap: 5px; padding-bottom: 10px; }
.job-details__grid > div { padding-top: 3px; border-top: 1px dashed var(--line); }
.initiative-banner { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 24px; padding: 28px; color: #fff; border-radius: 16px; background: var(--navy); }
.initiative-banner h3 { font-size: 1.35rem; }
.initiative-banner p { margin: 7px 0 0; color: #d7e0ef; }
.career-values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.career-values span { padding: 12px 14px; color: var(--navy); border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .8rem; font-weight: 800; }
.about__visual.career-about__visual { min-height: 0; aspect-ratio: 1368 / 1080; }
.career-about__portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 18px; box-shadow: var(--shadow); }
.career-about__visual .about__stamp { right: -18px; bottom: 28px; }
.career-team-showcase { padding: 0 0 96px; background: #fff; }
.career-team-showcase__frame { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: var(--navy-deep); box-shadow: var(--shadow); }
.career-team-showcase__frame::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(6,22,49,.82)); pointer-events: none; }
.career-team-showcase__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.career-team-showcase__frame figcaption { position: absolute; z-index: 1; left: clamp(22px, 4vw, 48px); right: clamp(22px, 4vw, 48px); bottom: clamp(20px, 4vw, 42px); color: #fff; }
.career-team-showcase__frame figcaption strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1.05; }
.career-team-showcase__frame figcaption span { display: block; margin-top: 7px; color: #e4eaf4; font-size: .92rem; }
.application { color: #fff; background: var(--navy); }
.application__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.application__copy p:not(.eyebrow) { color: #d7e0ef; }
.application__copy h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); letter-spacing: -.045em; }
.application__copy h2 span { color: var(--orange); }
.application__copy a:hover { color: var(--orange); }
.application-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; color: var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 25px 60px rgba(4,16,38,.34); }
.application-form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 700; }
.application-form label.full, .application-form .form-consent, .application-form .form-note, .application-form .button, .application-form .quote-success { grid-column: 1 / -1; }
.application-form input, .application-form select, .application-form textarea { min-height: 50px; width: 100%; padding: 12px 14px; color: var(--ink); border: 1px solid #ccd5e2; border-radius: 9px; background: #fff; }
.application-form textarea { min-height: 110px; resize: vertical; }
.application-form .form-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: .8rem; font-weight: 500; }
.application-form .form-consent input { width: 18px; min-height: 18px; height: 18px; padding: 0; accent-color: var(--navy); }
.career-contact { color: #fff; background: var(--navy-deep); }
.career-contact__inner { display: flex; justify-content: space-between; align-items: center; gap: 34px; }
.career-contact h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.career-contact p:not(.eyebrow) { margin-bottom: 0; color: #d7e0ef; }

@media (max-width: 1020px) {
  .about__grid { gap: 42px; }
  .about__visual { min-height: 520px; }
  .about__image-main { height: 340px; }
  .about__image-detail { height: auto; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .service-panel { gap: 36px; }
  .service-overview { grid-template-columns: repeat(4, 1fr); }
  .crew-band__inner { grid-template-columns: .9fr 1.1fr; }
  .crew-band__inner > div { padding-left: 40px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reference-team-card { grid-template-columns: 1.2fr .8fr; }
  .reference-team-card--reverse { grid-template-columns: .8fr 1.2fr; }
  .reference-cta__inner { align-items: flex-start; flex-direction: column; }
  .reference-cta .button-row { justify-content: flex-start; }
  .contact__grid { gap: 45px; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 800px) {
  section[id] { scroll-margin-top: 105px; }
  .about__grid, .service-panel, .crew-band__inner, .contact__grid { grid-template-columns: 1fr; }
  .about__visual { min-height: 540px; margin-top: 5px; }
  .number-strip { grid-template-columns: 1fr 1fr; margin-top: 52px; }
  .number-strip div:nth-child(2) { border-right: 0; }
  .number-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .service-panel { margin-top: 28px; }
  .service-panel__copy { order: 2; }
  .service-panel__media { order: 1; }
  .service-overview { grid-template-columns: repeat(3, 1fr); }
  .reviews__head { align-items: start; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid article { min-height: 0; }
  .review-grid article.featured { transform: none; }
  .team-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .team-card--wide { grid-column: span 2; }
  .crew-band__inner > img { height: 380px; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .crew-band__inner > div { padding: 20px 0 65px; }
  .references__intro { grid-template-columns: 1fr 190px; }
  .references__intro > img { width: 170px; height: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery__item--wide { grid-column: span 1; }
  .reference-jump .shell { justify-content: flex-start; gap: 12px; overflow-x: auto; }
  .reference-jump a { flex: 0 0 auto; }
  .reference-category__heading { grid-template-columns: 1fr; gap: 18px; }
  .reference-showcase { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 205px; }
  .reference-card, .reference-card--feature, .reference-card--portrait { grid-column: span 1; grid-row: span 1; }
  .reference-card--feature, .reference-card--portrait { grid-row: span 2; }
  .reference-team-card, .reference-team-card--reverse { grid-template-columns: 1fr; }
  .reference-team-card > img, .reference-team-card--reverse > img { order: 1; min-height: 0; aspect-ratio: 3 / 2; }
  .reference-team-card figcaption, .reference-team-card--reverse figcaption { order: 2; }
  .contact__grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .content-page__grid, .application__grid { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .career-stats { grid-template-columns: 1fr 1fr; }
  .application__grid { gap: 38px; }
  .career-contact__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  .quote-form { grid-template-columns: 1fr; }
  .quote-form label.full, .quote-summary, .quote-form .button, .form-note { grid-column: auto; }
  .about__visual { min-height: 430px; }
  .about__image-main { width: 94%; height: 275px; }
  .about__image-detail { width: 92%; height: auto; border-width: 5px; }
  .about__stamp { right: 0; bottom: 40px; width: 116px; height: 116px; border-width: 5px; }
  .about__stamp strong { font-size: 1.65rem; }
  .number-strip div { padding: 22px 17px; }
  .number-strip strong { font-size: 1.45rem; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .service-overview { grid-template-columns: repeat(2, 1fr); }
  .reviews__head { display: grid; }
  .rating { width: 100%; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; }
  .rating small { text-align: right; }
  .team-grid { grid-template-columns: 1fr; grid-auto-rows: 235px; }
  .team-card--wide { grid-column: auto; }
  .references__intro { grid-template-columns: 1fr 110px; min-height: 300px; }
  .references__intro > div { padding-bottom: 20px; }
  .references__intro > img { width: 110px; height: 190px; }
  .gallery { grid-auto-rows: 155px; gap: 8px; }
  .gallery__item--tall { grid-row: span 1; }
  .references-hero { min-height: 0; }
  .reference-jump .shell { width: calc(100% - 24px); }
  .reference-jump a { padding-block: 15px; font-size: .76rem; }
  .reference-showcase { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 10px; }
  .reference-card, .reference-card--feature, .reference-card--portrait { grid-column: auto; grid-row: auto; }
  .reference-team { padding: 0 0 64px; }
  .reference-team--light { padding: 64px 0; }
  .reference-team-card { border-radius: 14px; }
  .reference-team-card figcaption { padding: 28px 22px 32px; }
  .reference-cta__inner { gap: 30px; }
  .reference-cta .button-row { display: grid; width: 100%; }
  .project-cta { min-height: 570px; }
  .project-cta__content .button-row { display: grid; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-card { padding: 30px 22px; }
  .contact-card__icon { display: none; }
  .contact-card h3 { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
  .footer-bottom div { flex-wrap: wrap; }
  .quote-card--contact { padding: 24px 16px; }
  .quote-card--contact .choice-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .application-form { grid-template-columns: 1fr; padding: 22px 16px; }
  .application-form label.full, .application-form .form-consent, .application-form .form-note, .application-form .button, .application-form .quote-success { grid-column: auto; }
  .subpage-hero { padding-block: 68px 74px; }
  .initiative-banner { align-items: stretch; flex-direction: column; }
  .career-values { grid-template-columns: 1fr; }
  .career-about__visual .about__stamp { right: -4px; bottom: 18px; }
  .career-team-showcase { padding-bottom: 72px; }
  .career-team-showcase__frame { border-radius: 14px; }
  .career-team-showcase__frame img { aspect-ratio: 4 / 3; }
  .career-team-showcase__frame figcaption span { display: none; }
  .job-card { padding: 22px; }
  .job-card__image { width: calc(100% + 44px); margin: -22px -22px 20px; }
}
