/* ======== CSS RESET & BASE ======== */
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;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #FFFFFF;
  color: #24504A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #24504A;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:focus {
  outline: 2px solid #B3581C;
  outline-offset: 2px;
}
strong {
  font-weight: 600;
}

/* ======== TYPOGRAPHY ======== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bitter', Georgia, serif;
  color: #24504A;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, ul li, ol li {
  font-size: 1rem;
  color: #24504A;
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Bitter', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #375f5b;
  border-left: 4px solid #EADFB4;
  padding-left: 16px;
  margin-bottom: 12px;
}

/* ======== CONTAINER & LAYOUT ======== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAFAF8;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(36,80,74,0.03);
}

/* Card containers - used for grids/lists */
.card-container, .card-grid, .feature-grid, .features-list, .feature-list, .category-list, .regional-dish-list, .dish-types {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.card, .category-list li, .regional-dish-list li, .dish-types li, .feature-list li, .faq-list li, .quick-tips li {
  margin-bottom: 20px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(36,80,74,0.08);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .category-list li:hover, .regional-dish-list li:hover, .dish-types li:hover, .feature-list li:hover  {
  box-shadow: 0 4px 16px 0 rgba(36,80,74,0.16);
  transform: translateY(-4px) scale(1.01);
}

/* For flex-based grid lists with equal widths */
.card-container > *, .feature-grid > *, .features-list > *, .category-list > *, .regional-dish-list > *, .dish-types > * {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ======== BUTTONS & INTERACTIONS ======== */
.cta-button, .cookie-consent-banner button, .cookie-modal button {
  font-family: 'Bitter', serif;
  font-size: 1.125rem;
  padding: 12px 32px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: #24504A;
  color: #FFFFFF;
  font-weight: 600;
  transition: background 0.25s, color 0.2s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 2px 6px 0 rgba(36,80,74,0.08);
  margin-right: 12px;
  margin-bottom: 10px;
  outline: none;
}
.cta-button:hover,
.cookie-consent-banner button:hover,
.cookie-modal button:hover {
  background: #B3581C;
  color: #FFFFFF;
  transform: translateY(-1px) scale(1.015);
  box-shadow: 0 4px 18px 0 rgba(179,88,28,0.13);
}

.cta-button:focus {
  outline: 2px solid #B3581C;
}

/* Accent for alternative style */
.cta-button.secondary {
  background: #EADFB4;
  color: #24504A;
  border: 1px solid #B3581C;
}

.cta-button.secondary:hover {
  background: #B3581C;
  color: #fff;
}

/* Feature links and quick links */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-grid a, .quick-links a {
  display: inline-block;
  background: #EADFB4;
  border-radius: 16px;
  color: #24504A;
  padding: 10px 22px;
  font-family: 'Bitter', serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
.feature-grid a:hover, .quick-links a:hover {
  background: #24504A;
  color: #fff;
  box-shadow: 0 2px 6px 0 rgba(36,80,74,0.11);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.support-links a {
  color: #B3581C;
  font-weight: 600;
  margin-right: 10px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid #B3581C;
  transition: color 0.2s, border-bottom 0.2s;
}
.support-links a:hover {
  color: #24504A;
  border-bottom: 1.5px solid #24504A;
}

/* ======== TESTIMONIALS ======== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(36,80,74,0.10);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card blockquote {
  color: #1F3936;
  border-left: none;
  padding-left: 0;
}
.testimonial-author {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.96rem;
  color: #24504A;
  opacity: 0.95;
  margin-left: 12px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(36,80,74,0.17);
  transform: scale(1.015);
}

.community-quotes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.community-quotes blockquote {
  color: #24504A;
  font-size: 1.08rem;
  border-left: 3px solid #EADFB4;
  padding-left: 12px;
  margin-bottom: 0;
}

/* ======== FLEXBOX SECTIONS & LISTS ======== */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Tag styles */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.category-tags span {
  background: #EADFB4;
  color: #24504A;
  border-radius: 8px;
  padding: 5px 13px;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}

/* Explainer steps */
.explainer-steps, .how-to-guides {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 12px 0;
  counter-reset: sectionCounter;
}
.explainer-steps li, .how-to-guides li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 7px;
  color: #24504A;
}
.explainer-steps li::before, .how-to-guides li::before {
  content: counter(sectionCounter) '. ';
  counter-increment: sectionCounter;
  position: absolute;
  left: 0;
  color: #B3581C;
  font-family: 'Bitter', serif;
  font-size: 1.13rem;
  font-weight: 700;
}

/* FAQ and lists */
.faq-list, .cookie-types, .privacy-summary, .data-rights, .gdpr-summary ul,
.rights-explained ul, .terms-overview ul, .user-obligations ul, .liability-clauses ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 18px 0 8px 0;
}
.faq-list li strong { font-weight: 600; }

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

/* ======== NAVIGATION ======== */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 12px 0 rgba(36,80,74,0.05);
  width: 100%;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  padding: 14px 0 14px 0;
  width: 100%;
}
.main-nav a {
  font-family: 'Bitter', serif;
  color: #24504A;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 16px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EADFB4;
  color: #B3581C;
}
.main-nav img {
  height: 40px;
  width: auto;
  display: block;
  margin-right: 12px;
}
.mobile-menu-toggle {
  display: none;
  background: #EADFB4;
  color: #24504A;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 16px;
  right: 18px;
  cursor: pointer;
  z-index: 1011;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
  box-shadow: 0 2px 8px 0 rgba(36,80,74,0.11);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B3581C;
}
.mobile-menu-toggle:hover {
  background: #B3581C;
  color: #FFF;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F7F6F2;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.63,.04,.17,.99);
  box-shadow: 0 8px 32px 0 rgba(36,80,74,0.20);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #24504A;
  font-size: 2.2rem;
  padding: 20px 26px 8px 0;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.19s, background 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B3581C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  margin-left: 40px;
}
.mobile-nav a {
  color: #24504A;
  font-family: 'Bitter', serif;
  font-size: 1.24rem;
  font-weight: 500;
  padding: 13px 5px 10px 3px;
  border-radius: 14px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:active {
  background: #EADFB4;
  color: #B3581C;
}

/* ======== FOOTER ======== */
footer {
  background: #F8F8F4;
  padding: 32px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-top: 2px solid #EADFB4;
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #24504A;
  font-family: 'Bitter', serif;
  font-size: 1.04rem;
  padding: 5px 10px;
  border-radius: 14px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover {
  background: #EADFB4;
  color: #B3581C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-contact img {
  height: 38px;
}
footer address {
  font-style: normal;
  color: #24504A;
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: center;
}
footer address a {
  color: #B3581C;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
footer address a:hover {
  color: #24504A;
}

/* ======== COOKIE CONSENT ======== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #24504A;
  color: #FFFFFF;
  z-index: 2000;
  width: 100vw;
  padding: 26px 10vw 26px 10vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 -3px 24px 0 rgba(36,80,74,0.21);
  font-family: 'Roboto', Arial, sans-serif;
  /* initial - hidden. show via .show class */
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(.46,.03,.52,.96), opacity 0.25s;
}
.cookie-consent-banner.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-consent-banner p {
  color: #FFFFFF;
  margin: 0 0 8px 0;
  font-size: 1rem;
  line-height: 1.5;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-consent-banner .cta-button,
.cookie-consent-banner .cookie-settings-btn {
  margin-bottom: 0px;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #EADFB4;
  color: #24504A;
  font-weight: 600;
  border: 1px solid #B3581C;
  padding: 12px 22px;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: #B3581C;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(36, 80, 74, 0.14);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FFFFFF;
  color: #24504A;
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(36,80,74,0.16);
  max-width: 370px;
  width: 94vw;
  padding: 34px 24px 30px 24px;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Bitter', serif;
  font-size: 1.22rem;
  color: #24504A;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin: 8px 0;
}
.cookie-modal .cookie-category-desc {
  font-size: 0.93rem;
  color: #526b69;
  margin-left: 32px;
  margin-bottom: 7px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  background: none;
  color: #B3581C;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 10px;
  right: 16px;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover {
  color: #24504A;
}
.cookie-modal input[type='checkbox'][disabled] {
  accent-color: #24504A;
  opacity: 0.6;
  cursor: not-allowed;
}

/* ======= SCANDINAVIAN AESTHETIC - VISUAL ELEMENTS ======= */
.section,
.card, .testimonial-card,
.category-list li, .regional-dish-list li, .dish-types li, .feature-list li, .faq-list li, .quick-tips li
{
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(36,80,74,0.08);
  background: #FFFFFF;
}

section {
  margin-bottom: 60px;
}

/* Subtle dividers for hierarchy */
hr {
  border: none;
  border-top: 1.5px solid #EADFB4;
  margin: 32px 0;
}

/* Subtle highlight for accent elements */
.benefit-list li, .privacy-summary li, .data-rights li {
  background: #EADFB4;
  border-radius: 8px;
  padding: 8px 16px;
  color: #24504A;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Utility classes */
.hide { display: none !important; }

/* ======== RESPONSIVE DESIGN ======== */
@media (max-width: 1080px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
    max-width: 100vw;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.26rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card,
  .card-container, .feature-grid, .category-list, .regional-dish-list, .dish-types {
    flex-direction: column;
    gap: 18px;
  }
  .card-container > *, .feature-grid > *, .features-list > *, .category-list > *, .regional-dish-list > *, .dish-types > * {
    min-width: 90%;
    max-width: unset;
  }
  .content-wrapper,
  .text-section {
    padding: 0;
    gap: 16px;
  }
  .section {
    padding: 24px 5px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .quick-links { gap: 6px; }
}
@media (max-width: 490px) {
  h1 { font-size: 1.2rem; }
  .cta-button,
  .cookie-consent-banner button,
  .cookie-modal button {
    padding: 12px 14px;
    font-size: 1rem;
  }
  .container { padding-left: 2vw; padding-right: 2vw; }
  .main-nav img, .footer-contact img { height: 29px; }
  .footer-nav { gap: 7px; }
  footer address {
    font-size: 0.89rem;
    text-align: left;
  }
}

/* ======== TRANSITIONS & MICRO-INTERACTIONS ======== */
input, button, textarea, select {
  transition: background 0.16s, color 0.14s, border 0.14s;
}
.card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.18s;
}
.cookie-consent-banner, .cookie-modal-overlay {
  transition: opacity 0.22s, transform 0.3s;
}
.mobile-menu {
  transition: transform 0.34s cubic-bezier(.63,.04,.17,.99), opacity 0.25s;
}

/* ======== ACCESSIBILITY & FOCUS STATES ======== */
:focus-visible {
  outline: 2px solid #B3581C;
  outline-offset: 2px;
}

/* ======== BRAND COLORS FALLBACKS ======== */
body {
  background: #FFFFFF;
  color: #24504A;
}

/* ======== MISC VISUAL POLISH ======== */
::-webkit-scrollbar {
  width: 8px;
  background: #F6F6F2;
}
::-webkit-scrollbar-thumb {
  background: #EADFB4;
  border-radius: 6px;
}

input[type='checkbox'], input[type='radio']{
  accent-color: #24504A;
}

/* Prevent undesired selection for buttons/links */
button, a {
  user-select: none;
  -webkit-tap-highlight-color: #B3581C11;
}

/* END CSS */
