/* RESET & NORMALIZE (MOBILE-FIRST) */
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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F3EE;
  color: #1D4C32;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.02em;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
a {
  color: #315742;
  text-decoration: underline;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #d87607;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px dotted #ae7c30;
}

/* VINTAGE RETRO COLOR PALETTE */
:root {
  --color-primary: #1D4C32; /* deep forest green */
  --color-secondary: #D9CBA2; /* sand beige */
  --color-accent: #F6F3EE; /* creamy white */
  --color-retro-orange: #d87607;
  --color-retro-red: #e96e6a;
  --color-retro-blue: #62889d;
  --color-retro-yellow: #ffe498;
  --color-retro-brown: #937252;
  --color-retro-green: #60875b;
  --color-footer-bg: #1D4C32;
  --color-footer-alt: #c9b681;
  --color-shadow: rgba(48,23,5,0.08);
  --radius-card: 18px;
  --radius-section: 32px;
  --vintage-pattern: repeating-linear-gradient(135deg, #f6f3ee, #f6f3ee 18px, #ede5d2 22px, #ede5d2 36px);
}

/* RETRO FONTS (GOOGLE FONTS) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #1D4C32;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-retro-orange);
  text-shadow: 0 2px 0 var(--color-retro-yellow);
}
h2 {
  font-size: 2rem;
  color: var(--color-retro-green);
  text-shadow: 0 1px 0 var(--color-retro-yellow);
}
h3 {
  font-size: 1.3rem;
  color: var(--color-retro-brown);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--color-retro-brown);
}
p, li, span, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1D4C32;
  font-size: 1rem;
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  color: #62889d;
  border-left: 5px solid #d87607;
  padding-left: 16px;
  background: #fffaf6;
}
strong, b {
  font-weight: 700;
  color: #1D4C32;
}

/* LAYOUT WRAPPERS */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: var(--vintage-pattern);
  border-radius: var(--radius-section);
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 32px 20px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  margin-bottom: 16px;
}
.text-section ul {
  margin-bottom: 16px;
}

