/* WaldWissen Frankfurt – style.css – Soft Pastel Flexbox Theme */
/* =========================================================
   1. CSS 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, main, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FBFA;
  color: #1B4423;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  background: none;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
}

/* =========================================================
   2. CSS VARIABLES – Pastel Soft Aesthetic
========================================================= */
:root {
  --primary: #1B4423;
  --secondary: #6C9772;
  --accent: #F3F8EB;
  --text-main: #283A30;
  --text-light: #6d8570;
  --bg-main: #F7FBFA;
  --bg-hero: #E9F5EC;
  --bg-card: #FAF9FB;
  --bg-footer: #E8EFF0;
  --pastel-green: #E5F9E1;
  --pastel-blue: #EAF2FB;
  --pastel-lilac: #F6F3FA;
  --pastel-yellow: #FCFCE3;
  --pastel-pink: #FBE9EC;
  --focus: #b2daca;
  --white: #fff;
  --shadow-soft: 0 4px 18px rgba(136, 182, 158, 0.09);
  --shadow-pastel: 0 2px 8px rgba(180, 216, 180, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --transition: 0.25s cubic-bezier(0.55, 0.18, 0.18, 1);
}

/* =========================================================
   3. TYPOGRAPHY
========================================================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--bg-main);
  color: var(--text-main);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin-bottom: 0.55em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.375rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul li, ol li, span, a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  font-weight: 400;
}
.subheadline, .hero .subheadline {
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 1.2em;
}
strong {
  font-weight: 600;
}
.quick-facts, .impact-stats, .resource-links, .feature-list, .experience-list, .city-nature-initiatives, .protected-area-list {
  padding-left: 18px;
}
.quick-facts li, .impact-stats li, .resource-links li, .feature-list li, .experience-list li, .city-nature-initiatives li, .protected-area-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 24px;
}
.quick-facts li::before,
.impact-stats li::before,
.resource-links li::before,
.feature-list li::before,
.experience-list li::before,
.city-nature-initiatives li::before,
.protected-area-list li::before {
  content: '•';
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0;
}
a:hover, a:focus {
  color: var(--secondary);
}

/* =========================================================
   4. LAYOUT & FLEXBOX CONTAINERS
========================================================= */
.container {
  max-width: 1160px;
  width: 95%;
  margin: 0 auto;
  padding: 0 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 220px;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px rgba(127,159,127,0.17);
  transform: translateY(-2px) scale(1.02);
}
.features, .features-knowledge, .features-values, .features-animal, .green-tips {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid li {
  flex: 1 1 190px;
  min-width: 210px;
  background: var(--pastel-green);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  box-shadow: var(--shadow-pastel);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: background var(--transition);
}
.feature-grid li:hover {
  background: var(--pastel-blue);
}
.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 {
  background: var(--pastel-yellow);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-pastel);
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(236,220,137,0.13);
  transform: translateY(-1px) scale(1.01);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: var(--secondary);
  margin-top: 2px;
  font-weight: 500;
}
/* List-like features */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* About team, values, bios */
.team-bios, .core-values, .value-statements, .impact-stats, .service-list, .tip-list, .policy-details, .cookie-list, .data-protection-rights, .terms-details {
  margin-bottom: 18px;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/**** Cards and highlights ****/
.species-highlights, .howto-guides, .conservation-success-stories, .visitor-tips, .event-calendar, .hidden-gems, .story-highlights, .personal-tips {
  background: var(--pastel-lilac);
  border-radius: var(--radius-sm);
  padding: 18px 19px;
  box-shadow: var(--shadow-pastel);
  margin-bottom: 14px;
}
.did-you-know {
  background: var(--pastel-pink);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  box-shadow: var(--shadow-pastel);
}

/* Extra Spacing for major sections */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  padding: 0;
  background: var(--bg-hero);
  min-height: 240px;
  display: flex;
  align-items: center;
}
.hero .container {
  height: 100%;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 0 28px 0;
  align-items: flex-start;
}

/* =========================================================
   5. HEADER & NAVIGATION
========================================================= */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(138,174,148,0.03);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 22px;
  padding: 6px 12px;
}
.logo-link img {
  height: 48px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  transition: background var(--transition), color var(--transition);
  background: transparent;
}
.main-nav a:hover {
  color: var(--white);
  background: var(--secondary);
  text-decoration: none;
}
.main-nav a.cta, .main-nav a.primary {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.012em;
  border-radius: var(--radius-md);
  padding: 8px 20px;
  margin-left: 12px;
  box-shadow: var(--shadow-pastel);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.main-nav a.cta:hover,
.main-nav a.primary:hover {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(31,98,49,0.16);
}

/**** Mobile burger button ****/
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  font-size: 2rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 5px 13px 7px 13px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 140;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--focus);
}

