html {
    font-size: 16px;
}

body.alswin-body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2430;
    background: #f7f8fb;
    margin: 0;
}

.alswin-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff; /* strak wit */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(30, 30, 40, 0.08);
}
header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(17,24,39,0));
}

.alswin-navbar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.alswin-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.alswin-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    background: transparent;
    /* border-radius: 10px;  <-- verwijderen */
}

.alswin-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.alswin-brand-name {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2f2a45;
    letter-spacing: 0.3px;
}

.alswin-brand-subtitle {
    font-size: 0.78rem;
    color: #6f7482;
    margin-top: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.alswin-nav-link {
    color: #31374a !important;
    font-weight: 600;
    margin-left: 0.35rem;
    margin-right: 0.35rem;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .alswin-nav-link:hover {
        background: rgba(47, 42, 69, 0.08);
        color: #221d37 !important;
    }

.alswin-contact-link {
    background: linear-gradient(135deg,#31295a,#4b3f84);
    box-shadow: 0 8px 22px rgba(49,41,90,0.22);
    color: #ff0 !important;
}

    .alswin-contact-link:hover {
        background: #40395f;
        color: #fff !important;
    }

.alswin-main {
    min-height: calc(100vh - 220px);
}

.hero-section {
    background: linear-gradient(135deg, rgba(47, 42, 69, 0.05), rgba(213, 0, 0, 0.05)), linear-gradient(to bottom, #fafbfc, #eef1f5);
}

.card-title,
h1, h2, h3, h4, h5, h6 {
    color: #2b2840;
}

.card,
.rounded,
.shadow-sm {
    border-radius: 1rem !important;
}

.btn-primary {
    background-color: #2f2a45;
    border-color: #2f2a45;
}

    .btn-primary:hover {
        background-color: #40395f;
        border-color: #40395f;
    }

.btn-outline-primary {
    color: #2f2a45;
    border-color: #2f2a45;
}

    .btn-outline-primary:hover {
        background-color: #2f2a45;
        border-color: #2f2a45;
    }

.alswin-footer {
    background: #ffffff;
    border-top: 1px solid rgba(30, 30, 40, 0.08);
}

.alswin-footer-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-top: 2px;
    /* border-radius: 8px; <-- verwijderen */
}

.alswin-footer-link {
    color: #2f2a45;
    text-decoration: none;
}

    .alswin-footer-link:hover {
        text-decoration: underline;
    }

.alswin-toggler {
    border-color: rgba(47, 42, 69, 0.2);
}

@media (max-width: 991.98px) {
    .alswin-brand-name {
        font-size: 1.3rem;
    }

    .alswin-brand-subtitle {
        font-size: 0.72rem;
    }

    .alswin-logo {
        width: 46px;
        height: 46px;
    }

    .alswin-nav-link {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
}
/* ---- ALSWIN HERO (gelijkwaardige verhoudingen als Dinxperlo) ---- */
.alswin-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e2230 0%, #111827 100%);
    padding: 100px 0 80px;
    border-bottom: 4px solid #d50000;
    color: #ffffff !important;
}

    .alswin-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/images/Dinxperlo.png');
        background-size: cover;
        background-position: center;
        opacity: 0.14;
        filter: blur(4px) grayscale(35%);
        z-index: 1;
        pointer-events: none;
    }

    .alswin-hero .container {
        position: relative;
        z-index: 5;
    }

.alswin-hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.alswin-hero-sub {
    font-size: 1.45rem;
    color: #b7bccb;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.alswin-hero-text {
    color: rgba(255, 255, 255, 0.90) !important;
    font-size: 1.12rem;
    line-height: 1.8;
    max-width: 90%;
}

/* ---- Hero illustratiekaart ---- */
.alswin-hero-illustration {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    height: 380px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.30);
}

.alswin-card-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    z-index: 1;
}

    .alswin-card-bg-layer.active {
        opacity: 0.50;
    }

    .alswin-card-bg-layer::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(90, 90, 95, 0.26);
    }

.alswin-board-scene {
    position: absolute;
    inset: 0 0 56px 0; /* ruimte onderin voor slider */
    width: 100%;
    z-index: 2;
}

/* Het schaalbare Alswin-merkteken */
#alswin-brand-mark {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 30px;
    max-width: 80%;
    transform-origin: top left;
    transition: transform 0.12s ease-out, filter 0.12s ease-out;
    z-index: 5;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.28));
}

