:root {
    --bg: #020202;
    --bg2: #070707;
    --panel: rgba(8,8,8,.86);
    --panel2: rgba(12,12,12,.72);
    --line: rgba(255,255,255,.12);
    --line2: rgba(255,255,255,.22);
    --text: #f5f5f5;
    --body: #cfcfcf;
    --muted: #9b9b9b;
    --accent: #ffffff;
    --accent2: #f5f5f5;
    --max: min(1220px, calc(100vw - 40px));
    --radius: 30px;
    --shadow: 0 30px 90px rgba(0,0,0,.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background: radial-gradient(circle at 12% 14%, rgba(255,255,255,.085), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.06), transparent 22%),
    radial-gradient(circle at 74% 84%, rgba(255,255,255,.045), transparent 20%),
    linear-gradient(180deg,#000 0%,#050505 42%,#000 100%);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.ambient {
    display: block;
    position: fixed;
    border-radius: 999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    opacity: .16;
}

.ambient-one {
    width: 420px;
    height: 420px;
    background: #ffffff;
    left: -140px;
    top: 140px;
}

.ambient-two {
    width: 520px;
    height: 520px;
    background: #dcdcdc;
    right: -180px;
    bottom: 20px;
}

.container {
    width: var(--max);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
    position: relative;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;

    /* background: rgba(0,0,0,.88) */
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand-logo-only {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.brand-logo {
    width: 84px;
    height: 84px;
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.desktop-nav {
    margin-left: 20px;
    display: flex;
    gap: 26px;
}

.desktop-nav a,
.mobile-nav a {
    position: relative;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: #cfcfcf;
    transition: color .18s ease,transform .18s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .18s ease;
    opacity: .95;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.nav-active {
    color: #fff;
    font-weight: 700;
    transform: translateY(-1px);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.nav-active::after {
    transform: scaleX(1);
}

.topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    background: rgba(255,255,255,.03);
}

.lang-btn {
    border: 0;
    border-radius: 999px;
    padding: 7px 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.lang-btn.active {
    background: rgba(255,255,255,.12);
    color: white;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 6px auto;
    background: #fff;
}

.mobile-nav {
    display: none;
    padding: 0 20px 18px;
    gap: 12px;
    flex-direction: column;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 15px 22px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-small {
    padding: 11px 16px;
    font-size: .92rem;
}

.btn-primary {
    background: #fff;
    color: #050505;
    box-shadow: 0 18px 42px rgba(255,255,255,.08);
}

.btn-ghost,
.btn-outline {
    border-color: var(--line);
    background: rgba(255,255,255,.035);
    color: white;
}

.full {
    width: 100%;
}

.eyebrow {
    margin: 0 0 14px;
    color: #d8d8d8;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 800;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -.045em;
    line-height: 1.05;
}

h1 {
    font-size: clamp(3.35rem,8vw,6.8rem);
    max-width: 10ch;
}

h2 {
    font-size: clamp(2.1rem,4.7vw,3.9rem);
    max-width: 16ch;
}

h3 {
    font-size: 1.08rem;
}

p {
    margin: 0 0 1rem;
    color: var(--body);
}

.lead {
    font-size: 1.18rem;
    max-width: 60ch;
    color: #d2d2d2;
}

.fullscreen-hero {
    min-height: calc(100vh - 88px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 150px 0 44px;
}

.full-bg,
.full-shade {
    position: absolute;
    inset: 0;
}

.full-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(.38) saturate(.78) contrast(1.05);
}

.full-shade {
    background: linear-gradient(180deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.48) 24%,rgba(0,0,0,.68) 58%,rgba(0,0,0,.92) 100%),linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.38) 42%,rgba(0,0,0,.78) 100%);
}

.hero-single,
.hero-metrics {
    position: relative;
    z-index: 2;
}

.hero-copy-wide {
    max-width: 900px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-bullets span,
.reference-kicker {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid var(--line2);
    color: var(--accent2);
    font-weight: 700;
    font-size: .88rem;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 38px;
}

.hero-metrics div,
.body-panel,
.competence-grid article,
.contact-form,
.contact-details a,
.contact-details div,
.premium-statement,
.focus-list p,
.reference-note,
.eos-card {
    border: 1px solid var(--line);
    background: rgba(7,7,7,.78);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
}

.hero-metrics div {
    padding: 22px;
    backdrop-filter: blur(7px);
}

.hero-metrics strong {
    display: block;
    font-size: 1.4rem;
}

.hero-metrics span {
    color: var(--body);
}

.section-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 42px;
}

.text-grid {
    grid-template-columns: 180px minmax(0,900px);
}

.section-label {
    position: sticky;
    top: 120px;
    height: max-content;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
}

.section-label span {
    color: var(--accent2);
}

.body-panel {
    padding: 48px;
    background: rgba(7,7,7,.9);
}

.quote {
    color: #a9a9a9;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: .01em;
}

.body-text {
    margin-top: 24px;
}

.body-text p {
    font-size: 1.08rem;
    color: #cdd7e6;
    margin-bottom: 18px;
}

.image-break {
    height: clamp(360px,48vw,720px);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 0;
}

.image-break-tall {
    height: clamp(440px,56vw,820px);
}

.break-bg,
.break-overlay {
    position: absolute;
    inset: 0;
}

.break-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(.52) saturate(.82) contrast(1.04);
}

.break-overlay {
    background: linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.18) 42%,rgba(0,0,0,.46) 100%),linear-gradient(90deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.08) 45%,rgba(0,0,0,.35) 100%);
}

.section-title {
    margin-bottom: 34px;
}

.section-title.wide {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 32px;
    align-items: end;
}

.section-title.wide p:last-child {
    max-width: 58ch;
}

.competence-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.competence-grid article {
    padding: 24px;
    min-height: 210px;
}

.competence-grid span {
    color: var(--accent2);
    letter-spacing: .16em;
    font-size: .8rem;
}

.competence-grid h3 {
    margin-top: 20px;
}

.competence-grid p {
    margin-top: 12px;
}

.premium-statement {
    margin-top: 22px;
    padding: 25px 28px;
    font-size: 1.16rem;
    color: white;
}

.references-intro {
    display: grid;
    gap: 10px;
}

.references-intro p {
    color: #d7d7d7;
}

.reference-note {
    margin: -8px 0 30px;
    padding: 18px 22px;
    background: rgba(255,255,255,.035);
}

.reference-note p {
    margin: 0;
    color: #d4d4d4;
}

.reference-stage {
    display: grid;
    gap: 28px;
}

.reference-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 34px;
    background: #000;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-end;
}

.reference-bg,
.reference-shade,
.reference-inner {
    position: absolute;
    inset: 0;
}

.reference-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(.43) contrast(1.04) saturate(.78);
}

.reference-shade {
    background: linear-gradient(180deg,rgba(0,0,0,.16) 0%,rgba(0,0,0,.38) 26%,rgba(0,0,0,.7) 54%,rgba(0,0,0,.9) 100%),linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.38) 42%,rgba(0,0,0,.8) 100%);
}

.reference-inner {
    position: relative;
    z-index: 2;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.overlay-head {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    align-items: end;
    gap: 28px;
    margin-bottom: 22px;
}

.overlay-head p {
    color: #dedede;
    max-width: 60ch;
    justify-self: end;
}

.reference-group-head h3 {
    font-size: clamp(2rem,3.2vw,3rem);
    margin-top: 10px;
}

.reference-table-wrap.glass-dark {
    background: rgba(0,0,0,.52);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 26px;
    overflow: hidden;
}

.reference-row {
    display: grid;
    grid-template-columns: 1.1fr .72fr .92fr 1.35fr;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    align-items: start;
}

.reference-row:last-child {
    border-bottom: 0;
}

.reference-row strong {
    color: #fff;
    line-height: 1.3;
}

.reference-row span {
    color: #d0d0d0;
    line-height: 1.35;
}

.reference-head {
    background: rgba(255,255,255,.06);
}

.reference-head span {
    color: #f3f3f3;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
}

.focus-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.focus-list p {
    padding: 20px 22px;
    margin: 0;
    color: #d5deeb;
}

.contact-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.contact-details a,
.contact-details div {
    padding: 17px 18px;
}

.contact-details span {
    display: block;
    color: var(--muted);
    font-size: .85rem;
}

.contact-details strong {
    color: white;
}

.qr {
    width: 132px;
    border-radius: 18px;
    background: white;
    padding: 10px;
}

.contact-form {
    display: grid;
    gap: 14px;
    padding: 26px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form span {
    color: #e7edf7;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    color: white;
    padding: 14px 16px;
    border-radius: 16px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255,255,255,.45);
}

.honeypot {
    display: none;
}

.privacy-check {
    grid-template-columns: 18px 1fr!important;
    align-items: start;
    gap: 12px;
}

.privacy-check input {
    margin-top: 5px;
}

.form-note {
    margin: 0;
    color: var(--muted);
}

.footer-centered {
    padding: 56px 0 42px;
    background: linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,.006));
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-stack {
    display: grid;
    gap: 30px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.footer-logo-xl {
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.footer-logo-xl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-tagline {
    margin: 0;
    color: #9f9f9f;
    font-size: .95rem;
    letter-spacing: .08em;
    text-transform: lowercase;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.03);
    color: #e8e8e8;
    font-weight: 600;
    transition: all .18s ease;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-social:hover {
    background: rgba(255,255,255,.08);
    transform: translateY(-1px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
    padding-top: 10px;
}

.footer-heading {
    margin: 0 0 10px;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-list a,
.footer-copy p {
    color: #bdbdbd;
    font-size: .95rem;
    margin: 0;
}

.footer-list a:hover {
    color: #fff;
}

.page-hero {
    overflow: hidden;
    min-height: min(88vh,860px);
    display: flex;
    align-items: flex-end;
    padding-top: 94px;
}

.page-hero-bg,
.page-hero-overlay {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(.42) saturate(.8) contrast(1.05);
}

.page-hero-overlay {
    background: linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.58) 35%,rgba(0,0,0,.88) 100%),linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.4) 40%,rgba(0,0,0,.82) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 70px;
}

.page-hero h1 {
    max-width: 12ch;
}

.page-hero .lead {
    max-width: 64ch;
}

.eos-card-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.eos-card {
    padding: 28px;
}

.eos-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--accent2);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.eos-card h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
}

