/* =========================================================
   INGENIUM EMSR – ZENTRALES STYLESHEET
   Stand: 15. September 2026
   ========================================================= */


/* =========================================================
   1. DESIGN-VARIABLEN
   ========================================================= */

:root {
    --petrol-950: #082b2d;
    --petrol-900: #103b3d;
    --petrol-800: #174b4e;
    --petrol-700: #236165;

    --blue-600: #185fd1;
    --blue-500: #2874e8;
    --blue-100: #e8f0ff;

    --orange-600: #e96318;
    --orange-500: #f37a2b;
    --orange-100: #fff0e5;

    --off-white: #f7f4ed;
    --surface: #ffffff;

    --gray-50: #f7f9f8;
    --gray-100: #edf0ed;
    --gray-200: #dce2df;
    --gray-300: #c7d0cc;
    --gray-500: #71807d;
    --gray-700: #465956;

    --text: #173638;

    --shadow-sm:
        0 10px 30px rgba(8, 43, 45, 0.08);

    --shadow-md:
        0 18px 45px rgba(8, 43, 45, 0.12);

    --shadow-lg:
        0 30px 80px rgba(8, 43, 45, 0.14);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    --content-width: 1180px;
    --header-height: 86px;

    --transition:
        180ms ease;
}


/* =========================================================
   2. RESET UND GRUNDLAGEN
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;

    color: var(--text);
    background: var(--off-white);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

ul,
ol {
    margin-top: 0;
}

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

h1,
h2,
h3,
h4 {
    color: var(--petrol-950);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 780px;
    margin-bottom: 24px;

    font-size: clamp(2.8rem, 5.8vw, 5.6rem);
    font-weight: 750;
}

h2 {
    max-width: 780px;
    margin-bottom: 22px;

    font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

p {
    margin-bottom: 20px;
}

address {
    font-style: normal;
}

::selection {
    color: #ffffff;
    background: var(--blue-600);
}


/* =========================================================
   3. ALLGEMEINES LAYOUT
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--content-width)
    );

    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section--white {
    background: var(--surface);
}

.section--petrol {
    color: rgba(255, 255, 255, 0.8);
    background:
        linear-gradient(
            145deg,
            var(--petrol-900),
            var(--petrol-950)
        );
}

.section--petrol h2,
.section--petrol h3 {
    color: #ffffff;
}

.section-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 470px);

    gap: 70px;
    align-items: end;

    margin-bottom: 55px;
}

.section-heading p {
    margin-bottom: 5px;

    color: var(--gray-500);
    font-size: 1.06rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;

    color: var(--blue-600);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    flex: 0 0 auto;

    width: 30px;
    height: 3px;

    content: "";

    background: var(--orange-500);
    border-radius: 20px;
}

.section--petrol .eyebrow {
    color: #a9c7ff;
}


/* =========================================================
   4. BARRIEREFREIHEIT UND FOKUS
   ========================================================= */

.skip-link {
    position: fixed;
    z-index: 5000;
    top: 12px;
    left: 12px;

    padding: 10px 16px;

    color: #ffffff;
    background: var(--petrol-950);

    border-radius: 8px;

    transform: translateY(-160%);
    transition: transform var(--transition);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--orange-500);
    outline-offset: 4px;
}


/* =========================================================
   5. HEADER UND LOGO
   ========================================================= */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(16, 59, 61, 0.1);

    box-shadow:
        0 4px 18px rgba(16, 42, 51, 0.06);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

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

    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;

    color: inherit;
    text-decoration: none;
}

