/* ==========================================================================
   Retailstekker — static rebuild stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #1a2332;
  --fg: #1a202c;
  --fg-muted: #5a6273;
  --fg-on-dark: #f1f5f9;
  --accent: #f07222;       /* Retailstekker oranje */
  --accent-dark: #c95a14;
  --accent-light: #ff9450;
  --link: #2b6cb0;
  --border: #e5e7eb;
  --max-w: 1180px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  height: 44px;
  width: auto;
}
.brand-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.site-header nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: .97rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-header nav a:hover,
.site-header nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Hero (homepage big banner)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 480px;
  background: #1a2332 center center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,35,50,.85) 0%, rgba(26,35,50,.55) 50%, rgba(26,35,50,.25) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 700px;
}
.hero .lead {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 620px;
  line-height: 1.55;
  margin-bottom: 32px;
  opacity: .95;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Page hero (smaller banner used on inner pages)
   ========================================================================== */
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(240,114,34,.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: .85rem;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.page-hero .breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 780px;
}
.page-hero .lead {
  margin-top: 14px;
  font-size: 1.1rem;
  opacity: .85;
  max-width: 680px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 72px 0;
}
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==========================================================================
   Card grid (services / personas)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.card-img {
  aspect-ratio: 5 / 3;
  background: var(--bg-alt) center center / cover no-repeat;
}
.card-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
}
.card p {
  color: var(--fg-muted);
  font-size: .95rem;
  margin-bottom: 16px;
  flex: 1;
}
.card .card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  margin-top: auto;
}
.card:hover .card-link { text-decoration: underline; }

/* ==========================================================================
   USP row
   ========================================================================== */
.usp-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.usp {
  text-align: center;
  padding: 16px;
}
.usp .icon {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.usp h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.usp p {
  color: var(--fg-muted);
  font-size: .95rem;
}

/* ==========================================================================
   Logo grid (customer logos)
   ========================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px 36px;
  align-items: center;
  justify-items: center;
}
.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.logo-grid img {
  max-height: 56px;
  max-width: 140px;
  width: auto;
  filter: grayscale(100%);
  opacity: .65;
  transition: filter .25s, opacity .25s;
}
.logo-grid a:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Content (scraped service / persona pages)
   ========================================================================== */
.content {
  padding: 64px 0 80px;
  min-height: 40vh;
  background: var(--bg);
}

/* Constrain readable text to ~820px while letting logo grids and figures
   break out to the full container width. */
.content > .container > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.content > .container > .logo-grid,
.content > .container > figure {
  max-width: none;
}

/* Lead paragraph: bigger, slightly muted */
.content .lead {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--fg);
  font-weight: 400;
  margin-bottom: 28px;
}
.content .lead::first-letter {
  /* Subtle drop-cap-ish first letter weight */
  font-weight: 600;
}

/* Headings */
.content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 56px auto 18px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px auto 14px;
  color: var(--fg);
  position: relative;
  padding-bottom: 8px;
}
.content h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
}
.content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px auto 10px;
  color: var(--fg);
  text-transform: none;
}
.content h5 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin: 22px auto 8px;
}
.content h5 a { color: inherit; text-decoration: none; }
.content h5 a:hover { text-decoration: underline; }
.content h6 {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--fg-muted);
  margin: 10px auto 14px;
  line-height: 1.6;
  font-style: italic;
}

/* Paragraphs */
.content p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Links */
.content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(240,114,34,.4);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.content a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Lists with custom checkmark bullets */
.content ul, .content ol {
  list-style: none;
  margin: 0 auto 22px;
  padding: 0;
}
.content ul li, .content ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  line-height: 1.65;
}
.content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8 L7 12 L13 4'/></svg>") center/12px no-repeat;
  flex-shrink: 0;
}
.content ol {
  counter-reset: ol-counter;
}
.content ol li {
  counter-increment: ol-counter;
}
.content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: .15em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content strong { font-weight: 700; }
.content em { font-style: italic; }

/* Blockquote */
.content blockquote {
  border: none;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 18px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--fg);
  font-style: italic;
  font-size: 1.1rem;
  margin: 24px auto;
}

/* Inline images and figures */
.content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.content figure {
  margin: 32px auto;
  text-align: center;
}
.content figure img {
  margin: 0 auto;
  max-height: 380px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.content figcaption {
  font-size: .85rem;
  color: var(--fg-muted);
  margin-top: 10px;
  font-style: italic;
}

/* Tables */
.content table {
  border-collapse: collapse;
  width: 100%;
  margin: 22px auto;
  font-size: .95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content th, .content td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}
.content th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--fg);
}

/* Logo grid inside content gets a soft callout treatment */
.content .logo-grid {
  background: var(--bg-alt);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  margin: 36px auto;
  border: 1px solid var(--border);
}

/* CTA strip at the bottom of content pages */
.cta-strip {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.cta-strip p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: .95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip .btn {
  background: #fff;
  color: var(--accent-dark);
  border-color: #fff;
}
.cta-strip .btn:hover {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 56px 0 28px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover {
  color: var(--accent-light);
}
.footer-col p {
  color: #94a3b8;
  line-height: 1.6;
}
.footer-col img {
  height: 44px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #94a3b8;
  font-size: .85rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero { min-height: 380px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1rem; }
  .hero .container { padding-top: 50px; padding-bottom: 50px; }
  .page-hero { padding: 44px 0 36px; }
  .page-hero h1 { font-size: 1.8rem; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .content { padding: 36px 0 48px; }
  .content .container > h1 { font-size: 1.9rem; }
  .content h2 { font-size: 1.4rem; }
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-header nav {
    margin-left: 0;
    gap: 18px;
  }
  .site-header nav a { font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