.eos-card p {
    margin: 0;
    color: #c7c7c7;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s ease,transform .75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width:1180px){
    .desktop-nav,
    .btn-small {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .topbar-inner {
        min-height: 76px;
    }

    .brand-logo {
        width: 72px;
        height: 72px;
    }

    .mobile-nav.open {
        display: flex;
    }

    .section-grid,
    .section-title.wide,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-label {
        position: static;
    }

    .hero-metrics,
    .competence-grid,
    .eos-card-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .overlay-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .overlay-head p {
        justify-self: start;
        max-width: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:860px){
    .section {
        padding: 78px 0;
    }

    .fullscreen-hero {
        padding-top: 110px;
        min-height: auto;
    }

    .full-bg img {
        object-position: 62% center;
    }

    h1 {
        font-size: clamp(3rem,16vw,4.4rem);
    }

    .hero-metrics,
    .competence-grid,
    .focus-list,
    .footer-grid,
    .eos-card-grid {
        grid-template-columns: 1fr;
    }

    .body-panel {
        padding: 30px;
    }

    .image-break {
        height: 240px;
    }

    .image-break-tall {
        height: 300px;
    }

    .reference-hero-card {
        min-height: unset;
    }

    .reference-inner {
        padding: 22px;
    }

    .reference-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px;
    }

    .reference-head {
        display: none;
    }

    .reference-row span:nth-child(2)::before {
        content: "Zeitraum: ";
        color: #fff;
        font-weight: 700;
    }

    .reference-row span:nth-child(3)::before {
        content: "Bereich: ";
        color: #fff;
        font-weight: 700;
    }

    .reference-row span:nth-child(4)::before {
        content: "Beitrag: ";
        color: #fff;
        font-weight: 700;
    }

    .footer-logo-xl {
        width: 92px;
        height: 92px;
    }

    .page-hero {
        min-height: 78vh;
        padding-top: 76px;
    }
}

/* V11 refinements: brighter backgrounds, tighter spacing, cleaner menu, highlighted phrases */
.section {
    padding-top: 88px;
    padding-bottom: 88px;
}

.content-section {
    padding-top: 78px;
    padding-bottom: 78px;
}

.image-break {
    height: clamp(330px,42vw,640px);
    margin: 0;
}

.image-break-tall {
    height: clamp(390px,50vw,760px);
}

.break-bg img {
    filter: brightness(0.6) saturate(2) contrast(1);
}

.break-overlay {
    background: linear-gradient(180deg,rgba(0,0,0,.04) 0%,rgba(0,0,0,.12) 42%,rgba(0,0,0,.32) 100%),
    linear-gradient(90deg,rgba(0,0,0,.24) 0%,rgba(0,0,0,.04) 45%,rgba(0,0,0,.24) 100%);
}

.full-bg img {
    filter: brightness(.48) saturate(.86) contrast(1.05);
}

.full-shade {
    background: linear-gradient(180deg,rgba(0,0,0,.34) 0%,rgba(0,0,0,.42) 28%,rgba(0,0,0,.62) 62%,rgba(0,0,0,.88) 100%),   linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.34) 42%,rgba(0,0,0,.72) 100%);
}

.reference-bg img {
    filter: brightness(.55) contrast(1.04) saturate(.86);
}

.reference-shade {
    background: linear-gradient(180deg,rgba(0,0,0,.12) 0%,rgba(0,0,0,.30) 28%,rgba(0,0,0,.62) 58%,rgba(0,0,0,.88) 100%),
    linear-gradient(90deg,rgba(0,0,0,.74) 0%,rgba(0,0,0,.28) 44%,rgba(0,0,0,.74) 100%);
}

.fullscreen-hero {
    padding-top: 132px;
    padding-bottom: 34px;
}

.hero-metrics {
    margin-top: 26px;
}

.body-panel {
    padding: 42px;
}

.section-title {
    margin-bottom: 26px;
}

.reference-note {
    margin: -4px 0 22px;
}

.reference-stage {
    gap: 24px;
}

.reference-hero-card {
    min-height: 700px;
}

/* Navigation proposal applied: Home / About / Leistungen / Referenzen / KI/EOS / Kontakt */
.desktop-nav {
    gap: 28px;
}

