/* ── Variables ─────────────────────────────────────────────── */
:root {
    --navy:      #0c1520;
    --navy-mid:  #142030;
    --navy-soft: #1b2d40;
    --accent:    #1566ad;
    --accent-lt: #2e88d4;
    --teal:      #0d7a8a;
    --white:     #ffffff;
    --light:     #eef2f7;
    --gray:      #6b7280;
    --border:    #dde3ec;
    --font:      'Poppins', system-ui, sans-serif;
    --nav-h:     72px;
    --radius:    .625rem;
    --shadow:    0 4px 24px rgba(12,21,32,.12);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--font); font-size: 1rem; line-height: 1.8; color: #1a202c; background: var(--white); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5rem 0; }
.section-light { background: var(--light); }
.section-dark  { background: var(--navy); color: var(--white); }
.section-white { background: var(--white); }

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}
.section-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
    color: var(--gray);
    font-size: 1.05rem;
}
.section-dark .section-intro { color: rgba(255,255,255,.65); }

/* ── Navigation ─────────────────────────────────────────────── */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(12,21,32,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    height: var(--nav-h);
    display: flex; align-items: center;
}
.nav-container {
    max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo span { color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }

.nav-menu { list-style: none; display: flex; gap: 2rem; }
.nav-link {
    color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500;
    text-decoration: none; transition: color .2s; padding: .25rem 0;
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
    height: 2px; background: var(--accent); transition: right .25s;
}
.nav-link:hover, .nav-link.active { color: #fff; text-decoration: none; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }

.nav-phone {
    color: rgba(255,255,255,.85); font-size: .85rem;
    display: flex; align-items: center; gap: .4rem;
}
.nav-phone svg { opacity: .7; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ── Hero ───────────────────────────────────────────────────── */
#home {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3550 100%);
    display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h);
    position: relative; overflow: hidden;
}
#home::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 40%, rgba(21,102,173,.18) 0%, transparent 65%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1'%3E%3Cpath d='M0 20h40M20 0v40'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.hero-bg-img {
    position: absolute;
    right: -6%;
    top: 50%;
    transform: translateY(-50%) rotate(-20deg);
    width: 88%;
    aspect-ratio: 1 / 0.75;
    background: url('../assets/lanze.png') center/contain no-repeat;
    mix-blend-mode: screen;
    opacity: .32;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 85% 90% at 62% 50%, black 35%, transparent 80%);
    z-index: 0;
}
.hero-content {
    max-width: 1100px; width: 100%; margin: 0 auto;
    padding: 4rem 1.5rem 4rem;
    position: relative; z-index: 1;
}
.hero-headline {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800; color: #fff; line-height: 1.12;
    letter-spacing: -.035em; margin-bottom: 1.5rem;
    max-width: 700px;
}
.hero-headline em { font-style: normal; color: var(--accent-lt); }
.hero-sub {
    color: rgba(255,255,255,.68); font-size: 1.1rem;
    margin-bottom: 1.5rem; max-width: 560px; line-height: 1.75;
}
.hero-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 2.5rem;
    padding: 0;
}
.hero-benefits li {
    display: flex;
    align-items: center;
    gap: .875rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-left: 3px solid var(--accent-lt);
    border-radius: .5rem;
    padding: .75rem 1.25rem;
    max-width: 420px;
}
.hero-benefits li svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--accent-lt);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── KPI Tiles ──────────────────────────────────────────────── */
.hero-kpi-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.45);
    margin-top: 3rem;
    margin-bottom: -.5rem;
}
.hero-kpi {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; margin-top: 1.25rem;
}
.kpi-tile {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 1rem;
    padding: 2rem 1.75rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    transition: background .25s, border-color .25s, transform .25s;
}
.kpi-tile:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(46,136,212,.35);
    transform: translateY(-3px);
}
.kpi-icon {
    width: 64px; height: 64px;
    background: rgba(21,102,173,.25);
    border: 1px solid rgba(46,136,212,.40);
    border-radius: .9rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-lt);
}
.kpi-icon svg { width: 32px; height: 32px; }
.kpi-tile strong {
    font-size: 1.05rem; font-weight: 700; color: #fff;
    letter-spacing: -.01em; line-height: 1.3;
}
.kpi-tile span {
    font-size: .82rem; color: rgba(255,255,255,.50);
    line-height: 1.6;
}

