:root {
    --navy-900: #0b1d35;
    --navy-800: #132946;
    --navy-700: #1d3a5f;
    --red-600: #cf1f2d;
    --red-700: #a01723;
    --slate-100: #f1f5fb;
    --slate-200: #e3e9f3;
    --text-900: #132033;
    --text-700: #32445e;
    --white: #ffffff;
    --radius: 8px;
    --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.62;
    --line-height-copy: 1.68;
    --line-height-heading: 1.28;
    --heading-tracking: 0.004em;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    color: var(--text-900);
    line-height: var(--line-height-base);
    background: #eceef2;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: normal;
}

a {
    color: var(--navy-700);
}

a,
button,
input,
textarea,
summary {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 200ms ease, transform 180ms ease;
}

:focus {
    outline: 2px solid var(--red-600);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--red-600);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: var(--heading-tracking);
}

p,
ul,
ol {
    margin-top: 0;
}

.container {
    width: min(1048px, calc(100% - 72px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 100;
    background: #102640;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    width: min(1120px, 92vw);
    margin: 0 auto 0;
    box-shadow: 0 8px 18px rgba(6, 19, 37, 0.16);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding-top: 6px;
}

.logo {
    width: 232px;
    max-width: 44vw;
    height: auto;
    margin-top: 8px;
    margin-bottom: 5px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: transparent;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.9rem;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.83rem;
    padding: 0.4rem 0.52rem;
    border-radius: 6px;
    line-height: 1.3;
}

.nav-list a.active,
.nav-list a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn {
    display: inline-block;
    background: var(--red-600);
    color: var(--white);
    text-decoration: none;
    padding: 0.72rem 1.2rem;
    border-radius: 6px;
    border: 0;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
    letter-spacing: 0.008em;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(6, 19, 37, 0.12);
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 220ms ease;
}

.btn:hover {
    background: var(--red-700);
}

.btn-small {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
}

.btn-dark {
    background: var(--navy-800);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.btn-dark:hover {
    background: var(--navy-700);
}

.hotline-pill {
    background: var(--red-600);
    color: var(--white) !important;
    border-radius: 4px;
    padding: 0.45rem 0.62rem !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.01em;
}

.hotline-pill:hover {
    background: var(--red-700) !important;
}

main {
    width: min(1120px, 92vw);
    margin: 0 auto;
    background: var(--white);
    box-shadow: 0 12px 26px rgba(6, 19, 37, 0.14);
}

.page-tools {
    border-bottom: 1px solid #e3e9f3;
    background: #ffffff;
}

.page-tools-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #1c3a5f;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
    white-space: nowrap;
    transition: color 180ms ease, transform 180ms ease;
}

.back-link:hover {
    text-decoration: underline;
}

.breadcrumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: #516580;
    font-size: 0.84rem;
    line-height: 1.4;
}

.breadcrumbs li + li::before {
    content: "/";
    color: #9aabbe;
    margin: 0 0.25rem 0 0.05rem;
}

.breadcrumbs a {
    color: #2e4c71;
    text-decoration: none;
    transition: color 180ms ease;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span[aria-current="page"] {
    color: #203853;
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 405px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background-color: #0f223d;
    background-image: url('../img/hero-bg.png');
    background-image: image-set(
        url('../img/hero-bg.webp') type('image/webp'),
        url('../img/hero-bg.png') type('image/png')
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(98deg, rgba(11, 29, 53, 0.88) 0%, rgba(11, 29, 53, 0.68) 42%, rgba(11, 29, 53, 0.24) 100%);
}

.hero-overlay::after {
    content: "";
    position: absolute;
    top: -18%;
    bottom: -18%;
    width: 34%;
    left: -42%;
    pointer-events: none;
    background: linear-gradient(
        102deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.06) 38%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.06) 62%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(0.3px);
    transform: skewX(-14deg) translate3d(0, 0, 0);
    animation: hero-light-sweep 6.75s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 470px;
    padding: 2.2rem 0 2.8rem;
    margin-left: 37px;
}

@keyframes hero-light-sweep {
    0% {
        left: -42%;
        opacity: 0;
    }
    17% {
        opacity: 0.95;
    }
    59% {
        left: 108%;
        opacity: 0;
    }
    100% {
        left: 108%;
        opacity: 0;
    }
}

@keyframes subhero-light-sweep {
    0%,
    15% {
        background-position: -90% 50%, 0 0;
    }
    68% {
        background-position: 158% 50%, 0 0;
    }
    100% {
        background-position: 158% 50%, 0 0;
    }
}

.hero h1,
.sub-hero h1 {
    line-height: 1.18;
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: clamp(1.9rem, 3.7vw, 2.95rem);
}

.hero-lead {
    margin-top: 0;
    margin-bottom: 1.05rem;
    font-size: 0.98rem;
    line-height: var(--line-height-copy);
    max-width: 36ch;
    color: #dde7f6;
}

.check-list {
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
}

.check-list li {
    margin: 0.2rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d6e3fb;
    font-weight: 800;
}

.sub-hero {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--white);
    padding: 3rem 0 2.4rem;
}

.sub-hero p {
    margin: 0;
    max-width: 64ch;
    color: #dbe6f8;
    font-size: 1.02rem;
    line-height: var(--line-height-copy);
}

.sub-hero::before,
.sub-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sub-hero::before {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
}

.sub-hero::after {
    background:
        linear-gradient(
            102deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.045) 38%,
            rgba(255, 255, 255, 0.14) 50%,
            rgba(255, 255, 255, 0.045) 62%,
            rgba(255, 255, 255, 0) 100%
        ),
        linear-gradient(94deg, rgba(8, 24, 45, 0.84) 0%, rgba(10, 28, 52, 0.62) 42%, rgba(11, 29, 53, 0.44) 100%);
    background-repeat: no-repeat, no-repeat;
    background-size: 34% 140%, 100% 100%;
    background-position: -90% 50%, 0 0;
    animation: subhero-light-sweep 7.8s ease-in-out infinite;
}