.desktop-nav a {
    font-weight: 650;
    letter-spacing: .015em;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.nav-active {
    font-weight: 800;
}

/* Highlighted presentation-style statements */
.section-highlight {
    margin-top: 30px;
    padding: 26px 28px;
    border-left: 2px solid rgba(255,255,255,.42);
    background: linear-gradient(90deg,rgba(255,255,255,.07),rgba(255,255,255,.018));
    border-radius: 0 24px 24px 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.section-highlight span {
    display: block;
    color: #9d9d9d;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-highlight strong {
    display: block;
    color: #f5f5f5;
    font-size: clamp(1.55rem,3vw,2.75rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.section-highlight p {
    margin: 12px 0 0;
    color: #b9b9b9;
    font-size: 1.05rem;
}

.section-highlight-wide {
    margin-top: 28px;
}

.references-highlight {
    margin-bottom: 24px;
}

.contact-highlight {
    margin: 24px 0 26px;
}

.quote {
    color: #9c9c9c;
    font-size: 1.04rem;
}

.premium-statement {
    display: none;
}

@media (max-width:1180px){
    .section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .reference-hero-card {
        min-height: 620px;
    }
}

@media (max-width:860px){
    .section {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .content-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .body-panel {
        padding: 28px;
    }

    .image-break {
        height: 240px;
    }

    .image-break-tall {
        height: 290px;
    }

    .section-highlight {
        padding: 22px;
        margin-top: 24px;
    }

    .section-highlight strong {
        font-size: clamp(1.35rem,8vw,2.05rem);
    }
}

/* V12 Solo Engineering refinement */
.desktop-nav {
    gap: 22px;
}

.desktop-nav a {
    font-size: .94rem;
}

@media (max-width:1260px){
    .desktop-nav {
        gap: 18px;
    }

    .desktop-nav a {
        font-size: .9rem;
    }
}

/* Slightly more personal / less corporate spacing */
.hero-copy-wide .lead {
    max-width: 68ch;
}

.section-highlight strong {
    max-width: 22ch;
}

.references-highlight strong {
    max-width: 24ch;
}

.footer-copy p {
    max-width: 32ch;
}

/* Innovation link is intended as EOS entry point */
.nav-active {
    color: #ffffff!important;
}

/* More understated single-expert impression */
.body-panel {
    background: rgba(6,6,6,.88);
}

.reference-note {
    background: rgba(255,255,255,.03);
}

/* V13 Dark / Light Mode with manual switch */
.logo-black {
    display: none;
}

.logo-white {
    display: block;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: #d8d8d8;
    border-radius: 999px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.theme-toggle:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
    transform: translateY(-1px);
}

.theme-toggle-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    display: inline-block;
    background: linear-gradient(135deg,#fff 0%,#fff 45%,#222 46%,#222 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.22);
}

.theme-toggle-text {
    line-height: 1;
}

/* Light theme base */
:root[data-theme="light"] {
    --bg: #f5f3ef;
    --bg2: #ece9e2;
    --panel: rgba(255,255,255,.78);
    --panel2: rgba(255,255,255,.7);
    --line: rgba(0,0,0,.12);
    --line2: rgba(0,0,0,.2);
    --text: #111111;
    --body: #3e3e3e;
    --muted: #6b6b6b;
    --accent: #111111;
    --accent2: #222222;
    --shadow: 0 26px 70px rgba(0,0,0,.12);
}

:root[data-theme="light"] body {
    background: radial-gradient(circle at 12% 14%, rgba(0,0,0,.055), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(0,0,0,.035), transparent 22%),
    radial-gradient(circle at 74% 84%, rgba(0,0,0,.03), transparent 20%),
    linear-gradient(180deg,#f6f4ef 0%,#efede7 42%,#f8f7f3 100%);
    color: var(--text);
}

:root[data-theme="light"] .logo-white {
    display: none;
}

:root[data-theme="light"] .logo-black {
    display: block;
}

:root[data-theme="light"] .topbar {
    background: rgba(248,247,243,.86);
    border-bottom: 1px solid rgba(0,0,0,.09);
}

:root[data-theme="light"] .desktop-nav a,
:root[data-theme="light"] .mobile-nav a {
    color: #454545;
}

:root[data-theme="light"] .desktop-nav a:hover,
:root[data-theme="light"] .desktop-nav a:focus-visible,
:root[data-theme="light"] .nav-active {
    color: #111!important;
}

:root[data-theme="light"] .desktop-nav a::after,
:root[data-theme="light"] .nav-active::after {
    background: #111;
}

:root[data-theme="light"] .lang-switch,
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .menu-button {
    border-color: rgba(0,0,0,.14);
    background: rgba(255,255,255,.62);
    color: #333;
}

:root[data-theme="light"] .lang-btn {
    color: #6b6b6b;
}

:root[data-theme="light"] .lang-btn.active {
    background: rgba(0,0,0,.08);
    color: #111;
}

:root[data-theme="light"] .theme-toggle:hover {
    background: rgba(0,0,0,.06);
    color: #111;
}

:root[data-theme="light"] .theme-toggle-dot {
    background: linear-gradient(135deg,#111 0%,#111 45%,#fff 46%,#fff 100%);
    box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}

:root[data-theme="light"] .menu-button span {
    background: #111;
}

:root[data-theme="light"] .btn-primary {
    background: #111;
    color: #fff;
    box-shadow: 0 18px 42px rgba(0,0,0,.12);
}

:root[data-theme="light"] .btn-ghost,
:root[data-theme="light"] .btn-outline {
    border-color: rgba(0,0,0,.18);
    background: rgba(255,255,255,.58);
    color: #111;
}

:root[data-theme="light"] .eyebrow {
    color: #3d3d3d;
}

:root[data-theme="light"] .lead {
    color: #333;
}

:root[data-theme="light"] .quote {
    color: #707070;
}

:root[data-theme="light"] p {
    color: #3f3f3f;
}

:root[data-theme="light"] .body-text p {
    color: #3d3d3d;
}

:root[data-theme="light"] .full-bg img {
    filter: brightness(.84) saturate(.78) contrast(.94);
}

:root[data-theme="light"] .full-shade {
    background: linear-gradient(180deg,rgba(246,244,239,.55) 0%,rgba(246,244,239,.5) 28%,rgba(246,244,239,.7) 62%,rgba(246,244,239,.96) 100%),
    linear-gradient(90deg,rgba(246,244,239,.9) 0%,rgba(246,244,239,.38) 45%,rgba(246,244,239,.85) 100%);
}

:root[data-theme="light"] .break-bg img {
    filter: brightness(.9) saturate(.78) contrast(.95);
}

:root[data-theme="light"] .break-overlay {
    background: linear-gradient(180deg,rgba(246,244,239,.08) 0%,rgba(246,244,239,.18) 42%,rgba(246,244,239,.44) 100%),
    linear-gradient(90deg,rgba(246,244,239,.32) 0%,rgba(246,244,239,.06) 45%,rgba(246,244,239,.32) 100%);
}

:root[data-theme="light"] .reference-bg img,
:root[data-theme="light"] .page-hero-bg img {
    filter: brightness(.82) saturate(.78) contrast(.95);
}

:root[data-theme="light"] .reference-shade {
    background: linear-gradient(180deg,rgba(246,244,239,.16) 0%,rgba(246,244,239,.26) 28%,rgba(246,244,239,.54) 58%,rgba(246,244,239,.9) 100%),
    linear-gradient(90deg,rgba(246,244,239,.86) 0%,rgba(246,244,239,.38) 44%,rgba(246,244,239,.86) 100%);
}

:root[data-theme="light"] .page-hero-overlay {
    background: linear-gradient(180deg,rgba(246,244,239,.56) 0%,rgba(246,244,239,.62) 35%,rgba(246,244,239,.94) 100%),
    linear-gradient(90deg,rgba(246,244,239,.9) 0%,rgba(246,244,239,.4) 42%,rgba(246,244,239,.86) 100%);
}

:root[data-theme="light"] .hero-bullets span,
:root[data-theme="light"] .reference-kicker {
    background: rgba(255,255,255,.64);
    border-color: rgba(0,0,0,.14);
    color: #222;
}

:root[data-theme="light"] .hero-metrics div,
:root[data-theme="light"] .body-panel,
:root[data-theme="light"] .competence-grid article,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .contact-details a,
:root[data-theme="light"] .contact-details div,
:root[data-theme="light"] .premium-statement,
:root[data-theme="light"] .focus-list p,
:root[data-theme="light"] .reference-note,
:root[data-theme="light"] .eos-card {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.1);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .section-highlight {
    border-left-color: rgba(0,0,0,.35);
    background: linear-gradient(90deg,rgba(255,255,255,.78),rgba(255,255,255,.38));
}

:root[data-theme="light"] .section-highlight span {
    color: #666;
}

:root[data-theme="light"] .section-highlight strong {
    color: #111;
}

:root[data-theme="light"] .section-highlight p {
    color: #4a4a4a;
}

:root[data-theme="light"] .reference-table-wrap.glass-dark {
    background: rgba(255,255,255,.62);
    border-color: rgba(0,0,0,.12);
}

:root[data-theme="light"] .reference-row {
    border-bottom-color: rgba(0,0,0,.08);
}

:root[data-theme="light"] .reference-row strong {
    color: #111;
}

:root[data-theme="light"] .reference-row span {
    color: #3f3f3f;
}

:root[data-theme="light"] .reference-head {
    background: rgba(0,0,0,.05);
}

:root[data-theme="light"] .reference-head span {
    color: #222;
}

:root[data-theme="light"] .overlay-head p,
:root[data-theme="light"] .references-intro p,
:root[data-theme="light"] .reference-note p {
    color: #3d3d3d;
}

:root[data-theme="light"] .contact-form input,
:root[data-theme="light"] .contact-form textarea {
    background: rgba(255,255,255,.78);
    border-color: rgba(0,0,0,.14);
    color: #111;
}

:root[data-theme="light"] .contact-form span,
:root[data-theme="light"] .contact-details strong,
:root[data-theme="light"] .footer-heading,
:root[data-theme="light"] .footer-brand-text strong {
    color: #111;
}

:root[data-theme="light"] .footer-centered {
    background: linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.28));
    border-top-color: rgba(0,0,0,.1);
}

:root[data-theme="light"] .footer-tagline,
:root[data-theme="light"] .footer-list a,
:root[data-theme="light"] .footer-copy p {
    color: #555;
}

:root[data-theme="light"] .footer-social {
    border-color: rgba(0,0,0,.14);
    background: rgba(255,255,255,.62);
    color: #111;
}

:root[data-theme="light"] .footer-social:hover {
    background: rgba(0,0,0,.06);
}

/* fallback for users without JS preference saved */
@media (prefers-color-scheme: light){
    :root:not([data-theme="dark"]):not([data-theme="light"]) {
        --bg: #f5f3ef;
        --bg2: #ece9e2;
        --panel: rgba(255,255,255,.78);
        --panel2: rgba(255,255,255,.7);
        --line: rgba(0,0,0,.12);
        --line2: rgba(0,0,0,.2);
        --text: #111111;
        --body: #3e3e3e;
        --muted: #6b6b6b;
        --accent: #111111;
        --accent2: #222222;
        --shadow: 0 26px 70px rgba(0,0,0,.12);
    }
}

@media (max-width:1180px){
    .theme-toggle-text {
        display: none;
    }
}

/* V14 Flexible Engineering Support section */
.support-section {
    padding-top: 86px;
    padding-bottom: 86px;
}

.support-title h2 {
    max-width: 15ch;
}

.support-intro {
    display: grid;
    gap: 10px;
}

.support-intro p {
    margin: 0;
    color: var(--body);
}

.support-cta-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 28px 0 24px;
}

.support-cta-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.support-cta-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.3);
    background: linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
}

.support-cta-card span {
    display: block;
    color: #9d9d9d;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 10px;
}

.support-cta-card strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.22;
}

.support-layout {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 20px;
    align-items: start;
}

.support-list-panel,
.models-panel,
.hourly-panel {
    border: 1px solid var(--line);
    background: rgba(7,7,7,.82);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
}

.support-list-panel {
    padding: 32px;
}

.support-list-panel h3,
.hourly-panel h3 {
    margin: 0 0 18px;
    font-size: clamp(1.35rem,2.2vw,2rem);
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.support-list li {
    position: relative;
    padding-left: 22px;
    color: var(--body);
}

.support-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .75em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
}

.support-closing {
    margin: 24px 0 0;
    color: #f1f1f1;
    font-weight: 600;
}

.models-panel {
    padding: 26px;
    display: grid;
    gap: 14px;
}

.model-card {
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    padding: 20px;
    background: rgba(255,255,255,.025);
}

.model-card span {
    display: block;
    color: #9d9d9d;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 10px;
}

.model-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
}

.model-card p {
    margin: 0;
    color: var(--body);
}

.hourly-panel {
    margin-top: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 24px;
    align-items: start;
}

.hourly-panel p {
    margin-bottom: 0;
}

.hour-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.hour-grid div {
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    padding: 18px;
    background: rgba(255,255,255,.025);
}

