/* =====================
   CSS RESET & BASELINE
====================== */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F8FAFB;
  color: #26313A;
  min-height: 100vh;
}
img {
  max-width: 100%; height: auto; display: block;
}
a {
  color: #1A5E3C;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #B99955;
  outline: none;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}

/* =====================
   BRAND FONTS
====================== */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #1A5E3C;
  margin-bottom: 16px;
  font-weight: bold;
}
h1 { font-size: 2.5rem; line-height: 1.16; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }

p, li, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #26313A;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
blockquote {
  border-left: 4px solid #1A5E3C;
  padding-left: 16px;
  font-style: italic;
  color: #1A5E3C;
  background: #F1EAD7;
  margin: 0 0 10px 0;
}
strong { font-weight: 600; color: #1A5E3C; }

/*******************
  CONTAINER
********************/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  padding: 0;
  width: 100%;
  max-width: 900px;
}

/*******************
  HEADER & NAV
********************/
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E6E6E6;
  box-shadow: 0 6px 24px 0 rgba(36,56,85,0.07);
  z-index: 99;
  position: sticky;
  top: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 24px;
  position: relative;
}
.logo img {
  height: 48px; width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 1rem;
  color: #384D59;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F1EAD7;
  color: #1A5E3C;
}
.cta-btn {
  display: inline-block;
  background: #1A5E3C;
  color: #fff;
  font-weight: 700;
  padding: 11px 32px;
  border-radius: 32px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 10px 0 rgba(36, 56, 85, 0.10);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B99955;
  color: #26313A;
  box-shadow: 0 6px 22px 0 rgba(185, 153, 85, 0.11);
}

/**** Mobile Navigation ****/
.mobile-menu-toggle {
  display: none;
  background: #F1EAD7;
  color: #1A5E3C;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  padding: 6px 18px;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(36,56,85,0.08);
  margin-left: 18px;
  align-self: flex-end;
  transition: background 0.12s, color 0.12s;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #B99955;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,43,65,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.87,.01,.25,1.15);
  z-index: 2000;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2003;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: #B99955;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 90px;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(248,250,251,0.08);
  transition: background 0.16s, color 0.16s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B99955;
  color: #243042;
}

/* =====================
   SECTION SPACING & FLEX
====================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(36,56,85,0.09);
  padding: 40px 32px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.19s, transform 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(26,94,60,0.13), 0 1.5px 7px rgba(185,153,85,0.13);
  transform: translateY(-4px) scale(1.012);
  z-index: 3;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.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;
}

/**** Feature Grids (Highlights, Kategorien) ****/
.feature-grid, .category-grid, .seasonal-ideas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
  width: 100%;
}
.feature-grid > div, .category-grid > div, .seasonal-ideas-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(185,153,85,0.07);
  padding: 32px 22px 28px 22px;
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.feature-grid > div:hover, .category-grid > div:hover, .seasonal-ideas-grid > div:hover {
  box-shadow: 0 8px 24px 0 rgba(26,94,60,0.13);
  transform: translateY(-2px) scale(1.007);
}
.icon {
  height: 42px;
  margin-bottom: 12px;
  filter: drop-shadow(0 3px 7px rgba(26,94,60,0.08));
}

/**** Misc Content Sections ****/
ul {
  list-style: disc;
  margin-left: 1.5em;
  margin-bottom: 18px;
}
ol {
  list-style: decimal;
  margin-left: 1.5em;
  margin-bottom: 18px;
}
.section ul li, .section ol li, .content-wrapper ul li, .content-wrapper ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/**** Thank you section / highlight ****/
.content-wrapper.thank-you {
  align-items: center;
  text-align: center;
}
.content-wrapper.thank-you h1 {
  color: #1A5E3C;
}

/**** Post List ****/
.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 14px 0 12px 0;
}
.post-teaser {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 14px 0 rgba(36,56,85,0.06);
  padding: 22px 20px 18px 22px;
  flex: 1 1 290px;
  max-width: 380px;
  min-width: 215px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.14s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-teaser:hover {
  box-shadow: 0 7px 20px 0 rgba(26,94,60,0.09);
  transform: scale(1.01) translateY(-2px);
}

/**** Testimonials ****/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F1EAD7;
  border-radius: 16px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px 0 rgba(36,56,85,0.07);
  position: relative;
}
.testimonial-card blockquote {
  color: #21313b;
  background: transparent;
  border-left: 4px solid #1A5E3C;
  padding-left: 16px;
  margin-bottom: 4px;
  font-size: 1.08rem;
}
.testimonial-card p {
  font-size: 1rem;
  color: #1A5E3C;
  font-weight: 600;
  margin-bottom: 0;
}

