/* RESET & NORMALIZE */
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;
}

html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background: #F4F7F6;
  color: #263238;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #263238;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dotted #8AA29E;
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #263238;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #8AA29E;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
strong {
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F4F7F6;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.05);
}
/* utility spacing */
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* MAIN NAVIGATION */
header {
  background: #fff;
  border-bottom: 3px solid #8AA29E;
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #263238;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: #8AA29E;
  color: #fff;
}
/* Primary Button in Nav */
.main-nav .btn-primary {
  background: #263238;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  padding: 8px 20px;
  letter-spacing: 0.04em;
  border: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.17s;
  box-shadow: 0 2px 8px 0 rgba(38,50,56,0.08);
  margin-left: 16px;
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary:focus {
  background: #8AA29E;
  color: #263238;
}

/*-------- MOBILE NAVIGATION --------*/
.mobile-menu-toggle {
  display: none;
  background: #8AA29E;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 40;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #263238;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 340px;
  height: 100vh;
  background: #263238;
  color: #fff;
  box-shadow: -2px 0 24px rgba(38, 50, 56, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.61,-0.01,.6,1.15);
  display: flex;
  flex-direction: column;
  padding: 36px 24px 24px 32px;
  z-index: 99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  padding: 12px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #8AA29E;
  color: #fff;
}

@media (max-width: 1079px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 4px;
    font-size: 0.94rem;
  }
}
@media (max-width: 720px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO CTA BUTTONS */
.btn-primary {
  display: inline-block;
  background: #263238;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 12px;
  padding: 13px 36px;
  margin-top: 8px;
  box-shadow: 0 2px 8px 0 rgba(38,50,56,0.10);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.14s, color 0.13s;
  text-transform: uppercase;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #8AA29E;
  color: #263238;
}
.btn-link {
  display: inline-block;
  color: #8AA29E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 0 4px;
  margin-top: 5px;
  border-radius: 8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}
.btn-link:hover,
.btn-link:focus {
  color: #263238;
  background: #EFF1F0;
}

/* STRUCTURED, GEOMETRIC SPACING & CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.05);
  padding: 28px 24px;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(38,50,56,0.12);
  transform: translateY(-2px) scale(1.02);
}

/* GRID FOR FEATURES, TEAM, ETC. */
.feature-grid, .team-grid, .service-list, .resource-list, .event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  align-items: stretch;
  margin-top: 12px;
}
.feature-grid li, .service-list li, .resource-list li {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.04);
  border-radius: 16px;
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.18s, border-color 0.17s;
  border: 2.5px solid #F4F7F6;
}
.feature-grid li:hover, .service-list li:hover {
  border: 2.5px solid #8AA29E;
  box-shadow: 0 6px 32px rgba(38,50,56,0.12);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 3px;
}
.event-list li {
  font-size: 1.1rem;
  color: #263238;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.event-list li strong {
  color: #8AA29E;
  font-weight: bold;
  margin-right: 7px;
}
.team-grid {
  gap: 20px 24px;
  padding-top: 10px;
}
.team-member {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.04);
  padding: 19px 18px;
  min-width: 220px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.16s;
}
.team-member:hover {
  box-shadow: 0 6px 36px rgba(38,50,56,0.10);
}
.resource-list li {
  font-size: 1rem;
  color: #263238;
  margin-bottom: 14px;
  background: #EFF1F0;
  border-radius: 9px;
  padding: 11px 17px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  display: flex;
}
.resource-list li a {
  color: #8AA29E;
  font-weight: 600;
  margin-left: 5px;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
}
.resource-list li a:hover {
  color: #263238;
}

/* TEXT BLOCKS, TEXT-IMAGE, CONTENT GRID */
.text-section {
  margin-top: 15px;
  margin-bottom: 12px;
  background: #F4F7F6;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #263238;
  font-size: 1.08rem;
}
.text-section p {
  margin-bottom: 8px;
}
.text-section strong {
  color: #263238;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(38,50,56,0.10);
  margin-bottom: 20px;
  border-left: 7px solid #8AA29E;
  min-width: 220px;
  max-width: 610px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: #263238;
  background: transparent;
  quotes: "“" "”" "‘" "’";
  margin-right: 10px;
  border-left: 3px solid #8AA29E;
  padding-left: 12px;
}
.testimonial-card span {
  color: #8AA29E;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(38,50,56,0.13);
  transform: translateY(-2px) scale(1.012);
}

/* IMPACT NUMBERS (Nachhaltigkeit) */
.impact-numbers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-top: 14px;
  padding-left: 0;
}
.impact-numbers li {
  background: #8AA29E;
  color: #fff;
  border-radius: 14px;
  padding: 16px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.09);
  margin-bottom: 0;
  min-width: 220px;
}
.impact-numbers strong {
  color: #F4F7F6;
}

