:root {
    --navy: #102438;
    --ink: #182e42;
    --muted: #546575;
    --paper: #f5f6f7;
    --line: #d5dde3;
    --blue: #075b87;
    --red: #a91b24;
    --green: #46671e;
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

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

button {
    font: inherit
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: Manrope, Arial, sans-serif
}

h1,
h2 {
    letter-spacing: -.055em
}

p {
    line-height: 1.75
}

::selection {
    background: #ced9ea;
    color: var(--navy)
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px
}

.wrap {
    width: min(1200px, calc(100% - 80px));
    margin: auto
}

.skip {
    position: absolute;
    top: -100px;
    left: 20px;
    padding: 12px;
    background: white;
    z-index: 50
}

.skip:focus {
    top: 12px
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245, 246, 247, .97);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 35px;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap
}

.mark {
    display: flex;
    gap: 5px;
    transform: skew(-22deg);
    align-items: center
}

.mark i {
    width: 7px;
    height: 29px;
    background: var(--blue)
}

.mark i:nth-child(2) {
    height: 36px;
    background: var(--red)
}

.mark i:nth-child(3) {
    height: 22px;
    background: var(--green)
}

.brand strong {
    font: 800 1.35rem Manrope, sans-serif;
    letter-spacing: -.06em
}

.brand small {
    display: block;
    font-size: .75rem;
    letter-spacing: .17em;
    margin-top: 1px
}

.links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-size: .9rem
}

.links a:hover {
    color: var(--blue)
}

.navcta {
    font-size: .875rem;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 7px;
    font-weight: 700
}

.menu {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    padding: 9px 12px;
    color: var(--ink)
}

.hero {
    background: var(--navy);
    color: white
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 65px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.6
}

.hero .eyebrow {
    color: #bdcbd8
}

.hero h1 {
    font-size: clamp(3rem, 5.4vw, 5rem);
    line-height: 1.1;
    margin: 27px 0
}

.hero h1 span {
    color: #aabed5
}

.hero .intro {
    font-size: 1.1rem;
    color: #d0dbe5;
    max-width: 555px
}

.actions {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    padding: 13px 22px;
    background: var(--navy);
    border: 1px solid var(--navy);
    color: white;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s
}

.hero .btn {
    background: #f5f6f7;
    color: var(--navy);
    border-color: #f5f6f7
}

.btn:hover {
    background: #2d4560
}

.hero .btn:hover {
    background: #d8e1eb
}

.textlink {
    font-size: .95rem;
    border-bottom: 1px solid #8499ad;
    padding: 7px 0
}

.portrait {
    position: relative;
    margin: 0;
    align-self: stretch;
    min-height: 510px;
    overflow: hidden;
    background: #23394a
}

.portrait img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: 50% 46%
}

.portrait:after {
    content: '';
    position: absolute;
    inset: 60% 0 0;
    background: linear-gradient(transparent, #071522ef)
}

.portrait figcaption {
    position: absolute;
    z-index: 1;
    bottom: 29px;
    left: 30px;
    right: 20px
}

.portrait strong {
    font: 700 1.6rem Manrope, sans-serif;
    letter-spacing: -.035em;
    display: block
}

.portrait small {
    display: block;
    font-size: .9rem;
    color: #dce5ed;
    margin-top: 5px
}

.hero-note {
    border-top: 1px solid #3c5064;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 0;
    color: #c0ceda;
    font-size: .875rem
}

.section {
    padding: 105px 0
}

.section-intro {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 50px
}

.section h2 {
    font-size: clamp(2.3rem, 3.8vw, 3.7rem);
    line-height: 1.15;
    margin: 17px 0 0
}

.section-intro>p {
    margin: 0;
    color: var(--muted);
    max-width: 400px
}

.service {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 70px;
    border-top: 1px solid var(--line);
    padding: 43px 0
}

.service:last-of-type {
    border-bottom: 1px solid var(--line)
}

.service .label {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px
}

.service .label:before {
    content: '';
    height: 24px;
    width: 3px;
    background: var(--blue)
}

.service.drawing .label:before {
    background: var(--red)
}

.service h3 {
    font-size: 2rem;
    letter-spacing: -.045em;
    line-height: 1.25;
    margin: 20px 0
}

.service .summary {
    color: var(--muted);
    max-width: 360px;
    margin: 0
}

.service-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 35px
}

