/* Homepage niches — licht & visueel */

.om-niches {
    background:
        radial-gradient(ellipse 70% 40% at 0% 20%, rgba(255, 107, 53, 0.07), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    padding: 3.5rem 0 4rem;
    color: #0f172a;
}

.om-niches__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .om-niches__inner { padding: 0 2rem; }
}

.om-niches__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.25rem;
}

.om-niches__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ea580c;
}

.om-niches__head h2 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.55rem, 3.6vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.om-niches__head h2 span {
    display: block;
    background: linear-gradient(135deg, #ff6b35, #e63946);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.om-niches__lead {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.55;
}

.om-niches__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .om-niches__grid { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
}

@media (min-width: 1024px) {
    .om-niches__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.om-niche-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.om-niche-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--niche-accent, #ff6b35) 45%, #e2e8f0);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    color: inherit;
}

.om-niche-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e2e8f0;
}

.om-niche-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.om-niche-card:hover .om-niche-card__media img {
    transform: scale(1.06);
}

.om-niche-card__icon {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--niche-accent, #ff6b35);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
}

.om-niche-card__body {
    padding: 0.85rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.om-niche-card__body h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.om-niche-card__body p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #64748b;
    flex: 1;
}

.om-niche-card__tag {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0.35rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--niche-accent, #ea580c);
    background: color-mix(in srgb, var(--niche-accent, #ff6b35) 12%, #fff);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.om-niches__more {
    text-align: center;
    margin: 1.35rem 0 0;
}

.om-niches__more a {
    font-weight: 800;
    color: #ea580c;
    text-decoration: none;
    font-size: 0.95rem;
}

.om-niches__more a:hover { text-decoration: underline; }

/* Automatiseer-voorbeelden */
.om-auto-block {
    margin-top: 3rem;
    padding: 1.75rem 1.25rem;
    border-radius: 1.25rem;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

@media (min-width: 768px) {
    .om-auto-block { padding: 2rem 1.75rem; }
}

.om-auto-block__head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.om-auto-block__head h3 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.om-auto-block__head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.om-auto-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 700px) {
    .om-auto-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
}

@media (min-width: 1100px) {
    .om-auto-grid { grid-template-columns: repeat(4, 1fr); }
}

.om-auto-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.05rem 1rem;
}

.om-auto-card__top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.om-auto-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--a-color, #ff6b35) 25%, transparent);
    color: #ffb38a;
    flex-shrink: 0;
}

.om-auto-card h4 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.25;
}

.om-auto-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.om-auto-card li {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.om-auto-card li i {
    color: #34d399;
    margin-top: 0.15rem;
    flex-shrink: 0;
    font-size: 0.7rem;
}

/* Niche cases */
.om-niche-cases {
    margin-top: 3rem;
}

.om-niche-cases__head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.om-niche-cases__head h3 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.om-niche-cases__head p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.om-niche-cases__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 800px) {
    .om-niche-cases__grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
}

.om-case-visual {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 1.15rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.om-case-visual:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    color: inherit;
}

.om-case-visual__img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #cbd5e1;
}

.om-case-visual__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.om-case-visual__niche {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.om-case-visual--example .om-case-visual__niche {
    background: linear-gradient(135deg, #ff6b35, #e63946);
}

.om-case-visual__body {
    padding: 1.1rem 1.15rem 1.25rem;
}

.om-case-visual__metric {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.om-case-visual__metric strong {
    font-size: 1.65rem;
    font-weight: 900;
    color: #ea580c;
    letter-spacing: -0.03em;
    line-height: 1;
}

.om-case-visual__metric span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.om-case-visual__body h4 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.om-case-visual__body p {
    margin: 0 0 0.75rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #475569;
}

.om-case-visual__flow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.om-case-visual__flow i { color: #ff6b35; }