.sub-hero > .container {
    position: relative;
    z-index: 1;
}

body.page-leistungen-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-leistungen.jpg');
    opacity: 1;
}

body.page-leistung-objektschutz-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-objektschutz.jpg');
    opacity: 1;
}

body.page-leistung-veranstaltungsschutz-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-veranstaltungsschutz.jpg');
    opacity: 1;
}

body.page-leistung-empfangsdienst-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-empfangsdienst.jpg');
    opacity: 1;
}

body.page-leistung-revierdienst-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-revierdienst.jpg');
    opacity: 1;
}

body.page-leistung-baustellenbewachung-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-baustellenbewachung.jpg');
    opacity: 1;
}

body.page-leistung-cargo-begleitservice-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-cargo-begleitservice.jpg');
    opacity: 1;
}

body.page-sicherheitsberatung-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-sicherheitsberatung.jpg');
    opacity: 1;
}

body.page-kontakt-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-kontakt.jpg');
    opacity: 1;
}

body.page-ueber-uns-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-ueber-uns.jpg');
    opacity: 1;
}

body.page-datenschutz-php .sub-hero::before {
    background-image: url('../img/subhero/subhero-datenschutz.jpg');
    opacity: 1;
}

.service-strip {
    background: var(--white);
    padding-bottom: 0.5rem;
}

.service-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    transform: translateY(-20px);
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d9e2ee;
    box-shadow: 0 8px 16px rgba(11, 29, 53, 0.08);
    overflow: hidden;
}

