/* RESET & NORMALIZE */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #244F63;
  background-color: #F6F4EF;
  min-height: 100vh;
}
body {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-image: url('../assets/organic-bg-texture.png'); /* Placeholder: use SVG/patterned PNG background texture as desired */
  background-repeat: repeat;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #244F63;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AF8E4D;
}
ul, ol {
  margin: 0 0 20px 0;
  padding-left: 22px;
}
li { margin-bottom: 8px; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 0;
  color: #244F63;
}
h1 { font-size: 2.5rem; line-height: 1.12; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 18px; }
h3 { font-size: 1.35rem; line-height: 1.23; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 9px; }
p { margin-top: 0; margin-bottom: 16px; }
blockquote {
  border-left: 4px solid #A2B18D;
  padding-left: 18px;
  margin: 22px 0 24px 0;
  color: #447C5E;
  font-style: italic;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

/* FLEX LAYOUTS */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  background: rgba(255,255,255,0.88);
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(36,79,99,0.06);
  padding: 32px 22px;
  margin: 0 auto;
  max-width: 700px;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(164, 180, 139, 0.13);
  padding: 30px 26px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 280px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #A2B18D;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(35, 76, 60, 0.11);
  margin-bottom: 20px;
  max-width: 380px;
  flex: 1 1 280px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* BUTTONS & CTAs */
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: #A2B18D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 25px 10px 25px 10px;
  transition: background .2s, box-shadow .22s, transform .14s;
  box-shadow: 0 2px 10px rgba(36,79,99,0.10);
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}
.primary-cta:hover, .primary-cta:focus {
  background: #678A54;
  color: #fff;
  box-shadow: 0 4px 18px rgba(164, 180, 139, 0.18);
  transform: translateY(-2px) scale(1.035);
}

/* HEADER NAVIGATION */
header {
  background: #244F63 url('../assets/nature-curve-top.png') no-repeat top left; /* Optional: organic SVG curve */
  background-size: cover;
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
  box-shadow: 0 6px 24px 0 rgba(35,76,60,0.07);
}
header .container {
  flex-direction: row;
  align-items: center;
  height: 78px;
  gap: 18px;
  justify-content: space-between;
}
header img[alt="InvestorenGenies"] {
  height: 54px;
  width: auto;
  margin-right: 16px;
  border-radius: 0;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1 1 auto;
}
.main-nav a {
  color: #F6F4EF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.015em;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.19s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #A2B18D;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F6F4EF;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 120;
  margin-left: 14px;
  transition: color .19s;
}
.mobile-menu-toggle:focus {
  color: #A2B18D;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,244,239, 0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.75,0,.15,1);
  z-index: 1050;
  box-shadow: 2px 0 24px rgba(164, 180, 139, 0.10);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #244F63;
  font-size: 2.2rem;
  padding: 22px 24px 0 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2000;
}
.mobile-menu-close:focus { color: #AF8E4D; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px;
  width: 100%;
}
.mobile-nav a {
  color: #244F63;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A2B18D;
  color: #fff;
}

/* HERO & ORGANIC EDGES */
.hero, .cta {
  background: #EAF3E6;
  background-image: url('../assets/leafy-organic-bg.svg'); /* Optional visual 'organic' SVG */
  background-repeat: no-repeat;
  background-position: right 60% bottom 0;
  border-radius: 0 0 48px 48px / 0 0 24px 24px;
  box-shadow: 0 2px 28px 0 rgba(164,180,139,0.10);
}
.hero .text-section, .cta .text-section { background: transparent; box-shadow: none; padding: 0; }

/* FEATURE CARDS */
.features .feature-grid {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 13px rgba(164,180,139,0.13);
  padding: 32px 26px 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 260px;
  flex: 1 1 260px;
  border-left: 6px solid #A2B18D;
  transition: box-shadow 0.21s, transform 0.19s;
  margin-bottom: 20px;
  margin-right: 10px;
}
.feature-card:hover, .feature-card:focus {
  box-shadow: 0 8px 28px rgba(175, 142, 77, 0.14);
  transform: translateY(-5px) scale(1.03);
}
.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 9px;
  background: #EAF3E6;
  padding: 4px;
}

