/* 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #263238;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #43A047;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #263238;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #263238;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-rendering: geometricPrecision;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 4px solid #43A047;
  display: inline-block;
  padding-bottom: 4px;
  letter-spacing: 0.04em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li {
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.subtitle {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #4B636E;
  margin-bottom: 20px;
  margin-top: -12px;
}
strong {
  font-weight: 700;
}

/* CONTAINER & LAYOUT HELPERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(61,87,102,0.04);
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1);
}
.section:hover {
  box-shadow: 0 6px 32px 2px rgba(61,87,102,0.10);
}

/* FLEXBOX LAYOUTS - MANDATORY PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(61,87,102,0.06);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 24px 5px rgba(67,160,71,0.14);
  transform: translateY(-4px) scale(1.018);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F5F5;
  border-left: 6px solid #43A047;
  border-radius: 12px;
  margin-bottom: 20px;
  max-width: 460px;
  box-shadow: 0 1px 8px 0 rgba(61,87,102,0.06);
  flex: 1 1 280px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER / NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px -6px rgba(38,50,56,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 14px 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-right: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #263238;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 3px solid #43A047;
  color: #43A047;
}
.cta-btn {
  background: #43A047;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border-radius: 24px 4px 24px 4px;
  border: none;
  box-shadow: 0 2px 12px rgba(67,160,71,0.14);
  margin-left: 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.14s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #263238;
  color: #fff;
  box-shadow: 0 6px 24px 5px rgba(38,50,56,0.09);
  transform: translateY(-2px) scale(1.045);
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #43A047;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.17s, color 0.17s;
  z-index: 202;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #263238;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #263238;
  color: #fff;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.8,0,.26,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px 32px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 34px 0 12px 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #43A047;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #43A047;
  border-bottom: 2px solid #43A047;
}

/* HERO & SECTION STYLES */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.feature-grid > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 20px 2px rgba(67,160,71,0.06);
  flex: 1 1 240px;
  min-width: 230px;
  padding: 28px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.19s cubic-bezier(.4,0,.2,1), transform 0.13s;
  border-left: 6px solid #43A047;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px 2px rgba(38,50,56,0.12);
  transform: translateY(-3px) scale(1.022);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
  background: #F5F5F5;
  border-radius: 10px;
}

/* CALENDAR-OVERVIEW (Veranstaltungen) */
.calendar-overview {
  margin-top: 34px;
  background: #E8F5E9;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 6px 0 rgba(67,160,71,0.08);
}
.calendar-overview h3 {
  color: #263238;
  margin-bottom: 8px;
}
.calendar-overview ul li {
  color: #263238;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* TEXT-SECTION & LISTS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 8px;
}
.text-section li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}
.text-section li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: #43A047;
  border-radius: 2px;
  transform: rotate(45deg);
}