/* entrance animation */
@keyframes kpiIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.kpi-anim {
    opacity: 0;
    animation: kpiIn .55s cubic-bezier(.22,.68,0,1.2) forwards;
    animation-delay: calc(.6s + var(--d, 0ms));
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem; border-radius: 2rem;
    font-weight: 600; font-size: .9rem; transition: all .2s;
    cursor: pointer; border: none; text-decoration: none;
}
.btn-primary {
    background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-lt); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-outline {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.btn-outline-dark {
    background: transparent; color: var(--navy);
    border: 1.5px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--navy); background: var(--light); text-decoration: none; }

/* ── Vorteile ───────────────────────────────────────────────── */
.benefits-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    margin-top: 3rem;
}
.benefit-card {
    text-align: center; padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    transition: transform .25s;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon {
    width: 56px; height: 56px;
    background: rgba(21,102,173,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--accent);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.benefit-card p  { color: var(--gray); font-size: .95rem; }

/* ── Dienstleistungen ───────────────────────────────────────── */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    margin-top: 3rem;
}
.service-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 2rem;
    transition: background .25s, border-color .25s;
}
.service-card:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(46,136,212,.4);
}
.service-num {
    font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-lt); margin-bottom: .75rem;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.service-card p  { color: rgba(255,255,255,.65); font-size: .95rem; }
.service-card ul { color: rgba(255,255,255,.65); font-size: .9rem; padding-left: 1.2rem; margin-top: .5rem; }
.service-card ul li { margin-bottom: .25rem; }

/* ── Werte ──────────────────────────────────────────────────── */
.values-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    margin-top: 3rem;
}
.value-card {
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    background: var(--white);
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    position: relative; overflow: hidden;
    box-shadow: 0 2px 16px rgba(21,102,173,.06);
    transition: transform .25s, box-shadow .25s;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(21,102,173,.13);
}
.value-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--accent));
    border-radius: 1.25rem 1.25rem 0 0;
}
.value-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(21,102,173,.12), rgba(13,122,138,.08));
    border: 1.5px solid rgba(21,102,173,.18);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.value-icon svg { width: 38px; height: 38px; }
