/* ============================================================
   HOSTNER — SECTIONS — desktop only
   ACF Flexible Content blokken (mockup v3).
   Alle media queries → responsive.css
   Brand-tokens → variable.css
   ============================================================ */

/* --- Generieke sectie-helpers --- */
.section        { padding: 88px 40px; border-bottom: 1px solid var(--border); }
.section-light  { background: var(--s1); }
.section-mid    { background: var(--s2); }
.section-dark   { background: var(--bg); }
.section-inner  { margin: 0 auto; }

.section-tag { font-size: 12px; color: var(--green); letter-spacing: 0.18em; margin-bottom: 16px; }
.section-h2  { font-size: clamp(22px, 4vw, 38px); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--grey); max-width: 560px; line-height: 1.9; }

/* --- Shared buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--green); color: #000; border: none;
  padding: 14px 28px; font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; cursor: pointer; text-decoration: none; transition: background 0.2s;
  overflow: hidden;
}
.btn-primary::after {
  content: '→';
  display: inline-block;
  margin-left: 0;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.2s ease, opacity 0.2s ease, margin-left 0.2s ease;
}
.btn-primary:hover { background: var(--green-dark); color: #000; }
.btn-primary:hover::after {
  max-width: 24px;
  opacity: 1;
  margin-left: 8px;
}

.btn-secondary {
  display: inline-block; background: none; border: 1px solid var(--border); color: var(--grey);
  padding: 14px 28px; font-family: var(--font); font-size: 13px; letter-spacing: 0.06em;
  cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--white); color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg); min-height: 92vh; padding: 80px 40px 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(34,197,94,0.01) 2px, rgba(34,197,94,0.01) 4px);
}
.hero > * { position: relative; }
/* Inline highlight — gebruik in stat value_html en andere tekstvelden */
.highlighted-green { color: var(--green); font-style: normal; }

/* ============================================================
   STATS BLOCK (standalone, max 12)
   ============================================================ */
.stats-block { border-bottom: 1px solid var(--border); }

.stats-tag-wrap { padding: 40px 40px 0; }

/* Grid met border-box-patroon — cellen delen borders */
.stats-grid {
  display: grid;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-top: 0;
}
.stats-tag-wrap + .stats-grid { margin-top: 24px; }

.stats-grid--3 { grid-template-columns: repeat(3,  1fr); }
.stats-grid--4 { grid-template-columns: repeat(4,  1fr); }
.stats-grid--6 { grid-template-columns: repeat(6,  1fr); }

.stats-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stats-val {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.05;
}

.stats-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.hero-prompt { font-size: 12px; color: var(--green); letter-spacing: 0.14em; margin-bottom: 24px; }
.hero-prompt .path { color: var(--muted); }
.hero-h1 { font-size: var(--fs-display); font-weight: 700; line-height: 1.05; margin-bottom: 6px; }
.hero-h2 { font-size: clamp(24px, 3.5vw, 46px); font-weight: 700; color: var(--grey); line-height: 1.05; margin-bottom: 32px; }
.cursor { color: var(--green); animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-sub { font-size: 15px; color: var(--grey); line-height: 1.9; max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-bottom: 56px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); padding-top: 32px; }
.stat { padding: 4px 0; }
.stat + .stat { border-left: 1px solid var(--border); padding-left: 28px; }
.stat-val { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.stat-val em { color: var(--green); font-style: normal; }
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; max-width: 420px; object-fit: contain; }

/* ============================================================
   FEATURES
   ============================================================ */

/* Base grid — columns set via modifier class */
.feature-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  margin-top: 52px;
}

/* Column modifiers (PHP outputs feature-grid--N based on card count) */
.feature-grid--1 { grid-template-columns: 1fr; }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--5 { grid-template-columns: repeat(5, 1fr); }
.feature-grid--6 { grid-template-columns: repeat(6, 1fr); }

.feature-card {
  background: var(--s2);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.feature-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 24px;
}
.feature-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  /* h3 reset */
  line-height: 1.3;
}
.feature-body {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.9;
  flex: 1;
}

/* Feature card button */
.feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  text-decoration: none;
  width: fit-content;
}
.feature-btn::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s ease;
}
.feature-btn:hover { color: var(--green); }
.feature-btn:hover::after { transform: translateX(5px); }

/* ============================================================
   SPLIT (cascade + eu datacenters)
   ============================================================ */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--border); }
