/* ===== 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,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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #FBFBF7;
  color: #1B2B15;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.66;
  min-height: 100vh;
  word-break: break-word;
  scroll-behavior: smooth;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #325C37; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #87B86E; }


/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Montserrat:400,500,700&display=swap');
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: 2.3rem; line-height: 1.18; margin-bottom: 20px; color: #325C37; }
h2 { font-size: 1.75rem; margin-bottom: 16px; color: #2C4137; }
h3 { font-size: 1.22rem; margin-bottom: 10px; color: #325C37; }
strong { font-weight: 700; }

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section { padding: 30px 8px; margin-bottom: 36px; }
  .container { padding: 0 8px; }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  background: #E7F5DB;
  box-shadow: 0 2px 16px rgba(117,168,120,0.07);
  position: relative;
  z-index: 30;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 24px;
  min-height: 72px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #325C37;
  font-size: 1.06rem;
  margin-bottom: 0;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.16s, color 0.18s;
}
.desktop-nav a:hover {
  background: #87B86E;
  color: #FBFBF7;
}
.desktop-nav .cta-button {
  background: #325C37;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.04rem;
  border: none;
  border-radius: 26px;
  padding: 10px 34px;
  margin-left: auto;
  box-shadow: 0 4px 16px rgba(50,92,55,0.07);
  transition: background 0.19s, box-shadow 0.19s, color 0.19s;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.desktop-nav .cta-button:hover, .desktop-nav .cta-button:focus {
  background: #87B86E;
  color: #1B2B15;
  box-shadow: 0 5px 22px rgba(50,92,55,0.13);
}
.desktop-nav img {
  height: 44px;
  width: auto;
  vertical-align: middle;
  margin-right: 18px;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #325C37;
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 1001;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  background: #87B86E;
  outline: 2px solid #325C37;
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #E7F5DB;
  box-shadow: 0 0 0 200vw rgba(50,92,55,0.08);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.7,.2,.32,1);
  z-index: 2002;
  opacity: 0.98;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #325C37;
  align-self: flex-end;
  margin: 20px 30px 0 auto;
  cursor: pointer;
  transition: background 0.16s;
  border-radius: 8px;
  padding: 4px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #D3ECC6; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #325C37;
  font-size: 1.2rem;
  padding: 10px 9px;
  border-radius: 8px;
  transition: background 0.16s;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #87B86E;
  color: #fff;
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* === FOCUS STYLES FOR ACCESSIBILITY === */
:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid #325C37;
  outline-offset: 2px;
}

/* ====== HERO SECTIONS / CTA ====== */
.cta-button {
  display: inline-block;
  background: #325C37;
  color: #fff;
  border: none;
  border-radius: 26px;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 14px 36px;
  margin: 18px 0 0 0;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(45,98,52,0.13);
  letter-spacing: 0.5px;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #87B86E;
  color: #1B2B15;
  box-shadow: 0 6px 24px rgba(117,168,120,0.16);
}

/* ===== CONTENT/INFO SECTIONS LAYOUTS ===== */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .features-grid, .card-container, .content-grid { gap: 16px; }
}
.features-grid {
  justify-content: flex-start;
  align-items: stretch;
}
@media (max-width: 800px) {
  .features-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 17px rgba(50,92,55,0.09), 0 1.5px 7px rgba(135,184,110,0.09);
  padding: 28px 22px 26px 22px;
  width: 260px;
  min-width: 220px;
  max-width: 100%;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #E7F5DB;
  transition: box-shadow 0.26s, transform 0.21s;
}
.feature:hover {
  box-shadow: 0 8px 30px rgba(50,92,55,0.20), 0 2px 14px rgba(135,184,110,0.14);
  transform: translateY(-3px) scale(1.028);
}
.feature img {
  width: 48px; height: 48px; border-radius: 2px; background: #E7F5DB;
}
.feature-price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #325C37; background: #E7F5DB;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  padding: 6px 14px;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .feature { width: 100%; min-width: 0; }
}