.service-items h4 {
    font-size: 1rem;
    line-height: 1.45;
    margin: 0 0 6px;
    font-weight: 700
}

.service-items p {
    font-size: .95rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.7
}

.scope {
    margin: 27px 0 0;
    padding: 17px 20px;
    border-left: 2px solid var(--red);
    background: #e9edf1;
    line-height: 1.65;
    font-size: .9rem;
    color: #3b4e5f
}

.green {
    border-left: 2px solid var(--green);
    padding-left: 14px
}

.about {
    background: #e8edf1
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px
}

.about .lead {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 23px
}

.about p {
    color: #455b6e
}

.about .lead {
    color: var(--ink)
}

.about .signature {
    font: 600 1.05rem Manrope, sans-serif;
    color: var(--ink);
    margin-top: 28px
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    border-top: 1px solid #bfccd6
}

.fact {
    padding: 25px 20px 0 0
}

.fact b {
    display: block;
    font: 700 1.6rem Manrope, sans-serif;
    letter-spacing: -.045em
}

.fact span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
    margin-top: 7px;
    line-height: 1.5
}

.approach .section-intro {
    align-items: start
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.step {
    border-top: 1px solid #aebdcb;
    padding-top: 23px
}

.step .number {
    font-size: .85rem;
    color: #657b8e
}

.step h3 {
    font-size: 1.3rem;
    margin: 23px 0 12px;
    letter-spacing: -.025em
}

.step p {
    color: var(--muted);
    margin: 0;
    font-size: 1rem
}

.contact {
    background: var(--navy);
    color: white;
    padding: 85px 0
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: end
}

.contact h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    letter-spacing: -.055em;
    line-height: 1.14;
    margin: 18px 0
}

.contact p {
    color: #c4d2df;
    margin: 0;
    max-width: 420px
}

.contact .email {
    font: 600 clamp(1rem, 2.15vw, 1.6rem) Manrope, sans-serif;
    display: inline-block;
    padding: 16px 0;
    border-bottom: 1px solid #8fa6ba;
    overflow-wrap: anywhere
}

.contact .person {
    font-size: .875rem;
    color: #c4d2df;
    margin: 20px 0
}

.foot {
    background: var(--navy);
    color: #bccbd9;
    border-top: 1px solid #3b5063;
    padding: 27px 0;
    font-size: .875rem
}

.foot-row {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center
}

.foot a {
    border-bottom: 1px solid #5c7184;
    padding-bottom: 4px
}

.foot details {
    margin-top: 25px;
    border-top: 1px solid #3b5063;
    padding-top: 18px
}

.foot summary {
    cursor: pointer;
    width: fit-content;
    font-size: .875rem
}

.foot details p {
    max-width: 950px;
    font-size: .875rem;
    margin: 15px 0 0;
    color: #bccbd9
}

.foot details strong {
    color: #e7eef4
}

.legal-label {
    font-size: .8rem;
    letter-spacing: .04em
}

.links a,
.navcta,
.textlink {
    transition: color .15s
}

@media(max-width:1000px) {
    .wrap {
        width: calc(100% - 48px)
    }

    .hero-grid {
        gap: 35px
    }

    .hero h1 {
        font-size: 3.7rem
    }

    .portrait {
        min-height: 480px
    }

    .service,
    .about-grid,
    .section-intro {
        gap: 40px
    }

    .links {
        gap: 17px
    }

    .nav {
        gap: 20px
    }

    .contact-grid {
        gap: 40px
    }

    .steps {
        gap: 25px
    }
}

