/* ===================================================
   Globus Entdecker Nature-Organic Style CSS
   Brand: Erde, Natur, Organic, Vertrauenswürdig
   Fonts: Montserrat (display), Open Sans (body)
=================================================== */

/* ----------------------------------
   RESET & BASELINE NORMALIZATION
---------------------------------- */
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 {
  scroll-behavior: smooth;
  background: #f7faf8;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #264528;
  background: #F3F8F9;
  line-height: 1.65;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  color: #19407A;
  text-decoration: none;
  transition: color 0.24s;
}
a:hover, a:focus {
  color: #66A640;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ----------------------------------
   BRAND COLORS & FONTS (CSS VARS)
---------------------------------- */
:root {
  --primary: #19407A;
  --secondary: #66A640;
  --accent: #F3F8F9;
  --nature-dark: #264528;
  --nature-earth: #A57C55;
  --nature-light: #e2e6da;
  --nature-green: #66A640;
  --nature-leaf: #8DC265;
  --nature-shadow: rgba(30,55,35,0.07);
  --warn: #B87913;
  --danger: #C1420F;
  --radius-card: 18px;
  --radius-btn: 8px;
  --radius-section: 36px;
  --shadow:
    0 4px 16px 0 var(--nature-shadow),
    0 1.5px 4px 0 rgba(65, 135, 70, 0.05);
  --monospace: 'Menlo', 'Consolas', monospace;
}

/* ----------------------------------
   TYPOGRAPHY SCALE
---------------------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.75rem; /* 44px */
  margin-bottom: 28px;
  color: var(--primary);
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem; /* 32px */
  margin-bottom: 22px;
  color: var(--secondary);
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.38rem; /* 22px */
  margin-bottom: 14px;
  color: var(--nature-dark);
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  margin-bottom: 12px;
  color: var(--nature-earth);
}
p, ul, ol, li, address {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--nature-dark);
  margin-bottom: 1.25em;
  line-height: 1.7;
}
ul, ol {
  padding-left: 18px;
  margin-bottom: 1.5em;
}
ul li::marker {
  color: var(--nature-leaf);
}
strong, b {
  font-weight: 700;
}
cite {
  font-style: italic;
  color: #7d885d;
  font-size: 0.95em;
  margin-top: 4px;
  display: block;
}
small {
  font-size: 0.9em;
  color: #767676;
}

/* Lists inside text-section: better spacing */
.text-section ul, .text-section ol {
  margin-bottom: 16px;
  padding-left: 20px;
}
.text-section ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}
.text-section ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  background: var(--nature-leaf);
  position: absolute;
  left: 0;
  top: 8px;
}

/* ----------------------------------
   CONTAINER + SPACING PATTERNS
---------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-section);
  box-shadow: 0 6px 26px 0 var(--nature-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 270px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 14px var(--nature-shadow);
  position: relative;
  padding: 30px 24px;
  min-width: 240px;
  transition: box-shadow 0.25s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--nature-light);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(60,110,75,0.16);
  transform: translateY(-3px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

.content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 250px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px var(--nature-shadow);
  padding: 26px 18px 21px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  border: 1px solid var(--nature-light);
  position: relative;
  min-width: 210px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.feature-grid > div img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 24px 0 rgba(43, 107, 40, 0.13);
  transform: translateY(-4px) scale(1.025);
  border-color: var(--nature-green);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  min-width: 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F8F8F4;
  border-radius: var(--radius-card);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 rgba(41, 96, 33, 0.06);
  border-left: 4px solid var(--nature-leaf);
  max-width: 600px;
}
.testimonial-card p {
  color: #2B3324;
  font-size: 1.07rem;
}
.testimonial-card cite {
  color: #6C7C54;
  font-size: 1em;
  margin-left: 5px;
}

.school-partners {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  font-size: 1.07rem;
  color: var(--nature-leaf);
}
.school-partners img {
  width: 28px;
  height: 28px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  color: var(--nature-dark);
}

/* Steps & lists (e.g., ol) */
ol {
  padding-left: 22px;
  margin-bottom: 1.3em;
  counter-reset: custom;
}
ol li {
  margin-bottom: 11px;
  position: relative;
  padding-left: 8px;
}
ol li::marker {
  color: var(--nature-earth);
}

