/* ============================================================
   ZEBTEC — GLOBAL STYLES
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
    --ink: #10232d;
    --ink-2: #193540;
    --dark-surface: #333639;
    --footer-text: #ffffff;
    --muted: #68777e;
    --paper: #f5f7f4;
    --white: #ffffff;
    --line: rgba(16, 35, 45, .13);
    --lime: #b8cf3b;
    --lime-soft: #edf3d3;
    --dark: #0b1b24;
    --max: 1240px;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(10, 30, 40, .12);
    --mobile-nav-font-size: 18px;
    --mobile-nav-font-weight: 700;
    --font:
        "Inter",
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

}


/* ============================================================
   RESET
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button {
    cursor: pointer;
}

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

[hidden] {
    display: none !important;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.container {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border: 0;
    overflow: visible;
    isolation: isolate;
}

.site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 88px;
    background: var(--dark-surface);
    clip-path: polygon(
        0% 0%, 100% 0%,
        100% 88%, 97% 88%, 94% 88%, 91% 88%, 88% 88%,
        85% 87.8%, 82% 87.5%, 79% 87.2%, 76% 87%,
        73% 87%, 70% 87.2%, 67% 87.6%, 64% 88.1%,
        61% 88.7%, 58% 89.2%, 55% 89.8%, 52% 90.2%,
        49% 90.5%, 46% 90.7%, 43% 90.6%, 40% 90.4%,
        37% 90%, 34% 89.5%, 31% 88.9%, 28% 88.2%,
        25% 87.5%, 22% 86.8%, 19% 86%, 16% 85.2%,
        13% 84.5%, 10% 83.8%, 7% 83.2%, 4% 82.8%, 0% 82.5%
    );
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    width: 250px;
    min-width: 250px;
    margin-right: auto;
}

.logo img {
    width: 250px;
    max-width: none;
    height: auto;
    object-fit: contain;
}


/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 200;
}

/*
   The PHP navigation renderer creates:

   .desktop-nav
       .nav-children
           .nav-item
               <a>
               .nav-children
                   ...

   The first .nav-children is therefore the top-level
   navigation wrapper.
*/

.desktop-nav > .nav-children {
    display: flex;
    align-items: center;
    gap: 27px;
}

.desktop-nav .nav-item {
    position: relative;
}

.desktop-nav .nav-item > a {
    display: block;
    color: #e8edef;
    white-space: nowrap;
    transition: color .2s ease;
}

.desktop-nav .nav-item > a:hover,
.desktop-nav .nav-item.active > a {
    color: #ffffff;
}


/* ------------------------------------------------------------
   Desktop dropdown
   ------------------------------------------------------------ */

.desktop-nav .nav-item > .nav-children {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 285px;
    padding: 8px 0;
    margin: 0;
    background: var(--lime);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    z-index: 300;
}

/*
   Mouse-over opens the submenu.
*/

.desktop-nav .nav-item.has-children:hover > .nav-children,
.desktop-nav .nav-item.has-children:focus-within > .nav-children {
    display: block;
}


/*
   Invisible bridge between parent and dropdown.
   This prevents the submenu from disappearing when the
   mouse travels through the small gap.
*/

.desktop-nav .nav-item.has-children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}


/*
   Dropdown rows.
*/

.desktop-nav .nav-children > .nav-item {
    width: 100%;
    margin: 0;
    padding: 0 14px;
}

.desktop-nav .nav-children > .nav-item > a {
    display: block;
    width: 100%;
    padding: 11px 10px;
    color: var(--ink);
}


/*
   Separator is BEFORE the following title row,
   therefore visually BETWEEN the titles.
*/

.desktop-nav .nav-children > .nav-item + .nav-item > a {
    border-top: 1px solid rgba(16,35,45,.15);
}

.desktop-nav .nav-children > .nav-item > a:hover {
    color: #ffffff;
    background: var(--ink);
    border-radius: 8px;
}

/*
   Nested desktop submenu.
*/