/**** Contact Details ****/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  margin: 32px 0 18px 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 288px;
  gap: 14px;
}
.text-section ul {
  margin-bottom: 10px;
  margin-left: 1em; /* Nested spacing */
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.text-section ul img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

/**** Footer ****/
footer {
  background: #182435;
  color: #fff;
  padding: 36px 0 24px 0;
  border-top: 1px solid #DDD;
}
footer p {
  color: white;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-between;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: bold;
  font-size: 1.33rem;
  color: #fff;
}
.footer-branding img {
  width: 52px; height: 52px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.85;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.18s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B99955;
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
  color: #C9CED5;
  opacity: 0.9;
  line-height: 1.6;
}

/**********************
  COOKIE CONSENT BANNER
***********************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1A262F;
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -3px 22px 0 rgba(36,56,85,0.12);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 30px;
  gap: 38px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.87,.01,.25,1.15), opacity 0.31s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 0;
}
.cookie-banner button {
  background: #fff;
  color: #1A5E3C;
  border: none;
  border-radius: 24px;
  padding: 9px 26px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 1.5px 7px rgba(36,56,85,0.07);
  cursor: pointer;
  transition: background 0.16s, color 0.14s, box-shadow 0.17s;
}
.cookie-banner button.accept {
  background: #1A5E3C;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #B99955;
  color: #26313A;
}
.cookie-banner button.settings {
  background: #B99955;
  color: #fff;
}
.cookie-banner button.settings:hover {
  background: #1A5E3C;
  color: #fff;
}
.cookie-banner button.reject {
  background: #F1EAD7;
  color: #1A5E3C;
}
.cookie-banner button.reject:hover {
  background: #fff;
  color: #B99955;
}

/**** Cookie Settings Modal ****/
.cookie-modal {
  position: fixed;
  z-index: 4000;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.95);
  background: #fff;
  color: #26313A;
  border-radius: 16px;
  padding: 36px 30px 26px 30px;
  border: 1.5px solid #B99955;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 10px 38px 0 rgba(36,56,85,0.16);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s, opacity 0.24s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #1A5E3C;
  margin-bottom: 12px;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-option .cookie-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-option label {
  font-size: 1rem;
  font-weight: 500;
  color: #26313A;
}
.cookie-modal .btn-group {
  margin-top: 18px;
  display: flex;
  gap: 16px;
}
.cookie-modal .cookie-desc {
  font-size: 0.97rem;
  color: #555D66;
  margin-bottom: 8px;
}
.cookie-modal .cookie-essential {
  color: #B99955;
  font-weight: 700;
}

/**** Simple switcher for cookies (toggle) ****/
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0px;
  height: 0px;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #C9CED5;
  transition: 0.27s;
  border-radius: 50px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .27s;
  box-shadow: 0 1.5px 7px rgba(36,56,85,0.10);
}
input:checked + .slider {
  background-color: #1A5E3C;
}
input:checked + .slider:before {
  transform: translateX(16px);
}

/**** Overlay for cookie modal ****/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  z-index: 3980;
  background: rgba(36, 49, 58, 0.47);
  transition: opacity 0.22s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.show {
  pointer-events: auto;
  opacity: 1;
}

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

/********************
  MEDIA QUERIES
*********************/
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 992px) {
  .container { max-width: 760px; }
  .footer-contact { font-size: 0.95rem; }
  .post-teaser, .feature-grid > div, .category-grid > div, .seasonal-ideas-grid > div { max-width: 98vw; }
}
@media (max-width: 850px) {
  .container { max-width: 92vw; }
  header .container { flex-direction: row; }
  .feature-grid, .category-grid, .seasonal-ideas-grid { flex-direction: column; gap: 20px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .footer-branding img { width: 38px; height: 38px; }
  .footer-branding { font-size: 1.06rem; }
  .post-list { flex-direction: column; gap: 20px; }
  .footer-nav { gap: 5px; }
}
@media (max-width: 768px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.44rem; }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact, .footer-nav {
    font-size: 0.92rem;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid, .category-grid, .seasonal-ideas-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .category-grid > div, .seasonal-ideas-grid > div {
    min-width: unset; max-width: 100%; padding: 20px 15px; margin-bottom: 13px;
  }
  .content-grid, .card-container { flex-direction: column; gap: 16px; }
  .testimonial-card { padding: 16px 9px; margin-bottom: 13px; }
  .section, section {
    padding: 27px 7px;
    margin-bottom: 37px;
  }
  .container { padding: 0 8px; }
  .contact-details {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .content-wrapper { padding: 0; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1rem; }
  footer .container { gap: 6px; }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 9px;
    gap: 14px;
    font-size: .94rem;
  }
  .cookie-banner .cookie-actions { gap: 10px; }
  .cookie-modal { padding: 19px 9px; min-width: unset; }
}

/**** Prevent overlap and enforce spacing ****/
section, .section {
  clear: both;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;  
}

/**** Subtle Animations ****/
.card, .post-teaser, .feature-grid > div, .category-grid > div, .seasonal-ideas-grid > div {
  transition: box-shadow 0.22s, transform 0.19s;
}

/**** Remove ambiguous box-sizing on some elements ****/
*, *:before, *:after {
  box-sizing: inherit;
}
