/*
Theme Name: EcoWinn
Theme URI: https://eco-winn.nl
Author: EcoWinn
Description: Airconditioning voor Particulieren & Bedrijven
Version: 1.0
*/

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

:root {
  --red:     #e02020;
  --red-dk:  #b51818;
  --red-lt:  #fff0f0;
  --dark:    #1a1a1a;
  --gray:    #6c757d;
  --light:   #f8f9fa;
  --white:   #ffffff;
  --border:  #e5e5e5;
  --radius:  12px;
  --shadow:  0 4px 32px rgba(0,0,0,.09);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.logo img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .93rem; font-weight: 600;
  color: var(--dark); transition: color .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red); color: var(--white) !important;
  padding: 9px 20px; border-radius: 8px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red-dk) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white);
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(224,32,32,.18) 0%, transparent 70%);
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; }
.hero-badge {
  display: inline-block;
  background: rgba(224,32,32,.2); border: 1px solid rgba(224,32,32,.4);
  color: #ff8080; border-radius: 20px;
  padding: 5px 16px; font-size: .8rem; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 1.1rem; opacity: .8;
  max-width: 560px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .1s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--red-dk); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: border-color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 60px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--red); }
.stat span { font-size: .82rem; opacity: .7; }

/* ── SECTION BASE ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800; margin-bottom: 14px; line-height: 1.2;
}
.section-sub {
  font-size: .97rem; color: var(--gray);
  max-width: 560px; margin-bottom: 48px;
}

/* ── DIENSTEN ── */
#diensten { background: var(--light); }
.diensten-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.dienst-card {
  background: var(--white); border-radius: 16px;
  padding: 32px; box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform .2s, box-shadow .2s;
}
.dienst-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,.13); }
.dienst-icon { font-size: 2.4rem; margin-bottom: 16px; }
.dienst-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.dienst-card p { font-size: .9rem; color: var(--gray); line-height: 1.7; }
.dienst-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.dienst-list li { font-size: .87rem; color: var(--gray); display: flex; align-items: center; gap: 8px; }
.dienst-list li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ── WAAROM ── */
#waarom { background: var(--white); }
.waarom-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .waarom-grid { grid-template-columns: repeat(2, 1fr); }
}
.waarom-item {
  text-align: center; padding: 28px 20px;
  border: 1.5px solid var(--border); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.waarom-item:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(224,32,32,.1); }
.waarom-icon { font-size: 2rem; margin-bottom: 12px; }
.waarom-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.waarom-item p { font-size: .85rem; color: var(--gray); }

/* ── DOELGROEPEN ── */
#doelgroepen { background: var(--dark); color: var(--white); }
#doelgroepen .section-title { color: var(--white); }
#doelgroepen .section-sub { color: rgba(255,255,255,.6); }
.doel-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.doel-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 36px;
  transition: background .2s, border-color .2s;
}
.doel-card:hover { background: rgba(224,32,32,.1); border-color: rgba(224,32,32,.4); }
.doel-card .d-icon { font-size: 2.6rem; margin-bottom: 16px; }
.doel-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; color: var(--white); }
.doel-card p { font-size: .92rem; color: rgba(255,255,255,.65); margin-bottom: 20px; line-height: 1.7; }
.doel-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.doel-list li { font-size: .88rem; color: rgba(255,255,255,.8); display: flex; gap: 10px; align-items: flex-start; }
.doel-list li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── MERKEN ── */
#merken { background: var(--light); }
.merken-row {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.merk-badge {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 16px 28px;
  font-size: 1rem; font-weight: 700; color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.merk-badge:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(224,32,32,.12); }

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%);
  color: var(--white); text-align: center;
}
#cta .section-title { color: var(--white); }
#cta p { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-white {
  background: var(--white); color: var(--red);
  padding: 14px 36px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 800; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ── CONTACT ── */
#contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.c-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: .87rem; color: var(--gray); font-weight: 600; }
.contact-item span { font-size: .97rem; font-weight: 600; }
.contact-form { background: var(--light); border-radius: 16px; padding: 32px; }
.contact-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.cf-field { margin-bottom: 16px; }
.cf-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.cf-field input, .cf-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: .93rem; font-family: inherit; background: var(--white);
  transition: border-color .2s;
}
.cf-field input:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--red);
}
.cf-field textarea { resize: vertical; min-height: 100px; }
.btn-red {
  background: var(--red); color: var(--white);
  border: none; padding: 12px 28px; border-radius: 10px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  width: 100%; transition: background .2s;
}
.btn-red:hover { background: var(--red-dk); }
.form-notice {
  padding: 12px 16px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; margin-bottom: 16px;
}
.form-notice.success { background: #e6f9ec; color: #1a7a38; border: 1px solid #a8e6bb; }
.form-notice.error   { background: var(--red-lt); color: var(--red); border: 1px solid #f5b0b0; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 40px 24px; text-align: center; font-size: .85rem;
}
footer strong { color: var(--white); }
footer .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
footer a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--red); }

/* ── OFFERTE PAGINA ── */
.offerte-wrap {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: calc(100vh - 70px);
  padding: 48px 16px 64px;
}
.offerte-card {
  max-width: 800px; margin: 0 auto;
  background: var(--white); border-radius: 18px;
  box-shadow: 0 8px 48px rgba(0,0,0,.25); overflow: hidden;
}
.offerte-header {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%);
  color: var(--white); padding: 32px 40px 24px;
  display: flex; align-items: center; gap: 18px;
}
.offerte-header-icon { font-size: 44px; flex-shrink: 0; }
.offerte-header h1 { font-size: 1.7rem; font-weight: 700; }
.offerte-header p  { margin-top: 4px; opacity: .85; font-size: .9rem; }

