/* ===================
   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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F7E9D3;
  color: #22374A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #59A37F;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #22374A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ===================
   VARIABLES (w/fallbacks)
==================== */
:root {
  --nl-primary: #22374A;
  --nl-secondary: #59A37F;
  --nl-accent: #F7E9D3;
  --nl-bg: #F7E9D3;
  --nl-card: #fff;
  --nl-border: #dbdbcf;
  --nl-success: #5CBF63;
  --nl-error: #CB4D3B;
  --nl-btn-hover: #42745B;
  --nl-gray: #7C867C;
}

/* ===================
   TYPOGRAPHY
==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22374A;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
}
p, .subheadline, .danke-message {
  font-size: 1rem;
  color: #22374A;
}
.subheadline {
  color: #59A37F;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.07rem;
  font-style: italic;
  color: #264535;
  background-color: #E1EAD8;
  padding: 18px 22px;
  border-radius: 20px 32px 18px 30px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(34,55,74,0.07);
}
blockquote footer {
  display: block;
  font-size: .97rem;
  margin-top: 8px;
  color: #446e45;
  font-style: normal;
  letter-spacing: 0.01em;
}
strong, b {
  font-weight: 700;
}

/* ===================
   LAYOUT CONTAINERS
==================== */
.container {
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 32px;/* organic roundness */
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 42px;
    padding: 28px 10px;
  }
}