.brand img,
.brand__logo,
.site-header .brand .brand__logo {
    display: block;

    width: auto;
    height: 58px;
    max-width: 260px;

    object-fit: contain;

    filter: none !important;
    -webkit-filter: none !important;

    opacity: 1 !important;
    mix-blend-mode: normal !important;

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.brand:hover img,
.brand:hover .brand__logo {
    opacity: 0.88 !important;
    transform: translateY(-1px);
}

.navbar > nav {
    margin-left: auto;
}


/* =========================================================
   6. HAUPTNAVIGATION
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a:not(.button) {
    position: relative;

    display: inline-flex;
    align-items: center;

    color: var(--petrol-900);

    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.3;
}

.nav-links > li > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;

    height: 2px;

    content: "";

    background: var(--orange-500);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform var(--transition);
}

.nav-links > li > a:not(.button):hover::after,
.nav-links > li > a:not(.button):focus-visible::after,
.nav-links > li > a[aria-current="page"]:not(.button)::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a[aria-current="page"]:not(.button) {
    color: var(--blue-600);
}

.menu-button {
    display: none;

    width: 46px;
    height: 46px;
    padding: 10px;

    color: var(--petrol-950);
    background: transparent;

    border: 1px solid var(--gray-200);
    border-radius: 10px;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 100%;
    height: 2px;
    margin: 5px 0;

    background: currentColor;
    border-radius: 20px;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   7. NAVIGATIONS-DROPDOWNS
   ========================================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > summary {
    position: relative;

    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--petrol-900);

    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.3;

    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown > summary::marker {
    display: none;
    content: "";
}

.nav-dropdown > summary::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;

    height: 2px;

    content: "";

    background: var(--orange-500);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform var(--transition);
}

.nav-dropdown > summary:hover::after,
.nav-dropdown > summary:focus-visible::after,
.nav-dropdown[open] > summary::after,
.nav-dropdown--current > summary::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-dropdown--current > summary {
    color: var(--blue-600);
}

.nav-dropdown__arrow {
    display: inline-block;

    color: var(--orange-500);
    font-size: 0.68rem;
    line-height: 1;

    transition: transform var(--transition);
}

.nav-dropdown[open] .nav-dropdown__arrow {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    position: absolute;
    z-index: 250;
    top: calc(100% + 18px);
    left: 50%;

    width: 310px;
    margin: 0;
    padding: 10px;

    background: var(--surface);

    border: 1px solid var(--gray-200);
    border-radius: 16px;

    box-shadow: var(--shadow-lg);

    list-style: none;

    transform: translateX(-50%);
}

.nav-dropdown__menu::before {
    position: absolute;
    top: -7px;
    left: 50%;

    width: 14px;
    height: 14px;

    content: "";

    background: var(--surface);

    border-top: 1px solid var(--gray-200);
    border-left: 1px solid var(--gray-200);

    transform:
        translateX(-50%)
        rotate(45deg);
}

.nav-dropdown__menu li {
    position: relative;
    z-index: 2;
}

.nav-dropdown__menu a {
    display: flex;
    flex-direction: column;
    gap: 3px;

    padding: 12px 14px;

    color: var(--petrol-900);

    border-radius: 10px;

    line-height: 1.35;
    white-space: normal;

    transition:
        color var(--transition),
        background-color var(--transition);
}

.nav-dropdown__menu a::after {
    display: none !important;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible,
.nav-dropdown__menu a[aria-current="page"] {
    color: var(--blue-600);
    background: var(--blue-100);
}

.nav-dropdown__menu strong {
    font-size: 0.92rem;
}

.nav-dropdown__menu span {
    color: var(--gray-500);

    font-size: 0.74rem;
    font-weight: 500;

    transition: color var(--transition);
}

.nav-dropdown__menu a:hover span,
.nav-dropdown__menu a:focus-visible span,
.nav-dropdown__menu a[aria-current="page"] span {
    color: var(--blue-600);
}


/* =========================================================
   8. BUTTONS UND TEXTLINKS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 13px 22px;

    color: #ffffff;
    background: var(--blue-600);

    border: 1px solid var(--blue-600);
    border-radius: 9px;

    font-weight: 750;
    line-height: 1.2;
    text-align: center;

    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    color: #ffffff;
    background: var(--blue-500);

    box-shadow:
        0 12px 28px rgba(24, 95, 209, 0.24);

    transform: translateY(-2px);
}

.button--orange {
    background: var(--orange-600);
    border-color: var(--orange-600);
}

.button--orange:hover {
    background: var(--orange-500);
    border-color: var(--orange-500);

    box-shadow:
        0 12px 28px rgba(233, 99, 24, 0.24);
}

.button--secondary {
    color: var(--petrol-950);
    background: rgba(255, 255, 255, 0.78);

    border-color: rgba(16, 59, 61, 0.2);
}

.button--secondary:hover {
    color: var(--petrol-950);
    background: #ffffff;

    border-color: rgba(16, 59, 61, 0.3);
    box-shadow: var(--shadow-sm);
}

.button__arrow {
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.button:hover .button__arrow {
    transform: translateX(4px);
}

.text-link {
    position: relative;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    width: fit-content;
    max-width: 100%;
    margin-top: 8px;

    color: var(--blue-600);

    font-weight: 750;
    line-height: 1.4;

    transition: color var(--transition);
}

.text-link span {
    flex: 0 0 auto;
    transition: transform var(--transition);
}

.text-link:hover {
    color: var(--orange-600);
}

.text-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   9. HERO
   ========================================================= */

.hero {
    position: relative;

    display: grid;
    align-items: center;

    min-height: calc(100vh - var(--header-height));

    overflow: hidden;
    isolation: isolate;
}

.hero picture {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.hero__image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;

    content: "";

    background:
        linear-gradient(
            90deg,
            rgba(247, 244, 237, 1) 0%,
            rgba(247, 244, 237, 0.98) 37%,
            rgba(247, 244, 237, 0.78) 53%,
            rgba(247, 244, 237, 0.08) 79%
        );
}

.hero::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;

    height: 170px;

    content: "";

    background:
        linear-gradient(
            to top,
            var(--off-white),
            transparent
        );
}

.hero__content {
    max-width: 720px;
    padding: 105px 0 150px;
}

.hero__lead {
    max-width: 650px;
    margin-bottom: 32px;

    color: #496361;

    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 40px;
}

.hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;

    margin: 0;
    padding: 0;

    color: var(--petrol-800);

    font-size: 0.94rem;
    font-weight: 650;

    list-style: none;
}

.hero__benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__benefits li::before {
    flex: 0 0 auto;

    width: 8px;
    height: 8px;

    content: "";

    background: var(--orange-500);

    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--orange-100);
}


/* =========================================================
   10. KOMPETENZLEISTE
   ========================================================= */

.expertise-bar {
    position: relative;
    z-index: 3;

    margin-top: -75px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    overflow: hidden;

    background: var(--surface);

    border: 1px solid rgba(16, 59, 61, 0.08);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-lg);
}

.expertise-item {
    min-width: 0;
    min-height: 145px;
    padding: 30px;

    border-right: 1px solid var(--gray-200);
}

.expertise-item:last-child {
    border-right: 0;
}

.expertise-item strong {
    display: block;
    margin-bottom: 7px;

    color: var(--petrol-950);
    font-size: 1.08rem;
}

.expertise-item span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.expertise-item .expertise-number {
    display: block;
    margin-bottom: 13px;

    color: var(--orange-500);

    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}


/* =========================================================
   11. LEISTUNGSKARTEN
   ========================================================= */

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

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 320px;
    padding: 34px;

    overflow: hidden;

    background: var(--surface);

    border: 1px solid rgba(16, 59, 61, 0.1);
    border-radius: var(--radius-md);

    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    border-color: rgba(24, 95, 209, 0.35);
    box-shadow: var(--shadow-sm);

    transform: translateY(-5px);
}

.service-card::after {
    position: absolute;
    right: -35px;
    bottom: -35px;

    width: 110px;
    height: 110px;

    content: "";

    background: var(--blue-100);
    border-radius: 50%;

    opacity: 0.7;
}

.service-card:nth-child(even)::after {
    background: var(--orange-100);
}