@media(max-width:760px) {
    .wrap {
        width: calc(100% - 36px)
    }

    .nav {
        height: 74px
    }

    .brand strong {
        font-size: 1.15rem
    }

    .brand small {
        font-size: .7rem
    }

    .navcta {
        display: none
    }

    .menu {
        display: block
    }

    .links {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        padding: 25px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0
    }

    .links.open {
        display: flex
    }

    .links a {
        padding: 12px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 48px 0 30px;
        gap: 35px
    }

    .hero h1 {
        font-size: clamp(2.7rem, 10vw, 4.3rem)
    }

    .hero .intro {
        font-size: 1rem
    }

    .portrait {
        height: 410px;
        min-height: 0;
        width: 100%
    }

    .portrait img {
        object-position: 50% 40%
    }

    .hero-note {
        flex-direction: column;
        gap: 9px
    }

    .section {
        padding: 65px 0
    }

    .section-intro,
    .service,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .section-intro {
        margin-bottom: 32px
    }

    .section-intro>p {
        max-width: none
    }

    .service {
        padding: 32px 0
    }

    .service h3 {
        font-size: 1.7rem;
        margin: 15px 0
    }

    .service .summary {
        max-width: none
    }

    .service-items {
        gap: 25px
    }

    .facts {
        grid-template-columns: 1fr 1fr;
        margin-top: 30px;
        row-gap: 10px
    }

    .fact b {
        font-size: 1.45rem
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 27px
    }

    .step h3 {
        margin: 12px 0 8px
    }

    .contact {
        padding: 60px 0
    }

    .contact .email {
        font-size: clamp(1rem, 4.8vw, 1.5rem)
    }

    .foot-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px
    }
}

@media(max-width:380px) {
    .service-items {
        grid-template-columns: 1fr
    }

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

    .portrait {
        height: 360px
    }
}

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

    * {
        transition: none !important
    }
}









.brand>.brand-symbol {
    display: block;
    width: 55px;
    height: auto;
    flex-shrink: 0
}

@media(max-width:760px) {
    .brand>.brand-symbol {
        width: 46px
    }
}


.hero .portrait {
    display: block;
    align-self: center;
    min-height: 0;
    height: auto;
    overflow: visible;
    background: transparent;
    width: 100%;
    margin: 0
}

.hero .portrait>img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: none;
    mask-image: none
}

.hero .portrait:after {
    display: none
}

.hero .portrait figcaption {
    position: static;
    text-align: center;
    padding: 22px 0 0;
    margin: 0
}

@media(max-width:760px) {
    .hero .portrait {
        max-width: 470px;
        margin: 0 auto
    }

    .hero .portrait figcaption {
        padding-top: 16px
    }

    .hero .portrait strong {
        font-size: 1.4rem
    }
}


.brand>.brand-symbol {
    width: 64px;
    height: auto
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px
}

.footer-brand img {
    display: block;
    width: 64px;
    height: auto;
    flex-shrink: 0
}

.brand strong {
    letter-spacing: .06em
}

.hero h1 {
    font-size: clamp(2.6rem, 4.6vw, 4.25rem)
}

.email-reveal {
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    color: inherit;
    cursor: pointer;
    text-align: left;
    overflow-wrap: anywhere;
    max-width: 100%
}

.brand {
    flex-shrink: 0
}

.brand>.header-logo {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto
}

@media(min-width:761px) and (max-width:1050px) {
    .navcta {
        display: none
    }

    .brand>.header-logo {
        width: 250px
    }
}

@media(max-width:760px) {
    .brand>.header-logo {
        width: clamp(190px, 56vw, 250px)
    }
}


.competence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start
}

.competence-card {
    --accent: #075b87;
    --tint: #edf5fa;
    background: #fff;
    border: 1px solid #dce3e8;
    border-top: 5px solid var(--accent);
    padding: 28px 25px 25px;
    min-width: 0
}

.competence-card.engineering {
    --accent: #a91b24;
    --tint: #fcf0f0
}

.competence-card.environment {
    --accent: #46671e;
    --tint: #f2f6eb
}

.competence-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px
}

.competence-number {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em
}

.competence-line {
    height: 1px;
    background: var(--accent);
    opacity: .25;
    flex: 1
}

.competence-card h3 {
    font-size: 1.35rem;
    letter-spacing: -.035em;
    line-height: 1.3;
    color: var(--accent);
    margin: 0 0 22px;
    min-height: 3.5em;
    overflow-wrap: normal;
    hyphens: auto
}

.competence-heading {
    font: 700 1.15rem/1.45 Manrope, sans-serif;
    letter-spacing: -.025em;
    margin: 0 0 16px
}

.competence-intro {
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.7;
    margin-bottom: 24px;
    min-height: 10.2em
}

.competence-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.competence-list li {
    padding: 18px 0;
    border-top: 1px solid #e1e7eb
}

