/* ===== CSS RESET & BASE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #2D2D2D;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
ul, ol {
  list-style: none;
}
a {
  color: #212B48;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #608251;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* ===== TYPOGRAPHY SCALE ===== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #212B48;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  color: #212B48;
  margin-bottom: 16px;
  line-height: 1.22;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #212B48;
  margin-bottom: 10px;
  line-height: 1.22;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #212B48;
  margin-bottom: 8px;
}
p, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #374151;
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
address {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* ===== CONTAINER & SPACING ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
}
.content-wrapper {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #FFFFFF;
  padding: 18px 20px 18px 20px;
  justify-content: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1px solid #F0F1F4;
  position: relative;
  z-index: 20;
}
.main-nav > a {
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.16s cubic-bezier(.4,0,.2,1), color 0.18s cubic-bezier(.4,0,.2,1);
}
.main-nav a.cta-btn {
  background: #608251;
  color: #fff;
  font-weight: 600;
  margin-left: auto;
  padding: 9px 26px;
  border-radius: 22px;
  box-shadow: 0 2px 9px rgba(56,80,82,0.08);
  transition: background 0.17s cubic-bezier(.4,0,.2,1), box-shadow 0.14s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #709D64;
  box-shadow: 0 4px 18px rgba(64, 130, 81, 0.10);
  color: #FFF;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  background: #FCECD0;
  color: #608251;
}
.main-nav img {
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* ===== BURGER/MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2.1rem;
  line-height: 1;
  color: #212B48;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 31;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FCECD0;
  color: #608251;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(253,252,250,0.93);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(.59,.07,.37,1.11), opacity 0.22s;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 24px;
  color: #212B48;
  cursor: pointer;
  z-index: 130;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FCECD0;
  color: #608251;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 88px 34px 30px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  font-size: 1.21rem;
  padding: 13px 0;
  color: #212B48;
  border-radius: 4px;
  width: 100%;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FCECD0;
  color: #608251;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #FCECD0 url('../assets/hero-bg-light.svg') repeat top center;
  min-height: 320px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px 0;
  border-bottom: 1px solid #EFEDE8;
  position: relative;
}
.hero .container .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  width: 100%;
}
.hero h1 {
  color: #212B48;
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.17rem;
  color: #395358;
  max-width: 680px;
  margin-bottom: 22px;
}
.hero .cta-btn {
  margin-top: 10px;
}

/* ===== CTA BUTTON STYLE ===== */
.cta-btn {
  background: #608251;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  padding: 12px 34px;
  border: none;
  border-radius: 24px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 9px rgba(64, 130, 81, 0.08);
  transition: background 0.17s cubic-bezier(.4,0,.2,1), box-shadow 0.18s, transform 0.12s;
  cursor: pointer;
  outline: none;
  margin-top: 8px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #709D64;
  box-shadow: 0 4px 16px rgba(112, 157, 100, 0.16);
  color: #fff;
  transform: translateY(-1px) scale(1.02);
}

/* ===== FEATURE/CARD GRIDS ===== */
/* Mandatory spacings from user prompt */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 14px 0 rgba(29,43,72,0.07);
  padding: 32px 24px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px 0 rgba(33,43,72,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === Index/Team/Forschung feature grid style === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 220px;
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 14px 0 rgba(29,43,72,0.06);
  padding: 26px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 10px 32px 0 rgba(33,43,72,0.10);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 9px;
  opacity: 0.94;
  filter: grayscale(22%);
}

/* ===== CONTENT LAYOUTS ===== */
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.partner-logos {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin-top: 28px;
}
.partner-logos img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: .92;
}

/* ===== CARDS, TESTIMONIALS ===== */
.testimonials {
  background: #FCECD0;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 20px 20px 24px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 9px 0 rgba(33,43,72,.06);
  margin-bottom: 20px;
  max-width: 700px;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232A34;
  position: relative;
  transition: box-shadow 0.18s;
  border-left: 5px solid #709D64;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #232A34;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card span {
  font-size: .99rem;
  color: #608251;
  border-left: 2px solid #FCECD0;
  padding-left: 14px;
  font-style: normal;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 16px rgba(98,130,81,0.11);
  border-left-color: #608251;
}