.service-card__number {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;
    margin-bottom: 28px;

    color: var(--blue-600);
    background: var(--blue-100);

    border-radius: 14px;

    font-size: 0.86rem;
    font-weight: 850;
}

.service-card:nth-child(even) .service-card__number {
    color: var(--orange-600);
    background: var(--orange-100);
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.service-card > .text-link {
    margin-top: auto;
    padding-top: 10px;
}

.service-card ul {
    margin: 20px 0 0;
    padding: 0;

    color: var(--gray-500);

    font-size: 0.92rem;
    list-style: none;
}

.service-card li {
    position: relative;

    margin-bottom: 9px;
    padding-left: 20px;
}

.service-card li::before {
    position: absolute;
    top: 0.7em;
    left: 0;

    width: 7px;
    height: 7px;

    content: "";

    background: var(--orange-500);
    border-radius: 50%;

    transform: translateY(-50%);
}


/* =========================================================
   12. ECAD-SYSTEMBEREICH
   Einleitung oben, Karten darunter
   ========================================================= */

#systeme .systems-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;

    align-items: start;
}

#systeme .systems-copy {
    width: 100%;
    max-width: 940px;
}

#systeme .systems-copy h2 {
    max-width: 850px;
}

#systeme .systems-copy p {
    max-width: 880px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

.ecad-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;

    width: 100%;
    min-width: 0;
}

.ecad-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
    min-height: 320px;
    padding: 24px 22px;

    overflow: hidden;

    color: var(--text);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f6f9f8 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 18px;

    box-shadow:
        0 12px 30px rgba(4, 29, 30, 0.16),
        0 2px 6px rgba(4, 29, 30, 0.08);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.ecad-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    content: "";

    background:
        linear-gradient(
            90deg,
            var(--orange-600),
            var(--orange-500)
        );

    transform: scaleX(0.35);
    transform-origin: left center;

    transition: transform 220ms ease;
}

.ecad-card::after {
    position: absolute;
    right: -45px;
    bottom: -60px;

    width: 160px;
    height: 160px;

    content: "";
    pointer-events: none;

    border: 1px solid rgba(16, 59, 61, 0.08);
    border-radius: 50%;

    box-shadow:
        0 0 0 20px rgba(16, 59, 61, 0.025),
        0 0 0 42px rgba(16, 59, 61, 0.018);

    transition:
        transform 300ms ease,
        border-color 300ms ease;
}

.ecad-card:hover {
    color: var(--text);

    border-color: rgba(243, 122, 43, 0.55);

    box-shadow:
        0 20px 42px rgba(4, 29, 30, 0.22),
        0 4px 10px rgba(4, 29, 30, 0.1);

    transform: translateY(-5px);
}

.ecad-card:hover::before {
    transform: scaleX(1);
}

.ecad-card:hover::after {
    border-color: rgba(243, 122, 43, 0.2);
    transform: translate(-8px, -8px);
}

.ecad-card:focus-visible {
    outline: 3px solid var(--orange-500);
    outline-offset: 4px;
}

.ecad-card__top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;

    min-width: 0;
    margin-bottom: 22px;
}

.ecad-card__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: #ffffff;
    background: var(--petrol-900);

    border-radius: 12px;

    box-shadow:
        0 7px 16px rgba(16, 59, 61, 0.18);

    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;

    transition:
        background-color 220ms ease,
        transform 220ms ease;
}

.ecad-card:hover .ecad-card__icon {
    background: var(--orange-500);
    transform: rotate(-3deg) scale(1.04);
}

.ecad-card__category {
    display: block;

    min-width: 0;
    max-width: 145px;

    color: #667b7c;

    font-size: 0.67rem;
    font-weight: 750;
    line-height: 1.35;
    letter-spacing: 0.07em;
    text-align: right;
    text-transform: uppercase;

    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

.ecad-card__content {
    position: relative;
    z-index: 2;

    min-width: 0;
    margin-bottom: 24px;
}

.ecad-card__content h3 {
    margin: 0 0 12px;

    color: var(--petrol-900);

    font-size: clamp(1.15rem, 1.4vw, 1.4rem);
    line-height: 1.2;
    letter-spacing: -0.02em;

    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

.ecad-card__content p {
    margin: 0;

    color: #51696a;

    font-size: 0.9rem;
    line-height: 1.58;

    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
}

.ecad-card__link {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;

    width: fit-content;
    max-width: 100%;
    margin-top: auto;

    color: #c95f1e;

    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.4;

    white-space: normal;
}

.ecad-card__arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    color: #ffffff;
    background: var(--orange-500);

    border-radius: 50%;

    transition: transform 220ms ease;
}

.ecad-card:hover .ecad-card__arrow {
    transform: translateX(5px);
}


/* =========================================================
   13. ALTE SYSTEMLISTE
   Für eventuell noch vorhandene Unterseiten
   ========================================================= */

.systems-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 80px;
    align-items: center;
}

.systems-copy p {
    max-width: 550px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

.system-list {
    display: grid;
    gap: 14px;
}

.system-item {
    display: grid;
    grid-template-columns:
        12px
        minmax(130px, 155px)
        minmax(0, 1fr);

    gap: 18px;
    align-items: center;

    padding: 22px 24px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-sm);
}

.system-item::before {
    width: 10px;
    height: 10px;

    content: "";

    background: var(--orange-500);
    border-radius: 2px;

    transform: rotate(45deg);
}

.system-item strong {
    color: #ffffff;
}

.system-item span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}


/* =========================================================
   14. PROJEKTABLAUF
   ========================================================= */

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

.process-step {
    position: relative;
    padding: 30px;
}

.process-step:not(:last-child)::after {
    position: absolute;
    top: 52px;
    right: -12px;

    width: 24px;
    height: 2px;

    content: "";

    background: var(--orange-500);
}