/* PROFILE CARDS GRID (Investorenprofile) */
.profile-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.profile-card {
  background: #fff;
  border-radius: 17px;
  border: 1.5px solid #A2B18D;
  padding: 22px 18px 20px 18px;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 220px;
  box-shadow: 0 2px 11px rgba(36,79,99,0.07);
  transition: box-shadow 0.17s, transform 0.17s;
}
.profile-card:hover, .profile-card:focus {
  box-shadow: 0 8px 18px rgba(164, 180, 139, 0.18);
  transform: translateY(-4px) scale(1.025);
}

/* BLOG LISTING */
.blog-article-teasers, .categories-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.blog-teaser {
  background: #fff;
  border-left: 6px solid #678A54;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(164,180,139,0.08);
  padding: 22px 18px;
  flex: 1 1 250px;
  min-width: 190px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.16s;
}
.blog-teaser:hover, .blog-teaser:focus {
  box-shadow: 0 6px 16px rgba(164,180,139,0.16);
  transform: translateY(-3px) scale(1.02);
}

/* RESOURCES */
.resource-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.resource-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(164,180,139,0.09);
  padding: 22px 15px 22px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border-left: 4px solid #B6CDBD;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: box-shadow 0.13s;
}
.resource-card img { width: 38px; height: 38px; margin-bottom: 6px; }
.resource-card ul { margin-bottom: 0; }
.resource-card:hover, .resource-card:focus {
  box-shadow: 0 8px 18px rgba(164,180,139,0.14);
}

/* STORIES (Erfolgsgeschichten) */
.story-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.story-card {
  background: #fff;
  border-radius: 19px;
  border: 1.5px solid #A2B18D;
  padding: 25px 22px;
  min-width: 210px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(164,180,139,0.08);
  position: relative;
  transition: box-shadow .13s, border-color .16s;
}
.story-card.highlighted {
  border-color: #678A54;
  box-shadow: 0 8px 24px rgba(175, 142, 77, 0.14);
  background: #EAF3E6;
}
.story-card:hover, .story-card:focus {
  border-color: #AF8E4D;
  box-shadow: 0 5px 17px rgba(164,180,139,0.15);
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EAF3E6;
  border-radius: 10px;
  padding: 8px 15px;
}
.contact-details img { width: 24px; height: 24px; }

/* FOOTER STYLES */
footer {
  background: #244F63;
  color: #F6F4EF;
  padding: 44px 0 30px 0;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  box-shadow: 0 -4px 18px rgba(35,76,60,0.08);
}
footer .container { gap: 18px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F6F4EF;
  opacity: 0.92;
  font-weight: 500;
  font-size: 1rem;
  transition: color .15s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #AF8E4D; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  margin-bottom: 15px;
}
.footer-contact img { width: 22px; height: 22px; filter: brightness(96) invert(1); margin-right: 6px; }
.footer-copy {
  font-size: 0.96rem;
  opacity: 0.82;
  margin-top: 10px;
}

/* TESTIMONIALS */
.stars {
  color: #AF8E4D;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 2px;
}
.testimonial-author {
  font-weight: 600;
  color: #244F63;
  font-size: 0.99rem;
  margin-top: 8px;
  letter-spacing: 0.011em;
}

/* FILTERS, ETC. */
.filter-options, .categories-filter {
  color: #678A54;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #EAF3E6;
  padding: 12px 16px;
  border-radius: 13px;
  margin-bottom: 18px;
  gap: 15px;
}

