/* Zorg dat alles binnen het scherm blijft */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333;
}

.hero {
    text-align: center;
    padding: 80px 20px 0;
    background: linear-gradient(135deg, #e8f8ec, #f4fef7);
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    animation: fadeIn 1s ease;
}

.hero p,
.hero h2 {
    font-size: 1.2rem;
    color: #555;
    margin: 16px 0;
    animation: fadeIn 1.2s ease;
}

.hero h2 {
    font-weight: 400;
}

.search-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-form .search-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    gap: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.search-icon {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #888;
    align-self: center;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 1rem;
    outline: none;
    border-radius: 6px;
    min-width: 0;
    background-color: transparent;
}

.search-form input[type="submit"] {
    background-color: #2ecc40;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.search-form input[type="submit"]:hover {
    background-color: #27ae35;
}

.steps-section {
    background-color: #f9fdfb;
    padding: 80px 20px;
    text-align: center;
}

.steps-section h3 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
    animation: fadeIn 1s ease;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.step {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    width: 25%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.step img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.step h4 {
    font-size: 1.2rem;
    color: #2ecc40;
    margin-bottom: 10px;
}

.step p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-help {
    font-size: 1rem;
    text-align: center;
    margin-top: 12px;
}

.search-help a {
    color: #2ecc40;
    text-decoration: underline;
    cursor: pointer;
}

.ean-info {
    max-width: 600px;
    margin: 10px auto 40px;
    background: #f0f9f2;
    padding: 15px 20px;
    border-left: 4px solid #2ecc40;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    animation: fadeIn 0.3s ease;
}

/* Stats strip */
.stats-strip {
    background: #f6fbf7;
    border-top: 1px solid #e3efe6;
    border-bottom: 1px solid #e3efe6;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 22px 0;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.stat {
    text-align: center;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #27ae60;
    line-height: 1.1;
}
.stat-label {
    margin-top: 6px;
    font-weight: 600;
    color: #2c3e50;
    opacity: 0.9;
}

/* Logo strip */
.logo-strip {
    background: #fff;
}
.logos-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 0;
}
.logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    filter: grayscale(100%) contrast(95%);
    opacity: 0.85;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    user-select: none;
}
.logos li:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
}
.logos img {
    max-width: 120px;
    height: auto;
}

/* ------- Logo strip improvements ------- */
.logos-header {
    display: grid;
    gap: 6px;
    margin-bottom: 6px;
}

h3.logos-title {
    font-size: 1.25rem;
    color: #2c3e50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.badge-inline {
    background: #e6f9e6;
    color: #27ae60;
    border: 1px solid #ccefd0;
    border-radius: 9999px;
    padding: 2px 10px;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.6;
    user-select: none;
}

.logos-sub {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

.logo-figure {
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-inner { grid-template-columns: 1fr 1fr 1fr; }
    .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ✅ Verbeterde mobiele layout */
@media (max-width: 600px) {
    .hero {
        padding: 60px 15px 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero p,
    .hero h2 {
        font-size: 1rem;
        margin: 0 0 24px;
    }

    .search-form .search-group {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 12px;
        gap: 12px;
    }

    .search-icon {
        display: none; /* weghalen op mobiel voor cleaner look */
    }

    .search-form input[type="text"],
    .search-form input[type="submit"] {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }

    .steps-section {
        padding: 60px 15px;
    }

    .steps-section h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step {
        width: 100%;
        max-width: 95%;
        padding: 24px 16px;
    }

    .step h4 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    .stats-inner { grid-template-columns: 1fr; gap: 10px; }
    .stat-number { font-size: 1.6rem; }
    .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

    h3.logos-title { font-size: 1.1rem; }
    .logos-sub { font-size: 0.9rem; }
    .logos-inner { margin: 0 20px }
}

/* Mini-hints onder de zoekbalk (compacte witte blokjes) */
.mini-hints{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 640px;          /* sluit aan op jouw 600px search, iets ruimer */
    margin: 10px auto 0;       /* net onder de balk */
}
.mini-hint{
    display: flex; align-items: center; gap: 8px;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,.04);
}
.mini-hint-icon svg{ display:block; width:22px; height:22px; }
.mini-hint strong{
    color: #2c3e50;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
}

/* Mobiel: stacken en iets meer tappable */
@media (max-width: 600px){
    .mini-hints{
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 4px;
    }
    .mini-hint{ padding: 10px 12px; }
}

/* Hero: iets compacter én spacing naar stats-strip */
.hero {
    padding: 16px 20px 32px; /* was 80 20 0 */
}
.hero h1 { margin-bottom: 10px; }
.hero p,
.hero h2 { margin: 18px 0; }

/* Zoekbalk: kleine visuele upgrade + ruimte eronder */
.search-form { max-width: 640px; }           /* subtiel breder dan 600 */
.search-form .search-group {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
    border: 1px solid rgba(39,174,96,.16);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.search-form .search-group:focus-within{
    border-color: rgba(39,174,96,.32);
    box-shadow: 0 12px 28px rgba(0,0,0,.10), 0 0 0 4px rgba(39,174,96,.10);
}
.search-form { margin-bottom: 8px; }         /* ruimte boven de caption */

/* Caption boven de drie blokjes */
.mini-hints-caption{
    margin: 6px 0 6px;
    font-size: .95rem;
    color: #4b5563;
}

/* Mini-hints: compacter, duidelijker */
.mini-hints{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 640px;
    margin: 0 auto 4px;        /* klein beetje ruimte onder de grid */
}
.mini-hint{
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,.04);
}
.mini-hint-icon svg{ display:block; width:22px; height:22px; }
.mini-hint-text { line-height: 1.2; text-align: left; }
.mini-hint-text strong{
    display:block;
    color: #2c3e50;
    font-size: .95rem;
    font-weight: 800;
}
.mini-hint-sub{
    display:block;
    font-size: .82rem;
    color: #6b7280;
    margin-top: 2px;
}

/* Mobiel: stacken, lucht en goede tappability */
@media (max-width: 600px){
    .hero { padding: 7px 15px 24px; }
    .search-form { max-width: 100%; }
    .mini-hints{
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 4px;
        gap: 8px;
    }
    .mini-hint{ padding: 12px 14px; }
}

.featured-title {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 10px;
    text-align: center;
}