/* --- CSS RESET and BASE --- */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  background: #F5F5F2;
  color: #115146;
  line-height: 1.5;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #115146;
  text-decoration: underline;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #E5B75B;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* --- FONT FACE (GOOGLE FONTS fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #115146;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-top: 0; }
h2 { font-size: 2rem; margin-top: 0; }
h3 { font-size: 1.5rem; margin-top: 0; }
h4 { font-size: 1.125rem; }
p, li {
  font-size: 1rem;
  color: #2B3B35;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1112px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- SPACING and SECTION RULES (Mandatory) --- */
.section, .about-section, .team-section, .contact-section, .thankyou-section, .legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(17,81,70,0.07);
  box-sizing: border-box;
}

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(17,81,70,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}
.logo img {
  height: 48px;
  width: auto;
  vertical-align: middle;
  display: block;
}

/* --- NAVIGATION --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #115146;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E5B75B;
  color: #115146;
}

.cta-button {
  background: #115146;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 9px 0 rgba(17,81,70,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 8px;
  font-weight: 700;
}
.cta-button:hover, .cta-button:focus {
  background: #E5B75B;
  color: #115146;
  box-shadow: 0 4px 16px rgba(17,81,70,0.18);
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #115146;
  cursor: pointer;
  display: none;
  padding: 8px 6px;
  margin-left: auto;
  z-index: 1002;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E5B75B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(245,245,242,0.97);
  box-shadow: -4px 0 32px rgba(17,81,70,0.1);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.55,0,.1,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 28px;
  /* Hidden by default, shown by .open. */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 32px;
  font-size: 2.25rem;
  background: none;
  border: none;
  color: #115146;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.2s;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E5B75B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 48px 0 0 0;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #115146;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  padding: 12px 6px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  min-width: 160px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E5B75B;
  color: #115146;
}

/* --- HERO SECTIONS --- */
.hero {
  background: #F5F5F2;
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 56px 0 24px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  color: #115146;
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

/* --- FEATURES LIST --- */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  list-style: none;
  margin-bottom: 0;
  margin-left: 0;
  margin-top: 16px;
}
.features ul li {
  flex: 1 1 220px;
  background: #F5F5F2;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(17,81,70,0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  font-size: 1.08rem;
  min-width: 200px;
  line-height: 1.35;
}
.features ul img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.features h2 {
  margin-bottom: 10px;
}