/* MOBILE MENU (overlay) */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(235, 251, 242, 0.99);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(0.6,0.15,0.3,1);
  box-shadow: 0 4px 22px rgba(36, 80, 64, 0.07);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.32s cubic-bezier(0.8,0.15,0.3,1), opacity 0.1s;
}
.mobile-menu-close {
  background: transparent;
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 17px 21px 4px 0;
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover {
  color: var(--secondary);
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 34px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--primary);
  padding: 12px 2px 10px 6px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--white);
}

/* Hide main-nav & show burger on mobile */
@media (max-width: 900px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 7px;
  }
}

/* =========================================================
   6. BUTTONS & CTA
========================================================= */
.cta, .cta.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-pastel);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.cta.primary {
  background: var(--primary);
  color: var(--white);
  letter-spacing: 0.019em;
}
.cta:hover, .cta.primary:hover, .cta:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(90, 116, 84, 0.13);
  transform: scale(1.03);
}

/* =========================================================
   7. FOOTER
========================================================= */
footer {
  background: var(--bg-footer);
  color: var(--primary);
  padding: 38px 0 18px 0;
  font-size: 1rem;
  border-top: 1.5px solid #e1efe9;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-menu a {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  padding: 3px 0;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.footer-menu a:hover {
  color: var(--secondary);
  background: var(--accent);
}
.brand-attribution {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.brand-attribution img {
  height: 42px;
}
.contact-info {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info img {
  height: 18px;
  margin-bottom: -4px;
  margin-right: 4px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 13px;
}
.social-links img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(68, 147, 97, 0.09);
  background: var(--pastel-green);
  transition: box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.social-links img:hover {
  background: var(--pastel-blue);
  box-shadow: 0 5px 18px rgba(130,170,200,0.14);
}

/* =========================================================
   8. COOKIE CONSENT BANNER & MODAL
========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -3px 24px rgba(77,153,80,0.08);
  padding: 28px 20px 18px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  z-index: 3000;
  transition: transform 0.32s var(--transition), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 440px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 4px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.settings {
  background: var(--secondary);
}
.cookie-btn.reject {
  background: #E8847C;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: var(--primary);
}
.cookie-btn.reject:focus, .cookie-btn.reject:hover {
  background: #c33c2f;
}

/* Cookie-Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3100;
  background: rgba(245, 255, 244, 0.94);
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.35s;
}
.cookie-modal.show {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal .modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  min-width: 320px;
  max-width: 98vw;
  padding: 32px 24px;
  box-shadow: 0 8px 40px rgba(31,98,49,0.13);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px; top: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--secondary);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category .toggle {
  width: 44px;
  height: 22px;
  background: var(--pastel-green);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.cookie-category .toggle input[type="checkbox"] {
  display: none;
}
.cookie-category .toggle-label {
  font-weight: 500;
}
.cookie-category .toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  height: 18px; width: 18px;
  border-radius: 50%;
  background: var(--secondary);
  transition: left 0.22s, background 0.22s;
}
.cookie-category .toggle input:checked + .slider {
  background: var(--primary);
  left: 24px;
}
.cookie-category .toggle[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 15px;
}

/* =========================================================
   9. RESPONSIVE LAYOUTS
========================================================= */
@media (max-width: 1120px) {
  .feature-grid, .footer .container {
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature-grid li {
    min-width: 168px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .feature-grid {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }

  .hero .container {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .hero .content-wrapper {
    padding: 28px 0;
  }
  .features, .features-knowledge, .features-animal, .about-team, .section, section {
    padding: 28px 7px;
    margin-bottom: 46px;
  }
  .card-container, .content-grid, .feature-grid, .footer .container {
    flex-direction: column;
    gap: 18px !important;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card, .card {
    min-width: 100%;
    max-width: 100%;
  }
  .mobile-menu {
    width: 100vw;
    min-width: 0;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  .container {
    padding: 0 2vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 5vw 13px 5vw;
  }
  .footer .container {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   10. IF: Special Section Styling & Misc
========================================================= */
.value-statements, .impact-stats, .service-list, .tip-list,
.policy-details, .cookie-list, .data-protection-rights, .terms-details {
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 13px 17px;
}

.event-calendar ul, .hidden-gems ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

hr {
  border: 0;
  height: 1px;
  background: #e8e2e5;
  margin: 14px 0;
}

/***** Accessibility highlight focus *****/
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* =========================================================
   11. MICRO-INTERACTIONS (Transitions)
========================================================= */
.card, .testimonial-card, .cta, .cta.primary, .mobile-menu, .feature-grid li, .main-nav a, .mobile-nav a, .social-links img, .cookie-btn {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

/* =========================================================
   12. PRINT (Optional)
========================================================= */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important;}
  body { color: #222; background: #fff; }
}

/* -------------- END style.css -------------- */
