@font-face {
    font-family: 'OrbitronLocal';
    src: url('../assets/fonts/orbitron-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #16212f;
    --muted: #5f6b7a;
    --line: #dfe5ec;
    --paper: #ffffff;
    --soft: #f4f7fa;
    --brand: #1b6a8f;
    --brand-dark: #104761;
    --accent: #c8673a;
    --logo-blue: #00bcf2;
    --logo-blue-dark: #0095c8;
    --shadow: 0 22px 60px rgba(22, 33, 47, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
}

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

a {
    color: var(--brand-dark);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header .container {
    width: min(1360px, calc(100% - 24px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-area {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    column-gap: 14px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 64px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand span {
    font-family: 'OrbitronLocal', Orbitron, Inter, Arial, Helvetica, sans-serif;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-text-stroke: 0.25px currentColor;
    max-width: 300px;
}

.partner-label {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.partner-logo {
    justify-self: start;
    width: 210px;
    height: auto;
}


.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 10px 11px;
    border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--soft);
    color: var(--brand-dark);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    padding: 8px 12px;
}

.home-hero,
.page-hero {
    background: linear-gradient(135deg, #f8fbfd 0%, #edf4f7 46%, #fff8f3 100%);
    border-bottom: 1px solid var(--line);
}

.home-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 72px 0;
}

.hero-grid,
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 58px;
    align-items: center;
}

.hero-grid {
    width: min(1320px, calc(100% - 40px));
    grid-template-columns: minmax(300px, 0.65fr) minmax(680px, 1.35fr);
    gap: 72px;
}

.hero-grid > * {
    min-width: 0;
}

.page-hero {
    padding: 76px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    font-size: clamp(2.1rem, 4.2vw, 3.7rem);
}

.home-hero h1 {
    max-width: 520px;
    font-size: clamp(1.95rem, 2.7vw, 2.85rem);
    line-height: 1.12;
}

@media (min-width: 1081px) {
    .home-hero h1 {
        hyphens: auto;
        overflow-wrap: anywhere;
    }
}

h2 {
    font-size: clamp(1.55rem, 3vw, 2.45rem);
}

h3 {
    font-size: 1.15rem;
}

.compact-heading {
    font-size: clamp(1.16rem, 2.25vw, 1.84rem);
}

.reference-section-heading {
    font-size: clamp(1.04rem, 2.01vw, 1.64rem);
}

.lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1.06rem, 2vw, 1.25rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 11px 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--logo-blue);
    color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
    background: var(--logo-blue-dark);
    color: #fff;
}

.button.secondary {
    border-color: var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
}

.hero-media,
.feature-image,
.contact-highlight {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-media {
    overflow: hidden;
    background: var(--paper);
}

.hero-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-carousel {
    position: relative;
    aspect-ratio: 16 / 10;
}

.hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 900ms ease;
}

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

.feature-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.section {
    padding: 78px 0;
}

.section.muted {
    background: var(--soft);
}

.section-heading {
    max-width: 860px;
    margin-bottom: 30px;
}

.card-grid,
.content-grid,
.two-column,
.contact-layout,
.footer-grid {
    display: grid;
    gap: 24px;
}

.card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-services-container {
    width: min(1280px, calc(100% - 40px));
}

.home-services-container .card-grid {
    gap: 16px;
}

.service-card,
.content-block,
.office-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 22px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    min-height: 2.4em;
    line-height: 1.2;
}

.service-card .clean-list {
    gap: 8px;
    margin: 18px 0 24px;
    font-size: 0.93rem;
}

.service-card p,
.content-block p,
.two-column p,
.office-list p,
.site-footer p {
    color: var(--muted);
}

.service-card a {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--logo-blue);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(11, 82, 114, 0.18);
}

.service-card a:hover,
.service-card a:focus-visible {
    background: var(--logo-blue-dark);
    color: #fff;
}

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

.content-block h2,
.contact-layout h2 {
    margin-bottom: 16px;
}

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

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

.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.reference-list {
    gap: 12px;
}

.reference-item {
    display: flex;
    align-items: center;
    min-height: 54px;
    gap: 14px;
}

.reference-item::before {
    display: none;
}

.reference-item img {
    width: 96px;
    max-height: 34px;
    object-fit: contain;
    flex: 0 0 auto;
}

.reference-item img[src$="Hypovereinsbank.webp"],
.reference-item img[src$="sybase-final.png"],
.reference-item img[src$="ThyssenKruppLogo.png"] {
    width: 210px;
    max-height: 75px;
}

.reference-item span {
    color: var(--ink);
    font-weight: 700;
}

.two-column,
.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-stack {
    display: grid;
    gap: 42px;
}

.office-map-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 22px 28px;
    align-items: stretch;
}

