/* CSS RESET & 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F5F1EC;
  color: #216741;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #a06900;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.54,.06,.63,1.45);
}
a:hover, a:focus {
  color: #216741;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}

/* FONTS: playful, round for headings. */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', cursive, Arial, sans-serif;
  font-weight: 700;
  color: #216741;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
h4, h5, h6 {font-size: 1.1rem; }

p, li, blockquote, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #216741;
  line-height: 1.7;
}
blockquote {
  margin: 24px 0 24px 0;
  padding: 18px 28px;
  border-left: 6px solid #CC9441;
  background: #fff9ec;
  border-radius: 16px;
  color: #a06900;
  font-style: italic;
  font-size: 1.15rem;
}
strong {
  color: #a06900;
  font-weight: 700;
}

/* UTILS: --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(33,103,65,0.07), 0 1.5px 3px rgba(204,148,65,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F5F1EC;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(204,148,65,0.07);
  transition: box-shadow 0.25s cubic-bezier(.54,.06,.63,1.45), transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(160,105,0,0.13), 0 2px 6px 0 rgba(33,103,65,0.07);
  transform: translateY(-3px) scale(1.025);
  z-index: 2;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAV --------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(204,148,65,0.07);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo img {
  height: 58px;
  margin-right: 12px;
  vertical-align: middle;
  transition: transform 0.15s cubic-bezier(.7,-0.35,0.9,2.25);
}
.logo img:hover { transform: scale(1.10) rotate(-4deg); }

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  position: relative;
  font-size: 1.01rem;
  font-family: 'Quicksand', cursive, Arial, sans-serif;
  font-weight: 700;
  padding: 9px 0;
  color: #216741;
  border-radius: 8px;
  transition: background 0.15s, color 0.14s cubic-bezier(.7,.1,.29,2.1);
}
.main-nav a:hover, .main-nav a:focus {
  background: #fbeac4;
  color: #a06900;
}
.btn-primary {
  background: #CC9441;
  color: #fff !important;
  font-family: 'Quicksand', cursive, Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  padding: 10px 28px;
  box-shadow: 0 2px 7px 0 rgba(204,148,65,0.08);
  transition: background 0.18s, transform 0.18s, box-shadow 0.21s;
  cursor: pointer;
  letter-spacing: 0.01em;
  outline: none;
  font-size: 1.1rem;
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #a06900;
  color: #fff;
  transform: translateY(-3px) scale(1.03) rotate(-2deg);
  box-shadow: 0 6px 18px 0 rgba(33,103,65,0.16);
}

/* --- Mobile Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #CC9441;
  margin-left: 12px;
  cursor: pointer;
  z-index: 24;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 246, 225, 0.98);
  box-shadow: 0 8px 50px 0 rgba(160,105,0,0.17);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.73,.22,.26,.96);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  color: #216741;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  box-shadow: 0 2px 8px rgba(204,148,65,0.10);
  cursor: pointer;
  z-index: 101;
  transition: background 0.16s, color 0.17s;
}
.mobile-menu-close:hover {
  background: #FFEDD0;
  color: #a06900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 130px;
  margin-left: 8vw;
}
.mobile-nav a {
  font-family: 'Quicksand', cursive, Arial, sans-serif;
  font-size: 1.4rem;
  padding: 14px 0;
  color: #216741;
  border-radius: 8px;
  transition: background 0.12s, color 0.13s;
  width: 80vw;
  max-width: 420px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff2c1;
  color: #a06900;
}

/* HERO & SECTIONS ------------------------------------------------------ */
.hero {
  background: linear-gradient(98deg, #F5F1EC 70%, #fffbe7 100%);
  padding: 38px 0 50px 0;
  margin-bottom: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #a06900;
  font-size: 2.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px #fffbe7, 0 1px 0 #ffeac0;
  animation: fadeInHero 1.15s cubic-bezier(.64,0,.29,1.28) 0.13s both;
}
.hero p {
  color: #216741;
  font-size: 1.35rem;
  margin-bottom: 20px;
}
.hero .btn-primary {
  font-size: 1.2rem;
  margin-top: 10px;
}

@keyframes fadeInHero {
  from {opacity: 0; transform: translateY(40px) scale(0.97);}
  to {opacity: 1; transform: none;}
}

.introduction {
  background: #fffbea;
  border-radius: 24px;
  margin-bottom: 48px;
  padding: 36px 20px;
  box-shadow: 0 1.5px 5px rgba(160,105,0,0.08);
}
.brand-story, .team-story, .brand-values {
  background: #FDF6EA;
  border-radius: 16px;
  padding: 18px 22px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #a06900;
  margin-bottom: 16px;
  border-left: 5px solid #CC9441;
}

.highlights ul, .features ul, .guides ul, .howto ul, .info ul, .next-steps ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.highlights ul li:before, .features ul li:before, .guides ul li:before, .howto ul li:before, .info ul li:before, .next-steps ul li:before {
  content: '🟡';
  display: inline-block;
  margin-right: 12px;
  font-size: 1rem;
}

.event-teaser {
  background: #fffbe6;
  border-left: 5px solid #CC9441;
  padding: 16px 22px;
  border-radius: 15px;
  color: #216741;
  margin-bottom: 16px;
  font-size: 1.08rem;
}

.features .feature-grid, .features .feature-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 18px;
}
.feature {
  background: #fff9f2;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(33,103,65,0.05);
  padding: 28px 16px 21px 16px;
  min-width: 210px;
  flex: 1 1 200px;
  align-items: center;
  text-align: center;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.17s;
  position: relative;
  z-index: 1;
}
.feature img {
  height: 62px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 0 #ffe49c);
  transition: transform 0.15s;
}
.feature:hover img {
  transform: scale(1.13) rotate(-4deg);
}
.feature h3 {
  color: #CC9441;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.feature p {
  color: #216741;
}
.feature:hover {
  box-shadow: 0 8px 24px 0 rgba(204,148,65,0.14);
  transform: translateY(-4px) scale(1.035);
  z-index: 2;
}