.process-step__number {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    margin-bottom: 24px;

    color: #ffffff;
    background: var(--petrol-900);

    border-radius: 50%;

    font-size: 0.85rem;
    font-weight: 800;
}

.process-step p {
    color: var(--gray-500);
    font-size: 0.93rem;
}


/* =========================================================
   15. BRANCHENKARTEN
   ========================================================= */

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

.industry-card {
    position: relative;

    min-width: 0;
    min-height: 300px;
    padding: 36px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--petrol-900),
            var(--petrol-950)
        );

    border-radius: var(--radius-md);
}

.industry-card::before {
    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 165px;
    height: 165px;

    content: "";

    border: 25px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.industry-card:nth-child(2) {
    background:
        linear-gradient(
            145deg,
            #164b92,
            #0c3166
        );
}

.industry-card:nth-child(3) {
    background:
        linear-gradient(
            145deg,
            #b34c16,
            #79300d
        );
}

.industry-card h3 {
    position: relative;
    z-index: 2;

    color: #ffffff;
    font-size: 1.5rem;
}

.industry-card p {
    position: relative;
    z-index: 2;

    color: rgba(255, 255, 255, 0.73);
}

.industry-card__label {
    position: relative;
    z-index: 2;

    display: inline-block;
    margin-bottom: 50px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* =========================================================
   16. VORTEILE UND TECHNISCHE GRAFIK
   ========================================================= */

.benefits-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 75px;
    align-items: center;
}

.benefit-list {
    display: grid;
    gap: 20px;
}

.benefit {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    align-items: start;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--gray-200);
}

.benefit__check {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    color: var(--blue-600);
    background: var(--blue-100);

    border-radius: 50%;

    font-weight: 900;
}

.benefit strong {
    display: block;
    margin-bottom: 3px;

    color: var(--petrol-950);
}

.benefit span {
    color: var(--gray-500);
    font-size: 0.93rem;
}

.technical-visual {
    position: relative;

    min-height: 470px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e9efec
        );

    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.technical-visual::before,
.technical-visual::after {
    position: absolute;

    content: "";

    border: 2px solid var(--blue-600);

    transform:
        rotate(30deg)
        skew(-12deg);
}

.technical-visual::before {
    top: 75px;
    left: 95px;

    width: 230px;
    height: 230px;

    opacity: 0.28;
}

.technical-visual::after {
    right: 55px;
    bottom: 55px;

    width: 180px;
    height: 180px;

    border-color: var(--orange-500);

    opacity: 0.32;
}

.visual-node {
    position: absolute;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 78px;
    height: 78px;

    color: #ffffff;
    background: var(--petrol-900);

    border: 8px solid #ffffff;
    border-radius: 18px;

    box-shadow: var(--shadow-sm);

    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
}

.visual-node--one {
    top: 75px;
    right: 80px;
}

.visual-node--two {
    top: 225px;
    left: 75px;

    background: var(--blue-600);
}

.visual-node--three {
    right: 115px;
    bottom: 80px;

    background: var(--orange-600);
}


/* =========================================================
   17. FAQ
   ========================================================= */

.faq-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.75fr)
        minmax(0, 1.25fr);

    gap: 80px;
}

.faq-list {
    border-top: 1px solid var(--gray-200);
}