.office-map-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 22px;
}

.contact-form-section {
    width: 100%;
}


.contact-highlight {
    display: grid;
    gap: 8px;
    background: var(--paper);
    padding: 30px;
}

.contact-highlight strong {
    color: var(--brand-dark);
}

.office-list {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
}


.office-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
}

.office-brand img {
    width: 38px;
    height: 50px;
    object-fit: contain;
    flex: 0 0 auto;
}

.office-brand span {
    font-family: 'OrbitronLocal', Orbitron, Inter, Arial, Helvetica, sans-serif;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-text-stroke: 0.25px currentColor;
}

.office-partner-brand {
    margin: 0 0 18px;
}

.office-partner-brand img {
    width: 230px;
    max-width: 100%;
    height: auto;
}


.map {
    width: 100%;
    min-height: 330px;
    border: 0;
    border-radius: 8px;
}

.contact-form {
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: var(--soft);
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #c9d3dd;
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
    background: var(--paper);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 3px solid rgba(27, 106, 143, 0.2);
    border-color: var(--brand);
}

.form-note {
    min-height: 1.4em;
    margin: 0;
    color: var(--muted);
}

.site-footer {
    background: #121a24;
    color: #fff;
    padding: 54px 0 28px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'OrbitronLocal', Orbitron, Inter, Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 280px;
    margin-bottom: 18px;
}

.footer-logo img {
    width: 56px;
    height: 72px;
    object-fit: contain;
    flex: 0 0 auto;
}

.site-footer h2 {
    font-size: 1rem;
    margin-bottom: 14px;
}

.site-footer a {
    display: block;
    color: #d9edf5;
    margin-bottom: 8px;
}

.copyright {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #aeb9c5;
    font-size: 0.9rem;
}

@media (max-width: 1080px) {
    .brand-area {
        flex: 1 1 auto;
        grid-template-columns: minmax(230px, auto) auto minmax(160px, auto);
        justify-content: start;
        column-gap: 10px;
    }

    .brand {
        justify-self: start;
    }

    .partner-logo {
        width: 170px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        inset: 82px 20px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-grid,
    .split,
    .content-grid,
    .two-column,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .office-map-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        max-width: none;
    }

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

    .home-hero {
        min-height: auto;
        padding: 60px 0;
    }
}