.desktop-nav .nav-children .nav-item > .nav-children {
    top: -9px;
    left: calc(100% + 1px);
}

.desktop-nav .nav-children .nav-item.has-children:hover > .nav-children,
.desktop-nav .nav-children .nav-item.has-children:focus-within > .nav-children {
    display: block;
}


/*
   Nested menu hover bridge.
*/

.desktop-nav .nav-children .nav-item.has-children::after {
    top: 0;
    right: -1px;
    left: auto;
    width: 2px;
    height: 100%;
}


/*
   Arrow indicator for items with children.
*/

.desktop-nav .nav-item.has-children > a::after {
    content: "›";
    display: inline-block;
    margin-left: 9px;
    color: #aebbc0;
    font-size: 15px;
    line-height: 1;
}

.desktop-nav > .nav-children > .nav-item.has-children > a::after {
    content: "⌄";
    font-size: 12px;
}


/*
   Desktop toggle buttons are not required.
*/

.desktop-nav .nav-toggle {
    display: none;
}


/* ============================================================
   HEADER TOOLS
   ============================================================ */

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: none;
    color: #e8edef;
    font-weight: 800;
}

.lang a,
.lang strong {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lang img {
    display: block;
    width: auto;
    height: 18px;
    max-width: none;
    object-fit: contain;
}

.header-cta {
    background: #c99a70;
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.header-cta:hover {
    background: #d5aa84;
    transform: translateY(-1px);
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #c99a70;
    position: relative;
}

.menu-button i {
    position: absolute;
    left: 50%;
    width: 23px;
    height: 2px;
    margin: 0;
    background: var(--ink);
    transform: translateX(-50%);
}

.menu-button i:nth-child(1) {
    top: 13px;
}

.menu-button i:nth-child(2) {
    top: 22px;
}

.menu-button i:nth-child(3) {
    top: 31px;
}









/* ============================================================
   HERO
   ============================================================ */

.hero {
    margin-top: -78px;
    padding: 95px 0 185px;
    position: relative;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(
            rgba(245,247,244,.58),
            rgba(245,247,244,.58)
        ),
        url("../images/bnr2.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

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

.hero-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.3;
    letter-spacing: -.03em;
    font-weight: 800;
    color: inherit;
}


.hero-dynamic-headline {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility .6s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lead {
    max-width: 690px;
    margin: 10px 0 0;
    color: #56666e;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.4);
}


/* ============================================================
   LIFECYCLE
   ============================================================ */

.lifecycle {
    height: 610px;
    max-width: 920px;
    margin: 35px auto 0;
    position: relative;
}

.orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(16,35,45,.14);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-a {
    width: 390px;
    height: 390px;
}

.orbit-b {
    width: 555px;
    height: 555px;
    border-style: dashed;
}

.cycle-card {
    position: absolute;
    width: 145px;
    padding: 13px 15px;
    border: 1px solid rgba(16,35,45,.12);
    border-radius: 16px;
    background: var(--lime);
    box-shadow: 0 10px 30px rgba(16,35,45,.08);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.cycle-card:hover {
    border-color: rgba(16,35,45,.28);
    box-shadow: 0 14px 36px rgba(16,35,45,.14);
}

.cycle-card b {
    display: block;
    color: #89969b;
    font-size: 9px;
    letter-spacing: .12em;
}

.cycle-card strong {
    display: block;
    margin-top: 2px;
    font-size: 14px;
}

.cycle-card small {
    display: block;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.35;
}

.cycle-card-title-number {
    display: inline;
    margin-right: 0;
    font: inherit;
    font-weight: inherit;
    color: inherit;
}

.c1 {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.c2 {
    right: 105px;
    top: 70px;
}

.c3 {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.c4 {
    right: 90px;
    bottom: 58px;
}

.c5 {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.c6 {
    left: 90px;
    bottom: 58px;
}

.c7 {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.c8 {
    left: 105px;
    top: 70px;
}

.c2:hover,
.c4:hover,
.c6:hover,
.c8:hover {
    transform: scale(1.05);
}

.c1:hover,
.c5:hover {
    transform: translateX(-50%) scale(1.05);
}

.c3:hover,
.c7:hover {
    transform: translateY(-50%) scale(1.05);
}


/* ============================================================
   BUILDING
   ============================================================ */

.building {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 260px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255,255,255,.66);
    box-shadow: var(--shadow);
    transform: translate(-50%, -50%);
}

.building-title {
    margin-bottom: 12px;
    color: #10232d;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

.building img {
    width: auto;
    max-width: 145px;
    max-height: 175px;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.building p {
    margin: 12px 0 0;
    color: #7d8a90;
    font-size: 10px;
    text-align: center;
}

.building .tower {
    display: none;
}


/* ============================================================
   GENERAL SECTIONS
   ============================================================ */

.section {
    padding: 105px 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-head h2,
.service-copy h2,
.contact h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.02;
    letter-spacing: -.05em;
    font-weight: 800;
}


.section-head > p:last-child,
.service-copy > p,
.contact p:not(.kicker) {
    color: inherit;
    font-size: 17px;
}


/* ============================================================
   ENTRY CARDS
   ============================================================ */

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

.action-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    padding: 27px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s ease, box-shadow .2s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.action-card > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--lime-soft);
    color: #657615;
    font-weight: 900;
}

.action-card h3 {
    margin: 28px 0 7px;
    font-size: 21px;
}

.action-card p {
    margin: 0;
    color: var(--muted);
}

.action-card b {
    margin-top: auto;
    padding-top: 20px;
    font-size: 13px;
}

.accent-card {
    background: var(--lime);
}

.accent-card > span {
    background: rgba(16,35,45,.1);
    color: var(--ink);
}


/* ============================================================
   DARK SECTION
   ============================================================ */

.dark-section {
    padding: 70px 0 105px;
    background: var(--dark-surface);
    color: var(--white);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section p {
    color: inherit;
}


/* ============================================================
   COMPETENCIES
   ============================================================ */

.competency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.12);
}

.competency {
    min-height: 215px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: var(--dark);
}

.competency.featured {
    grid-row: span 2;
    min-height: 431px;
    background: linear-gradient(145deg, #18303b, #0b1b24);
}

.competency small {
    color: #9dacb1;
    letter-spacing: .15em;
}

.competency h3 {
    margin: 30px 0 8px;
    font-size: 31px;
}

.competency p {
    color: #aab8bd;
}

.competency a {
    display: inline-block;
    margin-top: 15px;
    color: var(--lime);
    font-size: 13px;
    font-weight: 800;
}


/* ============================================================
   SOLUTION CARDS
   ============================================================ */

.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 20px;
    width: 100%;
}

.solution-card {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 210px;
    margin: 0;
    padding: 28px;
    overflow: hidden;
    background: #e7e7e7;
    color: #111;
    border: 1px solid rgba(16,35,45,.10);
    border-radius: 22px;
    box-shadow: none;
    transition:
        transform .2s ease,
        background-color .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.solution-card:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    border-color: rgba(16,35,45,.16);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.solution-card-content {
    display: flex;
    flex-direction: column;
    min-height: 153px;
}

.solution-card-number {
    display: inline-block;
    margin: 0 0 18px;
    margin-right: 0.4em;
    color: #68777e;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.solution-card-title {
   display: flex;
   align-items: center;
   gap: 8px;
   margin: 0 0 12px;
   color: #111;
   font-family: var(--font);
   font-size: 16px;
   line-height: 1.08;
   font-weight: 800;
}

.solution-card-title-image {
    width: 60px;
    height: 60px;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 4px;
    flex: 0 0 auto;
}

.solution-card p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.solution-card-preview {
    display: block;
    width: 100%;
}

.solution-card-preview-text[hidden],
.solution-card.is-open .solution-card-preview-text {
    display: none !important;
    visibility: hidden !important;
    width: 0;
    height: 0;
    min-height: 0;
    max-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.solution-card-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-height: 44px;
    margin-top: auto;
    padding: 11px 17px;
    background: var(--lime);
    color: var(--ink);
    border: 1px solid rgba(16,35,45,.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(16,35,45,.12);
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.solution-card-toggle:hover {
    background: #c9df45;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,35,45,.18);
}

.solution-card-toggle:focus-visible,
.solution-detail-pay:focus-visible {
    outline: 3px solid rgba(184,207,59,.45);
    outline-offset: 3px;
}

.solution-card-toggle-icon {
    display: inline-block;
    font-size: 17px;
    line-height: 1;
    transition: transform .2s ease;
}

.solution-card-toggle:hover .solution-card-toggle-icon {
    transform: translateX(4px);
}

.solution-detail-container[hidden] {
    display: none !important;
}

.solution-detail-container:not([hidden]) {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(16,35,45,.14);
}

.solution-detail-container p {
    color: #333;
}

.solution-detail-text {
    margin: 32px 0;
    text-align: center;
}

.solution-detail-container h1,
.solution-detail-container h2,
.solution-detail-container h3,
.solution-detail-container h4,
.solution-detail-container h5,
.solution-detail-container h6 {
    color: #111;
}

.solution-detail-section {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid rgba(16,35,45,.14);
}

.solution-detail-order {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(16,35,45,.14);
}

.solution-detail-sub-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #8a5a2b;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.solution-detail-sub-link:hover,
.solution-detail-sub-link:focus-visible {
    color: #5f3d1d;
}

.solution-detail-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 22px;
    background: var(--lime);
    color: var(--ink);
    border: 1px solid rgba(16,35,45,.12);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(16,35,45,.12);
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.solution-detail-pay:hover {
    background: #c9df45;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,35,45,.18);
}

.solution-detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0 14px;
}

.solution-detail-image img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* ------------------------------------------------------------
   Lösung 02 — Planungsbilder
   Maximale Bildgröße bei erhaltenem Seitenverhältnis
------------------------------------------------------------ */

.planning-section-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

#solutions {
    scroll-margin-top: 80px;
}

.solution-card[id] {
    scroll-margin-top: 110px;
}


/* ============================================================
   SERVICES
   ============================================================ */

.service-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
}

.service-copy {
    max-width: 540px;
}

.service-copy .btn {
    margin-top: 20px;
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-list a {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.service-list span {
    color: #8c999e;
    font-size: 10px;
}

.service-list i {
    font-style: normal;
    font-size: 20px;
}


/* ============================================================
   FEATURE
   ============================================================ */

.feature {
    padding: 70px 0;
    background: var(--paper);
}

.feature-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding: 60px;
    color: var(--white);
    background: var(--dark-surface);
    border-radius: 30px;
}

.feature-box h2 {
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 800;
}

.feature-box > p {
    align-self: end;
    color: #b9c4c8;
    font-size: 18px;
}

.feature-image img {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 10px;
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    padding: 80px 0;
    background: var(--paper);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: end;

    background: var(--lime);
    border-radius: 24px;
    padding: 48px;
}

.contact h2 {
    margin-bottom: 12px;
    font-size: clamp(32px, 4.4vw, 48px);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px 23px;
    color: #fff;
    background: var(--ink);
    border-radius: 999px;
    font-weight: 850;
}

.contact-btn span {
    font-size: 22px;
}


/* ============================================================
   E-CONTACT Externes Kontaktformular
   ============================================================ */

.e-contact {
    width: 100%;
    padding: 70px 0;
}

.e-contact .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.e-contact h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 800;
}

.e-contact-intro {
    max-width: 900px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.e-contact-message {
    margin: 0 0 25px;
    padding: 16px 20px;
    border: 1px solid currentColor;
}

.e-contact-message-success {
    color: #1b6b3a;
}

.e-contact-message-error {
    color: #9b2c2c;
}

.e-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.e-contact-field {
    min-width: 0;
}

.e-contact-field-full {
    grid-column: 1 / -1;
}

.e-contact-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.e-contact-field input,
.e-contact-field select,
.e-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #bbb;
    border-radius: 0;
    background: #fff;
    font: inherit;
}

.e-contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

.e-contact-field input:focus,
.e-contact-field select:focus,
.e-contact-field textarea:focus {
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.e-contact-counter {
    margin-top: 6px;
    text-align: right;
    font-size: 13px;
    opacity: .65;
}

.e-contact-verification-row {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr);
    gap: 12px;
    align-items: center;
}

.e-contact-code {
    padding: 13px 18px;
    border: 1px solid #222;
    background: #f5f5f5;
    font-family: monospace;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .18em;
    text-align: center;
    user-select: none;
    width: fit-content;
    min-width: 130px;
    box-sizing: border-box;
}

.e-contact-submit {
    grid-column: 1 / -1;
    margin-top: 5px;
    margin-bottom: 48px;
}

.e-contact-submit button {
    padding: 14px 28px;
    border: 0;
    background: var(--lime);
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(16,35,45,.12);
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.e-contact-submit button:hover {
    background: #c9df45;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,35,45,.18);
}

.e-contact-submit button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

@media (max-width: 760px) {

    .e-contact {
        padding: 50px 0;
    }

    .e-contact-grid {
        grid-template-columns: 1fr;
    }

    .e-contact-field-full,
    .e-contact-submit {
        grid-column: auto;
    }

    .e-contact-verification-row {
        grid-template-columns: 1fr;
    }

   .e-contact-code {
       width: fit-content;
       box-sizing: border-box;
   }
}



/* ============================================================
   SITEMAP
   ============================================================ */

/* Sitemap: Aufzählungspunkte entfernen */
.sitemap-group ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Hauptüberschriften mit Ordnersymbol */
.sitemap-group h2 {
    position: relative;
    padding-left: 30px;
}

.sitemap-group h2::before {
    content: "📁";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 21px;
}

/* Unterseiten mit kleinerem Ordnersymbol */
.sitemap-group ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 6px;
}

.sitemap-group ul li::before {
    content: "📁";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}



/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 32px 0;
    background: var(--dark-surface);
    color: var(--footer-text);
    text-align: left;
}

/* Gesamter Footer-Aufbau */

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    text-align: left;
}

/* Logo: eigene Zeile */

.footer-logo-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}

.footer-logo {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
}

/* Footer Main Title und Text: volle Breite */

.footer-main {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    /* Trennlinie unter dem Footer-Haupttext */
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.footer-main .footer-heading {
    margin: 0 0 12px;
}

.footer-main .footer-company {
    width: 100%;
    margin: 0;
    color: var(--footer-text);
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

/* Vier Spalten nebeneinander auf Desktop */

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Einzelne Spalten */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    text-align: left;
}

/* Überschriften */

.footer-heading {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    color: rgb(255, 168, 0);
    text-align: left;
}

/* Spalteninhalte */

.footer-content {
    width: 100%;
    text-align: left;
}

.footer-content p,
.footer-inner p {
    margin: 0 0 8px;
    color: var(--footer-text);
    font-size: 15px;
    text-align: left;
}

/* Links untereinander */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    color: var(--footer-text);
    font-size: 15px;
    text-align: left;
}

.footer-links a {
    display: block;
    width: auto;
    color: var(--footer-text);
    text-align: left;
}

.footer-links a:hover,
.footer-content a:hover {
    color: var(--lime);
}

/* Responsive Darstellung */

@media (max-width: 900px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}



/* ============================================================
   PRODUCT PAGE
   ============================================================ */

/* Container 1: Produktvorstellung */
.product-container {
    background: var(--dark-surface);
    color: #fff;
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 24px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    column-gap: 24px;
    text-align: center;
}

/* Überschrift über beide Spalten */
.product-container > .feature-content {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
}

/* Produktbild und Verfügbarkeit in einer gemeinsamen Zeile */
.product-container > .product-display-row {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
}

/* Produktbild */
.product-container > .product-image {
    grid-column: 1 / -1;
    justify-self: center;
}

.product-container .product-image img {
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 10px auto;
    justify-self: center;
}

/* Verfügbarkeitstext und Verfügbarkeitsbild */
.product-container .product-availability {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    margin: 0;
}

/* Überschriften und Texte */
.product-container h1,
.product-container h2,
.product-container h3,
.product-container p,
.product-container .kicker {
    color: rgb(255, 168, 0);
    margin-top: 0;
}


.product-container > .feature-text {
    grid-column: 1 / -1;
    text-align: center;
}



/* ============================================================
   Container 2: Produktbestellung
   ============================================================ */
   
.product-order-container {
    background: #f3eee6;
    color: #111;
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 24px;
}

.product-order-container h1,
.product-order-container h2,
.product-order-container h3,
.product-order-container p {
    color: rgb(255, 168, 0);
    margin-top: 0;
}

.solution-detail-inner .solution-detail-content h1 {
    text-align: center;
}

.solution-detail-inner .solution-detail-content h1 span {
    display: block;
    width: 100%;
    text-align: center;
}

.product-order-container
.solution-detail-content > hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid rgba(16,35,45,.18);
    height: 0;
}



/* ============================================================
   CONTAINER 2 - PRODUCT BEDARF / VERFÜGBARKEIT
   ============================================================ */

.product-selection-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.product-demand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.product-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.product-availability img {
    display: inline-block !important;
    width: auto !important;
    height: 32px !important;
    max-width: none !important;
    flex: 0 0 auto;
}


/* ============================================================
   CONTAINER 2 - PRODUCT SLIDER
   ============================================================ */

.product-slider {
    width: 100%;
}

.product-range {
    display: inline-block;
    height: 20px;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.product-range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: #999;
}

.product-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 0;
    border-radius: 50%;
    background: #c99a70;
    cursor: pointer;
}

.product-range::-moz-range-track {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #999;
}

.product-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #c99a70;
    cursor: pointer;
}









/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

.mobile-nav {
    display: none;
    background: var(--lime);
    font-size: var(--mobile-nav-font-size);
    font-weight: var(--mobile-nav-font-weight);
    padding: 0 14px 20px;
}

.mobile-nav.open {
    display: block;
}


/* ------------------------------------------------------------
   Mobile Navigation — eigener Scrollbereich
   ------------------------------------------------------------ */

.mobile-nav {
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ink-2) transparent;
}

