

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F2F2F0;
    color: #222;
}

/* Seitenhintergrund links/rechts neben dem Inhalt:
   heller Mesh-Gradient mit warmen Highlight-Farben,
   feine Diagonaltextur und weiche Vignette */
body {
    background-color: #F2F2F0;
    /*background-image:*/
        /* sehr feine Diagonaltextur */
        /*repeating-linear-gradient(135deg, rgba(0,0,0,.022) 0 1px, transparent 1px 16px),*/
        /* Vignette: Raender leicht abdunkeln */
        /*radial-gradient(120% 100% at 50% 40%, transparent 58%, rgba(60,55,45,.14) 100%),*/
        /* Farbwolken: warm und neutral, passend zum Gelb-Grau der Seite */
        /*radial-gradient(58% 52% at 10% 16%, rgba(251,185,0,.20) 0%, transparent 62%),
        radial-gradient(52% 46% at 90% 24%, rgba(251,185,0,.28) 0%, transparent 60%),
        radial-gradient(65% 55% at 74% 86%, rgba(120,124,128,.18) 0%, transparent 66%),
        radial-gradient(48% 42% at 20% 90%, rgba(180,150,90,.16) 0%, transparent 64%),*/
        /* heller Grundverlauf */
        /*linear-gradient(160deg, #FBFBF9 0%, #F1F1EE 55%, #E4E4E0 100%);
    background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: fixed;*/
}


a {
    color: #F2B300;
    text-decoration: none;
}

    a:hover {
        color: #F2B300;
        text-decoration: none;
    }



.menuLink, .menuLink:hover, .menuLink:active, .menuLinkfocus {
    text-decoration: none;
    color: white;
}


video, video:active, videohover, video:focus {
    outline: none;
}

/* Blazor setzt via <FocusOnNavigate Selector="h1" /> beim Laden/Navigieren den Fokus
   auf die erste Ueberschrift. Outline nur bei echter Tastaturnavigation zeigen. */
h1[tabindex="-1"]:focus:not(:focus-visible) {
    outline: none;
}

.leanioChapter {
    padding: 2vw;
    background-color: white;
    max-width: 1000px;
}

.leanioBox {
    padding: 2vw;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px #ccc;
    border-left: 7px #fbb900 solid;
    max-width: 1000px;
}

.leanioCard {
    padding: 2vw;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px #ccc;
    max-width: 1000px;
}

.leanioButton {
    background-color: #fbb900;
}

.leanioColor {
    color: #fbb900;
}

.leanioBackgroundColor {
    background-color: #fbb900;
}


.imgCard {
    border-radius: 50%;
    box-shadow: 0px 0px 10px 0px #ccc;
}

.leanioImg {
    margin: 15px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px #ccc;
}

.leanioBullet {
    line-height: 2.5em;
    padding-left: 20px;
}

    .leanioBullet::before {
        content: url('/Images/Wabe-s.png');
        margin-right: 8px;
        vertical-align: middle;
    }


.leanioInset {
    margin-left: 20px;
    margin-right: 20px;
}

@media (min-width: 641px) {
    .leanioInset {
        margin-left: 120px;
        margin-right: 120px;
    }
}



.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Frisches Design für UeberUns Waben-Boxen */
.leanio-wabe-box.fresh-wabe {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem 1.5rem;
    margin: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.15rem;
    font-weight: 500;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leanio-wabe-box.fresh-wabe.text-dark {
    background-color: rgba(255,255,255,0.85);
}
.leanio-wabe-box.fresh-wabe.text-white {
    background-color: rgba(34,34,34,0.85);
}
.leanio-wabe-box.fresh-wabe:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
    .leanio-wabe-box.fresh-wabe {
        font-size: 1rem;
        padding: 2rem 1rem;
        min-height: 120px;
    }
}

