/* ==========================================================================
   Homepage opfrisbeurt — nieuwe secties (modules, AI, workflow, koppelingen,
   quotes, klanten, CTA). Alle classes geprefixt met ph_ om botsingen met de
   template style.css te voorkomen. Koppen gebruiken de bestaande
   section_title / sub_title / title_text classes uit de template.
   ========================================================================== */
:root {
    --ph-blauw: #4154f1;
    --ph-banner-blauw: #2a7af0;
    --ph-paars: #5e2ced;
    --ph-navy: #051441;
    --ph-grijs: #54627a;
    --ph-licht: #f5f6ff;
    --ph-teal-donker: #0bb98a;
    --ph-oranje: #ff6b00;
}

/* ====== AI-BADGE in de banner ====== */
.ph_ai_badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); padding: 7px 18px; border-radius: 40px; font-size: 13px; font-weight: 500; letter-spacing: .5px; margin-bottom: 20px; color: #ffffff; }
.ph_ai_badge_puls { width: 8px; height: 8px; border-radius: 50%; background: #31e1af; animation: ph_puls 1.8s infinite; }
@keyframes ph_puls { 0% { box-shadow: 0 0 0 0 rgba(49,225,175,.7); } 70% { box-shadow: 0 0 0 9px rgba(49,225,175,0); } 100% { box-shadow: 0 0 0 0 rgba(49,225,175,0); } }

/* ====== MODULES GRID ====== */
.ph_modules { background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%); }
.ph_grid_modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ph_tegel { background: #ffffff; border: 1px solid #edeef5; border-radius: 14px; padding: 26px 22px; transition: all .2s; position: relative; box-shadow: 0 4px 16px rgba(5,20,65,.04); }
.ph_tegel:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(65,84,241,.13); }
.ph_tegel_icoon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.ph_tegel h3 { font-size: 16px; margin-bottom: 7px; color: var(--ph-navy); }
.ph_tegel p { font-size: 13px; color: var(--ph-grijs); line-height: 1.55; margin-bottom: 0; }
.ph_tegel_meer { font-size: 12px; color: var(--ph-blauw); font-weight: 700; margin-top: 10px; display: inline-block; text-decoration: none; }
.ph_tegel_meer:hover { color: var(--ph-paars); text-decoration: none; }
.ph_ai_label { position: absolute; top: 14px; right: 14px; background: linear-gradient(90deg, #2a7af0, #5e2ced); color: #ffffff; font-size: 9px; font-weight: 700; letter-spacing: 1px; padding: 3px 9px; border-radius: 12px; }
.ph_icoon_blauw { background: #eaf2ff; color: #2a7af0; }
.ph_icoon_paars { background: #f1ecfe; color: #5e2ced; }
.ph_icoon_oranje { background: #fff1e8; color: #ff6b00; }
.ph_icoon_teal { background: #e6fbf4; color: #0bb98a; }

/* ====== AI-SECTIE (banner-blauw) ====== */
.ph_ai_sectie { background: linear-gradient(140deg, #1d6ff2 0%, #2a7af0 50%, #3b86f5 100%); color: #ffffff; position: relative; overflow: hidden; }
.ph_ai_sectie .sub_title { color: #bfe0ff; }
.ph_ai_sectie .title_text { color: #ffffff; }
.ph_ai_sectie .ph_sectie_intro { color: rgba(255,255,255,.85); }
.ph_ai_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ph_ai_kaart { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 24px 20px; }
.ph_ai_kaart i { font-size: 18px; color: #ffffff; background: rgba(255,255,255,.18); width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ph_ai_kaart h3 { color: #ffffff; font-size: 15px; margin-bottom: 7px; }
.ph_ai_kaart p { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.55; margin-bottom: 0; }
.ph_ai_regie { text-align: center; margin-top: 30px; font-size: 14px; color: rgba(255,255,255,.92); }
.ph_ai_regie i { margin-right: 6px; }
.ph_ai_cta { text-align: center; margin-top: 18px; }
.ph_ai_cta a { background: #ffffff; color: var(--ph-banner-blauw); font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 40px; text-decoration: none; display: inline-block; box-shadow: 0 8px 24px rgba(5,20,65,.18); transition: transform .15s; }
.ph_ai_cta a:hover { transform: translateY(-2px); color: var(--ph-banner-blauw); text-decoration: none; }

/* ====== WORKFLOW RAIL ====== */
.ph_rail_sectie { background: var(--ph-licht); }
.ph_rail { position: relative; display: flex; justify-content: space-between; max-width: 980px; margin: 0 auto; }
.ph_rail::before { content: ""; position: absolute; top: 24px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, #c8d8f8, #2a7af0, #c8d8f8); }
.ph_rail_node { position: relative; text-align: center; width: 16%; }
.ph_rail_bol { width: 48px; height: 48px; border-radius: 50%; background: #ffffff; border: 2px solid #cfdcf7; color: #2a7af0; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; position: relative; z-index: 1; box-shadow: 0 6px 18px rgba(42,122,240,.12); }
.ph_rail_node b { display: block; font-size: 13px; margin-top: 12px; color: var(--ph-navy); }
.ph_rail_node span { display: block; font-size: 11px; color: var(--ph-grijs); margin-top: 4px; line-height: 1.45; }

/* ====== KOPPELINGEN ====== */
.ph_koppel_grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; max-width: 1000px; margin: 0 auto; }
.ph_koppel_kaart { background: #ffffff; border: 1px solid #e3e9f5; border-radius: 14px; width: 170px; height: 90px; display: flex; align-items: center; justify-content: center; padding: 16px; box-shadow: 0 4px 14px rgba(5,20,65,.05); transition: all .2s; }
.ph_koppel_kaart:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(42,122,240,.12); }
.ph_koppel_kaart img { max-width: 100%; max-height: 55px; object-fit: contain; }
.ph_koppel_api { text-align: center; margin-top: 30px; }
.ph_koppel_api a { background: linear-gradient(90deg, #2a7af0, #5e2ced); color: #ffffff; font-size: 14px; font-weight: 700; padding: 13px 30px; border-radius: 40px; text-decoration: none; display: inline-block; }
.ph_koppel_api a:hover { color: #ffffff; text-decoration: none; }
.ph_koppel_api span { display: block; margin-top: 10px; font-size: 13px; color: var(--ph-grijs); }

/* ====== KLANTQUOTES ====== */
.ph_quotes { background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%); }
.ph_quote_flex { display: flex; gap: 24px; }
.ph_quote { flex: 1; background: #ffffff; border: 1px solid #edeef5; border-radius: 14px; padding: 28px 24px; box-shadow: 0 4px 16px rgba(5,20,65,.04); }
.ph_quote i { color: #2a7af0; font-size: 20px; margin-bottom: 12px; display: block; }
.ph_quote p { font-size: 14px; color: var(--ph-grijs); line-height: 1.65; margin-bottom: 16px; }
.ph_quote b { font-size: 14px; display: block; color: var(--ph-navy); }
.ph_quote span { font-size: 12px; color: var(--ph-grijs); }

/* ====== KLANTEN LOGO'S ====== */
.ph_logo_grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; align-items: center; }
.ph_logo_grid img { height: 95px; object-fit: contain; max-width: 230px; }

/* ====== CTA-BAND ====== */
.ph_cta { background: #051441; color: #ffffff; text-align: center; padding: 80px 20px; }
.ph_cta h2 { color: #ffffff; font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.ph_cta p { opacity: .85; font-size: 16px; margin-bottom: 28px; font-weight: 300; color: #ffffff; }
.ph_cta_knop { background: #53a93f; color: #ffffff; font-weight: 700; font-size: 15px; padding: 14px 34px; border-radius: 40px; text-decoration: none; display: inline-block; transition: transform .15s; }
.ph_cta_knop:hover { transform: translateY(-2px); color: #ffffff; text-decoration: none; }

/* ====== TOEGANKELIJKHEID & RESPONSIVE ====== */
@media (prefers-reduced-motion: reduce) {
    .ph_ai_badge_puls { animation: none !important; }
    .ph_tegel, .ph_koppel_kaart, .ph_cta_knop, .ph_ai_cta a { transition: none !important; }
    /* AOS verbergt elementen tot ze in beeld scrollen; zonder animaties zou de
       content onzichtbaar blijven voor gebruikers met reduced motion. */
    main [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 991px) {
    .ph_grid_modules, .ph_ai_grid { grid-template-columns: repeat(2, 1fr); }
    .ph_quote_flex { flex-direction: column; }
    .ph_rail { flex-direction: column; gap: 24px; }
    .ph_rail::before { display: none; }
    .ph_rail_node { width: 100%; }
    .ph_logo_grid img { height: 70px; }
}
@media (max-width: 575px) {
    .ph_grid_modules, .ph_ai_grid { grid-template-columns: 1fr; }
}