.value-card h3 { font-size: 1.2rem; font-weight: 700; color: #1a202c; letter-spacing: -.01em; }
.value-card p  { color: var(--gray); font-size: .93rem; line-height: 1.7; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    margin-top: 3rem;
}
.testimonial {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 2rem;
}
.testimonial-quote {
    font-size: 1.05rem; font-style: italic;
    color: rgba(255,255,255,.85); margin-bottom: 1.25rem;
    line-height: 1.7;
}
.testimonial-quote::before { content: '„'; color: var(--accent-lt); font-size: 1.5rem; line-height: 0; vertical-align: -.3em; margin-right: .1rem; }
.testimonial-author { font-size: .82rem; color: rgba(255,255,255,.5); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ── Über uns – Profile Cards ───────────────────────────────── */
.profile-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
    margin-top: 3rem; max-width: 740px; margin-left: auto; margin-right: auto;
}
.profile-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.75rem;
    display: flex; flex-direction: column; align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 16px rgba(21,102,173,.06);
    transition: box-shadow .25s, transform .25s;
}
.profile-card:hover {
    box-shadow: 0 6px 30px rgba(21,102,173,.13);
    transform: translateY(-3px);
}
.profile-avatar-wrap {
    position: relative; display: inline-block;
}
.profile-avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    background: var(--light);
    display: flex; align-items: center; justify-content: center;
}
.profile-avatar img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    display: block;
}
.profile-avatar.no-photo img { display: none; }
.profile-initials {
    font-size: 1.5rem; font-weight: 800; color: var(--accent); letter-spacing: -.02em;
    display: none;
}
.profile-avatar.no-photo .profile-initials { display: block; }
.profile-badge {
    position: absolute; bottom: 2px; right: 2px;
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--white);
}
.profile-badge svg { width: 13px; height: 13px; stroke: var(--white); }
.profile-badge-mech { background: var(--accent); }
.profile-badge-it   { background: #1e7a4a; }
.profile-info { width: 100%; text-align: center; }
.profile-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; color: #1a202c; }
.profile-role { font-size: .82rem; color: var(--gray); font-weight: 500; text-transform: uppercase; letter-spacing: .07em; }
.profile-divider { width: 36px; height: 2px; background: var(--accent); border-radius: 2px; margin: .9rem auto; opacity: .4; }
.profile-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.profile-skills span {
    font-size: .75rem; font-weight: 600;
    background: rgba(21,102,173,.07);
    color: var(--accent);
    border: 1px solid rgba(21,102,173,.18);
    border-radius: 2rem; padding: .22rem .7rem;
}

/* ── Partner-Netzwerk ───────────────────────────────────────── */
.pnet-section {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.pnet-section .section-title { color: var(--white); }
.pnet-section .section-intro { color: rgba(255,255,255,.6); }

/* Background orbs */
.pnet-bg-orbs {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.pnet-bg-orbs span {
    position: absolute; border-radius: 50%;
    filter: blur(80px); will-change: transform;
}
.pnet-bg-orbs span:nth-child(1) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(21,102,173,.5) 0%, transparent 70%);
    top: -80px; right: 5%; opacity: .5;
    animation: orb-drift 18s ease-in-out infinite;
}
.pnet-bg-orbs span:nth-child(2) {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(21,102,173,.3) 0%, transparent 70%);
    bottom: -60px; left: 5%; opacity: .35;
    animation: orb-drift-b 22s ease-in-out infinite;
}

