/* ===========================
   NATURE_ORGANIC STYLE CSS
   For Kovar Bench – Ressourcen mit Geschichte
   =========================== */

/* 1. CSS RESET AND 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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F5EADD; /* accent as page background */
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25422F;
  background: #F5EADD;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #25422F;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #71997C;
  outline-offset: 2px;
}
strong {
  font-weight: 700;
}

/* 2. TYPOGRAPHY SCALE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #25422F;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
  font-weight: 700;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
  font-weight: 600;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  font-weight: 500;
}
p, ul, ol, address {
  font-size: 1rem;
  color: #25422F;
  line-height: 1.7;
  margin-bottom: 16px;
}
ul, ol { margin-left: 1.4em; }
li { margin-bottom: 8px; }

/* 3. CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features-grid, .features-icons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.features-grid > div,
.features-icons-list > div {
  background: #fff;
  border-radius: 20px 40px 28px 8px;
  box-shadow: 0 4px 16px rgba(37,66,47,0.11);
  padding: 28px 20px 24px 24px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  min-width: 250px;
  transition: box-shadow .20s, transform .20s;
  border: 1px solid #E8E2D6;
}
.features-grid > div:hover, .features-icons-list > div:hover {
  box-shadow: 0 8px 32px rgba(37,66,47,0.14);
  transform: translateY(-4px) scale(1.01);
}
.features-icons-list img {
  height: 44px;
  width: 44px;
  margin-bottom: 10px;
  filter: brightness(0.75) sepia(0.16) hue-rotate(65deg) saturate(0.5);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px 28px 20px 28px;
  box-shadow: 0 3px 14px rgba(37, 66, 47, 0.09);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  border: 1px solid #E8E2D6;
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 220px;
  transition: box-shadow .20s, transform .17s;
}
.card:hover {
  box-shadow: 0 7px 30px rgba(37, 66, 47, 0.16);
  transform: scale(1.012);
}

.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;
}

/* Footer columns */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 0;
  align-items: flex-start;
}
.footer-columns > div {
  flex: 1 1 190px;
  min-width: 180px;
  max-width: 280px;
}
footer {
  background: #25422F;
  color: #F5EADD;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 34px;
  padding: 44px 0 32px 0;
  margin-top: 40px;
}
footer nav a,
footer a { color: #F5EADD; transition: color .18s; }
footer nav a:hover,
footer a:hover { color: #A49A87; }
footer h4 {
  color: #F5EADD;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}
footer address {
  font-style: normal;
  color: #F5EADD;
  margin-bottom: 0;
  font-size: 0.97rem;
  line-height: 1.5;
}
.footer-columns img {
  max-height: 48px;
  margin-bottom: 10px;
}

/* 4. BUTTONS & CTA */
.cta-btn, .mobile-nav a.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25422F;
  color: #F5EADD;
  font-family: 'Roboto Slab', serif;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 30px 10px 24px 10px;
  border: none;
  padding: 14px 32px;
  box-shadow: 0 2px 10px rgba(37, 66, 47, 0.08);
  margin-top: 10px;
  cursor: pointer;
  transition: background .17s, box-shadow .15s, transform .14s;
  outline: none;
  letter-spacing: .02em;
}
.cta-btn:hover, .cta-btn:focus, .mobile-nav a.cta-btn:hover {
  background: #71997C;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 16px rgba(37, 66, 47, 0.13);
}
nav a.cta-btn {
  margin-left: 16px;
}

/* Mobile Nav links CTA style */
.mobile-nav a.cta-btn {
  background: #25422F;
  color: #fff;
  border-radius: 30px;
  margin-top: 12px;
}

/* 5. NAVIGATION */
header {
  background: #fff;
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(37,66,47,0.04);
  border-radius: 0 0 22px 34px;
  padding: 0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: #25422F;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 16px 8px 18px 4px;
  padding: 8px 14px;
  transition: background .11s, color .15s;
}
header nav a:hover, header nav a:focus {
  background: #A49A87;
  color: #fff;
}
header img {
  max-height: 54px;
  padding-right: 12px;
}

/* 6. TESTIMONIALS */
.testimonial-card {
  background: #fff;
  border-radius: 24px 34px 14px 20px;
  box-shadow: 0 2px 12px rgba(114,153,124,0.13);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid #A49A87;
  min-width: 250px;
  max-width: 600px;
  font-size: 1.11rem;
  color: #25422F;
  line-height: 1.6;
  transition: box-shadow .20s, border-color .18s;
}
.testimonial-card span {
  color: #71997C;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  margin-left: 10px;
  font-weight: 600;
}
.testimonial-card:hover {
  border-color: #25422F;
  box-shadow: 0 6px 18px rgba(114,153,124,0.19);
}

/* 7. FEATURE ITEMS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 24px 18px 20px 10px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(37, 66, 47, 0.06);
  border: 1px solid #E8E2D6;
}

/* 8. FORMS & ADDRESS */
address a {
  text-decoration: underline;
  color: #A49A87;
  transition: color .15s;
}
address a:hover {
  color: #25422F;
}

/* 9. RESPONSIVE DESIGN */
@media (max-width: 1000px) {
  .footer-columns > div {
    min-width: 140px;
    max-width: 100%;
    flex: 1 1 150px;
  }
}
@media (max-width: 820px) {
  .container {
    max-width: 98vw;
  }
  .footer-columns {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .content-wrapper,
  .features-grid,
  .features-icons-list,
  .content-grid,
  .text-image-section,
  .card-container {
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
  }
  .footer-columns {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 560px) {
  html {
    font-size: 14px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .features-grid > div,
  .features-icons-list > div,
  .card {
    min-width: 0;
    padding: 16px 12px 14px 14px;
  }
  .card {
    max-width: 100%;
  }
}

/* 10. BURGER MENU (Mobile Navigation) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 105;
  width: 48px;
  height: 48px;
  background: #25422F;
  color: #F5EADD;
  border: none;
  border-radius: 24px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,66,47,0.13);
  transition: background .15s, transform .14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #71997C;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(37,66,47,0.90);
  z-index: 200;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .33s cubic-bezier(.77,0,.18,1), opacity .21s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F5EADD;
  font-size: 2.1rem;
  margin: 22px 28px 0 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 206;
  transition: color .11s, transform .13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F3C879;
  transform: scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #F5EADD;
  padding: 14px 24px;
  border-radius: 20px 12px 18px 10px;
  width: 90vw;
  text-align: left;
  transition: background .14s, color .12s;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A49A87;
  color: #fff;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* 11. COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10000;
  width: 100vw;
  background: #fff;
  color: #25422F;
  box-shadow: 0 -2px 16px rgba(37,66,47,0.09);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 16px 18px 16px;
  align-items: center;
  min-height: 92px;
  font-size: 1.08rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 34px;
  opacity: 1;
  transition: transform .25s, opacity .2s;
  box-sizing: border-box;
}
.cookie-banner.hide {
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 30px 10px 14px 10px;
  border: none;
  font-size: 1.04rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  cursor: pointer;
  background: #25422F;
  color: #F5EADD;
  transition: background .14s, color .11s, box-shadow .12s;
  margin-right: 2px;
  margin-bottom: 0;
  box-shadow: 0 1px 5px rgba(114,153,124,0.06);
  letter-spacing: .01em;
}
.cookie-btn.secondary {
  background: #A49A87;
  color: #fff;
}
.cookie-btn:focus, .cookie-btn:hover, .cookie-btn.secondary:hover {
  background: #71997C;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,66,47,0.09);
}

/* Cookie Modal */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,66,47,0.7);
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-bg.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 30px 16px 34px 10px;
  max-width: 540px;
  width: 90vw;
  padding: 36px 26px 24px 26px;
  box-shadow: 0 8px 40px rgba(37,66,47,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fade-in-modal .29s cubic-bezier(.51,-0.07,.2,1.1);
  color: #25422F;
}
@keyframes fade-in-modal { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.cookie-modal h3 {
  font-size: 1.35rem;
  font-family: 'Roboto Slab', serif;
  margin-bottom: 16px;
  color: #25422F;
}
.cookie-modal-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal-category label {
  font-weight: 600;
  margin-right: 8px;
  min-width: 120px;
  color: #71997C;
  font-family: 'Roboto Slab', serif;
}
.cookie-modal-category .toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #E8E2D6;
  border-radius: 13px;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transition: background .18s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #25422F;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(37,66,47,0.07);
  transition: transform .18s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}
.cookie-modal .cookie-btns {
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #A49A87;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color .11s;
  z-index: 2;
  padding: 0;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #25422F;
}

/* 12. CONTACT INFO */
.contact-info {
  display: flex;
  gap: 40px;
  padding: 10px 0;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-info address {
  min-width: 200px;
  flex: 0 1 210px;
}
@media (max-width:780px) {
  .contact-info {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* 13. ACCENT PATTERNS – NATURE ORGANIC */
.section {
  background: linear-gradient(108deg, #F5EADD 86%, rgba(193, 180, 157, 0.09) 100%);
  border-radius: 30px 16px 38px 12px;
  box-shadow: 0 2px 10px rgba(37,66,47,0.04);
}
.features-grid > div, .features-icons-list > div, .feature-item {
  background: linear-gradient(101deg,#fff 86%,rgba(167,165,123,0.13) 100%);
  border-radius: 28px 22px 18px 16px;
  box-shadow: 0 2px 15px rgba(151,167,138,0.08);
}

/* 14. MISCELLANEOUS */
::-webkit-scrollbar {
  width: 8px;
  background: #F5EADD;
}
::-webkit-scrollbar-thumb {
  background: #C9C4B6;
  border-radius: 8px;
}

hr {
  border: none;
  border-top: 1.5px solid #E8E2D6;
  margin: 22px 0;
}

/* Micro-interactions for cards & buttons */
.card, .features-grid > div, .features-icons-list > div, .feature-item, .testimonial-card {
  transition: box-shadow .15s, transform .14s;
}
.card:hover, .features-grid > div:hover, .features-icons-list > div:hover, .feature-item:hover {
  box-shadow: 0 6px 22px rgba(114,153,124,0.14);
  transform: translateY(-3px) scale(1.012);
}

/* 15. HIDE JS-TRIGGERED ELEMENTS BY DEFAULT */
.mobile-menu, .cookie-modal-bg, .cookie-modal { display: none; }

/* 16. OVERRIDE WHEN JS ADDS OPEN CLASSES */
.mobile-menu.open, .cookie-modal-bg.open, .cookie-modal.open { display: flex; }


/* =====================
 END OF NATURE_ORGANIC THEME CSS
 ===================== */
