:root {
    --bg: #ffffff;
    --bg-strong: #ffffff;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-dark: #111723;
    --text: #102131;
    --text-soft: #4a6274;
    --line: rgba(16, 33, 49, 0.12);
    --line-strong: rgba(16, 33, 49, 0.24);
    --accent: #028afa;
    --accent-dark: #016fc8;
    --signal: #11c6d3;
    --signal-dark: #0f8e98;
    --success: #1f6a45;
    --shadow-soft: 0 18px 45px rgba(17, 75, 115, 0.12);
    --shadow-strong: 0 28px 70px rgba(9, 33, 53, 0.24);
    --radius-sm: 16px;
    --radius-md: 26px;
    --radius-lg: 38px;
    --max-width: 1180px;
    --header-height: 96px;
}

@font-face {
    font-family: "Anton";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Anton-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Epilogue";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Epilogue-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Epilogue";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Epilogue-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Epilogue";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/Epilogue-Bold.ttf") format("truetype");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Epilogue", sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.6;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

p,
li {
    color: var(--text-soft);
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0;
    padding-left: 1.2rem;
}

ol {
    margin: 0;
    padding-left: 1.3rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 1rem;
    color: var(--text);
    line-height: 1;
}

h1,
h2,
.display-title,
.section-title {
    font-family: "Anton", sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 8vw, 5.9rem);
    line-height: 1.08;
}

h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    line-height: 1.14;
}

h3 {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
}

strong {
    color: var(--text);
}

:focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 0.75rem;
    z-index: 2000;
    background: var(--surface-dark);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 2.4rem), var(--max-width));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section {
    padding: clamp(4rem, 6vw, 6.5rem) 0;
}

.section-tight {
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.8rem;
    height: 2px;
    background: currentColor;
}

.section-head {
    display: grid;
    gap: 1rem;
    max-width: 46rem;
    margin-bottom: 2.2rem;
}

.section-head p {
    font-size: 1.05rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(2, 138, 250, 0.14);
}

.site-header.is-scrolled {
    box-shadow: 0 12px 28px rgba(17, 75, 115, 0.1);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    height: var(--header-height);
    padding-block: 0.35rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.brand__logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #111723 0%, #0b5ba2 100%);
}

.brand img {
    width: 114px;
    height: auto;
}

.brand__text {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.brand__name {
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: none;
    font-size: 0.95rem;
    color: var(--accent-dark);
    line-height: 1.2;
}

.brand__subline {
    font-size: 0.83rem;
    color: var(--text-soft);
    line-height: 1.2;
}

.nav-toggle {
    display: none;
    border: 0;
    padding: 0.75rem;
    background: transparent;
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(2, 138, 250, 0.09);
}

.nav-toggle__box {
    display: grid;
    gap: 4px;
}

.nav-toggle__box span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 0;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    flex-wrap: nowrap;
}

.site-nav li {
    flex: 0 0 auto;
}

.site-nav ul a {
    position: relative;
    display: inline-flex;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.site-nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--accent);
    transition: transform 0.2s ease;
}

.site-nav ul a:hover::after,
.site-nav ul a:focus-visible::after,
.site-nav ul a[aria-current="page"]::after {
    transform: scaleX(1);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    min-width: max-content;
    padding: 0.9rem 1.7rem;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
    background: var(--accent-dark);
}

