/* -------------------------------------------------
FrischePfoten Style Sheet
Playful Dynamic Design | Responsive, Modern, Mobile-First
----------------------------------------------------- */

/* RESET & BASE TYPOGRAPHY */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,code,del,dfn,em,img,ins,kbd,q,samp,small,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,main,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 {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #23655A;
  background: #FFF;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
a {
  color: #23655A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3B942;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1.2em 1.2em;
  padding: 0;
}
li {
  margin-bottom: 0.5em;
}

/* HEADINGS - Playful Fonts & Dynamic Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: #23655A;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: #F3B942;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4,h5,h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1.07rem;
  margin-bottom: 12px;
}
strong {
  color: #23655A;
  font-weight: bold;
}

/* CONTAINER */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* SECTION SPACING & PLAYFUL SHADOWS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARDS & FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFBEA;
  border-radius: 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(243,185,66,0.17), 0 1.5px 5.5px rgba(35,101,90,0.06);
  padding: 24px 20px;
  transition: transform 0.16s cubic-bezier(.57,1.7,.55,.97), box-shadow 0.2s;
  min-width: 240px;
  max-width: 100%;
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
  box-shadow: 0 10px 32px rgba(35,101,90,0.21), 0 3px 10px rgba(243,185,66,0.10);
}

.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: #FFFBEA;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(35,101,90,0.10);
  border-left: 8px solid #F3B942;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(35,101,90,0.20);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 15px;
  box-shadow: 0 2px 8px rgba(35,101,90,0.11);
}

/* CONTENT WRAPPER */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

/* TEXT-SECTION */
.text-section {
  background: #FDF6E1;
  border-radius: 22px;
  padding: 32px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(243,185,66,0.08);
  width: 100%;
}

/* HEADER/NAVIGATION */
header {
  background: #23655A;
  width: 100%;
  box-shadow: 0 2px 10px rgba(35,101,90,0.11);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  max-width: 1240px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #FFF;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 3px 0;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  border-bottom: 2.5px solid transparent;
  transition: color 0.14s, border-bottom 0.22s cubic-bezier(.27,1.11,.51,.97);
}
.main-nav a:hover, .main-nav a:focus {
  color: #F3B942;
  border-bottom: 2.5px solid #F3B942;
}
.cta-btn {
  background: #F3B942;
  color: #23655A;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(243,185,66,0.07);
  transition: background 0.19s, color 0.16s, transform 0.12s cubic-bezier(.87,1.39,.41,.84);
  position: relative;
  z-index: 2;
  outline: none;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #23655A;
  color: #fff;
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 18px rgba(243,185,66,0.13);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F3B942;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 12px;
  padding: 5px 12px;
  border-radius: 5px;
  transition: background 0.17s, color 0.13s;
  z-index: 1003;
}
.mobile-menu-toggle:focus {
  background: #FFF; 
  color: #23655A;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,101,90,0.96);
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.69,-0.1,.43,1.08);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 36px 24px 24px;
  gap: 34px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #F3B942;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #23655A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.22rem;
  padding: 9px 0;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-bottom 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F3B942;
  border-bottom: 2.5px solid #F3B942;
}

/* MAIN & SECTIONS */
main {
  flex: 1 0 auto;
  margin-top: 10px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* REMOVE extra paddings for first/last section on main */
main > section:first-child {
  margin-top: 14px;
}

/* TESTIMONIALS & QUOTES */
.testimonial-card {
  background: #FFFBEA;
  color: #23655A;
  box-shadow: 0 2px 10px rgba(35,101,90,0.09);
  border-radius: 20px;
  border-left: 8px solid #F3B942;
  margin-bottom: 20px;
  align-items: center;
}
.testimonial-card p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.55;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #F3B942;
  margin-left: 8px;
  margin-bottom: 0;
}

/* ICONS IN LISTS */
ul li img, .feature-item img {
  height: 28px;
  width: 28px;
  vertical-align: middle;
  margin-right: 12px;
  display: inline-block;
}

/* ADDRESS & FOOTER */
footer {
  background: #23655A;
  color: #FFFFFF;
  padding: 32px 0 22px 0;
}
footer .container {
  align-items: flex-start;
  gap: 32px;
  flex-direction: column;
}
footer nav {
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 0.97rem;
}
footer nav a {
  color: #FFF;
  margin: 0 5px;
  font-weight: 500;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #F3B942;
}
footer .address {
  font-size: 0.96rem;
  line-height: 1.4;
}
footer .address a {
  color: #F3B942;
  text-decoration: underline dotted 2px;
}
footer .social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 9px;
}
footer .social-icons img {
  width: 35px; height: 35px;
  border-radius: 50%;
  background: #fff6e1;
  box-shadow: 0 1px 4px rgba(35,101,90,.13);
}