.competence-card h4 {
    font-size: .95rem;
    line-height: 1.5;
    margin: 0 0 6px
}

.competence-list p,
.competence-more p {
    font-size: .9rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 0
}

.competence-more {
    background: var(--tint);
    margin-top: 10px
}

.competence-more summary {
    cursor: pointer;
    padding: 15px;
    color: var(--accent);
    font-size: .9rem;
    font-weight: 700
}

.competence-more>div {
    padding: 0 15px 18px
}

.competence-more h4 {
    margin-top: 16px
}

.competence-scope {
    font-size: .77rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 18px 0 0;
    padding-left: 12px;
    border-left: 2px solid var(--accent)
}

.competence-contact {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--accent);
    font-size: .9rem;
    font-weight: 700;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #e1e7eb
}

.competence-contact:hover {
    text-decoration: underline
}

.competence-bridge {
    font-size: .95rem;
    color: var(--muted);
    text-align: center;
    max-width: 760px;
    margin: 30px auto 0
}

@media(max-width:1050px) {
    .competence-grid {
        grid-template-columns: 1fr
    }

    .competence-card {
        padding: 28px
    }

    .competence-card h3,
    .competence-intro {
        min-height: 0
    }

    .competence-card h3 {
        font-size: 1.6rem
    }

    .competence-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 28px
    }

    .competence-intro {
        max-width: 740px
    }
}

@media(max-width:540px) {
    .competence-list {
        grid-template-columns: 1fr
    }

    .competence-card {
        padding: 24px 21px
    }

    .competence-card h3 {
        font-size: 1.4rem
    }

    .competence-bridge {
        text-align: left
    }
}


.competence-grid {
    grid-template-columns: 1fr;
    gap: 28px
}

.competence-card {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 52px;
    padding: 38px 36px;
    border-top: 1px solid #dce3e8;
    border-left: 5px solid var(--accent)
}

.competence-card h3 {
    font-size: 1.75rem;
    min-height: 0;
    margin-bottom: 24px
}

.competence-intro {
    min-height: 0;
    margin-bottom: 0
}

.competence-top {
    margin-bottom: 18px
}

.competence-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 5px
}

.competence-list li {
    padding: 18px 0
}

.competence-more {
    margin-top: 18px
}

.competence-contact {
    width: fit-content;
    min-width: 220px
}

.competence-heading {
    font-size: 1.2rem
}

.competence-content {
    min-width: 0
}

@media(max-width:850px) {
    .competence-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px
    }

    .competence-card h3 {
        font-size: 1.5rem
    }
}

@media(max-width:540px) {
    .competence-card {
        padding: 24px 21px
    }

    .competence-list {
        grid-template-columns: 1fr
    }

    .competence-card h3 {
        font-size: 1.4rem
    }
}

.language-wrap {
    border-left: 1px solid #c8d1d9;
    padding-left: 25px;
    margin-left: 3px;
    flex-shrink: 0
}

.language-picker {
    position: relative
}

.language-picker summary {
    display: flex;
    align-items: center;
    gap: 9px;
    list-style: none;
    cursor: pointer;
    padding: 10px 0;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink)
}

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

.language-chevron {
    font-size: 1rem;
    margin-left: 2px
}

.language-picker[open] .language-chevron {
    transform: rotate(180deg)
}

.language-options {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px #10243814;
    padding: 8px;
    z-index: 30
}

.language-options>span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    font-size: .9rem
}

.language-options b {
    font-size: .75rem;
    letter-spacing: .04em;
    min-width: 24px
}

.language-current {
    background: #edf2f6;
    font-weight: 600
}

.language-current>span {
    margin-left: auto
}

.language-unavailable {
    color: #657381
}

.language-options small {
    display: block;
    font-size: .72rem;
    margin-top: 3px;
    color: #657381
}

@media(max-width:1000px) {
    .language-wrap {
        padding-left: 18px;
        margin-left: 0
    }
}

@media(max-width:760px) {
    .language-wrap {
        margin-left: auto;
        padding-left: 14px
    }

    .nav {
        gap: 14px
    }

    .brand>.header-logo {
        width: clamp(140px, 44vw, 250px)
    }

    .language-picker summary {
        gap: 6px
    }

    .language-options {
        right: -57px
    }

    .language-picker summary svg {
        display: none
    }
}