.hero {
    position: relative;
    overflow: clip;
    height: calc(100svh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    max-height: calc(100svh - var(--header-height));
    padding: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(17, 23, 35, 0.84) 0%, rgba(17, 23, 35, 0.4) 46%, rgba(17, 23, 35, 0.12) 100%),
        linear-gradient(180deg, rgba(17, 198, 211, 0.18), transparent 56%);
    pointer-events: none;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media picture {
    display: block;
    height: 100%;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: center;
    height: 100%;
    min-height: 100%;
    padding-block: clamp(1.25rem, 3vh, 2.6rem);
}

.hero__content {
    max-width: 44rem;
    padding: clamp(0.4rem, 1.2vh, 1rem) 0;
    color: #fff;
}

.hero__content .eyebrow,
.hero__content p,
.hero__content li {
    color: rgba(255, 255, 255, 0.86);
}

.hero__content h1 {
    color: #fff;
    line-height: 1.18;
    max-width: 11ch;
    font-size: clamp(2.55rem, 6.6vw, 5rem);
    text-wrap: balance;
}

.hero__content .eyebrow::before {
    background: rgba(255, 255, 255, 0.7);
}

.hero__content--black {
    color: var(--text);
}

.hero__content--black .eyebrow,
.hero__content--black p,
.hero__content--black li {
    color: rgba(16, 33, 49, 0.86);
}

.hero__content--black h1 {
    color: var(--text);
}

.hero__content--black .eyebrow::before {
    background: rgba(16, 33, 49, 0.6);
}

.hero__content p {
    font-size: clamp(1.05rem, 2.1vw, 1.25rem);
    max-width: 38rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: clamp(1rem, 2vh, 1.6rem);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.85rem 1.4rem;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-dark);
}

.button-secondary {
    background: #ffffff;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: #ffffff;
}

.button-dark {
    background: var(--surface-dark);
    color: #fff;
}

.button-light {
    background: var(--surface-strong);
    color: var(--text);
    border: 1px solid var(--line);
}

.hero__panel {
    position: relative;
    margin-left: auto;
    width: min(100%, 24rem);
    background: #ffffff;
    border: 1px solid rgba(2, 138, 250, 0.18);
    box-shadow: var(--shadow-strong);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 2.4vh, 1.7rem);
}

.hero__panel h2 {
    font-family: "Epilogue", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 1rem;
}

.hero__panel ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.hero__panel li {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.hero__panel li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hero__panel strong {
    display: block;
    margin-bottom: 0.2rem;
}

.info-strip {
    margin-top: -1.2rem;
    position: relative;
    z-index: 2;
}

.info-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.info-tile {
    background: #ffffff;
    border: 1px solid rgba(2, 138, 250, 0.14);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow-soft);
}

.info-tile strong {
    display: block;
    margin-bottom: 0.35rem;
}

.grid-3,
.grid-2 {
    display: grid;
    gap: 1.3rem;
}

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

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

.card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(2, 138, 250, 0.14);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.card h3,
.card h4 {
    margin-bottom: 0.75rem;
    overflow-wrap: anywhere;
}

.card ul {
    display: grid;
    gap: 0.55rem;
}

.card--dark {
    background:
        linear-gradient(180deg, rgba(17, 198, 211, 0.08), transparent 44%),
        var(--surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card--dark h3,
.card--dark p,
.card--dark li,
.card--dark strong {
    color: rgba(255, 255, 255, 0.9);
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.35rem;
    border-radius: 999px;
    background: rgba(2, 138, 250, 0.12);
    color: var(--accent-dark);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card {
    height: 100%;
}

.service-card__icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: rgba(2, 138, 250, 0.12);
    color: var(--accent-dark);
    font-weight: 700;
}

.service-card__foot {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.94rem;
}

.step-list {
    counter-reset: step;
    display: grid;
    gap: 1rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--surface-dark);
    color: #fff;
    font-family: "Anton", sans-serif;
    font-size: 1.1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.step p {
    color: var(--text-soft);
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
}

.visual-panel {
    min-height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.visual-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: grid;
    gap: 0.25rem;
    padding-left: 1.2rem;
    position: relative;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

.scope-note {
    display: grid;
    gap: 0.6rem;
    padding: 1.35rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(17, 23, 35, 0.94);
    box-shadow: var(--shadow-strong);
}

.scope-note strong,
.scope-note p {
    color: rgba(255, 255, 255, 0.92);
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(2, 138, 250, 0.14);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.2rem 1.35rem;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--accent);
    font-size: 1.25rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item__content {
    padding: 0 1.35rem 1.35rem;
}

.quote-band {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(17, 198, 211, 0.12), transparent 54%),
        linear-gradient(180deg, #26221e 0%, #171513 100%);
}

.quote-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.quote-band .container {
    position: relative;
}

.quote-band p,
.quote-band li,
.quote-band h2,
.quote-band h3,
.quote-band strong {
    color: rgba(255, 255, 255, 0.92);
}

.quote-band .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.quote-band .eyebrow::before {
    background: currentColor;
}

.quote-band .step h3 {
    color: var(--text);
}

.quote-band .step p {
    color: var(--text-soft);
}

.team-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}

.team-card {
    display: grid;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.3rem);
}

.team-card__image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.team-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__content h3 {
    margin-bottom: 0.55rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}

.contact-grid--details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-card {
    height: 100%;
}

.contact-card a {
    color: var(--accent-dark);
    font-weight: 700;
}

.contact-grid .card p,
.contact-grid .card a,
.card p,
.card li {
    overflow-wrap: anywhere;
}

.cta-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.cta-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.cta-stack--inline {
    margin-top: 0.4rem;
}

.inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.4rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(2, 138, 250, 0.08);
    border: 1px solid rgba(2, 138, 250, 0.16);
}