/* FORMS, BUTTONS, CONTROLS */
button, .cta-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
button {
  cursor: pointer;
  border: none;
}
:focus {
  outline: 2px dashed #F3B942;
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFFBEA;
  color: #23655A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 20px 18px 20px;
  gap: 20px;
  box-shadow: 0 -3px 24px rgba(35,101,90,0.13);
  z-index: 5000;
  animation: cookie-slide-in 0.7s cubic-bezier(.4,1.13,.24,.96);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(70px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cookie-btn {
  border: none;
  border-radius: 32px;
  padding: 11px 28px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, transform 0.10s;
  box-shadow: 0 2px 10px rgba(243,185,66,.11);
}
.cookie-btn.accept {
  background: #23655A;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1f5148;
  color: #fff;
}
.cookie-btn.reject {
  background: #F3B942;
  color: #23655A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f8c85e;
  color: #23655A;
}
.cookie-btn.settings {
  background: #fff;
  color: #23655A;
  border: 2px solid #F3B942;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FDF6E1;
  color: #23655A;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,101,90,0.65);
  z-index: 5001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-overlay-fade-in 0.35s;
}
@keyframes modal-overlay-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFFBEA;
  color: #23655A;
  border-radius: 18px;
  padding: 32px 26px;
  max-width: 400px;
  box-shadow: 0 4px 32px rgba(35,101,90, 0.21);
  width: 90vw;
  animation: modal-slide-up 0.45s cubic-bezier(.57,1.7,.55,.97);
  position: relative;
}
@keyframes modal-slide-up {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.cookie-preferences-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 0 14px 0;
}
.cookie-pref-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-pref-item input[type="checkbox"]:disabled {
  accent-color: #23655A;
  opacity: 0.6;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: #23655A;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover { color: #F3B942; }

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  header .container {
    padding: 12px 4vw;
  }
  .container {
    max-width: 96vw;
    padding: 0 1.5vw;
  }
}
@media (max-width: 768px) {
  /* Responsive flex directions for main containers */
  .container {
    padding: 0 3vw;
  }
  .section, section, .text-section {
    padding: 28px 8px !important;
    border-radius: 15px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
    gap: 18px !important;
  }
  .card {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
    padding: 18px 9px;
  }
  .feature-item {
    padding: 13px 9px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 11px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    padding: 10px 17px;
    margin-left: 3px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  /* Footer */
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
  }
  footer nav {
    flex-wrap: wrap;
    font-size: 0.97rem;
  }
  footer .address {
    font-size: 0.93rem;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.1rem; }
  .cta-btn, .cookie-btn {
    font-size: 0.95rem;
    padding: 10px 14px;
  }
  .mobile-menu {
    padding: 24px 9px 18px 9px;
  }
  .cookie-consent-banner { padding: 14px 6px 10px 8px; }
  .cookie-modal { padding: 21px 8px; }
}

/*--- MICRO-INTERACTIONS / ANIMATIONS ---*/
@keyframes bounce {
    0% { transform: scale(1);} 
   40%{ transform: scale(1.08);}
   60%{ transform: scale(0.98);}
   100%{ transform: scale(1);}
}
.cta-btn:hover, .main-nav a:hover, .mobile-nav a:hover {
  animation: bounce 0.45s cubic-bezier(.33,1.8,.36,.87);
}

/* --- Miscellaneous --- */
::-webkit-scrollbar {
  width: 9px; background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #F3B942;
  border-radius: 8px;
}
::-webkit-scrollbar-track { background: #FFF; }

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* Custom playful accents */
h1, h2 {
  position: relative;
  /* Decorative underline accent */
}
h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 9px;
  background: #F3B942;
  border-radius: 24px;
  margin-top: 6px;
  margin-bottom: 8px;
  opacity: 0.4;
  animation: playful-line 2.2s infinite alternate cubic-bezier(.45,.23,.45,.89);
}
@keyframes playful-line {
  0% { width: 50px; opacity: 0.3; }
  60% { width: 77px; opacity: 0.47; }
  100% { width: 70px; opacity: 0.38; }
}

.text-section a.cta-btn {
  margin-top: 16px;
  align-self: flex-start;
}

/* List styles playful bullets */
ul li::marker {
  color: #F3B942;
  font-size: 1.07em;
}

/*--- ACCESSIBILITY ---*/
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