@media (max-width: 620px) {
    .brand-area {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .partner-label {
        font-size: 0.68rem;
    }

    .partner-logo {
        width: 150px;
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 40px;
        height: 54px;
    }

    .brand span {
        font-size: 0.78rem;
        max-width: 210px;
    }

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

    .page-hero,
    .section {
        padding: 50px 0;
    }

    .actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* 2026 multilingual and conversion-focused enhancements */
.nav-wrap {
    position: relative;
    width: min(1420px, calc(100% - 24px));
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.brand {
    justify-self: auto;
}

.brand-mark {
    width: 58px;
    height: 72px;
}

.brand span {
    width: 225px;
    max-width: 320px;
    font-size: 1.04rem;
}

.partner-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
    flex: 0 0 auto;
}

.partner-label {
    padding-left: 0;
    border-left: 0;
    white-space: normal;
    max-width: none;
    font-size: 0.65rem;
    line-height: 1.1;
    text-align: left;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.partner-logo {
    width: 190px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 3;
}

.language-menu {
    position: relative;
}

.language-menu summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.language-menu summary::-webkit-details-marker {
    display: none;
}

.language-menu summary::after {
    content: "▾";
    color: var(--muted);
    font-size: 0.75rem;
}

.language-menu[open] summary::after {
    transform: rotate(180deg);
}

.current-language-flag,
.language-options img {
    width: 26px;
    height: 18px;
    border: 1px solid rgba(22, 33, 47, 0.18);
    border-radius: 3px;
    object-fit: cover;
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: 190px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.language-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.language-options a:hover,
.language-options a:focus-visible,
.language-options a[aria-current="true"] {
    background: var(--soft);
    color: var(--brand-dark);
}

.partnership-band {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.partnership-content {
    display: grid;
    grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding-block: 24px;
}

.partnership-content strong {
    color: var(--brand-dark);
    font-size: 1rem;
}

.partnership-content span {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
}

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

.service-detail-card,
.case-card,
.logo-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
}

.service-detail-card {
    position: relative;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(22, 33, 47, 0.06);
}

.service-detail-card:last-child {
    grid-column: 1 / -1;
}

.service-detail-card h3 {
    font-size: 1.35rem;
}

.service-detail-card h4 {
    margin: 22px 0 8px;
    color: var(--brand-dark);
    font-size: 0.84rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-detail-card p,
.case-card p,
.section-heading > p:not(.eyebrow) {
    color: var(--muted);
}

.service-outcome {
    margin-top: 10px;
    font-weight: 650;
}

.reference-sections {
    display: grid;
    gap: 52px;
}

.reference-sections h2 {
    margin-bottom: 22px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.logo-card {
    display: grid;
    grid-template-rows: 92px auto;
    align-items: center;
    min-height: 145px;
    margin: 0;
    padding: 18px;
    text-align: center;
}

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

.logo-card figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 650;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.case-card {
    padding: 24px;
}

.cta-section {
    padding-top: 0;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 38px 42px;
    border-radius: 12px;
    background: linear-gradient(125deg, #0f4059, #14739a);
    color: #fff;
    box-shadow: var(--shadow);
}

.cta-panel .eyebrow,
.cta-panel p {
    color: #d7edf6;
}

.cta-panel h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

.cta-panel p {
    max-width: 720px;
    margin: 12px 0 0;
}

.cta-panel .button {
    flex: 0 0 auto;
    background: #fff;
    color: var(--brand-dark);
}

.contact-form-section {
    width: min(820px, 100%);
    margin-inline: auto;
}

.contact-highlight a[href^="tel:"] {
    color: var(--ink);
    text-decoration: none;
}

.contact-form select {
    appearance: auto;
}

.response-note,
.privacy-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.privacy-note {
    margin-top: -8px;
}

@media (max-width: 1260px) {
    .nav-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .header-actions {
        order: 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        inset: 82px 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }
}

@media (max-width: 820px) {
    .service-detail-grid,
    .case-grid,
    .partnership-content {
        grid-template-columns: 1fr;
    }

    .service-detail-card:last-child {
        grid-column: auto;
    }

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

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px;
    }
}

@media (max-width: 620px) {
    .nav-wrap {
        min-height: 76px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .brand-area {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .brand-mark {
        width: 40px;
        height: 54px;
    }

    .brand span {
        width: 128px;
        max-width: 178px;
        font-size: 0.7rem;
    }

    .partner-group {
        display: none;
    }

    .service-card h3 {
        min-height: 0;
    }

    .header-actions {
        gap: 5px;
    }

    .nav-toggle,
    .language-menu summary {
        min-height: 38px;
        padding: 7px 9px;
        font-size: 0.78rem;
    }

    .language-menu summary {
        gap: 5px;
        padding-inline: 7px;
    }

    .current-language-flag {
        width: 24px;
        height: 17px;
    }

    .site-nav {
        inset: 76px 0 auto;
    }

    .home-hero {
        padding: 46px 0;
    }

    .hero-grid {
        width: min(100% - 28px, 1120px);
    }

    .logo-card {
        grid-template-rows: 70px auto;
        min-height: 122px;
        padding: 12px;
    }

    .logo-card img {
        height: 54px;
    }

    .cta-panel {
        padding: 26px 22px;
    }
}