.service-strip article {
    background: transparent;
    border-right: 1px solid #e2e9f3;
    padding: 0.75rem 0.85rem;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-strip article:last-child {
    border-right: 0;
}

.service-strip h2 {
    margin: 0;
    color: #1a3355;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-strip h2 a {
    color: inherit;
    text-decoration: none;
}

.service-strip h2 a:hover {
    text-decoration: underline;
}

.service-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section {
    padding: 2.9rem 0;
}

.section:not(.legal) > .container > h2,
.section:not(.legal) > .container > h3 {
    max-width: 24ch;
}

.section h2 {
    margin: 0 0 0.72rem;
    font-size: clamp(1.38rem, 2vw, 1.88rem);
    line-height: var(--line-height-heading);
    letter-spacing: 0.005em;
    color: var(--text-900);
}

.section h3 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.07rem, 1.3vw, 1.24rem);
    line-height: 1.34;
    color: #1e3556;
}

.section p {
    margin: 0 0 0.95rem;
    font-size: 1rem;
    line-height: var(--line-height-copy);
    color: var(--text-700);
}

.section:not(.legal) > .container > p {
    max-width: 72ch;
}

.section ul,
.section ol {
    margin: 0.25rem 0 1rem;
    padding-left: 1.2rem;
}

.section li {
    margin: 0.28rem 0;
    font-size: 0.99rem;
    line-height: 1.58;
    color: var(--text-700);
}

.section a {
    text-underline-offset: 0.13em;
    text-decoration-thickness: 0.06em;
}

.section > .container > .btn {
    margin-top: 0.4rem;
}

.cards article,
.info-grid article,
.faq-list details,
.contact-mini-form {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.section strong {
    color: var(--text-900);
}

.icon-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.icon-title img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.icon-title + p {
    margin-top: 0;
}

.intro-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.intro-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #dfe6f0;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b3456;
}

.intro-badge img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.section-alt {
    background: var(--slate-100);
}

.content-narrow {
    max-width: 860px;
}

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

.info-grid article {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: var(--radius);
    padding: 1.1rem;
}

.info-grid article p:last-child,
.cards article p:last-child {
    margin-bottom: 0;
}

.cards p,
.info-grid p,
.legal p,
.faq-list p {
    text-wrap: pretty;
}

.faq-list details {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 6px;
    padding: 0.8rem 0.95rem;
    margin-bottom: 0.7rem;
}

.faq-list summary {
    font-weight: 700;
    cursor: pointer;
    line-height: 1.45;
}

.faq-list p {
    margin: 0.6rem 0 0;
    line-height: var(--line-height-copy);
}

.leistungen-cargo {
    background: #ffffff;
}

.leistungen-cargo-box {
    min-height: 360px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    background-image: url('../img/cargo-sicherheit.png');
    background-image: image-set(
        url('../img/cargo-sicherheit.webp') type('image/webp'),
        url('../img/cargo-sicherheit.png') type('image/png')
    );
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top: 1px solid #e2e8f2;
    border-bottom: 1px solid #e2e8f2;
}

.leistungen-cargo-content {
    max-width: 54%;
    padding: 1.7rem 0;
}

.leistungen-cargo-content h2,
.leistungen-cargo-content h3 {
    margin-top: 0;
    color: var(--navy-900);
}

.leistungen-cargo-content ol {
    padding-left: 1.15rem;
    margin-bottom: 1.2rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.two-col img,
.wide-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: 0;
}


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

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

.cards article {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 1rem 0.8rem;
    text-align: center;
}

.cards h3 {
    margin: 0 0 0.38rem;
}

.cards h3 a {
    color: inherit;
    text-decoration: none;
}

.cards h3 a:hover {
    text-decoration: underline;
}

.service-card-icon {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0 auto 0.55rem;
}

.home-about {
    padding-top: 2.1rem;
    padding-bottom: 0;
}

.about-grid h2,
.home-services h2,
.home-contact h2,
.cargo h2 {
    margin-top: 0;
    color: var(--navy-900);
}

.home-about .about-grid {
    align-items: stretch;
}

.home-about .about-grid img {
    display: block;
    width: calc(100% + 36px);
    height: 100%;
    margin-right: -36px;
    object-fit: cover;
}

.home-about .about-grid picture {
    display: block;
    overflow: hidden;
}

.home-about .about-grid img {
    transition: transform 360ms ease;
    transform-origin: center center;
}