.inline-cta h3,
.inline-cta p {
    margin: 0;
}

.inline-cta p {
    margin-top: 0.25rem;
}

.legal-content {
    display: grid;
    gap: 1.6rem;
}

.legal-content section {
    padding: 1.4rem 1.5rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid rgba(2, 138, 250, 0.14);
    box-shadow: var(--shadow-soft);
}

.legal-content h2 {
    font-family: "Epilogue", sans-serif;
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
}

.legal-document {
    padding: clamp(1.2rem, 3vw, 2.2rem);
    border: 1px solid rgba(15, 23, 32, 0.1);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.legal-document > :first-child {
    margin-top: 0;
}

.legal-document > :last-child {
    margin-bottom: 0;
}

.legal-document h2 {
    margin: 2.5rem 0 0.9rem;
    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.3;
}

.legal-document h3 {
    margin: 1.8rem 0 0.7rem;
    color: var(--text);
    font-family: "Epilogue", sans-serif;
    font-size: 1.05rem;
    line-height: 1.4;
}

.legal-document p,
.legal-document li {
    color: var(--text-soft);
    line-height: 1.65;
}

.legal-document p {
    margin: 0 0 1rem;
}

.legal-document ul,
.legal-document ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.legal-document li + li {
    margin-top: 0.35rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1rem 0 0;
    font-size: 0.95rem;
    color: var(--text-soft);
}

.breadcrumb a {
    color: var(--accent-dark);
}

.footer {
    padding: 3rem 0 2rem;
    background: #101722;
    color: rgba(255, 255, 255, 0.9);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer__brand img {
    width: 150px;
    margin-bottom: 1rem;
}

.footer h2,
.footer h3,
.footer p,
.footer li,
.footer a,
.footer strong {
    color: rgba(255, 255, 255, 0.88);
}

.footer h3 {
    font-family: "Epilogue", sans-serif;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.footer__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.64);
}

.footer__meta p {
    color: inherit;
    margin: 0;
}

.internal-hero {
    padding: clamp(3rem, 6vw, 4.8rem) 0 2rem;
}

.internal-hero__box {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) + 6px);
    padding: clamp(2rem, 5vw, 4rem);
    background: #ffffff;
    border: 1px solid rgba(2, 138, 250, 0.16);
    box-shadow: var(--shadow-soft);
}

.internal-hero__box p {
    max-width: 48rem;
    font-size: 1.06rem;
}

.internal-hero__box h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(2, 138, 250, 0.09);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.accent-link {
    color: var(--accent-dark);
    font-weight: 700;
}

.references-list {
    display: grid;
    gap: 0;
}

.reference-entry {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    border-top: 1px solid var(--line);
}

.reference-entry:nth-child(even) {
    background: transparent;
}

.reference-entry__inner {
    display: grid;
    gap: 1.15rem;
}

