/* =============================
   RentenKompass Style Reset
   ============================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F9FB;
  color: #222;
  font-size: 1rem;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #154273;
}
h1 {
  font-size: 2.25rem;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  font-weight: 700;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 600;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  font-weight: 600;
}
strong, b {
  font-weight: 700;
  color: #154273;
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: #7CA245;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #53721d;
  outline: none;
  text-decoration: underline;
}
img {
  max-width: 100%;
  border-radius: 12px;
}
button,
input[type="button"],
input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  padding: 0;
}

/*==============================
  Container Layout
===============================*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/*==============================
  Header & Navigation
===============================*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(21, 66, 115, 0.07);
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #e2e8f0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
header img {
  height: 42px;
  width: auto;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #154273;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
}
.main-nav a:focus,
.main-nav a:hover {
  background: #F8E4C5;
  color: #7CA245;
}

.cta-btn {
  background: #7CA245;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 32px;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px 0 rgba(124,162,69,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  cursor: pointer;
  display: inline-block;
  outline: none;
  border: none;
}
.cta-btn:focus,
.cta-btn:hover {
  background: #53721d;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(124,162,69,0.16);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

/* Hamburger menu (mobile only) */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #154273;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 7px 16px;
  cursor: pointer;
  z-index: 52;
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F8E4C5;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.56,.1,.18,1.03);
  box-shadow: -2px 0 24px rgba(21,66,115,0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 24px 36px 24px;
  gap: 24px;
  width: 100vw;
}
.mobile-menu.menu-open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.25rem;
  color: #154273;
  background: transparent;
  border-radius: 8px;
  border: none;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #F8E4C5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #154273;
  padding: 13px 0 13px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.2s, color 0.19s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F8E4C5;
  color: #7CA245;
}


/*==============================
  HERO SECTION (index)
===============================*/
.hero-section {
  background: linear-gradient(90deg, #F8E4C5 0%, #F6F9FB 100%);
  padding: 64px 0 32px 0;
  margin-bottom: 40px;
}
.hero-section .container {
  align-items: flex-start;
}
.hero-section h1 {
  color: #154273;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-section p {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 28px;
  max-width: 620px;
}
.hero-section .cta-btn {
  font-size: 1.1rem;
  padding: 13px 34px;
}

/*==============================
  Feature Grid & Cards
===============================*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.feature-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(21,66,115,0.09);
  padding: 32px 28px 28px 28px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.22s, transform 0.22s;
  margin-bottom: 20px;
}
.feature-card img {
  height: 46px;
  width: 46px;
  margin-bottom: 8px;
  background: #F8E4C5;
  border-radius: 10px;
  box-shadow: 0 1px 4px 0 rgba(124,162,69,0.07);
  padding: 6px;
}
.feature-card h3 {
  color: #154273;
}
.feature-card p {
  color: #444;
  font-size: 1rem;
}
.feature-card:focus-within, .feature-card:hover {
  box-shadow: 0 6px 24px 0 rgba(21,66,115,0.14);
  transform: translateY(-2px) scale(1.03);
}

/*==============================
  Content & Section Block Styling
===============================*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(21,66,115,0.07);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.text-section h2, .text-section h3 {
  margin-bottom: 12px;
  color: #154273;
}
.text-section ul {
  margin-top: 6px;
  padding-left: 19px;
}
.text-section li {
  margin-bottom: 7px;
  font-size: 1rem;
}
.text-section p {
  margin-bottom: 8px;
}

/* Content grid utility pattern */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(21,66,115,0.09);
  padding: 32px 28px 28px 28px;
}

/*==============================
  CTA Section
===============================*/
.cta-section {
  margin-bottom: 60px;
  padding: 40px 16px;
  background: #F8E4C5;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(21,66,115,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.cta-section h2 {
  color: #154273;
  font-size: 1.45rem;
}
.cta-section p {
  color: #333;
  font-size: 1.09rem;
  margin-bottom: 10px;
}