.home-services {
    background: #fbfcff;
    border-top: 1px solid #e2e8f1;
    border-bottom: 1px solid #e2e8f1;
}

.services-cta {
    text-align: center;
    margin-top: 1.55rem;
}

.card-link {
    font-weight: 700;
    color: var(--navy-700);
    text-decoration: none;
    text-underline-offset: 0.13em;
    text-decoration-thickness: 0.06em;
}

.card-link:hover {
    text-decoration: underline;
}

.cargo {
    background: #ffffff;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

.cargo-panel {
    display: grid;
    grid-template-columns: 1.06fr 1fr;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid #e3e9f3;
    border-bottom: 1px solid #e3e9f3;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 57%, #f7f9fd 100%);
}

.cargo-content {
    padding: 1.85rem 1.35rem 1.65rem 0;
}

.cargo-subtitle {
    margin-top: -0.15rem;
    margin-bottom: 0.62rem;
    color: #2a4261;
    font-weight: 650;
    letter-spacing: 0.003em;
}

.cargo-list {
    margin-bottom: 1.05rem;
}

.cargo-list li::before {
    color: #344c6a;
}

.cargo-image {
    width: calc(100% + 36px);
    height: 100%;
    margin-right: -36px;
    object-fit: cover;
    display: block;
}

.cargo-image-wrap {
    display: block;
    overflow: hidden;
}

.cargo-image {
    transition: transform 360ms ease;
    transform-origin: center center;
}

.contact-cta {
    background: var(--navy-900);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2.4rem;
}

.home-contact h2 span {
    margin-top: -0.2rem;
    font-weight: 500;
    color: var(--text-700);
}

.contact-home-grid {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
    margin-top: 1.1rem;
}

.contact-mini-form {
    border: 1px solid #dbe4ef;
    padding: 1rem;
}

.contact-mini-form .btn {
    margin-top: 0.8rem;
}

.contact-facts {
    border-left: 1px solid #e0e7f2;
    padding-left: 1.1rem;
}

.contact-fact-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 0.55rem;
    margin: 0.7rem 0;
}

.contact-fact-item img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-top: 0.1rem;
}

.contact-fact-item span {
    display: block;
}

.contact-fact-item strong {
    color: #183459;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
}

label {
    display: block;
    margin-top: 0.8rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
}