/* Geöffnetes Menü */
.mobile-nav.open {
    display: block;
}

/* Scrollbereich bei kleineren Smartphones */
@media (max-width: 720px) {
    .mobile-nav {
        max-height: calc(100dvh - 108px);
    }
}


.mobile-nav a {
    color: var(--ink);
}



/* ------------------------------------------------------------
   Navigation structure
   ------------------------------------------------------------ */

.mobile-nav-items {
    width: 100%;
}

.mobile-nav .nav-item {
    position: relative;
    width: 100%;
}

/* Hauptmenüpunkte */
.mobile-nav-items > .nav-item > .nav-link {
    display: block;
    width: 100%;
    padding: 22px 65px 22px 0;
    color: var(--ink);
    line-height: 1.2;
}

/* Trennlinien zwischen den Hauptmenüpunkten */
.mobile-nav-items > .nav-item + .nav-item {
    border-top: 1px solid rgba(16, 35, 45, .18);
}

/* Untermenüs */
.mobile-nav .nav-item > .nav-children {
    display: none;
    width: 100%;
    padding-left: 28px;
}

.mobile-nav .nav-item.is-open > .nav-children {
    display: block;
}

/* Untermenüpunkte */
.mobile-nav .nav-children > .nav-item > .nav-link {
    display: block;
    width: 100%;
    padding: 18px 65px 18px 0;
    color: var(--ink);
    line-height: 1.25;
}