/* ----------------------------------
   NAVIGATION & HEADER
---------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(65, 120, 80, 0.07);
  position: relative;
  z-index: 30;
}
nav {
  display: flex;
  align-items: center;
  min-height: 70px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
nav > a img {
  height: 37px;
  width: auto;
  margin-right: 27px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  align-items: center;
  margin-left: 16px;
  margin-right: auto;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 14px;
  border-radius: var(--radius-btn);
  font-size: 1.05rem;
  color: var(--nature-dark);
  transition: background 0.23s, color 0.22s;
  font-weight: 500;
}
nav ul li a:hover,
nav ul li a:focus,
nav ul li a.active {
  background: var(--nature-light);
  color: var(--secondary);
}
.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: var(--radius-btn);
  padding: 12px 30px;
  margin-left: 20px;
  box-shadow: 0 2px 10px 0 rgba(85, 135, 45, 0.10);
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.23s, box-shadow 0.18s, transform 0.13s;
  letter-spacing: 0.05rem;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 14px 0 rgba(60,110,75,0.17);
}

/* ----------------------------------
      HERO SECTION
---------------------------------- */
.hero {
  padding: 60px 0 50px 0;
  background: linear-gradient(120deg, #F3F8F9 65%, #e4ecd8 100%);
  border-radius: 0 0 var(--radius-section) var(--radius-section);
  box-shadow: 0 7px 32px 0 rgba(44,67,44,0.09);
  position: relative;
  margin-bottom: 36px;
}
.hero .container {
  max-width: 890px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  line-height: 1.22;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.22rem;
  line-height: 1.5;
  color: #315531;
  margin-bottom: 26px;
}

/* ----------------------------------
   FOOTER
---------------------------------- */
footer {
  background: #f4f5ee;
  border-top: 1px solid #e2e6da;
  padding: 32px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  flex: 2 1 430px;
  margin-bottom: 23px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  padding: 0;
  max-width: 650px;
}
.footer-nav nav a {
  font-size: 1rem;
  color: #315531;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.19s, color 0.19s;
}
.footer-nav nav a:hover {
  background: var(--nature-leaf);
  color: #fff;
}
footer .text-section {
  flex: 1 1 270px;
  gap: 7px;
  align-items: flex-start;
  font-size: 1rem;
  color: #315531;
  margin-top: 0;
}
footer .text-section img {
  width: 38px;
  margin-bottom: 8px;
  filter: grayscale(33%) contrast(1.2);
}
footer address {
  font-style: normal;
  color: #535821;
  font-size: 1rem;
  margin-bottom: 2px;
}
footer a {
  color: var(--primary);
}
footer a:hover {
  text-decoration: underline;
}

/* ----------------------------------
   MOBILE MENU (burger navigation)
---------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 6px;
  padding: 7px 13px;
  cursor: pointer;
  margin-left: auto;
  z-index: 103;
  transition: background 0.22s, color 0.22s, transform 0.14s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(243, 248, 249, 0.97);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.32,1.34,.28,1); /* overshoot */
  z-index: 1200;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(41, 72, 21, 0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.7rem;
  background: none;
  color: var(--primary);
  border: none;
  margin: 17px 27px 5px 0;
  padding: 2px 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
  z-index: 1201;
}
.mobile-menu-close:hover {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 34px 0 0 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--nature-dark);
  padding: 11px 0 11px 5px;
  width: 100%;
  border-radius: 7px;
  font-weight: 500;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--nature-leaf);
  color: #fff;
}

/* Show/hide desktop/navbar elements on mobile */
@media (max-width: 980px) {
  nav ul,
  nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------------------------
   COOKIE CONSENT BANNER
---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f8fdf7;
  color: #2A403A;
  box-shadow: 0 -3px 14px 0 rgba(49,80,59,0.13);
  padding: 20px 28px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-radius: 27px 27px 0 0;
  border-top: 1.5px solid var(--nature-light);
  transition: transform 0.33s cubic-bezier(.45,1.15,.5,0.93);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  margin-bottom: 0.5em;
  color: #415e34;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 18px;
  font-size: 1.01rem;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.15s, color 0.16s, box-shadow 0.17s;
}
.cookie-btn.accept {
  background: var(--nature-green);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  border: 1.2px solid var(--nature-leaf);
  color: var(--nature-leaf);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e0e6cf;
  color: #294C29;
}
.cookie-btn.settings {
  background: #eeeedd;
  color: #7a9321;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #d8e5b3;
  color: #496c1c;
}

