/* ---- Base / Typography ---- */
:root {
    --scrx-primary: #0d6efd; /* Bootstrap primary */
    --scrx-dark: #0b1220;
    --scrx-light: #f8f9fa;
}

html, body {
    height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: 58px;
}

/* ---- Navbar ---- */
.navbar-brand img {
    display: inline-block;
    vertical-align: middle;
}

.navbar .nav-link {
    font-weight: 500;
}

.navbar.navbar-dark {
    background: linear-gradient(90deg, #0b1220, #141c2e);
    border-bottom: 1px solid rgba(255,255,255,.08);
}


/* ---- Cards / Features ---- */
.card {
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,.12);
        border-color: rgba(13,110,253,.35);
    }

.card-img-top {
    border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ---- Lists / Steps ---- */
.list-group-item {
    border-color: rgba(0,0,0,.06);
}

.list-group-numbered > .list-group-item::marker {
    color: var(--scrx-primary);
    font-weight: 700;
}

/* ---- Sections ---- */
.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bg-light {
    background: #f7f9fc !important;
}

/* ---- CTA ---- */
#kontakt.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #5aa2ff 100%) !important;
}

/* ---- Footer ---- */
footer.bg-dark {
    background: linear-gradient(180deg, #0b1220 0%, #0b1220 100%) !important;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ---- Utilities ---- */
.shadow-soft {
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #9ec5fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 991.98px) {
    .navbar .btn.btn-sm {
        margin-top: .75rem;
    }
}

.overlay {
    z-index: 0;
    position: absolute;
}

/* PRODUCTS SECTION */
.products-section {
    background: #f7f8fa;
}

.products-intro {
    max-width: 850px;
}

.products-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

.products-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #111827;
}

.products-subline {
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto;
}

.product-showcase {
    background: #ffffff;
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.product-copy {
    max-width: 520px;
}

.product-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #111827;
}

.product-text {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

    .product-tags span {
        display: inline-flex;
        align-items: center;
        padding: 0.55rem 0.9rem;
        border-radius: 999px;
        background: #eef2ff;
        color: #1f2937;
        font-size: 0.9rem;
        font-weight: 500;
    }

.product-points {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .product-points li {
        position: relative;
        padding-left: 1.4rem;
        margin-bottom: 0.75rem;
        color: #4b5563;
    }

        .product-points li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.65rem;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #0d6efd;
        }

.product-visual-card {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-radius: 28px;
    padding: 1rem;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
}

    .product-visual-card img {
        width: 100%;
        height: auto;
        display: block;
    }

.custom-solutions-block {
    max-width: 860px;
    padding: 2rem 1rem 0;
}

@media (max-width: 991.98px) {
    .product-showcase {
        padding: 2rem;
    }

    .product-copy {
        max-width: 100%;
    }
}

.language-switch a {
    margin-right: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

    .language-switch a:hover {
        color: white;
    }

    .language-switch a.active {
        color: white;
        font-weight: 700;
        border-bottom: 2px solid white;
    }

/* HERO */

.hero-section {
    background: #f7f8fa;
    padding: 120px 0 100px 0;
}

.hero-container {
    max-width: 1100px;
}

.hero-lang {
    text-align: right;
    margin-bottom: 40px;
}

    .hero-lang a {
        margin-left: 12px;
        text-decoration: none;
        font-size: 0.9rem;
        color: #6b7280;
    }

        .hero-lang a.active {
            color: #111;
            font-weight: 600;
        }

.hero-text {
    max-width: 780px;
    margin: auto;
}

.hero-title {
    font-size: clamp(2.4rem,4vw,3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #111827;
}

.hero-subtitle {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #6b7280;
}

.hero-buttons {
    margin-top: 35px;
}

.hero-link {
    margin-left: 20px;
    font-weight: 500;
    text-decoration: none;
    color: #111;
}

.hero-badges {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 0.9rem;
    color: #6b7280;
}

.hero-image {
    margin-top: 70px;
    text-align: center;
}

    .hero-image img {
        width: 100%;
        max-width: 900px;
        border-radius: 28px;
        box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    }

/* ADMIN LOGIN SECTION */
.login-section {
    background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
    padding: 72px 0 88px;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 48px;
    align-items: center;
}

.login-copy {
    max-width: 560px;
}

.login-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #0d6efd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.login-title {
    color: #111827;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 750;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.login-subline {
    color: #667085;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.login-brand-strip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 999px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
    color: #0b1220;
    font-weight: 700;
}

.login-brand-strip img,
.login-card-brand img {
    height: 28px;
    width: auto;
}

.login-card,
.login-dashboard-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .12);
    padding: 34px;
}

.login-card h3,
.login-dashboard-card h3 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 750;
    margin-bottom: .5rem;
}