.faq-list details {
    padding: 23px 0;
    border-bottom: 1px solid var(--gray-200);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: var(--petrol-950);

    font-weight: 750;

    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::marker {
    display: none;
    content: "";
}

.faq-list summary::after {
    flex: 0 0 auto;

    content: "+";

    color: var(--orange-600);

    font-size: 1.45rem;
    font-weight: 400;
}

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

.faq-list details p {
    max-width: 720px;
    margin: 17px 0 0;

    color: var(--gray-500);
}


/* =========================================================
   18. KONTAKTBEREICH
   ========================================================= */

.cta {
    padding: 0 0 100px;
    background: var(--surface);
}

.cta-panel {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    gap: 50px;
    align-items: center;

    padding: clamp(40px, 7vw, 85px);

    overflow: hidden;

    color: rgba(255, 255, 255, 0.76);
    background: var(--petrol-950);

    border-radius: var(--radius-lg);
}

.cta-panel::after {
    position: absolute;
    right: -90px;
    bottom: -150px;

    width: 430px;
    height: 430px;

    content: "";

    border: 70px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.cta-panel h2 {
    color: #ffffff;
}

.cta-panel__actions {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
}

.cta-panel__actions .button {
    min-height: 58px;
}

.cta-address {
    margin-top: 22px;

    color: rgba(255, 255, 255, 0.66);
}


/* =========================================================
   19. FOOTER
   ========================================================= */

.site-footer {
    padding: 70px 0 25px;

    color: rgba(255, 255, 255, 0.66);
    background: #061f21;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(0, 0.7fr)
        minmax(0, 0.8fr);

    gap: 70px;

    margin-bottom: 60px;
}

.footer-brand img,
.footer-brand__logo {
    display: block;

    width: auto;
    height: 48px;
    max-width: 240px;
    margin-bottom: 24px;

    object-fit: contain;

    filter: none !important;
    -webkit-filter: none !important;

    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

.footer-brand p {
    max-width: 470px;
}

.site-footer h3 {
    color: #ffffff;

    font-size: 1rem;
    letter-spacing: 0;
}

.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 0.82rem;
}


/* =========================================================
   20. BROTKRUMEN-NAVIGATION
   ========================================================= */

.breadcrumbs {
    padding-top: 25px;
    padding-bottom: 5px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin: 0;
    padding: 0;

    color: var(--gray-500);

    font-size: 0.85rem;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
    color: var(--orange-500);
    content: "/";
}

.breadcrumbs a {
    color: var(--petrol-800);

    transition: color var(--transition);
}

.breadcrumbs a:hover {
    color: var(--blue-600);
}

.breadcrumbs [aria-current="page"] {
    color: var(--gray-500);
}


/* =========================================================
   21. LEISTUNGSSEITEN-HERO
   ========================================================= */

.service-hero {
    min-height: 650px;
}

.service-hero .hero__content {
    max-width: 820px;
    padding-top: 75px;
    padding-bottom: 145px;
}

.service-hero h1 {
    max-width: 850px;

    font-size:
        clamp(2.8rem, 5.2vw, 5.1rem);
}

.service-hero .hero__lead {
    max-width: 720px;
}

.service-hero::before {
    background:
        linear-gradient(
            90deg,
            rgba(247, 244, 237, 1) 0%,
            rgba(247, 244, 237, 0.98) 39%,
            rgba(247, 244, 237, 0.84) 55%,
            rgba(247, 244, 237, 0.17) 82%
        );
}


/* =========================================================
   22. EINLEITUNG AUF LEISTUNGSSEITEN
   ========================================================= */

.service-intro {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    gap: 80px;
    align-items: start;
}

.service-intro__content {
    max-width: 760px;
}

.lead-large {
    color: var(--petrol-800);

    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.65;
}

.service-intro__content p:not(.lead-large) {
    color: var(--gray-500);
}


/* =========================================================
   23. INFORMATIONSPANEL
   ========================================================= */

.info-panel {
    padding: 34px;

    background: var(--surface);

    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.info-panel h2,
.info-panel h3 {
    margin-bottom: 22px;

    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.info-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.info-list li {
    position: relative;

    padding: 14px 0 14px 27px;

    color: var(--petrol-800);

    border-bottom: 1px solid var(--gray-200);
}

.info-list li:last-child {
    border-bottom: 0;
}

.info-list li::before {
    position: absolute;
    top: 23px;
    left: 2px;

    width: 9px;
    height: 9px;

    content: "";

    background: var(--orange-500);
    border-radius: 2px;

    transform: rotate(45deg);
}


/* =========================================================
   24. ERGEBNISSE UND DOKUMENTE
   ========================================================= */

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

    gap: 18px;
}

.deliverable {
    display: grid;
    grid-template-columns:
        48px
        minmax(0, 1fr);

    gap: 18px;
    align-items: start;

    padding: 26px;

    background: var(--surface);

    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
}

.deliverable__icon {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    color: var(--blue-600);
    background: var(--blue-100);

    border-radius: 13px;

    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.03em;
}

.deliverable:nth-child(even) .deliverable__icon {
    color: var(--orange-600);
    background: var(--orange-100);
}

.deliverable h3 {
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.deliverable p {
    margin: 0;

    color: var(--gray-500);
    font-size: 0.91rem;
}


/* =========================================================
   25. ZWEISPALTIGE INHALTSBEREICHE
   ========================================================= */

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

    gap: 70px;
    align-items: start;
}

.content-columns__text {
    max-width: 650px;
}

.content-columns__text p {
    color: var(--gray-500);
}


/* =========================================================
   26. STICHWORT-TAGS
   ========================================================= */

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 28px 0 0;
    padding: 0;

    list-style: none;
}

.tag-list li {
    padding: 8px 13px;

    color: var(--petrol-800);
    background: rgba(255, 255, 255, 0.75);

    border: 1px solid var(--gray-200);
    border-radius: 100px;

    font-size: 0.82rem;
    font-weight: 700;
}


/* =========================================================
   27. RESPONSIVE – BIS 1150 PX
   ========================================================= */

@media (max-width: 1150px) {
    .nav-links {
        gap: 19px;
    }

    .nav-links > li > a:not(.button),
    .nav-dropdown > summary {
        font-size: 0.88rem;
    }

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

    .ecad-card {
        min-height: 285px;
    }

    .ecad-card__category {
        max-width: none;
    }
}


/* =========================================================
   28. RESPONSIVE – BIS 1000 PX
   ========================================================= */

@media (max-width: 1000px) {
    .section-heading,
    .benefits-layout,
    .faq-layout,
    .service-intro,
    .content-columns {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 40px;
    }

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

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

    .expertise-item:nth-child(2) {
        border-right: 0;
    }

    .expertise-item:nth-child(-n + 2) {
        border-bottom:
            1px solid var(--gray-200);
    }

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

    .process-step:nth-child(2)::after {
        display: none;
    }

    .systems-layout {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 40px;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .service-intro__content {
        max-width: 850px;
    }
}


/* =========================================================
   29. MOBILE NAVIGATION – BIS 900 PX
   ========================================================= */

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

    .navbar {
        min-height: var(--header-height);
        gap: 16px;
    }

    .brand img,
    .brand__logo,
    .site-header .brand .brand__logo {
        height: 48px;
        max-width: 215px;
    }

    .menu-button {
        display: block;
        flex: 0 0 auto;
    }

    .navbar > nav {
        margin-left: 0;
    }

    .nav-links {
        position: fixed;
        z-index: 999;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;

        padding:
            25px
            max(20px, calc((100vw - var(--content-width)) / 2));

        overflow-y: auto;

        background: var(--off-white);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
        max-width: 620px;
        margin-inline: auto;
    }

    .nav-links > li > a:not(.button) {
        display: flex;

        width: 100%;
        padding: 11px 0;

        font-size: 1.05rem;
    }

    .nav-links > li > a:not(.button)::after {
        display: none;
    }

    .nav-links .button {
        width: 100%;
        margin-top: 12px;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > summary {
        justify-content: space-between;

        width: 100%;
        padding: 11px 0;

        font-size: 1.05rem;
    }

    .nav-dropdown > summary::after {
        display: none;
    }

    .nav-dropdown__menu {
        position: static;

        width: 100%;
        margin: 3px 0 10px;
        padding: 8px;

        background: #ffffff;

        border-color: var(--gray-200);
        border-radius: 12px;

        box-shadow: none;

        transform: none;
    }

    .nav-dropdown__menu::before {
        display: none;
    }

    .nav-dropdown__menu a {
        color: var(--petrol-900);
    }

    .nav-dropdown__menu a:hover,
    .nav-dropdown__menu a:focus-visible,
    .nav-dropdown__menu a[aria-current="page"] {
        color: var(--blue-600);
        background: var(--blue-100);
    }

    .nav-dropdown__menu span {
        color: var(--gray-500);
        opacity: 1;
    }

    .hero {
        min-height: auto;
    }

    .hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(247, 244, 237, 0.97) 0%,
                rgba(247, 244, 237, 0.94) 55%,
                rgba(247, 244, 237, 0.72) 100%
            );
    }

    .hero__image {
        object-position: 70% center;
        opacity: 0.45;
    }

    .hero__content {
        padding: 85px 0 170px;
    }

    .service-hero {
        min-height: auto;
    }

    .service-hero .hero__content {
        padding-top: 55px;
        padding-bottom: 145px;
    }

    .service-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(247, 244, 237, 0.98) 0%,
                rgba(247, 244, 237, 0.94) 60%,
                rgba(247, 244, 237, 0.72) 100%
            );
    }

    .breadcrumbs {
        padding-top: 18px;
    }

    .system-item {
        grid-template-columns:
            12px
            minmax(0, 1fr);
    }

    .system-item span {
        grid-column: 2;
    }
}


