/*-------------------------------------------------
  CSS RESET & ROOT VARIABLES
-------------------------------------------------*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: 'Montserrat', 'Arial', sans-serif;
  background: #F8F3EE;
  color: #3D4152;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-image: url('../assets/bg-texture.png'); /* fallback for nature_organic */
  background-repeat: repeat;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #466e38;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #a3876f;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
}
li {
  margin-bottom: 10px;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
/*-------------------------------------------------
  BRAND COLORS & FONTS
-------------------------------------------------*/
:root {
  --color-primary: #3D4152;
  --color-secondary: #B7AFA3;
  --color-accent: #F8F3EE;
  --color-green: #466E38;
  --color-earth: #A3876F;
  --color-bg: #F8F3EE;
  --color-white: #fff;
  --color-black: #151820;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --radius-card: 22px;
  --radius-btn: 20px;
  --shadow-card: 0 6px 24px rgba(70,110,56,0.09), 0 1.5px 8px rgba(61,65,82,0.06);
  --shadow-light: 0 2px 8px rgba(60,85,45,0.08);
  --transition: all 0.22s cubic-bezier(.65,.05,.24,1);
}

/*-------------------------------------------------
  TYPOGRAPHY
-------------------------------------------------*/
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--color-green);
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-primary);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 24px;
  margin-bottom: 14px;
  color: var(--color-green);
}
p, li, dl, dt, dd {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 12px;
}
p:last-child,
dd:last-child {
  margin-bottom: 0;
}
strong {
  color: var(--color-earth);
  font-weight: bold;
}
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-green);
  font-size: 1.15rem;
  background: #ece7df;
  border-left: 5px solid var(--color-green);
  padding: 14px 24px;
  border-radius: 18px;
  margin-bottom: 8px;
  margin-top: 0;
}

/*-------------------------------------------------
  MAIN LAYOUT SECTIONS & FLEXBOX PATTERNS
-------------------------------------------------*/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 42px 38px 32px 56px/34px 48px 44px 38px;
  background: var(--color-bg);
  box-shadow: var(--shadow-light);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid #ece7df;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ece7df;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(61, 65, 82, 0.10);
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.05rem;
  transition: box-shadow 0.24s, border 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px rgba(61, 65, 82, .17);
  border: 1.5px solid var(--color-green);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f3efe8;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

/*-------------------------------------------------
  HERO & CTA STYLES
-------------------------------------------------*/
.hero-section, .thankyou-section {
  background: #ecf2e6;
  border-radius: 0 0 54px 54px/0 0 34px 38px;
  box-shadow: none;
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.homepage-cta, .about-cta, .services-cta, .gallery-cta, .ablauf-cta, .faq-cta, .contact-cta {
  background: #e0ede0;
  border-radius: 44px;
  box-shadow: var(--shadow-light);
  text-align: center;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-bottom: 60px;
}
.hero-section .cta-button,
.homepage-cta .cta-button,
.about-cta .cta-button,
.services-cta .cta-button,
.gallery-cta .cta-button,
.ablauf-cta .cta-button,
.faq-cta .cta-button,
.contact-cta .cta-button,
.thankyou-section .cta-button {
  margin: 18px auto 0 auto;
}

/*-------------------------------------------------
  BUTTONS & INTERACTIVE ELEMENTS
-------------------------------------------------*/
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 15px 34px;
  border: none;
  box-shadow: 0 2px 12px rgba(70,110,56,0.13);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin: 0 10px;
  transition: background 0.18s, color 0.18s, transform 0.2s;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  background: #34572c;
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 20px rgba(70,110,56,.18);
}
button, .btn {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: none;
  padding: 12px 24px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.17s;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 2px 16px rgba(54,104,54,.15);
}

