/* Base & Variables */
:root {
    --bs-primary: #2f79c7;
    --bs-secondary: #7cc4f6;
    --bs-info: #7cc4f6;
    --bs-link-color: #2f79c7;
    --bs-link-hover-color: #256bb1;
    --bs-body-font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --bs-body-color: #0f172a;
    --bs-body-bg: #fff;
    --hero-offset: 3rem;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden
}

svg,
video,
canvas {
    max-width: 100%;
    height: auto
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: "Poppins", var(--bs-body-font-family)
}

.hover-shadow:hover {
    box-shadow: 0 0 0 3px rgba(47, 121, 199, .12);
    background: #f8fbff;
}

/* Navbar */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    transition: background-color .25s, box-shadow .25s, border-color .25s, padding .25s;
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: .9rem 0
}

.site-nav.is-top {
    background: rgba(15, 23, 42, .18);
    backdrop-filter: saturate(120%) blur(6px);
    -webkit-backdrop-filter: saturate(120%) blur(6px);
    border-bottom-color: rgba(255, 255, 255, .06)
}

.site-nav.is-scrolled {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    padding: .6rem 0
}

.site-nav .nav-link {
    color: #0f172a;
    font-weight: 500;
    transition: color .2s
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--bs-primary)
}

.site-nav .nav-link.active::after {
    background-color: var(--bs-primary)
}

.site-nav.is-top .nav-link {
    color: #fff
}

.site-nav.is-top .nav-link:hover,
.site-nav.is-top .nav-link.active {
    color: var(--bs-secondary)
}

.site-nav.is-top .nav-link.active::after {
    background-color: #fff
}

.btn-quote {
    border-width: 2px;
    border-color: var(--bs-primary);
    color: #0f172a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .6rem 1.4rem;
    transition: all .25s
}

.btn-quote:hover {
    background: var(--bs-primary);
    color: #fff
}

.site-nav.is-top .btn-quote {
    color: #fff;
    border-color: rgba(255, 255, 255, .8)
}

.site-nav.is-top .btn-quote:hover {
    background: #fff;
    color: #0f172a;
    border-color: #fff
}

.navbar-brand img {
    display: block;
    transition: opacity .3s
}

.logo-light {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0
}

.logo-dark {
    opacity: 1
}

.site-nav.is-top .logo-light {
    opacity: 1;
    position: relative
}

.site-nav.is-top .logo-dark {
    opacity: 0;
    position: absolute
}

.site-nav .navbar-toggler {
    border-color: transparent
}

.site-nav .navbar-toggler:focus {
    box-shadow: none
}

.site-nav.is-top .navbar-toggler-icon {
    filter: invert(1) brightness(1.2);
    opacity: .9
}

@media (max-width:991.98px) {
    .site-nav .navbar-nav {
        gap: .5rem;
        padding: .75rem 0
    }

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

section {
    scroll-margin-top: var(--nav-h, 80px)
}

.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background:
        url('/assets/hero-bg.png') center/cover no-repeat,
        linear-gradient(180deg, rgba(7, 16, 31, .45) 0%, rgba(7, 16, 31, .20) 40%, rgba(7, 16, 31, 0) 70%),
        linear-gradient(135deg, rgba(47, 121, 199, 0.90) 0%, rgba(124, 196, 246, 0.90) 100%);
    padding-top: calc(var(--nav-h, 80px) + var(--hero-offset)) !important;
}

.hero h1 {
    font-size: clamp(1.0rem, 4.0vw + 0.4rem, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1.2rem
}

.hero .hero-lead {
    color: rgba(255, 255, 255, .85)
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: auto;
    pointer-events: none
}

.hero-min {
    padding: 7rem 0 3rem;
    background:
        url('/assets/hero-bg.png') center/cover no-repeat,
        linear-gradient(180deg, rgba(7, 16, 31, .45) 0%, rgba(7, 16, 31, .20) 40%, rgba(7, 16, 31, 0) 70%),
        linear-gradient(135deg, rgba(47, 121, 199, 0.90) 0%, rgba(124, 196, 246, 0.90) 100%);
    color: #fff;
}

.hero-min h1 {
    font-family: "Poppins";
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem)
}

.hero-min p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.1rem
}


.pill {
    display: inline-block;
    background: #fff;
    color: #0f172a;
    border-radius: 999px;
    padding: .3rem .7rem;
    margin: .15rem;
    font-weight: 600
}

/* KPI */
.kpi-grid {
    display: grid;
    gap: 1rem
}

@media(min-width:992px) {
    .kpi-grid {
        grid-template-columns: 1fr 1fr
    }
}

.kpi-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .82));
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    padding: 1.1rem 1.25rem;
    transition: transform .2s, box-shadow .2s, border-color .2s
}

.kpi-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .12);
    border-color: rgba(47, 121, 199, .25)
}

.kpi {
    display: flex;
    align-items: center;
    gap: .9rem
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(47, 121, 199, .15), rgba(47, 121, 199, .05))
}

