/* ===========================================================
   CSS RESET & BASICS FOR ORGANIC NATURE-INSPIRED AESTHETIC
   =========================================================== */
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,
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F8F9FB;
  color: #2E3130;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #216B75;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #154a50;
  text-decoration: underline;
}

/* ==========================
   COLOR VARIABLES (Fallbacks)
   ========================== */
:root {
  --primary: #216B75;
  --primary-dark: #154a50;
  --secondary: #FFD447;
  --accent-bg: #F8F9FB;
  --neutral: #675D50;
  --organic-green: #5C9455;
  --earth-brown: #AD8856;
  --shadow: rgba(33,59,54,0.08);
  --card-bg: #fff;
  --text-dark: #2E3130;
  --text-light: #F8F9FB;
}

/* ==========================
   TYPOGRAPHY
   ========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Lato', Helvetica, Arial, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }
p, li, blockquote { font-size: 1rem; }

blockquote {
  font-style: italic;
  color: var(--organic-green);
  margin-bottom: 12px;
}
strong { font-weight: 700; }

.text-center { text-align: center; }

/* ==========================
   CONTAINER & LAYOUT SPACING
   ========================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: 0 4px 16px var(--shadow);
  padding: 32px;
}
.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: #F8F9FB;
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 20px;
  border-left: 6px solid var(--organic-green);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-bg);
  box-shadow: 0 1px 6px var(--shadow);
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(76, 116, 82, 0.18);
  transform: translateY(-2px) scale(1.025);
}

/* Specific grids (Index Features, Blog posts, etc.) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid .feature-item {
  min-width: 260px;
  flex: 1 1 220px;
  max-width: calc(50% - 24px);
}

.service-list, .workshop-list, .blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.service-card, .workshop-card, .blog-post {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 28px 22px;
  flex: 1 1 240px;
  min-width: 240px;
  margin-bottom: 20px;
  margin-right: 0;
}
.service-card h2, .workshop-card h3, .blog-post h2 {
  color: var(--organic-green);
}

.featured-post {
  background: var(--organic-green);
  color: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 18px;
}
.featured-post a { color: #FFD447; }

.benefits-list ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.benefits-list li {
  background: var(--accent-bg);
  padding: 10px 16px;
  border-radius: 16px;
  margin-bottom: 8px;
}

.text-section ul, .text-section ol {
  margin-top: 12px;
  margin-bottom: 16px;
  padding-left: 20px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 10px;
}

/* ==========================
   BUTTONS, CTAs
   ========================== */
.cta-button {
  display: inline-block;
  padding: 13px 36px;
  background: linear-gradient(90deg,var(--organic-green),var(--earth-brown));
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 100px 60px 100px 48px / 80px 100px 60px 100px;
  box-shadow: 0 5px 22px rgba(33,107,117,0.15);
  letter-spacing: 0.03em;
  margin: 18px 0 0 0;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.22s, transform 0.19s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(100deg,var(--earth-brown),var(--organic-green));
  color: #FFD447;
  box-shadow: 0 6px 30px rgba(33,107,117,0.22);
  transform: translateY(-2px) scale(1.04);
}

button, .button {
  font-family: inherit;
  padding: 10px 22px;
  border-radius: 100px 80px 90px 70px / 90px 110px 70px 100px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  background: var(--earth-brown);
  color: #fff;
  margin: 6px 0;
  cursor: pointer;
  transition: background 0.20s, color 0.15s, box-shadow 0.17s, transform 0.18s;
}
button:hover, .button:hover,
button:focus, .button:focus {
  background: var(--organic-green);
  color: var(--secondary);
  box-shadow: 0 4px 18px rgba(92,148,85,0.16);
  transform: scale(1.03);
}

/* ==========================
   HEADER & NAVIGATION
   ========================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 14px 16px 14px 16px;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 34px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 10px 7px 10px;
  border-radius: 30px 18px 32px 12px / 18px 34px 20px 30px;
  transition: background 0.2s, color 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--organic-green);
  color: #fff !important;
}

header .cta-button {
  margin-left: auto;
}

.mobile-menu-toggle {
  display: none;
  background: var(--organic-green);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background 0.19s, color 0.16s;
  margin-left: 18px;
  z-index: 150;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--earth-brown);
  color: var(--secondary);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(33,107,117, 0.98);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 20px 18px 18px 24px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  margin-top: 30px;
  padding: 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 18px 12px;
  border-radius: 18px 42px 30px 40px / 42px 18px 34px 18px;
  font-weight: bold;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/*======================================
  FOOTER
======================================*/
footer {
  background: #EAF0EA;
  border-top: 3px solid var(--organic-green);
  padding: 36px 0 18px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  color: var(--primary);
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 14px 38px 15px 38px;
  transition: background 0.18s, color 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  background: var(--organic-green);
  color: #fff;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  font-size: 0.99rem;
  color: var(--neutral);
  opacity: 0.9;
  margin-top: 6px;
}
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 12px 28px 18px 34px;
  background: #fff;
  box-shadow: 0 1px 8px var(--shadow);
}

/* ====================
   ORGANIC/NATURE DECOR
   ==================== */
section,
.card,
.service-card,
.workshop-card,
.blog-post,
.feature-item,
.testimonial-card {
  border-radius: 32px 18px 34px 22px / 28px 34px 22px 38px;
}

.card, .service-card, .workshop-card, .blog-post {
  box-shadow: 0 2px 10px var(--shadow);
}