/* Trennlinien innerhalb der Untermenüs */
.mobile-nav .nav-children > .nav-item + .nav-item > .nav-link {
    border-top: 1px solid rgba(16, 35, 45, .15);
}

/* Weitere verschachtelte Ebenen */
.mobile-nav .nav-children .nav-children {
    padding-left: 28px;
}

/* ------------------------------------------------------------
   Expand / collapse button
   ------------------------------------------------------------ */

.mobile-nav .nav-item.has-children > .nav-toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    width: 65px;
    height: 66px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: var(--mobile-nav-font-size);
    line-height: 1;
    cursor: pointer;
}

/* Pluszeichen */
.mobile-nav .nav-item.has-children:not(.is-open) > .nav-toggle .nav-toggle-icon::before {
    content: "+";
    font-size: 1.35rem;
    color: var(--ink);
}

/* Minuszeichen */
.mobile-nav .nav-item.has-children.is-open > .nav-toggle .nav-toggle-icon::before {
    content: "−";
    font-size: 1.35rem;
    color: var(--ink);
}

/* Kürzere Zeilenhöhe bei verschachtelten Untermenüs */
.mobile-nav .nav-children .nav-item.has-children > .nav-toggle {
    height: 59px;
}

/* Desktop-Pfeile im mobilen Menü ausblenden */
.mobile-nav .nav-item.has-children > .nav-link::after {
    display: none;
}