.mission-box {
    background: rgba(255,255,255,0.97);
    border-radius: 0rem;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
    max-width: 700px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0;
    overflow: hidden;
}
.mission-box img {
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}
.mission-box .p-4 {
    font-size: 1.18rem;
    line-height: 1.7;
    color: #222;
}
@media (max-width: 768px) {
    .mission-box {
        border-radius: 0rem;
        max-width: 100%;
    }
    .mission-box .p-4 {
        font-size: 1rem;
        padding: 1.2rem;
    }
}

/* Moderne Feature-Karten (Standard-Software maßgeschneidert) */
.leanioFeatureCard {
    height: 100%;
    padding: 2rem 1.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-top: 3px solid #fbb900;
    border-radius: 14px;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.leanioFeatureCard:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.leanioFeatureCard__num {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbb900;
    margin-bottom: 0.5rem;
}

.leanioFeatureCard__title {
    color: #fff;
    margin: 0 0 1rem;
}

.leanioFeatureCard__text {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.leanioFeatureCard__label {
    color: #fbb900;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}

.leanioFeatureCard__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leanioFeatureCard__list li {
    line-height: 2.2em;
    padding-left: 4px;
    color: rgba(255,255,255,0.9);
}

.leanioFeatureCard__list li::before {
    content: url('/Images/Wabe-s.png');
    margin-right: 10px;
    vertical-align: middle;
}

/* Ruhige Inhaltsabschnitte (Produktseiten Board/BDE/Hive) */
.leanioContentSection {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.leanioContentSection__title {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.leanioContentSection__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15em;
    bottom: .15em;
    width: 5px;
    border-radius: 4px;
    background-color: #fbb900;
}

.leanioBulletList {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.leanioBulletList li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 2em;
}

.leanioBulletList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .8em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fbb900;
}

.leanioContentHighlight {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background-color: #fff8e6;
    border-left: 4px solid #fbb900;
    border-radius: 6px;
    font-weight: 600;
}

/* Ruhiger, einheitlicher Stil für alle Modul-Detailseiten */
.leanioModulePage > .col-md-7 > .bg-white {
    padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
    .leanioModulePage > .col-md-7 > .bg-white {
        padding: 3rem;
    }
}

.leanioModulePage > .col-md-7 > .bg-white + .bg-white {
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.leanioModulePage > .col-md-7 > .bg-white > h2:first-child {
    margin-top: 0;
}

.leanioModulePage > .col-md-7 > .bg-white h2 {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.leanioModulePage > .col-md-7 > .bg-white h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15em;
    bottom: .15em;
    width: 5px;
    border-radius: 4px;
    background-color: #fbb900;
}

.leanioModulePage > .col-md-7 > .bg-white ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.leanioModulePage > .col-md-7 > .bg-white li {
    position: relative;
    padding-left: 1.6rem;
    line-height: 2em;
}

.leanioModulePage > .col-md-7 > .bg-white li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .8em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fbb900;
}

.leanioModulePage > .col-md-7 > .bg-white li p {
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== Home / Startseite ===== */
.leanioHero {
    position: relative;
    overflow: hidden;
}

.leanioHero__video {
    display: block;
    width: 100%;
}

.leanioHero__wabe {
    width: 22%;
    position: absolute;
    right: 0;
    top: 1.5rem;
    z-index: 3;
}

.leanioHero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75));
}

.leanioHero__inner {
    max-width: 720px;
    color: #fff;
}

.leanioHero__title {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 14px rgba(0,0,0,.45);
    margin-bottom: .75rem;
}

.leanioHero__subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

@media (max-width: 768px) {
    .leanioHero__overlay { padding: 1rem; }
    .leanioHero__title { font-size: 1.4rem; }
    .leanioHero__subtitle { font-size: .95rem; margin-bottom: .75rem; }
}

.leanioStatement {
    background-color: #f7f7f7;
    border-radius: 12px;
    border-bottom: 3px solid #fbb900;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.leanioStatement:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.leanioPlatformCard {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    color: #222;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.leanioPlatformCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,.2);
    color: #222;
}

.leanioPlatformCard__media {
    position: relative;
    display: block;
    order: -1;
    flex: 0 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #11161c;
}

    .leanioPlatformCard__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .45s ease, filter .45s ease;
    }

    .leanioPlatformCard__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 45%, rgba(0,0,0,0) 100%);
        pointer-events: none;
    }