.hour-grid strong {
    display: block;
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.hour-grid span {
    color: var(--body);
    font-size: .94rem;
    line-height: 1.35;
}

/* Light-mode support section */
:root[data-theme="light"] .support-cta-card,
:root[data-theme="light"] .support-list-panel,
:root[data-theme="light"] .models-panel,
:root[data-theme="light"] .hourly-panel {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.1);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .support-cta-card:hover {
    border-color: rgba(0,0,0,.22);
    background: rgba(255,255,255,.88);
}

:root[data-theme="light"] .support-cta-card strong,
:root[data-theme="light"] .hour-grid strong,
:root[data-theme="light"] .support-closing {
    color: #111;
}

:root[data-theme="light"] .support-cta-card span,
:root[data-theme="light"] .model-card span {
    color: #666;
}

:root[data-theme="light"] .model-card,
:root[data-theme="light"] .hour-grid div {
    background: rgba(255,255,255,.58);
    border-color: rgba(0,0,0,.09);
}

:root[data-theme="light"] .support-list li::before {
    background: rgba(0,0,0,.65);
}

@media (max-width:1180px){
    .support-layout,
    .hourly-panel {
        grid-template-columns: 1fr;
    }

    .hour-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:860px){
    .support-section {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .support-cta-grid,
    .hour-grid {
        grid-template-columns: 1fr;
    }

    .support-list-panel,
    .models-panel,
    .hourly-panel {
        padding: 24px;
    }
}

/* V15 Collaboration and deliverables */
.collaboration-section,
.deliverables-section {
    padding-top: 82px;
    padding-bottom: 82px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 28px;
}

.process-card,
.deliverables-grid article,
.project-request-panel {
    border: 1px solid var(--line);
    background: rgba(7,7,7,.82);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
}

.process-card {
    padding: 24px;
    min-height: 240px;
}

.process-card-wide {
    grid-column: span 4;
    min-height: auto;
    display: grid;
    grid-template-columns: .25fr 1fr;
    gap: 20px;
    align-items: start;
}

.process-card span,
.deliverables-grid span {
    display: block;
    color: #9d9d9d;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 16px;
}

.process-card h3 {
    margin: 0 0 12px;
    font-size: 1.16rem;
}

.process-card p {
    margin: 0;
    color: var(--body);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 28px;
}

.deliverables-grid article {
    padding: 22px;
    min-height: 148px;
}

.deliverables-grid h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.28;
}

.deliverable-wide {
    grid-column: span 3;
    min-height: auto!important;
}

.project-request-panel {
    margin: 24px 0 26px;
    padding: 24px;
}

.project-request-panel p {
    margin-bottom: 18px;
}

.project-request-actions {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
}

.project-request-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 58px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    color: #fff;
    font-weight: 700;
    padding: 12px;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.project-request-actions a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.26);
}

/* Light mode */
:root[data-theme="light"] .process-card,
:root[data-theme="light"] .deliverables-grid article,
:root[data-theme="light"] .project-request-panel {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.1);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .process-card span,
:root[data-theme="light"] .deliverables-grid span {
    color: #666;
}

:root[data-theme="light"] .process-card p {
    color: #3f3f3f;
}

:root[data-theme="light"] .project-request-actions a {
    background: rgba(255,255,255,.62);
    border-color: rgba(0,0,0,.12);
    color: #111;
}

:root[data-theme="light"] .project-request-actions a:hover {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.22);
}

@media (max-width:1180px){
    .process-grid,
    .deliverables-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .process-card-wide,
    .deliverable-wide {
        grid-column: span 2;
    }

    .project-request-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width:860px){
    .collaboration-section,
    .deliverables-section {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .process-grid,
    .deliverables-grid {
        grid-template-columns: 1fr;
    }

    .process-card-wide,
    .deliverable-wide {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .process-card,
    .deliverables-grid article,
    .project-request-panel {
        padding: 22px;
        min-height: auto;
    }
}

/* V16 unified section layout
   Experience / Profil / EOS text sections no longer use a left-side column.
   They now follow the same full-width section rhythm as Leistungen, Unterstützung, etc. */
.text-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
}

.text-grid .section-label {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    height: auto;
}

.text-grid .section-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent2);
    font-size: .78rem;
    letter-spacing: .08em;
}

.text-grid .section-label p {
    margin: 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .82rem;
    font-weight: 800;
}

.text-grid .body-panel {
    width: 100%;
    max-width: none;
}

.page-panel-wide {
    max-width: none;
}

:root[data-theme="light"] .text-grid .section-label span {
    border-color: rgba(0,0,0,.14);
    color: #222;
}

@media (max-width:860px){
    .text-grid {
        gap: 16px;
    }
}

/* V17 remove numbering from unified text section labels */
.text-grid .section-label span {
    display: none !important;
}

.text-grid .section-label {
    margin-bottom: 2px;
}

.text-grid .section-label p {
    color: var(--accent2);
    letter-spacing: .18em;
}

/* V17 Innovation page */
.innovation-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.innovation-subnav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    color: #e8e8e8;
    font-weight: 700;
    font-size: .92rem;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.innovation-subnav a:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.24);
}

.innovation-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: start;
}

.innovation-panel,
.innovation-card {
    border: 1px solid var(--line);
    background: rgba(7,7,7,.82);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
}

.innovation-panel {
    padding: 34px;
}

.innovation-card {
    padding: 24px;
}

.innovation-panel h2 {
    max-width: 16ch;
}

.innovation-panel .body-text {
    margin-top: 20px;
}

.innovation-card span,
.coming-soon-card span {
    display: block;
    color: #9d9d9d;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.innovation-card h3,
.coming-soon-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
}

.innovation-card p,
.coming-soon-card p {
    margin: 0;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 28px;
}

.coming-soon-card {
    border: 1px solid var(--line);
    background: rgba(7,7,7,.82);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
    padding: 24px;
    min-height: 210px;
}

.innovation-linkedin {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.035);
    border-radius: 999px;
    padding: 12px 16px;
    color: #fff;
    font-weight: 700;
}

.innovation-linkedin svg {
    width: 18px;
    height: 18px;
}

.innovation-linkedin:hover {
    background: rgba(255,255,255,.075);
}

:root[data-theme="light"] .innovation-subnav a,
:root[data-theme="light"] .innovation-panel,
:root[data-theme="light"] .innovation-card,
:root[data-theme="light"] .coming-soon-card,
:root[data-theme="light"] .innovation-linkedin {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.1);
    color: #111;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .innovation-subnav a:hover,
:root[data-theme="light"] .innovation-linkedin:hover {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.2);
}

:root[data-theme="light"] .innovation-card span,
:root[data-theme="light"] .coming-soon-card span {
    color: #666;
}

@media (max-width:1180px){
    .innovation-grid,
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
}

/* V18: Experience and Profil now use the same full-width rhythm as all main sections */
.fulltext-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 28px;
}

.fulltext-grid p {
    margin: 0;
    color: var(--body);
    font-size: 1.04rem;
    line-height: 1.62;
    border: 1px solid var(--line);
    background: rgba(7,7,7,.82);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
    padding: 24px;
}

:root[data-theme="light"] .fulltext-grid p {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.1);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
    color: #3f3f3f;
}

@media (max-width:1180px){
    .fulltext-grid {
        grid-template-columns: 1fr;
    }
}

/* V19 menu label + hero position */
.fullscreen-hero {
    min-height: calc(100vh - 88px);
    justify-content: flex-start;
    padding-top: 34px;
    padding-bottom: 30px;
}

.fullscreen-hero .hero-single {
    margin-top: 0;
}

.hero-copy-wide {
    max-width: 900px;
}

.hero-copy-wide .eyebrow {
    margin-top: 0;
}

.hero-buttons {
    margin-top: 26px;
}

.hero-metrics {
    margin-top: 24px;
}

/* On most desktop screens keep all hero actions visible without needing initial scroll */
@media (min-width:861px){
    .fullscreen-hero {
        padding-top: 26px;
    }

    .hero-copy-wide h1 {
        font-size: clamp(3.1rem,7vw,6.15rem);
    }

    .hero-copy-wide .lead {
        margin-bottom: 0;
    }
}

/* Mobile: keep some breathing room below sticky header */
@media (max-width:860px){
    .fullscreen-hero {
        padding-top: 34px;
        padding-bottom: 28px;
    }
}

/* V20 hero slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 4.5s ease-in-out;
    filter: brightness(.48) saturate(.86) contrast(1.05);
}

.hero-slide.active {
    opacity: 1;
}

:root[data-theme="light"] .hero-slide {
    filter: brightness(.84) saturate(.78) contrast(.94);
}

/* Final cleanup v20.1: compact layout, corrected image handling and anchor stops */
html {
    scroll-padding-top: 86px;
}

main[id="home"],
section[id] {
    scroll-margin-top: 86px;
}

p {
    margin: 0 0 1rem;
}

.topbar {
    background: rgba(0,0,0,.82);
}

.topbar-inner {
    min-height: 72px;
    gap: 18px;
}

.brand-logo {
    width: 62px;
    height: 62px;
}

.desktop-nav {
    margin-left: 12px;
    gap: 18px;
    white-space: nowrap;
}

.desktop-nav a,
.mobile-nav a {
    font-size: .88rem;
}

.topbar-actions {
    gap: 9px;
}

.lang-btn {
    padding: 6px 9px;
}

.theme-toggle {
    padding: 6px 9px;
}

.btn-small {
    padding: 9px 13px;
    font-size: .86rem;
}

.section,
.support-section,
.collaboration-section,
.deliverables-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.content-section {
    padding-top: 62px;
    padding-bottom: 62px;
}

.section-title {
    margin-bottom: 22px;
}

