:root {
    --ink: #182f40;
    --muted: #536575;
    --accent: #0967a6;
    --pale: #f0f6fa;
    --line: #dce6ed;
    --wrap: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: white; font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
p { margin: 0 0 24px; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(52px, 7.4vw, 108px); font-weight: 500; }
h2 { font-size: clamp(32px, 3.4vw, 49px); font-weight: 500; }
h3 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
.wrap { width: min(var(--wrap), calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 16px; padding: 12px; background: white; z-index: 20; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
header { position: sticky; top: 0; z-index: 10; background: white; border-bottom: 1px solid var(--line); }
.nav { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { width: 236px; height: auto; }
nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
nav > a:not(.button), .text-link, footer a, .hero-bottom a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color .2s; }
nav > a:hover, .text-link:hover, footer a:hover, .hero-bottom a:hover { text-decoration-color: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 15px 27px; background: var(--accent); color: white; border-radius: 4px; font-size: 16px; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { background: #084e7b; transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button.small { min-height: 46px; padding: 10px 22px; }
.menu-toggle { display: none; }
.eyebrow { margin-bottom: 28px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .13em; }
.hero { background: var(--pale); }
.hero-layout { min-height: min(800px, calc(100svh - 100px)); display: grid; grid-template-columns: 1.02fr 1fr; }
.hero-copy { padding: 80px 52px 38px 0; align-self: center; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 380px; margin: 30px 0 32px; font-size: 20px; line-height: 1.55; }
.hero-bottom { margin-top: 68px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.hero-bottom span { color: var(--muted); }
.hero-bottom a { width: fit-content; }
.hero-image { position: relative; min-width: 0; overflow: hidden; margin: 28px 0; border-radius: 5px; }
.hero-image > img { height: 100%; width: 100%; object-fit: cover; object-position: 50% 50%; position: absolute; }
.image-label { position: absolute; bottom: 24px; left: 24px; background: white; padding: 10px 18px; font-size: 14px; }
section:not(.hero):not(.page-heading) { padding-block: 112px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-bottom: 60px; }
.section-head p:last-child { margin: 0; }
.section-head h2 { max-width: 540px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 34px 30px; background: white; border: 1px solid var(--line); border-radius: 5px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s, border-color .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-2px); border-color: #83b2d1; box-shadow: 0 12px 30px #183f5e0b; }
.service-card img { margin-bottom: 32px; }
.service-card h3 { margin-bottom: 18px; }
.service-card p { font-size: 16px; }
.text-link { color: var(--accent); font-size: 15px; font-weight: 600; padding-block: 8px; }
.service-card .text-link { margin-top: auto; }
.service-note { max-width: 900px; margin: 44px 0 0; }
.values { background: var(--pale); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.benefits article { border-top: 1px solid #c6d9e6; padding-top: 28px; }
.check { display: inline-flex; color: var(--accent); margin-bottom: 22px; font-size: 24px; }
.benefits h3 { margin-bottom: 18px; }
.benefits p { font-size: 16px; margin: 0; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.about-photo { overflow: hidden; border-radius: 5px; height: 650px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.about-photo:hover img { transform: scale(1.025); }
.about h2 { margin-bottom: 30px; }
.about p:not(.eyebrow) { font-size: 16px; }
.contact-band { background: #075d94; color: white; }
.contact-band .wrap { max-width: 1000px; text-align: center; }
.contact-band .eyebrow { color: #c6e4f8; }
.contact-band h2 { font-size: clamp(32px, 4vw, 56px); }
.contact-actions { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 38px; }
.light { background: white; color: #075d94; }
.light:hover { background: #e6f2fa; }
.phone { font-size: 22px; }
footer { padding: 80px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 80px; }
.footer-grid p { font-size: 15px; margin-top: 24px; }
.footer-grid h3 { font-size: 16px; margin-bottom: 22px; }
.footer-grid > div > a:not(:has(img)) { display: block; margin-block: 7px; font-size: 15px; color: var(--muted); }
.legal { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.legal div { display: flex; gap: 24px; }
.page-heading { background: var(--pale); padding: 80px 0; }
.page-heading h1 { font-size: clamp(42px, 6vw, 78px); margin-top: 30px; overflow-wrap: break-word; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.article-content { max-width: 860px; }
.article-content h2 { font-size: 32px; margin: 50px 0 22px; }
.article-content h2:first-child { margin-top: 0; }
.article-content p { overflow-wrap: break-word; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; }
.contact-grid h2 { margin-bottom: 24px; }
.large-link { display: block; font-size: clamp(22px, 3vw, 36px); color: var(--accent); margin-bottom: 10px; }
.contact-address h3 { margin: 20px 0; }
@media (max-width: 1050px) {
    .wrap { width: calc(100% - 64px); }
    nav { gap: 22px; }
    .logo { width: 200px; }
    .hero-copy { padding-right: 28px; }
    .section-head, .about-layout { gap: 40px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { gap: 32px; }
}
@media (max-width: 700px) {
    .wrap { width: calc(100% - 40px); }
    .nav { min-height: 80px; }
    .logo { width: 190px; }
    .menu-toggle { display: block; background: white; color: var(--ink); padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; }
    nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: white; padding: 24px; border-bottom: 1px solid var(--line); }
    nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
    .hero-layout { display: flex; flex-direction: column; min-height: auto; }
    .hero-copy { padding: 48px 0 36px; }
    .eyebrow { font-size: 11px; margin-bottom: 24px; }
    h1 { font-size: clamp(56px, 16vw, 88px); }
    .hero-description { font-size: 18px; max-width: 310px; margin-block: 24px; }
    .hero-bottom { margin-top: 30px; }
    .hero-bottom span { display: none; }
    .hero-image { height: 350px; margin: 0 0 20px; }
    section:not(.hero):not(.page-heading) { padding-block: 68px; }
    .section-head, .about-layout, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-head { margin-bottom: 36px; }
    h2 { font-size: 34px; }
    .service-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { padding: 28px; }
    .service-card img { margin-bottom: 24px; }
    .benefits { gap: 30px 24px; }
    .benefits h3 { font-size: 21px; }
    .about-photo { height: 380px; }
    .contact-actions { flex-direction: column; gap: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    footer { padding-top: 50px; }
    .legal { flex-direction: column; gap: 15px; }
    .page-heading { padding-block: 50px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Entrance motion is limited to the first screen; content stays visible. */
@media (prefers-reduced-motion: no-preference) {
    .hero-copy { animation: arrive .7s ease-out both; }
    .hero-image { animation: arrive .9s ease-out both; }
    @keyframes arrive {
        from { opacity: .2; transform: translateY(16px); }
        to { opacity: 1; transform: translateY(0); }
    }
}


/* Responsive justified copy with Swiss German discretionary hyphenation. */
p:not(.eyebrow),
.article-content li {
    text-align: justify;
    text-align-last: start;
    text-justify: inter-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: left;
    text-align-last: left;
}

p:not(.eyebrow),
h1,
h2,
h3,
h4,
h5,
h6,
.article-content li {
    -webkit-hyphens: manual;
    hyphens: manual;
    hyphenate-limit-chars: 8 3 3;
    hyphenate-limit-lines: 2;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Keep contact details and controls intact when space becomes tight. */
a[href^="mailto:"],
a[href^="tel:"],
button,
.button,
.eyebrow {
    -webkit-hyphens: none;
    hyphens: none;
}


/* Link feedback expands from the centre without changing the layout. */
a[href] {
    position: relative;
    isolation: isolate;
}

a[href]::before,
a[href]::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
    transform-origin: center;
    transition:
        transform 420ms cubic-bezier(.16, 1, .3, 1),
        opacity 280ms ease-out;
}

a[href]::after {
    inset: -4px -6px;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgb(9 103 166 / 15%), rgb(9 103 166 / 4%) 65%, transparent 85%);
    opacity: 0;
    transform: scale(.05, .4);
}

a[href]::before {
    right: 0;
    bottom: -3px;
    left: 0;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0);
}

a[href]:is(:hover, :focus-visible)::after {
    opacity: 1;
    transform: scale(1);
}

a[href]:is(:hover, :focus-visible)::before {
    opacity: .65;
    transform: scaleX(1);
}

a.button::after,
a.service-card::after {
    inset: 0;
}

a.button::before,
a.service-card::before {
    right: 18px;
    bottom: 9px;
    left: 18px;
}

nav > a[href],
footer a[href],
a.text-link,
.hero-bottom a[href] {
    text-decoration: none;
}

/* Overscan keeps both photograph edges covered during stronger parallax. */
.hero-image.parallax-frame,
.about-photo.parallax-frame {
    position: relative;
    overflow: hidden;
}

.parallax-frame > img {
    position: absolute;
    top: -22%;
    left: 0;
    width: 100%;
    height: 144%;
    max-width: none;
    object-fit: cover;
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    transition: none;
}

.about-photo.parallax-frame:hover > img {
    transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.parallax-frame.is-parallax-visible > img {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    a[href]::before,
    a[href]::after {
        transition: none;
    }

    .parallax-frame > img,
    .about-photo.parallax-frame:hover > img {
        top: 0;
        height: 100%;
        transform: none;
        will-change: auto;
    }
}



/* Search-friendly supporting content follows the existing typography. */
.hero-location {
    max-width: 390px;
    margin: -12px 0 28px;
    font-size: 16px;
}

.services-overview h2 {
    margin-bottom: 24px;
}

.services-overview .service-grid {
    margin-top: 40px;
}

.faq-section {
    background: var(--pale);
}

.faq-section article {
    margin-top: 32px;
}

.faq-section h3 {
    margin-bottom: 16px;
}

.service-contact {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

nav.breadcrumbs {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 700px) {
    .hero-location {
        margin-top: 0;
    }
}


/* Rounded image edges and a soft, offset shadow lift every visual. */
img {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgb(24 47 64 / 14%);
}

.hero-image,
.about-photo {
    border-radius: 10px;
    box-shadow: 0 14px 32px rgb(24 47 64 / 20%);
}

/* The parallax frame carries the visible corners and outer shadow. */
.hero-image > img,
.about-photo > img {
    box-shadow: none;
}


/* Large photograph heroes across service, company and legal pages. */
.page-hero {
    padding-block: 36px;
}

.page-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
    min-height: 560px;
}

.page-hero-copy {
    min-width: 0;
    padding-block: 36px;
}

.page-hero h1 {
    margin-top: 32px;
    font-size: clamp(40px, 4.8vw, 68px);
}

.page-hero-media {
    position: relative;
    height: 560px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgb(24 47 64 / 20%);
}

.page-hero-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: none;
}

/* Extra image height covers the stronger scroll travel at every position. */
.parallax-frame > img {
    top: -35%;
    height: 170%;
}

@media (max-width: 1050px) {
    .page-hero-layout {
        gap: 32px;
    }
}

@media (max-width: 700px) {
    .page-hero {
        padding-block: 24px;
    }

    .page-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        min-height: 0;
    }

    .page-hero-copy {
        padding-block: 16px;
    }

    .page-hero-media {
        height: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .parallax-frame > img {
        top: 0;
        height: 100%;
        transform: none;
    }
}