.leanioPlatformCard:hover .leanioPlatformCard__media img {
    transform: scale(1.06);
    filter: saturate(1.1);
}

.leanioPlatformCard__tags {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

    .leanioPlatformCard__tags .leanioPlatformCard__tag {
        position: static;
        left: auto;
        bottom: auto;
    }

.leanioPlatformCard__tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    background-color: #fbb900;
    color: #222;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.leanioPlatformCard__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.25rem 1.5rem 1.5rem;
}

.leanioPlatformCard strong {
    font-size: 1.15rem;
    margin-bottom: .3rem;
}

.leanioPlatformCard__body span {
    color: #555;
    font-size: .95rem;
}

.leanioResult {
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.04);
    transition: transform .25s ease, background .25s ease;
}

/* Hinweis-Box unter den Plattform-Karten */
.leanioPlatformNote {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.12);
    border-left: 4px solid #222;
    background: rgba(255,255,255,.18);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .leanioPlatformNote:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,.32);
        box-shadow: 0 14px 30px rgba(0,0,0,.18);
    }

.leanioPlatformNote__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: #222;
    color: #fbb900;
}

.leanioPlatformNote__text {
    margin: 0;
    color: #222;
    font-size: 1.05rem;
    line-height: 1.6;
}

    .leanioPlatformNote__text strong {
        color: #222;
        font-weight: 700;
    }

    .leanioPlatformNote__text a {
        display: inline-block;
        color: #fbb900;
        background-color: #222;
        font-weight: 700;
        font-size: .9rem;
        letter-spacing: .03em;
        text-decoration: none;
        padding: .15rem .7rem;
        border-radius: 999px;
        line-height: 1.5;
        box-shadow: 0 3px 10px rgba(0,0,0,.18);
        transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    }

        .leanioPlatformNote__text a:hover,
        .leanioPlatformNote__text a:focus-visible {
            background-color: #000;
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(0,0,0,.28);
        }

@media (max-width: 575.98px) {
    .leanioPlatformNote {
        flex-direction: column;
        gap: .75rem;
    }
}

.leanioResult:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.08);
}

/* Ergebnis-Sektion "Was sich konkret verändert" */
.leanioResultsSection {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(251,185,0,.12), transparent 40%),
        #212529;
}

/*.leanioResultsSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/Images/Wabe-s.png');
    background-repeat: no-repeat;
    background-position: right -40px bottom -40px;
    background-size: 240px;
    opacity: .06;
    pointer-events: none;
}*/

.leanioResultsSection > .row { position: relative; z-index: 1; }

.leanioResultsSection__lead { font-size: 1.15rem; max-width: 60ch; }
.leanioResultsSection__outro { margin-top: 1.5rem; }

.leanioResultCard {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.leanioResultCard:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.08);
    box-shadow: 0 16px 36px rgba(0,0,0,.35);
}

.leanioResultCard__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251,185,0,.15);
    color: #fbb900;
    margin-bottom: 1rem;
}

.leanioResultCard__title {
    color: #fbb900;
    font-size: 1.1rem;
    margin-bottom: .4rem;
}

.leanioResultCard__text {
    color: rgba(255,255,255,.8);
    font-size: .95rem;
    line-height: 1.55;
}

.leanioReveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.leanioReveal--in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .leanioReveal { opacity: 1; transform: none; transition: none; }
    .leanioStatement:hover, .leanioPlatformCard:hover, .leanioResult:hover, .leanioResultCard:hover { transform: none; }
}



/* ============================================================
   LEANIO Header mit interaktivem Demo-Terminal
   Alle Klassen und CSS-Variablen sind mit lea- praefixiert,
   damit nichts mit bestehenden Styles kollidiert.
   ============================================================ */