.section-title.wide {
    gap: 26px;
}

.fullscreen-hero {
    min-height: calc(100vh - 72px);
    padding-top: 118px;
    padding-bottom: 28px;
}

.hero-metrics {
    margin-top: 22px;
}

.hero-metrics div {
    padding: 18px;
}

.fulltext-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
    font-size: 1.06rem;
    max-width: 1120px;
}

.fulltext-grid p {
    max-width: 92ch;
}

.section-visual {
    width: var(--max);
    margin: 30px auto 0;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    background: rgba(255,255,255,.035);
}

.section-visual img {
    width: 100%;
    height: clamp(260px, 36vw, 480px);
    object-fit: cover;
    object-position: center center;
    filter: brightness(.74) saturate(.82) contrast(1.03);
}

.profile-landscape {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    min-height: 220px;
    box-shadow: var(--shadow);
}

.profile-landscape img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 330px;
    object-fit: cover;
    object-position: center center;
    filter: brightness(.78) saturate(.82) contrast(1.02);
}

.profile-card {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    max-width: 520px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.profile-card img {
    width: 86px;
    height: 86px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
}

.profile-card-text {
    display: grid;
    gap: 2px;
}

.profile-card-text strong {
    color: #fff;
    font-size: 1.05rem;
}

.profile-card-text span {
    color: var(--body);
    line-height: 1.35;
}

.support-layout {
    grid-template-columns: 1fr;
}

.support-list-panel,
.process-card,
.project-request-panel,
.contact-form,
.contact-details a,
.contact-details div,
.focus-list p,
.competence-grid article {
    border-radius: 24px;
}

.process-grid {
    margin-top: 22px;
}

.reference-hero-card {
    min-height: 620px;
}

.reference-inner {
    padding: 30px;
}

.reference-row {
    padding: 15px 18px;
}

.contact-grid {
    gap: 24px;
}

.project-request-panel {
    margin: 20px 0 22px;
}

.contact-details {
    margin: 22px 0;
}

.footer-centered {
    padding: 44px 0 34px;
}

/* Better light-mode handling for the new cards */
:root[data-theme="light"] .topbar {
    background: rgba(248,247,243,.9);
}

:root[data-theme="light"] .section-visual,
:root[data-theme="light"] .profile-landscape,
:root[data-theme="light"] .profile-card {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.1);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .profile-card-text strong {
    color: #111;
}

:root[data-theme="light"] .profile-card img {
    border-color: rgba(0,0,0,.14);
}

@media (max-width: 1260px) {
    .desktop-nav {
        gap: 14px;
    }

    .desktop-nav a {
        font-size: .84rem;
    }

    .theme-toggle-text {
        display: none;
    }
}

@media (max-width: 1180px) {
    html {
        scroll-padding-top: 76px;
    }

    main[id="home"],
    section[id] {
        scroll-margin-top: 76px;
    }

    .topbar-inner {
        min-height: 68px;
    }

    .brand-logo {
        width: 56px;
        height: 56px;
    }

    .section,
    .support-section,
    .collaboration-section,
    .deliverables-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .reference-hero-card {
        min-height: 560px;
    }
}

@media (max-width: 860px) {
    :root {
        --max: min(100vw - 28px, 1220px);
    }

    html {
        scroll-padding-top: 72px;
    }

    main[id="home"],
    section[id] {
        scroll-margin-top: 72px;
    }

    .section,
    .support-section,
    .collaboration-section,
    .content-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .fullscreen-hero {
        padding-top: 92px;
        padding-bottom: 26px;
    }

    .section-title.wide {
        gap: 18px;
    }

    .profile-landscape img,
    .section-visual img {
        height: 240px;
        min-height: 240px;
    }

    .profile-card {
        display: grid;
        grid-template-columns: 72px 1fr;
        width: 100%;
        padding: 14px;
    }

    .profile-card img {
        width: 72px;
        height: 72px;
    }

    .reference-inner {
        padding: 20px;
    }
}

/* V20.2 visual fine-tuning: brighter images, centered support visual, larger centered video, clearer hero slideshow */
.video-frame {
    width: var(--max);
    margin: 28px auto 0;
    display: flex;
    justify-content: center;
}

.section-video {
    display: block;
    width: min(100%, 1100px);
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #000;
}

.support-visual {
    width: min(var(--max), 1080px);
    margin: 30px auto 0;
}

.support-visual img {
    object-position: center center;
}

.hero-slide {
    transition: opacity 2.6s ease-in-out;
    filter: brightness(.58) saturate(.92) contrast(1.02);
}

.full-bg img {
    filter: brightness(.58) saturate(.9) contrast(1.02);
}

.break-bg img {
    filter: brightness(.78) saturate(.9) contrast(1.0);
}

.reference-bg img,
.page-hero-bg img {
    filter: brightness(.62) saturate(.9) contrast(1.01);
}

.section-visual img {
    filter: brightness(.9) saturate(.92) contrast(1.01);
}

.profile-landscape img {
    filter: brightness(.9) saturate(.92) contrast(1.01);
}

:root[data-theme="light"] .hero-slide,
:root[data-theme="light"] .full-bg img,
:root[data-theme="light"] .break-bg img,
:root[data-theme="light"] .reference-bg img,
:root[data-theme="light"] .page-hero-bg img,
:root[data-theme="light"] .section-visual img,
:root[data-theme="light"] .profile-landscape img {
    filter: brightness(.98) saturate(.96) contrast(.99);
}

@media (max-width: 860px) {
    .video-frame {
        margin-top: 22px;
    }

    .section-video {
        border-radius: 22px;
    }

    .support-visual {
        width: 100%;
    }
}

/* V20.3 final display tuning: boxed BLDC visual, larger profile image, faster hero slider */
.competence-visual {
    width: min(var(--max), 1040px);
    margin: 30px auto 0;
}

.competence-visual img {
    height: clamp(280px, 38vw, 500px);
    object-position: center center;
}

.profile-card {
    max-width: 620px;
    gap: 22px;
    padding: 18px 22px;
}

.profile-card img {
    width: 250px;
    height: 250px;
}

.profile-card-text strong {
    font-size: 1.14rem;
}

@media (max-width: 860px) {
    .competence-visual img {
        height: 250px;
        min-height: 250px;
    }

    .profile-card {
        grid-template-columns: 88px 1fr;
        gap: 16px;
    }

    .profile-card img {
        width: 88px;
        height: 88px;
    }
}

/* V20.5 full-width image preference */
.support-visual,
.competence-visual {
    width: var(--max);
    max-width: none;
}

/* V20.6 final requested adjustments: profile landscape full width, uncropped BLDC, dark-first start */
.section-title.wide .profile-landscape {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
}

.profile-landscape {
    width: var(--max);
    max-width: 100%;
}

.profile-landscape img {
    height: clamp(300px, 38vw, 520px);
    max-height: none;
    min-height: 300px;
    object-fit: cover;
    object-position: center center;
}

.competence-visual img {
    width: 100%;
    height: auto;
    min-height: unset;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    background: #050505;
}

@media (max-width: 860px) {
    .profile-landscape img {
        height: 260px;
        min-height: 260px;
    }

    .competence-visual img {
        height: auto;
        min-height: unset;
    }
}

/* V20.7 final polish: profile visual behaves like other full-width images; BLDC remains fully visible */
.profile-wide-visual {
    width: var(--max);
    margin: 28px auto 20px;
}

.profile-wide-visual img {
    width: 100%;
    height: clamp(300px, 38vw, 520px);
    object-fit: cover;
    object-position: center center;
}

.competence-visual {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.4vw, 20px);
    background: #050505;
}

.competence-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: transparent;
}

@media (max-width: 860px) {
    .profile-wide-visual img {
        height: 260px;
    }

    .competence-visual {
        aspect-ratio: 4 / 3;
    }
}

/* V20.8 hero slideshow visibility improvement */
.hero-slide {
    filter: brightness(.72) saturate(1) contrast(1.02);
}

.full-bg img {
    filter: brightness(.72) saturate(.98) contrast(1.01);
}

.full-shade {
    background: linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.22) 26%,rgba(0,0,0,.40) 60%,rgba(0,0,0,.72) 100%),
                linear-gradient(90deg,rgba(0,0,0,.34) 0%,rgba(0,0,0,.12) 42%,rgba(0,0,0,.34) 100%);
}

:root[data-theme="light"] .hero-slide,
:root[data-theme="light"] .full-bg img {
    filter: brightness(1) saturate(.98) contrast(.99);
}

:root[data-theme="light"] .full-shade {
    background: linear-gradient(180deg,rgba(246,244,239,.36) 0%,rgba(246,244,239,.32) 26%,rgba(246,244,239,.52) 60%,rgba(246,244,239,.84) 100%),
                linear-gradient(90deg,rgba(246,244,239,.46) 0%,rgba(246,244,239,.18) 42%,rgba(246,244,239,.46) 100%);
}

/* V20.11 clickable engineering image gallery */
.image-gallery {
    position: relative;
    aspect-ratio: 16 / 9;
    padding: clamp(10px, 1.4vw, 20px);
    background: #050505;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transform: scale(.985);
    transition: opacity .45s ease, transform .45s ease;
    background: transparent;
    filter: brightness(.92) saturate(.94) contrast(1.01);
}

