/* ============================================
   RailDecor.nl — Shared stylesheet
   ============================================ */

:root {
  /* Huisstijl raildecor.nl */
  --linen: #fdf7f2;        /* warme sectie-achtergrond */
  --charcoal: #151515;     /* koppen / donkere vlakken */
  --sand: #ff883e;         /* accentkleur oranje */
  --sand-dark: #f15c00;    /* accent verdonkerd (hover) */
  --grey: #858585;         /* secundaire tekst */
  --footer-bg: #f6f6f8;
  --footer-link: #4c4b51;
  --footer-text: #868686;
  --white: #FFFFFF;
  --green: #109533;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-soft: 0 4px 20px rgba(30, 30, 30, 0.07);
  --shadow-lift: 0 12px 32px rgba(30, 30, 30, 0.13);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--linen);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Telefoonnummers nooit middenin afbreken */
a[href^="tel:"] {
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
}

.section-head .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-intro {
  color: var(--grey);
  max-width: 620px;
  margin-bottom: 36px;
}

.text-center {
  text-align: center;
}

.text-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background-color: var(--sand);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--sand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 136, 62, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--sand);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--sand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 136, 62, 0.4);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(249, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 30, 30, 0.06);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--sand);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 11px 24px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 18, 14, 0.5) 0%, rgba(20, 18, 14, 0.42) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1,
.hero p {
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-buttons {
  justify-content: center;
}

.hero-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  max-width: 700px;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  max-width: 540px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Page hero (subpages) */

.page-hero {
  padding: calc(var(--nav-height) + 72px) 0 64px;
  background: linear-gradient(160deg, #fdf7f2 0%, #fbe9da 100%);
  border-bottom: 1px solid rgba(30, 30, 30, 0.05);
  color: var(--charcoal);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--grey);
  max-width: 760px;
  margin: 0 auto;
  text-wrap: balance;
}

/* ---------- USP bar ---------- */

.usp-bar {
  background-color: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid rgba(30, 30, 30, 0.05);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.usp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
}

.usp-icon svg {
  width: 24px;
  height: 24px;
}

.usp-item h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}

.usp-item p {
  font-size: 13px;
  color: var(--grey);
}

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.product-card-img {
  height: 240px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.product-card-body p {
  font-size: 14.5px;
  color: var(--grey);
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sand);
  transition: color 0.2s ease;
}

.product-link:hover {
  color: var(--sand-dark);
}

.product-price-from {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 14px;
}

.product-price-from strong {
  color: var(--charcoal);
  font-size: 16px;
}

/* Filter tabs (producten.html) */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(30, 30, 30, 0.15);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--sand);
  color: var(--sand-dark);
}

.filter-tab.active {
  background-color: var(--sand);
  border-color: var(--sand);
  color: var(--white);
}

/* ---------- Calculator ---------- */

.calculator-section {
  background-color: var(--white);
}

.calculator-card {
  background-color: var(--linen);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.calculator-inputs {
  padding: 44px;
}

.calculator-inputs h3 {
  font-size: 24px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}

select,
input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(30, 30, 30, 0.14);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E1E1E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(255, 136, 62, 0.18);
}

.input-suffix {
  position: relative;
}

.input-suffix .suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--grey);
  pointer-events: none;
}

.input-suffix input {
  padding-right: 48px;
}

.field-hint {
  font-size: 12px;
  color: var(--grey);
  margin-top: 5px;
}

/* Toggle switch */

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background-color: var(--white);
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: var(--radius-sm);
}

.toggle-label-text {
  font-size: 14.5px;
  font-weight: 600;
}

.toggle-label-sub {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--grey);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #D8D2C7;
  border-radius: 100px;
  transition: background-color 0.25s ease;
}

.slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider {
  background-color: var(--sand);
}

.switch input:checked + .slider::before {
  transform: translateX(22px);
}

/* Calculator result panel */