.lea-hero {
    /* LEANIO Corporate Design */
    --lea-orange: #fbb900;
    --lea-orange-hover: #ffc726;
    --lea-gelb: #ffed00;
    --lea-schwarz: #181716;
    /* Website-Töne */
    --lea-anthrazit: #2A2D31;
    --lea-graphit: #3A3E43;
    --lea-linie: #4A4F55;
    --lea-text: #F3F4F5;
    --lea-text-muted: #AEB4BA;
    /* Status */
    --lea-ok: #4CC38A;
    --lea-stop: #E5534B;
    --lea-tuerkis: #2AA9A1;
    --lea-font: "Roboto", "Segoe UI", system-ui, Arial, sans-serif;
}

    .lea-hero, .lea-hero *, .lea-hero *::before, .lea-hero *::after {
        box-sizing: border-box;
    }
        /* Schrift gegen abweichende Vorgaben der Seite absichern */
        .lea-hero, .lea-hero * {
            font-family: var(--lea-font);
        }

/* ================= Hero ================= */
.lea-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: min(680px, 100vh);
    font-family: var(--lea-font);
    color: var(--lea-text);
    background: radial-gradient(ellipse 65% 85% at 78% 48%, #363A3F 0%, transparent 70%), linear-gradient(180deg, var(--lea-schwarz) 0%, var(--lea-anthrazit) 100%);
}

.lea-hero__waben {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    opacity: .09;
    -webkit-mask-image: radial-gradient(ellipse 55% 80% at 76% 48%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse 55% 80% at 76% 48%, #000 15%, transparent 72%);
    pointer-events: none;
}

.lea-hero__inner {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 56px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.lea-hero h1 {
    margin: 0 0 20px;
    outline: none;
    color: var(--lea-text);
    font-size: clamp(2rem, 1rem + 2.3vw, 3rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.01em;
}

    .lea-hero h1 .lea-zeile {
        display: block;
        text-wrap: balance;
    }

    .lea-hero h1 .lea-lean {
        color: var(--lea-orange);
    }

.lea-hero__lead {
    margin: 0 0 32px;
    max-width: 36ch;
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--lea-text-muted);
}

.lea-hero__aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lea-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 4px;
    font: 500 1rem/1 var(--lea-font);
    text-decoration: none;
    transition: background-color .15s, border-color .15s;
}

.lea-btn--primaer {
    background: var(--lea-orange);
    color: var(--lea-schwarz);
}

    .lea-btn--primaer:hover {
        background: var(--lea-orange-hover);
    }

.lea-btn--sekundaer {
    color: var(--lea-text);
    border: 1px solid var(--lea-linie);
}

    .lea-btn--sekundaer:hover {
        border-color: var(--lea-text-muted);
    }

.lea-btn:focus-visible {
    outline: 3px solid var(--lea-orange);
    outline-offset: 3px;
}

.lea-hero__branchen {
    margin: 28px 0 0;
    font-size: .9375rem;
    color: var(--lea-text-muted);
}

/* ================= Demo-Bühne ================= */
.lea-hero__demo {
    margin: 0;
}

.lea-hero__visual {
    --t: 72; /* Tablet-Breite in % der Bühne */
    position: relative;
    width: 100%;
    aspect-ratio: 560 / 440;
    container-type: inline-size;
}

.lea-hero__hinweis {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
    font-size: .9375rem;
    color: var(--lea-text-muted);
}

    .lea-hero__hinweis svg {
        flex: none;
        width: 22px;
        height: 22px;
        color: var(--lea-orange);
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }

.lea-hinweis--schmal {
    display: none;
}

/* ---------- Hallen-Board ---------- */
.lea-board {
    position: absolute;
    top: 0;
    right: 0;
    width: 66%;
    aspect-ratio: 16 / 10;
    container-type: inline-size;
    background: #151413;
    border: 1.1cqw solid #0C0B0B;
    border-radius: 1cqw;
    box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, .5);
    opacity: .62;
    filter: blur(1px);
}