/* SERVICE ITEMS (Leistungen) */
.service-item {
  margin-bottom: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(50,92,55,0.08);
  padding: 22px 20px 18px 20px;
  border-left: 5px solid #87B86E;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-item h3 {
  font-size: 1.17rem;
  font-family: 'Playfair Display', serif;
  color: #325C37;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-price {
  color: #87B86E;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: #E7F5DB;
  border-radius: 10px;
  padding: 4px 10px;
  margin-left: 10px;
}


/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px;
  background: #E7F5DB;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 13px rgba(50,92,55,0.09);
  border: 1.5px solid #A6CFA1;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: #253D22;
  transition: box-shadow 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 36px rgba(50,92,55,0.13);
}
.testimonial-card blockquote {
  quotes: "\201E" "\201C" "\201A" "\2018";
  font-family: 'Playfair Display', serif;
  font-size: 1.11rem;
  font-style: italic;
  color: #214624;
}
.testimonial-credits {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  color: #173312;
  font-weight: 600;
  opacity: 0.8;
}
.project-summary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.92rem;
  color: #3C6540;
  margin-top: 4px;
}

/* ===== SPECIAL CALLOUT ===== */
.callout {
  background: #D8EBC1;
  color: #325C37;
  border-left: 6px solid #87B86E;
  border-radius: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  padding: 16px 22px;
  margin: 18px 0;
}

/* ====== GENERAL CONTENT ELEMENTS ====== */
ul {
  padding-left: 22px;
  margin-bottom: 12px;
  list-style-type: circle;
}
li {
  margin-bottom: 10px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.intro {
  font-size: 1.13rem;
  font-family: 'Playfair Display', serif;
  color: #2C4137;
  margin-bottom: 10px;
}
.text-section {
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #1B2B15;
  line-height: 1.7;
}
.map-embed {
  margin: 18px 0;
  padding: 18px 20px;
  background: #E7F5DB;
  border-radius: 12px;
  font-size: 1.02rem;
}

/* ===== FLEXBOX SPACING & UTILITY CLASSES ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative; /* For optional decorative elements only */
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(60,100,66,0.07);
  padding: 16px 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .features-grid, .card-container, .text-image-section, .footer-nav, .footer-contact {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}

/* ===== FOOTER ===== */
footer {
  background: #325C37;
  color: #fff;
  margin-top: 60px;
  padding: 38px 0 20px 0;
  position: relative;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #E7F5DB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  transition: color 0.16s, text-decoration 0.14s;
  padding: 5px 10px;
  border-radius: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #87B86E;
  background: #234323;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.94;
}
@media (max-width: 700px) {
  .footer-nav, .footer-contact { flex-direction: column; gap: 14px; }
}

/* ===== FORM ELEMENTS (Kontaktformular-Simulation) ===== */
input, textarea, select, button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.2px solid #A6CFA1;
  padding: 10px 14px;
  margin-bottom: 10px;
  transition: border-color 0.16s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #325C37;
  box-shadow: 0 0 6px #E7F5DB;
}
label { font-weight: 600; color: #325C37; margin-bottom: 5px; }

/* ===== BUTTONS & EFFECTS ===== */
button {
  padding: 10px 24px;
  font-size: 1.09rem;
  border-radius: 20px;
  background: #325C37;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.18s, box-shadow 0.18s;
}
button:focus, button:hover {
  background: #87B86E;
  color: #1B2B15;
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
.cta-button, .feature, .testimonial-card, button, .card {
  transition: box-shadow 0.23s, transform 0.19s, background 0.16s, color 0.17s;
}
.cta-button:active, button:active { transform: scale(0.97); }

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #325C37;
  color: #fff;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px 22px 26px;
  box-shadow: 0 -3px 22px rgba(50,92,55,0.16);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  gap: 20px;
  animation: bannerdrop 0.5s cubic-bezier(.46,1.46,.54,2.43) 0.09s 1;
}
@keyframes bannerdrop {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 9px 18px;
  font-size: 1.01rem;
  border: none;
  border-radius: 9px;
  background: #87B86E;
  color: #224229;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.13s, color 0.13s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(135,184,110,0.06);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #325C37;
}
.cookie-banner .cookie-banner__details {
  margin-right: 6px;
  flex: 1 1 220px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px 24px 8px;
    gap: 10px;
  }
  .cookie-banner__buttons {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }
}

