/* ===== CSS RESET & 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8FAFB;
  color: #232622;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3C34;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ===== ROOT PASTEL COLORS ===== */
:root {
  --primary: #1A3C34;
  --primary-pastel: #c4e2da;
  --secondary: #E6DDC4;
  --secondary-pastel: #fcfaee;
  --accent: #C0842C;
  --accent-soft: #ffe8c7;
  --bg: #F8FAFB;
  --card-bg: #FFFFFF;
  --muted: #6A7B7A;
  --heading: #1A3C34;
  --text: #232622;
  --shadow: 0 4px 32px 0 rgba(31,60,52,0.06), 0 1.5px 8px 0 rgba(193, 132, 44, 0.04);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.2s cubic-bezier(.31,.78,.52,1);
}

/* ===== TYPOGRAPHY ===== */
body, input, textarea, button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 0.7em;
}
p, .text-section ul, .text-section li, li, span, strong {
  font-size: 1rem;
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* ===== GLOBALS & LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: none;
}
.text-section {
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* ===== FLEX ROW PATTERNS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  min-width: 250px;
  flex: 1 1 280px;
  transition: box-shadow .18s, transform .18s;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary-pastel);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px 0 rgba(166,180,204,0.14);
  margin-bottom: 20px;
  max-width: 490px;
  margin-left: auto;
  margin-right: auto;
  border: 1.5px solid #E0E6DC;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== FEATURE GRID (UNTERSEKTIONEN) ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.feature-grid > div {
  background: linear-gradient(120deg, #f6f8f6 60%, #fcf8ff 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 22px;
  min-width: 220px;
  max-width: 290px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #F2ECE2;
  transition: box-shadow .18s, transform .18s;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom:6px;
}
.feature-grid h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.feature-grid p {
  color: var(--muted);
  font-size: 1rem;
}
.feature-grid strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 8px;
}
.feature-grid a.cta.small {
  margin-top: 16px;
}

.feature-grid > div:hover, .card:hover {
  box-shadow: 0 12px 36px 0 rgba(31,60,52,0.11), 0 2.5px 14px 0 rgba(193, 132, 44, 0.07);
  transform: translateY(-3px) scale(1.025);
}

/* ===== CATEGORY FILTERS ===== */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  justify-content: center;
}
.category-filters span {
  background: #F3F8F5;
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 7px 19px;
  font-size: 1em;
  box-shadow: 0 0.5px 7px 0 rgba(170,180,165,0.04);
  border: 1px solid #e2ede8;
  transition: background .15s, color .15s;
}
.category-filters span:hover {
  background: #e1f7ec;
  color: #306d52;
}