input,
textarea {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #c7d1e1;
    border-radius: 6px;
    font: inherit;
    font-size: 1rem;
    line-height: 1.45;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.alert {
    border-radius: 6px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

.alert.success {
    background: #e7f8ed;
    color: #0d5b2a;
    border: 1px solid #bde6cb;
}

.alert.error {
    background: #ffeaea;
    color: #7a1d1d;
    border: 1px solid #f5bcbc;
}

.privacy-note {
    color: var(--text-700);
    font-size: 0.95rem;
    line-height: 1.55;
}

.legal h2 {
    margin-top: 2rem;
}

.legal h2:first-of-type {
    margin-top: 0;
}

.site-footer {
    background: var(--navy-900);
    color: var(--white);
    padding: 2.5rem 0 1.1rem;
    width: min(1120px, 92vw);
    margin: 0 auto 0;
}

.site-footer a {
    color: #d7e5ff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 1.6rem;
}

.site-footer h3 {
    margin: 0 0 0.6rem;
    font-size: 1.04rem;
    line-height: 1.35;
    font-weight: 700;
}

.site-footer p {
    margin: 0 0 0.55rem;
    line-height: 1.58;
}

.footer-bottom small {
    letter-spacing: 0.004em;
}

.footer-company-title {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 32ch;
}

.footer-quicklinks {
    margin-top: 0.8rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-quicklinks a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1.4;
}

.reveal-on-scroll {
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll:not(.is-visible) {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    a,
    button,
    input,
    textarea,
    summary,
    .btn,
    .cards article,
    .info-grid article,
    .faq-list details,
    .contact-mini-form,
    .home-about .about-grid img,
    .cargo-image,
    .reveal-on-scroll {
        transition: none !important;
    }

    .hero-overlay::after {
        animation: none !important;
        opacity: 0 !important;
    }

    .sub-hero::after {
        animation: none !important;
        background-position: -90% 50%, 0 0 !important;
    }

    .reveal-on-scroll,
    .reveal-on-scroll:not(.is-visible),
    .reveal-on-scroll.is-visible {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(6, 19, 37, 0.18);
    }

    .back-link:hover {
        transform: translateX(-1px);
    }

    .cards article:hover,
    .info-grid article:hover,
    .faq-list details:hover,
    .contact-mini-form:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(11, 29, 53, 0.09);
        border-color: #cfd9e7;
    }

    .service-strip article:hover {
        background: #f8fbff;
    }

    .service-strip article:hover a {
        color: #1c3c62;
    }

    .home-about .about-grid picture:hover img,
    .cargo-image-wrap:hover .cargo-image {
        transform: scale(1.02);
    }
}

input:focus-visible,
textarea:focus-visible {
    border-color: #8ea5c1;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.14);
    outline: 0;
}

.footer-quicklinks a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 1.2rem;
    padding-top: 1rem;
}

@supports not (gap: 1rem) {
    .nav-list > li + li {
        margin-left: 0.9rem;
    }

    .page-tools-inner > * + * {
        margin-left: 1rem;
    }

    .footer-quicklinks > a + a {
        margin-left: 1.2rem;
    }

    .intro-badges > .intro-badge + .intro-badge {
        margin-top: 0.75rem;
    }
}

@media (max-width: 960px) {
    .site-header,
    main,
    .site-footer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .site-header {
        margin-top: 0;
    }

    .site-footer {
        margin-bottom: 0;
    }

    .container {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 64px;
        gap: 0.75rem;
    }

    .logo {
        width: 190px;
        max-width: 46vw;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .service-strip-grid,
    .two-col,
    .cards,
    .cards-2,
    .contact-grid,
    .footer-grid,
    .info-grid,
    .intro-badges {
        grid-template-columns: 1fr;
    }

    .footer-company-title {
        max-width: none;
        font-size: 1rem;
    }


    .home-about {
        padding-bottom: 2.2rem;
    }

    .home-about .about-grid picture,
    .home-about .about-grid img {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .leistungen-cargo-box {
        min-height: 300px;
        background-position: 74% center;
    }

    .leistungen-cargo-content {
        max-width: 100%;
        padding: 1.05rem 0;
        background: rgba(255, 255, 255, 0.9);
    }

    .cargo-panel {
        grid-template-columns: 1fr;
        background: #ffffff;
    }

    .cargo-content {
        padding: 1.2rem 0;
    }

    .cargo-image-wrap,
    .cargo-image {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .hero {
        min-height: 460px;
    }

    .hero-content {
        max-width: 540px;
        padding: 2.3rem 0 3rem;
        margin-left: 0;
    }

    .contact-facts {
        border-left: 0;
        border-top: 1px solid #e0e7f2;
        padding-left: 0;
        padding-top: 1rem;
    }

    .page-tools-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding: 0.6rem 0;
    }
}

@media (max-width: 680px) {
    body {
        background: #ffffff;
    }

    .container {
        width: calc(100% - 24px);
    }

    .site-header {
        box-shadow: none;
    }

    main {
        box-shadow: none;
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0.6rem 0;
        gap: 0.7rem;
    }

    .logo-link {
        display: flex;
        justify-content: center;
    }

    .logo {
        width: 210px;
        max-width: 76vw;
        margin-top: 0;
        margin-bottom: 0;
    }

    .nav-list {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        justify-content: stretch;
    }

    .nav-list li:last-child {
        grid-column: 1 / -1;
    }

    .nav-list a,
    .hotline-pill {
        display: block;
        text-align: center;
        font-size: 0.81rem;
        padding: 0.48rem 0.45rem;
        border-radius: 5px;
    }

    .hero {
        min-height: 450px;
        background-position: 64% center;
    }

    .hero-content {
        max-width: 100%;
        padding: 1.65rem 0 2rem;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 8.2vw, 2.3rem);
        max-width: 11ch;
    }

    .hero-lead {
        font-size: 0.9rem;
        max-width: 28ch;
    }

    .check-list {
        margin-bottom: 1rem;
    }

    .check-list li {
        font-size: 0.9rem;
        margin: 0.14rem 0;
    }

    .service-strip-grid {
        transform: translateY(-12px);
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .service-strip article {
        min-height: 46px;
        padding: 0.58rem 0.72rem;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #e2e9f3;
    }

    .service-strip article:last-child {
        border-bottom: 0;
    }

    .service-strip h2 {
        font-size: 0.88rem;
    }

    .section {
        padding: 2rem 0;
    }

    .leistungen-cargo-box {
        min-height: 0;
        background-position: 70% center;
    }

    .leistungen-cargo-content {
        background: rgba(255, 255, 255, 0.94);
        padding: 0.9rem 0.7rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cards article {
        text-align: left;
    }

    .contact-mini-form {
        padding: 0.85rem;
    }

    .contact-home-grid {
        margin-top: 0.7rem;
    }

    .contact-facts p {
        margin: 0.55rem 0;
    }

    .contact-fact-item {
        grid-template-columns: 18px 1fr;
        gap: 0.5rem;
    }

    .contact-fact-item img {
        width: 16px;
        height: 16px;
    }

    .site-footer {
        padding-top: 2rem;
    }

    .footer-quicklinks {
        justify-content: flex-start;
        gap: 0.95rem;
    }

    .site-footer h3 {
        margin-bottom: 0.45rem;
    }

    .site-footer p {
        margin-bottom: 0.45rem;
    }
}

@media (max-width: 430px) {
    .container {
        width: calc(100% - 20px);
    }

    .hero {
        min-height: 430px;
    }

    .hero-content {
        padding: 1.45rem 0 1.8rem;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .hero-lead,
    .check-list li {
        font-size: 0.85rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .header-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 70px;
        padding-top: 0;
        padding-bottom: 0.25rem;
    }

    .logo-link {
        display: block;
    }

    .logo {
        width: 188px;
        max-width: 58vw;
        margin-top: 4px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #102640;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: 0 10px 24px rgba(6, 19, 37, 0.25);
        padding: 0.7rem 0;
        z-index: 120;
    }

    .site-header.nav-open .main-nav {
        display: block;
    }

    .main-nav .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.18rem;
        width: min(1048px, calc(100% - 36px));
        margin: 0 auto;
    }

    @supports not (gap: 1rem) {
        .main-nav .nav-list > li + li {
            margin-left: 0;
            margin-top: 0.18rem;
        }
    }

    .main-nav .nav-list li:last-child {
        grid-column: auto;
    }

    .main-nav .nav-list a,
    .main-nav .hotline-pill {
        display: block;
        text-align: left;
        font-size: 0.96rem;
        padding: 0.64rem 0.7rem;
        border-radius: 6px;
    }

    .hero-content {
        margin-left: 0;
        max-width: 560px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-about .about-grid picture,
    .home-about .about-grid img,
    .cargo-image-wrap,
    .cargo-image {
        width: 100%;
        margin-right: 0;
        height: auto;
    }

    .leistungen-cargo-box {
        background-position: 72% center;
    }
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 22px);
    }

    .site-header,
    main,
    .site-footer {
        width: 100%;
    }

    .hero {
        min-height: 410px;
        background-position: 66% center;
    }

    .hero-content {
        padding: 1.35rem 0 1.8rem;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 8.2vw, 2rem);
        max-width: 12ch;
    }

    .hero-lead {
        max-width: 31ch;
        font-size: 0.86rem;
    }

    .main-nav .nav-list {
        width: calc(100% - 22px);
    }

    .service-strip-grid {
        transform: translateY(-10px);
    }

    .service-strip h2 {
        font-size: 0.83rem;
    }

    .breadcrumbs li {
        font-size: 0.78rem;
    }
}

/* Mobile-Feinschliff: finale, konfliktfreie Overrides */
@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 28px);
    }

    .header-inner {
        min-height: 72px;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .logo {
        width: 184px;
        max-width: 62vw;
        margin-top: 4px;
        margin-bottom: 6px;
    }

    .main-nav .nav-list {
        width: calc(100% - 28px);
    }

    .main-nav .nav-list a,
    .main-nav .hotline-pill {
        font-size: 0.92rem;
        line-height: 1.3;
    }

    .sub-hero {
        padding: 2.1rem 0 1.7rem;
    }

    .sub-hero p {
        margin-bottom: 0;
        font-size: 0.97rem;
        line-height: 1.62;
    }

    .section {
        padding: 2.1rem 0;
    }

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

@media (max-width: 700px) {
    .container {
        width: calc(100% - 22px);
    }

    .page-tools-inner {
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.52rem 0;
    }

    @supports not (gap: 1rem) {
        .page-tools-inner > * + * {
            margin-left: 0;
            margin-top: 0.3rem;
        }
    }

    .breadcrumbs {
        width: 100%;
    }

    .breadcrumbs ol {
        gap: 0.2rem;
    }

    .hero {
        min-height: 430px;
        background-position: 64% center;
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        padding: 1.45rem 12px 1.9rem;
    }

    .hero h1 {
        font-size: clamp(1.55rem, 7.2vw, 2rem);
        max-width: 12ch;
    }

    .hero-lead {
        font-size: 0.9rem;
        max-width: 32ch;
    }

    .check-list li {
        font-size: 0.88rem;
        line-height: 1.48;
    }

    .service-strip-grid {
        transform: translateY(-10px);
    }

    .service-strip article {
        min-height: 44px;
        padding: 0.56rem 0.68rem;
    }

    .service-strip h2 {
        font-size: 0.84rem;
        gap: 0.4rem;
    }

    .service-icon {
        width: 18px;
        height: 18px;
    }

    .cards article,
    .info-grid article,
    .contact-mini-form {
        padding: 0.9rem;
    }

    .section > .container > h2,
    .section > .container > h3,
    .section > .container > p {
        max-width: none;
    }

    .contact-grid {
        gap: 1.2rem;
    }

    .contact-home-grid {
        margin-top: 0.75rem;
    }

    .contact-facts {
        padding-top: 0.85rem;
    }

    .intro-badges {
        grid-template-columns: 1fr;
    }

    .intro-badge {
        font-size: 0.86rem;
        padding: 0.5rem 0.6rem;
    }

    .icon-title {
        gap: 0.42rem;
    }

    .icon-title img {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }

    .leistungen-cargo-content {
        padding: 0.85rem 0.65rem;
    }

    .cargo-content {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 18px);
    }

    .header-inner {
        min-height: 66px;
    }

    .logo {
        width: 170px;
        max-width: 64vw;
        margin-bottom: 4px;
    }

    .hero {
        min-height: 405px;
    }

    .hero-content {
        padding: 1.25rem 10px 1.6rem;
    }

    .hero h1 {
        font-size: clamp(1.42rem, 7.8vw, 1.8rem);
    }

    .hero-lead,
    .check-list li {
        font-size: 0.85rem;
    }

    .back-link {
        font-size: 0.85rem;
    }

    .breadcrumbs li {
        font-size: 0.74rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .site-footer,
    .site-footer a,
    .privacy-note {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .site-footer {
        padding-top: 1.7rem;
    }

    .footer-quicklinks {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.38rem;
    }

    @supports not (gap: 1rem) {
        .footer-quicklinks > a + a {
            margin-left: 0;
            margin-top: 0.38rem;
        }
    }

    .footer-company-title {
        font-size: 0.96rem;
        line-height: 1.35;
    }
}