/* ============================================================
   MOBILE LANGUAGE
   ============================================================ */

.mobile-nav-language {
    display: none;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(16, 35, 45, .15);
}

.mobile-nav-language-label {
    color: var(--ink);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.mobile-nav-language-flags {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.mobile-nav-language-flags a,
.mobile-nav-language-flags strong {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0;
    margin: 0;
    border: 0;
    line-height: 1;
}

.mobile-nav-language-flags img {
    display: block;
    width: auto;
    height: 40px;
    max-width: none;
    object-fit: contain;
}


/* =========================================================
   MOBILE NAVIGATION — TRENNLINIEN
========================================================= */

/* Trennlinie unterhalb der Sprachauswahl einschließlich Flaggen */
.mobile-nav .mobile-nav-language {
    border-bottom: 1px solid rgba(16, 35, 45, .25);
    padding-bottom: 12px;
    margin-bottom: 8px;
}

/* Abstand zwischen Sprachwahl und Menü */
.mobile-nav .mobile-nav-items {
    padding-top: 4px;
}

/* Trennlinien zwischen den nicht aufgeklappten Hauptmenüpunkten */
.mobile-nav-items > .nav-item + .nav-item {
    border-top: 1px solid rgba(16, 35, 45, .18);
}

/* Keine zusätzlichen Trennlinien innerhalb der Untermenüs */
.mobile-nav-items .nav-children .nav-item + .nav-item {
    border-top: none;
}






/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .desktop-nav {
        display: none;
    }

    .menu-button,
    .mobile-nav-language {
        display: flex;
    }



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

    .hero-actions {
        justify-content: flex-start;
    }

    .lifecycle {
        transform: scale(.9);
        transform-origin: top center;
        margin-bottom: 20px;
    }

    .entry-grid,
    .competency-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .feature-box {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }
}








/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {

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


    /* --------------------------------------------------------
       Header
       -------------------------------------------------------- */

    .header-inner {
        min-height: 108px;
        gap: 30px;
    }

    .site-header::before {
        height: 116px;
        clip-path: polygon(
            0% 0%, 100% 0%,
            100% 91%, 96% 91%, 92% 91%, 88% 91%, 84% 91%,
            80% 90.8%, 76% 90.6%, 72% 90.5%, 68% 90.5%,
            64% 90.7%, 60% 91%, 56% 91.4%, 52% 91.8%,
            48% 92%, 44% 92.1%, 40% 92%, 36% 91.7%,
            32% 91.3%, 28% 90.8%, 24% 90.3%, 20% 89.7%,
            16% 89%, 12% 88.2%, 8% 87.4%, 4% 86.6%, 0% 85.8%
        );
    }

    .header-cta,
    .lang,
    .desktop-nav {
        display: none;
    }


    .mobile-nav-language {
        display: flex;
    }



    /* --------------------------------------------------------
       Hero
       -------------------------------------------------------- */

    .hero {
        margin-top: -108px;
        padding: 163px 0 20px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .lead {
        font-size: 16px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }


    /* --------------------------------------------------------
       Lifecycle
       -------------------------------------------------------- */

    .lifecycle {
        height: 590px;
        transform: none;
        margin-top: 25px;
        overflow: hidden;
    }

    .orbit {
        display: none;
    }

    .building {
        width: 210px;
        height: 255px;
    }

    .building img {
        max-width: 110px;
        max-height: 135px;
    }

    .cycle-card {
        width: 118px;
        padding: 10px 11px;
    }

    .cycle-card small {
        display: none;
    }

    .c1 {
        top: 0;
    }

    .c2 {
        right: 0;
        top: 75px;
    }

    .c3 {
        right: -5px;
        top: 50%;
    }

    .c4 {
        right: 0;
        bottom: 75px;
    }

    .c5 {
        bottom: 0;
    }

    .c6 {
        left: 0;
        bottom: 75px;
    }

    .c7 {
        left: -5px;
        top: 50%;
    }

    .c8 {
        left: 0;
        top: 75px;
    }


    /* --------------------------------------------------------
       Sections
       -------------------------------------------------------- */

    .section,
    .dark-section {
        padding: 75px 0;
    }

    .entry-grid,
    .competency-grid {
        grid-template-columns: 1fr;
    }


    /* --------------------------------------------------------
       Solution cards
       -------------------------------------------------------- */

    .solution-card {
        min-height: 200px;
        padding: 25px;
    }

    .solution-card-title {
        font-size: 16px;
    }

    .solution-card-preview {
        display: block;
    }

    .solution-card-toggle {
        min-height: 44px;
        margin-top: 20px;
        padding: 11px 16px;
        font-size: 13px;
    }

    .solution-detail-container:not([hidden]) {
        margin-top: 22px;
        padding-top: 22px;
    }


    /* --------------------------------------------------------
       Competency
       -------------------------------------------------------- */

    .competency.featured {
        grid-row: auto;
        min-height: 215px;
    }


    /* --------------------------------------------------------
       Feature
       -------------------------------------------------------- */

    .feature {
        padding: 45px 0;
    }

    .feature-box {
        padding: 35px 25px;
    }





    /* --------------------------------------------------------
       Footer
       -------------------------------------------------------- */


      .footer-inner {
          flex-direction: column;
          align-items: stretch;
          gap: 25px;
      }
      
      .footer-logo-row {
          justify-content: flex-start;
      }
      
      .footer-columns {
          grid-template-columns: 1fr;
          gap: 24px;
      }
      
      .footer-column {
          align-items: flex-start;
          text-align: left;
      }
      
      .footer-heading,
      .footer-content,
      .footer-links {
          text-align: left;
      }
      
      .footer-links {
          flex-direction: column;
          flex-wrap: nowrap;
          align-items: flex-start;
      }
      
/* ============================================================
   FOOTER – TRENNLINIEN
   ============================================================ */

   /* Smartphone: horizontale Trennlinien */
   
   .footer-column {
       border-right: none;
       border-bottom: 1px solid rgba(255, 255, 255, 0.20);
       padding-right: 0;
       padding-bottom: 20px;
   }
   
   /* Letzte Spalte ohne Abschlusslinie */
   
   .footer-column:last-child {
       border-bottom: none;
       padding-bottom: 0;
   }


    /* --------------------------------------------------------
       Headings
       -------------------------------------------------------- */
      
      .section-head h2,
      .service-copy h2,
      .contact h2 {
          margin: 0 0 16px;
          font-size: 32px;
          line-height: 1.02;
          letter-spacing: -.05em;
          font-weight: 800;
          color: inherit;
      }


    /* --------------------------------------------------------
       Product
       -------------------------------------------------------- */

    .product-container,
    .product-order-container {
        padding: 30px 25px;
        border-radius: 22px;
    }

    .product-availability img {
        height: 28px !important;
    }
}








/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .product-availability img {
        height: 28px !important;
    }
}