/* MANDATORY FLEXBOX PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffdf7;
  border-radius: var(--radius-card);
  box-shadow: 0 3px 18px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  flex: 1 1 300px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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: #fffdf7;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  flex-direction: column;
  border: 2.5px dashed #d9cba2;
  transition: box-shadow 0.2s;
}
.testimonial-card blockquote {
  color: #1D4C32;
  background: #ffe498;
  border-left: 5px solid #d87607;
}
.testimonial-card span {
  color: #62889d;
  font-size: 0.98rem;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px var(--color-shadow), 0 1.5px 0 #ffe498;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F3EE;
  padding: 16px 12px;
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--color-shadow);
}

/* FEATURE GRID (INDEX THEMEN) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 20px;
}
.feature-grid > div {
  flex: 1 1 180px;
  min-width: 200px;
  background: #ffe498;
  border-radius: 20px 50px 18px 10px/50px 20px 10px 30px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 25px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid #d87607;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 26px var(--color-shadow), 0 2px 0 #d87607;
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  margin-bottom: 8px;
  height: 48px;
  width: 48px;
}
.feature-grid h3 {
  color: #315742;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 24px;
  text-decoration: none !important;
  padding: 12px 30px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.22s, color 0.17s, box-shadow 0.18s, transform 0.13s;
  outline: none;
  font-size: 1.1rem;
  border: none;
}
.btn-primary {
  background: var(--color-retro-orange);
  color: #fffbe5;
  border: 2px solid #d87607;
  text-shadow: 0 1.5px 0 #937252;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ec972e;
  color: #fff;
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: scale(1.04);
}
.btn-secondary {
  background: var(--color-retro-green);
  color: #fffbe5;
  border: 2px solid #315742;
  text-shadow: 0 1.5px 0 #60875b;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1d4c32;
  color: #ffe498;
  box-shadow: 0 8px 20px var(--color-shadow);
  transform: scale(1.04);
}
nav .btn-primary {
  margin-left: 20px;
}
nav .btn-primary, nav .btn-secondary {
  margin-bottom: 0;
}

/* HEADER & NAVIGATION */
header {
  background: #fff7ec;
  border-bottom: 2.5px solid #d87607;
  box-shadow: 0 4px 28px var(--color-shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 49;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 80px;
}
header a img {
  height: 62px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1D4C32;
  background: none;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
header nav a:hover, header nav a:focus {
  background: #ffe498;
  color: #d87607;
}
header nav a.active {
  color: #d87607;
  background: #ffe498;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1D4C32;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-left: 10px;
  outline: none;
}
.mobile-menu-toggle:focus {
  background: #ffe498;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: #FFF7EC;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform 0.37s cubic-bezier(.69,.02,.19,1.06);
  box-shadow: -9px 0 24px var(--color-shadow);
  will-change: transform;
}
main {
  word-break: break-word;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #d87607;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  border-radius: 18px;
  padding: 8px 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.09s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ffe498;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 48px 30px 18px 36px;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1D4C32;
  background: none;
  padding: 12px 10px;
  border-radius: 16px;
  width: 100%;
  text-align: left;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffe498;
  color: #d87607;
}

@media (min-width: 0px) and (max-width: 1050px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* MAIN & SECTIONS */
main {
  background: var(--color-accent);
  padding-top: 18px;
  padding-bottom: 36px;
  min-height: 480px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}

/* LISTS */
ul, ol {
  margin-left: 24px;
}
ul li, ol li {
  margin-bottom: 9px;
  line-height: 1.55;
  padding-left: 4px;
}
ul li img {
  margin-right: 7px;
  vertical-align: middle;
  height: 22px;
}

/* RESPONSIVE FLEX PATTERNS */
@media (max-width: 768px) {
  .container,
  .content-wrapper,
  section,
  .feature-grid,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column!important;
    gap: 20px!important;
  }
  .feature-grid > div {
    min-width: 100%;
    border-radius: 18px;
  }
  .testimonial-card,
  .card {
    min-width: 200px;
    padding: 18px 12px;
    box-shadow: 0 2px 10px var(--color-shadow);
  }
}

/* TABLET AND UP */
@media (min-width: 769px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: row!important;
  }
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}

/* FOOTER */
footer {
  background: var(--color-footer-bg);
  color: #fffbe5;
  padding: 54px 0 24px 0;
  font-size: 1rem;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer a img {
  height: 53px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--color-footer-alt);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 2px 0;
  border-radius: 10px;
  transition: background 0.12s, color 0.09s;
}
footer nav a:hover, footer nav a:focus {
  background: #ffe498;
  color: #1D4C32;
}
.footer-contact ul {
  list-style-type: none;
  margin-left: 0;
  padding: 0;
}
.footer-contact li {
  margin-bottom: 4px;
  color: #ffe498;
  font-size: 0.98rem;
}
.footer-contact li img {
  height: 21px;
  margin-right: 6px;
  vertical-align: middle;
  filter: grayscale(100%) brightness(130%);
}
.footer-social {
  display: flex;
  gap: 13px;
}
.footer-social a img {
  height: 35px;
  margin-right: 0;
  filter: grayscale(0%) sepia(55%) contrast(110%) drop-shadow(0 2px 2px #0001);
  transition: filter 0.18s;
}
.footer-social a:hover img {
  filter: brightness(1.2) sepia(100%) saturate(200%) hue-rotate(-10deg);
}

@media (max-width: 1050px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  z-index: 1500;
  left: 0; right: 0;
  bottom: 0;
  padding: 22px 18px;
  background: #ede5d2;
  border-top: 2px solid #d87607;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 16px var(--color-shadow);
  animation: cookieBannerIn 0.7s cubic-bezier(.25,1,.5,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(88px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 12px;
  color: #1D4C32;
  font-size: 1.07rem;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 6px var(--color-shadow);
  cursor: pointer;
  transition: background 0.17s, color 0.11s, box-shadow 0.13s;
  outline: none;
}
.cookie-banner .accept {
  background: #d87607;
  color: #fffbe5;
  border: 2px solid #d87607;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ec972e;
  color: #fff;
  box-shadow: 0 4px 12px var(--color-shadow);
}
.cookie-banner .reject {
  background: transparent;
  color: #d87607;
  border: 2px solid #d87607;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ffe498;
  color: #ae7c30;
}
.cookie-banner .settings {
  background: #ede5d2;
  color: #62889d;
  border: 2px solid #62889d;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #ffe498;
  color: #315742;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(29,76,50,0.62);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.32s cubic-bezier(.5,1,.25,1) 1;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  min-width: 320px;
  max-width: 95vw;
  background: #fffdf7;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 32px var(--color-shadow);
  padding: 36px 22px 22px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalPop 0.38s cubic-bezier(.21,1.65,.35,1) 1;
}
@keyframes cookieModalPop {
  from { transform: scale(0.85) translateY(24px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: #d87607;
  text-shadow: 0 1px 0 #fffbe5;
  margin-bottom: 9px;
}
.cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-cat .toggle {
  margin-left: auto;
  background: #ffe498;
  border-radius: 16px;
  border: 2px solid #d87607;
  width: 43px;
  height: 26px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: border 0.14s;
}
.cookie-cat .toggle[aria-checked="true"] {
  background: #d87607;
  border-color: #d87607;
}
.cookie-cat .toggle span {
  display: block;
  width: 18px;
  height: 18px;
  background: #fffbe5;
  border-radius: 50%;
  margin-left: 3px;
  transition: transform 0.23s;
}
.cookie-cat .toggle[aria-checked="true"] span {
  background: #ffe498;
  transform: translateX(17px);
}
.cookie-cat .toggle[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-modal .cookie-btns {
  justify-content: flex-end;
  gap: 15px;
}
.cookie-modal .close {
  background: none;
  border: none;
  position: absolute;
  top: 18px; right: 18px;
  font-size: 2.1rem;
  color: #e96e6a;
  cursor: pointer;
  border-radius: 12px;
  padding: 0 14px;
  transition: background 0.1s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #ffe498;
  color: #ae7c30;
}

/* MISC STYLES */
::-webkit-scrollbar {
  width: 11px;
  background: #e7e1d4;
}
::-webkit-scrollbar-thumb {
  background: #d9cba2;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d87607;
}

/* Utility classes */
.hide-visually {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Animations & Transitions */
.card, .feature-grid > div, .btn-primary, .btn-secondary, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s, background 0.26s, color 0.15s;
}

/* Fix content separation */
section + section {
  margin-top: 22px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* Accessibility improvements */
:focus-visible {
  outline: 2.5px dashed #d87607;
  outline-offset: 2px;
}

/* END OF STYLE.CSS */
