/* =============================================================
   WarmteWijs Elegant Classic CSS — style.css
   Brand: WarmteWijs — Modern, timeless, sustainable, classic elegance
   ============================================================= */

/* ===== CSS RESET & BASE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Georgia, serif;
  color: #232323;
  background-color: #fff;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1rem;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  background-color: #F7F8FA;
}

/* Remove focus outlines only for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

img, svg {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}

hr {
  border: none;
  border-bottom: 1px solid #e1e3e9;
  margin: 32px 0;
}

/* Headings ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #1B3557;
  margin-bottom: 15px;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li, blockquote {
  font-family: 'Open Sans', Georgia, serif;
  font-size: 1rem;
  color: #262626;
  margin-bottom: 16px;
}
p:last-child, ul:last-child, ol:last-child, blockquote:last-child {
  margin-bottom: 0;
}

b, strong { font-weight: 700; }
em, i { font-style: italic; }

/* Links ========== */
a {
  color: #1B3557;
  text-decoration: underline;
  transition: color 0.18s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #8C5C14;
  text-decoration: none;
}

/* =========== LAYOUT CONTAINERS =========== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
}

/* --- Section Spacing --- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(27,53,87,0.06);
}
section:last-child {
  margin-bottom: 0;
}

/* =========== HEADER & NAVIGATION =========== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e1e3e9;
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 1px 4px rgba(27,53,87,0.03);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1B3557;
  text-decoration: none;
  position: relative;
  transition: color 0.16s;
  padding: 4px 2px;
}
.main-nav a::after {
  content: '';
  display: block;
  margin: 0 auto;
  height: 2px;
  width: 0;
  background: #F4BD50;
  border-radius: 3px;
  transition: width 0.18s;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}
.main-nav a:hover, .main-nav a:focus {
  color: #8C5C14;
}

.cta-btn {
  background: #F4BD50;
  color: #1B3557;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(27,53,87,0.04);
  padding: 11px 28px;
  font-size: 1.07rem;
  text-decoration: none;
  margin-left: 16px;
  transition: background 0.14s, color 0.16s, box-shadow 0.19s, transform 0.16s;
  border: none;
  display: inline-block;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1B3557;
  color: #F4BD50;
  box-shadow: 0 4px 12px rgba(27,53,87,0.12);
  transform: translateY(-2px) scale(1.04);
}

/* ---- Mobile Burger Menu ---- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  font-size: 2rem;
  border: none;
  background: none;
  color: #1B3557;
  padding: 10px;
  margin-left: 16px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1202;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F4BD50;
  color: #1B3557;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #fff;
  box-shadow: 0 0 55px 0 rgba(27,53,87,0.10);
  z-index: 1400;
  padding: 0 36px;
  transform: translateX(-100vw);
  transition: transform 0.42s cubic-bezier(.39,.34,.36,1.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 32px;
  margin-bottom: 25px;
  font-size: 2.2rem;
  color: #1B3557;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F4BD50;
  color: #1B3557;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 13px 0;
  color: #1B3557;
  text-decoration: none;
  border-bottom: 1px solid #e1e3e9;
  transition: color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #8C5C14;
  background: #F7F8FA;
}

/* Hide on desktop, show on mobile */
@media (max-width: 992px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 993px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== HERO BANNER ========== */
.hero {
  background: #F7F8FA;
  padding-top: 45px;
  padding-bottom: 45px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 20px 0 rgba(27,53,87,0.05);
  margin-bottom: 38px;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.hero h1 {
  font-size: 2.125rem;
}
.hero p {
  max-width: 580px;
  font-size: 1.08rem;
  color: #272929;
}
.hero .cta-btn {
  margin-top: 20px;
}

/* =================== FLEX CONTAINERS & CARDS ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 18px 0 rgba(27,53,87,0.07);
  padding: 30px 26px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 26px 0 rgba(27,53,87,0.10);
  transform: translateY(-5px) scale(1.03);
  z-index: 5;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 13px;
  padding: 20px 28px;
  margin-bottom: 24px;
  box-shadow: 0 3px 18px 0 rgba(27,53,87,0.09);
  position: relative;
}
.testimonial-card blockquote {
  font-style: italic;
  font-family: Georgia, serif;
  color: #262626;
  font-size: 1.06rem;
  border-left: 3px solid #F4BD50;
  padding-left: 20px;
  margin: 0;
  letter-spacing: 0.01em;
}
.testimonial-card div {
  font-family: 'Montserrat', Georgia, serif;
  color: #555;
  font-size: 1rem;
  font-weight: 600;
}

/* Strong contrast for testimonial text */
.testimonials .testimonial-card,
.testimonial-card {
  background: #fff;
  color: #232323;
}

/* .feature-item class for components */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==================== SECTIONS & LISTS ==================== */
.features, .about, .about-company, .usp, .team, .services, .warmtepomp-services, .faq, .faq-section, .privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use, .contact-info, .services-offer, .steps-benefits, .cta, .cta-question, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(27,53,87,0.06);
}

.features ul, .about-company ul,.usp ul, .team ul, .services ul, .warmtepomp-services ul, .faq ul, .faq-section ul, .privacy-policy ul, .gdpr-info ul, .cookie-policy ul, .services-offer ul, .steps-benefits ul,
.faq ol, .warmtepomp-services ol, .steps-benefits ol, .thank-you ul {
  margin-left: 26px;
  margin-bottom: 18px;
  padding-left: 10px;
  list-style-position: outside;
}
.features li, .about-company li,.usp li, .team li, .services li, .warmtepomp-services li, .faq li, .faq-section li, .privacy-policy li, .gdpr-info li, .cookie-policy li, .services-offer li, .steps-benefits li, .thank-you li {
  margin-bottom: 11px;
  font-size: 1rem;
  line-height: 1.7;
  color: #35383C;
}
.faq-section ul, .faq ul {
  margin-left: 6px;
}

/* Clean up last element margin */
li:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0 !important;
}

