/* Schriften: ausschließlich lokal, Überschriften Merriweather, Fließtext Roboto. */
@font-face {
    font-family: Roboto;
    src: url('../fonts/roboto-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: Merriweather;
    src: url('../fonts/merriweather-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
:root {
    --blue: #2b4275;
    --red: #ee334b;
    --red-button: #d9223b;
    --red-hover: #bb1530;
    --ink: #121922;
    --surface: #1b2635;
    --light: #efeee9;
    --text: #f6f5f2;
    --muted: #bdc7d3;
    --line: #ffffff26;
    --header-offset: 118px; /* Einziger Sprungzielabstand; nicht zusätzlich scroll-margin addieren. */
    --reveal-duration: .9s;
    --reveal-distance: 40px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-padding-top: var(--header-offset);
    scroll-behavior: smooth;
}
body {
    background: var(--ink);
    color: var(--text);
    font-family: Roboto, Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: inherit;
}
button, input, select, textarea {
    font: inherit;
}
:focus-visible {
    outline: 3px solid #ffb8c2;
    outline-offset: 5px;
}
img {
    display: block;
    max-width: 100%;
}
h1, h2, h3 {
    font-family: Merriweather, Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: break-word;
}
h1 {
    font-size: clamp(36px, 4.6vw, 68px);
    letter-spacing: -.045em;
    margin-bottom: 26px;
}
h2 {
    font-size: clamp(28px, 3.1vw, 43px);
    letter-spacing: -.04em;
    margin-bottom: 26px;
}
h3 {
    font-size: 24px;
    letter-spacing: -.035em;
}
p {
    margin: 0 0 22px;
}
figure {
    margin: 0;
}
.container-wide {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}
.section {
    padding-block: clamp(64px, 7vw, 108px);
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 22px;
}
.lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 52px;
    padding: 13px 23px;
    background: var(--red-button);
    border: 1px solid transparent;
    border-radius: 5px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.button:hover {
    background: var(--red-hover);
    color: white;
    transform: translateY(-2px);
}
.text-link {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    line-height: 1.5;
}
.text-link:hover {
    color: #ff9cab;
}
.skip-link {
    position: fixed;
    top: -150px;
    left: 20px;
    z-index: 2000;
    background: white;
    color: black;
    padding: 12px;
}
.skip-link:focus {
    top: 10px;
}
/* Kompakte Navigation rund um das unveränderte Logo. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #131a24f5;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
    min-height: 98px;
    padding: 17px 24px;
    margin-inline: auto;
    max-width: 1180px;
}
.logo {
    display: block;
    background: white;
    border-radius: 3px;
    padding: 12px 15px;
    width: 280px;
    flex-shrink: 0;
}
.logo img {
    width: 100%;
    height: auto;
}
.nav-group {
    --nav-gap: 25px;
    display: flex;
    flex: 1;
    align-items: center;
    gap: var(--nav-gap);
    font-size: 14px;
}
.nav-group:first-child {
    justify-content: flex-end;
}
.nav-group a {
    padding-block: 12px;
    white-space: nowrap;
}
.nav-group a:hover, .nav-group [aria-current] {
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 9px;
}
.nav-contact i, .nav-home i {
    color: #ff7284;
}
.nav-contact i {
    margin-left: 8px;
}
.nav-group .nav-home {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    margin-inline-end: calc(4px - var(--nav-gap));
    color: #ff7284;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
}
.mobile-contact, .menu-toggle {
    display: none;
}
.icon-button, .menu-toggle {
    background: transparent;
    border: 1px solid #ffffff65;
    border-radius: 4px;
    color: white;
    min-width: 46px;
    min-height: 46px;
    cursor: pointer;
    font-size: 20px;
}
.offcanvas-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(90vw, 420px);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 28px;
    border: 0;
    background: var(--surface);
    color: white;
    overflow-y: auto;
}
.offcanvas-menu::backdrop, .lightbox::backdrop {
    background: #05080cde;
}
.dialog-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dialog-heading h2 {
    font-size: 27px;
    margin: 0;
}
.offcanvas-menu nav {
    display: grid;
    margin-block: 24px;
}
.offcanvas-menu nav a {
    padding: 11px 0;
    font-size: 21px;
    border-bottom: 1px solid var(--line);
}
.offcanvas-menu nav .sub-link {
    font-size: 16px;
    padding-left: 15px;
    color: var(--muted);
}
body:has(dialog[open]) {
    overflow: hidden;
}
.noscript-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 16px;
}
/* Headerbilder: Bildmotiv rechts, kurze Texte mit Abstand zur Containerkante. */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: grid;
    align-items: center;
    isolation: isolate;
}
.hero-image, .hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-image {
    object-fit: cover;
    object-position: 70% center;
    z-index: -3;
    animation: image-in 1.3s both;
}
.hero-shade {
    z-index: -2;
    background: linear-gradient(90deg, #111822db, #11182285 43%, #11182212 77%), linear-gradient(0deg, #111822bd, transparent 38%);
}
.hero-inner {
    padding-block: 65px 85px;
}
.hero-copy {
    max-width: 640px;
}
.hero h1 {
    text-shadow: 0 2px 25px #0005;
}
.hero h1 span {
    display: block;
    white-space: nowrap;
}
.hero-home h1 span:last-child {
    color: white;
}
.hero .lead {
    max-width: 40ch;
    color: #d9dfe7;
}
.hero .eyebrow {
    color: #fff;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
}
.hero-actions .text-link {
    font-size: 15px;
}
.hero-service {
    min-height: 530px;
}
.hero-service h1 {
    font-size: clamp(35px, 4vw, 57px);
    max-width: 13ch;
}
.hero-edelstahl h1 {
    max-width: none;
}
.hero-service.hero-schweissen .lead {
    max-width: 46ch;
    text-wrap: pretty;
}
.hero-amboss .hero-image {
    width: 73%;
    left: auto;
    filter: contrast(1.2);
}
.hero-amboss .hero-shade {
    background: linear-gradient(90deg, #111822 16%, #111822ec 32%, #11182238 80%);
}
/* Bildnachweis: eigenständiges, per Tastatur und Touch bedienbares Details-Element. */
.photo-info {
    position: absolute;
    right: 24px;
    bottom: 22px;
    z-index: 3;
}
.photo-info summary {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: white;
    border-radius: 50%;
    list-style: none;
    cursor: pointer;
    font-size: 14px;
}
.photo-info summary i {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    background: #111822ee;
    border: 1px solid #ffffffb0;
    border-radius: 50%;
}
.photo-info summary::-webkit-details-marker {
    display: none;
}
.photo-info span {
    position: absolute;
    right: 0;
    bottom: 58px;
    padding: 10px 15px;
    border: 1px solid #ffffff70;
    border-radius: 4px;
    background: #111822;
    color: white;
    white-space: nowrap;
    font-size: 14px;
}
.service-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.service-strip .container-wide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-strip a {
    display: flex;
    gap: 20px;
    padding: 23px 24px;
    border-right: 1px solid var(--line);
    align-items: center;
    font-size: 15px;
}
.service-strip a:first-child {
    border-left: 1px solid var(--line);
}
.service-strip a:hover {
    background: #ffffff08;
}
.service-strip i {
    margin-left: auto;
}
.strip-number {
    color: #ff7284;
    font-size: 12px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 42px;
}
.section-heading h2, .section-heading p:last-child {
    margin-bottom: 0;
}
.section-heading > p {
    color: var(--muted);
    flex-shrink: 0;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.card-image {
    display: block;
    overflow: hidden;
    border-radius: 9px;
    margin-bottom: 24px;
}
.card-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: auto;
    transition: transform .4s;
}
.card-image:hover img {
    transform: scale(1.04);
}
.service-card h3 {
    font-size: clamp(20px, 1.7vw, 25px);
    hyphens: auto;
}
.service-card p {
    color: var(--muted);
}
.service-card .text-link {
    margin-top: auto;
    align-self: start;
    font-size: 14px;
}
/* Unternehmen: große Jahreszahl aus Entwurf C. */
.company-section, .contact-section, .contact-banner {
    background: radial-gradient(
        circle clamp(600px, 72vw, 1100px) at var(--section-gradient-origin, -90px -140px),
        #0b131df0 0%,
        #0b131dab 32%,
        #0b131d40 60%,
        #0b131d00 88%
    ), #26323f;
    color: var(--text);
}
.company-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: center;
}
.heritage {
    font-family: Merriweather, Georgia, serif;
    font-weight: 700;
    font-size: clamp(80px, 10vw, 154px);
    letter-spacing: -.09em;
    line-height: 1.2;
    color: var(--red);
    font-variant-numeric: tabular-nums;
    margin-bottom: 16px;
}
.heritage-block::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background: var(--red-button);
    margin-top: 28px;
}
.company-section .text-link:hover {
    color: #ffb8c2;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.reference-teasers {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
}
.reference-teasers img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}
figcaption {
    font-size: 13px;
    line-height: 1.6;
    padding-top: 14px;
    color: var(--muted);
}
/* Leistungsseiten und Galerien. */
.breadcrumb-line {
    padding-top: 24px;
    font-size: 13px;
    color: var(--muted);
}
.breadcrumb-line a {
    text-decoration: underline;
}
.service-intro {
    display: grid;
    grid-template-columns: 1.3fr .85fr;
    gap: 80px;
    align-items: start;
}
.service-intro p {
    color: var(--muted);
}
.service-intro .certification-note {
    margin-top: 28px;
    padding: 18px 22px;
    border-left: 3px solid var(--red);
    border-radius: 0 6px 6px 0;
    background: var(--surface);
    color: var(--text);
    font-size: 18px;
}
.examples {
    background: var(--surface);
    padding: 32px;
    border-top: 3px solid var(--red);
    border-radius: 6px;
}
/* Genug Platz für die gesamte Box lassen; die Galerie begrenzt den Scrollbereich. */
@media (min-width: 851px) and (min-height: 760px) {
    .examples {
        position: sticky;
        top: var(--header-offset);
    }
}
.examples ul {
    list-style: none;
    padding: 0;
    margin-block: 25px;
}
.examples li {
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
}
.examples li i {
    color: #ff8192;
    margin-right: 8px;
}
.gallery-section {
    background: #182231;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
}
.gallery-link {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #101720;
    border-radius: 9px;
    overflow: hidden;
}
.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-link.preserve-image img {
    object-fit: contain;
}
.enlarge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    background: #101720dc;
    color: white;
}
.gallery-link:hover .enlarge {
    background: var(--red-button);
}
.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 45px;
}
.pagination-nav a, .pagination-nav span {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff50;
    border-radius: 4px;
}
.pagination-nav [aria-current] {
    background: var(--red-button);
    border-color: var(--red-button);
}
.page-intro {
    padding-block: 75px;
}
.references-intro {
    background: radial-gradient(
        circle clamp(600px, 72vw, 1100px) at calc(100% + 90px) -140px,
        #3c557366 0%,
        #3c557347 32%,
        #3c55731a 60%,
        #3c557300 88%
    );
}
.service-audience {
    max-width: 40ch;
}
.page-intro .lead {
    max-width: 60ch;
}
.filter-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.filter-links a, .filter-links span {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 14px;
}
.filter-links [aria-current] {
    background: var(--blue);
}
.lightbox {
    border: 0;
    padding: 20px;
    background: #111822;
    color: white;
    width: min(1250px, 96vw);
    max-width: 96vw;
    max-height: 96dvh;
    overflow: auto;
}
.lightbox-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.lightbox-image {
    display: block;
    width: 100%;
    height: min(65dvh, 850px);
    object-fit: contain;
}
.lightbox figcaption {
    text-align: center;
    color: white;
}
.lightbox-navigation {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
}
.lightbox-count {
    font-size: 14px;
    color: var(--muted);
}
/* Kontakt, Fehlerzustände und Pflichtfelder. */
.contact-section, .contact-banner {
    --section-gradient-origin: calc(100% + 90px) -140px;
}
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
}
.phone-large {
    display: inline-block;
    font-size: clamp(25px, 2.7vw, 38px);
    font-weight: 500;
    margin-block: 5px 30px;
    border-bottom: 1px solid #ffffff65;
}
.email-link {
    overflow-wrap: anywhere;
}
.contact-people {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 35px;
    font-size: 14px;
}
.contact-form label {
    display: block;
    font-size: 14px;
    margin-block: 15px 7px;
}
.contact-form input:not([type=checkbox]):not([type=hidden]), .contact-form select, .contact-form textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    border: 1px solid #c3cce0;
    border-radius: 4px;
    padding: 10px 13px;
    background: #ffffff0a;
    color: white;
}
.contact-form select option {
    background: #26323f;
}
.contact-form textarea {
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-row > div {
    min-width: 0;
}
.form-hint {
    font-size: 12px;
    color: #e3e8f3;
    margin-block: 14px;
}
.form-hint a, .consent a {
    text-decoration: underline;
}
.consent {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 25px;
}
.consent input {
    width: 22px;
    height: 22px;
    margin-top: 4px;
    accent-color: var(--red-button);
}
.consent label {
    margin: 0;
    font-size: 13px;
}
.contact-form .math-answer {
    max-width: 110px;
}
.contact-form .button {
    margin-top: 12px;
}
.honey {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.form-errors, .form-success {
    padding: 24px;
    background: #f7ecec;
    color: #631c2c;
    border-radius: 5px;
    margin-bottom: 24px;
}
.form-success {
    background: #e4f1ea;
    color: #16422f;
}
.form-errors h3, .form-success h3 {
    font-size: 21px;
}
.form-errors a {
    text-decoration: underline;
}
.form-errors :focus-visible {
    outline-color: #631c2c;
}
.field-error {
    color: #ffe1e5;
    font-size: 13px;
    display: block;
    margin-top: 6px;
}
[aria-invalid=true] {
    border-width: 2px !important;
    border-color: #ffb4bf !important;
}
/* Rechtliches und Footer. */
.legal-content {
    max-width: 900px;
    min-height: 65vh;
}
.legal-content h2 {
    margin-top: 55px;
}
.legal-content a {
    text-decoration: underline;
}
.legal-seal {
    padding-top: 30px;
    height: auto;
}
.legal-placeholder {
    background: var(--surface);
    padding: 30px;
    border-left: 4px solid var(--red);
}
.site-footer {
    background: #0c121b;
    color: var(--muted);
    font-size: 14px;
    padding-top: 55px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 45px;
}
.footer-top .logo {
    width: 250px;
    margin-bottom: 24px;
}
.footer-top nav {
    display: grid;
    align-content: start;
    gap: 13px;
}
.footer-top p {
    margin-top: 18px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding-block: 25px;
    border-top: 1px solid var(--line);
    margin-top: 30px;
    font-size: 12px;
}
.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.back-top {
    display: none;
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: 20px;
    z-index: 40;
    width: 46px;
    height: 46px;
    place-items: center;
    background: #111822;
    color: white;
    border: 1px solid #ffffff80;
    border-radius: 5px;
}
.back-top.is-visible {
    display: grid;
}
body:has(dialog[open]) .back-top {
    display: none;
}
/* Animationen: Inhalte bleiben ohne JavaScript und bei Tastaturfokus sichtbar. */
@keyframes image-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes rise-in {
    from { opacity: 0; transform: translateY(var(--reveal-distance)); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-enter {
    animation: rise-in .9s both;
}
.hero-enter:nth-child(2) {
    animation-delay: .12s;
}
.hero-enter:nth-child(3) {
    animation-delay: .24s;
}
.hero-enter:nth-child(4) {
    animation-delay: .36s;
}
.hero-enter:focus-within {
    animation: none;
}
.reveal.is-revealing {
    animation: rise-in var(--reveal-duration) both;
}
.reveal:focus-within {
    animation: none;
}
/* Tablet, Smartphone, kurze Fenster. */
@media (max-width: 1050px) {
    .header-inner {
        gap: 23px;
    }
    .nav-group {
        --nav-gap: 17px;
    }
    .logo {
        width: 250px;
    }
    .company-grid, .contact-grid, .service-intro {
        gap: 45px;
    }
    .service-strip a {
        padding-inline: 15px;
        gap: 12px;
    }
    .service-card h3 {
        font-size: 21px;
    }
}
@media (max-width: 850px) {
    :root {
        --header-offset: 158px;
    }
    .back-top.is-visible {
        display: none;
    }
    .container-wide {
        width: calc(100% - 44px);
    }
    .header-inner {
        justify-content: space-between;
        padding: 14px 22px;
        gap: 12px;
        flex-wrap: wrap;
    }
    .site-header .logo {
        width: 255px;
        max-width: calc(100% - 62px);
    }
    .nav-group {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .mobile-contact {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        font-size: 14px;
    }
    .button-small {
        min-height: 44px;
        padding: 8px 16px;
        gap: 10px;
        font-size: 14px;
    }
    .hero {
        min-height: 580px;
    }
    .hero h1 {
        font-size: clamp(30px, 6vw, 51px);
    }
    .hero-image {
        object-position: 68% center;
    }
    .hero-shade {
        background: linear-gradient(90deg, #111822dc, #11182270), linear-gradient(0deg, #111822c9, transparent);
    }
    .hero-amboss .hero-image {
        width: 100%;
    }
    .hero-amboss .hero-shade {
        background: linear-gradient(90deg, #111822e8, #11182260);
    }
    .service-strip .strip-number {
        display: none;
    }
    .service-strip a {
        font-size: 13px;
    }
    .service-grid {
        gap: 20px;
    }
    .company-grid, .service-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .heritage-block {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .heritage-block .eyebrow {
        grid-column: 1 / -1;
    }
    .heritage-block::after {
        display: none;
    }
    .contact-grid {
        gap: 35px;
        grid-template-columns: 1fr 1.2fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .section-heading {
        display: block;
    }
    .section-heading > p, .section-heading > .text-link {
        margin-top: 20px;
    }
    .reference-teasers img {
        height: 260px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    h2 {
        font-size: 29px;
    }
    .hero-inner {
        padding-block: 50px 90px;
    }
    .hero-home h1 {
        font-size: clamp(26px, 7.9vw, 42px);
        line-height: 1.35;
    }
    .hero-service h1 {
        font-size: 37px;
    }
    .hero-edelstahl h1 {
        font-size: clamp(26px, 7.7vw, 37px);
    }
    .hero-schweissen .hero-image {
        object-position: right center;
    }
    .hero .lead {
        font-size: 16px;
        max-width: 30ch;
    }
    .hero .eyebrow {
        font-size: 10px;
        letter-spacing: .09em;
    }
    .hero-actions {
        gap: 18px;
    }
    .hero {
        min-height: 535px;
    }
    .hero-image {
        object-position: 68% center;
    }
    .service-strip .container-wide {
        width: 100%;
        grid-template-columns: 1fr;
    }
    .service-strip a {
        padding: 15px 24px;
        border: 0;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
    }
    .service-strip a:first-child {
        border-left: 0;
    }
    .service-grid, .contact-grid, .reference-teasers, .footer-top {
        grid-template-columns: 1fr;
    }
    .service-grid {
        gap: 45px;
    }
    .service-card h3 {
        font-size: 25px;
    }
    .card-image img {
        aspect-ratio: 4 / 3;
    }
    .heritage-block {
        display: block;
    }
    .heritage {
        font-size: 105px;
    }
    .reference-teasers img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .gallery-grid {
        gap: 24px 15px;
    }
    .gallery-item figcaption {
        font-size: 11px;
    }
    .enlarge {
        width: 30px;
        height: 30px;
        bottom: 7px;
        right: 7px;
    }
    .examples {
        padding: 24px;
    }
    .contact-grid {
        gap: 45px;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .back-top {
        width: 42px;
        height: 42px;
        bottom: 12px;
        right: 10px;
    }
    .lightbox {
        padding: 14px;
    }
    .lightbox-image {
        height: 55dvh;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Entwicklerhinweis ausschließlich in der Live-Auslieferung. */
.footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
}
.footer-bottom .site-credit {
    text-align: center;
}
.site-credit a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-bottom > nav {
    justify-content: flex-end;
}
@media (max-width: 900px) {
    .footer-bottom {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }
    .footer-bottom > nav {
        justify-content: center;
    }
}