.lea-board__flaeche {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 4cqw;
}

.lea-board__kopf {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3cqw;
    font-size: 3.6cqw;
    font-weight: 500;
    color: #E8EAEC;
}

.lea-board__kpi {
    font-weight: 400;
    color: var(--lea-text-muted);
}

    .lea-board__kpi b {
        font-size: 5cqw;
        font-weight: 700;
        color: var(--lea-orange);
    }

.lea-board__inhalt {
    flex: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5cqw;
    min-height: 0;
}

.lea-board__maschinen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8cqw;
}

.lea-m {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .6cqw;
    padding: 1.8cqw 2cqw;
    background: #24272B;
    border-left: 1cqw solid var(--lea-ok);
    border-radius: .8cqw;
    transition: box-shadow .3s;
}

    .lea-m b {
        font-size: 2.7cqw;
        color: #E8EAEC;
        white-space: nowrap;
    }

    .lea-m span {
        font-size: 2.4cqw;
        color: #9AA1A8;
    }

.lea-m--lea-stop {
    border-left-color: var(--lea-stop);
}

.lea-m--lea-gelb {
    border-left-color: var(--lea-gelb);
}

.lea-m--neu {
    box-shadow: 0 0 0 .9cqw var(--lea-orange);
}

.lea-board__chart {
    display: flex;
    flex-direction: column;
}

.lea-board__chart-titel {
    margin-bottom: 2cqw;
    font-size: 2.4cqw;
    color: #9AA1A8;
}

.lea-balken {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 1.6cqw;
    border-bottom: 1px solid var(--lea-graphit);
}

    .lea-balken i {
        flex: 1;
        height: var(--h);
        background: var(--lea-tuerkis);
        border-radius: .5cqw .5cqw 0 0;
        transition: height .6s;
    }

        .lea-balken i:last-child {
            background: #45C9C0;
        }

/* Datenpunkt, der vom Terminal zum Board fliegt */
.lea-datenpunkt {
    position: absolute;
    left: -6px;
    top: -6px;
    z-index: 5;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lea-orange);
    box-shadow: 0 0 0 4px rgba(251, 185, 0, .25), 0 0 16px rgba(251, 185, 0, .8);
    pointer-events: none;
}

/* ---------- Robustes Windows-Tablet ---------- */
.lea-tablet {
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(var(--t) * 1%);
    aspect-ratio: 16 / 11;
    padding: calc(var(--t) * .036cqw);
    background: #232528;
    border-radius: calc(var(--t) * .05cqw);
    box-shadow: 0 3cqw 7cqw -1cqw rgba(0, 0, 0, .65), inset 0 0 0 1px #34373B;
}

    .lea-tablet::after {
        content: "";
        position: absolute;
        z-index: 2;
        top: calc(var(--t) * .018cqw - 2px);
        left: 50%;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #3E4247;
        transform: translateX(-50%);
    }

.lea-ecke {
    position: absolute;
    z-index: 0;
    width: 13%;
    aspect-ratio: 1;
    background: #111214;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.lea-ecke--lo {
    top: 0;
    left: 0;
    transform: translate(-6%, -6%);
    border-radius: 38% 12% 12% 12%;
}

.lea-ecke--ro {
    top: 0;
    right: 0;
    transform: translate(6%, -6%);
    border-radius: 12% 38% 12% 12%;
}

.lea-ecke--lu {
    bottom: 0;
    left: 0;
    transform: translate(-6%, 6%);
    border-radius: 12% 12% 12% 38%;
}

.lea-ecke--ru {
    bottom: 0;
    right: 0;
    transform: translate(6%, 6%);
    border-radius: 12% 12% 38% 12%;
}