@media(max-width:760px) {
    .nav>.language-wrap {
        display: none
    }

    .links>.language-wrap {
        display: block;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 15px 0 0;
        margin: 12px 0 0
    }

    .links .language-picker summary {
        display: none
    }

    .links .language-options {
        display: flex;
        flex-wrap: wrap;
        position: static;
        width: 100%;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding: 0;
        gap: 8px
    }

    .links .language-options>span {
        padding: 10px 12px;
        gap: 8px
    }

    .links .language-current {
        border-radius: 2px
    }

    .links .language-current>span {
        margin-left: 8px
    }

    .links .language-options small {
        font-size: .65rem
    }

    .nav>.menu {
        margin-left: auto
    }

    .brand>.header-logo {
        width: clamp(190px, 56vw, 250px)
    }
}

.footer-legal {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #3b5063
}

.imprint {
    max-width: 850px
}

.imprint h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    margin-bottom: 40px
}

.imprint h2 {
    font-size: 1.25rem;
    letter-spacing: -.02em;
    margin: 32px 0 12px
}

.imprint p,
.imprint li {
    line-height: 1.8
}

.imprint a {
    text-decoration: underline;
    overflow-wrap: anywhere
}

.imprint .email {
    font-size: 1rem
}

.imprint ul {
    padding-left: 22px
}

.phone-reveal {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    padding: 5px 0;
    cursor: pointer;
    text-align: left
}

.phone-reveal:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px
}

.phone-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px
}

input,
select,
textarea {
    font: inherit
}

.about {
    background: #eef1f4
}

.competence-card.organisation {
    --accent: var(--blue)
}

.competence-card.engineering {
    --accent: var(--red)
}

.competence-card.environment {
    --accent: var(--green)
}

.imprint h1,
.imprint h2 {
    color: var(--ink)
}

.imprint a:hover {
    color: var(--blue)
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #6d8295;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 5px 18px #10243826;
    cursor: pointer;
    transition: background .2s, transform .2s
}

.back-top[hidden] {
    display: none
}

.back-top:hover {
    background: #2d4560;
    transform: translateY(-3px)
}

.back-top:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px
}

.foot {
    padding-bottom: 85px
}

@media(max-width:760px) {
    .back-top {
        right: 18px;
        bottom: calc(18px + env(safe-area-inset-bottom));
        width: 44px;
        height: 44px
    }
}

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

    .back-top {
        transition: none
    }
}

.imprint .page-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    padding: 6px 0;
    color: var(--muted);
    font-size: .9rem;
    text-decoration: none
}

.imprint .page-back:hover {
    color: var(--blue);
    text-decoration: underline
}

.footer-language {
    display: flex;
    gap: 18px;
    margin-top: 20px
}

.language-options>a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    font-size: .9rem
}

.language-options>a:hover {
    background: #edf2f6
}

.language-current {
    background: #edf2f6
}

.language-options a small {
    display: none
}

@media(max-width:760px) {
    .links .language-options>a {
        padding: 10px 12px;
        gap: 8px
    }
}

/* Language dropdown: overlay panel, independent of header layout. */
.top {
    overflow: visible
}

.language-wrap,
.language-picker {
    position: relative
}

.language-picker>.language-options {
    position: absolute;
    inset: auto 0 auto auto;
    top: calc(100% + 12px);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 200px;
    max-width: calc(100vw - 36px);
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px #10243826;
    z-index: 50
}

.language-picker:not([open])>.language-options {
    display: none
}

.language-options>a {
    display: flex;
    width: 100%;
    white-space: nowrap;
    border-radius: 2px
}

@media(max-width:768px) {
    .links .language-picker summary {
        display: flex;
        padding: 10px 12px;
        gap: 9px
    }

    .links .language-picker summary svg {
        display: block
    }

    .links .language-picker>.language-options {
        position: absolute;
        inset: auto auto auto 0;
        top: calc(100% + 8px);
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 200px;
        padding: 8px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 12px 30px #10243826;
        gap: 0
    }

    .links .language-picker:not([open])>.language-options {
        display: none
    }

    .links .language-options>a {
        padding: 12px
    }
}

strong.brand-name {
    font-weight: 700;
    text-transform: none
}