.login-card p,
.login-dashboard-card p {
    color: #667085;
    line-height: 1.65;
}

.login-card-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #f7f9fc;
    border: 1px solid rgba(15, 23, 42, .06);
    margin-bottom: 18px;
}

.login-input {
    min-height: 52px;
    border: 1px solid #d9e2ef;
    border-radius: 14px;
    background: #fbfcff;
    padding: 0.85rem 1rem;
}

.login-input:focus {
    border-color: rgba(13, 110, 253, .55);
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .12);
}

.login-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #667085;
    font-size: .95rem;
}

.login-form-row a,
.login-actions .btn-link {
    color: #0d6efd;
    font-weight: 650;
    text-decoration: none;
}

.login-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

@media (max-width: 991.98px) {
    .login-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .login-copy {
        max-width: 100%;
        text-align: center;
    }

    .login-brand-strip {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .login-section {
        padding: 48px 0 60px;
    }

    .login-card,
    .login-dashboard-card {
        border-radius: 24px;
        padding: 24px;
    }

    .login-form-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* FEATURES SECTION */
.features-section {
    background: #ffffff;
}

.features-intro {
    max-width: 760px;
}

.features-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

.features-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #111827;
}

.features-subline {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.feature-tile {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .feature-tile:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
        border-color: rgba(13, 110, 253, 0.18);
    }

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.feature-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    margin-bottom: 0.65rem;
}

.feature-text {
    margin-bottom: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 991.98px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .features-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .feature-tile {
        display: grid;
        grid-template-columns: 52px 1fr;
        grid-template-areas:
            "icon title"
            "icon text";
        column-gap: 0.9rem;
        row-gap: 0.2rem;
        padding: 1rem 1rem 1rem 0.9rem;
        border-radius: 20px;
    }

    .feature-icon-wrap {
        grid-area: icon;
        width: 52px;
        height: 52px;
        margin-bottom: 0;
        align-self: start;
    }

    .feature-icon {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        grid-area: title;
        margin-bottom: 0.2rem;
        font-size: 1rem;
    }

    .feature-text {
        grid-area: text;
        font-size: 0.92rem;
        line-height: 1.5;
    }
}

/* CREATIVE SECTION */

.creative-section {
    background: #ffffff;
}

.creative-intro {
    max-width: 780px;
}

.creative-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d6efd;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.creative-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.creative-subline {
    font-size: 1.05rem;
    line-height: 1.7;
}

.creative-showcase {
    background: #f8fafc;
    border-radius: 28px;
    padding: 3rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.creative-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.creative-text {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.creative-steps {
    margin-bottom: 2rem;
}

.creative-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.step-number {
    font-weight: 700;
    color: #0d6efd;
    min-width: 32px;
}

.creative-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .creative-tags span {
        padding: 6px 12px;
        border-radius: 999px;
        background: #eef2ff;
        font-size: 0.85rem;
    }

.creative-visual img {
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* MOBILE */
@media (max-width: 991.98px) {
    .creative-showcase {
        padding: 2rem;
    }
}

/* TEAM / RESPONSIBLE PERSONS */

.team-section {
    background: #ffffff;
}

.team-intro {
    max-width: 760px;
}

.team-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

.team-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 1rem;
}

.team-subline {
    font-size: 1.05rem;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 980px;
    margin: 0 auto;
}

.team-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .team-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
        border-color: rgba(13, 110, 253, 0.18);
    }

.team-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.team-email {
    font-size: 0.92rem;
    color: #0d6efd;
    text-decoration: none;
    word-break: break-word;
}

    .team-email:hover {
        text-decoration: underline;
    }

@media (max-width: 767.98px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .team-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .team-avatar {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 14px;
        font-size: 0.9rem;
    }
}