/* Subtle organic lines/effects (pure CSS, for containers) */
section {
  position: relative;
  overflow: visible;
}
section:before {
  content: '';
  position: absolute;
  left: 0; top: -36px;
  width: 80px;
  height: 34px;
  background: var(--organic-green);
  border-radius: 32px 15px;
  opacity: 0.06;
  filter: blur(1.5px);
  z-index: 1;
  pointer-events: none;
}
section:after {
  content: '';
  position: absolute;
  right: 0; bottom: -38px;
  width: 120px;
  height: 34px;
  background: var(--earth-brown);
  border-radius: 18px 32px;
  opacity: 0.04;
  filter: blur(1.5px);
  z-index: 1;
  pointer-events: none;
}


/* =========================================
   RESPONSIVE DESIGN & MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid .feature-item, .service-card, .workshop-card, .blog-post {
    max-width: 100%;
    min-width: 220px;
    flex: 1 1 90%;
  }
}

@media (max-width: 900px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 8px;
    font-size: 0.97rem;
    margin-left: 16px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .cta-button {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 8px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  section, .section { padding: 32px 8px; margin-bottom: 40px; }
  .content-wrapper { gap: 20px; }
  .feature-grid, .service-list, .workshop-list, .blog-post-grid {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
  .cta-button, button, .button { font-size: 1rem; }
  .testimonial-card { padding: 12px; }
  footer .container { padding: 0 6px; }
}

/* ================
   MISCELLANEOUS
   ================ */
.text-section a {
  color: var(--organic-green);
  text-decoration: underline;
}
.text-section a:hover {
  color: var(--earth-brown);
}

ul, ol {
  padding-left: 20px;
  margin: 8px 0 14px 0;
}
li {
  margin-bottom: 8px;
}

hr {
  border: none;
  border-bottom: 2px solid var(--neutral);
  opacity: 0.08;
  margin: 24px 0;
}

/* ================
   COOKIE BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff6e3;
  box-shadow: 0 -4px 20px var(--shadow);
  border-top: 3px solid var(--earth-brown);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 18px 18px 18px;
  animation: CookieBannerAppear 0.7s cubic-bezier(.33,0,.45,1.2);
  min-height: 64px;
}
@keyframes CookieBannerAppear {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #2E3130;
  font-size: 1rem;
  max-width: 440px;
  flex: 1 1 300px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 48px 18px 40px 32px;
  background: var(--organic-green);
  color: #fff;
  margin: 0;
  border: none;
  transition: background 0.17s, color 0.13s;
}
.cookie-banner .cookie-reject {
  background: #FFD447;
  color: var(--primary);
}
.cookie-banner .cookie-settings {
  background: var(--earth-brown);
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  box-shadow: 0 3px 14px var(--shadow);
  filter: brightness(1.03);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 100000;
  background: rgba(44,73,66,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: CookieModalFadeIn 0.35s;
}
@keyframes CookieModalFadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  padding: 36px 30px;
  border-radius: 32px 48px 22px 36px;
  box-shadow: 0 7px 36px rgba(33,107,117,0.18);
  min-width: 300px;
  max-width: 96vw;
  color: #252d23;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--earth-brown);
}
.cookie-modal .cookie-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  color: var(--organic-green);
  flex: 1 1 auto;
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal .cookie-toggle input[type=checkbox] {
  width: 34px;
  height: 18px;
  appearance: none;
  background: #DCEAD3;
  outline: none;
  border-radius: 14px;
  transition: background 0.18s;
  position: relative;
  cursor: pointer;
}
.cookie-modal .cookie-toggle input[type=checkbox]:checked {
  background: var(--organic-green);
}
.cookie-modal .cookie-toggle input[type=checkbox]::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-modal .cookie-toggle input[type=checkbox]:checked::before {
  left: 18px;
}
.cookie-modal .cookie-category .cookie-toggle[aria-disabled='true'],
.cookie-modal .cookie-category .cookie-toggle input[disabled] {
  filter: grayscale(0.5);
  opacity: 0.6;
}

.cookie-modal .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  padding: 10px 21px;
  font-size: 1rem;
  background: var(--organic-green);
  color: #fff;
  border: none;
  border-radius: 14px 44px 18px 34px;
}
.cookie-modal .cookie-actions button.cookie-save {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 671px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cookie-modal .cookie-modal-content {
    padding: 22px 8px 32px 8px;
    min-width: 0;
  }
}

/* ================
   FORM ELEMENTS (Kontakt)
   ================ */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  background: var(--accent-bg);
  border: 1.5px solid #C9DAD3;
  border-radius: 16px 24px 20px 18px;
  outline: none;
  margin-bottom: 14px;
  transition: border 0.17s;
  width: 100%;
  max-width: 424px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--organic-green);
}
label {
  font-family: inherit;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}

/* ================
   ACCESSIBILITY
   ================ */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ================
   TESTIMONIALS CONTRAST
   ================ */
.testimonial-card {
  background: #fffbea;
  color: #2E3130;
  border-left: 6px solid var(--organic-green);
  font-size: 1.1rem;
}
.testimonial-card blockquote {
  color: #216B75;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card p {
  color: #675D50;
  font-size: 1rem;
}
.testimonial-card strong {
  color: var(--primary);
}

/* ================
   ORGANIC DECORATIVE SHAPES
   ================ */
.card, .service-card, .workshop-card, .blog-post,
.feature-item, .testimonial-card, .featured-post {
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .service-card:hover, .workshop-card:hover, .blog-post:hover,
.feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(54,88,61,0.13);
}

/* ================
   MICRO-ANIMATIONS
   ================ */
.cta-button, .button, button {
  transition: box-shadow 0.2s, transform 0.18s, background 0.19s, color 0.17s;
}
.card, .service-card, .workshop-card, .blog-post {
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .service-card:hover, .workshop-card:hover, .blog-post:hover {
  transform: translateY(-3px) scale(1.0125);
}

/* ================
   PRINT & SELECTION
   ================ */
::selection {
  background: var(--organic-green);
  color: #fff;
}

/* END OF CSS */