/* Cookie settings modal */
.cookie-modal-bg {
  position: fixed;
  left: 0; top: 0;
  width:100vw; height:100vh;
  background: rgba(24,33,11,0.28);
  z-index: 2010;
  display: none;
}
.cookie-modal-bg.open {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  min-width: 320px;
  max-width: 95vw;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 7px 32px 0 rgba(44,67,44,0.22);
  z-index: 2011;
  padding: 36px 25px 28px 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transition: opacity 0.23s, transform 0.28s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-40%) scale(0.95);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1.05rem;
}
.cookie-modal input[type='checkbox'], .cookie-modal input[type='radio'] {
  accent-color: var(--nature-green);
  width: 21px;
  height: 21px;
  border-radius: 4px;
}
.cookie-category-label {
  font-weight: 600;
  margin-right: 9px;
}
.cookie-modal .cookie-actions {
  margin-top: 15px;
  gap: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 18px;
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2rem;
  padding: 2px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal-close:hover {
  background: #ecf4d6;
  color: var(--primary);
}

/* ----------------------------------
   FORMS
---------------------------------- */
input,
select,
textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  border: 1.2px solid var(--nature-light);
  border-radius: 7px;
  padding: 11px 14px;
  margin-bottom: 17px;
  width: 100%;
  color: #293e2d;
  transition: border 0.18s, box-shadow 0.18s;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--nature-green);
  box-shadow: 0 0 0 1.5px var(--nature-green);
}
button, input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ----------------------------------
   RESPONSIVE ADJUSTMENTS
---------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 99vw;
    padding: 0 8vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 27px 6px;
  }
  .feature-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .footer-nav nav {
    gap: 13px 10px;
    max-width: 100vw;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.42rem; }
  .hero {
    padding: 38px 0 20px 0;
    border-radius: 0 0 26px 26px;
    margin-bottom: 23px;
  }
  .section {
    margin-bottom: 35px;
    padding: 17px 2px;
    border-radius: 21px;
  }
  .content-wrapper {
    max-width: 98vw;
    gap: 14px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    margin-bottom: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  footer .container {
    flex-direction: column;
    gap: 23px;
    align-items: stretch;
  }
  .footer-nav nav {
    flex-wrap: wrap;
    gap: 10px 6px;
  }
}
@media (max-width: 650px) {
  h1, .h1 { font-size: 1.3rem; }
  h2, .h2 { font-size: 1.09rem; }
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .cta-btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
  .card, .feature-grid > div {
    padding: 16px 10px 13px 10px;
  }
  .cookie-modal {
    padding: 17px 7px 16px 7px;
    min-width: 0;
  }
  .cookie-banner {
    padding: 13px 6px;
  }
}

/* ----------------------------------
   ORGANIC/NATURE VISUAL EFFECTS
---------------------------------- */
.card, .feature-grid > div, .testimonial-card {
  border-radius: 25px 13px 33px 17px / 18px 27px 13px 25px; /* organic blob */
  box-shadow: 0 3px 13px 0 rgba(60,100,70,0.09);
}
.section {
  border-radius: 46px 16px 34px 36px / 34px 36px 46px 16px;
}
.cookie-banner {
  border-radius: 32px 0 0 0;
}

/* Decorative leaves, optional (for future) */
/* .decorative-leaf {
    position: absolute;
    width: 110px;
    height: auto;
    z-index: 2;
    opacity: 0.25;
    pointer-events: none;
} */

/* ----------------------------------
   MICRO-INTERACTIONS
---------------------------------- */
button, .cta-btn, .cookie-btn {
    transition: background 0.20s, color 0.16s, box-shadow 0.17s, transform 0.15s;
}

button:active, .cta-btn:active, .cookie-btn:active {
    transform: scale(0.98);
    box-shadow: 0 1.5px 6px 0 rgba(88, 135, 40, 0.08);
}

/* --------------------------
   ACCESSIBILITY & CONTRAST
-------------------------- */
.testimonial-card {
  background: #FAFAF6;
  color: #233022;
}
.testimonial-card p,
.testimonial-card cite {
  color: #233022;
}

.cookie-banner, .cookie-modal {
  color: #23413E;
}

/* Ensures high contrast for footer & buttons */
footer, footer a { color: #2C402C; }
.cookie-btn.accept, .cta-btn { color: #fff !important; }

/* Remove webkit autofill yellow */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  box-shadow: 0 0 0 30px #fff inset !important;
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  -webkit-text-fill-color: #203621 !important;
}

/* --------------------------
   PRINT FRIENDLY
-------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-bg { display: none !important; }
  body { background: #fff !important; }
  .section, .card, .feature-grid > div { box-shadow: none !important; background: #fff !important; }
}