.reference-entry__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reference-entry__head h2 {
    margin-bottom: 0;
}

.reference-entry__date {
    margin: 0;
    font-size: 0.92rem;
}

.reference-entry__summary {
    font-size: 1.02rem;
    margin-bottom: 0;
    max-width: 52rem;
}

.reference-entry__more {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.reference-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.reference-gallery__item.is-collapsed {
    display: none;
}

.reference-gallery__link {
    display: block;
    height: 100%;
}

.reference-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(2, 138, 250, 0.08);
}

.reference-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.reference-gallery__link:hover img,
.reference-gallery__link:focus-visible img {
    transform: scale(1.03);
}

.reference-gallery__toggle {
    justify-self: start;
}

.reference-entry__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 0.8rem;
    padding: 1.35rem 1.45rem;
    border-radius: var(--radius-md);
    background: var(--surface-dark);
}

.reference-entry__cta h3,
.reference-entry__cta p {
    color: rgba(255, 255, 255, 0.92);
}

.reference-entry__cta h3,
.reference-entry__cta p {
    margin-bottom: 0;
}

.reference-entry__cta p {
    margin-top: 0.3rem;
    max-width: 42rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 1.4rem;
}

.contact-form-card,
.map-card {
    height: 100%;
}

.contact-form-card {
    padding: clamp(1.4rem, 3vw, 2.5rem) 0;
}

.map-card {
    padding: clamp(1.4rem, 2.4vw, 2rem);
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid rgba(2, 138, 250, 0.14);
}

.contact-form {
    display: grid;
    gap: 1.2rem;
}

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

.field-full {
    grid-column: 1 / -1;
}

.contact-form label,
.name-field {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--text);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="file"],
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 33, 49, 0.14);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    font: inherit;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form input[type="file"] {
    padding: 0.7rem;
    cursor: pointer;
}

.contact-form input[type="file"]::file-selector-button {
    margin-right: 0.9rem;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.15rem;
    font: inherit;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form input[type="file"]::file-selector-button:hover {
    background: var(--accent-dark);
}

.name-field__inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.name-field__column {
    display: grid;
    gap: 0.45rem;
}

.form-error {
    color: #a32626;
    font-size: 0.92rem;
    font-weight: 600;
}

.has-error input,
.has-error textarea {
    border-color: rgba(163, 38, 38, 0.45);
}

.form-status {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    font-weight: 600;
}

.form-status--success {
    background: rgba(31, 106, 69, 0.1);
    color: var(--success);
}

.form-status--error {
    background: rgba(163, 38, 38, 0.1);
    color: #8c2323;
}

.form-note,
.file-note {
    font-size: 0.94rem;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.recaptcha-note {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.map-embed {
    display: grid;
    gap: 1rem;
}

.map-embed iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 22px;
}

.consent-placeholder {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px dashed rgba(2, 138, 250, 0.35);
    border-radius: 22px;
    background: rgba(2, 138, 250, 0.06);
}

.consent-placeholder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

#kontaktformular {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
}

.consent-banner__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem 1.3rem;
    border-radius: 24px;
    background: rgba(20, 24, 31, 0.96);
    color: #fff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.consent-banner__copy strong,
.consent-banner__copy p {
    color: #fff;
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 21, 0.72);
}

.footer-settings-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font: inherit;
    cursor: pointer;
}

.footer-settings-button:hover,
.footer-settings-button:focus-visible {
    color: #fff;
}

.gallery-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 4rem 1rem;
}

.gallery-modal__figure {
    margin: 0;
    width: min(100%, 1100px);
    max-height: calc(100vh - 8rem);
}

.gallery-modal__figure img {
    width: 100%;
    max-height: calc(100vh - 8rem);
    object-fit: contain;
    border-radius: 20px;
}