/* ===== CTA BANNER (Bottom) ===== */
.cta {
  background: #212B48;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px rgba(33,43,72,0.05);
}
.cta h2, .cta p, .cta a {
  color: #fff;
}
.cta .cta-btn {
  background: #FCECD0;
  color: #212B48;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #FFF;
  color: #709D64;
  box-shadow: 0 5px 22px rgba(33,43,72,0.10);
}

/* ===== FOOTER ===== */
footer {
  background: #212B48;
  color: #fff;
  margin-top: 70px;
  padding: 34px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  transition: opacity 0.18s, color 0.12s;
  padding: 3px 0; 
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FCECD0;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #EFEDE8;
  margin-bottom: 14px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 4px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.footer-social img {
  height: 29px;
  width: auto;
  opacity: .92;
}

/* ===== FORM FIELDS (if any used in project extension) ===== */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 7px;
  border: 1px solid #E3E6EA;
  background: #F9F8F6;
  margin-bottom: 15px;
  width: 100%;
  transition: border 0.12s;
  color: #333;
}
input:focus, select:focus, textarea:focus {
  border: 1.7px solid #709D64;
  outline: none;
}

/* ===== CODE/UTILITY CLASSES ===== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.ml-20 { margin-left: 20px; }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  color: #212B48;
  z-index: 1400;
  box-shadow: 0 -2px 24px rgba(33,43,72,0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.27s cubic-bezier(.67,.01,.36,.95), opacity 0.18s;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-banner__text {
  flex: 1 1 260px;
  font-size: 1rem;
}
.cookie-banner__btn-group {
  display: flex;
  gap: 20px;
  align-items: center;
}
.cookie-btn {
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 10px 24px;
  margin: 0;
  background: #608251;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px 0 rgba(112, 157, 100, 0.08);
  transition: background 0.15s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #709D64;
  box-shadow: 0 6px 18px rgba(112, 157, 100, 0.13);
}
.cookie-btn.settings {
  background: #FCECD0;
  color: #608251;
  border: 1.2px solid #608251;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFF;
  color: #212B48;
  border-color: #212B48;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 42%;
  transform: translate(-50%, 65%);
  min-width: 360px;
  max-width: 94vw;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 48px rgba(33,43,72,0.17);
  padding: 34px 30px 18px 30px;
  z-index: 1420;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.28s cubic-bezier(.68,.01,.31,1);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: #212B48;
}
.cookie-modal__body {
  margin-bottom: 19px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  font-size: 1.07rem;
}
.cookie-modal-category input[type=checkbox][disabled] {
  accent-color: #709D64;
  outline: 1.5px solid #709D64;
}
.cookie-modal-category label {
  font-weight: 500;
  color: #212B48;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 17px;
  font-size: 1.85rem;
  color: #608251;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 7px;
  transition: background 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #FCECD0;
  color: #212B48;
}

/* ====== RESPONSIVE/ MOBILE ====== */
@media (max-width: 1200px) {
  .container,
  .content-wrapper {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
    font-size: 94%;
    padding: 12px 10px 12px 10px;
  }
  .main-nav img {
    height: 26px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .footer-nav,
  .footer-contact {
    font-size: 0.95rem;
    gap: 10px;
  }
}
@media (max-width: 820px) {
  .feature-grid > div {
    min-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    padding: 0 2px;
    gap: 18px;
  }
  .hero {
    padding: 40px 0 18px 0;
    min-height: 190px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    font-size: .99rem;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  .footer-contact {
    font-size: .93rem;
    padding-right: 0;
  }
  .footer-social {
    margin-top: 6px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 8px 16px 16px;
    max-width: 100%;
  }
  .partner-logos {
    gap: 10px;
    margin-top: 10px;
  }
  .partner-logos img {
    width: 40px;
    height: 40px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .cookie-modal {
    min-width: 220px;
    max-width: 97vw;
    padding: 19px 10px 10px 10px;
  }
}
@media (max-width: 580px) {
  .hero h1 { font-size: 1.36rem; }
  .hero p  { font-size: 0.98rem; }
  h1, .h1 { font-size: 1.38rem; }
  h2, .h2 { font-size: 1.11rem; }
  h3, .h3 { font-size: .99rem; }
  .cookie-banner {
    padding: 13px 4px;
    flex-direction: column;
    gap: 12px;
    font-size: .97rem;
  }
  .cookie-banner__btn-group {
    flex-direction: row;
    gap: 7px;
  }
  .partner-logos img {
    width: 28px;
    height: 28px;
  }
}