/* ===== COOKIE BANNER PREFERENCES MODAL ===== */
.cookie-modal-overlay {
  position: fixed; z-index: 4000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 49, 29, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalin 0.28s cubic-bezier(.45,1.2,.59,2.2);
}
@keyframes modalin {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  max-width: 370px;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(50,92,55,0.22);
  padding: 32px 26px 22px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #253D22;
}
.cookie-modal h2 {
  font-size: 1.33rem;
  font-family: 'Playfair Display', serif;
  color: #325C37;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.01rem;
}
.cookie-category-row label {
  font-weight: 600;
  color: #325C37;
}
.cookie-category-row input[type='checkbox'] {
  accent-color: #87B86E;
  width: 17px; height: 17px;
}
.cookie-modal .cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;    border: none;
  color: #87B86E; font-size: 1.8rem;
  cursor: pointer;
  border-radius: 7px;
  padding: 1px 5px;
  transition: background 0.15s;
}
.cookie-modal .cookie-modal__close:hover, .cookie-modal .cookie-modal__close:focus {
  background: #E7F5DB;
  color: #325C37;
}
.cookie-modal__footer {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 16px;
}
.cookie-modal__footer button {
  padding: 9px 20px;
  font-size: 1.02rem;
}
@media (max-width: 400px) {
  .cookie-modal { max-width: 96vw; padding: 18px 7px; }
}

/* ====== RESPONSIVE + MOBILE FONT SIZES ====== */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; margin-bottom: 16px; }
  h2 { font-size: 1.23rem; margin-bottom: 12px; }
  h3 { font-size: 1.01rem; }
  .section { padding: 24px 6px; }
}
@media (max-width: 520px) {
  .container { padding: 0 2vw; }
  .section { padding: 14px 0; }
}

/* ===== ARTSY / CREATIVE ARTISTIC EFFECTS ===== */
.feature, .testimonial-card, .card, .service-item {
  /* Artistic, organic shadow and border-radius */
  border-radius: 19px 23px 21px 14px / 15px 18px 23px 21px;
  background: #fff;
  border: 1.7px solid #A6CFA1;
}
.feature::before, .testimonial-card::before, .service-item::before {
  content: "";
  display: block;
  position: absolute;
  left: -9px;
  top: -9px;
  width: 22px;
  height: 22px;
  background: #87B86E33;
  border-radius: 50%;
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
}
.feature::after, .testimonial-card::after, .service-item::after {
  content: "";
  display: block;
  position: absolute;
  right: -12px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: #325C3720;
  border-radius: 50%;
  z-index: 0;
  filter: blur(2.5px);
  pointer-events: none;
}
/* Artistic hand-drawn underline for h2 */
h2 {
  position: relative;
  z-index: 1;
}
h2::after {
  content: "";
  display: block;
  height: 5px;
  width: 88px;
  margin-top: 5px;
  background: #87B86E;
  opacity: 0.23;
  border-radius: 5px;
  position: relative;
}
@media (max-width: 480px) {
  h2::after { width: 32vw; max-width: 70px; }
}

/* Fun decorative element for hero */
section .container:first-child .content-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  left: 60px;
  top: -28px;
  width: 40px;
  height: 40px;
  background: #87B86E22;
  border-radius: 40px 6px 30px 8px / 16px 24px 18px 28px;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 680px) {
  section .container:first-child .content-wrapper::before {
    left: 8vw; top: -9vw; width: 19vw; height: 19vw;
  }
}
/* === Artistic font effect for hero headline === */
main section:first-of-type h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  color: #2C4137;
  letter-spacing: 0.02em;
  text-shadow: 1px 2px 0 #A6CFA122, 0 4px 17px #87B86E13;
}


/* ===== OTHER UTILITIES ===== */
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

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

/* ========== PRINT-FRIENDLY ========== */
@media print { header, footer, .cookie-banner, .mobile-menu { display:none !important; } }