/* Slider helemaal onderin */
.alswin-slider-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    background: rgba(255, 255, 255, 0.92);
    z-index: 10;
    border-top: 1px solid rgba(0,0,0,0.05);
}

#brand-slider {
    width: 100%;
    margin: 0;
    cursor: pointer;
    accent-color: #d50000;
}
/* Hero-knoppen in donkere hero */
.alswin-hero .btn-primary {
    background-color: #2f2a45;
    border-color: #2f2a45;
}

    .alswin-hero .btn-primary:hover {
        background-color: #40395f;
        border-color: #40395f;
    }

.alswin-hero .btn-outline-light:hover {
    color: #111827;
}

/* Responsive */
@media (max-width: 991.98px) {
    .alswin-hero {
        padding: 80px 0 60px;
    }

    .alswin-hero-text {
        max-width: 100%;
    }

    .alswin-hero-illustration {
        height: 340px;
    }

    #alswin-brand-mark {
        top: 45px;
        left: 40px;
        width: 170px;
        max-width: 68%;
    }
}
/* Hero layout-correctie */
.alswin-hero-row {
    min-height: 420px;
}

@media (min-width: 992px) {
    .alswin-hero-row {
        flex-wrap: nowrap;
    }

        .alswin-hero-row > .col-lg-7 {
            flex: 0 0 58.333333%;
            max-width: 58.333333%;
        }

        .alswin-hero-row > .col-lg-5 {
            flex: 0 0 41.666667%;
            max-width: 41.666667%;
            display: flex;
            justify-content: flex-end;
        }

    .alswin-hero-illustration {
        width: 100%;
        max-width: 560px;
        margin-left: auto;
    }
}

@media (max-width: 991.98px) {
    .alswin-hero-illustration {
        margin-top: 1.5rem;
    }
}
.alswin-project-card {
    position: relative;
    min-height: 280px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #23263a;
}

.alswin-project-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.alswin-project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.58) 45%, rgba(17, 24, 39, 0.22) 100%);
}

.alswin-project-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    padding: 1.5rem;
    color: #fff;
}

    .alswin-project-card-content h2,
    .alswin-project-card-content h3 {
        color: #fff;
    }

    .alswin-project-card-content p {
        color: rgba(255,255,255,0.92);
        line-height: 1.6;
    }

.alswin-project-btn {
    align-self: flex-start;
    border-radius: 0.75rem;
    font-weight: 600;
}

/* ---- Uitgelichte apps ---- */

.alswin-app-card {
    position: relative;
    min-height: 300px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #172033;
    box-shadow: 0 12px 32px rgba(20, 24, 40, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .alswin-app-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 42px rgba(20, 24, 40, 0.22);
    }

.alswin-app-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.alswin-app-card:hover .alswin-app-card-bg {
    transform: scale(1.07);
}

.alswin-app-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(12, 16, 28, 0.92) 0%, rgba(12, 16, 28, 0.66) 48%, rgba(12, 16, 28, 0.20) 100%);
}

.alswin-app-card-content {
    position: relative;
    z-index: 2;
    min-height: 300px;
    padding: 1.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .alswin-app-card-content h2,
    .alswin-app-card-content h3 {
        color: #fff;
    }

    .alswin-app-card-content p {
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
    }

.alswin-app-label {
    align-self: flex-start;
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.20);
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
}

.alswin-app-btn {
    align-self: flex-start;
    border-radius: 0.75rem;
    font-weight: 700;
    color: #2f2a45;
}

/* AlswinSquare: meer puzzel/structuur */
.alswin-app-card-square .alswin-app-card-overlay {
    background: linear-gradient(to top, rgba(18, 20, 80, 0.94) 0%, rgba(34, 45, 150, 0.66) 46%, rgba(34, 45, 150, 0.18) 100%);
}

.alswin-app-card-square::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.25;
    pointer-events: none;
}

/* Art Radio: meer nacht/ambient */
.alswin-app-card-radio .alswin-app-card-overlay {
    background: radial-gradient(circle at 75% 20%, rgba(120, 180, 255, 0.22), transparent 34%), linear-gradient(to top, rgba(5, 8, 25, 0.94) 0%, rgba(20, 30, 70, 0.62) 50%, rgba(20, 30, 70, 0.14) 100%);
}

.alswin-app-card-radio::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, transparent 20%, rgba(170, 220, 255, 0.14) 42%, transparent 62%);
    transform: translateX(-30%);
    opacity: 0.5;
    pointer-events: none;
}

/* --------------------------
   ALSWIN APP CARDS
---------------------------*/