.gallery-image.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(0,0,0,.48);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.gallery-btn:hover {
    background: rgba(0,0,0,.68);
    border-color: rgba(255,255,255,.38);
    transform: translateY(-50%) scale(1.04);
}

.gallery-prev {
    left: clamp(18px, 2vw, 32px);
}

.gallery-next {
    right: clamp(18px, 2vw, 32px);
}

.gallery-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(16px, 1.8vw, 26px);
    z-index: 4;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.gallery-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.38);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.gallery-dot.active {
    width: 24px;
    background: rgba(255,255,255,.9);
}

@media (max-width: 860px) {
    .image-gallery {
        aspect-ratio: 4 / 3;
        padding: 10px;
    }

    .gallery-track {
        border-radius: 16px;
    }

    .gallery-btn {
        width: 38px;
        height: 38px;
        font-size: 1.65rem;
    }
}

/* V1 release polish: legal, thank-you and error pages */
.legal-page .legal-main {
    min-height: 68vh;
}

.legal-hero {
    padding-top: 118px;
    padding-bottom: 34px;
}

.legal-hero-inner {
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: clamp(30px, 5vw, 58px);
    background: radial-gradient(circle at 18% 0%, rgba(255,255,255,.09), transparent 32%), rgba(7,7,7,.78);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.03);
}

.legal-hero h1,
.status-card h1 {
    margin: 10px 0 0;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.legal-hero .lead,
.status-card .lead {
    max-width: 760px;
    margin-top: 22px;
}

.legal-section {
    padding-top: 34px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

.legal-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
}

.legal-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: clamp(22px, 3vw, 34px);
    background: rgba(7,7,7,.82);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
}

.legal-card-main,
.legal-card-wide {
    grid-column: 1 / -1;
}

.legal-card h2 {
    margin: 0 0 12px;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.legal-card p {
    margin: 0 0 14px;
    color: var(--body);
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card a,
.status-contact a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,.35);
    text-underline-offset: 4px;
}

.legal-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.legal-list {
    margin: 0;
    padding-left: 20px;
    color: var(--body);
}

.status-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 70px;
}

.status-card {
    max-width: 860px;
    border: 1px solid var(--line);
    border-radius: 36px;
    padding: clamp(34px, 6vw, 68px);
    background: radial-gradient(circle at 18% 0%, rgba(255,255,255,.1), transparent 34%), rgba(7,7,7,.84);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.03);
}

.status-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 900;
    font-size: 1.5rem;
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.status-contact {
    margin-top: 16px;
    color: #fff;
    font-weight: 700;
}

.innovation-image-card {
    padding: 0;
    overflow: hidden;
}

.innovation-image-card picture,
.innovation-image-card img {
    display: block;
    width: 100%;
}

.innovation-image-card img {
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

:root[data-theme="light"] .legal-hero-inner,
:root[data-theme="light"] .legal-card,
:root[data-theme="light"] .status-card {
    background: rgba(255,255,255,.76);
    border-color: rgba(0,0,0,.1);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .legal-card a,
:root[data-theme="light"] .status-contact a {
    color: #111;
    text-decoration-color: rgba(0,0,0,.3);
}

@media (max-width: 860px) {
    .legal-hero {
        padding-top: 92px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-card-main,
    .legal-card-wide {
        grid-column: auto;
    }

    .status-section {
        padding-top: 92px;
        align-items: flex-start;
    }
}


/* V1.4 final polish: EOS hero visibility and corrected anchor stops */
.eos-hero .page-hero-bg img {
    filter: brightness(.72) saturate(.98) contrast(1.01);
}

.eos-hero .page-hero-overlay {
    background: linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.24) 30%,rgba(0,0,0,.44) 65%,rgba(0,0,0,.74) 100%),
                linear-gradient(90deg,rgba(0,0,0,.36) 0%,rgba(0,0,0,.14) 42%,rgba(0,0,0,.36) 100%);
}

:root[data-theme="light"] .eos-hero .page-hero-bg img {
    filter: brightness(1) saturate(.98) contrast(.99);
}

:root[data-theme="light"] .eos-hero .page-hero-overlay {
    background: linear-gradient(180deg,rgba(246,244,239,.36) 0%,rgba(246,244,239,.32) 30%,rgba(246,244,239,.54) 65%,rgba(246,244,239,.86) 100%),
                linear-gradient(90deg,rgba(246,244,239,.48) 0%,rgba(246,244,239,.18) 42%,rgba(246,244,239,.48) 100%);
}

html {
    scroll-padding-top: 20px;
}

main[id="home"],
section[id] {
    scroll-margin-top: 20px;
}

@media (max-width: 1180px) {
    html {
        scroll-padding-top: 18px;
    }

    main[id="home"],
    section[id] {
        scroll-margin-top: 18px;
    }
}

@media (max-width: 860px) {
    html {
        scroll-padding-top: 16px;
    }

    main[id="home"],
    section[id] {
        scroll-margin-top: 16px;
    }
}

/* V1.6 service navigation cards and detail pages */
.service-nav-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 16px;
    margin: 22px 0 28px;
}

.service-nav-card {
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--line);
    background: rgba(7,7,7,.82);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.service-nav-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.22);
}

.service-nav-card span {
    display: inline-flex;
    color: var(--accent2);
    font-size: .8rem;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 18px;
}

.service-nav-card strong {
    display: block;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.24;
    margin-bottom: 12px;
}

.service-nav-card p {
    margin: 0;
    color: #c7c7c7;
    font-size: .95rem;
    line-height: 1.55;
}

.service-subnav .current {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.24);
    color: #fff;
}

.service-page .page-hero h1 {
    max-width: 11ch;
}

.service-page .page-hero .lead {
    max-width: 66ch;
}

.detail-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.detail-list p {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: #d8d8d8;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

@media (max-width:1180px){
    .service-nav-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:860px){
    .service-nav-grid {
        grid-template-columns: 1fr;
    }

    .service-nav-card {
        min-height: auto;
    }
}

:root[data-theme="light"] .service-nav-card,
:root[data-theme="light"] .detail-list p {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.1);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .service-subnav .current {
    background: rgba(0,0,0,.08);
    border-color: rgba(0,0,0,.18);
    color: #111;
}

/* V1.7 cleanup: clearer service cards, blue hover glow, simplified detail pages */
.service-nav-grid {
    grid-template-columns: repeat(auto-fit,minmax(210px,1fr)) !important;
    gap: 16px !important;
    margin: 22px 0 34px !important;
}

.service-nav-card {
    min-height: 178px !important;
    padding: 22px !important;
    background: linear-gradient(180deg,rgba(255,255,255,.045),rgba(7,7,7,.82)) !important;
    position: relative;
    overflow: hidden;
}

.service-nav-card::before,
.service-feature::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%,rgba(0,145,255,.38),transparent 48%);
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}

.service-nav-card:hover,
.service-feature:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0,150,255,.62) !important;
    box-shadow: 0 0 0 1px rgba(0,150,255,.22), 0 22px 70px rgba(0,110,255,.28), var(--shadow) !important;
}

.service-nav-card:hover::before,
.service-feature:hover::before {
    opacity: 1;
}

.service-nav-card span,
.service-nav-card strong,
.service-nav-card p,
.service-feature span,
.service-feature h3,
.service-feature p {
    position: relative;
    z-index: 1;
}

.service-nav-card p {
    font-size: .9rem !important;
    line-height: 1.48 !important;
}

.service-page-clean .page-hero {
    min-height: min(86vh,820px);
}

.service-clean-grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr);
    gap: 24px;
    align-items: stretch;
}

.service-clean-copy {
    padding: 42px;
}

.service-clean-copy h2 {
    max-width: 18ch;
}

.service-clean-copy .body-text p {
    font-size: 1.04rem;
}

.service-image-panel {
    margin: 0;
    min-height: 520px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(7,7,7,.78);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
}

.service-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.72) saturate(.9) contrast(1.05);
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 26px;
}

.service-feature {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7,7,7,.82);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
    padding: 26px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-feature span {
    display: inline-flex;
    color: var(--accent2);
    font-size: .78rem;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 18px;
}

.service-feature h3 {
    margin-bottom: 12px;
}

.service-feature p {
    margin: 0;
    color: #c7c7c7;
}

:root[data-theme="light"] .service-nav-card,
:root[data-theme="light"] .service-feature,
:root[data-theme="light"] .service-image-panel {
    background: rgba(255,255,255,.78) !important;
    border-color: rgba(0,0,0,.1);
}

:root[data-theme="light"] .service-nav-card:hover,
:root[data-theme="light"] .service-feature:hover {
    border-color: rgba(0,114,210,.5) !important;
    box-shadow: 0 0 0 1px rgba(0,114,210,.16), 0 18px 54px rgba(0,114,210,.18), var(--shadow) !important;
}

:root[data-theme="light"] .service-nav-card::before,
:root[data-theme="light"] .service-feature::before {
    background: radial-gradient(circle at 50% 0%,rgba(0,114,210,.18),transparent 52%);
}

@media (max-width:1180px){
    .service-clean-grid,
    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .service-image-panel {
        min-height: 420px;
    }
}

@media (max-width:860px){
    .service-clean-copy {
        padding: 28px;
    }

    .service-image-panel {
        min-height: 280px;
    }

    .service-feature {
        min-height: auto;
    }
}

/* V1.8 fixed floating service menu on detail pages */
.floating-service-menu {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 44;
    width: 238px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 24px;
    background: rgba(4,8,12,.58);
    box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
}