.content-wrapper {
  background: var(--nl-card,#fff);
  border-radius: 28px 36px 28px 36px;
  box-shadow: 0 4px 16px rgba(89,163,127,0.06), 0 1.5px 6px rgba(34,55,74,0.08);
  padding: 32px 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.25s;
}
.cta-banner {
  background: var(--nl-secondary, #59A37F);
  color: #fff;
  text-align: center;
  border-radius: 36px 28px 36px 28px;
  box-shadow: 0 4px 20px rgba(34,55,74,0.09);
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner .btn-primary {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 20px 6px;
  }
  .cta-banner {
    padding: 26px 8px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 260px;
  background: var(--nl-card, #fff);
  border-radius: 30px 12px 28px 30px;
  box-shadow: 0 2px 10px rgba(34,55,74,0.06);
  padding: 24px 20px 20px 20px;
  transition: box-shadow 0.24s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(89,163,127,0.14);
  transform: translateY(-2px) scale(1.025);
}

/* Feature grid (organic style) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 22px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px 7px;
    justify-content: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px 16px 18px;
  background: #F2F5F0;
  border-radius: 34px 16px 34px 22px;
  min-width: 180px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .22s, background .23s;
  box-shadow: 0 2px 6px rgba(34,55,74,0.04);
  border: 1.5px solid #e1ead8;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature-item h3 {
  color: #59A37F;
  font-size: 1.17rem;
  font-weight: 700;
}
.feature-item:hover {
  background: #e1ead8;
  box-shadow: 0 4px 20px rgba(89,163,127,0.08);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #f7fff3;
  border-radius: 32px 28px 12px 28px;
  padding: 22px 16px 16px 16px;
  box-shadow: 0 1.5px 10px rgba(110,166,98,0.06);
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 210px;
  border: 1.5px solid #e1ead8;
  transition: box-shadow 0.16s;
}
.team-member img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
.team-member h3 {
  color: #22374A;
  font-size: 1.11rem;
}
.team-member p {
  color: #446e45;
  margin-bottom: 0;
}
.team-member:hover {
  box-shadow: 0 6px 24px rgba(89,163,127,0.09);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #446e45;
  margin: 0 0 10px 0;
}
.contact-info img {
  width: 26px;
  height: 26px;
}

.danke-message {
  font-size: 1.07rem;
  color: #446e45;
  margin-bottom: 18px;
}

/* ===================
   HEADER & NAVIGATION
==================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(34,55,74,0.07);
  border-radius: 0 0 36px 36px;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  width: 172px;
  height: auto;
  display: block;
  border-radius: 22px 18px 12px 24px;
  box-shadow: 0 1px 7px rgba(89,163,127,0.03);
  background: #E1EAD8;
  padding: 4px 7px 3px 9px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--nl-primary);
  padding: 7px 9px;
  border-radius: 16px 12px 18px 10px;
  transition: background .16s, color .2s, box-shadow .17s;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E1EAD8;
  color: var(--nl-secondary);
  text-decoration: none;
}
.btn-primary {
  background: var(--nl-secondary,#59A37F);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 20px 18px 20px 18px;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(89,163,127,0.13), 0 0.5px 2px rgba(34,55,74,0.05);
  cursor: pointer;
  transition: background .21s, transform .12s, box-shadow .18s;
  outline: none;
  white-space: nowrap;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--nl-btn-hover, #42745B);
  transform: translateY(-1.5px) scale(1.04);
  box-shadow: 0 5px 20px rgba(89,163,127,0.18);
  color: #fff !important;
}

/*.main-nav .btn-primary {
  margin-left: 15px;
}*/

/* ===================
   MOBILE MENU
==================== */
.mobile-menu-toggle {
  background: #E1EAD8;
  border: none;
  border-radius: 16px 20px 18px 10px;
  font-size: 1.9rem;
  color: var(--nl-secondary);
  padding: 6px 14px;
  margin-left: 14px;
  cursor: pointer;
  display: none;
  z-index: 2100;
  box-shadow: 0 1.5px 10px rgba(34,55,74,0.08);
  transition: background 0.16s, color 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #cfe2bd;
  color: #22374A;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,55,74,0.92);
  z-index: 2150;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.8,0.1,0.28,1.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 0 3px 40px rgba(34,55,74,0.19);
  padding-top: 0px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 8px 0px;
  background: #E1EAD8;
  border: none;
  color: var(--nl-secondary);
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 18px 12px 20px 16px;
  cursor: pointer;
  box-shadow: 0 1.5px 10px rgba(89,163,127,0.09);
  transition: background 0.19s;
  z-index: 2160;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #b9e3b7;
  color: #22374A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin: 20px 0 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  padding: 15px 0;
  border-radius: 20px 18px 20px 14px;
  transition: background .16s, color .2s, box-shadow .19s;
  font-weight: 500;
  width: fit-content;
  min-width: 180px;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #59A37F;
  color: #fff;
  text-decoration: none;
  outline: 2px solid #E1EAD8;
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================
   FOOTER
==================== */
footer {
  background: #E1EAD8;
  padding: 38px 0 16px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 14px rgba(34,55,74,0.05);
  margin-top: 40px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  border-bottom: 1px solid #dbdbcf;
  padding-bottom: 16px;
}
.footer-menu {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: .99rem;
  color: #22374A;
}
.footer-menu a {
  color: #22374A;
  font-weight: 500;
}
.footer-menu a:hover {
  color: #59A37F;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: .96rem;
  color: #446e45;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
  vertical-align: middle;
}
.footer-contact span {
  margin-right: 8px;
}
.footer-bottom {
  margin-top: 12px;
  text-align: center;
  color: #22374A;
  font-size: .97rem;
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* ===================
   CARDS & TESTIMONIALS
==================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 26px 38px 24px 32px;
  box-shadow: 0 2.5px 16px rgba(89,163,127,0.09), 0 .5px 2px rgba(34,55,74,.02);
  margin-bottom: 22px;
  color: #22374A;
  min-width: 280px;
  transition: box-shadow .22s, transform .17s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 32px rgba(89,163,127,0.13);
  transform: translateY(-2px) scale(1.017);
}
.testimonial-card blockquote {
  background: #E1EAD8;
  color: #22374A;
  font-style: italic;
  margin-bottom: 0;
  padding: 12px 20px;
}
.testimonial-card footer {
  color: #446e45 !important;
}

/* ===================
   COOKIE CONSENT BANNER
==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #22374A;
  color: #F7E9D3;
  box-shadow: 0 -2px 12px rgba(34,55,74,0.14);
  padding: 26px 20px;
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  opacity: 1;
  transform: translateY(0%);
  transition: opacity 0.32s, transform 0.42s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-msg {
  flex: 2 1 260px;
  font-size: 1.01rem;
  color: #F7E9D3;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  background: #59A37F;
  border: none;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px 18px 20px 14px;
  box-shadow: 0 1.5px 10px rgba(89,163,127,0.13);
  padding: 10px 22px;
  font-size: 1rem;
  margin-right: 4px;
  cursor: pointer;
  transition: background .2s color .16s;
}
.cookie-banner-btn.reject {
  background: #CB4D3B;
}
.cookie-banner-btn.settings {
  background: #E1EAD8;
  color: #22374A;
  font-weight: 700;
}
.cookie-banner-btn:hover,
.cookie-banner-btn:focus {
  background: #42745B;
  color: #fff;
}
.cookie-banner-btn.reject:hover,
.cookie-banner-btn.reject:focus {
  background: #a63a28;
}
.cookie-banner-btn.settings:hover,
.cookie-banner-btn.settings:focus {
  background: #E1EAD8;
  color: #59A37F;
}
@media (max-width: 768px) {
  .cookie-banner {
    padding: 14px 8px;
    flex-direction: column;
    gap: 12px;
    font-size: 0.97rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: #22374A;
  box-shadow: 0 10px 68px rgba(34,55,74,0.23);
  border-radius: 34px 24px 28px 22px;
  z-index: 2600;
  max-width: 440px;
  width: 98vw;
  padding: 38px 30px 24px 32px;
  opacity: 1;
  transition: opacity .32s, transform .38s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%,20%) scale(.97);
  pointer-events: none;
}
.cookie-modal h2 {
  color: #22374A;
  font-size: 1.5rem;
  margin-bottom: 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.cookie-modal-category label {
  font-weight: 600;
  cursor: pointer;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #e1ead8;
  border-radius: 18px;
  position: relative;
  transition: background .18s;
  margin-right: 4px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 20px;
  width: 20px;
  background: #59A37F;
  border-radius: 50%;
  transition: left .22s, background .22s;
}
.cookie-toggle input:not(:checked) + .cookie-toggle-slider {
  background: #CBD9BE;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 22px;
  background: #59A37F;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-banner-btn {
  margin-right: 0;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: none;
  color: #59A37F;
  font-size: 2rem;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 12px 13px 14px 8px;
  transition: background .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e1ead8;
  color: #22374A;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 14px 7px 12px 10px;
    max-width: 99vw;
    border-radius: 18px;
  }
  .cookie-modal-close {
    top: 2px; right: 2px;
    font-size: 1.5rem;
  }
}

/* ===================
   FORM (universal base styles)
==================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  border: 1.5px solid #e1ead8;
  border-radius: 16px 13px 12px 11px;
  margin-bottom: 14px;
  width: 100%;
  background: #f4fde9;
  transition: border .14s, box-shadow .15s;
  outline: none;
  color: #22374A;
}
input:focus, textarea:focus, select:focus {
  border-color: #59A37F;
  box-shadow: 0 2px 12px rgba(89,163,127,0.14);
}
label {
  font-weight: 600;
  color: #22374A;
  margin-bottom: 6px;
  display: block;
}

/* ===================
   SPACING & GAPS
==================== */
section + section {
  margin-top: 28px;
}
.card + .card,
.feature-item + .feature-item,
.team-member + .team-member,
.testimonial-card + .testimonial-card {
  margin-left: 0;
}

/* ===================
   ORGANIC DECORATIVE
==================== */
/* For organic style, use subtly uneven round radii across containers and cards (see above) */

/* ===================
   RESPONSIVE ADJUSTMENTS
==================== */
@media (max-width: 900px) {
  .feature-grid, .team-grid {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px 0px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.54rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .logo img {
    width: 125px;
  }
  .feature-item, .team-member {
    min-width: unset;
    width: 100%;
  }
}

/* Ensure adequate spacing for all cards/content */
.card:not(:last-child), .feature-item:not(:last-child), .team-member:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* Spacing for .section and .container for mobile */
@media (max-width: 540px) {
  .section, .container {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* ===================
   MISCELLANEOUS
==================== */
::-webkit-input-placeholder { color: #7C867C; opacity:1; }
::-moz-placeholder { color: #7C867C; opacity:1; }
:-ms-input-placeholder { color: #7C867C; opacity:1; }
::placeholder { color: #7C867C; opacity:1; }

hr {
  border: 0;
  height: 1px;
  background: #e1ead8;
  margin: 26px 0;
}

/* Hide visually but accessible for screen readers */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* ===================
   PRINT
==================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .content-wrapper, .section { box-shadow: none!important; }
}
