/* ═══════════════════════════════════════════
   EPDM-Rubber.be — Main Stylesheet
   ═══════════════════════════════════════════ */

:root {
  --charcoal: #1a1a1a;
  --slate: #2d3436;
  --concrete: #636e72;
  --silver: #b2bec3;
  --light: #f5f5f0;
  --cream: #fafaf5;
  --accent: #e17055;
  --accent-dark: #d35400;
  --accent-glow: rgba(225, 112, 85, 0.15);
  --teal: #00b894;
  --teal-dark: #00a381;
  --rubber-black: #0d0d0d;
  --border: rgba(0,0,0,0.08);
}

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

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* ─── TOPBAR ─── */
.topbar {
  background: var(--rubber-black);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── HEADER / NAV ─── */
header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--rubber-black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid var(--accent);
  border-radius: 50%;
}
.logo-text {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}
.logo-text span { color: var(--accent); }
.logo-sub {
  font-size: 11px;
  color: var(--concrete);
  font-weight: 400;
}

/* Desktop nav */
nav { display: flex; gap: 2px; align-items: center; }
nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
nav a:hover { background: var(--light); color: var(--charcoal); }
nav a.active { color: var(--accent); background: var(--accent-glow); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--concrete);
  border-bottom: 1px solid var(--border);
  background: white;
}
.breadcrumb a { color: var(--concrete); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ─── HERO ─── */
.hero {
  background: var(--rubber-black);
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(225,112,85,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 80%, rgba(0,184,148,0.06) 0%, transparent 50%);
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    90deg, transparent, transparent 60px,
    rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px
  );
}
.hero .container { position: relative; z-index: 2; }
.hero.hero-center .container { max-width: 800px; text-align: center; }
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin: 20px 0 24px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero > .container > p,
.hero .hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 560px;
}
.hero.hero-center .hero-desc { margin: 0 auto; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: center;
}
.stat-num {
  font-family: 'Space Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ─── PAGE HERO (subpages) ─── */
.hero-sub {
  padding: 60px 0 70px;
}
.hero-sub h1 { font-size: 40px; margin: 16px 0 20px; }

/* ─── QUICK ANSWER BLOCK (AEO) ─── */
.quick-answer {
  background: white;
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 40px auto 48px;
  max-width: 760px;
  position: relative;
}
.quick-answer::before {
  content: 'SNEL ANTWOORD';
  position: absolute;
  top: -11px;
  left: 28px;
  background: var(--accent);
  color: white;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 3px 12px;
  border-radius: 4px;
  font-weight: 700;
}
.quick-answer h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.quick-answer p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}
.quick-answer strong { color: var(--accent-dark); }

/* ─── CONTENT AREA ─── */
.content-section {
  padding: 48px 0 64px;
}
.content-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.content-wrap h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.content-wrap h2:first-child { margin-top: 0; }
.content-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--charcoal);
}
.content-wrap p {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.8;
}
.content-wrap ul, .content-wrap ol {
  margin: 0 0 20px 20px;
  color: var(--slate);
  font-size: 15px;
}
.content-wrap li { margin-bottom: 8px; line-height: 1.7; }

/* ─── PAGE CARDS (hub) ─── */
.pages-section { padding: 20px 0 70px; }
.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.page-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 28px;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.page-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.page-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(225,112,85,0.08);
  transform: translateY(-3px);
}
.page-card:hover::before { opacity: 1; }
.page-card .icon-circle {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: var(--accent-glow);
}
.page-card .icon-circle.teal { background: rgba(0,184,148,0.1); }
.page-card .icon-circle.dark { background: rgba(0,0,0,0.06); }
.page-card h3 {
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px; line-height: 1.3;
}
.page-card p {
  font-size: 14px; color: var(--concrete);
  line-height: 1.65; flex: 1;
}
.page-card .card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.page-card .card-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--silver);
}
.page-card .card-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--accent);
  transition: all 0.2s;
}
.page-card:hover .card-arrow { background: var(--accent); color: white; }
.page-card.featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 36px 32px;
}
.page-card.featured .card-content { flex: 1; }
.page-card.featured .icon-circle {
  width: 72px; height: 72px;
  font-size: 32px; flex-shrink: 0;
}