.gallery-modal__close,
.gallery-modal__nav {
    position: absolute;
    z-index: 2;
    border: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.gallery-modal__close {
    top: 1.4rem;
    right: 1.4rem;
}

.gallery-modal__nav--prev {
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-modal__nav--next {
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
}

.page-frame {
    min-height: 100vh;
}

.reveal-up {
    animation: reveal-up 0.72s ease both;
}

.reveal-up:nth-child(2) {
    animation-delay: 0.08s;
}

.reveal-up:nth-child(3) {
    animation-delay: 0.16s;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1040px) {
    .hero__inner,
    .split-panel,
    .footer__grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero__panel {
        margin-left: 0;
        width: 100%;
        max-width: 32rem;
    }

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

    .contact-grid,
    .grid-2,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .brand img {
        width: 104px;
    }

    .brand__subline {
        display: none;
    }

    .brand__name {
        font-size: 0.82rem;
    }

    .site-nav ul {
        gap: 0.7rem;
    }

    .site-nav ul a {
        font-size: 0.86rem;
    }

    .header-cta {
        min-height: 3.05rem;
        padding: 0.82rem 1.35rem;
        font-size: 0.82rem;
    }
}

@media (max-height: 860px) and (min-width: 761px) {
    .hero {
        height: auto;
        min-height: calc(100svh - var(--header-height));
        max-height: none;
    }

    .hero__inner {
        height: auto;
        min-height: calc(100svh - var(--header-height));
        grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.72fr);
        align-content: center;
        gap: 1.4rem;
        padding-block: 1.3rem;
    }

    .hero__content {
        padding: 0;
    }

    .hero__content h1 {
        font-size: clamp(2.35rem, 5.3vw, 4.15rem);
        line-height: 1.12;
    }

    .hero__content p {
        font-size: clamp(1rem, 1.55vw, 1.12rem);
        max-width: 34rem;
    }

    .hero__actions {
        gap: 0.8rem;
        margin-top: 0.85rem;
    }

    .hero__panel {
        width: min(100%, 21.5rem);
        padding: 0.95rem 1.1rem;
    }

    .hero__panel ul {
        gap: 0.7rem;
    }

    .hero__panel li {
        padding-bottom: 0.7rem;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 84px;
    }

    html.js-enabled .nav-toggle {
        display: inline-flex;
    }

    html.js-enabled .site-nav {
        position: absolute;
        left: 1.2rem;
        right: 1.2rem;
        top: calc(100% + 0.5rem);
        display: none;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(2, 138, 250, 0.14);
        box-shadow: var(--shadow-soft);
    }

    html.js-enabled .site-nav.is-open {
        display: block;
    }

    html.js-enabled .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    html.js-enabled .site-nav li,
    html.js-enabled .site-nav a,
    html.js-enabled .site-nav .header-cta {
        width: 100%;
    }

    html.js-enabled .site-nav .header-cta {
        margin-top: 0.5rem;
        justify-content: center;
    }

    .site-header__inner {
        align-items: center;
    }

    .brand__text {
        display: grid;
    }

    .brand img {
        width: 96px;
    }

    .hero__content {
        padding-bottom: 0;
    }

    .hero {
        height: auto;
        min-height: calc(100svh - var(--header-height));
        max-height: none;
    }

    .hero__inner {
        height: auto;
        min-height: calc(100svh - var(--header-height));
        gap: 1.4rem;
        padding-block: 1.8rem 1.6rem;
    }

    .hero__content h1 {
        font-size: clamp(2.15rem, 9vw, 3rem);
    }

    .hero__actions {
        gap: 0.8rem;
        margin-top: 0.9rem;
    }

    .hero__panel {
        transform: none;
    }

    .hero__actions,
    .cta-stack {
        flex-direction: column;
    }

    .hero__actions .button,
    .cta-stack .button {
        width: 100%;
    }

    .internal-hero__box {
        padding: 1.6rem 1.3rem;
    }

    .internal-hero__box h1 {
        font-size: clamp(1.72rem, 7.2vw, 2.35rem);
        line-height: 1.08;
    }

    .internal-hero__box p {
        font-size: 0.98rem;
    }

    .field-grid,
    .name-field__inputs {
        grid-template-columns: 1fr;
    }

    .consent-banner__inner,
    .consent-placeholder__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .consent-banner__actions .button,
    .consent-placeholder__actions .button {
        width: 100%;
    }

    .info-strip__grid,
    .grid-3,
    .footer__grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer__meta {
        flex-direction: column;
    }

    .reference-entry__head {
        flex-direction: column;
    }
}

/* Progressive reveal only applies when JavaScript is available. */
html.js-enabled .reveal-up,
html.js-enabled .section-head {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js-enabled .reveal-up.is-revealed,
html.js-enabled .section-head.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-height: 860px) and (min-width: 761px) {
    .hero {
        height: calc(100dvh - var(--header-height));
        min-height: 0;
        max-height: none;
    }

    .hero__inner {
        height: 100%;
        min-height: 0;
        grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.7fr);
        gap: clamp(1rem, 2vw, 1.7rem);
        padding-block: clamp(0.8rem, 1.8vh, 1.25rem);
    }

    .hero__content h1 {
        font-size: clamp(2.2rem, 4.6vw, 3.7rem);
        line-height: 1.08;
    }

    .hero__content p {
        font-size: clamp(0.95rem, 1.35vw, 1.06rem);
        line-height: 1.45;
        margin-bottom: 0;
    }

    .hero__actions {
        margin-top: 0.75rem;
    }

    .hero__actions .button {
        min-height: 3rem;
        padding: 0.75rem 1.15rem;
    }

    .hero__panel {
        width: min(100%, 20rem);
        padding: 0.9rem 1rem;
    }

    .hero__panel h2 {
        margin-bottom: 0.65rem;
    }

    .hero__panel ul {
        gap: 0.5rem;
    }

    .hero__panel li {
        padding-bottom: 0.5rem;
        font-size: 0.9rem;
        line-height: 1.35;
    }
}