/* MODALS & COOKIE BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(36,79,99,0.15);
  padding: 26px 28px 14px 28px;
  z-index: 2100;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-wrap: wrap;
  min-width: 230px;
  max-width: 590px;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-consent-banner[hidden] { opacity: 0; pointer-events: none; }
.cookie-consent-banner p {
  flex: 1 1 60%;
  margin-bottom: 6px;
  color: #244F63;
  font-size: 0.98rem;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 22px 8px 22px 8px;
  background: #A2B18D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  min-width: 112px;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.13s;
  box-shadow: 0 2px 9px rgba(164,180,139,0.09);
}
.cookie-btn:hover, .cookie-btn:focus { background: #678A54; }
.cookie-btn.reject {
  background: #D9573B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B2351B;
}
.cookie-btn.secondary {
  background: #fff;
  color: #244F63;
  border: 1.5px solid #A2B18D;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #EAF3E6;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,79,99,0.27);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(36,79,99,0.15);
  padding: 32px 36px 26px 34px;
  min-width: 300px;
  min-height: 120px;
  max-width: 96vw;
  max-height: 94vh;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadeInModal .33s cubic-bezier(.8,0,0,1);
}
@keyframes fadeInModal { from{ opacity:0; transform: translateY(48px);} to{opacity:1; transform:none;} }
.cookie-modal h3 {
  font-size: 1.33rem;
  margin-bottom: 17px;
  color: #244F63;
}
.cookie-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.cookie-toggle-item {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
}
.cookie-toggle-item label { margin-left: 2px; font-weight: 500; }
.cookie-switch {
  appearance: none;
  width: 37px;
  height: 20px;
  background: #A2B18D;
  border-radius: 10px;
  outline: none;
  position: relative;
  transition: background 0.15s;
  margin-right: 6px;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #678A54;
}
.cookie-switch:disabled { background: #B6CDBD; cursor:not-allowed; }
.cookie-switch:before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.15s;
}
.cookie-switch:checked:before { left: 20px; }
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #244F63;
  font-size: 1.5rem;
  position: absolute;
  top: 14px;
  right: 16px;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #AF8E4D;
}

/* RESPONSIVENESS: MOBILE-FIRST */
@media (max-width: 991px) {
  .container { max-width: 910px; }
  .main-nav { gap: 11px; }
  .feature-grid, .profile-list-grid, .card-container, .testimonial-list, .resource-items, .story-list, .blog-article-teasers { gap: 18px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  header .container { flex-direction: row; height: 64px; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .primary-cta { font-size: 1rem; padding: 12px 20px; }
  .content-wrapper { gap: 22px; }
  .feature-grid, .profile-list-grid, .story-list, .blog-article-teasers, .resource-items, .testimonial-list, .card-container { flex-direction: column; gap: 15px; }
  .feature-card, .profile-card, .testimonal-card, .resource-card, .story-card, .blog-teaser, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero, .cta { border-radius: 0 0 32px 32px / 0 0 16px 16px; }
  .cookie-consent-banner { left: 4vw; right: 4vw; min-width: 0; max-width: 100vw; padding: 22px 10px 11px 12px; flex-direction: column; align-items: flex-start; gap: 11px; }
  .cookie-modal { padding: 18px 7vw 16px 6vw; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.63rem; }
  h2 { font-size: 1.18rem; }
  .section, section { padding: 18px 4vw; }
  .cookie-modal { padding: 14px 7vw 9px 6vw; }
}

/* VISUAL ORGANIC TOUCHES */
.section, section, .feature-card, .profile-card, .card, .resource-card, .story-card, .testimonial-card, .blog-teaser {
  border-radius: 21px 16px 19px 26px/18px 21px 29px 16px;
}
.feature-card, .profile-card, .card, .resource-card, .story-card, .testimonial-card, .blog-teaser {
  border-style: solid;
  border-width: 1.5px;
  border-color: #B6CDBD;
}

/* HIERARCHY & SPACING */
.section h1, .section h2, section h1, section h2 { margin-top: 0; }
h1 + p, h2 + p { margin-top: 0; }
.card-content > *:not(:last-child) { margin-bottom: 12px; }

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .testimonial-card, .feature-card, .resource-card, .story-card, .blog-teaser {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .testimonial-card:hover, .feature-card:hover, .resource-card:hover, .story-card:hover, .blog-teaser:hover {
  box-shadow: 0 8px 25px rgba(175,142,77,0.13);
  transform: translateY(-4px) scale(1.015);
}

/* MISC: HIDE/SHOW NAVS */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* SCROLLBAR STYLE */
::-webkit-scrollbar {
  width: 8px;
  background: #EAF3E6;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #B6CDBD;
  border-radius: 5px;
}

/* ACCESSIBILITY - FOCUS STYLES */
a:focus, button:focus, .primary-cta:focus, .cookie-btn:focus, .cookie-modal-close:focus {
  outline: 2px solid #A2B18D;
  outline-offset: 2px;
}

/* VISIBILITY HELPERS */
.hidden, [hidden] { display: none !important; }

/* END OF STYLE.CSS */