.kpi-icon i {
    font-size: 1.25rem;
    color: #2f79c7
}

.kpi-value {
    font-weight: 700;
    font-size: clamp(1.1rem, 1.2vw + .7rem, 1.6rem);
    margin: 0;
    color: #0f172a;
    line-height: 1.1
}

.kpi-label {
    margin: .15rem 0 0;
    color: #475569;
    font-size: .95rem
}

.cta-band {
    background: linear-gradient(90deg, #2f79c7 0%, #7cc4f6 100%);
    position: relative;
    overflow: hidden;
}

.cta-band .glow {
    position: absolute;
    inset: -30% -10% auto;
    height: 240px;
    filter: blur(40px);
    opacity: .18;
    background: radial-gradient(600px 200px at 50% 0, #fff, transparent 70%);
    pointer-events: none;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    padding: .4rem .7rem;
    border-radius: 999px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.trust-badge i {
    font-size: 1.1rem
}

.cta-card {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: inline-flex;
    gap: .75rem;
    align-items: center;
    color: #fff;
    backdrop-filter: blur(6px);
}

/* Feature/Project/Why Cards */
.feature-card {
    border: 1px solid #eef2f7;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .05);
    transition: all .3s;
    background: #fff
}

.feature-card:hover {
    border-color: #2f79c7;
    box-shadow: 0 6px 18px rgba(47, 121, 199, .15);
    transform: translateY(-4px);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%)
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all .3s
}

.feature-card:hover .feature-icon {
    background: #2f79c7
}

.feature-card:hover .feature-icon i {
    color: #fff !important
}

.project-card {
    border: 1px solid #eef2f7;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04)
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(47, 121, 199, .15);
    border-color: #2f79c7
}

.project-thumb {
    aspect-ratio: 16/9;
    background: #eaf2fb;
    display: block;
    position: relative
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.project-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #2f79c7;
    color: #fff;
    font-weight: 600;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .8rem
}

.tag-pill {
    background: #f1f5f9;
    color: #334155;
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .85rem;
    border: 1px solid #e2e8f0
}

.why-card {
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .05);
    transition: all .3s
}

.process-card:hover .icon-wrapper i {
    color: #fff !important
}

#branchen {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-top: 1px solid #eef2f7;
}

/* Karten */
.industry-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
    border: 1px solid #eef2f7 !important;
    border-radius: 14px;
    background: #fff;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
    border-color: rgba(47, 121, 199, .25) !important;
    background: #fbfdff;
}

/* Icon-Badge */
.industry-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ecf3fb;
    border: 2px solid rgba(47, 121, 199, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.industry-card:hover .industry-icon {
    background: #2f79c7;
    border-color: #2f79c7;
}

.industry-card:hover .industry-icon i {
    color: #fff !important;
}

/* Button kompakter + als sekundäre Aktion */
.industry-card .btn {
    border-radius: 10px;
}

/* Kleine Feature-Dots unter dem Teaser (optional, pure CSS) */
.industry-features {
    font-size: .88rem;
    color: #64748b
}

.industry-features .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cfe4fa;
    margin: 0 .5rem .15rem 0
}

/* Stretched link: Fokus sichtbar */
.industry-card .stretched-link:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(47, 121, 199, .25);
    border-radius: 12px;
}

#prozess {
    background: radial-gradient(1200px 600px at 50% -200px, #f3f8ff 0%, transparent 60%), #fff;
    border-top: 1px solid #eef2f7;
}

/* Grid-Lane: Verbindungslinie zwischen Steps (nur ≥ md) */
@media (min-width: 768px) {
    .process-lane {
        position: relative;
        padding-top: .5rem;
    }

    .process-lane::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        height: 2px;
        background: linear-gradient(90deg, #e6eef8, #cfe4fa, #e6eef8);
        z-index: 0;
    }
}

/* Card */
.process-card {
    position: relative;
    border: 1px solid #eef2f7 !important;
    border-radius: 16px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
    border-color: rgba(47, 121, 199, .25) !important;
    background: #fbfdff;
}

/* Icon-Kreis */
.process-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ecf3fb;
    border: 2px solid rgba(47, 121, 199, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    z-index: 1;
    position: relative;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.process-card:hover .process-icon {
    background: #2f79c7;
    border-color: #2f79c7;
}

.process-card:hover .process-icon i {
    color: #fff !important;
}

/* Nummer-Badge */
.step-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #2f79c7;
    color: #fff;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    box-shadow: 0 6px 14px rgba(47, 121, 199, .35);
}

/* Connector-Knoten über der Linie (nur ≥ md) */
@media (min-width:768px) {
    .process-node {
        position: absolute;
        top: 64px;
        left: 50%;
        transform: translateX(-50%);
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid #cfe4fa;
        z-index: 0;
    }

    .process-card:hover~.process-node {
        border-color: #2f79c7;
    }
}

/* Typografie-Feinschliff */
.process-title {
    letter-spacing: .2px;
}

.section-kicker {
    color: #2f79c7;
    letter-spacing: 1px;
}