/*
Theme Name: primawo Immobilienservice
Theme URI: https://primawo.de/
Author: primawo GmbH
Description: Maßgeschneidertes WordPress-Theme für die primawo GmbH mit Verwaltung, Vermittlung, Eigentümer-Service, Team, Karriere, Kontakt und Rechtstexten.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: primawo
*/

:root {
  --navy: #090b3a;
  --navy-2: #111552;
  --ink: #111332;
  --magenta: #c50c4d;
  --magenta-dark: #a30740;
  --rose: #f6e7ee;
  --ice: #f3f5fa;
  --cream: #f7f2eb;
  --white: #fff;
  --muted: #62677d;
  --line: rgba(9, 11, 58, .13);
  --shadow: 0 24px 70px rgba(9, 11, 58, .13);
  --container: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Avenir Next, Avenir, Segoe UI, Helvetica Neue, Arial, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 12px 18px; color: #fff; background: var(--magenta); border-radius: 4px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid #ef4e89; outline-offset: 4px; }
.container { width: var(--container); margin-inline: auto; }
.section-pad { padding: 130px 0; }

.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; color: var(--magenta); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 2px; content: ""; background: currentColor; }
.eyebrow--light { color: #fff; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border: 0; border-radius: 2px; text-decoration: none; font-size: .88rem; font-weight: 780; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--magenta); box-shadow: 0 12px 30px rgba(197, 12, 77, .24); }
.button--primary:hover { background: #df145d; box-shadow: 0 16px 36px rgba(197, 12, 77, .34); }
.button--dark { color: #fff; background: var(--navy); }
.button--dark:hover { background: var(--navy-2); }
.button--hero { color: var(--navy); background: rgba(255,255,255,.96); box-shadow: 0 15px 36px rgba(9,11,58,.16); }
.button--hero span { color: var(--magenta); }
.button--hero:hover { color: #fff; background: var(--magenta); }
.button--hero:hover span { color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: none; color: var(--ink); font-size: .86rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.text-link--light { color: #fff; }

/* Angled utility bar */
.topbar { position: absolute; inset: 0 0 auto; z-index: 80; height: 47px; overflow: visible; color: #fff; background: var(--navy); }
.topbar::after { position: absolute; right: 0; bottom: 3px; left: 0; z-index: 1; height: 2px; content: ""; pointer-events: none; background: var(--magenta); transform: rotate(-.16deg); transform-origin: right center; }
.topbar__inner { position: relative; z-index: 2; display: flex; width: var(--container); height: 40px; align-items: center; justify-content: flex-end; margin-inline: auto; font-size: .69rem; letter-spacing: .06em; }
.topbar__claim { color: rgba(255,255,255,.63); text-transform: uppercase; }
.topbar__links { display: flex; height: 100%; align-items: center; gap: 2px; }
.topbar__links a, .topbar__links button { display: flex; height: 100%; align-items: center; gap: 8px; padding: 0 17px; border: 0; color: #fff; background: transparent; text-decoration: none; font-size: .69rem; font-weight: 760; letter-spacing: .06em; cursor: pointer; transition: background .2s; }
.topbar__links a:hover, .topbar__links button:hover { background: rgba(255,255,255,.1); }

/* Transparent navigation over hero */
.site-header { position: absolute; inset: 47px 0 auto; z-index: 40; color: var(--navy); background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.84) 54%, rgba(255,255,255,0) 100%); }
.site-header::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ""; background: rgba(255,255,255,.22); }
.site-header__inner { display: grid; width: var(--container); min-height: 82px; grid-template-columns: 250px 1fr auto; align-items: center; margin-inline: auto; }
.brand { width: 188px; }
.brand img { width: 100%; filter: none; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 42px; }
.main-nav a { position: relative; padding: 31px 0 29px; color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.main-nav a::after { position: absolute; right: 0; bottom: 22px; left: 0; height: 2px; content: ""; background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.portal-link { display: flex; min-width: 140px; min-height: 42px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--magenta); color: #fff; background: var(--magenta); font-size: .75rem; font-weight: 750; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.portal-link:hover { border-color: var(--magenta-dark); background: var(--magenta-dark); transform: translateY(-1px); }
.portal-link svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.6; }
.menu-toggle { display: none; }

/* Editorial brand hero: two services, one clear Primawo promise */
.button--outline { border: 1px solid rgba(9,11,58,.22); color: var(--navy); background: transparent; box-shadow: none; }
.button--outline:hover { border-color: var(--navy); background: #fff; }
.hero { position: relative; min-height: 870px; overflow: hidden; color: var(--ink); background: #f5f6f8; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 61% 100%, 0 calc(100% - 34px)); }
.hero-stage { display: grid; width: var(--container); min-height: 650px; grid-template-columns: .88fr 1.12fr; padding-top: 129px; margin-inline: auto; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px 58px 115px 0; }
.hero-copy::before { position: absolute; top: 24%; right: -1px; width: 1px; height: 50%; content: ""; background: linear-gradient(transparent, rgba(197,12,77,.5), transparent); }
.hero-copy h1 { margin: 0; color: var(--navy); font-size: clamp(4rem, 6vw, 6.4rem); font-weight: 790; letter-spacing: -.072em; line-height: .9; }
.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-copy h1 em { margin-top: 9px; color: var(--magenta); font-family: Georgia, Times New Roman, serif; font-weight: 400; letter-spacing: -.055em; }
.hero-copy__lead { max-width: 565px; margin: 31px 0 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.13rem); line-height: 1.72; }
.hero-copy__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-copy__audience { position: relative; padding-left: 24px; margin: 27px 0 0; color: var(--navy); font-size: .72rem; font-weight: 750; }
.hero-copy__audience::before { position: absolute; top: .4em; left: 0; width: 9px; height: 9px; border-radius: 50%; content: ""; background: var(--magenta); box-shadow: 0 0 0 5px rgba(197,12,77,.1); }
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(245,246,248,.23), transparent 34%), linear-gradient(180deg, rgba(255,255,255,.14), transparent 50%); pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.01); }
.hero-visual__wash { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 85px; background: linear-gradient(90deg, #f5f6f8, transparent); pointer-events: none; }
.hero-credential { position: absolute; z-index: 3; display: flex; flex-direction: column; justify-content: center; color: var(--navy); background: rgba(255,255,255,.94); box-shadow: 0 20px 52px rgba(9,11,58,.14); backdrop-filter: blur(10px); }
.hero-credential span { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.hero-credential strong { font-size: 1.07rem; line-height: 1.28; }
.hero-credential--vdiv { top: 175px; right: 85px; width: 184px; min-height: 124px; padding: 23px; border-top: 4px solid var(--magenta); }
.hero-credential--vdiv span { margin-bottom: 8px; color: var(--magenta); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-credential--since { right: 85px; bottom: 92px; width: 190px; min-height: 118px; padding: 23px; }
.hero-credential--since strong { margin-bottom: 8px; font-size: 1.45rem; letter-spacing: -.04em; }
.hero-paths { position: absolute; z-index: 5; bottom: 43px; left: 50%; display: grid; width: min(880px, calc(100% - 48px)); grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 22px 58px rgba(9,11,58,.14); transform: translateX(-50%); }
.hero-paths button { position: relative; display: grid; min-height: 106px; align-content: center; gap: 7px; padding: 24px 70px 24px 30px; border: 0; border-right: 1px solid var(--line); color: var(--navy); background: #fff; text-align: left; cursor: pointer; transition: color .25s, background .25s; }
.hero-paths button:last-child { border-right: 0; }
.hero-paths button:hover { color: #fff; background: var(--magenta); }
.hero-paths button span { color: var(--magenta); font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero-paths button:hover span { color: rgba(255,255,255,.75); }
.hero-paths button strong { font-size: .94rem; }
.hero-paths button b { position: absolute; top: 50%; right: 28px; color: var(--magenta); font-size: 1.2rem; transform: translateY(-50%); }
.hero-paths button:hover b { color: #fff; }

/* Expertise */
.expertise { padding-top: 150px; overflow: hidden; background: #fff; }
.section-intro { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 100px; margin-bottom: 70px; }
.section-intro h2, .process-block h2 { margin: 0; font-size: clamp(2.7rem, 4.6vw, 4.9rem); letter-spacing: -.062em; line-height: .98; }
.section-intro > p { max-width: 500px; margin: 0 0 6px; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.service-explorer { border: 1px solid var(--line); box-shadow: var(--shadow); }
.service-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ice); }
.service-tabs button { display: flex; min-height: 80px; align-items: center; justify-content: center; gap: 12px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: transparent; font-size: .88rem; font-weight: 800; cursor: pointer; transition: color .2s, background .2s; }
.service-tabs button:last-child { border-right: 0; }
.service-tabs button span { color: var(--magenta); font-size: .67rem; }
.service-tabs button.is-active { color: #fff; background: var(--navy); }
.service-tabs button.is-active span { color: #ef4e89; }
.service-panel { display: grid; min-height: 560px; grid-template-columns: .82fr 1.18fr; background: #fff; }
.service-panel__visual { position: relative; display: grid; overflow: hidden; place-items: center; background: var(--rose); }
.service-panel__visual::before { position: absolute; width: 470px; height: 470px; border: 1px solid rgba(197,12,77,.14); border-radius: 50%; content: ""; }
.service-panel__visual::after { position: absolute; width: 340px; height: 340px; border: 1px solid rgba(197,12,77,.18); border-radius: 50%; content: ""; }
.service-panel__visual--cream { background: var(--cream); }
.service-panel__visual--blue { background: #e7edf7; }
.service-panel__visual--sale { background: var(--navy); }
.service-panel__visual--sale::before, .service-panel__visual--sale::after { z-index: 1; border-color: rgba(255,255,255,.26); }
.service-panel__visual img { position: relative; z-index: 2; width: auto; max-height: 390px; filter: drop-shadow(0 23px 22px rgba(9,11,58,.15)); }
.service-panel__visual .service-panel__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; opacity: .84; }
.service-panel__stamp { position: absolute; z-index: 3; right: 25px; bottom: 25px; max-width: 155px; padding: 14px 17px; color: #fff; background: var(--magenta); transform: rotate(-2deg); }
.service-panel__stamp b, .service-panel__stamp span { display: block; }
.service-panel__stamp b { font-size: .78rem; text-transform: uppercase; }
.service-panel__stamp span { margin-top: 4px; font-size: .68rem; line-height: 1.3; opacity: .82; }
.service-panel__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(50px, 7vw, 92px); }
.service-panel__copy h3 { margin: 0; font-size: clamp(2.1rem, 3.5vw, 3.6rem); letter-spacing: -.055em; line-height: 1.02; }
.service-panel__copy > p:not(.eyebrow) { max-width: 620px; margin: 24px 0 0; color: var(--muted); line-height: 1.75; }
.check-list { display: grid; gap: 11px; padding: 0; margin: 28px 0 34px; list-style: none; }
.check-list li { position: relative; padding-left: 27px; font-size: .89rem; font-weight: 650; }
.check-list li::before { position: absolute; top: .18em; left: 0; color: var(--magenta); content: "✓"; font-weight: 900; }

.value-block { display: grid; grid-template-columns: .9fr 1.1fr; margin-top: 130px; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.value-block__headline { position: relative; display: flex; min-height: 560px; flex-direction: column; justify-content: center; padding: clamp(54px, 7vw, 88px); background: linear-gradient(140deg, #f7f8fc, #eef1f7); }
.value-block__headline::after { position: absolute; right: -82px; bottom: -120px; width: 330px; height: 330px; border: 52px solid rgba(197,12,77,.16); border-radius: 50%; content: ""; }
.value-block .eyebrow--light { color: var(--magenta); }
.value-block h2 { position: relative; z-index: 1; margin: 0; color: var(--navy); font-size: clamp(2.8rem, 4.6vw, 4.8rem); letter-spacing: -.06em; line-height: .96; }
.value-block h2 em { color: #ef4e89; font-family: Georgia, Times New Roman, serif; font-weight: 400; }
.value-block__headline > p:last-child { position: relative; z-index: 1; max-width: 440px; margin: 28px 0 0; color: var(--muted); line-height: 1.75; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.value-grid article { min-height: 280px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); transition: background .25s, transform .25s var(--ease); }
.value-grid article:hover { position: relative; z-index: 2; background: var(--rose); transform: translateY(-4px); }
.value-grid article:nth-child(2n) { border-right: 0; }
.value-grid article:nth-child(n+3) { border-bottom: 0; }
.value-grid__icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 36px; border: 1px solid rgba(197,12,77,.3); color: var(--magenta); font-weight: 900; }
.value-grid h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.02em; }
.value-grid p { margin: 13px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }

.process-block { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; margin-top: 145px; }
.process-block__intro > p:last-child { max-width: 430px; margin: 28px 0 0; color: var(--muted); line-height: 1.7; }
.process-list { padding: 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { border-bottom: 1px solid var(--line); }
.process-list button { display: grid; width: 100%; min-height: 86px; grid-template-columns: 55px 1fr auto; align-items: center; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.process-list button span { color: var(--magenta); font-size: .7rem; font-weight: 850; }
.process-list button strong { font-size: 1.08rem; }
.process-list button i { color: var(--magenta); font-size: 1.25rem; font-style: normal; font-weight: 400; }
.process-list p { padding: 0 46px 27px 55px; margin: 0; color: var(--muted); line-height: 1.7; }

/* Conversion */
.conversion { position: relative; overflow: hidden; color: var(--ink); background: #f4f6fa; }
.conversion::before { position: absolute; top: 0; right: 0; left: 0; height: 46px; content: ""; background: #fff; clip-path: polygon(0 0, 58% 0, 100% 100%, 0 55%); }
.conversion__halo { position: absolute; top: 90px; right: -240px; width: 650px; height: 650px; border: 110px solid rgba(197,12,77,.13); border-radius: 50%; }
.conversion__header { display: grid; max-width: 850px; grid-template-columns: 1fr .62fr; gap: 65px; align-items: end; margin-bottom: 55px; }
.conversion__header .eyebrow { grid-column: 1 / -1; margin-bottom: -32px; color: var(--magenta); }
.conversion__header h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.2rem); letter-spacing: -.065em; line-height: .96; }
.conversion__header > p:last-child { margin: 0 0 4px; color: var(--muted); line-height: 1.7; }
.inquiry-card { position: relative; z-index: 2; display: grid; min-height: 570px; grid-template-columns: 220px 1fr; color: var(--ink); background: #fff; box-shadow: 0 32px 85px rgba(0,0,0,.22); }
.inquiry-progress { display: flex; flex-direction: column; justify-content: space-between; padding: 55px 38px; color: #fff; background: var(--magenta); }
.inquiry-progress > span { color: rgba(255,255,255,.64); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.inquiry-progress > span b { color: #fff; font-size: 1.7rem; }
.inquiry-progress > div { width: 3px; height: 285px; overflow: hidden; background: rgba(255,255,255,.25); }
.inquiry-progress > div i { display: block; width: 100%; height: 33.333%; background: #fff; transition: height .35s var(--ease); }
.inquiry-progress > strong { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.inquiry-card form { padding: clamp(48px, 6.5vw, 80px); }
.form-step { padding: 0; margin: 0; border: 0; }
.form-step legend { padding: 0; font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 780; letter-spacing: -.045em; line-height: 1.07; }
.form-step > p { margin: 14px 0 32px; color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid label > span { position: relative; display: flex; min-height: 92px; flex-direction: column; justify-content: center; padding: 17px 48px 17px 20px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.choice-grid label > span::after { position: absolute; top: 50%; right: 20px; width: 17px; height: 17px; border: 1px solid rgba(9,11,58,.28); border-radius: 50%; content: ""; transform: translateY(-50%); }
.choice-grid input:checked + span { border-color: var(--magenta); background: var(--rose); transform: translateY(-2px); }
.choice-grid input:checked + span::after { border: 5px solid var(--magenta); background: #fff; }
.choice-grid input:focus-visible + span { outline: 3px solid #ef4e89; outline-offset: 3px; }
.choice-grid label:last-child:nth-child(odd) { grid-column: 1 / -1; }
.choice-grid b, .choice-grid small { display: block; }
.choice-grid b { font-size: .92rem; }
.choice-grid small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }
.back-button { padding: 12px 0; border: 0; color: var(--muted); background: transparent; font-size: .82rem; font-weight: 750; cursor: pointer; }
.form-error { display: none; margin-top: 14px; color: var(--magenta); font-size: .8rem; font-weight: 700; }
.form-step.has-error .form-error { display: block; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: .75rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--ice); outline: 0; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 3px rgba(197,12,77,.1); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--magenta); }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .78rem; }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--magenta); }
.form-success { align-self: center; padding: clamp(55px, 7vw, 90px); }
.form-success__mark { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 28px; border-radius: 50%; color: #fff; background: var(--magenta); font-size: 1.5rem; }
.form-success h3 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); letter-spacing: -.055em; line-height: 1; }
.form-success > p:not(.eyebrow) { max-width: 600px; margin: 22px 0 30px; color: var(--muted); }
.form-success .text-link { margin-left: 22px; }

/* Portal-inspired owner onboarding */
.owner-onboarding { position: relative; z-index: 2; display: grid; grid-template-columns: .76fr 1.24fr; margin-top: 95px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 28px 75px rgba(9,11,58,.12); }
.owner-onboarding__welcome { position: relative; display: flex; min-height: 650px; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 76px); overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--navy-2), var(--navy)); }
.owner-onboarding__welcome::after { position: absolute; right: -145px; bottom: -155px; width: 390px; height: 390px; border: 68px solid rgba(197,12,77,.22); border-radius: 50%; content: ""; }
.owner-onboarding__welcome > img { width: 64px; margin-bottom: 45px; filter: brightness(0) invert(1); }
.owner-onboarding__welcome h3 { position: relative; z-index: 1; margin: 0; font-size: clamp(2.35rem, 3.8vw, 4rem); letter-spacing: -.055em; line-height: 1; }
.owner-onboarding__welcome > p:not(.eyebrow) { position: relative; z-index: 1; margin: 26px 0 0; color: rgba(255,255,255,.67); line-height: 1.75; }
.owner-onboarding__safe { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 14px; padding-top: 25px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.16); }
.owner-onboarding__safe > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; font-size: .75rem; font-weight: 900; }
.owner-onboarding__safe p { margin: 0; color: rgba(255,255,255,.67); font-size: .76rem; line-height: 1.55; }
.owner-onboarding__safe strong { color: #fff; }
.owner-onboarding__card { min-width: 0; background: #fff; }
.onboarding-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--ice); }
.onboarding-tabs button { min-height: 70px; padding: 0 20px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; font-size: .79rem; font-weight: 800; cursor: pointer; transition: color .2s, background .2s; }
.onboarding-tabs button:last-child { border-right: 0; }
.onboarding-tabs button.is-active { border-bottom-color: #fff; color: var(--navy); background: #fff; box-shadow: inset 0 3px 0 var(--magenta); }
.onboarding-panel { padding: clamp(42px, 5vw, 66px); }
.onboarding-panel h3 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.2rem); letter-spacing: -.05em; line-height: 1.03; }
.onboarding-panel__intro { max-width: 620px; margin: 18px 0 32px; color: var(--muted); line-height: 1.7; }
.onboarding-steps { padding: 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.onboarding-steps li { display: grid; min-height: 92px; grid-template-columns: 42px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.onboarding-steps li > span { color: var(--magenta); font-size: .66rem; font-weight: 850; }
.onboarding-steps li strong, .onboarding-steps li small { display: block; }
.onboarding-steps li strong { font-size: .83rem; }
.onboarding-steps li small { margin-top: 4px; color: var(--muted); font-size: .69rem; line-height: 1.45; }
.onboarding-steps li > a { padding: 11px 14px; color: #fff; background: var(--magenta); font-size: .69rem; font-weight: 780; text-decoration: none; transition: background .2s, transform .2s; }
.onboarding-steps li > a:hover { background: var(--magenta-dark); transform: translateY(-1px); }
.onboarding-steps__info { padding-right: 15px; background: var(--ice); }
.onboarding-help { margin: 26px 0 0; color: var(--muted); font-size: .76rem; }
.onboarding-help a { color: var(--magenta); font-weight: 800; }
.portal-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.portal-benefits span { padding: 9px 13px; border: 1px solid var(--line); color: var(--muted); background: var(--ice); font-size: .7rem; font-weight: 700; }

.service-dock { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); margin-top: 28px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 45px rgba(9,11,58,.08); }
.service-dock__intro { padding: 35px; }
.service-dock__intro h3 { margin: 0; font-size: 1.35rem; }
.service-dock__intro .eyebrow--light { color: var(--magenta); }
.service-dock__intro p:last-child { margin: 9px 0 0; color: var(--muted); font-size: .82rem; }
.service-dock > a { position: relative; display: flex; min-height: 175px; flex-direction: column; justify-content: flex-end; padding: 30px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.service-dock > a:hover { z-index: 2; background: var(--magenta); transform: translateY(-4px); }
.service-dock > a span { position: absolute; top: 25px; left: 30px; color: #ef4e89; font-size: .64rem; font-weight: 850; }
.service-dock > a:hover span { color: #fff; }
.service-dock > a b:last-child { position: absolute; top: 20px; right: 25px; font-size: 1.2rem; }
.service-dock > a strong { font-size: .9rem; }
.service-dock > a small { margin-top: 4px; color: var(--muted); font-size: .7rem; }
.service-dock > a:hover small { color: rgba(255,255,255,.8); }

.faq-block { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; margin-top: 120px; }
.faq-block h3 { margin: 0; font-size: clamp(2.2rem, 3.8vw, 4rem); letter-spacing: -.055em; line-height: 1.02; }
.faq-block .eyebrow--light { color: var(--magenta); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 44px 24px 0; font-size: .95rem; font-weight: 760; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: absolute; top: 21px; right: 4px; color: #ef4e89; font-size: 1.2rem; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 55px 23px 0; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* Footer */
.footer { color: #fff; background: #050628; }
.footer__main { display: grid; min-height: 230px; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.footer__brand img { width: 178px; filter: brightness(0) invert(1); }
.footer__brand p { margin: 20px 0 0; color: rgba(255,255,255,.55); font-size: .82rem; }
.footer__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 38px; color: rgba(255,255,255,.68); font-size: .78rem; }
.footer__meta a { text-decoration: none; }
.footer__meta a:hover { color: #fff; }
.footer__bottom { display: flex; min-height: 64px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: .68rem; }
.footer__bottom div { display: flex; gap: 25px; }
.footer__bottom a { text-decoration: none; }

/* Contact drawer */
.contact-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.contact-drawer.is-open { visibility: visible; opacity: 1; }
.contact-drawer__backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,4,28,.72); backdrop-filter: blur(5px); cursor: pointer; }
.contact-drawer__panel { position: absolute; top: 0; right: 0; width: min(510px, 100%); height: 100%; overflow-y: auto; padding: clamp(45px, 7vw, 80px); color: var(--ink); background: #fff; transform: translateX(100%); transition: transform .45s var(--ease); }
.contact-drawer.is-open .contact-drawer__panel { transform: translateX(0); }
.contact-drawer__close { position: absolute; top: 23px; right: 26px; width: 42px; height: 42px; border: 1px solid var(--line); color: var(--ink); background: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.contact-drawer h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.4rem); letter-spacing: -.06em; line-height: .98; }
.contact-drawer__panel > p:not(.eyebrow) { margin: 25px 0 40px; color: var(--muted); line-height: 1.7; }
.contact-option { display: grid; min-height: 74px; grid-template-columns: 38px 1fr auto; align-items: center; border-top: 1px solid var(--line); text-decoration: none; }
.contact-option:last-of-type { border-bottom: 1px solid var(--line); }
.contact-option span { color: var(--magenta); font-size: .66rem; font-weight: 850; }
.contact-option strong { font-size: .9rem; }
.contact-option b { color: var(--magenta); font-size: 1rem; }
.contact-drawer__address { margin-top: 45px; color: var(--muted); font-size: .82rem; line-height: 1.8; }

/* Fixed contact rail from the approved sketch */
.fixed-contact { position: fixed; z-index: 70; top: 50%; right: 0; display: grid; border-radius: 4px 0 0 4px; box-shadow: 0 14px 38px rgba(9,11,58,.22); transform: translateY(-50%); }
.fixed-contact a, .fixed-contact button { position: relative; display: grid; width: 58px; height: 58px; place-items: center; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; background: var(--navy); cursor: pointer; transition: background .2s; }
.fixed-contact a:first-child { border-radius: 4px 0 0; }
.fixed-contact button:last-child { border-bottom: 0; border-radius: 0 0 0 4px; }
.fixed-contact a:hover, .fixed-contact button:hover { background: var(--magenta); }
.fixed-contact svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.fixed-contact span { position: absolute; top: 0; right: 100%; display: flex; width: max-content; height: 58px; align-items: center; padding: 0 19px; color: var(--navy); background: #fff; box-shadow: -12px 10px 30px rgba(9,11,58,.13); font-size: .76rem; font-weight: 780; opacity: 0; pointer-events: none; transform: translateX(10px); transition: opacity .2s, transform .2s; }
.fixed-contact a:hover span, .fixed-contact a:focus-visible span, .fixed-contact button:hover span, .fixed-contact button:focus-visible span { opacity: 1; transform: translateX(0); }

.notice-toast { position: fixed; z-index: 90; right: 78px; bottom: 32px; display: grid; width: min(390px, calc(100% - 32px)); gap: 5px; padding: 20px 54px 20px 22px; border-left: 4px solid var(--magenta); color: var(--ink); background: #fff; box-shadow: 0 22px 60px rgba(9,11,58,.2); }
.notice-toast strong { font-size: .88rem; }
.notice-toast span { color: var(--muted); font-size: .76rem; line-height: 1.5; }
.notice-toast button { position: absolute; top: 11px; right: 12px; width: 30px; height: 30px; border: 0; color: var(--muted); background: transparent; font-size: 1.3rem; cursor: pointer; }

@media (max-width: 1000px) {
  :root { --container: min(100% - 40px, 900px); }
  .site-header__inner { grid-template-columns: 200px 1fr auto; }
  .main-nav { gap: 20px; }
  .hero-stage { grid-template-columns: .95fr 1.05fr; }
  .hero-copy { padding-right: 38px; }
  .hero-copy h1 { font-size: clamp(3.5rem, 6vw, 5rem); }
  .section-intro { gap: 50px; }
  .service-panel { grid-template-columns: .76fr 1.24fr; }
  .service-panel__copy { padding: 55px; }
  .value-block { grid-template-columns: 1fr; }
  .value-block__headline { min-height: 440px; }
  .process-block { gap: 60px; }
  .service-dock { grid-template-columns: 1fr 1fr; }
  .service-dock__intro { grid-row: span 2; }
  .service-dock > a { border-bottom: 1px solid rgba(255,255,255,.14); }
  .service-dock > a:last-child { grid-column: 2; }
}

@media (max-width: 780px) {
  :root { --container: calc(100% - 32px); }
  html { scroll-padding-top: 70px; }
  .section-pad { padding: 92px 0; }
  .topbar { position: absolute; height: 43px; }
  .topbar__inner { height: 36px; }
  .topbar__claim { display: none; }
  .topbar__links { width: 100%; justify-content: flex-end; }
  .topbar__links a, .topbar__links button { padding: 0 13px; font-size: .64rem; }
  .site-header { top: 43px; }
  .site-header__inner { min-height: 69px; grid-template-columns: 1fr auto auto; }
  .brand { width: 150px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; padding: 0; border: 0; color: var(--navy); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 69px; right: 0; left: 0; display: grid; visibility: hidden; gap: 0; padding: 12px 16px 22px; background: rgba(255,255,255,.98); box-shadow: 0 18px 35px rgba(9,11,58,.13); opacity: 0; transform: translateY(-10px); transition: opacity .25s, visibility .25s, transform .25s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: 15px 8px; border-bottom: 1px solid var(--line); color: var(--navy); }
  .main-nav a::after { display: none; }
  .portal-link { min-width: auto; min-height: 40px; padding: 0 11px; border: 0; }
  .portal-link span { display: none; }
  .portal-link svg { width: 20px; }
  .hero { min-height: 1050px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 57% 100%, 0 calc(100% - 25px)); }
  .hero-stage { display: block; width: 100%; min-height: 0; padding-top: 112px; }
  .hero-copy { min-height: 435px; padding: 65px 24px 50px; }
  .hero-copy::before { display: none; }
  .hero-copy h1 { max-width: 580px; font-size: clamp(3.25rem, 13vw, 4.8rem); }
  .hero-copy__lead { margin-top: 24px; font-size: .96rem; }
  .hero-copy__actions { width: 100%; }
  .hero-copy__actions .button { flex: 1; }
  .hero-visual { height: 390px; }
  .hero-visual__wash { top: 0; right: 0; bottom: auto; left: 0; width: auto; height: 65px; background: linear-gradient(#f5f6f8, transparent); }
  .hero-credential--vdiv { top: 22px; right: 17px; width: 166px; min-height: 108px; padding: 19px; }
  .hero-credential--since { display: none; }
  .hero-paths { bottom: 33px; width: calc(100% - 32px); grid-template-columns: 1fr; }
  .hero-paths button { min-height: 78px; padding-block: 17px; }
  .expertise { padding-top: 120px; }
  .section-intro { grid-template-columns: 1fr; gap: 27px; margin-bottom: 45px; }
  .section-intro h2, .process-block h2 { font-size: clamp(2.45rem, 10vw, 3.8rem); }
  .service-tabs { grid-template-columns: 1fr; }
  .service-tabs button { min-height: 60px; justify-content: flex-start; padding: 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-tabs button:last-child { border-bottom: 0; }
  .service-panel { min-height: 0; grid-template-columns: 1fr; }
  .service-panel__visual { min-height: 330px; }
  .service-panel__visual img:not(.service-panel__photo) { max-height: 265px; }
  .service-panel__visual::before { width: 320px; height: 320px; }
  .service-panel__visual::after { width: 235px; height: 235px; }
  .service-panel__copy { padding: 38px 25px 45px; }
  .service-panel__copy h3 { font-size: 2.25rem; }
  .service-panel__copy .button { width: 100%; }
  .value-block { margin-top: 85px; }
  .value-block__headline { min-height: 450px; padding: 46px 27px; }
  .value-block h2 { font-size: 3.25rem; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 220px; padding: 30px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .value-grid article:last-child { border-bottom: 0 !important; }
  .value-grid__icon { margin-bottom: 25px; }
  .process-block { grid-template-columns: 1fr; gap: 48px; margin-top: 95px; }
  .conversion { padding-top: 120px; }
  .conversion__header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .conversion__header .eyebrow { grid-column: auto; margin-bottom: 0; }
  .conversion__header h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .inquiry-card { min-height: 0; grid-template-columns: 1fr; }
  .inquiry-progress { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 22px; }
  .inquiry-progress > div { width: auto; height: 3px; }
  .inquiry-progress > div i { width: 33.333%; height: 100%; transition: width .35s var(--ease); }
  .inquiry-progress > strong { font-size: .65rem; writing-mode: initial; transform: none; }
  .inquiry-card form { padding: 35px 22px 30px; }
  .form-step legend { font-size: 2rem; }
  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .choice-grid label:last-child:nth-child(odd) { grid-column: auto; }
  .field--full { grid-column: auto; }
  .choice-grid label > span { min-height: 78px; }
  .form-actions { gap: 20px; }
  .form-actions .button { flex: 1; }
  .form-success { padding: 42px 24px; }
  .form-success .button { width: 100%; }
  .form-success .text-link { display: flex; margin: 15px auto 0; }
  .owner-onboarding { grid-template-columns: 1fr; margin-top: 75px; }
  .owner-onboarding__welcome { min-height: 460px; padding: 50px 28px; }
  .owner-onboarding__welcome > img { width: 54px; margin-bottom: 34px; }
  .onboarding-panel { padding: 38px 23px 42px; }
  .onboarding-steps li { grid-template-columns: 35px 1fr; gap: 8px; padding: 18px 0; }
  .onboarding-steps li > a { grid-column: 2; width: fit-content; }
  .onboarding-steps__info { padding-right: 10px !important; }
  .service-dock { grid-template-columns: 1fr; }
  .service-dock__intro { grid-row: auto; }
  .service-dock > a, .service-dock > a:last-child { min-height: 128px; grid-column: auto; border-top: 1px solid var(--line); border-left: 0; border-bottom: 0; }
  .faq-block { grid-template-columns: 1fr; gap: 45px; margin-top: 90px; }
  .footer__main { grid-template-columns: 1fr; gap: 35px; padding: 60px 0 45px; }
  .footer__meta { grid-template-columns: 1fr; gap: 8px; }
  .contact-drawer__panel { padding: 75px 28px 45px; }
  body { padding-bottom: 62px; }
  .fixed-contact { top: auto; right: 0; bottom: 0; left: 0; grid-template-columns: repeat(3, 1fr); border-radius: 0; box-shadow: 0 -12px 34px rgba(9,11,58,.18); transform: none; }
  .fixed-contact a, .fixed-contact button { width: auto; height: 62px; grid-template-columns: auto auto; gap: 9px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 0; border-radius: 0 !important; text-decoration: none; }
  .fixed-contact a:last-of-type, .fixed-contact button:last-child { border-right: 0; }
  .fixed-contact svg { width: 20px; height: 20px; }
  .fixed-contact span { position: static; display: block; width: auto; height: auto; padding: 0; color: #fff; background: transparent; box-shadow: none; font-size: .66rem; opacity: 1; transform: none; }
  .fixed-contact a:nth-child(2) span { font-size: 0; }
  .fixed-contact a:nth-child(2) span::after { content: "0800-7746296"; font-size: .66rem; }
  .notice-toast { right: 16px; bottom: 78px; }
}

@media (max-width: 430px) {
  .hero { min-height: 1110px; }
  .hero-copy { min-height: 490px; padding-top: 62px; }
  .hero-copy h1 { font-size: clamp(3rem, 16vw, 4rem); }
  .hero-copy__actions { display: grid; }
  .hero-copy__actions .button { width: 100%; }
  .hero-copy__audience { line-height: 1.5; }
  .inquiry-progress > strong { display: none; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 12px; padding: 20px 0; }
  .fixed-contact span { display: block; font-size: .6rem; }
  .fixed-contact a, .fixed-contact button { grid-template-columns: auto auto; gap: 6px; }
  .fixed-contact a:nth-child(2) span::after { content: "Hotline"; font-size: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Reference-led header and full-width hero */
.topbar { height: 72px; overflow: visible; clip-path: none; transition: height .28s var(--ease), box-shadow .28s var(--ease); }
.topbar::after { bottom: 0; height: 3px; transform: none; }
.topbar__inner { height: 56px; }
.topbar__inner { justify-content: flex-end; transition: height .28s var(--ease); }
.topbar__links { gap: 0; }
.topbar__links a, .topbar__links button { position: relative; min-width: 54px; justify-content: center; padding: 0 22px; font-size: .78rem; letter-spacing: .015em; }
.topbar__links a + a::before, .topbar__links button + a::before { position: absolute; top: 17px; bottom: 17px; left: 0; width: 1px; content: ""; background: rgba(255,255,255,.38); }
.topbar__links svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.topbar__search { border-radius: 50%; }
.topbar__search:hover svg { transform: scale(1.07); }
.topbar__mail svg { width: 19px; }
.social-menu { position: relative; z-index: 90; height: 100%; }
.social-menu__toggle svg { transition: transform .2s var(--ease); }
.social-menu.is-open .social-menu__toggle svg { transform: rotate(180deg); }
.social-menu__panel { position: absolute; top: calc(100% + 4px); right: 0; z-index: 200; width: 210px; padding: 9px; overflow: hidden; color: var(--navy); background: #fff; border: 1px solid rgba(9,11,58,.09); border-radius: 0 0 8px 8px; box-shadow: 0 22px 54px rgba(9,11,58,.28); }
.social-menu__panel a { min-width: 0 !important; height: auto !important; justify-content: space-between !important; padding: 12px 13px !important; color: var(--navy) !important; font-size: .75rem !important; }
.social-menu__panel a:hover { color: var(--magenta) !important; background: var(--ice) !important; }
.social-menu__panel a::before { display: none !important; }
.social-menu__panel a > svg { width: 28px; min-width: 28px; height: 28px; padding: 6px; color: #fff; background: var(--navy); border-radius: 8px; stroke-width: 1.9; }
.social-menu__panel a:nth-child(1) > svg { background: #0a66c2; }
.social-menu__panel a:nth-child(2) > svg { background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045); }
.social-menu__panel a:nth-child(3) > svg { background: #1877f2; }
.social-menu__panel span { flex: 1; color: currentColor; }
.social-menu__panel b { color: var(--magenta); font-weight: 700; }

.site-header { inset: 72px 0 auto; background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.86) 52%, rgba(255,255,255,0) 100%); backdrop-filter: none; }
.site-header::after { display: none; }
.topbar__inner, .site-header__inner, .hero-slide__content { width: min(1540px, calc(100vw - 88px)); }
.site-header__inner { min-height: 118px; grid-template-columns: 330px 1fr auto; transition: min-height .28s var(--ease); }
.brand { width: 280px; }
.main-nav { gap: 58px; }
.main-nav a { padding: 43px 0 35px; font-size: .86rem; letter-spacing: .02em; }
.main-nav a::after { bottom: 31px; height: 1px; background: var(--navy); }
.portal-link { min-width: 160px; min-height: 41px; font-size: .82rem; font-style: italic; }
.portal-link svg { width: 21px; }

body.is-scrolled .topbar { position: fixed; height: 48px; box-shadow: 0 4px 18px rgba(9,11,58,.18); }
body.is-scrolled .topbar__inner { height: 45px; }
body.is-scrolled .site-header { position: fixed; inset: 48px 0 auto; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(9,11,58,.1); backdrop-filter: blur(12px); }
body.is-scrolled .site-header__inner { min-height: 70px; }
body.is-scrolled .main-nav a { padding: 24px 0 21px; }
body.is-scrolled .main-nav a::after { bottom: 15px; }

.hero { position: relative; min-height: clamp(700px, 86vh, 850px); overflow: hidden; color: #fff; background: #e9ebef; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 61% 100%, 0 calc(100% - 23px)); }
.hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .7s var(--ease), visibility .7s; }
.hero-slide.is-active { visibility: visible; opacity: 1; }
.hero-slide__image { position: absolute; inset: 0; background-image: url("assets/images/hero-urban.jpg"); background-repeat: no-repeat; background-position: center 45%; background-size: cover; transform: scale(1.025); transition: transform 7s linear; }
.hero-slide.is-active .hero-slide__image { transform: scale(1.075); }
.hero-slide__image--two { background-image: url("assets/images/hero-vermittlung.jpg"); background-position: center 52%; filter: saturate(.78) contrast(1.02); }
.hero-slide__image--three { background-image: url("assets/images/hero-service.jpg"); background-position: center 50%; filter: saturate(.82) contrast(1.02); }
.hero-slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,38,.64) 0%, rgba(5,8,38,.35) 42%, rgba(255,255,255,.06) 73%), linear-gradient(0deg, rgba(2,5,31,.56) 0%, rgba(5,8,38,.08) 54%); }
.hero-slide__content { position: absolute; top: 57%; right: 0; left: 0; z-index: 3; display: flex; width: min(1540px, calc(100vw - 88px)); align-items: center; gap: 56px; margin-inline: auto; transform: translateY(-50%); }
.hero-wordmark { position: relative; width: 285px; min-width: 285px; padding: 24px 32px 26px; border-top: 5px solid var(--magenta); border-bottom: 5px solid var(--magenta); border-left: 5px solid var(--magenta); }
.hero-wordmark::after { position: absolute; top: 0; right: 0; width: 5px; height: 72px; content: ""; background: var(--magenta); }
.hero-wordmark h1, .hero-wordmark h2 { margin: 0; color: #fff; font-size: clamp(3.35rem, 4.7vw, 4.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.22; }
.hero-wordmark span { display: block; }
.hero-wordmark--informed { width: 360px; min-width: 360px; }
.hero-wordmark--informed h2 { font-size: clamp(3rem, 4.1vw, 4.2rem); }
.hero-pitch { max-width: 450px; padding-bottom: 4px; text-align: left; }
.hero-pitch p { margin: 0 0 23px; color: #fff; font-size: clamp(1.02rem, 1.45vw, 1.25rem); font-weight: 500; line-height: 1.38; text-shadow: 0 2px 18px rgba(0,0,0,.44); }
.button--hero-cta { min-height: 58px; padding: 0 28px; font-size: 1rem; }
.button--hero-cta span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: var(--magenta); background: #fff; font-size: 1.05rem; }
.hero-controls { position: absolute; z-index: 6; bottom: 45px; left: 50%; display: flex; align-items: center; gap: 8px; transform: translateX(-50%); }
.hero-controls__dots { display: flex; align-items: center; gap: 8px; }
.hero-controls__dots > button { width: 15px; height: 15px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--magenta); box-shadow: 0 2px 12px rgba(0,0,0,.3); cursor: pointer; }
.hero-controls__dots > button.is-active { background: #fff; }
.hero-controls__pause { width: 28px; height: 28px; padding: 0; border: 0; color: #fff; background: transparent; font-size: .72rem; cursor: pointer; }

/* Site search */
.search-layer { position: fixed; inset: 0; z-index: 120; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.search-layer.is-open { visibility: visible; opacity: 1; }
.search-layer__backdrop { position: absolute; inset: 0; border: 0; background: rgba(4,6,35,.78); backdrop-filter: blur(7px); }
.search-layer__panel { position: relative; width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 80px); overflow-y: auto; padding: clamp(34px, 6vw, 62px); margin: 8vh auto 0; background: #fff; box-shadow: 0 30px 90px rgba(2,4,28,.3); transform: translateY(-16px); transition: transform .35s var(--ease); }
.search-layer.is-open .search-layer__panel { transform: translateY(0); }
.search-layer__close { position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border: 1px solid var(--line); color: var(--navy); background: #fff; font-size: 1.7rem; cursor: pointer; }
.search-layer h2 { margin: 0 0 28px; color: var(--navy); font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.055em; line-height: 1; }
.search-field { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 14px; padding: 0 18px; border: 2px solid var(--navy); }
.search-field svg { width: 22px; fill: none; stroke: var(--magenta); stroke-linecap: round; stroke-width: 2; }
.search-field input { width: 100%; min-height: 60px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.search-layer__hint { margin: 12px 0 0; color: var(--muted); font-size: .77rem; }
.search-results { display: grid; margin-top: 27px; border-top: 1px solid var(--line); }
.search-result { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 18px 3px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result strong { color: var(--navy); font-size: .95rem; }
.search-result small { grid-column: 1; color: var(--muted); font-size: .76rem; }
.search-result b { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--magenta); }
.search-result:hover strong { color: var(--magenta); }
.search-empty { padding: 25px 3px; color: var(--muted); }

/* Shared internal pages */
.subpage .site-header { color: var(--navy); background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.88) 55%, rgba(255,255,255,0) 100%); backdrop-filter: none; }
.subpage .topbar__links [aria-current="page"] { background: rgba(255,255,255,.1); }
.subpage-hero { position: relative; min-height: 520px; overflow: hidden; padding: 230px 0 105px; color: #fff; background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), 63% 100%, 0 calc(100% - 18px)); }
.subpage-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(100deg, rgba(7,9,54,.98) 0%, rgba(7,9,54,.88) 48%, rgba(7,9,54,.5) 100%), url("assets/images/hero-urban.jpg") center 48% / cover no-repeat; }
.subpage-hero__inner { position: relative; z-index: 1; }
.subpage-hero h1 { max-width: 800px; margin: 0; font-size: clamp(3.4rem, 7vw, 6rem); letter-spacing: -.065em; line-height: .95; }
.subpage-hero h1 em { color: #fff; font-family: Georgia, Times New Roman, serif; font-weight: 400; }
.subpage-hero p:not(.eyebrow) { max-width: 650px; margin: 25px 0 0; color: rgba(255,255,255,.78); font-size: 1.06rem; line-height: 1.75; }
.subpage-section { padding: 110px 0; }
.subpage-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; align-items: start; }
.subpage-intro h2 { margin: 0; color: var(--navy); font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -.06em; line-height: 1; }
.subpage-intro__copy { color: var(--muted); font-size: 1rem; }
.subpage-intro__copy p { margin: 0 0 18px; }
.career-areas, .contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.career-areas article, .contact-grid article { min-height: 250px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.career-areas span, .contact-grid span { color: var(--magenta); font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.career-areas h3, .contact-grid h3 { margin: 28px 0 12px; color: var(--navy); font-size: 1.25rem; }
.career-areas p, .contact-grid p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.7; }
.career-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: 48px; margin-top: 70px; color: #fff; background: var(--navy); }
.career-cta h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.05em; line-height: 1; }
.career-cta p { margin: 0; color: rgba(255,255,255,.7); }
.contact-grid { grid-template-columns: repeat(2, 1fr); }
.contact-grid article { min-height: 220px; }
.contact-grid a { display: inline-flex; margin-top: 20px; color: var(--magenta); font-size: .86rem; font-weight: 800; text-decoration: none; }
.contact-grid a:hover { text-decoration: underline; }
.contact-address { font-style: normal; }
.route-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 55px; }
.route-links a { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 28px; color: var(--navy); background: var(--ice); text-decoration: none; }
.route-links strong { font-size: 1.05rem; }
.route-links small { grid-column: 1; color: var(--muted); }
.route-links b { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--magenta); }

.company-profile { display: grid; grid-template-columns: .88fr 1.12fr; gap: 0; margin-top: 130px; overflow: hidden; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.company-profile__story { padding: clamp(48px, 6vw, 82px); background: linear-gradient(145deg, #090b3a 0%, #111552 100%); }
.company-profile__story h2 { margin: 0; font-size: clamp(2.7rem, 4.7vw, 4.7rem); letter-spacing: -.06em; line-height: .98; }
.company-profile__story h2 em { color: #ef4e89; font-family: Georgia, Times New Roman, serif; font-weight: 400; }
.company-profile__story > p:not(.eyebrow) { max-width: 590px; margin: 25px 0 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.78; }
.company-profile__story blockquote { padding: 23px 0 0 24px; margin: 38px 0 0; border-left: 3px solid var(--magenta); color: #fff; font-family: Georgia, Times New Roman, serif; font-size: 1.35rem; line-height: 1.5; }
.company-profile__story blockquote strong { color: #ef4e89; }
.company-profile__story .company-profile__values { margin-top: 14px; color: rgba(255,255,255,.9); font-weight: 750; }
.company-profile__points { padding: clamp(48px, 6vw, 78px); color: var(--ink); background: #fff; }
.company-profile__points ul { padding: 0; margin: 28px 0 0; list-style: none; }
.company-profile__points li { display: grid; grid-template-columns: 38px 1fr; gap: 2px 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company-profile__points li > span { grid-row: 1 / span 2; color: var(--magenta); font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.company-profile__points strong { color: var(--navy); font-size: .96rem; }
.company-profile__points small { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.association-card { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: 150px 145px 1fr auto; align-items: center; gap: 28px; padding: 30px clamp(32px, 5vw, 66px); color: var(--navy); background: var(--ice); text-decoration: none; }
.association-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: var(--magenta); }
.association-card > span { color: var(--magenta); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.association-card img { width: 135px; height: 64px; object-fit: contain; }
.association-card strong, .association-card small { display: block; }
.association-card strong { font-size: 1.02rem; }
.association-card small { margin-top: 4px; color: var(--muted); }
.association-card b { color: var(--magenta); font-size: 1.25rem; }
.association-card:hover strong { color: var(--magenta); }

.team-section { padding: 115px 0 20px; }
.team-section__intro { display: grid; grid-template-columns: 1.12fr .88fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.team-section__intro h2 { margin: 0; color: var(--navy); font-size: clamp(2.8rem, 5.5vw, 5rem); letter-spacing: -.065em; line-height: .96; }
.team-section__intro h2 em { color: var(--magenta); font-family: Georgia, Times New Roman, serif; font-weight: 400; }
.team-section__intro > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { position: relative; min-height: 330px; overflow: hidden; background: var(--navy); }
.team-card--lead { grid-column: span 2; min-height: 480px; }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover img { transform: scale(1.025); }
.team-card > div { position: absolute; right: 0; bottom: 0; left: 0; padding: 65px 22px 22px; color: #fff; background: linear-gradient(transparent, rgba(5,7,39,.94)); }
.team-card span { color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.team-card h3 { margin: 7px 0 0; font-size: 1.25rem; }
.team-card p { max-width: 430px; margin: 9px 0 0; color: rgba(255,255,255,.72); font-size: .82rem; }
.team-card--career { display: flex; align-items: center; justify-content: center; padding: 34px; color: #fff; background: linear-gradient(145deg, var(--magenta), #8d0737); text-align: center; text-decoration: none; }
.team-card--career::before { position: absolute; width: 170px; height: 170px; content: "+"; color: rgba(255,255,255,.13); font-size: 12rem; font-weight: 200; line-height: .8; }
.team-card--career > div { position: relative; padding: 0; background: none; }
.team-card--career span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 1.5rem; }
.team-card--career h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.9rem); }
.team-card--career p { margin: 12px auto 0; color: rgba(255,255,255,.86); }
.mobility-card { display: grid; overflow: hidden; grid-column: 1 / -1; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); min-height: 390px; margin-top: 18px; background: var(--navy); }
.mobility-card img { width: 100%; height: 100%; object-fit: cover; }
.mobility-card__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 5vw, 72px); color: #fff; }
.mobility-card__copy .eyebrow { color: #fff; }
.mobility-card__copy h3 { margin: 0; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.05; }
.mobility-card__copy p { margin: 18px 0 0; color: rgba(255,255,255,.72); }

.portal-entry { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px; margin: 22px 0; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.portal-entry__mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: var(--magenta); }
.portal-entry__mark svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.portal-entry strong, .portal-entry small { display: block; }
.portal-entry small { max-width: 460px; margin-top: 4px; color: rgba(255,255,255,.63); font-size: .75rem; line-height: 1.5; }
.portal-entry .button { white-space: nowrap; }

.privacy-layout { display: grid; grid-template-columns: minmax(190px, .36fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.privacy-nav { position: sticky; top: 145px; display: grid; border-top: 1px solid var(--line); }
.privacy-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: .82rem; font-weight: 750; text-decoration: none; }
.privacy-nav a:hover { color: var(--magenta); }
.privacy-copy { max-width: 820px; }
.privacy-copy section { padding: 0 0 42px; scroll-margin-top: 145px; }
.privacy-copy h2 { margin: 0 0 15px; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.035em; line-height: 1.15; }
.privacy-copy h3 { margin: 26px 0 8px; color: var(--navy); font-size: 1.05rem; }
.privacy-copy p, .privacy-copy li { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.privacy-copy ul { padding-left: 20px; }
.privacy-copy a { color: var(--magenta); }
.privacy-note { padding: 22px 25px; border-left: 3px solid var(--magenta); background: var(--ice); }
.legal-grid { display: grid; grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.legal-card { position: sticky; top: 145px; display: grid; gap: 10px; padding: 34px; color: #fff; background: var(--navy); }
.legal-card img { width: 190px; margin-bottom: 25px; filter: brightness(0) invert(1); }
.legal-card strong { font-size: 1.1rem; }
.legal-card span { color: rgba(255,255,255,.68); line-height: 1.7; }
.legal-card a { color: #fff; text-decoration: none; }
.legal-card a:hover { color: #ef4e89; }

@media (max-width: 1120px) {
  .site-header__inner { grid-template-columns: 230px 1fr auto; }
  .brand { width: 205px; }
  .main-nav { gap: 22px; }
  .portal-link { min-width: 145px; }
  .hero-controls { right: 44px; left: auto; transform: none; }
}

@media (max-width: 780px) {
  .topbar { height: 52px; clip-path: none; }
  .topbar::after { bottom: 0; height: 2px; }
  .topbar__inner { width: calc(100% - 20px); height: 42px; }
  .topbar__links a, .topbar__links button { min-width: 43px; padding: 0 12px; font-size: .68rem; }
  .topbar__links a + a::before, .topbar__links button + a::before { top: 12px; bottom: 12px; }
  .topbar__mail { display: none !important; }
  .site-header { top: 52px; }
  .site-header__inner, .hero-slide__content { width: calc(100% - 32px); }
  .site-header__inner { min-height: 76px; grid-template-columns: 1fr auto auto; }
  .brand { width: 174px; }
  .main-nav { top: 76px; }
  .portal-link { min-height: 39px; }
  .hero { min-height: 760px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 31px), 58% 100%, 0 calc(100% - 17px)); }
  .hero-slide__image { background-position: 42% center; }
  .hero-slide__shade { background: linear-gradient(0deg, rgba(2,5,31,.92) 0%, rgba(4,6,35,.54) 47%, rgba(255,255,255,.45) 100%), linear-gradient(90deg, rgba(5,8,38,.2), rgba(255,255,255,.15)); }
  .hero-slide__content { top: 56%; bottom: auto; display: grid; gap: 23px; transform: translateY(-50%); }
  .hero-wordmark { width: 225px; min-width: 0; padding: 17px 24px 19px; border-width: 4px; }
  .hero-wordmark::after { width: 4px; height: 52px; }
  .hero-wordmark h1, .hero-wordmark h2 { font-size: clamp(2.75rem, 13vw, 3.55rem); line-height: 1.13; }
  .hero-wordmark--informed { width: 270px; }
  .hero-wordmark--informed h2 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .hero-pitch { max-width: 420px; }
  .hero-pitch p { margin-bottom: 18px; font-size: .98rem; }
  .button--hero-cta { min-height: 52px; font-size: .88rem; }
  .hero-controls { right: 16px; bottom: 49px; left: auto; transform: none; }
  .search-layer__panel { max-height: calc(100vh - 32px); padding: 52px 22px 30px; margin-top: 16px; }
  .search-layer h2 { margin-bottom: 22px; }
  .search-layer__hint { line-height: 1.5; }
  .subpage-hero { min-height: 480px; padding: 185px 0 92px; }
  .subpage-intro { grid-template-columns: 1fr; gap: 30px; }
  .career-areas, .contact-grid { grid-template-columns: 1fr; }
  .career-areas article, .contact-grid article { min-height: 0; }
  .career-cta { grid-template-columns: 1fr; padding: 35px 26px; }
  .career-cta .button { width: 100%; }
  .route-links { grid-template-columns: 1fr; }
  .team-section { padding-top: 85px; }
  .company-profile { grid-template-columns: 1fr; margin-top: 85px; }
  .association-card { grid-column: auto; grid-template-columns: 120px 1fr auto; }
  .association-card > span { grid-column: 1 / -1; }
  .association-card img { width: 110px; }
  .team-section__intro { grid-template-columns: 1fr; gap: 25px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card--lead { grid-column: span 1; min-height: 360px; }
  .team-card { min-height: 300px; }
  .mobility-card { grid-template-columns: 1fr; }
  .mobility-card img { aspect-ratio: 16 / 9; }
  .portal-entry { grid-template-columns: auto 1fr; }
  .portal-entry .button { grid-column: 1 / -1; width: 100%; }
  .privacy-layout { grid-template-columns: 1fr; gap: 38px; }
  .privacy-nav { position: static; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  body.is-scrolled .topbar { height: 44px; }
  body.is-scrolled .topbar__inner { height: 41px; }
  body.is-scrolled .site-header { top: 44px; }
  body.is-scrolled .site-header__inner { min-height: 64px; }
  body.is-scrolled .main-nav { top: 64px; }
  .legal-grid { grid-template-columns: 1fr; gap: 42px; }
  .legal-card { position: static; }
}

@media (max-width: 430px) {
  .topbar__links a, .topbar__links button { padding: 0 9px; }
  .topbar__links > a:first-of-type { display: none; }
  .social-menu__panel { right: -42px; }
  .brand { width: 150px; }
  .hero { min-height: 730px; }
  .hero-slide__content { gap: 19px; }
  .hero-wordmark { width: 205px; }
  .hero-wordmark--informed { width: 250px; }
  .hero-wordmark h1, .hero-wordmark h2 { font-size: 2.8rem; }
  .hero-pitch p br { display: none; }
  .subpage-section { padding: 80px 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card, .team-card--lead { min-height: 390px; }
  .mobility-card { min-height: 0; }
  .association-card { grid-template-columns: 1fr auto; gap: 18px; }
  .association-card img { width: 120px; }
  .association-card > div { grid-column: 1 / -1; }
  .association-card b { grid-row: 2; grid-column: 2; }
}
