/* ============================================================
 * Glazenwasser Landingspagina — Custom CSS
 * Plaats dit bestand in: /wp-content/themes/<jouw-theme>/assets/glazenwasser-style.css
 * Enqueue via functions.php (zie README.md), of upload via Customizer → Extra CSS.
 *
 * Focus: helder, vertrouwd, conversiegericht.
 * Kleur: diep oceaan-blauw (vertrouwen) + warm geel (CTA-actie).
 * ============================================================ */

:root {
    --gw-bg:        #ffffff;
    --gw-bg-soft:   #f5f8fb;
    --gw-ink:       #0c1b2a;
    --gw-ink-soft:  #41566b;
    --gw-primary:   #0b3d91;      /* trust blue */
    --gw-primary-d: #082c6a;
    --gw-accent:    #ffc20e;      /* call-to-action geel */
    --gw-accent-d:  #e8ad00;
    --gw-success:   #22a06b;
    --gw-border:    #e3e9f0;
    --gw-radius:    14px;
    --gw-shadow:    0 6px 24px rgba(11,61,145,.10);
    --gw-shadow-lg: 0 14px 40px rgba(11,61,145,.18);
    --gw-font:      "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- BASIS ---------- */
.gw-main { font-family: var(--gw-font); color: var(--gw-ink); line-height: 1.6; }
.gw-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gw-main * { box-sizing: border-box; }
.gw-main img { max-width: 100%; height: auto; }

.gw-h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3.4rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--gw-ink);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.gw-h2 {
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2.2rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--gw-primary);
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}
.gw-h2--invert { color: #fff; }
.gw-lead { font-size: 1.1rem; color: var(--gw-ink-soft); max-width: 70ch; margin: 0 0 28px; }
.gw-link { color: var(--gw-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gw-link:hover { color: var(--gw-primary-d); }

/* ---------- HERO ---------- */
.gw-hero {
    background:
        radial-gradient(1200px 600px at 90% -10%, rgba(255,194,14,.15), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
    padding: 96px 0 80px;
    border-bottom: 1px solid var(--gw-border);
}
.gw-eyebrow {
    display: inline-block;
    background: rgba(11,61,145,.08);
    color: var(--gw-primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.gw-sub {
    font-size: 1.15rem;
    color: var(--gw-ink-soft);
    max-width: 60ch;
    margin: 0 0 28px;
}
.gw-usp {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 24px;
}
.gw-usp li {
    font-weight: 600;
    color: var(--gw-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.gw-usp li span {
    display: inline-flex;
    width: 22px; height: 22px;
    background: var(--gw-success);
    color: #fff;
    border-radius: 50%;
    align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

/* ---------- CTA KNOP ---------- */
.gw-btn {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
    border: 0;
    line-height: 1;
}
.gw-btn--primary {
    background: var(--gw-accent);
    color: var(--gw-ink);
    box-shadow: 0 6px 0 var(--gw-accent-d), var(--gw-shadow);
}
.gw-btn--primary:hover {
    transform: translateY(-2px);
    background: #ffce3a;
    box-shadow: 0 8px 0 var(--gw-accent-d), var(--gw-shadow-lg);
}
.gw-btn--invert {
    background: #fff;
    color: var(--gw-primary);
}
.gw-btn--invert:hover { background: var(--gw-accent); color: var(--gw-ink); }

/* ---------- TRUST BAR ---------- */
.gw-trust { background: var(--gw-bg-soft); padding: 64px 0; }
.gw-trust__card {
    background: #fff;
    border: 1px solid var(--gw-border);
    border-radius: var(--gw-radius);
    padding: 28px;
    box-shadow: var(--gw-shadow);
}
.gw-trust__card h3 { font-size: 1.15rem; color: var(--gw-primary); margin: 0 0 10px; }
.gw-trust__card p  { color: var(--gw-ink-soft); margin: 0; }

/* ---------- GRID HELPERS ---------- */
.gw-grid { display: grid; gap: 24px; }
.gw-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gw-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- DIENSTEN ---------- */
.gw-services { padding: 80px 0; }
.gw-service {
    background: #fff;
    border: 1px solid var(--gw-border);
    border-radius: var(--gw-radius);
    padding: 24px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.gw-service:hover { transform: translateY(-4px); box-shadow: var(--gw-shadow); }
.gw-service h3 { color: var(--gw-primary); margin: 0 0 8px; font-size: 1.1rem; }
.gw-service p  { color: var(--gw-ink-soft); margin: 0; }
.gw-cta-inline { margin-top: 28px; font-weight: 600; color: var(--gw-ink); }

/* ---------- STAPPEN ---------- */
.gw-steps { padding: 64px 0; background: var(--gw-bg-soft); }
.gw-steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 800px; }
.gw-steps__list li { background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.gw-steps__num { background: var(--gw-primary); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }

/* ---------- FORMULIER SECTIE ---------- */
.gw-form { padding: 80px 0; background: linear-gradient(180deg, #fff 0%, #eef4fb 100%); }
.gw-form__wrap {
    background: #fff;
    border: 1px solid var(--gw-border);
    border-radius: var(--gw-radius);
    padding: 36px;
    box-shadow: var(--gw-shadow-lg);
    max-width: 800px;
}
.gw-form__note { color: var(--gw-ink-soft); margin-top: 16px; max-width: 800px; }

/* ---------- CUSTOM STYLING — Fluent Forms / WPForms inputs ----------
 * Beide plugins gebruiken eigen class-prefixen. We targeten ze samen
 * binnen .gw-form__wrap zodat de styling niet leakt naar admin/widgets.
 */
.gw-form__wrap .ff-default,
.gw-form__wrap .wpforms-container { font-family: var(--gw-font) !important; }

.gw-form__wrap label,
.gw-form__wrap .ff-el-input--label label,
.gw-form__wrap .wpforms-field-label {
    font-weight: 600 !important;
    color: var(--gw-ink) !important;
    margin-bottom: 6px !important;
    display: block;
}

.gw-form__wrap input[type="text"],
.gw-form__wrap input[type="email"],
.gw-form__wrap input[type="tel"],
.gw-form__wrap input[type="number"],
.gw-form__wrap select,
.gw-form__wrap textarea,
.gw-form__wrap .ff-el-form-control,
.gw-form__wrap .wpforms-field-medium,
.gw-form__wrap .wpforms-field-large {
    width: 100% !important;
    border: 1px solid var(--gw-border) !important;
    background: #fff !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 1rem !important;
    color: var(--gw-ink) !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gw-form__wrap input:focus,
.gw-form__wrap select:focus,
.gw-form__wrap textarea:focus {
    border-color: var(--gw-primary) !important;
    box-shadow: 0 0 0 3px rgba(11,61,145,.15) !important;
    outline: none !important;
}

.gw-form__wrap .ff-btn,
.gw-form__wrap button[type="submit"],
.gw-form__wrap input[type="submit"],
.gw-form__wrap .wpforms-submit {
    background: var(--gw-accent) !important;
    color: var(--gw-ink) !important;
    font-weight: 800 !important;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 16px 28px !important;
    font-size: 1.05rem !important;
    cursor: pointer !important;
    box-shadow: 0 6px 0 var(--gw-accent-d), var(--gw-shadow) !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    width: 100%;
    margin-top: 6px;
}
.gw-form__wrap .ff-btn:hover,
.gw-form__wrap button[type="submit"]:hover,
.gw-form__wrap .wpforms-submit:hover {
    transform: translateY(-2px);
    background: #ffce3a !important;
    box-shadow: 0 8px 0 var(--gw-accent-d), var(--gw-shadow-lg) !important;
}

.gw-form__wrap .ff-t-cell,
.gw-form__wrap .wpforms-field { margin-bottom: 16px; }

/* checkbox + radio styling */
.gw-form__wrap input[type="checkbox"],
.gw-form__wrap input[type="radio"] {
    accent-color: var(--gw-primary);
    width: 18px; height: 18px;
    vertical-align: middle;
    margin-right: 8px;
}

/* ---------- FAQ ---------- */
.gw-faq { padding: 80px 0; }
.gw-faq__item {
    border: 1px solid var(--gw-border);
    border-radius: var(--gw-radius);
    padding: 18px 22px;
    margin-bottom: 12px;
    background: #fff;
    transition: box-shadow .15s ease;
}
.gw-faq__item:hover { box-shadow: var(--gw-shadow); }
.gw-faq__item summary {
    font-weight: 700;
    color: var(--gw-ink);
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    position: relative;
    padding-right: 28px;
}
.gw-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0; top: 0;
    width: 22px; height: 22px;
    color: var(--gw-primary);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform .2s ease;
}
.gw-faq__item[open] summary::after { content: "−"; }
.gw-faq__item p { color: var(--gw-ink-soft); margin: 12px 0 0; }

/* ---------- SEO PROSE ---------- */
.gw-seo { padding: 80px 0; background: var(--gw-bg-soft); }
.gw-prose h3 { color: var(--gw-primary); margin: 28px 0 10px; font-size: 1.25rem; }
.gw-prose p  { color: var(--gw-ink-soft); max-width: 75ch; }

/* ---------- BOTTOM CTA ---------- */
.gw-bottomcta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gw-primary) 0%, var(--gw-primary-d) 100%);
    color: #fff;
    text-align: center;
}
.gw-bottomcta p { color: rgba(255,255,255,.85); margin-bottom: 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
    .gw-hero { padding: 64px 0 56px; }
    .gw-services, .gw-faq, .gw-seo, .gw-form, .gw-bottomcta { padding: 56px 0; }
    .gw-form__wrap { padding: 24px; }
    .gw-btn { display: block; width: 100%; text-align: center; }
}

/* ---------- ANIMATIES ---------- */
@media (prefers-reduced-motion: no-preference) {
    .gw-hero__inner > * { animation: gwFadeUp .6s ease both; }
    .gw-hero__inner > *:nth-child(2) { animation-delay: .08s; }
    .gw-hero__inner > *:nth-child(3) { animation-delay: .16s; }
    .gw-hero__inner > *:nth-child(4) { animation-delay: .24s; }
    .gw-hero__inner > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes gwFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
