: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%; height: auto; 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: 13px; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.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: 1180px) {
  .nav-wrap { min-height: 94px; grid-template-columns: 204px minmax(0, 1fr) auto; gap: 14px; }
  .brand img { width: 195px; height: 78px; }
  .main-nav { gap: 9px; font-size: .72rem; }
  .phone-link { display: none; }
  .hero__grid { gap: 34px; }
}
@media (max-width: 900px) {
  .header-actions { display: none; }
  .main-nav { gap: 12px; font-size: .76rem; }
  .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; }
}

/* Photovoltaik landing page */
.pv-page { background: #fff; }
.pv-page h2 span { color: var(--orange); }
.pv-page #pv-anfrage, .pv-page #waermepumpe-anfrage { scroll-margin-top: 142px; }
.pv-header .nav-wrap { grid-template-columns: 244px 1fr auto; }
.pv-header .main-nav { gap: 22px; }
.pv-header .main-nav a { font-size: .82rem; }

.pv-hero { position: relative; isolation: isolate; min-height: 760px; overflow: hidden; color: #fff; background: var(--navy-deep); }
.pv-hero__backdrop { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(5,20,47,.98) 0%, rgba(8,31,67,.93) 43%, rgba(8,30,65,.73) 100%), url("assets/referenz_neu_pv_wohnhaus.webp") 68% center/cover; }
.pv-hero__backdrop::after { content: ""; position: absolute; inset: 0; opacity: .26; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, #000, transparent 65%); }
.pv-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 -1px; height: 55px; background: #fff; clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%); }
.pv-hero__grid { display: grid; width: min(1440px, calc(100% - 64px)); grid-template-columns: minmax(0, 1fr) minmax(560px, 1fr); gap: clamp(34px, 4vw, 64px); align-items: center; padding-block: 72px 112px; }
.pv-hero__copy { min-width: 0; }
.pv-hero__copy h1 { max-width: 720px; font-size: clamp(3rem, 4.2vw, 4.75rem); letter-spacing: -.055em; }
.pv-hero__copy h1 span { color: var(--orange-hot); }
.pv-hero__lead { max-width: 670px; margin: 24px 0 22px; color: #e2e9f4; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.pv-hero__checks { display: grid; gap: 9px; padding: 0; margin: 0 0 32px; list-style: none; }
.pv-hero__checks li { position: relative; padding-left: 29px; color: #f0f4fa; font-weight: 650; font-size: .91rem; }
.pv-hero__checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; width: 19px; height: 19px; place-items: center; color: var(--navy-deep); border-radius: 50%; background: var(--orange); font-size: .68rem; font-weight: 900; }
.pv-hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 620px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(4,18,43,.42); backdrop-filter: blur(8px); }
.pv-hero__proof > * { display: grid; gap: 2px; padding: 15px 17px; border-right: 1px solid rgba(255,255,255,.13); }
.pv-hero__proof > *:last-child { border-right: 0; }
.pv-hero__proof strong { color: var(--orange-hot); font-family: var(--font-display); font-size: 1.24rem; line-height: 1.15; }
.pv-hero__proof span { color: #cdd8e8; font-size: .68rem; }
.pv-hero__proof a:hover { background: rgba(255,255,255,.06); }
.pv-hero__scroll { position: absolute; left: 50%; bottom: 24px; display: flex; z-index: 2; align-items: center; gap: 9px; color: rgba(255,255,255,.64); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.pv-hero__scroll span { position: relative; width: 20px; height: 31px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; }
.pv-hero__scroll span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; border-radius: 4px; background: var(--orange); transform: translateX(-50%); animation: pv-scroll 1.8s ease-in-out infinite; }

.pv-funnel-card { position: relative; min-height: 570px; padding: clamp(24px, 3vw, 38px); color: var(--ink); border: 1px solid rgba(245,163,19,.65); border-radius: 22px; background: rgba(255,255,255,.985); box-shadow: 0 35px 85px rgba(0,0,0,.34); }
.pv-funnel-card::before { content: ""; position: absolute; z-index: -1; inset: -2px; border: 2px solid rgba(255,181,27,.8); border-radius: 24px; opacity: 0; pointer-events: none; }
.pv-funnel-card.is-inviting::before { animation: pv-funnel-pulse 2.3s ease-out infinite; }
.pv-funnel-card.has-started::before { animation: none; }
.pv-funnel-card__head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.pv-funnel-card__head > div { display: grid; gap: 4px; }
.pv-funnel-card__head strong { color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.pv-funnel-kicker { color: #a96600; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pv-funnel-time { flex: 0 0 auto; height: fit-content; padding: 6px 9px; color: var(--navy); border-radius: 99px; background: #edf2fa; font-size: .68rem; font-weight: 800; }
.pv-funnel-progress { display: flex; justify-content: space-between; margin-top: 17px; color: #6f7b8e; font-size: .72rem; font-weight: 700; }
.pv-progress-track { height: 6px; margin: 9px 0 27px; overflow: hidden; border-radius: 99px; background: #e5eaf2; }
.pv-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--orange-hot)); transition: width .35s ease; }
[data-pv-funnel-content] { min-height: 345px; }
[data-pv-funnel-content].is-entering { animation: pv-step-in .3s ease both; }
[data-pv-funnel-content] h2 { max-width: 500px; color: var(--navy-deep); font-size: clamp(1.45rem, 2.1vw, 2rem); letter-spacing: -.025em; }
[data-pv-funnel-content] > p { margin: 9px 0 20px; color: var(--muted); font-size: .86rem; }
.pv-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.pv-choice-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.pv-choice-grid button, .pv-choice-grid > span { min-height: 76px; display: flex; align-items: center; gap: 12px; padding: 13px 14px; color: var(--navy); border: 1px solid #d7dee9; border-radius: 12px; background: #fff; font-size: .79rem; font-weight: 800; text-align: left; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.pv-choice-grid > span { justify-content: center; color: #8b95a5; background: #f8fafc; }
.pv-choice-grid button { cursor: pointer; }
.pv-choice-grid button:hover, .pv-choice-grid button:focus-visible { border-color: var(--orange); background: #fffaf0; box-shadow: 0 10px 24px rgba(16,42,89,.1); transform: translateY(-2px); }
.pv-choice-icon { flex: 0 0 43px; display: grid; width: 43px; height: 43px; place-items: center; color: #a86600; border-radius: 11px; background: rgba(245,163,19,.13); }
.pv-choice-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv-funnel-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; }
.pv-funnel-back { min-height: 40px; padding: 7px 0; color: var(--navy); border: 0; background: transparent; font-size: .78rem; font-weight: 800; cursor: pointer; }
.pv-funnel-back:hover { color: #9b6000; }
.pv-funnel-privacy { margin: 19px 0 0; color: #788397; font-size: .68rem; text-align: center; }
.pv-funnel-nudge { position: absolute; z-index: 3; left: 24px; top: -18px; display: flex; width: max-content; align-items: center; gap: 7px; padding: 7px 11px; color: var(--navy-deep); border-radius: 999px; background: var(--orange-hot); box-shadow: 0 8px 22px rgba(0,0,0,.2); font-size: 1.2rem; line-height: 1; animation: pv-nudge-card 1.5s ease-in-out infinite; }
.pv-funnel-nudge span { color: var(--navy-deep); font-family: var(--font-display); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.pv-funnel-card.has-started .pv-funnel-nudge { display: none; }
.pv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-form label { display: grid; gap: 6px; color: var(--ink); font-size: .76rem; font-weight: 800; }
.pv-form input, .pv-form textarea { width: 100%; min-height: 47px; padding: 11px 12px; color: var(--ink); border: 1px solid #cdd6e3; border-radius: 9px; background: #fff; }
.pv-form textarea { min-height: 78px; resize: vertical; }
.pv-form .full, .pv-form .pv-form-summary, .pv-form .form-consent, .pv-form .form-note, .pv-form .button { grid-column: 1 / -1; }
.pv-form-summary { padding: 11px 13px; color: #526077; border-radius: 9px; background: var(--mist); font-size: .72rem; }
.pv-form-summary strong { color: var(--navy); }
.pv-form .form-consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 8px; font-size: .68rem; font-weight: 500; line-height: 1.45; }
.pv-form .form-consent input { width: 17px; min-height: 17px; height: 17px; margin-top: 1px; padding: 0; accent-color: var(--navy); }
.pv-form .form-note { margin: -2px 0 0; color: var(--muted); font-size: .67rem; }
.pv-form .button { width: 100%; }
.pv-funnel-success { display: grid; place-items: center; padding: 30px 12px; text-align: center; }
.pv-funnel-success > span { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 16px; color: var(--navy); border-radius: 50%; background: var(--orange); font-size: 1.45rem; font-weight: 900; }
.pv-funnel-success p { max-width: 420px; color: var(--muted); }

.pv-trust { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.pv-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pv-trust__grid div { min-height: 88px; display: flex; align-items: center; gap: 11px; padding: 19px 22px; border-right: 1px solid var(--line); }
.pv-trust__grid div:last-child { border-right: 0; }
.pv-trust__grid span { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; color: var(--navy); border-radius: 50%; background: var(--orange); font-weight: 900; }
.pv-trust__grid strong { color: var(--navy); font-size: .78rem; line-height: 1.35; }

.pv-complete { overflow: hidden; background: #fff; }
.pv-complete__grid { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(0, .95fr); gap: clamp(52px, 7vw, 96px); align-items: center; }
.pv-complete__media { position: relative; }
.pv-complete__media::before { content: ""; position: absolute; left: -25px; top: -25px; width: 56%; height: 58%; border-radius: 20px; background: var(--orange); }
.pv-complete__media img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.pv-complete__badge { position: absolute; right: -28px; bottom: 28px; display: grid; max-width: 260px; padding: 18px 20px; color: #fff; border-left: 4px solid var(--orange); border-radius: 10px; background: var(--navy); box-shadow: var(--shadow); }
.pv-complete__badge strong { font-family: var(--font-display); }
.pv-complete__badge span { color: #d4ddec; font-size: .74rem; }
.pv-complete__copy h2, .pv-section-head h2, .pv-team h2, .pv-faq h2, .pv-final-cta h2 { font-size: clamp(2.3rem, 4.2vw, 4.2rem); letter-spacing: -.045em; }
.pv-complete__copy > p:not(.eyebrow) { color: var(--muted); }
.pv-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 30px; }
.pv-feature-list article { display: grid; grid-template-columns: 35px 1fr; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.pv-feature-list article > span { color: var(--orange); font-family: var(--font-display); font-size: .7rem; font-weight: 900; }
.pv-feature-list h3 { margin-bottom: 4px; font-size: .9rem; }
.pv-feature-list p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }

.funding-section { color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.funding-card { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: clamp(42px, 7vw, 90px); align-items: center; }
.funding-card__highlight { display: grid; place-items: center; min-height: 330px; padding: 42px 30px; text-align: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50% 50% 44% 56% / 48% 45% 55% 52%; background: radial-gradient(circle at 35% 25%, #ffd16c, var(--orange) 58%, #e18d00); box-shadow: 0 30px 70px rgba(0,0,0,.24); transform: rotate(-2deg); }
.funding-card__highlight > * { transform: rotate(2deg); }
.funding-card__highlight span { color: var(--navy-deep); font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.funding-card__highlight strong { color: var(--navy-deep); font-family: var(--font-display); font-size: clamp(2.35rem, 4.5vw, 4.6rem); letter-spacing: -.055em; line-height: .94; }
.funding-card__highlight small { color: #4d3405; font-size: .85rem; font-weight: 800; }
.funding-card__copy h2 { max-width: 880px; font-size: clamp(2.3rem, 4vw, 4.1rem); letter-spacing: -.045em; }
.funding-card__copy h2 span { color: var(--orange); }
.funding-card__copy > p:not(.eyebrow, .funding-card__note) { max-width: 820px; color: #d7e0ed; }
.funding-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 27px 0 30px; }
.funding-card__facts article { padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.06); }
.funding-card__facts strong { display: block; margin-bottom: 7px; color: #fff; font-size: .9rem; }
.funding-card__facts span { color: #cad5e5; font-size: .74rem; line-height: 1.48; }
.funding-card__copy .button-row { margin-top: 0; }
.funding-card__note { max-width: 920px; margin: 22px 0 0; color: #aebbd0; font-size: .65rem; line-height: 1.55; }

.energy-combo { background: var(--mist); }
.energy-combo__card { display: grid; grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr); padding: 0; overflow: hidden; color: #fff; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: var(--navy-deep); box-shadow: 0 28px 70px rgba(8,31,67,.2); }
.energy-combo__media { position: relative; min-height: 470px; overflow: hidden; background: var(--navy); }
.energy-combo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(4,17,41,.82)); pointer-events: none; }
.energy-combo__media img { width: 100%; height: 100%; object-fit: cover; }
.energy-combo__media > span { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: #fff; font-family: var(--font-display); font-size: .85rem; font-weight: 800; }
.energy-combo__copy { display: flex; justify-content: center; flex-direction: column; padding: clamp(38px, 5vw, 72px); }
.energy-combo__copy h2 { max-width: 760px; font-size: clamp(2.25rem, 4vw, 4rem); letter-spacing: -.045em; }
.energy-combo__copy > p:not(.eyebrow) { max-width: 780px; color: #d7e0ed; }
.energy-combo__copy ul { display: grid; gap: 10px; padding: 0; margin: 25px 0 31px; list-style: none; }
.energy-combo__copy li { position: relative; padding-left: 27px; color: #edf2f8; font-size: .88rem; }
.energy-combo__copy li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.energy-combo__copy .button-row { margin-top: 0; }

.pv-advisor .energy-combo__media { min-height: 520px; background: #fff; }
.pv-advisor .energy-combo__media img { object-fit: contain; object-position: center bottom; }
.pv-advisor__contacts { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 12px; margin: 25px 0 30px; font-style: normal; }
.pv-advisor__contacts a { display: grid; gap: 5px; min-width: 0; padding: 15px 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.06); transition: border-color .2s ease, background .2s ease; }
.pv-advisor__contacts a:hover, .pv-advisor__contacts a:focus-visible { border-color: var(--orange); background: rgba(255,255,255,.1); }
.pv-advisor__contacts span { color: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.pv-advisor__contacts strong { color: #fff; font-size: .86rem; overflow-wrap: anywhere; }

.pv-solutions { background: var(--mist); }
.pv-solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pv-solution-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 14px 34px rgba(16,42,89,.08); transition: transform .25s ease, box-shadow .25s ease; }
.pv-solution-grid article:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(16,42,89,.13); }
.pv-solution-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pv-solution-grid .pv-photo-roof-focus { object-position: center 68%; }
.pv-solution-grid article:nth-child(2) img, .pv-solution-grid article:nth-child(3) img { object-position: center; }
.pv-solution-grid article > div { position: relative; padding: 25px; }
.pv-solution-grid article > div > span { position: absolute; right: 22px; top: 22px; color: var(--orange); font-family: var(--font-display); font-size: .72rem; font-weight: 900; }
.pv-solution-grid h3 { padding-right: 36px; font-size: 1.25rem; }
.pv-solution-grid p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }

.pv-references { color: #fff; background: var(--navy-deep); }
.pv-section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .65fr); gap: 70px; align-items: end; margin-bottom: 40px; }
.pv-section-head > div:last-child > p { margin-top: 0; color: #cdd7e6; }
.pv-section-head .text-link { color: var(--orange); }
.pv-page .pv-gallery { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.pv-page .pv-gallery .gallery__item,
.pv-page .pv-gallery .gallery__item--wide,
.pv-page .pv-gallery .gallery__item--tall { aspect-ratio: 4 / 3; grid-column: auto; grid-row: auto; border-color: rgba(255,255,255,.12); }
.pv-page .pv-gallery .gallery__item--fachwerk img { object-position: center 36%; }
.pv-inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 34px; padding: 25px 28px; color: var(--navy); border-radius: 14px; background: #fff; }
.pv-inline-cta > div { display: grid; gap: 3px; }
.pv-inline-cta strong { font-family: var(--font-display); font-size: 1.08rem; }
.pv-inline-cta span { color: var(--muted); font-size: .8rem; }

.pv-team { overflow: hidden; color: #fff; background: var(--navy); }
.pv-team__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(48px, 7vw, 92px); align-items: center; }
.pv-team figure { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 19px; background: var(--navy-deep); box-shadow: 0 30px 65px rgba(0,0,0,.26); }
.pv-team figure img { width: 100%; height: auto; aspect-ratio: 1600 / 1068; object-fit: contain; background: var(--navy-deep); }
.pv-team figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; border-top: 1px solid rgba(255,255,255,.1); }
.pv-team figcaption span { color: var(--orange); font-size: .75rem; }
.pv-team__grid > div > p:not(.eyebrow) { color: #d7e0ed; }
.pv-team__grid ul { display: grid; gap: 9px; padding: 0; margin: 25px 0 30px; list-style: none; }
.pv-team__grid li { position: relative; padding-left: 27px; color: #edf2f8; font-size: .9rem; }
.pv-team__grid li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }

.pv-process { background: #fff; }
.pv-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; counter-reset: pv-process; }
.pv-process__grid li { position: relative; padding: 25px 28px 25px 0; }
.pv-process__grid li:not(:last-child)::after { content: ""; position: absolute; left: 58px; right: 0; top: 42px; height: 1px; background: linear-gradient(90deg, var(--orange), var(--line)); }
.pv-process__grid li > span { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; color: var(--navy); border: 4px solid #fff; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px var(--orange); font-family: var(--font-display); font-size: .66rem; font-weight: 900; }
.pv-process__grid li > div { margin-top: 25px; }
.pv-process__grid h3 { font-size: 1.05rem; }
.pv-process__grid p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }

.pv-reviews { border-block: 1px solid var(--line); background: var(--mist); }
.pv-reviews .pv-section-head { align-items: center; }
.pv-google-rating { justify-self: end; display: grid; min-width: 190px; padding: 16px 19px; color: var(--navy); border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 10px 28px rgba(16,42,89,.08); }
.pv-google-rating span { color: var(--orange); letter-spacing: .08em; }
.pv-google-rating strong { font-family: var(--font-display); font-size: 1.55rem; }
.pv-google-rating small { color: var(--muted); }
.pv-review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pv-review-grid article { display: flex; min-height: 340px; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(16,42,89,.07); }
.pv-review-grid blockquote { margin: 18px 0 26px; color: #384761; font-size: .94rem; }
.pv-review-grid footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.pv-review-grid footer > span { display: grid; width: 43px; height: 43px; place-items: center; color: var(--navy); border-radius: 50%; background: var(--orange); font-weight: 900; }
.pv-review-grid footer > div { display: grid; }
.pv-review-grid footer small { color: var(--muted); }

.pv-faq { background: #fff; }
.pv-faq__grid { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(50px, 8vw, 105px); align-items: start; }
.pv-faq__grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.pv-accordion { border-top: 1px solid var(--line); }
.pv-accordion details { border-bottom: 1px solid var(--line); }
.pv-accordion summary { position: relative; padding: 23px 46px 23px 0; color: var(--navy); font-family: var(--font-display); font-weight: 800; cursor: pointer; list-style: none; }
.pv-accordion summary::-webkit-details-marker { display: none; }
.pv-accordion summary::after { content: "+"; position: absolute; right: 0; top: 17px; display: grid; width: 32px; height: 32px; place-items: center; color: var(--navy); border-radius: 50%; background: #f0f3f8; font-size: 1.25rem; }
.pv-accordion details[open] summary::after { content: "−"; color: #fff; background: var(--navy); }
.pv-accordion details p { margin: -5px 48px 22px 0; color: var(--muted); font-size: .88rem; }

.pv-final-cta { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--navy-deep); }
.pv-final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.pv-final-cta__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,41,.97) 0%, rgba(8,31,68,.88) 50%, rgba(8,31,68,.48) 100%); }
.pv-final-cta__content { position: relative; max-width: 1180px; }
.pv-final-cta__content h2 { max-width: 900px; }
.pv-final-cta__content > p:not(.eyebrow) { max-width: 660px; color: #dae3ef; }
.pv-mobile-cta { display: none; }

/* Wärmepumpen landing page reuses the proven landing-page components. */
.heatpump-page .pv-hero__backdrop { background: linear-gradient(90deg, rgba(5,20,47,.98) 0%, rgba(8,31,67,.93) 43%, rgba(8,30,65,.7) 100%), url("assets/referenz_neu_waermepumpen_duo.webp") 68% center/cover; }
.heatpump-page .pv-solution-grid article:nth-child(2) img,
.heatpump-page .pv-solution-grid article:nth-child(3) img { padding: 0; object-fit: cover; background: #e9eef5; }
.heatpump-page .pv-solution-grid article:nth-child(2) img { object-position: center 36%; }
.heatpump-page .pv-solution-grid article:nth-child(3) img { object-position: center 34%; }
.pv-page.heatpump-page .pv-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-page.heatpump-page .pv-gallery .gallery__item--portrait { aspect-ratio: 3 / 4; }
.pv-page.heatpump-page .pv-gallery .gallery__item--portrait img { object-fit: contain; background: #071a3d; }
.heatpump-page .pv-review-grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.heatpump-page .pv-review-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.heatpump-page .pv-final-cta > img { object-position: center; }

@keyframes pv-funnel-pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.035); } }
@keyframes pv-nudge-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes pv-scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 45% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }
@keyframes pv-step-in { from { opacity: 0; transform: translateX(13px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .pv-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr); gap: 34px; }
  .pv-funnel-nudge { display: none; }
  .pv-header .main-nav { gap: 13px; }
  .pv-header .main-nav a { font-size: .75rem; }
}

@media (max-width: 1020px) {
  .pv-header .nav-wrap { min-height: 94px; grid-template-columns: 1fr auto; }
  .pv-header .header-actions { display: none; }
  .pv-header .menu-toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); }
  .pv-header .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: #fff; }
  .pv-header .main-nav { position: absolute; left: 20px; right: 20px; top: 94px; display: none; gap: 0; padding: 14px; border-radius: 12px; background: var(--navy-deep); box-shadow: var(--shadow); }
  .pv-header .main-nav.open { display: grid; }
  .pv-header .main-nav a { padding: 10px 12px; font-size: .82rem; }
  .pv-header .main-nav a::after { display: none; }
  .pv-hero { min-height: 0; }
  .pv-hero__grid { grid-template-columns: 1fr; padding-block: 64px 100px; }
  .pv-hero__copy { max-width: 820px; }
  .pv-hero__copy h1 { font-size: clamp(3.3rem, 8vw, 5.8rem); }
  .pv-funnel-card { width: min(100%, 760px); min-height: 0; }
  .pv-trust__grid { grid-template-columns: 1fr 1fr; }
  .pv-trust__grid div:nth-child(2) { border-right: 0; }
  .pv-trust__grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pv-complete__grid { grid-template-columns: 1fr; }
  .pv-complete__media { width: min(100%, 760px); }
  .funding-card { grid-template-columns: minmax(220px, .52fr) minmax(0, 1.48fr); gap: 42px; }
  .funding-card__highlight { min-height: 260px; }
  .funding-card__facts { grid-template-columns: 1fr; }
  .energy-combo__card { grid-template-columns: 1fr; }
  .energy-combo__media { min-height: clamp(300px, 55vw, 480px); }
  .pv-team__grid { grid-template-columns: 1fr; }
  .pv-team figure { width: min(100%, 860px); }
  .pv-page .pv-gallery { grid-template-columns: repeat(3, 1fr); }
  .pv-process__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pv-process__grid li { padding: 23px; border: 1px solid var(--line); border-radius: 13px; }
  .pv-process__grid li:not(:last-child)::after { display: none; }
}

@media (max-width: 800px) {
  .pv-page { padding-bottom: 70px; }
  .pv-header .nav-wrap { grid-template-columns: 1fr auto; }
  .pv-hero__grid { width: min(100% - 34px, 720px); gap: 0; }
  .pv-hero__copy { display: contents; }
  .pv-hero__copy > .eyebrow { grid-row: 1; }
  .pv-hero__copy > h1 { grid-row: 2; }
  .pv-hero__copy > .pv-hero__lead { grid-row: 3; }
  .pv-funnel-card { grid-row: 4; margin: 28px 0 32px; }
  .pv-hero__copy > .pv-hero__checks { grid-row: 5; margin-bottom: 24px; }
  .pv-hero__copy > .pv-hero__proof { grid-row: 6; }
  .pv-hero__copy h1 { min-width: 0; font-size: clamp(2.8rem, 8vw, 4rem); }
  .pv-hero__proof { max-width: none; }
  .pv-choice-grid { grid-template-columns: 1fr 1fr; }
  .pv-solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-complete__grid { gap: 46px; }
  .pv-complete__badge { right: 18px; bottom: -25px; }
  .funding-card { grid-template-columns: 1fr; }
  .funding-card__highlight { width: min(100%, 360px); min-height: 320px; justify-self: center; }
  .pv-section-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .pv-google-rating { justify-self: start; }
  .pv-page .pv-gallery { grid-template-columns: repeat(2, 1fr); }
  .pv-inline-cta { align-items: stretch; flex-direction: column; }
  .pv-inline-cta .button { width: 100%; }
  .pv-review-grid { grid-template-columns: 1fr; }
  .heatpump-page .pv-review-grid--three { grid-template-columns: 1fr; }
  .pv-review-grid article { min-height: 0; }
  .pv-faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .pv-mobile-cta { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 10px; display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; color: var(--navy-deep); border: 1px solid #e18d00; border-radius: 11px; background: var(--orange); box-shadow: 0 12px 34px rgba(5,20,45,.3); font-weight: 900; transition: opacity .22s ease, transform .22s ease; }
  .pv-mobile-cta.is-hidden { opacity: 0; transform: translateY(130%); pointer-events: none; }
  .pv-page .back-top { bottom: 78px; }
}

@media (max-width: 540px) {
  .pv-hero__grid { width: calc(100% - 24px); gap: 0; padding-block: 46px 88px; }
  .pv-hero__copy h1 { font-size: clamp(2rem, 9.8vw, 2.4rem); }
  .pv-hero__lead { margin-top: 18px; }
  .pv-hero__proof { grid-template-columns: 1fr 1fr; }
  .pv-hero__proof > * { border-bottom: 1px solid rgba(255,255,255,.13); }
  .pv-hero__proof > *:nth-child(2) { border-right: 0; }
  .pv-hero__proof > *:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .pv-funnel-card { padding: 22px 15px; border-radius: 16px; }
  .pv-funnel-card__head { display: grid; }
  .pv-funnel-time { justify-self: start; }
  [data-pv-funnel-content] { min-height: 0; }
  .pv-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pv-choice-grid button { min-height: 67px; }
  .heatpump-page .pv-choice-grid { grid-template-columns: 1fr; }
  .heatpump-page .pv-choice-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .pv-form { grid-template-columns: 1fr; }
  .pv-form .full, .pv-form .pv-form-summary, .pv-form .form-consent, .pv-form .form-note, .pv-form .button { grid-column: auto; }
  .pv-trust__grid { grid-template-columns: 1fr; }
  .pv-trust__grid div { min-height: 68px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pv-trust__grid div:last-child { border-bottom: 0; }
  .pv-feature-list { grid-template-columns: 1fr; }
  .pv-complete__media::before { left: -10px; top: -10px; }
  .pv-complete__badge { position: relative; right: auto; bottom: auto; max-width: none; margin: -25px 14px 0; }
  .funding-card__highlight { min-height: 280px; padding: 34px 22px; }
  .funding-card__facts { grid-template-columns: 1fr; }
  .funding-card__copy .button-row { display: grid; }
  .funding-card__copy .button { width: 100%; }
  .energy-combo__card { border-radius: 16px; }
  .energy-combo__media { min-height: 260px; }
  .energy-combo__copy { padding: 30px 20px; }
  .energy-combo__copy .button-row { display: grid; }
  .energy-combo__copy .button { width: 100%; }
  .pv-advisor .energy-combo__media { min-height: 390px; }
  .pv-advisor__contacts { grid-template-columns: 1fr; }
  .pv-solution-grid { grid-template-columns: 1fr; }
  .pv-page .pv-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pv-page.heatpump-page .pv-gallery { grid-template-columns: 1fr; }
  .pv-page .pv-gallery .gallery__item, .pv-page .pv-gallery .gallery__item--wide, .pv-page .pv-gallery .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .pv-team figcaption { display: grid; }
  .pv-team figcaption span { line-height: 1.3; }
  .pv-process__grid { grid-template-columns: 1fr; }
  .pv-accordion details p { margin-right: 0; }
  .pv-final-cta { min-height: 690px; }
  .pv-final-cta__content .button-row { display: grid; }
  .heatpump-page .pv-final-cta { min-height: 720px; align-items: end; padding-block: 245px 68px; background: var(--navy-deep); }
  .heatpump-page .pv-final-cta > img { inset: 0 0 auto; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center top; }
  .heatpump-page .pv-final-cta__overlay { background: linear-gradient(180deg, rgba(4,17,41,.1) 0%, rgba(4,17,41,.44) 24%, rgba(4,17,41,.94) 40%, var(--navy-deep) 58%); }
}

@media (max-width: 390px) {
  .pv-choice-grid { grid-template-columns: 1fr; }
  .pv-choice-grid > :last-child:nth-child(odd) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .pv-funnel-card.is-inviting::before, .pv-funnel-nudge, .pv-hero__scroll span::after { animation: none; }
}