.split-text { padding: 88px 48px 88px 40px; border-right: 1px solid var(--border); }
.split-text .lead { font-size: 14px; color: var(--grey); line-height: 1.9; margin-top: 12px; margin-bottom: 28px; }
.split-text .footnote { font-size: 13px; color: var(--muted); line-height: 1.9; }
.split-visual { display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.split-visual img { width: 100%; max-width: 440px; object-fit: contain; }

.eu-locations { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.eu-loc { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; }
.eu-dot { width: 12px; height: 12px; flex-shrink: 0; }
.eu-dot.green { background: var(--green); }
.eu-dot.yellow { background: var(--yellow); }

/* ============================================================
   PRICING / SERVER TIERS
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.price-card { background: var(--s2); border: 1px solid var(--border); padding: 32px 28px; position: relative; transition: border-color 0.2s; }
.price-card:hover { border-color: var(--grey); }
.price-card.featured { border-color: var(--yellow); }
.featured-badge { position: absolute; top: -1px; left: 28px; background: var(--yellow); color: #000; font-size: 9px; font-weight: 700; padding: 4px 12px; letter-spacing: 0.12em; }
.price-tier { font-size: 10px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 14px; }
.price-amount { font-size: 36px; font-weight: 700; margin-bottom: 4px; }
.price-amount span { font-size: 14px; color: var(--grey); font-weight: 400; }
.price-specs { margin: 24px 0; border-top: 1px solid var(--border); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.spec-row { display: flex; justify-content: space-between; font-size: 13px; }
.spec-label { color: var(--grey); }
.spec-val { font-weight: 700; }
.price-btn { display: block; width: 100%; text-align: center; background: none; border: 1px solid var(--border); color: var(--grey); font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 12px; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.price-btn:hover { border-color: var(--white); color: var(--white); }
.price-card.featured .price-btn { background: var(--yellow); border-color: var(--yellow); color: #000; }
.price-card.featured .price-btn:hover { background: var(--yellow-dark); }

/* ============================================================
   PAYMENT
   ============================================================ */
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); margin-top: 52px; }
.pay-card { background: var(--s3); padding: 36px 32px; }
.pay-icon { width: 64px; height: 64px; margin-bottom: 20px; object-fit: contain; }
.pay-title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 12px; }
.pay-body { font-size: 13px; color: var(--grey); line-height: 1.9; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--bg); padding: 96px 40px; text-align: center; border-bottom: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(24px, 3.5vw, 42px); font-weight: 700; margin-bottom: 14px; }
.cta-band p { font-size: 14px; color: var(--grey); margin-bottom: 36px; }
.email-form { display: flex; gap: 8px; justify-content: center; max-width: 500px; margin: 0 auto 14px; }
.email-input { flex: 1; background: var(--s2); border: 1px solid var(--border); color: var(--white); font-family: var(--font); font-size: 13px; padding: 13px 18px; outline: none; transition: border-color 0.2s; }
.email-input:focus { border-color: var(--green); }
.email-input::placeholder { color: var(--muted); }
.cta-note { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

/* ============================================================
   PRODUCT HERO
   ============================================================ */
.product-hero { background: var(--bg); padding: 72px 40px 60px; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 24px; }
.breadcrumb em { color: var(--green); font-style: normal; }
.product-hero h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.05; }
.product-hero .product-intro { font-size: 15px; color: var(--grey); line-height: 1.9; margin-top: 16px; max-width: 560px; }
.product-meta { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.meta-item { font-size: 12px; color: var(--grey); }
.meta-item::before { content: '✓ '; color: var(--green); }

/* ============================================================
   SPECS TABLE
   ============================================================ */
.specs-table { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: 13px; }
.specs-table th { background: var(--s3); color: var(--green); padding: 14px 18px; text-align: left; font-size: 10px; letter-spacing: 0.14em; border: 1px solid var(--border); }
.specs-table td { padding: 12px 18px; border: 1px solid var(--border); color: var(--grey); }
.specs-table tr:nth-child(even) td { background: var(--s2); }
.specs-table td:first-child { color: var(--white); font-weight: 700; }
.check { color: var(--green); }
.cross { color: var(--muted); }

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--green); }
.faq-question span { flex: 1; }

.faq-arrow {
  flex-shrink: 0;
  color: var(--grey);
  transition: transform 0.25s ease, color 0.2s;
}

.faq-answer {
  display: none;
  overflow: hidden;
}
.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.9;
}
.faq-answer-inner p { margin-bottom: 0.75em; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner a { color: var(--green); text-decoration: none; }
.faq-answer-inner a:hover { text-decoration: underline; }
.faq-answer-inner ul,
.faq-answer-inner ol { margin-left: 1.4em; margin-bottom: 0.75em; }
.faq-answer-inner li { margin-bottom: 0.3em; }

/* Open state */
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); color: var(--green); }
.faq-item.is-open .faq-question { color: var(--green); }