.floating-service-menu p {
    margin: 0 0 10px;
    color: rgba(255,255,255,.68);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.floating-service-menu nav {
    display: grid;
    gap: 7px;
}

.floating-service-menu a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.72);
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.floating-service-menu a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.72);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.floating-service-menu a strong {
    display: block;
    font-size: .82rem;
    line-height: 1.18;
    font-weight: 750;
}

.floating-service-menu a:hover,
.floating-service-menu a.active {
    transform: translateX(-2px);
    color: #fff;
    border-color: rgba(62,166,255,.5);
    background: rgba(20,95,160,.22);
    box-shadow: 0 0 0 1px rgba(62,166,255,.16), 0 0 28px rgba(62,166,255,.22);
}

.floating-service-menu a:hover span,
.floating-service-menu a.active span {
    background: rgba(62,166,255,.22);
    color: #fff;
}

:root[data-theme="light"] .floating-service-menu {
    background: rgba(255,255,255,.76);
    border-color: rgba(0,0,0,.1);
    box-shadow: 0 24px 70px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.55);
}

:root[data-theme="light"] .floating-service-menu p,
:root[data-theme="light"] .floating-service-menu a,
:root[data-theme="light"] .floating-service-menu a span {
    color: rgba(0,0,0,.66);
}

:root[data-theme="light"] .floating-service-menu a {
    background: rgba(0,0,0,.035);
}

:root[data-theme="light"] .floating-service-menu a:hover,
:root[data-theme="light"] .floating-service-menu a.active {
    color: #07101a;
    border-color: rgba(0,119,204,.42);
    background: rgba(0,119,204,.10);
    box-shadow: 0 0 0 1px rgba(0,119,204,.12), 0 0 26px rgba(0,119,204,.16);
}

@media (max-width: 1500px) {
    .floating-service-menu {
        width: 214px;
        right: 10px;
    }

    .floating-service-menu a strong {
        font-size: .76rem;
    }
}

@media (max-width: 1180px) {
    .floating-service-menu {
        left: 14px;
        right: 14px;
        top: auto;
        bottom: 12px;
        width: auto;
        transform: none;
        padding: 10px;
        border-radius: 22px;
    }

    .floating-service-menu p {
        display: none;
    }

    .floating-service-menu nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .floating-service-menu nav::-webkit-scrollbar {
        display: none;
    }

    .floating-service-menu a {
        grid-template-columns: 24px max-content;
        flex: 0 0 auto;
        min-height: 38px;
        padding: 7px 10px;
    }

    .floating-service-menu a span {
        width: 23px;
        height: 23px;
    }

    .floating-service-menu a strong {
        font-size: .75rem;
        white-space: nowrap;
    }

    .service-page-clean .footer {
        padding-bottom: 110px;
    }
}

@media (max-width: 620px) {
    .floating-service-menu a strong {
        display: none;
    }

    .floating-service-menu a {
        grid-template-columns: 24px;
    }
}

/* V1.9 detail-page cleanup: brighter hero images, no top CTA, centered final CTA */
.service-page-clean .topbar .btn-small {
    display: none;
}

.service-page-clean .page-hero,
.service-page-clean .service-clean-hero {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: flex-end;
    padding-top: 132px;
    padding-bottom: 34px;
}

.service-page-clean .page-hero-bg img {
    filter: brightness(.66) saturate(.96) contrast(1.04);
    object-fit: cover;
    object-position: center center;
}

.service-page-clean .page-hero-overlay {
    background:
        linear-gradient(180deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.38) 28%,rgba(0,0,0,.60) 64%,rgba(0,0,0,.86) 100%),
        linear-gradient(90deg,rgba(0,0,0,.70) 0%,rgba(0,0,0,.30) 44%,rgba(0,0,0,.70) 100%);
}

.service-page-clean .page-hero-content {
    padding-bottom: 58px;
}

.service-page-clean .service-image-panel img {
    filter: brightness(.9) saturate(1.02) contrast(1.03);
}

.service-page-clean .service-focus-section .section-title.wide {
    align-items: start;
}

.service-page-clean .service-focus-section .section-title.wide > div {
    display: flex;
    align-items: center;
    min-height: 1px;
}

.service-page-clean .service-focus-section .section-title.wide .eyebrow {
    margin-bottom: 0;
}

.service-final-cta {
    padding-top: 70px;
    padding-bottom: 96px;
}

.service-final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-final-cta-inner h2 {
    max-width: 14ch;
    margin-bottom: 28px;
}

.service-final-cta-button {
    min-width: 230px;
    box-shadow: 0 0 0 1px rgba(47,142,255,.20), 0 18px 56px rgba(47,142,255,.18), 0 18px 42px rgba(255,255,255,.08);
}

.service-final-cta-button:hover {
    box-shadow: 0 0 0 1px rgba(47,142,255,.38), 0 24px 76px rgba(47,142,255,.32), 0 18px 42px rgba(255,255,255,.08);
}

@media (max-width:860px){
    .service-page-clean .page-hero,
    .service-page-clean .service-clean-hero {
        min-height: 82vh;
        padding-top: 110px;
        padding-bottom: 24px;
    }

    .service-final-cta {
        padding-top: 52px;
        padding-bottom: 120px;
    }
}

/* V2.0 corrected scroll stops for sticky header/navigation */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px !important;
}

section[id],
.section[id] {
    scroll-margin-top: 86px !important;
}

main#home {
    scroll-margin-top: 0 !important;
}

.section-label {
    top: 92px !important;
}

@media (max-width: 1180px) {
    html {
        scroll-padding-top: 78px !important;
    }

    section[id],
    .section[id] {
        scroll-margin-top: 78px !important;
    }

    .section-label {
        top: 84px !important;
    }
}

@media (max-width: 860px) {
    html {
        scroll-padding-top: 74px !important;
    }

    section[id],
    .section[id] {
        scroll-margin-top: 74px !important;
    }

    .section-label {
        top: auto !important;
    }
}

/* V2.1 higher anchor stops: content headings should sit directly below the compact logo/header */
html {
    scroll-padding-top: 38px !important;
}

main[id="home"],
section[id],
.section[id] {
    scroll-margin-top: 38px !important;
}

.section-label {
    top: 78px !important;
}

@media (max-width:1180px){
    html {
        scroll-padding-top: 34px !important;
    }

    main[id="home"],
    section[id],
    .section[id] {
        scroll-margin-top: 34px !important;
    }

    .section-label {
        top: 72px !important;
    }
}

@media (max-width:860px){
    html {
        scroll-padding-top: 30px !important;
    }

    main[id="home"],
    section[id],
    .section[id] {
        scroll-margin-top: 30px !important;
    }
}

/* V2.3 Light layout readability fix: service buttons/cards must switch to dark text */
:root[data-theme="light"] .service-nav-card,
:root[data-theme="light"] .service-feature,
:root[data-theme="light"] .floating-service-menu,
:root[data-theme="light"] .innovation-subnav a,
:root[data-theme="light"] .hero-bullets span,
:root[data-theme="light"] .reference-kicker,
:root[data-theme="light"] .coming-soon-card,
:root[data-theme="light"] .eos-card {
    color: #111 !important;
}

:root[data-theme="light"] .service-nav-card strong,
:root[data-theme="light"] .service-nav-card p,
:root[data-theme="light"] .service-nav-card span,
:root[data-theme="light"] .service-feature h3,
:root[data-theme="light"] .service-feature p,
:root[data-theme="light"] .service-feature span,
:root[data-theme="light"] .floating-service-menu a strong,
:root[data-theme="light"] .floating-service-menu a span,
:root[data-theme="light"] .floating-service-menu p,
:root[data-theme="light"] .innovation-subnav a,
:root[data-theme="light"] .hero-bullets span,
:root[data-theme="light"] .reference-kicker,
:root[data-theme="light"] .coming-soon-card h3,
:root[data-theme="light"] .coming-soon-card p,
:root[data-theme="light"] .coming-soon-card span,
:root[data-theme="light"] .eos-card h3,
:root[data-theme="light"] .eos-card p,
:root[data-theme="light"] .eos-card span {
    color: #111 !important;
}

:root[data-theme="light"] .service-nav-card span,
:root[data-theme="light"] .service-feature span,
:root[data-theme="light"] .coming-soon-card span,
:root[data-theme="light"] .eos-card span,
:root[data-theme="light"] .floating-service-menu p {
    color: #4a4a4a !important;
}

:root[data-theme="light"] .floating-service-menu a {
    color: #111 !important;
    background: rgba(255,255,255,.68) !important;
}

:root[data-theme="light"] .floating-service-menu a:hover,
:root[data-theme="light"] .floating-service-menu a.active {
    color: #07101a !important;
    background: rgba(0,119,204,.14) !important;
}

:root[data-theme="light"] .floating-service-menu a:hover strong,
:root[data-theme="light"] .floating-service-menu a.active strong,
:root[data-theme="light"] .floating-service-menu a:hover span,
:root[data-theme="light"] .floating-service-menu a.active span {
    color: #07101a !important;
}

:root[data-theme="light"] .btn-primary {
    background: #111 !important;
    color: #fff !important;
}

:root[data-theme="light"] .btn-ghost,
:root[data-theme="light"] .btn-outline {
    background: rgba(255,255,255,.72) !important;
    color: #111 !important;
    border-color: rgba(0,0,0,.18) !important;
}


