/* =====================
   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,
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F2ECE2;
  color: #482e22;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  background-color: #F2ECE2;
  position: relative;
}

:root {
  --color-primary: #69453A;
  --color-secondary: #427364;
  --color-accent: #F2ECE2;
  --color-dark: #482e22;
  --color-card: #fffaf3;
  --color-green: #5B7D4D;
  --color-warning: #cfa16a;
  --color-success: #5B7D4D;
  --shadow-lg: 0 8px 32px rgba(67,63,47,0.14);
  --shadow-md: 0 2px 8px rgba(67,63,47,0.09);
  --shadow-sm: 0 1px 2px rgba(67,63,47,0.05);
  --radius-lg: 2.2em;
  --radius-md: 1.1em;
  --radius-sm: 0.5em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
a {
  color: var(--color-green);
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: var(--color-primary);
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

p, ul, ol, address {
  font-size: 1.085rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-dark);
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 22px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 6px;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* ===============
   LAYOUT BASICS
   =============== */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main {
  flex: 1 1 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  min-width: 240px;
  transition: box-shadow .19s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(67,63,47,0.15);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--color-secondary);
  color: #263321;
  max-width: 540px;
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(67,63,47,0.10);
}
.testimonial-card p {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #263321;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
   HERO SECTION
   =============== */
.hero {
  padding: 64px 0 40px 0;
  background-color: #e9e3d3;
  background-image: url('../assets/organic-bg1.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  border-bottom-left-radius: 180px 80px;
  border-bottom-right-radius: 68px 30px;
  min-height: 320px;
  box-shadow: 0 2px 54px -22px #78624713;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.25rem;
}
.hero p {
  font-size: 1.13rem;
}

/* ================
   FEATURE GRID
   ================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 6px 0;
}
.feature-grid > div {
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px 20px 24px;
  flex: 1 1 230px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow .15s, border-color .15s;
  border-left: 5px solid var(--color-green);
}
.feature-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.feature-grid > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 18px #69453A16;
}
.feature-grid h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.feature-grid p {
  font-size: 1rem;
  color: #3b2d18;
}

/* ====================
   BUTTONS & CTAs
   ==================== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  min-width: 158px;
  padding: 12px 34px;
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  border: none;
  border-radius: 46px;
  cursor: pointer;
  outline: none;
  text-align: center;
  box-shadow: 0 2px 9px #69453A14;
  transition: background .16s, color .14s, transform .12s;
  margin-top: 12px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary);
  color: #fffaef;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: #f5efe4;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* =====================
   NAVIGATION & HEADER
   ===================== */
header {
  width: 100%;
  background: #fffaf3;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 16px -12px #553F3A16;
  border-bottom: 2px solid #e9e3d3;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 78px;
}
.main-nav a {
  display: flex;
  align-items: center;
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.07rem;
  padding: 6px 14px;
  text-decoration: none;
  border-radius: 30px;
  transition: background .16s, color .15s;
}
.main-nav a.btn-primary {
  margin-left: auto;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 4px;
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ============
   FOOTER
   ============ */
footer {
  background: var(--color-dark);
  color: #fff;
  padding: 40px 0 15px 0;
  margin-top: 32px;
  border-top-left-radius: 85px 30px;
  border-top-right-radius: 180px 60px;
  box-shadow: 0 -1px 18px #69453A09;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  gap: 22px;
}
.footer-menu a {
  color: #ece5da;
  font-size: 1.05rem;
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 500;
  opacity: 0.88;
}
.footer-menu a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links img {
  width: 32px;
  height: 32px;
  opacity: 0.92;
  transition: opacity .16s;
}
.social-links img:hover {
  opacity: 1;
}
.legal-links {
  color: #b0a594;
  font-size: 0.96rem;
  margin-top: 6px;
}

/* ===============
   TEXT/CONTENT
   =============== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul {
  margin-left: 22px;
  margin-bottom: 0;
}
.text-section h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  margin-top: 10px;
}
.text-section p {
  margin-bottom: 8px;
  color: var(--color-dark);
}
address {
  font-style: normal;
  margin-bottom: 16px;
  color: var(--color-primary);
}

/* Map placeholder (kontakt.html) */
.map-embed {
  background: #ebf0e4;
  border: 1px solid #ddddcc;
  border-radius: var(--radius-md);
  padding: 22px;
  font-style: italic;
  color: #5b7d4d;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* ============================
   MOBILE NAVIGATION & SLIDING
   ============================ */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 9px 7px 7px 9px;
  border: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.15rem;
  border-radius: 50%;
  z-index: 51;
  cursor: pointer;
  box-shadow: 0 2px 16px #235b3827;
  transition: background .18s, color .13s, transform .13s;
}
.mobile-menu-toggle:active {
  background: var(--color-primary);
  color: #fff;
  transform: scale(0.95);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffaf3;
  box-shadow: 0 0 32px #82645d31;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,.06,.62,1.06);
  z-index: 600;
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  margin: 30px 26px 12px 0;
  cursor: pointer;
  z-index: 601;
  transition: color .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 38px 34px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.16rem;
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 0;
  border-bottom: 1px solid #ecdfd2;
  border-radius: 0;
  transition: background .13s, color .13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
    height: 64px;
  }
  .main-nav a {
    font-size: 0.98rem;
    padding: 4px 10px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    padding: 4px 0;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 4px;
    height: 60px;
  }
  body {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 9px;
    min-width: 0;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 10px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .hero {
    padding: 34px 0 18px 0;
    min-height: 190px;
    border-bottom-left-radius: 60px 30px;
    border-bottom-right-radius: 38px 15px;
  }
  .section {
    margin-bottom: 34px;
    padding: 26px 7px;
    border-radius: var(--radius-md);
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px;
    gap: 8px;
  }
  .feature-grid > div {
    max-width: 100%;
    border-radius: var(--radius-sm);
    padding: 16px 12px 10px 14px;
    margin-bottom: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Utility and responsive spacing */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.54rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}

/* ===============
   COOKIE BANNER
   =============== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffaf4;
  color: var(--color-dark);
  border-top: 2px solid #e4dbc5;
  box-shadow: 0 -3px 24px #92796019;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 9000;
  padding: 24px 20px 26px 20px;
  font-size: 1.04rem;
  animation: banner-slidein 0.5s cubic-bezier(.73,.36,.41,.94);
}
@keyframes banner-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner__actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  appearance: none;
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  padding: 10px 32px;
  cursor: pointer;
  margin: 0 2px;
  transition: background .14s, color .13s, box-shadow .15s;
  box-shadow: 0 1px 8px #69453A0a;
}
.cookie-btn.accept {
  background: var(--color-success);
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #ecd1b7;
  color: var(--color-primary);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #f2caa4;
  color: var(--color-dark);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-primary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(65,51,32,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.22s cubic-bezier(.63,.07,.62,.98);
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fffaf3;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 34px #6E664017, 0 0px 1px #24231C0a;
  width: 98vw;
  max-width: 410px;
  padding: 36px 30px 28px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-slideup 0.26s cubic-bezier(.83,.13,.53,1.08);
}
@keyframes modal-slideup {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  margin-left: 9px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #eadaba;
  border-radius: 22px;
  transition: background .22s;
}
.cookie-modal .switch input:checked+.slider {
  background: var(--color-green);
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 4px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 0 2px #a3a08d;
}
.cookie-modal .switch input:checked+.slider:before {
  transform: translateX(14px);
}
.cookie-modal .category-desc {
  font-size: .97rem;
  color: #6b5c4c;
  margin-bottom: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 19px;
  top: 14px;
  font-size: 1.5rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color .16s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: var(--color-primary);
}

/* ==============
   MISCELLANEOUS
   ============== */
ol {
  margin-left: 22px;
  margin-bottom: 10px;
}
li::marker {
  color: var(--color-primary);
}
hr {
  border: none;
  height: 1.5px;
  background: #dbcaae;
  border-radius: 1px;
  margin: 36px 0 24px 0;
}

::-webkit-scrollbar {
  width: 13px;
  background: #f7f3ea;
  border-radius: 15px;
}
::-webkit-scrollbar-thumb {
  background: #ccbfae;
  border-radius: 13px;
}

/* ===============
   ACCESSIBILITY
   =============== */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/* ============== */
/*  END OF CSS    */
/* ============== */