/* =========================================================
   30. RESPONSIVE – BIS 680 PX
   ========================================================= */

@media (max-width: 680px) {
    .section {
        padding: 80px 0;
    }

    #systeme .systems-layout {
        gap: 32px;
    }

    .ecad-card-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 16px;
    }

    .ecad-card {
        min-height: 0;
        padding: 23px;
    }

    .ecad-card__top {
        margin-bottom: 20px;
    }

    .ecad-card__category {
        max-width: 165px;
    }
}


/* =========================================================
   31. RESPONSIVE – BIS 620 PX
   ========================================================= */

@media (max-width: 620px) {
    .container {
        width: min(
            calc(100% - 28px),
            var(--content-width)
        );
    }

    h1 {
        font-size:
            clamp(2.4rem, 12vw, 3.7rem);
    }

    .service-hero h1 {
        font-size:
            clamp(2.35rem, 11vw, 3.6rem);
    }

    .services-grid,
    .industries-grid,
    .expertise-grid,
    .process-grid,
    .deliverables-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .expertise-item {
        border-right: 0;
        border-bottom:
            1px solid var(--gray-200);
    }

    .expertise-item:last-child {
        border-bottom: 0;
    }

    .process-step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -5px;
        left: 53px;

        width: 2px;
        height: 24px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .button {
        width: 100%;
    }

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

    .industry-card {
        min-height: 270px;
    }

    .technical-visual {
        min-height: 390px;
    }

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

    .footer-brand {
        grid-column: auto;
    }

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

    .cta-panel {
        border-radius: var(--radius-md);
    }

    .deliverable {
        grid-template-columns:
            42px
            minmax(0, 1fr);

        padding: 22px;
    }

    .deliverable__icon {
        width: 42px;
        height: 42px;
    }

    .info-panel {
        padding: 26px 22px;
    }
}


/* =========================================================
   32. RESPONSIVE – BIS 520 PX
   ========================================================= */

@media (max-width: 520px) {
    :root {
        --header-height: 68px;
    }

    .navbar {
        min-height: var(--header-height);
    }

    .brand img,
    .brand__logo,
    .site-header .brand .brand__logo {
        height: 42px;
        max-width: 180px;
    }

    .menu-button {
        width: 43px;
        height: 43px;
    }

    .hero__content {
        padding-top: 70px;
    }

    .expertise-item,
    .service-card,
    .industry-card {
        padding: 26px;
    }

    .ecad-card {
        padding: 21px;
        border-radius: 15px;
    }

    .ecad-card__icon {
        width: 44px;
        height: 44px;
    }

    .ecad-card__category {
        max-width: 150px;
        font-size: 0.63rem;
    }

    .ecad-card__content h3 {
        font-size: 1.25rem;
    }

    .ecad-card__link {
        font-size: 0.86rem;
    }

    .technical-visual::before {
        top: 65px;
        left: 35px;
    }

    .visual-node--one {
        top: 60px;
        right: 35px;
    }

    .visual-node--two {
        top: 190px;
        left: 35px;
    }

    .visual-node--three {
        right: 45px;
        bottom: 55px;
    }
}


/* =========================================================
   33. REDUZIERTE BEWEGUNGEN
   ========================================================= */

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .ecad-card:hover,
    .service-card:hover,
    .button:hover {
        transform: none;
    }
}


/* =========================================================
   ENGINEERING-KREISLAUF
   Planung – Daten – Prüfung
   ========================================================= */

.engineering-cycle {
    position: relative;

    display: block;

    width: 100%;
    min-height: 510px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(24, 95, 209, 0.08) 0,
            rgba(24, 95, 209, 0.03) 28%,
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #edf2ef 100%
        );

    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    isolation: isolate;
}

.technical-visual.engineering-cycle::before,
.technical-visual.engineering-cycle::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   TECHNISCHES HINTERGRUNDRASTER
   ========================================================= */