/* ─── INFO CARDS ─── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.25s;
}
.info-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(225,112,85,0.08);
}
.info-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.info-card .icon-wrap.orange { background: var(--accent-glow); }
.info-card .icon-wrap.teal { background: rgba(0,184,148,0.12); }
.info-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 13px; color: var(--concrete); margin: 0; line-height: 1.6; }

/* ─── COMPARISON TABLE ─── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 24px 0;
}
.comparison-table th {
  background: var(--rubber-black);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}
.comparison-table td {
  padding: 12px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(225,112,85,0.03); }
.check { color: var(--teal); font-weight: 700; }
.cross { color: #e74c3c; }

/* ─── PRICE BLOCK ─── */
.price-block {
  background: linear-gradient(135deg, var(--rubber-black) 0%, #2d2d2d 100%);
  border-radius: 14px;
  padding: 40px;
  color: white;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.price-block::after {
  content: '€';
  position: absolute;
  right: 30px; top: 50%;
  transform: translateY(-50%);
  font-size: 140px;
  font-weight: 700;
  opacity: 0.04;
  font-family: 'Space Mono', monospace;
}
.price-block h3 { font-size: 20px; margin-bottom: 8px; }
.price-block .sub { font-size: 14px; color: rgba(255,255,255,0.5); }
.price-range {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}
.price-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px;
  flex: 1;
}
.price-item .amount {
  font-family: 'Space Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.price-item .per { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.price-item .desc { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 8px; line-height: 1.5; }

/* ─── FAQ ─── */
.faq-section { padding: 0 0 64px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
  margin-bottom: 10px;
}
.faq-item:hover { border-color: rgba(225,112,85,0.3); }
.faq-q {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after {
  content: '+';
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-a {
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: var(--concrete);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-item.open .faq-a { display: block; }
.faq-more {
  text-align: center;
  margin-top: 24px;
}
.faq-more a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.faq-more a:hover { text-decoration: underline; }

/* ─── STEPS ─── */
.step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}
.step-content p {
  font-size: 14.5px;
  color: var(--concrete);
  margin: 0;
  line-height: 1.7;
}

/* ─── TIP BOX ─── */
.tip-box {
  background: rgba(0,184,148,0.06);
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.tip-box.warning {
  background: rgba(225,112,85,0.06);
  border-left-color: var(--accent);
}
.tip-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.tip-box p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--accent);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 120%; height: 200%;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 30px,
    rgba(255,255,255,0.03) 30px, rgba(255,255,255,0.03) 31px
  );
}
.cta-section h2 {
  font-size: 30px;
  color: white;
  margin-bottom: 10px;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  position: relative;
  margin-bottom: 24px;
}
.cta-btn {
  display: inline-block;
  background: white;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  transition: all 0.25s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ─── INTERNAL LINKS BLOCK ─── */
.related-pages {
  background: var(--light);
  padding: 48px 0;
}
.related-pages h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.related-link {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.related-link .arrow { color: var(--accent); margin-left: auto; }

/* ─── FOOTER ─── */
footer {
  background: var(--rubber-black);
  color: rgba(255,255,255,0.4);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo-text { color: white; font-size: 20px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}
footer h4 {
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 7px; }
footer ul li a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .pages-grid { grid-template-columns: 1fr 1fr; }
  .page-card.featured { grid-column: span 2; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .hero-sub h1 { font-size: 28px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .stat-num { font-size: 28px; }
  .pages-grid { grid-template-columns: 1fr; }
  .page-card.featured { grid-column: span 1; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .price-range { flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  nav { display: none; }
  .nav-toggle { display: block; }
  .quick-answer { padding: 28px 20px; margin: 32px 16px; }
}
