/*
Theme Name: WP Reparatie
Theme URI: https://wpkomtgoed.nl
Author: WP Provider
Description: Snelle, toegankelijke website voor 24/7 WordPress spoedreparaties.
Version: 1.0.0
Text Domain: wpkomtgoed
*/

:root {
  --ink: #0b1220;
  --ink-soft: #182237;
  --paper: #ffffff;
  --mist: #f4f6f9;
  --line: #dfe4ec;
  --orange: #ff5a1f;
  --orange-dark: #df3f08;
  --green: #18a66a;
  --text: #2d3748;
  --muted: #64748b;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(11, 18, 32, .10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 .55em; color: var(--ink); font-weight: 850; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.2em; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 790px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--orange); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 9px; height: 9px; border-radius: 50%; background: currentColor; content: ""; box-shadow: 0 0 0 5px rgba(255,90,31,.14); }
.lead { color: #4c5a70; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 2px solid transparent; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 800; line-height: 1.2; text-decoration: none; box-shadow: 0 10px 26px rgba(255,90,31,.24); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover, .button:focus-visible { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,90,31,.30); }
.button--ghost { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); box-shadow: none; }
.button--ghost:hover { background: #fff; color: var(--ink); }
.button--dark { background: var(--ink); box-shadow: none; }
.button--dark:hover { background: #26334a; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(223,228,236,.85); background: rgba(255,255,255,.93); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 1.22rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.logo-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; background: var(--orange); color: #fff; font-size: 1.1rem; box-shadow: 0 8px 20px rgba(255,90,31,.24); }
.logo small { display: block; color: var(--muted); font-size: .61rem; font-weight: 750; letter-spacing: .06em; line-height: 1.1; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ink); font-size: .92rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--orange); }
.site-nav .nav-cta > a { padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 800; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.97) 0%, rgba(11,18,32,.88) 48%, rgba(11,18,32,.38) 100%), url('assets/wordpress-spoedhulp.jpg') center/cover; content: ""; }
.hero::after { position: absolute; right: -10%; bottom: -58%; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); }
.hero-inner { position: relative; z-index: 1; display: grid; min-height: 720px; max-width: 810px; align-content: center; padding-block: 90px; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero .lead { max-width: 680px; color: #cbd5e1; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 30px 0 0; padding: 0; color: #e2e8f0; font-size: .91rem; font-weight: 700; list-style: none; }
.hero-proof li::before { margin-right: 8px; color: #43d391; content: "✓"; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 25px 20px; border-right: 1px solid var(--line); text-align: center; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--ink); font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .83rem; }

.section { padding: 105px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 3px 0 rgba(11,18,32,.02); }
.card::before { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--orange); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); }
.card-link { color: var(--orange-dark); font-weight: 800; text-decoration: none; }
.card-link::after { content: " →"; }
.card-badge { display: grid; width: 44px; height: 44px; margin-bottom: 24px; place-items: center; border-radius: 12px; background: #fff1eb; color: var(--orange-dark); font-size: 1.25rem; font-weight: 900; }

.split { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 75px; }
.split-image { position: relative; }
.split-image img { min-height: 520px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.floating-note { position: absolute; right: -24px; bottom: 28px; max-width: 250px; padding: 20px 22px; border-radius: 15px; background: #fff; color: var(--ink); font-weight: 800; box-shadow: var(--shadow); }
.floating-note small { display: block; color: var(--green); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #e7f8f0; color: var(--green); content: "✓"; font-size: .78rem; font-weight: 900; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; padding-top: 25px; border-top: 1px solid #344158; }
.step::before { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 22px; border-radius: 50%; background: var(--orange); color: #fff; content: counter(step); font-weight: 900; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: 52px; border-radius: 24px; background: var(--orange); color: #fff; box-shadow: 0 20px 45px rgba(255,90,31,.18); }
.cta-panel h2 { max-width: 760px; margin-bottom: 10px; color: #fff; }
.cta-panel p { margin: 0; color: #fff3ed; }
.cta-panel .button { background: #fff; color: var(--ink); box-shadow: none; }
.cta-panel .button:hover { background: var(--ink); color: #fff; }

.page-hero { padding: 110px 0 85px; background: linear-gradient(130deg, var(--ink), #18263f); color: #fff; }
.page-hero h1 { max-width: 930px; color: #fff; font-size: clamp(2.55rem, 6vw, 4.9rem); }
.page-hero .lead { max-width: 760px; color: #cbd5e1; }
.content-section { padding: 90px 0; }
.prose h2 { margin-top: 1.35em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.25em; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 38px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.feature strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.1rem; }
.notice { margin: 36px 0; padding: 24px 26px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: #fff3ee; color: var(--ink); }
.faq { display: grid; gap: 12px; }
.faq details { padding: 20px 23px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.faq summary { color: var(--ink); font-weight: 800; cursor: pointer; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.spoed-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.spoed-form label { display: grid; gap: 7px; color: var(--ink); font-size: .9rem; font-weight: 800; }
.spoed-form .full { grid-column: 1 / -1; }
.spoed-form input, .spoed-form select, .spoed-form textarea { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid #cbd3df; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.spoed-form textarea { min-height: 150px; resize: vertical; }
.spoed-form input:focus, .spoed-form select:focus, .spoed-form textarea:focus { outline: 3px solid rgba(255,90,31,.16); border-color: var(--orange); }
.form-status { grid-column: 1 / -1; padding: 15px 17px; border-radius: 9px; background: #e7f8f0; color: #08744a; font-weight: 750; }
.form-status--error { background: #fff0ed; color: #a72e12; }
.hp-field { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 65px 0 25px; background: #080d17; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 55px; padding-bottom: 45px; }
.footer-grid h3 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid a { color: #cbd5e1; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid #222d3f; font-size: .8rem; }
.footer-emergency { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; font-weight: 800; }
.footer-emergency::before { width: 8px; height: 8px; border-radius: 50%; background: #42d190; content: ""; box-shadow: 0 0 0 5px rgba(66,209,144,.12); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 82px; right: 20px; left: 20px; display: none; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 13px; }
  .site-nav a { display: block; padding: 7px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .split, .form-wrap { grid-template-columns: 1fr; gap: 42px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-panel { grid-template-columns: 1fr; padding: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .logo small { display: none; }
  .header-inner { min-height: 72px; }
  .site-nav { top: 72px; }
  .hero, .hero-inner { min-height: 650px; }
  .hero::before { background: linear-gradient(90deg, rgba(11,18,32,.97), rgba(11,18,32,.79)), url('assets/wordpress-spoedhulp.jpg') center/cover; }
  .section, .content-section { padding: 72px 0; }
  .page-hero { padding: 85px 0 65px; }
  .trust-grid, .feature-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .card { padding: 25px; }
  .split-image img { min-height: 360px; }
  .floating-note { right: 10px; bottom: 12px; }
  .spoed-form { grid-template-columns: 1fr; padding: 24px; }
  .spoed-form .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