/*-------------------------------------------------
  MAIN NAVIGATION (DESKTOP)
-------------------------------------------------*/
header {
  background: var(--color-accent);
  border-radius: 0 0 40px 40px/0 0 12px 22px;
  box-shadow: 0 3px 18px rgba(70,110,56,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 0;
}
.main-navigation > a {
  font-family: var(--font-body);
  color: var(--color-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 14px;
  padding: 6px 12px;
  transition: background 0.17s, color 0.17s;
}
.main-navigation > a.cta-button {
  margin-left: 22px;
  font-size: 1rem;
  padding: 10px 26px;
}
.main-navigation > a:hover, .main-navigation > a:focus {
  background: #e0ede0;
  color: var(--color-green);
}
.main-navigation img {
  height: 36px;
  width: auto;
  margin-right: 18px;
  border-radius: 10px 28px 26px 6px/8px 22px 10px 14px;
}

/*-------------------------------------------------
  MOBILE NAVIGATION
-------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 1300;
  background: var(--color-green);
  color: #fff;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 56px;
  border: none;
  box-shadow: 0 2px 16px rgba(70,110,56,0.19);
  justify-content: center;
  align-items: center;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #34572c;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,249,241,0.98);
  box-shadow: 0 8px 40px rgba(70,110,56,0.18);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.43,-0.08,.38,1.11);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-earth);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 44px;
  margin: 22px 28px 0 0;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 60px;
  align-items: center;
  width: 100vw;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--color-black);
  background: transparent;
  padding: 14px 32px;
  border-radius: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e0ede0;
  color: var(--color-green);
}

/* Hide desktop nav at mobile, show burger */
@media (max-width: 1023px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-navigation {
    display: flex;
  }
}

/*-------------------------------------------------
  FOOTER
-------------------------------------------------*/
footer {
  background: #e9ece4;
  border-radius: 42px 42px 0 0/18px 32px 0 0;
  padding: 0 0 10px 0;
  box-shadow: 0 -2px 8px rgba(110,145,110,0.09);
  margin-top: 72px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 12px 4px 12px;
  position: relative;
}
.footer-content img {
  height: 46px;
  width: auto;
  margin-bottom: 10px;
  border-radius: 12px 32px 32px 8px/12px 16px 14px 6px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 6px 0 10px 0;
}
.footer-navigation a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-green);
  text-decoration: none;
  border-radius: 12px;
  padding: 6px 10px;
  transition: background 0.15s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  background: #ecf2e6;
  color: #3d4152;
}
.footer-legal {
  color: #6c7860;
  font-size: .94rem;
  text-align: center;
  margin-top: 6px;
}

/*-------------------------------------------------
  COMPONENTS & MISC STYLES
-------------------------------------------------*/
.team-profile, .agency-story, .philosophy {
  background: #f3efe8;
  border-radius: 18px 28px 18px 22px/22px 26px 20px 24px;
  box-shadow: 0 2px 12px rgba(173, 152, 110, .04);
  padding: 22px 16px;
  margin-bottom: 18px;
}
.philosophy ul, .team-profile ul {
  margin-top: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.09rem;
  color: #42522e;
}
.contact-info img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

ul, ol, dl {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--color-primary);
}
dt {
  font-weight: bold;
  color: var(--color-green);
  margin-bottom: 6px;
}
dd {
  margin-left: 10px;
  margin-bottom: 10px;
}