/*==============================
  Testimonials
===============================*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(124, 162, 69, 0.08);
  padding: 20px 24px;
  margin-bottom: 20px;
  max-width: 600px;
  color: #174060;
  border-left: 8px solid #7CA245;
}
.testimonial-card p {
  margin-bottom: 2px;
  font-size: 1.06rem;
  color: #222;
  font-style: italic;
}
.testimonial-card span {
  color: #7CA245;
  font-weight: 600;
  font-size: 0.98rem;
}

/* Accessibility & contrast */
.testimonial-card p, .testimonial-card span {
  color: #1b2c37;
}

/*==============================
  Footer
===============================*/
footer {
  background: #154273;
  color: #fff;
  margin-top: 60px;
  padding: 36px 0 25px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 1 140px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo img {
  height: 56px;
  border-radius: 10px;
}
.footer-contact {
  flex: 1 1 260px;
  margin-bottom: 18px;
}
.footer-contact p, .footer-nav {
  color: #F6F9FB;
}
.footer-contact strong {
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F6F9FB;
  padding: 4px 0 4px 0;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: #7CA245;
  background: #fff2e2;
}

/*==============================
  Cookie Consent Banner & Popup
===============================*/
.cookie-banner {
  position: fixed;
  z-index: 1050;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff7e2;
  color: #222;
  box-shadow: 0 -2px 18px rgba(21,66,115, 0.07);
  padding: 18px 24px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: fadeInUp 0.7s cubic-bezier(.8,.2,0,1) 0.09s;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(32px);} 
  100%{opacity: 1; transform: translateY(0);}
}
.cookie-banner p {
  margin-bottom: 0;
  color: #33271a;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn, .cookie-settings-btn {
  background: #7CA245;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.22s;
  box-shadow: 0 0.5px 4px 0 rgba(124,162,69,0.09);
}
.cookie-btn.reject {
  background: #dab144;
  color: #fff;
}
.cookie-btn:focus,
.cookie-btn:hover,
.cookie-settings-btn:focus,
.cookie-settings-btn:hover {
  background: #53721d;
}

.cookie-settings-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34, 41, 49, 0.21);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-settings-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-settings-content {
  background: #fff;
  border-radius: 18px;
  padding: 34px 28px 28px 28px;
  max-width: 460px;
  width: 92vw;
  box-shadow: 0 3px 30px rgba(21,66,115, 0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInPop 0.44s cubic-bezier(.22, .61, .36, 1);
}
@keyframes fadeInPop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-settings-content h2 {
  color: #154273;
  font-size: 1.18rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #174273;
  font-weight: 600;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7CA245;
  width: 19px;
  height: 19px;
  margin-right: 6px;
}
.cookie-category.essential label {
  color: #aaa;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-direction: row;
  align-items: center;
}
.cookie-modal-close {
  background: transparent;
  color: #222;
  font-size: 1.22rem;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 8px;
  align-self: flex-end;
  transition: background 0.18s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #F8E4C5;
}

/*==============================
  Responsive Design
===============================*/
@media (max-width: 1020px) {
  .feature-grid { gap: 19px; }
  header .container, footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .feature-grid { gap: 16px; }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  .feature-card, .card {
    min-width: 180px;
    max-width: 99%;
    padding: 22px 12px 18px 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 7px;
    min-height: 57px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 480px) {
  .footer-contact, .footer-logo {
    max-width: 92vw;
  }
  .footer-logo img {
    height: 44px;
  }
  .feature-card, .card {
    padding: 15px 4vw 12px 4vw;
  }
  .testimonial-card {
    padding: 15px 6vw;
  }
  .cta-btn {
    width: 100%;
    padding: 14px 6vw;
    font-size: 1.05rem;
  }
  .section, .cta-section {
    padding: 20px 2vw;
    margin-bottom: 32px;
  }
  .hero-section {
    padding: 32px 0 18px 0;
  }
}

/*==============================
  Utility Classes
===============================*/
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.rounded { border-radius: 16px !important; }

/* Fix for testimonial text contrast */
@media (prefers-color-scheme: dark) {
  .testimonial-card p, .testimonial-card span {
    color: #F3ECDB;
  }
}

/* END CSS */