@media (max-width: 1040px) {
    .contact-grid--details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    :root {
        --header-height: 74px;
    }

    .site-header__inner {
        padding-block: 0.25rem;
    }

    .brand {
        gap: 0;
    }

    .brand__text {
        display: none;
    }

    .brand__logo-frame {
        padding: 0.3rem 0.48rem;
        border-radius: 14px;
    }

    .brand img {
        width: 76px;
    }

    .hero {
        height: calc(100dvh - var(--header-height));
        min-height: 0;
        max-height: none;
    }

    .hero__media img {
        object-position: center;
        transform: scale(1.01);
    }

    .hero__inner {
        height: 100%;
        min-height: 0;
        align-content: end;
        gap: 0;
        padding-block: 1.35rem 1.1rem;
    }

    .hero__content {
        max-width: 33rem;
        padding: 0;
    }

    .hero__content .eyebrow {
        margin-bottom: 0.65rem;
        font-size: 0.72rem;
    }

    .hero__content h1 {
        max-width: 12ch;
        font-size: clamp(2.1rem, 9.1vw, 2.9rem);
        line-height: 1.04;
        margin-bottom: 0.7rem;
    }

    .hero__content p,
    .hero__panel {
        display: none;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        margin-top: 0;
    }

    .hero__actions .button {
        width: 100%;
        min-height: 3.05rem;
        padding: 0.7rem 0.8rem;
        font-size: 0.88rem;
    }

    .pill-list--balanced {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .pill-list--balanced .pill {
        justify-content: center;
        min-height: 3.1rem;
        padding: 0.55rem 0.7rem;
        text-align: center;
        line-height: 1.25;
    }

    .contact-grid--details,
    .reference-gallery {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding-top: 0;
    }

    .contact-layout {
        gap: 2.5rem;
    }

    .team-card__image-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 22px;
    }

    .inline-cta,
    .reference-entry__cta {
        align-items: stretch;
        flex-direction: column;
    }

    .inline-cta .button,
    .reference-entry__cta .button {
        width: 100%;
    }

    .reference-entry {
        padding-block: 3rem;
    }

    .reference-gallery__item img {
        min-height: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