/*-------------------------------------------------
  COOKIE BANNER & MODAL
-------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #eae3d0;
  color: var(--color-primary);
  font-size: 1rem;
  padding: 32px 20px 22px 20px;
  box-shadow: 0 -6px 32px rgba(61, 65, 82, 0.16);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  z-index: 3000;
  border-radius: 38px 38px 0 0/18px 34px 0 0;
  animation: fadeInUp 0.7s cubic-bezier(.9, .1, .35, 1);  
}
@keyframes fadeInUp {
  from {transform: translateY(80px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-right: 36px;
  max-width: 340px;
}
.cookie-banner .cookie-btn {
  background: var(--color-green);
  color: #fff;
  border-radius: 16px;
  padding: 11px 24px;
  margin: 0 6px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.16s;
  box-shadow: 0 1px 12px rgba(70, 110, 56, 0.06);
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-earth);
}
.cookie-banner .cookie-btn.settings {
  background: #B7AFA3;
  color: #3D4152;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #34572c;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,100vh);
  min-width: 320px;
  max-width: 96vw;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 10px 48px rgba(61,65,82,0.28);
  z-index: 4000;
  padding: 36px 30px 26px 30px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.65,.17,.25,1), opacity 0.18s;
}
.cookie-modal.open {
  transform: translate(-50%,-50%);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 34px;
  background: var(--color-earth);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: var(--color-green);
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--color-green);
  margin-bottom: 18px;
}
.cookie-modal ul {
  margin: 0 0 12px 0;
  list-style: none;
}
.cookie-modal li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-modal .toggle-switch {
  width: 36px;
  height: 22px;
  border-radius: 13px;
  background: #e1e9d7;
  position: relative;
  transition: background 0.18s;
  margin-right: 6px;
}
.cookie-modal .toggle-switch[data-active="true"] {
  background: var(--color-green);
}
.cookie-modal .toggle-switch::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(61,65,82,0.13);
  transition: left 0.18s;
}
.cookie-modal .toggle-switch[data-active="true"]::before {
  left: 18px;
}
.cookie-modal .category-always {
  color: #42522e;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  justify-content: flex-end;
}

/*-------------------------------------------------
  RESPONSIVE DESIGN (MOBILE FIRST)
-------------------------------------------------*/
@media (max-width: 1240px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
}

@media (max-width: 768px) {
  h1, .h1 {font-size: 2rem;}
  h2, .h2 {font-size: 1.35rem;}
  .hero-section, .thankyou-section {
    border-radius: 0 0 32px 32px/0 0 16px 16px;
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .section, section {
    margin-bottom: 40px;
    padding: 28px 6px;
    border-radius: 24px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card-container { gap: 14px; }
  .card { padding: 20px 12px; border-radius: 16px; }
  .testimonial-card { padding: 12px; border-radius: 15px; }
  .homepage-cta, .about-cta, .services-cta, .gallery-cta, .ablauf-cta, .faq-cta, .contact-cta {
    border-radius: 24px;
    padding-top: 22px;
    padding-bottom: 22px;
    margin-bottom: 40px;
  }
  .team-profile, .agency-story, .philosophy {
    padding: 12px 5px;
    border-radius: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .container {padding: 0 2vw;}
  .hero-section, .thankyou-section, .section, section {
    padding-left: 2vw; padding-right: 2vw;
  }
  .footer-content {
    padding: 24px 6px 4px 6px;
    gap: 10px;
  }
}

/*-------------------------------------------------
  UTILITY / MISCELLANEOUS
-------------------------------------------------*/
::-webkit-input-placeholder { color: #A3876F; opacity: 1; }
::-moz-placeholder { color: #A3876F; opacity: 1; }
:-ms-input-placeholder { color: #A3876F; opacity: 1; }
::placeholder { color: #A3876F; opacity: 1; }

/* Decorative nature-inspired shape for organic dividers */
.section-divider {
  width: 74px;
  height: 10px;
  background: var(--color-green);
  border-radius: 28px 3px 22px 6px/12px 3px 7px 8px;
  margin: 22px auto;
}

/*-------------------------------------------------
  ACCESSIBILITY & VISUAL HIERARCHY
-------------------------------------------------*/
:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* Ensure contrast in testimonials & review sections */
.testimonial-card {
  background: #ece7df !important;
  color: #273115 !important;
}
.testimonial-card blockquote {
  color: #466E38 !important;
}

/*-------------------------------------------------
  PRINT STYLES (optional, minimal)
-------------------------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {display: none !important;}
  body {background: #fff; color: #222;}
  .container {max-width: 100vw;}
}