/* V2.5 final anchor alignment: keep section eyebrow/headline visible directly below sticky logo/header */
html {
    scroll-padding-top: 92px !important;
}

main[id="home"],
section[id],
.section[id],
.page-hero[id] {
    scroll-margin-top: 92px !important;
}

@media (max-width:1180px){
    html {
        scroll-padding-top: 84px !important;
    }

    main[id="home"],
    section[id],
    .section[id],
    .page-hero[id] {
        scroll-margin-top: 84px !important;
    }
}

@media (max-width:860px){
    html {
        scroll-padding-top: 78px !important;
    }

    main[id="home"],
    section[id],
    .section[id],
    .page-hero[id] {
        scroll-margin-top: 78px !important;
    }
}

/* V2.6 compact expandable floating service menu */
@media (min-width: 1181px) {
    .floating-service-menu {
        width: 170px;
        padding: 12px 14px;
        overflow: hidden;
        transition: width .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease;
    }

    .floating-service-menu p {
        position: relative;
        margin: 0;
        padding-right: 22px;
        white-space: nowrap;
    }

    .floating-service-menu p::after {
        content: '▾';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255,255,255,.66);
        font-size: .9rem;
        line-height: 1;
        transition: transform .2s ease, color .2s ease;
    }

    .floating-service-menu nav {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        margin-top: 0;
        transition: max-height .28s ease, opacity .22s ease, margin-top .22s ease;
    }

    .floating-service-menu:hover,
    .floating-service-menu:focus-within {
        width: 276px;
        background: rgba(4,8,12,.76);
        border-color: rgba(62,166,255,.22);
        box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(62,166,255,.08), 0 0 28px rgba(62,166,255,.14), inset 0 1px 0 rgba(255,255,255,.05);
    }

    .floating-service-menu:hover p::after,
    .floating-service-menu:focus-within p::after {
        transform: translateY(-50%) rotate(180deg);
        color: #9fd4ff;
    }

    .floating-service-menu:hover nav,
    .floating-service-menu:focus-within nav {
        max-height: 340px;
        opacity: 1;
        pointer-events: auto;
        margin-top: 10px;
    }

    :root[data-theme="light"] .floating-service-menu:hover,
    :root[data-theme="light"] .floating-service-menu:focus-within {
        background: rgba(255,255,255,.95);
        border-color: rgba(0,119,204,.18);
        box-shadow: 0 24px 70px rgba(0,0,0,.14), 0 0 0 1px rgba(0,119,204,.08), 0 0 28px rgba(0,119,204,.12), inset 0 1px 0 rgba(255,255,255,.7);
    }

    :root[data-theme="light"] .floating-service-menu p::after {
        color: rgba(0,0,0,.52);
    }

    :root[data-theme="light"] .floating-service-menu:hover p::after,
    :root[data-theme="light"] .floating-service-menu:focus-within p::after {
        color: #0068b3;
    }
}

/* V2.7: top-right expandable service menu + cleaner full-width detail layout */
@media (min-width: 1181px) {
    .floating-service-menu {
        top: 112px !important;
        right: 28px !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 225px !important;
        padding: 13px 16px !important;
        border-radius: 22px !important;
    }

    .floating-service-menu p {
        margin: 0 !important;
        padding-right: 34px !important;
        min-height: 22px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .floating-service-menu p::after {
        right: 8px !important;
    }

    .floating-service-menu:hover,
    .floating-service-menu:focus-within {
        width: 330px !important;
    }
}

.service-page-clean .service-clean-section {
    padding-top: 78px;
}

.service-page-clean .service-clean-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    align-items: stretch !important;
}

.service-page-clean .service-clean-copy {
    width: 100%;
    max-width: none;
    padding: clamp(30px,4vw,56px);
}

.service-page-clean .service-clean-copy h2 {
    max-width: 18ch;
}

@media (min-width: 900px) {
    .service-page-clean .service-clean-copy .body-text {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 26px;
        align-items: start;
    }

    .service-page-clean .service-clean-copy .body-text p {
        margin-bottom: 0;
    }
}

.service-page-clean .service-image-panel {
    width: 100vw;
    margin: 2px 0 0 calc(50% - 50vw);
    min-height: clamp(360px,42vw,660px);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
}

.service-page-clean .service-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(.98) saturate(1.08) contrast(1.02);
}

@media (max-width: 1180px) {
    .service-page-clean .service-clean-section {
        padding-top: 64px;
    }

    .service-page-clean .service-image-panel {
        width: 100%;
        margin-left: 0;
        min-height: 380px;
        border-radius: var(--radius);
        border-left: 1px solid var(--line);
        border-right: 1px solid var(--line);
    }
}

@media (max-width: 860px) {
    .service-page-clean .service-image-panel {
        min-height: 280px;
    }
}

/* V2.8 standalone page scroll safety: keep first headline visible below sticky header */
body:not(.home-page) .page-hero-content,
.legal-main .container,
.status-card {
    scroll-margin-top: 112px;
}

@media (max-width:1180px){
    body:not(.home-page) .page-hero-content,
    .legal-main .container,
    .status-card {
        scroll-margin-top: 104px;
    }
}

@media (max-width:860px){
    body:not(.home-page) .page-hero-content,
    .legal-main .container,
    .status-card {
        scroll-margin-top: 96px;
    }
}

/* V3.6: Floating service menu label more visible with subtle blue glow */
@media (min-width: 1181px) {
    .floating-service-menu {
        background: linear-gradient(135deg, rgba(9,28,48,.88), rgba(4,8,12,.74)) !important;
        border-color: rgba(62,166,255,.34) !important;
        box-shadow:
            0 18px 48px rgba(0,0,0,.42),
            0 0 0 1px rgba(62,166,255,.12),
            0 0 28px rgba(62,166,255,.24),
            inset 0 1px 0 rgba(255,255,255,.07) !important;
    }

    .floating-service-menu p {
        color: #d9efff !important;
        text-shadow: 0 0 18px rgba(62,166,255,.55);
    }

    .floating-service-menu p::after {
        color: #9fd4ff !important;
        text-shadow: 0 0 16px rgba(62,166,255,.75);
    }

    .floating-service-menu:hover,
    .floating-service-menu:focus-within {
        background: linear-gradient(135deg, rgba(10,34,58,.94), rgba(4,8,12,.84)) !important;
        border-color: rgba(62,166,255,.48) !important;
        box-shadow:
            0 24px 70px rgba(0,0,0,.44),
            0 0 0 1px rgba(62,166,255,.16),
            0 0 38px rgba(62,166,255,.28),
            inset 0 1px 0 rgba(255,255,255,.08) !important;
    }

    :root[data-theme="light"] .floating-service-menu {
        background: linear-gradient(135deg, rgba(232,246,255,.96), rgba(255,255,255,.92)) !important;
        border-color: rgba(0,119,204,.24) !important;
        box-shadow:
            0 18px 48px rgba(0,0,0,.12),
            0 0 0 1px rgba(0,119,204,.10),
            0 0 28px rgba(0,119,204,.18),
            inset 0 1px 0 rgba(255,255,255,.75) !important;
    }

    :root[data-theme="light"] .floating-service-menu p {
        color: #07304d !important;
        text-shadow: 0 0 14px rgba(0,119,204,.24);
    }

    :root[data-theme="light"] .floating-service-menu p::after {
        color: #0068b3 !important;
        text-shadow: 0 0 14px rgba(0,119,204,.28);
    }
}

/* V3.8 detail pages: make background/hero images clearly more visible */
.service-page-clean .page-hero-bg img,
.service-page-clean .service-clean-hero .page-hero-bg img {
    filter: brightness(.86) saturate(1.10) contrast(1.03) !important;
    transform: scale(1.01);
}

.service-page-clean .page-hero-overlay,
.service-page-clean .service-clean-hero .page-hero-overlay {
    background:
        linear-gradient(180deg,rgba(0,0,0,.16) 0%,rgba(0,0,0,.24) 34%,rgba(0,0,0,.42) 68%,rgba(0,0,0,.70) 100%),
        linear-gradient(90deg,rgba(0,0,0,.52) 0%,rgba(0,0,0,.18) 46%,rgba(0,0,0,.48) 100%) !important;
}

.service-page-clean .page-hero-content {
    text-shadow: 0 2px 24px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.65);
}

.service-page-clean .service-image-panel {
    background: rgba(255,255,255,.035);
}

.service-page-clean .service-image-panel img {
    filter: brightness(1.08) saturate(1.14) contrast(1.03) !important;
}

:root[data-theme="light"] .service-page-clean .page-hero-bg img,
:root[data-theme="light"] .service-page-clean .service-clean-hero .page-hero-bg img {
    filter: brightness(1.02) saturate(1.06) contrast(1.02) !important;
}

:root[data-theme="light"] .service-page-clean .page-hero-overlay,
:root[data-theme="light"] .service-page-clean .service-clean-hero .page-hero-overlay {
    background:
        linear-gradient(180deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.24) 32%,rgba(255,255,255,.46) 72%,rgba(255,255,255,.80) 100%),
        linear-gradient(90deg,rgba(255,255,255,.78) 0%,rgba(255,255,255,.28) 44%,rgba(255,255,255,.64) 100%) !important;
}

:root[data-theme="light"] .service-page-clean .page-hero-content {
    text-shadow: none;
}