.offerte-progress-wrap { background: #e9ecef; padding: 0 40px; }
.offerte-progress-steps {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px 0 14px; position: relative;
}
.offerte-progress-steps::before {
  content: ''; position: absolute; top: 27px;
  left: calc(10% + 16px); right: calc(10% + 16px);
  height: 2px; background: var(--border); z-index: 0;
}
.offerte-progress-line {
  position: absolute; top: 27px; left: calc(10% + 16px);
  height: 2px; background: var(--red); z-index: 1;
  transition: width .4s ease; width: 0%;
}
.offerte-step-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; z-index: 2; flex: 1;
}
.offerte-step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: var(--gray); transition: all .25s;
}
.offerte-step-item.active .offerte-step-dot { border-color: var(--red); background: var(--red); color: var(--white); }
.offerte-step-item.done   .offerte-step-dot { border-color: #198754; background: #198754; color: var(--white); }
.offerte-step-label { font-size: .7rem; font-weight: 600; color: var(--gray); text-align: center; }
.offerte-step-item.active .offerte-step-label { color: var(--red); }
.offerte-step-item.done   .offerte-step-label { color: #198754; }

.offerte-form-body { padding: 36px 40px; }
.offerte-panel { display: none; animation: fadeIn .25s ease; }
.offerte-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.offerte-panel-title {
  font-size: 1.15rem; font-weight: 700; color: var(--red);
  margin-bottom: 22px; padding-bottom: 10px;
  border-bottom: 2px solid var(--red-lt);
  display: flex; align-items: center; gap: 10px;
}

.o-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.o-field { margin-bottom: 16px; }
.o-field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 5px; color: #343a40; }
.o-field input[type="text"],
.o-field input[type="email"],
.o-field input[type="tel"],
.o-field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit; background: var(--light);
  transition: border-color .2s, box-shadow .2s;
}
.o-field input:focus, .o-field textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224,32,32,.12); background: var(--white);
}
.o-field textarea { resize: vertical; min-height: 90px; }
.o-field-error { color: #dc3545; font-size: .78rem; margin-top: 4px; display: none; }
.o-hint { font-size: .78rem; color: var(--gray); display: flex; align-items: center; gap: 5px; }
.o-ok  { color: #198754; }
.o-err { color: #dc3545; }
.o-loading::before {
  content: ''; display: inline-block; width: 12px; height: 12px;
  border: 2px solid var(--red); border-top-color: transparent;
  border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.o-card-grid { display: grid; gap: 10px; }
.o-c5 { grid-template-columns: repeat(5, 1fr); }
.o-card-option { position: relative; }
.o-card-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.o-card-option label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 8px;
  border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; text-align: center;
  font-size: .8rem; font-weight: 600; color: #495057;
  background: var(--light); transition: all .18s; min-height: 82px;
}
.o-icon { font-size: 1.6rem; line-height: 1; }
.o-card-option input:checked + label {
  border-color: var(--red); background: var(--red-lt); color: var(--red);
  box-shadow: 0 0 0 3px rgba(224,32,32,.12);
}
.o-card-option label:hover { border-color: #f08080; background: #fff5f5; }

.o-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius);
  background: var(--light); padding: 30px 20px;
  text-align: center; cursor: pointer; position: relative;
  transition: border-color .2s, background .2s;
}
.o-upload-area:hover { border-color: var(--red); background: var(--red-lt); }
.o-upload-area input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.o-u-icon { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.o-upload-area p { font-size: .88rem; color: var(--gray); }
.o-upload-area strong { color: var(--red); }
.o-file-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.o-file-tag {
  background: var(--red-lt); border: 1px solid #f5b0b0; border-radius: 20px;
  padding: 4px 12px; font-size: .78rem; color: var(--red);
}

.o-nav-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--red-lt);
}
.o-btn {
  padding: 12px 28px; border: none; border-radius: var(--radius);
  font-size: .95rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: opacity .2s, transform .1s;
}
.o-btn:hover  { opacity: .88; }
.o-btn:active { transform: scale(.97); }
.o-btn-back   { background: var(--light); color: var(--gray); border: 1.5px solid var(--border); }
.o-btn-next   { background: linear-gradient(135deg, var(--red), var(--red-dk)); color: var(--white); }
.o-btn-submit { background: linear-gradient(135deg, #198754, #146c43); color: var(--white); }
.o-step-counter { font-size: .8rem; color: var(--gray); }
.o-privacy { font-size: .76rem; color: var(--gray); text-align: center; margin-top: 14px; }

.offerte-success {
  padding: 60px 40px; text-align: center;
}
.offerte-success .s-icon { font-size: 4rem; margin-bottom: 16px; }
.offerte-success h2 { font-size: 1.5rem; font-weight: 700; color: #198754; margin-bottom: 8px; }
.offerte-success p  { color: var(--gray); font-size: .95rem; }

@media (max-width: 580px) {
  .offerte-header { padding: 22px 20px; flex-direction: column; text-align: center; }
  .offerte-progress-wrap { padding: 0 16px; }
  .offerte-form-body { padding: 24px 20px; }
  .o-grid-2 { grid-template-columns: 1fr; }
  .o-c5 { grid-template-columns: repeat(2, 1fr); }
  .offerte-step-label { display: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .doel-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
}