blockquote {
  border-left: 3px solid #F4BD50;
  padding-left: 20px;
  color: #2c333b;
  margin: 0 0 15px 0;
  background: #faf6ee;
  font-size: 1.07rem;
}

/* =========== Footer ============= */
footer {
  background: #F7F8FA;
  border-top: 1px solid #e0e3ed;
  padding: 24px 0 12px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
footer a {
  color: #575f71;
  text-decoration: none;
  transition: color 0.15s;
}
footer a:hover, footer a:focus {
  color: #1B3557;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact {
  font-size: 1rem;
  color: #484848;
  font-family: 'Open Sans', Georgia, serif;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer img {
  height: 38px;
  margin-bottom: 18px;
}

/* ============ CTA Sections ============ */
.cta, .cta-question, .thank-you {
  background-color: #F4BD50;
  color: #1B3557;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(204, 180, 105, 0.10);
  text-align: left;
  margin-bottom: 58px;
}
.cta h2, .cta-question h2, .thank-you h1, .thank-you h2 {
  color: #1B3557;
}
.cta .cta-btn, .cta-question .cta-btn, .thank-you .cta-btn {
  background: #1B3557;
  color: #F4BD50;
  border: none;
  margin-top: 15px;
}
.cta .cta-btn:hover, .cta-question .cta-btn:hover, .thank-you .cta-btn:hover {
  background: #8C5C14;
  color: #fff7e1;
}

/* ===== Utility: Hide visually (for a11y) ===== */
.visually-hidden { position: absolute!important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

/* ================================================
   COOKIE CONSENT BANNER & MODAL
   ================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffdfa;
  color: #1B3557;
  box-shadow: 0 -4px 32px rgba(27,53,87,0.10);
  border-top: 1px solid #F4BD50;
  padding: 22px 16px 18px 16px;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  animation: cookieBannerIn 0.62s ease;
}
@keyframes cookieBannerIn {
  from {transform: translateY(100%); opacity: 0;} to {transform: translateY(0); opacity: 1;}
}
.cookie-banner strong {
  font-family: 'Montserrat', Georgia, serif;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background: #F4BD50;
  color: #1B3557;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-banner .btn.reject {
  background: #e5e7eb;
  color: #6E6B5A;
}
.cookie-banner .btn.settings {
  background: #fff;
  border: 1px solid #F4BD50;
  color: #AF8C33;
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: #1B3557;
  color: #F4BD50;
}
.cookie-banner .btn.settings:hover, .cookie-banner .btn.settings:focus {
  background: #F7F8FA;
  color: #8C5C14;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -36%) scale(1);
  min-width: 320px;
  max-width: 90vw;
  background: #fff;
  color: #232323;
  border-radius: 14px;
  box-shadow: 0 12px 50px 0 rgba(27,53,87,0.16);
  padding: 38px 24px 24px 24px;
  z-index: 2400;
  display: flex;
  flex-direction: column;
  animation: cookieModalIn 0.44s cubic-bezier(.37,.73,.47,1.4);
}
@keyframes cookieModalIn {
  from { transform: translate(-50%, -70%) scale(0.9); opacity: 0; }
  to { transform: translate(-50%, -36%) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 18px;
  font-size: 2rem;
  color: #1B3557;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 4px 10px;
  transition: background 0.14s;
}
.cookie-modal-close:hover {
  background: #F4BD50;
  color: #1B3557;
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.4rem;
  margin-bottom: 11px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-switch {
  width: 44px; height: 22px;
  background: #eaeaea;
  border-radius: 30px;
  position: relative;
  margin-right: 9px;
}
.cookie-modal .cookie-switch input {
  display: none;
}
.cookie-modal .cookie-slider {
  position: absolute;
  top: 1.5px; left: 2px;
  height: 19px; width: 19px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgba(27,53,87,0.13);
  transition: left 0.16s, background 0.18s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  left: 23px;
  background: #F4BD50;
}
.cookie-modal .cookie-switch input:disabled + .cookie-slider {
  background: #e5e7eb;
  opacity: 0.8;
}
.cookie-modal .cookie-cats {
  margin: 26px 0 17px 0;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background: #F4BD50;
  color: #1B3557;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-modal button.secondary {
  background: #F7F8FA;
  color: #8C5C14;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #1B3557;
  color: #F4BD50;
}
.cookie-modal button.secondary:hover,
.cookie-modal button.secondary:focus {
  background: #FAEEDE;
  color: #8C5C14;
}

/* ============ RESPONSIVE DESIGN =============== */
@media (max-width: 1024px) {
  .container { max-width: 94vw; }
  .card-container, .content-grid, .footer .container {
    gap: 18px;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; padding-left: 11px; padding-right: 11px; }
  .section, section, .features, .about, .about-company, .usp, .team, .services, .warmtepomp-services, .faq, .faq-section, .privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use, .contact-info, .services-offer, .steps-benefits, .cta, .cta-question, .thank-you {
    padding: 28px 6px;
    border-radius: 13px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.26rem; }
  .hero {
    padding-top: 27px; padding-bottom: 27px;
    border-radius: 0 0 11px 11px;
  }
  .hero h1 { font-size: 1.22rem; }
  .card-container,
  .content-grid,
  .footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 15px;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
  .cta, .cta-question, .thank-you {
    margin-bottom: 45px;
    padding: 25px 6px;
    border-radius: 9px;
  }
}
@media (max-width: 550px) {
  html { font-size: 14px; }
  .hero, .hero .container { padding-top: 18px; padding-bottom: 18px; }
  .section, section {
    margin-bottom: 34px;
    padding: 17px 2px;
    border-radius: 7px;
  }
  footer, footer .container {
    padding: 13px 2px 5px 2px;
    font-size: 0.93rem;
  }
  .cookie-modal {
    min-width: 96vw;
    padding: 20px 6px 11px 6px;
  }
}

/* ===== Scrollbar Customization ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #F7F8FA;
}
::-webkit-scrollbar-thumb {
  background: #ebd7af;
  border-radius: 9px;
}

/* === Micro-interactions & Transitions === */
.card, .testimonial-card, .cta-btn, .main-nav a, .mobile-nav a, button, .cookie-banner, .cookie-modal {
  transition-property: box-shadow, transform, background, color, border, opacity;
  transition-duration: 0.14s, 0.18s, 0.14s, 0.15s, 0.13s, 0.15s;
}

/* ========== Misc Fixes and Utility Classes ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* Fix for excessive large lists on mobile */
@media (max-width: 550px) {
  ul, ol { margin-left: 10px; padding-left: 6px; }
}

/* =================== END OF CSS =================== */