/* FOOTER */
footer {
  background: #263238;
  color: #fff;
  padding: 38px 0 18px 0;
  margin-top: 40px;
}
.footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-content > * {
  flex: 1 1 190px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #8AA29E;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover { color: #fff; }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #EFF1F0;
  font-size: 0.98rem;
  margin-bottom: 5px;
}
footer img {
  width: 90px;
  margin-bottom: 17px;
}

@media (max-width: 980px) {
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer img { margin-bottom: 4px;}
}
@media (max-width: 650px) {
  footer { padding: 25px 0 14px 0; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  h1 { font-size: 2.0rem;}
  h2 { font-size: 1.6rem;}
  h3 { font-size: 1.12rem;}
  .section { padding: 25px 7px; }
}
@media (max-width: 768px) {
  .feature-grid, .team-grid, .service-list, .resource-list {
    gap: 16px;
  }
  .feature-grid li, .service-list li, .team-member {
    min-width: 160px;
    padding: 13px 9px;
  }

  .event-list, .resource-list {
    flex-direction: column;
    gap: 8px;
  }
  .impact-numbers ul {
    flex-direction: column;
    gap: 8px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    min-width: unset;
    max-width: 100%;
    padding: 14px;
  }
  .container {
    padding: 0 3vw;
  }
}
@media (max-width: 460px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.08rem; }
  .btn-primary { font-size: 0.97rem; padding: 10px 12px; }
  .feature-grid li, .service-list li, .team-member { padding: 9px 4px; }
  .section { padding: 13px 0; }
}

/* GEOMETRIC ELEMENTS EXTRAS */
.section, .card, .testimonial-card, .team-member, .feature-grid li {
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.03);
}

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

/* --------- COOKIE BANNER --------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 180;
  background: #263238;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  padding: 24px 18px 20px 18px;
  font-size: 1rem;
  box-shadow: 0 -2px 20px rgba(38,50,56,0.14);
  animation: cookiebanner-in 0.5s cubic-bezier(.45,.07,.06,1.09);
}
@keyframes cookiebanner-in {
  0% { transform: translateY(100%);}
  100% { transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 0;
  max-width: 400px;
  line-height: 1.55;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .btn-cookie {
  background: #8AA29E;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 22px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus {
  background: #F4F7F6;
  color: #263238;
}
.cookie-banner .btn-secondary {
  background: #263238;
  color: #fff;
  border: 2px solid #8AA29E;
}
.cookie-banner .btn-secondary:hover,
.cookie-banner .btn-secondary:focus {
  background: #8AA29E;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(38,50,56,0.55);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeinModal 0.4s cubic-bezier(.45,.07,.06,1.09);
}
.cookie-modal-bg.open { display: flex;}
@keyframes fadeinModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #263238;
  border-radius: 18px;
  max-width: 400px;
  min-width: 250px;
  box-shadow: 0 2px 36px 0 rgba(38,50,56,0.20);
  padding: 24px 28px;
  animation: modalIn 0.32s cubic-bezier(.65,.01,.31,1.23);
}
@keyframes modalIn {
  0% { transform: scale(0.72) translateY(100px); opacity: 0.3;}
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 15px;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 19px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  justify-content: space-between;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #EFF1F0;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.23s;
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked {
  background: #8AA29E;
}
.cookie-modal .cookie-switch input[type="checkbox"]:disabled {
  background: #B3BFC5;
  cursor: not-allowed;
}
.cookie-modal .cookie-switch input[type="checkbox"]:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 100%;
  transition: transform 0.2s;
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked:before {
  transform: translateX(18px);
}
.cookie-modal .btn-cookie {
  margin-top: 12px;
  width: 100%;
  background: #263238;
}
.cookie-modal .btn-cookie:hover { background: #8AA29E; color:#263238;}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 8px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #8AA29E;
  cursor: pointer;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 0.99rem;
    padding: 14px 4px 12px 4px;
  }
  .cookie-modal {
    max-width: 96vw;
    padding: 13px 7px;
  }
}

/* --------- UTILITIES --------- */
.hide { display: none !important; }

::-webkit-input-placeholder { color: #A7B6AE; }
::-moz-placeholder { color: #A7B6AE; }
:-ms-input-placeholder { color: #A7B6AE; }
::placeholder { color: #A7B6AE; }

/* --------- SCROLLBAR --------- */
body::-webkit-scrollbar {
  width: 11px;
  background: #F4F7F6;
}
body::-webkit-scrollbar-thumb {
  background: #8AA29E;
  border-radius: 8px;
}

/* --------- FOCUS STATES --------- */
a:focus, button:focus {
  outline: 2px solid #8AA29E;
  outline-offset: 2px;
}

/* ========== END OF STYLES ========== */