.calculator-result {
  background: linear-gradient(160deg, #fff6ee 0%, #ffe9d8 100%);
  border-left: 2px solid rgba(241, 92, 0, 0.25);
  color: var(--charcoal);
  padding: 44px;
  display: flex;
  flex-direction: column;
}

.calculator-result h3 {
  font-size: 24px;
  margin-bottom: 28px;
  color: var(--charcoal);
}

.result-rows {
  flex-grow: 1;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(241, 92, 0, 0.13);
  font-size: 14.5px;
  color: var(--footer-link);
}

.result-row .result-value {
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.result-row.result-total {
  border-bottom: none;
  padding-top: 20px;
  font-size: 16px;
  color: var(--charcoal);
  align-items: center;
}

.result-total .result-value {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--sand-dark);
}

.result-value.updating {
  opacity: 0.25;
}

.shipping-badge {
  display: none;
  align-items: center;
  gap: 9px;
  background-color: rgba(16, 149, 51, 0.1);
  border: 1px solid rgba(16, 149, 51, 0.35);
  color: #0E7A2B;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin: 18px 0 4px;
}

.shipping-badge.visible {
  display: flex;
  animation: badgeIn 0.35s ease;
}

.shipping-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes badgeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.calculator-result .btn {
  margin-top: 22px;
}

.result-disclaimer {
  font-size: 12px;
  color: var(--grey);
  margin-top: 14px;
  text-align: center;
}

/* ---------- How it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 0 12px;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--sand);
}

.step-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--grey);
}

/* ---------- Testimonials ---------- */

.testimonials-section {
  background-color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background-color: var(--linen);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.stars {
  color: var(--sand);
  font-size: 17px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-location {
  font-size: 13px;
  color: var(--grey);
  font-weight: 400;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, #ff993e 0%, #ff883e 45%, #f15c00 100%);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin: 0 auto 32px;
}

.cta-banner .btn-primary {
  background-color: var(--white);
  color: var(--charcoal);
}

.cta-banner .btn-primary:hover {
  background-color: var(--linen);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card,
.contact-info-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}

.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30, 30, 30, 0.07);
  font-size: 14.5px;
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--sand);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item .label {
  font-weight: 600;
  display: block;
}

.contact-info-item span,
.contact-info-item a {
  color: var(--grey);
}

.contact-info-item a:hover {
  color: var(--sand-dark);
}

.map-placeholder {
  margin-top: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: #E8E3DA;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.form-success {
  display: none;
  background-color: rgba(61, 139, 95, 0.1);
  border: 1px solid rgba(61, 139, 95, 0.4);
  color: var(--green);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 22px;
}

.form-success.visible {
  display: block;
}

/* ---------- Over ons ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-grid img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.story-text p {
  color: var(--grey);
  margin-bottom: 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.value-card .usp-icon {
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14.5px;
  color: var(--grey);
}

.team-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.team-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* ---------- Trustpilot reviews ---------- */

.tp-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-bottom: 36px;
}

.tp-stars {
  display: inline-flex;
  gap: 3px;
}