.engineering-cycle {
    background-image:
        linear-gradient(
            rgba(16, 59, 61, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(16, 59, 61, 0.035) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle at center,
            rgba(24, 95, 209, 0.09) 0,
            rgba(24, 95, 209, 0.03) 30%,
            transparent 58%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #edf2ef 100%
        );

    background-size:
        32px 32px,
        32px 32px,
        100% 100%,
        100% 100%;
}


/* =========================================================
   VERBINDUNGSLINIEN
   ========================================================= */

.engineering-cycle__lines {
    position: absolute;
    z-index: 1;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;
    pointer-events: none;
}

.engineering-cycle__path {
    fill: none;

    stroke-width: 3;
    stroke-linecap: round;

    opacity: 0.78;
}

.engineering-cycle__path--blue {
    stroke: var(--blue-600);
}

.engineering-cycle__path--orange {
    stroke: var(--orange-500);
}

.engineering-cycle__inner-line {
    fill: none;

    stroke: rgba(16, 59, 61, 0.23);
    stroke-width: 1.5;
    stroke-dasharray: 5 6;
}


/* =========================================================
   ÄUSSERE PROZESSKNOTEN
   ========================================================= */

.engineering-cycle__node {
    position: absolute;
    z-index: 3;

    display: grid;
    grid-template-columns:
        44px
        minmax(0, 1fr);

    gap: 13px;
    align-items: center;

    width: 180px;
    min-height: 94px;
    padding: 17px;

    color: var(--text);
    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(16, 59, 61, 0.14);
    border-radius: 16px;

    box-shadow:
        0 12px 30px rgba(8, 43, 45, 0.12);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.engineering-cycle__node:hover {
    border-color: rgba(24, 95, 209, 0.42);

    box-shadow:
        0 18px 38px rgba(8, 43, 45, 0.16);
}

.engineering-cycle__node--planning {
    top: 35px;
    left: 50%;

    transform: translateX(-50%);
}

.engineering-cycle__node--planning:hover {
    transform:
        translateX(-50%)
        translateY(-4px);
}

.engineering-cycle__node--data {
    right: 28px;
    bottom: 60px;
    left: auto;
}

.engineering-cycle__node--data:hover {
    transform: translateY(-4px);
}

.engineering-cycle__node--check {
    right: auto;
    bottom: 60px;
    left: 28px;
}

.engineering-cycle__node--check:hover {
    transform: translateY(-4px);
}


/* =========================================================
   NUMMER UND ICON
   ========================================================= */

.engineering-cycle__node-icon {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    color: #ffffff;
    background: var(--petrol-900);

    border-radius: 12px;

    font-size: 0.85rem;
    font-weight: 850;

    box-shadow:
        0 7px 16px rgba(16, 59, 61, 0.18);
}

.engineering-cycle__node--data
.engineering-cycle__node-icon {
    background: var(--blue-600);
}

.engineering-cycle__node--check
.engineering-cycle__node-icon {
    background: var(--orange-600);
}


/* =========================================================
   TEXTE IN DEN PROZESSKNOTEN
   ========================================================= */

.engineering-cycle__node-text {
    min-width: 0;
}

.engineering-cycle__node-text strong {
    display: block;

    margin-bottom: 3px;

    color: var(--petrol-950);

    font-size: 1rem;
    line-height: 1.2;
}

.engineering-cycle__node-text span {
    display: block;

    color: var(--gray-500);

    font-size: 0.72rem;
    line-height: 1.4;
}


/* =========================================================
   ZENTRALES ERGEBNIS
   ========================================================= */

.engineering-cycle__center {
    position: absolute;
    z-index: 4;
    top: 51%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 170px;
    height: 170px;
    padding: 18px;

    color: rgba(255, 255, 255, 0.75);
    background:
        linear-gradient(
            145deg,
            var(--petrol-800),
            var(--petrol-950)
        );

    border: 8px solid rgba(255, 255, 255, 0.94);
    border-radius: 50%;

    box-shadow:
        0 22px 45px rgba(8, 43, 45, 0.24),
        0 0 0 1px rgba(16, 59, 61, 0.08);

    text-align: center;

    transform:
        translate(-50%, -50%);
}

.engineering-cycle__center::before {
    position: absolute;
    inset: -16px;

    content: "";

    border: 1px dashed rgba(24, 95, 209, 0.27);
    border-radius: 50%;
}

.engineering-cycle__center span {
    margin-bottom: 5px;

    color: #a9c7ff;

    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.engineering-cycle__center strong {
    color: #ffffff;

    font-size: 1.05rem;
    line-height: 1.2;
}

.engineering-cycle__center small {
    display: block;

    margin-top: 8px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.58rem;
    line-height: 1.35;
}


/* =========================================================
   UNTERE BESCHRIFTUNG
   ========================================================= */

.engineering-cycle__caption {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 17px;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    color: var(--gray-500);

    font-size: 0.65rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.engineering-cycle__caption span {
    width: 24px;
    height: 1px;

    background: var(--orange-500);
}


/* =========================================================
   ENGINEERING-KREISLAUF – TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .engineering-cycle {
        max-width: 680px;
        min-height: 520px;
        margin-inline: auto;
    }

    .engineering-cycle__node {
        width: 190px;
    }

    .engineering-cycle__node--data {
        right: 45px;
        left: auto;
    }

    .engineering-cycle__node--check {
        right: auto;
        left: 45px;
    }
}


/* =========================================================
   ENGINEERING-KREISLAUF – SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {
    .engineering-cycle {
        display: flex;
        flex-direction: column;
        gap: 36px;

        min-height: 0;
        padding: 30px 22px 24px;

        background-image:
            linear-gradient(
                rgba(16, 59, 61, 0.035) 1px,
                transparent 1px
            ),
            linear-gradient(
                90deg,
                rgba(16, 59, 61, 0.035) 1px,
                transparent 1px
            ),
            linear-gradient(
                145deg,
                #ffffff,
                #edf2ef
            );

        background-size:
            28px 28px,
            28px 28px,
            100% 100%;
    }

    .engineering-cycle__lines {
        display: none;
    }

    .engineering-cycle__node,
    .engineering-cycle__center,
    .engineering-cycle__caption {
        position: relative;
        inset: auto;

        width: 100%;
        max-width: none;

        margin: 0;

        transform: none;
    }

    .engineering-cycle__node {
        min-height: 90px;
    }

    .engineering-cycle__node:hover,
    .engineering-cycle__node--planning:hover {
        transform: translateY(-3px);
    }

    .engineering-cycle__node:not(
        .engineering-cycle__node--check
    )::after {
        position: absolute;
        right: 0;
        bottom: -29px;
        left: 0;

        width: 26px;
        height: 26px;
        margin-inline: auto;

        content: "↓";

        color: var(--orange-500);

        font-size: 1.2rem;
        font-weight: 850;
        line-height: 1;
        text-align: center;
    }

    .engineering-cycle__center {
        order: 4;

        width: 190px;
        height: 190px;
        margin: 5px auto 0;

        border-radius: 50%;
    }

    .engineering-cycle__center::before {
        inset: -12px;
    }

    .engineering-cycle__caption {
        order: 5;

        margin-top: 3px;
    }
}


/* =========================================================
   ZENTRALER WEBSITE-FOOTER
   ========================================================= */

.site-footer {
    position: relative !important;

    display: block !important;
    clear: both !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.74);
    background:
        linear-gradient(
            145deg,
            var(--petrol-900),
            var(--petrol-950)
        ) !important;

    border-top: 4px solid var(--orange-500);

    overflow: hidden;
}

.site-footer::before {
    position: absolute;
    top: -180px;
    right: -160px;

    width: 420px;
    height: 420px;

    content: "";

    background:
        radial-gradient(
            circle,
            rgba(24, 95, 209, 0.14),
            transparent 67%
        );

    border-radius: 50%;

    pointer-events: none;
}

.site-footer__container {
    position: relative;
    z-index: 2;

    display: block !important;

    width: min(
        calc(100% - 40px),
        var(--content-width)
    ) !important;

    max-width: var(--content-width) !important;

    margin-inline: auto !important;
    padding: 2cm 0 26px !important;
}


/* =========================================================
   FOOTER-HAUPTRASTER
   ========================================================= */

.site-footer__grid {
    display: grid !important;

    grid-template-columns:
        minmax(250px, 1.45fr)
        minmax(155px, 1fr)
        minmax(155px, 1fr)
        minmax(155px, 0.85fr) !important;

    grid-template-rows: auto !important;
    grid-auto-flow: row !important;

    column-gap: 48px !important;
    row-gap: 42px !important;

    align-items: start !important;
    justify-items: stretch !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 0 56px !important;
}


/* Alle Footer-Spalten zurücksetzen */

.site-footer__brand,
.site-footer__column {
    position: static !important;

    display: block !important;

    grid-column: auto !important;
    grid-row: auto !important;

    align-self: start !important;
    justify-self: stretch !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}


/* =========================================================
   MARKE UND LOGO
   ========================================================= */

.site-footer__logo-link {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 0 24px !important;
    padding: 0 !important;

    text-decoration: none !important;
}

.site-footer__logo {
    display: block !important;

    width: auto !important;
    max-width: 230px !important;
    height: 60px !important;

    margin: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;

    filter: none !important;
}

.site-footer__description {
    width: 100% !important;
    max-width: 350px !important;

    margin: 0 0 25px !important;

    color: rgba(255, 255, 255, 0.68) !important;

    font-size: 0.95rem !important;
    line-height: 1.75 !important;
}

.site-footer__contact-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;

    width: fit-content !important;

    color: #ffffff !important;

    font-size: 0.86rem !important;
    font-weight: 800 !important;

    text-decoration: none !important;
}

.site-footer__contact-link span {
    color: var(--orange-400);

    font-size: 1.1rem;

    transition: transform 180ms ease;
}

.site-footer__contact-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   FOOTER-ÜBERSCHRIFTEN
   ========================================================= */

.site-footer__heading {
    position: relative;

    display: block !important;

    width: 100% !important;

    margin: 4px 0 25px !important;
    padding: 0 0 13px !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 0.95rem !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;

    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

.site-footer__heading::after {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 34px;
    height: 2px;

    content: "";

    background: var(--orange-500);

    border-radius: 999px;
}


/* =========================================================
   FOOTER-LINKS
   ========================================================= */

.site-footer__links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-footer__links li {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.site-footer__links li + li {
    margin-top: 12px !important;
}

.site-footer__links a {
    position: relative;

    display: inline-block !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.68) !important;

    font-size: 0.88rem !important;
    font-weight: 550 !important;
    line-height: 1.5 !important;

    text-align: left !important;
    text-decoration: none !important;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.site-footer__links a:hover {
    color: #ffffff !important;

    transform: translateX(3px);
}


/* =========================================================
   UNTERE FOOTER-ZEILE
   ========================================================= */

.site-footer__bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 24px 0 0 !important;

    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.site-footer__copyright {
    margin: 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.48) !important;

    font-size: 0.78rem !important;
    line-height: 1.5 !important;
}

.site-footer__legal {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 24px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.55) !important;

    font-size: 0.78rem !important;
    line-height: 1.5 !important;

    text-decoration: none !important;
}

.site-footer__legal a:hover {
    color: #ffffff !important;
}


/* =========================================================
   FOOTER – TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .site-footer__grid {
        grid-template-columns:
            minmax(240px, 1.3fr)
            minmax(180px, 1fr) !important;

        column-gap: 55px !important;
        row-gap: 48px !important;
    }
}


/* =========================================================
   FOOTER – SMARTPHONE
   ========================================================= */

@media (max-width: 640px) {
    .site-footer__container {
        width: min(
            calc(100% - 30px),
            var(--content-width)
        ) !important;

        padding-top: 2cm !important;
    }

    .site-footer__grid {
        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 38px !important;

        padding-bottom: 42px !important;
    }

    .site-footer__brand,
    .site-footer__column {
        width: 100% !important;
    }

    .site-footer__logo {
        max-width: 210px !important;
        height: 55px !important;
    }

    .site-footer__heading {
        margin-bottom: 19px !important;
    }

    .site-footer__bottom {
        flex-direction: column !important;
        align-items: flex-start !important;

        gap: 15px !important;
    }

    .site-footer__legal {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;

        gap: 14px 24px !important;
    }
}