/* ===== BLOG POST LIST ===== */
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 14px;
}
.blog-post-list li {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
}
.blog-post-list li:hover {
  box-shadow: 0 12px 34px 0 rgba(170, 150, 96, 0.10);
  transform: translateY(-2px) scale(1.015);
}
.blog-post-list h3 {
  font-size: 1.15rem;
  color: var(--accent);
}
.blog-post-list span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.97rem;
}
.blog-post-list p {
  color: var(--muted);
}
.blog-categories {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.blog-categories span {
  padding: 4px 14px;
  background: #f7f7fb;
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.93em;
}

/* ===== MAIN NAV BAR ===== */
header {
  background: var(--card-bg);
  box-shadow: 0 4px 12px 0 rgba(99,123,93,0.08);
  position: sticky;
  top: 0;
  z-index: 110;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 18px;
  min-height: 68px;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05em;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: background .14s, color .14s;
}
.main-nav a.cta.primary {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 24px;
  margin-left: 15px;
  box-shadow: 0 2px 8px 0 rgba(192,132,44,0.11);
}
.main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  background: #f0f5f2;
  color: #29856f;
}
.main-nav a.cta.primary:hover {
  background: var(--accent);
  color: #fff;
}
.main-nav img {
  width: 38px;
  height: 38px;
  margin-right: 12px;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--accent-soft);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  color: var(--primary);
  z-index: 301;
  box-shadow: 0 2px 7px 0 rgba(190,140,90,0.11);
  cursor: pointer;
  transition: background .15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FFFFFF;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
  transform: translateX(100vw);
  transition: transform .28s cubic-bezier(.42,.2,.36,1);
  box-shadow: -2px 0 40px 0 rgba(80,120,99,0.12);
  padding-top: 10px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: var(--accent-soft);
  border: none;
  color: var(--primary);
  font-size: 2rem;
  align-self: flex-end;
  margin: 9px 22px 0 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background .12s;
  z-index: 1001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 36px 0 34px;
  width: 100%;
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 1.13em;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: var(--radius-md);
  transition: background .12s, color .15s;
}
.mobile-nav a.cta.primary {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 24px;
  margin: 6px 0 0 0;
  text-align: center;
  font-size: 1.11em;
  font-weight: bold;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #e6eeea;
  color: #204c40;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 4px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(:first-child) {
    font-size: 0.99em;
    padding: 10px 11px;
  }
  .main-nav a.cta.primary {
    margin-left: 8px;
  }
}
@media (max-width: 780px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Ensure mobile menu covers fully and is on top */
@media (max-width: 780px) {
  .mobile-menu {
    display: flex;
  }
}

/* ===== HERO/CTA BUTTONS ===== */
.cta, .cta.primary, .cta.small {
  display: inline-block;
  padding: 13px 29px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13em;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 8px 0 rgba(192,132,44,0.13);
  cursor: pointer;
  transition: background .17s, color .17s, transform .16s;
  line-height: 1.1;
  margin-top: 7px;
  outline: none;
  text-align: center;
}
.cta.primary {
  background: var(--accent);
  color: #fff;
}
.cta.small {
  padding: 9px 21px;
  font-size: 1em;
  background: var(--primary);
  color: #fff;
  border-radius: 19px;
}
.cta.primary:hover, .cta:hover {
  background: #9A6100;
  color: #fff;
  transform: scale(1.03);
}
.cta.small:hover {
  background: #307A64;
}

/* ===== SEARCH BAR (Read-only Example) ===== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F3F7F7;
  border-radius: 18px;
  padding: 9px 17px;
  box-shadow: 0 1px 5px 0 rgba(166,180,165,0.04);
  margin: 12px 0 0 0;
  max-width: 420px;
}
.search-bar input {
  border: none;
  background: transparent;
  font-size: 1em;
  outline: none;
  flex: 1 1 0px;
  color: var(--primary);
}
.search-bar button {
  background: var(--accent-soft);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  opacity: .5;
}
.search-bar button img {
  width: 22px;
  height: 22px;
}


/* ===== TESTIMONIALS ===== */
.testimonial-card {
  font-size: 1em;
  color: #232622;
  background: var(--secondary-pastel);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  border: 1.5px solid #E0E6DC;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 26px 22px 26px;
  /* Readability color contrast below! */
}
.testimonial-card p {
  color: #1A3C34;
  font-size: 1.09em;
  font-style: italic;
  margin-bottom: 7px;
  text-align: center;
}
.testimonial-card strong {
  font-weight: 600;
  color: #9A6100;
  text-align: center;
  font-size: 1em;
}

/* ENHANCE color contrast for reviews */
@media (max-width: 780px) {
  .testimonial-card {
    padding: 18px 8px;
    max-width: 97vw;
  }
}

/* ===== CARDS/LISTS ===== */
.card {
  padding: 30px 22px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

/* ===== FAQ LIST & CONTACT BLOCKS ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.faq-item {
  background: #f8fdf6;
  border-radius: var(--radius-sm);
  box-shadow: 0 0.5px 6px 0 rgba(185,200,190,0.05);
  padding: 17px 18px;
  color: var(--primary);
}
.faq-item h3 {
  margin-bottom: 7px;
  font-size: 1.09rem;
  color: var(--primary);
}
.faq-item p {
  color: var(--muted);
}
.contact-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.info-block {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f9f8;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 1em;
  color: var(--primary);
  min-width: 210px;
  box-shadow: 0 0.5px 7px 0 rgba(160,185,170,0.07);
}
.info-block strong {
  margin-right: 7px;
}
.info-block img {
  width: 28px;
  height: 28px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--secondary);
  padding: 48px 0 19px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 -1px 10px 0 rgba(61, 78, 60, 0.04);
}
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 700;
  font-size: 1em;
  transition: color .14s;
  background: none;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 7px;
  color: var(--primary);
  font-size: .99em;
}
.footer-brand {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 11px;
  font-size: 1em;
}
.footer-brand img {
  width: 36px;
  height: 36px;
}
.footer-brand span {
  color: #886d2c;
  font-size: .98em;
}

@media (max-width: 600px) {
  footer {
    padding: 36px 0 13px 0;
  }
  .footer-brand img {
    width: 28px;
    height: 28px;
  }
}

/* ===== RESPONSIVE LAYOUT ===== */
@media (max-width: 1023px) {
  .feature-grid {
    gap: 16px;
  }
  .category-filters {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 89vw;
  }
  .content-grid,
  .feature-grid {
    flex-direction: column;
    align-items: center;
  }
  .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    gap: 13px;
    min-width: 0;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .section {
    margin-bottom: 35px;
    padding: 25px 7px;
  }
}

/* ===== SOFT PASTEL ATMOSPHERE DECOR ===== */
body {
  background: linear-gradient(110deg, #F8FAFB 75%, #EDE7FC 100%);
}

/* ===== SPACING & WHITE SPACE RULES ===== */
.section, .content-wrapper, .feature-grid > div, .card, .testimonial-card, .faq-item, .blog-post-list li {
  margin-bottom: 20px;
}
.feature-grid > div, .card, .testimonial-card, .faq-item, .info-block, .blog-post-list li {
  margin-right: 0;
}

/* ===== MICRO-INTERACTIONS & ANIMATIONS ===== */
a, button, .cta, .category-filters span, .card, .feature-grid > div, .faq-item {
  transition: var(--transition);
}

.card:focus-within, .feature-grid > div:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.category-filters span:focus-visible, .btn:focus-visible {
  border: 2px solid #209c6c;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  border-top: 2px solid #e2dcc3;
  box-shadow: 0 -2px 12px 0 rgba(150,110,10,0.07);
  padding: 18px 18px 19px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  z-index: 999999;
  font-size: 1.05em;
  animation: cookie-in .4s cubic-bezier(.15,.88,.52,1);
}
@keyframes cookie-in {
  from { transform: translateY(85px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  color: var(--primary);
  font-size: 1em;
}
.cookie-consent-banner .cookie-btn {
  padding: 10px 19px;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  margin-left: 7px;
  margin-top: 2px;
  transition: background .15s;
  cursor: pointer;
}
.cookie-consent-banner .accept {
  background: var(--accent);
  color: #fff;
}
.cookie-consent-banner .reject {
  background: #E6E6E6;
  color: #A0862e;
}
.cookie-consent-banner .settings {
  background: var(--primary-pastel);
  color: var(--primary);
}
.cookie-consent-banner .cookie-btn:hover {
  filter: brightness(1.13);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,110vh);
  min-width: 310px;
  max-width: 94vw;
  background: #fffefb;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 44px 0 rgba(120, 96 ,0, 0.23);
  padding: 32px 25px 22px 25px;
  z-index: 9999999;
  opacity: 0;
  transition: transform .32s cubic-bezier(.25,1,.42,.97), opacity .29s;
  visibility: hidden;
  border: 2px solid #eadcba;
}
.cookie-modal.open {
  transform: translate(-50%,-56vh);
  opacity: 1;
  visibility: visible;
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.25em;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}
.cookie-modal .category-toggle {
  width: 38px;height:22px;
  background: #efeacc;
  border-radius: 17px;
  display: inline-block;
  position: relative;
}
.cookie-modal .category-toggle input[type=checkbox] {
  display: none;
}
.cookie-modal .category-toggle label {
  display: block;
  width: 38px; height:22px;
  background: #e8e3c8;
  border-radius: 17px;
  cursor: pointer;
  position: absolute;
  left: 0; top: 0;
  transition: background .18s;
}
.cookie-modal .category-toggle.active label {
  background: #C0842C;
}
.cookie-modal .category-toggle .dot {
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top:2px; left:2px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.07);
  transition: left .17s;
}
.cookie-modal .category-toggle.active .dot{
  left:18px;
}
.cookie-modal .cookie-btn {
  margin-top: 15px;
  margin-bottom:4px;
}
.cookie-modal .category-label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .desc {
  font-size: 0.98em;
  color: #96842c;
  margin-left: 6px;
}
.cookie-modal .close-modal {
  position: absolute;
  top:13px; right:21px;
  font-size: 1.7em;
  background: var(--accent-soft);
  color: var(--accent);
  border: none;
  border-radius: 50%;
  width:36px;height:36px;
  display: flex;
  align-items: center;justify-content: center;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .close-modal:hover { background: var(--accent); color: #fff; }

/* Always enabled category styling */
.cookie-modal .category-toggle[aria-disabled="true"] label {
  background:#dbdbdb;
  cursor: default;
}
.cookie-modal .category-toggle[aria-disabled="true"] .dot {
  background: #eeeae3;
}

/* ===== UTILITY ===== */
.text-section ul {
  list-style: disc inside;
  margin-bottom: 12px;
}
.text-section li {
  margin-bottom: 5px;
}

/* ===== SCROLLBAR (subtly soft) ===== */
::-webkit-scrollbar {
  width: 11px;
  background: #F8FAFB;
  border-radius: 11px;
}
::-webkit-scrollbar-thumb {
  background: #EDEDED;
  border-radius: 11px;
}

/* REMOVE horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
}