.alswin-app-card {
    position: relative;
    min-height: 380px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #111;
}

.alswin-app-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.alswin-app-card:hover .alswin-app-card-bg {
    transform: scale(1.06);
}

.alswin-app-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,0.82), rgba(0,0,0,0.18) );
}

.alswin-app-card-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 30px;
    width: 100%;
}

.alswin-app-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* specifieke sfeer */

.app-card-square .alswin-app-card-overlay {
    background: linear-gradient( to top, rgba(0,20,70,0.85), rgba(0,0,0,0.10) );
}

.app-card-radio .alswin-app-card-overlay {
    background: linear-gradient( to top, rgba(10,10,35,0.88), rgba(0,0,0,0.10) );
}

.alswin-app-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #111827;
    color: #fff;
}

.alswin-app-detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px) saturate(1.1);
    transform: scale(1.06);
    opacity: 0.42;
}

.alswin-app-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,24,39,0.96), rgba(17,24,39,0.68)), radial-gradient(circle at 80% 20%, rgba(80,120,255,0.18), transparent 35%);
}

.alswin-app-detail-icon {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.35);
    background: #fff;
}

.alswin-app-detail-label,
.alswin-app-detail-price {
    display: inline-flex;
    margin-right: 0.5rem;
    margin-bottom: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(5px);
}

.text-white-75 {
    color: rgba(255,255,255,0.82);
}

.alswin-app-detail-preview {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

    .alswin-app-detail-preview img {
        width: 100%;
        display: block;
    }

.alswin-app-info-card {
    border-radius: 20px;
    padding: 1.5rem;
    background: #fff;
}

    .alswin-app-info-card dt {
        font-weight: 700;
        color: #2f2a45;
    }

    .alswin-app-info-card dd {
        margin-bottom: 1rem;
        color: #5f6472;
    }

.alswin-hero-card-text {
    position: absolute;
    inset: 0 0 56px 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.92);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 18px rgba(0,0,0,0.55);
    pointer-events: none;
}

.alswin-section-tabs {
    background: #f7f8fb;
    padding: 2rem 0 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.alswin-section-tabs-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.alswin-section-tab {
    position: relative;
    display: flex;
    min-height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: #ffffff;
    color: #2f2a45;
    border-radius: 1.1rem;
    box-shadow: 0 10px 28px rgba(20,24,40,0.08);
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

    .alswin-section-tab:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(20,24,40,0.14);
        color: #2f2a45;
    }

.alswin-tab-arrow {
    width: 0;
    height: 0;
    margin-top: 0.7rem;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 13px solid #d50000;
}

.alswin-home-section {
    scroll-margin-top: 115px;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 767.98px) {
    .alswin-section-tabs-inner {
        grid-template-columns: 1fr;
    }
}

.alswin-home-section {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}
/*.alswin-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .alswin-header::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -24px;
        height: 48px;
        pointer-events: none;
        background: linear-gradient( to bottom, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, 0.28) 50%, rgba(17, 24, 39, 0) 100% );
    }*/
.alswin-app-tile {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

    .alswin-app-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    }

.alswin-app-image-wrap {
    background: linear-gradient( 135deg, #f5f6fa 0%, #eceef5 100% );
    padding: 28px;
    text-align: center;
}

.alswin-app-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.alswin-app-body {
    padding: 22px;
}

.alswin-app-platform {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 10px;
}

.alswin-app-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2335;
}

.alswin-app-text {
    color: #4b5563;
    min-height: 58px;
}

.alswin-app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.alswin-app-price {
    font-weight: 700;
    color: #312857;
}

.alswin-project-highlight {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 420px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
    background: #111827;
}

.alswin-project-highlight-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.alswin-project-highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(12,18,32,0.82) 0%, rgba(18,24,38,0.58) 55%, rgba(18,24,38,0.28) 100% );
}

.alswin-project-highlight-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 640px;
    color: #fff;
}

.alswin-project-badge {
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}
.alswin-project-card-webdesign .alswin-project-card-bg {
    background-position: center right;
}

.alswin-project-card-webdesign .alswin-project-card-overlay {
    background: linear-gradient( to right, rgba(10, 14, 28, 0.94) 0%, rgba(20, 24, 42, 0.78) 42%, rgba(20, 24, 42, 0.28) 72%, rgba(20, 24, 42, 0.08) 100% );
}

.alswin-project-card-webdesign .alswin-project-card-content {
    max-width: 72%;
    justify-content: center;
}

.alswin-project-card-webdesign h2 {
    font-size: 1.55rem;
}