/* ================= Terminal-Oberfläche (HIVE-Stil) ================= */
.lea-bde {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    container-type: inline-size;
    background: #ECEEF0;
    border-radius: 3px;
    color: var(--lea-schwarz);
    font-family: var(--lea-font);
}

    .lea-bde button {
        font-family: var(--lea-font);
        color: inherit;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

        .lea-bde button:focus-visible {
            outline: .7cqw solid var(--lea-schwarz);
            outline-offset: .4cqw;
        }

.lea-ico {
    width: 3.4cqw;
    height: 3.4cqw;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lea-label {
    display: block;
    font-size: 2.5cqw;
    color: #6B7178;
}

/* Kopfzeile mit Tabs */
.lea-bde__kopf {
    display: flex;
    align-items: stretch;
    gap: 2cqw;
    height: 10cqw;
    padding: 0 3.5cqw;
    background: var(--lea-schwarz);
    color: #FFFFFF;
}

.lea-bde__maschine {
    display: flex;
    align-items: center;
    gap: 1.6cqw;
    margin-right: auto;
    font-size: 3.1cqw;
    font-weight: 500;
}

.lea-pill {
    padding: .5cqw 1.6cqw;
    border-radius: 99px;
    background: var(--lea-orange);
    color: var(--lea-schwarz);
    font-size: 2.2cqw;
    font-weight: 700;
}

.lea-bde__tabs {
    display: flex;
    gap: 3.4cqw;
}

.lea-tab {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    font-size: 2.9cqw;
    color: #9B9894 !important;
}

    .lea-tab:hover {
        color: #D8D6D3 !important;
    }

    .lea-tab[aria-selected="true"] {
        color: #FFFFFF !important;
    }

        .lea-tab[aria-selected="true"]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: .8cqw;
            background: var(--lea-orange);
        }

.lea-bde .lea-tab:focus-visible {
    outline-color: #FFFFFF;
    outline-offset: -.4cqw;
}

.lea-bde__body {
    position: relative;
    flex: 1;
    min-height: 0;
    padding: 2.8cqw 3cqw;
}

.lea-panel {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2cqw;
}

    .lea-panel[hidden] {
        display: none;
    }

.lea-karte {
    background: #FFFFFF;
    border-radius: 2.2cqw;
    padding: 2.4cqw 3cqw;
    box-shadow: 0 .3cqw .8cqw rgba(24, 23, 22, .06);
}

/* Panel: Auftrag */
.lea-karte--auftrag {
    display: flex;
    flex-direction: column;
    gap: 1.8cqw;
}

.lea-auftrag__kopf {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2cqw;
}

    .lea-auftrag__kopf strong {
        display: block;
        font-size: 3.4cqw;
        font-weight: 500;
    }

.lea-status-wrap {
    display: flex;
    align-items: center;
    gap: 1.4cqw;
}

.lea-status__zeit {
    font-size: 2.5cqw;
    color: #B3261E;
    font-variant-numeric: tabular-nums;
}

.lea-status {
    display: inline-flex;
    align-items: center;
    gap: 1.2cqw;
    padding: .9cqw 2.2cqw;
    border-radius: 99px;
    font-size: 2.6cqw;
    font-weight: 500;
    white-space: nowrap;
}

    .lea-status i {
        width: 1.6cqw;
        height: 1.6cqw;
        border-radius: 50%;
        background: currentColor;
    }

.lea-status--laeuft {
    background: #E1F4EA;
    color: #1F7A4D;
}

    .lea-status--laeuft i {
        animation: lea-puls 2s ease-in-out infinite;
    }

.lea-status--stoerung {
    background: #FDE3E1;
    color: #B3261E;
}

.lea-status--pause,
.lea-status--ruesten {
    background: #FFF8B8;
    color: #5E5000;
}

.lea-auftrag__menge {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.lea-zahl strong {
    display: block;
    font-size: 10cqw;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.lea-zahl span {
    font-size: 2.6cqw;
    color: #6B7178;
}

.lea-werte {
    display: flex;
    gap: 4.5cqw;
    text-align: right;
}

.lea-wert b {
    font-size: 4.2cqw;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.lea-wert__zeile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.4cqw;
}

.lea-plus {
    display: grid;
    place-items: center;
    width: 5.6cqw;
    height: 5.6cqw;
    padding: 0;
    border: 0;
    border-radius: 1.4cqw;
    background: #FDE7E5;
    color: #B3261E !important;
    transition: transform .08s;
}

    .lea-plus:active {
        transform: scale(.92);
    }

    .lea-plus .lea-ico {
        width: 3cqw;
        height: 3cqw;
        stroke-width: 2.8;
    }

.lea-fortschritt {
    height: 1.6cqw;
    background: #E3E5E8;
    border-radius: 99px;
    overflow: hidden;
}

    .lea-fortschritt i {
        display: block;
        height: 100%;
        background: var(--lea-orange);
        border-radius: inherit;
        transition: width .6s ease;
    }

.lea-tasten {
    display: grid;
    grid-template-columns: 1.15fr .7fr 1.15fr;
    gap: 2cqw;
}

.lea-taste {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2cqw;
    height: 10cqw;
    padding: 0 1.6cqw;
    border: 0;
    border-radius: 2cqw;
    background: #FFFFFF;
    font-size: 2.75cqw;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 .3cqw .8cqw rgba(24, 23, 22, .06);
    transition: background-color .15s, transform .08s;
}

    .lea-taste:hover {
        background: #F6F6F4;
    }

    .lea-taste:active {
        transform: scale(.97);
    }

    .lea-taste:disabled {
        opacity: .38;
        cursor: default;
        transform: none;
    }

.lea-taste--stoer {
    background: #FDE7E5;
    color: #B3261E !important;
}

    .lea-taste--stoer:hover {
        background: #FBD9D6;
    }

.lea-taste--primaer {
    background: var(--lea-orange);
}

    .lea-taste--primaer:hover {
        background: var(--lea-orange-hover);
    }

/* Overlays im Auftrags-Panel */
.lea-sheet {
    position: absolute;
    inset: -2.8cqw -3cqw;
    padding: 2.8cqw 3cqw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2cqw;
    background: #ECEEF0;
}

    .lea-sheet[hidden] {
        display: none;
    }

.lea-sheet__titel {
    font-size: 3.4cqw;
    font-weight: 500;
}

.lea-gruende {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2cqw;
}

.lea-grund {
    display: flex;
    align-items: center;
    gap: 2cqw;
    padding: 0 3cqw;
    border: 0;
    border-radius: 2cqw;
    background: #FFFFFF;
    font-size: 3cqw;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 .3cqw .8cqw rgba(24, 23, 22, .06);
    transition: background-color .15s, transform .08s;
}

    .lea-grund:hover {
        background: #FFF3F2;
    }

    .lea-grund:active {
        transform: scale(.97);
    }

    .lea-grund .lea-ico {
        width: 4.4cqw;
        height: 4.4cqw;
        color: #B3261E;
    }

.lea-textknopf {
    align-self: center;
    padding: .6cqw 2cqw;
    border: 0;
    background: none;
    font-size: 2.8cqw;
    font-weight: 500;
    color: #4A4F55 !important;
    text-decoration: underline;
    text-underline-offset: .5cqw;
}

.lea-zusammenfassung {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2cqw;
}

    .lea-zusammenfassung b {
        font-size: 5cqw;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

.lea-sheet__tasten {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2cqw;
    margin-top: auto;
}

.lea-erfolg {
    display: flex;
    align-items: center;
    gap: 2.6cqw;
}

.lea-erfolg__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 8cqw;
    height: 8cqw;
    border-radius: 50%;
    background: var(--lea-orange);
}

    .lea-erfolg__icon .lea-ico {
        width: 4.6cqw;
        height: 4.6cqw;
        stroke-width: 2.8;
    }

.lea-erfolg strong {
    display: block;
    font-size: 3.3cqw;
    font-weight: 500;
}

.lea-naechster {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3cqw;
    margin-top: auto;
}

    .lea-naechster strong {
        display: block;
        font-size: 3.3cqw;
        font-weight: 500;
    }

    .lea-naechster .lea-taste {
        flex: none;
        padding: 0 3.4cqw;
    }

/* Panel: Verlauf */
.lea-karte--liste {
    flex: 1;
    overflow: hidden;
}

.lea-verlauf {
    display: flex;
    flex-direction: column;
    gap: 1.9cqw;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .lea-verlauf li {
        color: var(--lea-schwarz);
        display: grid;
        grid-template-columns: 8cqw 1.8cqw 1fr;
        align-items: center;
        gap: 1.6cqw;
        font-size: 2.8cqw;
    }

    .lea-verlauf time {
        color: #6B7178;
        font-variant-numeric: tabular-nums;
    }

.lea-punkt {
    width: 1.8cqw;
    height: 1.8cqw;
    border-radius: 50%;
}

.lea-punkt--gruen {
    background: var(--lea-ok);
}

.lea-punkt--rot {
    background: var(--lea-stop);
}

.lea-punkt--lea-gelb {
    background: var(--lea-gelb);
    box-shadow: inset 0 0 0 .3cqw #D9C700;
}

.lea-punkt--grau {
    background: #A9AFB5;
}

.lea-verlauf li.lea-neu {
    animation: lea-neu 1.4s ease-out;
}

/* Panel: Kennzahlen */
.lea-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2cqw;
}

    .lea-kpis .lea-karte {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6cqw;
    }

.lea-badge {
    padding: .8cqw 2.2cqw;
    border-radius: 99px;
    font-size: 3.4cqw;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lea-badge--gut {
    background: var(--lea-orange);
    color: var(--lea-schwarz);
}

.lea-badge--mittel {
    background: var(--lea-gelb);
    color: var(--lea-schwarz);
}

.lea-badge--schlecht {
    background: var(--lea-stop);
    color: #FFFFFF;
}

.lea-karte--oee {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .lea-karte--oee strong {
        display: block;
        font-size: 9cqw;
        line-height: 1.05;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

.lea-halle {
    text-align: right;
}

    .lea-halle b {
        font-size: 4.2cqw;
        font-weight: 500;
        font-variant-numeric: tabular-nums;
    }

/* Windows-Taskleiste */
.lea-bde__taskbar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6cqw;
    height: 6cqw;
    background: #E2E5E8;
    border-top: 1px solid #D3D7DC;
}

    .lea-bde__taskbar i {
        width: 2.8cqw;
        height: 2.8cqw;
        border-radius: .6cqw;
        background: #B9BFC6;
    }

        .lea-bde__taskbar i:first-child {
            background: #7E868F;
        }

.lea-taskbar__uhr {
    position: absolute;
    right: 3cqw;
    font-size: 2.3cqw;
    color: #4A4F55;
    font-variant-numeric: tabular-nums;
}

@keyframes lea-puls {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

@keyframes lea-neu {
    from {
        background: #FFF4CC;
    }

    to {
        background: transparent;
    }
}

/* ================= Responsiv ================= */
@media (max-width: 900px) {
    .lea-hero__inner {
        grid-template-columns: 1fr;
    }

    .lea-hero__demo {
        max-width: 600px;
    }

    .lea-hero__waben {
        -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 78%, #000 15%, transparent 75%);
        mask-image: radial-gradient(ellipse 90% 45% at 50% 78%, #000 15%, transparent 75%);
    }
}

@media (max-width: 560px) {
    .lea-board {
        display: none;
    }

    .lea-hero__visual {
        --t: 94;
        aspect-ratio: 16 / 11.6;
    }

    .lea-tablet {
        left: 3%;
        bottom: 2.5%;
    }

    .lea-hinweis--breit {
        display: none;
    }

    .lea-hinweis--schmal {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lea-status--laeuft i, .lea-verlauf li.lea-neu {
        animation: none;
    }

    .lea-fortschritt i, .lea-balken i, .lea-m {
        transition: none;
    }
}