/* --- SERVICES SECTION --- */
.services ul {
  margin-top: 16px;
  margin-left: 0;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services ul li {
  font-size: 1.05rem;
  color: #115146;
  background: #F5F5F2;
  border-radius: 12px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.services ul span {
  color: #115146;
  background: #E5B75B;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 1rem;
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.services .text-section {
  margin-bottom: 16px;
}
.services .cta-button {
  margin-top: 8px;
  margin-left: 0;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F5F5F2;
  margin-bottom: 0;
  padding-bottom: 32px;
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(17,81,70,0.06);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 480px;
  color: #115146;
  font-size: 1rem;
}
.testimonial-card strong {
  color: #115146;
}
.testimonial-card div {
  color: #E5B75B;
  font-size: 1.31rem;
  margin-top: -2px;
}

.testimonials h2 {
  margin-bottom: 4px;
}

/* --- CARD STYLE (for future card containers) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(17,81,70,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(17,81,70,0.15);
  transform: translateY(-6px) scale(1.015);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- ABOUT/TEXT SECTIONS --- */
.about-section, .team-section, .contact-section, .thankyou-section, .legal-section {
  background: #fff;
  box-shadow: 0 2px 15px 0 rgba(17,81,70,0.07);
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section ul {
  margin-top: 8px;
  margin-bottom: 16px;
  margin-left: 20px;
}
.text-section li {
  margin-bottom: 10px;
  padding-left: 2px;
}

/* --- FOOTER --- */
footer {
  background: #f5f5f2;
  border-top: 1px solid #E6EAEB;
  padding: 38px 0 28px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #115146;
  font-size: 1rem;
  text-decoration: underline;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E5B75B;
  background: none;
}
.footer-contact {
  color: #435852;
  font-size: 1rem;
}
.footer-contact a {
  color: #115146;
}
.footer-legal {
  color: #8ea09e;
  font-size: 0.96rem;
  margin-top: 12px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #115146;
  box-shadow: 0 -3px 24px 0 rgba(17,81,70,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 20px;
  z-index: 4000;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(112%);
}
.cookie-banner__text {
  flex: 1 1 340px;
  font-size: 1.02rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  border: none;
  outline: none;
  background: #E5B75B;
  color: #115146;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  padding: 8px 18px;
  margin: 0;
  margin-right: 0px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.12s;
  box-shadow: 0 1px 6px 0 rgba(17,81,70,0.08);
}
.cookie-banner button.cookie-accept-all {
  background: #115146;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #115146;
  color: #fff;
  box-shadow: 0 3px 12px 0 rgba(17,81,70,0.10);
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(31,39,36,0.45);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(17,81,70,0.14);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  color: #115146;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 22px;
  right: 18px;
  background: none;
  border: none;
  color: #115146;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.17s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #E5B75B;
  color: #115146;
}
.cookie-modal__title {
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: #E5B75B;
  width: 20px;
  height: 20px;
}
.cookie-modal__category label {
  font-size: 1rem;
}
.cookie-modal__buttons {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal__category--essential input[type="checkbox"] {
  accent-color: #E5B75B;
  pointer-events: none;
  opacity: 0.5;
}
.cookie-modal__category--essential label:after {
  content: "(notwendig)";
  font-size: 0.97em;
  color: #8ea09e;
  margin-left: 7px;
}

/* --- THANKYOU SECTION --- */
.thankyou-section ul {
  margin: 14px 0;
  padding-left: 20px;
}
.thankyou-section li {
  list-style-type: disc;
  margin-bottom: 6px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1080px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 680px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    min-height: 64px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    padding: 0;
  }
  .section, .about-section, .team-section, .contact-section, .thankyou-section, .legal-section, .hero {
    padding: 32px 6px;
    margin-bottom: 36px;
  }
  .testimonials .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.54rem; }
  h2 { font-size: 1.13rem; }
  .hero {
    padding: 24px 0 8px 0;
    min-height: 100px;
  }
  .section, .about-section, .team-section, .contact-section, .thankyou-section, .legal-section {
    padding: 20px 2px;
    margin-bottom: 30px;
  }
  .features ul li, .services ul li {
    padding: 12px 11px;
    font-size: 0.98rem;
  }
  .testimonial-card {
    padding: 13px 8px;
    min-width: unset;
    max-width: 100%;
  }
  .footer-contact p {
    font-size: 0.93rem;
  }
  .footer-nav a {
    font-size: 0.95rem;
  }
}

/* --- TRANSITIONS, MICRO-INTERACTIONS --- */
.section, .about-section, .team-section, .contact-section, .thankyou-section, .card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.2s, background 0.19s;
}
.features ul li:hover {
  background: #E5B75B;
  color: #115146;
  box-shadow: 0 4px 16px rgba(181,153,46,0.13);
  transform: translateY(-4px) scale(1.02);
}
.services ul li:hover {
  background: #E5B75B;
  color: #115146;
  box-shadow: 0 4px 14px rgba(181,153,46,0.08);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(181,153,46,.15);
  background: #f8f8f4;
}
.mobile-menu {
  will-change: transform;
}

/* --- SCROLLBAR (Subtle for Scandinavian clean) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #f2f2ef;
}
::-webkit-scrollbar-thumb {
  background: #E5B75B;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d9a837;
}

/* --- UTILITY --- */
.d-none { display: none !important; }

/* --- END --- */