.tp-star {
  width: 26px;
  height: 26px;
  background-color: #00B67A;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.tp-star.tp-star-partial {
  background: linear-gradient(90deg, #00B67A 0% 30%, #DCDCE6 30% 100%);
}

.tp-score {
  font-size: 15px;
  font-weight: 600;
}

.tp-score a {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tp-score a:hover {
  color: #00B67A;
}

.tp-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
}

.tp-logo .tp-logo-star {
  color: #00B67A;
  font-size: 20px;
}

.review-carousel-wrap {
  position: relative;
}

.review-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.review-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(340px, 85%);
  scroll-snap-align: start;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.review-card .tp-stars {
  margin-bottom: 14px;
}

.review-card .tp-star {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.review-card h3 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-card blockquote {
  font-size: 14px;
  color: var(--footer-link);
  margin: 0 0 16px;
  flex-grow: 1;
}

.review-card .review-author {
  font-size: 13.5px;
  font-weight: 600;
}

.review-card .review-date {
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 400;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(30, 30, 30, 0.12);
  background-color: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover {
  background-color: var(--sand);
  border-color: var(--sand);
  color: var(--white);
}

.carousel-btn.prev {
  left: -12px;
}

.carousel-btn.next {
  right: -12px;
}

/* ---------- Newsletter (in de CTA-banner) ---------- */

.cta-newsletter {
  max-width: 520px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-newsletter > p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  margin: 0 auto 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex-grow: 1;
  border-color: transparent;
}

.newsletter-form .btn {
  flex-shrink: 0;
  padding: 13px 26px;
}

.cta-banner .newsletter-form .btn-primary {
  background-color: var(--charcoal);
  color: var(--white);
}

.cta-banner .newsletter-form .btn-primary:hover {
  background-color: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.newsletter-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-success.visible {
  display: flex;
  animation: badgeIn 0.35s ease;
}

.newsletter-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }

  .carousel-btn.prev {
    left: 4px;
  }

  .carousel-btn.next {
    right: 4px;
  }
}

/* ---------- Category / product detail pages ---------- */

.category-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.category-intro p {
  color: var(--footer-link);
  margin-bottom: 16px;
}

.variant-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(30, 30, 30, 0.07);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.variant-row:last-of-type {
  border-bottom: none;
}

.variant-row:nth-of-type(even) .variant-img {
  order: 2;
}

.variant-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.variant-text h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.variant-text p {
  color: var(--footer-link);
  margin-bottom: 14px;
}

.variant-text ul {
  color: var(--footer-link);
  padding-left: 20px;
  margin: 0 0 18px;
}

.variant-text ul li {
  margin-bottom: 7px;
}

.variant-price {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 18px;
}

.variant-price strong {
  font-size: 20px;
  color: var(--charcoal);
}

.variant-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.variant-cta .btn-dark {
  background-color: transparent;
  color: var(--charcoal);
  border-color: rgba(30, 30, 30, 0.25);
}

.variant-cta .btn-dark:hover {
  background-color: var(--charcoal);
  color: var(--white);
  box-shadow: none;
}

@media (max-width: 860px) {
  .variant-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .variant-row:nth-of-type(even) .variant-img {
    order: 0;
  }

  .variant-img img {
    height: 240px;
  }
}

/* ---------- Info pages (FAQ, retourbeleid, garantie, etc.) ---------- */

.info-content {
  max-width: 820px;
  margin: 0 auto;
}

.info-content h2 {
  font-size: 26px;
  margin: 44px 0 14px;
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content p {
  color: var(--footer-link);
  margin-bottom: 16px;
}

.info-content ul {
  color: var(--footer-link);
  padding-left: 22px;
  margin: 0 0 18px;
}

.info-content ul li {
  margin-bottom: 9px;
}

.info-content .info-lead {
  font-size: 17.5px;
  color: var(--charcoal);
}

.info-note {
  background-color: var(--white);
  border-left: 3px solid var(--sand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--footer-link);
  font-size: 14.5px;
}

/* FAQ accordion */

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--sand);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--footer-link);
  font-size: 14.5px;
}

/* ---------- Footer (huisstijl raildecor.nl: #f6f6f8) ---------- */

.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer .logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer .logo img {
  height: 52px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 18px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 11px;
}

.footer a {
  color: var(--footer-link);
}

.footer a:hover {
  color: var(--sand);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--footer-link);
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--sand);
  flex-shrink: 0;
  margin-top: 3px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(30, 30, 30, 0.15);
  color: var(--footer-link);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.social-icons a:hover {
  background-color: var(--sand);
  border-color: var(--sand);
  transform: translateY(-2px);
  color: var(--white);
}

.social-icons svg {
  width: 17px;
  height: 17px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.payment-icons span {
  background-color: var(--white);
  border: 1px solid rgba(30, 30, 30, 0.12);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--footer-link);
  letter-spacing: 0.3px;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 30, 30, 0.08);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--footer-text);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-card {
    grid-template-columns: 1fr;
  }

  .calculator-result {
    border-left: none;
    border-top: 2px solid rgba(241, 92, 0, 0.25);
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--linen);
    border-bottom: 1px solid rgba(30, 30, 30, 0.08);
    box-shadow: var(--shadow-soft);
    padding: 8px 24px 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(30, 30, 30, 0.06);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .testimonial-grid,
  .steps-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-grid img {
    height: 320px;
  }

  section {
    padding: 48px 0;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .usp-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 22px;
  }

  .calculator-inputs,
  .calculator-result {
    padding: 30px 24px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 28px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}