.pnet-mobile-conn { display: none; }
.pnet-wrap {
    position: relative; margin-top: 3rem;
    max-width: 820px; margin-left: auto; margin-right: auto;
    z-index: 1;
}
.pnet-lines-svg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; overflow: visible;
    z-index: 0;
}
.pnet-row-top {
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 1;
}
.pnet-hub-wrap {
    display: flex; flex-direction: column; align-items: center;
}
/* Vertical connector: hidden on desktop (SVG handles it), shown on mobile */
.pnet-vconn {
    display: none;
    width: 2px; height: 44px;
    background: rgba(77,163,255,.25);
    margin: 0 auto;
    position: relative; overflow: hidden; z-index: 1;
    box-shadow: 0 0 6px rgba(77,163,255,.4);
}
.pnet-vconn-pulse {
    position: absolute; left: 0; top: -40%;
    width: 100%; height: 40%;
    background: linear-gradient(180deg, transparent, #4da3ff, transparent);
    animation: pulseFlowV 1.8s ease-in-out 1.2s infinite;
}
.pnet-row-bottom {
    display: flex; justify-content: center;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    position: relative; z-index: 1;
}

/* Glass partner nodes */
.pnet-node {
    display: flex; flex-direction: column; align-items: center; gap: .75rem;
    padding: 1.75rem 1.5rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    width: 210px; text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    color: inherit; text-decoration: none;
}
.pnet-node:hover {
    transform: translateY(-4px);
    border-color: rgba(77,163,255,.4);
    box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 20px rgba(21,102,173,.2);
}
.pnet-logo {
    height: 48px; width: 100%;
    background: rgba(255,255,255,.08);
    border-radius: .5rem;
    display: flex; align-items: center; justify-content: center;
    padding: .4rem .9rem;
    border: 1px solid rgba(255,255,255,.08);
}
.pnet-logo img { max-height: 34px; max-width: 130px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.pnet-logo-wms img { filter: none; max-height: 40px; }
.pnet-logo-fallback {
    align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700;
    color: rgba(255,255,255,.8);
    letter-spacing: .05em;
    width: 100%; height: 100%;
}
.pnet-node strong { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.4; }
.pnet-role {
    font-size: .72rem; font-weight: 500;
    color: rgba(255,255,255,.4);
    text-transform: uppercase; letter-spacing: .08em;
}

/* Hub card — prominent center */
.pnet-hub {
    border-color: rgba(77,163,255,.5);
    background: rgba(21,102,173,.18);
    box-shadow: 0 0 40px rgba(21,102,173,.3), 0 0 0 1px rgba(77,163,255,.3);
    width: 240px;
    padding: 2rem 1.75rem;
}
.pnet-hub:hover {
    box-shadow: 0 8px 48px rgba(21,102,173,.45), 0 0 0 1px rgba(77,163,255,.5);
}
.pnet-hub-glow {
    position: absolute; inset: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(77,163,255,.15), transparent 60%);
    pointer-events: none;
}
.pnet-hub-logo {
    background: rgba(21,102,173,.3);
    border-color: rgba(77,163,255,.2);
}
.pnet-hub strong { color: #fff; font-size: .9rem; }
.pnet-hub-role { color: #4da3ff !important; }

/* Supplier card */
.pnet-supply {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(77,163,255,.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    width: 100%; max-width: 580px;
    box-shadow: 0 0 24px rgba(21,102,173,.15);
}
.supply-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    background: rgba(21,102,173,.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #4da3ff;
    border: 1px solid rgba(77,163,255,.3);
}
.supply-icon svg { width: 22px; height: 22px; }
.supply-body { display: flex; flex-direction: column; gap: .5rem; }
.supply-body strong { font-size: .95rem; font-weight: 700; color: #fff; }
.supply-body p { font-size: .8rem; color: rgba(255,255,255,.55); margin: 0; }
.supply-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.supply-tags span {
    font-size: .72rem; font-weight: 600;
    background: rgba(77,163,255,.12);
    color: #4da3ff;
    border: 1px solid rgba(77,163,255,.25);
    border-radius: 2rem;
    padding: .2rem .65rem;
}


/* ── Kontakt ────────────────────────────────────────────────── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start;
    margin-top: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); margin-top: .2rem; }
.contact-item strong { display: block; font-weight: 600; margin-bottom: .1rem; font-size: .9rem; }
.contact-item a, .contact-item span { color: var(--gray); font-size: .95rem; }
.contact-item a:hover { color: var(--teal); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: #374151; }
.form-group input, .form-group textarea, .form-group select {
    padding: .65rem 1rem; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-family: var(--font); font-size: .95rem;
    transition: border-color .2s; background: var(--white); color: #1a202c;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
}
.form-group textarea { resize: vertical; }
.required { color: var(--accent); }
.form-check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.form-check input { width: 16px; height: 16px; margin-top: .25rem; flex-shrink: 0; accent-color: var(--accent); }
.form-check label { font-size: .85rem; font-weight: 400; color: var(--gray); cursor: pointer; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }
.char-count { font-size: .78rem; color: var(--gray); text-align: right; }
.field-hint { font-weight: 400; color: var(--gray); font-size: .8rem; }

/* File upload */
.file-input-hidden { display: none; }
.file-upload-label {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem 1rem;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: .9rem;
    color: var(--gray);
    background: var(--white);
    transition: border-color .2s, color .2s, background .2s;
    user-select: none;
}
.file-upload-label:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(234,92,19,.04);
}
.file-upload-label.file-upload-ok {
    border-color: #16a34a;
    color: #16a34a;
    border-style: solid;
    background: #f0fdf4;
}
.file-upload-label.file-upload-error {
    border-color: #dc2626;
    color: #dc2626;
    border-style: solid;
    background: #fef2f2;
}
.file-error {
    font-size: .8rem;
    color: #dc2626;
    min-height: 1rem;
}

.form-alert { padding: .75rem 1rem; border-radius: var(--radius); font-size: .9rem; margin-bottom: 1rem; }
.form-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.form-status { padding: .85rem 1.1rem; border-radius: var(--radius); font-size: .9rem; margin-top: .5rem; }
.status-ok  { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.status-err { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.nav-link.active { color: var(--accent); }
#header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.15); }

/* ── Footer ─────────────────────────────────────────────────── */
#footer {
    background: #080e18;
    color: rgba(255,255,255,.55);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
}
.footer-logo img { height: 32px; opacity: .7; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,.45); font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { font-size: .82rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-kpi          { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .kpi-tile          { padding: 1.5rem 1.25rem; }
    .benefits-grid     { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .services-grid     { grid-template-columns: 1fr; }
    .values-grid       { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row          { grid-template-columns: 1fr; }
    .profile-grid      { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .nav-phone         { display: none; }
}
@media (max-width: 640px) {
    .section { padding: 3rem 0; }
    .nav-menu  { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--navy); padding: 1rem 1.5rem 1.5rem; gap: 1rem; }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero-actions { flex-direction: column; }
    .hero-benefits li { max-width: 100%; }

    .hero-kpi  { grid-template-columns: 1fr; gap: .75rem; margin-top: 2rem; }
    .kpi-tile  {
        flex-direction: row; text-align: left;
        align-items: center; gap: 1rem;
        padding: 1rem 1.25rem;
    }
    .kpi-icon  { width: 48px; height: 48px; flex-shrink: 0; border-radius: .75rem; }
    .kpi-icon svg { width: 22px; height: 22px; }
    .kpi-tile strong { font-size: .93rem; }
    .kpi-tile span   { font-size: .78rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .profile-grid { grid-template-columns: 1fr; max-width: 360px; }

    .hero-content    { padding: 2.5rem 1.5rem; }

    /* Netzwerk: vertikale Stapel-Ansicht */
    .pnet-bg-orbs    { display: none; }
    .pnet-lines-svg  { display: none; }
    .pnet-vconn      { display: none; }
    .pnet-row-top    { flex-direction: column; align-items: center; gap: 0; }
    .pnet-hub-wrap   { width: 100%; max-width: 300px; }
    .pnet-node       { width: 100%; max-width: 300px; }
    .pnet-hub        { width: 100%; max-width: 300px; }
    /* Reihenfolge: WMS → IC → hub */
    .pnet-row-top > *:nth-child(1) { order: 1; }
    .pnet-row-top > *:nth-child(2) { order: 2; }
    .pnet-row-top > *:nth-child(3) { order: 5; }
    .pnet-row-top > *:nth-child(4) { order: 4; }
    .pnet-row-top > *:nth-child(5) { order: 3; }
    .pnet-mobile-conn {
        display: flex; justify-content: center;
        width: 2px; height: 32px;
        background: rgba(77,163,255,.25);
        box-shadow: 0 0 6px rgba(77,163,255,.4);
        margin: 0 auto;
        position: relative; overflow: hidden;
    }
    .pnet-mobile-conn-pulse {
        position: absolute; left: 0; top: -40%;
        width: 100%; height: 40%;
        background: linear-gradient(180deg, transparent, #4da3ff, transparent);
        animation: pulseFlowV 1.8s ease-in-out 1.2s infinite;
    }
    .pnet-row-bottom { margin-top: 0; }
    .pnet-supply     { flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 100%; }
    .supply-icon     { flex-shrink: 0; }
    .supply-tags span { font-size: .78rem; }
}
@keyframes pulseFlowV { 0% { top: -40%; } 100% { top: 140%; } }