/* PUBLICATION LIST */
.publication-list {
  margin-bottom: 22px;
}
.publication-list li {
  padding: 18px 0 18px 14px;
  border-bottom: 1px solid #ECEFF1;
  margin-bottom: 7px;
}
.publication-list h3 {
  font-size: 1.07rem;
  color: #263238;
  margin-bottom: 3px;
}
.pub-date {
  font-size: 0.97rem;
  color: #43A047;
}
.highlighted-articles {
  background: #F5F5F5;
  border-radius: 10px;
  padding: 14px 14px 10px 14px;
  margin-bottom: 16px;
}
.highlighted-articles h3 {
  color: #43A047;
  margin-bottom: 7px;
}
.highlighted-articles ul li {
  margin-bottom: 4px;
}
.download-options {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

/* TESTIMONIALS */
.testimonial-slider, .content-wrapper > .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-style: italic;
  color: #263238;
  margin-bottom: 8px;
  line-height: 1.2;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card p {
  color: #263238;
  font-size: 1rem;
}

/* CONTACT SECTION */
.contact-section, .contact-snippet {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  margin-bottom: 16px;
}
.contact-section ul, .contact-snippet ul {
  flex: 1 1 320px;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-section li, .contact-snippet li {
  display: flex;
  align-items: center;
  font-size: 1.03rem;
  color: #263238;
  gap: 12px;
}
.contact-section img, .contact-snippet img {
  width: 28px;
  height: 28px;
  background: #E8F5E9;
  border-radius: 5px;
  padding: 5px;
}
.contact-section a, .contact-snippet a {
  color: #43A047;
  text-underline-offset: 2px;
  word-break: break-all;
}

/* FOOTER */
footer {
  width: 100%;
  background: #263238;
  padding: 34px 0 18px 0;
  color: #fff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #43A047;
  opacity: 1;
}
footer p {
  font-size: 0.92rem;
  color: #B0BEC5;
  letter-spacing: 0.01em;
}

/* BUTTONS */
button, input[type=button], input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #43A047;
  color: #fff;
  cursor: pointer;
  transition: background 0.16s;
  font-size: 1rem;
  padding: 11px 23px;
  margin: 0 6px 0 0;
}
button:hover, button:focus, input[type=button]:hover, input[type=submit]:hover {
  background: #263238;
  color: #fff;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #263238;
  color: #fff;
  box-shadow: 0 -3px 18px 0 rgba(38,50,56,0.17);
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 22px 30px 22px 24px;
  gap: 30px;
  font-size: 1rem;
  transition: transform 0.43s cubic-bezier(.8,0,.26,1), opacity 0.17s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: auto;
}
.cookie-banner .cookie-btns button {
  background: #43A047;
  color: #fff;
  border: none;
  border-radius: 7px 2px 7px 2px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 19px;
  margin: 0 0 0 5px;
  box-shadow: 0 1px 7px 0 rgba(67,160,71,0.08);
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .cookie-btns button.reject {
  background: #F5F5F5;
  color: #263238;
}
.cookie-banner .cookie-btns button:focus {
  outline: 2px solid #43A047;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 4100;
  background: rgba(38,50,56,0.67);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.7,0,.35,1);
}
.cookie-modal.show {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #263238;
  border-radius: 18px;
  max-width: 95vw;
  width: 440px;
  padding: 34px 28px 22px 28px;
  box-shadow: 0 7px 52px 0 rgba(67,160,71,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal-content h2 {
  color: #263238;
  font-size: 1.45rem;
  border-bottom: 3px solid #43A047;
  padding-bottom: 3px;
}
.cookie-modal-content label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #263238;
  font-weight: 500;
  margin: 7px 0 7px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-content .cookie-category-desc {
  margin-left: 2px;
  margin-bottom: 9px;
  font-size: 0.98rem;
  color: #556;
}
.cookie-modal-content .close-cookie-modal {
  position: absolute;
  right: 20px;
  top: 14px;
  background: none;
  color: #263238;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  opacity: 0.56;
  transition: opacity 0.14s;
}
.cookie-modal-content .close-cookie-modal:hover,
.cookie-modal-content .close-cookie-modal:focus {
  opacity: 1;
}
.cookie-modal-content .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal-content .cookie-btns button {
  padding: 8px 17px;
  border-radius: 7px 2px 7px 2px;
}
.cookie-modal-content .cookie-category-toggle {
  accent-color: #43A047;
  width: 19px; height: 19px;
}

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

/* MICRO-ANIMATIONS */
.card, .feature-grid > div, .cta-btn, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s, background 0.19s, border-color 0.17s;
}

/* GEOMETRIC SHAPES – DECORATIVE (for later usage) */
.geometric-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding: 0 10px;
  }
  .footer-nav {
    gap: 21px;
    flex-wrap: wrap;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
    border-bottom-width: 3px;
    padding-bottom: 2px;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
  }
  section {
    padding: 22px 0;
    margin-bottom: 42px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  .testimonial-slider, .testimonial-card {
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
    align-items: flex-start;
    font-size: 0.99rem;
    padding: 16px 10px;
  }
  .section {
    padding: 16px 4px;
    margin-bottom: 36px;
  }
  .contact-section, .contact-snippet {
    flex-direction: column;
    gap: 16px;
  }
  .calendar-overview {
    padding: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7vw 18px 5vw;
    gap: 17px;
    font-size: 0.97rem;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 3vw;
    max-width: 100vw;
  }
  h1 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  h2 { font-size: 1rem; }
  .card, .feature-grid > div {
    padding: 16px 10px;
  }
}