/***** TESTIMONIALS *********/
.testimonials {
  background: #fff9f2;
  padding: 32px 20px;
  border-radius: 23px;
}
.testimonials h2 {
  text-align: center;
  color: #216741;
  margin-bottom: 32px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.testimonial-card {
  background: #fff;
  color: #216741;
  border-left: 7px solid #CC9441;
  border-radius: 17px;
  min-width: 230px;
  max-width: 380px;
  padding: 20px 25px 18px 23px;
  box-shadow: 0 4px 16px rgba(33,103,65,0.09);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.07rem;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(204,148,65,0.14);
  transform: translateY(-4px) scale(1.025);
}
.testimonial-meta {
  font-size: 0.99rem;
  color: #a06900;
  opacity: .98;
}

/***** NEWSLETTER BANNER, THANK YOU, etc. *********/
.newsletter, .thankyou {
  background: #F5F1EC;
  padding: 38px 18px;
  border-radius: 25px;
  margin-bottom: 60px;
  min-height: 220px;
  text-align: center;
  box-shadow: 0 1.5px 6px rgba(204,148,65,0.08);
  animation: floatUp 0.94s cubic-bezier(.84,-0.17,.21,1.13);
}
@keyframes floatUp {
  0% {opacity: 0; transform: translateY(50px) scale(0.95);}
  100% {opacity: 1; transform: none;}
}

/***** CTA SECTION *********/
.cta {
  background: #fffbe7;
  border-radius: 27px;
  margin-bottom: 58px;
  box-shadow: 0 2px 10px rgba(204,148,65,0.08);
  padding: 36px 20px;
  text-align: center;
}
.cta h2, .cta p { color: #216741; }

/***** LEGAL/INFO SECTION ******/
.legal {
  background: #fff;
  border-radius: 19px;
  margin-bottom: 48px;
  box-shadow: 0 1.5px 6px rgba(160,105,0,0.05);
  padding: 40px 18px;
}

/***** ABOUT/INFO/CONTACT/THANK YOU *********/
.about, .contact, .info, .next-steps, .community-invitation, .map {
  background: #fff9f2;
  border-radius: 18px;
  padding: 27px 20px;
  margin-bottom: 40px;
  box-shadow: 0 1.5px 7px rgba(204,148,65,0.07);
}
.contact-details p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.map { background: #fffce1; }

/***** FOOTER *********/
footer {
  background: #fff;
  padding: 36px 0 0 0;
  margin-top: 55px;
  box-shadow: 0 -2px 12px rgba(33,103,65,0.06);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.footer-contact {
  flex: 1 1 310px;
  min-width: 230px;
}
.footer-contact h3 {
  color: #a06900;
  font-size: 1.26rem;
  margin-bottom: 7px;
}
.footer-contact p {
  font-size: 0.97rem;
  margin-bottom: 4px;
  color: #216741;
  display: flex; align-items: center; gap: 8px;
}
.footer-contact img { height: 1.2em; vertical-align: middle; margin-right: 5px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-end;
}
.footer-nav a {
  color: #216741;
  font-size: 1.01rem;
  margin-bottom: 3px;
  border-radius: 6px;
  padding: 3px 8px;
  transition: background 0.12s;
}
.footer-nav a:hover {
  background: #fffdda;
  color: #a06900;
}

.copyright {
  background: none;
  color: #a06900;
  font-size: 0.98rem;
  margin-top: 22px;
  text-align: center;
  opacity: .72;
  letter-spacing: 0.02em;
  padding-bottom: 22px;
}

/***** COOKIE BANNER *********/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe7;
  color: #216741;
  padding: 22px 16px;
  box-shadow: 0 -4px 18px 0 rgba(204,148,65,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5000;
  animation: cookieSlideIn 0.8s cubic-bezier(.74,-0.14,.31,1.09) both;
}
@keyframes cookieSlideIn {from{transform: translateY(120%);}to{transform:none;}}
.cookie-banner p {
  font-size: 1.08rem;
  color: #216741;
  margin-bottom: 3px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Quicksand', cursive, Arial, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  padding: 9px 20px;
  background: #CC9441;
  color: #fff;
  cursor: pointer;
  transition: background 0.17s, color 0.14s, transform 0.13s;
  margin: 0 2px;
}
.cookie-btn.reject {
  background: #216741;
  color: #fff;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #a06900;
  color: #fff;
  transform: scale(1.04) translateY(-2px);
}
.cookie-settings-btn {
  background: #fff;
  color: #a06900;
  border: 1.5px solid #CC9441;
}
.cookie-settings-btn:hover {
  background: #fffbe7;
  color: #216741;
}

/***** COOKIE MODAL *********/
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5100;
  background: rgba(33, 103, 65, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-dialog {
  background: #fffbe7;
  padding: 36px 28px 22px 28px;
  border-radius: 20px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 6px 38px rgba(204,148,65,0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-dialog h2 {
  color: #a06900;
  margin-bottom: 8px;
  font-size: 1.32rem;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #fff;
  color: #a06900;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(33,103,65,0.07);
  transition: background 0.1s, color 0.12s;
}
.cookie-modal .close-cookie-modal:hover {
  background: #fff9e6;
  color: #216741;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  color: #216741;
}
.cookie-category label[disabled] {
  opacity: .65; cursor: not-allowed;
}
.cookie-switch {
  width: 36px;
  height: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0.5px 2px rgba(160,105,0,.04);
  display: flex;
  align-items: center;
  position: relative;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #CC9441;
  transition: left 0.17s cubic-bezier(.73,.22,.26,.96), background 0.14s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  left: 17px;
  background: #216741;
}
.cookie-category span {font-size: 0.99rem;}

/***** RESPONSIVE --------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-content {
    gap: 24px;
  }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-nav { align-items: flex-start; }
}
@media (max-width: 780px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.5rem;}
  .hero h1 {font-size: 2.15rem;}
  .hero p {font-size: 1.08rem;}
  .footer-content {flex-direction: column;gap:17px;}
  .section, .newsletter, .thankyou, .legal, .about, .contact, .info, .community-invitation, .map {
    padding: 23px 7px;
    border-radius: 12px;
  }
  .features .feature-grid {gap:7px;}
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .card-container, .content-grid, .testimonial-list, .feature-grid { flex-direction: column; gap: 15px; align-items: stretch; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .footer-nav { align-items: flex-start; }
  .newsletter, .thankyou { min-height: 150px; }
}
@media (max-width: 510px) {
  body {font-size: 0.94rem;}
  .container {max-width: 100vw;padding-left:3px; padding-right:3px;}
  .mobile-nav {margin-left:2vw;}
}

/* PLAYFUL DYNAMIC EFFECTS / ACCENTS -------------------------------------- */
.section, .feature, .testimonial-card, .newsletter, .thankyou, .legal, .about, .contact, .info, .cta, .community-invitation, .brand-story, .team-story, .brand-values, .event-teaser, .map {
  position: relative;
  overflow: visible;
}

 
@keyframes playfulBlob {
  0% {transform: rotate(-7deg) scale(1);} 35% {transform: rotate(9deg) scale(1.07);} 70% {transform: rotate(-12deg) scale(.98);} 100% {transform: rotate(-7deg) scale(1);}
}
.feature:after {
  left: unset; right: 11px;
  top: unset; bottom: -24px;
  background: #216741;
  opacity: 0.10;
  width: 60px;
  height: 44px;
  animation-delay: 5s;
}

.testimonial-card:after {
  top: unset; bottom: -6px;
  left: unset; right: 8px;
  width: 38px;
  height: 30px;
  opacity: 0.10;
  background: #CC9441;
  animation-duration: 10s;
}

.cta:after {
  left: unset; right: -9px;
  top: 7px;
  background: #a06900;
  opacity: 0.12;
  width: 53px;
  height: 49px;
  animation-delay: 1.7s;
}

/***** ACCESSIBILITY: FOCUS STYLE *******/
a, button, .btn-primary, .cookie-btn, .cookie-settings-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
a:focus-visible, .btn-primary:focus-visible, .cookie-btn:focus-visible, .cookie-settings-btn:focus-visible {
  outline: 2.5px dashed #a06900;
  outline-offset: 2px;
}

/* Hide cookie banner/modal when not injected by JS */
.cookie-banner, .cookie-modal {display: none;}

/* End of Familienzauber playful-dynamic CSS. */
